Nicholas Nethercote
ab1b92deb8
Bug 1186808 - Replace nsBaseHashtable::EnumerateRead() calls in dom/camera/ with iterators. r=mikeh.
2015-11-22 14:39:01 -08:00
Andrew Osmond
f91ea0eb25
Bug 1215372 - Filter empty camera face detected events at gonk layer. r=dhylands
2015-10-21 01:51:39 -04:00
Nathan Froyd
e4e2da55c9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Andrew Osmond
5c8858b518
Bug 1196330 - Do not restart preview if configuration is unchanged. r=dhylands
2015-08-20 12:44:25 -04:00
Andrew Osmond
f59ac471e2
Backed out changeset 19eb382364a9 (bug 1194476)
2015-08-20 12:18:49 -04:00
Andrew Osmond
b3a232ca89
Bug 1194476 - Do not restart preview if configuration is unchanged. r=dhylands
2015-08-20 12:12:45 -04:00
Andrew Osmond
b0bb78b2ec
Bug 1187364 - Part 1. Add ability for camera to pause/resume recording. r=dhylands,bz
2015-08-17 15:20:28 -04:00
Andrew Osmond
42582d10da
Bug 1175656 - Implement generation of recording posters in Gecko. r=dhylands,bz
2015-06-16 20:35:00 -04:00
Andrea Marchesini
eff949a801
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Andrew Osmond
3ca1dada8b
Bug 1152260 - Generate focused event for drivers that do not notify us when using continuous auto focus. r=mikeh
2015-04-14 09:38:40 -04:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Andrew Osmond
a248bf5eb1
Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh
2015-03-10 19:39:49 -04:00
Ehsan Akhgari
bd52bd3f4e
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Alfredo Yang
2953114bc4
Bug 938034 - Enable gonk camera recording callback. r=roc
2014-12-18 01:00:00 -05:00
Andrew Osmond
412f34f726
Bug 1104913 - Update selection algorithms for preview, picture and video sizes to have sane defaults. r=mikeh, r=bz
2014-12-12 19:51:29 -08:00
Mike Habicher
a28fa8fe23
Bug 1104055 - fix CameraControl memory leak, r=aosmond
2014-12-12 21:18:03 -05:00
Mike Habicher
174e4f30a0
Bug 1099390 - add reason to onClosed event, r=aosmond,bz
2014-11-25 14:45:00 -05:00
Mike Habicher
9c15130c47
Bug 1098660 - fix the (complex) requirements for video mode preview size, r=aosmond
2014-11-14 20:56:59 -05:00
Mike Habicher
ac013691ed
Bug 1079543 - handle camera hardware busy when prelaunching, r=aosmond
2014-11-12 13:54:48 -05:00
Mike Habicher
9dda8b2ca8
Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz
2014-10-31 13:19:06 -04:00
Ryan VanderMeulen
ebb5e3f804
Backed out changeset 3fde6fc99b0a (bug 1020368) for non-unified bustage.
2014-10-31 18:51:23 -04:00
Mike Habicher
15b3b98d6e
Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz
2014-10-31 13:19:06 -04:00
Mike Habicher
892d3448a6
Bug 1014877 - uncouple preview and video-recording frame sizes, r=aosmond
2014-09-16 15:36:48 -04:00
Andrew Osmond
e19fb1ef53
Bug 1030007 - Throttle updating the preview window when CPU low and/or encoder falls behind. r=mikeh, r=cpearce
2014-07-02 19:55:00 -04:00
Andrew Osmond
d43c37f88e
Bug 1030821 - Fix broken zoom by making recording hint be set as boolean. r=mikeh
2014-06-30 06:33:00 -04:00
Carsten "Tomcat" Book
2be592142a
Backed out changeset d758e85bbe8b (bug 1030821) for bustage
2014-06-30 14:45:52 +02:00
Andrew Osmond
5b13035ec1
Bug 1030821 - Fix broken zoom by making recording hint be set as boolean. r=mikeh
2014-06-27 12:33:00 +02:00
Mike Habicher
ab3367804b
Bug 1022705 - allow StopRecordingImpl() to be called from any thread, r=jesup
2014-06-10 09:52:22 -04:00
Mike Habicher
6a75e749e6
Bug 1004434 - MaxFileSize, MaxVideoLength of CameraControl Interface recording options should be of 64 bits. r=dhylands, r=bzbarsky
...
--HG--
extra : rebase_source : 50b6301e11c09cc82bd42e99a738b565c0039bcb
2014-05-14 17:33:00 -04:00
Mike Habicher
d3f5ccb4f1
Bug 985496 - rationalize camera error reporting, r=dhylands
2014-04-25 16:28:15 -04:00
Mike Habicher
3a9715398f
Bug 990761 - handle HDR sending us more than one picture, r=dhylands
2014-04-16 21:46:36 -04:00
Mike Habicher
558352928c
Bug 986024 - expose resumeContinuousFocus() method to DOM/JS, r=bz,dhylands
2014-04-15 15:46:40 -04:00
Mike Habicher
450a47fee1
Bug 981047 - enable torch mode in low light when video recording, r=dhylands,ehsan
2014-04-09 11:53:41 -04:00
Mike Habicher
11e7af1bc8
Bug 965420 - camera face-tracking, r=bz,dhylands
2014-04-09 11:52:10 -04:00
Youngwoo Jo
62f92c3e64
Bug 965421 - camera continuous autofocus status callback, r=jst,mikeh
2014-04-09 11:12:25 -04:00
Fredrik Lanker
ed70b9c507
Bug 985481 - Make sure that a supported video size is set. r=mikeh
2014-04-08 00:21:00 +02:00
Sotaro Ikeda
37c69117b5
Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal
2014-03-31 08:24:28 -07:00
Mike Habicher
d9d3a756f0
Bug 973790 - only call ClearCurrentFrame() when closing down the camera hardware, r=dhylands
2014-02-19 23:18:55 -05:00
Mike Habicher
6137c43056
Bug 940424 - add a failable test shim to the Gonk hardware wrapper, r=dclarke,dhylands,jesup
2014-02-19 23:18:52 -05:00
Mike Habicher
cb7b7f75e6
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 17:41:07 -05:00
Ryan VanderMeulen
ee17cd233e
Backed out changeset 6e588c56764b (bug 909542) for Gaia unit test perma-fail.
2014-02-14 08:27:44 -05:00
Mike Habicher
b8dfc21206
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 00:28:57 -05:00
Phil Ringnalda
608d5cbbe0
Back out f03664765359 (bug 909542) for unexpected assertions and lack of expected assertions
2014-02-10 19:09:23 -08:00
Mike Habicher
f2e6cb2def
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
...
* * *
Debugging the rotation issue with new camera.js
* * *
Fix the occasionally-invalid MOZ_ASSERT on GonkCameraControl.cpp:844
2014-02-10 17:53:19 -05:00
Mike Habicher
fd511fe62e
Bug 963142 - fix negative-rotation math error in startRecording(), r=dhylands
2014-01-23 19:10:23 -05:00
Mike Habicher
ef8e115de2
Bug 932669 - Expose sensor rotation offset to JS. r=dhylands
2013-12-06 09:47:29 -05:00
Mike Habicher
104b4be6ff
Bug 807058 - Expose thumbnail size capability and control properties. r=sotaro, r=jst
2013-10-30 15:41:08 -04:00
Mike Habicher
5c20b49b4e
Bug 834164 - handle aDataPtr == nullptr in camera driver DataCallback, r=cjones
2013-01-24 13:41:18 -05:00
Sotaro Ikeda
d84486e5ae
Bug 803471 - Part 5c - Cange GonkCamera to use android::Camera. r=mhabicher
2013-03-08 14:43:33 -05:00
Sotaro Ikeda
87cc2325b7
Bug 826072 - Dispatch Init() out of nsGonkCameraControl's constructor. r=mikeh
2013-02-16 14:05:45 -05:00