Commit graph

15483 commits

Author SHA1 Message Date
Rizky Luthfianto
76678bbdae Implement Document#elementFromPoint 2016-03-01 02:23:07 +07:00
bors-servo
3701edbf2b Auto merge of #9537 - nox:rm-casing-plugin, r=Ms2ger
Remove the casing plugin

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9537)
<!-- Reviewable:end -->
2016-02-05 18:28:57 +05:30
bors-servo
8327ab86e0 Auto merge of #9538 - nox:android-glue-version, r=Ms2ger
Specify android_glue version in android_glue/Cargo.toml

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9538)
<!-- Reviewable:end -->
2016-02-05 12:42:03 +05:30
bors-servo
fb3fe3d784 Auto merge of #9522 - pcwalton:two-overflows, r=mbrubeck
layout: Separate out overflow-for-scrolling from overflow-for-paint.

Closes #9484.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9522)
<!-- Reviewable:end -->
2016-02-05 10:58:50 +05:30
bors-servo
b3bbea8be8 Auto merge of #9536 - Ms2ger:dead, r=nox
Remove a dead_code annotation from a live method.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9536)
<!-- Reviewable:end -->
2016-02-05 10:02:25 +05:30
bors-servo
b35801bf29 Auto merge of #9521 - Manishearth:ws-worker, r=Ms2ger
Make websockets work in a worker scope

r? @jdm

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9521)
<!-- Reviewable:end -->
2016-02-05 08:21:37 +05:30
bors-servo
87aaa5ffe0 Auto merge of #9523 - ruud-v-a:hasher, r=Wafflespeanut
Upgrade to new Hasher API

This fixes #9494.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9523)
<!-- Reviewable:end -->
2016-02-05 07:32:13 +05:30
Anthony Ramine
dcfb091594 Remove the casing plugin 2016-02-05 00:42:03 +01:00
bors-servo
2a6707ce58 Auto merge of #9532 - nox:dedup-heapsize, r=Manishearth
Say farewell to in-tree HeapSizeOf

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9532)
<!-- Reviewable:end -->
2016-02-05 03:40:36 +05:30
Anthony Ramine
cb5cd8d881 Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
bors-servo
9e68285d35 Auto merge of #9509 - servo:cocoa, r=Ms2ger
Deduplicate the cocoa crate.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9509)
<!-- Reviewable:end -->
2016-02-05 01:56:50 +05:30
bors-servo
629b1d33d5 Auto merge of #9515 - bholley:stylo_uplifts_2, r=SimonSapin
Stylo uplifts Part 2

A bunch of random things that we might as well merge into the tree.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9515)
<!-- Reviewable:end -->
2016-02-04 23:25:09 +05:30
Anthony Ramine
4fc1b88418 Specify android_glue version in android_glue/Cargo.toml 2016-02-04 17:14:46 +01:00
bors-servo
d574b78313 Auto merge of #9469 - fhahn:compiletest2, r=jdm
Integrate compiletest_rs

This PR integrates `compiletest_rs` as suggested in #5646. I created a new  `tests/compiletest` directory which contains separate crates for the tests.

Currently this PR includes `compile-fail` tests for some lints (acutally all except  inheritance_integrity, beacuse I'm not sure how to include the dom stuff in a way the `#[dom_struct]` works).

I gathered that there should be more crates for which compiletests make sense and would appreciate any pointers to relevant crates.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9469)
<!-- Reviewable:end -->
2016-02-04 21:00:21 +05:30
Simon Sapin
809f633f25 Deduplicate the cocoa crate. 2016-02-04 16:19:02 +01:00
Florian Hahn
dfdbcabc2e Add infrastructure for compiletests
Also adds compilefail tests for some lints, closes #5646.
2016-02-04 16:00:09 +01:00
bors-servo
9c21c2007b Auto merge of #9517 - paulrouget:glutinUpdate, r=KiChjang
glutin update

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9517)
<!-- Reviewable:end -->
2016-02-04 19:59:17 +05:30
Ms2ger
31dbb29895 Remove a dead_code annotation from a live method. 2016-02-04 15:17:09 +01:00
Manish Goregaokar
396533c479 Use a .worker.js test 2016-02-04 19:27:06 +05:30
Anthony Ramine
9932a5cf82 Abstract out Node::unique_id in its own structure
An UnsafeCell is use to lazily create the Uuid.
2016-02-04 14:22:53 +01:00
Anthony Ramine
3c73106cbb Bump heapsize to 0.2.5 2016-02-04 14:22:48 +01:00
Anthony Ramine
df2a3c3bc3 Bump html5ever to 0.4.2 2016-02-04 14:21:08 +01:00
Anthony Ramine
5bb3fc395a Bump cssparser to 0.5.2 2016-02-04 14:14:23 +01:00
Anthony Ramine
1da19170d2 Bump string_cache to 0.2.7 2016-02-04 14:10:02 +01:00
Anthony Ramine
32bc3d9c09 Reorder dependencies in various Cargo.toml files 2016-02-04 14:09:01 +01:00
bors-servo
647637193d Auto merge of #9512 - timvandermeij:feature-cleanup, r=frewsxcv
Remove old features 'clone_from_slice' and 'convert'

Fixes #9495.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9512)
<!-- Reviewable:end -->
2016-02-04 18:11:52 +05:30
bors-servo
712b053f4f Auto merge of #9519 - Ms2ger:euclid, r=Manishearth
Update Euclid.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9519)
<!-- Reviewable:end -->
2016-02-04 16:35:48 +05:30
Ms2ger
2ea9f2d028 Update Euclid. 2016-02-04 11:02:09 +01:00
bors-servo
df454ac4dc Auto merge of #9516 - KiChjang:potential-cors-request, r=nikkisquared
Implement "potential CORS request"

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9516)
<!-- Reviewable:end -->
2016-02-04 14:24:14 +05:30
bors-servo
a9f6ab2153 Auto merge of #9503 - glennw:fix-text-node-opacity, r=pcwalton
Ensure that text nodes don't inherit opacity.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9503)
<!-- Reviewable:end -->
2016-02-04 09:46:49 +05:30
bors-servo
85b2589605 Auto merge of #9527 - KiChjang:disable-9106, r=frewsxcv
Disable /_mozilla/css/position_fixed_a.html

```
<KiChjang> should we disable some intermittent tests?
<KiChjang> they're making it hard to land patches
* jdm is surely tempted
<mbrubeck> KiChjang: Yeah, it's bad enough that we should, where there are specific really bad tests
```

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9527)
<!-- Reviewable:end -->
2016-02-04 08:39:00 +05:30
Keith Yeung
e2b8ac3cdd Disable /_mozilla/css/position_fixed_a.html 2016-02-03 21:49:01 -05:00
Bobby Holley
fb37695992 Implement more DOM wrapper methods. 2016-02-03 18:39:16 -08:00
Bobby Holley
2e770b78a2 Implement a more realistic and persistent document restyle. 2016-02-03 18:39:16 -08:00
Bobby Holley
33c4689b15 Stop panicking in a presentational attribute synthesis to let style run.
We can live without this for now.
2016-02-03 18:39:16 -08:00
Bobby Holley
a77a5ecb16 Implement StandaloneStyleContext::new. 2016-02-03 18:39:16 -08:00
Bobby Holley
cafc0aabdf Hoist style-only traversal into geckolib.
Implementing StandaloneStyleContext::new is going to require a TLS key (just
like LayoutContext::new), and we don't want that key in shared code.
2016-02-03 18:39:16 -08:00
Bobby Holley
92d8e8bcdf Re-run rust-bindgen.
Some formatting changed in the new version of rust-bindgen.
2016-02-03 18:39:16 -08:00
Cameron McCormack
da079c5b63 Add style sheet parsing functions. 2016-02-03 18:39:16 -08:00
bors-servo
b794efee05 Auto merge of #9506 - mmatyas:update_gaol, r=jdm
Update gaol to f1da357

servo/gaol@f1da357 adds AArch64 support to gaol, required for building Servo for this platform.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9506)
<!-- Reviewable:end -->
2016-02-04 06:14:37 +05:30
Patrick Walton
7c5b2d6cb3 layout: Separate out overflow-for-scrolling from overflow-for-paint.
Closes #9484.
2016-02-03 16:06:24 -08:00
bors-servo
44b7ebf3cc Auto merge of #9314 - larsbergstrom:cargoup, r=Manishearth
Update cargo

r? @Manishearth

(wait for a try run first - I can't repro the -fPIC stuff from the previous one right now, but we'll see...)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9314)
<!-- Reviewable:end -->
2016-02-04 04:37:16 +05:30
bors-servo
0098b99666 Auto merge of #9524 - KiChjang:disable-intermittents, r=mbrubeck
Disable 3 of the currently worst intermittents
2016-02-04 03:39:15 +05:30
Keith Yeung
0fa5cf6716 Disable 3 of the currently worst intermittents 2016-02-03 17:06:40 -05:00
Keith Yeung
66c2f6d58b Implement "potential CORS request" 2016-02-03 14:41:36 -05:00
Ruud van Asseldonk
95be0b9a25 Upgrade to new Hasher API 2016-02-03 20:06:39 +01:00
Manish Goregaokar
853d4c0e39 Add test for websockets being used from a worker 2016-02-04 00:32:13 +05:30
Manish Goregaokar
4f878b2244 Fix crash when websocket.js is used from a worker 2016-02-04 00:03:22 +05:30
Manish Goregaokar
ccbd38e2c7 Make websockets not crash in a worker scope 2016-02-04 00:03:18 +05:30
bors-servo
dcf4218e30 Auto merge of #9121 - simartin:issue_9095, r=jdm
Issue #9095: Send a notification when a file load is cancelled.

Fixes https://github.com/servo/servo/issues/9095

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9121)
<!-- Reviewable:end -->
2016-02-03 23:29:35 +05:30