Commit Graph

17148 Commits

Author SHA1 Message Date
Ryan VanderMeulen
be66de2bb1 Backout bug 886164 for B2G regressions. 2013-09-23 21:26:05 -04:00
Rick Eyre
3e3c29b66c Bug 917945 - Part 3: Add VTTRegions to its TextTrack upon receiving them. r=rillian, r=bz 2013-09-18 12:46:51 -04:00
Rick Eyre
d6b2116792 Bug 917945 - Part 2: Add RegionId attribute to VTTCue. r=rillian 2013-09-18 13:29:20 -04:00
Rick Eyre
edb14d9640 Bug 917945 - Part 1: Expose TextTrackRegion* as VTTRegion*. r=rillian, r=bz
--HG--
rename : dom/webidl/TextTrackRegion.webidl => dom/webidl/VTTRegion.webidl
rename : dom/webidl/TextTrackRegionList.webidl => dom/webidl/VTTRegionList.webidl
2013-09-20 14:42:35 -04:00
Rick Eyre
8dc8c232d6 Bug 868611 - Implement HTMLTrackElement::UnbindFromTree. r=rillian
Update HTMLTrackElement::UnbindFromTree to remove its TextTrack from
its HTMLMediaElement's list of TextTracks.
2013-06-24 11:35:58 -04:00
Rick Eyre
df20f6e5b2 Bug 867823 - Implement TextTrack Add/RemoveCue. r=rillian
- Updated RemoveCue to throw NotFoundError if the cue being removed is
not in the cue list.
- Updated AddCue to not add cues that are already in the list. This is
done by reference comparing.
2013-06-28 13:31:43 -04:00
Ehsan Akhgari
39c223b372 Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc 2013-09-23 07:55:35 -04:00
Phil Ringnalda
2477bd452a Back out 4a9ca7d8c499 (bug 918135) for frequent OS X orange 2013-09-22 22:23:56 -07:00
Ehsan Akhgari
a2b69d5030 Bug 919296 - Minimize the #includes in netwerk/ IDL files; r=mcmanus 2013-09-22 23:35:05 -04:00
Edwin Flores
8da03980f4 Bug 918135 - Improve MP3 stream duration estimate r=cpearce 2013-09-23 14:46:01 +12:00
Ehsan Akhgari
09a6579b72 Bug 919325 - Minimize the #includes in content/ IDL files; r=bzbarsky
--HG--
extra : rebase_source : 923a665eadc62046c9d5398a25187a3331fd8d25
2013-09-22 19:23:30 -04:00
Ed Morley
0168ebef8b Backed out changeset 1f6b5cb3fe3b (bug 918567) for mochitest-3 failures in test_interfaces.html CLOSED TREE 2013-09-20 15:53:14 +01:00
ISHIKAWA, Chiaki
a476dad298 Bug 918234 - Use a proper StaticRefPtr type in Latency.cpp. r=bsmedberg, r=padenot 2013-09-20 10:28:09 -04:00
Masatoshi Kimura
00b90b0e33 Bug 918567 - Hide interface objects for MozAfterPaint from content. r=smaug 2013-09-20 22:22:41 +09:00
Ed Morley
4a3427461b Merge mozilla-central and inbound 2013-09-20 10:55:03 +01:00
Ed Morley
6648264757 Merge latest green b2g-inbound changeset and mozilla-central 2013-09-20 10:20:58 +01:00
Geoff Brown
fc8a5b44b2 Bug 917053 - Update webgl test manifest for Android x86 emulator; r=bjacob 2013-09-19 20:07:01 -06:00
Wes Kocher
a21793fc27 Backed out 2 changesets (bug 911346)
Backed out changeset 6255c31609be (bug 911346)
Backed out changeset cae77be484b9 (bug 911346)
2013-09-19 18:27:33 -07:00
Ed Morley
01d078a07c Merge mozilla-central and b2g-inbound 2013-09-19 16:28:54 +01:00
Jon Coppeard
e29ed058ae Bug 917843 - Handlify JS identifier APIs r=billm 2013-09-19 08:54:02 +01:00
Jon Coppeard
2f22e4980a Bug 917296 - GC: Handlify public regexp APIs r=billm 2013-09-19 08:54:01 +01:00
Jon Coppeard
60622be6ee Bug 918373 - GC: Handlify various public APIs r=sfink r=bholley r=smaug 2013-09-20 10:22:59 +01:00
Honza Bambas
da53acf440 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Robert O'Callahan
294cedd09d Bug 918185. When Range.getBoundingClientRect/getClientRects needs a textframe for a node, create one if the textframe was optimized away. r=bz 2013-09-19 16:23:48 +12:00
Chris Pearce
3efa9e91aa Bug 916836 - Handle jumps off the end of the buffer in MP3FrameParser. r=padenot 2013-09-19 16:10:43 +12:00
Wes Kocher
818ff844d4 Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Wes Kocher
ee41ec25e3 Backed out changeset 040522aacba4 (bug 913847) 2013-09-18 17:18:56 -07:00
Karl Tomlinson
9afb11760d b=917260 null check mDestination in AudioContext::Shutdown() r=ehsan
This handles the case where Shutdown() is called after Unlink()
(but before the destructor).

--HG--
extra : transplant_source : %97A%BE%60%F5j%F5%F0GT%C2%B6%F8%A2%BD%13%2B%02%83R
2013-09-19 12:04:13 +12:00
Paul Adenot
c94c62d6d1 Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan 2013-09-17 15:23:52 +02:00
Benoit Jacob
af97fdd40d Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Benoit Jacob
18df240efb Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Mike Hommey
7371888973 Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
JW Wang
c2ec690c06 Bug 894249 - Add ability to associate video with a channel so that it can interrupt the background content channel. r=mchen, r=kinetik, r=bent 2013-09-18 11:46:22 +08:00
Trevor Saunders
bd04a833cb bug 915566 - rm another makefile in content/ r=mshal 2013-09-12 07:14:42 -04:00
Trevor Saunders
d6c2b40c7a bug 915566 - rm Makefiles in content/ r=ted 2013-09-12 03:52:58 -04:00
Ralph Giles
ee917522f4 Bug 865256 - Part 4: Implement custom waveforms. r=ehsan,padenot
Copy the periodicWave data into a shareable buffer.

Add a SetBuffer call to send the buffer data to the
OscillatorNodeEngine. Call into blink's PeriodicWave
implementation to generate bandlimited tables bracketing
the desired frequency and interpolate the output data
from them.

Change the PeriodicWave constructor to only take one
length, since both arrays must be the same size.

Change OscillatorNode's SetType to throw INVALID_STATE
instead of NOT_IMPLEMENTED if js tries to assign
type = 'custom' directly.
2013-08-28 15:39:26 -07:00
Ralph Giles
260debb621 Bug 865256 - Part 3d: Port blink's PeriodicWave to gecko. r=ehsan
Changes to use gecko infrastructure.
2013-09-10 14:33:03 -07:00
Ralph Giles
96f4f677b2 Bug 865256 - Part 3c: Import blink's PeriodicWave. r=ehsan
From 3807300c75ae70f004b76cbce023e59a0367e09b Mon Sep 17 00:00:00 2001
This is the original code from blink svn trunk r157670 for reference.
This commit has no porting or build support, to make subsequent changes
easier to identify.
2013-09-10 14:29:51 -07:00
Ralph Giles
7d11abd2ed Bug 865256 - Part 3b: Add a complex->real ifft to FFTBlock. r=ehsan
From ea43bceaf8f6dd2c44d7f55a45f770be19b335a5 Mon Sep 17 00:00:00 2001
Currently FFTBlock only holds the complex frequency domain data
internally, reading and writing to external time domain data
buffers. For PeriodicWave we need to create a real, time domain
signal from real and imaginary frequency domain data. This method
does this without touching the internal output buffer at all.
FFTBlock is just used as a wrapper for kiss_fft_cfg.
2013-09-10 11:00:17 -07:00
Ralph Giles
99eb27b196 Bug 865256 - Part 3a: Add AudioBufferPeakValue utility. r=ehsan
From 6c057c02970c79d620527d08bc3755491c99b1d3 Mon Sep 17 00:00:00 2001
This is an equivalent, C-only implementation of blink's
VectorMath::maxmgv or Apple's vDSP_maxmgv. It finds the
maximum absolute value of the elements in a float buffer.
Used by blink's PeriodicWave implementation for normalization.
2013-09-10 10:54:17 -07:00
Paul Adenot
8281440e86 Bug 908669 - Use band-limited impulse trains (BLIT) for OscillatorNode. r=rillian
This fixes the aliasing noise in the default oscillator types.
2013-09-17 10:36:00 -07:00
Mike Hommey
153c82610c Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps 2013-09-19 07:39:58 +09:00
Andrew Quartey
5c3bb55d7c Bug 850364 - Implement setRangeText for HTMLInputElement. r=ehsan 2013-09-18 01:29:04 -04:00
Phil Ringnalda
afee847b66 Backed out changeset 505e8f8480d2 (bug 913597) for Android failure
--HG--
extra : rebase_source : d9ffe836559fb5a63d895d40b4f89324c2932216
2013-09-17 20:45:48 -07:00
Chris Pearce
499a20ae5f Bug 915957 - Move MediaDecoder::NotifyBytesConsumed() calls into MediaResource, so we don't need to remember to do them in all decoder backends. r=kinetik 2013-09-18 15:37:23 +12:00
Karl Tomlinson
24edb394d3 b=916680 don't keep active AudioNodes alive from an AudioContext that has shut down r=ehsan
--HG--
extra : transplant_source : %20%3Fl%E0%D7R%7B_%E6%B0%C7%BB%3A%E7%21%9D%F1%A2%F4%1C
2013-09-18 13:10:30 +12:00
Karl Tomlinson
7445da2394 b=910171 register tail references with the AudioContext so they can be removed when the rendering is complete r=ehsan
--HG--
extra : transplant_source : %8C%C3%C2%2B%1B%E9Q%9B%0E%DE%B4%AA%02%B2%D1%A0S%F1%EC%0D
2013-09-17 11:54:52 +12:00
Karl Tomlinson
cf1704526c b=910171 add a general means to keep active nodes alive from the AudioContext r=ehsan
AudioNodes that keep playing or tail-time references need to have these
references cleared when an AudioContext has completed or is shut down by the
window.

Storing references on the AudioContext instead of on the AudioNodes will allow
the AudioContext to report playing references to the cycle collector until
offline rendering starts for bug 914033.  This is not necessary for tail-time
references, but it is tidier to use the same code for playing and tail-time
references.

--HG--
extra : transplant_source : %E0%F1%06%BFV%B6XI%9BX%8E%8D7%3FsU%8F%F9%14r
2013-09-17 11:53:40 +12:00
Karl Tomlinson
92875436fc b=916422 make OfflineAudioContext::StartRendering() throw if called more than once r=ehsan
--HG--
extra : transplant_source : %B6T%C0C%F0/%03%A3C%25%9B%EF%A8%C41%8E%86%E9%FCr
2013-09-16 17:14:45 +12:00
Paul Adenot
debbe3e4f9 Bug 916773 - Initialize mLatency in SharedBuffer's constructor. r=ehsan 2013-09-16 17:37:26 +02:00