Commit Graph

13945 Commits

Author SHA1 Message Date
Mats Palmgren
0600e7abd7 Bug 635852. r=smaug 2013-03-08 12:04:53 +01:00
Jonathan Watt
96c995755b Bug 846380 - Add support for dragging of <input type=range>'s thumb using mouse/touch events. r=smaug, r=mounir. 2013-03-08 09:40:12 +00:00
John Schoenick
ad8488c2eb Bug 849067 - Unbreak gstreamer builds again. r=cpearce 2013-03-07 17:44:00 -08:00
Masatoshi Kimura
34260ccf6d Bug 587251 - new Worker(badURL) should throw a SECURITY_ERR. r=khuey 2013-03-08 07:27:21 +09:00
Simon Montagu
65bca04d24 Move WalkDescendantsClearAncestorDirAuto from BeforeSetAttr to OnSetDirAttr to simplify the test for elements that had dir=auto but no longer do, especially <bdi>. Bug 845093, r=ehsan 2013-03-07 22:53:08 +02:00
Simon Montagu
9227c29ea2 Make sure not to return the old text node in ResetNodeDirection. Bug 845093, r=ehsan 2013-03-07 22:53:08 +02:00
Simon Montagu
f91dc1e794 Set the AncestorHasDirAuto flag for all new text nodes that need it. Bug 847127, r=ehsan 2013-03-07 22:53:07 +02:00
Simon Montagu
929eb364df Testcase from bug 847127, r=ehsan 2013-03-07 22:53:07 +02:00
Olli Pettay
ceab0ac5ce Bug 844313 - Call GC more likely when there are lots of Events to collect, r=mccr8
--HG--
extra : rebase_source : 675ad0e5b5e22b3ccc1ec2bddac7048df57f522a
2013-03-07 20:53:19 +02:00
Joel Maher
05a0bb6ef8 Bug 845486 - webgl conformance crashes frequently on ubuntu VMs. r=jgilbert 2013-03-07 12:22:55 -05:00
Jon Coppeard
f85957ecb3 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Randell Jesup
82afed2e43 Bug 839650: Add debugs to MediaStreamGraph to ease investigation of issues in the future r=roc 2013-03-07 03:53:45 -05:00
Ed Morley
0887cddaa0 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard
19ed4f05c2 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
David Zbarsky
84557c998c Bug 847120: Convert SVGFEImageElement to WebIDL r=Ms2ger 2013-03-07 04:15:23 -05:00
David Zbarsky
f0c435f40c Bug 847120: Move SVGFEImageElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEImageElement.cpp
rename : content/svg/content/src/nsSVGFilters.h => content/svg/content/src/SVGFEImageElement.h
2013-03-07 04:15:23 -05:00
David Zbarsky
5df6f36301 Bug 847120: Convert SVGFEFloodElement to WebIDL r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEFloodElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEFloodElement.h
2013-03-07 04:15:22 -05:00
David Zbarsky
63f558a7eb Bug 847202: Convert SVGFEMergeNodeElement to WebIDL r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMergeNodeElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMergeNodeElement.h
2013-03-07 04:15:22 -05:00
David Zbarsky
92184df53d Bug 847120: Convert SVGFEMergeElement to WebIDL r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMergeElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMergeElement.h
2013-03-07 04:15:21 -05:00
Ed Morley
f16c99acd7 Backed out changeset be1ee54becf4 (bug 839650) for build failures 2013-03-07 09:10:47 +00:00
Randell Jesup
1d6e4a068a Bug 839650: Add debugs to MediaStreamGraph to ease investigation of issues in the future r=roc 2013-03-07 03:53:45 -05:00
David Zbarsky
f55aef104a Bug 847116: WebIDL bindings for SVGFEBlendElement r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.h
2013-03-07 02:17:00 -05:00
David Zbarsky
3a2c3de3db Backed out changeset 3710f0b135b8 for wrong commit message 2013-03-07 02:16:30 -05:00
David Zbarsky
c9412d785b Bug 847120: WebIDL bindings for SVGFEBlendElement r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.h
2013-03-07 02:12:33 -05:00
David Zbarsky
f057c989f0 Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz 2013-03-07 02:12:32 -05:00
Matt Brubeck
2acc60f7a6 Back out 4b9f83fccf6b (bug 847714) for webgl test crashes 2013-03-06 21:26:15 -08:00
Joe Drew
e43cf6702f Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
--HG--
extra : rebase_source : 75d00d31bcce93e26a9154aacef706a6b55c9135
2013-02-15 11:48:17 -05:00
Jeff Gilbert
cc3b3bd022 Bug 847714 - Halve drawing buffer sizes until resize succeeds - r=bjacob 2013-03-06 17:36:59 -08:00
Nicholas Nethercote
e7f05c167d Bug 847236 - Simplify the dead nsEventTargetChainItem objects cache (2nd attempt). r=smaug.
--HG--
extra : rebase_source : c46d667fbcc56bdc1826ea61bc62f656f79c3919
2013-03-04 20:59:29 -08:00
Joe Drew
f00b3f9c1b Back out the code changes from bug 841579 for causing a frequent intermittent failure.
--HG--
extra : rebase_source : 4748bf23718b781128f93364fad3c6ca924a2008
2013-03-06 15:49:40 -05:00
Joe Drew
baf5706d9f Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
--HG--
extra : rebase_source : b2ca068840c2e4effc8c93fd9e5effe122e8b45e
2013-02-15 11:48:17 -05:00
Jonathan Kew
8fab56bb98 bug 799523 pt 3 - work around fullscreen window-size error (bug 729011) by calculating center in integer CSS pixels instead of device pixels. r=bz 2013-03-06 17:16:55 +00:00
Jonathan Kew
89051567d8 bug 799523 pt 1 - avoid mixing CSS-pix and device-pix coordinates in GetWindowInnerRectCenter. r=bz 2013-03-06 17:16:08 +00:00
Kyle Huey
37c6805c0e Bug 847171: Null check the window before asking IndexedDB to look up transactions. r=bent 2013-03-06 06:29:58 -08:00
Daniel Holbert
accc46f11d Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
Phil Ringnalda
31d866ff72 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Ehsan Akhgari
78ca80f126 Bug 849914 - Implement the latest spec changes to PannerNode and AudioListener; r=roc 2013-03-11 19:09:27 -04:00
Trevor Saunders
0dea2ce880 bug 825341 - fix rebase of WrapObject landing on a CLOSED TREE 2013-03-11 21:26:17 -04:00
Trevor Saunders
39ae246957 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Masatoshi Kimura
7693df618d Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Chris Pearce
ed9f8a34a7 Bug 850021 - Change WMFSourceReaderCallback to use its own log so that we don't spam MediaDecoder NSPR log with uninteresting messages. r=padenot 2013-03-12 12:01:10 +13:00
Nicholas Nethercote
0a2ab47a30 Bug 847248 (part 7) - Remove nsFixedSizeAllocator from nsXBLService. r=bz.
--HG--
extra : rebase_source : df6db83d51472ec57a72bf657e38f126326b389a
2013-03-05 04:37:47 -08:00
Nicholas Nethercote
aa14a67f5f Bug 847248 (part 6) - Remove nsFixedSizeAllocator from MemoryElement. r=enndeakin.
--HG--
extra : rebase_source : 60f6154a274b5553e09580566a9c7c9e862f658d
2013-03-04 20:49:50 -08:00
David Zbarsky
69c24c4508 Bug 847112 - Fix up includes in content/svg r=jwatt 2013-03-11 18:05:58 -04:00
David Zbarsky
cc43730f23 Bug 847120: Remove nsIDOMSVGURIReference r=Ms2ger 2013-03-11 18:05:57 -04:00
Nicholas Nethercote
57cb1daa59 Bug 847248 (part 5) - Remove nsFixedSizeAllocator from nsXULTemplateBuilder. r=enndeakin.
--HG--
extra : rebase_source : 5a90f5659f6fe8f5789add3206a1a556eeb098f9
2013-03-04 20:49:49 -08:00
Ehsan Akhgari
bbfd0958e3 Backed out 4 changesets (bug 849713) since builds fail because of warnings as errors
Backed out changeset e811d4258d45 (bug 849713)
Backed out changeset 26aa58e87d5d (bug 849713)
Backed out changeset 9a6552161eff (bug 849713)
Backed out changeset 3551877d9b92 (bug 849713)

Landing on a CLOSED TREE
2013-03-11 16:14:42 -04:00
Ehsan Akhgari
35dae1b81f Backed out changeset 151b845b0fa9 (bug 849713 part 5) because it has not been reviewed yet! 2013-03-11 15:31:14 -04:00
Ehsan Akhgari
a974ee8086 Bug 849713 - Part 5: Implement the looping logic in AudioBufferSourceNodeEngine; r=roc
The logic in this function is mostly around the mLoop variable.  mLoop being
NotLooping means that the playback of this node is never going to loop, in
which case the logic doesn't change compared to the ProduceAudioBlock function
before this patch.

If the loop mode is turned on when start() is called, mLoop will initially be
WillLoop.  In that case, we play back until mLoopEnd, and then we will wrap
around to mLoopStart, set mLoop to be IsLooping, and start playback again.
From that point on, mLoop will always be IsLooping, and we will loop between
mLoopStart and mLoopEnd.  Where possible, we'll just use BorrowFromInputBuffer
to avoid copying the buffer, and if we hit the edges right around the time that
we loop, we copy some frames from the end of the input buffer and some from the
beginning in the memcpy loops at the end of the ProduceAudioBlock function.
2013-03-10 21:02:22 -04:00
Ehsan Akhgari
a5fea34024 Bug 849713 - Part 4: Refactor the logic for borrowing the output buffer from the input buffer; r=roc 2013-03-10 18:38:57 -04:00
Ehsan Akhgari
1300d21db5 Bug 849713 - Part 3: Set the loop parameters on AudioBufferSourceNodeEngine if looping is turned on when start() gets called; r=roc 2013-03-10 14:11:12 -04:00
Ehsan Akhgari
b646a29552 Bug 849713 - Part 2: Accept the loop parameters on AudioBufferSourceNodeEngine; r=roc 2013-03-10 13:59:41 -04:00
Ehsan Akhgari
5e3e5535d4 Bug 849713 - Part 1: Add DOM bindings for AudioBufferSourceNode loop attributes; r=roc 2013-03-10 12:56:14 -04:00
Olli Pettay
c4d3dc87a3 Bug 847600 - Remove SVGEvent, r=jwatt
--HG--
extra : rebase_source : 5b9452c1757b2cec02d469337ae3876a554f0081
2013-03-11 20:57:08 +02:00
John Schoenick
7c2341fa93 Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh 2013-03-11 11:47:36 -07:00
George Wright
956f0960a4 [PATCH 8/9] Bug 751418 - Plumb through GL-backed CanvasLayers for Skia/GL r=mattwoodrow
From ac18dd134e69cc734dc6a9e16498e43207de4e9a Mon Sep 17 00:00:00 2001
---
 content/canvas/src/CanvasRenderingContext2D.cpp | 42 +++++++++++++++++++++++--
 content/canvas/src/CanvasRenderingContext2D.h   |  5 +++
 gfx/2d/2D.h                                     |  8 +++++
 gfx/2d/Factory.cpp                              | 10 ++++++
 gfx/thebes/gfxPlatform.cpp                      | 34 ++++++++++++++++++++
 gfx/thebes/gfxPlatform.h                        | 12 +++++++
 6 files changed, 109 insertions(+), 2 deletions(-)
2012-11-30 18:58:00 -05:00
Masayuki Nakano
e71fc2d290 Bug 558976 part.6 Rename nsIWidget::OnIMETextChange() to nsIWidget::NotifyIMEOfTextChange() r=roc, sr=roc 2013-03-06 15:14:34 +09:00
Masayuki Nakano
85b5fca5af Bug 558976 part.1 Merge nsIWidget::ResetInputState(), nsIWidget::CancelComposition(), nsIWidget::OnIMEFocusChange() and nsIWidget::OnIMESelectionChange() r=roc, sr=roc 2013-03-06 15:14:31 +09:00
Jeff Gilbert
cf9ea7fc4f Bug 847716 - bindAttribLocation for /_?webgl_.*/ should generate INVALID_OPERATION - r=bjacob 2013-03-05 13:36:06 -08:00
Bobby Holley
e0c3558345 Bug 844211 - Only check the XBL bit if XBL scopes are disabled. r=bz 2013-03-05 15:16:37 -08:00
Ryan VanderMeulen
fe36f261c6 Backed out 5 changesets (bug 790732) for talos-other hangs/crashes on a CLOSED TREE. 2013-03-05 15:44:15 -05:00
Bobby Holley
f12628d13f Bug 790732 - Remove Components warning and Telemetry. r=mrbkap 2013-03-05 10:01:59 -08:00
Cameron Kaiser
ba3df5fcde Bug 847804 - Remove assert in SVGPreserveAspectRatio.h. r=dholbert 2013-03-04 22:27:53 -08:00
Ehsan Akhgari
f2b7547cab Bug 846329 - Fix decodeAudioData to decode all channels and not only the first one; r=padenot 2013-03-04 21:27:13 -05:00
Thomas Zimmermann
1823db9f02 Bug 834172 - Remove GStreamer flags from webaudio Makefile. r=cpearce
With the move of all codec-specific code to DecoderTraits, there is no
need to pass compiler flags for GStreamer when building the webaudio
library. This patch updates the Makefile template accordingly.
2013-03-05 09:56:35 -05:00
Thomas Zimmermann
84a4d3af62 Bug 834172 - Don't export codec functions from DecoderTraits. r=cpearce
All codec-specific code is hidden within DecoderTraits and available
from generic interfaces. This patch removes the codec-specific
functions from DecoderTraits' public interface.
2013-03-05 09:56:35 -05:00
Thomas Zimmermann
3867cce83c Bug 834172 - Implement CreateReader in DecoderTraits. r=cpearce
MediaDecoderReaders are now created from within DecoderTraits. The
codec-specific code has been removed from class MediaDecodeTask.
2013-03-05 09:56:35 -05:00
Thomas Zimmermann
13fe177e94 Bug 834172 - Implement IsSupportedTypeInVideo in DecoderTraits. r=cpearce
This change moves the policy of supported media types in the element
nsHTMLMediaElement to the DecoderTraits class. The codec-specific code
has been removed from the media element.
2013-03-05 09:56:35 -05:00
Thomas Zimmermann
9bd1221c54 Bug 834172 - Implement CreateDecoder in DecoderTraits. r=cpearce
The class DecoderTraits knows about all supported decoders. Adding
an interface to create decoder instances simplifies all users of this
functionality. nsHtmlMediaElement has been updated to use the new
function.
2013-03-05 09:56:34 -05:00
Jim Chen
09b1d56782 Bug 831144 - Add Android XBL key bindings; r=neil
--HG--
rename : content/xbl/builtin/unix/Makefile.in => content/xbl/builtin/android/Makefile.in
rename : content/xbl/builtin/unix/jar.mn => content/xbl/builtin/android/jar.mn
rename : content/xbl/builtin/unix/moz.build => content/xbl/builtin/android/moz.build
2013-03-05 11:08:08 +00:00
Ms2ger
a8adab1c33 Bug 839913 - Fix HTMLAreaElement's stringifier; r=bz 2013-03-05 10:46:48 +01:00
Mounir Lamouri
2808b94fae Bug 614825 - <embed> should be display:none; when hidden attribute is set. r=bz 2013-03-05 10:25:39 +01:00
Ehsan Akhgari
14a0e48617 Bug 836076 - Part 6: Hook up GainNode to the MediaStreams back-end to enable controlling the volume of the audio being played back; r=roc 2013-01-29 18:37:51 -05:00
Ehsan Akhgari
61bbd92228 Bug 836076 - Part 5: Provide an API for converting event times to tick values; r=roc 2013-03-01 17:06:03 -05:00
Ehsan Akhgari
030416b20c Bug 836076 - Part 4: Move AudioEventTimeline::Event outside of AudioEventTimeline to be able to specialize its template members; r=roc 2013-03-01 17:01:43 -05:00
William Chen
6bc6665342 Bug 847773 - Added override for GetWrapperCache with smart pointer argument to resolve ambiguity in templates. r=bz 2013-03-04 20:30:13 -08:00
Ehsan Akhgari
6fe682381f Bug 845960 - Fix a crash resulted from a missing nullcheck for the optional failure callback of decodeAudioData; r=bzbarsky 2013-03-04 23:04:51 -05:00
Ryan VanderMeulen
e3dcee067c Backed out changeset 74eaeeec2b9d (bug 847236) for crashes on a CLOSED TREE. 2013-03-04 22:46:22 -05:00
Ryan VanderMeulen
9657e1ff30 Backed out changeset 3ba8ed8f13de (bug 839913) for bustage. 2013-03-04 21:53:52 -05:00
Ms2ger
ecd0c885f4 Bug 839913 - Fix HTMLAreaElement's stringifier. r=bz 2013-03-04 21:41:47 -05:00
Nicholas Nethercote
fe30ab0276 Bug 847236 - Simplify the dead nsEventTargetChainItem objects cache. r=smaug.
--HG--
extra : rebase_source : 05e8756f0270ac7ed0b10f1ceb2f2825fa7bc6ae
2013-03-03 16:02:11 -08:00
William Chen
929291a8d9 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Nicholas Nethercote
f0c8853de6 Bug 847210 - Remove nsNodeInfo::sNodeInfoPool and use vanilla allocation for nsNodeInfo objects. r=smaug.
--HG--
extra : rebase_source : 667a818984e7ce6d22669861992a06e832755dfb
2013-02-28 18:53:49 -08:00
Jeff Gilbert
ba31d85ba5 Bug 845368 - Generic vertex attribs should have a size of 4 - r=bjacob 2013-03-04 16:44:32 -08:00
Jeff Gilbert
7f79074ea8 Bug 845636 - WebGL uniform1i should generate INVALID_VALUE for invalid texture units - r=bjacob 2013-03-04 16:44:31 -08:00
Jeff Gilbert
a74b6b9a5e Bug 845482 - Init scissor box values on offscreen context init - r=bjacob 2013-03-04 16:44:31 -08:00
Trevor Saunders
8631e44d32 bug 846487 - remove remaining usage of some nsIDOMFooElement r=Ms2Ger 2013-02-14 10:33:16 -05:00
Ryan VanderMeulen
172e4c49e1 Merge m-c to inbound. 2013-03-04 18:20:41 -05:00
Joe Drew
1a859ec168 Backed out 2 changesets (bug 841579) on a CLOSED TREE
Backed out changeset d21d144e3db9 (bug 841579)
Backed out changeset 0222cb048028 (bug 841579)
2013-03-04 17:27:51 -05:00
Seth Fowler
85222ec900 Bug 846861 - Always update the moving average in nsSMILAnimationController::WillRefresh. r=dholbert
CLOSED TREE

--HG--
extra : amend_source : fb2d68d45f8f3e82a268b17092f311abe0e60384
2013-03-04 14:05:23 -08:00
Ryan VanderMeulen
13adb15de3 Merge the last PGO-green inbound changeset to m-c. 2013-03-04 17:03:22 -05:00
Randell Jesup
97f75463f6 Bug 842715: Refactor gUM prefs use to be on mainthread, and prepare for constraints r=derf 2013-03-04 16:02:17 -05:00
L. David Baron
b11867eb47 Bug 846096: Bail out of nsRange::ParentChainChanged if the nodes aren't in a connected subtree. r=smaug 2013-03-04 08:37:48 -08:00
Ryan VanderMeulen
527466b973 Backed out 5 changesets (bug 834172) for Android build bustage. 2013-03-04 11:17:36 -05:00
Joe Drew
217689b459 Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
--HG--
extra : rebase_source : e4a97b3f037df283e89dbcb21d330030b6e35c85
2013-02-15 11:48:17 -05:00
Steve Workman
ae7c6b7475 Bug 838315 - Avoid race condition for switching during a seek r=cpearce 2013-03-01 11:52:39 -08:00
David Zbarsky
6eef90b020 [Bug 846710] Fix nsISVGPoint / DOMSVGTranslatePoint refcounting r=smaug 2013-03-04 10:40:25 -05:00
Thomas Zimmermann
6afb280c5a Bug 834172 - Remove GStreamer flags from webaudio Makefile. r=cpearce
With the move of all codec-specific code to DecoderTraits, there is no
need to pass compiler flags for GStreamer when building the webaudio
library. This patch updates the Makefile template accordingly.
2013-03-04 10:24:45 -05:00
Thomas Zimmermann
aa983418f9 Bug 834172 - Don't export codec functions from DecoderTraits. r=cpearce
All codec-specific code is hidden within DecoderTraits and available
from generic interfaces. This patch removes the codec-specific
functions from DecoderTraits' public interface.
2013-03-04 10:24:45 -05:00
Thomas Zimmermann
979b84ab7c Bug 834172 - Implement CreateReader in DecoderTraits. r=cpearce
MediaDecoderReaders are now created from within DecoderTraits. The
codec-specific code has been removed from class MediaDecodeTask.
2013-03-04 10:24:45 -05:00