Commit Graph

176648 Commits

Author SHA1 Message Date
Nicholas D. Matsakis
2fcb8c5d14 Bug 977126 Part 3 -- Inline SetTypedObjectOffset intrinsic r=shu 2014-03-20 10:04:46 -04:00
Nicholas D. Matsakis
9256de356d Bug 977126 Part 2 -- Changes to x86/x64 to support subPtr(Register,Address) r=jandem 2014-03-20 10:03:57 -04:00
Nicholas D. Matsakis
0af66a454f Bug 977126 Part 1 -- Changes to arm to support subPtr(Register,Address) r=mjrosenb 2014-03-20 10:02:24 -04:00
Nicholas D. Matsakis
a7e97bbc16 Bug 991234 -- Squelch warning r=h4writer 2014-04-03 05:45:39 -04:00
Bill McCloskey
87fd65aa1b Bug 989504 - [e10s] Disable test_window_open_position_constraint.html in e10s (r=roc) 2014-04-03 11:45:32 -07:00
Mats Palmgren
76ea7c2156 Bug 990655 - Don't apply 'text-overflow' to nsComboboxControlFrame, its anon block deals with it. r=roc 2014-04-03 18:02:09 +00:00
Mats Palmgren
e933738778 Bug 967296 - Remove diagnostic code added in bug 946929. r=tn 2014-04-03 18:02:08 +00:00
Jan de Mooij
2cd42336bd Bug 991069 - Optimize MPostWriteBarrier OOL path to not save non-volatile regs. r=terrence 2014-04-03 20:01:30 +02:00
Daniel Holbert
e1e2408909 Bug 991512: Add convenience methods to calculate outer main & cross size of a FlexItem. r=mats 2014-04-03 10:40:12 -07:00
Ryan VanderMeulen
5b094723b1 Backed out changeset 234d50648ad1 (bug 983022) for non-Linux build bustage.
CLOSED TREE
2014-04-03 11:38:27 -04:00
Brian Hackett
0ce01fb73f Bug 989503 - Recover cleanly after OOM while adding type object properties, r=jandem. 2014-04-03 08:27:51 -07:00
Hannes Verschore
cbce0dbccd Bug 991618 - IonMonkey: Set AliasSet on MBail, r=nbp 2014-04-03 17:16:23 +02:00
David Rajchenbach-Teller
2ec9408c00 Bug 991038 - Uncaught async error in DownloadIntegration.jsm. r=paolo 2014-04-03 11:01:07 -04:00
Kartikaya Gupta
c57736de6f Bug 988800 - Catch and ignore situations where we try to composite on a destroyed LayerRenderer instance. r=Cwiiis 2014-04-03 11:01:07 -04:00
Vincent Liu
e2501186d2 Bug 983022 - [tarako] Need minidump screen shot. r=ted, r=gal 2014-04-03 10:28:07 +08:00
Wan-Teh Chang
542dc7b9a1 Bug 849085: Update to NSPR_4_10_5_BETA3. Also includes fixes for
bug 989497 and bug 986745.
2014-04-03 07:24:00 -07:00
Patrick McManus
d171aafe06 bug 968417 - revalidating images needs loadgroup parent for spdy push r=seth 2014-01-29 22:35:40 -05:00
Carsten "Tomcat" Book
0636f0c304 Backed out changeset 08d032cb14a9 (bug 965656) for B2G ICS Emulator Opt M7 Test Failures 2014-04-03 13:47:52 +02:00
Carsten "Tomcat" Book
c0ba169d45 Merge m-c to mozilla-inbound 2014-04-03 12:52:13 +02:00
Carsten "Tomcat" Book
f5443911b3 merge b2g-inbound to mozilla-central 2014-04-03 12:48:14 +02:00
Carsten "Tomcat" Book
70292f3a24 merge fx-team to mozilla-central 2014-04-03 12:46:58 +02:00
Carsten "Tomcat" Book
85c25341ba merge mozilla-inbound to mozilla-central 2014-04-03 12:45:02 +02:00
Jan de Mooij
39d047b4dd Bug 989204 followup - Fix Windows build. r=red 2014-04-03 12:08:31 +02:00
Jan de Mooij
e31afdd474 Bug 989204 part 2 - Don't use bound functions for arrow functions. r=jorendorff,bhackett
--HG--
extra : rebase_source : a730255b4f3458465272fe1ee8ab9724f68af723
2014-04-03 11:29:04 +02:00
Jan de Mooij
339c98acbb Bug 989204 part 1 - Add some arrow function tests. r=jorendorff
--HG--
extra : rebase_source : 0b3c9ddd82621fd76e7d48559f339cdea6c40a76
2014-04-03 11:18:32 +02:00
Phil Ringnalda
090ed1b84f Back out 81dd398600c4 (bug 850336) for linux bc2 leaks-until-shutdown 2014-04-02 23:17:37 -07:00
B2G Bumper Bot
7546f38c68 Bumping manifests a=b2g-bump 2014-04-02 23:06:18 -07:00
Cameron McCormack
290e93fc7d Bug 957833 - Enable CSS Variables by default in release builds. r=dbaron 2014-04-03 17:05:28 +11:00
Nicolas Silva
9e32afc054 Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow 2014-04-03 14:04:04 +08:00
B2G Bumper Bot
032fbfb192 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ee69e9abde3e
Author: David Flanagan <dflanagan@mozilla.com>
Desc: Merge pull request #17930 from davidflanagan/bug990630

Bug 990630: extract the EXIF preview metadata that media frame needs r=jdarcangelo

========

https://hg.mozilla.org/integration/gaia-central/rev/d24179d3a963
Author: David Flanagan <dflanagan@mozilla.com>
Desc: Bug 990630: extract the EXIF preview metadata that media frame needs

don't parse EXIF again when creating thumbnail

Diego's README changes

update tests
2014-04-02 23:01:11 -07:00
Brian Birtles
917d2e24b6 Bug 880596 part 9 - Fix comment about mFlushCount; r=dbaron
Two comments in AnimationCommon.h refer to 'mFlushCount' which was presumably
the old name for mAnimationGeneration. Also, one comment says
nsCSSFrameConstructor tracks this. This patch adjusts the comments to refer
to mAnimationGeneration and RestyleManager.

(The reference to nsTransitionManager::UpdateAllThrottleStyles() is still valid
since there is useful documentation accompanying that method despite the fact
that the relevant code is mostly contained in AnimationCommon.h since bug
914847. Eventually we will unify the structures of transitions and
animations to the the point that we can replace the
IMPL_UPDATE_ALL_THROTTLED_STYLES_INTERNAL macro in AnimationCommon.h with an
actual method. At that point we can move the documentation accompanying
nsTransitionManager::UpdateAllThrottleStyles and its references to
AnimationCommon.)
2014-04-03 14:57:28 +09:00
Brian Birtles
ae6e60dda5 Bug 880596 part 8 - Rename ElementAnimation to StyleAnimation; r=dbaron
We need a basic representation of animations from which we can derive subclasses
to represent specific cases such as transitions. For now we will retrofit
ElementAnimation for that purpose hence renaming it to StyleAnimation.

This patch removes the "using namespace mozilla::layers" line from
AnimationCommon.cpp since the unified build system concatenates several files
together before compiling making using declarations like this leak into other
files potentially creating ambiguities. Previously, when we were calling
ElementAnimation, 'Animation', there were ambiguities between
mozilla::layers::Animation and this new 'Animation' class. In general, it is
probably a good idea to limit the scope of these using declarations so I've kept
that change.
2014-04-03 14:57:28 +09:00
Brian Birtles
095840cb6d Bug 880596 part 7 - Move ElementAnimation to AnimationCommon; r=dbaron
This patch relocates ElementAnimation from nsAnimationManager.{h,cpp} to
AnimationCommon.{h,cpp} and in the process moves it into the mozilla::css
namespace.
2014-04-03 14:57:28 +09:00
Brian Birtles
c4ffbc205d Bug 880596 part 6 - Factor out common method for adding animations and transitions to a layer; r=dbaron
The loops for adding animations and transitions to a layer in
nsDisplayList::AddAnimationsAndTransitionsToLayer are now identical and so can
be factored out into a common method.

Since it is not possible to implicitly convert from
nsTArray<ElementPropertyTransition> to nsTArray<ElementAnimation> despite
ElementPropertyTransition being a subclass of ElementAnimation a templated
method is used. In the future, as animations and transitions share more and more
code, we should be able to remove the need for templates.
2014-04-03 14:57:28 +09:00
Brian Birtles
e4bdcd3cfb Bug 880596 part 5 - Make ElementAnimation::HasAnimationOfProperty no longer virtual; r=dbaron
ElementAnimation::HasAnimationOfProperty doesn't seem to be overridden anywhere.
I suspect it was a copy-paste mistake because the methods of the same name on
ElementAnimations, ElementTransitions, and CommonElementAnimationData are
virtual.
2014-04-03 14:57:28 +09:00
Brian Birtles
217cb32ecc Bug 880596 part 4 - Reuse ElementAnimation::HasAnimationOfProperty; r=dbaron
Now that ElementTransitionProperty inherits from ElementAnimation,
ElementTransitions::HasAnimationOfProperty can re-use
ElementAnimation::HasAnimationOfProperty in its definition of
ElementTransitions::HasAnimationOfProperty.

Similarly, in nsDisplayList::AddAnimationsAndTransitionsToLayer we can use this
method rather than drilling down to the appropriate segment by hand.
2014-04-03 14:57:27 +09:00
Brian Birtles
e503422f93 Bug 880596 part 3 - Remove ElementPropertyTransition::IsRunningAt and mIsRunningOnCompositor; r=dbaron
Both ElementPropertyTransition and ElementAnimation specify an IsRunningAt
method which have the same purpose but with two subtle differences:

a) ElementPropertyTransition::IsRunningAt checks if the transition is a removed
sentinel and if so returns false. This patch adds a check for a null start time
to IsRunningAt since I think in future we will want to allow null times in
various places to represent, for example, animations that are not connected to
a timeline. (However, ultimately we will probably not allow start times on
*animations* to be null, only on their associated player.)

Should we later use a different mechanism for marking sentinel transitions (e.g.
a boolean flag) this method should still be correct as it checks if aTime is
inside the transition interval before returning true.

b) ElementPropertyTransition::IsRunningAt returns false if the transition is in
the delay phase, that is, waiting to start. This patch changes this behavior so
that transitions are considered running even if they are in the delay phase.
This brings their behavior into line with animations and removes the need for
the ElementPropertyTransition::mIsRunningOnCompositor since it is only used to
determine when a transition in the delay phase has begun.

ElementAnimation::IsRunningAt also handles pause state and iterations but this
logic should still be correct for transitions which, in this area, only use
a subset of the functionality of animations since their pause state is always
playing and their iteration count is 1.
2014-04-03 14:57:27 +09:00
Brian Birtles
5e2f8ede42 Bug 880596 part 2 - Make ElementPropertyTransition inherit from ElementAnimation; r=dbaron
As part of moving towards more shared data structures for animation, this patch
makes ElementPropertyTransition inherit from ElementAnimation. At the same time
we switch from storing the target property, start/end values, start time, delay,
and timing function on the transition to the corresponding location in
ElementAnimation.

Since nsDisplayList::AddAnimationsAndTransitionsToLayer was already doing this
conversion in order to create animations to pass to the compositor thread, we
can remove the conversion code from there and just use the ElementAnimation data
structures as-is.

A number of assertions are added to verify that transitions are set up as
expected (namely, they have only a single property-animation with a single
segment). As we move to more generic handling of animations and transitions
these assertions should disappear.
2014-04-03 14:57:27 +09:00
Brian Birtles
19e2304b94 Bug 880596 part 1 - Separate delay from start time for transitions; r=dbaron
As a first step towards making CSS animations and CSS transitions use the same
data structures, this patch aligns their behavior with regards to start time and
delay handling.

Previously, ElementAnimation objects maintained separate mStartTime and mDelay
members whilst ElementPropertyTransition objects maintained a single mStartTime
property that incorporated the delay. This patch adds an mDelay member to
ElementPropertyTransition and stores the delay and start time separately.
Calculations involving ElementPropertyTransition::mStartTime are adjusted to
incorporate mDelay.
2014-04-03 14:57:27 +09:00
L. David Baron
4d2197bf3c Bug 975397 - Call TrackImage when constructing a new nsStyleBorder. r=heycam
I confirmed that the crashtest crashes in the harness without the patch.

--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/style/crashtests/blue-32x32.png
2014-04-02 22:56:19 -07:00
Phil Ringnalda
4625abfb46 Merge m-c to b-i 2014-04-02 21:26:24 -07:00
Phil Ringnalda
8affba3c3b Merge m-c to f-t 2014-04-02 21:25:05 -07:00
B2G Bumper Bot
6d45558474 Bumping manifests a=b2g-bump 2014-04-02 21:06:10 -07:00
B2G Bumper Bot
4df1ef900f Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/e6c4a9eb4ba5
Author: gasolin <gasolin@gmail.com>
Desc: Merge pull request #17683 from gasolin/issue--971538

Bug 971538 - [System2] Instantiable PermissionManager, r=alive

========

https://hg.mozilla.org/integration/gaia-central/rev/2d960ba50df5
Author: gasolin <gasolin@gmail.com>
Desc: Bug 971538 - [System2] Instantiable PermissionManager

- rename currentPermission to permissionType
2014-04-02 21:01:08 -07:00
B2G Bumper Bot
5c2da68bf5 Bumping manifests a=b2g-bump 2014-04-02 20:08:22 -07:00
B2G Bumper Bot
68b422baea Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/2f5576bf01a6
Author: Hubert Figuière <hub@figuiere.net>
Desc: Merge pull request #17092 from hfiguiere/bug980972

Bug 980972 - assert if we actually timeout. r=julienw

========

https://hg.mozilla.org/integration/gaia-central/rev/413d2958dbe0
Author: Hubert Figuière <hub@figuiere.net>
Desc: Bug 980972 - Report a ScriptTimeout the error and have the test deal with it. r=julienw
2014-04-02 20:08:11 -07:00
Wes Kocher
a13adb397a Merge m-c to b2g-inbound 2014-04-02 19:55:38 -07:00
B2G Bumper Bot
94350376c0 Bumping manifests a=b2g-bump 2014-04-02 19:46:03 -07:00
B2G Bumper Bot
be7edbe357 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/e2352010e271
Author: Justin D'Arcangelo <justindarc@gmail.com>
Desc: Merge pull request #17926 from justindarc/bug987609

Bug 987609 - [Camera][Madai][UX] Gallery/preview Image number should be ...

========

https://hg.mozilla.org/integration/gaia-central/rev/a26aeba93555
Author: Justin D'Arcangelo <justindarc@gmail.com>
Desc: Bug 987609 - [Camera][Madai][UX] Gallery/preview Image number should be visible when swiping
2014-04-02 19:41:12 -07:00
Seth Fowler
c849c6ff88 Bug 967985 - Don't retarget OnDataAvailable when not storing source data. r=tn
--HG--
extra : rebase_source : d3048bf3d949650f01ae97786cb5ca2d54aa3087
2014-04-02 19:20:25 -07:00