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

1417 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan 351b329516 servo: Merge #14406 - Add insertRule/deleteRule support for stylo (from upsuper:bug1313293); r=heycam
<!-- Please describe your changes on the following line: -->
This is the servo part of [bug 1313293](https://bugzilla.mozilla.org/show_bug.cgi?id=1313293), reviewed by @heycam.

r? @heycam

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

<!-- 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: 87f5b877d8c1d670e55516c6e6ec2cf303b9692e
2016-11-30 21:54:46 -08:00
Boris Chiou 5877be3c21 servo: Merge #14404 - Use XPCOM string bindings instead of Gecko_Utf8SliceToString (from BorisChiou:Bug1317179); r=Manishearth
These are the servo-side changes for [bug 1317179](https://bugzilla.mozilla.org/show_bug.cgi?id=1317179). @Manishearth has already reviewed them there. I'd like to merge these patches until the gecko-side changes for [bug 1317179](https://bugzilla.mozilla.org/show_bug.cgi?id=1317179) is landed.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [bug 1317179](https://bugzilla.mozilla.org/show_bug.cgi?id=1317179).
- [X] These changes do not require tests because there are existing tests for this in mozilla-central

Source-Repo: https://github.com/servo/servo
Source-Revision: 22c8df150af341064abac25a26768c8c1517df1f
2016-11-30 20:12:28 -08:00
Anthony Ramine de5ae52b90 servo: Merge #14292 - Update to Rust 1.15.0-nightly (1c448574b 2016-11-28) (from servo:rustup); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: f159b5cb1028bf4d2f75b0b48055fe19a8032f8e
2016-11-29 12:20:58 -08:00
Xidorn Quan fca01e20b5 servo: Merge #14384 - Move Arc<RwLock<_>> out from CssRules tuple (from upsuper:cssrules-struct); r=Manishearth
<!-- Please describe your changes on the following line: -->
Otherwise it would be hard for Gecko to hold `CssRules`.

r? @manishearth

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

<!-- 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: 39845faf261672b795af59602b45e7ce096b9f33
2016-11-29 03:26:46 -08:00
Emilio Cobos Álvarez cca73fbfd1 servo: Merge #14353 - Fix the bloom filter stuff (from emilio:fix-bloom); r=SimonSapin
<!-- Please describe your changes on the following line: -->

I think I got the numbers right, want to do a try run before just in case.

r? @SimonSapin

Source-Repo: https://github.com/servo/servo
Source-Revision: 2289ad53dd9a2666645b1f7eef07636e21c1607e
2016-11-28 10:30:19 -08:00
Anthony Ramine e20c332d45 servo: Merge #14381 - Move to Cargo workspaces (from servo:workspaces); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: eb7032f6dd5e8a1f8c0602666805d1d10cc84e65

--HG--
rename : servo/ports/servo/Cargo.lock => servo/Cargo.lock
2016-11-28 01:44:40 -08:00
Anthony Ramine d8a9bfac17 servo: Merge #14225 - Update js (from servo:update-js); r=jdm,Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 7d69f53794c9f823d524d0d4382c04c4a57bea65
2016-11-27 05:03:15 -08:00
Bobby Holley 62e95664e4 servo: Merge #14300 - stylo: Basic infrastructure for RestyleHint-driven traversal (from bholley:restyle_driven_traversal); r=emilio
Gecko Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=131701

(Don't review yet, will flag on the gecko bug when the time comes)

Source-Repo: https://github.com/servo/servo
Source-Revision: d98abaec20e624aa89a3abddf4cf2a6399951ef1
2016-11-25 09:00:44 -08:00
Boris Chiou 4f250b729e servo: Merge #14357 - Use single_value_to_css in Servo_DeclarationBlock_SerializeOneValue (from BorisChiou:Bug1317178); r=emilio
These are the servo-side changes for [bug 1317178](https://bugzilla.mozilla.org/show_bug.cgi?id=1317178). @Manishearth has already reviewed them there. Please merge these patches until the gecko-side changes for [bug 1317178](https://bugzilla.mozilla.org/show_bug.cgi?id=1317178) is landed.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [bug 1317178](https://bugzilla.mozilla.org/show_bug.cgi?id=1317178).
- [X] These changes do not require tests because there are existing tests for this in mozilla-central

Source-Repo: https://github.com/servo/servo
Source-Revision: 67a4ecd68ec782fd661c0095df1e7f75e79a5d84
2016-11-25 02:39:52 -08:00
Glenn Watson 208596903e servo: Merge #14286 - Update to webrender 0.10.0 (from gterzian:update_canvas_with_offscreen_context); r=jdm
<!-- Please describe your changes on the following line: -->

Changes necessary to build servor with webrender 0.10.0

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

<!-- 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: e1eff691f8a1d8c9c7ab33344364f0419626b80e
2016-11-24 12:29:52 -08:00
Ms2ger f15dfb6ad6 servo: Merge #14360 - Remove the legacy networking stack (from servo:fetch); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 1321c0704dead3421221cb7581fa261a82603f87
2016-11-24 03:20:05 -08:00
Xidorn Quan b6124e6d1e servo: Merge #14330 - Implement access to CSSStyleRule for stylo (from upsuper:bug1307357); r=heycam
<!-- Please describe your changes on the following line: -->
This is the servo part of [bug 1307357](https://bugzilla.mozilla.org/show_bug.cgi?id=1307357) which has been reviewed by @heycam, @Manishearth and @SimonSapin.

r? @heycam

(`./mach test-tidy` reports several issues on bindings.rs... which I don't think is introduced by my patch... so I have no idea what to do here...)

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

<!-- 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: c8e39dcdf6fbdc36bed42d3f0d46ad78133d83cf
2016-11-23 15:47:18 -08:00
zakorgyula 6c022d1d31 servo: Merge #14277 - serviceData and manufacturerData support (from szeged:service-and-manufacturer-data); r=jdm
<!-- Please describe your changes on the following line: -->
Allow requesting for BluetoothDevices with service and manufacturer specific data.

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

<!-- 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: 5946f756d788a5ce9c8f6447b4fa04d57daf9076
2016-11-23 01:25:39 -08:00
Simon Sapin ce87984b66 servo: Merge #14320 - Update to selectors 0.15 (from servo:selectorsup); 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
- [ ] 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: f37fc5ea5ef3335ebc0a754dce93872dd5fd85a1
2016-11-22 10:44:03 -06:00
Simon Sapin 174dbcace7 servo: Merge #14232 - CSSOM: Make Stylesheet fields have their own synchronization (from servo:moar-locks); r=upsuper
<!-- Please describe your changes on the following line: -->

r? @upsuper

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

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 30867001d17222cc5d0b18086dca9f5d9bcb3934
2016-11-21 19:33:57 -06:00
Lars Bergstrom 0004781b1f servo: Merge #14280 - Move build.rs along with the other Servo files from components to ports (from larsbergstrom:fix_fake_ld); r=Ms2ger
<!-- Please describe your changes on the following line: -->
r? @Ms2ger

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

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

--HG--
rename : servo/components/servo/build.rs => servo/ports/servo/build.rs
2016-11-21 09:20:51 -06:00
Cameron McCormack 2b1a7dd8de servo: Merge #14273 - ensure RuleNodes are dropped when Gecko drops the Stylist (from heycam:rule-tree-stylo); r=bholley,emilio
<!-- Please describe your changes on the following line: -->

These are the Servo-side patches from https://bugzilla.mozilla.org/show_bug.cgi?id=1318238, which already have been reviewed by @bholley and @emilio there.

Source-Repo: https://github.com/servo/servo
Source-Revision: 385e59e0f124d02b36a66e4d4a4a073a6612a20b
2016-11-21 08:16:36 -06:00
Simon Sapin c839f3f401 servo: Merge #14294 - Rename a few source files (from servo:renames); r=Wafflespeanut
<!-- Please describe your changes on the following line: -->

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

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

--HG--
rename : servo/components/style/gecko/selector_impl.rs => servo/components/style/gecko/selector_parser.rs
rename : servo/components/style/selector_impl.rs => servo/components/style/selector_parser.rs
rename : servo/components/style/servo/selector_impl.rs => servo/components/style/servo/selector_parser.rs
rename : servo/components/style/selector_matching.rs => servo/components/style/stylist.rs
rename : servo/tests/unit/style/selector_matching.rs => servo/tests/unit/style/stylist.rs
2016-11-20 09:21:52 -06:00
Anthony Ramine 459154f707 servo: Merge #14284 - Use FnvHasher in http_loader::load (from nox:fnv); r=Wafflespeanut
Should help with #11100.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7e34f4cb5b691dad5fc9c87aaaabafaaf368c1c3
2016-11-19 19:18:10 -06:00
Matt Brubeck 8096a3bda4 servo: Merge #14281 - Run cargo doc in the ports/servo directory (from mbrubeck:mach-doc-fix); r=Manishearth
Running it in components/servo isn't guaranteed to work because there's no Cargo.lock checked in there.  Followup to #14254.

Source-Repo: https://github.com/servo/servo
Source-Revision: 73cbe61d563c0f5031518ef72e2492ac12f327f9
2016-11-19 15:01:40 -06:00
Anthony Ramine 8a038217cb servo: Merge #14250 - Make ServoParser::pending_input hold onto a BufferQueue (from nox:write); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: fdcf510ac89d728081969b703f9b0b418554e592
2016-11-18 19:46:15 -06:00
Emilio Cobos Álvarez 9747761479 servo: Merge #14246 - Urlmageddon (from emilio:servo-url); r=SimonSapin
<!-- Please describe your changes on the following line: -->

Still needs a bunch of code in net to be converted in order to get more
advantage of this for images and stuff, but meanwhile this should help quite a
bit with #13778.

Still wanted to get this in.

r? @SimonSapin

Source-Repo: https://github.com/servo/servo
Source-Revision: 22aebdf5d41a3509cd6515ccf5edcdf33715a76d
2016-11-17 15:34:47 -06:00
Emilio Cobos Álvarez 88b441ebe0 servo: Merge #14245 - Update rust-cssparser for speed improvements when tokenizing strings and data uris (from emilio:cssparser); r=nox
<!-- Please describe your changes on the following line: -->

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

r? @SimonSapin (or anyone else really).

Source-Repo: https://github.com/servo/servo
Source-Revision: 843a25f9f4adf354d5291cb43ccf0f6e7c866b82
2016-11-17 05:20:54 -06:00
Ms2ger a6bff37da4 servo: Merge #14172 - Move the servo binary to ports (from servo:ports); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: f14e7339b5ff95fce0127dce4fe87ce082ab7259

--HG--
rename : servo/components/servo/.cargo/config => servo/ports/servo/.cargo/config
rename : servo/components/servo/Cargo.lock => servo/ports/servo/Cargo.lock
rename : servo/components/servo/fake-ld.cmd => servo/ports/servo/fake-ld.cmd
rename : servo/components/servo/fake-ld.sh => servo/ports/servo/fake-ld.sh
rename : servo/components/servo/main.rs => servo/ports/servo/main.rs
rename : servo/components/servo/platform/macos/Info.plist => servo/ports/servo/platform/macos/Info.plist
rename : servo/components/servo/platform/macos/mod.rs => servo/ports/servo/platform/macos/mod.rs
2016-11-16 16:40:18 -06:00
Manish Goregaokar d8a79aa1af servo: Merge #14190 - Immutable CSSOM (from Manishearth:cssom); r=SimonSapin
This PR is intended to add basic support for all CSSOM interfaces, with the ability to index `document.styleSheets` and css rule lists, and serializing individual css rules. Handling individual interface methods for CSSRule subclasses can probably be done with easy/medium bugs.

Mutation safety isn't dealt with here; if the css rule list is mutated the CSSOM will be in an inconsistent state. I intend to deal with this via zero sized tokens, see https://groups.google.com/forum/#!topic/mozilla.dev.servo/AnxJoVmtMXQ .  I'll handle that when I start making the CSSOM mutable. (Getting the immutable bit landed first opens this up for easy bugs)

This doesn't really change style aside from adding an extra arc in the CSS rule list as discussed in the linked thread. So far this same design can be used by stylo as well when the time comes.

f? @SimonSapin @emilio

cc @upsuper

part of #11420
Todo:

 - [x] Stubs for rest of the CSSRule subclasses
 - [x] <s>ToCSS impls for CSSRules.</s> May make into easy bugs and stub out in this PR https://github.com/servo/servo/issues/14195
 - [x] Cache CSSStyleSheet on the relevant node

Source-Repo: https://github.com/servo/servo
Source-Revision: afc60bee2809059b8b754a1c6d6d10c1d36326fb
2016-11-16 15:05:59 -06:00
Martin Robinson 409ffb2179 servo: Merge #14200 - Deal with changes to the WebRender API (from mrobinson:display-list); r=<try>
<!-- 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 they should not change behavior.

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

The WebRender display list is now similar to the Servo display list,
which simplifies the conversion.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3fdce3942915e2ef461280d4908641580473ad94
2016-11-16 04:47:34 -06:00
Josh Matthews 98f874ab6f servo: Merge #14165 - Supress panics for ProfilerChan sends (from servo:jdm-patch-1); r=nox
This should address #14161.

Source-Repo: https://github.com/servo/servo
Source-Revision: 65dd6d43409228e259153463fe24922c51172bc5
2016-11-14 16:12:34 -06:00
Emilio Cobos Álvarez fbd6dc3fd6 servo: Merge #13641 - Use rayon to drive parallel layout and styling (from emilio:rayon-style); r=pcwalton
<!-- Please describe your changes on the following line: -->

The current work queue had a really annoying constraint: The size of the node had to be the size of the work unit data.

This makes it impractical for the new restyling model where we plan to pass down a bunch of data.

Rayon by default makes you wait for the result of the work unit, which makes it impractical for the current model (it's mostly sequential).

I added an API to rayon that allows us to push work to the queue without waiting (https://github.com/nikomatsakis/rayon/pull/103).

This still needs some work (for example, we're loosing the memory reporting functionality), but I wanted feedback on this.

---

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

<!-- 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: 9467fbe26d25dfc633d5ab8973fe459d14eff9dc
2016-11-14 14:47:21 -06:00
Emilio Cobos Álvarez f6b347dc05 servo: Merge #14174 - style: Refactor and add infrastructure for font metrics in style (from emilio:font-provider); 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

<!-- Either: -->
- [x] These changes do not require tests because moves stuff around without adding functionality.

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

This commit itself only moves things around and adds an extra parameter to the
`apply_declarations` function to eventually handle #14079 correctly.

Probably needs a more granular API to query fonts, á la nsFontMetrics, but
that's trivial to do once this is landed.

Then we should make the font provider mandatory, and implement the missing stylo
bits.

Source-Repo: https://github.com/servo/servo
Source-Revision: 57c4db7c670f34fffbee0c179077e8afdadf09f8
2016-11-13 04:55:02 -06:00
Andreas Tolfsen 6299430ecc servo: Merge #14185 - Upgrade webdriver to version 0.15 (from andreastt:webdriver-0.15); r=jdm
<!-- Please describe your changes on the following line: -->

Upgrade webdriver crate dependency to 0.15.

---
<!-- 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 _dependency 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: 9fd6f0acd50343f5c9bf3be28d9e0a6d5abf40d6
2016-11-12 14:15:54 -06:00
Vladimir Vukicevic 36ce09d535 servo: Merge #14177 - Update dwrote-rs to pick up non-en-us language fix (from vvuk:dwfix); r=emilio
Update dwrote-rs to not panic on non-en-US locales

Source-Repo: https://github.com/servo/servo
Source-Revision: 32991370a1a01d1038aa819586fe7aa84c524b47
2016-11-12 13:19:24 -06:00
Vladimir Vukicevic 57fb13cb5d servo: Merge #14153 - Add support for DirectWrite font rendering on Windows (from vvuk:win32-dwrite); r=glennw
<!-- Please describe your changes on the following line: -->
This PR adds support for DirectWrite text rendering using a thin wrapper for dwrite, as well as similar functionality added to WebRender.  In doing so it removes the FreeType dep from the Windows build.

There is still work to be done here, but this is a good starting point for future cleanup and fixes.

---
<!-- 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
- [X] These changes fix #13371 (github issue number if applicable).

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

<!-- 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: 796fae4bbe966a4e6e32b01fa44f6123c7162992

--HG--
rename : servo/components/style/servo/mod.rs => servo/resources/shaders/cs_text_run.glsl
rename : servo/resources/shaders/ps_clear.fs.glsl => servo/resources/shaders/ps_cache_image.fs.glsl
rename : servo/resources/shaders/ps_clear.glsl => servo/resources/shaders/ps_cache_image.glsl
2016-11-10 16:55:17 -06:00
Anthony Ramine f860b9b6c4 servo: Merge #14164 - Update html5ever to 0.10.1 (from nox:write); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 990884be20a4f3e2785280ac3fc7d7e68ecf1b00
2016-11-10 13:51:37 -06:00
Matt Brubeck b7a0b94d2d servo: Merge #14142 - Bug 1292275 - Stylo: Fix crash after failed stylesheet load (from mbrubeck:bug-1292275); r=heycam
This is the Servo part of [bug 1292275](https://bugzilla.mozilla.org/show_bug.cgi?id=1292275), already reviewed there by @heycam.

Source-Repo: https://github.com/servo/servo
Source-Revision: 86a56822470af14c184a2d3cc8f58d3633c9d28a
2016-11-10 12:56:48 -06:00
Emilio Cobos Álvarez 9a550ec1c4 servo: Merge #13791 - Centralize construction of specified url() values in style (from emilio:lazy-url); r=SimonSapin
This reduces a decent amount of overhead in #13778.

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 164e956944db0d1d873d2f6eeb9eb59e3f46dc5f
2016-11-10 08:28:39 -06:00
Glenn Watson 207a746daa servo: Merge #14145 - Update WR - stride support, remove deprecated / unused shaders (from glennw:update-wr-remove-shaders); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 99f125721017e0f46a5b01b8771245395b7cb880
2016-11-09 04:50:45 -06:00
Attila Dusnoki 2190c013f5 servo: Merge #13909 - Webbluetooth Async behaviour (from dati91:promise-queue); r=jdm
<!-- Please describe your changes on the following line: -->

Note: depends on https://github.com/servo/servo/pull/13612

The current WBT communication is synchronous. With this, it should work properly (except the disconnect function, which will need some more work, because the current implementation differ from the spec).

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

<!-- 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: 1153ca9841f458daf373471f3c65295abd872271
2016-11-08 09:05:12 -06:00
Glenn Watson 7d3399c8b2 servo: Merge #14122 - Update WR and shaders (initial subpixel AA work) (from glennw:update-wr-subpx); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 8122d2c9daef4adaf2287d155502bf279cfd1d5a
2016-11-08 08:10:19 -06:00
Martin Robinson b0c848f946 servo: Merge #14084 - Don't promote all scrollable regions to stacking contexts (from mrobinson:scroll_root_2); r=glennw
<!-- Please describe your changes on the following line: -->

Don't promote all scrollable regions to stacking contexts

Instead annotate all flows with their owning ScrollRoots. When
processing the display list items into a flattened display list, we add
PushScrollRoot and PopScrollRoot to signal when scrolling regions start
and end. It is possible for content from different scrolling regions to
intersect and when they do, the stack of scrolling regions is
duplicated.  When these duplicated scrolling regions stacks reach
WebRender, it will scroll them in tandem.

The PushScrollRoot and PopScrollRoot items are currently represented as
StackingContexts in WebRender, but eventually these will be replaced
with special WebRender display items.

---
<!-- 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 #13529 and #13298. (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: ef5ca14283f1f47654093b5c196ab813efb53ea8
2016-11-07 18:49:53 -06:00
Eddy Bruel 8ccd0522b4 servo: Merge #14110 - Replace rust-websocket with ws-rs in the debugger server (from servo:ejpbruel-ws); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 04e2af0b222de22782c29eb0a20622e5717cd574
2016-11-07 12:47:58 -06:00
zakorgyula 154504b9f2 servo: Merge #13918 - WebBluetooth fixes for the wpt tests (from szeged:wpt-error-fixes); r=jdm
<!-- Please describe your changes on the following line: -->

Note: depends on #13612
WebBluetooth fixes for the failing wpt tests, excluding the `disconnect-during` tests cases, due to the lack of the event handling in the current implementation.
---

<!-- 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] 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: eb2484f86dd57c95957b417ac0dd249ea86df06b

--HG--
rename : servo/components/script/bluetooth_blacklist.rs => servo/components/bluetooth_traits/blacklist.rs
2016-11-07 09:50:13 -06:00
gurudarshan266 6efb224e77 servo: Merge #14059 - Network Security : Implement StrictOrigin and StrictOriginWhenCrossOr… (from mrnayak:refPolicy); r=nox
This pull request contains commit implementing initial steps for Improving Network Security project. As part of initial steps referer policy enums for strict-origin and strict-origin-when-cross-origin have been added to [hyper](https://github.com/hyperium/hyper/pull/943). Unit tests and additional logic has been added to handle these policies. Since enum changes are available on hyper version 0.9.11. We had to update hyper version to 0.9.11.

Hyper 0.9.11 depends on num_cpus 1.1.0. To avoid different version of num_cpus. We have updated rayon version from 0.4.0 to 0.4.3. Cargo.toml of util, style, geckolib, stylo component has been updated to use num_cpus version 1.1.0 instead of 0.2.2.

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

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

…igin

Referer policy strict-origin and strict-origin-when-cross-origin changes have been implemented. Relevant unit test cases have been added. Enum for RefererPolicy has been added to hyper codebase and v 0.9.11 of hyper contains these changes.

This commit also contains changes related to upgrade of hyper from v0.9.10 to v0.9.11. Other dependencies changed are rayon, utils, num_cpus.

Source-Repo: https://github.com/servo/servo
Source-Revision: dd34b2a3355dc7fa23d118888359d70f8b445db8
2016-11-07 04:37:35 -06:00
Shing Lyu b988a636be servo: Merge #13740 - Migrated -Z trace-layout to serde_json (from shinglyu:layout_serde); r=jdm
<!-- Please describe your changes on the following line: -->

Migrated the trace-layout code from old `rustc-serialize` to `serde_json`. This will help us iterate faster on the layout viewer (#13432), #13436, #12675 and fix #12936.
---

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it's a relatively low risk debug tool

<!-- 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: 1c26f44cbb23e7da3b9d63f0223c8d5d43eec958
2016-11-07 02:15:03 -06:00
Ravi Shankar fec4250721 servo: Merge #14089 - Make use of Servo-specific ToCss everywhere! (from Wafflespeanut:tocss); r=SimonSapin
<!-- Please describe your changes on the following line: -->

This will allow types to be generic over our local `ToCss`

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

<!-- Either: -->
- [x] These changes do not require tests because it's a 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: f48b3fe2197a59b29bc711fb1b5496cbb97bd330
2016-11-06 23:26:08 -06:00
Glenn Watson 2636ac4d46 servo: Merge #14102 - Update core-graphics (from glennw:update-cg); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 47d32b7586f9cbdda100a4b0e0f6d56109f53ac3
2016-11-06 22:31:38 -06:00
Simon Sapin 9c206a6cf3 servo: Merge #13202 - Rule tree, v1 (from emilio:rule-tree); r=SimonSapin,Manishearth,emilio
<!-- Please describe your changes on the following line: -->
---

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

<!-- Either: -->
- [x] 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 patch introduces infrastructure for the rule tree, and constructs it.

We don't use it yet, nor have good heuristics for GC'ing it, but this should not
happen anymore once we store the rule node reference in the node.

I haven't messed up with memory orders because I want to do a try run with it,
then mess with them.

Source-Repo: https://github.com/servo/servo
Source-Revision: ac0475971bb24a63ca5d36d1d17e3036ddb99049
2016-11-05 17:11:24 -05:00
Ms2ger 50df78169c servo: Merge #14060 - Remove the direct azure dependencies from gfx, layout and layout_thread (from servo:gfx-azure); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: f7875dad1a43792ff3869f292990d03d30ebd9eb
2016-11-05 07:26:30 -05:00
Simon Sapin 8433acf585 servo: Merge #14054 - Fix unreachable_code warning (from servo:unreachable_code); 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
- [ ] These changes fix #__ (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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 7c6793fc28423e518a0ceaae1176048fcb2caa3a
2016-11-04 08:44:48 -05:00
zakorgyula b15c7b02f2 servo: Merge #13612 - WebBluetooth Test API and tests (from szeged:test-api-impl); r=jdm
<!-- Please describe your changes on the following line: -->

This patch depends on the [devices mock device support PR](https://github.com/servo/devices/pull/17).
After it lands, the Cargo files can be updated.
1. Adjust to the changes in [devices mock device support PR](https://github.com/servo/devices/pull/17).
2. WebBluetooth Test API implementation. Based on : https://webbluetoothcg.github.io/web-bluetooth/tests.html
3. Wpt tests for the already landed WebBluetooth functions.

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

<!-- 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: dae007fd1634bcf1545e67abaa7746fa95f10e94
2016-11-04 07:44:42 -05:00
Corey Farwell dae55a7be9 servo: Merge #14036 - A couple improvements to `EventTarget` event firing (from frewsxcv:event); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 73c9847ef81e838c970e44c1645209134fddd32e
2016-11-04 06:43:56 -05:00
Glenn Watson 388552ec0a servo: Merge #14057 - Update WR, add some key mappings, bind Ctrl-F12 to WR profiler (from glennw:update-wr-keys); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 651e40f33eff08f836b76024b77bddc77089490c
2016-11-04 03:11:32 -05:00
Xidorn Quan ecea052b04 servo: Merge #14038 - Add Element.style support for stylo (from upsuper:bug1294299); r=heycam
<!-- Please describe your changes on the following line: -->
This is the Servo side change of [bug 1294299](https://bugzilla.mozilla.org/show_bug.cgi?id=1294299) which has been reviewed by @heycam, @emilio, and @SimonSapin.

This should not be merged until the Gecko side change gets merged into mozilla-central.

r? @heycam

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

<!-- 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: 23905037728e6eb434808f2fa6e2af5db9191688
2016-11-03 23:42:06 -05:00
Ms2ger e9fc4b5a3f servo: Merge #14044 - Split the bluetooth code out from the net crates (from servo:bluetooth); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 738f0eb97428f6b24c26df7e64a8328e0575b05c

--HG--
rename : servo/components/net/bluetooth_thread.rs => servo/components/bluetooth/lib.rs
rename : servo/components/net_traits/bluetooth_thread.rs => servo/components/bluetooth_traits/lib.rs
rename : servo/components/net_traits/bluetooth_scanfilter.rs => servo/components/bluetooth_traits/scanfilter.rs
2016-11-03 15:04:43 -05:00
Simon Sapin 7cb2f9a2dc servo: Merge #14043 - Update to string-cache 0.3 (from servo:string-cache-up); r=nox
Previously, `string-cache` defined:
*  An string-like `Atom` type,
* An `atom!("foo")` macro that expands to a value of that type, for a set of strings known at compile-time,
* A `struct Namespace(Atom);` type
* A `ns!(html)` macro that maps known prefixed to `Namespace` values with the corresponding namespace URL.

Adding a string to the static set required making a change to the `string-cache` crate.

With 0.3, the `Atom` type is now generic, with a type parameter that provides a set of static strings. We can have multiple such sets, defined in different crates. The `string_cache_codegen` crate, to be used in build scripts, generates code that defines such a set, a new atom type (a type alias for `Atom<_>` with the type parameter set), and an `atom!`-like macro.

The html5ever repository has a new `html5ever_atoms` crate that defines three such types: `Prefix`, `Namespace`, and `LocalName` (with respective `namespace_prefix!`, `namespace_url!`, and `local_name!` macros). It also defines the `ns!` macro like before.

This repository has a new `servo_atoms` crate in `components/atoms` that, for now, defines a single `Atom` type (and `atom!`) macro. (`servo_atoms::Atom` is defined as something like `type Atom = string_cache::Atom<ServoStaticStringSet>;`, so overall there’s now two types named `Atom`.)

In this PR, `servo_atoms::Atom` is used for everything else that was `string_cache::Atom` before. But more atom types can be defined as needed. Two reasons to do this are to auto-generate the set of static strings (I’m planning to do this for CSS property names, which is the motivation for this change), or to have the type system help us avoid mix up unrelated things (this is why we had a `Namespace` type ever before this change).

Introducing new types helped me find a bug: when creating a new attribute `dom::Element::set_style_attr`, would pass `Some(atom!("style"))` instead of `None` (now `Option<html5ever_atoms::Prefix>` instead of `Option<string_cache::Atom>`) to the `prefix` argument of `Attr::new`. I suppose the author of that code confused it with the `local_name` argument.

---

Note that Stylo is not affected by any of this. The `gecko_string_cache` module is unchanged, with a single `Atom` type. The `style` crate conditionally compiles `Prefix` and `LocalName` re-exports for that are both `gecko_string_cache::Atom` on stylo.

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

<!-- 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: 5b4cc9568dbd5c15e5d2fbc62719172f11566ffa
2016-11-03 11:19:44 -05:00
Anthony Ramine 37268726b4 servo: Merge #13813 - Update html5ever to 0.8 (from nox:h5e); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 9fcc9d9d3f59428bf19f950bd79ab257d59e3d16
2016-11-03 07:20:24 -05:00
Anthony Ramine 6b2b23c586 servo: Merge #14040 - Remove last use of custom derive plugin (from nox:custom-derive); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: e3493cdd26f6faab0ddf6503ad19f0af169ad880
2016-11-03 06:15:25 -05:00
Anthony Ramine ec72f1395e servo: Merge #14028 - Update Rust to 1.14.0-nightly (7c69b0d5a 2016-11-01) (from servo:rustup); r=nox,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
- [ ] These changes fix #__ (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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: c6e15f8ef244a0f3859489ca7f1c7bcc80181468
2016-11-02 21:49:08 -05:00
Glenn Watson a82b787034 servo: Merge #14015 - Update webrender, rust-freetype, servo-freetype-sys (from glennw:update-ft-rft-wr); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 70641a777ad4d0d566857aa01983a46a43724699
2016-11-02 20:19:00 -05:00
Jack Moffitt 2f97a7cbc3 servo: Merge #13453 - Implement matchMedia and MediaQueryList (from metajack:media-query-list); r=jdm
<!-- Please describe your changes on the following line: -->
---

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

Fixes #13376.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6ef46ab9e4ec08d5f5226d41f0cac77c3584bae9
2016-11-02 14:51:12 -05:00
Ms2ger 6893308344 servo: Merge #13961 - Move remaining users of the legacy networking stack to fetch (from servo:sync-fetch); r=jdm
Fixes #13931.
Fixes #13714.

Source-Repo: https://github.com/servo/servo
Source-Revision: 56f4a691dbe3f885b029b7a76924f6018f0894af
2016-11-02 10:59:18 -05:00
Ms2ger 03c745d925 servo: Merge #14021 - Remove the unused dependency on azure from gfx_traits (from servo:gfx-traits-azure); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: cff0f01c7076529178f355597e4981cc3fdc9136
2016-11-02 08:58:43 -05:00
Ms2ger 006da29587 servo: Merge #14022 - Update js (from servo:update-js); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 25e3ae6915bce0446a4bd1b1b89b2f0faaef2e02
2016-11-02 07:29:44 -05:00
Xidorn Quan c9dd8223d4 servo: Merge #14008 - Make style::context use parking_lot::RwLock (from upsuper:rwlock); r=SimonSapin
<!-- Please describe your changes on the following line: -->
The main motivation is to use `parking_lot::RwLock` instead of `sync::RwLock` in `style::context`, so that we can make `Stylesheet` be hold in a `parking_lot::RwLock` like other structs used for geckolib.

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
- [ ] These changes fix #__ (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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 1192aaa14d85f8be2f1ec6a1195755bc308f41ed
2016-11-01 18:26:20 -05:00
Glenn Watson 153e88778c servo: Merge #14007 - Update WR - fixes for local clip rect + 3d transformed content (from glennw:update-wr-3d-text); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: c69c6cf58bb31de36af98d4b84dfdec2724d5b5b
2016-10-31 18:11:37 -05:00
Ms2ger 317147ab53 servo: Merge #14004 - Various gfx cleanup (from servo:gfx); r=glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 1a213bf22d48fc3cf8882f609e3aa7fe8ba2f60a
2016-10-31 14:58:03 -05:00
Glenn Watson 6a43d7d27a servo: Merge #13990 - Update WR - text + 3d transform fix, android build fix, documentation (from glennw:update-wr-text-fix); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: cecfea071442de4dc64206225747c897d4a619e5
2016-10-31 03:34:43 -05:00
Martin Robinson 9a67ba798b servo: Merge #13957 - Track overflow:scroll stacking contexts with ScrollRootId instead of StackingContextId (from mrobinson:scroll_root); r=glennw
<!-- 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 this PR should not change behavior.

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

--HG--
rename : servo/resources/shaders/box_shadow.fs.glsl => servo/resources/shaders/cs_box_shadow.fs.glsl
rename : servo/resources/shaders/ps_box_shadow.glsl => servo/resources/shaders/cs_box_shadow.glsl
2016-10-30 15:27:56 -05:00
Emilio Cobos Álvarez fb7cb15614 servo: Merge #13983 - glutin: Close the window if the event stream is closed (from emilio:event); r=notriddle
Otherwise we can end up infinitely spinning for no good reason.

This happened today to me. Obviously the underlying situation is also buggy, but this seemed like a more sane behavior compared to infinitely spin waiting for a never-arriving event.

r? @glennw

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 7e96f87565d3e06de977a2cc14034d434aded27f
2016-10-29 23:18:44 -05:00
Fabrice Desré c3675a5d4b servo: Merge #13935 - Switch glutin to use the crates.io version of osmesa-sys to remove a duplicate (from fabricedesre:duplicate-osmesa-sys); r=emilio
<!-- Please describe your changes on the following line: -->
This removes the use of a git reference to osmesa-sys in glutin, to use the crates.io one with the same version that is already used in servo:
fabrice@fabrice-ThinkPad-X260:~/dev/servo/components/servo$ cargo tree -i -p osmesa-sys
error: There are multiple `osmesa-sys` packages in your project, and the specification `osmesa-sys` is ambiguous.
Please re-run this command with `-p <spec>` where `<spec>` is one of the following:
  https://github.com/daggerbot/osmesa-rs#osmesa-sys:0.1.2
  https://github.com/rust-lang/crates.io-index#osmesa-sys:0.1.2

---
<!-- 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 this is building the same code from a different source.

<!-- 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: 1e7434f05c0ab895ce5571da163234868545ceda
2016-10-29 20:43:54 -05:00
Bobby Holley 91213da5fc servo: Merge #13956 - incremental restyle: Hoist most styling functionality from TNode to TElement (from bholley:more_telement); r=emilio
This is a continuation of the work in #13951. I'm separating it out into a separate PR since the aforementioned patch has a green try run and this one doesn't yet.

Source-Repo: https://github.com/servo/servo
Source-Revision: b611e5c3b219e8f6aa9a7937aa7f5ea552762cd4
2016-10-29 17:14:10 -05:00
Mátyás Mustoha 04c779bf87 servo: Merge #13967 - Update gleam to 0.2.24 (from mmatyas:gleam_update); r=larsbergstrom
Update `gleam` to pick up servo/gleam#93.

Part of #13154

---

- [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: 2ab26185c36095aeb49f0fdb3ed57b9a9e2f9a76
2016-10-28 17:23:58 -05:00
Simon Sapin 2ba2d3f7cb servo: Merge #13960 - Update to selectors 0.14 (from servo:selectorsup); 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
- [ ] These changes fix #__ (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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 09d4ba25a79cc5f9a3953897606f2a45a9d2896b
2016-10-28 09:27:28 -05:00
Jesse Kipp c0dec3c05f servo: Merge #13914 - 13894 Use graphenes in text-emphasis-style (from TooManyBees:13894-use-graphemes); r=emilio
<!-- Please describe your changes on the following line: -->
Use `unicode_segmentation` crate to truncate strings on grapheme boundaries.

---
<!-- 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 #13894 (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: b4a882f81ab9d8128166a49f0514a398ad7a3b7d
2016-10-27 15:58:17 -05:00
Anthony Ramine ae68a2636c servo: Merge #13949 - Update Rust to 1.14.0-nightly (c59cb71d9 2016-10-26) (from nox:rustup); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 7205d5a657141f9498f385852fbc2328b802c3ec
2016-10-27 13:45:40 -05:00
Patrick Walton dff6bf022d servo: Merge #13870 - layout: Rewrite anonymous table code, simplify and fix table intrinsic width calculation, and improve safety of flexbox code (from pcwalton:anonymous-table-rewrite); r=mbrubeck
Closes #13782.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6b40f97289c4c5a20b539992c3d511b3bf470f28
2016-10-26 20:14:04 -05:00
Bobby Holley aab7b04925 servo: Merge #13913 - incremental restyle: Introduce StylingMode and deprecate explicit dirtiness (from bholley:styling_mode); r=emilio
This is another chunk of work to move us toward the new incremental restyle architecture.

Eventually, we'll make a fine-grained decision at each node about what style to recompute based on the RestyleHint on the node data (along with other things). For now, we use the existence of RestyleData as a coarse-grained approximation of this.

Source-Repo: https://github.com/servo/servo
Source-Revision: c8b6ece97b6eec8ac4e16a7a79a605356279cfb6
2016-10-26 06:36:06 -05:00
Glenn Watson 0291b6ce45 servo: Merge #13927 - Update WR - texture layers, image mask, profiler, optimizations (from glennw:update-wr-texture-layers); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 2b236c20cd4451338aff1121f3cb4c03657d87b1

--HG--
rename : servo/resources/shaders/ps_gradient_clip.fs.glsl => servo/resources/shaders/ps_gradient.fs.glsl
rename : servo/resources/shaders/ps_gradient_clip.glsl => servo/resources/shaders/ps_gradient.glsl
rename : servo/resources/shaders/ps_gradient_clip.vs.glsl => servo/resources/shaders/ps_gradient.vs.glsl
2016-10-26 01:25:57 -05:00
Emilio Cobos Álvarez a6d13c02d5 servo: Merge #13836 - Update mozjs_sys to expose proper locale callbacks (from emilio:js-intl); 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 #13788 (github issue number if applicable).

<!-- Either: -->
- [ ] 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. -->

Fixes #13788

Source-Repo: https://github.com/servo/servo
Source-Revision: c8321edc27ed7125181262e0341e66825951f634
2016-10-25 05:51:03 -05:00
Xidorn Quan 51b0292865 servo: Merge #13911 - Use nsACString to pass string params for bindings (from upsuper:bug1312338); r=Manishearth
Use nsACString to pass string params for bindings

This is the Servo side change of [bug 1312338](https://bugzilla.mozilla.org/show_bug.cgi?id=1312338) which has been reviewed by @Manishearth.

r? @Manishearth

(This should not be merged before the Gecko side code lands in m-c)

Source-Repo: https://github.com/servo/servo
Source-Revision: a9715c1f02ee63d9e96aed620e5289e8ae9cee7b
2016-10-25 04:09:19 -05:00
Glenn Watson a868463cf4 servo: Merge #13900 - Update WR - includes a number of optimizations, bsd build fixes, tidy ups (from glennw:update-wr-more-opts); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 6029c927eef7332a0b0ee9a7c8c7b6c9065e23b2
2016-10-24 20:38:23 -05:00
Mátyás Mustoha ef5ad37fc9 servo: Merge #13907 - Update libfontconfig to 4.0.2 (from mmatyas:update_libfontconfig); r=Ms2ger
<!-- Please describe your changes on the following line: -->
Update libfontconfig to 4.0.2 to pick up servo/libfontconfig#26 and servo/libfontconfig#27.

(This is a fix for servo/servo#13154)

Source-Repo: https://github.com/servo/servo
Source-Revision: f90b256472ef7ad9a730bafbe64fc5dba83bdcdf
2016-10-24 09:59:41 -05:00
Mátyás Mustoha c1c4604a72 servo: Merge #13906 - Update fontsan (from mmatyas:update_fontsan); r=nox
<!-- Please describe your changes on the following line: -->
Update fontsan to pick up servo/fontsan#20.

(This is a fix for servo/servo#13154)

Source-Repo: https://github.com/servo/servo
Source-Revision: ca9d24d87e82ee05c2edf848205dcf94a04096f0
2016-10-24 09:11:18 -05:00
Mátyás Mustoha cdfc2afd44 servo: Merge #13905 - Update heartbeats-simple-sys to v0.3.2 (from mmatyas:update_heartbeats); r=Ms2ger
<!-- Please describe your changes on the following line: -->
Update heartbeats-simple-sys to pick up libheartbeats/heartbeats-simple-sys#17.

(This is a fix for servo/servo#13154)

Source-Repo: https://github.com/servo/servo
Source-Revision: cf0218fe4e672679a1ec1dcf0ca4b3a1a4ea9b8e
2016-10-24 06:44:57 -05:00
Martin Robinson a3190c995f servo: Merge #13873 - Remove stacking context nesting from WebRender display construction (from mrobinson:remove-nesting); r=glennw
<!-- 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 they should not produce any behavior 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: d5e412b3f19fa72687cf3ad246dfb8312b1f2368
2016-10-23 21:48:28 -05:00
Bobby Holley 35dc905f5c servo: Merge #13863 - stylo: Rearrange some data structures in preparation for the new incremental restyle algorithm (from bholley:shuffle_data_structures); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 9cbac40f618a5d87bd883e81a70e233e0ea3a87f
2016-10-21 15:50:48 -05:00
Ms2ger 9e7e1a1f02 servo: Merge #13880 - Move Image and PixelFormat to net_traits (from servo:msg-min); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 6d29bf3f800e45e2907dea6cefa05e90d3a37285
2016-10-21 10:46:39 -05:00
Ms2ger 42fe729822 servo: Merge #13878 - Move LoadData to script_traits (from servo:msg-min); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: e3ebbd0fcdc78901c214d00cd11743a8fcf2d320
2016-10-21 05:50:24 -05:00
Mátyás Mustoha 98b2f1c431 servo: Merge #13857 - Update libc to 0.2.17 (from mmatyas:libc_update); r=larsbergstrom
<!-- Please describe your changes on the following line: -->
Update `libc` to pick up rust-lang/libc#424.

(This is a fix for servo/servo#13154)

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 99ad3678fa6490b83d209fd1648d49f074bb8c16
2016-10-20 17:30:45 -05:00
Glenn Watson ac3830c363 servo: Merge #13843 - Update WR, and copy new shaders (from glennw:update-wr-shaders); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 77dd618e7a7c8c67df94e795a2727fb437ee7f21
2016-10-20 15:47:13 -05:00
Dirkjan Ochtman 32b2bbf9c2 servo: Merge #13831 - Remove util::ipc module (fixes #12312) (from servo:rm-util-ipc); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 7a8734cd1e67a2a1a8edff01faf92fa9a5e19d8d
2016-10-20 13:27:19 -05:00
Xidorn Quan 47fef3aac4 servo: Merge #13809 - Servo side change for bug 1309868 and bug 1309109 (from upsuper:bug1309868-bug1309109); r=heycam
This is the Servo side change for [bug 1309868](https://bugzilla.mozilla.org/show_bug.cgi?id=1309868) and [bug 1309109](https://bugzilla.mozilla.org/show_bug.cgi?id=1309109)

The changes has been reviewed on Bugzilla.

Source-Repo: https://github.com/servo/servo
Source-Revision: d1e218d2f3d5c2cacccc025de838ca1768e6676a
2016-10-18 00:51:14 -05:00
Glenn Watson da2cbe8ea0 servo: Merge #13808 - Update webrender to get clip_shared changes (from glennw:update-wr-clip); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: fe78c346a35ce81cd602d1caf6e0ef188bf339ad

--HG--
rename : servo/resources/shaders/ps_gradient.fs.glsl => servo/resources/shaders/ps_gradient_clip.fs.glsl
rename : servo/resources/shaders/ps_gradient.glsl => servo/resources/shaders/ps_gradient_clip.glsl
2016-10-17 22:21:58 -05:00
Glenn Watson 5d056c5039 servo: Merge #13711 - Remove old rendering backend (from glennw:remove-old-renderer); r=larsbergstrom
This removes paint threads, rust-layers dependency, and changes
optional webrender types to be required.

The use_webrender option has been removed, however I've left
the "-w" command line option in place for now so that wpt
runner can continue to pass that. Once it's removed from there
we can also remove the -w option.

Once this stage is complete, it should be fine to change the
display list building code to generate webrender display
lists directly and avoid the conversion step.

Source-Repo: https://github.com/servo/servo
Source-Revision: f96718d03da969510dc992699cb6f25c2e21ae1e
2016-10-17 19:22:20 -05:00
Glenn Watson 8eff198b23 servo: Merge #13624 - Update osmesa-src to get build fix for old ubuntu machines (from glennw:update-osmesa); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: d2518affa9930f26e454bd7636ca004ae178a052
2016-10-17 13:29:50 -05:00
Anthony Ramine d4c348ba7c servo: Merge #13801 - Bump html5ever to 0.5.5 (from nox:h5e); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: cbe2f7e53b0f44673f7bb26e6ff114b87b431419
2016-10-17 12:33:36 -05:00
Bobby Holley 7e65bac06c servo: Merge #13759 - Implement OwningHandle in style (from bholley:owning_handle); r=SimonSapin
I've also PR-ed this against upstream [1], but I don't want to block on that in case it takes a while to be merged / published.

[1] https://github.com/Kimundi/owning-ref-rs/pull/15

Source-Repo: https://github.com/servo/servo
Source-Revision: 0f4209644cf6708cd6a224057291f8a7380c4a51
2016-10-14 10:42:10 -05:00
Manish Goregaokar 90b3c4bcd6 servo: Merge #13754 - Add sugar for RefPtr<T>; use for `quotes` property (from Manishearth:refptr); r=emilio,mystor
Carry-over from https://bugzilla.mozilla.org/show_bug.cgi?id=1309848

r=mystor,emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 41df7056610e474a9a2efe4c807f480e976d0c1d
2016-10-13 22:31:20 -05:00
Matt Brubeck 21db9d431e servo: Merge #13727 - Fix unused feature warning in build-cef (from mbrubeck:warnings); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 781a0771458de73d2f843377082a6961c38fb66d
2016-10-13 15:14:22 -05:00
Emilio Cobos Álvarez 346c1a1912 servo: Merge #13743 - servo: Update glutin to pick the wayland disabling (from emilio:wayland-not-yet); r=larsbergstrom
<!-- Please describe your changes on the following line: -->

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

<!-- Either: -->
- [x] These changes do not require tests because dependency bump.

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

r? @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 046a8f13abe035a9cf7f251a3c4e8cdbce9ed220
2016-10-13 10:39:58 -05:00
Mátyás Mustoha baf045a53d servo: Merge #13697 - Fix missing `c_void` error when building for Android (from mmatyas:android_cvoid); r=emilio
<!-- Please describe your changes on the following line: -->
Including `c_void` is also required on Android, because of https://github.com/mmatyas/servo/blob/master/ports/glutin/window.rs#L170

(This is a fix for servo/servo#13154)

Source-Repo: https://github.com/servo/servo
Source-Revision: f4cb87a783a85734021bdb14419de1350fbd255b
2016-10-12 12:34:54 -05:00
Matt Brubeck eb5fc0a23e servo: Merge #13706 - Update all ports to serde 0.8.11 (from mbrubeck:always-be-updating); r=nox
This updates CEF and Stylo to the version already used in the Servo build.  Should fix long compile times in the build-cef step in automation.

Source-Repo: https://github.com/servo/servo
Source-Revision: a332e0bb563526f405d346fc463b004dccb7d1a1
2016-10-12 11:42:17 -05:00
Manish Goregaokar 05cfe1b1c7 servo: Merge #13701 - Vendor nsstring bindings, use for text-overflow (from Manishearth:nsstring); r=emilio,mystor
From [bug 1309165](https://bugzilla.mozilla.org/show_bug.cgi?id=1309165)

Source-Repo: https://github.com/servo/servo
Source-Revision: f584003191cc125b181bb8c555d8fae6eccd0e70
2016-10-12 08:28:27 -05:00
Bobby Holley c37f6a192d servo: Merge #13688 - stylo: Use AtomicRefCell for PerDocumentStyleData (from bholley:styleset_refcell); r=Manishearth
Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1309090

Source-Repo: https://github.com/servo/servo
Source-Revision: 3916d1d61305bd27338cac4a9e9f9c110182582b
2016-10-11 12:03:29 -05:00
Bobby Holley 9069afb48d servo: Merge #13686 - Fix warnings and make style and geckolib #![deny(warnings)] (from bholley:fix_warnings); r=Manishearth
Warnings have been piling up in the style system, and making it harder to tell when new warnings are introduced. I think we should tighten up on them.

CC @emilio @Manishearth @SimonSapin @heycam @pcwalton @metajack @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: e597719b73ff4ed58fb6628b6f998cab4058583c
2016-10-11 06:17:44 -05:00
Bobby Holley bdf0d364f9 servo: Merge #13656 - Refactor style logic to avoid direct access to the node data during the cascade (from bholley:existing_style); r=emilio
The new restyle architecture doesn't store these things in consistent places, so we need a more abstract API.

Source-Repo: https://github.com/servo/servo
Source-Revision: abcc4aeaf212fc5fc5f9e15e46feba11e3e9284f
2016-10-10 23:22:05 -05:00
Anthony Ramine d480281b15 servo: Merge #13649 - Update to Rust 1.14.0-nightly (19ac57926 2016-10-08) (from servo:rustup); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 39d3fce1af89bf30e201dcb873d7f2ffe0ad3d42
2016-10-09 20:12:38 -05:00
Brian Birtles 13fe5b429d servo: Merge #13553 - Support creating StyleAnimationValue objects from Servo (from birtles:animvalues); r=Manishearth
These are the servo-side changes for [bug 1302949](https://bugzilla.mozilla.org/show_bug.cgi?id=1302949#c59). @Manishearth has already reviewed them there.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [bug 1302949](https://bugzilla.mozilla.org/show_bug.cgi?id=1302949#c59)
- [X] These changes do not require tests because there are existing tests for this in mozilla-central

Source-Repo: https://github.com/servo/servo
Source-Revision: 804317c8858a096eb99e1ff0baf860dbdfcbb04d
2016-10-09 08:53:28 -05:00
Manish Goregaokar 8e15060578 servo: Merge #13620 - Test that Servo_* functions have the right signatures (from Manishearth:type-assert); r=emilio
Fixes #12992

Needs #13617

Not very happy with this solution (and perhaps it should be done in pure Rust, though that can be split out as another easy bug).

But it works. The bindings changes are from running a regen on [bug 1308234](https://bugzilla.mozilla.org/show_bug.cgi?id=1308234)

r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: a0e404c79e100917d5c7512f500b488fe87c12dc
2016-10-09 03:56:34 -05:00
Glenn Watson 4cdc8e27c7 servo: Merge #13628 - Update webrender (new gpu profiler support) (from glennw:update-wr-profiler); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: ae665db02fcc4066344f7ddcfab0d53768e16657
2016-10-06 21:03:06 -05:00
Lars Bergstrom 14ce40a913 servo: Merge #13623 - Update glutin to pick up Windows CreateWindowExW fix (from larsbergstrom:update_glutin); r=glennw
r? @glennw or @emilio or whomever

Source-Repo: https://github.com/servo/servo
Source-Revision: e5aebfcf73956b190da3b405db9d14022ecf1da6
2016-10-06 18:00:00 -05:00
Glenn Watson 398a51c86f servo: Merge #13592 - Update webrender (text run + transforms fix) (from glennw:update-wr-text-runs); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 8a3af9d1b9fe55a802d6463f6e4a5dbf39a1ecff
2016-10-05 03:41:13 -05:00
Manish Goregaokar 4ac5186489 servo: Merge #13569 - Start simplifying FFI ownership sugar (from Manishearth:simpliffi); r=emilio
This is step one of a series of changes planned to make the ownership sugar easier to use. This was blocked on #13038

*very* unsure about second commit. Don't like the thought of accepting types with destructors over FFI. Probably will revert it. Leaving it in for now in case you have some insight.

Eventually at least for the borrowed stuff I want to use T directly (because the crates are merged now), instead of the fake void types. Perhaps for the others too. I might include those changes in this PR -- was originally planning to but I realized that these steps could be split out.

Tentative plan for `Owned` (assuming it's not removed) is to have `Owned<T> <-> Box<T>` (same `T`, no "FFI type") conversions. We will only use ownership wrapper types for things with destructors, and try to keep the conversion simple. I'm envisioning a couple methods for arc/strong and a few more for box/owned. We may need to introduce new wrapper types for gecko-side managed objects (`RefPtr<T>`, `UniquePtr<T>`) but that should be all the wrapper types we have in the ownership sugar.

This PR relies on the guarantee that `Option<&T>` and `Option<Box<T>>` are pointer-sized via the `NonZero` optimization. I am now less unconvinced that this is a good idea 😉.

r? @emilio

cc @mystor

Source-Repo: https://github.com/servo/servo
Source-Revision: cbc857bb78fdc5e9221ecdec25c82be7172bab36
2016-10-05 00:59:56 -05:00
Glenn Watson 54c431be71 servo: Merge #13567 - Minimal Win32 font platform implementation (from glennw:win-fonts); r=larsbergstrom
This uses a (very simple) Win32 API call to enumerate font
families available, and load them as byte buffers.

The font rasterization itself is done by freetype.

This gets Servo + WR + Windows working, but should be improved
by adding a proper implementation that matches fonts correctly
and also uses DirectWrite (or GDI) to handle font rasterization.

Source-Repo: https://github.com/servo/servo
Source-Revision: eb3333eb2f6dbac75ecf23e84cbb12149b3dc969
2016-10-04 20:06:29 -05:00
Simon Sapin da3297354f servo: Merge #13459 - Use parking_lot::RwLock for PropertyDeclarationBlock (from servo:no-arc-heapsize); r=emilio
<!-- Please describe your changes on the following line: -->

As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1305141

Closes #13176

---

Original PR title: Stop relying on `impl<T: HeapSizeOf> HeapSizeOf for Arc<T>`
https://github.com/servo/heapsize/issues/37#issuecomment-249861171

This builds on top of that.

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

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

--HG--
rename : servo/components/style/domrefcell.rs => servo/components/script/dom/bindings/cell.rs
2016-10-04 11:58:56 -05:00
Imanol Fernandez fa1ea9c973 servo: Merge #13208 - Fix WebGL tests & Implement WebGLRenderingContext::{validateProgram, getProgramInfoLog, disableVertexAttribArray} (from MortimerGoro:programinfolog); r=emilio
<!-- Please describe your changes on the following line: -->
Implement WebGLRenderingContext::{validateProgram, getProgramInfoLog} and improve WebGL testcase to show shader link and validation errors.

---
<!-- 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 #13199 (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: fc251384a76547167c027d69c28deae8c410c626
2016-10-03 16:54:51 -05:00
Bobby Holley 4cf0bc2db4 servo: Merge #13520 - Implement AtomicRefCell and use it for layout/style node data (from bholley:atomic_refcell); r=emilio
See the rationale at https://bugzilla.mozilla.org/show_bug.cgi?id=1305141

Source-Repo: https://github.com/servo/servo
Source-Revision: c93eaca6a3563ea8472b2ac783e9a596528517b8
2016-10-02 21:24:11 -05:00
Emilio Cobos Álvarez d234b05859 servo: Merge #13440 - stylo: Remove a bunch of unneeded ool-calls (from emilio:no-ool); r=bholley
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] These changes do not require tests because stylo

<!-- 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: c4021a6765661335080b05f713d3571a8286ef3a
2016-10-02 10:59:25 -05:00
Patrick Walton a2cdb30f64 servo: Merge #13519 - profile: Integrate the time profiler with the macOS signpost infrastructure (from pcwalton:signpost); r=larsbergstrom
With this change, if you supply the `-Z signpost` flag, Instruments.app
can display Servo events overlaid with callstack data. Even better, you
can get call stack profiling for individual Servo events (one layout,
one network request, one style recalculation, etc.)

This adds a dependency on the `signpost` crate. On unsupported OS's,
this crate is an no-op.

Screenshot: http://i.imgur.com/agLyzOU.png

r? @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 7f84982de2fe8283d1df37d704842e037432087e
2016-10-01 04:18:56 -05:00
Mátyás Mustoha 101472920e servo: Merge #13478 - Use GL ES3 on ARM devices (from mmatyas:arm_gles3); r=jdm
<!-- Please describe your changes on the following line: -->
This makes WebRender work on ARM devices; see servo/webrender#408.

---
<!-- 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] `PKG_CONFIG_ALLOW_CROSS=1 PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig HARFBUZZ_NO_PKG_CONFIG=1 EXPAT_NO_PKG_CONFIG=1 FREETYPE2_NO_PKG_CONFIG=1 FONTCONFIG_NO_PKG_CONFIG=1 CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ ./mach build --dev --target=arm-unknown-linux-gnueabihf` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #10310.

<!-- 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: a559c2035304b03d9662f8c71d0ddc4ad12f800e
2016-09-30 14:49:29 -05:00
Guillaume Gomez 1e6d445451 servo: Merge #13444 - Update mp3-metadata version (from GuillaumeGomez:mp3-metadata-version); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: f99f278848fc60d24e91b37ff98ca64f2df24e0a
2016-09-30 07:45:55 -05:00
Ravi Shankar 7fd7e68d3e servo: Merge #13456 - Silence some warnings in geckolib (from Wafflespeanut:warnings); r=emilio
<!-- Please describe your changes on the following line: -->

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

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

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

We'll be silencing thousands of warnings this way, which would probably help with Travis.

Source-Repo: https://github.com/servo/servo
Source-Revision: 37c8892b87f0656271a760479105e4b6d8a712a3
2016-09-29 22:46:38 -05:00
Glenn Watson 0499dfe2bc servo: Merge #13474 - Switch default renderer to webrender, and update webrender (from glennw:wr-default); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: a082501173918d6a5808881f84556cb78391b9b2
2016-09-28 13:42:14 -05:00
Glenn Watson 85b62f0bcf servo: Merge #13382 - Add OSMesa headless mode, run WPT against Webrender (from glennw:headless); r=larsbergstrom
Add OSMesa headless mode, run WPT against Webrender.

Source-Repo: https://github.com/servo/servo
Source-Revision: c7e1a575a5225ccfb00a38fb50e052d986c0a78d
2016-09-27 21:46:13 -05:00
Manish Goregaokar 30bfdcfd16 servo: Merge #13372 - Merge most of geckolib into style (from Manishearth:merge-stylo); r=emilio
Fixes #13038

r? @emilio

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

--HG--
rename : servo/ports/geckolib/binding_tools/.gitignore => servo/components/style/binding_tools/.gitignore
rename : servo/ports/geckolib/binding_tools/README.md => servo/components/style/binding_tools/README.md
rename : servo/ports/geckolib/binding_tools/regen.py => servo/components/style/binding_tools/regen.py
rename : servo/ports/geckolib/binding_tools/regen.sh => servo/components/style/binding_tools/regen.sh
rename : servo/ports/geckolib/binding_tools/regen_atoms.py => servo/components/style/binding_tools/regen_atoms.py
rename : servo/ports/geckolib/binding_tools/setup_bindgen.sh => servo/components/style/binding_tools/setup_bindgen.sh
rename : servo/ports/geckolib/context.rs => servo/components/style/gecko/context.rs
rename : servo/components/style/gecko_conversions.rs => servo/components/style/gecko/conversions.rs
rename : servo/ports/geckolib/data.rs => servo/components/style/gecko/data.rs
rename : servo/components/style/generated/gecko_pseudo_element_helper.rs => servo/components/style/gecko/generated/gecko_pseudo_element_helper.rs
rename : servo/components/style/gecko_selector_impl.rs => servo/components/style/gecko/selector_impl.rs
rename : servo/ports/geckolib/snapshot.rs => servo/components/style/gecko/snapshot.rs
rename : servo/ports/geckolib/snapshot_helpers.rs => servo/components/style/gecko/snapshot_helpers.rs
rename : servo/ports/geckolib/traversal.rs => servo/components/style/gecko/traversal.rs
rename : servo/components/style/gecko_values.rs => servo/components/style/gecko/values.rs
rename : servo/ports/geckolib/wrapper.rs => servo/components/style/gecko/wrapper.rs
rename : servo/ports/geckolib/gecko_bindings/bindings.rs => servo/components/style/gecko_bindings/bindings.rs
rename : servo/ports/geckolib/gecko_bindings/lib.rs => servo/components/style/gecko_bindings/mod.rs
rename : servo/ports/geckolib/gecko_bindings/ptr.rs => servo/components/style/gecko_bindings/ptr.rs
rename : servo/ports/geckolib/gecko_bindings/structs_debug.rs => servo/components/style/gecko_bindings/structs_debug.rs
rename : servo/ports/geckolib/gecko_bindings/structs_release.rs => servo/components/style/gecko_bindings/structs_release.rs
rename : servo/ports/geckolib/gecko_bindings/sugar/mod.rs => servo/components/style/gecko_bindings/sugar/mod.rs
rename : servo/ports/geckolib/gecko_bindings/sugar/ns_css_shadow_array.rs => servo/components/style/gecko_bindings/sugar/ns_css_shadow_array.rs
rename : servo/ports/geckolib/gecko_bindings/sugar/ns_style_auto_array.rs => servo/components/style/gecko_bindings/sugar/ns_style_auto_array.rs
rename : servo/ports/geckolib/gecko_bindings/sugar/ns_style_coord.rs => servo/components/style/gecko_bindings/sugar/ns_style_coord.rs
rename : servo/ports/geckolib/gecko_bindings/sugar/ns_t_array.rs => servo/components/style/gecko_bindings/sugar/ns_t_array.rs
rename : servo/ports/geckolib/gecko_bindings/sugar/ownership.rs => servo/components/style/gecko_bindings/sugar/ownership.rs
rename : servo/ports/geckolib/string_cache/lib.rs => servo/components/style/gecko_string_cache/mod.rs
rename : servo/ports/geckolib/string_cache/namespace.rs => servo/components/style/gecko_string_cache/namespace.rs
2016-09-26 02:36:05 -05:00
Bobby Holley afe25394d8 servo: Merge #13404 - stylo: Manage servo node data directly from Servo (from bholley:manage_node_data); r=Manishearth
Servo-side changes for: https://bugzilla.mozilla.org/show_bug.cgi?id=1304913

Source-Repo: https://github.com/servo/servo
Source-Revision: 0dd005eacc975ed1e7781ce8bdb5175f81a75418
2016-09-24 05:17:29 -05:00
Ms2ger a1fbbacf17 servo: Merge #13389 - Update js (from servo:js); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 16323207228e0e15415ee52fbce4accc83c4ac91
2016-09-24 02:46:25 -05:00
Anthony Ramine f79db10f7c servo: Merge #13393 - Update dependencies to use libc++ on OS X (from servo:libcxx); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 63b1d1993d69a0a5297698595beeed3b9ae5062b
2016-09-23 16:41:34 -05:00
Cameron McCormack df3a587323 servo: Merge #13370 - Rename GeckoArc macro so it sounds like it's useful for already-threadsafely-refcounted objects (from heycam:gecko-arc); r=Manishearth
<!-- Please describe your changes on the following line: -->

This is just some renaming.  I will want to use this macro with some objects that support thread-safe refcounting, and which thus don't use `nsMainThreadPtrHolder`.  For fun I pushed a stylo try run with this change: https://treeherder.mozilla.org/#/jobs?repo=try&revision=4b6d906b423e

r? @Manishearth

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

<!-- 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: ee3f916b652ad99e5925f574e7fa074dd3be9ad9
2016-09-22 19:15:54 -05:00
Cameron McCormack 9420ede0c1 servo: Merge #13367 - Remove unused Servo_RestyleDocument function (from heycam:rm-restyle-document); r=Manishearth
This is no longer used from Gecko.

r? @Manishearth

---
<!-- 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 it's just geckolib unused code removal

<!-- 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: ca30ad776b1de5dd53d0f729628c28b41a97484d
2016-09-22 16:38:20 -05:00
Ms2ger bdd484fe6e servo: Merge #13374 - Allow improper_ctypes in atom_macro (from servo:improper-atoms); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: c48666a01ad8dfa48d351d631d5545843fa3646e
2016-09-22 14:18:55 -05:00
Anthony Ramine 28dd909bf9 servo: Merge #13351 - Update Cargo and Rust (from servo:rustup); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: b86420d693d411a0d42a07574dbf4b2f867d0e28
2016-09-22 12:10:05 -05:00
Martin Robinson e21db129b2 servo: Merge #13331 - Add support for background-repeat: space and round (from mrobinson:background-repeat); r=emilio
<!-- Please describe your changes on the following line: -->

Add support for new background-repeat modes and upgrade Euclid, which now has support for basic arithmetic with Size2D.

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

This adds support for more background-repeat modes using the legacy
rasterization backend.

Source-Repo: https://github.com/servo/servo
Source-Revision: efdd94a2b629e4ae41d81a4209ad80b89eb6b937
2016-09-22 06:37:10 -05:00
Bobby Holley ddeb986794 servo: Merge #13172 - stylo: avoid traversing non element/text nodes in style and layout (from bholley:display_enum); r=emilio
r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 614e9ca840baacfa427ec78db99258a83b75e135
2016-09-21 19:59:52 -05:00
Emilio Cobos Álvarez 667ffbef83 servo: Merge #13269 - stylo: Use the bindgen rewrite to generate the bindings (from emilio:new-bindgen); 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

<!-- Either: -->
- [x] These changes do not require tests because stylo ci is not there yet.

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

r? @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: ecb44e748b090655bea9d519448c02d290b9e957
2016-09-21 17:46:01 -05:00
Tetsuharu OHZEKI 0db3b1f723 servo: Merge #13349 - Update mozjs_sys to fix the build failure on macOS Sierra (from saneyuki:update-mozjs-to-fix-build-on-sierra); r=Ms2ger
- https://github.com/servo/servo/issues/13348
- This only fixes the failure to compile mozjs_sys. Linking problem with xcode 8 is still opened (https://github.com/servo/servo/issues/11846)

Source-Repo: https://github.com/servo/servo
Source-Revision: 236c687b66ff47f68b4d469db6bc35cdf415fcbf
2016-09-21 06:16:13 -05:00
Glenn Watson 93c1ffc0ec servo: Merge #13309 - webgl: FBO support preparation (from anholt:webgl-fbo-prep); r=emilio
<!-- Please describe your changes on the following line: -->
Sending this PR now so that we can get the webrender patches merged.  This is prep for the webgl-fbo series, with one small fix for some conformance tests.

---
<!-- 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: 7c0dfd07ad5149406b389ca893d51f6fa442e98e
2016-09-20 19:19:21 -05:00
Manish Goregaokar 14fdf1572e servo: Merge #13335 - Add unit test crate for stylo (from Manishearth:stylo-tests); r=emilio
@canaltinova needs this for his mask work -- we need a way to test stylo code (or style code that's conditionally compiled out for gecko)

We can add this to the CI as well.

r? @emilio

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

--HG--
rename : servo/ports/geckolib/sanity_checks.rs => servo/tests/unit/stylo/sanity_checks.rs
2016-09-20 15:47:27 -05:00
Glenn Watson bb807a0860 servo: Merge #13330 - Update webrender (prim cache changes, blend/composite shaders) (from glennw:update-wr-prim-cache); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: f313beee9bf70a73d1b0d06b1e36e67ad9e28deb
2016-09-19 21:47:40 -05:00
Eric Anholt 41a3a25e79 servo: Merge #13324 - Update offscreen_gl_context dependency to get webgl fix (from anholt:webgl-default-texture); 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 #11618

<!-- 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: dc3e11f96e8df0c6faf5f0a173b98e35b8791c89
2016-09-19 16:41:49 -05:00
Ms2ger 6d41b60fcb servo: Merge #13320 - Update js (from servo:js); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 0b0495cff4c0062f1def279c8079ca76c58aef23
2016-09-19 11:37:31 -05:00
Taryn Hill 1315b538e0 servo: Merge #13314 - Update string_cache to 0.2.29 (from Phrohdoh:update-string_cache-to29patch); r=KiChjang
<!-- Please describe your changes on the following line: -->
Update string-cache from 0.2.28 to 0.2.29 which includes `minlength` for #13313.

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

<!-- Either: -->
- [X] These changes do not require tests because this is only adding a single string to string-cache (ref https://github.com/servo/string-cache/pull/172)

<!-- 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: d76091ef0f9b1e4fc1a55db6ecf04f9c50606cb3
2016-09-19 00:44:05 -05:00
Rahul Sharma 0e57304e5b servo: Merge #13292 - Implement ExtendableEvent as base type for ServiceWorker events (from creativcoder:extendable); r=jdm
<!-- Please describe your changes on the following line: -->
r? @jdm

---
<!-- 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] These changes do not require 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: 83f687a7be2d4cdda11f5ec03133c23d6d621e78
2016-09-17 10:33:03 -05:00
Glenn Watson ae3a87fe68 servo: Merge #13288 - Update webrender + shaders (from glennw:update-wr-lazy-shaders-scroll); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 79dda5e8cb82b58a3cea8e6dbd2b6ab805f7b250
2016-09-15 20:23:30 -05:00
Ms2ger e10fd1e459 servo: Merge #13279 - Update js (from servo:sm); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: cce21ad6c72d6f8c28e368b8d59f2a747247b690
2016-09-15 13:41:55 -05:00
Glenn Watson 3b64ccb98d servo: Merge #13273 - Update webrender, gleam and associated shaders (from glennw:update-wr-floats); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: b3db4b4c0dfc41ffbf566da15bd85ebdb7b1ea1f
2016-09-14 19:05:26 -05:00
Eddy Bruel 41df45bd18 servo: Merge #13204 - Implement a WebSocket server for debugging (from ejpbruel:debugger); r=jdm
<!-- Please describe your changes on the following line: -->

This pull request adds a very simple WebSocket server to Servo, that we intend to use for debugging. It currently only echoes back messages, but eventually we want this server to implement the Chrome Debugging Protocol.

---
<!-- 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 this is a prototype.

<!-- 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: f834c893c7cfde631e458564499d85e8895b4482
2016-09-12 10:19:17 -05:00
Ms2ger 6c328fc43f servo: Merge #13230 - Update dependencies (from servo:always-be-updating); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 4e718752f56aafb63d15e6eba5eb66df3efa23b3
2016-09-12 08:18:10 -05:00
Manish Goregaokar ea2c14a409 servo: Merge #13221 - Resync bindings (from Manishearth:resync); r=emilio
New atoms were added.

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: 77651959e2ccab73d6785a67e242d85445e81dfb
2016-09-10 20:18:35 -05:00
Manish Goregaokar aa8df6da90 servo: Merge #13212 - Handle None_ => None enum changes (from Manishearth:resync); r=emilio
Pulls in changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1300337

r? @SimonSapin

don't mark for landing, I'll manually r= this when I do the next sync

Source-Repo: https://github.com/servo/servo
Source-Revision: 5e7d91829782828e1020652e7bc9d16aa7456499
2016-09-10 04:46:37 -05:00
Manish Goregaokar 177a44cc1e servo: Merge #13213 - stylo: Implement mask longhands (from Manishearth:mask); r=heycam
Corresponding gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1300731

r=heycam carries over from https://reviewboard.mozilla.org/r/76908/

Don't merge till that bug lands

Source-Repo: https://github.com/servo/servo
Source-Revision: 0dd0e08de4074af2b032ed08a8e7708e73c2f2bd
2016-09-10 03:34:17 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
Anthony Ramine 1c0d09c584 servo: Merge #13100 - Use Option<T> to return from getters (from nox:better-getters); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 3649a356c8ddd04d3beebff9978b1bffa407c307
2016-08-31 04:10:42 -05:00
Emilio Cobos Álvarez 9c7ac5c04c servo: Merge #13132 - layout: Keep track of whether we've deferred the painting of the document due to a script query (from emilio:deferred-paint); r=pcwalton
<!-- 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 #13131

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

r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: acb47007ba9494c73272494efe9ebd2c05e4c014
2016-08-30 21:05:56 -05:00
Manish Goregaokar fa95923425 servo: Merge #13086 - Add bindings for nsCSSShadowArray, use for text-shadow and box-shadow (from Manishearth:shadowarray); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: fb9c36c8339b302126209061853e6fa26137b9bd
2016-08-30 09:22:49 -05:00
Glenn Watson 52f10058ac servo: Merge #13120 - Update webrender with font size fix (from glennw:update-wr-font-size); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 8695552052074b0aacd764c28d2183f283e7b4fd
2016-08-30 00:36:34 -05:00
Xidorn Quan 92195c9907 servo: Merge #13116 - Avoid LLVM prepending "_" for msvc32 symbols (from upsuper:msvc32-atoms); r=emilio
See rust-lang/rust#36097. This patch adds a workaround to that issue, which makes win32 stylo build.

Source-Repo: https://github.com/servo/servo
Source-Revision: c55588d25b6e0390d11b2cb654ccb1f95e16cebb
2016-08-29 21:07:00 -05:00
Glenn Watson eb24dae974 servo: Merge #13115 - Update webrender + shaders (border AA improvements, float packing work) (from glennw:wr-update-pack); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: b530d172134bb290b876b2e92d4e93df5ee36295
2016-08-29 19:55:24 -05:00
Bobby Holley 54d3d46a5d servo: Merge #13112 - stylo: Fix incorrect flag syntax in regen.py (from bholley:regenpy_fix); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: a338beaa7012f1cbfeebe559e58d1f0186c2cdee
2016-08-29 17:04:44 -05:00
Emilio Cobos Álvarez 0c762c1f7a servo: Merge #13085 - Update offscreen_gl_context. Fixes #12320 (from emilio:gl-up); r=KiChjang
<!-- 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 #12320 (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: 7ebdf98d28369a0a547021148f40520131eea0e4
2016-08-29 12:15:10 -05:00
Glenn Watson 1efe26d1ac servo: Merge #13099 - Update webrender (various optimizations, layer fixes and antialiasing shaders) (from glennw:wr-update-opts); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: b8874ff7d197af8e0c7c23c6aced4d8a8fce1648

--HG--
rename : servo/resources/shaders/ps_text.glsl => servo/resources/shaders/ps_text_run.glsl
2016-08-28 18:19:38 -05:00
Simon Sapin 751f3294f4 servo: Merge #13098 - Update cssparser (from servo:cssparserup); r=KiChjang
<!-- Please describe your changes on the following line: -->

Today’s Rust Nigthly broke it

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

<!-- 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: 1f2346d3b6fa6405df7b4f5be90c4076678875f0
2016-08-28 16:30:49 -05:00
Anthony Ramine 948d584a30 servo: Merge #13095 - Update Cargo to 0.13.0-nightly (88e46e9 2016-08-26) (from servo:cargoup); r=metajack
This brings correct garbage collection of crates' metadata in the lock files.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7345905c8be38952786402f10993c5b6984df152
2016-08-28 11:40:16 -05:00
Keith Yeung b97448190e servo: Merge #13090 - Update string_cache to 0.2.26 (from KiChjang:update-string-cache); 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: -->
- [ ] `./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: 73bea84b41fe573856a4e9456b209e9faa6fef48
2016-08-28 09:52:38 -05:00
Anthony Ramine 58640cfec1 servo: Merge #13055 - Update Rust to 1.13.0-nightly (198713106 2016-08-26) (from servo:rustup); r=metajack
(Do not merge) Update Rust to 1.13.0-nightly (198713106 2016-08-26)

Source-Repo: https://github.com/servo/servo
Source-Revision: 1c2b45f87f23278d365913506e9c1776799ec345
2016-08-28 07:53:33 -05:00
Emilio Cobos Álvarez a5f821551e servo: Merge #13079 - Update regen script to take into account the bindgen docopt upgrade (from emilio:bindgenup); r=Manishearth
<!-- Please describe your changes on the following line: -->

r? @bholley

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

<!-- 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: 23b83aaa1e638f9763f29f254e6dfa1f0e3c6067
2016-08-27 10:21:44 -05:00
Bobby Holley 83bae95a7d servo: Merge #13067 - stylo: Regenerate bindings again (from bholley:regen_bindings_again); r=emilio
This handles the changes in https://bugzilla.mozilla.org/show_bug.cgi?id=1297982

Source-Repo: https://github.com/servo/servo
Source-Revision: 0a18cb12c162312d39c323a176a7eb3a982bbbfc
2016-08-26 20:39:12 -05:00
Tetsuharu OHZEKI f4a9dfdded servo: Merge #13062 - Make DOMJSClass use JSClass instead of Class (fixes #13031) (from nox:bump-js); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: fe1225b4ba5b89bb7e22ea827edbc40d44a5d4d6
2016-08-26 19:41:51 -05:00
Lars Bergstrom 5c2c4fdac9 servo: Merge #13064 - Add rlib type for linking inside of the Rust staticlib in Gecko (from larsbergstrom:more_stylo_targets); r=metajack
r? @metajack

Super simple - just want to be able to both build as libgeckoservo.a and the .rlib so that the build system works either standalone or inside of m-c for Gecko.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3e2753cbc9430519d87f1988572029c5f05b5549
2016-08-26 17:59:52 -05:00
Bobby Holley 3c4e4186eb servo: Merge #13061 - stylo: Regenerate bindings and fix up for nsStyleImageLayers_Position changes in Gecko bug 1295084 (from bholley:regen_bindings); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: b98c17fab5c426bfea97c27e7d65bd3f6333a387
2016-08-26 15:28:35 -05:00
Bobby Holley c474330459 servo: Merge #12911 - stylo: Traverse anonymous children when styling (from bholley:traverse_anonymous_children); r=emilio
The corresponding Gecko changes are at https://bugzilla.mozilla.org/show_bug.cgi?id=1292662

Source-Repo: https://github.com/servo/servo
Source-Revision: 8e39313321791cade116b3a5f34a36d8cf99c0f2
2016-08-26 12:17:40 -05:00
Emilio Cobos Álvarez 836eded2f7 servo: Merge #13041 - style: Make WorkQueue creation fallible (from emilio:fallible-threadpool); 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: -->
- [ ] `./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] These changes do not require tests.

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

Fixes bug 1290205 in bugzilla.

Source-Repo: https://github.com/servo/servo
Source-Revision: 911bc94848f7cd3f3446546abdd085da5c468a4a
2016-08-26 01:46:16 -05:00
Josh Matthews 1e538847df servo: Merge #12980 - Fix ridiculous DOM proxy getter performance (from jdm:proxychanges); r=nox
This implements the missing shadowing checks that were causing us to take many slow paths when dealing with proxy objects. Verified by running `tests/html/binding_perf.html` before and after and observing a 12x improvement.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12357
- [X] These changes do not require tests because we can't test performance yet.

Source-Repo: https://github.com/servo/servo
Source-Revision: 78344754826e938c004a83a21c898552a8e77b17
2016-08-25 06:31:46 -05:00
Xidorn Quan e9f8809c62 servo: Merge #12986 - Use new name convention for Servo binding functions (from upsuper:stylo-renaming); r=bholley
<!-- Please describe your changes on the following line: -->
This is the Servo part of [bug 1296173](https://bugzilla.mozilla.org/show_bug.cgi?id=1296173).

r? @bholley

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

<!-- 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: 49d483590e2e1b070271927132413e2078afe27f
2016-08-24 08:16:05 -05:00
Guillaume Gomez 2ceae6c5a3 servo: Merge #12954 - Update rust-mozjs (from GuillaumeGomez:dictionary_error); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 3c4a08c016c0fd62496bcc7ffdbe850ce8813ccd
2016-08-24 06:19:37 -05:00
Glenn Watson 70f21015ca servo: Merge #13002 - Update wr + shaders for local clip rect changes (from glennw:wr2-update-local-clipping); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 400c7e032472255288599abce7c0309d3f802350
2016-08-23 16:41:11 -05:00
Ms2ger 1bacbe435f servo: Merge #12993 - Move the user agent and user stylesheets to layout_thread (from servo:ua-stylesheets); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 8e890be2c6c736f503cafe2641cbd869e571ec7f
2016-08-23 08:34:04 -05:00
Ms2ger 70b59db00f servo: Merge #12990 - Remove unused dependency on util from geckolib (from servo:geckolib-the-util-the); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: f863a7c317c1f52cde690085b40c3441b6cd789f
2016-08-23 06:18:44 -05:00