Граф коммитов

397 Коммитов

Автор SHA1 Сообщение Дата
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 f91a07df51 merge mozilla-inbound to mozilla-central a=merge 2014-09-26 13:20:34 +02:00
Andrew Osmond 8d4e42e6d2 Bug 1068559 - Add asynchronous auto focus completed callback. r=bz r=dhylands 2014-09-22 05:25:00 +02:00
Ehsan Akhgari 025f7a045d Bug 1072301 - Build the cross platform camera code in unified mode; r=mikeh 2014-09-24 18:43:26 -04:00
Mike Habicher 9fb0ea849f Bug 1014877 - uncouple preview and video-recording frame sizes, r=aosmond 2014-09-16 15:36:48 -04:00
Shinuk Lee 268fba2548 Bug 1065866 - Abort StartRecording while previous call is in progress. r=mikeh 2014-09-11 21:55:00 -04:00
Mike Habicher 85a40223c1 Bug 1054803 - improve size-matching algorithm, r=aosmond 2014-09-10 11:48:55 -04:00
Sotaro Ikeda 24dff6c377 Bug 1058452 - Use FakeMediaStreamGraph r=mikeh 2014-09-09 06:27:24 -07:00
Ryan VanderMeulen ccd2f112b7 Backed out changeset 56e2793c8ac7 (bug 1058452) for B2G mochitest orange. 2014-09-08 16:52:44 -04:00
Sotaro Ikeda 82f2e7e4bf Bug 1058452 - Use FakeMediaStreamGraph r=mikeh 2014-09-08 11:59:16 -07:00
Ehsan Akhgari 0ca01636f8 Bug 1072700 - Build the b2g specific camera code in unified mode; r=mikeh 2014-09-25 15:36:54 -04:00
Mike Habicher 92690667c1 Bug 1051774 - remove existing position metadata when none is set, r=aosmond 2014-09-04 11:56:51 -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
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
Mike Habicher a973fb71ad Bug 981318 - expose compressed image quality setting, r=dhylands,khuey 2014-08-25 15:12:49 -04:00
Mike Habicher 2edf95f7fb Bug 889778 - move NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY to the front of the QI, r=jst 2014-08-25 11:14:49 -04:00
Sotaro Ikeda 37ef6033e3 Bug 1036539 - Add async mode support to GonkNativeWindow r=mikeh,pchang 2014-08-15 07:41:33 -07:00
Shih-Chiang Chien b48b057bb2 Bug 1045975 - Use nsIDOMWindowUtils.askPermission in all types of permission request. r=smaug
--HG--
extra : rebase_source : 4a6a3c484373759b6d553e4821f3c43af41d0239
2014-08-01 15:22:20 +08:00
Mike Habicher 2f751308dd Bug 1037322 - change CameraConfiguration default mode to 'unspecified' r=dhylands,khuey 2014-08-05 13:20:31 -04:00
Andrew Osmond 47576fa59d Bug 1046341 - Release camera hardware if initialization fails. r=mikeh 2014-07-31 10:29:00 -04:00
Ms2ger d8c0b17d7d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Mike Hommey bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Wes Kocher c198e90652 Merge m-c to inbound 2014-07-15 17:39:19 -07:00
Andrew Osmond 5dedebb8ed 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 90fb1d9bfd merge mozilla-inbound to mozilla-central a=merge 2014-07-14 14:34:36 +02:00
Mike Habicher a6cf3a0bdf Bug 1036637 - disable HDR on low-memory devices, r=dhylands 2014-07-13 11:50:48 -04:00
Randell Jesup 77ee2e1b15 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 1465e09a99 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 6cb6557d3f 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 c7835d9fdf 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 484c8ff35c Bug 1029367 - handle ISO modes without "ISO" prefixes, r=dhylands 2014-07-02 18:49:54 -04:00
Andrew Osmond 75d97c962d 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 4cbbd061ad Backed out changeset d758e85bbe8b (bug 1030821) for bustage 2014-06-30 14:45:52 +02:00
Andrew Osmond e27c71ab54 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 aeabb87401 Bug 1030384 - Change a spammy NS_WARNING into a log message instead. r=khuey 2014-06-26 08:20:00 -04:00
Andrea Marchesini 6ec27357af Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Mike Habicher fb4ebebfd8 Bug 1025197 - only clear the "recording hint" when switching to picture mode, r=dhylands 2014-06-25 17:45:02 -04:00
Benoit Jacob ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Jan Beich 598b4fa9f5 Bug 1028049 - Unbreak non-SPS build after bug 990122. r=mhabicher 2014-06-22 22:02:39 +02:00
Ed Morley 798f1d2efc Merge mozilla-central and b2g-inbound 2014-06-19 17:20:14 +01:00
Mike Habicher 7b53c87c00 Bug 990122 - move prefs used by camera to CameraPreferences, r=ehsan 2014-06-19 09:20:49 -04:00
Birunthan Mohanathas bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Mike Habicher e918adaaef Bug 1022766 - allow autoFocus() to interrupt earlier calls, r=dhylands 2014-06-12 14:56:46 -04:00
Boris Zbarsky bc1e511e33 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Mike Habicher 44d97b0604 Bug 1020497 - collapse exposureCompensation to single attribute, r=bz 2014-06-06 15:37:15 -04:00
Mike Habicher 0dfa16ea76 Bug 1022705 - allow StopRecordingImpl() to be called from any thread, r=jesup 2014-06-10 09:52:22 -04:00
Vincent Liu 246ecbb60e 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 fa47ff339c Backed out changeset f4f3b1e4a0e5 (bug 1020497) for b2g debug emulator mochitest-1 failures 2014-06-06 15:17:55 -07:00
Mike Habicher 667c2c0f87 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 e62b517726 Bug 1018820 - fix exposure compensation index calculations, r=dhylands 2014-06-04 15:20:12 -04:00
Mike Habicher 612c2ed5ec Bug 1015368 - add missing cases to OnUserError() switch, r=aosmond 2014-05-29 13:37:44 -04:00
Kyle Huey 8c5cca136c Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Birunthan Mohanathas f65339b9ff Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Andrew Osmond ac2191da09 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 0cb097b154 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 6f08dc1662 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 c3a6a56e77 Bug 988704 - [dolphin][camera]camera preview is obviously slower than android. r=sotaro 2014-05-19 09:52:47 +08:00
Mike Habicher de3c473c32 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 aca9b90afe Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug 2014-04-20 00:36:40 -07:00
Robert O'Callahan 7043c985ba 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 9349cde661 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 f080a62903 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 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
Nathan Froyd 84041459a1 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas a85cd37de4 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 e7535bc435 Bug 996560 - Increase maxFileSize of recorded video upto 4GB for >=720p resolution. r=mikeh 2014-04-22 11:48:33 +05:30
Mike Habicher 1f2a99f065 Bug 990761 - handle HDR sending us more than one picture, r=dhylands 2014-04-16 21:46:36 -04:00
Ryan VanderMeulen fa7c5ad357 Merge inbound to m-c. 2014-04-15 23:26:35 -04:00
Mike Habicher 191b93b69f Bug 986024 - expose resumeContinuousFocus() method to DOM/JS, r=bz,dhylands 2014-04-15 15:46:40 -04:00
Kyle Huey d001ae7759 Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey 384121563d 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 a0605e8518 bug 995245 - remove stale FallbackCameraCapabilities.cpp, r=dhylands 2014-04-14 12:30:55 -04:00
Andrea Marchesini 4266c27429 Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Ryan VanderMeulen 40b49517d3 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Ryan VanderMeulen d3859c597c Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Ryan VanderMeulen 3b7a7bb3b6 Merge m-c to inbound on a CLOSED TREE. 2014-04-14 15:43:22 -04:00
Kyle Huey 46e8243a6d Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey 675439ca71 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07: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
Fredrik Lanker 2c245ff377 Bug 985481 - Make sure that a supported video size is set. r=mikeh 2014-04-08 00:21:00 +02:00
Ed Morley 29eff211c9 Merge mozilla-central and inbound 2014-04-02 18:24:05 +01:00
Daniel Holbert 6ede97af2d 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 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
Sotaro Ikeda 3c541b7114 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Daniel Holbert 28de2fa1e5 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 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