Commit Graph

12202 Commits

Author SHA1 Message Date
Wes Kocher
316fd8283a Merge m-c to inbound, a=merge
MozReview-Commit-ID: KcxntLtRalL

--HG--
rename : taskcluster/actions/__init__.py => taskcluster/taskgraph/actions/__init__.py
rename : taskcluster/actions/add-new-jobs.py => taskcluster/taskgraph/actions/add-new-jobs.py
rename : taskcluster/actions/registry.py => taskcluster/taskgraph/actions/registry.py
rename : taskcluster/actions/retrigger.py => taskcluster/taskgraph/actions/retrigger.py
rename : taskcluster/actions/run_missing_tests.py => taskcluster/taskgraph/actions/run_missing_tests.py
rename : taskcluster/actions/test-retrigger-action.py => taskcluster/taskgraph/actions/test-retrigger-action.py
rename : taskcluster/actions/util.py => taskcluster/taskgraph/actions/util.py
2017-07-28 17:54:59 -07:00
Bill McCloskey
c6c1f4bbc9 Bug 1385413 - Remove thread parameter from onDispatchedEvent (r=erahm)
This parameter isn't used by any implementation of onDispatchedEvent,
and keeping the parameter makes later refactorings in this bug more difficult.

MozReview-Commit-ID: 90VY2vYtwCW
2017-07-28 13:09:06 -07:00
Botond Ballo
90d0b0ff5a Bug 1384719 - Fix -Wnull-conversion warning in nsStyleContext::CalcStyleDifference(). r=heycam
MozReview-Commit-ID: FBYcQ2fbIFo

--HG--
extra : rebase_source : 7ef60d0fd895eb1604aa11b1c41f7b21586d637d
2017-07-26 16:53:25 -04:00
Carsten "Tomcat" Book
740c6ff791 Merge mozilla-central to autoland 2017-07-28 15:27:47 +02:00
Carsten "Tomcat" Book
892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Xidorn Quan
be0b7f4c78 Bug 1385147 - Upgrade to bindgen 0.29. r=heycam
MozReview-Commit-ID: 6ceRryUBccH

--HG--
extra : rebase_source : ead13dd2093be1b48347c0aa95d97a57bca0c1ba
2017-07-28 11:40:58 +10:00
Cameron McCormack
8939798d4b Bug 1384625 - Crash in ServoComputedValues::GetStyleVariables, which should never need to be called. r=emilio
MozReview-Commit-ID: 4HYNGMPMhsH

--HG--
extra : rebase_source : 103e892149986f23d29553700a6622eaf27012fd
2017-07-27 17:33:29 +08:00
Bobby Holley
ab415510c2 Bug 1384769 - Break TraversalFlags::ForReconstruct down into several independent pieces. r=emilio
These will be useful in followup work.

MozReview-Commit-ID: Dyp9R0PG36v
2017-07-27 17:49:44 -07:00
Bobby Holley
f3de753524 Bug 1384769 - Get rid of the ForNewlyBoundElement mode. r=emilio
MozReview-Commit-ID: 1IRn2iaPnVc
2017-07-27 17:49:42 -07:00
Bobby Holley
07295b450f Bug 1384769 - Clean up ForThrottledAnimationFlush stuff. r=hiro
MozReview-Commit-ID: I6xeHv65nH2
2017-07-27 17:49:40 -07:00
Bobby Holley
12955e0dde Bug 1384769 - Pass TraversalFlags from C++ into Rust. r=emilio
MozReview-Commit-ID: EVUzgnL5coN
2017-07-27 17:49:38 -07:00
Emilio Cobos Álvarez
a00dadfa35 Bug 1381083: Test. r=heycam
MozReview-Commit-ID: E99v62sXKtX

--HG--
extra : rebase_source : a913699ef166422bbc01870928fdf938c115343f
2017-07-27 00:57:02 +02:00
Emilio Cobos Álvarez
dab0b01fe4 Bug 1381083: Don't hold the style context if we had a frame and re-resolved the style. r=heycam
Otherwise we risk losing track of the frame if we hit the cache.

MozReview-Commit-ID: ByHGhcBwIfX

--HG--
extra : rebase_source : 4534efa9ef02f4d7f59a33b55c50d9d372ad08a8
2017-07-27 00:45:29 +02:00
Emilio Cobos Álvarez
104705ee7a Bug 1381083: Preliminary alignment and whitespace fixup. r=heycam
MozReview-Commit-ID: 9V7pqVMOAqo

--HG--
extra : rebase_source : fb2b44ebfdfdf7a888482b2cfca09b63e02c8b8c
2017-07-27 00:28:52 +02:00
Nazım Can Altınova
f936b4119f Bug 1341802 - stylo: Enable the forgotten disabled grid test r=me
MozReview-Commit-ID: 6ZrPuFigxGL
2017-07-27 17:04:03 -07:00
Nazım Can Altınova
a576d2cda3 Bug 1365900 - stylo: Update test expectations for @font-feature-values r=me
--HG--
extra : amend_source : 248022ea0403b5fcfe01bf3f2fba60f33a1b76e3
2017-07-27 16:53:38 -07:00
Nazım Can Altınova
ffc264cb6b Bug 1365900 - Create ServoFontFeatureValuesRule and bind servo data r=xidorn
Add ServoFontFeatureValuesRule for CSSOM representation of
@font-feature-values rule and wire up with bindings.

MozReview-Commit-ID: B4Lpj43bvKX

--HG--
extra : rebase_source : 6508027f88ff76784ed7d0e5420d6e174f116b38
2017-07-25 18:30:15 -07:00
Wes Kocher
7dc0b363c1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1JlPbFMKbJZ
2017-07-27 16:17:40 -07:00
Nazım Can Altınova
0598921a5f Bug 1365900 - Extract CSSFontFeatureValuesRule base class r=xidorn
Extract CSSFontFeatureValuesRule from nsCSSFontFeatureValuesRule
class. This is necessary because we will create a FontFeatureValues
rule for Servo side.

MozReview-Commit-ID: GKy5wa6JLv9

--HG--
extra : rebase_source : 015f13da9a776c4ece8aa13655395afbb347b870
2017-07-24 16:12:57 -07:00
Daniel Holbert
ef93dc671b Bug 1228789: add this bug's testcase as a crashtest. (no review, test-only)
This bug report became semi-obsolete after the assertion it triggered was
removed (as part of CSSUnprefixingService being replaced with native code).
I'm adding its testcase as a crashtest for good measure & for
regression-testing.

MozReview-Commit-ID: GhsoI8UHqI8
2017-07-27 11:54:49 -07:00
Julian Seward
408d24da56 Bug 1382563 - Remove ns*String::AssignWithConversion. r=erahm.
This patch replaces four functions of the name AssignWithConversion which
are essentially wrappers around CopyASCIItoUTF16 and LossyCopyUTF16toASCII
with direct calls to the latter two functions.  The replaced functions are:

  void nsCString::AssignWithConversion( const nsAString& aData )
  void nsString::AssignWithConversion( const nsACString& aData )

  void nsTString_CharT::AssignWithConversion(
                            const incompatible_char_type* aData,
                            int32_t aLength = -1);

The last of the three exists inside the double-included nsTString* world and
so describes two functions, giving four in total.

This has two advantages:

* it removes code

* at the call points, it makes clear (from the replacement name) which
  conversion is being carried out.  The generic name "AssignWithConversion"
  doesn't make that obvious -- one had to infer it from the types.

The patch also removes two commented out lines from
editor/composer/nsComposerCommands.cpp, that appear to be related.  They are
at top level, where they would never have compiled.  They look like
leftovers from some previous change.

--HG--
extra : rebase_source : fb47bf450771c3c9ee3341dd14520f5da69ec4f5
2017-07-24 19:23:52 +02:00
J. Ryan Stinnett
c79cb3fbb1 Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
MozReview-Commit-ID: JNsNUOZfd2e

--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Emilio Cobos Álvarez
fe9f212268 Bug 1383981: Similar crashtest for sibling combinators. r=heycam
MozReview-Commit-ID: 3Z6YD8evbOs

--HG--
extra : rebase_source : 0c7d042674ac0459de5bb9c1964eaec6a387aec4
2017-07-25 11:23:11 +02:00
Emilio Cobos Álvarez
8124db36f5 Bug 1383981: Crashtest. r=heycam
MozReview-Commit-ID: 3ZVHoRIDb0M

--HG--
extra : rebase_source : 3f2fd32d64e3ed85a5039cb835dc5e9a1977e298
2017-07-25 09:51:16 +02:00
Carsten "Tomcat" Book
c4e7d0a39e merge mozilla-central to autoland
--HG--
extra : rebase_source : 0f0f666839de9bee40c2d469fd8dd7e63b266f69
2017-07-27 11:38:15 +02:00
Carsten "Tomcat" Book
d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Emilio Cobos Álvarez
5e93182540 Bug 1384868: Simplify a bit RuleNodeCacheConditions. r=heycam
MozReview-Commit-ID: 62ac5XCGLVQ

--HG--
extra : rebase_source : dd309d4383cb3637ab7b16d2054c535d7daafbaa
2017-07-27 03:07:06 +02:00
Wes Kocher
ad35031103 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LhiAcCiFBus
2017-07-26 18:33:18 -07:00
Ehsan Akhgari
74443cf834 Bug 1384222 - Try to avoid dynamic allocations in TreeMatchContext::InitAncestors if possible; r=bzbarsky 2017-07-26 20:00:06 -04:00
cku
321461fb26 Bug 1301245 - Part 2. Do not resolve a style image if the given url has a fragment. r=heycam
MozReview-Commit-ID: 18LFjlWZBLl

--HG--
extra : rebase_source : afbba14c09f937340bd506859cbcc829100f9e8d
2017-07-26 11:21:30 +08:00
cku
d869a580cc Bug 1301245 - Part 1. Implement nsStyleImage::IsResolved. r=heycam
We need this new API in the following patch.

MozReview-Commit-ID: JSoCgzKWrfs

--HG--
extra : rebase_source : e7da0a990b991b1c417015a9cb4f9e2b1e98faae
extra : source : 8f02c1ea8448315f9284939823d66e67cdc5ad87
2017-07-20 01:02:17 +08:00
Josh Matthews
ace7bd502f Bug 1381137: Append skipped/dropped message to Stylo CSS error reports. r=heycam
MozReview-Commit-ID: GUgJneVg1oy
2017-07-26 14:55:33 +02:00
Carsten "Tomcat" Book
aa090c5164 Backed out changeset c25880692555 (bug 1380259) on developers request 2017-07-26 14:28:01 +02:00
Fernando Jimenez Moreno
f84de8b097 Bug 1380259 - stylo: update test expectations. r=xidorn
MozReview-Commit-ID: 3lccr7l8M29

--HG--
extra : rebase_source : 8fc680b078caf79e2b4a0c559a2810a6b24815ce
2017-07-26 13:18:05 +02:00
Carsten "Tomcat" Book
198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Ryan VanderMeulen
fc0b3076bb Bug 1383975 - Add crashtest. 2017-07-26 00:13:53 -04:00
Hiroyuki Ikezoe
a46b077ea1 Bug 1381420 - A crash test that has an element is not restyled but has reconstruct frame damage during flushing throttled animations. r=emilio
The details element, which is a sibling of an animating element, is checked
whether the element needs to be processed in a post traversal for throttled
animation flush because the parent element has animation-only dirty bit (i.e.
the parent element is a common ancestor of the animating element and the
details element). Also at the moment of the check the details element has
reconstruct frame damage because 'open' attribute is changed. Thus in the check
the details element was not restyled but had reconstruct frame damage.

MozReview-Commit-ID: FvsyZlUjhFi

--HG--
extra : rebase_source : 80ee22e7a3092ee208ce74304c242da782f6a0f4
2017-07-26 11:50:12 +09:00
Kevin Hsieh
61cee79da1 Bug 1383925 - Remove unnecessary copy construction of default font in nsRuleNode.cpp. r=dholbert
MozReview-Commit-ID: 6awjBjmEBsM

--HG--
extra : rebase_source : af3055ea0bb480b58fcfd1a5c79dfcb59eec6d78
2017-07-24 17:56:54 -07:00
Emilio Cobos Álvarez
cd3f69980b Bug 1384020: Test. r=canaltinova
MozReview-Commit-ID: JsuNmfbHgFW

--HG--
extra : rebase_source : c4a9cf2a34cb71dd6b9cfb12e2d604ba1752d9e0
2017-07-26 00:11:16 +02:00
Carsten "Tomcat" Book
0ff1ec388b Merge mozilla-central to autoland 2017-07-25 14:35:23 +02:00
Carsten "Tomcat" Book
679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Fernando Jimenez Moreno
f61c37ce13 Bug 1382285 - stylo: initialize missing Servo*Rule with line and column numbers. r=xidorn
MozReview-Commit-ID: 7gNTbctHYGh

--HG--
extra : rebase_source : 3a7649155311b89809470dce0121e28a465c630d
2017-07-24 15:07:07 +02:00
Xidorn Quan
4e4645bdba Bug 1382077 part 4 - Update test expectations. r=heycam
MozReview-Commit-ID: 75nHSozDSNq

--HG--
extra : rebase_source : e7db959599606db14486207eef9d9a42aff25385
2017-07-24 13:02:58 +10:00
Xidorn Quan
ef7357ef4c Bug 1382077 part 3 - Record viewport unit usage and generate proper restyle hint. r=heycam
MozReview-Commit-ID: FA2TiIejUT

--HG--
extra : rebase_source : f34741f4129c669aff3588c17bb81f5feca29e67
2017-07-24 13:02:17 +10:00
Xidorn Quan
d645f266b8 Bug 1382077 part 2 - Move mUsesViewportUnits into nsStyleSet. r=heycam
MozReview-Commit-ID: DQ4ZoLLNPeN

--HG--
extra : rebase_source : 789b1b58eb760e74802dfac1c5b4070f02e1185c
2017-07-24 11:51:32 +10:00
Xidorn Quan
7399a0157a Bug 1382077 part 1 - Have StyleSet::MediumFeaturesChanged return nsRestyleHint rather than a bool. r=heycam
MozReview-Commit-ID: 5g3mHU8pxXP

--HG--
extra : rebase_source : aff51be14395850620fe43d814c49e30a3048be5
2017-07-24 11:27:08 +10:00
Cameron McCormack
f7f0ad18d0 Bug 1376248 - Part 1: Use an nsAutoAnimationMutationBatch when updating animations for an element in stylo. r=birtles
MozReview-Commit-ID: 2ft7qn9iVLB

--HG--
extra : rebase_source : b24eea2c4e08b448dcbc1891339a42d3534ddc2d
2017-07-24 16:02:53 +08:00
Hiroyuki Ikezoe
b096686ea6 Bug 1383589 - Process post traversal whenever StyleDocument() or StyleDocumentForThrottledAnimationFlush() returns true. r=emilio
The test case in this patch freezes without this fix.

MozReview-Commit-ID: 6Rb9XmtAmpM

--HG--
extra : rebase_source : 9a68482c77d5e77ed5733f757ed3ec021834ba2f
2017-07-25 11:49:04 +09:00
Bobby Holley
d1534d15b4 Bug 1341102 - Re-enable some crashtests. r=me
MozReview-Commit-ID: 65QY7FfZQcL
2017-07-24 18:35:19 -07:00
Yoshi Huang
7036b3761f Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug 2017-07-25 09:56:02 +08:00