Commit Graph

293 Commits

Author SHA1 Message Date
Youngwoo Jo
1181efd2f8 Bug 977494 - [Camera] Add onFocusChanged callback. r=mikeh 2014-03-10 08:35:52 -04:00
Carsten "Tomcat" Book
95ed84029a 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
9a4bb22ca8 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
9d73e74bd6 Bug 980484 - make the zoom setting more robust, r=dhylands 2014-03-07 01:07:27 -05:00
Mike Habicher
6411be5b8b Bug 965425 - expose ISO setting, r=dhylands,jst 2014-03-07 01:00:43 -05:00
Dave Hylands
d75553b938 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
f7378c3ae7 Backed out changeset 4fb349c12a63 (bug 977372) for b2g ics emulator debug m8 test failure 2014-03-06 09:16:43 +01:00
Dave Hylands
af805b2e9a 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
98f9856b6f Bug 976802 - add support for testing fake CameraParameters, r=dhylands 2014-02-28 17:51:26 -05:00
Dave Hylands
e3b5b9c99a 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
9f07169289 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
6b925f7324 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
e52658031e Bug 977260, part 1 - Don't implement wrappercache CC stuff for nsDOMCameraControl. r=smaug 2014-02-28 09:56:23 -08:00
Boris Zbarsky
a1d3cdeb9c 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
d382b43c5f 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
843f797eeb Bug 959505 - Modify nativewindow relative files which affected by KK's change. r=sotaro 2014-02-25 15:51:46 +08:00
Mike Habicher
bf695152c7 Bug 976032 - check for null callbacks, r=dhylands 2014-02-25 17:01:29 -05:00
Mike Habicher
16107eea06 Bug 974455 - disable thumbnail when no correct aspect ratio can be found, r=dhylands 2014-02-24 19:50:26 -05:00
Mike Habicher
7e8ee4b9dc Bug 975472 - fix crash in DOM error handler, r=dhylands 2014-02-24 13:01:21 -05:00
Mike Habicher
49b6c80c0e Bug 965533 - fix the zoom attribute, r=dhylands 2014-02-21 13:14:52 -05:00
Mike Habicher
d9d3a756f0 Bug 973790 - only call ClearCurrentFrame() when closing down the camera hardware, r=dhylands 2014-02-19 23:18:55 -05:00
Mike Habicher
6137c43056 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
cb7b7f75e6 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
Ryan VanderMeulen
ee17cd233e Backed out changeset 6e588c56764b (bug 909542) for Gaia unit test perma-fail. 2014-02-14 08:27:44 -05:00
Mike Habicher
b8dfc21206 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 00:28:57 -05:00
Jon Coppeard
25c1a75044 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Benoit Jacob
4703621d85 Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
Jon Coppeard
7d118df1ce 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
fd511fe62e Bug 963142 - fix negative-rotation math error in startRecording(), r=dhylands 2014-01-23 19:10:23 -05:00
Mike Habicher
605785134e Bug 963142 - fix negative-rotation math error in takePicture(), r=dhylands 2014-01-23 15:17:58 -05:00
Wes Kocher
f5a4be1d11 Merge b2g-inbound to m-c 2014-01-21 17:23:48 -08:00
Sotaro Ikeda
11014e1136 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
3e141bbf5e 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
12e7cbc44e Bug 939294 - Fix b2g failure with null JSObject. r=bz on irc 2014-01-16 15:24:00 +01:00
Tom Schuster
5e3191afd2 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Dave Hylands
acbbf90717 Bug 910498 - Camera changes to use CreateFd. r=mikeh
* * *
Fixes for camera patch
2014-01-16 17:01:43 -08:00
Ben Tian
c685a9a4a7 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
eaa7491d77 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
e575b4351b Bug 950143 - Followup: fix gonk builds. 2013-12-31 11:37:46 +01:00
Ms2ger
98586cdbc1 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Trevor Saunders
c2b2fcd3d4 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Ryan VanderMeulen
c8bf34a922 Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Carsten "Tomcat" Book
b0cb202aed Backed out changeset 1d72742584ad (bug 945614) per Bug 853356 comment 209 2013-12-10 08:38:43 +01:00
Randell Jesup
33d6cb846a Bug 945614: Don't track windowIDs in MediaEngine for B2G r=mikeh,schien 2013-12-06 17:38:52 -05:00
Vincent Liu
aba76a265a 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
ef8e115de2 Bug 932669 - Expose sensor rotation offset to JS. r=dhylands 2013-12-06 09:47:29 -05:00
Shih-Chiang Chien
5997ad7b8c Bug 940045 - Part 3: Send requestURL from content process. r=mikeh 2013-11-26 14:22:22 +08:00
Ms2ger
554db665e5 Bug 937258 - Part a: Remove empty makefiles; r=gps 2013-11-28 15:25:40 +01:00
Sotaro Ikeda
21af12d6d1 Bug 929973 - Implement android::IGraphicBufferAlloc in B2G. r=mwu, r=mikeh 2013-11-21 16:03:27 -05:00
Benoit Jacob
2de7a871ee Bug 940191 - Build dom/base in unified mode - r=ehsan 2013-11-20 11:29:03 -05:00
Mike Hommey
931cb49886 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
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b 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
ade9eacafe Bug 928856 - Properly guard calls to CameraParameters.get() and .set(). r=sotaro 2013-11-13 14:24:20 -05:00
Mike Habicher
104b4be6ff Bug 807058 - Expose thumbnail size capability and control properties. r=sotaro, r=jst 2013-10-30 15:41:08 -04:00
Nicholas Nethercote
b38b84f869 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
bc5f77ba8d 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
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Trevor Saunders
e4cd176c9e [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
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Trevor Saunders
34d15fcc58 backout the part of e40a964458f8 that should never have landed 2013-10-21 18:38:50 -04:00
Trevor Saunders
aba3fa9503 bug 922566 - kill dom-config.mk r=gps 2013-10-11 12:02:41 -04:00
Peter Chang
59195f23b7 Bug 922510 - Extend GonkNativeWindow to support android JB 4.2.2, r=sotaro,gps 2013-10-18 10:42:43 +08:00
Gregor Wagner
2c7e823a5b Bug 927201 - Add null check before trying to close observer service. r=mrbkap 2013-10-16 08:12:16 -04:00
Ms2ger
9d5ce8dfb7 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc
c44d9c8614 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Gregory Szorc
3d0a157ac2 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Benoit Jacob
b268087442 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher
818ff844d4 Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Benoit Jacob
18df240efb Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Sotaro Ikeda
8187b5bda8 Bug 916220 - Fix encoder flag on ICS gonk. r=mikeh 2013-09-17 11:10:08 -04:00
Marco Chen
6499ebb283 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
Ed Morley
89f8fd063e Merge mozilla-central and b2g-inbound 2013-09-12 12:09:58 +01:00
Sotaro Ikeda
81b1a4b5b1 Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium 2013-09-12 11:40:26 +02:00
David Clarke
8990bd212e Bug 864621 - Create mochitests for the mozCamera. r=mikeh 2013-09-10 12:51:51 -04:00
Mike Hommey
6d2ab6f7e7 Bug 914482 - Allow overrides from the command line for variables defined in moz.build. r=gps 2013-09-12 08:14:52 +09:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Sotaro Ikeda
eb51eb5a9e Bug 909746 - Call SetIsDOMBinding() in nsDOMCameraControl. r=bz 2013-08-29 09:57:53 -04:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Trevor Saunders
16141ae9ca bug 899210 - follow up rev uuid and touch CLOBBER to fix windows bustage 2013-08-26 16:45:14 -04:00
Trevor Saunders
6ad6f7d99c bug 899210 - convert camera control to WebIDL r=bz 2013-07-06 16:55:10 -04:00
Kyle Huey
debb415e8e Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Ms2ger
4af9d89266 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
2fab82586f Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Nicholas Nethercote
b89a8ac1c0 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Reuben Morais
d0d07fa042 No bug - Silence camera permission warning that is printed every time a Navigator object is created. r=mikeh
--HG--
extra : rebase_source : fcff93d24aabb4562d883adcff6b0c808b88bc50
2013-08-15 17:13:15 -03:00
Gregory Szorc
918eef7c37 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
a7872e972f Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Gregory Szorc
260d3a8e7c Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Sotaro Ikeda
48253755a9 Bug 903174 - Move GonkNativeWindow to /widget/gonk/nativewindow. r=vlad 2013-08-13 12:58:38 -04:00
Ryan VanderMeulen
03f1e9ee4f Merge m-c to inbound. 2013-08-05 20:00:43 -04:00
Mike Habicher
11a7e018c1 Bug 890427 - Let the Camera app know when the preview has actually started/stopped. r=jst 2013-08-05 16:24:43 -04:00
Jon Coppeard
da8c061053 Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Jon Coppeard
4258a261db Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz 2013-07-26 10:00:38 +01:00