Commit Graph

456173 Commits

Author SHA1 Message Date
Brian Birtles
bf0b758990 Bug 1229280 - Move animation generation from AnimationCollection to EffectSet; r=dbaron
--HG--
extra : rebase_source : 26a942c8c6058e629e7d7ed549eb1fcdf7f6d399
2016-01-06 11:04:05 +09:00
Brian Birtles
bf9f389bda Bug 1228229 part 11 - Avoid calling nsRuleNode::ComputePropertiesOverridingAnimation when there are no compositor-animatable properties; r=dbaron
This restores the code removed in part 3 but adjusts it to iterate over
an effect set instead of an AnimationCollection. It also adds an early return
for the case where no compositor-animatable properties are found.

--HG--
extra : rebase_source : 5e73374c8fb7df4e946f73512337a55f5dae94f2
2016-01-06 11:04:05 +09:00
Brian Birtles
741d976ea1 Bug 1228229 part 10 - Remove no-longer-used cascade functions; r=dbaron
--HG--
extra : rebase_source : 3cdff84fefbc24796abf2d765f6f40062dd7941f
2016-01-06 11:04:05 +09:00
Brian Birtles
96f4a19af3 Bug 1228229 part 9 - Use EffectCompositor::UpdateCascadeResults; r=dbaron
--HG--
extra : rebase_source : c294befb9b57564f17c9c22d8fc0f37e7792eaed
2016-01-06 11:04:05 +09:00
Brian Birtles
f14f3a2be8 Bug 1228229 part 8 - Add EffectCompositor::(Maybe)UpdateCascadeResults; r=dbaron
--HG--
extra : rebase_source : 7f87c5a33e153e0815d39b7eb21917f3c034c0d3
2016-01-06 11:04:05 +09:00
Brian Birtles
144a09f431 Bug 1228229 part 7 - Add a method to Animation to indicate if it applies to the transitions level of the cascade; r=dbaron
For transitions, this method returns true so long as the transition is
bound to markup. This is based on the below discussion,

  https://github.com/w3c/web-animations/issues/97
  https://github.com/w3c/web-animations/issues/62#issuecomment-117357703
  https://github.com/w3c/web-animations/issues/62#issuecomment-117374689

We will likely reuse this method when we come to implement animation style rule
generation in a more generic manner.

--HG--
extra : rebase_source : fe8a3d09296d7f74cabd59c605cf568d200bb240
2016-01-06 11:04:05 +09:00
Brian Birtles
265cbb47a5 Bug 1228229 part 6 - Mark the animation cascade results as dirty when an effect goes in or out of being "in effect"; r=dbaron
This patch implements "case 2" described in the commit message from part 4 of
this patch series.

--HG--
extra : rebase_source : 805f24376fa4648f094fb04247d48d075a73400c
2016-01-06 11:04:05 +09:00
Brian Birtles
5331e1fa91 Bug 1228229 part 5 - Separate target element registration in NotifyAnimationTimingUpdated; r=dbaron
KeyframeEffectReadOnly::NotifyAnimationTimingUpdated currently just acts as an
alias for UpdateTargetRegistration. However, bug 1226118 added logic to
UpdateTargetRegistration which is not strictly related to updating the target
element registration. This patch tidies this up so that UpdateTargetRegistration
only does what its name suggests. This is in preparation for adding more
logic to NotifyAnimationTimingUpdated.

--HG--
extra : rebase_source : c6162e8415613d7ec16744228d7cf498b4c19e2c
2016-01-06 11:04:04 +09:00
Brian Birtles
c773cf7551 Bug 1228229 part 4 - Add a flag to EffectSet to mark when the cascade needs to be updated; r=dbaron
There are three situations when the cascade results of effects needs to be
updated.

1. The sets of effects (animations) has changed.

2. One or more effects have changed their "in effect" status.

3. Other style properties affecting the element have changing meaning that
   animations applied at the animations-level of the cascade may now be
   overridden or become active again.

We want to detect these situations so we can avoid updating the cascade when
none of these possibilities exist.

Currently we handle case 1 by calling UpdateCascadeResults at the appropriate
point in nsAnimationManager and nsTransitionManager when we build
animations/transtiions.

Case 2 only affects animations (since whether transitions are in effect or not
makes no difference to the cascade--they have a lower "composite order" than
animations and never overlap with each other so they can't override anything).
As a result, we handle it by adding a flag to CSSAnimation to track when an
animation was in effect last time we checked or not.

For case 3, we take care to call UpdateCascadeResults when the style context
changed in nsAnimationManager::CheckAnimationRule (called from
nsStyleSet::GetContext).

We want to generalize this detection to handle script-generated animations too.
In order to do that this patch introduces a flag to EffectSet that we will use
to mark when the cascade needs to be updated in cases 1 and 2. This patch also
sets the flag when we detect case 1. A subsequent patch sets the flag for
case 2.

Case 3 is more difficult to detect and so we simply maintain the existing
behavior of making nsAnimationManager::CheckAnimationRule unconditionally
update the cascade without checking if the "needs update" flag is set.

--HG--
extra : rebase_source : fc56b1bb5a98ae78b93a179c7a3b8af4724a06a1
2016-01-06 11:04:04 +09:00
Brian Birtles
114b1e3ebd Bug 1228229 part 3 - Factor out a method to get compositor-animatable overridden properties; r=dbaron
This patch also simplifies this logic by simply always looking for overrides of
'transform' and 'opacity'.

--HG--
extra : rebase_source : d1e432e629e2b97651f14c784f97c03f55d217be
2016-01-06 11:04:04 +09:00
Brian Birtles
5d5fb26344 Bug 1228229 part 2 - Add a helper to get the appropriate (pseudo-)element for a frame; r=dbaron
We will use similar logic later in this patch series so we separate it out into
a separate helper function here.

--HG--
extra : rebase_source : 00cb49e7829bdef7a6084059b31fe2ef4b921af5
2016-01-06 11:04:04 +09:00
Olli Pettay
fb35bc42f0 Bug 1237075 - Navigating from 'manual' to 'auto' session history entry should scroll the page, r=jst
--HG--
extra : rebase_source : c6d901084edf1b17e21c44515a0483c7fbcc77dd
2016-01-06 04:03:42 +02:00
Ehsan Akhgari
ddf76b50b9 Bug 1229369 - Intercept redirected network fetches that have their request mode set to manual; r=jdm
In the non-e10s case, this is done by simply avoiding to set the
LOAD_BYPASS_SERVICE_WORKER flag when we detect a non-internal redirect
in the manual redirect mode.

The e10s solution is a bit more complicated.  Only the child process
knows whether a URI needs to be intercepted, so we piggy back on the
code written to support the |event.respondWith(Response.redirect())|
case where we know in the child that the target of the redirect needs to
be intercepted.

This means that we need to check the same condition as in the non-e10s
case, but we also need to check whether the target of the redirection
needs to be intercepted, which means we need to properly take secure
upgrades into account as well.  This is done by computing both whether
we should intercept and whether we should do a secure upgrade in
HttpChannelChild::SetupRedirect() and saving the information on the
HttpChannelChild for later usage in HttpChannelChild::AsyncOpen().
2016-01-05 21:02:00 -05:00
Eitan Isaacson
d0d4c1ba6a Bug 1230533 - Cancel speech when controlling window goes away. r=smaug
Don't allow bfcache when there is an active or queued utterance in the window.
2016-01-05 18:01:24 -08:00
Eitan Isaacson
06174b6211 Bug 1236060 - Dispatch error should advance queue. r=smaug 2016-01-05 18:01:23 -08:00
Eric Rahm
b73c259457 Bug 1208584 - Silence unconstrained size warning by default. r=jfkthame
--HG--
extra : rebase_source : 910f4075078362dc28e15ce34e64a89f6aa639b2
2016-01-05 15:46:43 -08:00
Jeff Gilbert
b66e705f39 Bug 1236762 - Simplify locking APIs for SharedSurface. - r=jrmuizel 2016-01-05 15:57:44 -08:00
Wes Kocher
e0dc3b7265 Merge m-c to inbound, a=merge CLOSED TREE
--HG--
extra : commitid : 4JS7aaOzaVD
extra : amend_source : 249ac0feaf4a6ea8ad5d2ef9de63d4c5baee012b
2016-01-05 16:52:09 -08:00
Wes Kocher
2866425265 Backed out changeset e22122a3bf90 (bug 1232231) for possibly breaking weightmapping-12579.html CLOSED TREE
--HG--
extra : commitid : Ht74vrHsG2d
2016-01-05 16:48:49 -08:00
Wes Kocher
f3d6d2a7a0 Backed out 2 changesets (bug 1235478) for possibly breaking weightmapping-12579.html CLOSED TREE
Backed out changeset 02784824ebf1 (bug 1235478)
Backed out changeset 02c3c24dff8c (bug 1235478)

--HG--
extra : commitid : vpWzuDU0NP
2016-01-05 16:48:24 -08:00
Wes Kocher
a8e5e6c427 Backed out 2 changesets (bug 1235535) for possibly breaking weightmapping-12579.html CLOSED TREE
Backed out changeset 76209c880c78 (bug 1235535)
Backed out changeset 0beb3e22b4b5 (bug 1235535)

--HG--
extra : commitid : 2Qv8Y33oGRU
2016-01-05 16:47:54 -08:00
Wes Kocher
5c5db39163 Merge fx-team to m-c a=merge CLOSED TREE
--HG--
extra : commitid : 8cnDWzxc5CW
2016-01-05 16:34:06 -08:00
Wes Kocher
52ed1e6ff2 Backed out changeset 3aca7055f52f (bug 1236329) because something from this push turned browser_video_test.js permafail on mulet CLOSED TREE
--HG--
extra : commitid : 2RDQomPsA9l
2016-01-05 15:14:48 -08:00
Wes Kocher
c708d0c57f Backed out changeset b7cd1bc458a3 (bug 1230172) because something from this push turned browser_video_test.js permafail on mulet CLOSED TREE
--HG--
extra : commitid : C1U7fyE3XPN
2016-01-05 15:14:44 -08:00
Wes Kocher
3a0c205904 Backed out changeset b94d7e7648e1 (bug 1200169) for frequent browser_AddonWatcher.js failures CLOSED TREE a=merge
--HG--
extra : commitid : 5m9wrfczrS0
extra : source : 27729c6262ee9a64bf3bc281591637b7f317e62d
2016-01-05 14:26:22 -08:00
Wes Kocher
9b5c90690e Merge inbound to m-c a=merge
--HG--
extra : commitid : I44HufYdnXT
2016-01-05 16:02:49 -08:00
Wes Kocher
42614dcf9a Backed out changeset b94d7e7648e1 (bug 1200169) for frequent browser_AddonWatcher.js failures CLOSED TREE
--HG--
extra : commitid : 74M37BsgWfU
2016-01-05 14:26:22 -08:00
Nathan Froyd
8070cbc00f Bug 1236571 follow-up - fix bustage on a CLOSED TREE; r=me 2016-01-05 16:36:11 -05:00
David Critchley
418150f47e Bug 1231808 - Hide Pause button in Infobar using CSS r=Standard8 2016-01-05 19:17:54 +00:00
B2G Bumper Bot
164a70e18d Bumping manifests a=b2g-bump 2016-01-05 10:39:56 -08:00
B2G Bumper Bot
8b0eaf44fd Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/8668ab0c4803
Author: Johan Lorenzo <jlorenzo@mozilla.com>
Desc: Merge pull request #33748 from JohanLorenzo/bug-1236908

Bug 1236908 - Make the assertion error clearer to track the root cause

========

https://hg.mozilla.org/integration/gaia-central/rev/88c27aa3b924
Author: Johan Lorenzo <jlorenzo@mozilla.com>
Desc: Bug 1236908 - Make the assertion error clearer to track the root cause

========

https://hg.mozilla.org/integration/gaia-central/rev/f2850b76e7f5
Author: Ghislain 'Aus' Lacroix <aus@noiseport.org>
Desc: Merge pull request #33739 from nullaus/bug1236723

Bug 1236723 - Set PART and NBPARTS env vars for proper chunk usage. r=me

========

https://hg.mozilla.org/integration/gaia-central/rev/12f2e853d4d9
Author: Ghislain 'Aus' Lacroix <aus@mozilla.com>
Desc: Bug 1236723 - Set PART and NBPARTS env vars for proper chunk usage. r=me
2016-01-05 10:38:34 -08:00
B2G Bumper Bot
0b2e0906fb Bumping manifests a=b2g-bump 2016-01-05 10:10:12 -08:00
B2G Bumper Bot
2ba3b10aa2 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/12e4908f7b76
Author: Julien Wajsberg <felash@gmail.com>
Desc: Merge pull request #33394 from julienw/less-flickering

Bug 1228352 - [Messages] Reduce the flickering happening in activitie…

========

https://hg.mozilla.org/integration/gaia-central/rev/7690d179844d
Author: Julien Wajsberg <felash@gmail.com>
Desc: Bug 1228352 - [Messages] Reduce the flickering happening in activities, and streamline animations r=azasypkin
2016-01-05 10:08:44 -08:00
Johan Lorenzo
2fce895e41 Bug 1225458 - [tc-gip] Change the configuration of the job (memory, timeout) r=garndt
--HG--
extra : commitid : 3rmV09Tzoge
2016-01-05 17:35:50 +01:00
Olli Pettay
ff444b2e38 Bug 1236227, don't OOM in TextDecoder, r=baku
--HG--
extra : rebase_source : 7b22b88198289e9d6db004d4208911901a7f8287
2016-01-05 15:48:47 +02:00
Andrea Marchesini
5e1308efcc Bug 1236827 - Remove non-useful 'delete' in TabStore.jsm, r=ttaubert 2016-01-05 17:22:36 +00:00
Wander Lairson Costa
461a10dee7 Bug 1236089: Update tc-vcs for phone-builder image. r=garndt
--HG--
extra : commitid : 4PPd2spOcx9
2016-01-05 11:24:43 -02:00
B2G Bumper Bot
03c5c093a7 Bumping manifests a=b2g-bump 2016-01-05 04:25:40 -08:00
B2G Bumper Bot
bf2a096214 Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/5ee161a90d08
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Revert "Merge pull request #33728 from mikehenrty/bug-1236376-use-more-ports"

This reverts commit 16f4490e8208cc69b8e522fb468e9617eee85d53, reversing
changes made to 64dd32a7e54a49cb6484fc1b20a578eca1448663.
2016-01-05 04:24:10 -08:00
B2G Bumper Bot
86bad194bd Bumping manifests a=b2g-bump 2016-01-05 04:01:09 -08:00
B2G Bumper Bot
1ffc3d2156 Bumping gaia.json for 5 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ce0535669769
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Bug 1235939 - Disable apps/keyboard/test/marionette/text_keyboard_test.js

========

https://hg.mozilla.org/integration/gaia-central/rev/026a8d037acc
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Merge pull request #33723 from mikehenrty/bug-1236157-dynamic-date

Bug 1236157 - Use dynamic date for COPPA age validation check

========

https://hg.mozilla.org/integration/gaia-central/rev/06f3adb71d21
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Bug 1236157 - Use dynamic date for COPPA age validation check

========

https://hg.mozilla.org/integration/gaia-central/rev/afc9f1b1c320
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Merge pull request #33728 from mikehenrty/bug-1236376-use-more-ports

Bug 1236376 - Increase port range for Marionette JS runner

========

https://hg.mozilla.org/integration/gaia-central/rev/03cb652da347
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Bug 1236376 - Increase port range for Marionette JS runner
2016-01-05 03:58:59 -08:00
B2G Bumper Bot
4dcbe70272 Bumping manifests a=b2g-bump 2016-01-05 03:42:28 -08:00
B2G Bumper Bot
11b05efcd6 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/5c90c9147a6d
Author: Carsten Book <tomcat@mozilla.com>
Desc: Merge pull request #33727 from Ilphrin/master

Bug 1151847 - [Network Alerts][Refactoring] Use notification "data". r=azasypkin

========

https://hg.mozilla.org/integration/gaia-central/rev/7f88a180a120
Author: Kevin_Pellet_(Ilphrin) <ilphrin@autistici.org>
Desc: Bug 1151847 - [Network Alerts][Refactoring] Use notification "data"
attribute instead of icon URL query string parameters. r=azasypkin

========

https://hg.mozilla.org/integration/gaia-central/rev/3833b9b555b0
Author: Ricky Chien <rickychien@users.noreply.github.com>
Desc: Merge pull request #33716 from rickychien/extendSystemBanner

Bug 1235128 - [TV][2.5] System banner supports icon and title r=@luke-chang

========

https://hg.mozilla.org/integration/gaia-central/rev/ffee21030d0b
Author: Ricky Chien <ricky060709@gmail.com>
Desc: Bug 1235128 - [TV][2.5] System banner supports icon and title
2016-01-05 03:39:04 -08:00
Thomas Zimmermann
1025acb217 Bug 1223722: Transfer arrays of Bluetooth UUIDs in |BluetoothValue|, r=brsun
Bluetooth's UUID arrays are sorted and stripped from duplicates. This code is
now executed in the client process. This reduces the amount of privilegued
code and accounts the required computation time to the process that actually
uses it.

The change also makes the IPDL interface a bit less fragile, as the client
does not expect sorted arrays from the chrome process. It's a detail of the
client's implementation that manifested itself in the interface.
2016-01-05 12:01:33 +01:00
Thomas Zimmermann
388ee1f523 Bug 1223722: Transfer Bluetooth remote names in |BluetoothValue|, r=brsun 2016-01-05 12:01:33 +01:00
Thomas Zimmermann
30f1560836 Bug 1223722: Transfer Bluetooth addresses in |BluetoothValue|, r=brsun 2016-01-05 12:01:33 +01:00
Carsten "Tomcat" Book
d92e3c9113 Merge mozilla-central to b2g-inbound 2016-01-05 12:03:29 +01:00
Carsten "Tomcat" Book
2262c1271c merge mozilla-inbound to mozilla-central a=merge 2016-01-05 11:58:56 +01:00
Carsten "Tomcat" Book
766339cc81 merge fx-team to mozilla-central a=merge 2016-01-05 11:56:41 +01:00
Jean-Yves Avenard
ea13a5a2fb Bug 1236746: Let FFmpeg manages its own memory allocation. r=gerald
Additionally, the API to override memory allocation has been deprecated years ago and it completely removed in libavcodec 57.
2016-01-05 16:55:11 +11:00