Commit Graph

331 Commits

Author SHA1 Message Date
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
Kyle Huey
fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07: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
41320c9f58 Bug 980484 - make the zoom setting more robust, r=dhylands 2014-03-07 01:07:27 -05: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
Mike Habicher
116c56d9ed Bug 976802 - add support for testing fake CameraParameters, r=dhylands 2014-02-28 17:51:26 -05:00
Dave Hylands
935edd9017 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
ac819db147 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
Boris Zbarsky
a8b92a28ce 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
c13e3cd1ea 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
e1e9ed8026 Bug 959505 - Modify nativewindow relative files which affected by KK's change. r=sotaro 2014-02-25 15:51:46 +08:00
Mike Habicher
a2044c4785 Bug 976032 - check for null callbacks, r=dhylands 2014-02-25 17:01:29 -05:00
Mike Habicher
8173018d77 Bug 974455 - disable thumbnail when no correct aspect ratio can be found, r=dhylands 2014-02-24 19:50:26 -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
63e0bf861e Bug 965533 - fix the zoom attribute, r=dhylands 2014-02-21 13:14:52 -05:00
Mike Habicher
f353462bf8 Bug 973790 - only call ClearCurrentFrame() when closing down the camera hardware, r=dhylands 2014-02-19 23:18:55 -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
Jon Coppeard
d0e56d0b88 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Benoit Jacob
757acc5d48 Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
Jon Coppeard
bfba7b5146 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
2e97c42a00 Bug 963142 - fix negative-rotation math error in startRecording(), r=dhylands 2014-01-23 19:10:23 -05:00
Mike Habicher
2ea904f502 Bug 963142 - fix negative-rotation math error in takePicture(), r=dhylands 2014-01-23 15:17:58 -05:00
Wes Kocher
9a43f7ee39 Merge b2g-inbound to m-c 2014-01-21 17:23:48 -08:00
Sotaro Ikeda
4d758c0459 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
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
Tom Schuster
9910bea99a Bug 939294 - Fix b2g failure with null JSObject. r=bz on irc 2014-01-16 15:24:00 +01:00
Tom Schuster
f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01: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
Ben Tian
7c91544af0 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
1b83407ce9 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
43f9a33d7a Bug 950143 - Followup: fix gonk builds. 2013-12-31 11:37:46 +01:00
Ms2ger
fc0c5d7215 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Trevor Saunders
d43c55ca0e bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Ryan VanderMeulen
2b53da578d Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Carsten "Tomcat" Book
b91f640910 Backed out changeset 1d72742584ad (bug 945614) per Bug 853356 comment 209 2013-12-10 08:38:43 +01:00
Randell Jesup
ada51719aa Bug 945614: Don't track windowIDs in MediaEngine for B2G r=mikeh,schien 2013-12-06 17:38:52 -05:00
Vincent Liu
a9d1fccb64 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
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
Ms2ger
c51e826c53 Bug 937258 - Part a: Remove empty makefiles; r=gps 2013-11-28 15:25:40 +01:00
Sotaro Ikeda
3d229cda0f Bug 929973 - Implement android::IGraphicBufferAlloc in B2G. r=mwu, r=mikeh 2013-11-21 16:03:27 -05:00
Benoit Jacob
60cda03b25 Bug 940191 - Build dom/base in unified mode - r=ehsan 2013-11-20 11:29:03 -05:00
Mike Hommey
2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Mike Habicher
c9819753c4 Bug 928856 - Properly guard calls to CameraParameters.get() and .set(). r=sotaro 2013-11-13 14:24:20 -05: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
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Trevor Saunders
f1399b6633 [PATCH] bug 922566 - kill dom-config.mk
From 6681eaa8bb47ddb4756fd71738771c4c437101c0 Mon Sep 17 00:00:00 2001
---
 content/media/webspeech/recognition/Makefile.in |  1 -
 content/media/webspeech/recognition/moz.build   |  5 +-
 content/media/webspeech/synth/Makefile.in       |  1 -
 content/media/webspeech/synth/pico/Makefile.in  |  3 --
 dom/alarm/Makefile.in                           |  2 -
 dom/apps/src/Makefile.in                        |  1 -
 dom/base/Makefile.in                            |  2 -
 dom/base/moz.build                              | 26 ++++++++++-
 dom/battery/Makefile.in                         |  1 -
 dom/bindings/Makefile.in                        |  3 --
 dom/bindings/moz.build                          | 17 ++++++-
 dom/bindings/test/Makefile.in                   |  5 +-
 dom/bluetooth/Makefile.in                       |  2 -
 dom/bluetooth/moz.build                         |  7 ++-
 dom/browser-element/Makefile.in                 |  3 --
 dom/browser-element/moz.build                   |  6 ++-
 dom/camera/Makefile.in                          |  1 -
 dom/camera/moz.build                            |  5 +-
 dom/devicestorage/Makefile.in                   |  1 -
 dom/dom-config.mk                               | 61 -------------------------
 dom/encoding/Makefile.in                        |  1 -
 dom/fmradio/Makefile.in                         |  2 -
 dom/fmradio/ipc/Makefile.in                     |  1 -
 dom/fmradio/ipc/moz.build                       |  5 +-
 dom/fmradio/moz.build                           |  5 +-
 dom/icc/src/Makefile.in                         |  4 --
 dom/media/Makefile.in                           |  3 --
 dom/media/moz.build                             |  6 ++-
 dom/mobilemessage/src/Makefile.in               |  1 -
 dom/mobilemessage/src/moz.build                 |  5 +-
 dom/network/src/Makefile.in                     |  2 -
 dom/plugins/base/Makefile.in                    |  1 -
 dom/plugins/base/moz.build                      |  8 +++-
 dom/power/Makefile.in                           |  1 -
 dom/quota/Makefile.in                           |  1 -
 dom/system/gonk/Makefile.in                     |  2 -
 dom/telephony/Makefile.in                       |  1 -
 dom/time/Makefile.in                            |  1 -
 dom/wifi/Makefile.in                            |  5 --
 39 files changed, 85 insertions(+), 123 deletions(-)
 delete mode 100644 dom/dom-config.mk
 delete mode 100644 dom/wifi/Makefile.in
2013-10-23 17:20:55 -04:00
Brian O'Keefe
9c9d71fddb Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00