Andrew Osmond
18286d98bd
Bug 1222122 - Add picture size to verified parameters when reconfiguring the camera. r=dhylands
2015-11-05 16:00:57 -05:00
Andrew Osmond
6fc8938032
Bug 1179726 - Prefer lower resolutions than 4kuhd as the default video recording profile. r=dhylands
2015-10-29 16:06:46 -04:00
Makoto Kato
1929f6c7c4
Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on dom. r=nfroyd
2015-10-28 14:29:57 +09:00
Andreas Pehrson
11cfd4237b
Bug 1212783 - Add a MediaStreamTrack to DOMCameraControl. r=aosmond
...
Without this, HTMLMediaElement cannot see that the camera stream contains
video so it won't hold the screen wake lock.
--HG--
extra : commitid : 1dGzbvOQkLe
extra : rebase_source : 23340b3c01f72cc82c02f4762f4fe10f1b129a3a
2015-10-22 12:36:23 +08:00
Andrew Osmond
ba769d465a
Bug 1215372 - Filter empty camera face detected events at gonk layer. r=dhylands
2015-10-21 01:51:39 -04:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Andrea Marchesini
c53e405b13
Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc
2015-10-07 20:06:47 +01:00
Andreas Pehrson
937747498a
Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
...
This lets us separate tracks by ownership like so:
* Input - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned - Contains Input tracks (per above) or tracks cloned tracks
if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
DOMMediaStream minus tracks removeTrack()ed from this
DOMMediaStream.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : fba22e96c6c65a74e012509f3da67a4d7df7a244
2015-09-30 09:31:54 +08:00
Wes Kocher
03a1803261
Backed out 9 changesets (bug 1170958) for frequent test_getUserMedia_addTrackRemoveTrack.html failures
...
Backed out changeset 277c1f8098d1 (bug 1170958)
Backed out changeset aa86bb9eea95 (bug 1170958)
Backed out changeset 8af8b85a4b26 (bug 1170958)
Backed out changeset ec1bf225e9cb (bug 1170958)
Backed out changeset 4a04ddca2b6b (bug 1170958)
Backed out changeset e85c9977a311 (bug 1170958)
Backed out changeset 16b40ff04e8f (bug 1170958)
Backed out changeset ad206925c84a (bug 1170958)
Backed out changeset 2106eccec79b (bug 1170958)
2015-09-25 13:08:55 -07:00
Andreas Pehrson
eacfc2cf0e
Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
...
This lets us separate tracks by ownership like so:
* Input - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned - Contains Input tracks (per above) or tracks cloned tracks
if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
DOMMediaStream minus tracks removeTrack()ed from this
DOMMediaStream.
--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Nicholas Nethercote
842dd1cf5a
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Andrew Osmond
d40717b1df
Bug 1191731 - Update poster API to allow application control over when poster is saved. r=bz, r=dhylands
2015-09-15 12:40:32 -04:00
Robert O'Callahan
d745ffaf22
Bug 1189506. Remove unused NotifyConsumptionChanged. r=karlt
...
--HG--
extra : commitid : 844LybDIKss
extra : rebase_source : 6a514c1ef0926e540e4d27a1e3f9561636c38ddb
2015-09-04 21:39:35 +12:00
Robert O'Callahan
86c380603b
Bug 1189506. Convert ChangeExplicitBlockerCount to MediaStream::Suspend/Resume. r=padenot
...
--HG--
extra : commitid : EAfe35GbRPL
extra : rebase_source : f6da37f3a9e8eefbdcf3e6787ec7edcc99e53859
2015-09-11 01:45:36 +12:00
Paul Adenot
0662256535
Bug 1190676 - Part 8 - Fix consumers: CameraPreviewMediaStream. r=sotaro
...
--HG--
extra : rebase_source : 4eb60f8c9978fa97e2257a4153ea3f1974983d45
2015-08-25 10:29:51 +02:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Chris Peterson
6b261a1c9e
Bug 1197563
- Polyfill __func__ for MSVC 2013 and earlier. r=froydnj
2015-08-20 23:39:18 -07:00
Andrew Osmond
6109740104
Bug 1008483 - Part 2. Readd missing nsPrintfCString.h include which has broken some local builds. r=me
2015-08-20 13:13:46 -04:00
Andrew Osmond
ae6281faf8
Bug 1196330 - Do not restart preview if configuration is unchanged. r=dhylands
2015-08-20 12:44:25 -04:00
Andrew Osmond
ea52042e5f
Backed out changeset 19eb382364a9 (bug 1194476)
2015-08-20 12:18:49 -04:00
Andrew Osmond
f5deed75f0
Bug 1194476 - Do not restart preview if configuration is unchanged. r=dhylands
2015-08-20 12:12:45 -04:00
Roger Yang
6a02bf663a
Bug 1008483 - removes the RW lock in CameraControlImpl and replaces it with a standard mutex. r=aosmond
...
--HG--
extra : amend_source : dbd5466a9e2b455da67b465dfc3295faa69a44fc
2015-08-17 15:48:07 -07:00
Andrew Osmond
d4cc8622c2
Bug 1187364 - Part 2. Ensure that recording is resumed with a key frame. r=mchiang
2015-08-17 15:20:35 -04:00
Andrew Osmond
b100eebfc1
Bug 1187364 - Part 1. Add ability for camera to pause/resume recording. r=dhylands,bz
2015-08-17 15:20:28 -04:00
Sotaro Ikeda
f340814380
Bug 1192312 - Use MediaCodecSource for camera recording since gonkL r=aosmond
2015-08-14 07:34:24 -07:00
Ehsan Akhgari
f22dea9a72
Bug 1190040 - Part 2: Teach the audio channel service how to not notify audio-playback, and do that when a media element has no audio track; r=padenot
2015-08-06 10:26:27 -04:00
Jan-Ivar Bruaroey
0ccb51ddc8
Bug 1175523
- Update most (but not all) tests to use elem.srcObject over .mozSrcObject. r=pehrsons
...
--HG--
extra : rebase_source : bac0027f4bf5d75b8730c44a10141c114002633b
2015-07-14 10:12:31 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini
24739b108d
Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu
2015-07-11 08:24:26 +01:00
Andrea Marchesini
db14826639
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
c07e36b612
Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
...
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
131967cfc8
Backed out changeset 41195fb9f293 (bug 1177259)
2015-07-11 14:13:27 +02:00
Andrea Marchesini
1ccca98929
Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu
2015-07-11 08:24:26 +01:00
Andrea Marchesini
3050bc370c
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan
f23d866f51
Backed out 8 changesets (bug 1113086) for build bustage
...
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Andrea Marchesini
bbb0a11f31
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Andrew Osmond
d74af6faf3
Bug 1175656 - Implement generation of recording posters in Gecko. r=dhylands,bz
2015-06-16 20:35:00 -04:00
Andrew Osmond
c9482894c1
Bug 1171374 - Permit software video codecs with the emulated camera. r=sotaro
2015-06-18 17:12:06 -04:00
Andrew Osmond
dca0017a8d
Bug 1152500 - Fix how stop recording may be handled out-of-order. r=dhylands
2015-06-12 18:51:38 -04:00
Eric Rahm
75c4bebb79
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Andrew Osmond
52f891612b
Bug 1146671 - Ensure camera not already released when performing operations. r=dhylands
2015-06-03 07:24:57 -04:00
Ryan VanderMeulen
2e35b1209f
Merge inbound to m-c. a=merge
2015-05-29 09:32:46 -04:00
Andrew Osmond
52c7f139a7
Bug 1169342 - Remove nsIDOMDeviceStorage. Cleanup nsDOMDeviceStorage event wrappers. r=dhylands
2015-05-28 18:53:16 -04:00
Birunthan Mohanathas
180b572edb
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Roger Yang
11ba368e2a
Bug 1124338 - Fix possible camera cached parameters invalidation from underlying driver modification. r=aosmond
2015-05-24 11:36:00 -04:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Andrea Marchesini
61b9bd0496
Bug 1166231 - Make nsIDOMBlob an empty interface, r=ehsan
2015-05-19 15:36:37 +01:00
Birunthan Mohanathas
1f8d7454e3
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj
2015-05-18 13:50:34 -07:00
Eric Rahm
34f99e4b4c
Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Ehsan Akhgari
1a03395848
Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger
2015-05-13 14:31:58 -04:00
Andrea Marchesini
368a198972
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Wes Kocher
983fcabeef
Backed out 2 changesets (bug 1159401) for b2g build bustage
...
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Andrea Marchesini
40a62edb0c
Bug 1159401 - patch 2 - Avoid multiple inheritance of nsIDOMBlob, r=bz
2015-05-11 18:50:52 +01:00
Andrea Marchesini
91a8a35606
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
2390c704f8
Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
...
CLOSED TREE
--HG--
extra : histedit_source : a6c24f88b9c5a0cbcf2d44189fd359ddb20757b4%2C46613cfc309a9f0531e8c2475ac17877f606f231
2015-05-11 11:43:59 -04:00
Andrea Marchesini
48ecacaa74
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 15:20:06 +01:00
Andrew Osmond
85cf1bc1dd
Bug 1158378 - Fix how a failed set configuration call would try to shutdown the camera after release.
2015-05-08 16:20:01 -04:00
Roger Yang
d0b4507ce1
Bug 1160428 - Fix theoretical take picture memory leak uncovered by coverity. r=aosmond
2015-05-03 13:46:00 -04:00
Roger Yang
0cffd42719
Bug 1129051 - Fix double free in Camera Control Listener. Fix webrtc memory leak. r=aosmond
2015-04-28 16:08:40 -04:00
Hayden Huang
fee1675a5f
Bug 1154665 - Part 2. Testcase against gps parameter. r=aosmond
2015-04-28 13:08:27 -04:00
Hayden Huang
3013d83b2f
Bug 1154665 - Part 1. Provide gps processing data to avoid setParameters fail. r=aosmond
2015-04-28 13:08:24 -04:00
Andrea Marchesini
cb54385682
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Wes Kocher
02314c6b8d
Merge m-c to b2ginbound a=merge CLOSED TREE
2015-04-20 17:17:44 -07:00
Andrew Osmond
19eed57bd6
Bug 1156416 - Validate camera parameters supplied by the application. r=mikeh
...
--HG--
extra : amend_source : 2c09f226600c0ac4a846c503516bd49c52124e66
2015-04-17 14:17:18 -04:00
Denis Volk
32e981896d
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Andrew Osmond
5a7c3f4749
Bug 1144211 - Improve code coverage of camera mochitests. r=mikeh
...
--HG--
rename : dom/camera/test/test_camera_hardware_auto_focus_moving_cb.html => dom/camera/test/test_camera_auto_focus.html
rename : dom/camera/test/test_camera_bad_initial_config.html => dom/camera/test/test_camera_configuration.html
rename : dom/camera/test/test_camera_hardware_face_detection.html => dom/camera/test/test_camera_face_detection.html
rename : dom/camera/test/test_bug975472.html => dom/camera/test/test_camera_release.html
rename : dom/camera/test/test_camera_hardware_failures.html => dom/camera/test/test_camera_take_picture.html
extra : amend_source : edb877b83a258230767eca02fa3d0500ab865a0e
2015-03-17 13:01:24 -04:00
Andrew Osmond
1f0078bbd5
Bug 1139721 - Fix camera memory leaks for onfacedetected events, failed initializations and capabilities. r=mikeh
2015-04-17 07:09:54 -04:00
Andrew Osmond
b35bb25eaf
Bug 1152260 - Generate focused event for drivers that do not notify us when using continuous auto focus. r=mikeh
2015-04-14 09:38:40 -04:00
Kershaw Chang
e81771306d
Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey
...
--HG--
extra : rebase_source : dba5c4709942f8ad92fc6aa0ee76942247b08992
2015-04-13 21:08:00 -04:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
dc24477d79
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Daniel Holbert
082fd9cd7f
Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
...
This patch was generated by a script. Here's the source of the script for
future reference:
find . \( -iname "*.cpp" -o -iname "*.h" \) | \
xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Becker Hsieh
3d72319a6b
Bug 1121855 - Fix camera crash. r=aosmond
2015-03-12 20:29:00 -04:00
Andrew Osmond
ce39ae083d
Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh
2015-03-10 19:39:49 -04:00
Sotaro Ikeda
a5af76c3cf
Bug 1141311 - Add async mode support to GonkNativeWindow on Lollipop Gonk r=pchang
2015-03-10 20:39:23 -07:00
Andrew Osmond
65bf841b78
Bug 1062387 - Part 4. Update test cases to use JS camera driver. r=mikeh
2015-02-26 02:06:37 -05:00
Andrew Osmond
2f0b8c72c1
Bug 1062387 - Part 3. Implement Gonk wrappers for JS camera driver. r=mikeh
2015-03-03 12:37:30 -05:00
Andrew Osmond
3cd2fd3ac9
Bug 1062387 - Part 2. Implement DOM and JavaScript facing components of JS camera driver. r=mikeh r=bz
2015-03-01 13:48:37 -05:00
Andrew Osmond
c59e55e503
Bug 1062387 - Part 1. Fix clearing of camera preferences. r=mikeh
2015-02-13 09:18:49 -05:00
Mike Habicher
5592c95197
Bug 1141267 - register CameraThread with profiler, r=aosmond
2015-03-09 16:42:19 -04:00
Andreas Pehrson
9b19093204
Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup
2015-02-09 15:23:34 +08:00
Andreas Pehrson
f400cd176d
Bug 1129263 - Part 1. Add an event to MediaStreamListener for handling atomically added tracks. r=roc,jesup
2015-02-06 17:38:11 +08:00
Mike Habicher
947213f3a4
Bug 1132176 - add support for '4kuhd' to Gecko, r=aosmond
2015-02-13 13:24:56 -05:00
Mike Habicher
90099684cc
Bug 1131782 - add vendor-specific feature-detection to GonkCameraParameters, r=aosmond
2015-02-12 00:04:58 -05:00
Mike Habicher
bc30425f14
Bug 1131250 - handle ISO_MODE parameter value == nullptr, r=aosmond
2015-02-09 17:26:00 -05:00
Mike Habicher
70496aa353
Bug 1121769 - push picture size to the camera driver, even in video mode, r=aosmond
2015-01-22 12:25:49 -05:00
Andreas Pehrson
e5681a1719
Bug 1124139 - Don't use mPlaybackStream for CameraPreview. r=jesup
...
From db346795ad1a0ae33e7496df893288eb1fbf7699 Mon Sep 17 00:00:00 2001
---
dom/camera/CameraPreviewMediaStream.h | 1 +
dom/html/HTMLMediaElement.cpp | 29 +++++++++++++++++------------
dom/html/HTMLMediaElement.h | 6 +++++-
dom/media/MediaStreamGraph.h | 2 ++
4 files changed, 25 insertions(+), 13 deletions(-)
2015-01-22 09:27:24 +01:00
Masatoshi Kimura
9656ec51c3
Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo
2015-01-21 22:35:19 +09:00
Carsten "Tomcat" Book
830e9e7d40
merge b2g-inbound to mozilla-central a=merge
2015-01-12 14:59:45 +01:00
Chris Peterson
9e23388ca8
Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo
2015-01-06 21:39:46 -08:00
Vincent Liu
9a52c3c7eb
Bug 1107300 - (gonk-L-Camera) [meta] Camera Android L Porting. r=Sotaro
2014-12-22 14:17:22 +08:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
1889255041
Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku
2015-01-08 08:49:54 -05:00
Alfredo Yang
833002460c
Bug 938034 - Enable gonk camera recording callback. r=roc
2014-12-18 01:00:00 -05:00
Andrew Osmond
6a9e14e1fb
Bug 1104913 - Update selection algorithms for preview, picture and video sizes to have sane defaults. r=mikeh, r=bz
2014-12-12 19:51:29 -08:00
Andrew Osmond
3842a0845a
Bug 1111752 - Initialize metering mode to correct value. r=mikeh
2014-12-15 11:53:49 -08:00