Commit Graph

411 Commits

Author SHA1 Message Date
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
Jon Coppeard
bd28d643f7 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Peter Chang
1dcb6e83b0 Bug 894262 - Merge GonkIOSurfaceImage to GrallocImage, r=nical, kanru 2013-07-25 10:13:35 +08:00
Jeff Walden
10bde77bda Bug 891177 - Implement mozilla/Vector.h, and make js/Vector.h implement js::Vector using mozilla::Vector's implementation of the functionality. r=terrence
--HG--
rename : js/public/Vector.h => mfbt/Vector.h
extra : rebase_source : d5f87a48485e3f2241228a4b003e80974c86fd5f
2013-07-09 16:33:29 -07:00
Boris Zbarsky
6be6fb3ca2 Bug 893004 part 2. Remove various no-longer-used XPCOM bits from Navigator, except the ones from nsIDOMNavigator. r=smaug
--HG--
rename : dom/network/interfaces/nsIDOMNavigatorNetwork.idl => dom/network/interfaces/nsIMozNavigatorNetwork.idl
2013-07-17 23:23:52 -04:00
Boris Zbarsky
0563b53628 Bug 838146 part 2. Implement WebIDL API on Navigator for all our nonstandard extensions that are not behind build-time flags. r=smaug, sr=peterv 2013-07-12 10:35:44 -04:00
Ryan VanderMeulen
47891859c5 Merge m-c to birch. 2013-07-12 13:31:17 -04:00
Sotaro Ikeda
78e5e26f72 Bug 886897 - Call VideoFrameContainer::ClearCurrentFrame() before camera hw close. r=mikeh 2013-07-12 09:33:50 -04:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Mike Habicher
093f2d7a38 Bug 882328 - remove off-Main Thread JS callback addrefs, r=jdm 2013-06-17 11:59:53 -04:00
Mike Habicher
076c424da2 Bug 879478 - fix regressions when starting camera (crash and de-virtualized functions -- see also bug 880780), r=roc 2013-06-10 15:01:19 -04:00
Trevor Saunders
0cca44e9da bug 870678 - move CameraSelector dictionary to webidl r=bz 2013-05-15 07:07:08 -04:00
Trevor Saunders
97c7a91ef5 bug 870678 - remove nsIDOMCameraManager r=bz 2013-05-14 06:59:11 -04:00
Trevor Saunders
22b7362f5a bug 870678 - convert CameraManager to webidl r=bz 2013-05-10 02:25:25 -04:00
Arnaud Sourioux
feea85a7f1 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Steven Lee
33ff87b59a Bug 873913 - Make OnNewFrame a pure virtual function. r=kchen 2013-05-29 20:37:36 -04:00
Boris Zbarsky
14e7edc59d Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug 2013-05-29 16:16:04 -04:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Boris Zbarsky
620839f027 Bug 868312 finale: finish rooting dom/ code. r=smaug 2013-05-17 21:48:25 -04:00
Ryan VanderMeulen
3b2fb8dd48 Merge inbound to m-c. 2013-05-16 20:29:40 -04:00
Ryan VanderMeulen
3e961f82d0 Merge m-c to birch. 2013-05-16 16:18:21 -04:00
Dave Hylands
0ff57167d1 Bug 872170 - Fix camera file saving with composite device storage. r=mikeh 2013-05-16 11:12:29 -07:00
Dave Hylands
8f8841a1c4 Bug 858416 - Create a composite device storage interface. r=dougt
* * *
Bug 858416 - Fix try test failures
2013-05-11 02:10:18 -07:00
David Zbarsky
3a5f2fa41d Bug 868312 - Some more rooting fixes for dom r=bz 2013-05-10 22:39:45 -04:00
David Zbarsky
e521e7ffff Bug 868312 - Rooting fixes for dom r=bz 2013-05-10 14:22:21 -04:00
Dave Hylands
5adaf5762d Bug 870197 - Initialize mFrameCallback to null. r=mikeh 2013-05-09 10:17:42 -07:00
Mark Banner
e569d3dfb4 Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Michael Wu
d59dd9ac0f Bug 869251 - Disable omx decoder and camera on gonk-JB, r=doublec,glandium 2013-05-02 17:21:22 -04:00
Mike Habicher
5c20b49b4e Bug 834164 - handle aDataPtr == nullptr in camera driver DataCallback, r=cjones 2013-01-24 13:41:18 -05:00
David Zbarsky
ef70ce04b7 Bug 868312: Various dom rooting fixes r=bz 2013-05-04 03:52:57 -04:00
Chiajung Hung
aed738b705 Bug 825110 - Part 1: Camera changes for B2G WebRTC video module. r=mhabicher 2013-05-02 07:59:58 -04:00
Dave Hylands
505d1f5061 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Ryan VanderMeulen
ff2b61df0c Backed out changeset 8f7ef60b6f5a (bug 860934) for mochitest asserts and crashes. 2013-04-18 12:02:27 -04:00
Dave Hylands
fe279137c1 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Mike Habicher
cbbf31a51f Bug 862256 - don't (re)reference CameraControl object during/after destructor, r=sotaro, a=tef+ 2013-04-17 16:30:44 +02:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Mike Habicher
50da83b8cd Bug 872122 - clean up nsDOMCameraManager::GetListOfCameras(), r=bz 2013-05-16 10:39:13 -04:00
Jose Cortes
7e939c2f0f Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/network/ dom/camera/ and dom/devicestorage/ directories. r=jwalden
--HG--
extra : rebase_source : f765875c5597feb55c9eda3d8a3224fc22ad02fb
2013-04-02 16:17:52 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Ben Tian
cb21c14f76 Bug 851823 - Disable shutter sound in CameraService. r=sotaro 2013-03-27 11:19:10 -04:00
David Zbarsky
f982db0249 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Sotaro Ikeda
aa37821bb8 Bug 844248 - Add a custom media stream for camera preview. r=roc 2013-03-20 10:07:46 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Mike Habicher
07881a634f Bug 850845 - don't dereference null mCameraHw pointer, r=sotaro
--HG--
extra : rebase_source : e41763a11413d1cb66c2e4914a582f35cd9b60f0
2013-03-14 17:30:38 -04:00
Mike Shal
ec5b39bd8b Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps 2013-03-11 22:05:00 -07:00
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Sotaro Ikeda
f432a83b17 Bug 803471 - Part 5e - Change Makefile.in to add GonkNativeWindowClient.cpp. r=mhabicher 2013-03-08 14:43:33 -05:00
Sotaro Ikeda
42e2f02b70 Bug 803471 - Part 5d - Cange GonkRecorder to use GonkCameraHardware. r=mhabicher 2013-03-08 14:43:33 -05:00
Sotaro Ikeda
d84486e5ae Bug 803471 - Part 5c - Cange GonkCamera to use android::Camera. r=mhabicher 2013-03-08 14:43:33 -05:00
Sotaro Ikeda
7630560edd Bug 803471 - Part 5a - Split GonkNativeWindow to GonkNativeWindow and GonkNativeWindowClient. r=kchen 2013-03-08 14:43:32 -05:00
Sotaro Ikeda
b189543d1d Bug 803471 - Part 4 - Use OmxClient in GonkRecorder. r=mhabicher 2013-03-08 14:43:32 -05:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Sotaro Ikeda
586eb37334 Bug 839628 - Add MIN_UNDEQUEUED_BUFFERS check in GonkNativeWindow::dequeueBuffer(). r=kchen, r=mikeh 2013-02-21 07:04:03 -05:00
Sotaro Ikeda
87cc2325b7 Bug 826072 - Dispatch Init() out of nsGonkCameraControl's constructor. r=mikeh 2013-02-16 14:05:45 -05:00
Peter Van der Beken
7e3e8c9052 Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Scott Johnson
8d33c681fa Bug 840341: Rev the IID of nsICameraCapabilities. [r=bsmedberg]
--HG--
extra : rebase_source : d5d2ada4afb1733e7b92c8329e86c109488af911
2013-02-14 16:26:28 -06:00
Robert O'Callahan
9146383988 Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Robert O'Callahan
009ce30b8d Bug 837034. Part 1: Rename nsDOM(Local)MediaStream to DOM(Local)MediaStream and put them in the mozilla namespace. r=jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 6fd3f71779b4ecb9d3b053b6cd844c2ff0c25f80
2013-02-15 21:01:58 +13:00
Olli Pettay
ff9c34a6e4 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Sotaro Ikeda
b18a8e9f53 Bug 836782 - reduce gralloc buffer reallocation in camera StartPreview(), r=kchen 2013-02-06 12:57:50 -05:00
Alexandre Lissy
79b349d1eb Bug 832745 - Adding a principal for a stream when creating. r=roc 2013-01-30 11:03:17 +01:00
Sotaro Ikeda
c511765584 Bug 833521 - forward "recording-device-events" event to parent process, r=dougt 2013-01-24 21:45:36 -05:00
Ryan VanderMeulen
2c5c88c10b Backed out changeset 58209cc0ae14 (bug 833521) for build bustage. 2013-01-24 15:23:53 -05:00
Sotaro Ikeda
1eb0328d2c Bug 833521 - forward "recording-device-events" event to parent process, r=dougt 2013-01-24 14:51:03 -05:00
Dale Harvey
547c35d6d3 Bug 833095 - Fix format of file notification when recording complete. r=mikeh 2013-01-23 16:35:06 -05:00
Mike Habicher
c4cc702b09 Bug 819835 - add support for setting the EXIF DateTime field, r=sotaro 2013-01-18 16:06:28 -05:00
Mike Habicher
3e50c72e19 backed out changeset 0004848a182f, a=bustage 2013-01-18 16:46:26 -05:00
Mike Habicher
2fe99140e0 Bug 819835 - add support for setting the EXIF DateTime field, r=sotaro 2013-01-18 16:06:28 -05:00
Mike Habicher
339f10fddc Bug 830995 - move Alloc/DeallocSurfaceDescriptorGralloc() calls out of the GonkNativeWindow mMutex lock, r=kanru 2013-01-17 10:53:03 -05:00
Mike Habicher
04d4c426d1 Bug 830116 - remove off-main-thread calls to nsMainThreadPtrHandle::get() in error-handling paths, r=jst 2013-01-15 10:57:22 -05:00
Marco Chen
6e9b4d1ac0 Bug 829420 - [Camera] In GonkNativeWindow::dequeueBuffer, -1 will be used as index to access an Arrary. r=kanru 2013-01-11 18:18:35 +08:00
Trevor Saunders
14a806d47d no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Mike Habicher
7ff92d8901 Bug 827503 - use nsMainThreadPtrHolders when passing XPCWrappedJSes around off main thread, r=bholley,jst a=blocking-basecamp+ 2013-01-09 00:43:50 +01:00
Mike Habicher
7734067ac0 backing out patch for bug 827503 due to runtime crashes, r=crash 2013-01-09 16:39:37 +01:00
Doug Turner
fd87c9795b Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Mike Habicher
aeb0f4e056 Bug 827503 - use nsMainThreadPtrHolders when passing XPCWrappedJSes around off main thread, r=bholley,jst a=blocking-basecamp+ 2013-01-09 00:43:50 +01:00
Mike Habicher
ee6b183443 Bug 825986 - propagate startRecording() return code instead of asserting; clean up GonkRecorder lifecycle management, r=kanru 2013-01-08 10:11:32 +01:00
Kan-Ru Chen (陳侃如)
96e707525e Bug 825687 - Unregister camera control from the camera hardware. r=mikeh 2013-01-07 13:54:24 +01:00
Mike Habicher
ad247f79d8 Bug 820139 - Ensure video recorder exists before trying to start recording. r=kchen 2012-12-23 10:56:59 -05:00
Mike Habicher
879ba16592 Bug 818933 - Provide a hardware release API so that we don't have to rely on CC of CameraControl objects. r=mhabicher 2012-12-23 10:54:54 -05:00
Mike Habicher
0aabd593e4 Bug 822531 - Fix regression of bug 783682 caused by bug 779139. r=mwu 2012-12-18 18:19:38 -05:00
Mats Palmgren
558a55f649 Bug 820230 - Add missing #include to fix compile error. r=me 2012-12-12 00:15:07 +01:00
Marco Chen
694465e430 Bug 811649 - Mute other audio when video recording is started by using an AudioChannelAgent to integrate with AudioChannelService. r=mhabicher a=blocking-basecamp 2012-12-11 18:14:06 +08:00
Mike Habicher
c9d7e5ef7b Bug 817496 - Notify DeviceStorage when a new video file is finished recording. r=dougt 2012-12-04 21:00:39 -05:00
Mike Habicher
771adfe91f Bug 817141 - Call EndTrack()/Finish() from StopPreview() (as well) to prevent deadlock. r=kchen 2012-12-04 21:00:39 -05:00
Ms2ger
b9aea0bb8c Bug 814898 - Part d: Cleanup CC goop in some more parts of dom/; r=mccr8 2012-12-02 09:54:51 +01:00
Ms2ger
6546506458 Bug 814898 - Part c: Cleanup CC goop in B2G-specific parts of dom/; r=mccr8 2012-12-02 09:54:37 +01:00
Mike Habicher
b4218c43ec Bug 809259 - fix for buffer exhaustion when cycling camera modes. r=cjones a=blocking-basecamp 2012-11-30 18:26:58 -08:00
Kartikaya Gupta
2898501127 Bug 814418 - Fix some warnings about unused variables. r=ehsan 2012-11-30 11:06:37 -05:00
Chris Jones
a01b80c87f Bug 809259: Properly handle allocation failures. r=kanru 2012-11-27 22:54:39 -08:00
Mike Habicher
1c51a55073 Bug 809259 - improve camera stability when switching between picture and video modes r=kanru 2012-11-23 13:31:42 +08:00
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
05a309e368 Bug 798033 - adapt dom/camera code to not relying on headers to do using namespace - r=mhabicher 2012-11-12 19:06:31 -05:00
Matt Joras
6d89044915 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Ryan VanderMeulen
1501d1c8ce Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage. 2012-11-10 11:52:15 -05:00
Matt Joras
cca020df08 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Mike Habicher
5df1575537 Bug 810440 - Add missing rotation parameter to SetupRecording function call, drop default parameter values. r=daleharvey 2012-11-09 20:32:10 -05:00
Edwin Flores
e5807d5033 Bug 798448 - Stop GonkNativeWindow::perform returning an error when the transform is set r=kanru 2012-11-08 17:24:02 +13:00
Mike Habicher
5bf2c472b4 Bug 808099 - Write the correct rotational meta-data to the video stream. r=cjones 2012-11-06 22:32:01 -05:00
Mike Habicher
1d590380e6 Bug 808030 - Make camera default to smallest non-0x0 thumbnail size with reduced quality. r=cjones 2012-11-02 19:53:40 -04:00
Mike Habicher
532b4b9ecc Bug 801693 - Plumb video recorder state-change (error, size/length limit) handling. r=jst 2012-11-02 16:11:50 -04:00
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Mike Habicher
ff87bb2f7d Bug 804741 - close our recorder output file handle because recorder dup()s it. r=mwu 2012-10-29 16:16:42 -07:00
Robert O'Callahan
a738cb5616 Bug 805703. Part 1: MediaStreamGraph::CreateInputStream -> CreateSourceStream. r=jesup
--HG--
extra : rebase_source : 3c327e9ead92508f12df4b95f2fd24fa2ba97ab5
2012-10-29 17:36:31 +13:00
Tim Taubert
39113a159d Bug 805377 - [Camera] Change to video record mode will cause app crash r=mikeh a=blocking-basecamp 2012-10-26 14:55:08 +02:00
Randell Jesup
2eb9a9bf7e Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Ehsan Akhgari
33b4d241b7 Backed out changeset 165208ecd591 (bug 803976) 2012-10-24 20:29:32 -04:00
Michael Vines
7b8bbfd479 Bug 803733 - Normalize camera sensor orientation. r=cjones 2012-10-24 17:23:01 -07:00
Randell Jesup
5d4b72af55 Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Mike Habicher
f91fb8efb0 Bug 795379 - Add support for getting and setting video recording profiles. r=jst 2012-10-23 18:30:28 -04:00
Isaac Aggrey
9e41ce2fa0 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Isaac Aggrey
e4756de38b Bug 794510: Part 4 - Use PR_NewLogModule instead of PR_LOG_DEFINE; r=ehsan,wtc 2012-10-13 15:56:35 -05:00
Nathan Froyd
14c4b5f9e8 Bug 798573 - remove prtypes.h #includes in dom/; r=ehsan 2012-10-05 17:28:24 -04:00
Mike Habicher
3838ead36b Bug 798304 - Call AppendRelativePath() to append video filename (possibly including subpath) to data storage area root. r=dougt 2012-10-10 06:32:37 -04:00
Ehsan Akhgari
4b71a98ab2 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-01 16:04:09 -04:00
Mike Habicher
3e1aa22ba1 Bug 779145 - Add support for unsoliciated onShutter and onClosed callbacks, handle OnNavigation to clean-up. r=jst 2012-09-30 20:37:47 -04:00
Inder Kumar ext:(%20and%20Mike%20Habicher%20%3Cmhabicher%40mozilla.com%3E)
d8f8957970 Bug 776062: Add support for recording video on gonk. r=cjones,double,ikumar,mikeh sr=sicking 2012-09-28 22:30:52 -07:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Edwin Flores
c06dc84a94 Bug 759506 - GonkNativeWindow and layers changes for B2G zero-copy OMX hardware decoding r=kanru 2012-09-27 16:33:42 +12:00
Mike Habicher
4f1885c23e Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Ms2ger
32e45fa34b Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (first batch); r=mounir 2012-09-20 09:55:36 +02:00
Mike Habicher
b0b3d04888 Bug 790746 2012-09-12 22:24:00 -04:00
Nathan Froyd
9b227bf10d Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium 2012-09-11 07:47:42 -04:00
Mike Habicher
20b183fd5a Bug 789307 - Unlock() the graphics buffer if we're not going to consume it. r=kchen 2012-09-07 16:23:01 -04:00
Mike Habicher
15e34763e4 Bug 779139 - Make DOM-facing camera objects cycle collection participants. r=jst
--HG--
rename : dom/camera/CameraControl.h => dom/camera/CameraControlImpl.h
rename : dom/camera/GonkCameraCapabilities.cpp => dom/camera/DOMCameraCapabilities.cpp
2012-09-04 21:01:56 -04:00
David Zbarsky
114264765b Bug 785486 - DomCameraManager redefines DOM_CAMERA_LOG_LEVEL r=mikeh 2012-08-24 16:50:57 -04:00
Nathan Froyd
4c779437cc Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
b27894f902 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Paul Adenot
4315429c87 Bug 774581: Send event when starting/stopping audio or video recording; r=anant,mhabicher 2012-08-17 09:10:08 -07:00
Mike Habicher
43d63d34bf Bug 783682 - Camera - always assume the camera gives us yuv420sp [r=gal] 2012-08-20 09:11:20 -07:00
Nicolas Silva
54dd2bf57f Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Kan-Ru Chen
0fdb67a324 Bug 757341 - Camera direct texturing with async video. r=cjones 2012-08-17 18:56:55 +08:00
Mike Habicher
927fa37de8 Bug 780905 - Remove excess logging from DOMCameraManager. r=smaug 2012-08-07 20:49:07 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Eric Faust
6d4e293e26 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Mike Habicher
fd45423d62 Bug 779351 - Camera needs to get/configure the SourceMediaStream on the main thread, r=roc 2012-08-01 14:21:27 -04:00
Mike Habicher
fda42a47a7 Bug 779283: fix assertions in ICS camera r=dzbarsky 2012-07-31 17:57:39 -07:00
David Zbarsky
ea18b21eb6 Fix virtual destructor warnings in dom/camera, no bug, blanket r=bz 2012-07-31 14:30:53 -07:00
Michael Wu
9d7b627cd2 Follow up to Bug 740997 - land the right version of GonkCameraCapabilities.cpp, r=killer 2012-07-31 01:45:26 -04:00
Mike Habicher
01f8e81e31 Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00