Commit Graph

176757 Commits

Author SHA1 Message Date
Brian Birtles
165671f347 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
400ebf0c64 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
af4841c2d2 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
10790a02c1 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
7e85d163b2 Merge m-c to b-i 2014-04-02 21:26:24 -07:00
Phil Ringnalda
b3e4dd398c Merge m-c to f-t 2014-04-02 21:25:05 -07:00
B2G Bumper Bot
5da86e22d7 Bumping manifests a=b2g-bump 2014-04-02 21:06:10 -07:00
B2G Bumper Bot
7844533794 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
1cc78966a2 Bumping manifests a=b2g-bump 2014-04-02 20:08:22 -07:00
B2G Bumper Bot
65c60f20fa 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
288b6318e2 Merge m-c to b2g-inbound 2014-04-02 19:55:38 -07:00
B2G Bumper Bot
f10901b591 Bumping manifests a=b2g-bump 2014-04-02 19:46:03 -07:00
B2G Bumper Bot
f44f780443 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
67cfcac325 Bug 983022 - [tarako] Need minidump screen shot. r=ted, r=gal 2014-04-03 10:28:07 +08:00
Wan-Teh Chang
6f151c8762 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
Seth Fowler
0d47a4402b 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
Daniel Holbert
2bbdbccabf Bug 991407: Remove unused class gfxFontNameList. r=jdaggett 2014-04-02 21:37:37 -07:00
Masayuki Nakano
ff8b968574 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Masayuki Nakano
af12a23985 Bug 990855 part.1 Export TextComposition.h as mozilla/TextComposition.h r=smaug 2014-04-03 13:18:37 +09:00
Masayuki Nakano
6a8d338ec0 Bug 989214 Rename nsPaintRequest to mozilla::dom::PaintRequest r=smaug
--HG--
rename : dom/events/nsPaintRequest.cpp => dom/events/PaintRequest.cpp
rename : dom/events/nsPaintRequest.h => dom/events/PaintRequest.h
2014-04-03 13:18:37 +09:00
Masayuki Nakano
01ad44156b Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
John Daggett
63945a3c9f Bug 975460 - remove use of CGCopyFontTable in async font loader which didn't solve the crash problem on 10.6. r=smichaud,mkato 2014-04-03 13:13:14 +09:00
John Daggett
71b6813d7e Bug 975460 - disable async font loader on OSX 10.6. r=smichaud,mkato 2014-04-03 13:13:11 +09:00
Wes Kocher
58f74f6ca3 Merge m-c to inbound on a CLOSED TREE 2014-04-02 19:54:15 -07:00
Wes Kocher
d92c846307 Merge b2g-inbound to m-c 2014-04-02 19:06:17 -07:00
Wes Kocher
2eab03716c Merge inbound to m-c 2014-04-02 18:56:43 -07:00
Wes Kocher
9225f03bd1 Backed out 3 changesets (bug 977126) for b2g build bustage on a CLOSED TREE
Backed out changeset 88a167e0ca30 (bug 977126)
Backed out changeset a3df7451c35c (bug 977126)
Backed out changeset bab702b3df10 (bug 977126)
2014-04-02 18:34:20 -07:00
Michael Wu
fc20c8c2bc Bug 985017 - [2/2] Cache a gfxImageSurface for the drawing path, r=seth 2014-04-02 21:32:54 -04:00
Michael Wu
2604c0561e Bug 985017 - [1/2] Support null VolatileBufferPtrs, r=glandium 2014-04-02 21:32:54 -04:00
B2G Bumper Bot
041fce1065 Bumping manifests a=b2g-bump 2014-04-02 18:27:40 -07:00
B2G Bumper Bot
03c03d7f60 Bumping gaia.json for 10 gaia revision(s) a=gaia-bump
Truncated some number of revisions since the previous bump.

========

https://hg.mozilla.org/integration/gaia-central/rev/7dbabbc473f4
Author: Greg Weng <snowmantw@gmail.com>
Desc: Merge pull request #17841 from snowmantw/issue972791-nfc-background-missing

Bug 972791 - [NFC] landscape NFC shrinking UI background has some issue

========

https://hg.mozilla.org/integration/gaia-central/rev/1e1efe180584
Author: Greg Weng <snowmantw@gmail.com>
Desc: Bug 972791 - [NFC] landscape NFC shrinking UI background has some issue

========

https://hg.mozilla.org/integration/gaia-central/rev/15d4ace57db6
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #17662 from KevinGrandon/bug_984113_shared_integration_jshint

Bug 984113 - JSHint fixes for shared/test/integration/

========

https://hg.mozilla.org/integration/gaia-central/rev/9625b7e76102
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 984113 - JSHint fixes for shared/test/integration/ r=julienw,djf

========

https://hg.mozilla.org/integration/gaia-central/rev/d4372fa08c3e
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #17866 from KevinGrandon/bug_970688_settings_deviceid

Bug 970688 - Use mozSettings for Web Results deviceId parameter

========

https://hg.mozilla.org/integration/gaia-central/rev/1403385f78c4
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 970688 - Use mozSettings for Web Results deviceId parameter r=amirn

========

https://hg.mozilla.org/integration/gaia-central/rev/79364ddd5f2a
Author: Andrew Sutherland <asutherland@asutherland.org>
Desc: Merge pull request #17929 from asutherland/email-html-search-fix

Bug 882917 - [email] "Body" search of HTML messages regressed by worker thread migration. r=mcav

========

https://hg.mozilla.org/integration/gaia-central/rev/7a94849e6860
Author: Andrew Sutherland <asutherland@asutherland.org>
Desc: Bug 882917 - [email] "Body" search of HTML messages regressed by worker thread migration. r=mcav

land https://github.com/mozilla-b2g/gaia-email-libs-and-more/pull/297

========

https://hg.mozilla.org/integration/gaia-central/rev/94e957b116d0
Author: Andrew Sutherland <asutherland@asutherland.org>
Desc: Merge pull request #17927 from asutherland/email-search-updates

Bug 838843 - [email] email search does not update as headers are modified or deleted, allows user to still see and fail to display deleted messages. r=mcav

========

https://hg.mozilla.org/integration/gaia-central/rev/031ef2424954
Author: Andrew Sutherland <asutherland@asutherland.org>
Desc: Bug 838843 - [email] email search does not update as headers are modified or deleted, allows user to still see and fail to display deleted messages. r=mcav

land https://github.com/mozilla-b2g/gaia-email-libs-and-more/pull/296
2014-04-02 18:26:13 -07:00
B2G Bumper Bot
3b967b64aa Bumping manifests a=b2g-bump 2014-04-02 15:11:12 -07:00
B2G Bumper Bot
639534ee1e Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/98fd9bf9c257
Author: Justin D'Arcangelo <justindarc@gmail.com>
Desc: Merge pull request #17918 from dmarcos/bug988632

Bug 988632 - [Camera][Madai] More frequent instances of "Picture not sav...

========

https://hg.mozilla.org/integration/gaia-central/rev/964de2213053
Author: Diego Marcos <diego.marcos@gmail.com>
Desc: Bug 988632 - [Camera][Madai] More frequent instances of "Picture not saved" when tapping shutter button
2014-04-02 15:06:09 -07:00
B2G Bumper Bot
60d6187fc1 Bumping manifests a=b2g-bump 2014-04-02 14:56:17 -07:00
B2G Bumper Bot
1877cd4960 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f638a583d026
Author: Wilson Page <wilsonpage@me.com>
Desc: Merge pull request #17894 from wilsonpage/bug/987071

Bug 987071 - [Camera] The screen doesn't going to sleep in the preview gallery

========

https://hg.mozilla.org/integration/gaia-central/rev/46b68f91d013
Author: Wilson Page <wilsonpage@me.com>
Desc: Bug 987071 - [Camera] The screen doesn't going to sleep in the preview gallery
2014-04-02 14:51:05 -07:00
B2G Bumper Bot
18e9961a1f Bumping manifests a=b2g-bump 2014-04-02 14:46:19 -07:00
B2G Bumper Bot
06ba27e5ae Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/c0bfdc67ba2e
Author: Arnau <arnau@arnaumarch.com>
Desc: Merge pull request #17899 from rnowm/990960

Bug 990960 - [Browser] [regression] selected tab has blue border r=bfrancis

========

https://hg.mozilla.org/integration/gaia-central/rev/c0c0677cb95b
Author: rnowm <arnau@arnaumarch.com>
Desc: Bug 990960 - [Browser] [regression] selected tab has blue border
2014-04-02 14:41:09 -07:00
Randell Jesup
beb3941cd7 Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
Ryan VanderMeulen
0e611ba185 Backed out changeset 8b94363b10f1 (bug 984455) for debug OSX mochitest-bc failures. 2014-04-02 14:48:13 -04:00
B2G Bumper Bot
5da1845271 Bumping manifests a=b2g-bump 2014-04-02 11:47:54 -07:00
B2G Bumper Bot
af3e1e8a6a Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f2784b078a4b
Author: Wilson Page <wilsonpage@me.com>
Desc: Merge pull request #17902 from wilsonpage/bug/988108

Bug 988108 - [camera][madai] capitalization corrections

========

https://hg.mozilla.org/integration/gaia-central/rev/14b0dd615333
Author: Wilson Page <wilsonpage@me.com>
Desc: Bug 988108 - [camera][madai] capitalization corrections
2014-04-02 11:46:16 -07:00
B2G Bumper Bot
79fb8e8164 Bumping manifests a=b2g-bump 2014-04-02 11:11:18 -07:00
B2G Bumper Bot
95fd3d4608 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/67a734858540
Author: Wilson Page <wilsonpage@me.com>
Desc: Merge pull request #17904 from wilsonpage/bug/990255

Bug 990255 - [Camera][Mozilla] 1.4 Zoom bar and indicators are too close...

========

https://hg.mozilla.org/integration/gaia-central/rev/374f95d4a049
Author: Wilson Page <wilsonpage@me.com>
Desc: Bug 990255 - [Camera][Mozilla] 1.4 Zoom bar and indicators are too close to each other when rotated 180
2014-04-02 11:06:11 -07:00
B2G Bumper Bot
ae693306e1 Bumping manifests a=b2g-bump 2014-04-02 11:03:51 -07:00
B2G Bumper Bot
ba5e47c543 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/d3d4d797d0c5
Author: ochameau <poirot.alex@gmail.com>
Desc: Merge pull request #17533 from jryans/devtools-server-tests

Bug 986223 - Test Dev Tools server toggling r=@ochameau

========

https://hg.mozilla.org/integration/gaia-central/rev/3a056e561b21
Author: J. Ryan Stinnett <jryans@gmail.com>
Desc: Bug 986223 - Test Dev Tools server toggling
2014-04-02 11:03:40 -07:00
Ed Morley
0480314528 Merge mozilla-central and b2g-inbound 2014-04-02 18:56:09 +01:00
B2G Bumper Bot
1cdf8cee89 Bumping manifests a=b2g-bump 2014-04-02 10:22:37 -07:00
B2G Bumper Bot
06559c03cb Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f57ba3848b8d
Author: Francisco Jordano <arcturus@ardeenelinfierno.com>
Desc: Merge pull request #17897 from arcturus/bug-990496

Bug 990496 - [Contacts] Error when user tries to cancel importing contacts

========

https://hg.mozilla.org/integration/gaia-central/rev/49f264631fcf
Author: Francisco Jordano <arcturus@ardeenelinfierno.com>
Desc: Bug 990496 - [Contacts] Error when user tries to cancel importing contacts

========

https://hg.mozilla.org/integration/gaia-central/rev/e9efe93a8c36
Author: Wilson Page <wilsonpage@me.com>
Desc: Merge pull request #17877 from verchaswa/Bug989023_Camera_MADAI_Mozilla_image_Preview_button_needs_highlight_state

[Bug 989023][Camera][Madai][Mozilla]Image Preview button needs highlight...

========

https://hg.mozilla.org/integration/gaia-central/rev/fc14d2e8deb5
Author: verchaswa.sharma <verchaswa.sharma@lge.com>
Desc: [Bug 989023][Camera][Madai][Mozilla]Image Preview button needs highlight state
2014-04-02 10:20:57 -07:00
B2G Bumper Bot
0223300ba8 Bumping manifests a=b2g-bump 2014-04-02 09:26:22 -07:00
B2G Bumper Bot
074646e2d2 Bumping gaia.json for 5 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/b8eae9817bd2
Author: Gareth Aye <gaye@mozilla.com>
Desc: Merge pull request #17861 from gaye/bug-987350

Bug 987350 - Migrate alarm_test.js to use new view code r=millermedeiros

========

https://hg.mozilla.org/integration/gaia-central/rev/e00e22596b46
Author: Gareth Aye <gaye@mozilla.com>
Desc: Bug 987350 - Migrate alarm_test.js to use new view code

========

https://hg.mozilla.org/integration/gaia-central/rev/d75dc1c0083b
Author: Rudy Lu <me@rudy.lu>
Desc: Merge pull request #17893 from RudyLu/value_selector/remove-mozKeyboard

Bug 986992 - Remvoe navigator.mozKeyboard and use navigator.mozInputMethod
r=rudylu

========

https://hg.mozilla.org/integration/gaia-central/rev/63bd5af5a680
Author: Rudy Lu <me@rudy.lu>
Desc: Remove system app from mock keyboard app list.

========

https://hg.mozilla.org/integration/gaia-central/rev/d1a51a625bd9
Author: Yuan Xulei <xyuan@mozilla.com>
Desc: Bug 986992 - Remvoe navigator.mozKeyboard and use navigator.mozInputMethod instead.
2014-04-02 09:21:11 -07:00