Commit Graph

9089 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
22d7b7fd06 servo: Merge #16834 - Bug 1364377: Fix inheritance of NAC, and selector-matching of pseudo-implementing NAC (from emilio:nac-is-a-pain); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: db080cea97bd88ef4081ff244b5cf0707cbb5d48

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4f05a0697290e3141b0cd754ae6f9e22f2336a4e
2017-05-12 07:25:00 -05:00
Cameron McCormack
24efbaf908 servo: Merge #16811 - style: record attribute and state selector dependencies (from heycam:snapshots); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1352306.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1faac6a6e640e9af1890debfbecce60c8cdf37a9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 76c559a192d3d64e5a369c14a459e9acbf71a4ca
2017-05-12 05:41:35 -05:00
zombiefungus
a620307ca6 servo: Merge #16818 - Add default value to layout.threads in prefs.rs (fix #15638) (from zombiefungus:fix15638); r=Manishearth
<!-- Please describe your changes on the following line: -->
Add default value to layout.threads in prefs.rs

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #15638  (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 58253f545bfed82f4503069c5dd8e22e2dd5e2d4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6b9996374645d0a975dddaac45368f89f927347f
2017-05-12 03:53:24 -05:00
Ting-Yu Lin
0dcdc49486 servo: Merge #16785 - Fix typo and simplify for PresentationalHintsSynthesizer (from aethanyc:fix-typo-and-simplify); r=mbrubeck
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it only affects build.

Source-Repo: https://github.com/servo/servo
Source-Revision: 48fdda3f075572897e9f0d846dcf1897eae5b230

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8b44814a0fa568ce2a2592d4da48d23ecb4da04c
2017-05-12 02:41:25 -05:00
Manish Goregaokar
4103e55e47 servo: Merge #16815 - Bump cssparser to 0.13.3 (from Manishearth:cssup); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: d1f2cdfb3d3db69e7c87904a08abe9672ee1bf97

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 75cbf25871fcff3cf1049b4e92edf371d11da9a4
2017-05-11 16:10:23 -05:00
Imanol Fernandez
5ece11e724 servo: Merge #16816 - Fix unsafe casting between PersistentLayoutData and PartialPersistentLayoutData (from MortimerGoro:unsafe_layout_data_cast); r=SimonSapin
<!-- Please describe your changes on the following line: -->

PersistentLayoutData and PartialPersistentLayoutData castings in Layout component assume that they have the same base raw address. This is unsafe because field orders is not guaranteed by default, and it's causing some SEGV crashes on Android indeed (https://github.com/servo/servo/issues/16647)

Add a C representation to guarantee that the order of the fields and the safe casting.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #16647 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: c277beab2b9c3294ea69c6088cd0dc3b1665717e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 63ed76e1f28219f41e5dbf2cf25ba9d31930af10
2017-05-11 14:47:24 -05:00
Martin Robinson
6e4b60a4ad servo: Merge #16807 - Fix clamping of scroll position in window.scrollBy (from mrobinson:scroll-clamping); r=emilio
For rightward and downward overflow the spec says:

Let x be max(0, min(x, viewport scrolling area width - viewport width)).
Let y be max(0, min(y, viewport scrolling area height - viewport height)).

Previously, those operations were reversed, which created negative
overflow even when the overflow direction was downward. This change
ensures that Servo matches spec behavior.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: e196776c2477f5f204ce1333bd15070afbf9a7f6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 483143f31a3acedf1c7e8f88aa8667bef4187041
2017-05-11 13:23:39 -05:00
Bobby Holley
4f5a862710 servo: Merge #16813 - Handle importance when inserting into the rule tree (from bholley:importance_handling); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1358635

Source-Repo: https://github.com/servo/servo
Source-Revision: f5794055108adf508bb0fd16222c4e5cf1d416d8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9703d3c9052ae9d55dd36ce996e83e96249a094a
2017-05-11 12:21:02 -05:00
Imanol Fernandez
8149284ed3 servo: Merge #16812 - Update blurdroid and set ANDROID_SDK in build_steps.yml (from MortimerGoro:update_blurdroid); r=jdm
<!-- Please describe your changes on the following line: -->

See https://github.com/servo/saltfs/issues/661. Update blurdroid and set ANDROID_SDK in build_steps.yml

cc @aneeshusa @larsbergstrom

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 060a651f8847189e8d0830e35bbf4497014f01d5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c70047d684d85626b0fe84ce8df83d7336df02a5
2017-05-11 10:32:52 -05:00
Cameron McCormack
0684fec38b servo: Merge #16806 - style: Fix IN_LOADING_STATE value (from heycam:state); r=bholley
;_;

Source-Repo: https://github.com/servo/servo
Source-Revision: 973bf7af406eafc0f2056effaa0b50036ccad6b3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fd663354c20eb7583f688b76c3e58491ff7645df
2017-05-11 08:33:47 -05:00
Michael Brennan
334821d3de servo: Merge #16805 - Make no_viewport_percentage! use an absolute path for HasViewportPerc… (from brisad:master); r=Wafflespeanut
…entage

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16781

<!-- Either: -->
- [X] These changes do not require tests because the compiler warnings should be enough

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 48b5e5ebc49a831da591240b6f0647c3b8905fef

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d20e9b13d8572c23cc604ec3ce53d39fa3917dd1
2017-05-11 07:30:30 -05:00
Fernando Jiménez Moreno
b18082f840 servo: Merge #16797 - Stylo: Bug 1361994 - Implement access to CSSMozDocumentRule (from ferjm:bug1361994.mozdocument.cssom); r=xidorn
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Bugzilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1361994

Source-Repo: https://github.com/servo/servo
Source-Revision: 72816687633d6e225eee5eab7912408c4f4fc7b8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b9ebad0156416a54607bb878b23eee309324ae1c
2017-05-11 06:27:42 -05:00
Bobby Holley
c5e2ffebd7 servo: Merge #16810 - Handle mBoolFlags living on nsWrapperCache (from bholley:bool_flags_wrapper_cache); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1363375

Source-Repo: https://github.com/servo/servo
Source-Revision: 0b4726c0557b9ad1bdbefb57929f05dbc65f2cf9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f0de6e5c636db4ddd284112d4f1620d94679b92d
2017-05-11 04:37:50 -05:00
Pyfisch
dcc9a52f1c servo: Merge #16799 - Remove unused opts (from pyfisch:unused-opts); r=Wafflespeanut
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #15963 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 9a419ec3d50436b3a91227880114d9985f2097e7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c8a4792175223093f01521119e2a1a2942538e90
2017-05-11 02:11:56 -05:00
Hiroyuki Ikezoe
0787e38c3b servo: Merge #16804 - Allow unitless length for smil (from hiikezoe:allow-unitless-length-for-smil); r=birtles
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1363574

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it's for stylo

Source-Repo: https://github.com/servo/servo
Source-Revision: f7d67b86244fed6affaf521de17da05c6cab2c29

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 65a7ba0a8037c6d10cecb629e954ae5a81da5360
2017-05-10 21:25:47 -05:00
Manish Goregaokar
d080da8bae servo: Merge #16800 - Allow border radii to be set via preshints (from Manishearth:border-radius); r=emilio
Fixes rendering of `<hr>`

Source-Repo: https://github.com/servo/servo
Source-Revision: 6de4c93aafd3ff735a431926800b75b2f7792d41

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f7ead1785d78f00e97d3a52ec67851ae461522cb
2017-05-10 19:05:21 -05:00
Emilio Cobos Álvarez
b99b76b842 servo: Merge #16794 - style: Adjust text-align properly for -moz- values in tables (from emilio:table-text-fixup); r=Manishearth
Fixes bug 1363576.

Source-Repo: https://github.com/servo/servo
Source-Revision: 15f3db5abf5adbf4c85b66b877b8ffa3aaeea666

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 837f45093a85997998cbbea2d32e6e578dea44b9
2017-05-10 17:24:57 -05:00
Boris Zbarsky
5d04bdb02c servo: Merge #16798 - Allow stylo to do lazier stylist rebuilds (from bzbarsky:stylist-lazier-updates); r=emilio
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1361843 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's optimization, which should have no observable behavior difference.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: c6c0252b19f82ba98ca8a102435067d15f5a1356

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3d561234cfdeb2acc575c3fb537d08b3f870bb1d
2017-05-10 16:22:06 -05:00
Emilio Cobos Álvarez
c421fb27c4 servo: Merge #16778 - Take all the snapshots into account in the style system (from emilio:snapshots); r=bholley
See [bug 1355343](https://bugzilla.mozilla.org/show_bug.cgi?id=1355343).

The servo part of this patch presumably needs some polishing, let's see.

Source-Repo: https://github.com/servo/servo
Source-Revision: c8171ed5d7d4b715ab30795311724420c95dfa10

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e30b841acf517260bf607fbc59afd29327d6164c
2017-05-10 15:08:59 -05:00
Anthony Ramine
7a80fffb95 servo: Merge #16770 - Refactor Position (from nox:POSITION-DO-YOU-EVEN); r=Wafflespeanut,nox
Source-Repo: https://github.com/servo/servo
Source-Revision: d5efed6c6a3e05f09300a3ed36d0e1254fcb407c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 716a8e4c620625bc3cc292afc339c916bf9bf38b
2017-05-10 09:56:17 -05:00
Brian Birtles
9e709a44d6 servo: Merge #16792 - Combine ComputeDuration and Interpolate into a single trait (from birtles:make-animatable-trait); r=hiro
Pull request for [Gecko bug 1363573](https://bugzilla.mozilla.org/show_bug.cgi?id=1363573)

The pull request has been reviewed by @hiikezoe

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes in Gecko

Source-Repo: https://github.com/servo/servo
Source-Revision: 0040160b38bfef8f4a8c99bf3a0ad85f0b415d4d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f552214874cd1818fa0d541cc547e85430daf734
2017-05-10 02:05:43 -05:00
Xidorn Quan
0a17bb6173 servo: Merge #16791 - Fix serialization of counters function (from upsuper:counters-fix); r=heycam
This would fix several failures in Gecko's test.

Source-Repo: https://github.com/servo/servo
Source-Revision: bd3ebf219ec6fba46cea78519e910fe578b73173

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fc5e43af74e8728de586a4749b852a9e55255e18
2017-05-10 00:26:04 -05:00
cku
2f88c44c67 servo: Merge #16789 - stylo: Export RefPtr<ImageValue> to stylo (from CJKu:bug-1310885-part-2); r=heycam
<!-- Please describe your changes on the following line: -->
This is the second patch in bug 1310885
"Bug 1310885 - Part 2. (stylo) Export RefPtr<ImageValue> from gecko to stylo."

Bugzilla link:
https://bugzilla.mozilla.org/show_bug.cgi?id=1310885
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 2a7ef1d203b003246ddadc147251135d2b135aa6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c8379d9a1d02b9d7b085a4475741b79fb55720ea
2017-05-09 23:00:51 -05:00
Xidorn Quan
2cad48f875 servo: Merge #16790 - Sync binding files with autoland (from upsuper:sync-bindings); r=heycam
It seems there are lots of difference between servo in-tree files and autoland. To reduce the chance of having conflict, I'd like to sync binding files with the latest version generated from autoland when no one is landing anything.

Source-Repo: https://github.com/servo/servo
Source-Revision: e029a426533235d41e062841e1e318357e63911a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2dea4bcd07b03f3c8109740093a20517d31948b5
2017-05-09 21:58:22 -05:00
Nathan Froyd
1a48ef091d servo: Merge #16786 - register stylo threads with the gecko profiler (from froydnj:gecko-profiler-bindings); r=upsuper
Now that we require rayon 0.7, we can register start and stop handlers
that take care of dealing with the Gecko profiler for rayon threads in
the style thread pool.

Manually verified that adding "StyleThread" to the list of threads tracked by the Gecko profiler addon caused lots of threads to show up in a profile, and all the stack unwinding goodness seems to work!

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

Source-Repo: https://github.com/servo/servo
Source-Revision: 82bffefbf7820b58d2ddbf0440326af799d1e36b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8f393fa7fa3aaa58448bb3a8fc382ed7a5425286
2017-05-09 19:12:40 -05:00
Jeremy Chen
e180baa497 servo: Merge #16782 - Fix the serialization of image-orientation property (from chenpighead:stylo-serialization-of-image-orientation); r=nox
Gecko bug: [Bug 1363295](https://bugzilla.mozilla.org/show_bug.cgi?id=1363295)

Source-Repo: https://github.com/servo/servo
Source-Revision: a05427fcd04054c59aa4f011c195879f283aca5e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3442623fb384ffd4848e62f00952409fe2533b7c
2017-05-09 16:10:49 -05:00
Matt Brubeck
964d3bb34e servo: Merge #16784 - Bug 1349651 - stylo: Implement HasAuthorSpecifiedRules (from mbrubeck:has_author); r=bholley
https://bugzilla.mozilla.org/show_bug.cgi?id=1349651

Source-Repo: https://github.com/servo/servo
Source-Revision: 66cfea6728135d18be253c6f97f4a65ef561ba55

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 24fa015b67008ac43f9f54a5ed4da6b616b6c0fe
2017-05-09 13:21:29 -05:00
Nazım Can Altınova
025efd524f servo: Merge #16780 - Add comments to shorthand alias logic that explains the interesting bahavior (from canaltinova:shorthand-aliases); r=emilio
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [X] These changes do not require tests because they are just comments and variable name change.

Source-Repo: https://github.com/servo/servo
Source-Revision: 121662aa570f9e4005deec6d502acba7ab56c076

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0fa98b90dd13137836df683c20a134177ea3aaaa
2017-05-09 07:34:42 -05:00
Fernando Jiménez Moreno
92572b43ec servo: Merge #16768 - Stylo: Bug 1355408 - add support for @-moz-document (from ferjm:bug1355408.mozdocument); r=xidorn
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Link to the gecko bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1355408.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8bc20ee9ac90b56a21bee8c9d507bc4624ef5dc9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 307c61b490fce69f1b559d25159009e75cc25be1
2017-05-09 05:54:07 -05:00
UK992
a6013107c5 servo: Merge #16722 - Add clobber mechanism (from UK992:clobber); r=SimonSapin
Solution for https://github.com/servo/servo/issues/16602 and https://github.com/servo/servo/issues/16632
Only work when `AUTOCLOBBER` environment variable is defined.

CC @SimonSapin @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 9c9bd178713a1def9bec57e7f96e3365252c0f88

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cd841cb12094f76b56791b19b9ab970fda70d377
2017-05-08 23:53:05 -05:00
Nathan Froyd
5248783910 servo: Merge #16303 - bump required rayon version to 0.7 (from froydnj:rayon-version-bump); r=jdm
...and bring jpeg-decoder along for the ride.  Minor tweaks were necessary because of rayon API changes.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: fc3a7d03f2b0c5292e7414e7555fb75ae0b1d663

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5141549e2d1236f5d11df90f69de7463813e6a70
2017-05-08 21:36:48 -05:00
UK992
ddb826cc6b servo: Merge #16767 - Try to re-enable unit tests on travis-ci (from UK992:travis); r=jdm
After https://github.com/servo/servo/pull/16573 and https://github.com/servo/servo/pull/16593, issue https://github.com/servo/servo/issues/15076 _could_ be fixed.

Edit:
Closes #14723
Closes #15076

Source-Repo: https://github.com/servo/servo
Source-Revision: 8ff484d3fd0b092d64af8b0a2cfa51b318631b82

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b2ee28ecf18792f3a1ebf50bcb548ede41fb2e70
2017-05-08 20:05:16 -05:00
Emilio Cobos Álvarez
0b1cf902d6 servo: Merge #16774 - Unbust stylo (from emilio:unbust-stylo); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: fca15d378257c6ec558ee06527245c637a3eea8d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c55e518e5b9fb06e42b1ba238bfab39588fd25d
2017-05-08 18:59:33 -05:00
Nazım Can Altınova
4f401b87b4 servo: Merge #16607 - Fix variable serialization bug on shorthand alias properties (from canaltinova:moz-transform-var); r=SimonSapin
<!-- Please describe your changes on the following line: -->
-moz-transform were having a problem with variable serialization. It wasn't printing transform's value and transform wasn't printing -moz-transform's if their value was a variable. This PR fixes that.
Reduces stylo -moz-transform failures to 2: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3fd3a57873e5e98dfcb173eef4b13822a66fdf6a

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 0d9b26f4e4f05b704ffa15b187190388804167a2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 241bedf9f046564768f5c8786259d67dc33647ed
2017-05-08 17:34:54 -05:00
Simon Sapin
e6f8270155 servo: Merge #16756 - Upgrade to rustc 1.19.0-nightly (ced823e26 2017-05-07) (from servo:rustup); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 19706085a7206144423a878f1617b32d56d406de

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3398392ca8151d6ea6feb6ec1abc4be66620f4bd
2017-05-08 16:06:56 -05:00
Ksbugbee
49c524ca20 servo: Merge #16761 - Use hash2 instead of deprecated hash (from Ksbugbee:master); r=jdm
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 4e3544f05c161039b97fe4c20daca4a0baf372fe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c7f59de471905adb648376cc3eb2e1183bc97d80
2017-05-08 13:42:32 -05:00
Nick Fitzgerald
7783990c45 servo: Merge #16392 - Update the style crate's bindgen dependency to 0.24.0 (from fitzgen:update-bindgen-dependency); r=emilio
<!-- Please describe your changes on the following line: -->

Update style's dependency on bindgen from 0.22 to 0.23

This introduces a huge mess of transitive dependency versioning issues with `bitflags`, which I'm going to just ignore for now. Will file a follow up issue to address them properly.

r? @emilio

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because bindgen has its own tests, including building stylo's bindings now.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 81f273b66f3af5cd814ef34c2754121d59547de6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 046a4c45f3e47212625bbdb70fe340c64f846ec0
2017-05-08 12:19:59 -05:00
Xidorn Quan
c88b2a9b34 servo: Merge #16762 - Generate atom files at build-time (from upsuper:buildtime-pseudo); r=emilio
The commits here basically do the following things:
1. move all generated files for gecko into "gecko/generated" so that we can copy all of them around
2. make regen_atoms.py generate file to the out dir rather than in-tree
3. make the build script invoke regen_atoms.py when bindgen feature is enabled

Source-Repo: https://github.com/servo/servo
Source-Revision: a5fe464e4a2f001ab9b47b1c5c0dd8e3de0fd8e2

--HG--
rename : servo/components/style/gecko_string_cache/atom_macro.rs => servo/components/style/gecko/generated/atom_macro.rs
rename : servo/components/style/gecko_bindings/bindings.rs => servo/components/style/gecko/generated/bindings.rs
rename : servo/components/style/gecko/generated/gecko_pseudo_element_helper.rs => servo/components/style/gecko/generated/pseudo_element_helper.rs
rename : servo/components/style/gecko_bindings/structs_debug.rs => servo/components/style/gecko/generated/structs_debug.rs
rename : servo/components/style/gecko_bindings/structs_release.rs => servo/components/style/gecko/generated/structs_release.rs
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8635b39ccdefe6d7e8ad306857d3441512755248
2017-05-08 07:35:19 -05:00
Emilio Cobos Álvarez
1f6edba4b7 servo: Merge #16766 - layout: Fix radius percentage resolution (from emilio:border-radius); r=glennw
Fixes #16764

Source-Repo: https://github.com/servo/servo
Source-Revision: 34d33574dbd8696ff788ae8b9af65f8e88f404a9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 979c8ae0d11656329d6949014536e817bd56dcab
2017-05-08 06:24:42 -05:00
UK992
5583a3477b servo: Merge #16593 - Mach: Add mach clean-cargo-cache command (from UK992:clean-cargo-cache); r=wafflespeanut
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: f6bd158fd4287226a881e58020f7dc154fa32532

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ca806671abe6fe30d24e0d1965aa6aef12825a3a
2017-05-08 04:37:21 -05:00
cku
48ea643f20 servo: Merge #16765 - stylo: Export mozilla::css::ImageValue to stylo (from CJKu:bug-1310885-part-1); r=heycam
<!-- Please describe your changes on the following line: -->
This is "Bug 1310885 - Part 0. (gecko) Export mozilla::css::ImageValue to stylo."
We need to land it separately to prevent build break.

Link to the gecko bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1310885.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 2119c16b6672aa06492f84ee12aee698c38eb013

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c98bec8f70b8c73022102ed66c3b8174e18179a8
2017-05-08 03:28:48 -05:00
Glenn Watson
ab2641cb40 servo: Merge #16759 - Enable subpixel anti-aliasing on text by default (from glennw:subpixel); r=cbrewster
No doubt there are still some bugs and missing features related to subpixel text anti-aliasing.

But enabling by default should allow us to detect these and fix them.

If we run into any major issues, this is a standalone commit that can be reverted while we fix the problem.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4e390e2630f244e77032ded404ca885c3e3ed8a7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 17d2967f06946042885de47bfc7541b6de5e91b5
2017-05-07 20:27:46 -05:00
Glenn Watson
dd4b6dad07 servo: Merge #16758 - Update WR (transform shader select optimization, subpixel + disable AA fix) (from glennw:update-wr-xf-subpixel); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: f0cf9f47b55c90a27ff40294775882fa80aabe86

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c0a66dc172d6799c136ca29e5541d1bf740abaf2
2017-05-07 19:18:32 -05:00
zombiefungus
4b1d363d8d servo: Merge #16757 - Remove obsolete paint threads option #16716 (from zombiefungus:issue16716); r=KiChjang
<!-- Please describe your changes on the following line: -->
Remove paint_threads from `ports/cef/core.rs` and `components/config/opts.rs`

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #16716

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: c171ded902f60132e2e99e72a075afd63d0df4b5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bb0d17dedcfa653a0033bb9eb47b35220b5c79a5
2017-05-07 17:09:47 -05:00
Pyfisch
8844d0506c servo: Merge #16666 - Improvements to gradients (from pyfisch:gradients); r=emilio
This is a collection of commits improving the rendering of linear and radial gradients by making them conform more closely to the spec.

All commits are are independent and should work without the others.

These commits address the following issues:
* a956e3fd529715cc0ac39b23910f19e092c7c5a9 resolves #3908 but contains also some other necessary changes to `convert_gradient_stops`. The updated function has a few more copys but should be more correct. Maybe @pcwalton wants to comment since he has originally written the code.
* b230be8aaf318fb754cf58e5cd243087df2f7e0f partially solves #16638. (Partially because `border-image-outset` is not implemented. This is an older issue for border gradients: #15894.

To quickly catch regressions and see changes to gradients I have created [a set of twelve manual testcases](https://pyfisch.org/stuff/testcases-gradients.html) and placed them in a single file. Attached are two files. One shows how the gradients were rendered before the PR the other one with the changes applied.

![testcases-old](https://cloud.githubusercontent.com/assets/2781017/25580052/b433278e-2e7d-11e7-9396-500fef12eee0.png)
![testcases-new](https://cloud.githubusercontent.com/assets/2781017/25580051/b43222c6-2e7d-11e7-99ab-c0a2709baf41.png)

r? @emilio
and maybe also @jdm?

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 3f1ae6425588bbac37da2e0f8aa2a708f51fa988

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b6e9d1479c65a59ebe6df841e7b648782449c5dc
2017-05-07 07:56:51 -05:00
Nazım Can Altınova
7a652ca8ee servo: Merge #16754 - Fix parsing behavior of text-shadow property (from canaltinova:text-shadow); r=emilio
Blur radius should reject negative values. There was already `Shadow` struct for properties like this. `filter: drop-shadow` also has the same syntax with that property. I thought sharing the same code would be better and used Shadow struct for parsing. Converted to SpecifiedTextShadow to get rid of unneccessary fields and to be able to convert its computed value. Maybe it would be better to avoid using `Shadow` or just using `Shadow` but sharing code and avoiding unneccessary fields seems better.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: bd2cd40c5029f3124f2ed492b4fab7dc8f9101c8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : eef3852365762813fc15d7d3d1e70984889254c0
2017-05-06 16:10:22 -05:00
Xidorn Quan
35fbfcdb54 servo: Merge #16750 - Use nsIAtom for counter style name (from upsuper:bug1362302); r=Manishearth
This is the Servo side change of [bug 1362302](https://bugzilla.mozilla.org/show_bug.cgi?id=1362302) which has been reviewed on Bugzilla.

Source-Repo: https://github.com/servo/servo
Source-Revision: 806f369a79409304024ba15259ec5ef68afebe51

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5bd0958a8d9ef82a8b8165208d4018e5d8e7987c
2017-05-05 23:15:08 -05:00
Xidorn Quan
d101c82a5c servo: Merge #16751 - Update binding files to autoland tip (from upsuper:update-bindings); r=jdm
Sync in-tree binding files with that generated from Gecko CI.

Source-Repo: https://github.com/servo/servo
Source-Revision: deff38597abae4687c9043c3f04e4d7c54715934

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5761649bc74fdd4786795f6ff29a046ad2def65e
2017-05-05 22:22:33 -05:00
Anthony Ramine
71d7d7e8dc servo: Merge #16744 - Properly parse 'pointer-events: all' (from nox:pointer-events); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: f50b8fd54556ddb1baf6707dcec4cb271d0cc2e6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a5ec06b16f132d2147ff84c52a239521263b9559
2017-05-05 17:25:59 -05:00
Bobby Holley
0698f88159 servo: Merge #16745 - Use selector maps for revalidation and dependency selectors (from bholley:more_selector_maps); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1360088

Source-Repo: https://github.com/servo/servo
Source-Revision: 741958b2fbe0cdf0a89e4dc88c3b1a51e18693d3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 547c741c779e30d048ab03fbf3926435f54a9f78
2017-05-05 16:29:00 -05:00