Commit Graph

18349 Commits

Author SHA1 Message Date
Chris Pearce
f0f2468f2e Bug 938107 - Backed out changeset 7aff3ce81046 for bustage. r=bustage. 2013-12-16 13:48:54 +13:00
Chris Pearce
3130353840 Bug 938107 - Wait for media state machine thread to shutdown during XPCOM shutdown before returning. r=roc
Add a MediaShutdownManager and have that as the only xpcom-shutdown
observer. This then shutsdown the MediaDecoders, and blocks waiting for
the media state machine's shared thread to complete shutdown before
exiting from the xpcom-shutdown observer. This ensures that the
MediaDecoder infrastructure does not use XPCOM on any thread after XPCOM
has shutdown, which is a logical error.
2013-12-16 13:31:03 +13:00
Ehsan Akhgari
60effb6c7e Bug 950507 - Build content/media/fmp4 in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Ehsan Akhgari
719af67369 Bug 950506 - Build content/media/directshow in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Ehsan Akhgari
741e67febd Bug 950505 - Build content/media/wmf in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Steve Singer
cb0b986088 Bug 950343 - Include GLContext headers on non-SKIA builds. r=vlad 2013-12-15 22:40:20 +01:00
Ryan VanderMeulen
00161f8da9 Backed out changesets a7fc463961ce and 65061e971eb8 (bug 935793) for breaking Travis testing (bug 950441). 2013-12-15 12:47:09 -05:00
Masatoshi Kimura
661d3b5d7f Bug 948268 - Remove privilege check from MozCancelFullScreen() to comply with the spec. r=cpearce, f=bz,smaug 2013-12-14 13:22:47 +09:00
Bobby Holley
c0207c3a01 Bug 913734 - Remove custom privilege setup for cut/copy/paste. r=mrbkap 2013-12-13 19:15:43 -08:00
Bobby Holley
2bff1a717b Bug 944011 - Tests. r=bz 2013-12-13 18:22:18 -08:00
Bobby Holley
a1dd4b463e Bug 944011 - Remove explicit cx pushing from event code. r=bz 2013-12-13 18:22:18 -08:00
Quentin Headen
ad2e63374b Bug 731667 - Rewrite mtable implementation to avoid use of _moz-* attributes - remove legacy code. r=karlt 2013-12-13 12:42:57 -05:00
Tor Arvid Lund
a8c09b0aa0 Bug 929513 - Fix compile errors on Windows/Android r=nical
Forgot an include in the ImageLayerD3D9.cpp file (though I am unable to
reproduce the issue on my own windows installation).

Also seems in my previous attempt to fix the build, I introduced a
breakage for Android. Hopefully this will fix things.
2013-12-13 18:32:10 +01:00
Tor Arvid Lund
af7e76f848 Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Steve Fink
5936d87d4a Bug 949108 - Rooting hazards in nsScriptLoader.cpp due to AutoPushJSContext, r=bz
--HG--
extra : rebase_source : 02c19e3831118d3d4703c7904ea0b7228c06261f
2013-12-11 16:26:37 -08:00
Paul Adenot
db5ba45bd3 Bug 949474 - Reflect the fact that the nominal range for the sampleRate argument of the AudioContext.createBuffer changed in the spec. r=
* * *
Bug 949474 - Fix various oranges, on a CLOSED TREE.

--HG--
extra : rebase_source : 1317857063b7f028687aab1c00f113d947cd5685
2013-12-13 17:58:00 +01:00
Bobby Holley
652952e6f6 Bug 944407 - Tests. r=bz 2013-12-13 08:54:04 -08:00
Bobby Holley
3b4dfe688e Bug 944407 - Allow scripts for an XBL binding if and only if the XBL document comes from a scriptable domain. r=bz 2013-12-13 08:54:04 -08:00
Olli Pettay
69f1377e75 Bug 944847, don't try to compile event handlers for data documents, r=bz
--HG--
extra : rebase_source : 2b4ce65fad2433475f4b50ccd89b4301cee6c8b2
2013-12-13 16:36:29 +02:00
Jonathan Watt
28074a3adf Bug 944704, part 3 - Fix stroke dashing for SVG ellipses so that the dashing starts from the correct point and progresses in the correct direction. r=Bas 2013-12-13 12:14:37 +00:00
Jonathan Watt
02c17c2697 Bug 944704, part 2 - Update the Mozilla callers of Moz2D's ArcToBezier for its new signature. r=Bas 2013-12-13 12:14:36 +00:00
Jonathan Watt
6c8fbf340c Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth
--HG--
extra : rebase_source : 612c1923f3ed8a01fc30f2d306b4682e585e53fe
2013-12-13 08:34:24 +00:00
Brian Birtles
7c8cbd53aa Bug 941315 - Update the timing model even when invalid values are set; r=longsonr
When an invalid dur, min, max, or repeatDur is set we were failing to call
UpdateCurrentInterval to update the timing model. This patch makes sure we
update the current interval in error cases too.

Mochitests test the interval is being updated in these cases and, for
completeness, the case of repeatCount as well.
2013-12-13 13:41:56 +09:00
Brian Birtles
dc0d4cd8d9 Bug 948245 part 2 - Allow the min attribute to extend the active duration; r=dholbert
The min attribute on an animation element can extend the active duration making
it longer than the "repeat duration" (the amount of the time the animation runs
including all repeats). For the remaining time after the repeat duration has
completed until the end of the active duration the animation should apply its
fill behavior.

Previously this was not implemented and min could not extend the active
duration. Allowing this effectively introduces an additional kind of state where
we are both within the active interval but not animating. In this case we
set the animation function (referred to as the "client" for historical reasons)
to inactive so that effectively the timing model is active but the animation
model is inactive.

(In the future we will come up with something a little easier to understand when
we rework this in terms of Web Animations components.)
2013-12-13 13:41:52 +09:00
Brian Birtles
096d486b89 Bug 948245 part 1 - Rework and test repeat duration calculation; r=dholbert
In order to implement the min attribute properly we need to distinguish between
cases where the repeat duration is less than the active duration so we can apply
the fill mode in the 'gap'. Currently the repeat duration calculation is mostly
contained in GetRepeatDuration (but is hard to make sense of) and partly
contained in the call site CalcActiveEnd. Furthermore, it does not have thorough
tests (there were some unit tests but they were never converted to mochitests).

This patch reworks the repeat duration calculation so it is contained in one
place, easier to read, and thoroughly tested.
2013-12-13 13:41:47 +09:00
Mark Hammond
75591f7a7a Bug 935793 (part 2) - rename browser-shown notifications and send them for all frames. r=smaug
--HG--
extra : rebase_source : 475b2cafc094117a2edf8ba95605e7f4d5f95410
2013-12-13 14:24:37 +11:00
Mark Hammond
fb3c18109b Bug 935793 (part 1) - Add ownerIsBrowserOrApp to nsIFrameLoader. r=smaug
--HG--
extra : rebase_source : 189b45b39c04e4272d7b0cc188f35bb02bc19970
2013-12-13 14:24:36 +11:00
Wes Kocher
aa49cfcd54 Merge inbound to m-c 2013-12-12 19:12:51 -08:00
Shelly Lin
f56ef2b7b5 Bug 948819 - Do not round the frame size if the source video is in odd resolutions. r=roc 2013-12-11 17:42:56 +08:00
Bruce Sun
f2ddb3802a Bug 947113 - Sync RTSP play & pause with the life time of the decoding thread. r=doublec 2013-12-12 11:21:04 +08:00
Carsten "Tomcat" Book
81059f072a Merge mozilla-central to b2g-inbound 2013-12-12 16:17:29 +01:00
Ryan VanderMeulen
cb5b5eee51 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Drew Willcoxon
4271b3ce27 Bug 948419 - Allow mouse-wheel zooming on about:newtab by allowing zooming for XUL documents not in chrome docshells. r=smaug 2013-12-11 18:33:47 -08:00
Ryan VanderMeulen
ab2b6eed46 Merge m-c to b-i. 2013-12-11 13:37:13 -05:00
Jonathan Watt
2dc144a988 Bug 948475 - Implement HTMLInputElement.select() for <input type=number> (contrary to the HTML5 spec) since content needs it. r=smaug 2013-12-11 11:41:51 +00:00
Jan Gerber
fb205442ce Bug 945863 - Handle CodecDelay and SeekPreroll for Opus in WebM. r=kinetik 2013-12-10 10:36:05 +01:00
Shelly Lin
5ea82d3051 Bug 945127 - Correct the checking of input sampling rate. r=giles 2013-12-11 13:56:18 +08:00
Ryan VanderMeulen
6fb3114a62 Merge m-c to inbound. 2013-12-10 15:48:16 -05:00
Ryan VanderMeulen
e58ec03427 Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Ryan VanderMeulen
0ec1624976 Backed out changesets 3c9d48f28a5e and fd9d5186e741 (bug 944407) for mochitest-other orange.
CLOSED TREE
2013-12-10 15:35:31 -05:00
Carsten "Tomcat" Book
89c65ce284 merge mozilla-inbound to mozilla-central 2013-12-10 13:02:55 +01:00
Randell Jesup
77dbfd38fb Bug 853356: backout p3 2013-12-10 01:03:21 -05:00
Randell Jesup
824977556d Bug 853356: backout p2 2013-12-10 01:03:23 -05:00
Carsten "Tomcat" Book
6c1aee1b2a Backed out changeset 1d72742584ad (bug 945614) per Bug 853356 comment 209 2013-12-10 08:38:43 +01:00
Ryan VanderMeulen
72c57be9ea Merge m-c to inbound. 2013-12-09 17:43:44 -05:00
Ryan VanderMeulen
3083eba130 Merge inbound to m-c. 2013-12-09 16:45:25 -05:00
Carsten "Tomcat" Book
4408dc08c5 merge b2g-inbound to mozilla-central 2013-12-09 09:32:02 +01:00
Jason Orendorff
18dfde2509 Bug 793860, part 0b - Declare some accidentally undeclared variables. r=bz. 2013-12-09 14:10:51 -06:00
Jeff Gilbert
6c0355a57f Bug 942319 - Supply python script to convert some mochitests to standalone tests. r=bjacob 2013-12-08 21:56:40 -05:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00