Commit Graph

30863 Commits

Author SHA1 Message Date
Alfredo Yang
c7fdbe75a6 Bug 1098994 - Update video output buffer when gets INFO_OUTPUT_BUFFERS_CHANGED from OMX. r=edwin 2014-11-16 19:07:00 +01:00
Jean-Yves Avenard
3465c3bbba Bug 1098637 - Enforce FFmpeg's audio decode API. r=edwin 2014-11-15 10:19:55 +11:00
Jim Mathies
dbafda71d3 Bug 1098055 - Enable deferred message protection for ContentParent. r=billm 2014-11-14 19:22:44 -06:00
Jan Keromnes
a1f4955af9 Bug 993137 - Make color picker tests less fragile. r=mounir 2014-11-15 03:11:00 +01:00
Brian Birtles
f38c5b5e70 Bug 1083670 - Move API tests for CSS Animations and CSS Transitions into separate directories; r=dbaron
--HG--
rename : dom/animation/test/css-integration/test_animation-effect-name.html => dom/animation/test/css-animations/test_animation-effect-name.html
rename : dom/animation/test/css-integration/test_animation-pausing.html => dom/animation/test/css-animations/test_animation-pausing.html
rename : dom/animation/test/css-integration/test_animation-player-playstate.html => dom/animation/test/css-animations/test_animation-player-playstate.html
rename : dom/animation/test/css-integration/test_animation-target.html => dom/animation/test/css-animations/test_animation-target.html
rename : dom/animation/test/css-integration/test_animations-dynamic-changes.html => dom/animation/test/css-animations/test_animations-dynamic-changes.html
rename : dom/animation/test/css-integration/test_element-get-animation-players.html => dom/animation/test/css-animations/test_element-get-animation-players.html
rename : dom/animation/test/css-integration/test_animation-effect-name.html => dom/animation/test/css-transitions/test_animation-effect-name.html
rename : dom/animation/test/css-integration/test_animation-pausing.html => dom/animation/test/css-transitions/test_animation-pausing.html
rename : dom/animation/test/css-integration/test_animation-target.html => dom/animation/test/css-transitions/test_animation-target.html
rename : dom/animation/test/css-integration/test_element-get-animation-players.html => dom/animation/test/css-transitions/test_element-get-animation-players.html
2014-11-17 13:46:01 +09:00
Brian Birtles
aa575c832b Bug 1081007 - Fix relationship between Play/PlayFromJS/PlayFromStyle etc.; r=dholbert
The existing relationship between the particular versions of
AnimationPlayer::Play* (particularly in the CSSAnimationPlayer) subclass are
confusing because, for example, CSSAnimationPlayer::PlayFromStyle needs to be
careful to *not* call Play on CSSAnimationPlayer, but only on the parent
object (since otherwise we reset the sticky pause behavior).

This patch reworks this relationship by adding a protected DoPlay method that
performs the common pausing behavior. Play/PlayFromJS/PlayFromStyle then add
flushing, sticky pausing etc. as necessary.

This patch also removes the UpdateFlags enum and parameters previously used to
control whether we forced an update to style. This is no longer necessary since
we no longer call 'Play' from style. Instead we make Play always post restyles.

If we come across a case where we want to call Play and *not* post restyles, we
can re-add the flags then.

Roughly the same arrangement is true for Pause except that we don't currently
flush styles for CSS animations in PauseFromJS since it currently won't make any
observable difference.
2014-11-17 13:46:01 +09:00
Brian Birtles
48893c4454 Bug 1073336 part 15 - Switch AnimationPlayer to using less aggressive update mechanism; r=dbaron 2014-11-17 13:46:00 +09:00
Brian Birtles
49dee50d8c Bug 1073336 part 13 - Add AnimationPlayer::PostUpdate; r=dbaron
Adds a method for notifying the collection of changes to one of its players.
2014-11-17 13:45:59 +09:00
Brian Birtles
d855c6692f Bug 1073336 part 12 - Add AnimationPlayer::GetCollection(); r=dbaron
This patch adds a method to animation players that looks up the
AnimationPlayerCollection to which the player belongs.
2014-11-17 13:45:59 +09:00
Brian Birtles
bb9a6c6bf6 Bug 1073336 part 10 - Add AnimationPlayer::GetAnimationManager(); r=dbaron
This patch introduces an abstract method to AnimationPlayer to fetch the manager
object associated with the player. This method is implemented separate by
CSSAnimationPlayer and CSSTransitionPlayer to return the nsAnimationManager or
nsTransitionManager accordingly.
2014-11-17 13:45:58 +09:00
Brian Birtles
9f8acdf64c Bug 1073336 part 9 - Add protected AnimationPlayer::GetPresContext(); r=dbaron
This patch adds a further getter to find the pres context associated with an
animation player's target element, if any.
2014-11-17 13:45:58 +09:00
Brian Birtles
dc613405f6 Bug 1073336 part 8 - Add protected AnimationPlayer::GetRenderedDocument(); r=dbaron
In order for AnimationPlayer objects to be able to notify their
collection/manager, the can either store an extra pointer member, or they can
navigate to the collection as follows:

  player->source(animation)->target(element)->document
    ->presShell->presContext->manager->collection

This patch adds a getter for the first part of this journey up to the document.
2014-11-17 13:45:58 +09:00
Brian Birtles
9efcdfde21 Bug 1073336 part 7 - Move style flushing to CSSAnimationPlayer and CSSTransitionPlayer; r=dbaron
Previously AnimationPlayer::Play() and AnimationPlayer::PlayState() would flush
styles as part of their operation. This, however, is only needed when the player
corresponds to a CSS Animation or CSS Transition. Now that we have concrete
subclasses for each of these cases we can move style flushing to the subclasses
and remove it from the base class (which is expected to be shared with
animations that are not dependent on style).
2014-11-17 13:45:58 +09:00
Brian Birtles
5f35f63800 Bug 1073336 part 6 - Add CSSTransitionPlayer; r=dbaron
In order to be able to find the collection a player belongs to from its source
content, we first need to be able to determine which manager--the animation
manager or transition manager--to look up.

We eventually plan to push transition event dispatch down to a CSS
transitions-specific subclass of AnimationPlayer, so this seems like a suitable
point to introduce this class.

Using this subclass we can define a virtual GetManager method that will
return the appropriate animation/transition manager for the player.
2014-11-17 13:45:57 +09:00
Dan Glastonbury
89a0a8b4f6 Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.

--HG--
extra : source : 547e328ef878882bce8df3fc1b1e28926d910f1d
2014-11-17 12:21:04 +10:00
Christoph Kerschbaumer
d4653cf831 Bug 1067517: Update triggeringPrincipal and loadingDoc for contentPolicy check and in the loadInfo (r=sicking) 2014-11-16 17:36:44 -08:00
Boris Zbarsky
9ee334fef9 Bug 1081241. Things that aren't exposed in Window shouldn't show up in RegisterBindings at all. r=smaug 2014-11-16 15:01:32 -05:00
Boris Zbarsky
b32a7b90f2 Bug 1098739. Add a BufferSource typedef in our IDL. r=khuey 2014-11-16 15:01:08 -05:00
Sotaro Ikeda
148067068a Bug 1085655 - Improve TabChild::InitRenderingState() r=bent 2014-11-16 10:23:22 -08:00
Phil Ringnalda
b1544015f4 Merge m-c to m-i 2014-11-15 15:41:15 -08:00
Jonathan Kew
0e4e955616 Backout changesets fad675db4598 and 618d8f44d9e2 (bug 1090168 pt 1 and 2) for Nightly crashiness. a=backout 2014-11-15 22:40:00 +00:00
Phil Ringnalda
f9a2419494 Merge b-i to m-c, a=merge 2014-11-15 15:16:34 -08:00
Mike Habicher
a2a53064df Bug 1098660 - fix the (complex) requirements for video mode preview size, r=aosmond 2014-11-14 20:56:59 -05:00
William Chen
0123ae2e9b Bug 1096635 - Update XBL insertion parent for dynamic default content. r=mrbkap 2014-11-14 17:02:29 -08:00
Ryan VanderMeulen
5d1fb92793 Merge inbound to m-c. a=merge 2014-11-14 17:32:39 -05:00
Ryan VanderMeulen
b7f8072b05 Backed out changeset fa836f2dccb6 for introducing new Win7 leaks.
CLOSED TREE
2014-11-14 15:24:17 -05:00
Christoph Kerschbaumer
ba415e054d Bug 1083422 - Add triggering Principal to nsILoadInfo - update consumers (r=bz) 2014-11-14 08:57:26 -08:00
Christoph Kerschbaumer
d5cbc137e2 Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking) 2014-11-14 08:56:55 -08:00
Carsten "Tomcat" Book
ae64245b15 Merge mozilla-central to b2g-inbound 2014-11-14 13:25:55 +01:00
Carsten "Tomcat" Book
9bafb1c7ff merge mozilla-inbound to mozilla-central a=merge 2014-11-14 12:58:54 +01:00
Chris Peterson
433d74c532 Bug 1098134 - Fix or suppress warnings in gmp-api, gmp-clearkey, and gmp-plugin and mark as FAIL_ON_WARNINGS. r=cpearce 2014-11-14 00:36:20 -08:00
Chris Peterson
a05d3eba03 Back out changeset c98cb03a8475 (Bug 1098134) for Windows build bustage. 2014-11-14 00:09:58 -08:00
Yoshi Huang
2fb937a8ba Bug 1098975 - sessionToken is missing in _createNFCPeer in nsNfc.js. r=dimi 2014-11-14 16:03:16 +08:00
Szu-Yu Chen [:aknow]
89f8538b99 Bug 1072868 - Part 2: Add TelephonyAudioService (implementation). r=hsinyi 2014-11-14 15:20:44 +08:00
Szu-Yu Chen [:aknow]
be97514c3b Bug 1072868 - Part 1: Add nsITelephonyAudioService (interface). r=hsinyi 2014-11-14 15:20:43 +08:00
Dave Hylands
c0310ea8fb Bug 1085743 - MTP doesn't work on Nexus 4/5. r=alchen 2014-11-13 17:42:38 -08:00
Ryan VanderMeulen
28c2fca375 Merge fx-team to m-c. a=merge 2014-11-13 15:40:39 -05:00
Ryan VanderMeulen
3816bf87a1 Merge b2g-inbound to m-c. a=merge 2014-11-13 15:33:32 -05:00
Andrew Osmond
f1b2045a01 Bug 1096078 - Restore use of Destroy() for DOMMediaStream. r=jesup 2014-11-13 15:28:22 -05:00
Ryan VanderMeulen
b21b6a20cf Backed out changeset 5dd9fb34f542 (bug 1096078) for Windows mochitest-3 crashes. a=me 2014-11-13 15:24:49 -05:00
Gregor Wagner
68fd435863 Bug 1098039 - PhonenumberJS: update metadata. DONTBUILD r=bent 2014-11-13 10:13:09 -08:00
Gregor Wagner
060a191371 Backed out changeset e68f1b4d1566 for wrong bug number. 2014-11-13 10:11:57 -08:00
Gregor Wagner
97e69c98f2 Bug 1012196 - PhonenumberJS: update metadata. r=bent 2014-11-13 10:03:50 -08:00
Ryan VanderMeulen
064303be00 Backed out changesets 0c9407b0e481, c2c37b2e9fac, and 488700194519 (bug 1000264) for e10s test failures.
CLOSED TREE
2014-11-13 12:40:15 -05:00
Carsten "Tomcat" Book
2777124c18 Merge mozilla-central to b2g-inbound 2014-11-13 16:38:44 +01:00
Carsten "Tomcat" Book
f9d8f1e495 merge mozilla-inbound to mozilla-central a=merge 2014-11-13 16:20:52 +01:00
Kan-Ru Chen (陳侃如)
71b019dc48 No bug, Disable test_browserElement_{inproc,oop}_Download.html tests on CLOSED TREE because of memory leaks 2014-11-13 21:05:44 +08:00
Yoshi Huang
65bd5d6b15 Bug 1098253 - get rfState from nfcd. r=dimi
From 2c8fd495054e6bd3bd93561e20518a47f6f6bc64 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/NfcGonkMessage.h      | 2 +-
 dom/nfc/gonk/NfcMessageHandler.cpp | 5 +----
 dom/nfc/gonk/NfcMessageHandler.h   | 1 -
 3 files changed, 2 insertions(+), 6 deletions(-)
2014-11-13 19:20:37 +08:00
Carsten "Tomcat" Book
b7f71a3e33 Backed out changeset b1f8365b8a92 (bug 1081038) for dt Test Failures on a CLOSED TREE 2014-11-13 11:48:21 +01:00
Carsten "Tomcat" Book
c969ca2647 Backed out changeset 9243c59c3e56 (bug 1081038) 2014-11-13 11:48:00 +01:00