Commit Graph

362658 Commits

Author SHA1 Message Date
Brian Birtles
cb967789c5 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
3ce242ee48 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
efbd693128 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
39567485e3 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
39ab9bf043 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
25641302e6 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
7d5b54b2f6 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
b4d589de64 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
3e5a393123 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
8040a01396 Bumping manifests a=b2g-bump 2014-05-27 22:38:15 -07:00
B2G Bumper Bot
32d9b2e1e6 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
496439baa1 Bumping manifests a=b2g-bump 2014-05-27 22:28:43 -07:00
B2G Bumper Bot
51dac07bf6 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
a163694a13 Bumping manifests a=b2g-bump 2014-05-27 20:26:23 -07:00
B2G Bumper Bot
30a66f144f 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
49a1a05f9c Bumping manifests a=b2g-bump 2014-05-27 20:01:28 -07:00
B2G Bumper Bot
0bc11f73dc 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
0f746a706c Bumping manifests a=b2g-bump 2014-05-27 19:46:34 -07:00
B2G Bumper Bot
bdcbeb0e50 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
0693d7eb1c Bumping manifests a=b2g-bump 2014-05-27 19:31:31 -07:00
B2G Bumper Bot
5dc6e3ec2e 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
Siddartha Pothapragada
f1c5d13747 Bug 976402 - Part 2 - Throw an error when sessionToken is incorrect while using the interfaces getNFCTag() and getNFCPeer(). r=smaug 2014-05-27 15:12:00 +02:00
Jared Wein
f227a9ce99 Bug 980043 - Backed out changeset 7e0adf1211a7 (bug 905695). r=MattN 2014-05-27 12:56:00 +02:00
Gabriel Luong
5acb30cc53 Bug 987797 - Font preview tooltip does not preview web fonts. r=bgrins 2014-05-27 18:55:00 +02:00
Phil Ringnalda
846faa287d 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
0dafa8aa45 Bug 1015892: set metadata URL pref to avoid network connection in test; r=unfocused 2014-05-27 11:46:21 -04:00
Jim Mathies
e88a91f7f4 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
2ee59969dc 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
Siddartha Pothapragada
2486b27106 Bug 976402 - Part 3 - Add marionette test case to validate access to MozNfcPeer interface with invalid sessionToken. r=allstars.chh 2014-05-27 11:17:00 +02:00
Ben Tian
dbcb69f261 Bug 1016243 - [cleanup] Remove unused function BluetoothService::RemoveObserverFromTable, r=shuang 2014-05-27 17:02:44 +08:00
B2G Bumper Bot
351469bd5b Bumping manifests a=b2g-bump 2014-05-27 18:46:49 -07:00
B2G Bumper Bot
28177142f5 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
abf6d9b37b Bug 1001348 - Keep system sources when certified debugging is allowed. r=vingtetun 2014-05-27 17:11:34 -07:00
B2G Bumper Bot
ceac4d2128 Bumping manifests a=b2g-bump 2014-05-27 16:26:18 -07:00
B2G Bumper Bot
7a9851042c 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
B2G Bumper Bot
48fcfed5a3 Bumping manifests a=b2g-bump 2014-05-27 16:03:11 -07:00
Dave Hylands
77a57511e0 Bug 1015006 - Detect USB cable unplugged and set sharing to false. r=qDot
If the USB cable is pulled after we call SetIsSharing(true) but before we actually initiate the
sharing operation, then the volume doesn't change state, and mIsSharing never gets set back to
false. So we detect this condition now and force mIsSharing to be false when the USB cable is
unplugged.
2014-05-27 15:47:26 -07:00
Michael Wu
55637c3cfc Bug 999694 - Followup - Don't assert on 4.2, r=jgilbert 2014-05-27 17:36:52 -04:00
B2G Bumper Bot
4a2d2a3932 Bumping manifests a=b2g-bump 2014-05-27 14:21:37 -07:00
B2G Bumper Bot
cbb5089709 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/1339e01a47d2
Author: Jared Hirsch <ohai@6a68.net>
Desc: Merge pull request #19503 from 6a68/bug-1003201-enable-text-selection

Bug 1003201 - Enable text selection within FxA input fields

========

https://hg.mozilla.org/integration/gaia-central/rev/91c197daa96b
Author: Jared Hirsch <ohai@6a68.net>
Desc: Bug 1003201 - Enable text selection within FxA input fields. r=ferjm
2014-05-27 14:16:09 -07:00
Siddartha Pothapragada
1a20585dbd Bug 976402 - Part 1 - Do not register target if the sessionTokens do not match. r=allstars.chh 2014-05-27 10:19:00 +02:00
B2G Bumper Bot
42f55c3cf4 Bumping manifests a=b2g-bump 2014-05-28 04:26:28 -07:00
B2G Bumper Bot
56bf659c62 Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/5466d05ce810
Author: AndreiH <andrei.hutusoru@softvision.ro>
Desc: Merge pull request #19710 from AndreiH/bug_1016364

Bug 1016364 - [2.0] test_sms_to_dialer.TestDialerFromMessage is failing ...

========

https://hg.mozilla.org/integration/gaia-central/rev/4ff5ac373c37
Author: Andrei Hutusoru <andreihutusoru@P5069.(none)>
Desc: Bug 1016364 - [2.0] test_sms_to_dialer.TestDialerFromMessage is failing intermittently

========

https://hg.mozilla.org/integration/gaia-central/rev/bc60b44d92a1
Author: Evan Xd <itoyxd@gmail.com>
Desc: Bug 1014426 - Use switchToFrame to switch to home2 frame r=kgrandon
2014-05-28 04:20:42 -07:00
B2G Bumper Bot
8bf05adc89 Bumping manifests a=b2g-bump 2014-05-28 04:11:45 -07:00
B2G Bumper Bot
8b527fb9e5 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/d7e18028030c
Author: Fernando Campo <fernando.campo@telefonica.com>
Desc: Merge pull request #19444 from fcampo/split-basket-990058

Bug 990058 - [FTU] Re-implement Basket newsletter for splitted FTU (r=arcturus, etienne)

========

https://hg.mozilla.org/integration/gaia-central/rev/c254a88ac066
Author: Fernando Campo <fernando.campo@telefonica.com>
Desc: Bug 990058 - [FTU] Re-implement Basket newsletter for splitted FTU
- Basket functionality moved to shared, use Promises
- Use DataStore instead of AsyncStore
- Launched from System instead of Dialer
2014-05-28 04:06:21 -07:00
Carsten "Tomcat" Book
a4785f7882 Backed out changeset 349ca77481c0 (bug 968709) for marionette test failures 2014-05-28 13:02:01 +02:00
B2G Bumper Bot
e3db4e7995 Bumping manifests a=b2g-bump 2014-05-28 03:46:29 -07:00
B2G Bumper Bot
c47f6ddd57 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/c3dc7284eb8f
Author: Carsten Book <tomcat@mozilla.com>
Desc: Merge pull request #19186 from kamituel/Bug_1002643

Bug 1002643 - Test cases for NfcHandoverManager. r=alive

========

https://hg.mozilla.org/integration/gaia-central/rev/b7ee322088ca
Author: Kamil Leszczuk <kamituel@gmail.com>
Desc: Bug 1002643: Test cases for NfcHandoverManager
2014-05-28 03:40:50 -07:00
B2G Bumper Bot
94129953b9 Bumping manifests a=b2g-bump 2014-05-28 03:31:19 -07:00
B2G Bumper Bot
6719117768 Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/cad64e6caa7e
Author: Dale Harvey <dale@arandomurl.com>
Desc: Bug 1011365 - Show rightmost character when URL focused. r=benfrancis
2014-05-28 03:25:47 -07:00