Commit graph

15311 commits

Author SHA1 Message Date
Corey Farwell
768226230d Fix travis by making manifest_changed.sh pass 2015-11-23 17:39:27 -05:00
bors-servo
711f516d80 Auto merge of #8639 - bholley:generalize_wrappers2, r=pcwalton
Use associated types for layout wrapper trait, and generalized ThreadSafeLayoutFoo

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8639)
<!-- Reviewable:end -->
2015-11-24 04:01:32 +05:30
Tom Schuster
0e0e051f3f Implement document.domain getter 2015-11-23 15:45:02 -05:00
bors-servo
6449cd09eb Auto merge of #8542 - KiChjang:style-whitespace-methods, r=SimonSapin
Extend whitespace::T with additional helper methods

Fixes #8128.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8542)
<!-- Reviewable:end -->
2015-11-23 23:39:07 +05:30
bors-servo
6ef6d664aa Auto merge of #8656 - servo:canvas-currentcolor, r=SimonSapin
Implement currentColor for Canvas colors

Fixes #7120.

This is #7120 by @dzbarsky, with one tidy error fixed.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8656)
<!-- Reviewable:end -->
2015-11-23 23:09:57 +05:30
Simon Sapin
18ecf54d10 Tidy. 2015-11-23 16:16:35 +01:00
bors-servo
e3eee5a41b Auto merge of #8597 - r0e:testing, r=Manishearth
Fix for #8593 'loop..match' should be 'while let'

As per #8593.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8597)
<!-- Reviewable:end -->
2015-11-23 08:18:20 +05:30
bors-servo
f6591a3d9e Auto merge of #8649 - Wafflespeanut:I_TRIED, r=SimonSapin
Moving Servo's cry message!

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8649)
<!-- Reviewable:end -->
2015-11-23 03:21:57 +05:30
Ravi Shankar
eb85d58ee4 Moving Servo's cry message! 2015-11-23 02:52:38 +05:30
Ms2ger
576c4f7e4b Move simple_inline_default.html to wpt reftests. 2015-11-22 15:39:10 +01:00
Ms2ger
7254a25fc5 Move simple.html to wpt reftests. 2015-11-22 15:34:52 +01:00
Ms2ger
2450694eee Move positioning_margin.html to wpt reftests. 2015-11-22 15:24:28 +01:00
Ms2ger
e228e29289 Move overflow.html to wpt reftests. 2015-11-22 15:22:00 +01:00
Ms2ger
ea118c56d6 Move multiple_external.html to wpt reftests. 2015-11-22 15:16:29 +01:00
Ms2ger
4cb6a87992 Move hide_layers1.html and hide_layers2.html to wpt reftests. 2015-11-22 15:14:37 +01:00
Ms2ger
4466fc3537 Move hide_and_show.html to wpt reftests. 2015-11-22 15:12:08 +01:00
Ms2ger
19c4991c55 Move hide_after_load.html to wpt reftests. 2015-11-22 15:10:15 +01:00
Ms2ger
833cd524e0 Move bg_color.html to wpt reftests. 2015-11-22 15:08:05 +01:00
bors-servo
6ab205a97e Auto merge of #8644 - fitzgen:remove-unused-imports-in-scropt-dom-node, r=eefriedman
Remove two unused imports from components/script/dom/node.rs

Fixes these two compiler warnings:

```
   Compiling servo v0.0.1 (file:///Users/fitzgen/src/servo/components/servo)
/Users/fitzgen/src/servo/components/script/dom/node.rs:26:65: 26:78 warning: unused import, #[warn(unused_imports)] on by default
/Users/fitzgen/src/servo/components/script/dom/node.rs:26 use dom::bindings::inheritance::{Castable, CharacterDataTypeId, ElementTypeId};
                                                                                                                          ^~~~~~~~~~~~~
/Users/fitzgen/src/servo/components/script/dom/node.rs:27:53: 27:70 warning: unused import, #[warn(unused_imports)] on by default
/Users/fitzgen/src/servo/components/script/dom/node.rs:27 use dom::bindings::inheritance::{EventTargetTypeId, HTMLElementTypeId, NodeTypeId};
                                                                                                              ^~~~~~~~~~~~~~~~~
```

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8644)
<!-- Reviewable:end -->
2015-11-22 17:06:48 +05:30
bors-servo
3199eace98 Auto merge of #8642 - jmr0:master, r=jdm
making internal pub enums, functions, and structs private

Refactoring to fix #8620

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8642)
<!-- Reviewable:end -->
2015-11-22 16:15:36 +05:30
Nick Fitzgerald
bd857cb1cb Remove two unused imports from components/script/dom/node.rs
Fixes these two compiler warnings:

```
   Compiling servo v0.0.1 (file:///Users/fitzgen/src/servo/components/servo)
/Users/fitzgen/src/servo/components/script/dom/node.rs:26:65: 26:78 warning: unused import, #[warn(unused_imports)] on by default
/Users/fitzgen/src/servo/components/script/dom/node.rs:26 use dom::bindings::inheritance::{Castable, CharacterDataTypeId, ElementTypeId};
                                                                                                                          ^~~~~~~~~~~~~
/Users/fitzgen/src/servo/components/script/dom/node.rs:27:53: 27:70 warning: unused import, #[warn(unused_imports)] on by default
/Users/fitzgen/src/servo/components/script/dom/node.rs:27 use dom::bindings::inheritance::{EventTargetTypeId, HTMLElementTypeId, NodeTypeId};
                                                                                                              ^~~~~~~~~~~~~~~~~
```
2015-11-21 21:45:55 -08:00
bors-servo
ed65fd2970 Auto merge of #8637 - alex:disable-ssl, r=Manishearth
Always disable SSLv2 and SSLv3.

These protocols have serious known weakness and our turned off in other browsers.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8637)
<!-- Reviewable:end -->
2015-11-22 09:56:38 +05:30
jmr0
aef98c5210 making internal pub enums, functions, and structs private 2015-11-21 20:26:31 -05:00
bors-servo
a2be34365a Auto merge of #8441 - eefriedman:needs-reflow, r=bholley
Make the needs_reflow method actually work correctly.

The document node is always dirty because layout never clears the bit;
instead, check the dirty bit of the root element.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8441)
<!-- Reviewable:end -->
2015-11-22 05:44:08 +05:30
Eli Friedman
31c013858f Make the needs_reflow method actually work correctly.
The document node is always dirty because layout never clears the bit;
instead, check the dirty bit of the root element.
2015-11-21 15:49:58 -08:00
bors-servo
d339d6d3d9 Auto merge of #7923 - eefriedman:url-encoded-test, r=nox
Add test for URL-encoded form submission.

This turned out to be a little more complicated than I was hoping...
but I can't really think of a better way to do this.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7923)
<!-- Reviewable:end -->
2015-11-22 05:03:25 +05:30
Eli Friedman
8c93046b1c Add test for URL-encoded form submission.
This turned out to be a little more complicated than I was hoping...
but I can't really think of a better way to do this.
2015-11-21 15:30:11 -08:00
David Zbarsky
8408891ec5 Parse currentColor as Canvas2D color 2015-11-21 11:59:19 -08:00
Bobby Holley
afa3834f3b Rename ThreadSafeLayoutFoo to ServoThreadSafeLayoutFoo and TThreadSafeLayoutFoo to ThreadSafeLayoutFoo. 2015-11-21 11:26:49 -08:00
Bobby Holley
a85ae24c51 Hoist exported ThreadSafeLayoutFoo functionality into traits. 2015-11-21 11:25:20 -08:00
Bobby Holley
05db7b3652 Use associated types instead of wrapper types. 2015-11-21 10:18:02 -08:00
Bobby Holley
516619b230 Make the LayoutElement trait implement TElementAttributes. 2015-11-21 10:18:01 -08:00
Xtreak
b3da8d26ef Clarify servo as parallel browser engine
In the repo title it says servo is a "parallel browser engine" whereas readme says its a "parallel browser". It will be helpful to add a more clear title.
2015-11-21 23:17:20 +05:30
Alex Gaynor
2d662aa4e7 Always disable SSLv2 and SSLv3.
These protocols have serious known weakness and our turned off in other browsers.
2015-11-21 12:11:48 -05:00
bors-servo
ea690a2dff Auto merge of #8622 - frewsxcv:url-plugin, r=SimonSapin
Implement 'url!(..)' macro

https://github.com/servo/rust-url/issues/136

https://github.com/servo/rust-url/pull/137

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8622)
<!-- Reviewable:end -->
2015-11-21 21:10:52 +05:30
bors-servo
ec3437f4e3 Auto merge of #8611 - alex:default-ciphers, r=jvehent
Fixed #8594 -- use a more modern default cipher suite list by default

Fixes #8594.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8611)
<!-- Reviewable:end -->
2015-11-21 20:42:11 +05:30
bors-servo
f2fe1171d2 Auto merge of #8601 - mfeckie:feature/manifest-diff-ci-check, r=jdm
Check if MANIFEST.json changes as per #8587

Adds a script which checks if either of the MANIFEST.json files change in `test/wpt` in response to #8587

- Addresses currently incorrect MANIFEST.json
- Adds checking script

PR for saltfs to add to CI checks to follow (https://github.com/servo/saltfs/pull/163)

https://reviewable.io/reviews/servo/servo/8601

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8601)
<!-- Reviewable:end -->
2015-11-21 20:13:10 +05:30
bors-servo
b8586025d2 Auto merge of #8636 - jdm:disableintermittent, r=Manishearth
Disable Document-createElement-namespace.html while #8614 is still a …

…problem.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8636)
<!-- Reviewable:end -->
2015-11-21 19:44:19 +05:30
Josh Matthews
29731070b7 Disable Document-createElement-namespace.html while #8614 is still a problem. 2015-11-21 09:01:30 -05:00
Corey Farwell
f34da4120d Implement 'url!(..)' macro
https://github.com/servo/rust-url/issues/136

https://github.com/servo/rust-url/pull/137
2015-11-21 08:15:56 -05:00
bors-servo
3eef814c4d Auto merge of #8635 - Ms2ger:test-ref, r=nox
Use wptrunner for some old-style reftests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8635)
<!-- Reviewable:end -->
2015-11-21 16:51:37 +05:30
bors-servo
28582bb9f5 Auto merge of #8633 - rilut:remove-node-is-anchor-element, r=nox
Remove 'Node::is_anchor_element'

Should fixes #8631.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8633)
<!-- Reviewable:end -->
2015-11-21 16:01:37 +05:30
bors-servo
7ccdc42a66 Auto merge of #8627 - rilut:refactor-script, r=Ms2ger
Move SetDOMProxyInformation() call from script_task.rs to script/lib.rs

Actually, I'm not sure whether to move `unsafe extern "C" fn shadow_check_callback` from script_task.rs to lib.rs or to keep it there. cc: @wenderen

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8627)
<!-- Reviewable:end -->
2015-11-21 15:26:38 +05:30
Ms2ger
bd25225cd2 Move viewport_meta.html and viewport_rule.html to wpt reftests. 2015-11-21 10:21:02 +01:00
Ms2ger
544568b16f Move text_decoration_underline_subpx_a.html to wpt reftests. 2015-11-21 10:21:01 +01:00
Ms2ger
9a8ac63fdc Move text_decoration_smoke_a.html to wpt reftests. 2015-11-21 10:21:00 +01:00
Ms2ger
3d5e1130d5 Move root_display_inline_a.html and root_display_without_style_a.html to wpt reftests. 2015-11-21 10:08:32 +01:00
Ms2ger
ba62957368 Move position_fixed_tile_edge.html, position_fixed_tile_edge_2.html, and position_fixed_tile_edge_3.html to wpt reftests. 2015-11-21 10:05:38 +01:00
bors-servo
585d2d5c8c Auto merge of #8621 - jgraham:webdriver_css, r=jdm
Add support for getting an element's computed style through WebDriver.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8621)
<!-- Reviewable:end -->
2015-11-21 11:09:50 +05:30
Martin Feckie
80721a64d0 Add to manifest checks to .travis.yml 2015-11-21 15:45:49 +11:00