Commit Graph

7233 Commits

Author SHA1 Message Date
Ms2ger
582c48e051 servo: Merge #13211 - Remove unused derivations from FrameState (from servo:FrameState-derive); r=ConnorGBrewster
Source-Repo: https://github.com/servo/servo
Source-Revision: b79401be312ef286b0aef68e5f03f7c7a072ea5d
2016-09-09 19:58:17 -05:00
Keith Yeung
3cdf22b83d servo: Merge #13201 - Properly generate typedef identities in unions (from KiChjang:codegen-typedefs); r=nox
Fixes #10605.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1b3c7ed0ee8e968df01258ca8858295ead77dfa4
2016-09-09 18:45:56 -05:00
Guillaume Gomez
032104d477 servo: Merge #13094 - Put back video metadata (from GuillaumeGomez:the_comeback); r=KiChjang
I updated the `video-metadata-rs` crate: now, no more ffmpeg, just pure rust. The webm format isn't checked yet.

Source-Repo: https://github.com/servo/servo
Source-Revision: 142578f2e9dddadd530a4a436a74cfa411341cb5
2016-09-09 16:28:34 -05:00
Ms2ger
9b5e5fb47c servo: Merge #13193 - Implement error reporting for workers (from servo:error-workers); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 1d40075f03f8dc0f564120bef57151ab70449007
2016-09-09 03:54:19 -05:00
Manish Goregaokar
c9241b77b0 servo: Merge #13200 - Resync bindings (from Manishearth:resync); r=bholley
StyleClear and StyleDisplay are now enums, updating bindings for them.

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: 957893bdc2132cf39a505b6ca681ca56c427c049
2016-09-09 02:00:13 -05:00
Michael Howell
5fd35e98a8 servo: Merge #13192 - Account for percentages in fixed table layout (from notriddle:master); r=pcwalton
Don't just use the minimum length all the time.

---

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 2d13178d2930da8668e77de078eeb65438eb502e
2016-09-08 23:17:06 -05:00
UK992
f8cb9971b7 servo: Merge #13205 - Tidy: Fix ordering use statements with braces (from UK992:tidy-sort); r=Wafflespeanut
This hack fixes https://github.com/servo/servo/issues/7412 and matches behavior with rustfmt.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3117787fd2a8b7748cfde1e9b8c5be3c00f2c599
2016-09-08 22:19:19 -05:00
Malisa Smith
e63eef1fc2 servo: Merge #13058 - Response API (from malisas:malisa-responseAPI); r=Manishearth,jdm
<!-- Please describe your changes on the following line: -->
This PR adds the [dom::Response](https://fetch.spec.whatwg.org/#response-class) implementation and addresses #11896.

The relevant passing tests` expectations have been updated.

In order to allow non-UTF-8-encoded status messages, `net_traits::response::Response`'s `raw_status` field has been changed from type [`Option<RawStatus>`](https://doc.servo.org/hyper/http/struct.RawStatus.html) to type `Option<(u16, Vec<u8>)>`. As a result, a few other files which rely on the `raw_status` field were affected and updated.

TODOs:
- The `body` and `trailer` methods. Relies on implementation of `ReadableStream` and `Promise`s.
- Similarly, replace the dummy constructor `_body: Option<USVString>` argument with `body: ResponseBodyInit`.
- Currently, whenever `r's response's header list` or `r's Headers object` are mentioned, I always modify the `headers_reflector` field (of type dom::Headers, or `r's Headers object`) and not the corresponding hyper::Headers list in the net_traits::Response field. A completely accurate interpretation of the spec might consider making both of these lists the same thing via a reference. [Discussion](https://github.com/whatwg/fetch/issues/358) was [had](https://github.com/servo/servo/pull/12884).

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

<!-- 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: 5a5a76cc5db830d2e622d4e0924837383b64dfa2
2016-09-08 18:58:05 -05:00
Shing Lyu
c852686abe servo: Merge #13175 - Move collapse through margin to the top of block flow (from shinglyu:block-margin-patch); r=notriddle
<!-- Please describe your changes on the following line: -->
Based on the spec, a collapse through box should be put on the top edge of the flow. This fixed ~110 reftests

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

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

<!-- 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: aa011ea2759683ede76639a1ea889c93c21d1cb8
2016-09-08 17:43:50 -05:00
Simon Sapin
26c91514d6 servo: Merge #13190 - Update cssparser (from servo:cssparser-up); 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
- [ ] These changes fix #__ (github issue number if applicable).

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

<!-- 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: d99d29e94a886ef2701ce32a6e56e65e35583d7b
2016-09-08 15:50:12 -05:00
Glenn Watson
187b8b6183 servo: Merge #13198 - Update WR/shaders (more AA, VTF mac fix, reftest fixes) (from glennw:wr-update-vtf); r=ConnorGBrewster
Source-Repo: https://github.com/servo/servo
Source-Revision: 0daf71d58b7081aaa2900e5b8c76f5ac0b8b19e4
2016-09-08 14:53:06 -05:00
UK992
fc0990e5cc servo: Merge #12916 - Create mach bootstrap based on Mozilla's mozboot bootstrapper (from UK992:msvc-dependencies); r=larsbergstrom,wafflespeanut
Fixes https://github.com/servo/servo/issues/12914
I've made this few weeks ago, its an example how could everything looks like.
It downloads and setup all needed dependencies for MSVC.
It's has version in case if some dependencies need to be updated.
Zip files and folder in zip need to be named ``<dep>-<version>``.
Also if cmake already exist in PATH, it won't download it again.

I want opinion on that, if this is right approaches and how to improve it.

cc @vvuk

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

--HG--
rename : servo/python/tidy/servo_tidy_tests/shebang_license.py => servo/python/servo/bootstrapper/__init__.py
2016-09-08 13:57:23 -05:00
Andreas Tolfsen
e5a0a1387b servo: Merge #13186 - Update webdriver-rust library to 0.14 (from andreastt:webdriver-0.14); r=SimonSapin,larsberg
<!-- Please describe your changes on the following line: -->

This updates the _webdriver-rust_ library to 0.14 and makes the necessary API changes to make it compile with Servo.

---
<!-- 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 is a library upgrade

<!-- 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: 5b0a1990d5fff645811f4c70d2a515e85fc2fd20
2016-09-07 12:57:24 -05:00
Josh Matthews
74e6f5873f servo: Merge #13194 - Extract mutability out of Reflectable trait (from servo:mutreflectable); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: dd33be45485fefd148759c77462c484157026055
2016-09-07 04:17:36 -05:00
Paul Rouget
93df503eb7 servo: Merge #13182 - Fix println section (from paulrouget:fixDoc); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: bba3eefde86d7716c35b6dcb6f45c9d42fbe758f
2016-09-07 01:29:37 -05:00
Glenn Watson
abdd7f389e servo: Merge #13189 - Revert "Update WR (various reftest fixes)." (from glennw:revert-vtf); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a1af3564c0072274543ac5f1ca260d5fe79227b
2016-09-06 21:21:39 -05:00
Glenn Watson
33c47569c3 servo: Merge #13187 - Update WR (various reftest fixes) (from glennw:wr-update-ref); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 72279cc7eb044a760ce461d76da2ff62adc511dc
2016-09-06 16:26:57 -05:00
Ms2ger
5bf44d1690 servo: Merge #13174 - Prepare for error reporting in workers (from servo:error-workers); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 3631e314b93746e04944de9f9b77b994420b0bf6
2016-09-06 12:35:39 -05:00
Attila Dusnoki
3e521f8ed9 servo: Merge #12875 - WebBluetooth Android support (from dati91:android); r=larsbergstrom
<!-- Please describe your changes on the following line: -->
Add android support for Webbluetooth.
Also adjust to the changed device api.

---
<!-- 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 there is no test api yet.

<!-- 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: 057bcddd0f63a97b8cd1954310878c423d02e056
2016-09-06 10:44:41 -05:00
Anthony Ramine
26d596d985 servo: Merge #13183 - Clean up stuff in bindings::interface (from nox:cleanup-interface); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 628c644feeb2ba72b17ec5d74e559223accabbf3
2016-09-06 08:48:15 -05:00
Ms2ger
deb0a7234a servo: Merge #13181 - Add missing IsCallable checks (from servo:iscallable); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 69b5a0d0d0b2869dd6f96cb71fea6135bb0e94fe
2016-09-06 07:51:12 -05:00
Glenn Watson
1487cfce4e servo: Merge #13178 - Update WR + shaders (dotted border AA, clear fix for empty pages) (from glennw:update-wr-clear); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 47e832dbd37e4ea1a321dc8f92a75cfd48fb6be9
2016-09-06 06:57:27 -05:00
Anthony Ramine
bb10e3bccd servo: Merge #13180 - Update Rust to 1.13.0-nightly (91f057de3 2016-09-04) (from servo:rustup); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: bde321c9367151f20a6fb69bd7e59f5203bdb1ce
2016-09-06 05:59:58 -05:00
Alan Jeffrey
3b4dca5ac6 servo: Merge #12946 - Etc ci performance run locally (from asajeffrey:etc-ci-performance-run-locally); r=shinglyu
<!-- Please describe your changes on the following line: -->

Changes to `etc/ci/performance` to get it to run locally on my machine at least!

---
<!-- 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 this is performance-testing code

<!-- 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: 9e349544f0fed306861814ad4b71239645d034ce
2016-09-06 04:07:05 -05:00
Simon Sapin
7042e55074 servo: Merge #13179 - Remove one level of nesting in Stylist (from servo:flatter-stylist); r=emilio
<!-- Please describe your changes on the following line: -->

Since #13134, the "normal" and "important" parts of `Stylist` are identical, so we don’t need to store them twice.

r? @emilio

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

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

<!-- 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: 89126b44d74ac49e7e05d8a127020aa39de0d30e
2016-09-06 01:48:04 -05:00
hsinewu
8689191075 servo: Merge #13081 - make nodeList iterable (from hsinewu:nodelist-iterable); r=Ms2ger
<!-- Please describe your changes on the following line: -->
Not sure what to test in the script.
Need some advice. o_O

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

<!-- 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: 1901a21a2c179e5bb439609402a4e1cb9f5c08d1
2016-09-05 09:45:24 -05:00
Ms2ger
87903d7e85 servo: Merge #13173 - Stop using mem::transmute_copy (from servo:transmute_copy); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 5f702d6e7f26710b7a24cce3c013a040255f7096
2016-09-05 03:11:48 -05:00
Manish Goregaokar
bddda6ce05 servo: Merge #13157 - stylo: support background-size and corner gradients (from Manishearth:background-size); r=emilio
Forgot to fix this in the midst of all other things fixed in #12945

<s>(not yet tested, need to figure out how to test bg-size with gradients)</s>

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: c46003eb05cca0ea779fee73d0f6325c85e19357
2016-09-04 03:45:05 -05:00
Emilio Cobos Álvarez
9287c48599 servo: Merge #13171 - Revert "Remove mako.zip" (from emilio:mako-is-back); r=SimonSapin
<!-- Please describe your changes on the following line: -->

Stylo doesn't use Servo's virtualenv, so we need to integrate it into Gecko's build before doing this.

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

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

This reverts commit 95e3f8333a116f9bd62fb071d08fcef269697804.

Source-Repo: https://github.com/servo/servo
Source-Revision: fe9d9096ec3e78e2d5d53d32f181dc519512a40a
2016-09-03 23:56:55 -05:00
Emilio Cobos Álvarez
c6b5d498da servo: Merge #12957 - stylo: Don't calculate restyle damage on text nodes (from emilio:stylo-pseudos); r=bholley
<!-- Please describe your changes on the following line: -->

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

<!-- Either: -->
- [x] There are tests for these changes (the Servo-side, that is)

<!-- 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: 1fd745a4084c28039746d63c81d49120199dcad4
2016-09-03 20:48:35 -05:00
Keith Yeung
6c030663ef servo: Merge #13170 - Update string_cache to 0.2.27 (from KiChjang:string-cache-update); r=frewsxcv
<!-- 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 hahahas
- [ ] `./mach test-tidy` does not report any hahahas
- [ ] These changes fix #hahaha (github issue number if applicable).

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

<!-- 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: 04dbfe65bab358e15d831f0071184d5d93f98dc5
2016-09-03 18:45:14 -05:00
Manish Goregaokar
be8e7e8548 servo: Merge #12991 - Add sugar for handling borrowed and owned types (from Manishearth:more-arc-safety); r=mystor,emilio
Implements the changes outlined in https://github.com/servo/servo/pull/12826#discussion_r75074985

<s>Also gets things ready for the Unique/Borrowed bindings</s>

WIP for borrowed and unique in the same PR. Still need to convert all the rest of the gecko types to use the new wrappers.

r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 927cd8ebf762d1c2db5a5de710a2ebcbfd6bab22
2016-09-02 22:42:21 -05:00
Manish Goregaokar
e58dd7ddc9 servo: Merge #13163 - Use conditional compilation for stylo properties; output unimplemented logs for all properties (from Manishearth:conditional-compilation); r=bholley
Till now we were only emitting unimplemented property logs for properties which servo implements but stylo doesn't.
This list is getting smaller, and we really should be emitting this for any unexpected property we encounter.

I also made it so that longhands which stylo does not implement will not be compiled in stylo builds; instead of what we currently do,
which is to parse them and then basically ignore the result.

There are still a few exceptions -- we generate stubs for properties that are parts of shorthands because otherwise we'd have to add fiddly conditional compilation to the shorthand code.

r? @bholley

cc @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 58205f1a787a69adaeac0c875a6ed98d3a6640cb
2016-09-02 21:45:08 -05:00
Emilio Cobos Álvarez
8242427dda servo: Merge #13159 - style: Don't incorrectly clamp values in calc that might not be only lengths (from emilio:negative-calc); r=notriddle
<!-- 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 #__ (github issue number if applicable).

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

<!-- 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: 51bb125189df1dcdb0e31f8b7665693d28b0d008
2016-09-02 11:10:01 -05:00
Ms2ger
79b9fca818 servo: Merge #13156 - Dispatch error events at the window object (from servo:report-error); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 569599d40426eda9c6acc86e58c35a423ba742be
2016-09-02 04:45:37 -05:00
Manish Goregaokar
7fa280f9fc servo: Merge #13148 - Don't use mem::uninitialized() for making calc values (from Manishearth:calc-null); r=emilio
We had code relying on `nsStyleCoord::set()` being leaky (like it was
before we patched up the calc bindings). Added `nsStyleCoord::null()` for
this use case since it's not possible to construct directly anymore.

r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 77352242b04da23ba172ca61f0d057839635256c
2016-09-02 01:06:59 -05:00
Glenn Watson
6b6b8332f3 servo: Merge #13160 - Update WR + core-graphics to get mac AA fix (from glennw:wr-update-aa); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 92c3961743daddefc24846aad734ed5bce715978
2016-09-01 19:35:37 -05:00
crypto-universe
d905123881 servo: Merge #13097 - Mako task (from crypto-universe:mako_task); r=SimonSapin
<!-- Please describe your changes on the following line: -->
Remove mako zip

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

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

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

r? @SimonSapin

Source-Repo: https://github.com/servo/servo
Source-Revision: e4362356d29ab5b18cb6316a3a510dfa31f9ba7c
2016-09-01 16:47:10 -05:00
Manish Goregaokar
683a0b2820 servo: Merge #13122 - Handle specialized serialization of <position> in basic shapes (from Manishearth:basic-shape-position-redux); r=SimonSapin
Fixes #13083

We temporarily broke basic-shape serialization in #13042 when 4-value positions were implemented, since I didn't want to increase the scope of that PR too much.

This fixes it.

r? @SimonSapin

cc @canaltinova

Source-Repo: https://github.com/servo/servo
Source-Revision: 6c68680581afbdd59034cb1535bfd4439cfa7394
2016-09-01 12:50:32 -05:00
Emilio Cobos Álvarez
88a492c12c servo: Merge #13121 - style: Properly track whether negative values of calc() are allowed (from emilio:negative-calc); r=SimonSapin
<!-- Please describe your changes on the following line: -->

r? @SimonSapin

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

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

In order to clamp them at computed value time.

Source-Repo: https://github.com/servo/servo
Source-Revision: fbf77e40fefee85bab516adc0ca5d963f55e557b
2016-09-01 11:41:35 -05:00
Ravi Shankar
33112472a8 servo: Merge #13151 - Make sure that mach gets the correct paths of executables in virtualenv (from Wafflespeanut:mach_cleanup); r=Ms2ger
<!-- 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 #13141 (github issue number if applicable).

<!-- Either: -->
- [x] These changes do not require tests because it's a cleanup related to `mach`

<!-- 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: e699d9bfad6ce5e1b0cf31d5a6d06512e267f41a
2016-09-01 06:58:50 -05:00
Ashwin R
8920ae0790 servo: Merge #13145 - Implemented Navigator.cookieEnabled (from ashrko619:nav-cookie-enabled); r=nox
<!-- 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 #13124 (github issue number if applicable).

<!-- 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: f787e8ed659babc43c5dd3f5e67e591796ca7a70
2016-09-01 05:25:52 -05:00
Glenn Watson
353be45e84 servo: Merge #13146 - Update WR + shaders (switch to untyped UBO for CI) (from glennw:update-wr-soa); r=nox
This makes WR startup time significantly faster on Linux, by working around a slow path in the shader compiler.

Source-Repo: https://github.com/servo/servo
Source-Revision: c3ef836c09f0453a795a1c76f1daa4ed4fc05a2f
2016-09-01 04:28:46 -05:00
Emilio Cobos Álvarez
cc0d160d2b servo: Merge #13110 - Fix incremental restyling under some circumstances due to our bogus use of ElementFlags (from emilio:element-flags); r=SimonSapin
<!-- Please describe your changes on the following line: -->

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

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

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

Depends on https://github.com/servo/rust-selectors/pull/98

Source-Repo: https://github.com/servo/servo
Source-Revision: 57b372ba3bfc8c1c99c541be8d68fac93deb41ca
2016-09-01 02:44:36 -05:00
Bobby Holley
8831e6c1c0 servo: Merge #13147 - Update to fnv 1.0.4 (from bholley:rev_fnv); r=Manishearth
This should get rid of the vim backup files discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1298957

Source-Repo: https://github.com/servo/servo
Source-Revision: 78baf21c54c954e5ebdea23aff5aa62198709027
2016-08-31 22:31:50 -05:00
Simon Sapin
ec40d2a379 servo: Merge #13134 - Add lots of Arc’s in style, and prepare for using DOMRefCell (from servo:archery); r=emilio
<!-- Please describe your changes on the following line: -->

`DOMRefCell` usage is not there year because of thread-safety questions, but I have this much already that I’d like to land before it bitrots.

r? @emilio

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

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

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

--HG--
rename : servo/components/script/dom/bindings/cell.rs => servo/components/style/domrefcell.rs
2016-08-31 16:30:56 -05:00
Glenn Watson
6036675095 servo: Merge #13135 - Webrender update (border anti-aliasing, primitive caching) (from glennw:wr-update-caching); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 23adba02426852184167a1a603293707f3517ddd
2016-08-31 12:24:47 -05:00
Gabriel Poesia
68455c3598 servo: Merge #12437 - Handle row borders in border collapsing logic (from gpoesia:tr_margin_fix); r=pcwalton
<!-- Please describe your changes on the following line: -->
Handle table row border when collapsing borders for a table row. The row border is combined with the cell's border using the already implemented conflict resolution logic.

This is a screenshot of the following test:

```html
<!doctype html>
<html><body>
    <style>
      table {
        border-collapse: collapse;
      }
      tr {
        border: 1px solid black;
      }
    </style>
    <table>
      <tr><td>Lorem</td><td>Ipsum</td><td>Sit</td><td>Dolor</td></tr>
      <tr><td>Lorem</td><td>Ipsum</td><td>Sit</td><td>Dolor</td></tr>
      <tr><td>Lorem</td><td>Ipsum</td><td>Sit</td><td>Dolor</td></tr>
      <tr><td>Lorem</td><td>Ipsum</td><td>Sit</td><td>Dolor</td></tr>
    </table>
  </body>
</html>
```

<img src="https://dl.dropboxusercontent.com/u/10962672/Screenshots%20Servo/servo_tr_border_collapse.png"/>

The top border is missing, but I think that's a different bug, since it also does not show up when the border is in the cells, and not the rows. Also, when debugging the border collapsing structures, they seem ok (the top border seems to be there). I can look at that bug in a separate issue (or in this one too if you prefer).

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

<!-- Either: -->
- [X] These changes do not require tests because I didn't find how to automatically test it (will be happy to provide a test if there's infrastructure for this kind of test already in place).

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

Fixes #11527.

Source-Repo: https://github.com/servo/servo
Source-Revision: f5a546a1600fe6a6761e3fd6ac1bb6c3f1a503eb
2016-08-31 11:28:18 -05:00
Jarda Snajdr
c42663da32 servo: Merge #13138 - Console message packets should have a '_type' attribute (from jsnajdr:master); r=nox
<!-- Please describe your changes on the following line: -->
Renamed the `type_` attribute of `PageError` and `ConsoleAPI` structs to make them correct Firefox RDP packets.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because devtools component doesn't have any

<!-- 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: e542dcf883b2fe10d47d97d2e729da818a2876aa
2016-08-31 08:33:36 -05:00
UK992
c15c920395 servo: Merge #13107 - Tidy: Handle empty files (from UK992:tidy); r=Wafflespeanut
Fix index error ``list index out of range``, when file is empty.

r? @Wafflespeanut

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

--HG--
rename : servo/python/tidy/servo_tidy_tests/test_ignored/whee/foo/bar.rs => servo/python/tidy/servo_tidy_tests/empty_file.rs
2016-08-31 07:42:25 -05:00