Граф коммитов

354534 Коммитов

Автор SHA1 Сообщение Дата
Sushil Chauhan 3dadf39115 Bug 965102 - Gecko changes to set HWC_GEOMETRY_CHANGED flag appropriately. r=mattwoodrow 2014-04-03 18:59:13 -07:00
Carsten "Tomcat" Book 13dce8ce1d Backed out changeset bae32cf47dec (bug 988882) since it seems this breaks debug-bc tests 2014-04-04 13:23:20 +02:00
Masatoshi Kimura 994deefc67 Bug 991690 - Remove the classinfo from EventListenerInfo. r=smaug 2014-04-04 20:04:00 +09:00
Carsten "Tomcat" Book baf890e7e0 Backed out changeset 17941c43375f (bug 991575) for test failures like reftests and others 2014-04-04 12:36:43 +02:00
Eric Faust 3221b1af3a Bug 989204 - Followup: Fix --disable-optimize JS shell build. (r=jandem over IRC) 2014-04-04 02:25:46 -07:00
Jonathan Watt 2aca4e1214 Backout e401dfeab8b7 (bug 991572) for crashtest assertion. r=orange 2014-04-04 10:03:41 +01:00
Jonathan Watt c10f7fac73 Bug 991572 - Stop creating a Thebes backed gfxContext in CanvasRenderingContext2D.cpp, and kill off nsICanvasRenderingContextInternal::GetThebesSurface (Moz2D migration). r=mattwoodrow 2014-04-04 09:15:59 +01:00
Jonathan Watt 2b13f3c0b0 Bug 991575 - Stop PresShell::GetReferenceRenderingContext from creating a Thebes backed gfxContext (Moz2D migration). r=mattwoodrow 2014-04-04 09:15:57 +01:00
Marco Zehe 00e3bb9eeb Bug 989958 - Expose PRESSED state on a native button element and remove CHECKABLE state from toggle buttons, r=surkov, r=eeejay 2014-04-04 10:01:19 +02:00
Karl Tomlinson 4d914ea8a6 b=990794 crash on ovrfl in AllocateAudioBlock r=roc
--HG--
extra : transplant_source : %030X%15H%0DN%AA%7B%AEl%2Bi%2A%AB%3D%9C%23%0C%FF
2014-04-03 21:12:54 +13:00
Karl Tomlinson 2bf82558a9 b=990794 crash on ovrfl in SharedBuffer::Create() r=roc
--HG--
extra : transplant_source : %3F%C2%21%06%C0%A8Z%14%93%82%90%2CT%CE%3E%EC%C2%D0%E4W
2014-04-03 21:12:29 +13:00
Timothy Nikkel 95f2c7a154 Bug 992485. Make nsIMM32Handler::OnUpdateComposition less spammy to the console. r=m_kato
browser chrome tests hit it about 20,000 times per run.
2014-04-06 20:11:12 -05:00
David Zbarsky 02a20c5e41 Bug 991142 - Remove CreateThebesSurfaceAliasForDrawTarget_hack r=benwa 2014-04-06 19:21:27 -04:00
Dan Minor 8f55ecba8c Bug 988532 - Remove jit-tests from 'make check'; r=gps 2014-04-03 13:56:33 -04:00
Jan Beich 83d1efd254 Bug 991966 - Add/sort missing asm.js stubs for --disable-ion after bug 878399. r=benj 2014-04-06 08:18:27 +02:00
Bobby Holley 1383b4163b Bug 980537 - Only store FakeBackstagePass instances in mThisObjects. r=khuey 2014-04-06 12:32:39 -07:00
Bobby Holley 720fe1f508 Bug 986730 - Put all anonymous content into the XBL scope. r=smaug 2014-04-06 12:32:39 -07:00
Bobby Holley e0121ab8a2 Bug 986730 - Add a dynamic accessor to determine whether a node is in an anonymous subtree. r=smaug 2014-04-06 12:32:38 -07:00
Bobby Holley cd810d2973 Bug 986730 - Rename NODE_IS_IN_ANONYMOUS_SUBTREE to NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE, since that's what it is. r=smaug 2014-04-06 12:32:38 -07:00
Bobby Holley df7f0b15e1 Bug 986730 - Run the FeedWriter sandbox with an expanded principal. r=mrbkap 2014-04-06 12:32:38 -07:00
Bobby Holley 106a5de3c3 Bug 986730 - Prevent a NAC-parented plugin from trying to touch its reflector. r=johns
jwatt indicated that he thinks we shouldn't support this use case, and thinks
this is the right approach.
2014-04-06 12:32:38 -07:00
Bobby Holley d3af0fb41f Bug 986730 - Fix up a bunch of tests that assume that they can touch AC in content. r=mrbkap 2014-04-06 12:32:38 -07:00
Bobby Holley 404046e484 Bug 988655 - Stop returning true for shadow DOM nodes in nsIContent::IsInAnonymousSubtree. r=mrbkap 2014-04-06 12:32:37 -07:00
Jonathan Watt 083d61d838 Bug 990082 - Add missing null check to nsWindowGfx::CreateIcon. r=sparky 2014-04-06 15:41:45 +01:00
Henry Chang b1c0a1fd40 Bug 906164 - Do NOT ack the received system message until being about to handle it. r=gene 2014-04-03 14:51:30 +08:00
Phil Ringnalda a21ec22a24 Back out 81dd398600c4 (bug 850336) for linux bc2 leaks-until-shutdown 2014-04-02 23:17:37 -07:00
B2G Bumper Bot 5ac934e7c5 Bumping manifests a=b2g-bump 2014-04-02 23:06:18 -07:00
Cameron McCormack f61c43798c Bug 957833 - Enable CSS Variables by default in release builds. r=dbaron 2014-04-03 17:05:28 +11:00
Nicolas Silva 3cb6d93ac3 Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow 2014-04-03 14:04:04 +08:00
B2G Bumper Bot 497a17eded 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 69ad5c898e 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 016517a8be 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 70cf5d9db3 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 45430e6749 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 32b1480e8c 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 e4ad12be38 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 5692eb597f 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 0717077492 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 b2bfc795ed 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 2fe45fbadd 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 f7dc934c40 Merge m-c to b-i 2014-04-02 21:26:24 -07:00
Phil Ringnalda 4aa02382f6 Merge m-c to f-t 2014-04-02 21:25:05 -07:00
B2G Bumper Bot 04d20e1421 Bumping manifests a=b2g-bump 2014-04-02 21:06:10 -07:00
B2G Bumper Bot 9b18db5fbb 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 5e8b45c8d8 Bumping manifests a=b2g-bump 2014-04-02 20:08:22 -07:00
B2G Bumper Bot b1216d05e8 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 f41e0c4cbc Merge m-c to b2g-inbound 2014-04-02 19:55:38 -07:00
B2G Bumper Bot ad403cb0a6 Bumping manifests a=b2g-bump 2014-04-02 19:46:03 -07:00
B2G Bumper Bot 1b6527818d 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
Vincent Liu 988d69265c Bug 983022 - [tarako] Need minidump screen shot. r=ted, r=gal 2014-04-03 10:28:07 +08:00