Commit graph

14439 commits

Author SHA1 Message Date
Manish Goregaokar
f8d906be10 Make path_matches match the spec (fixes cookies) 2015-11-30 22:01:33 +05:30
bors-servo
b4213e6d8e Auto merge of #8698 - servo:rustup_2015-11-26, r=Manishearth
Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8698)
<!-- Reviewable:end -->
2015-11-28 12:11:52 +05:30
bors-servo
d50b87edec Auto merge of #8702 - mrobinson:fragments, r=pcwalton
Build Fragments without the RECONSTRUCT_FLOW bit

The RECONSTRUCT_FLOW restyle damage bit shouldn't apply to newly
constructed flow tree elements. It is explicitly removed for Flows, but
not for Fragments. This causes RECONSTRUCT_FLOW to bubble up to Flows
that contain any Fragments at all. Instead explicitly remove the
RECONSTRUCT_FLOW bit when creating a new Fragment.

There isn't a good way to test this currently, but all tests should
continue to pass.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8702)
<!-- Reviewable:end -->
2015-11-28 10:04:28 +05:30
bors-servo
fa7e1d07ff Auto merge of #8688 - Ms2ger:compositing, r=pcwalton
Some compositing cleanup.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8688)
<!-- Reviewable:end -->
2015-11-28 07:26:14 +05:30
bors-servo
c0be03f2af Auto merge of #8701 - nerith:attribute, r=jdm
Remove `#[allow(raw_pointer_derive)]` attributes

The attributes are unused.

Fixes #8699.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8701)
<!-- Reviewable:end -->
2015-11-28 06:07:46 +05:30
Martin Robinson
12db4594dd Build Fragments without the RECONSTRUCT_FLOW bit
The RECONSTRUCT_FLOW restyle damage bit shouldn't apply to newly
constructed flow tree elements. It is explicitly removed for Flows, but
not for Fragments. This causes RECONSTRUCT_FLOW to bubble up to Flows
that contain any Fragments at all. Instead explicitly remove the
RECONSTRUCT_FLOW bit when creating a new Fragment.

There isn't a good way to test this currently, but all tests should
continue to pass.
2015-11-27 22:27:21 +01:00
Brandon Fairchild
341e66f66d Remove #[allow(raw_pointer_derive)] attributes
The attributes are unused.

Fixes #8699.
2015-11-27 14:32:57 -05:00
bors-servo
99223656fb Auto merge of #8675 - GuillaumeGomez:master, r=nox
Add XMLDocument object

Fixes #8000

(Still working on it)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8675)
<!-- Reviewable:end -->
2015-11-27 19:29:04 +05:30
Guillaume Gomez
adf8b359bb Add XMLDocument object 2015-11-27 14:55:41 +01:00
Simon Sapin
8d7d132c93 Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26) 2015-11-27 14:33:29 +01:00
bors-servo
3720e4d5ef Auto merge of #8696 - KiChjang:change-parser-state, r=KiChjang
Use set_plaintext_state instead of plaintext tag

I don't know whether there's an issue reported for for this one.

r? @SimonSapin

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8696)
<!-- Reviewable:end -->
2015-11-27 15:23:46 +05:30
Keith Yeung
14ce62478d Remove failing expectation 2015-11-27 01:46:56 -08:00
bors-servo
d552674ba2 Auto merge of #8697 - Ms2ger:docs, r=SimonSapin
Ensure the bootstrap-rust-docs and doc mach commands agree on the location of the Rust documentation.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8697)
<!-- Reviewable:end -->
2015-11-27 14:49:01 +05:30
Ms2ger
21f532758b Ensure the bootstrap-rust-docs and doc mach commands agree on the location of the Rust documentation. 2015-11-27 09:47:38 +01:00
Keith Yeung
d426dd29d1 Use set_plaintext_state instead of plaintext tag 2015-11-27 00:45:34 -08:00
bors-servo
a515fe320b Auto merge of #8516 - KiChjang:http-fetch-refactor, r=jdm
Refactor http_fetch to reflect the new standard

Partial #4576. The spec is really getting funky now - it's depending more and more on the DOM objects (e.g. prompting the user for authentication using a `Window` object). I think we can just pass in username and password as properties of the `Request` struct though.

I've also added in the async version for http_request.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8516)
<!-- Reviewable:end -->
2015-11-27 11:39:32 +05:30
bors-servo
f13c72d68e Auto merge of #8446 - servo:rustup_20151110, r=SimonSapin+Ms2ger+jdm+Manishearth
Rust upgrade to rustc 1.6.0-nightly (5b4986fa5 2015-11-08)

<s>DO NOT r+ or try+ this</s>

<s>It causes an OOM (https://github.com/rust-lang/rust/issues/29740) and can crash the OS. Probably will set our CI on fire. </s>

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8446)
<!-- Reviewable:end -->
2015-11-27 10:47:00 +05:30
Manish Goregaokar
dc0e467945 Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)
… and libc 0.2 and many other dependencies
2015-11-27 00:15:29 -05:00
bors-servo
bc618b0d53 Auto merge of #8689 - jdm:deps, r=frewsxcv
Remove remaining version-conflict exceptions in tidy.py.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8689)
<!-- Reviewable:end -->
2015-11-27 09:17:54 +05:30
bors-servo
243bc8b6dd Auto merge of #8687 - Ms2ger:ref-21, r=jdm
Remove the css21 tests from test-ref.

These are already running and passing in test-css.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8687)
<!-- Reviewable:end -->
2015-11-27 07:19:16 +05:30
Keith Yeung
7d3eb72a26 Refactor http_fetch to reflect the new standard 2015-11-26 17:12:19 -08:00
bors-servo
4e8c9c9811 Auto merge of #8686 - Ms2ger:test-ref, r=frewsxcv
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/8686)
<!-- Reviewable:end -->
2015-11-27 06:35:15 +05:30
bors-servo
f96e8ce9e8 Auto merge of #8685 - jmr0:master, r=Ms2ger
tidy rule to warn against use of &String and refactoring

Fixes #8681

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8685)
<!-- Reviewable:end -->
2015-11-27 04:48:38 +05:30
bors-servo
f5ef2f4f75 Auto merge of #8682 - jdm:css-error-reporter, r=jdm
Defined new trait ParseErrorReporter and added error_reporter member …

…to ParserContext.

Rebase of #8210.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8682)
<!-- Reviewable:end -->
2015-11-27 03:56:08 +05:30
bors-servo
3614ed74d9 Auto merge of #8679 - jdm:rmprintln, r=larsbergstrom
Fix #8502 by not printing the message which is known to be repeated m…

…illions of times.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8679)
<!-- Reviewable:end -->
2015-11-27 03:26:35 +05:30
bors-servo
86f1ea8a7b Auto merge of #8690 - jdm:disablecanvas, r=SimonSapin
Disable canvas_over_area.html due to frequent timeouts, pending furth…

…er investigation for #8311.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8690)
<!-- Reviewable:end -->
2015-11-27 02:48:12 +05:30
bors-servo
36e60959f4 Auto merge of #8638 - tirkarthi:master, r=Ms2ger
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.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8638)
<!-- Reviewable:end -->
2015-11-27 01:48:21 +05:30
Josh Matthews
ca882762fc Disable canvas_over_area.html due to frequent timeouts, pending further investigation for #8311. 2015-11-26 13:23:38 -05:00
bors-servo
831979d6a7 Auto merge of #8650 - Wafflespeanut:about-404, r=Wafflespeanut
Redirect to an error page on 404!

fixes #7658

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8650)
<!-- Reviewable:end -->
2015-11-26 22:47:03 +05:30
Josh Matthews
c36cbf58e8 Remove remaining version-conflict exceptions in tidy.py. 2015-11-26 11:26:28 -05:00
Ms2ger
b7dab2947f Move stacking_context_position_a.html to wpt reftests. 2015-11-26 16:08:54 +01:00
Ms2ger
9d73b869db Consume self in PrivilegedPipelineContent methods.
This leads to a little bit of copy/paste, but the resulting code should be
quite a bit more efficient.
2015-11-26 10:23:11 +01:00
Ms2ger
8dadd1a420 Take PrivilegedPipelineContent::script_to_compositor_port out of its Option. 2015-11-26 10:17:18 +01:00
Ms2ger
6eff8d6c32 Remove unused PrivilegedPipelineContent::constellation_chan. 2015-11-26 09:51:55 +01:00
Ms2ger
fccd9465de Remove the css21 tests from test-ref.
These are already running and passing in test-css.
2015-11-26 09:37:46 +01:00
Ms2ger
300eb9e8dd Move stacking_context.html to wpt reftests. 2015-11-26 09:11:49 +01:00
Ms2ger
b0243d66a6 Move size_attributes_vertical_writing_mode.html to wpt reftests. 2015-11-26 09:08:11 +01:00
Ms2ger
e2c5143ec7 Move size_attributes.html to wpt reftests. 2015-11-26 09:01:18 +01:00
Ms2ger
3f99612e5d Move simple_inline_width_percentage.html to wpt reftests. 2015-11-26 09:01:17 +01:00
Ms2ger
9889fa2139 Move simple_inline_width_height.html to wpt reftests. 2015-11-26 09:01:16 +01:00
Ms2ger
86f2187e6a Move simple_inline_width.html to wpt reftests. 2015-11-26 09:01:15 +01:00
Ms2ger
1e868aab6f Move simple_inline_min.html to wpt reftests. 2015-11-26 09:01:14 +01:00
Ms2ger
bffde87f78 Move simple_inline_max.html to wpt reftests. 2015-11-26 09:01:13 +01:00
Ms2ger
dbc79eea96 Move simple_inline_height.html to wpt reftests. 2015-11-26 09:01:11 +01:00
Ravi Shankar
b17ca9bdc1 Redirect to an error page when file's not found 2015-11-26 11:20:42 +05:30
jmr0
df49cf2b13 adding tidy rule to warn against use of &String and refactoring instances of &String in codebase 2015-11-25 21:49:12 -05:00
GauriGNaik
996e9e06b2 Defined new trait ParseErrorReporter and added error_reporter member to ParserContext 2015-11-25 18:28:30 -05:00
bors-servo
5e7306bf19 Auto merge of #8598 - g-k:split-scriptmsg, r=KiChjang
Split paint task messages from ScriptMsg

Refs: https://github.com/servo/servo/issues/8592

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8598)
<!-- Reviewable:end -->
2015-11-26 03:02:47 +05:30
Greg Guthe
7668fd0503 Split paint task messages from ScriptMsg
Refs: https://github.com/servo/servo/issues/8592
2015-11-25 14:35:52 -05:00
bors-servo
8efc954531 Auto merge of #8671 - paulrouget:iframe-hit-test, r=pcwalton
Fix clip rect for iframes in hit testing code

Fixes #8080 r? @mrobinson

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8671)
<!-- Reviewable:end -->
2015-11-26 00:39:36 +05:30