Commit Graph

435607 Commits

Author SHA1 Message Date
Allison Naaktgeboren
0d4b818f47 Bug 1189790 - Include bookmarks for Kinderfox.r=sebastian 2015-08-14 13:57:29 -07:00
B2G Bumper Bot
d593cc49aa Bumping manifests a=b2g-bump 2015-08-14 12:37:10 -07:00
B2G Bumper Bot
f889e17f34 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ee1e170ff1a9
Author: Ryan VanderMeulen <ryanvm@gmail.com>
Desc: Merge pull request #31348 from aosmond/bug1182557

Bug 1182557 - Fix display rotation/size of image preview after sharing.

========

https://hg.mozilla.org/integration/gaia-central/rev/338b54ab082c
Author: Andrew Osmond <aosmond@mozilla.com>
Desc: Bug 1182557 - Fix display rotation/size of image preview after sharing.
2015-08-14 12:35:32 -07:00
Steve Fink
6da0ea7865 Bug 1194838 - Make Cell a GCType for the hazard analysis, r=terrence
--HG--
extra : rebase_source : ee7e5d60e650fcfda002228c5792362076170952
2015-08-14 12:33:16 -07:00
Dão Gottwald
234d758c65 Bug 1184656 - Use lighter separator between content and toolbars on Windows 10 and 8. r=gijs 2015-08-14 21:28:17 +02:00
Dão Gottwald
a206851411 Bug 1194590 - URL and search bar border and box-shadow transition should only be used for the default theme. r=gijs 2015-08-14 21:27:51 +02:00
Ryan VanderMeulen
94e7c8eb4b Merge m-c to fx-team. a=merge 2015-08-14 15:18:56 -04:00
Ryan VanderMeulen
0c0b67da3b Merge m-c to inbound. a=merge 2015-08-14 15:18:21 -04:00
Ryan VanderMeulen
65e8abbd34 Merge fx-team to m-c. a=merge 2015-08-14 15:17:32 -04:00
Ryan VanderMeulen
de062041d4 Merge inbound to m-c. a=merge 2015-08-14 15:16:22 -04:00
Andrei Oprea
7607b03f4d Bug 1183638 - Loop conversation list panel refresh 2015-08-14 11:15:22 -07:00
Mark Banner
18663c09e9 Bug 1194738 - Drop some obsolete pref handling from Loop, and some old room conversation styles. r=andreio 2015-08-14 18:41:06 +01:00
B2G Bumper Bot
e2872a7394 Bumping manifests a=b2g-bump 2015-08-14 10:12:40 -07:00
B2G Bumper Bot
e9f9262a98 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/68f78bcc8c51
Author: Martijn <martijn.martijn@gmail.com>
Desc: Merge pull request #31354 from mwargers/1194676

Bug 1194676 - self.apps = GaiaApps(marionette) line can be removed in gaia_test.py

========

https://hg.mozilla.org/integration/gaia-central/rev/a229ea23bd18
Author: Martijn Wargers <mwargers@mozilla.com>
Desc: Bug 1194676 - self.apps = GaiaApps(marionette) line can be removed in gaia_test.py

========

https://hg.mozilla.org/integration/gaia-central/rev/493c85542777
Author: Julien Wajsberg <felash@gmail.com>
Desc: Merge pull request #31341 from julienw/1192754-navigation-add-aria-hidden

Bug 1192754 - Add aria-hidden=true to hidden panels r=azasypkin

========

https://hg.mozilla.org/integration/gaia-central/rev/5e6760b79f2f
Author: Julien Wajsberg <felash@gmail.com>
Desc: Bug 1192754 - Add aria-hidden=true to hidden panels r=azasypkin
2015-08-14 10:10:37 -07:00
B2G Bumper Bot
e6360232ab Bumping manifests a=b2g-bump 2015-08-14 09:47:14 -07:00
B2G Bumper Bot
ffb9084ddd Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/fcd338edcce5
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #31236 from KevinGrandon/bug_1190713_settings_gaia_switch_progress

Bug 1190713 - [Settings] Port a few pack-switches to use web components

========

https://hg.mozilla.org/integration/gaia-central/rev/38ac25ae6bc0
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1190713 - [Settings] Port a few pack-switches to use web components
2015-08-14 09:45:35 -07:00
Rail Aliiev
579b2f0329 Bug 1193941 - Update merge scripts. r=nthomas. DONTBUILD 2015-08-14 12:38:31 -04:00
B2G Bumper Bot
abb7afdd6d Bumping manifests a=b2g-bump 2015-08-14 09:23:31 -07:00
Hannes Verschore
b152e40aeb Bug 1178834: IonMonkey - Always lazy link code, r=jandem 2015-08-14 17:57:57 +02:00
Jean-Yves Avenard
be305c5025 Revert "Bug 1190970: [MSE] P1. Enable WebM by default on platforms not supporting h264/aac. r=cpeterson"
This reverts commit d05f091bf4d8#l1.25
2015-08-17 17:55:22 +10:00
Brian Birtles
8ab108c3be Bug 1188251 part 8 - Remove call to Animation::Tick from CheckAnimationRule; r=dholbert
We want to move the newly-introduced RequestRestyle call from FlushAnimations
to Animation::Tick. However, nsAnimationManager::CheckAnimationRule calls
Animation::Tick so this would cause us to start posting animation restyles
within a restyle.

Typically, Animations have an effect (currently there is only one type of
effect: KeyframeEffectReadOnly) and when there is any change in timing they
pass it down to their effect. However, the Animation is dependent on the
duration of the effect for determining if it is "finished" or not. As a result,
when an effect's timing changes, the owning Animation needs to know.

(The way this *should* work is that effects should tell their animation or
trigger some chain of events that causes animation's to update themselves.
However, the current implementation of effects is fairly primitive and does
not do this or even have a reference to the owning Animation. When we
implement the script API for updating the timing properties of effects we will
have to fix this but for now it is up to code in layout/style to update the
Animation when it touches the corresponding effect's timing.)

nsAnimationManager::CheckAnimationRule currently does this by calling
Animation::Tick() which ensures the Animation's finished state is updated
accordingly.

Ultimately we want to ensure that Animation::Tick is called exactly once per
frame (and at the appropriate point in that frame) so we'd like to remove this
call from CheckAnimationRule.

This patch achieves that by:

* Making Animation::SetEffect update the animation's timing - this is necessary
  for animations that are created by CheckAnimationRule and will be
  necessary when once we make Animation.effect writeable from script anyway.

* Calling Animation::SetEffect even for the case when we are updating the
  existing effect.

Another side-effect of calling Animation::Tick within
nsAnimationManager::CheckAnimationRule is that CSSAnimation::Tick queues
events. There are some tests (e.g. layout/style/test/test_animations.html) that
assume that animationstart events are dispatched immediately when new
animations are created. That will change with bug 1134163 but for now we
should maintain this existing behavior since changing this might introduce
compatibility issues that are best dealt with as a separate bug rather than
blocking this refactoring. To that end, this patch also explicitly queues
animationstart events for newly-created animations.
2015-08-17 13:59:45 +09:00
Brian Birtles
d263e17945 Bug 1188251 part 7 - Move WillRefresh to CommonAnimationManager; r=dholbert
nsTransitionManager::WillRefresh and nsAnimationManager::WillRefresh are now
identical and all methods they call exist on CommonAnimationManager so we
can unify them there.
2015-08-17 13:59:44 +09:00
Brian Birtles
d65e0109bc Bug 1188251 part 6 - Unify FlushAnimations and FlushTransitions; r=dholbert
The implementations of FlushAnimations and FlushTransitions should now be all
but equivalent so this patch combines them into a single implementation on
CommonAnimationManager.

Regarding some of the minor differences between the two methods:

* The combined implementation drops the check for an empty list of collections
  found only in FlushTransitions. This seems like a very minor optimization
  that could possibly cause us to fail to unregister from the refresh driver
  if we forgot to do so when removing the last collection.

* The combined implementation uses the loop implementation from FlushAnimations
  since it is more compact.

This patch also removes the extra nested scope since it doesn't seem necessary.
2015-08-17 13:59:44 +09:00
Brian Birtles
999f5441cb Bug 1188251 part 5 - Move some assertions from FlushTransitions to RequestRestyle; r=dholbert
There are a couple of assertions that only exist in FlushTransitions (and not
FlushAnimations). This patch moves them to RequestRestyle since they appear to
apply to either transitions or animations equally. By eliminating this
difference between FlushTransitions and FlushAnimations we should then be
in a position to combine them into a common method on the base class.
2015-08-17 13:59:44 +09:00
Brian Birtles
7c39c22a6b Bug 1188251 part 4 - Move throttling checks to AnimationCollection::RequestRestyle; r=dholbert
This patch moves the additional checks (beyond those of Animation::CanThrottle)
from FlushAnimations/FlushTransitions to AnimationCollection::RequestRestyle.
These checks are on a per-collection basis hence it makes sense for the
collection to perform them. This also moves logic out of the managers which is
needed if we want to support script-based animations without introducing another
manager.
2015-08-17 13:59:44 +09:00
Brian Birtles
0cf13fbef2 Bug 1188251 part 3 - Add AnimationCollection::RequestRestyle; r=dholbert
Ultimately we want to move throttling logic to AnimationCollection and
Animation::Tick (and later to KeyframeEffect::SetParentTime). This is so that
we can support script-generated animations without having to introduce yet
another manager.

To that end this patch introduces a method on AnimationCollection that can be
called from Animation::Tick to perform the necessary notifications needed to
update style.

Later in this patch series we will extend RequestRestyle to incorporate more of
the throttling logic and further extend it to cover some of the other
notifications such as updating layers.

This patch tracks whether or not we have already posted a restyle for animation
to avoid making redundant calls. Calls to nsIDocument::SetNeedStyleFlush are
cheap and more difficult to detect when they have completed so we don't filter
redundant calls in the Restyle::Throttled case.

If mHasPendingAnimationRestyle is set and AnimationCommon::EnsureStyleRuleFor
is *never* called then we could arrive at situation where we fail to make post
further restyles for animation.

I have verified that if we fail to reset mHasPendingAnimationRestyle at the
appropriate point (e.g. resetting it at the end of EnsureStyleRuleFor *after*
the early-returns) then a number of existing tests fail.

Furthermore, I have observed that it is reset by the beginning of each tick
in almost every case except for a few instances of browser mochitests such as
browser/components/customizableui/test/browser_1007336_lwthemes_in_customize_mode.js.
In this case, during the async cleanup of the test, we have an opacity
transition on a vbox element that becomes display:none and appears to be skipped
during restyling. However, even in this case, EnsureStyleRuleFor is called
within one or at most two ticks and mHasPendingAnimationRestyle flag is cleared
(i.e. it does not get stuck).
2015-08-17 13:59:44 +09:00
Brian Birtles
b71ee27f2f Bug 1188251 part 2 - Check if a tick can be throttled in FlushAnimations using Animation::CanThrottle; r=dholbert
In FlushTransitions and FlushAnimations we use different mechanisms to see if a
transition/animation can be throttled on the current tick.

FlushTransitions calls Animation::CanThrottle whilst FlushAnimations calls
EnsureStyleRuleFor and checks if the rule has changed or not. These are not as
completely different as they might seem at first since, internally,
EnsureStyleRuleFor calls Animation::CanThrottle.

We would like to unify this behavior and simply use Animation::CanThrottle in
FlushAnimations as we do in FlushTransitions.

First, however, we have to account for the differences in these approaches:

1. Using the result of EnsureStyleRuleFor means we may *not* call
   PostRestyleForAnimation if an animation collection's mNeedsRefreshes member
   is false.

   This member is false when all animations have finished (or there are no
   animations in the collection). In this case EnsureStyleRuleFor will not
   update the style rule and we will end up assuming the tick can be throttled.
   *However*, in the case that all animations are finished
   Animation::CanThrottle will *also* return true (technically it will return
   false until we compose style for the first time after becoming finished but
   beyond that one moment it will return true) so skipping this check by using
   Animation::CanThrottle instead of EnsureStyleRuleFor should not
   make a significant difference.

2. Using the result of EnsureStyleRuleFor will mean that if we have already
   updated the style rule within a given tick we will avoid calling
   PostRestyleForAnimation (and call SetNeedStyleFlush instead). This can
   happen the first time we call FlushAnimations from
   PresShell::FlushPendingNotifications. (When we call FlushAnimations from
   nsAnimationManager::WillRefresh mStyleRuleRefreshTime will be stale and we
   won't apply this optimization. Furthermore after the first call to
   PresShell::FlushPendingNotifications we will typically skip calling
   FlushAnimations since PresShell::StyleUpdateForAllAnimationsIsUpToDate will
   typically return true).

   This seems like a possibly useful optimization although it is surprising we
   don't do the same for transitions. Note that this optimization applies
   regardless of whether we are performing a throttleable flush or not. That is,
   even if we pass CommonAnimationManager::Cannot_Throttle we will still end up
   throttling the tick in this case. Furthermore, we will mark the document as
   needing a style flush even though this does not appear to be necessary.

   This patch copies this optimization (checking if mStyleRuleRefreshTime) to
   FlushAnimations so we can maintain this behavior when calling
   Animation::CanThrottle instead of EnsureStyleRuleFor. It also applies the
   same behavior to FlushTransitions for consistency (and so we can later
   combine FlushAnimations and FlushTransitions).

   Note that we apply this optimization *before* calling Tick since it should
   only apply once we have already Tick'ed the animations in the collection.
   We will first hit FlushAnimations as a result of the refresh driver calling
   nsAnimationManager/nsTransitionManager::WillRefresh at which point
   mStyleRuleRefreshTime should be stale. Using this order not only saves
   redundant work but also makes moving the restyle code to Animation later on
   more straightforward.

   (In future we will divorce WillRefresh and FlushAnimations and only call
   Tick in WillRefresh and only perform this optimization FlushAnimations.)

3. Using the result of EnsureStyleRuleFor means that while checking if we can
   throttle or not we also update the style rule in FlushAnimations. That seems
   like an odd side-effect particularly since FlushTransitions doesn't do the
   same thing.
2015-08-17 13:59:44 +09:00
Brian Birtles
ab1cd7b690 Bug 1188251 part 1 - Remove transitions cleanup from FlushTransitions; r=dholbert
There is no longer anything in FlushTransitions that modifies the set of
transitions. I believe this changed as of bug 960465, specifically changeset
https://hg.mozilla.org/mozilla-central/rev/b2ee72589c18, so that this code is
no longer needed.

By removing this we can further align FlushAnimations and FlushTransitions.
2015-08-17 13:59:44 +09:00
Jean-Yves Avenard
12c9711fb9 Bug 1190970: [MSE] P1. Enable WebM by default on platforms not supporting h264/aac. r=cpeterson 2015-08-17 13:47:49 +10:00
Karl Tomlinson
5a2faaf647 bug 1191889 skip Close() when not initialized r=roc
--HG--
extra : rebase_source : ea7a6c4d6a74e15cf699fb49c8bf2b4c9b757cc6
2015-08-17 10:07:50 +12:00
Geoff Brown
3637332cb4 Bug 1190464 - Ensure emulator is killed at end of Android test; r=kmoir 2015-08-14 09:53:13 -06:00
Geoff Brown
48738d3244 Bug 1191477 - Retry Android test job if unable to install an apk; r=kmoir 2015-08-14 09:53:12 -06:00
B2G Bumper Bot
94860bb275 Bumping manifests a=b2g-bump 2015-08-14 08:51:57 -07:00
Matt Woodrow
f9ad8060cc Bug 1191534 - Implement BlitImageToFramebuffer for IOSurface. r=jgilbert 2015-08-14 11:50:48 -04:00
B2G Bumper Bot
739e399d36 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/04300cd5ba74
Author: Chris Lord <chrislord.net@gmail.com>
Desc: Merge pull request #31345 from Cwiiis/bug1191746-new-homescreen-marionette-layout

Bug 1191746 - Port grid_layout_test.js to new homescreen. r=gmarty

========

https://hg.mozilla.org/integration/gaia-central/rev/86c6618cccb6
Author: Chris Lord <chrislord.net@gmail.com>
Desc: Bug 1191746 - Port grid_layout_test.js to new homescreen. r=gmarty
2015-08-14 08:50:19 -07:00
Kim Moir
d44b678bfa revert Bug 1183877 - Increase total-chunks for Android 4.3 Debug crashtests, js-reftests, and reftests r=jlund 2015-08-14 11:47:53 -04:00
Ryan VanderMeulen
2deb989989 Backed out changesets 78aa8018df7d and 9b6e1c462c99 (bug 1182358) for Android test_basic.html timeouts followed by other failures. 2015-08-14 11:30:50 -04:00
Ryan VanderMeulen
a977d011fb Backed out changeset c2c0405ddf93 (bug 1180916) for causing various e10s mochitest failures. 2015-08-14 11:27:25 -04:00
Kim Moir
b67d87ab04 Bug 1183877 - Increase total-chunks for Android 4.3 Debug crashtests, js-reftests, and reftests r=jlund 2015-08-14 10:56:19 -04:00
Sotaro Ikeda
f340814380 Bug 1192312 - Use MediaCodecSource for camera recording since gonkL r=aosmond 2015-08-14 07:34:24 -07:00
B2G Bumper Bot
a1ef74c63d Bumping manifests a=b2g-bump 2015-08-14 07:22:14 -07:00
Jean-Yves Avenard
4775a405d3 Bug 1191813: [mp3] P1. Avoid false positive EOS detection. r=esawin
We do so by using blocking reads via the MediaSourceIndex::ReadAt convenience method.
2015-08-15 00:22:00 +10:00
B2G Bumper Bot
a6764f1cee Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/8acb3b439386
Author: Ryan VanderMeulen <ryanvm@gmail.com>
Desc: Merge pull request #30785 from aosmond/bug1177110

Bug 1177110 - Fix take picture to use updated error types.

========

https://hg.mozilla.org/integration/gaia-central/rev/db737dade414
Author: Andrew Osmond <aosmond@mozilla.com>
Desc: Bug 1177110 - Fix take picture to use updated error types.
2015-08-14 07:20:35 -07:00
Gregory Arndt
fc29862b35 Bug 1188608 - Update ubuntu builders to use tc-vcs 2.3.8 r=mrrrgn
--HG--
extra : commitid : 7qcHiAURiT9
extra : rebase_source : 58e23ed8a5f91dea6f6a0fcaa497458798994db8
2015-08-14 09:14:50 -05:00
Gregory Arndt
b55245c8fd Bug 1188608 - Update tester and tester-device images for tc-vcs 2.3.8 r=wcosta
--HG--
extra : commitid : IHKels4Wa96
extra : rebase_source : 108cb531340b75aa6f987431c1e0600506465199
2015-08-14 08:44:04 -05:00
Gregory Arndt
0f5eb714be Bug 1188608 - Update tc-vcs to 2.3.8 in builders r=wcosta
--HG--
extra : commitid : 46vvVUxJUvY
extra : rebase_source : 76833aaa106cefea3946af22e895ba057f46fe26
2015-08-14 07:24:05 -05:00
B2G Bumper Bot
103c895dc9 Bumping manifests a=b2g-bump 2015-08-17 07:47:11 -07:00
B2G Bumper Bot
09a439dc54 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/9ca1b37ecb11
Author: Chris Lord <chrislord.net@gmail.com>
Desc: Merge pull request #31359 from Cwiiis/bug1191746-new-homescreen-marionette-hosted-app-tests

Bug 1191746 - Port hosted app tests to new homescreen. r=gmarty

========

https://hg.mozilla.org/integration/gaia-central/rev/0faf31d9e056
Author: Chris Lord <chrislord.net@gmail.com>
Desc: Bug 1191746 - Port hosted app tests to new homescreen. r=gmarty
2015-08-17 07:45:30 -07:00
Ryan VanderMeulen
8c21b75629 Merge m-c to b2g-inbound. a=merge 2015-08-17 09:09:27 -04:00
B2G Bumper Bot
857ce0cc90 Bumping manifests a=b2g-bump 2015-08-17 05:42:41 -07:00