Commit Graph

10221 Commits

Author SHA1 Message Date
L. David Baron
f5573cbd2e Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky 2012-05-30 22:19:49 -07:00
Ralph Giles
1945df87b2 Bug 758833 - Track and trim opus preskip samples - r=doublec
We trim the initial few samples out of the opus decoder,
to give the output time to converge, and to correct for
the encoding delay. Encoders store the delay in the preskip
field of the Ogg encapsulation header.

The previous code to do this was a hack based on the granulepos
values and could fail on some inputs. Instead, keep a count
of how many samples we want to trip, and remove packet data
until that value matches the preskip value from the header.

The value is set to the preskip value from the header when
the decoder is initialized. We also need to do this after
seek. To do this we add a specialized nsOggReader::ResetDecode
method which takes a boolean argument, set to true when
we are seeking to the start of the stream. In that case,
the method resets the skip count.

There is still an issue after general seeks. The spec recommends
trimming a full 80 ms (3840 frames) to allow the decoder to fully
settle from the previous state. It's tricky to do this inside
nsOpusState because it doesn't know where it is in the stream.

Also add some debug output to track the decode behaviour.
2012-05-31 16:03:14 +12:00
Abhishek Bhatnagar
9d5a0d7a05 Bug 500784 - Video/Audio files over 2^31 bytes now return proper durations; r=cpearce
--HG--
extra : rebase_source : 219872db85890a3358456dde226a29595e738f1b
2012-05-31 14:33:15 +12:00
Chris Double
8aee98e28b Bug 758481 - When seeking in an unbuffered range after having ended a media, networkState is NETWORK_IDLE r=chris.double
--HG--
extra : rebase_source : e62887187ed20ad6e832bd0211c50392759bb321
2012-05-31 14:30:23 +12:00
Jeff Gilbert
17d345849f Bug 750527 - Rebind program if current program is relinked - r=bjacob 2012-05-30 17:00:38 -07:00
Jeff Gilbert
41e9d93854 Bug 746740 - GetProgramInfoLog should return null on GL error - r=bjacob 2012-05-30 16:05:37 -07:00
Jason Orendorff
d0e13c7d3f Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo. 2012-05-30 15:05:59 -05:00
Jason Orendorff
a03f10d77d Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo. 2012-05-30 15:05:58 -05:00
Shriram Kunchanapalli
3216ac51ce Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Ed Morley
8f3214576b Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Boris Zbarsky
4da2b3d7c1 Bug 743906 part 2. Use Optional<> for optional arguments that don't have default values. r=peterv 2012-05-29 23:45:18 -04:00
Benoit Jacob
5393812760 Bug 759178 - WebGL extension strings should be case-insensitive - r=jgilbert 2012-05-30 08:30:32 -04:00
Benoit Jacob
3499d12a20 Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert 2012-05-29 14:44:31 -04:00
Benoit Jacob
aef31b1e2d back out 90292e7ec6fb for mochitest-1 orange 2012-05-29 16:33:29 -04:00
Benoit Jacob
9c5bbde02b Bug 758404 - Use LinkedList instead of arrays for WebGLContext to track WebGL objects - r=jgilbert 2012-05-29 14:44:31 -04:00
Benoit Jacob
3acd5b0163 Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert 2012-05-29 14:44:31 -04:00
Robert O'Callahan
30d91531c8 Bug 757262. Try bailing out of plugin instantiation if we're in an inactive document. r=josh 2012-05-30 01:13:36 +12:00
Robert O'Callahan
6e8c450277 Bug 758583. Must acquire SourceMediaStream lock before MediaStreamGraph lock. r=jesup 2012-05-29 21:10:45 +12:00
Ed Morley
6468ecd193 Merge mozilla-central to mozilla-inbound 2012-05-28 14:15:52 +01:00
Ed Morley
4f5e842e4d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-28 14:13:56 +01:00
Robert O'Callahan
4e46ae0fef Bug 752796. Ensure that stream-finished notifications aren't accidentally dropped. r=jesup 2012-05-28 23:58:34 +12:00
Olli Pettay
21a0239f65 Bug 758401 - Add a way to get message manager from docshell, r=jst 2012-05-28 12:27:25 +03:00
Alexander Surkov
7104229b2b Bug 757757 - Add dexpcomed version of GetAnonymousElementByAttribute, r=tbsaunde, bz 2012-05-28 13:52:53 +09:00
Kyle Huey
22022a0f39 Merge m-c to b-s. 2012-05-26 14:22:26 -07:00
Takanori MATSUURA
5c9f3f4809 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Mats Palmgren
24ade09d2a Bug 719117 - Use down-cast instead of separate member with correct type. r=roc 2012-05-26 02:43:44 +02:00
Mats Palmgren
c941bd0537 Bug 719117 - Fix bug 724781 by preventing reentry to DoStopPlugin with a flag. part 2/2, r=bsmedberg 2012-05-26 00:34:11 +02:00
Mats Palmgren
51d26059a3 Bug 719117 - Backout bug 724781. part 1/2, r=bsmedberg 2012-05-26 00:34:11 +02:00
Kyle Huey
8aee605205 Bug 757284: Restore Blob.mozSlice, with a deprecation warning. r=sicking 2012-05-25 11:44:38 -07:00
Ms2ger
2d6f04146c Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
e4489d38a1 Bug 756066 - Make StorageEventInit.key nullable; r=mayhemer 2012-05-25 09:18:31 +02:00
Ms2ger
52d75b2704 Bug 756896 - Don't include xpcprivate.h in FileIOObject.cpp; r=khuey 2012-05-25 09:18:31 +02:00
Ms2ger
3354692bab Bug 757365 - Don't use uint8 in DocumentRenderer{Parent,Child}.cpp; r=bjacob 2012-05-25 09:18:30 +02:00
Boris Zbarsky
86da6f4a01 Bug 755636 part 1. Convert sequence argument codegen to dom::Sequence. r=peterv 2012-05-25 01:08:22 -04:00
Boris Zbarsky
8f33a1bf10 Bug 749864. Codegen for typed array and arraybuffer arguments. r=peterv 2012-05-25 01:07:03 -04:00
Bobby Holley
0639533b11 Bug 758563 - Warn when __exposedProps__ is missing. r=bz 2012-05-25 18:42:40 +02:00
Robert Longson
1475a263b1 Bug 756988 - Mark some animation feature strings as supported. r=jwatt 2012-05-25 14:45:53 +01:00
Ed Morley
cd9f362b03 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-24 15:48:20 +01:00
Olli Pettay
d92eb17245 Bug 757700, make sure attr modification type is set, r=sicking
--HG--
extra : rebase_source : ed2b2cc803cbd494b33a4e343efee9bd76f7e54a
2012-05-24 13:31:35 +03:00
Alexander Surkov
05d6b0b663 Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde 2012-05-24 15:57:16 +09:00
Ryan VanderMeulen
88e2886376 Backout 8cf563a575fd (bug 734015) due to random Moth orange. 2012-05-23 19:27:40 -04:00
Olli Pettay
aae9ef2d6f Bug 734015 - Try to slow down parsing of web pages in background tabs, r=hsivonen 2012-05-23 15:55:13 +03:00
Olli Pettay
3a99713780 Bug 749920 - Unprefix MozMutationObserver and add a warning about use of mutation events, r=sicking 2012-05-23 13:45:14 +03:00
Aryeh Gregor
99f1ec466e Bug 748310 - Return false for invalid createLink/insertImage values instead of throwing; r=ehsan 2012-05-22 12:37:17 +03:00
Aryeh Gregor
626faeaf0f Bug 748307 part 5 - Support insertText, forwardDelete, insertParagraph per spec; r=ehsan 2012-05-22 12:37:17 +03:00
Aryeh Gregor
a0dadddb60 Bug 748307 part 4 - Clean up ExecCommand and QueryCommand*; r=ehsan 2012-05-22 12:37:17 +03:00
Jeff Walden
b7bb2a4019 Bug 757562 - Remove JSRESOLVE_CLASSNAME. r=dmandelin
--HG--
extra : rebase_source : 9b5a920f7c7441ee21b2dd2331a98fc70b42ed41
2012-05-21 18:08:11 -07:00
Doug Turner
f4e1e809f4 Bug 717103 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Alexander Surkov
1ea076a4d7 Bug 756383 - make nsHTMLAnchorElement::IsHTMLFocusable faster, r=bz 2012-05-23 12:03:32 +09:00