Граф коммитов

9535 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Dahse 1cc7429f72 servo: Merge #17189 - Add pref to force WebGL context creation failure (from bd339:iss17038); r=emilio
<!-- Please describe your changes on the following line: -->
Introduces the pref `webgl.testing.context_creation_error`, to force creation of a new WebGLRenderingContext to fail.

---
<!-- 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 #17038 (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: 3db7f5d556d85ff6af9bb81f693a2c65e6e791fa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 19078df81cf2bd36ab232a25d7c68976ffc7c673
2017-06-07 02:27:29 -07:00
Cameron McCormack 97aa2732a0 servo: Merge #17204 - style: always re-cascade in native anonymous subtrees (from heycam:recascade-nac); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1345699.

Source-Repo: https://github.com/servo/servo
Source-Revision: 644773d492909e4450832954d21970271655e798

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ce50d0d4c9f347fd96e7d3d91243860bf4527d24
2017-06-07 01:04:08 -07:00
Boris Chiou f036767f24 servo: Merge #17202 - stylo: Bug 1335998 - Handle interpolation and accumulation of mismatched transform lists (from BorisChiou:stylo/animation/mismatched_transform); r=Manishearth,birtles
These are the interdependent patches of Bug 1335998. We want to do interpolation and accumulation for mismatched transform lists, so introduce ComputedOperation::InterpolateMatrix and ComputedOperation::Accumulation. Both arms store the from_list and to_list, and resolve them until we have the layout information. For the Servo part, we haven't implemented how to read the transform lists in layout/fragment.rs, but I think it would be easy. (related issue #13267)

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1335998](https://bugzilla.mozilla.org/show_bug.cgi?id=1335998)
- [X] There are tests for these changes

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 08d5082c5675c530b9d05136c673df1a025cf9c5
2017-06-06 23:54:41 -07:00
Bobby Holley 872395f116 servo: Merge #17197 - Force the NonZero optimization for servo_arc and StrongRuleNode (from bholley:nonzero_arc); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1370711

Also addressing followup feedback from https://bugzilla.mozilla.org/show_bug.cgi?id=1370107

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ff7fe886435256279ddf40354eca2dc178fb4a44
2017-06-06 22:42:42 -07:00
Xidorn Quan a5d4fe0775 servo: Merge #17199 - Make shadow values share more code (from upsuper:shadow); r=Manishearth
<!-- Please describe your changes on the following line: -->
Make `text-shadow` reuse `Shadow` type directly.

---
<!-- 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 refactor

<!-- 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: 2df8f69bcf8917a8300c24f920f7677f1f40ae11

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 21e0ed70168cc66ca125486a2adaa956f529fe57
2017-06-06 21:02:30 -07:00
Imanol Fernandez 30d5f7f68d servo: Merge #17141 - Ged rid of libfontconfig in Android (from MortimerGoro:android_fonts); r=mbrubeck
Libfontconfig dependency is causing huge startup times in Android (20 seconds on each page load!). On other platforms fontconfig caches are already available or can be prebuilt on installation scripts, but this can't be done on Android. Updating libfontconfig dependency doesn't fix the problem either.

This PR gets rid of libfontconfig in Android. It queries available fonts and variations from Android System font configuration files. Android doesn't provide an API to query system fonts until Android O (which is very far from the minimum API right now...)

---
<!-- 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 #16195 (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: f388c0ab1e4df8cbd94d58eb7657f36baaf813fe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 402786ba71fef37e4d7c35c71256685885efd34e
2017-06-06 13:29:05 -07:00
Anthony Ramine 55f65dd83e servo: Merge #17186 - Use more generics and remove more code from mako files (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 80488c4494911257e62c98388b36d94d74f9d330

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8f1fafdc30e127b62a1e50381f2988f62cdce045
2017-06-06 10:28:26 -07:00
Simon Sapin 962178dc77 servo: Merge #17185 - Fix some "unused" warnings (from servo:unused); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 87005a0df33531995635728989c929572de429e7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 132d1a167ffd5a75ed978da5c82b71b8530bc8b1
2017-06-06 08:13:39 -07:00
Manish Goregaokar 8bba91e006 servo: Merge #17180 - stylo: Animate fill and stroke (from Manishearth:stylo-fill-stroke); r=birtles
r=birtles https://bugzilla.mozilla.org/show_bug.cgi?id=1369277

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 102307b86e1007f671d13825faaa76e91c48e0bc
2017-06-06 00:12:51 -07:00
Manish Goregaokar 2c28080629 servo: Merge #17173 - Stop parsing @supports rules before Delimiter::Bang (from Manishearth:supports-fixes); r=upsuper
Fixes #15482

Shorthand parsing uses `parse_entirely`, so we have to ask it to stop before the `!important`.

An alternate fix is to not use `parse_entirely` there and ensuring that all callers of `PropertyDeclaration::parse_into()` check that the input is exhausted. Two of the three callers do that anyway because they check for `!important`.

We also weren't checking for the end of the parser for `CSS.supports()`.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 271b84c5cb44b18f04d1c887ae98ec5154ab8817
2017-06-05 23:19:31 -07:00
Cameron McCormack 6de5b55b7b servo: Merge #17165 - support matching :-moz-browser-frame and :-moz-table-border-nonzero against snapshots (from heycam:pseudo-other); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1365159.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f2fd9b32085a7dd0299b7de9fd9bf1f68fbd52a6
2017-06-05 22:09:56 -07:00
Manish Goregaokar 9eb6ee999a servo: Merge #17177 - Make SVGPaint generic (from Manishearth:generic-paint); r=upsuper
r=xidorn https://bugzilla.mozilla.org/show_bug.cgi?id=1369277

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4086df23e463d394b880730b2cf2ab7c7b595ac5
2017-06-05 21:17:57 -07:00
Bobby Holley e95fb71e70 servo: Merge #17179 - shrink Rule and store all heap-allocated selector data inline (from bholley:one_selector_allocation); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1370107

Source-Repo: https://github.com/servo/servo
Source-Revision: 74ea8ce3ed6aa3d7edfe05924f196ccbe57daed6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a8c3994ae54b1775686552f549605a7fc2ba5646
2017-06-05 20:10:28 -07:00
Josh Matthews 9da526778d servo: Merge #17169 - Read 32kb from the network at a time (from servo:jdm-patch-2); r=SimonSapin
Now that https://github.com/servo/servo/pull/16989 has merged, this might actually work.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b9986d202edf296fbaa81a64143fcaba2dfddc8d
2017-06-05 18:18:30 -07:00
Josh Matthews 44a956d75a servo: Merge #17161 - Set the initial disk image size for mac packages (from servo:jdm-patch-1); r=cbrewster
Attempting to fix https://github.com/servo/servo/issues/16644 per https://apple.stackexchange.com/questions/156994/yosemite-hdiutil-create-failed-error-5341.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5c3b9ef3a0db7aeaf76ede239bc3700369233e12

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4d71cbd35af4e40b0567df19ee7a4c6a8a3e081c
2017-06-05 16:41:10 -07:00
Matt Brubeck a8ee4920a7 servo: Merge #17174 - stylo: Make :dir argument a case-insensitive identifier (from mbrubeck:dir); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1367315

Source-Repo: https://github.com/servo/servo
Source-Revision: 9987cb159ffe374024c8adbd28bab1283c766624

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 672007a92f7ccdca9ee1b11586594ef9ae859f4d
2017-06-05 15:44:33 -07:00
Boris Zbarsky d5bd3cab58 servo: Merge #17172 - Parent mismatch should not clear style sharing cache (from bzbarsky:cache-parent-level); r=emilio
We can have cousins in the cache whose parent doesn't match ours, and other
cousins whose parent does.  When we encounter one of the former, that's not a
reason to stop lookin for the latter.

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1369620

<!-- 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1369620"

<!-- 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: bba5339efc620b519f9bfd62b5b1e4654cd4234c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c70254a12eec16f91c0d51a15273d4def175554c
2017-06-05 14:36:35 -07:00
Anthony Ramine fbf9c65500 servo: Merge #17167 - Use generics for transition-timing-function 📈 (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 621c1a4f969ba5119fdd974932b5b82042891893

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a8fc5542508196f3a6d41dbc8c297eb6d220c3d2
2017-06-05 13:38:01 -07:00
Bastien Orivel e4f9b9cfee servo: Merge #17104 - Bump euclid to 0.13 and heapsize to 0.4 (from Eijebong:bump_euclid_heapsize); r=emilio
This is necessary for the serde 1.0 update.

--
- [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).

- [X] These changes do not require tests because it's just a dependency bump

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3c38f48b86e2d5e1be3d17569252a4be0b641e75
2017-06-05 12:34:19 -07:00
Boris Zbarsky 0869a243b9 servo: Merge #17055 - Allow style sharing for elements with ids as long as the ID is not being used for styling (from bzbarsky:sharing-across-ids); 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
- [X] These changes fix part of the problem we're seeing in https://bugzilla.mozilla.org/show_bug.cgi?id=1367862

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because the only impact is on performance and memory.

<!-- 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: 429db6a3c617ba147312e245f9a69d170c50d43f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cdbb999e4c21ba2e53d6e312dc91de7daca0b3f0
2017-06-05 11:05:00 -07:00
Connor Brewster e1f688d0c6 servo: Merge #17112 - Implement custom element registry (from cbrewster:custom_element_registry); r=jdm
<!-- Please describe your changes on the following line: -->
Implements https://html.spec.whatwg.org/multipage/#customelementregistry

---
<!-- 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 #16753 (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: b584944f1731c71920abf9a03e1f3cd1e790f7c4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f6ef7d4f479353a14d76019fb549a3f76f4c0e5c
2017-06-05 08:38:03 -07:00
James Graham d6e98c75c7 servo: Merge #17163 - Update mach bootstrap for changes to wpt harness path in gecko (from jgraham:gecko_wpt_update); r=jdm
Gecko is now using the wpt harness under the wpt tools directory
rather than a copy in an adjacent directory. Therefore the path to the
requirements files, and the required model paths, have changed.

<!-- 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
- [X] These changes do not require tests because it only affects the mach bootstrap script

<!-- 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: a36edb9970dbb658c17c008cfb22a7dc4f3e76ce

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5424d04e00c9dcf357a3670b7627a50bde4cad65
2017-06-05 06:26:31 -07:00
Paul Rouget cb25a010e7 servo: Merge #17164 - Remove no-op got_load_complete_message compositor property (from paulrouget:kill_got_load_complete_message); r=jdm
Removing no-op code.

---
<!-- 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 no-op code

<!-- 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: e2ae3b683eefbdb58477d3b696304f0aff7ec6ef

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 68dc02a16c7d9e0cf89f210ccb502dfaef1c709a
2017-06-05 05:24:38 -07:00
KuoE0 ac5349d7b2 servo: Merge #17123 - Store the pointer of reusable sheets in StylesheetLoader (from KuoE0:bug-1358993); r=heycam
<!-- Please describe your changes on the following line: -->

To make stylo support reusable style sheets, we need to store the pointer of reusable style sheets we got from gecko. And we pass them back to gecko to reuse.

---
<!-- 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 [Bug 1358993](https://bugzilla.mozilla.org/show_bug.cgi?id=1358993).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because the test cases are in Gecko.

<!-- 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: 63be9d7af243049ecc9535e0b65be69ffbd0cac7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4915bafe04910eee17d009b360c1d4ee874bb49f
2017-06-05 01:44:53 -07:00
Brian Birtles 278dcb4bda servo: Merge #17162 - Support additive SMIL animation (from birtles:additive-smil); r=hiro
These are the Servo-side changes for [Bug 1355349](https://bugzilla.mozilla.org/show_bug.cgi?id=1355349). They have been reviewed by @hiikezoe.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 402f97adf3de81f6b5875e3ff51b44fa9857a467
2017-06-04 21:41:06 -07:00
Xidorn Quan 97ab79c536 servo: Merge #17157 - Remove some redundant animation interpolation code (from upsuper:animation-type); r=<try>
Source-Repo: https://github.com/servo/servo
Source-Revision: 67eaae82ed59fffbcda3c4c98c949537a232f5c9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6b6f103a01e4c2abcb09bf89ef2226b4de4e5223
2017-06-04 19:34:05 -07:00
Emilio Cobos Álvarez b152f9ab2e servo: Merge #17154 - style: Split stylesheets.rs (from emilio:split); r=Manishearth
This file has become quite bloated lately. This commit deletes that file in
favor of a set of submodules.

The only noticeable change apart from code move, is converting deep_clone_foo
methods into a trait.

It also unifies logic related to different style rules in the same place.

There's some missing work, specially related to font-face and counter-style, but
I think this is worth landing in the meantime.

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

--HG--
rename : servo/components/style/document_condition.rs => servo/components/style/stylesheets/document_rule.rs
rename : servo/components/style/keyframes.rs => servo/components/style/stylesheets/keyframes_rule.rs
rename : servo/components/style/supports.rs => servo/components/style/stylesheets/supports_rule.rs
rename : servo/components/style/viewport.rs => servo/components/style/stylesheets/viewport_rule.rs
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 21cebaaa756b33956e197c7aeb537aecb8938f2a
2017-06-04 14:26:30 -07:00
Kenan Rhoton 8ee6cafb05 servo: Merge #17142 - Move LRUCache to ArrayDeque crate (from kenan-rhoton:LRUCacheArrayVecDeque); r=emilio
We move LRUCache from using VecDeque to ArrayDeque to avoid using heap allocations.

This relies on the fix in goandylok/arraydeque#4.

---
<!-- 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 #17054 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because the use cases are the same, only minimal implementation changes have been made

<!-- 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. -->
---

I additionally ran test-unit, because I'm paranoid.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3bbb1feb0ae4fb0919edb4f32252594911e1cbe4
2017-06-04 13:29:24 -07:00
Anthony Ramine fee2a4b0a6 servo: Merge #17152 - Derive the most trivial ToCss implementations 🌋 (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 942fce3a0bcc307caabecec42bc65265fbee6688

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 18f22c0213b3bb31eade96760c00b7ff3cf48cd8
2017-06-04 10:02:28 -07:00
Manish Goregaokar 58c1ee8e04 servo: Merge #17153 - stylo: disable @viewport (from Manishearth:stylo-vp-disable); r=emilio
Firefox doesn't support @viewport, we shouldn't either.

r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1347410

Source-Repo: https://github.com/servo/servo
Source-Revision: 7176e3ae9e399c413eed0559c68c0ba1945040bb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c6187010d8cfeb617292c50e38ea44d02890f715
2017-06-04 08:56:26 -07:00
Cameron McCormack 504c700905 servo: Merge #17151 - style: Recascade the document when rem units are used and the root font-size changes (from heycam:rem-recascade); r=emilio
<!-- Please describe your changes on the following line: -->

Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1367592.

---
<!-- 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: 6d6f03974dda8b3cccdbb692488bc2f708008cf2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ad26d6b90c5f40c874d924520830af41eb6d1add
2017-06-03 19:04:45 -07:00
Emilio Cobos Álvarez 6c8bd009b6 servo: Merge #17147 - Bug 1357461 - stylo: Cache media query results and only flush and restyle if they changed (from emilio:media-query-caching); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 7b61d5542194c4a9affced7fd408cfe3af5ddb23

--HG--
rename : servo/components/style/invalidation/mod.rs => servo/components/style/invalidation/stylesheets.rs
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d560fd4408803eb3b44555bec62bd1bf2584dac3
2017-06-03 08:11:23 -07:00
Anthony Ramine 7750f83ef2 servo: Revert "Update Rust nightly to 1.19.0-nightly (6165203c4 2017-06-03)"
This reverts commit f081380dc03dba9664877df2829097f32c40694a.

Source-Repo: https://github.com/servo/servo
Source-Revision: 56c961af5ab47cb314655e5e5cfaecdf1ddcff21

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e87a0eddbcfc53c630ada3ebeaa9910e5958ace6
2017-06-03 14:37:17 +02:00
Anthony Ramine 913dbdc6c4 servo: Revert "Update Rust stable to 1.17.0"
This reverts commit 8a9d9ab2f9d7d384ac0e94671fae705088c26399.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e9aa67d879f8188428a81821250f58888898efc2
2017-06-03 14:37:10 +02:00
Anthony Ramine 9db3bf6ff6 servo: Update Rust stable to 1.17.0
Source-Repo: https://github.com/servo/servo
Source-Revision: 8a9d9ab2f9d7d384ac0e94671fae705088c26399

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : edd717acf91fda91101679325e95959721954d1f
2017-06-03 13:35:19 +02:00
Anthony Ramine c4bb5225e7 servo: Update Rust nightly to 1.19.0-nightly (6165203c4 2017-06-03)
Source-Repo: https://github.com/servo/servo
Source-Revision: f081380dc03dba9664877df2829097f32c40694a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f513aeefe4b875e509cc1a2d895a5a246a552b4c
2017-06-03 13:27:19 +02:00
Manish Goregaokar aefb35e104 servo: Merge #17145 - Bump cssparser (from Manishearth:bump); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 985050d3645382d5c2cc6bd6819ab05f9b843331

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d060cd921861ad5001160771faa2e946b37b9175
2017-06-02 17:46:35 -07:00
Nikhil Shagrithaya 27e2ef2b43 servo: Merge #15354 - Redirect document loads manually (from cynicaldevil:manual-redirect); 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
- [X] These changes fix #14596 .

r? @jdm

I ran some tests at random from the `navigating-across-documents` folder, and they are passing.

<!-- 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: eac4f407e2bfa0055a698ca438972566f0814e43

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 68436f4afccd0313c5d1a0da4e0bbb72106284f5
2017-06-02 14:49:21 -07:00
J. Ryan Stinnett 7ad93200b3 servo: Merge #17144 - Stylo: Support link preshints on <body> (from jryans:link-pres-hints); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1367923

Source-Repo: https://github.com/servo/servo
Source-Revision: 54448305de3048f23004de0d9ee84efd25af8a79

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3434a499873b7a0fb4f36a21ea90ebb858d95dc4
2017-06-02 13:08:04 -07:00
Emilio Cobos Álvarez da66e602c0 servo: Merge #17139 - style: Simplify a bit the parsing code (from emilio:parsing-simplify); r=nox
I plan to simplify it further, but this is worth landing on its own.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d297ce11550aaf3095ba1fbe96bc02247804b43c
2017-06-02 05:38:48 -07:00
Emilio Cobos Álvarez a028105fd9 servo: Merge #17138 - Bug 1369198: Ensure pushing a declaration to a declaration block for parsing always inserts it at the last position (from emilio:parsing-decl-block); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: fab1a6354f103bb264941fff2619bca931e48a40

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 17efa9ba7272bbf253fd4863a7f5bdec31e93a20
2017-06-02 03:04:26 -07:00
Anthony Ramine e4babcc971 servo: Merge #17122 - Continue to slim down the code for CSS properties (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 028908ee269a680464d079ba4f6e9e8ef5b41749

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 644f808a229f33b2ba03cb759e8770e911e9d2ac
2017-06-02 01:53:55 -07:00
Hiroyuki Ikezoe 4f5d8b8393 servo: Merge #17137 - Get parent style in servo side (from hiikezoe:get-parent-style-in-servo-side); r=birtles
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1367293

---
- [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: cf71a0cd96e9add582ee597eea7ef99e9fd79ad7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 62d98be5f1998742c21de57b8d2e42ea86471b4c
2017-06-01 20:56:48 -07:00
Manish Goregaokar 01ab2af4eb servo: Merge #17130 - stylo: Handle attr() in `content` (from Manishearth:stylo-attr); r=heycam,emilio
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1346693

Source-Repo: https://github.com/servo/servo
Source-Revision: 373d3b91ddc3560a7de131bd5ca0f5f8030f1d7e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1902ce048c2c77cbee5ff949ca14fa7bbd881749
2017-06-01 15:34:55 -07:00
Jeff Hajewski 0f9e46262c servo: Merge #17121 - stylo: Fix serialization of system fonts (from Manishearth:stylo-system-font-ser); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: cfdb6af53b065d92fae028e48bf5e6c2c180dc56

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1e89e58419211b63956ac8e0fd85c71b354628e9
2017-06-01 14:04:41 -07:00
Emilio Cobos Álvarez ab02ee6c3f servo: Merge #17128 - stylo: Basic support for first-line/letter dynamic changes (from emilio:first-line-letter); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 17e69af0c9323927f724ff412867b24a0364efa1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 470cac1ddf3c8a85070ea4259e5641fee5e0ef77
2017-06-01 12:13:43 -07:00
est31 87ed7a909b servo: Merge #17067 - Bring back clipboard support (from est31:master); r=jdm
Brings back clipboard support.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #17065
- [x] These changes fix #12805

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
- [x] Testing these chances would require a full integration-style test suite, which servo currently lacks.

Source-Repo: https://github.com/servo/servo
Source-Revision: 12de6165321fe5c066d91bca73eea81c542e5994

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a706c0e2471171d6f6781af0a3596472553885cb
2017-06-01 10:07:16 -07:00
Gregory Terzian 710fb566c0 servo: Merge #17120 - fix double borrowing of image request (from gterzian:fix_double_borrowing_of_image_request); r=jdm
<!-- Please describe your changes on the following line: -->

@jdm I couldn't reproduce the crashes, but looking at the code, I can tell that if we hit the cache inside `fetch_image`, we go straight to `process_image_response`, so we're still in the same scope as that where the borrowing occurs in `prepare_image_request`. When there is no cache hit, `process_image_response` is executed as part of a task...

This should fix the issue, while retaining the original logic.

All tests in `the-img-element` are passing...

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #17109 (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: 6a638876fdf1f7c87d9c17d302864d38b67510cb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7253d409d575aaf9aee0cd50a2f52f93d9216da4
2017-05-31 21:47:33 -07:00
Xidorn Quan cba525c8ae servo: Merge #17118 - Remove unicode-bidi/with_serde feature from style deps (from upsuper:unicode-bidi-serde); r=heycam
It seems removing this feature from here would unbust stylo build on Gecko side, and style crate doesn't need it anyway, and for Servo, other crates would bring this feature back, so it shouldn't break Servo either.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 656f6a3562d94f5909c98c2b0f7729254117926b
2017-05-31 19:28:12 -07:00
Josh Matthews 6c29c8bee1 servo: Merge #17111 - Remove cssparser dependency from msg (from servo:jdm-patch-1); r=mbrubeck
This removes a bunch of unnecessary rebuilds when modifying rust-cssparser.

Source-Repo: https://github.com/servo/servo
Source-Revision: 04d84a26247b04457f21ac017e956b4709556545

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e1286b669f83774d6c708e89e50410d575fb4ba3
2017-05-31 18:06:28 -07:00
Aneesh Agrawal 3915c8b568 servo: Merge #17115 - Disable macbrew updater (from aneeshusa:temporarily-disable-macbrew-updater); 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: -->
- [ ] `./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 _____

<!-- 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: 1aa3eec66bf88f58b547a4ac71c353e774ecc790

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c263ab59c07e33f1137b78c836e89f20924d7702
2017-05-31 17:00:15 -07:00
Imanol Fernandez 0a31d50d11 servo: Merge #17008 - Make armv7-linux-androideabi default target on Android (from MortimerGoro:android_default_armv7); r=larsberg
<!-- Please describe your changes on the following line: -->

See https://github.com/servo/servo/issues/11921

After fixing problematic dependencies this is the last step to support armv7-linux-androideabi target on Android:

- Updates skia dependency to fix a linker error. See https://github.com/servo/skia/pull/136
- Fixes specifying android targets on `./mach package` and `./mach install` steps:
  -`./mach package --release --target=arm-linux-androideabi`
  -`./mach package --release --target=armv7-linux-androideabi`
  -`./mach package --release --target=aarch64-linux-android`
- Make `armv7-linux-androideabi`default when `--android` param is used in build, package or install commands

---
<!-- 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 #11921 (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: a694f70acf2f011da816a24716d6501ab153c64e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : aac3cdcf833b6cd64b5f81d27ae213d7272fe08d
2017-05-31 16:29:19 -05:00
Cameron McCormack 4d159e00f6 servo: Merge #17105 - Update rayon to 0.7.1 (from heycam:rayonup); r=nox
To take advantage of nikomatsakis/rayon#348.

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./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: 3337fccd991fcf9e935b1ada55621be474ffb6e6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ac84159cdc8e6d65c87916de46594de7c0490318
2017-05-31 15:20:22 -05:00
Fernando Jiménez Moreno 496ad5dd9e servo: Merge #17093 - Stylo - Bug 1365674: Simulate compute value failure for tests (from ferjm:bug1365674.simulate.compute.value.failure); r=hiikezoe
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

https://bugzilla.mozilla.org/show_bug.cgi?id=1365674

Source-Repo: https://github.com/servo/servo
Source-Revision: 71eb672923365095c45cbd15ee0746eae3908cb6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a49f3946d100f3988281242c50faa2d37589da46
2017-05-31 12:03:50 -05:00
Anthony Ramine 688412e03b servo: Merge #17095 - Refactor a few CSS properties (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: cd22fc6b902496d105f8003beaee5c8eb79e9669

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5609a0b5bb04fc8b3bd8f2adbab6fd3f31b84165
2017-05-31 11:08:56 -05:00
Bobby Holley 4caf2d2c7b servo: Merge #17110 - Improve Style Sharing (from bholley:better_style_sharing); r=emilio
Reviewed in:
https://bugzilla.mozilla.org/show_bug.cgi?id=1368665
https://bugzilla.mozilla.org/show_bug.cgi?id=1368399

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 04e46d17f239248fbe39ac7d6e7bd4287255cf74
2017-05-31 10:07:53 -05:00
Anthony Ramine 66cb2e3b5e servo: Merge #17107 - Revert "Auto merge of #16566" (from servo:android); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: c018340a138849b9b3552fed159fdde9b2be9697

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 80c9e028bea3572e181ca39a02202140b798d48a
2017-05-31 07:14:39 -05:00
Aneesh Agrawal 0de1fdcf67 servo: Merge #16566 - Remove redundant ANDROID_SDK variables (from aneeshusa:remove-android-sdk-override); r=larsbergstrom
The r25.2.3 Android SDK has been made the current version in saltfs,
so we no longer need to override it via environment variable.

Follow up to servo/servo#15773.
Requires servo/saltfs#644.

<!-- 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: -->
- [ ] `./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: 779edd7c4aaf900f12fab378a378b0fc52d4c628

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0b6b6b2cb7e84cd3e6f492df9489a98464fa9d79
2017-05-30 21:09:40 -05:00
Hiroyuki Ikezoe 121e35f3d5 servo: Merge #17102 - Animation only restyle fix (from hiikezoe:animation-only-restyle-fix); r=heycam
<!-- Please describe your changes on the following line: -->
This is a PR  for https://bugzilla.mozilla.org/show_bug.cgi?id=1361938
---
<!-- 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's for stylo

Source-Repo: https://github.com/servo/servo
Source-Revision: 31c7198f71550995066de6673af749472f083121

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d2c75c73e215732279474138e66c73ea3acc3c84
2017-05-30 20:07:26 -05:00
Aneesh Agrawal 3b42377db2 servo: Merge #17103 - Shim subprocess.DEVNULL for Python 2 (from aneeshusa:shim-subprocess-devnull); r=larsbergstrom
This was introduced in Python 3.3, so provide our own version.

Requires careful review since this will leak secrets (!!!) if not done properly.

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes help with #17045 (github issue number if applicable).

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

<!-- 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: 71a4daec510d79f49245981e0c379167812a9c0a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 73f7c797803357234bf2c988ba872e6ca1e56dd6
2017-05-30 19:06:45 -05:00
est31 2ab90b6956 servo: Merge #17098 - Update ogg and ogg_metadata crates to latest version (from est31:ogg); r=jdm
Update of two of my crates to their latest version.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1428077c024502aeebc7a02310404ee28837e06b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ea580bdc8f33604a2e8eb2fbcb9033eacdc55c46
2017-05-30 17:04:18 -05:00
Ted Mielczarek fad2466f21 servo: Merge #17094 - Update gl_generator to 0.5.3 to make output of some build scripts deterministic (from luser:update-gl-generator); r=emilio
This is simply the result of running:
cargo update -p gl_generator --aggressive

Source-Repo: https://github.com/servo/servo
Source-Revision: 47d6bba3559666f16f4f309ab397c0c16b6c254e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b17297dfe20d9aad627cdda0bfde8984de33a99e
2017-05-30 15:25:18 -05:00
Aneesh Agrawal dede65c36c servo: Merge #17085 - Fix `./mach upload-nightly macbrew` (from aneeshusa:fix-mach-upload-nightly-for-macbrew); r=larsbergstrom
<!-- Please describe your changes on the following line: -->
Fix a few issues with the Homebrew repository updating.
Follow-up to #16565; should finish off #17045.

Lightly smoke-tested locally this time.

---
<!-- 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 #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they will be tested on the builders

<!-- 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: 011a7adf56d9a58be9707cdeeeb824c4b70df84a

--HG--
rename : servo/etc/ci/servo-binary-formula.rb.in => servo/python/servo/servo-binary-formula.rb.in
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4ba5f84821956f6ec898cabeff5d212d6e276932
2017-05-30 14:06:59 -05:00
Xidorn Quan 63dbc5820a servo: Merge #17090 - Upgrade bindgen to 0.25.3 (from upsuper:upgrade-bindgen); r=nox
This fixes #17070.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1fea4894c45e22aba74708d765148c7b9895b9c9
2017-05-30 12:32:08 -05:00
Eloy Coto 3b2ceae77f servo: Merge #16317 - Fix #6799: set stacking_context_position correctly on fragment_border_iterator (from eloycoto:issue6799); r=emilio
Hey,

First of all, this is my first PR to Servo project and I'm learning Rust, so sorry if you see something that it's not correct. I did that as best as I know.

This PR fix the issue #6799; I tried all the corner cases that I can think about it and always get the right result and the same as other browsers.

Related to the build:

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #6799

In the other hand, I added the test in the cssom folder, is where getBoundingClientRect  is defined, so I think that is the best place.

I'm sure that the line 122 can be better, but I didn't find a way to transform a Point2D from f32 to px in a easy way.

I'm here to listen to your recommendations and fix any issue.
Thanks!

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f6d93a8b1753e0a3c56e1d5c1fc708de0456e2b8
2017-05-30 11:28:26 -05:00
Gregory Terzian 45e71e4162 servo: Merge #16238 - Implement "update the image data" (from gterzian:implement_update_the_image_data); r=jdm
<!-- Please describe your changes on the following line: -->
Spec compliant implementation of the [update the image data algorithm](https://html.spec.whatwg.org/multipage/embedded-content.html#update-the-image-data).

Currently still a work in progress, the ['async src complete test`](https://github.com/servo/servo/blob/master/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/img.complete.html#L33) is still passing as it was before, even though I switched to the new code, so I guess that's something.

@jdm I will be picking this up next weekend, I left a bunch of TODO and NOTES in the code, if you or someone else have time this week I would appreciate an initial scan and feedback.

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #11517 (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: fe7d039416ea93f9a5a120cda9a6114ec1438c3e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5bd5a073407bb4bd7f2590c53f2b3a18bac3bf51
2017-05-30 10:27:08 -05:00
Josh Matthews a8336b3ca0 servo: Merge #17080 - Update rustc (from jdm:updaterust); r=nox
This brings in https://github.com/rust-lang/rust/issues/39160 which significantly improves the default debugging experience on macOS.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0c1abc4ad87968a2ebcd0a2f9d80612f0c58cc78
2017-05-30 08:54:49 -05:00
Emilio Cobos Álvarez 7b2d94daee servo: Merge #17063 - style: Allow sharing styles across elements with presentational hints (from emilio:pres-hints-sharing); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 38a6a3bff6f6e0e35eb592891d5e70e7cb897b69

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5c6316d592dfa5ef57e7fc03f4c5211cbbc1b1d7
2017-05-30 07:28:06 -05:00
Cameron McCormack 5abc0930eb servo: Merge #17092 - style: Add support for disabled document colors (from heycam:document-colors); r=xidorn
Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1355716.

Source-Repo: https://github.com/servo/servo
Source-Revision: 43862ba0450427c7ad27e191789df5cf6d746c55

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 79a599c4b44962d6fcea177ee4dfa5aa72c52c36
2017-05-30 06:10:42 -05:00
Anthony Ramine f7c6cee7a6 servo: Merge #17071 - Reuse Rect<T> some more (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 433d68955b276266d620f788ad509678edc35071

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : adcf447653e4fb82c9ba5fa736085e418722118d
2017-05-30 05:11:28 -05:00
Simon Sapin 4e00dd35ff servo: Merge #17061 - EventSource: decode UTF-8 code points across network packets (from servo:utf8); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 25d0c561413a42fd375ea04d891855581fdf5168

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 26ffcd358d3738d542feb0578c03f183bbb0b5c8
2017-05-30 03:50:18 -05:00
Hiroyuki Ikezoe 242d05ee83 servo: Merge #17089 - Support currentColor for fill and stroke (from hiikezoe:current-color-for-fill-and-stroke); r=xidorn.
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1368376

---
<!-- 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's for stylo

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 03cac1d3213fc608183a2090a45446f46d01c25c
2017-05-30 01:47:44 -05:00
Cameron McCormack 1f4808b691 servo: Merge #17087 - style: Support a restyle hint that indicates all descendants must be recascaded (from heycam:recascade); r=emilio
This also moves the result of deciding whether to recascade from the RestyleData into the RestyleHint.

Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1367647.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e2d2e62ab8c60cc13ea288498a334c3d2b9fe91b
2017-05-29 20:16:12 -05:00
Xidorn Quan 15091c9b2a servo: Merge #17086 - Add CSSOM support of @import rule for stylo (from upsuper:bug1352968); r=heycam
This is the Servo side change of [bug 1352968](https://bugzilla.mozilla.org/show_bug.cgi?id=1352968).

Source-Repo: https://github.com/servo/servo
Source-Revision: 085743560caffc0d25c7225ac979a857efd82155

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 446fee2038c6da63ed23b4b162fd619e12cbc650
2017-05-29 18:51:45 -05:00
Xidorn Quan 1adf4c5700 servo: Merge #17073 - Set flex-basis to 0% when omitted in flex shorthand (from upsuper:flex-basis-zero); r=emilio
This should fix [bug 1331530](https://bugzilla.mozilla.org/show_bug.cgi?id=1331530).

Source-Repo: https://github.com/servo/servo
Source-Revision: 76daf462956a50c3348b6dac516d5f013355a88b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : acfcdeb21b6948f100e7d06f43dface47ea24056
2017-05-29 17:58:44 -05:00
Emilio Cobos Álvarez 6e97f119ed servo: Merge #17078 - stylo: Avoid restyling the whole document when adding stylesheets (from emilio:stylesheet-invalidation-scopes); r=heycam
This is for bug 1357583.

Source-Repo: https://github.com/servo/servo
Source-Revision: 939716a7bc2ba2fbd8dcfe8b64d2f61edfa99c95

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b25a23978bde1dc6abdaaa9621eca4903152efd2
2017-05-29 14:19:16 -05:00
daisuke 0f79dca0a2 servo: Merge #17075 - Bug1367283 (from dadaa:bug1367283); r=hiikezoe
<!-- Please describe your changes on the following line: -->
This PR is to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1367283

---
- [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. The tests will land in dom/animation/test of m-c.  Test code is patch 9 of https://bugzilla.mozilla.org/show_bug.cgi?id=1367283

Source-Repo: https://github.com/servo/servo
Source-Revision: 63533ce72ae13631b872d4abc89a8b8a3fd211f6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 66bb5a56c53e33c7f66fa210728784d57a659377
2017-05-29 12:44:38 -05:00
Glenn Watson 78f63113fd servo: Merge #17052 - Update WR (mostly optimizations) (from glennw:update-wr-stuff); r=jdm
* Correctly handle degenerate border corner radii.
* Hold glyphs and images in resource cache longer.
* Optimize the primitive instance code.
* Texture cache coalescing optimizations.
* Workarounds for a couple of driver shader parsing issues.
* Optimize vertex format sizes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 45d8b0f0b61b8026a57cf5704de2f9d8b53ace45

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a690cfc1b965fae743cbb5373782d4d2f5e211ad
2017-05-29 11:15:10 -05:00
Matthew a680529295 servo: Merge #16987 - Using stack-allocated variable for font feature setting (from tictakk:ticbranch); r=emilio
<!-- Please describe your changes on the following line: -->
Using stack-allocated small vector instead of the previous vector<u8>.

---
<!-- 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   #16743 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is an optimization

<!-- 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: 8dc787923020561fe033ae8e6efeccff5226c83e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 904a493ead4478696c0438984ba39fec27f714d9
2017-05-29 09:58:43 -05:00
Cesar Carruitero d1cde0b652 servo: Merge #16940 - upload geckolib docs to doc.servo.org (from ccarruitero:fix16887); r=emilio
<!-- Please describe your changes on the following line: -->
add `geckolib` docs into upload docs script

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [X] These changes fix #16887

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

<!-- 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: 166abb82bc1ab56343002d8acd365c5d20795ba0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1974b178c1702367b804595142d4de50d7e4bf44
2017-05-29 09:04:55 -05:00
Paul Rouget 21681bd51e servo: Merge #17074 - remove no-op viewport code (from paulrouget:remove_viewport); 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
- [x] These changes fix #16809 (github issue number if applicable).

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

<!-- 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: 86dcd5366f18ab01fa309c976a895effdd959fa8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 985bb9e84ccf8aade46c66e1892fb98d589bf16e
2017-05-29 07:13:58 -05:00
UK992 06ab2953a7 servo: Merge #17040 - Improve `clean-cargo-cache` (from UK992:clean-cargo-cache); r=jdm
It won't delete pack files from `db` directory anymore, which cause https://github.com/servo/servo/issues/16787 and it will remove empty folders now.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c772af762ddcab0e21c481a8189280c837c4d155
2017-05-28 22:27:18 -05:00
Nicholas Nethercote 5a6162c32d servo: Merge #17044 - Introduce and start using the MallocSizeOf trait (from nnethercote:MallocSizeOf); r=emilio
MallocSizeOf is similar to the existing HeapSizeOf trait from the
heapsize crate. The only difference is that MallocSizeOf's
malloc_size_of_children() function takes an additional MallocSizeOfFn
argument, which is used to measure heap blocks. This extra argument
makes MallocSizeOf match how Gecko's memory measurements work, and is
required for Stylo to integrate with DMD.

The patch also introduces a second trait, MallocSizeOfWithGuard, which
is much the same as MallocSizeOf, but with a |guard| argument for the
global style lock.

Finally, the patch uses the new traits to measure a small amount of
Stylo's memory usage.

---
<!-- 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 code is only for Gecko integration.

<!-- 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: aca09436b71e6defe007e1d17a9d79214d094a7b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1d5dc4e7ab75e8e0332922396b5b55ed67c4572e
2017-05-28 21:10:25 -05:00
Lars Bergstrom db1e0aba1b servo: Merge #17003 - Split out some mac builds (from larsbergstrom:more_mac_builders); r=jdm
Splits out the WPT and CSS tests on mac to twice as many builders, each.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 27010c752bd21fca1fd40920efb307acf5477910
2017-05-27 21:08:18 -05:00
Manish Goregaokar b61188e68e servo: Merge #17058 - stylo: Support remaning longhands (from Manishearth:stylo-randomprops); r=emilio
r=xidorn https://bugzilla.mozilla.org/show_bug.cgi?id=1367275

Source-Repo: https://github.com/servo/servo
Source-Revision: 369d5cf1242632efeb56278e18a5ea25a3c933a5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 97e668f065ac48f4ec15be64d14f1e021e1dd288
2017-05-27 13:37:59 -05:00
Xidorn Quan bb7cc25584 servo: Merge #17060 - Support symbols() function and string value for list-style-type for stylo (from upsuper:bug1363596); r=heycam
This is the Servo side change of [bug 1363596](https://bugzilla.mozilla.org/show_bug.cgi?id=1363596).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4ea6335973ab09929ce29a0995f198796e61b10a
2017-05-27 07:09:30 -05:00
Anthony Ramine e8079db782 servo: Merge #17036 - Use values::generics::rect::Rect some more (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 7275f6598120266a0beaeff1294271a23cd40d4d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3038879ba4d05bef847240e2446f9a39aec1d907
2017-05-27 05:41:12 -05:00
Simon Sapin 54141e8c25 servo: Merge #16989 - Decode UTF-8 code points across network packets (from servo:packets); r=nox
<s>Depends on https://github.com/servo/html5ever/pull/272</s>

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8b253d2047180c269f25189f8bf24c67128c5460
2017-05-27 04:18:58 -05:00
Imanol Fernandez a9cfdd9937 servo: Merge #16867 - Update offscreen_gl_context (from MortimerGoro:update_offscreen_gl_ctx); r=jdm
<!-- Please describe your changes on the following line: -->

Adds https://github.com/emilio/rust-offscreen-rendering-context/pull/97 and https://github.com/emilio/rust-offscreen-rendering-context/pull/98 required to run some WebGL demos

---
<!-- 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: 00a5da36fbe8fdc8336ff1800ad16d0141c77c47

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fe30e163752773708e2fd1f00abe0662237cff24
2017-05-27 02:50:34 -05:00
Manish Goregaokar 32ba75ea69 servo: Merge #17057 - Don't set root font size when styling NAC (from Manishearth:nonac); r=emilio
try at https://treeherder.mozilla.org/#/jobs?repo=try&revision=ad4acc4941dd91d10e3646ecd7fa03576fc75342

Source-Repo: https://github.com/servo/servo
Source-Revision: 6706c818371c18e23e75de59aebc7327be67ead8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b2e8b38256872ea7d3d9a384e209f600bc6f91ca
2017-05-27 00:18:01 -05:00
Alan Jeffrey 8e4689ec10 servo: Merge #16997 - Webdriver browsing contexts not pipelines (from asajeffrey:webdriver-browsing-contexts-not-pipelines); r=jgraham
<!-- Please describe your changes on the following line: -->

At the moment, a webdriver session stores a `pipeline_id`s, which causes a mismatch with the spec, which asks a session to store a browsing context and a top-level browsing context. This PR fixes this mismatch.

---
<!-- 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 we are not testing webdriver

<!-- 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: 0bc7e2fddf51d43c6c135d95ab9c9a8a08756ffb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 182f660ea11c684bb880cc94c6304d397ee56c2d
2017-05-26 16:38:12 -05:00
Matt Brubeck a71bb5f866 servo: Merge #17042 - Update dependencies (from mbrubeck:always-be-updating); r=jdm
No Cargo.toml changes except `base64` which is updated from 0.4.2 to 0.5.2.  Does not affect stylo.  No new crates in the dependency graph.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cb0b3486ed513099879fe7303766ad75def4ab8f
2017-05-26 12:18:12 -05:00
antunovicm b958c4890f servo: Merge #16920 - Implement window.closed (from synlestidae:servo-16705); r=asajeffrey
<!-- Please describe your changes on the following line: -->

Implements #16705. window.closed should evaluate to true if BrowsingContext is discarded

---
<!-- 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 #16705 (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: 8747ccc9e853bcede73b838634992638655934f5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 601cc1122010a95a15a2d44cf6c98c261f30045a
2017-05-26 10:10:36 -05:00
L. David Baron 1194947216 servo: Merge #17046 - Fix stylo bindings for Gecko changes to nsITheme constants in bug 1367577 (from dbaron:bug1367577); r=Manishearth
These changes fix the stylo bindings for the changes to the Gecko nsITheme constants in [bug 1367577](https://bugzilla.mozilla.org/show_bug.cgi?id=1367577).

I believe there isn't anything in these changes that should affect the stylo build (as opposed to the servo build, which I've tested on try in that bug).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d2acf0b9c55e2489ce65782dbc1891c44c630703
2017-05-26 08:48:39 -05:00
Brian Birtles 49ca3776b1 servo: Merge #17050 - Fix calculation of base styles to drop animation rules (from birtles:fix-base-styles); r=hiro
It seems that changeset 97ce9ed5b08f7b1c7c6cd71a9499068b8bd2ae4e mistakenly changed the check that a cascade level to keep is *not* an animation level to a check that it *is* an animation level.

This patch has been reviewed by @hiikezoe in [Mozilla bug 1367960](https://bugzilla.mozilla.org/show_bug.cgi?id=1367960).

Source-Repo: https://github.com/servo/servo
Source-Revision: 531fd12e132ecc4c092080267ea6fbc35d94c69f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9aaa557db97fdb121d0207653c69027ea53a8f82
2017-05-26 07:34:16 -05:00
Jeremy Chen 5ef637a6a3 servo: Merge #17053 - style: Compute and store SVG unitless length as a factor number (from chenpighead:stylo-svg-unitless-length); r=heycam
There are 3 SVG properties that accept SVG unitless length, stroke-width, stroke-dasharray, and stroke-dashoffset. We compute and store SVG unitless length as a factor number for stroke-dasharray, but not for stroke-width and stroke-dashoffset.

Servo-side changes from [bug 1367327] https://bugzilla.mozilla.org/show_bug.cgi?id=1367327.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7682de499ce6c7f473c8f2744c4c327a2e6eda73

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3bd50849b3f2a88a1cb4072b76044c5678cadb54
2017-05-26 03:40:38 -05:00
jklepatch ef73942636 servo: Merge #17049 - Fixed typo in components/constellation/browsingcontext.rs (from jklepatch:fix_typo_in_browsingcontext.rs); r=jdm
Changed a typo in a comment:
"Each browsing contest..." into "Each browsing context..."

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #17048
- [X] These changes do not require tests because its a typo fix

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bbb7513b7f1f65df7e21e44220da7d7a4566a379
2017-05-26 00:24:06 -05:00
Emilio Cobos Álvarez 80e92561e4 servo: Merge #17025 - script/layout: Stop doing unsafe transmutes between refcell references (from emilio:layout-data); r=jdm
This commit splits the style and layout data in two separate refcells.

These transmutes have been a source of trouble (for example on Android), and
they feel like a hack anyway.

Fixes #16982

Source-Repo: https://github.com/servo/servo
Source-Revision: 764da7ba39c0ccbaf807c6131418761f70584322

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8c76908f751b0f628da00bd0aa46e7c1548b1b66
2017-05-25 19:58:47 -05:00
Manish Goregaokar 1e5c28e62a servo: Merge #17041 - Move root_font_size to the device (from Manishearth:root_font_size); r=emilio
ComputedValues is heap allocated, and the number of CVs grows with the number of elements, so we should keep it small. The root_font_size is the same for the document, so we should stash it on the device and use that instead.

Gecko actually just manually walks up the tree here, but we can't do that. A simple AtomicRefcell should be enough.

Nothing else can be styled in parallel with the root so the refcell should never panic.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bf089c863c4aac3b97441b5431e54c3b2ef28597
2017-05-25 18:29:52 -05:00
Josh Matthews 8d68854821 servo: Merge #17039 - Update openssl source download location (from servo:jdm-patch-1); r=nox
The openssl.org webpage has been reorganized and the old URL no longer works.

Source-Repo: https://github.com/servo/servo
Source-Revision: 83f82cb4d380f2bdd02f388702d6162af9a3c9bc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f4f5a984196edb87c05c9e382989013bc363550c
2017-05-25 12:20:20 -05:00
Imanol Fernandez 1283b561c2 servo: Merge #17031 - Update rust-webvr (from MortimerGoro:update_webvr); r=emilio
<!-- Please describe your changes on the following line: -->

Required for https://github.com/servo/servo/issues/16556

---
<!-- 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: 3c267d7fddd036f6bcc9ebf000ed37665cf7496d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 656062d4014fc5764c446234fa11ee871b2dca0a
2017-05-25 07:12:11 -05:00
Cameron McCormack 40bf61aba0 servo: Merge #17033 - style: Add support for resolving default computed styles (from heycam:default-cs); r=emilio
Servo-side changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1366157.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7780ef5e431b7c346c0f50ff914fbda9b5017900

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c4752fdd70885e2630d195618d06fb0d9ae1d120
2017-05-25 05:50:52 -05:00
Xidorn Quan f41c78d1f3 servo: Merge #17035 - Allow text to be in background shorthand (from upsuper:bug1188074); r=heycam
Servo side change of [bug 1188074](https://bugzilla.mozilla.org/show_bug.cgi?id=1188074).

Source-Repo: https://github.com/servo/servo
Source-Revision: 3016a036503b541f2e4b5693b496ebdc0f5ca411

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7d7451a0b1038039ed1d660625f74e91a64bc9df
2017-05-25 04:10:43 -05:00
Boris Zbarsky d6257cce94 servo: Merge #17026 - mathvariant attributes should affect computed font style and weight in stylo (from bzbarsky:mathvariant); r=Manishearth
<!-- 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1367301

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is stylo-only and Gecko tests it.

<!-- 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: 334d9088b8c843829c47f649a0fe3e5e1a229d2b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b87fd8153dfc27f3ac86f5a274724d16d38fe591
2017-05-25 02:07:08 -05:00
Ravi Shankar e008ecdf2f servo: Merge #17021 - Stylo: Wrap up grid (from servo:grid); r=nox
Adds the final piece for grid (`grid-template` and `grid` shorthands), fixes #15307

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e76d3649d2a3195a32106f99a05f594c91c00512
2017-05-25 00:31:49 -05:00
Brad Werth 1b41d0dc5a servo: Merge #17028 - Stylo: Deep clone ServoStyleSheets (from bradwerth:innerClone); r=heycam
MozReview-Commit-ID: 6hYIcOa86Y

<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1339629
https://reviewboard.mozilla.org/r/135314/

---
<!-- 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: 0d6b0da3544359343b191354ecc258e42394c5dd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2b2d7c20dc3452c9d77414572c636d9cd6d4d79d
2017-05-24 23:26:23 -05:00
Emilio Cobos Álvarez 66532a72a0 servo: Merge #17006 - style: Reject non-positive resolution values in media queries (from emilio:negative-resolution); r=upsuper
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1366961
See: https://github.com/w3c/csswg-drafts/issues/1454
Source-Repo: https://github.com/servo/servo
Source-Revision: 8d950bd62036cebeb6596e74f412444061e59512

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ecf258a50bd00b636e4a21bad17e072db383c449
2017-05-24 22:20:37 -05:00
J. Ryan Stinnett e66e02c633 servo: Merge #17032 - Stylo: visited pseudo-class support (from jryans:stylo-visited); r=emilio
Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1328509

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3599f6577ed3737bb4715be05528090712871f0b
2017-05-24 19:53:48 -05:00
Xidorn Quan ec074c3fbb servo: Merge #17016 - Use struct rather than nsCSSValue::Array to store counter functions in Gecko (from upsuper:bug1366735); r=heycam
This is the Servo side change for [bug 1366735](https://bugzilla.mozilla.org/show_bug.cgi?id=1366735).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8ba04dab52e5c46e1719988c5ae9deda17a67a5a
2017-05-24 17:26:03 -05:00
Manish Goregaokar 1e42308ff1 servo: Merge #17027 - Rollup of 9 pull requests (from Manishearth:rollup); r=Manishearth
- Successful merges: #16993, #17000, #17010, #17013, #17014, #17017, #17019, #17020, #17022
- Failed merges:

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5faf09bc26989c32da2c1962bfcd6cdef511077f
2017-05-24 16:08:02 -05:00
Glenn Watson dcaf0beb81 servo: Merge #17015 - Fix the -Z wr-no-batch option (from glennw:fix-batching); r=jdm
The DebugOpts struct uses the Default trait to set all the values
to false initialily. So bools in the DebugOpts struct must be
negative verbs to work correctly.

This drops the draw call count on HN from ~2000 back to ~5.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 55eccb6eb132060a476f2f6a3f34bb35722ccff4
2017-05-24 09:21:07 -05:00
Emilio Cobos Álvarez 6edce05b77 servo: Merge #16974 - style: Minor cleanups in the rule tree code (from emilio:rule-tree-cleanup); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: df9286d67c51f7598862a275ebcf874eb83ec151

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0faedde1542dcd9676362ca0618d4b3998561cd5
2017-05-24 07:12:25 -05:00
Anthony Ramine 0d5f526c94 servo: Merge #17004 - Rollup of 7 pull requests (from nox:rollup); r=nox
- Successful merges: #16885, #16886, #16932, #16939, #16948, #16986, #16995
- Failed merges:

Source-Repo: https://github.com/servo/servo
Source-Revision: 98edf5d54d2c8269395379c68c1342bd867c8cf9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 624d2c1c62f4bf2e208e13b7cd451df6b40c88c9
2017-05-24 04:26:19 -05:00
Anthony Ramine c1331e29f1 servo: Merge #17002 - Introduce style::values::generics::rect ▭ (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: b4cebe1920ee9dc64f1a080fb940ea77743692a2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 513ed415276f1165866a4127033b410539529c11
2017-05-24 02:18:01 -05:00
Brian Birtles 4d4e212e09 servo: Merge #17001 - Support accumulative animation (from birtles:accumulative-animation); r=hiro
These are the Servo side changes for [Mozilla bug 1353202](https://bugzilla.mozilla.org/show_bug.cgi?id=1353202).

Source-Repo: https://github.com/servo/servo
Source-Revision: 7f80d9cb455b2b75dfbf9ff3414f072717b376a3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 512830713d665a498977c4b9468e33ad32cc83e1
2017-05-24 00:03:42 -05:00
Boris Zbarsky 3c9b35858e servo: Merge #16999 - Fix stylo's text-overflow handling to match gecko (from bzbarsky:fix-text-overflow-handling); r=Manishearth
A single value sets the text-overflow on the _end_ of the text, not both start and end.

<!-- 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: f3a694a7b442abad8af02475b944aeac7a09d539

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 67fcd0216c8dff418606217d9f45c0833531e811
2017-05-23 20:39:24 -05:00
Boris Zbarsky 06e123e689 servo: Merge #16998 - The 'contain' property can affect whether a box is a fixed-pos containing block (from bzbarsky:fix-contain-flags); r=emilio
This makes will-change:contain work correctly.

<!-- 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: 96d6b30eff3c0449726b3ea49140b13c7dd7f1f8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 11c8a2b95dd279f3eaa8cc3f5c2de1b45f9cb47c
2017-05-23 16:52:31 -05:00
Emilio Cobos Álvarez 656c49dddb servo: Merge #17005 - stylo: Fixup an embarrassing typo that has turned everything orange (from emilio:backdrop-fixup); r=emilio
I messed up when turning the conditions the other way around in #16981.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5e58c522723a8d5aa819012cf700df87c9279778

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a5f7e7e9de92a0499bcca268ff381155db9b970c
2017-05-23 10:50:13 -05:00
Emilio Cobos Álvarez d256f3242f servo: Merge #16990 - Remove dead code in restyle_hints submodule, and move SelectorMap to its own submodule (from emilio:selector-map); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: f35c7a577d6b2709bf75592e091479774d55bae7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 249d9aeacc287b61faf2956def9a3b48608d9562
2017-05-23 08:40:37 -05:00
Emilio Cobos Álvarez 12ff144410 servo: Merge #16985 - layout: Stop mutating the style data from layout (from emilio:cache); r=bholley
This is part of #16982.

Right now we have some code that tries to cache stuff in the style data during
layout.

This code is extremely rarely executed, only for `<details>` and `<summary>`.

I think if we really really want to cache these, we should find a place in the
layout data for it.

For now, let's move it away (and all the other layout code) from mutating the
style data from layout.

Source-Repo: https://github.com/servo/servo
Source-Revision: 84c1f904cbf5ca338b46f41426eab53fc45543e9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5e99273cbefd87cbdef9cb5ca5a9b2fa16b32f5a
2017-05-23 06:35:16 -05:00
Emilio Cobos Álvarez fe39e5d273 servo: Merge #16983 - style: Remove unneeded indirection in traversal code (from emilio:indir-data); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: e24d96cdd04fb40c0681a6ba46476ba04607f573

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ef510baecbcdeb319315f35af02b186d2a96982b
2017-05-23 04:58:53 -05:00
Emilio Cobos Álvarez 7fe8962193 servo: Merge #16981 - Bug 1366427: Make backdrop not inherit from the parent element. r=heycam (from emilio:backdrop); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 17069f4876670d5a4f310e449f8bc78bbb45c827

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6971a7a2eed3a4fcdc1aa4882c5040361b3c420d
2017-05-23 02:25:07 -05:00
Manfred Brandl 14c64f407b servo: Merge #16979 - remove unused style::restyle_hints::RestyleReplacements (from manfredbrandl:patch-1); r=emilio
<!-- Please describe your changes on the following line: -->
remove unused style::restyle_hints::RestyleReplacements from line 134

---
<!-- 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 #16978 (github issue number if applicable).

<!-- Either: -->
- [X] These changes do not require tests because removes only unused "use"

<!-- 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: e8f9ab51cacf75d5d92c2b87a9c23eea5bd0aed3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b24fe9b091e9d5fe5e00fc37afb1afb9658b525e
2017-05-23 00:31:15 -05:00
Behnam Esfahbod 4439d58753 servo: Merge #16779 - [gfx] [layout] [style] Upgrade unicode-bidi to 0.3 (from behnam:bidi-0.3); r=mbrubeck
Depends on https://github.com/servo/unicode-bidi/pull/27 , which
upgrades `unicode-bidi` crate to `0.3.0`.

Summary of changes:

* Use `unicode_bidi::Level` (instead of `u8`) in all relevant places and
replace magic computations with (inline) method calls to Level API.

* Doing so required adding `unicode-bidi` crate dependency to two more
components here: `style` and `gfx`. IMHO, totally makes sense, as
replaces local integer manipulations/checks with well-tested ones
already available in a common dependency.

---
<!-- 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). [N/A]

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because `unicode-bidi` has its own tests and there's no logic change in this diff.

<!-- 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: edd6c2cecb2c245f9f8bcab04ff8e57f1c5d1333

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1effb7ec83ee994e989e8f6010a926d598327022
2017-05-22 23:06:07 -05:00
heyzoos 4062fb2f77 servo: Merge #16968 - Stylist accessors (from HeyZoos:stylist-accessors); r=emilio
<!-- Please describe your changes on the following line: -->
Add accessor methods for the `device` and `ruleset` fields in the `Stylist` struct.

---
<!-- 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 #16857 (github issue number if applicable).
<!-- Either: -->
- [X] There are tests for these changes

<!-- 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: 1306b16d5a170074b4f42046a7b1a3a43952b346

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a5e0289fe7456134e270f64236827be605ce061e
2017-05-22 20:12:46 -05:00
Aneesh Agrawal 04992e38a1 servo: Merge #16565 - Convert nightly upload script to Python (from aneeshusa:move-upload-nightly-script-to-python); r=metajack
Now that MinGW and MSYS have been removed from the Windows builders,
bash is not available to run the previous upload_nightlies.sh script.
Convert the script to Python 2 for cross-platform support.
Additionally, switch to the `boto3` library for easy uploading
without needing to install `s3cmd`,
and move the code into mach for easy `boto3` installation
as the new `./mach upload-nightly` command.

Also, hard-code the paths to the packages instead of using
globs to look for them, as the paths are static.
(The paths used to contain timestamps,
but we now insert timestamps when uploading to S3
to improve reproducibility.)

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #16560 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because Buildbot will test them.

<!-- 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: 9468fae0d443b2a8b9a7694f917dc097ac6c7e60

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 593f32ad93c14cb66dd36dfdb41bb36b41a0c558
2017-05-22 18:11:19 -05:00
Anthony Ramine 9c6c29eaa5 servo: Merge #16947 - Parse -moz-alt-content as a whole content value (fixes #15726) (from nox:moz-alt-content); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: a03d0b8472a30379dd85c2cb326f9595c7559be6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 09cbb2b4599b79ea3b589ae23f20bf6b671494f9
2017-05-22 16:46:30 -05:00
Alan Jeffrey 990fad9b68 servo: Merge #16916 - Added a TopLevelBrowsingContextId type (from asajeffrey:constellation-top-level-browsing-contexts); r=cbrewster
<!-- Please describe your changes on the following line: -->

Added a `TopLevelBrowsingContextId` type, which is a subtype of `BrowsingContextId` that only refers to top-level browsing contexts.

---
<!-- 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 refactoring

<!-- 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: a0d6d6883c3f2fde6f0f3e13712a569ce3aa41e5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 07632d7e1c1e2a2256a359bb0aec43fb7d3f23bd
2017-05-22 15:13:42 -05:00
Mats Palmgren a796d14d49 servo: Merge #16996 - Back out webkit-appearance support in stylo for now (from bzbarsky:backout-webkit-appearance); r=bzbarsky
See https://bugzilla.mozilla.org/show_bug.cgi?id=1365614 for web compat issues this causes.

<!-- 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1365614

<!-- 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: e9c5860808dec3a7ef5dd3a64179b249a2cbe9a4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 42699696ca7326e9480c76dc44293458f1fc780a
2017-05-22 13:36:36 -05:00
Anthony Ramine 8823abc875 servo: Merge #16994 - Refactor basic shapes and fix a silly bug (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a5e6fb553b76e6fbd0a532723cb34c136ed9fec

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c54c9f7baab0ea82c381930ce7bf4a0ca6d1219d
2017-05-22 11:37:28 -05:00
Malo Jaffré 9d7c6669aa servo: Merge #16970 - Refactor grid style types and impls (from MaloJaffre:grid_cleanup); r=wafflespeanut
Fixes #16949.
- [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 just a refactor

Source-Repo: https://github.com/servo/servo
Source-Revision: 594479fe15f810d148e2352951affe905b1e13ff

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 10616530535dc13f95f990416e72d58eee85ff2d
2017-05-22 09:42:20 -05:00
Glenn Watson 5101e15ecb servo: Merge #16917 - Update WR (Intel driver workaround, subpixel and other bugfixes) (from glennw:update-wr-bugs); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: e91ffafd826bd3f0449d2822e40278defffd75a2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 79c94fe849fd3edc05b3aa8e2da4f2a871ef9e56
2017-05-22 07:00:39 -05:00
Carsten "Tomcat" Book 1bdc87018b Merge mozilla-central to autoland
--HG--
extra : rebase_source : 4e9c2047973e5a540496b19e456a2e7bd14715ad
2017-05-22 15:48:11 +02:00
Carsten "Tomcat" Book 0dd2458816 Backed out changeset fde1635233e9 (bug 1365614) 2017-05-22 15:45:27 +02:00
Carsten "Tomcat" Book 469e512b06 merge mozilla-inbound to mozilla-central a=merge 2017-05-22 13:00:17 +02:00
Iris Hsiao 65ea740eda Merge mozilla-central to mozilla-inbound 2017-05-22 11:53:00 +08:00
Imanol Fernandez a9c81b287a servo: Merge #16905 - Update harfbuzz-sys (from MortimerGoro:update_harfbuzz); r=jdm
<!-- Please describe your changes on the following line: -->

See https://github.com/servo/rust-harfbuzz/pull/71/files. Required for https://github.com/servo/servo/issues/11921

---
<!-- 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: eabbee629104076c1a776a31bf0fd0b5b802964f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6c1fb4ad19e3dc9d461571bdadf088b053880b93
2017-05-21 16:54:16 -05:00
Hiroyuki Ikezoe 34fd4e6344 servo: Merge #16959 - Font serialization for canvas (from hiikezoe:font-serialization-for-canvas); r=Manishearth,emilio
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1362914
---
<!-- 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's for stylo

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6da2098f9c326659f9bae725f89714ce908edf12
2017-05-21 23:22:35 -05:00
Mats Palmgren 04f4fcb13c Bug 1365614 part 4 - Backout bug 1333482 part 10 (Stylo). Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: 4VB9bTfqNR3
2017-05-18 11:11:00 +08:00
Emilio Cobos Álvarez 7c79fdbe98 servo: Merge #16975 - style: Bump bindgen version (from emilio:bindgenupagain); r=upsuper
This should fix bug 1365488, and also the template instantiation test noise
reported at https://github.com/servo/rust-bindgen/issues/619.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1602edb04ac3cc06a71eb6349e137dce453bc191

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 06b0a5c0055788959826d228b5d1ebd7764d43c9
2017-05-20 23:03:53 -05:00
Emilio Cobos Álvarez 7666f7ec85 servo: Merge #16972 - style: Move all the style sharing code outside matching.rs (from emilio:sanity-is-important-most-of-the-time); r=bholley
This is just a code health change. I want to move it away to keep matching.rs as
simple as possible.

Source-Repo: https://github.com/servo/servo
Source-Revision: 03fbea4ec8af3ef6c5c621974b3c52cd755ed287

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9c40723f62f8a51aebeda92f90d7b148498fa820
2017-05-20 21:11:38 -05:00
Simon Sapin 8773943124 servo: Merge #16950 - Fix warning in a future compiler version (from servo:warn); r=nox
(Do not upgrade yet because of https://github.com/rust-lang/rust/issues/42101)

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b024b9d4b46a80c7c8d69c4473cae0617613d68b
2017-05-20 19:28:59 -05:00
Emilio Cobos Álvarez 8655dd419d servo: Merge #16943 - style: Make a bloom filter arrive to restyle hint computation (from emilio:bloom-restyle-hints); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: d98abe1397ae9e100d6ee490d69e0fb1a32fd3e6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d39211e48ee3b9ce4321f2f6006b71664ea22c3b
2017-05-20 17:17:05 -05:00
Imanol Fernandez 1ae18d00bb servo: Merge #16933 - Implement MutationObserver childList mutations (from MortimerGoro:mutation_children); r=jdm
<!-- Please describe your changes on the following line: -->

Implement MutationObserver childList mutations

---
<!-- 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: 323760f47e79b49ef8db4484cca1969bc26b5413

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d0d805444965d50fc48b8982521415f4ce30c7f8
2017-05-20 15:04:43 -05:00
Dzmitry Malyshau b128551d20 servo: Merge #16958 - -Z wr-no-batch option (from kvark:no-batch); r=jdm
<!-- Please describe your changes on the following line: -->

This new debug option exposes https://github.com/servo/webrender/pull/1186

---
<!-- 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 _____ it's a debug option

<!-- 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: b42ee29c1bc66484406c289c70aa5c4795728743

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 34164ebc2739cd76f28cbcc049fd9dbad6a1ea81
2017-05-21 19:07:40 -05:00
Carsten "Tomcat" Book 2a6d28c4ab Merge mozilla-central to autoland 2017-05-22 13:08:46 +02:00
Hiroyuki Ikezoe 01ba33f442 servo: Merge #16962 - Prefixed intrinsic size value (from hiikezoe:prefixed-intrinsic-size-value); r=Manishearth
<!-- Please describe your changes on the following line: -->

This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1355402
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16788
- [X] These changes do not require tests because it's for stylo

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0cdc75fec1582bdcf69647c479528745a516e569
2017-05-22 01:46:01 -05:00
Emilio Cobos Álvarez d8a29909d4 servo: Merge #16988 - Revert "Auto merge of #16976 - upsuper:bug1366247, r=nox" for breaking the world (from emilio:backout); r=emilio
This reverts commit 3d40b516c8ac6e946cadace2378581cbac7b1e1b, reversing
changes made to 255387a915ef83db6b11d976f89c10b518c97487.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 81744c9d48bb683afd0c1cf11d3a74f2005d9e42
2017-05-21 15:40:41 -05:00
Matt Brubeck ba3c4ab793 servo: Merge #16956 - stylo: Use correct counts when copying from image layers (from mbrubeck:cleanup); r=Manishearth
---

- [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 they are code cleanup.

Source-Repo: https://github.com/servo/servo
Source-Revision: 460c90af8d028fac341a8d3b274fba591441dc32

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7ea9540f673ac6b87e5d9f8577239adcc74e803b
2017-05-21 14:09:52 -05:00
Imanol Fernandez 893c284e81 servo: Merge #16957 - Update libfontconfig (from MortimerGoro:update_libfontconfig); r=jdm
<!-- Please describe your changes on the following line: -->

See https://github.com/servo/libfontconfig/pull/29. Required for #11921

---
<!-- 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: cdf52773a153fa64dadb2c84ec4d7c24bac692eb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8bcf639ae96ed7df4e40512715a4e0e39d055798
2017-05-21 12:40:00 -05:00
Emilio Cobos Álvarez 8fd765a798 servo: Merge #16984 - Bug 1365629: Respect parsing mode in LengthOrPercentage. r=canaltinova (from emilio:lop-parsing-mode); r=canaltinova
Source-Repo: https://github.com/servo/servo
Source-Revision: 0566c601570bc5367db0b9696cb3616405c6a8ca

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 020e94bd21f94e996a6c2cd012f459635645a8fa
2017-05-21 10:36:54 -05:00
Anthony Ramine 053c72dd64 servo: Merge #16973 - Derive ToComputedValue (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: a25b1e5fe3ee1c88a029835e5e27c73fdbdafa2c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f8c26d83d4165abdab9715796f11dee457ebbde5
2017-05-21 08:48:10 -05:00
Xidorn Quan af7f65eb83 servo: Merge #16976 - Add sugar for already_AddRefed (from upsuper:bug1366247); r=nox
This is Servo side change of [bug 1366247](https://bugzilla.mozilla.org/show_bug.cgi?id=1366247).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ff64fccb8b8d32b91885f4b7eb9663aa03d9ac85
2017-05-21 05:28:58 -05:00
Hiroyuki Ikezoe 414c4267af servo: Merge #16945 - Update css animations by css rule changes (from hiikezoe:update-css-animations-by-css-rule-changes); r=birtles,heycam
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1364799

- [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: 255387a915ef83db6b11d976f89c10b518c97487

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 627244efb8039b400be3f2a1dc31acf3d8089f25
2017-05-21 03:07:47 -05:00
Bobby Holley 20411d4b85 servo: Merge #16971 - Rewrite parallel.rs (from bholley:fix_parallelism); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1366347

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d78c7f90576fa45fb949e9424d57c6aa7906f980
2017-05-21 01:12:22 -05:00
Emilio Cobos Álvarez 7e7daf7028 servo: Merge #16967 - Bug 1366144: Correctly diff ::before and ::after pseudo-element styles if there's no generated content. r=heycam (from emilio:after); r=heycam,emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 05a26a29967b4cb70cac0055d0a177881e047efd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8cc35948a5bc6e6d686c52899e276e4ae7831736
2017-05-20 13:44:31 -05:00
Anthony Ramine b991e3f4f2 servo: Merge #16960 - Derive HasViewportPercentage 🍷 (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 4f0b24ac0c3bd04104d705898ceb4d06ef5ea092

--HG--
rename : servo/components/domobject_derive/Cargo.toml => servo/components/style_derive/Cargo.toml
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 498aeee06ee32907459c0ba0c29d40189438fb0b
2017-05-20 11:34:36 -05:00
Emilio Cobos Álvarez 54f1632a24 servo: Merge #16961 - style: Move some bloom filter code outside of matching.rs (from emilio:bloom-simplify); r=heycam
Also simplify it, while we're at it.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0ec48e70af2e9c085b3a59e662509dd49fafd00f
2017-05-20 09:15:27 -05:00
Boris Chiou 240f3de631 servo: Merge #16963 - stylo: Bug 1334036 - Enable animations running on compositor (from BorisChiou:stylo/animation/omta); r=emilio
These are interdependent patches of Bug 1334036, which enables off-main thread animations. We add one FFI to get the property id set which overriding animations, so we can make sure the cascade result is correct for off-main thread animations.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1334036](https://bugzilla.mozilla.org/show_bug.cgi?id=1334036)
- [X] These changes do not require tests because we support off-main thread animation only on Gecko, and there are enough test cases there.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5a012cc9b15890fe8ad132e941d8f896b405472c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f72aef04d69022c20bedbbb075d1385bfd15729a
2017-05-20 07:24:21 -05:00
Mantaroh Yoshinaga 122b52b9c4 servo: Merge #16942 - Make font-stretch animatable (from mantaroh:font-stretch); r=hiro
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1357663

---
<!-- 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] There are tests for these changes, a test case will be landed in web-platform-tests in https://bugzilla.mozilla.org/show_bug.cgi?id=1357663

<!-- 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: 2c3a03b254c696d7be7a3d85ae5957628db63206

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e202adc3bf501a8aa4bd529c323b7ef70c978764
2017-05-20 01:52:52 -05:00
Manish Goregaokar fd24beebc2 servo: Merge #16914 - Update app_units to 0.4.1 (from Manishearth:update_au); r=jryans
Source-Repo: https://github.com/servo/servo
Source-Revision: 00376cbaa77b2c3b78990e49eb9ca29cc1e0a714

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 974fbeb92ecb64faf5e518a464cc78ec4c052f94
2017-05-19 23:09:20 -05:00
Gregory Terzian e0de35bd67 servo: Merge #16861 - Use microtasks to await a stable state (from gterzian:use_microtask_to_await_stable_state); r=jdm
<!-- Please describe your changes on the following line: -->

@jdm @KiChjang First pass at using microtasks to await a stable state. I ran into all sorts of problems to get it to compile, I think it's mainly related to the fact that the microtasks are stored in a `Vec`, which meant the `Runnalbe.handler(self: Box<Self>)` couldn't be called while iterating over the Vec... It compiles now although I haven't run any tests. I'm assuming I'm missing something fundamental and was hoping my changes would highlight the problems I run into, and you had a better idea of how to implement this... Perhaps we shouldn't pass a `Runnable` to `await_stable_state` at all?

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #15375 (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: f05491166f21879f74758b2f03bbc4c4a4c31eb8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : efc9208e1f0fcd946247ef753d8b7c04105e5b85
2017-05-19 20:09:54 -05:00
Simon Sapin dfae784318 servo: Merge #16954 - Avoid returning / passing around a huge ParsedDeclaration type (from servo:arrayvec); r=emilio
This enum type used to contain the result of parsing one CSS source declaration (`name: value;`) and expanding shorthands. Enum types are as big as the biggest of their variant (plus discriminant), which was quite big because some shorthands expand to many longhand properties. This type was returned through many functions and methods, wrapped and rewrapped in `Result` with different error types. This presumably caused significant `memmove` traffic.

Instead, we now allocate an `ArrayVec` on the stack and pass `&mut` references to it for various functions to push into it. This type is also very big, but we never move it.

We still use an intermediate data structure because we sometimes decide after shorthand expansion that a declaration is invalid after all and that we’re gonna drop it. Only later do we push to a `PropertyDeclarationBlock`, with an entire `ArrayVec` or nothing.

In future work we can try to avoid a large stack-allocated array, and instead writing directly to the heap allocation of the `Vec` inside `PropertyDeclarationBlock`. However this is tricky: we need to preserve this "all or nothing" aspect of parsing one source declaration, and at the same time we want to make it as little error-prone as possible for the various call sites. `PropertyDeclarationBlock` curently does property deduplication incrementally: as each `PropertyDeclaration` is pushed, we check if an existing declaration of the same property exists and if so overwrite it. To get rid of the stack allocated array we’d need to somehow deduplicate separately after pushing multiple `PropertyDeclaration`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 60682cf81fe19a82c73dd98ba4c1eebc1dbbfcac

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bf9916ad96bb4c2eedcb7a52110170644c269133
2017-05-19 18:37:14 -05:00
Josh Matthews fb50f88fbd servo: Merge #16953 - Avoid the cert revocation check in Cargo (from servo:jdm-patch-1); r=SimonSapin
Per https://github.com/rust-lang/cargo/issues/4072 Cargo on Windows is having trouble due to a letsencrypt outage. Our Appveyor CI is busted, as is our Windows builder for any PR that needs to upgrade a package from crates.io.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a4008e9146c91530c106a904dece15b88e2cbb82
2017-05-19 17:06:40 -05:00
SendilKumar N 92c02c5452 servo: Merge #16913 - Make canvas origin clean checks use origin of image response (from jdm:canvas2d); r=jdm
Adapted from #15887.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #15409
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 62690887c163332688add2b1e62bb4c12b2e7df4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4103a8f020691ef300e5651cb8da59bf61b42c69
2017-05-19 10:45:44 -05:00
Fernando Jiménez Moreno 692ebc9383 servo: Merge #16931 - Support font-feature-settings as a @font-face descriptor (from nox:font-feature-descriptor); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 61d64daf4c5831e5e4428f76faaea874d8d5f4cd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1b867d863503c437e0ffcffad993d67d00dbfa9f
2017-05-19 07:49:27 -05:00
Emilio Cobos Álvarez 0f7f82d4bf servo: Merge #16929 - stylo: Avoid unconditional FFI calls to get the element state (from emilio:more-bits); r=bzbarsky
Source-Repo: https://github.com/servo/servo
Source-Revision: 448422c9a4f0cf28b92fd9e1479aa3d013b703f7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b9bf17af3314032c022a73b0a9e951307672d9f6
2017-05-19 06:44:25 -05:00
Anthony Ramine ded6812977 servo: Merge #16926 - Support hashless color quirk in border-color (from nox:quirks); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 0edc0f547dfca72cd97626350caa2a19f705175b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 159dd79ba40d36c4cd1b59353f5ea9e68a49e36e
2017-05-19 05:31:17 -05:00
Simon Sapin 8f7f5942b2 servo: Merge #16935 - Move bindings tests out of the style crate (from servo:out-of-crate-bindings-tests); r=emilio
This cuts in almost half the time to run:

```
touch components/style/lib.rs
./mach test-stylo
```

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2a9d0b9019f4baea76699aadbbbb95c74c3329ce
2017-05-19 03:48:14 -05:00
Imanol Fernandez 6e335dd92c servo: Merge #16893 - Implement WebGL extensions (from MortimerGoro:webgl_extensions); r=emilio
<!-- Please describe your changes on the following line: -->

This PR provides the base for implementing WebGL extensions. It comes with the following ones already implemented and passing all related WebGL conformance tests:

- OES_texture_float
- OES_texture_float_linear
- OES_texture_half_float
- OES_texture_half_float_linear
- OES_vertex_array_object

I'll submit other extensions like compressed textures in a separate PR to ease the review process. I included the 5 extensions in this PR because it's easier to show/review how the WebGL extension base works.

To pass all OES_texture_float_xxx tests I had to add some missing format conversions in WebGLRenderingContext.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
- [ ] 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: b0976566fb9c79f7dc67b2ac808eb50ef4ad653f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e829ac1c4a43670d9931be4fafa4572d0c527210
2017-05-19 01:09:48 -05:00
Xidorn Quan 32d67377a4 servo: Merge #16944 - Implement access to CSSKeyframesRule and CSSKeyframeRule for stylo (from upsuper:bug1345697); r=heycam
This is the Servo side change for [bug 1345697](https://bugzilla.mozilla.org/show_bug.cgi?id=1345697).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 159a7893501ec00b091abb58849f85c0022d6933
2017-05-18 23:49:30 -05:00
Paolo Amadini b1de6f090b servo: Merge #16892 - Allow -moz-stack-sizing to work in a single direction only (from pamadini:master); r=Manishearth
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1364115
https://reviewboard.mozilla.org/r/138434/

---
<!-- 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 these properties are not implemented

<!-- 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: 486dac31c59c77acc281f1a45a4331880d35105b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fcd008892e39d5560d5e5aca6039136b99c6ba69
2017-05-18 21:47:21 -05:00
Xidorn Quan b5efc96e9b servo: Merge #16941 - Move config info from build_gecko.rs to Gecko code (from upsuper:bug1336540); r=emilio
This is the Servo side change for [bug 1336540](https://bugzilla.mozilla.org/show_bug.cgi?id=1336540)

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1228206e2754696df4465fbc07223a28d682f9c1
2017-05-18 20:42:55 -05:00
Simon Sapin e46e47b554 servo: Merge #16915 - Shrink selectors::Component, implement attr selector (in)case-sensitivity (from servo:attr-selectors); r=nox,emilio
* https://bugzilla.mozilla.org/show_bug.cgi?id=1364148
* https://bugzilla.mozilla.org/show_bug.cgi?id=1364162
* https://bugzilla.mozilla.org/show_bug.cgi?id=1363531
* Fixes #3322

Source-Repo: https://github.com/servo/servo
Source-Revision: 640b16634f2828bad46ab6d78e785dfc2025ab46

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4a43dcd2e56b875856847024cf6fdd62b60a01a7
2017-05-18 18:45:20 -05:00
Ravi Shankar ee514901c9 servo: Merge #16067 - Stylo: Add support for grid-template-{rows,columns} (from Wafflespeanut:grid); r=nox,Wafflespeanut
This has the implementation of grid's `<track-list>` nightmare.

---
<!-- 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 #15311

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

<!-- 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: 0b3fd8de767c6ad6ea2fd983c396f5c0a20becfc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : da14c9edfdea19e5909b44215f4a39492512a9cd
2017-05-18 17:09:15 -05:00
Anthony Ramine d0eb7074d3 servo: Merge #16937 - Fix calc() clamping issues (from nox:clamp-calc); r=emilio
Fix calc() clamping issues

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ea4587dcbce7b4bcb1d1977a734ee0d012fdb13a
2017-05-18 15:15:04 -05:00
Emilio Cobos Álvarez fd7ec9d535 servo: Merge #16938 - stylo: Don't mess up traversal drivers (from emilio:traversal-assert); r=bzbarsky
Right now it's harmless, but it trips assertions that are nice to have, just in
case it stops being the case.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f7343d32ffb14a9cd90698a35e41164a9c8ffd92
2017-05-18 13:38:41 -05:00
Boris Zbarsky 0b39650b85 servo: Merge #16934 - Check snapshot id/class flags before looking for those attributes (from bzbarsky:check-snapshot-id-class-flags); r=emilio
<!-- Please describe your changes on the following line: -->
Most elements don't have classes or IDs.

---
<!-- 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1365659

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they are just performance optimization

<!-- 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: 2fd7f4f393874d2a2a8285e18f0288d18554454f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6addae8f2078c73e9461327d4edfe22a4e1be623
2017-05-18 11:40:51 -05:00
Bobby Holley 5b8aa2c2db servo: Merge #16930 - Only use the parallel traversal when traversing from the root (from bholley:limit_parallelism); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1365686

Let's get this in to see the impact on Talos.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4267cac66cf2c564a24178bd4fb595780c352fb6
2017-05-18 09:53:41 -05:00
Anthony Ramine 4e93490c73 servo: Merge #16889 - Refactor how calc() clamping is done on computed values (fixes #15296) (from nox:clamp-calc); r=stshine
Source-Repo: https://github.com/servo/servo
Source-Revision: 864f5509d8d82609b1be7c9571395fbefa84fa9e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e2d8027ee7834b1c77e348558f7f2544d8533a0a
2017-05-18 08:06:19 -05:00
Paul Rouget 951aab144c servo: Merge #16904 - Not headless by default (from paulrouget:notHeadLess); r=metajack
Without this, initializing Servo without using the command line (when embedded) requires to explicitly set `opts.headless = false`, which is weird as it's the only option that needs to be changed.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c44095b17375e8acd6c50e9ec62d5f0fb7f9bb6a
2017-05-18 00:56:30 -05:00
Paul Rouget 132115cbcc servo: Merge #16903 - make gl context current on browser initialization (from paulrouget:makeCurrentOnNew); r=emilio
As explained in servo/webrender#1233, it's necessary to make the current gl context current when the browser is initialized, otherwise the wrong gl context might be used if another window is created before the initialization.

/cc @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 5d1e02760b9a247684a7b6959a732e0cf7c006ba

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7a966653cbe8aa4702b91ad2f5473e129dc25a3d
2017-05-17 22:53:46 -05:00
Dzmitry Malyshau a39c2178b9 servo: Merge #16891 - Using TransformStyle::Preserve3D (from kvark:preserve3d); r=glennw,emilio
<!-- Please describe your changes on the following line: -->

The changes were reviewed previously as a part of WR update PRs, but then we decided to move them out.
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: -->
- [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: a5ff57b20fea879cc24e9dc6b94dc381ce105b89

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 13ec4c4a854d170c065cd07d2a6441fc215ba845
2017-05-17 20:38:14 -05:00
Matt Brubeck da09631fd3 servo: Merge #16881 - Fix containing block size for absolute root element (from mbrubeck:absolute_root); r=stshine
The root element doesn't have a containing block, so use the viewport size instead of `self.base.absolute_cb`.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #16248 (github issue number if applicable).
- [x] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 10cc59dd2ef7509c724f5c81c0dcd22b31071590

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9d434686f8b0b71367a632c38c8b4ef42cb9984b
2017-05-17 19:13:51 -05:00
Alan Jeffrey 33d16ecbe0 servo: Merge #16814 - Implement Houdini worklets (from asajeffrey:script-worklets); r=jdm
<!-- Please describe your changes on the following line: -->

This PR implements the current draft Houdini Worklets specification (https://drafts.css-houdini.org/worklets/).

The implementation is intended to provide a responsive environment for worklet execution, and in particular to ensure that the primary worklet executor does not garbage collect, and does not block loading module code. The implementation does this by providing a thread pool, and performing GC and module loading in a backup thread, not in the primary thread.

---
<!-- 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 #16206
- [x] There are tests for these changes

<!-- 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: ac99a48aeaa184d3acdb39d249636a140c4b7393

--HG--
rename : servo/components/script/dom/webidls/Function.webidl => servo/components/script/dom/webidls/VoidFunction.webidl
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d4069e68d5b007ec258bf5821d6386a3ec63c490
2017-05-17 16:20:42 -05:00
Emilio Cobos Álvarez dbf5d921b5 servo: Merge #16911 - Bug 1365471: Check bool flags before going through FFI in a variety of situations. r=bz (from emilio:bits); r=bzbarsky
Source-Repo: https://github.com/servo/servo
Source-Revision: bafaae75f47c169078132e761ed2dcfda9541a27

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 116b38e9b653ac5dfc128372e1c4e950a252831b
2017-05-17 14:45:55 -05:00
Nathan Froyd e1cadd87c2 servo: Merge #16910 - Bindgen cross compilation take 2 (from froydnj:bindgen-cross-compilation-take-2); r=emilio
Fix all the cross-compilation issues in build_gecko.rs.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16879

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e33681c18c4d435434cf1ca8882215c60d4af8ee
2017-05-17 12:48:47 -05:00
Emilio Cobos Álvarez 9e116d46e1 servo: Merge #16909 - style: Refactor the cascade function (from emilio:simplify-cascade); r=bholley
The `cascade_primary_or_pseudo` function was nice when we shared more code, but
right now I think it just makes it harder to understand what's going on.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a7941eda2af4add2cb1eb6fe6ec40178de8b32a9
2017-05-17 11:19:56 -05:00
Emilio Cobos Álvarez d3119b0fa1 servo: Merge #16907 - Bug 1364862: Make PostRebuildAllStyleData async. r=heycam (from emilio:postrebuild); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: c2d5b0006ce45930184cb9f8edb5e0a8146512f7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4c2b40eec4c4e2824e69e9bfb71a82da9661cbcf
2017-05-17 09:21:53 -05:00
Anthony Ramine 0bce81316e servo: Merge #16858 - Implement the hashless color quirk (fixes #15341) (from nox:quirks); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 5622c2af81eba232f616ad862946cd2ba0ffdb92

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d3f30198adfd4a01bccabe81ca180db24a76fb31
2017-05-17 08:08:00 -05:00
Nazım Can Altınova 3acd273e53 servo: Merge #16882 - stylo: Continue to propagate quirks mode information to Servo (from canaltinova:more-quirk); r=bholley
r=bholley in bugzilla

---
<!-- 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 [Bug 1364746](https://bugzilla.mozilla.org/show_bug.cgi?id=1364746)

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 31d854be851e45304b2d90156167c22b0111e7f7
2017-05-17 06:53:57 -05:00
Emilio Cobos Álvarez b9a37058c8 servo: Merge #16900 - Bug 1364850: Move PseudoElement to be just another combinator in selectors. r=bholley (from emilio:pseudos); r=bholley
On top of https://github.com/servo/servo/pull/16890.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 12c4ec9e73c7d9b747303a5629b20719db05f03a
2017-05-17 05:40:14 -05:00
alajara 317573b3b5 servo: Merge #16884 - Create higher-level APIs for manipulating custom structured clones (from jdm:structuredclone); r=jdm
Rebase of #16321.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16031
- [X] There are tests for these changes

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 95dcc98b1fcc1fe4fd238bf676125b14c211bf2c
2017-05-17 03:53:10 -05:00
Sumit bba6da2110 servo: Merge #16883 - Mutation Observer API (from jdm:mutationobserver); r=jdm
Rebased from #16668.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix (partially) #6633
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 5da0aa9f11b7b1c2dc8b5adf178eebafa92d1849

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2c199255ad61f5087b595da9b9039e8f644ab79f
2017-05-17 01:21:40 -05:00
Alan Jeffrey 0412b67dd7 servo: Merge #16876 - Renamed constellation::Frame to constellation::BrowsingContext (from asajeffrey:constellation-rename-frames); r=cbrewster
<!-- Please describe your changes on the following line: -->

Now that script has `WindowProxy` rather than `BrowsingContext` objects, we can rename `Frame` in the constellation to `BrowsingContext`. In particular, this means that `FrameId`s are now `BrowsingContextid`s, which better captures their purpose (and they are used in a lot of places, not just the constellation).

---
<!-- 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 renaming

<!-- 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: 837531992864f920342020462830b933d5ed0280

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c73d366cabd57d2776dbe787880f363ce7bae144
2017-05-16 23:10:45 -05:00
Martin Robinson 3e26dba630 servo: Merge #16795 - Don't optimize display list for projective transforms (from mrobinson:out-of-viewport-transform); r=glennw
There are situations where elements are transformed from outside the
display list. With projective transforms it's currently difficult to
detect these. In those cases we just don't optimize the display list,
so that they will always be shown.

Fixes #13822.

<!-- 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 #13822 (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: fada0eb6607fa746cd88426ebb7bb4052f709cda

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e3ba84bec17ff4aaf916705e7bbeb498add9c3a7
2017-05-16 21:27:47 -05:00
Simon Sapin 11a506ba6c servo: Merge #16890 - Fix serialization of namespace and universal selectors (from servo:qname); r=emilio
Fix #16017
Fix #16020

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ff31266b1be78509205f112e277fa95111100714
2017-05-16 20:03:53 -05:00
Josh Matthews f74528187b servo: Merge #16899 - Revert "Replace intrinsics::abort with process::abort" (from jdm:revertabort); r=emilio
This reverts #16680. Calling `process::abort` from the crash handler causes the crash handler to be invoked again recursively.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16898

Source-Repo: https://github.com/servo/servo
Source-Revision: 1312ab2b284c1a988c5029e1ec28ee9f3ea5e912

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 742d1055f4b540cca19040f50941f133a6bf094d
2017-05-16 18:46:17 -05:00
Matt Brubeck b8795ce304 servo: Merge #16896 - Bug 1365100 - stylo: Fix inheritance of multiple background images. r=Manishearth (from mbrubeck:image-inherit); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1365100

Source-Repo: https://github.com/servo/servo
Source-Revision: 15271f59610b152c8b566071502ed0b76adff6e0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2cc0ef612b899e732fd8e0815ce602f388ebd9c6
2017-05-16 16:13:43 -05:00
Boris Zbarsky a3290b7379 servo: Merge #16895 - Add :-moz-is-html support for stylo (from bzbarsky:moz-is-html); 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
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1365165

<!-- 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: 7b9e9caa1d0b075a82f0e202cf35808f00d7468d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 43108b5bf44726f6bf522b850cd02bd838eb405c
2017-05-16 14:36:13 -05:00
Boris Zbarsky d163cf6d5b servo: Merge #16894 - Fix the two-value form of text-overflow to work in stylo (from bzbarsky:two-value-text-overflow); r=manishearth
<!-- 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1365168

<!-- 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: f87e362059f77bd7887cec0e8dd19df546538855

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6ab057e631ad769d54b2f172fcb749266eb2331f
2017-05-16 13:31:50 -05:00
Boris Zbarsky 3ca6551292 servo: Merge #16875 - Don't require style sharing cache invalidation for :dir (from bzbarsky:dir-no-revalidation); 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because we have no way to test performance optimizations, sadly.

<!-- 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: a42df6dd30bb1e789ea109aceb7b4893e54bf45e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 589ba44c7f9acc7eefc3a310e42ad0d76dea1d90
2017-05-16 12:01:50 -05:00
J. Ryan Stinnett 5f907d640f servo: Merge #16872 - Create a MatchingContext to group related matching args (from jryans:matching-context); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1364914

Upcoming changes for visited support and others as well need to pass more args through matching, so this creates a MatchingContext to group them together.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7f6b28e241e58944f1e11826094776446965ca64

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 375a8f06028eeb4889a880dfae4c33c8f012f791
2017-05-16 09:45:36 -05:00
Martin Robinson 5f37c2fc81 servo: Merge #16865 - Properly handle scroll offsets in hit testing (from mrobinson:scroll-offsets-fix); r=emilio
Scroll roots are no longer nested containers holding items, so instead
we need to track the offsets of each, carefully handling fixed position
items and stacking contexts that create new reference frames.
Additionally, we remove the complexity of the pre-computed page scroll
offset, instead opting to send script scrolls to the layout task in
order to more quickly have a ScrollState there that matches the
script's idea of the scroll world.

Fixes #16405.

<!-- 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 #16405.

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it is currently impossible to test interactive scrolling with Servo's test infrastructure. Existing tests verify the script part though.

<!-- 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: d855c929ef32e8f7d4bc15ba726e8eb5f8ad8e05

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c4b92e4eab5b1712a84c4437f483ededcf317794
2017-05-16 08:33:22 -05:00
Nathan Froyd f13a8dc7cc servo: Merge #16880 - provide more information when bindgen fails (from froydnj:bindgen-informative-failure); r=emilio
Providing the flags we passed into clang can be informative for double-checking that we set everything up correctly.

- [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: 0388e11db2532d41a71e184cb2a1f46e5107b8f5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 54d3739a0fc67886697020d38fadddb049631b4c
2017-05-16 07:19:53 -05:00
Simon Sapin 4b702fa50d servo: Merge #16870 - Add size_of tests for geckolib selectors (from servo:size_of); r=emilio
First step of https://bugzilla.mozilla.org/show_bug.cgi?id=1364148

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

--HG--
rename : servo/components/script_plugins/Cargo.toml => servo/components/size_of_test/Cargo.toml
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 21e3290fdf61d275d2bef0b0703280d8a8f15937
2017-05-16 04:00:30 -05:00
Xidorn Quan fc0ebbbaff servo: Merge #16888 - Implement @counter-style for stylo (from upsuper:bug1328319); r=heycam,Manishearth,SimonSapin
Servo side change of [bug 1328319](https://bugzilla.mozilla.org/show_bug.cgi?id=1328319).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c05b40bd3b03187aa1ea82629385669156bd9cf4
2017-05-16 01:17:07 -05:00
Bobby Holley 4caa12c2c1 servo: Merge #16874 - Use a SmallVec when gathering applicable declarations (from bholley:applicable_declarations_smallvec); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1364952

Source-Repo: https://github.com/servo/servo
Source-Revision: 7ca393a9603d7fa72e58a36bd53c29db396f6ea4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 95bb6753c4dac353f55d7d3013de5c3b589c68fa
2017-05-15 23:19:43 -05:00
Glenn Watson 6e5a87871a servo: Merge #16860 - Update WR (preserve-3d, AA improvements) (from glennw:preserve3d); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 180edaab604212d8c43c0523ef3eba68d55a2c6c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c561fb9549a19dc015b3c7f7055b040266640999
2017-05-15 21:49:35 -05:00
Emilio Cobos Álvarez 775a6246f3 servo: Merge #16878 - stylo: Rework pseudo-elements to support pseudo selectors with state (from emilio:pseudos); r=bholley,xidorn,hiro
Source-Repo: https://github.com/servo/servo
Source-Revision: 161dc666b017803c671a260f9d5298fc4c83f634

--HG--
rename : servo/components/style/binding_tools/regen_atoms.py => servo/components/style/gecko/regen_atoms.py
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d4a6f2d02df7ab7a55418c8ee58f58626385ac14
2017-05-15 20:46:42 -05:00
cku 4dc51e4bb0 servo: Merge #16864 - Stylo: Change mask-repeat initial value from no-repeat to repeat (from CJKu:bug-1364273); r=heycam
<!-- Please describe your changes on the following line: -->
Change mask-repeat initial value from no-repeat to repeat.

Gecko bug link:
https://bugzilla.mozilla.org/show_bug.cgi?id=1364273
---
<!-- 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: 5403c2fff0877ba8833262fde191a3e205ddd247

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4a2e2e9d65235f49d7b676e261e645cd69785723
2017-05-15 19:42:57 -05:00
cku 0727886364 servo: Merge #16862 - stylo: Pass Cached ImageValue from stylo back to gecko (from CJKu:bug-1310885-part-6); r=heycam
stylo: Pass Cached ImageValue from stylo back to gecko

<!-- Please describe your changes on the following line: -->
This is  part 6 ~ part 9 patch in bug 1310885

gecko bug 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: 5bd6b92494d6b9527c1639c358eea3c4822bed84

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d6a3505f7b9cb4d520e690af5262eb7d871f3992
2017-05-15 18:04:59 -05:00
Boris Zbarsky 7491a21b85 servo: Merge #16877 - Implement :-moz-anonymous-content in stylo (from bzbarsky:moz-anonymous-content); 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
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1364591

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they're tested by Gecko tests.

<!-- 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: a51da06dd9c680a7e3f49247181d49a48a787f47

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : db3ed02d7ce95c70646dbf8e979d059f343f2314
2017-05-15 16:38:14 -05:00
Josh Matthews 96dc842167 servo: Merge #16295 - Root nodes for the duration of their CSS transitions (from jdm:transition-safety); r=nox
This ensures that we can pass a node address as part of the asynchronous
transition end notification, making it safe to fire the corresponding
DOM event on the node from the script thread. Without explicitly rooting
this node when the transition starts, we risk the node being GCed before
the transition is complete.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #14972
- [X] There are tests for these changes

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1a087905ac9a835498215ff10f73105f5a4c1e45
2017-05-15 15:00:19 -05:00
Boris Zbarsky 229b852296 servo: Merge #16873 - Fix dynamic updates when :dir matching changes in stylo (from bzbarsky:fix-dir-matching); r=emilio
This is the servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1364280

<!-- 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1364280
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because Gecko has lots of tests for this and this is Gecko-only.

<!-- 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: ff5f90386b88eb08b483c56004f59ac2ab3df7ca

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5cbe38c8314588ba759fb41754d0524e502e95c9
2017-05-15 11:40:40 -05:00
Fabrice Desré b912f951ac servo: Merge #16869 - Ignore mime type parameters in nosniff (fixes #16049) (from nox:mime); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: f3c8f7e0d0fb42f32e3699d07fc0f8002bf564c8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d7ddf463cc31fc89f0d289b5739767e2ffff1de7
2017-05-15 10:15:37 -05:00
Anthony Ramine 440092e295 servo: Merge #16859 - Rewrite style images with a good dose of generics 💉 (from nox:gradients); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: eb7314b4122ba981cdc98204660f9fa1ef43e698

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 761a774e8e8a27e96e5047377166993fee80d201
2017-05-15 09:13:38 -05:00
Imanol Fernandez b32a939c73 servo: Merge #16866 - Update mozjs_sys (from MortimerGoro:update_mozjs); r=nox
<!-- Please describe your changes on the following line: -->

See https://github.com/servo/mozjs/pull/118

Required for https://github.com/servo/servo/issues/11921

---
<!-- 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: 9bc565362b8787768db77ac458c9fb8005e14023

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 051657136a772c64ba7b67a8b418ac7bebcbec5e
2017-05-15 07:32:11 -05:00
Fernando Jiménez Moreno f0cf117809 servo: Merge #16835 - Stylo: Bug 1350175 - Support getting line / column number of CSS rules (from ferjm:bug1350175.line.column.css.rules); r=upsuper,SimonSapin
- [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=1350175

Source-Repo: https://github.com/servo/servo
Source-Revision: 5cd8265f9a279e1cebe84218e691e7f80a541fb9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4c9d1793c4fd817320f83a695b8701118568d5ef
2017-05-15 05:28:50 -05:00
Brian Birtles a15daa54b1 servo: Merge #16863 - Additive animation (from birtles:additive-animation); r=hiro
Pull request for [Mozilla bug 1329878](https://bugzilla.mozilla.org/show_bug.cgi?id=1329878).

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Mozilla bug 1329878](https://bugzilla.mozilla.org/show_bug.cgi?id=1329878).
- [X] There are tests for these changes in web-platform-tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 94e977efebb93ef411222edc219bc9f30430a3f9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 22fc7644cc251b38c2fe1fe877b1d656ef0d461d
2017-05-14 23:24:48 -05:00
Emilio Cobos Álvarez 47d7e13c79 servo: Merge #16855 - style: Set root font-size right after cascading font-size (from emilio:rem-root); r=upsuper
This way rem in the root element works as expected.

This fixes layout/reftests/css-valuesandunits/unit-rem-root-width.html in Gecko.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8366b4d4f933f3efcadb6e337f2197cadca3e6ed

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f4a7ccdff083f25948ddc82d4b3fcad942b36988
2017-05-14 18:53:28 -05:00
Nazım Can Altınova b0629d0df2 servo: Merge #16856 - stylo: -moz-image-region shouldn't parse unitless lengths in quirks mode (from canaltinova:moz-image-region); r=nox
For clip property, `ClipRectOrAuto` was parsing its lengths without units in quirks mode. But `-moz-image-region` property should reject unitless lengths according to gecko. This fixes a stylo test failure.

---
<!-- 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: 9583aaf21c460cb50471f9e97f22c16ab73ef2df

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4184d8bf83f276d8dc1bcda62be7c2338da44953
2017-05-14 13:03:47 -05:00
Xidorn Quan 008dfae77d servo: Merge #16853 - Fix serialization of font-feature-settings (from upsuper:font-feature-settings-serialization); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: dab2df356594bf89502fc5934d8c16a57e3fdf45

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f39ed817b1e29a2007335302980354c74294506b
2017-05-13 23:56:25 -05:00
Darío Hereñú 0899b04631 servo: Merge #16849 - Link & minor proposal (from kant:patch-1); r=emilio
<!-- Please describe your changes on the following line: -->
Little proposals

---
<!-- 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 #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] 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: 320cfeb2909ff061552194f02147f4b50b6a1450

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ebf83c8688036f5c995e6801c95665dbbf3c389c
2017-05-13 22:34:10 -05:00
Nazım Can Altınova 6e17bb55a1 servo: Merge #16819 - stylo: Propagate quirks mode information from Gecko to Servo (from canaltinova:quirk-mode); r=bholley,emilio
r=bholley in bugzilla

---
<!-- 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 [Bug 1360488](https://bugzilla.mozilla.org/show_bug.cgi?id=1360488)

Source-Repo: https://github.com/servo/servo
Source-Revision: 94ac822132bd78a412f847a704c9ddf3eb91151c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2ea77efd7e0f31ea403f9952644c6ff30aaf4466
2017-05-13 20:50:10 -05:00
Hiroyuki Ikezoe b46eb2cf82 servo: Merge #16851 - Allow all numeric values for SMIL values (from hiikezoe:allow-all-numeric-values); r=emilio
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1357295 .
---
- [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

Source-Repo: https://github.com/servo/servo
Source-Revision: 0900ad4e4e980040f4c89da0bcc7bb52ca0aabd4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 77c1a873d20cb1f416ebb443e6b9267b48bf9ac1
2017-05-13 18:53:07 -05:00
Brad Werth 2483e7b376 servo: Merge #16844 - Servo-side change stylesheet_set entry unique_id to u64 (from bradwerth:stylesheet64); r=heycam
https://bugzilla.mozilla.org/show_bug.cgi?id=1363572
https://reviewboard.mozilla.org/r/138092/

---
<!-- 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: b80d4acef455d1072df5a4ad7fd1d80fbff8e27c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 30999e7e6f547eaa40e5bb027768ab986de207af
2017-05-13 16:13:13 -05:00
Simon Whitehead 9d6573ed23 servo: Merge #16829 - Disallow negative duration for animation and transition (from hiikezoe:disallow-negative-duration); 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
- [X] These changes fix #15343

<!-- Either: -->
- [X] There are tests for these changes written by @simon-whitehead . Thank you!

<!-- 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: 4613c0382ab76263fb8202ccf52f4c0520e44809

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5ab0c6c878e3f18f6588d820ae046cef82d36f1d
2017-05-13 15:12:15 -05:00
Hiroyuki Ikezoe b8f09b427c servo: Merge #16850 - Merge keyframes at the same offset (from hiikezoe:merge-keyframe); r=birtles,SimonSapin
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1354947 .
---
- [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: c5e31def29c62d885468f33cdc13446036b39bd8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c1d4968c42c51bbb6a4012ef7cafbff2728e8e94
2017-05-13 14:05:40 -05:00
Simon Sapin fc81f181c7 servo: Merge #16852 - Fix illegal_floating_point_literal_pattern again and rustup… (from servo:illegal_floating_point_literal_pattern); r=jdm+SimonSapin
… to compiler that has it, to avoid regressing again.

Upgrade to (rustc 1.19.0-nightly (e17a1227a 2017-05-12)

Source-Repo: https://github.com/servo/servo
Source-Revision: 5e5d3559d90a9a0b69ec8147eedf12025ec3e0ce

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ef222b90c773241ac66e539be768577712b43f50
2017-05-13 11:25:07 -05:00
Imanol Fernandez c36ed63911 servo: Merge #16769 - Support for Android armv7 and aarch64 target triples (from MortimerGoro:android_archs); r=larsbergstrom
<!-- Please describe your changes on the following line: -->

Support for Android armv7 and aarch64 target triples in python build scripts (build + packaging)

`--android` build parameter works as always (arm-linux-androideabi still the default)
`./mach build --release --android`

New compilation modes for android
`./mach build --release --target=arm-linux-androideabi`
`./mach build --release --target=armv7-linux-androideabi`
`./mach build --release --target=aarch64-linux-android`

See https://github.com/servo/servo/issues/11921. When all crates are ready we'll switch default android compilations to` armv7-linux-androideabi` target triple.

---
<!-- 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: 286bfb96a06705e37e690be07a51f5e1797f35b0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5e578d7a8b567da6913e8ba63720d6a877b20ca1
2017-05-13 10:24:29 -05:00
Simon Sapin 0966630712 servo: Merge #16854 - Add 'mach check' and 'mach check-geckolib' (from servo:check); r=nox
With a reminder that you may still need to do a full build if you want to run it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2766529c2450ba3fac1b7669c195869a0f7e341b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ebb4360dd02f68da6781efa4afd68e3912da2e09
2017-05-13 08:30:07 -05:00
Alan Jeffrey cb93fc35dd servo: Merge #16845 - Renamed BrowsingContext to WindowProxy in script (from asajeffrey:script-rename-browsing-contexts); r=jdm
<!-- Please describe your changes on the following line: -->

Renamed `script::dom::BrowsingContext` to `script::dom::WindowProxy`.

The browsing context is mostly maintained in the constellation, not in script. It would be nice to rename `constellation::Frame` to `constellation::BrowsingContext`, but that will be very confusing if there are two `BrowsingContext` types.

---
<!-- 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 renamings aren't externally visible

<!-- 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: 34d0e59849a0a3e231e47fe10d66484340b8b80c

--HG--
rename : servo/components/script/dom/browsingcontext.rs => servo/components/script/dom/windowproxy.rs
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b6982ad56bf64ced344baceb66c9728e6dad6e6d
2017-05-13 07:09:29 -05:00
Simon Sapin 0ad27e0428 servo: Merge #16836 - Make `./mach rustup` use the latest nightly rather than master (from servo:nightly); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: d2fa2ae9343db8d958570a501ff9a7b7a203ceeb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 12ab30e06306fc348969350f8641a9dcace422be
2017-05-13 06:07:11 -05:00
Xidorn Quan 2bbe4ddc15 servo: Merge #16827 - Make font-feature-settings a subprop of font (from upsuper:subprop-font-feature-settings); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: e83e102736907a5905134aa129dd43debf5c216c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4a21e1c307de47a17c59e558e8628a841a02be5a
2017-05-13 04:40:18 -05:00
Nathan Froyd b92dd9bc28 servo: Merge #16843 - explicitly specify bitness for x86 cross-compilation situations (from froydnj:bindgen-cross-compile); r=emilio
Despite compiling for architecture X, the user may have specified a
clang that defaults to architecture Y.  We need to ensure that we invoke
clang with the correct architecture selection.  We do not use --target
to do this, however, because that runs into problems with LLVM's default
search paths.  For the x86 case, we can simply use -m$BITNESS to select
the correct architecture.

This is not at all a general solution, but it does unblock compiling Stylo for 32-bit Linux on Gecko's infra.

- [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: 9be1fead3ccf419e5d32a935ba6a5271c2e5170a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9275f12796ebe784febe8bcfa3060c2a7b8af835
2017-05-13 02:03:19 -05:00
Boris Zbarsky fd6b98f272 servo: Merge #16841 - Fix the situation when :any-link starts or stops matching to actually restyle correctly (from bzbarsky:fix-moz-any-matching); 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
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1364335

<!-- 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: 3b13b152a0198b9a005ca122e6cb411b12f8c334

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b400548f6f4f1d7a315adf9eade154e8a87ba2db
2017-05-13 01:00:46 -05:00
Manish Goregaokar 4a5e1e7e86 servo: Merge #16824 - Recalculate font-size when generic changes (from Manishearth:font-size-generic-changed); r=heycam
With the MathML refactorings this feature got lost. It would still get
recalculated when explicitly specified as a keyword, but not otherwise.

To avoid hitting the font metrics provider too often, we only do this
when the generic changes. Otherwise we trust the existing calculated
font.

I swear, once Stylo lands I'm going to campaign to remove font-size from CSS entirely. 😩

Source-Repo: https://github.com/servo/servo
Source-Revision: 29f5b226ac6029cfa3806a36e58974b94c12d655

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : feaf14b66482d4ceeb79c4d44c91e38ed3d31d72
2017-05-12 23:59:25 -05:00
Simon Sapin e1a25706be servo: Merge #16837 - Fix future illegal_floating_point_literal_pattern warnings (from servo:illegal_floating_point_literal_pattern); r=emilio
They make component/style fail to build, because of `#[deny(warnings)]`

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 626223612f9972e075e3fe92bcb78f220beaff7f
2017-05-12 22:34:09 -05:00
Imanol Fernandez c3ef7be747 servo: Merge #16833 - Fix unsafe AtomicRefCell<T> transmutes in Layout component (from MortimerGoro:layout_alignment); r=SimonSapin
<!-- Please describe your changes on the following line: -->

Fixes unsafe transmute between `AtomicRefCell<PersistentLayoutData>` and `AtomicRefCell<PartialPersistentLayoutData>` which have different memory alignment in 32 bit archs leading to SEGV crashes. See https://github.com/servo/servo/issues/16817 and https://github.com/servo/servo/pull/16816

mem::align_of values in 32 bit archs (e.g. Android):
```
PersistentLayoutData 8
PersistentLayoutData 4
AtomicRefCell<PersistentLayoutData> 8
AtomicRefCell<PartialPersistentLayoutData> 4
```
mem::align_of values in 64 bit archs
```
PersistentLayoutData 8
PersistentLayoutData 8
AtomicRefCell<PersistentLayoutData> 8
AtomicRefCell<PartialPersistentLayoutData> 8
```

---
<!-- 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 #16817 (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: 47e4c48feb12e4189f11fd94631f0abea5827f91

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 51c494d499c304cd69e5504acc1ed8399afada05
2017-05-12 20:44:02 -05:00
Mike Hommey 60e6df0a9b servo: Merge #16847 - Opt-in to thread-local jemalloc arenas for stylo rayon threads (from glandium:master); r=bholley
<!-- Please describe your changes on the following line: -->
Servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1361258

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they're gecko-specific

<!-- 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: 642cd08f21727ee35dc3dace14d0c9ad5837f380

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ed48f5ce4eb76e854ab7f92723e722d34a695a3d
2017-05-12 19:11:31 -05:00
Cameron McCormack 8e968de9f9 servo: Merge #16831 - style: Support :-moz-autofill and :-moz-autofill-preview in Gecko (from heycam:autofill); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 52240c21d9da0f88928069c98d1480bd28395507

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e50b08595e129a4741414f3e7c5484cfdcac945a
2017-05-12 17:32:21 -05:00
Connor Brewster c132de25a8 servo: Merge #16506 - Make non-initial about:blank loads async (from cbrewster:about_chaos); r=asajeffrey
<!-- 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 #14856 (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: dc8cf694eddca6529bf4b3ac1066764473775192

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2865a2a154d7e8d7b0b5e7f2e6ec499717185fd2
2017-05-12 15:08:45 -05:00
Hiroyuki Ikezoe 55a4317a40 servo: Merge #16826 - Check ElementHasAnimations flag in rust side (from hiikezoe:check-animation-flag); r=birtles
We can bail out earlier before calling an FFI function.
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1364264 .

- [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: 875b07b4ec64d9ef01bafb81ecf01496c0b9fa4b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f61dc4336198f974eff1fcd7401efbbd899baa00
2017-05-12 12:35:52 -05:00
Manish Goregaokar 33434669f1 servo: Merge #16821 - font-variant-caps should accept all-small-caps and all-petite-caps (from Manishearth:variant-caps); r=jryans
Source-Repo: https://github.com/servo/servo
Source-Revision: c260beba3904cd587964ce4330a7a7e784d21343

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 884e61ca9972dbe32daed852ea8dd0a4aa1b505f
2017-05-12 10:27:35 -05:00
Emilio Cobos Álvarez 7bb0c2c428 servo: Merge #16802 - style: Slim down SharedStyleContext, and do various other cleanups around the style crate (from emilio:slim-down-slc); r=bholley
This slims down SharedStyleContext, in preparation for a few things.

First, I would like to eventually move the stylist to the document in Servo, in
order for it to hold the StyleSheetSet.

Also, this gets rid of a fair amount of overhead while creating it in stylo.

Fixes bug 1363245.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e20eedc331b5fa4c6e2fecc140e10f220619deb8
2017-05-12 08:56:47 -05:00
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