Commit Graph

396 Commits

Author SHA1 Message Date
Peter Van der Beken
9c3bffc341 Bug 734503 - Add new DOM binding for TouchList; r=jst. 2013-07-10 11:53:53 +02:00
Randy Lin
d2aff89854 Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc 2013-07-05 09:50:25 +08:00
Randy Lin
694cfec77c Bug 803414 - Part 0: Add RecordErrorEvent. r=smaug 2013-06-20 14:06:39 +08:00
Matthew Gregan
e9b47a9dca Bug 855130 - Implement a minimal working subset of the Media Source
Extensions specification.  r=roc
2013-06-21 15:14:42 +12:00
Matthew Gregan
79e4765b62 Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from
Media Source Extensions specification).  r=roc
2013-06-21 15:14:18 +12:00
Phil Ringnalda
caf26c910c Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
4e67cd07c7 Bug 855130 - Implement a minimal working subset of the Media Source Extensions API. r=roc
---
 content/media/mediasource/AsyncEventRunner.h       |  35 ++
 content/media/mediasource/Makefile.in              |  18 +
 content/media/mediasource/MediaSource.cpp          | 395 +++++++++++++++++++++
 content/media/mediasource/MediaSource.h            | 127 +++++++
 .../media/mediasource/MediaSourceInputAdapter.cpp  | 176 +++++++++
 .../media/mediasource/MediaSourceInputAdapter.h    |  43 +++
 content/media/mediasource/SourceBuffer.cpp         | 249 +++++++++++++
 content/media/mediasource/SourceBuffer.h           | 115 ++++++
 content/media/mediasource/SourceBufferList.cpp     | 143 ++++++++
 content/media/mediasource/SourceBufferList.h       |  79 +++++
 content/media/mediasource/moz.build                |  24 ++
 content/media/moz.build                            |   2 +
 dom/bindings/Bindings.conf                         |  13 +
 dom/dom-config.mk                                  |   1 +
 dom/webidl/MediaSource.webidl                      |  38 ++
 dom/webidl/SourceBuffer.webidl                     |  44 +++
 dom/webidl/SourceBufferList.webidl                 |  17 +
 dom/webidl/WebIDL.mk                               |   3 +
 layout/build/Makefile.in                           |   4 +
 modules/libpref/src/init/all.js                    |   3 +
 20 files changed, 1529 insertions(+)
 create mode 100644 content/media/mediasource/AsyncEventRunner.h
 create mode 100644 content/media/mediasource/Makefile.in
 create mode 100644 content/media/mediasource/MediaSource.cpp
 create mode 100644 content/media/mediasource/MediaSource.h
 create mode 100644 content/media/mediasource/MediaSourceInputAdapter.cpp
 create mode 100644 content/media/mediasource/MediaSourceInputAdapter.h
 create mode 100644 content/media/mediasource/SourceBuffer.cpp
 create mode 100644 content/media/mediasource/SourceBuffer.h
 create mode 100644 content/media/mediasource/SourceBufferList.cpp
 create mode 100644 content/media/mediasource/SourceBufferList.h
 create mode 100644 content/media/mediasource/moz.build
 create mode 100644 dom/webidl/MediaSource.webidl
 create mode 100644 dom/webidl/SourceBuffer.webidl
 create mode 100644 dom/webidl/SourceBufferList.webidl
2013-07-02 15:46:48 +12:00
Matthew Gregan
acfa080650 Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
---
 content/html/content/public/HTMLVideoElement.h |  4 ++
 content/html/content/src/HTMLVideoElement.cpp  | 27 ++++++++++
 content/media/MediaDecoder.h                   | 17 +++++++
 content/media/MediaDecoderStateMachine.cpp     |  6 ++-
 content/media/VideoPlaybackQuality.cpp         | 53 ++++++++++++++++++++
 content/media/VideoPlaybackQuality.h           | 68 ++++++++++++++++++++++++++
 content/media/moz.build                        |  2 +
 dom/base/moz.build                             |  2 +
 dom/bindings/Bindings.conf                     |  4 ++
 dom/webidl/HTMLVideoElement.webidl             |  6 +++
 dom/webidl/VideoPlaybackQuality.webidl         | 20 ++++++++
 dom/webidl/WebIDL.mk                           |  1 +
 12 files changed, 209 insertions(+), 1 deletion(-)
 create mode 100644 content/media/VideoPlaybackQuality.cpp
 create mode 100644 content/media/VideoPlaybackQuality.h
 create mode 100644 dom/webidl/VideoPlaybackQuality.webidl
2013-07-02 15:46:48 +12:00
Ms2ger
c477a69e4e Bug 886289 - Move SVGAnimatedNumber to WebIDL; r=dzbarsky 2013-07-01 09:03:04 +02:00
Ms2ger
6fa75b2d82 Bug 886270 - Move SVGAnimatedInteger to WebIDL; r=dzbarsky 2013-07-01 09:02:56 +02:00
Ms2ger
d2041977f8 Bug 886247 - Move SVGAnimatedEnumeration to WebIDL; r=dzbarsky 2013-07-01 09:02:46 +02:00
Ms2ger
ae221922f0 Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv 2013-07-01 09:02:37 +02:00
Fernando Jiménez
88023a7889 Bug 883178 - [MMI] Implement DOMMMIResult and DOMMMIError. Part 2: DOMMMIResult and DOMMMIError. r=vicamo, sr=sicking 2013-06-30 20:21:32 +08:00
Ed Morley
f647b53fd1 Backed out changeset 96036434bb78 (bug 875289) for mochitest-chrome failures on a CLOSED TREE
--HG--
rename : dom/promise/Promise.cpp => dom/future/Future.cpp
rename : dom/promise/Promise.h => dom/future/Future.h
rename : dom/promise/PromiseCallback.cpp => dom/future/FutureCallback.cpp
rename : dom/promise/PromiseCallback.h => dom/future/FutureCallback.h
rename : dom/promise/PromiseResolver.cpp => dom/future/FutureResolver.cpp
rename : dom/promise/PromiseResolver.h => dom/future/FutureResolver.h
rename : dom/promise/Makefile.in => dom/future/Makefile.in
rename : dom/promise/moz.build => dom/future/moz.build
rename : dom/promise/tests/Makefile.in => dom/future/tests/Makefile.in
rename : dom/promise/tests/moz.build => dom/future/tests/moz.build
rename : dom/promise/tests/test_promise.html => dom/future/tests/test_future.html
rename : dom/promise/tests/test_resolve.html => dom/future/tests/test_resolve.html
rename : dom/webidl/Promise.webidl => dom/webidl/Future.webidl
2013-06-20 11:20:49 +01:00
Andrea Marchesini
49cce99311 Bug 875289 - Renaming Future to Promise, r=mounir
--HG--
rename : dom/future/Makefile.in => dom/promise/Makefile.in
rename : dom/future/Future.cpp => dom/promise/Promise.cpp
rename : dom/future/Future.h => dom/promise/Promise.h
rename : dom/future/FutureCallback.cpp => dom/promise/PromiseCallback.cpp
rename : dom/future/FutureCallback.h => dom/promise/PromiseCallback.h
rename : dom/future/FutureResolver.cpp => dom/promise/PromiseResolver.cpp
rename : dom/future/FutureResolver.h => dom/promise/PromiseResolver.h
rename : dom/future/moz.build => dom/promise/moz.build
rename : dom/future/tests/Makefile.in => dom/promise/tests/Makefile.in
rename : dom/future/tests/moz.build => dom/promise/tests/moz.build
rename : dom/future/tests/test_future.html => dom/promise/tests/test_promise.html
rename : dom/future/tests/test_resolve.html => dom/promise/tests/test_resolve.html
rename : dom/webidl/Future.webidl => dom/webidl/Promise.webidl
2013-06-20 10:49:40 +02:00
Ehsan Akhgari
7ee1cc4b22 Backed out changeset c1596bee956c (bug 884279) because of build bustage
--HG--
rename : dom/promise/Promise.cpp => dom/future/Future.cpp
rename : dom/promise/Promise.h => dom/future/Future.h
rename : dom/promise/PromiseCallback.cpp => dom/future/FutureCallback.cpp
rename : dom/promise/PromiseCallback.h => dom/future/FutureCallback.h
rename : dom/promise/PromiseResolver.cpp => dom/future/FutureResolver.cpp
rename : dom/promise/PromiseResolver.h => dom/future/FutureResolver.h
rename : dom/promise/Makefile.in => dom/future/Makefile.in
rename : dom/promise/moz.build => dom/future/moz.build
rename : dom/promise/tests/Makefile.in => dom/future/tests/Makefile.in
rename : dom/promise/tests/moz.build => dom/future/tests/moz.build
rename : dom/promise/tests/test_promise.html => dom/future/tests/test_future.html
rename : dom/promise/tests/test_resolve.html => dom/future/tests/test_resolve.html
rename : dom/webidl/Promise.webidl => dom/webidl/Future.webidl
2013-06-19 21:57:57 -04:00
Andrea Marchesini
798c744099 Bug 884279 - Rename Future to Promise. r=mounir
--HG--
rename : dom/future/Makefile.in => dom/promise/Makefile.in
rename : dom/future/Future.cpp => dom/promise/Promise.cpp
rename : dom/future/Future.h => dom/promise/Promise.h
rename : dom/future/FutureCallback.cpp => dom/promise/PromiseCallback.cpp
rename : dom/future/FutureCallback.h => dom/promise/PromiseCallback.h
rename : dom/future/FutureResolver.cpp => dom/promise/PromiseResolver.cpp
rename : dom/future/FutureResolver.h => dom/promise/PromiseResolver.h
rename : dom/future/moz.build => dom/promise/moz.build
rename : dom/future/tests/Makefile.in => dom/promise/tests/Makefile.in
rename : dom/future/tests/moz.build => dom/promise/tests/moz.build
rename : dom/future/tests/test_future.html => dom/promise/tests/test_promise.html
rename : dom/future/tests/test_resolve.html => dom/promise/tests/test_resolve.html
rename : dom/webidl/Future.webidl => dom/webidl/Promise.webidl
2013-06-19 20:57:38 -04:00
Ehsan Akhgari
cdc93d6b0e Bug 865256 - Part 2: Rename WaveTable to PeriodicWave; r=roc
--HG--
rename : content/media/webaudio/WaveTable.cpp => content/media/webaudio/PeriodicWave.cpp
rename : content/media/webaudio/WaveTable.h => content/media/webaudio/PeriodicWave.h
rename : content/media/webaudio/test/test_waveTable.html => content/media/webaudio/test/test_periodicWave.html
rename : dom/webidl/WaveTable.webidl => dom/webidl/PeriodicWave.webidl
2013-06-19 18:24:26 -04:00
Andrea Marchesini
db524818c8 Bug 841442 - Move HTMLFormElement to WebIDL, r=bz 2013-06-19 10:24:37 -04:00
Olli Pettay
8aa806b551 Bug 847611 - Paris bindings for autogenerated events, r=peterv 2013-06-18 21:48:45 +03:00
Josh Matthews
9ea183ce8d Bug 865257 - Implement MediaStreamAudioDestinationNode. r=ehsan,roc 2013-05-21 15:17:47 -04:00
David Zbarsky
f4be6ba30d Bug 882553 - Convert SVGAnimatedString to WebIDL r=Ms2ger 2013-06-14 15:37:27 -07:00
Andrea Marchesini
ae4a9745f2 Bug 856410 - Implement futures - Part 1: Constructor, webidl, Done(). r=mounir, r=bz 2013-06-11 21:41:21 -04:00
Ms2ger
a7a92b0b4d Bug 875784 - Move MozTimeManager to WebIDL; r=smaug 2013-06-12 09:00:07 +02:00
Ms2ger
d3104d4964 Bug 860731 - Part b: Use FileMode for LockedFile; r=janv 2013-06-12 09:00:06 +02:00
Ehsan Akhgari
1922757878 Bug 815643 - Part 1: Implement the DOM bindings for ConvolverNode; r=roc
--HG--
extra : rebase_source : 9f6853dcaeeac1f36aa8c2ee90991a7f0ea0b145
2013-06-10 16:07:55 -04:00
Trevor Saunders
aed9eba249 bug 870678 - convert CameraManager to webidl r=bz 2013-05-10 02:25:25 -04:00
Alfredo Yang
f3f1eae58a Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug 2013-06-05 08:02:51 -04:00
Andrea Marchesini
1ead46dece Bug 858524 - Move BarProp objects to Paris bindings, r=ms2ger, r=smaug 2013-06-01 01:53:00 -07:00
Ms2ger
cf00d18df0 Bug 876240 - Move OfflineResourceList to WebIDL; r=mounir 2013-06-01 08:53:44 +02:00
Ehsan Akhgari
113a464d54 Bug 865256 - Part 1: Implement the DOM bindings for WaveTable; r=roc 2013-05-28 07:19:07 -04:00
Masatoshi Kimura
a34e1a3602 Bug 875155 - Convert TimeEvent to WebIDL. r=smaug 2013-05-25 07:55:19 +09:00
Ralph Giles
d98efa09c2 Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.

Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.

HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.

This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00
Ms2ger
0ed0441e1e Bug 868778 - Part c: Move DataChannel to WebIDL; r=mounir+jesup
--HG--
rename : content/base/public/nsIDOMDataChannel.idl => dom/webidl/DataChannel.webidl
2013-05-20 09:19:45 +02:00
Masatoshi Kimura
3d63807062 Bug 871786 - Separate D2E KeyEvent constants and a method from KeyboardEvent. r=smaug, bz
--HG--
rename : dom/webidl/KeyboardEvent.webidl => dom/webidl/KeyEvent.webidl
2013-05-19 10:28:47 +09:00
Andrea Marchesini
38fc5d8909 Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz 2013-05-18 13:52:06 -04:00
Boris Zbarsky
fd290b314c Bug 868312 finale: finish rooting dom/ code. r=smaug 2013-05-17 21:48:25 -04:00
Jan-Ivar Bruaroey
e4c19f91c8 Bug 823512: Part 2: Update PeerConnection to spec. states + DataChannel. r=bz,rjesup,ekr 2013-05-16 19:40:23 -04:00
Jan-Ivar Bruaroey
724cdbf7ac Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup 2013-05-07 20:55:21 -04:00
Ehsan Akhgari
e7318c89ad Bug 836599 - Part 9: Implement the DOM binding for OfflineAudioContext; r=roc 2013-05-16 19:30:41 -04:00
Olli Pettay
78ef891bef Bug 847594 - Paris binding for DataContainerEvent, r=peterv
--HG--
extra : rebase_source : ff4ad6b1b5a582c6e1b973fd1729aa2c6f7db314
2013-05-16 17:10:30 +03:00
Ehsan Akhgari
bee3aa1c74 Bug 865251 - Implement WaveShaperNode; r=roc 2013-05-14 00:12:30 -04:00
Masatoshi Kimura
ed60194c16 Bug 871153 - Rename KeyEvent back to KeyboardEvent. r=smaug
--HG--
rename : dom/webidl/KeyEvent.webidl => dom/webidl/KeyboardEvent.webidl
2013-05-12 14:08:37 +09:00
Andrea Marchesini
37066de808 Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger 2013-05-09 13:42:12 -04:00
Peter Van der Beken
fbaa0eb3d2 Bug 868929 - Convert ImageDocument to WebIDL, switch to WebIDL. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 18af4f816c456e9a642f12b504651b19765141dc
2013-05-06 15:42:00 +02:00
Olli Pettay
377adbe5c6 Bug 868232 - Paris binding for MozStkCommandEvent, r=peterv
--HG--
extra : rebase_source : 4a79aa44707f9dd0b0eb68611e13702f1bdb838e
2013-05-07 15:46:07 +03:00
Ehsan Akhgari
46cad293b8 Bug 865248 - Implement ChannelMergerNode; r=roc
--HG--
rename : content/media/webaudio/ChannelSplitterNode.h => content/media/webaudio/ChannelMergerNode.h
2013-05-05 11:49:37 -04:00
Ehsan Akhgari
5b8b3eb487 Bug 865247 - Part 4: Implement ChannelSplitterNode; r=roc 2013-05-05 11:49:13 -04:00
Olli Pettay
07409694c9 Bug 847597 - Paris binding for NotifyAudioAvailableEvent, r=peterv
--HG--
extra : rebase_source : 2fb578e3f0c7a60f95f3a2f13634f9b4c887d95f
2013-05-02 20:11:12 +03:00
Andrea Marchesini
33c5f8cd73 Bug 866679 - Convert DOMSVGZoomEvent to WebIDL. r=Ms2ger 2013-04-30 13:43:25 -04:00