351eefc5c8ae07efe4c537d87cfa9bd7bd110c53: Bug 1304302 part 9 - Make StyleSheet::SheetInfo inline. r?heycam
draft
Xidorn Quan <me@upsuper.org> - Thu, 22 Sep 2016 14:15:33 +1000 - rev 416849
Push
30264 by xquan@mozilla.com at Fri, 23 Sep 2016 06:02:40 +0000
Bug 1304302 part 9 - Make StyleSheet::SheetInfo inline. r?heycam
MozReview-Commit-ID: 9ZvnIBw6emI
aac64ed3899a548a70fff9ab004013e96bd89552: Bug 1304302 part 8 - Change include of {CSS,Servo}StyleSheet.h to StyleSheetInlines.h. r?heycam
draft
Xidorn Quan <me@upsuper.org> - Fri, 23 Sep 2016 14:35:14 +1000 - rev 416848
Push
30264 by xquan@mozilla.com at Fri, 23 Sep 2016 06:02:40 +0000
Bug 1304302 part 8 - Change include of {CSS,Servo}StyleSheet.h to StyleSheetInlines.h. r?heycam
It is a preparation for later patch which moves functions from those
classes into StyleSheet. Some of the functions are better defined in
StyleSheetInlines.h.
This commit is generated by the following command:
find . \( -name '*.h' -or -name '*.cpp' \) -not -name '*StyleSheet*' -exec sed -i -b \
-e '/^#include/ s_/\(CSS\|Servo\)StyleSheet\.h_/StyleSheetInlines.h_' \
-e '1,\_^#include "mozilla/StyleSheetInlines.h"_ ! { \_^#include "mozilla/StyleSheetInlines.h"_d }' {} +
MozReview-Commit-ID: 54H5x27Pmso
184a01ca21656536f48fede0c47d49844e3665b8: Bug 1304302 part 7 - Break cycle reference between SRIMetadata.h and SRICheck.h. r?smaug
draft
Xidorn Quan <me@upsuper.org> - Fri, 23 Sep 2016 15:16:45 +1000 - rev 416847
Push
30264 by xquan@mozilla.com at Fri, 23 Sep 2016 06:02:40 +0000
Bug 1304302 part 7 - Break cycle reference between SRIMetadata.h and SRICheck.h. r?smaug
MozReview-Commit-ID: 8UpAEXURuSg
24c24a3b8dfbbd861cb7d504521e17914678b012: Bug 1304302 part 6 - Add cycle collecting support to pointer of StyleSheet. r?smaug
draft
Xidorn Quan <me@upsuper.org> - Thu, 22 Sep 2016 22:08:39 +1000 - rev 416846
Push
30264 by xquan@mozilla.com at Fri, 23 Sep 2016 06:02:40 +0000
Bug 1304302 part 6 - Add cycle collecting support to pointer of StyleSheet. r?smaug
This is mostly copied from StyleSheetHandle which is being removed in
later patches. This is a temporary workaround to keep things working.
It should be removed soon when StyleSheet itself becomes a subclass
of nsISupports (which is expected to happen in
bug 1292432).
MozReview-Commit-ID: Gqv0eRZgja5
df4f7861729d1babad21ff18bdec7cb5d6f38162: Bug 1304302 part 5 - Make StyleSheet::As{Gecko,Servo} return pointer instead of reference. r?heycam
draft
Xidorn Quan <me@upsuper.org> - Thu, 22 Sep 2016 20:55:34 +1000 - rev 416845
Push
30264 by xquan@mozilla.com at Fri, 23 Sep 2016 06:02:40 +0000
Bug 1304302 part 5 - Make StyleSheet::As{Gecko,Servo} return pointer instead of reference. r?heycam
To match the behavior of StyleSheetHandle so that we can simply replace
uses of StyleSheetHandle with StyleSheet* in later patch.
MozReview-Commit-ID: LfGKrUmzC4h
343811cc0192f44866f37b3716ad19069dc54b98: Bug 1304302 part 4 - Add all methods StyleSheetHandle needs to StyleSheet. r?heycam
draft
Xidorn Quan <me@upsuper.org> - Fri, 23 Sep 2016 13:19:36 +1000 - rev 416844
Push
30264 by xquan@mozilla.com at Fri, 23 Sep 2016 06:02:40 +0000
Bug 1304302 part 4 - Add all methods StyleSheetHandle needs to StyleSheet. r?heycam
The methods are written in the same order as in StyleSheetHandle::Ptr.
MozReview-Commit-ID: 6b4311ailNj
e88a4b2516d786e88d3af8189cacf557a9b3d6a2: Bug 1304302 part 3 - Use ServoStyleSheet* instead of Handle in ServoStyleSheet. r?heycam
draft
Xidorn Quan <me@upsuper.org> - Thu, 22 Sep 2016 11:31:15 +1000 - rev 416843
Push
30264 by xquan@mozilla.com at Fri, 23 Sep 2016 06:02:40 +0000
Bug 1304302 part 3 - Use ServoStyleSheet* instead of Handle in ServoStyleSheet. r?heycam
MozReview-Commit-ID: WV8eRxSOnp
034787b75c19bac92e58b265471152e84d398542: Bug 1304302 part 2 - Undef FORWARD_CONCRETE in StyleSheetHandleInlines. r?heycam
draft
Xidorn Quan <me@upsuper.org> - Thu, 22 Sep 2016 11:15:06 +1000 - rev 416842
Push
30264 by xquan@mozilla.com at Fri, 23 Sep 2016 06:02:40 +0000
Bug 1304302 part 2 - Undef FORWARD_CONCRETE in StyleSheetHandleInlines. r?heycam
MozReview-Commit-ID: 7rnl4wkMorC
d5d55414f4722ab5acd9f7b490fd7933ddd48844: Bug 1304302 part 1 - Add const version of AsGecko/AsServo to StyleSheet. r?heycam
draft
Xidorn Quan <me@upsuper.org> - Thu, 22 Sep 2016 11:14:12 +1000 - rev 416841
Push
30264 by xquan@mozilla.com at Fri, 23 Sep 2016 06:02:40 +0000
Bug 1304302 part 1 - Add const version of AsGecko/AsServo to StyleSheet. r?heycam
MozReview-Commit-ID: LGQQjmkTWsO
3b3333fc9db85e289f71b37cb19e18a295a08256: mybase-stylo
draft
Xidorn Quan <me@upsuper.org> - Mon, 12 Sep 2016 11:21:19 +1000 - rev 416840
Push
30264 by xquan@mozilla.com at Fri, 23 Sep 2016 06:02:40 +0000
mybase-stylo
MozReview-Commit-ID: KhkzDKnGGhJ
7de89737375306b0a64cea76c8118f96cfb66ade: Bug 1293181 - remove the override of entrypoint=uitour for FxA-server collected metrics. r=kitcambridge
draft
Mark Hammond <mhammond@skippinet.com.au> - Thu, 22 Sep 2016 17:34:50 +1000 - rev 416839
Push
30263 by bmo:markh@mozilla.com at Fri, 23 Sep 2016 05:08:47 +0000
Bug 1293181 - remove the override of entrypoint=uitour for FxA-server collected metrics. r=kitcambridge
MozReview-Commit-ID: FmH9nIZTd75
e043cfc30baa8284bc56929fd31cf169f0e18808: Bug 1303233 - Part 2: Reverse composite order of effects. r?birtles
draft
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Fri, 23 Sep 2016 13:57:52 +0900 - rev 416838
Push
30262 by bmo:hiikezoe@mozilla-japan.org at Fri, 23 Sep 2016 04:58:45 +0000
Bug 1303233 - Part 2: Reverse composite order of effects. r?birtles
MozReview-Commit-ID: FPGB07KCvE3
75073bd4e454f06660f87e93dee0c97c3f3bac4f: Bug 1303233 - Part 1: AnimValuesStyleRule::AddValue replaces the existence entry's mValue. r?
draft
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Fri, 23 Sep 2016 13:57:50 +0900 - rev 416837
Push
30262 by bmo:hiikezoe@mozilla-japan.org at Fri, 23 Sep 2016 04:58:45 +0000
Bug 1303233 - Part 1: AnimValuesStyleRule::AddValue replaces the existence entry's mValue. r?
MozReview-Commit-ID: GqpUsXUZaHy
ecea7d8526ca786b602e0180996a5bef680f841c: Bug 1303233 - Part 2: Reverse composite order of effects. r?birtles
draft
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Fri, 23 Sep 2016 10:23:26 +0900 - rev 416836
Push
30261 by bmo:hiikezoe@mozilla-japan.org at Fri, 23 Sep 2016 04:55:13 +0000
Bug 1303233 - Part 2: Reverse composite order of effects. r?birtles
MozReview-Commit-ID: FPGB07KCvE3
91c30d8aab0a1ac7dfd432e3b4c6bf0dcf61bcfe: Bug 1303233 - Part 1: AnimValuesStyleRule::AddValue replaces the existence entry's mValue. r?birtles
draft
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Fri, 23 Sep 2016 10:23:25 +0900 - rev 416835
Push
30261 by bmo:hiikezoe@mozilla-japan.org at Fri, 23 Sep 2016 04:55:13 +0000
Bug 1303233 - Part 1: AnimValuesStyleRule::AddValue replaces the existence entry's mValue. r?birtles
MozReview-Commit-ID: GqpUsXUZaHy
fa01efd96ef31b823849f672e3df7251f28a3d82: Bug 1304922 - Part 7: Drop mWinsInCascade. r?birtles
draft
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Fri, 23 Sep 2016 10:23:25 +0900 - rev 416834
Push
30261 by bmo:hiikezoe@mozilla-japan.org at Fri, 23 Sep 2016 04:55:13 +0000
Bug 1304922 - Part 7: Drop mWinsInCascade. r?birtles
MozReview-Commit-ID: BHSibDcpu9N
1263360949e7480b96f71c9cb950de7b369009a0: Bug 1304922 - Part 6: Replace mWinsInCascade checks with WinnerCascadeLevel checks. r?birtles
draft
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Fri, 23 Sep 2016 10:23:25 +0900 - rev 416833
Push
30261 by bmo:hiikezoe@mozilla-japan.org at Fri, 23 Sep 2016 04:55:13 +0000
Bug 1304922 - Part 6: Replace mWinsInCascade checks with WinnerCascadeLevel checks. r?birtles
The checks can be replaced with WinnerCascadeLevel and
in-effect check.
Now lower-priority animations are also sent to the compositor so this patch
fixed some tests in test_running_on_compositor.html and
test_animation_performance_warning.html
MozReview-Commit-ID: AF4hzLVEz3H
1e360f2cb6c5a4b70fc271899821077bdc06eb30: Bug 1304922 - Part 5: Update WinnerCascadeLevels and use it to detect conditions that we need to update layres. r?birtles
draft
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Fri, 23 Sep 2016 10:23:25 +0900 - rev 416832
Push
30261 by bmo:hiikezoe@mozilla-japan.org at Fri, 23 Sep 2016 04:55:13 +0000
Bug 1304922 - Part 5: Update WinnerCascadeLevels and use it to detect conditions that we need to update layres. r?birtles
Now we call RequestRestyle(Layer) respectively for transition and animation,
so a test case in test_restyles.html works as expected.
MozReview-Commit-ID: EJO0TFGuwSz
e043891629432f0a892f2ed2d883c318af1f1d3a: Bug 1304922 - Part 4: Move GetOverriddenProperties() and UpdateCascadeResults() from EffectCompositor to EffectSet class. r?birtles
draft
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Fri, 23 Sep 2016 10:23:25 +0900 - rev 416831
Push
30261 by bmo:hiikezoe@mozilla-japan.org at Fri, 23 Sep 2016 04:55:13 +0000
Bug 1304922 - Part 4: Move GetOverriddenProperties() and UpdateCascadeResults() from EffectCompositor to EffectSet class. r?birtles
MozReview-Commit-ID: IJOzY2OwTF7
c36770a15721fc37f5dcdb4cf07ff295e430e563: Bug 1304922 - Part 3: Request restyle for layer when CSS animation's index is changed. r?birtles
draft
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Fri, 23 Sep 2016 10:23:25 +0900 - rev 416830
Push
30261 by bmo:hiikezoe@mozilla-japan.org at Fri, 23 Sep 2016 04:55:13 +0000
Bug 1304922 - Part 3: Request restyle for layer when CSS animation's index is changed. r?birtles
In the case when the animation index is changed, we have to update the layer
because the index affects composite order.
Currently UpdateCascadeResult() does it but the function will check
only which cascade level wins in the cascade level and request restyle
only when the winner is changed, e.g. when a CSS animation overrides a
CSS transition, etc. So we should call request restyle respectively when the index
is changed in each Animation class.
MozReview-Commit-ID: AfGQijkCjN