Commit graph

16104 commits

Author SHA1 Message Date
Keith Yeung
3f2cbf0025 Add task_source directory
Use DOMManipulationTaskSource whenever possible
2016-03-10 01:05:53 -05:00
bors-servo
95883dcbcf Auto merge of #9907 - nikkisquared:async_tests, r=jdm
Add Tests For Asynchronous Fetch Calls With Filtered Responses

I've added two tests using async_fetch intended to create filtered responses. I caught and fixed a bug where waiting for response.body to be completed would never pass for Opaque or OpaqueRedirect, since their response.body is always `Empty`.

As always, I'd appreciate review and feedback! I don't plan to write new tests, but I will gladly patch up any gaps in the current tests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9907)
<!-- Reviewable:end -->
2016-03-10 08:59:07 +05:30
bors-servo
fa93d3f467 Auto merge of #9796 - KiChjang:range-stringifier, r=jdm
Implement Stringifier for Range

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9796)
<!-- Reviewable:end -->
2016-03-10 07:35:06 +05:30
Nikki
cddc03be33 added two fetch_async tests involving filtered responses 2016-03-09 18:16:17 -07:00
Olaf Buddenhagen
94b071e346 Update ipc-channel for another fix in large transfers
This pulls in 78c1be46ccc199d00d96e5dc225e8b130c5a565a , which might
help with some intermittent failures.
2016-03-10 00:38:05 +01:00
bors-servo
d23b7481d6 Auto merge of #9946 - yoava333:master, r=KiChjang
Added compiler lint ban on DOMRefCell

this resolves https://github.com/servo/servo/issues/9924

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9946)
<!-- Reviewable:end -->
2016-03-10 04:44:33 +05:30
Yoav Alon
444eddb4a1 Added compiler lint ban on DOMRefCell 2016-03-09 23:48:32 +02:00
Connor Imes
f31e8841fb Heartbeats now on crates.io.
Updates to energymon interface for energy profiling.
Profiling script for Android.
2016-03-09 15:47:37 -06:00
Prashant Gupta
4899611864 Allow user to choose between GL and ES2 2016-03-09 16:40:00 -05:00
Keith Yeung
b32e859c3a Implement Stringifier for Range 2016-03-09 15:27:37 -05:00
bors-servo
0f526054eb Auto merge of #9943 - servo:serde-preliminaries, r=jdm
Preliminary bumps for bumping Serde

We need to bump webrender before being able to bump Serde, but we also needs these bumps, so let's include them ASAP first because bumping a lot of things is always a pain.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9943)
<!-- Reviewable:end -->
2016-03-10 00:50:36 +05:30
Anthony Ramine
79c68f54e3 Bump gleam to 0.2.8 2016-03-09 20:17:08 +01:00
Anthony Ramine
72e9884a2b Bump ipc-channel to 0.2.1
This also makes Servo use crates.io's bincode 0.4.1.
2016-03-09 20:17:03 +01:00
Anthony Ramine
449a30c66d Bump cocoa to 0.2.5 2016-03-09 20:15:18 +01:00
Anthony Ramine
b66d190166 Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
Anthony Ramine
10e19e06a7 Bump string_cache to 0.2.11 2016-03-09 20:15:15 +01:00
Anthony Ramine
e997d93b16 Bump offscreen_gl_context to 9c123fa5 2016-03-09 20:15:14 +01:00
Anthony Ramine
f89c321141 Bump euclid to 0.6.4 2016-03-09 20:15:11 +01:00
Anthony Ramine
200e2286fd Bump cssparser to 0.5.4 2016-03-09 20:14:38 +01:00
Anthony Ramine
7771f28a22 Bump core-text to 1.1 2016-03-09 20:14:37 +01:00
Anthony Ramine
5dc9fa0c17 Bump azure to 0.4.3 2016-03-09 20:14:36 +01:00
Anthony Ramine
5720c76816 Bump app_units to 0.2.3 2016-03-09 20:14:35 +01:00
bors-servo
25c6c29a27 Auto merge of #9941 - Ms2ger:tidy-ignore, r=jdm
Update the list of files tidy ignores.

The deque file was removed in favour of an external crate.

The sync and sync_css directories are automatically created when updating the
in-tree copies of the wpt and css tests.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9941)
<!-- Reviewable:end -->
2016-03-09 21:44:35 +05:30
bors-servo
0359fb8ed8 Auto merge of #9940 - Ms2ger:fetch-warnings, r=asajeffrey
Fix warnings in the fetch code.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9940)
<!-- Reviewable:end -->
2016-03-09 20:51:30 +05:30
Ms2ger
7e7495366c Update the list of files tidy ignores.
The deque file was removed in favour of an external crate.

The sync and sync_css directories are automatically created when updating the
in-tree copies of the wpt and css tests.
2016-03-09 16:18:23 +01:00
Ms2ger
3e3053653e Fix warnings in the fetch code. 2016-03-09 16:12:15 +01:00
bors-servo
31bdcbe725 Auto merge of #9937 - sorpaas:fix/cygwin, r=Wafflespeanut
Detect Cygwin environment on Windows

Currently if Servo is built using Cygwin, it is incorrectly classified as "unknown" host, which makes downloading Rust and Cargo fail. This pull request fixes that.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9937)
<!-- Reviewable:end -->
2016-03-09 17:53:01 +05:30
bors-servo
4f08caa5a6 Auto merge of #9934 - kaksmet:update-jpeg-decoder, r=metajack
Update jpeg-decoder

This brings performance improvements and fixes a bug which was causing some progressive JPEGs to fail decoding.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9934)
<!-- Reviewable:end -->
2016-03-09 16:59:58 +05:30
bors-servo
4d2040b31b Auto merge of #9906 - glennw:bump-gleam, r=ecoal95
Update gleam 0.2.6 -> 0.2.8

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9906)
<!-- Reviewable:end -->
2016-03-09 16:07:01 +05:30
bors-servo
162e89d8c6 Auto merge of #9780 - bobthekingofegypt:github_hsts_bug, r=jdm
correctly send secure cookies after hsts url match

Fixes #8100, where sites in the hsts list were not recieving secure
cookies if the site was originally loading using a plain http url.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9780)
<!-- Reviewable:end -->
2016-03-09 15:13:52 +05:30
Wei Tang
cc1bb8d5df Detect Cygwin environment on Windows
Currently if Servo is built using Cygwin, it is incorrectly classified
as "unknown" host, which makes downloading Rust and Cargo fail. This
commit fixes that.
2016-03-09 10:55:22 +08:00
Ulf Nilsson
d08d3f4b50 Update jpeg-decoder 2016-03-09 01:17:35 +01:00
bors-servo
ebe7d9ebfb Auto merge of #9923 - Ms2ger:response-new, r=jdm
Make Response::new() an inherent method.

There is no real reason to put this in an extension trait.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9923)
<!-- Reviewable:end -->
2016-03-08 22:25:57 +05:30
Ms2ger
8b629652ac Make Response::new() an inherent method.
There is no real reason to put this in an extension trait.
2016-03-08 17:55:18 +01:00
bors-servo
5fbed88248 Auto merge of #9886 - nox:unstable-feature, r=SimonSapin
Make Cargo share more things between servo and ports

This should enable Cargo to reuse more build artifacts between servo and geckolib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9886)
<!-- Reviewable:end -->
2016-03-08 20:03:24 +05:30
bors-servo
be5b292078 Auto merge of #9910 - bombless:patch-1, r=SimonSapin
Add link for README

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9910)
<!-- Reviewable:end -->
2016-03-08 18:18:29 +05:30
bors-servo
a96b2360a9 Auto merge of #9920 - vishy1618:issue_9912, r=Ms2ger
Remove unused cell_extras feature gates. Fixes #9912

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9920)
<!-- Reviewable:end -->
2016-03-08 17:25:16 +05:30
Suvish Varghese Thoovamalayil
de68820e76 Remove unused cell_extras feature gates. Fixes #9912 2016-03-08 16:56:13 +05:30
bors-servo
60d97c3112 Auto merge of #9898 - nox:fix-private-in-public, r=Ms2ger
Properly use "pub extern crate"

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9898)
<!-- Reviewable:end -->
2016-03-08 15:26:50 +05:30
York Xiang
8940260092 Add link for README 2016-03-08 16:14:01 +08:00
bors-servo
e3bea4f887 Auto merge of #9908 - UK992:tidy-fix, r=ecoal95
Check tidy for "support/android/build-apk/"

Fixes  #9893
r? @ecoal95

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9908)
<!-- Reviewable:end -->
2016-03-08 12:27:08 +05:30
bors-servo
1453f43825 Auto merge of #9894 - servo:strip-priv-imports, r=Ms2ger
Use rustdoc’s new `--passes strip-priv-imports` flag.

https://github.com/rust-lang/rust/pull/32055

This will make e.g. http://doc.servo.org/servo/index.html#reexports stop listing `extern crate` and `use` statements that don’t have `pub`.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9894)
<!-- Reviewable:end -->
2016-03-08 09:46:29 +05:30
bors-servo
b6e469cbde Auto merge of #9903 - servo:ref-filter-map, r=nox
Replace usage of deprecated std::cell::Ref::filter_map

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9903)
<!-- Reviewable:end -->
2016-03-08 08:52:45 +05:30
Anthony Ramine
d59cad2dd9 Enable query_encoding in geckolib
This allows the reuse of teh build artifacts of url and all the things that
depends on it between servo and geckolib.
2016-03-08 02:51:08 +01:00
Anthony Ramine
b7ef9ed97a Enable nightly feature for serde in style
Some external dependencies (at least webrender_traits) present only in servo
and not in geckolib use it already and this prevents Cargo to reuse build
artifacts depending on serde between the two targets.
2016-03-08 02:51:06 +01:00
Anthony Ramine
5f2a69b3b7 Use release_max_level_info in all ports 2016-03-08 02:50:41 +01:00
Anthony Ramine
80bcbcb966 Use the unstable feature of string_cache and selectors in geckolib
This should enable Cargo to reuse more build artifacts between servo and geckolib.
2016-03-08 02:49:17 +01:00
bors-servo
e8aeebbac5 Auto merge of #9896 - Swatinem:rename_utf16, r=Ms2ger
rename deprecated utf16_units to encode_utf16

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9896)
<!-- Reviewable:end -->
2016-03-08 06:32:43 +05:30
UK992
193fc1f84e Tidy fix 2016-03-08 01:38:49 +01:00
UK992
607cd5923e check tidy for support/android/build-apk/ 2016-03-08 01:38:35 +01:00