Commit Graph

255108 Commits

Author SHA1 Message Date
Jim Blandy
55e28f7b3b Bug 1180017: Give GCCellPtr is<T> and as<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-07 09:52:01 -07:00
Spenser Andrew Bauman
a2dc3e9a01 Bug 1187511 - IonMonkey: Make use of callsite type information when refining |this| parameter. r=jandem 2015-07-28 10:33:00 -04:00
Lee Salzman
bd86b640a9 Bug 1185636 - Remove hard stop workaround for Cairo due to regressions. r=jrmuizel 2015-07-20 14:51:50 -04:00
Brian Birtles
3f73ccc047 Bug 1180125 part 8 - Dispatch transition events from refresh driver; r=dbaron
This patch causes transition events to be dispatched as a separate step after
sampling the transitions. Eventually this will allow us to sample transitions
from their timeline (independently of where they came from and in potentially
any order) by separating the concepts of sampling and event dispatch.
2015-07-29 10:57:40 +09:00
Brian Birtles
49a48fbf3a Bug 1180125 part 7 - Queue transition events from CSSTransition::Tick; r=dbaron
This patch moves the logic for queueing events out of the logic for flushing
transitions making it a separate step. It still doesn't delay the dispatch of
those events into a separate step, however. That is done in a subsequent patch.

This patch also makes sure to clear any queued events when the nsPresShell that
owns the transition manager is destroyed. We don't expect CSSTransition::Tick to
be called anywhere except nsTransitionManger::FlushTransitions so there
shouldn't be any orphaned events but for completeness it seems best to add this
now. (Later, when we tick transitions from their timeline we will need this.)

This patch introduces a separate flag to CSSTransition for tracking if a
transition is newly-finished so we can correctly dispatch the transitionend
event. Although, this may seem to be redundant with the "IsFinishedTransition"
we also track, that state will soon be removed in bug 1181392 and hence this
flag will be needed then.

Note that Animation already has flags mIsPreviousStateFinished and
mFinishedAtLastComposeStyle which would appear to be similar however,

- mIsPreviousStateFinished will be removed in bug 1178665 and is updated more
  often than we queue events so it is not useful here.
- mFinishedAtLastComposeStyle is used to determine if we can throttle a style
  update and is also updated more frequently than we queue events and hence
  can't be used here.

Once we guarantee one call to Tick() per frame we may be able to simplify this
by tracking "state on last tick" but for now we need this additional flag on
CSSTransition. CSSAnimation has a similar flag for this
(mPreviousPhaseOrIteration) which we may be able to unify at the same point.
2015-07-29 10:57:40 +09:00
Brian Birtles
29c39635b6 Bug 1180125 part 6 - Use DelayedEventDispatcher in nsTransitionManager; r=dbaron
This simply uses the DelayedEventDispatcher in place of the previous array of
TransitionEventInfo objects. Doing the actual delayed dispatch is performed in
a separate patch.
2015-07-29 10:57:40 +09:00
Brian Birtles
5e5e9d6e03 Bug 1180125 part 5 - Move TransitionEventInfo to nsTransitionManager.h; r=dbaron
This is needed so we can allocate storage in nsTransitionManager for the
transition events we will queue for delayed dispatch.
2015-07-29 10:57:40 +09:00
Brian Birtles
e6a266fe1a Bug 1180125 part 4 - Move PseudoTypeAsString to AnimationCollection and reuse; r=dbaron
Prior to this patch, CSSAnimation defined a method for converting an
nsCSSPseudoElements::Type to a nsString (but only for the set of
pseudo-elements that can have animations). We would like to re-use this
when setting up transition events so this patch moves it to
AnimationCollection. Re-using this method more widely means we can make
a few further simplifications to the code.
2015-07-29 10:57:40 +09:00
Brian Birtles
987e6e2843 Bug 1180125 part 3 - Extract DelayedEventDispatcher; r=dbaron
This patch extracts a utility class for queueing up a series of EventInfo
objects (of templated type) and then dispatching them. This covers the event
queuing behavior in nsAnimationManager so that we can reuse it in
nsTransitionManager.
2015-07-29 10:57:39 +09:00
Brian Birtles
94af843455 Bug 1180125 part 2 - Move AnimationCommon classes out of CSS namespace; r=dbaron
The long-term plan is to drop the mozilla::css namespace altogether. Before we
go to much further with refactoring code in AnimationCommon, we should drop
usage of the mozilla::css namespace. Specifically, this patch moves the
CommonAnimationManager and AnimValuesStyleRule classes to the mozilla namespace.
2015-07-29 10:57:39 +09:00
Brian Birtles
5d57d9c223 Bug 1180125 part 1b - Hook nsAnimationManager's list of events up to the cycle collector; r=dbaron 2015-07-29 10:57:39 +09:00
Brian Birtles
fae3fe0766 Bug 1180125 part 1 - Queue and dispatch CSS animation events as a separate step; r=dbaron
This patch prepares the way for script-generated events by making
event dispatch a separate process that happens after sampling animations.
This will allow us to sample animations from their associated timeline
(removing the need for a further manager to tracker script-generated
animations).

Furthermore, once we sample animations from timelines the order in which they
are sampled is likely to be more or less random so by making event dispatch at
separate step, we have an opportunity to sort the events and dispatch in
a consistent and sensible order. It also ensures that event callbacks will
not be run until all animations (including transitions) have been updated
ensuring they see a consistent view of timing properties.

This patch only affects event handling for CSS animations. Transitions will
be dealt with in a subsequent patch.
2015-07-29 10:57:39 +09:00
Brian Birtles
247206e2d0 Bug 1180125 part 0 - Fix an obvious bug in animation_utils.js; r=dbaron
There was a bug introduced in to animation_utils.js in
https://hg.mozilla.org/mozilla-central/rev/496e867cd2cd (bug 1070745). This
patch fixes this bug so we can be sure testing events correctly before messing
with them.
2015-07-29 10:57:38 +09:00
Karl Tomlinson
87eeef1a46 backout 9a8104912ebe for application timeout on B2G ICS emulator. bug 999376 2015-07-29 13:48:57 +12:00
Ryan VanderMeulen
ad078cb4ff Backed out changeset 40c187d91db4 (bug 1183604) for hazard analysis failures.
CLOSED TREE
2015-07-28 21:20:34 -04:00
Wes Kocher
6da6038d9b Merge m-c to inbound, a=merge 2015-07-28 18:03:34 -07:00
Wes Kocher
d06598f3ee Merge b2ginbound to central, a=merge 2015-07-28 17:57:43 -07:00
Wes Kocher
cbb47dc3c7 Merge fx-team to central, a=merge 2015-07-28 17:53:01 -07:00
Ryan VanderMeulen
515b1232e7 Merge m-c to fx-team. a=merge 2015-07-28 15:00:59 -04:00
Ryan VanderMeulen
9541586c14 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-28 15:00:20 -04:00
Ryan VanderMeulen
54ab300b67 Merge b2g-inbound to m-c. a=merge 2015-07-28 14:51:43 -04:00
Ryan VanderMeulen
42f4a5d56f Backed out 5 changesets (bug 1187817) for making test_mediatrack_consuming_mediaresource.html extremely failure-prone on B2G. a=me
Backed out changeset ae2e2dda1eec (bug 1187817)
Backed out changeset 74386997e5fb (bug 1187817)
Backed out changeset d31a0c93969f (bug 1187817)
Backed out changeset cf38bd59eb44 (bug 1187817)
Backed out changeset 264dad192c22 (bug 1187817)
2015-07-28 14:36:49 -04:00
Ryan VanderMeulen
50d519f161 Backed out changeset c88d1138bc38 (bug 1188091) for Mulet test_serviceworker_interfaces.html failures.
CLOSED TREE
2015-07-28 13:28:39 -04:00
B2G Bumper Bot
a26e06d46a Bumping manifests a=b2g-bump 2015-07-28 09:27:08 -07:00
B2G Bumper Bot
363fc8861b Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/b176b86e412f
Author: Borja Salguero <borjasalguero@users.noreply.github.com>
Desc: Merge pull request #31116 from borjasalguero/window_open

Bug 1182509 - [Contacts][NGA] Open contacts_matching with window.open

========

https://hg.mozilla.org/integration/gaia-central/rev/04037a1d8e41
Author: jpruden92 <jorgepruden@gmail.com>
Desc: Bug 1182509 - [Contacts][NGA] Open contacts_matching with window.open
2015-07-28 09:25:07 -07:00
Ryan VanderMeulen
e3f2a58ec9 Backed out changeset df33f085e1a6 (bug 1185775) for making bug 1181446 basically permafail on Win7.
CLOSED TREE
2015-07-28 11:15:41 -04:00
Carsten "Tomcat" Book
f1e7454cab Backed out changeset e3c15b9f89b3 (bug 1185643) for possibly breaking mulet tests on a CLOSED TREE 2015-07-28 17:06:19 +02:00
Carsten "Tomcat" Book
58eb1939e7 Merge mozilla-central to mozilla-inbound 2015-07-28 16:30:58 +02:00
Carsten "Tomcat" Book
352596c8ac merge mozilla-inbound to mozilla-central a=merge 2015-07-28 16:28:02 +02:00
Carsten "Tomcat" Book
3e8c70e6b2 merge fx-team to mozilla-central a=merge 2015-07-28 16:11:49 +02:00
Paolo Amadini
6974cab3f6 Bug 1184060 - Anchor the Control Center to the middle of the icons in the identity block. r=ttaubert 2015-07-28 14:51:19 +01:00
Georg Fritzsche
471f9ccce0 Bug 1187339 - Always duplicate-save new main pings as aborted-session pings. r=dexter 2015-07-28 18:05:35 +02:00
Georg Fritzsche
d25026efd8 Bug 1183632 - Don't generate child Telemetry payloads for the thumbnail service in non-e10s. r=dexter 2015-07-28 18:05:35 +02:00
Georg Fritzsche
667ceccf06 Bug 1187879 - Fix missing uitour ping entry in Telemetry doc index. r=dexter 2015-07-28 18:05:35 +02:00
Georg Fritzsche
5dac4f282f Bug 1187879 - Clarify Telemetry pref default behavior in documentation. r=dexter 2015-07-28 18:05:35 +02:00
Marco Bonardo
e214131ecd Bug 1179153 - location bar shows "search with Google" as the default action even when keyword.enabled is false. r=Mossop 2015-07-28 17:51:18 +02:00
Alexandre Poirot
976c82cca1 Bug 1182194 - Remove DevToolsUtils.jsm (in favor of its module). r=jwalker 2015-07-28 08:03:18 -07:00
Alexandre Poirot
f8a112ea52 Bug 1182194 - Use DevToolsUtils module instead of JSM. r=jwalker 2015-07-28 08:03:17 -07:00
Alexandre Poirot
8ba0e10442 Bug 1172010 - Fix promise loader path. r=jwalker 2015-07-28 08:03:17 -07:00
Alexandre Poirot
9ac63a41fe Bug 1172010 - Fix tools reload gcli command. r=jwalker 2015-07-28 08:03:17 -07:00
Alexandre Lissy
187bb9863a Bug 1188336 - Enable Mulet TaskCluster Gbu. r=garndt 2015-07-28 07:32:00 -04:00
Alexandre Lissy
c7e463f726 Bug 1188338 - Enable Mulet TaskCluster Li. r=garndt 2015-07-28 07:32:00 -04:00
B2G Bumper Bot
90a876205c Bumping manifests a=b2g-bump 2015-07-28 13:23:04 -07:00
B2G Bumper Bot
072670be57 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/5ec7add1a5ed
Author: Ryan VanderMeulen <ryanvm@gmail.com>
Desc: Merge pull request #30525 from wilsonpage/1054239

Bug 1054239 - [system][notifications-tray] Swiping up anywhere on the open tray should close

========

https://hg.mozilla.org/integration/gaia-central/rev/ffd898f3e93d
Author: Wilson Page <wilsonpage@me.com>
Desc: Bug 1054239 - [system][notifications-tray] Swiping up anywhere on the open tray should close
2015-07-28 13:21:04 -07:00
B2G Bumper Bot
d02a6de3b4 Bumping manifests a=b2g-bump 2015-07-28 12:37:08 -07:00
B2G Bumper Bot
150cc679a9 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/336c112c4edf
Author: Ben Francis <ben@tola.me.uk>
Desc: Merge pull request #31025 from albertopq/1168948-pinning-preview-card2

Bug 1168948 - Adding preview card r=benfrancis

========

https://hg.mozilla.org/integration/gaia-central/rev/ea84b0a71c21
Author: albertopq <albert.pastor@gmail.com>
Desc: Bug 1168948 - Adding preview card r=benfrancis
2015-07-28 12:35:08 -07:00
Marco Bonardo
a28de8f7fe Bug 1184960 - Limit the usable text to get search suggestions. r=Mossop 2015-07-28 10:21:40 +02:00
David Anderson
b4869047ca Update telemetry docs. (bug 1187453, r=vladan) 2015-07-28 00:55:25 -07:00
David Anderson
464c133d28 Add a "blacklisted" property to d3d11 telemetry. (bug 1187453, r=mattwoodrow) 2015-07-28 00:54:33 -07:00
David Anderson
444f7f4afd Add layers.offmainthreadcomposition.enabled to telemetry. (bug 1187453, r=vladan) 2015-07-28 00:54:07 -07:00