Andrea Marchesini
b212600c95
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
33bb32f549
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
Boris Zbarsky
54c64f20a9
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Mike Habicher
aff5735bdf
Bug 1052821 - expose exposure metering modes to JS, r=aosmond,bz
2014-12-12 21:42:13 -05:00
Mike Habicher
e402bc1164
Bug 1104055 - fix CameraControl memory leak, r=aosmond
2014-12-12 21:18:03 -05:00
Mike Habicher
cf9f4832dd
Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz
2014-10-31 13:19:06 -04:00
Ryan VanderMeulen
418030317f
Backed out changeset 3fde6fc99b0a (bug 1020368) for non-unified bustage.
2014-10-31 18:51:23 -04:00
Mike Habicher
a2b2b6da8e
Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz
2014-10-31 13:19:06 -04:00
Ehsan Akhgari
bc7cc3893c
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Boris Zbarsky
2bb59ed300
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Mike Habicher
be8b44eb3e
Bug 985496 - rationalize camera error reporting, r=dhylands
2014-04-25 16:28:15 -04:00
Mike Habicher
a227ea0e70
Bug 983180 - hide camera objects behind Navigator::HasCameraSupport(), r=bz
2014-04-09 11:53:34 -04:00
Mike Habicher
dd79db6c78
Bug 965420 - camera face-tracking, r=bz,dhylands
2014-04-09 11:52:10 -04:00
Boris Zbarsky
35fca5eeeb
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Mike Habicher
bd1cc81444
Bug 965425 - expose ISO setting, r=dhylands,jst
2014-03-07 01:00:43 -05:00
Boris Zbarsky
c0def5ab16
Bug 977141. Make binding code compile when unified compilation is disabled. r=smaug
...
The changes are basically that everyone needs to #include whatever types they're returning from GetParentObject
(because bindings code needs to know whether those inherit nsISupports, etc), that Attr's destructor needs to
be callable by binding code as needed, and that we can't use ElementInlines stuff from bindings sanely.
2014-02-27 07:54:32 -05:00
Mike Habicher
a28ebb99d1
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 17:41:07 -05:00
Ryan VanderMeulen
df06ba6285
Backed out changeset 6e588c56764b (bug 909542) for Gaia unit test perma-fail.
2014-02-14 08:27:44 -05:00
Mike Habicher
4ec887a5dd
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 00:28:57 -05:00
Phil Ringnalda
17e6ef5703
Back out f03664765359 (bug 909542) for unexpected assertions and lack of expected assertions
2014-02-10 19:09:23 -08:00
Mike Habicher
dc323719b7
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
Tom Schuster
e64b35e141
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
David Zbarsky
ae680f2b5f
Bug 868312 - Rooting fixes for dom r=bz
2013-05-10 14:22:21 -04:00
Peter Van der Beken
490e9a4afd
Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
...
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Mike Habicher
991f26aa4b
Bug 779139 - Make DOM-facing camera objects cycle collection participants. r=jst
...
--HG--
rename : dom/camera/CameraControl.h => dom/camera/CameraControlImpl.h
rename : dom/camera/GonkCameraCapabilities.cpp => dom/camera/DOMCameraCapabilities.cpp
2012-09-04 21:01:56 -04:00