Commit graph

16025 commits

Author SHA1 Message Date
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
Glenn Watson
e2af261361 Update gleam 0.2.6 -> 0.2.8 2016-03-08 09:31:32 +10:00
bors-servo
fee7cb179e Auto merge of #9850 - nikkisquared:2_async_2_furious, r=jdm
Set response.body Asynchronously In Fetch

Following having finished making Fetch asynchronous, response.body should be set asynchronously, since it's the major goal of calling Fetch. So far, I've made the body wrapped in Arc<Mutex<>>, and I've wrapped a new thread around the part where it's set. I've also discovered that the fetch_async function makes step 8 of Main Fetch obsolete, and I've commented it appropriately.

I'm currently having a hard time with the thread for setting response.body, though. @jdm suggested I have the body set continually, block by block, but my implementation for that runs so slow that I can't finish running my fetch test suite in reasonable time. @KiChjang pointed out that a lot of the lag is due to how response.body currently stores everything inside a Vec. Changing the storage container seems to be both necessary and beyond the scope of the time I have to work on this.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9850)
<!-- Reviewable:end -->
2016-03-08 04:45:25 +05:30
bors-servo
7308205bfc Auto merge of #9901 - servo:css-20160307, r=Ms2ger
Update CSS tests to revision 5366390418de396cdf7c9d45fbaedbed81dc4a61

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9901)
<!-- Reviewable:end -->
2016-03-08 03:51:45 +05:30
Nikki
b187985e49 set response.body asynchronously in Fetch 2016-03-07 15:09:39 -07:00
bors-servo
41864c4524 Auto merge of #9871 - creativcoder:fix-tidy-single-import, r=Wafflespeanut
tidy fix for longer single line imports

Fixes #9864

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9871)
<!-- Reviewable:end -->
2016-03-08 01:06:08 +05:30
Simon Sapin
62034b956e Replace usage of deprecated std::cell::Ref::filter_map 2016-03-07 18:53:38 +01:00
Ms2ger
3a73a2452e Update CSS tests to revision 5366390418de396cdf7c9d45fbaedbed81dc4a61 2016-03-07 18:44:47 +01:00
Rahul Sharma
9e887157e3 tidy fix for longer single line imports 2016-03-07 23:04:03 +05:30
Anthony Ramine
c424d54c67 Properly use "pub extern crate" 2016-03-07 17:13:46 +01:00
bors-servo
1330e7e58f Auto merge of #9892 - Ms2ger:imagecache, r=jdm
ImageCache cleanup.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9892)
<!-- Reviewable:end -->
2016-03-07 21:30:30 +05:30
Arpad Borsos
c880c97b1b rename deprecated utf16_units to encode_utf16 2016-03-07 16:14:04 +01:00
Simon Sapin
f787e1a07b 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`.
2016-03-07 15:03:32 +01:00
bors-servo
dedae5e459 Auto merge of #9891 - cengizIO:master, r=ecoal95
Replace deprecated fs::walk_dir call with walkdir crate

While working on #8351 I discovered that deprecated fs::walk_dir is used in android support files.

This is my first PR to any Rust project, so any constructive feedback is more than welcome!

Thanks

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9891)
<!-- Reviewable:end -->
2016-03-07 19:16:02 +05:30
Ms2ger
d5b559c37c Bonus fix: Rewrite get_image_or_meta_if_available in an imperative style.
I believe this is more readable.
2016-03-07 14:30:23 +01:00
Ms2ger
1064c3dca0 Move the receivers out of the ImageCache struct. 2016-03-07 14:29:49 +01:00
Ms2ger
9c75ddfe66 Inline ImageCache::do_run. 2016-03-07 14:15:47 +01:00
Ms2ger
9c4f2265d0 Use the select! macro in ImageCacheThread. 2016-03-07 14:13:33 +01:00
Ms2ger
6de127a343 Move the ImageCacheThread's closure into a function. 2016-03-07 14:08:41 +01:00
Cengiz Can
12100edffc Replace deprecated fs::walk_dir call with walkdir crate 2016-03-07 14:12:05 +02:00
bors-servo
743e0c9c87 Auto merge of #9888 - servo:rustup, r=Manishearth
Update to Rust 2016-03-05

Blocked by https://github.com/Manishearth/rust-tenacious/pull/14.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9888)
<!-- Reviewable:end -->
2016-03-06 16:33:42 +05:30
Anthony Ramine
7c1dd54895 Update to Rust 2016-03-05 2016-03-06 10:36:49 +01:00
bors-servo
97e29f3f2c Auto merge of #9884 - Manishearth:appveyor-homu, r=metajack
Make appveyor run on auto branch

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9884)
<!-- Reviewable:end -->
2016-03-06 09:43:42 +05:30
bors-servo
64fb09ca2d Auto merge of #9800 - Wafflespeanut:node_attrs, r=nox
fixed the last failing test in dom/nodes/attributes.html

r? @nox

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9800)
<!-- Reviewable:end -->
2016-03-05 21:32:46 +05:30
bors-servo
1edabe1673 Auto merge of #9885 - nox:bump-regex, r=ecoal95
Bump regex and regex-syntax

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9885)
<!-- Reviewable:end -->
2016-03-05 20:28:25 +05:30
Anthony Ramine
c5af2f27c3 Bump regex and regex-syntax 2016-03-05 15:51:51 +01:00
Manish Goregaokar
5bd795fc0a Make appveyor run on auto branch 2016-03-05 17:55:26 +05:30
Ravi Shankar
aaf2888d0b Updated SupportedPropertyNames in NamedNodeMap to match spec 2016-03-05 17:21:01 +05:30
bors-servo
02e75f6d86 Auto merge of #9880 - larsbergstrom:cargoup, r=SimonSapin
Update cargo

Confirmed locally that it fixes #9794 (thanks, @alexcrichton!).

r? @nox @metajack

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9880)
<!-- Reviewable:end -->
2016-03-05 12:48:03 +05:30