Commit Graph

342 Commits

Author SHA1 Message Date
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
Mike Habicher
8b4193c3a5 Bug 973790 - only call ClearCurrentFrame() when closing down the camera hardware, r=dhylands 2014-02-19 23:18:55 -05:00
Mike Habicher
9e32e131fd 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
a28ebb99d1 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
Ryan VanderMeulen
df06ba6285 Backed out changeset 6e588c56764b (bug 909542) for Gaia unit test perma-fail. 2014-02-14 08:27:44 -05:00
Mike Habicher
4ec887a5dd Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 00:28:57 -05:00
Jon Coppeard
52381adba2 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Benoit Jacob
3991287fb7 Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
Jon Coppeard
4a76452c21 Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz 2014-01-25 09:31:17 +00:00
Mike Habicher
05f46568c1 Bug 963142 - fix negative-rotation math error in startRecording(), r=dhylands 2014-01-23 19:10:23 -05:00
Mike Habicher
18e682d794 Bug 963142 - fix negative-rotation math error in takePicture(), r=dhylands 2014-01-23 15:17:58 -05:00
Wes Kocher
efa650651c Merge b2g-inbound to m-c 2014-01-21 17:23:48 -08:00
Sotaro Ikeda
3393c67ef8 Bug 961405 - Change GraphicBufferLocked as to use AtomicRefCountedWithFinalize. r=nical, r=pchang, r=doublec, r=mikeh 2014-01-21 13:53:48 -05:00
Terrence Cole
f017da90d9 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
Tom Schuster
05ef2eef58 Bug 939294 - Fix b2g failure with null JSObject. r=bz on irc 2014-01-16 15:24:00 +01:00
Tom Schuster
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Dave Hylands
3a708629c4 Bug 910498 - Camera changes to use CreateFd. r=mikeh
* * *
Fixes for camera patch
2014-01-16 17:01:43 -08:00
Ben Tian
909dc966f6 Bug 949930 - CameraControl.sensorAngle doesn't return consistent angle among different devices, r=mikeh, a=1.3+ 2014-01-13 10:12:40 +08:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger
a04c367c9f Bug 950143 - Followup: fix gonk builds. 2013-12-31 11:37:46 +01:00
Ms2ger
9b8e245bf9 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Ryan VanderMeulen
e58ec03427 Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Carsten "Tomcat" Book
6c1aee1b2a Backed out changeset 1d72742584ad (bug 945614) per Bug 853356 comment 209 2013-12-10 08:38:43 +01:00
Randell Jesup
28164c51c2 Bug 945614: Don't track windowIDs in MediaEngine for B2G r=mikeh,schien 2013-12-06 17:38:52 -05:00
Vincent Liu
91c7c27cf5 Bug 944567 - [Flatfish] Camera recording should support AAC encoding based on Android JB (4.2.2). r=sotaro
--HG--
extra : rebase_source : 9bdea1464793363d31454b2f08bf9ae170a33623
2013-11-29 11:04:54 +08:00
Mike Habicher
c1b1bfe5ff Bug 932669 - Expose sensor rotation offset to JS. r=dhylands 2013-12-06 09:47:29 -05:00
Shih-Chiang Chien
144c08bfb6 Bug 940045 - Part 3: Send requestURL from content process. r=mikeh 2013-11-26 14:22:22 +08:00
Ms2ger
f56294acdb Bug 937258 - Part a: Remove empty makefiles; r=gps 2013-11-28 15:25:40 +01:00
Sotaro Ikeda
a17c7b7508 Bug 929973 - Implement android::IGraphicBufferAlloc in B2G. r=mwu, r=mikeh 2013-11-21 16:03:27 -05:00
Benoit Jacob
f43a5fda38 Bug 940191 - Build dom/base in unified mode - r=ehsan 2013-11-20 11:29:03 -05:00
Mike Hommey
a65383e1e9 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00