Commit Graph

6698 Commits

Author SHA1 Message Date
Ms2ger
d3c5dc5381 servo: Merge #11408 - Take LayoutThread::url out of its RefCell (from Ms2ger:layoutthread-url); 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 --faster` 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 refactoring

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: 86e583fbed0773f6f5c5df764d0eb7000bf713e2
2016-05-26 22:37:23 -05:00
Aneesh Agrawal
185ca61f45 servo: Merge #11406 - Fix Android APK building (packaging) (from aneeshusa:add-missing-build-apk-semicolon); r=mbrubeck
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy --faster` does not report any errors
- [ ] These changes help with #10339.

Either:
- [x] There are tests for these changes (android-nightly builder) 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.

I missed this syntax error during my review, and we don't check that
packaging succeeds in regular build suite, but only as a Nightly build.

@larsbergstrom should we run the packaging as part of the regular build? I think it is important that this continue to stay working, especially with #9918. In that case, the only difference with the nightly builder is whether or not to upload to S3.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1efacd393843a761ee91c3a1765ef4801ccf18cc
2016-05-26 21:48:17 -05:00
Connor Brewster
84d6018723 servo: Merge #11455 - Remove unused import (from cbrewster:fix_warning); 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 removing unused import

<!-- 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: 126a197df8824047e810ffbf263efa567bf7d592
2016-05-26 20:56:14 -05:00
Rebecca
e65d7f0b7a servo: Merge #11429 - Partially enable referrer-policy tests with some modifications (from nox:unlimited-referrer-works); r=jdm
This is a part of @rebstar6's work on #11422, with only her test fixes and the enabling of them, to ease review on the actual implementation.

Source-Repo: https://github.com/servo/servo
Source-Revision: c432e9ac540add7a7224cb20af98519544ae0189
2016-05-26 18:21:04 -05:00
Cameron McCormack
44f9944acc servo: Merge #11433 - Don't re-parse dummy base URL every time in GeckoElement::style_attribute (from heycam:dummy-base-url); 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
- [ ] These changes fix #__ (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because geckolib-only

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

----

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: 25c2d20f56509e86c5b3ce563cdea7ea611cfff7
2016-05-26 17:18:26 -05:00
Abelardo E. Mendoza
da4694d68d servo: Merge #11432 - 11402 implement window alert (from ab22:11402-implement-window-alert); r=KiChjang
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 #11402

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: 6d0c420d59b3e24ce6818bedaad5f6fdf9b74966
2016-05-26 15:42:26 -05:00
Alan Jeffrey
059ca81294 servo: Merge #11430 - Record the frame type (IFrame or MozBrowserIFrame) in the pipeline (from asajeffrey:constellation-record-mozbrowser-parent-info); r=ConnorGBrewster
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because this is a refactoring

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

This is a first step towards supporting the notion of multiple top-level browsing contexts in Servo, by making the constellation aware of which content is loaded in a mozbrowser iframe.

Source-Repo: https://github.com/servo/servo
Source-Revision: 64cca225e5b3943639a5d5d4bf46b06aef919650
2016-05-26 14:53:09 -05:00
Attila Dusnoki
16e1b07909 servo: Merge #11367 - Extend WebBluetooth with included services (from szeged:included_services); r=jdm
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` does not report any errors
- [X] These changes do not require tests because there are no webbluetooth tests yet

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

--HG--
rename : servo/tests/html/bluetooth_primary_service_info.html => servo/tests/html/bluetooth_included_service_info.html
2016-05-26 14:04:33 -05:00
Attila Dusnoki
df93218067 servo: Merge #11269 - Extend WebBluetooth with discovery session and dialog (from szeged:discovery); 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 --faster` 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 the there are no webbluetooth tests ye.

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: c4bb543917ab2b6cbc31a5d9dbce1e004ea1e316
2016-05-26 13:15:49 -05:00
Anthony Ramine
e4ef328fe9 servo: Merge #11441 - Update Rust to 1.10.0-nightly (267cde259 2016-05-25) (from servo:rustup); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: bf3c437683808fdfb1f8406c023c391e5728266f
2016-05-26 08:55:32 -05:00
Matt Brubeck
d0d3845f0b servo: Merge #11394 - Reduce the size of StackingContextId (from mbrubeck:stacking-context-id); r=pcwalton
r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 2acb257a82601ad9b48a544cff20ce83f6311a47
2016-05-26 07:25:58 -05:00
Dirkjan Ochtman
be574eb83b servo: Merge #11438 - Add dbus-devel under Fedora dependencies (from djc:readme-fedora-deps-dbus); 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: -->
- [ ] `./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
- [x] These changes do not require tests because README-only change.

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

This is required through devices -> blurz -> dbus.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7040e2a5f7c71699fcb7d48016ee8f1ab7bef73c
2016-05-26 06:08:22 -05:00
Per Lundberg
acfcb43b5e servo: Merge #11391 - mach: Redirect stderr to /dev/null when locating Python binary (from perlun:fix/be-more-quiet-when-finding-python-binary); r=mbrubeck
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` does not report any errors
- [X] These changes do not require tests because it only changes the mach build script

----

We already redirect stdout in `mach`, but the problem is that (at least on Windows/MSYS2), the `which` command tends to output things to stderr when failing:

```
$ ./mach  build -d
which: no python2.7 in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/c/Program Files/Java/jdk1.8.0_66/bin:/c/Python27:/c/Python27/Scripts)
```

This PR silences this noise.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7dea7ace1b97ce8a51ab0b0516b8705474213542
2016-05-26 04:16:42 -05:00
Josh Matthews
cc0c71cebb servo: Merge #11383 - Hide unnecessary information in the rendered PR template (from servo:jdm-patch-1); r=mbrubeck
These changes attempt to make the initial PR view less cluttered. Instructions are hidden in HTML comments, and there's a clear distinction between the PR description and the checklist.

---
<!-- 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 --faster` 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 not part of the build

<!-- 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: b898550149db5cdfc24cc2dfe5a7c7ad4d5d0a39
2016-05-26 02:30:48 -05:00
Matt Brubeck
a61e8ab001 servo: Merge #11382 - Fix unused crate warning in script_tests (from mbrubeck:warnings); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 97e58e6cfe6624746a717e224a4be3e087a644a5
2016-05-26 01:43:21 -05:00
Bobby Holley
98d4b47d17 servo: Merge #11431 - Geckolib: Add performant implementations of get_id, has_class, and each_class (from bholley:atom_traversal); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 60d78b7272200c102e295f28e5d04c113b1b612f
2016-05-26 00:55:48 -05:00
Till Schneidereit
12e19131ff servo: Merge #11372 - Pass a parent JS runtime when creating DOM Worker runtimes (from tschneidereit:parent-js-runtime-for-workers); r=nox
This enables sharing data with the parent runtime, decreasing memory usage and startup time. Also contains an update to current rust-mozjs, because that's required for this to work.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy --faster` does not report any errors
- [x] These changes don't fix a github issue

Either:
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because the changes don't change any observable behavior

Source-Repo: https://github.com/servo/servo
Source-Revision: 5a81470c4db563fce4f84949507b25206b0dbedb
2016-05-26 00:08:42 -05:00
Ms2ger
1c5c58f3e6 servo: Merge #11370 - Remove the IterableContext trait (from Ms2ger:IterableContext); 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 --faster` 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 refactoring

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

It serves no purpose.

Source-Repo: https://github.com/servo/servo
Source-Revision: edf121324e475270f56f539900ff24f9005f3fdb
2016-05-25 22:42:31 -05:00
Simon Sapin
73404ec327 servo: Merge #11374 - Don’t include microsecons when reporting build times (from servo:no-microseconds); r=Ms2ger
"0:03:40.817715" is harder to read and no more informative than "0:03:40"

Source-Repo: https://github.com/servo/servo
Source-Revision: 345b8b9c00b146259b2b665775c3a5aa7ded6056
2016-05-25 21:31:48 -05:00
Cameron McCormack
396e9fdb8d servo: Merge #11412 - Support remaining text-decoration related properties in geckolib (from heycam:text-deco); r=mbrubeck
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` 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 mostly it's geckolib-only, and the servo-relevant changes should be covered by existing tests

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

----

Not sure if there's a better way to do the loop in the text-decoration(-line) longhand parsing, having all of the guts in the loop condition is a bit awkward.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 73b4042bb348d018e13798c39c6c4c3b117c1791
2016-05-25 20:35:50 -05:00
Matt Brubeck
02ad4931a2 servo: Merge #11427 - Stop generating flows under display: none (from mbrubeck:under-display-none); r=pcwalton
Because this is a bottom-up traversal it can generates flows and throw them away. To prevent that, this cascades an internal `-servo-under-display-none` property and then checks that during flow construction.  Fixes #1536.

r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 92ae502765d8b6028db57c2d2ff5cda886ab9439
2016-05-25 18:29:48 -05:00
Mitchell Hentges
22e66c3da8 servo: Merge #11409 - Remove --faster flag from test-tidy, go fast by default. Fixes 11217 (from mitchhentges:test-tidy-faster-default); r=aneeshusa
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 #11217 (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they just change command-line options, which aren't tested

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

This finishes #11267

Source-Repo: https://github.com/servo/servo
Source-Revision: ebb690d28c3c36ffba7059b64361fed3847861c7
2016-05-25 17:16:15 -05:00
Cameron McCormack
ef3928087b servo: Merge #11404 - Add Servo_RestyleSubtree (from heycam:restyle-subtree); 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 --faster` 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 geckolib-only

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

----

See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1275452

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: 0293a3df16384b84ecbfee2838ffd87ca6ed4a01
2016-05-25 16:26:11 -05:00
Cameron McCormack
ae4b8643d0 servo: Merge #11399 - Look past restyle root for parent node when restyling (from heycam:parent-style); r=pcwalton
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 --faster` 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 existing tests should be sufficient

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

----

Currently when traversing a the tree to restyle, we look at whether a
given element to restyle is the root.  This seems to always be the root
of the entire document, since we start our processing from the top.  If
the current element being restyled is the root of the restyle, then we
use None as the parent node for restyling purposes.

In stylo we want to invoke restyling starting from an arbitrary node in
the document, not just the root of the document, so this change looks
for the parent element regardless of whether we're at the root of the
restyle.

r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 6c08c570bf9b40de0797a95e6ae9712c9aa0389f
2016-05-25 15:36:51 -05:00
Cameron McCormack
0db0481616 servo: Merge #11401 - Support display:-moz-(inline-)box in geckolib (from heycam:moz-box); r=mbrubeck
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` 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 are geckolib-only changes

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

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 7ad3c313d3fe59e4b054abc6e41458364a1a6289
2016-05-25 13:49:23 -05:00
Per Lundberg
5bc2b16822 servo: Merge #11393 - Fixed the build tools to handle cargo being named cargo.exe (from perlun:fix/find-cargo-exe-on-windows); r=metajack
It's actually quite weird that I had to do this, but I got errors without it (on Windows). I noted the `BIN_SUFFIX` existed elsewhere so it felt logical to use it here also.

Source-Repo: https://github.com/servo/servo
Source-Revision: 40b2d424c08ce089dba8800fa310097276b3607e
2016-05-25 12:41:30 -05:00
Patrick Walton
a75b1f1832 servo: Merge #11379 - Update WebRender (from pcwalton:wrup4); r=mbrubeck
Picks up fixes for #11150, #11151, #11323, and #11327.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 72ffe3468ab221748ce9bc2657aef39fab755b6a
2016-05-25 11:13:05 -05:00
Rahul Sharma
c1289018c9 servo: Merge #11376 - Bump string-cache to 0.2.18 (from creativcoder:update-string-cache); r=nox
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` does not report any errors
- [X] These changes do not require tests because its a crate version bump.

Source-Repo: https://github.com/servo/servo
Source-Revision: 116faa7617aa2cb648d57307505b23504900bc9f
2016-05-25 10:13:29 -05:00
Ms2ger
1eb77c2d1c servo: Merge #11375 - Remove ScriptThread::layout_to_constellation_chan (from servo:layout_to_constellation_chan); r=mbrubeck
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy --faster` 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 refactoring

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

Instead, pass it along in NewLayoutInfo when needed.

Source-Repo: https://github.com/servo/servo
Source-Revision: f03e8fc937b5bc5b22c2595ffd17bee41a825b5f
2016-05-25 09:26:04 -05:00
Ms2ger
efab52e555 servo: Merge #11410 - Remove the script listener thread (from Ms2ger:script-listener-thread); r=nox
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 --faster` 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 refactoring

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: 1640ade0b3f703b54c2c2285271d44a037f7eabc
2016-05-25 06:10:17 -05:00
David Raifaizen
aad788373e servo: Merge #11377 - Update style attributes on CSSStyleDeclaration changes (from servo:style-attr-ser-rebase); r=SimonSapin
Rebase of #9410. Fixes #9410, fixes #9307.

Source-Repo: https://github.com/servo/servo
Source-Revision: 52f17a88141c8a55de3816e1a7a169cced518b36
2016-05-25 05:23:14 -05:00
Ms2ger
9fa81b0ace servo: Merge #11373 - Use associated types to improve LayoutThreadFactory and ScriptThreadFactory (from servo:threadfactory); r=larsbergstrom
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy --faster` 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 refactoring

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: 586c0702a0c80174d19c1eacb49c8295f2963ecc
2016-05-25 04:25:50 -05:00
Rahul Sharma
0d958c0ad7 servo: Merge #10498 - Adding default config directories (from creativcoder:default-profile-dir); r=SimonSapin
Fixes #10338

Source-Repo: https://github.com/servo/servo
Source-Revision: affc110fa0aac70d2e676d75bd5e54875ad8d941
2016-05-25 02:52:10 -05:00
Matt Brubeck
2b6aab952b servo: Merge #11381 - Make geckolib build dependencies with the same features as Servo by default (from mbrubeck:geckolib-features); r=nox
This reduces the number of things that need to be recompiled when building Geckolib and Servo in the same source tree.

This is a bit fragile and will need to be maintained by hand, but it's a nice improvement for developers.

r? @nox

Source-Repo: https://github.com/servo/servo
Source-Revision: 8876d1f00213207d42089c1282abb8d1b5bef8b6
2016-05-25 01:57:30 -05:00
Ms2ger
7a59624889 servo: Merge #11337 - Don't block the script listener thread on window.close() (from Ms2ger:compositor-exit-wait); r=pcwalton
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 --faster` 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 no tangible effect

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

This does not appear to have any effect. I believe this has been the case
since e84106535175211526729e532058a7514a0de372, when the helper thread was
introduced.

It was added in a7ef1cd35e9347a285f245041db4eb94047f4ab0, where it blocked the
script thread rather than this helper thread.

Source-Repo: https://github.com/servo/servo
Source-Revision: 220bdfec2e869035127e872e12d303aefb545579
2016-05-25 01:03:38 -05:00
Ms2ger
e35d119d3e servo: Merge #11366 - Stop storing CSS errors on the Document (from Ms2ger:css_errors_store); 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 --faster` 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 removing dead code

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

They are never read.

Source-Repo: https://github.com/servo/servo
Source-Revision: a3fe756cdbe1ce4ea478a2026e0735a62f9411f5
2016-05-25 00:09:16 -05:00
Zhen Zhang
615bc1161a servo: Merge #11368 - Fix FileManager thread panic and other misc improvements (from izgzhen:fix-filemanager-exit); r=asajeffrey
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy --faster` does not report any errors
- [x] There are tests for these changes

Changes:

- Add shut down logic for FileManager thread
- Add an unit test for filemanager_thread

Source-Repo: https://github.com/servo/servo
Source-Revision: 0b64586bf5368f6bb200353205459c7ec88f7052
2016-05-24 22:17:15 -05:00
Mitchell Hentges
a2eb9bbc8a servo: Merge #11267 - Add --all option to mach test-tidy, with compatibility with --faster (from mitchhentges:test-tidy-sanic-by-default); r=aneeshusa
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 --faster` does not report any errors
- [X] These changes partially fix #11217

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it just affects `mach` script parameters

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: b6e06bd83740ea5dc3385f88daf88677fc676f11
2016-05-24 16:54:12 -07:00
Simon Sapin
e0322637a5 servo: Merge #10796 - Make /dom/nodes/CharacterData-surrogates.html not panic (from servo:character-data-surrogates); r=nox
It now fails since `DOMString` is currently based on `std::string::String` on the Rust side, which is strictly well-formed UTF-8 and can not contain unpaired surrogate code points.

Fixes #10780

r? @Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: a04e30d2471a92e4214d81302f46bcaed9503b3c
2016-05-24 15:59:31 -07:00
Cameron McCormack
723cf0f5c4 servo: Merge #11287 - Support -moz-binding in geckolib (from heycam:moz-binding); 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 --faster` 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 changes target 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: 2a2b88f42c55614f949f218b0444778e8e2bfc78
2016-05-24 14:41:04 -07:00
Mitchell Hentges
fd9af4a433 servo: Merge #11278 - Reduce 'android-18' duplication by putting it in $ANDROID_TARGET env variable (from mitchhentges:8348-reduce-duplication); r=aneeshusa
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 --faster` does not report any errors
- [x] These changes fix #8348

Either:
- [X] These changes do not require tests because ~~I'm lazy~~ it's a configuration change, and asserting default values is usually tedious and not very helpful

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

---

Allegedly, this broke the build [back in the day](https://github.com/servo/servo/pull/8519).
Going to see if it's a piece of cake to land now

Source-Repo: https://github.com/servo/servo
Source-Revision: ea38ccfdfe12c64d41ff460f358e21cafead8414
2016-05-24 13:08:05 -07:00
Matt Brubeck
70b7a1aa47 servo: Merge #11303 - Always include the last-resort font (from mbrubeck:last-resort); r=pcwalton
This is used as a fallback for any characters that don't have glyphs in the specified font.  Without this, per-glyph font fallback doesn't work because the FontGroup always contains only one font.  Fixes missing glyphs on many pages on my Linux box.

As a follow-up, we should probably have a smarter strategy for finding fallback fonts, possibly varying by script.  (Currently we just have a few hard-coded family names.)

r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: aa9f50a1d406e72d8b443f79439aaf9fd2ba4425
2016-05-24 10:39:44 -07:00
Ms2ger
d70e94189b servo: Merge #11371 - Avoid an unnecessary runtime check in Pipeline::create() (from Ms2ger:pipeline-create); r=asajeffrey
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 --faster` 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 refactoring

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: e4fe0db8fd5f0b5431ba3856b4931613a96e924e
2016-05-24 08:33:41 -07:00
Keith Yeung
b5355c25b3 servo: Merge #10962 - Parse HTMLInputElement attributes (from KiChjang:input-attr-parse); r=asajeffrey
Fixes #10491.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8c4929a196ca933532d0c6948c9eebd92be4013a
2016-05-24 07:42:23 -07:00
Ms2ger
ed8cbfa002 servo: Merge #11364 - Move CompositorMsg to script_traits (from Ms2ger:CompositorMsg); r=nox
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 --faster` 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 refactoring

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: cd1396fa9ae72bebf13115ed0d752fb21ce0df19
2016-05-24 06:48:46 -07:00
Manish Goregaokar
930f1929e3 servo: Merge #11363 - Don't inherit text-transform on input elements (from Manishearth:transform-noinherit); r=SimonSapin
Seems to be pretty standard across browsers.

See also: https://www.tjvantoll.com/2012/07/10/default-browser-handling-of-the-css-text-transform-property/

Perhaps we should do this for more font properties? It seems like a bunch aren't
inherited.

Fixes #11362

Source-Repo: https://github.com/servo/servo
Source-Revision: 2ce9eba3dc87348c5de235883295f0f6ead4317e
2016-05-24 05:22:21 -07:00
Mátyás Mustoha
463f7c1cfd servo: Merge #11360 - Update Android build instructions in README (from mmatyas:readme_androidbuild); r=Manishearth
The Android build instructions haven't been updated for a while in the README;
instead of `cd ports/android && ANDROID_SDK=/path/to/sdk make install`, we have `./mach package --release` now.

Source-Repo: https://github.com/servo/servo
Source-Revision: e18bf819059e4439d276b02083a60f6353aaa359
2016-05-24 03:09:29 -07:00
Anthony Ramine
5aa3cb5ed3 servo: Merge #11326 - Move DOMString back to script (from nox:non-geckolib); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 6abcd793d780369767385b01b02ee725d6b10585
2016-05-24 02:07:29 -07:00
Ms2ger
b32c6be3eb servo: Merge #11359 - Remove the unused ScriptControlChan type (from servo:ScriptControlChan); 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
- [ ] `./mach test-tidy --faster` 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 removing dead code

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 6aa31c01b2a1e7afacbb30537cf6ba701b89083a
2016-05-24 01:20:30 -07:00
Connor Brewster
8fb68b1d97 servo: Merge #11352 - Fixed colspan not including cell spacing (from cbrewster:colspan_spacing); r=pcwalton
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 --faster` does not report any errors
- [X] These changes fix #11351 (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: 7b467ee52d59d1d2f078948acc9e4d188eac7338
2016-05-24 00:11:01 -07:00