Commit graph

14672 commits

Author SHA1 Message Date
bors-servo
7babf4a3ad Auto merge of #7992 - connorimes:platform-rlimit-nofailing, r=larsbergstrom
Set a reasonable max count on open files and don't panic if set fails



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7992)
<!-- Reviewable:end -->
2015-10-13 08:49:56 -06:00
Connor Imes
fd710eebc1 Set a reasonable max count on open files and don't panic if set fails 2015-10-13 09:04:40 -05:00
bors-servo
efdaf5e7e5 Auto merge of #7990 - dagnir:formatting-fix, r=Manishearth
Add newline so code sample is parsed correctly.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7990)
<!-- Reviewable:end -->
2015-10-13 02:12:28 -06:00
Dongie Agnir
61fe89d0e1 Add newline so code sample is parsed correctly. 2015-10-12 18:01:56 -10:00
bors-servo
eb7039d04d Auto merge of #7987 - frewsxcv:clippy, r=Manishearth
Fix issues found by rust-clippy



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7987)
<!-- Reviewable:end -->
2015-10-12 18:33:30 -06:00
Corey Farwell
20beaf5af3 Fix issues found by rust-clippy 2015-10-12 20:21:49 -04:00
bors-servo
0f597d3890 Auto merge of #7933 - mbrubeck:piston-image, r=glennw
Replace libpng and stb_image with PistonDevelopers/image

Fixes #3368. r? @glennw 

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7933)
<!-- Reviewable:end -->
2015-10-12 15:06:31 -06:00
bors-servo
6303126e0c Auto merge of #7957 - simartin:ticket_7905, r=mbrubeck
Issue #7905: Restore "headless" build on not Linux platforms.

Fix https://github.com/servo/servo/issues/7905 by implementing WindowMethods' native_display  in headless mode on "not Linux" platforms.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7957)
<!-- Reviewable:end -->
2015-10-12 12:02:43 -06:00
bors-servo
763aa6303f Auto merge of #7982 - Ms2ger:update-tests, r=Ms2ger
Update tests



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7982)
<!-- Reviewable:end -->
2015-10-12 10:12:10 -06:00
Ms2ger
c8c377df9f Update web-platform-tests to revision 4bba821de44da9ed47c2562f995a0da6eecc177b 2015-10-12 17:53:50 +02:00
Ms2ger
af637640ae Update CSS tests to revision 8cf31317e387a3bc22febb39ca3df8180a54b13e 2015-10-12 17:53:47 +02:00
bors-servo
3ad57be632 Auto merge of #7980 - Ms2ger:test-ref, r=jdm
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/7980)
<!-- Reviewable:end -->
2015-10-12 08:53:13 -06:00
Ms2ger
d8c72b3d0b Move basic_width_px.html to wpt reftests. 2015-10-12 16:25:45 +02:00
Ms2ger
0267ec7240 Move background_style_attr.html to wpt reftests. 2015-10-12 16:19:10 +02:00
Ms2ger
d45c7b52ec Move background_size_zero_a.html to wpt reftests. 2015-10-12 16:10:07 +02:00
Ms2ger
ecf6f77ef9 Move background_size_shorthand_a.html to wpt reftests. 2015-10-12 15:54:37 +02:00
Ms2ger
a0726af56b Move background_size_a.html to wpt reftests. 2015-10-12 15:50:59 +02:00
bors-servo
5ffeb3b95b Auto merge of #7921 - glennw:subpage-fixes-2, r=jdm
Update RemoveIFrame to use pipeline id rather than subpage.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7921)
<!-- Reviewable:end -->
2015-10-12 07:49:26 -06:00
Ms2ger
efab12af6c Move background_repeat_y_a.html to wpt reftests. 2015-10-12 15:42:56 +02:00
Ms2ger
14c2225189 Move background_repeat_x_a.html to wpt reftests. 2015-10-12 15:40:52 +02:00
Ms2ger
1b79f17b34 Move background_repeat_none_a.html to wpt reftests. 2015-10-12 15:38:08 +02:00
Ms2ger
b38426692a Move background_repeat_both_a.html to wpt reftests. 2015-10-12 15:34:16 +02:00
Ms2ger
98328fdfb2 Move background_position_shorthand.html to wpt reftests. 2015-10-12 15:30:24 +02:00
bors-servo
ac1b595609 Auto merge of #7976 - frewsxcv:clippy, r=jdm
Cleanup code that was warned by rust-clippy

[whitespace agnostic diff](https://github.com/servo/servo/pull/7976/files?w=1)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7976)
<!-- Reviewable:end -->
2015-10-12 04:37:42 -06:00
bors-servo
8dff3be956 Auto merge of #7973 - creativcoder:fix_issue_7969, r=jdm
convert match to if let for location header check #7969

@jdm Hi, very eager for my first pull request to Servo. Please review the changes.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7973)
<!-- Reviewable:end -->
2015-10-12 03:13:28 -06:00
bors-servo
71c5587856 Auto merge of #7961 - connorimes:arm-crate-updates, r=jdm
Update dependencies with fixes for native ARM builds



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7961)
<!-- Reviewable:end -->
2015-10-12 01:42:25 -06:00
Rahul Sharma
4b363d2a0e convert match to if let for location header check #7969 2015-10-12 10:27:20 +05:30
Glenn Watson
8d312b0f0c Convert RemoveIFrame message to use pipeline id. 2015-10-12 14:14:31 +10:00
Glenn Watson
736730f2e7 Remove unused subpage senders map. 2015-10-12 11:13:30 +10:00
Corey Farwell
e3aabd0bc5 DRY out conditional logic in CORS header matching 2015-10-11 20:55:01 -04:00
Corey Farwell
81e034885b Cleanup code that was warned by rust-clippy 2015-10-11 20:47:45 -04:00
Connor Imes
d14888f039 Update dependencies with fixes for native ARM builds 2015-10-11 23:15:53 +00:00
bors-servo
292dbfe809 Auto merge of #7854 - frewsxcv:htmltablesectionelement-insertrow-deleterow, r=nox
Implement deleteRow and insertRow for <table> element

Continued from #6936

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7854)
<!-- Reviewable:end -->
2015-10-11 16:44:13 -06:00
bors-servo
9c1cb9f61e Auto merge of #7974 - frewsxcv:travis, r=jdm
Use Travis container-based infra for test-tidy

I wasn't aware one could specify options like `sudo` and `services` on a per build-environment basis. Since the container-based builds are faster than normal builds, we should utilize it for test-tidy

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7974)
<!-- Reviewable:end -->
2015-10-11 09:17:25 -06:00
Corey Farwell
1aed8503b0 Use consistent indentation in YAML file 2015-10-11 11:15:18 -04:00
Corey Farwell
cccf326d12 Use Travis container-based infra for test-tidy 2015-10-11 11:15:13 -04:00
Corey Farwell
3d383f21ae Implement deleteRow and insertRow for <table> element
Continued from #6936
2015-10-11 09:47:46 -04:00
bors-servo
7b904ef6fb Auto merge of #7971 - gkbrk:fix_7970, r=nox
Use typed header API instead of set_raw in set_default_accept_encoding

Fixes #7970

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7971)
<!-- Reviewable:end -->
2015-10-11 03:20:14 -06:00
Gökberk Yaltıraklı
5eeca1f037 Use typed header API instead of set_raw in set_default_accept_encoding 2015-10-11 11:00:03 +03:00
bors-servo
02d8894945 Auto merge of #7958 - frewsxcv:consolidate-magic-number, r=mbrubeck
Consolidate magic number representing max unsigned long



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7958)
<!-- Reviewable:end -->
2015-10-10 15:00:39 -06:00
bors-servo
babeed998d Auto merge of #7953 - frewsxcv:htmldivelement-align, r=mbrubeck
Implement 'align' attribute for <div> elements



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7953)
<!-- Reviewable:end -->
2015-10-10 14:11:33 -06:00
bors-servo
04266f237a Auto merge of #7949 - craftytrickster:map-clone-to-cloned, r=nox
Making map+clone more succinct with cloned

https://github.com/servo/servo/issues/7906

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7949)
<!-- Reviewable:end -->
2015-10-10 13:18:56 -06:00
bors-servo
0f8493a566 Auto merge of #7918 - nox:partialeq-font, r=mbrubeck
Derive PartialEq on the style Font structure

We check the hash first.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7918)
<!-- Reviewable:end -->
2015-10-10 12:26:07 -06:00
Corey Farwell
4dc8fd76ec Consolidate magic number representing max unsigned long 2015-10-10 13:46:11 -04:00
Pierre Chevalier
a6a685e954 Clarify some code in do_create_interface_objects
rval.get() is believed to be always null upon entering this function.
This assumption is verified by the added assertion.
It makes more sense to move the block of code that was moved inside
the if statement which is the only place where it can be initialized.

Fixes #7941.
2015-10-10 18:13:37 +01:00
bors-servo
b34b82537a Auto merge of #7955 - frewsxcv:listing-pre, r=nox
Add 'listing' alias for <pre> elements



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7955)
<!-- Reviewable:end -->
2015-10-10 11:08:14 -06:00
bors-servo
4052a22a1c Auto merge of #7960 - frewsxcv:update-spec-links, r=jdm
Replace usage of old-style WHATWG spec links



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7960)
<!-- Reviewable:end -->
2015-10-10 10:17:52 -06:00
Corey Farwell
9b68d715de Explicitly place '/' before fragment for multipage spec links
This prevents us from 301 redirecting, which could cause the fragment to
get lost
2015-10-10 12:07:10 -04:00
Corey Farwell
85f2b6fc5b Replace usage of old-style WHATWG spec links 2015-10-10 11:55:09 -04:00
Matt Brubeck
a15acef4c8 Don't pass -pie when linking a dylib on gonk 2015-10-10 07:43:26 -07:00