Commit Graph

185056 Commits

Author SHA1 Message Date
Markus Stange
709cb5dac4 Bug 1013392 - Adjust the search algorithm for async scrollbar thumb shifting. r=kats 2014-05-28 16:14:43 +02:00
Markus Stange
1ccabb9ab2 Bug 1013392 - Put APZ scrollbar annotations on the scrollbar thumb. r=roc 2014-05-28 16:14:43 +02:00
Markus Stange
350a6b0c92 Bug 1012797 - Speed up rendering of linear gradients when only painting the uniform color beyond the gradient edge. r=roc 2014-05-28 16:14:42 +02:00
Jonathan Watt
2d60d77b79 Bug 1015780 - Make Moz2D's GetAlignedStride() faster. r=Bas 2014-05-28 14:30:56 +01:00
Jonathan Watt
39444ea405 Bug 1016123 - Make VectorImage::HeapSizeOfVectorImageDocument include the size of the SVGDocument. r=njn 2014-05-28 14:30:52 +01:00
Jonathan Watt
c369eb5c82 Bug 1016131 - Fix crash in nsCSSStyleSheet::IsApplicable when dom.forms.number is disabled. r=dholbert 2014-05-28 14:28:34 +01:00
Markus Stange
e9ce7c7889 Bug 870238 - Stop using the deprecated API -[NSWindow userSpaceScaleFactor]. r=jfkthame 2014-05-28 15:22:16 +02:00
Markus Stange
39789114a7 Bug 1016569 - For 10.7 non-overlay scrollbars, draw the scrollbar track and the scrollbar thumb separately. r=smichaud 2014-05-28 15:22:16 +02:00
Ed Morley
7a51112e77 Bug 829684 - jsreftests should prefix test print()s with "TEST-INFO | " to avoid TBPL false positives; r=terrence 2013-03-08 07:23:00 +00:00
Carsten "Tomcat" Book
4719cf159c Merge mozilla-central to mozilla-inbound 2014-05-28 14:48:41 +02:00
Carsten "Tomcat" Book
9c73951370 merge b2g-inbound to mozilla-central 2014-05-28 14:33:48 +02:00
Carsten "Tomcat" Book
7f9c4ef8ba merge mozilla-inbound to mozilla-central 2014-05-28 14:22:02 +02:00
Brian Birtles
d48a8e62e9 Bug 1004361 - Dispatch animationstart events as well when skipping entire animation intervals; r=dholbert 2014-05-28 16:51:50 +09:00
Brian Birtles
4457eea22f Bug 1015803 - Align Layers' Animation.numIterations with AnimationTiming.mIterationCount; r=dholbert
In the IPC Animation struct used in layers code we have a member called
'numIterations' where 'iterate forever' is represented by -1.

In layout/style however we have an AnimationTiming struct with an
mIterationCount member where 'iterate forever' is represented by
NS_IEEEPositiveInfinity().

This patch renames 'numIterations' to 'iterationCount' and uses infinity to
represent 'iterate forever'.
2014-05-28 16:51:50 +09:00
Brian Birtles
4af2cc49f7 Bug 1004871 part 11 - Move ElementAnimation members closer together for readability and packing; r=dholbert
Also shuffle the initialization of members in
nsAnimationManager::BuildAnimations to roughly match the order in which they
are declared (with the exception that mPlayState needs to be set before calling
IsPaused() which is used to set mPauseStart).
2014-05-28 16:51:50 +09:00
Brian Birtles
5a990f0766 Bug 1004871 part 10 - Stop passing a fill mode of "both" to GetComputedTimingAt for throttled samples; r=dholbert
This was only needed when we were inspecting the returned time fraction but now
that we inspect the phase it's not necessary to force the fill mode to "both".
2014-05-28 16:51:50 +09:00
Brian Birtles
510ffce362 Bug 1004871 part 9 - Move ElementAnimations::GetPositionInIteration to ElementAnimation::GetComputedTimingAt; r=dholbert
This patch simply moves the code from ElementAnimations to ElementAnimation so
that it can later be used in transitions code and so we can later move
EnsureStyleRuleFor to ElementAnimation.
2014-05-28 16:51:50 +09:00
Brian Birtles
88b33826c4 Bug 1004871 part 8 - Simplify ElementAnimations::GetEventsAt; r=dholbert
This patch shuffles the code in ElementAnimations::GetEventsAt to make it easier
to follow.

It also removes a check for whether or not the animation is paused.
Previously we would not dispatch events if the animation was paused and in its
active phase (but we would if the animation had finished). There doesn't seem to
be any reason for this. If the animation was paused between the last sample and
the current sample and the boundary of an iteration also occurred in that time
then I expect we should dispatch that event. Removing this check for the pause
state does not cause any tests fail.

Separating out the event logic here makes it clear that we do not dispatch start
events in the situation where one sample falls before the active interval and
one sample falls after it (filed as bug 1004361). This patch adds a comment to
this effect.
2014-05-28 16:51:49 +09:00
Brian Birtles
68e07b4a10 Bug 1004871 part 7 - Remove event queueing from GetPositionInIteration and do it in GetEventsAt; r=dholbert
This patch simply shifts the event-related code from GetPositionInIteration to
GetEventsAt. Although there are simplifications that could be done to
GetEventsAt, they are deferred to a subsequent patch so as not to obscure the
translation of code from one function to another.

As a result of moving event-related handling from GetPositionInIteration it no
longer needs to support different main-thread vs compositor modes.
2014-05-28 16:51:49 +09:00
Brian Birtles
f9a1779d4d Bug 1004871 part 6 - Make GetPositionInIteration return a ComputedTiming object; r=dholbert
This patch makes ElementAnimations::GetPositionInIteration return
a ComputedTiming object instead of just a time portion (time fraction).

Since the ComputedTiming object includes phase information, we can fix those
parts of EnsureStyleRule and GetEventsAt that were temporarily using the time
portion to guess if the animation might have finished or not.
2014-05-28 16:51:49 +09:00
Brian Birtles
5de24213a8 Bug 1004871 part 5 - Add ComputedTiming data structure; r=dholbert
This patch adds a ComputedTiming struct for storing the results of calculating
the timing properties of an animation at a given sample time.
2014-05-28 16:51:49 +09:00
Brian Birtles
5823fef61b Bug 1004871 part 4 - Move FillsForwards/FillsBackwards to AnimationTiming; r=dholbert
This patch moves the FillsForwards/FillsBackwards methods previously defined on
ElementAnimations to the structure contain the fill mode: AnimationTiming. It
also changes GetPositionInIteration to use these methods.
2014-05-28 16:51:49 +09:00
Brian Birtles
ae4fac1710 Bug 1004871 part 3 - Replace parameters to GetPositionInIteration with an AnimationTiming object; r=dholbert
This patch makes use of the AnimationTiming struct introduced in the previous
patch to simplify calls to ElementAnimations::GetPositionInIteration.
2014-05-28 16:51:49 +09:00
Brian Birtles
f22f27e127 Bug 1004871 part 2 - Add AnimationTiming struct, to encapsulate animation timing parameters; r=dholbert
Introduces a struct to store timing parameters for passing to
GetPositionInIteration. In future this struct is expected to be expanded to
include other timing parameters as well (based roughly on Web Animations'
"Timing" interface, hence the name AnimationTiming).
2014-05-28 16:51:49 +09:00
Brian Birtles
2fe00ba5c9 Bug 1004871 part 1 - Factor event queuing out of EnsureStyleRuleFor; r=dholbert
This patch moves event queuing out of EnsureStyleRuleFor into a separate method.
This is a preparatory step towards making GetPositionInIteration into a more
generic method for calculating the current time fraction.

In order to achieve this, GetPositionInIteration needs to be able to calculate
the correct time portion for times outside the range [0, 1] even when it is not
passed a ElementAnimation object. Specifically, it needs the fill mode of the
animation to be passed in.

(Rather than using FillForwards/FillBackwards this patch just compares the
NS_STYLE_ANIMATION_FILL_MODE_* values directly but FillForwards/FillBackwards
are restored in a subsequent patch when they are added to the struct used to
lump the timing parameters together.)

There are a number of places where positionInIteration is used to determine if
the current sample occurs in the active phase or after. This is sub-optimal but
is fixed in a subsequent patch in this series.

The actual work of removing event queuing from GetPositionInIteration is
deferred to a subsequent patch in order to keep the changes as small as
possible. This patch simply makes separate calls to GetPositionInIteration for
interpolating and for event queuing.
2014-05-28 16:51:48 +09:00
Randell Jesup
51036cd19e Bug 743703: allow mirroring of trace logs to NSPR; fix backwards lazy allocation defines r=pkerr 2014-05-28 03:18:33 -04:00
B2G Bumper Bot
2c9452eb0e Bumping manifests a=b2g-bump 2014-05-27 22:38:15 -07:00
B2G Bumper Bot
923f60eea8 Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f2274c0c94a9
Author: BavarianTomcat <tomcat@mozilla.com>
Desc: Revert "Bug 1006357 - make test agent to run tests from all apps locally and in travis" for build bustages

This reverts commit f382b51dc36de20de9ad06bb1798f8300dd164a8.
2014-05-27 22:36:04 -07:00
B2G Bumper Bot
4b380bdf71 Bumping manifests a=b2g-bump 2014-05-27 22:28:43 -07:00
B2G Bumper Bot
d3fd05ed77 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/2a9addc4e134
Author: RickyChien <ricky060709@gmail.com>
Desc: Merge pull request #19699 from RickyChien/bug-936520-follow-up

Bug 936520 - Follow-up, update gaia_node_modules.revision r=me

========

https://hg.mozilla.org/integration/gaia-central/rev/6795d7d12112
Author: Ricky Chien <ricky060709@gmail.com>
Desc: Bug 936520 - Follow-up, update gaia_node_modules.revision

========

https://hg.mozilla.org/integration/gaia-central/rev/a598979586c4
Author: RickyChien <ricky060709@gmail.com>
Desc: Merge pull request #19025 from RickyChien/bug-936520

Bug 936520 - [mocha] we can't see console.error in the console r=@julienw

========

https://hg.mozilla.org/integration/gaia-central/rev/595e5893c1e1
Author: Ricky Chien <ricky060709@gmail.com>
Desc: Bug 936520 - [mocha] we can't see console.error in the console
2014-05-27 22:25:57 -07:00
B2G Bumper Bot
e325340462 Bumping manifests a=b2g-bump 2014-05-27 20:26:23 -07:00
B2G Bumper Bot
3131263fe5 Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/99663e0fba4c
Author: Greg Weng <snowmantw@gmail.com>
Desc: Revert "Bug 1010651 - (vertical-homescreen) RocketBar missing search icon"

This reverts commit 08eb5e8e12e4c1d9634fffc1768ca0da6778b8dd.

* This bug make the status bar incorrectly overlap on the LockScreen window
2014-05-27 20:20:51 -07:00
B2G Bumper Bot
0b9694bf81 Bumping manifests a=b2g-bump 2014-05-27 20:01:28 -07:00
B2G Bumper Bot
7d53bc0fab Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ff8c83f97fe8
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1016748 - Disable accessibility test due to travis perma-fail
2014-05-27 19:56:03 -07:00
B2G Bumper Bot
6985f1c581 Bumping manifests a=b2g-bump 2014-05-27 19:46:34 -07:00
B2G Bumper Bot
158ee670c1 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/7ee9a4eb33ad
Author: steveck-chung <schung@mozilla.com>
Desc: Merge pull request #19650 from azasypkin/bug-1013295-invalid-timestamp

Bug 1013295 - [Messages] Migrated messages do not have a proper sentTimestamp. Hiding label with invalid timestamp. r=schung

========

https://hg.mozilla.org/integration/gaia-central/rev/4139d6a3c70b
Author: Aleh Zasypkin <azasypkin@mozilla.com>
Desc: Bug 1013295 - [Messages] Migrated messages do not have a proper sentTimestamp. Hiding label with invalid timestamp. r=schung

========

https://hg.mozilla.org/integration/gaia-central/rev/8ad884da26d0
Author: gasolin <gasolin@gmail.com>
Desc: Merge pull request #19696 from gasolin/issue-1011611m

Bug 1011611 - disable share button before the activity is complete, r=dale

========

https://hg.mozilla.org/integration/gaia-central/rev/04155cbb7ebe
Author: gasolin <gasolin@gmail.com>
Desc: Bug 1011611 - disable share button before the activity is complete
2014-05-27 19:41:03 -07:00
B2G Bumper Bot
6ea8386535 Bumping manifests a=b2g-bump 2014-05-27 19:31:31 -07:00
B2G Bumper Bot
852374d298 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/b788acc2ea61
Author: RickyChien <ricky060709@gmail.com>
Desc: Merge pull request #19575 from RickyChien/bug-1006357

Bug 1006357 - make test agent to run tests from all apps locally and in travis r=@yurenju

========

https://hg.mozilla.org/integration/gaia-central/rev/1835bac8f126
Author: Ricky Chien <ricky060709@gmail.com>
Desc: Bug 1006357 - make test agent to run tests from all apps locally and in travis
2014-05-27 19:26:00 -07:00
Jared Wein
ed35930aec Bug 980043 - Backed out changeset 7e0adf1211a7 (bug 905695). r=MattN 2014-05-27 12:56:00 +02:00
Gabriel Luong
74fb19445a Bug 987797 - Font preview tooltip does not preview web fonts. r=bgrins 2014-05-27 18:55:00 +02:00
Phil Ringnalda
948e5d4bb5 Bug 499649 followup, skip test_case_differences.html on Android since it's just a modified copy of the already-skipped test_basic_form_autocomplete.html
CLOSED TREE
2014-05-27 20:32:26 -07:00
Irving Reid
fd64123098 Bug 1015892: set metadata URL pref to avoid network connection in test; r=unfocused 2014-05-27 11:46:21 -04:00
Jim Mathies
da95e59548 Bug 1003943 - Properly update widget cursors when the mouse passes between remote frames. r=smaug 2014-05-27 20:12:29 -05:00
Jim Mathies
8bad3b3fe7 Bug 1003934 - Forward NS_MOUSE_EXIT events to content processes so they know the mouse has exited their frame. r=smaug 2014-05-27 20:12:26 -05:00
Ben Tian
bab289bead Bug 1016243 - [cleanup] Remove unused function BluetoothService::RemoveObserverFromTable, r=shuang 2014-05-27 17:02:44 +08:00
B2G Bumper Bot
e949814383 Bumping manifests a=b2g-bump 2014-05-27 18:46:49 -07:00
B2G Bumper Bot
f3f27f0057 Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/44c8740f59ee
Author: crdlc <crdlc@tid.es>
Desc: Bug 1015509 - [B2G][Vertical Homescreen] Home screen scroll speed does not change based on how close icon is to edge of screen r=kgrandon
2014-05-27 18:41:04 -07:00
J. Ryan Stinnett
3cff88f9d2 Bug 1001348 - Keep system sources when certified debugging is allowed. r=vingtetun 2014-05-27 17:11:34 -07:00
B2G Bumper Bot
4e9c0559a8 Bumping manifests a=b2g-bump 2014-05-27 16:26:18 -07:00
B2G Bumper Bot
4198b34991 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/2b1233dfd4b6
Author: Jared Hirsch <ohai@6a68.net>
Desc: Merge pull request #19507 from 6a68/bug-993794-remove-fxa-pref-settings

Bug 993794 remove fxa pref settings

========

https://hg.mozilla.org/integration/gaia-central/rev/75f5d346506f
Author: Jared Hirsch <ohai@6a68.net>
Desc: Bug 993794 - Remove Firefox Accounts pref from FTU and Settings. r=arthurcc,arcturus
2014-05-27 16:20:47 -07:00