Commit Graph

373 Commits

Author SHA1 Message Date
Wes Kocher
107ab3668c Merge m-c to inbound 2014-07-15 17:39:19 -07:00
Andrew Osmond
21b8a2038a Bug 1035531 - Discard buffer instead of assert if camera media frame comes in early. r=mikeh 2014-07-09 07:04:00 +02:00
Carsten "Tomcat" Book
845c7a4d1b merge mozilla-inbound to mozilla-central a=merge 2014-07-14 14:34:36 +02:00
Mike Habicher
cb56124dcb Bug 1036637 - disable HDR on low-memory devices, r=dhylands 2014-07-13 11:50:48 -04:00
Randell Jesup
6064176f06 Bug 1035819: patch 1 - Add notification of DirectListeners and generalize Notification of events r=roc 2014-07-14 01:47:56 -04:00
Benoit Girard
e7aea75462 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Andrew Osmond
072944be8a 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
7f0be7e753 Bug 1034159 - Fix a potential buffer leak caused by a race condition when ending recording a video. r=mikeh 2014-07-03 10:30:00 +02:00
Mike Habicher
aee90ad120 Bug 1029367 - handle ISO modes without "ISO" prefixes, r=dhylands 2014-07-02 18:49:54 -04:00
Andrew Osmond
d4a91fd6eb 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
1249db9dd7 Backed out changeset d758e85bbe8b (bug 1030821) for bustage 2014-06-30 14:45:52 +02:00
Andrew Osmond
fb756b2a99 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
b2aafb8f6f Bug 1030384 - Change a spammy NS_WARNING into a log message instead. r=khuey 2014-06-26 08:20:00 -04:00
Andrea Marchesini
e25e980526 Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Mike Habicher
71e8ad37b3 Bug 1025197 - only clear the "recording hint" when switching to picture mode, r=dhylands 2014-06-25 17:45:02 -04:00
Benoit Jacob
747dcfc8a0 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Jan Beich
b7c1394d2c Bug 1028049 - Unbreak non-SPS build after bug 990122. r=mhabicher 2014-06-22 22:02:39 +02:00
Ed Morley
f3a3d4c30e Merge mozilla-central and b2g-inbound 2014-06-19 17:20:14 +01:00
Mike Habicher
012314ddc7 Bug 990122 - move prefs used by camera to CameraPreferences, r=ehsan 2014-06-19 09:20:49 -04:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Mike Habicher
20cba57cc1 Bug 1022766 - allow autoFocus() to interrupt earlier calls, r=dhylands 2014-06-12 14:56:46 -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
5b795002d5 Bug 1020497 - collapse exposureCompensation to single attribute, r=bz 2014-06-06 15:37:15 -04:00
Mike Habicher
1b8cd97bdb Bug 1022705 - allow StopRecordingImpl() to be called from any thread, r=jesup 2014-06-10 09:52:22 -04:00
Vincent Liu
6c60d3031e Bug 1021765 - Backport the fix from bug 988704 to JB-based devices as well. r=sotaro 2014-06-08 08:49:50 +08:00
Wes Kocher
960f637634 Backed out changeset f4f3b1e4a0e5 (bug 1020497) for b2g debug emulator mochitest-1 failures 2014-06-06 15:17:55 -07:00
Mike Habicher
37f2855d8d Bug 1020497 - collapse exposureCompensation to single attribute, r=bz 2014-06-06 15:37:15 -04:00
Mike Habicher
20974c02fc Bug 1004588 - remove deprecated and unused ICameraControl::Size attributes, r=bz 2014-06-05 11:21:02 -04:00
Mike Habicher
d268b68bab Bug 1018820 - fix exposure compensation index calculations, r=dhylands 2014-06-04 15:20:12 -04:00
Mike Habicher
7a6de7dd11 Bug 1015368 - add missing cases to OnUserError() switch, r=aosmond 2014-05-29 13:37:44 -04:00
Kyle Huey
8a1ded0d50 Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Birunthan Mohanathas
e2a009d822 Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Andrew Osmond
efc1cdaf2c Bug 1013425 - Set extra HDR params when changing scene mode to ensure all driver accept; was causing preview freezes on flame after take picture. r=mikeh 2014-05-20 12:24:00 -04:00
Andrew Osmond
56af312b8b Bug 1011342 - Fix how coordinates were passed in wrong order for focus/metering areas. r=dhylands 2014-05-20 09:37:00 +02:00
Andrew Osmond
e85420825c Bug 1007832 - Reset recording hint when stopping video recording to fix driver state. r=dhylands 2014-05-19 11:10:00 +02:00
Vincent Liu
0ce7a191f7 Bug 988704 - [dolphin][camera]camera preview is obviously slower than android. r=sotaro 2014-05-19 09:52:47 +08:00
Mike Habicher
3dbc1321a6 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
Chris Peterson
47a58d1945 Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug 2014-04-20 00:36:40 -07:00
Robert O'Callahan
949537330f Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00
Andrew Osmond
b8f1f421e9 Bug 999464 - Standardize on DOMPoint and thus eliminate need for CameraPoint. r=bz, r=mikeh 2014-05-01 15:09:00 -04:00
Ed Morley
364684e861 Merge latest green b2g-inbound changeset and mozilla-central; r=khuey to work around bug 1002652 comment 13 2014-05-01 15:55:44 +01:00
Andrew Osmond
b69498dcfa 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
be8b44eb3e Bug 985496 - rationalize camera error reporting, r=dhylands 2014-04-25 16:28:15 -04:00
Birunthan Mohanathas
ff8ce9bd42 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
4de1915f30 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
Nathan Froyd
4c20a67b0d Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
1b1e0b258c Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
poojas
0652a78b8a Bug 996560 - Increase maxFileSize of recorded video upto 4GB for >=720p resolution. r=mikeh 2014-04-22 11:48:33 +05:30
Mike Habicher
9125acf8d1 Bug 990761 - handle HDR sending us more than one picture, r=dhylands 2014-04-16 21:46:36 -04:00
Ryan VanderMeulen
04f8f51173 Merge inbound to m-c. 2014-04-15 23:26:35 -04:00
Mike Habicher
c441b5ffe0 Bug 986024 - expose resumeContinuousFocus() method to DOM/JS, r=bz,dhylands 2014-04-15 15:46:40 -04:00
Kyle Huey
3be8fc6baf Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
4b25f94dc9 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Mike Habicher
a449f2fcd1 bug 995245 - remove stale FallbackCameraCapabilities.cpp, r=dhylands 2014-04-14 12:30:55 -04:00
Andrea Marchesini
eaa3ff4eed Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Ryan VanderMeulen
1823db3230 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Ryan VanderMeulen
601b02224e Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Ryan VanderMeulen
ac77fab498 Merge m-c to inbound on a CLOSED TREE. 2014-04-14 15:43:22 -04:00
Kyle Huey
a50fb4de7c Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey
d7199fa836 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
Mike Habicher
148549b192 Bug 981047 - enable torch mode in low light when video recording, r=dhylands,ehsan 2014-04-09 11:53:41 -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
Youngwoo Jo
9a24f21df5 Bug 965421 - camera continuous autofocus status callback, r=jst,mikeh 2014-04-09 11:12:25 -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
Boris Zbarsky
56f44fdf10 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
Fredrik Lanker
e82b4c36c7 Bug 985481 - Make sure that a supported video size is set. r=mikeh 2014-04-08 00:21:00 +02:00
Ed Morley
a96b4fa90f Merge mozilla-central and inbound 2014-04-02 18:24:05 +01:00
Daniel Holbert
d7bc9bd2fc Bug 984786 part 4: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /dom. r=smaug 2014-04-02 09:21:03 -07:00
Reuben Morais
13ea852996 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
Sotaro Ikeda
54d13a5e10 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Daniel Holbert
d010bcac24 Bug 988699: Remove custom NS_LOG_ADDREF / NS_LOG_RELEASE definitions in CameraCommon.h. r=mikeh 2014-03-28 17:58:31 -07:00
Mike Habicher
4e8158e480 Bug 985125 - remove unnecessary indirection from DOM error handler, r=dhylands 2014-03-24 17:32:31 -04:00
Neil Rashbrook
c3b2f90f39 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
c0dba87922 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
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Andrea Marchesini
a76825ad9f Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-11 10:46:04 +00:00
Ed Morley
8d91261c3c Backed out changeset d86a702e24c0 (bug 923247) for build failures; CLOSED TREE 2014-03-10 17:04:25 +00:00
Andrea Marchesini
9202ffb069 Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-10 16:36:07 +00:00
Youngwoo Jo
e560385660 Bug 977494 - [Camera] Add onFocusChanged callback. r=mikeh 2014-03-10 08:35:52 -04:00
Carsten "Tomcat" Book
67b964e295 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
24d07e5da7 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
0c41a3a68c Bug 980484 - make the zoom setting more robust, r=dhylands 2014-03-07 01:07:27 -05:00
Mike Habicher
bd1cc81444 Bug 965425 - expose ISO setting, r=dhylands,jst 2014-03-07 01:00:43 -05:00
Dave Hylands
0d681a0257 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
cf0d36b95b Backed out changeset 4fb349c12a63 (bug 977372) for b2g ics emulator debug m8 test failure 2014-03-06 09:16:43 +01:00
Dave Hylands
131ad02dcc Bug 977372 - Close IPC'd filedescriptor from device descriptor when finished with it. r=mikeh 2014-02-28 12:02:55 -08:00
Mike Habicher
7e59fa5afc Bug 976802 - add support for testing fake CameraParameters, r=dhylands 2014-02-28 17:51:26 -05:00
Dave Hylands
f369b18fd2 Backout 46841ca6d96a (Bug 977372) due to Windows bustage on a CLOSED TREE
--HG--
extra : amend_source : 2fa55ab8144f89307d0d249004d9c9f18111441e
2014-02-28 14:19:25 -08:00
Dave Hylands
3328e4df15 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
8e1830277d 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
0f44788377 Bug 977260, part 1 - Don't implement wrappercache CC stuff for nsDOMCameraControl. r=smaug 2014-02-28 09:56:23 -08: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
260df5f572 Bug 977313 - exposed "Started" and "Stopped" recorder states, r=dhylands
--HG--
extra : rebase_source : 80b2919dcd8d91e8bf4a1214d078c8aa63654c4b
2014-02-26 18:07:11 -05:00
Solomon Chiu
61edc953b4 Bug 959505 - Modify nativewindow relative files which affected by KK's change. r=sotaro 2014-02-25 15:51:46 +08:00
Mike Habicher
4e5dcc9d23 Bug 976032 - check for null callbacks, r=dhylands 2014-02-25 17:01:29 -05:00
Mike Habicher
c6d1824926 Bug 974455 - disable thumbnail when no correct aspect ratio can be found, r=dhylands 2014-02-24 19:50:26 -05:00
Mike Habicher
739b49234d Bug 975472 - fix crash in DOM error handler, r=dhylands 2014-02-24 13:01:21 -05:00
Mike Habicher
3ef173f7e0 Bug 965533 - fix the zoom attribute, r=dhylands 2014-02-21 13:14:52 -05:00