Emilio Cobos Álvarez
3602c50091
Bug 866513 - Non-empty MediaStreamTrack labels. r=jib
2016-01-16 13:39:00 +01:00
Alastor Wu
fbea0f8cc4
Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
2015-12-24 17:17:30 +08:00
Sebastian Hengst
80da64a12f
Backed out changesets 961f205d340d, 14a4637e9d96 and 14a4637e9d96 (bug 1228564) for failing Android M(4) test_browserElement_inproc_AudioChannel.html. r=backout
2015-12-27 22:28:08 +01:00
Alastor Wu
eb69386b37
Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
2015-12-24 17:17:30 +08:00
Boris Zbarsky
11cee47d40
Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv
2015-11-20 16:29:41 -05:00
Andreas Pehrson
49325f31fc
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.
2015-10-22 12:36:23 +08:00
Nathan Froyd
4e6d8f6705
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
2015-10-18 01:24:48 -04:00
Andrea Marchesini
a2dadd1e73
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
9261227d49
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.
2015-09-30 09:31:54 +08:00
Wes Kocher
954ce67cb5
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
4132b4532f
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.
2015-09-25 23:23:18 +08:00
Andrew Osmond
26fdcf284c
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
Andrew Osmond
a4032d4af6
Bug 1187364 - Part 1. Add ability for camera to pause/resume recording. r=dhylands,bz
2015-08-17 15:20:28 -04:00
Ehsan Akhgari
3b3c24f689
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
Andrea Marchesini
c43ef9a8a0
Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu
2015-07-11 08:24:26 +01:00
Andrea Marchesini
db97457570
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
4d84eb2be5
Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
cf487e58dc
Backed out changeset 41195fb9f293 (bug 1177259)
2015-07-11 14:13:27 +02:00
Andrea Marchesini
887d50d82f
Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu
2015-07-11 08:24:26 +01:00
Andrea Marchesini
567d09c01f
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 21:08:43 -04:00
Xidorn Quan
a5cfa673a9
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)
2015-07-11 10:55:59 +10:00
Andrea Marchesini
0294bacd27
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 17:38:44 +01:00
Andrew Osmond
ab05e12d58
Bug 1175656 - Implement generation of recording posters in Gecko. r=dhylands,bz
2015-06-16 20:35:00 -04:00
Andrew Osmond
9ab4194427
Bug 1152500 - Fix how stop recording may be handled out-of-order. r=dhylands
2015-06-12 18:51:38 -04:00
Ryan VanderMeulen
889a1d90cd
Merge inbound to m-c. a=merge
2015-05-29 09:32:46 -04:00
Andrew Osmond
10b649f61b
Bug 1169342 - Remove nsIDOMDeviceStorage. Cleanup nsDOMDeviceStorage event wrappers. r=dhylands
2015-05-28 18:53:16 -04:00
Birunthan Mohanathas
956e8c7eca
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
df18f9f837
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj
2015-05-18 13:50:34 -07:00
Andrea Marchesini
a8f15ce969
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Wes Kocher
040b8fe0e4
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
5d622f89aa
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
95df0286b8
Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
...
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
2ffeefc77a
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 15:20:06 +01:00
Andrew Osmond
85ce8f9af3
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
Andrew Osmond
88c97762ea
Bug 1144211 - Improve code coverage of camera mochitests. r=mikeh
2015-03-17 13:01:24 -04:00
Andrew Osmond
71d9ddba38
Bug 1139721 - Fix camera memory leaks for onfacedetected events, failed initializations and capabilities. r=mikeh
2015-04-17 07:09:54 -04:00
Boris Zbarsky
3a822d99b4
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
Becker Hsieh
f4c2e51fc6
Bug 1121855 - Fix camera crash. r=aosmond
2015-03-12 20:29:00 -04:00
Andreas Pehrson
d79534d523
Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup
2015-02-09 15:23:34 +08:00
Andrew Osmond
bd9b77fe93
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
Mike Habicher
4907fda5df
Bug 1052821 - expose exposure metering modes to JS, r=aosmond,bz
2014-12-12 21:42:13 -05:00
Mike Habicher
97b70b48e2
Bug 1104055 - fix CameraControl memory leak, r=aosmond
2014-12-12 21:18:03 -05:00
Mike Habicher
0ba8df48bf
Bug 1107683 - remove method callbacks from CameraControl, r=aosmond,bz
2014-12-11 11:02:51 -05:00
Andrew Osmond
5ef05c76e7
Bug 1102986 - Update camera preview media stream with platform media stream expectations. r=roc
2014-11-21 09:34:00 -05:00
Mike Habicher
185364751c
Bug 1099390 - add reason to onClosed event, r=aosmond,bz
2014-11-25 14:45:00 -05:00
Mike Habicher
ee22e3167b
Bug 1079543 - handle camera hardware busy when prelaunching, r=aosmond
2014-11-12 13:54:48 -05:00
Mike Habicher
629c5dc56e
Bug 1090501 - Properly handle no initial camera configuration. r=aosmond
2014-11-06 11:40:00 -05:00
Fabrice Desre
cd89c4ed65
Bug 1090501 - pre-emptively open the camera hardware for certified apps with 'camera' permission, r=fabrice
2014-10-31 13:54:02 -04:00
Mike Habicher
c36e852e8e
Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz
2014-10-31 13:19:06 -04:00
Ryan VanderMeulen
5fa5d63571
Backed out changeset 3fde6fc99b0a (bug 1020368) for non-unified bustage.
2014-10-31 18:51:23 -04:00