Commit graph

16962 commits

Author SHA1 Message Date
bors-servo
1eec5d9f72 Auto merge of #10777 - servo:wpt-20160421, r=Ms2ger
Update web-platform-tests to revision 0a518aaff73532a26e175789f7e75fa99593ac64

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10777)
<!-- Reviewable:end -->
2016-04-21 16:53:18 +05:30
Ms2ger
abcd4b654f Update web-platform-tests to revision 0a518aaff73532a26e175789f7e75fa99593ac64 2016-04-21 12:30:36 +02:00
bors-servo
7e370c4df4 Auto merge of #10710 - Ms2ger:js, r=nox
Update js.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10710)
<!-- Reviewable:end -->
2016-04-21 15:41:44 +05:30
bors-servo
9c172f49d0 Auto merge of #10631 - servo:wptrunner-20160415, r=KiChjang
Update wptrunner.

Fixes #10540.
Fixes #10392.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10631)
<!-- Reviewable:end -->
2016-04-21 13:54:19 +05:30
Ms2ger
5944add496 Note bugs. 2016-04-21 09:45:45 +02:00
Ms2ger
82e2d017ef Update wptrunner. 2016-04-21 09:45:44 +02:00
bors-servo
3bfa4cc741 Auto merge of #10749 - servo:split-mako, r=nox
Prepare related files to make it easier to split up the Mako template

https://github.com/servo/servo/pull/10586#issuecomment-211490049

r? @nox

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10749)
<!-- Reviewable:end -->
2016-04-21 10:38:09 +05:30
bors-servo
46080f31f1 Auto merge of #10766 - jdm:disable_webgl_intermittent, r=emilio
Disable quickCheckAPI-G_I.html until our WebGL APIs deal with random …

…data better. #10656

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10766)
<!-- Reviewable:end -->
2016-04-21 08:37:20 +05:30
Josh Matthews
35636cf43a Disable quickCheckAPI-G_I.html until our WebGL APIs deal with random data better. 2016-04-20 20:05:33 -04:00
bors-servo
75d99eec0f Auto merge of #10661 - DDEFISHER:master, r=jdm
write cookie_jar, hsts_list, auth_cache to file if profile_dir option is present

For Persistent sessions student project

"if the profile directory command-line option is present when the ResourceThread is instructed to exit, serialize the data contained in cookie_storage, hsts_list, and the new HTTP authorization cache, and write the serialized data in separate files inside the profile directory."

and

"perform the same serialization on shutdown for local_data in storage_thread.rs, which represents the LocalStorage API."

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10661)
<!-- Reviewable:end -->
2016-04-21 03:51:56 +05:30
Daniel
d4f63cda5f write cookie_jar, hsts_list, auth_cache, and local_data to file if profile_dir option is present 2016-04-20 18:12:00 -04:00
bors-servo
f051028ee8 Auto merge of #9942 - jdm:load_error, r=ms2ger
Moving the error handling out of network loader

Rebase of #8851. Fixes #8678. Fixes #9944.

<!-- 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/9942)
<!-- Reviewable:end -->
2016-04-20 22:19:22 +05:30
Josh Matthews
d888ed368d Make new test use local resources only. 2016-04-20 12:38:38 -04:00
Ravi Shankar
16096f1a9c Added 'about:sslfail' and a reftest for SSL failure 2016-04-20 12:38:37 -04:00
Ravi Shankar
945a2c66e1 Updated the unit tests to include NetworkError 2016-04-20 12:38:36 -04:00
Ravi Shankar
5e6f32a59b Propagating the load errors from network loader 2016-04-20 12:38:35 -04:00
Simon Sapin
515c5ef540 Tidy 2016-04-20 17:19:25 +02:00
bors-servo
89b276c889 Auto merge of #10750 - servo:num, r=nox
Use num's constituent crates.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10750)
<!-- Reviewable:end -->
2016-04-20 20:40:24 +05:30
Ms2ger
92d8f5c552 Improve mach wpt-upgrade. 2016-04-20 16:06:17 +02:00
Ms2ger
d5993d8af3 Update euclid. 2016-04-20 15:59:27 +02:00
Simon Sapin
bf8edd1596 Be sligthly more verbose about css-properties.json in test-unit 2016-04-20 15:42:45 +02:00
Simon Sapin
2d8c17e600 Extract some Python code from properties.mako.rs into a separate file. 2016-04-20 15:30:27 +02:00
Ms2ger
a8b5ac5e32 Use num-traits in compositing. 2016-04-20 15:30:17 +02:00
Ms2ger
38c10f89f2 Use num-traits in canvas. 2016-04-20 15:27:35 +02:00
Ms2ger
03d4bacc05 Use num-traits in script. 2016-04-20 15:23:43 +02:00
Ms2ger
0f2b83ca0f Use num-traits in style. 2016-04-20 15:11:41 +02:00
bors-servo
8d988f20c1 Auto merge of #9968 - izgzhen:scroll, r=asajeffrey
Implement scroll, scrollLeft, scrollTop and friends, addressing issue #9650

This is a work in progress to solve https://github.com/servo/servo/issues/9650. Thanks a lot for helping the review.

- [x] scroll
- [x] scrollTo
- [x] scrollBy
- [x] scrollTop (setter and getter)
- [x] scrollLeft (setter and getter)

The setters will be implemented in another PR after this is merged.

<!-- 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/9968)
<!-- Reviewable:end -->
2016-04-20 18:40:26 +05:30
Ms2ger
ff042fdf9c Drop style_traits's unused dependency on num. 2016-04-20 15:05:04 +02:00
Ms2ger
91a29b6f92 Use num-traits in range. 2016-04-20 14:59:05 +02:00
Simon Sapin
ff5478cba9 Re-run the geckolib build script if components/style/properties changes. 2016-04-20 14:49:29 +02:00
Simon Sapin
7787b21e30 Move Mako-related files into a new sub-directory.
There’s gonna be more of them.
2016-04-20 14:49:27 +02:00
Ms2ger
552f5ae892 Update num. 2016-04-20 14:46:10 +02:00
Ms2ger
01914bdb77 Update rustc-serialize. 2016-04-20 14:45:31 +02:00
Simon Sapin
b7eb720c74 Merge list_properties.py into build_properties_rs.py 2016-04-20 14:41:42 +02:00
Ms2ger
12b922b67f Update js. 2016-04-20 11:44:32 +02:00
bors-servo
eda711307c Auto merge of #10711 - servo:wpt-20160419, r=Ms2ger
Update web-platform-tests to revision 20fa4a3a71ab7a2f75b4febbe2e98aeeaf022c2b

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10711)
<!-- Reviewable:end -->
2016-04-20 15:07:16 +05:30
Ms2ger
9a90a96cc0 Note the bug for Node::rootNode. 2016-04-20 11:28:22 +02:00
Ms2ger
df8998356b Update web-platform-tests to revision 20fa4a3a71ab7a2f75b4febbe2e98aeeaf022c2b 2016-04-20 11:28:21 +02:00
bors-servo
ae63688db8 Auto merge of #10745 - zakorgy:refaktor, r=nox
Remove extra definition of WHITESPACE under components/util/str.rs

issue: #10709
found another ``` const WHITESPACE: &'static [char] = &['\t', '\n', '\r', ' ']; ``` in ```components/style/viewports.rs ``` maybe this could be replaced too with the ```util::str::HTML_SPACE_CHARACTERS```

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10745)
<!-- Reviewable:end -->
2016-04-20 14:24:53 +05:30
zakorgyula
95bebb9945 Remove extra definition of WHITESPACE under components/util/str.rs 2016-04-20 10:40:57 +02:00
Zhen Zhang
11b12f677b element scroll setters 2016-04-20 08:29:17 +08:00
bors-servo
bebc1dc859 Auto merge of #10725 - frewsxcv:net-cleanup, r=KiChjang
A few minor `net` component cleanups.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10725)
<!-- Reviewable:end -->
2016-04-20 05:30:59 +05:30
Corey Farwell
f0a6403211 Fix incorrect indentation for line continuation. 2016-04-19 19:36:17 -04:00
Corey Farwell
a10b574d44 Flatten and cleanup ConstellationListener::is_cancelled. 2016-04-19 19:36:16 -04:00
Corey Farwell
16be0640a8 Refactor loop into a while loop. 2016-04-19 19:36:15 -04:00
Corey Farwell
4618ad6b73 More idiomatic char retrieval from String. 2016-04-19 19:36:12 -04:00
bors-servo
82873d688e Auto merge of #10718 - mbrubeck:trace, r=jdm
Lower the logging level of a really chatty fn

Reduces the amount of spew when running with settings like `RUST_LOG=script=debug`.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10718)
<!-- Reviewable:end -->
2016-04-20 03:36:52 +05:30
bors-servo
64b0dafde8 Auto merge of #10717 - pcwalton:wr-overflow-scroll, r=glennw
layout: Implement support for `overflow: scroll` in WebRender.

Requires a WebRender upgrade.

r? @glennw

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10717)
<!-- Reviewable:end -->
2016-04-20 02:55:44 +05:30
Patrick Walton
63279c316b layout: Implement support for overflow: scroll in WebRender.
Includes a WebRender upgrade.

Improves Twitter.
2016-04-19 14:13:13 -07:00
bors-servo
a129ce1bcc Auto merge of #10715 - edunham:tidy-licenses, r=larsbergstrom
Allow another wording of apache2/MIT (used by gaol)

r? @larsbergstrom

need this for https://github.com/servo/servo/issues/10636

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10715)
<!-- Reviewable:end -->
2016-04-20 02:00:16 +05:30