Andrew Osmond
1f0078bbd5
Bug 1139721 - Fix camera memory leaks for onfacedetected events, failed initializations and capabilities. r=mikeh
2015-04-17 07:09:54 -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
Becker Hsieh
3d72319a6b
Bug 1121855 - Fix camera crash. r=aosmond
2015-03-12 20:29:00 -04:00
Andreas Pehrson
9b19093204
Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup
2015-02-09 15:23:34 +08:00
Andrew Osmond
6a9e14e1fb
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
4e25b1e2d9
Bug 1052821 - expose exposure metering modes to JS, r=aosmond,bz
2014-12-12 21:42:13 -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
Andrew Osmond
e5508741e0
Bug 1102986 - Update camera preview media stream with platform media stream expectations. r=roc
2014-11-21 09:34:00 -05:00
Mike Habicher
34426c6b7a
Bug 1099390 - add reason to onClosed event, r=aosmond,bz
2014-11-25 14:45:00 -05:00
Mike Habicher
cb66942d32
Bug 1079543 - handle camera hardware busy when prelaunching, r=aosmond
2014-11-12 13:54:48 -05:00
Mike Habicher
c297fde5b2
Bug 1090501 - Properly handle no initial camera configuration. r=aosmond
2014-11-06 11:40:00 -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
Mike Habicher
88e39aed0e
Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz
2014-10-31 13:19:06 -04:00
Ryan VanderMeulen
64db9b1b38
Backed out changeset 3fde6fc99b0a (bug 1020368) for non-unified bustage.
2014-10-31 18:51:23 -04:00
Mike Habicher
1b9a3ffc9e
Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz
2014-10-31 13:19:06 -04:00
Randell Jesup
5c602bba2f
Backed out changesets ef6465b02d0d f749e3f70ffc ecd54a3fbfdd 8f472a850073 (bug 879717)
2014-10-13 22:18:22 -04:00
Andrew Osmond
3e8c67dfd9
Bug 879717: Part 3: Fix camera preview stream and wake locks from lock screen. r=roc
2014-10-13 00:01:25 -04:00
Andrea Marchesini
8f8ec51372
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
7491bee8c3
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-08 17:15:22 +01:00
Ryan VanderMeulen
cd3e8a6f73
Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
...
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)
CLOSED TREE
--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
c8190ba625
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini
d272279126
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-07 15:20:52 +01:00
Peter Van der Beken
dcda2ba9bb
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02: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
Andrew Osmond
8d4e42e6d2
Bug 1068559 - Add asynchronous auto focus completed callback. r=bz r=dhylands
2014-09-22 05:25:00 +02: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
Shinuk Lee
268fba2548
Bug 1065866 - Abort StartRecording while previous call is in progress. r=mikeh
2014-09-11 21:55:00 -04:00
Ehsan Akhgari
1b1d6ffebf
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Mike Habicher
a973fb71ad
Bug 981318 - expose compressed image quality setting, r=dhylands,khuey
2014-08-25 15:12:49 -04:00
Mike Habicher
2f751308dd
Bug 1037322 - change CameraConfiguration default mode to 'unspecified' r=dhylands,khuey
2014-08-05 13:20:31 -04:00
Mike Habicher
e918adaaef
Bug 1022766 - allow autoFocus() to interrupt earlier calls, r=dhylands
2014-06-12 14:56:46 -04:00
Mike Habicher
44d97b0604
Bug 1020497 - collapse exposureCompensation to single attribute, r=bz
2014-06-06 15:37:15 -04:00
Mike Habicher
22b6399caf
Bug 1004588 - remove deprecated and unused ICameraControl::Size attributes, r=bz
2014-06-05 11:21:02 -04:00
Mike Habicher
612c2ed5ec
Bug 1015368 - add missing cases to OnUserError() switch, r=aosmond
2014-05-29 13:37:44 -04:00
Chris Peterson
aca9b90afe
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug
2014-04-20 00:36:40 -07:00
Andrew Osmond
5a4c2c9703
Bug 987954 - Change camera control size/region attributes to methods to remove direct JS_*() calls, r=bz,mikeh
2014-04-30 17:15:01 -04:00
Mike Habicher
65f3fee910
Bug 985496 - rationalize camera error reporting, r=dhylands
2014-04-25 16:28:15 -04:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
7ac92ae5ea
Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug
2014-04-25 12:49:00 -04:00
Mike Habicher
191b93b69f
Bug 986024 - expose resumeContinuousFocus() method to DOM/JS, r=bz,dhylands
2014-04-15 15:46:40 -04:00
Andrea Marchesini
4266c27429
Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent
2014-04-10 18:39:20 +01:00
Mike Habicher
24839a6b12
Bug 981047 - enable torch mode in low light when video recording, r=dhylands,ehsan
2014-04-09 11:53:41 -04:00
Mike Habicher
71ed594d07
Bug 983180 - hide camera objects behind Navigator::HasCameraSupport(), r=bz
2014-04-09 11:53:34 -04:00
Mike Habicher
e826a6be7c
Bug 965420 - camera face-tracking, r=bz,dhylands
2014-04-09 11:52:10 -04:00
Youngwoo Jo
7ed261b8a5
Bug 965421 - camera continuous autofocus status callback, r=jst,mikeh
2014-04-09 11:12:25 -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
Boris Zbarsky
d4bd64ee2c
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Mike Habicher
0c985802e1
Bug 985125 - remove unnecessary indirection from DOM error handler, r=dhylands
2014-03-24 17:32:31 -04:00
Neil Rashbrook
604d9a5302
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c879b47079
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
3e8915c4b8
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Andrea Marchesini
c68b0b05cf
Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen
2014-03-11 10:46:04 +00:00
Ed Morley
18e659d594
Backed out changeset d86a702e24c0 (bug 923247) for build failures; CLOSED TREE
2014-03-10 17:04:25 +00:00
Andrea Marchesini
af673bd5ac
Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen
2014-03-10 16:36:07 +00:00
Youngwoo Jo
9f615fd227
Bug 977494 - [Camera] Add onFocusChanged callback. r=mikeh
2014-03-10 08:35:52 -04:00
Carsten "Tomcat" Book
0264444cdb
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
...
--HG--
extra : amend_source : 42c86ef1edf2141b6ac81506dd8a31cd68818292
2014-03-07 13:55:46 +01:00
Masatoshi Kimura
b33d71c959
Bug 978611 - Part 2: Move lagacy dictionaries to WebIDL dictionaries for B2G. r=vicamo
...
--HG--
rename : dom/mobileconnection/interfaces/nsIDOMMobileConnection.idl => dom/webidl/MozMobileConnection.webidl
rename : dom/network/interfaces/nsIDOMNetworkStatsManager.idl => dom/webidl/MozNetworkStats.webidl
2014-03-07 20:51:49 +09:00
Mike Habicher
a31bf504b5
Bug 965425 - expose ISO setting, r=dhylands,jst
2014-03-07 01:00:43 -05:00
Dave Hylands
21e3c246cf
Bug 977372 - Close IPC'd filedescriptor from device descriptor when finished with it. r=mikeh
2014-02-28 12:02:55 -08:00
Carsten "Tomcat" Book
55bbe0a399
Backed out changeset 4fb349c12a63 (bug 977372) for b2g ics emulator debug m8 test failure
2014-03-06 09:16:43 +01:00
Dave Hylands
9c9e49ec75
Bug 977372 - Close IPC'd filedescriptor from device descriptor when finished with it. r=mikeh
2014-02-28 12:02:55 -08:00
Andrew McCreight
334f2742a1
Bug 977260, part 2 - Use more macros for CC nsDOMCameraControl stuff. r=smaug
...
Use more powerful macros for nsDOMCameraControl
2014-02-28 09:56:23 -08:00
Andrew McCreight
59126a0734
Bug 977260, part 1 - Don't implement wrappercache CC stuff for nsDOMCameraControl. r=smaug
2014-02-28 09:56:23 -08:00
Mike Habicher
c13e3cd1ea
Bug 977313 - exposed "Started" and "Stopped" recorder states, r=dhylands
...
--HG--
extra : rebase_source : 80b2919dcd8d91e8bf4a1214d078c8aa63654c4b
2014-02-26 18:07:11 -05:00
Mike Habicher
a2044c4785
Bug 976032 - check for null callbacks, r=dhylands
2014-02-25 17:01:29 -05:00
Mike Habicher
9535b293cc
Bug 975472 - fix crash in DOM error handler, r=dhylands
2014-02-24 13:01:21 -05:00
Mike Habicher
6d7abcf9fe
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
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
Dave Hylands
01544254bd
Bug 910498 - Camera changes to use CreateFd. r=mikeh
...
* * *
Fixes for camera patch
2014-01-16 17:01:43 -08:00
Terrence Cole
6beccf2363
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Mike Habicher
6fc4849635
Bug 932669 - Expose sensor rotation offset to JS. r=dhylands
2013-12-06 09:47:29 -05:00
Shih-Chiang Chien
a2a4a88508
Bug 940045 - Part 3: Send requestURL from content process. r=mikeh
2013-11-26 14:22:22 +08:00
Mike Habicher
01d4c2e813
Bug 807058 - Expose thumbnail size capability and control properties. r=sotaro, r=jst
2013-10-30 15:41:08 -04:00
Nicholas Nethercote
3b80765894
Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
...
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Shih-Chiang Chien
565b25d80c
Bug 926289 - Part 3, Carry recording type and request URL in recording-device-events in Camera API. r=mikeh.
2013-10-23 19:11:18 +08:00
Trevor Saunders
cbeff69f66
backout the part of e40a964458f8 that should never have landed
2013-10-21 18:38:50 -04:00
Trevor Saunders
67e6559698
bug 922566 - kill dom-config.mk r=gps
2013-10-11 12:02:41 -04:00
Marco Chen
35dca67442
Bug 823273 - Part 4: Music volume should be faded when notification sound is on going - FM Radio, Camera, Phone clients. r=rlin
2013-09-02 17:45:44 +08:00
Trevor Saunders
54fb4bac29
bug 899210 - convert camera control to WebIDL r=bz
2013-07-06 16:55:10 -04:00
Mike Habicher
70e525a94a
Bug 890427 - Let the Camera app know when the preview has actually started/stopped. r=jst
2013-08-05 16:24:43 -04:00
Mike Habicher
6182bc6688
Bug 882328 - remove off-Main Thread JS callback addrefs, r=jdm
2013-06-17 11:59:53 -04:00
Boris Zbarsky
43f774459d
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Dave Hylands
70ed43e46c
Bug 872170 - Fix camera file saving with composite device storage. r=mikeh
2013-05-16 11:12:29 -07: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
Olli Pettay
b9080a0df7
Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey
2013-02-11 21:37:50 +02:00
Sotaro Ikeda
9869e6bdbd
Bug 833521 - forward "recording-device-events" event to parent process, r=dougt
2013-01-24 21:45:36 -05:00
Ryan VanderMeulen
cc8552d9ab
Backed out changeset 58209cc0ae14 (bug 833521) for build bustage.
2013-01-24 15:23:53 -05:00
Sotaro Ikeda
06930e355e
Bug 833521 - forward "recording-device-events" event to parent process, r=dougt
2013-01-24 14:51:03 -05:00
Mike Habicher
7c83d08483
Bug 819835 - add support for setting the EXIF DateTime field, r=sotaro
2013-01-18 16:06:28 -05:00
Mike Habicher
a3564c5af8
backed out changeset 0004848a182f, a=bustage
2013-01-18 16:46:26 -05:00
Mike Habicher
3fb12b17e4
Bug 819835 - add support for setting the EXIF DateTime field, r=sotaro
2013-01-18 16:06:28 -05:00
Kan-Ru Chen (陳侃如)
da81243529
Bug 825687 - Unregister camera control from the camera hardware. r=mikeh
2013-01-07 13:54:24 +01:00
Mike Habicher
7ab344aefb
Bug 818933 - Provide a hardware release API so that we don't have to rely on CC of CameraControl objects. r=mhabicher
2012-12-23 10:54:54 -05:00
Marco Chen
0ce1fa6a30
Bug 811649 - Mute other audio when video recording is started by using an AudioChannelAgent to integrate with AudioChannelService. r=mhabicher a=blocking-basecamp
2012-12-11 18:14:06 +08:00