Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Ehsan Akhgari
883849ee32
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
dc24477d79
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
Ehsan Akhgari
4354953b4f
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
Mike Habicher
cb12b55b35
Bug 1104055 - fix CameraControl memory leak, r=aosmond
2014-12-12 21:18:03 -05:00
Mike Habicher
003c0f1ac8
Bug 1107683 - remove method callbacks from CameraControl, r=aosmond,bz
2014-12-11 11:02:51 -05:00
Fabrice Desre
c87cbd2e59
Bug 1090501 - pre-emptively open the camera hardware for certified apps with 'camera' permission, r=fabrice
2014-10-31 13:54:02 -04:00
Ryan VanderMeulen
357aa1e2de
Backed out changesets 4cb1154b0190 and 506d33f3931e (bug 1090501) because it depends on another patch that was backed out.
2014-10-31 19:15:42 -04:00
Fabrice Desre
0764e80520
Bug 1090501 - pre-emptively open the camera hardware for certified apps with 'camera' permission, r=fabrice
2014-10-31 13:54:02 -04:00
Andrew Osmond
eaa8395a0a
Bug 994912 - Add support for promises and event-based notifications to camera. r=mikeh, r=bz
2014-10-03 04:19:00 -04:00
Carsten "Tomcat" Book
108449d506
Backed out changeset 8e754efd35cd (bug 994912)
2014-09-25 12:44:16 +02:00
Andrew Osmond
6dde924819
Bug 994912 - Add support for promises and event-based notifications to camera. r=mikeh r=bz
2014-09-24 12:51:00 +02:00
Ehsan Akhgari
0653303071
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
117bb1a341
Backed out 6 changesets (bug 1060982
, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
...
CLOSED TREE
Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982
)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
6c932dea6c
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 18:00:53 -04:00
Birunthan Mohanathas
bc0233fe47
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Mike Habicher
71ed594d07
Bug 983180 - hide camera objects behind Navigator::HasCameraSupport(), r=bz
2014-04-09 11:53:34 -04:00
Boris Zbarsky
79dab91ff6
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
Reuben Morais
467f45f4dc
Bug 982777 - Prompt for permission to use the Camera API in privileged apps. r=sicking r=jdm
2014-04-02 01:08:42 -03:00
Mike Habicher
557d8c2d5c
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 17:41:07 -05:00
Ryan VanderMeulen
06dd91591b
Backed out changeset 6e588c56764b (bug 909542) for Gaia unit test perma-fail.
2014-02-14 08:27:44 -05:00
Mike Habicher
abbcc4db39
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 00:28:57 -05:00
Phil Ringnalda
5a748ed604
Back out f03664765359 (bug 909542) for unexpected assertions and lack of expected assertions
2014-02-10 19:09:23 -08:00
Mike Habicher
e97948ed28
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
Carsten "Tomcat" Book
b91f640910
Backed out changeset 1d72742584ad (bug 945614) per Bug 853356 comment 209
2013-12-10 08:38:43 +01:00
Randell Jesup
ada51719aa
Bug 945614: Don't track windowIDs in MediaEngine for B2G r=mikeh,schien
2013-12-06 17:38:52 -05:00
Benoit Jacob
60cda03b25
Bug 940191 - Build dom/base in unified mode - r=ehsan
2013-11-20 11:29:03 -05:00
Robert O'Callahan
03e7828db2
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Kyle Huey
52234568d4
Bug 887533: Remove even more includes from dom/bindings. r=bz
2013-08-22 22:17:11 -07:00
Boris Zbarsky
b927f50c8e
Bug 838146 part 2. Implement WebIDL API on Navigator for all our nonstandard extensions that are not behind build-time flags. r=smaug, sr=peterv
2013-07-12 10:35:44 -04:00
Trevor Saunders
29483ee344
bug 870678 - move CameraSelector dictionary to webidl r=bz
2013-05-15 07:07:08 -04:00
Trevor Saunders
42c494d19f
bug 870678 - remove nsIDOMCameraManager r=bz
2013-05-14 06:59:11 -04:00
Trevor Saunders
a6d4672260
bug 870678 - convert CameraManager to webidl r=bz
2013-05-10 02:25:25 -04:00
Arnaud Sourioux
8ebb1ca3e6
Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger
2013-06-05 12:15:48 -04:00
Chiajung Hung
e8d81505ed
Bug 825110 - Part 1: Camera changes for B2G WebRTC video module. r=mhabicher
2013-05-02 07:59:58 -04:00
Robert O'Callahan
2c25988734
Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
...
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Mike Habicher
737adc7dfa
Bug 779145 - Add support for unsoliciated onShutter and onClosed callbacks, handle OnNavigation to clean-up. r=jst
2012-09-30 20:37:47 -04:00
Mike Habicher
5b69de0f54
Bug 776934 - Add permissions check to camera API. r=jlebar
2012-09-21 06:32:18 -04:00
Mike Habicher
6ae700c29b
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
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
083c6b4275
Fix virtual destructor warnings in dom/camera, no bug, blanket r=bz
2012-07-31 14:30:53 -07:00
Mike Habicher
9e245cc9a4
Bug 740997 - ICS camera support, r=jst,gal,roc
2012-07-30 17:59:05 -04:00