Commit graph

15504 commits

Author SHA1 Message Date
bors-servo
93cad4afd3 Auto merge of #9577 - michaelwu:h5e-update, r=Manishearth
Update html5ever to 0.5.0

r? @Manishearth

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9577)
<!-- Reviewable:end -->
2016-02-09 11:08:27 +05:30
bors-servo
0124d90a6d Auto merge of #9571 - Ms2ger:fire, r=asajeffrey
Remove the global argument to EventTarget::{fire_event, fire_simple_event}.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9571)
<!-- Reviewable:end -->
2016-02-09 05:08:00 +05:30
Michael Wu
fc7f05a751 Update html5ever to 0.5.0 2016-02-08 16:58:18 -05:00
Ms2ger
5317af1e19 Remove the global argument to EventTarget::{fire_event, fire_simple_event}. 2016-02-08 19:21:56 +01:00
bors-servo
4c4df37a12 Auto merge of #9028 - iszak:issue-8842, r=SimonSapin
The interface in #8210 allows us to create custom instances of CSS parse error reporters. We should write a test in tests/unit/style/stylesheets.rs that tries to parse invalid CSS and have a custom reporter that asserts the errors that are reported.

Code: tests/unit/style/stylesheets.rs, http://doc.servo.org/style_traits/trait.ParseErrorReporter.html

Fixes #8842

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9028)
<!-- Reviewable:end -->
2016-02-08 06:57:48 +05:30
Iszak Bryan
68d512c1ea Added test to verify parse error reporter is functioning 2016-02-07 18:46:41 +00:00
bors-servo
28ecb0bba3 Auto merge of #9543 - alopatindev:enums_constructors_codingstyle_fix, r=KiChjang
Fix #9508: Beautify our union enums constructors

Solves #9508
@jdm Please review. Thanks!

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9543)
<!-- Reviewable:end -->
2016-02-07 05:59:57 +05:30
Alexander Lopatin
2be49404be Fix #9508: Beautify our union enums constructors 2016-02-07 02:55:21 +03:00
bors-servo
2f52a168ca Auto merge of #9562 - timvandermeij:setresponsetype-spec, r=KiChjang
Make step 3 of XHR's SetResponseType method match the specification

Fixes #9552.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9562)
<!-- Reviewable:end -->
2016-02-07 03:15:31 +05:30
Tim van der Meij
816c65aab0 Make step 3 of XHR's SetResponseType method match the specification 2016-02-06 22:33:42 +01:00
bors-servo
7c249b1d53 Auto merge of #9545 - n-liam:issue6483, r=Wafflespeanut
Added dependency for Fedora, mesa-libEGL-devel.

mesa-libEGL-devel was necessary on Centos 7 and likely on Fedora distos as well.

Fixes #6483

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9545)
<!-- Reviewable:end -->
2016-02-06 11:51:48 +05:30
bors-servo
b2a297c64f Auto merge of #9549 - saurvs:master, r=larsbergstrom
Removed references of android-rs-glue from comments and documentation

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

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9549)
<!-- Reviewable:end -->
2016-02-06 08:43:46 +05:30
bors-servo
3498deca39 Auto merge of #9542 - timvandermeij:immeta, r=jdm
Update immeta dependency to resolve ImageCacheThread panic

Fixes #9501.

Before this patch, a website such as http://www.universiteitleiden.nl would consistently crash Servo. After this patch, the website loads just fine.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9542)
<!-- Reviewable:end -->
2016-02-06 04:02:47 +05:30
bors-servo
5505bf1de5 Auto merge of #9471 - peterkort:patch-1, r=jdm
fix #8461

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9471)
<!-- Reviewable:end -->
2016-02-06 02:51:21 +05:30
bors-servo
289232ef61 Auto merge of #9554 - Ms2ger:util-deps, r=nox
Remove some unused dependencies from the util crate.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9554)
<!-- Reviewable:end -->
2016-02-06 00:57:35 +05:30
bors-servo
b468a6c31c Auto merge of #9483 - Hywan:cs, r=KiChjang
Quality: Fix CS

Just remove trailing spaces.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9483)
<!-- Reviewable:end -->
2016-02-05 22:57:59 +05:30
qpid
9801552535 Removed documentation referencing 'android-rs-glue', and updated a similar comment to mention 'build-apk' 2016-02-05 21:03:13 +05:30
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
Ms2ger
7e7683740a Remove some unused dependencies from the util crate. 2016-02-05 13:06:14 +01:00
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
n-liam
13e22dfcbc Added dependency for Fedora mesa-libEGL-devel. This dependency was necessary on Centos 7 and likely on Fedora distos as well. 2016-02-04 23:51:11 -07:00
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
Tim van der Meij
f4f42b260b Update immeta dependency to resolve ImageCacheThread panic 2016-02-04 21:58:43 +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