Commit graph

908 commits

Author SHA1 Message Date
Nikki
e8665d47ea working on implementing Cors Check and Origin to Ascii serialisation 2016-02-09 13:51:35 -07:00
Ms2ger
d79660e989 Give WindowProxy objects an innerObject hook.
This ensures that UncheckedUnwrap(obj, /* stopAtOuter = */ true) will indeed
stop at the WindowProxy ("outer window", in older SpiderMonkey jargon), which
is necessary to prevent raw Window ("inner window") objects becoming visible
to JavaScript code, or tripping assertions that we don't do that.
2016-02-09 16:46:48 +01:00
Michael Wu
fc7f05a751 Update html5ever to 0.5.0 2016-02-08 16:58:18 -05:00
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
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
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
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
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
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
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
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
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
Lars Bergstrom
2ded261bf2 Fontconfig-sys version bump to work around SemVer sorting issues 2016-02-03 09:48:29 -06:00
Paul Rouget
5f3ff1652e glutin update 2016-02-03 10:03:48 +01:00
bors-servo
b1fffcd85d Auto merge of #9500 - notriddle:ttt, r=nox
Bump quickersort version.

(fixes an exception-safety bug in the heapsort fallback)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9500)
<!-- Reviewable:end -->
2016-02-03 12:29:26 +05:30
bors-servo
64ad9e17d9 Auto merge of #9498 - KiChjang:update-url, r=nox
Update rust-url

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9498)
<!-- Reviewable:end -->
2016-02-03 11:38:51 +05:30
bors-servo
ae20f2556b Auto merge of #9510 - nox:bump-selectors, r=SimonSapin
Update rust-selectors

This commits updates rust-selectors to use the generic parser, and as
such it moves the element state into the style crate.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9510)
<!-- Reviewable:end -->
2016-02-03 07:04:11 +05:30
Emilio Cobos Álvarez
a1c830f1c1 Update rust-selectors
This commits updates rust-selectors to use the generic parser, and as
such it moves the element state into the style crate.
2016-02-03 02:11:31 +01:00
Keith Yeung
9b23839394 Update rust-url 2016-02-02 20:04:01 -05:00
bors-servo
ea385fdd11 Auto merge of #9492 - mmatyas:arm64_linker_fix, r=jdm
Fix build error on AArch64

When cross compiling to AArch64, the native `cc` is used in the final linking step, instead of `aarch64-linux-gnu-gcc`. This patch fixes the issue.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9492)
<!-- Reviewable:end -->
2016-02-03 01:05:02 +05:30
Mátyás Mustoha
2cd0064f58 Update gaol to f1da357 2016-02-02 12:16:34 +01:00
Michael Howell
fa91acc7c9 Bump quickersort version.
(fixes an exception-safety bug in the heapsort fallback)
2016-02-01 18:37:43 -07:00
Glenn Watson
50e946eab9 Update ipc-channel to get deadlock fix for Linux. 2016-02-02 08:22:44 +10:00
Anthony Ramine
436b952298 Bump Rust to 2016-01-31 nightly 2016-02-01 17:55:36 +01:00
Mátyás Mustoha
94740c7251 Fix final linking step on AArch64 2016-02-01 16:55:27 +01:00
Ms2ger
add80b13f3 Move over to gaol from the servo repository. 2016-02-01 12:34:36 +01:00
bors-servo
6b1a08c051 Auto merge of #9452 - glennw:update-gleam-again, r=ecoal95
This updates gleam to a version that relies on OpenGL 3.3 (which is n…

…eeded for the instancing changes in WR - see servo/gleam@fc7e28e).

Hopefully the build machines and everyone using Servo has GL 3.3 available on their machines - if it causes any problems, we can revert this change and investigate further.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9452)
<!-- Reviewable:end -->
2016-02-01 06:26:54 +05:30
Glenn Watson
814b94b6bd This updates gleam to a version that relies on OpenGL 3.3 (which is needed for the instancing changes in WR - see servo/gleam@fc7e28e).
Hopefully the build machines and everyone using Servo has GL 3.3 available on their machines - if it causes any problems, we can revert this change and investigate further.
2016-02-01 09:21:59 +10:00
Anthony Ramine
74b6d8b70d Bump clipboard to remove libc 0.1.z dependency 2016-01-31 23:46:47 +01:00
bors-servo
46b3eb6535 Auto merge of #9208 - jmr0:master-img, r=asajeffrey
Use image metadata to lay out images

Fixes #7047.

cc: @jdm

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9208)
<!-- Reviewable:end -->
2016-01-31 01:18:41 +05:30
bors-servo
f8bdda499e Auto merge of #9447 - mmatyas:aarch64_target_fix, r=larsbergstrom
Fix AArch64 target triplets

The AArch64 platform uses the `aarch64-linux-gnu` triplet.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9447)
<!-- Reviewable:end -->
2016-01-31 00:17:48 +05:30
Anthony Ramine
b5ba123e5a Let Servo use a non-broken expat-sys version 2016-01-30 15:48:50 +01:00
jmr0
167ffa7a95 adding image metadata notification capabilities to image cache 2016-01-29 20:54:49 -05:00
bors-servo
4bd295f0ed Auto merge of #9450 - jdm:ipcchannelupgrade, r=nox
Upgrade ipc-channel to diagnose #8961.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9450)
<!-- Reviewable:end -->
2016-01-29 21:30:20 +05:30
bors-servo
58369f22b2 Auto merge of #9454 - mbrubeck:glutinup, r=glennw
Update to servo-glutin 0.4.8

Fixes #9451. r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9454)
<!-- Reviewable:end -->
2016-01-29 09:22:08 +05:30
Matt Brubeck
fc7e8431ce Update to servo-glutin 0.4.8 2016-01-28 14:09:35 -08:00
Josh Matthews
320d9db616 Upgrade ipc-channel to diagnose #8961. 2016-01-28 14:53:04 -05:00
Mátyás Mustoha
9e69ca660c Fix AArch64 target triplets 2016-01-28 11:17:37 +01:00
Corey Farwell
d2166cd5d5 Upgrade ipc-channel dependency.
dfd8513d80...4cc8773bfb

Attempt to fix https://github.com/servo/servo/issues/8815
2016-01-27 22:24:20 -05:00
Matt Brubeck
84915ed23b Upgrade to latest xml5ever 2016-01-27 09:26:41 -08:00