Commit Graph

15494 Commits

Author SHA1 Message Date
Ed Morley
5b8c1b2eec Merge mozilla-central and inbound 2013-06-12 08:41:06 +01:00
Ms2ger
82529cea9a Bug 881822 - Don't double-refcount HTMLBodyElement::mContentStyleRule; r=bholley 2013-06-12 09:00:09 +02:00
Ms2ger
5c6989f531 Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz 2013-06-12 09:00:09 +02:00
Ms2ger
5855c26d0d Bug 880694 - Improve HTMLSelectElement::IsCombobox and use it in nsCSSFrameConstructor; r=bz 2013-06-12 09:00:08 +02:00
Ms2ger
96c3eb60de Bug 879739 - Use CSSIntRect for nsGenericHTMLElement::GetOffsetRect; r=kats 2013-06-12 09:00:08 +02:00
Ms2ger
6d05931999 Bug 854231 - Remove Element::GetOffsetRect; r=jst 2013-06-12 09:00:08 +02:00
Ms2ger
cec83706d9 Bug 878874 - Introduce CSSIntPoint and use it for HTMLImageElement::GetXY(); r=kats 2013-06-12 09:00:08 +02:00
Ms2ger
7197362709 Bug 877277 - Move the document.all getter into WebIDL; r=smaug 2013-06-12 08:55:00 +02:00
Ms2ger
d562528531 Bug 718923 - Support document.all in standards mode and remove the pref to turn it off; r=smaug 2013-06-12 08:48:38 +02:00
Ryan VanderMeulen
8ac6e127df Merge m-c to inbound. 2013-06-11 21:03:14 -04:00
Andrea Marchesini
e97277076f Bug 880042 - file[multiple] form field nsIFilePicker crash if overriding component has not implemented a domfiles getter. r=smaug 2013-06-11 15:09:49 -04:00
Ehsan Akhgari
4a563226cb Backed out changeset 149475141471 (bug 877626) for apparently breaking mochitest-4 on Linux
Landed on a CLOSED TREE
2013-06-11 19:23:37 -04:00
Ryan VanderMeulen
b92b8576d4 Backed out changeset 9c6f5f334a15 (bug 880042) for mochitest-4 failures. 2013-06-11 17:23:00 -04:00
Andrea Marchesini
9862c39de7 Bug 880042 - file[multiple] form field nsIFilePicker crash if overriding component has not implemented a domfiles getter. r=smaug 2013-06-11 15:09:49 -04:00
Martin Stransky
b9da383027 Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt 2013-06-11 15:09:29 -04:00
Ralph Giles
d09bd7d346 Bug 879924 - Don't shorten zero-length strings. r=derf
We were trying to strip the optional null terminator
even when we knew there wasn't one there.
2013-06-10 17:10:09 -07:00
Ed Morley
dbe9ed7b72 Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266 2013-06-11 16:11:14 +01:00
Peter Chang
fcb189d8ac Bug 881169 - Fix SharedSurface_Gralloc::Create crash due to null allocator. r=vlad
When skiaGL enabled, pass ISurfaceAllocator to gralloc backend for gl streaming
2013-06-11 08:21:48 -04:00
Shelly Lin
a74163f5c9 Bug 842243 - Part 5: Add MediaEncoder.h/.cpp; The main part of this media encoding framework. r=roc 2013-06-05 14:29:12 +08:00
Ehsan Akhgari
b054aad964 Bug 881775 - Set the correct channel count in DownmixAndInterleave, and avoid unnecessary downmixing; r=roc 2013-06-11 17:50:21 -04:00
David Zbarsky
4bf6b2ab92 Bug 881128 - Remove nsIDOMGetSVGDocument r=bz 2013-06-11 21:56:26 -07:00
Cameron McCormack
9da62b7959 Bug 880925 - Flush layout when caretPositionFromPoint is called. r=bz 2013-06-12 13:20:19 +10:00
Caitlin Potter
a8991d3096 Bug 881475 - Drop cues with malformed timestamps. r=rillian
The parsing specification requires the UA to drop
cues containing malformed cue-times.
(http://dev.w3.org/html5/webvtt/#dfn-collect-a-webvtt-timestamp)

The OnReportError callback has been modified to notify the parser
that we need need to drop such cues which are deemed 'malformed'
according to the timestamp parsing rules.
2013-06-10 21:10:30 -04:00
Shelly Lin
4bf91dee64 Bug 842243 - Part 4: Add OpusEncoder.h/.cpp; Implementation of Opus encoder. r=roc, r=tterribe 2013-05-17 19:18:08 +08:00
Shelly Lin
3f21594251 Bug 842243 - Part 3: Add TrackEncoder.h/.cpp; Base class for audio/video track encoder. r=roc 2013-05-17 19:16:36 +08:00
Shelly Lin
8a857740e9 Bug 842243 - Part 2: Add OggWriter.h/.cpp; Implementation of Ogg container. r=roc, r=tterribe 2013-05-17 19:13:01 +08:00
Shelly Lin
aabf484ff1 Bug 842243 - Part 1: Add ContainerWriter.h; Base class of media container writer. r=roc 2013-05-17 18:50:58 +08:00
Shelly Lin
5bc51793ee Bug 842243 - Part 0: Modify MediaSegment and AudioSegment for use by MediaEncoder. r=roc 2013-06-03 17:59:50 +08:00
Phil Ringnalda
2d5d041bc3 Back out efdf2d801664 (bug 881128) for disregarding the DANGER of not dealing with test_interfaces.html 2013-06-10 19:26:45 -07:00
Edwin Flores
1a9df949b5 Bug 876305 - Pass the media mimetype on to the gstreamer backend r=alessandro.d 2013-06-11 14:13:10 +12:00
Edwin Flores
72fbb7c75d Bug 876305 - Cap the max number of audio buffers gstreamer can use r=alessandro.d 2013-06-11 14:13:10 +12:00
Edwin Flores
2541976024 Bug 874305 - Support older versions of gstreamer r=alessandro.d 2013-06-11 14:13:09 +12:00
Edwin Flores
d7bc68c284 Bug 879995 - Fix assertion failure in gstreamer backend with fragmented mp4 videos r=alessandro.d 2013-06-11 14:13:09 +12:00
Edwin Flores
fa70337842 Bug 859199 - Load GStreamer libraries at runtime r=doublec 2013-06-11 14:13:09 +12:00
Edwin Flores
cb08a1d304 Bug 878363 - Silence pragma warnings from gstreamer libraries r=ted 2013-06-11 14:13:09 +12:00
Chris Pearce
2b70112a5c Bug 880006 - Make WMF video backend call MediaDecoder::NotifyBytesConsumed() like it's supposed to. r=padenot 2013-06-11 12:53:26 +12:00
David Zbarsky
01faca23df Bug 881128 - Remove nsIDOMGetSVGDocument r=bz 2013-06-10 17:50:42 -07:00
Ehsan Akhgari
86a61bfcd9 Bug 815643 - Part 9: Port Blink's LayoutTest for ConvolverNode to mochitest-plain; r=roc
--HG--
extra : rebase_source : b829991957f0349a6c2541fcc99d4214e701a2ae
2013-06-10 16:10:07 -04:00
Ehsan Akhgari
0342e8ccf4 Bug 815643 - Part 8: Import convolution tests from Blink; r=roc
Imported from Blink SVN revision 150518

--HG--
extra : rebase_source : c50aeed5d0fceaa9112cd9e791ec7acd9904fd84
2013-06-10 16:09:53 -04:00
Ehsan Akhgari
b13562cec7 Bug 815643 - Part 7: Add a basic API test for ConvolverNode; r=roc
--HG--
extra : rebase_source : be90de45e240fec45875a65235104d2d92716a14
2013-06-10 16:09:38 -04:00
Ehsan Akhgari
a55f314420 Bug 815643 - Part 6: Optimize FFTBlock to avoid recreating kiss_fftr_cfg objects all the time; r=roc
Setting up the FFT tables turns out to be quite expensive because of the
large number of calls to sin() and cos().

In the future we may want to look into having a global cache of FFT
tables per size, in order to pay the cost of setting each one of them up
only once.

--HG--
extra : rebase_source : 871d11e7f74db9e3e6c704da9518d40cba3deb8a
2013-06-10 16:09:25 -04:00
Ehsan Akhgari
af95a1d60d Bug 815643 - Part 5: Implement ConvolverNode's processing based on the Blink implementation; r=roc
--HG--
extra : rebase_source : 4c1a8dbaa4ab2d4fcc67c0a5226a6937e0656404
2013-06-10 16:09:12 -04:00
Ehsan Akhgari
5c7839318c Bug 815643 - Part 4: Add the Convolution processing implementation to the build system; r=roc
--HG--
extra : rebase_source : 2a5aa609334c67bb9b09090d9f681c5c3a940c5c
2013-06-10 16:09:01 -04:00
Ehsan Akhgari
e6e01928fc Bug 815643 - Part 3: Import the Convolution processing implementation from Blink; r=roc
The original code was copied from Blink SVN revision 150518.

--HG--
extra : rebase_source : 1fbc3cc7f7325bdd8806d7ef30a5c882b505debf
2013-06-10 16:08:38 -04:00
Ehsan Akhgari
8353ddad3c Bug 815643 - Part 2: Refactor our Web Audio FFT code into the FFTBlock class; r=roc
This is useful in order for us to be able to borrow code from Blink with
fewer changes, and also to explore faster platform dependent FFT
implementations in the future if needed.

--HG--
extra : rebase_source : 34bbded736e1b385754756513c59ee27ce7552a5
2013-06-10 16:08:21 -04: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
Masatoshi Kimura
043ca816ee Bug 881252 - Warn use of getUserData() or setUserData(). r=bz 2013-06-11 07:41:42 +09:00
Guillaume Abadie
b86d0dd632 Bug 879954 - Implement OES_texture_float_linear - r=bjacob 2013-06-10 16:00:52 -04:00
Guillaume Abadie
a62ee32185 Bug 879952 - OES_texture_float should not allow linear filtering - r=bjacob 2013-06-10 16:00:46 -04:00
Guillaume Abadie
af723a2ae6 bug 879802 - Clean up the #includes in the WebGL implementation - r=bjacob 2013-06-10 16:00:35 -04:00
Rick Eyre
73e8300de5 Bug 833382 - Implement WebVTTLoadListener r=cpearce,bz
- Implemented WebVTTLoadListener to manage the webvtt parser.
- TextTrackCue now handles the conversion of webvtt nodes to
  anonymous content which will be displayed on the video div
  overlay.
- HTMLTrackElement manages the lifetime of the WebVTTLoadListener.
2013-06-10 08:30:00 -07:00
Paul Adenot
633030a223 Bug 865244 - Test for AudioContext.destination.maxChannelCount. r=ehsan 2013-06-10 19:32:28 +02:00
Paul Adenot
7bd9ae8ec4 Bug 865244 - Implement AudioContext.destination.maxChannelCount. r=ehsan 2013-06-10 19:32:28 +02:00
Paul Adenot
4042de8a8d Bug 865244 - Expose the maximum channel count in the AudioStream. r=kinetik 2013-06-10 19:32:28 +02:00
Rick Eyre
a3ed8d4819 Bug 875169 - Fix crash when loading an HTMLTrackElement. r=bz
Previously we had been trying to load a DOMString that already has
a string buffer by using the DOMString::&operator. This causes a
MOZ_ASSERT error in DOMString. Solution is to add function overloads
to HTMLTrackElement's getters that just use nsString in the first place.
2013-05-23 19:57:00 -07:00
Mike Habicher
a4ff9b75f8 Bug 879478 - fix regressions when starting camera (crash and de-virtualized functions -- see also bug 880780), r=roc 2013-06-10 15:01:19 -04:00
Sotaro Ikeda
fb0816d02d Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Kyle Huey
fa511cb934 Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-09 16:02:02 -07:00
Ivaylo Dimitrov
90b6f694ef Bug 880029 - gstreamer - high CPU usage after patch for Bug 856562 landed. r=alessandro.d 2013-06-08 20:53:10 +01:00
Sankha Narayan Guria
2bfc77e0ce Bug 880265 - Remove AudioBufferSourceNode.gain; r=ehsan 2013-06-08 00:55:04 +05:30
Jon Coppeard
d99e2a4f5c Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug 2013-06-08 09:54:59 +01:00
Boris Zbarsky
6a7b47964f Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code.  If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}.  Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.

We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions.  With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Trevor Saunders
b2546f7648 bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
David Zbarsky
bdf2a2f2ed [Bug 879998] Remove some dead code in content/ r=Ms2ger, emk 2013-06-07 14:05:57 -07:00
David Zbarsky
ca3ddd10cc Bug 880037: Don't try to mark message managers when we're not in the root process r=jlebar 2013-06-07 14:05:36 -07:00
David Zbarsky
936b80da0d Bug 879998 - Remove some dead code in content/events r=smaug 2013-06-07 11:42:13 -07:00
David Zbarsky
b52e2a3f6a Bug 798438 - Use a dictionary to set context options instead of an nsIPropertyBag r=bz 2013-06-07 11:42:12 -07:00
Paul Adenot
58b0235609 Bug 878875 - Port Blink's LayoutTest for PannerNode to mochitest-plain. r=ehsan 2013-06-07 20:06:40 +02:00
Paul Adenot
9b4fefabf4 Bug 878875 - Import PannerNode tests from Blink. r=ehsan
Imported from Blink SVN revision 152035
2013-06-07 20:06:40 +02:00
Ehsan Akhgari
69dd040cef Test case for bug 880724 2013-06-07 13:22:40 -04:00
Ehsan Akhgari
b0f5abb2d1 Test case for bug 880404 2013-06-07 11:29:25 -04:00
Ehsan Akhgari
021d3cb4b8 Test case for bug 880384
--HG--
extra : rebase_source : a77b7f0c32555d645c1903164e0a7740ac61ca19
2013-06-07 11:22:46 -04:00
Ehsan Akhgari
0260d850c7 Test case for bug 880342 2013-06-07 11:14:51 -04:00
Ryan VanderMeulen
f5c3e7c7b7 Merge inbound to m-c. 2013-06-07 11:10:54 -04:00
Ehsan Akhgari
1391c0772c Bug 880129 - Correctly handle AnalyserNodes with a buffer size smaller than 128; r=roc 2013-06-07 07:33:00 -04:00
Ryan VanderMeulen
24f3657c0a Merge m-c to fx-team. 2013-06-06 15:21:01 -04:00
Tim Taubert
0b02403a61 Bug 878747 - part 1 - implement 'nodefaultsrc' attribute for XUL frames; r=smaug 2013-06-06 21:05:21 +02:00
James Willcox
91c353d366 Bug 848482 - Make SourceSurface work with SkiaGL r=mattwoodrow
--HG--
extra : rebase_source : ef4a315401edfad5e574ffd387c9951b12f1e9d7
2013-06-06 10:58:45 -04:00
Andrea Marchesini
74860e8fe9 Bug 857116 - Remove nsIDOMHTMLCommandElement; r=Ms2ger 2013-06-06 15:57:26 +02:00
Ed Morley
c55145e3be Merge mozilla-central and inbound 2013-06-06 10:46:45 +01:00
Ed Morley
ba374cc04b Merge latest green birch changeset and mozilla-central 2013-06-06 10:44:11 +01:00
Michael Wu
a6e67842ea Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam 2013-06-05 22:42:02 -04:00
David Bolter
db7f4014bd Bug 577727 - Make pinned tabs distinguishable from other tabs for accessibility. r=marcoz 2013-06-05 17:03:52 +02:00
Vladimir Vukicevic
903320a647 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Peter Van der Beken
5eba9021ed Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Peter Van der Beken
f4faf57e53 Bug 877654 - Remove thisptr offset tables - Replace HTML element QI map end macro with generic macros. r=Ms2ger.
--HG--
extra : rebase_source : 1a425102a6d183814e4afbb16ee3416e138567ff
2013-05-21 15:38:33 +02:00
Peter Van der Beken
e7eb39bee5 Bug 877654 - Remove thisptr offset tables - Replace HTML element table to map segue macros with generic macros. r=Ms2ger.
--HG--
extra : rebase_source : 9acc316cbf68bc841f6751603aa512138e2f6de6
2013-05-21 15:38:15 +02:00
Peter Van der Beken
d8f14564ed Bug 877654 - Remove thisptr offset tables - Replace HTML element offset table macros with generic QI macros. r=Ms2ger.
--HG--
extra : rebase_source : a90cbb2d5b25c6e8dee96d206dd6e4951d2b3cab
2013-05-21 15:07:38 +02:00
Peter Van der Beken
9512f5d3d4 Bug 877654 - Remove thisptr offset tables - Refactor HTML element QI macros. r=Ms2ger.
--HG--
extra : rebase_source : a4e166501aaf35617f369648155b566b6bac5761
2013-05-21 13:55:29 +02:00
Phil Ringnalda
d22d45ebed Back out 1ba9dc37c2ef:c6bc2193a72b (bug 877461) for b2g build bustage
CLOSED TREE
2013-06-05 23:38:04 -07:00
Robert O'Callahan
ad4b16ef20 Bug 877461. Part 3: Retry libstagefright audio/video decoding if it fails due to a timeout. r=sotaro 2013-06-06 11:43:43 +12:00
Robert O'Callahan
e2d82f6a04 Bug 877461. Part 2: Initialize VideoFrame members to 0. r=doublec 2013-06-06 10:48:25 +12:00
Robert O'Callahan
96f749ac49 Fix build bustage for bug 877461 2013-06-07 20:16:17 +12:00
Robert O'Callahan
ee22922f7e Bug 865537. Part 2: The Range used to track the source element pointer for a media element should not gravitate outside the media element. r=cpearce
--HG--
extra : rebase_source : 6d4d5de2f0841fe602821013f0a33bb035d1cb76
2013-06-07 16:26:55 +12:00
Robert O'Callahan
8c99c9f5e0 Bug 865537. Part 1: Add nsRange::SetEnableGravitationOnElementRemoval to suppress 'gravitation' behavior on node removal. r=smaug
--HG--
extra : rebase_source : 3823c3a0400c80b6f22021f22195f73febd5d85e
2013-06-07 16:26:28 +12:00
Robert O'Callahan
54857756c2 Bug 877461. Part 3: Retry libstagefright audio/video decoding if it fails due to a timeout. r=sotaro
--HG--
extra : rebase_source : 2ccd8afaca1e4055eb0105f25754176b0ff37034
2013-06-06 11:43:43 +12:00
Robert O'Callahan
30c4640f2a Bug 877461. Part 2: Initialize VideoFrame members to 0. r=doublec
--HG--
extra : rebase_source : d447561e74bc760c2ccbcba925e54579e3a15088
2013-06-06 10:48:25 +12:00
Peter Van der Beken
78659f5642 Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Paul Adenot
558b667bdb Bug 878765 - Add missing incrementation in AudioBlockPanStereoToStereo. r=ehsan 2013-06-04 15:51:23 +02:00
Paul Adenot
d9670a9a90 Bug 877527. 2013-06-04 15:07:01 +02:00