Commit Graph

6457 Commits

Author SHA1 Message Date
Ms2ger
f9ea3605ca servo: Merge #11265 - Some assorted cleanup (from Ms2ger:cleanup); 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 _____

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: 2572a7d2c5ba90cc78f6be10bb29c2e8fbc8f250
2016-05-19 05:48:24 -07:00
Alan Jeffrey
3b31d6f415 servo: Merge #11249 - Updated etc/ci/check_no_unwrap.sh for new constellation crate (from asajeffrey:check-no-unwrap-new-constellation-crate); 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 --faster` does not report any errors
- [X] No github issue.

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is updating our CI test 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: dea610986dbf4a1e5898cbe6b57832784e786f3a
2016-05-18 20:12:04 -07:00
Joseph P DeBartola III
ccaf198927 servo: Merge #11257 - Make HTMLMEtaElement name attribute an Atom (from josephpd3:11247); 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 --faster` does not report any errors
- [X ] These changes fix #11247 (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [X ] These changes do not require tests because it is already covered by existing tests ~@jdm

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: 7da5524061016ea6a361dea17c76257a4e62c056
2016-05-18 18:01:09 -07:00
Bobby Holley
18dd78203b servo: Merge #11258 - Geckolib: Specify eStyleUnit_Enumerated instead of eStyleUnit_Integer for enumerated types (from bholley:enumerated_unit); r=mbrubeck
This is a regression from #11207.

Source-Repo: https://github.com/servo/servo
Source-Revision: c0c1a44cf220dd078bb6cdb04a0d3f812ae24b3c
2016-05-18 16:12:33 -07:00
David Zbarsky
ad975caa5a servo: Merge #10776 - Implement GetVertexAttrib (from dzbarsky:getVertexAttrib); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: fe116b4bd70def7beb22ca7264476e3ab0f5932c
2016-05-18 14:40:32 -07:00
Matt Brubeck
e4673c05ce servo: Merge #11240 - Support font-style in geckolib (from mbrubeck:font-style); r=bholley
r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: f02c4c6403c8f375cf9274dbae4ed1865a9a252b
2016-05-18 13:12:55 -07:00
Emilio Cobos Álvarez
ce3451ee2d servo: Merge #11245 - geckolib: Support constants in classes (from emilio:geckolib-consts); 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:
- [ ] These changes do not require tests because geckolib isn't tested here.

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

---

Newest bindgen adds support for in-class statics.

This patch updates this to take them into account.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2f39e10cccb79af76c10c9092b4f6166833a3ea0
2016-05-18 12:26:18 -07:00
Bobby Holley
7d70cec87c servo: Merge #11242 - Add basic support for Gecko atoms (from bholley:gecko_atoms); r=emilio
This is a rough initial implementation of gecko atoms. This allows us to get rid of the custom rust-selectors branch we use to build stylo.

The gecko changes are at https://bugzilla.mozilla.org/show_bug.cgi?id=1273771

Source-Repo: https://github.com/servo/servo
Source-Revision: e3be7184fb79d9d0b7b2a491769a58c59a990460
2016-05-18 11:35:28 -07:00
Patrick Walton
51b1cc7770 servo: Merge #11252 - glutin: On the Mac, capitalize the first letter of "Servo" in the menu bar (from pcwalton:app-name); r=nox
r? @metajack (or whoever)

Source-Repo: https://github.com/servo/servo
Source-Revision: e36e41191fa083a6354b759df7660be4e0f4a4bd
2016-05-18 09:39:16 -07:00
Matt Brubeck
c017baaeb2 servo: Merge #11250 - Update immeta, threadpool, offscreen_gl_context (from mbrubeck:always-be-updating); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 4590fe230f6a498a05109679e3a4064cfafef9e6
2016-05-18 08:46:09 -07:00
Alan Jeffrey
f833982d1d servo: Merge #10898 - In chaos-monkey mode, only keep the mozbrowser pipeline alive (from asajeffrey:chaotic-even-better); r=Manishearth
Fixes #10897

Source-Repo: https://github.com/servo/servo
Source-Revision: 693478bc91a4708921ac4d0455184909b9ac1767
2016-05-18 07:14:38 -07:00
Josh Matthews
b10b472b1a servo: Merge #11239 - Add timeline markers for HTTP requests, JS evaluation, and HTML parsing (from jdm:time-profile); r=nox
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 (didn't try to compile past a rustc upgrade on airplane wifi)
- [X] `./mach test-tidy --faster` does not report any errors
- [X] These changes fix #11218 (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because we don't have testing infrastructure for profiling.

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: 96a86bd952c4c0e41d6164fbd16244ea4420106a
2016-05-18 06:07:10 -07:00
Ms2ger
4c6a748229 servo: Merge #11244 - Report panics in web worker threads (from Ms2ger:catch-panics-workers); 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 #11234 (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: bed6d45b35df9f0d3ef734633e40f9be2e0d749d
2016-05-18 04:24:41 -07:00
Anthony Ramine
2553a29dd4 servo: Merge #11232 - Update the WebIDL parser (from nox:webidl); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 51c279ec3d191fa376268c1417d3fa763cb3382f
2016-05-18 03:31:02 -07:00
Ms2ger
ec0e4ebb3f servo: Merge #11243 - Move constellation into its own crate (from Ms2ger:constellation); 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: 872565bb4bd2883c6fe926da74e3b3e2b74e6d34

--HG--
rename : servo/components/compositing/constellation.rs => servo/components/constellation/constellation.rs
rename : servo/components/compositing/timer_scheduler.rs => servo/components/constellation/timer_scheduler.rs
2016-05-18 02:11:46 -07:00
mrmiywj
5cdf284671 servo: Merge #11182 - htmlanchorelement getter work before href setting is called (from mrmiywj:add-attribute-mutated); 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 #10876  (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: aa8c835d3b2b45a16cefd7c34fb18f3a6c627134
2016-05-17 22:05:57 -07:00
Matt Brubeck
decd6157bd servo: Merge #11236 - Use num_traits in util (from mbrubeck:num_traits); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 36df00ae96feba73ab32847fda8bec3260c4aa11
2016-05-17 18:15:15 -07:00
Patrick Walton
10fbb66e33 servo: Merge #11205 - script: Avoid needless ChangeRunningAnimationsState messages during typical requestAnimationFrame() animations (from pcwalton:avoid-needless-animation-state-changes); r=jdm
This skips useless message traffic when `requestAnimationFrame()` is
called during an animation frame callback. It reduces CPU usage of the
following snippet by 49%:

    <script>
        function foo() {
            requestAnimationFrame(foo);
        }
    </script>
    <button onclick="foo()">Start rAF</button>

Partially addresses #9844.

Source-Repo: https://github.com/servo/servo
Source-Revision: e5c3bb8977221b07e5c4eccf2ec22dff25e547be
2016-05-17 17:24:46 -07:00
Florian Duraffourg
f0de867f29 servo: Merge #11196 - Add unit tests for cookies handling (from fduraffourg:master); 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
- [X] These changes fix #9965

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

Add unit tests for the `net` component about cookies. The tests are generated
with a new `mach update-net-cookies` command from this repo: https://github.com/abarth/http-state.

This PR also includes two trivial bug fixes about cookie handling.

From all the tests included, the following ones are currently failing:

- cookie_http_state::test_0003
- cookie_http_state::test_0006
- cookie_http_state::test_attribute0004
- cookie_http_state::test_attribute0005
- cookie_http_state::test_attribute0007
- cookie_http_state::test_attribute0008
- cookie_http_state::test_domain0017
- cookie_http_state::test_mozilla0001
- cookie_http_state::test_mozilla0002
- cookie_http_state::test_mozilla0003
- cookie_http_state::test_mozilla0005
- cookie_http_state::test_mozilla0007
- cookie_http_state::test_mozilla0009
- cookie_http_state::test_mozilla0010
- cookie_http_state::test_mozilla0013

`test_000[36]` and `test_mozilla*` are failing because there is currently no
method to clean a `net::cookie_storage` from expired cookies.

`test_attribute000[4578]` are failing because hyper does not parse the `Secure`
attribute correctly. I will open an issue on the upstream project.

`test_domain0017` fails because the TLD .org is not on the PUB_DOMAINS list.

Source-Repo: https://github.com/servo/servo
Source-Revision: c519739b7bcf408f2f671a89729aa30f39dd67a1
2016-05-17 16:34:16 -07:00
Anthony Ramine
61bd80a453 servo: Merge #11191 - Update bitflags to 0.7 (from servo:bitflags); r=pcwalton
- [x] https://github.com/servo/cocoa-rs/pull/126 https://github.com/servo/cocoa-rs/pull/127 https://github.com/servo/cocoa-rs/pull/128 https://github.com/servo/glutin/pull/91
- [x] https://github.com/cyderize/rust-websocket/pull/78
- [x] https://github.com/sfackler/rust-openssl/pull/393
- [x] https://github.com/PistonDevelopers/image-png/pull/36
- [x] https://github.com/servo/rust-selectors/pull/87
- [x] https://github.com/vberger/wayland-kbd/pull/12
- [x] https://github.com/vberger/wayland-client-rs/pull/50
- [x] https://github.com/netvl/xml-rs/pull/122 https://github.com/netvl/xml-rs/pull/123

Source-Repo: https://github.com/servo/servo
Source-Revision: 6c08ad857ea4139bb266c481eebe4315bdd460d5
2016-05-17 15:43:14 -07:00
Keith Yeung
4df4e0e73e servo: Merge #11222 - Add -moz-user-* CSS longhands for Gecko (from KiChjang:stylo-keywords); r=bholley
- [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 stylo

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: e0addae51c6ecacd474e501da06f647ca9d96dc0
2016-05-17 14:57:32 -07:00
Anthony Ramine
89660bce3f servo: Merge #11211 - Implement --pref in test-wpt (from nox:test-wpt-pref); r=jgraham
Needed to test GC zeal.

Source-Repo: https://github.com/servo/servo
Source-Revision: 02399d90c175239f7ed9fafa1470dc8e0e9820eb
2016-05-17 12:35:45 -07:00
Ms2ger
05a79db9c7 servo: Merge #10190 - Remove JS_SaveFrameChain and JS_RestoreFrameChain calls (from Ms2ger:framechain); r=jdm
They were cargo-culted from Gecko, where they haven't been necessary for a
while either.

Source-Repo: https://github.com/servo/servo
Source-Revision: a5cfbb226e5760cbc79519d3b518601dd817593d
2016-05-17 10:14:14 -07:00
Anthony Ramine
2a7c8273fe servo: Merge #11231 - Update Rust to 1.10.0-nightly (cd6a40017 2016-05-16) (from servo:rustup); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 82036b57c728578d9fd9b5991aabcf2b12eddb71
2016-05-17 07:04:12 -07:00
Ms2ger
a0c0a6e089 servo: Merge #11230 - Remove Request handling from CallSetup (from Ms2ger:request); 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 no behaviour 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: 985086501a721fa90c7b3591fb60849557ff7256
2016-05-17 06:16:25 -07:00
Ms2ger
aae9059d1d servo: Merge #11229 - Simplify FontContext::create_layout_font (from Ms2ger:create_layout_font); 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 --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: 8bfeea5f2097cb792a0272eef7198fab6ed0d5a1
2016-05-17 05:30:53 -07:00
Nazım Can Altınova
5b0fc2ad26 servo: Merge #11213 - Remove num-traits from compositing (from canaltinova:compositing); 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
- [X] These changes fix #11198 (github issue number if applicable).

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

Source-Repo: https://github.com/servo/servo
Source-Revision: fe4061e0ecb16eb1750e28052e47d91a5356e78e
2016-05-16 18:16:22 -07:00
Anthony Ramine
1dea02cf45 servo: Merge #11215 - Do not use libc in profile on Windows (from nox:greener-than-hulk); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: db5846ed7db098083d648852a658171c5d25c636
2016-05-16 17:24:16 -07:00
Matt Brubeck
b2a858608d servo: Merge #11207 - Support vertical-align in geckolib (from mbrubeck:vertical-align); r=bholley
r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: 28e8d31c5d268ecaeae6e6c2f0b867fdc6ebac5f
2016-05-16 16:03:00 -07:00
Anthony Ramine
1d29d91d8f servo: Merge #11208 - Fix all Windows warnings (from nox:greener-than-hulk); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 043b375ce31e7e37c3409f17cdd73c5ed9c0d797
2016-05-16 14:38:26 -07:00
Matt Brubeck
283598ac1a servo: Merge #11206 - Fix unused item warning on 32-bit platforms (from mbrubeck:warnings); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 3a28aad349473d7a9fcb6c5e4841abf3972fd733
2016-05-16 11:57:50 -07:00
Matt Brubeck
b859c0fc47 servo: Merge #11204 - Fix unused import warning in script::dom::bindings::js (from mbrubeck:warnings); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 9c6e6cb8d831a31827ce418a2953d785b10901bb
2016-05-16 10:40:17 -07:00
Paul Rouget
75aad97365 servo: Merge #11200 - Make quit-on-escape optional (from paulrouget:quit-on-escape-pref); r=asajeffrey
For browserhtml, we don't want Servo to shut down when the user presses the escape key.

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

Either:
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because I don't know how to test shutdown and how to dispatch a non-DOM key event

Source-Repo: https://github.com/servo/servo
Source-Revision: c921fa6d9967dcf8abe83d24a9d1d833ee989cf4
2016-05-16 09:51:52 -07:00
Josh Matthews
048d9d30d3 servo: Merge #11201 - Suggest a faster tidy (from servo:jdm-patch-1); 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
- [ ] These changes fix #__ (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because documentation update.

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: 87fd387fa7f10d18b74f10e5126c0ea0f762bc99
2016-05-16 09:00:45 -07:00
Patrick Walton
0f3b8d1e9e servo: Merge #11199 - On desktop, use the same app icon we use on Android (from servo:icon); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 66acb1039e913ac3badb10f58e8f184145c5052f

--HG--
rename : servo/support/android/apk/res/mipmap/servo.png => servo/resources/servo.png
2016-05-16 07:33:10 -07:00
Anthony Ramine
81c5e4cfed servo: Merge #11188 - Use JS_NewStringCopyN for the representation of interface objects (from nox:n-better-than-z); r=Ms2ger
This removes the need for the final null byte and we can make NonCallbackInterfaceObjectClass::new safe again I guess.

Source-Repo: https://github.com/servo/servo
Source-Revision: 252b0d8fa53f0ffff247f38743627b6e5ffb74e9
2016-05-16 06:26:13 -07:00
Per Lundberg
28632dc3a1 servo: Merge #11192 - Removed unused imports (from perlun:remove-unused-imports); r=Manishearth
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11185
- [X] These changes do not require tests because it only removes dead code.

----

This fixes #11185.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2c674d0397927ef6563feb70e54f46815af55600
2016-05-15 15:41:16 -07:00
Per Lundberg
7a4ddaa1cd servo: Merge #11186 - Reformatted servo.css (from perlun:reformat-servo-css); r=Wafflespeanut
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it doesn't introduce new functionality.

----

As discussed in #10553, we should consider splitting the long lines in this file onto separate lines (one per css attribute), to make it more readable and maintainable in general.

I also added blank lines where I felt it was applicable.

Source-Repo: https://github.com/servo/servo
Source-Revision: c193af8c32e87c146f5a45d06d3c6086f56be820
2016-05-15 01:21:29 -07:00
Aneesh Agrawal
df5d0d8810 servo: Merge #11187 - Rename SVGInherited to InheritedSVG (from aneeshusa:rename-inherited-svg); 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 they simply rename a struct

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

I saw this listed on https://public.etherpad-mozilla.org/p/aligning-style-structs.

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

--HG--
rename : servo/components/style/properties/longhand/svg_inherited.mako.rs => servo/components/style/properties/longhand/inherited_svg.mako.rs
2016-05-14 16:45:11 -07:00
David Zbarsky
a4eeafae15 servo: Merge #10668 - Implement WebGLRenderingContextBase::readPixels() (from dzbarsky:read_pixels); r=emilio
@emilio
Anything obviously wrong stick out to you? Haven't had a chance to debug why tests/wpt/web-platform-tests/webgl/conformance-1.0.3/conformance/programs/gl-bind-attrib-location-long-names-test.html and co. get the wrong results from ReadPixels.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7bede60272a79fe094ea81979044b4d6eceeada4
2016-05-14 14:13:44 -07:00
Anthony Ramine
1d770e335b servo: Merge #11183 - Update to Rust 1.10.0-nightly (2b79e05a0 2016-05-13) (from servo:rustup); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: dfd088366338f05e2242a8700f9fab2b688ae47b
2016-05-14 12:52:07 -07:00
Matt Brubeck
1d79544c32 servo: Merge #11180 - Minor cleanup and optimizations in glyph/style caching (from mbrubeck:text-cleanup); r=pcwalton
Gets rid of some unnecessary String and Arc clones during text shaping and style matching.

r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: e2990766dc1c7461b55c96f0ce7116d35d4fd3c6
2016-05-14 09:06:53 -07:00
mrmiywj
16b0c067fb servo: Merge #11178 - Make Node::BaseURI use the document's base URL (from mrmiywj:use-doc-base-URL); 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` does not report any errors
- [X] These changes fix #11145  (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: d6509dc4c6a1ec0a0c48c0e5a669a93334407f29
2016-05-14 01:12:32 -07:00
Jack Moffitt
808a2917cf servo: Merge #11177 - Update Cargo to 2016-05-12 (from metajack:cargo-up); 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:
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it doesn't affect the 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: 9e766f4d6eb373ebc2c44550077d47a4c6fc0171
2016-05-13 14:11:08 -07:00
Matt Brubeck
ea20c6e89f servo: Merge #11176 - Support z-index in geckolib (from mbrubeck:stylo-zindex); r=bholley
r? @bholley

cc @heycam

Source-Repo: https://github.com/servo/servo
Source-Revision: 21be9e8768903d13945f538fdd42c86095ddf5e6
2016-05-13 11:54:42 -07:00
Connor Imes
90374cd41b servo: Merge #11174 - Update hbs sys dependencies (from connorimes:hbs-sys-021); r=metajack
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 only update dependencies

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: 3990191431f990b94f2d809c31cdac02a3b262be
2016-05-13 09:18:49 -07:00
Ms2ger
6d664715e1 servo: Merge #11173 - Stop using JSAutoRequest (from servo:requests); 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` 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 functional change

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: ea84601bf08618254200b3faca055c36e9ff29b4
2016-05-13 06:41:22 -07:00
Emilio Cobos Álvarez
67d95b1def servo: Merge #11155 - codegen: Fix dictionary handling and semantics (from emilio:codegen-dict-keyword); r=Ms2ger
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 #11152 (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 #11152

Source-Repo: https://github.com/servo/servo
Source-Revision: 221db56b08e01157c97f5adba43799eeaee32f64
2016-05-13 02:47:08 -07:00
Zaggy1024
d396e5615b servo: Merge #11079 - Changed cursor for labels to "default" so their text doesn't use the text cursor (from Zaggy1024:label-cursor); r=pcwalton
The cursor in Firefox and Chrome for labels is always the default cursor rather than changing to the text cursor on text. In Edge, however, this only applies to the text of the actual label element.

This PR changes Servo to match Firefox and Chrome.

A convenient example of an element that this style applies to (and has different behavior between Firefox and Edge) is the "This repository" label for the search input at the top on Github.

Source-Repo: https://github.com/servo/servo
Source-Revision: 03465ad8c77f03ae2f538d046ae1e1dc86f04723
2016-05-12 19:45:38 -07:00
Emilio Cobos Álvarez
93c0fa9130 servo: Merge #11166 - gfx: Add expect messages to FontCacheThread::exit() (from emilio:fontcache-exit); r=mbrubeck
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] 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 only add debug info.

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

One of these two unwraps is the one that is causing most occurrences
of #8815.

I'd go with removing the second unwrap entirely, but let's get some
debug info first, since it might probably be a race.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2e049a85330ebc71212b4629119d561652ac9bef
2016-05-12 16:39:03 -07:00