Commit graph

15954 commits

Author SHA1 Message Date
Suvish Varghese Thoovamalayil
de68820e76 Remove unused cell_extras feature gates. Fixes #9912 2016-03-08 16:56:13 +05:30
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
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
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
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
bors-servo
6e3e41ef1a Auto merge of #9883 - glennw:update-ipc-channel, r=frewsxcv
Update ipc-channel.

Fixes #9882.
2016-03-05 11:06:06 +05:30
Glenn Watson
52fa387383 Update ipc-channel.
Fixes #9882.
2016-03-05 15:34:00 +10:00
bors-servo
69f52d0f21 Auto merge of #9873 - metajack:mach-run-bhtml, r=ecoal95
Adds browserhtml dependency and mach run --browserhtml

This makes the experience for testing browserhtml super easy.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9873)
<!-- Reviewable:end -->
2016-03-05 04:33:18 +05:30
Jack Moffitt
96cbe7ac97 Add --browserhtml/-b command to ./mach run
This will run Servo with browser.html. We use the latest package in the
dependency tree if there are multiple copies, since there is no way for
Cargo to tell us which one is canonical.
2016-03-04 15:07:32 -07:00
Lars Bergstrom
f2e7061522 Update cargo 2016-03-04 15:56:25 -06:00
bors-servo
49e9594fb9 Auto merge of #9852 - bholley:stylo_uplifts_3, r=bholley
Stylo uplifts 3

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9852)
<!-- Reviewable:end -->
2016-03-05 01:48:35 +05:30
Bobby Holley
dbbbebd664 Parse ServoBindings.h as C++.
This allows us to remove the bool-as-int contortions we were doing before.
2016-03-04 11:46:35 -08:00
Bobby Holley
23ace489b9 Binding generator tooling.
This should make it a lot easier for people to bootstrap and run the binding generator.
2016-03-04 11:46:33 -08:00
Bobby Holley
4da1171474 Stop using servo UA stylesheets for geckolib.
Gecko will provide these. This also removes the need to reference
the servo resource directory.
2016-03-04 11:46:32 -08:00
bors-servo
b46d2e2737 Auto merge of #9875 - servo:overflow-clip-box, r=mbrubeck
Hide overflow of <input>

Fix #9477

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9875)
<!-- Reviewable:end -->
2016-03-05 00:53:33 +05:30
Simon Sapin
79656278f2 Hide overflow of <input>, fix #9477 2016-03-04 19:48:19 +01:00
Simon Sapin
142610265e Add the -servo-overflow-clip-box property. 2016-03-04 19:47:20 +01:00
Simon Sapin
7126fdfc10 Add a mechanism for "internal" CSS properties
… that can only be parsed in a user-agent stylesheet.
2016-03-04 19:46:54 +01:00
Jack Moffitt
1615f173f7 Add browserhtml package 2016-03-04 10:23:27 -07:00
bors-servo
b4cae84e9e Auto merge of #9872 - servo:cursor-text, r=nox
Use `cursor: text` in text input areas

… not just over text.

Fix #9486.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9872)
<!-- Reviewable:end -->
2016-03-04 20:14:56 +05:30
Simon Sapin
428dab1069 Use cursor: text in text input areas
… not just over text.

Fix #9486.
2016-03-04 15:44:39 +01:00
bors-servo
c37a086660 Auto merge of #9786 - peterjoel:fix_codegen_is_array_like, r=jdm
Fixed compile error in generated code, when webidl constructors have same number of args

One of the ways that generated code differentiates constructors is by comparing if the args are array-like. The generated code was calling a function `IsArrayLike` that no longer exists. I re-implemented it with a more rust-like naming scheme.

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