Commit Graph

27 Commits

Author SHA1 Message Date
Birunthan Mohanathas
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Mike Habicher
2c6cfaaa7c Bug 983180 - hide camera objects behind Navigator::HasCameraSupport(), r=bz 2014-04-09 11:53:34 -04:00
Boris Zbarsky
fdbb455d4f 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
0aad6d8ab9 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
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
Carsten "Tomcat" Book
b0cb202aed Backed out changeset 1d72742584ad (bug 945614) per Bug 853356 comment 209 2013-12-10 08:38:43 +01:00
Randell Jesup
33d6cb846a Bug 945614: Don't track windowIDs in MediaEngine for B2G r=mikeh,schien 2013-12-06 17:38:52 -05:00
Benoit Jacob
2de7a871ee Bug 940191 - Build dom/base in unified mode - r=ehsan 2013-11-20 11:29:03 -05:00
Robert O'Callahan
8ca63f18ef 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
debb415e8e Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Boris Zbarsky
0563b53628 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
0cca44e9da bug 870678 - move CameraSelector dictionary to webidl r=bz 2013-05-15 07:07:08 -04:00
Trevor Saunders
97c7a91ef5 bug 870678 - remove nsIDOMCameraManager r=bz 2013-05-14 06:59:11 -04:00
Trevor Saunders
22b7362f5a bug 870678 - convert CameraManager to webidl r=bz 2013-05-10 02:25:25 -04:00
Arnaud Sourioux
feea85a7f1 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Chiajung Hung
aed738b705 Bug 825110 - Part 1: Camera changes for B2G WebRTC video module. r=mhabicher 2013-05-02 07:59:58 -04:00
Robert O'Callahan
9146383988 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
3e1aa22ba1 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
4f1885c23e Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Mike Habicher
15e34763e4 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
8c296bbcd4 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
ea18b21eb6 Fix virtual destructor warnings in dom/camera, no bug, blanket r=bz 2012-07-31 14:30:53 -07:00
Mike Habicher
01f8e81e31 Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00