bors-servo
8b855e4456
Auto merge of #9160 - nerith:spec, r=jdm
...
Update FileAPI spec links
The links in components/script/dom/blob.rs were pointing to the old location.
Fixes #9157 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9160 )
<!-- Reviewable:end -->
2016-01-06 03:04:21 +05:30
bors-servo
e3dd36f0f3
Auto merge of #9159 - saneyuki:9158, r=jdm
...
gfx: handle the ResponseAction::ResponseComplete error case in font_cache_task
Fix #9158
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9159 )
<!-- Reviewable:end -->
2016-01-06 02:29:26 +05:30
Brandon Fairchild
b5e121a312
Update FileAPI spec links
...
The links in components/script/dom/blob.rs were pointing
to the old location.
Fixes #9157 .
2016-01-05 15:48:30 -05:00
bors-servo
4ab1cdece6
Auto merge of #8970 - ecoal95:webgl-array-buffer-data, r=jdm
...
webgl: Make a general way to get data from a JS array buffer view
This fixes an invalid length being reported from
`float32_array_to_slice` (which used the byte length), and also to
generalize getting data from a JS array buffer view, to reduce code
duplication.
The pending type safety issues, like where we could send a `UInt16Array`
where we expect a `Float32` one, should be solved by IDL bindings in
some cases, like `uniform[n]fv` or `vertexAttrib[n]fv`, and with extra
checks in others, like in the pending `texImage2D(..., ArrayBufferView)`.
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8970 )
<!-- Reviewable:end -->
2016-01-06 01:54:16 +05:30
Tetsuharu OHZEKI
574f934314
gfx: handle the ResponseAction::ResponseComplete error case in font_cache_task
2016-01-06 04:59:10 +09:00
bors-servo
1ea2341a5d
Auto merge of #9153 - nikkisquared:http_network_fetch, r=jdm
...
Partial implementation of HTTP-network Fetch step
I've been working on making a partial implementation of HTTP-network Fetch[1] so that I can begin testing the entire Fetch protocol as implemented in Servo. The empty steps are intentionally so, including the incomplete Step 5, which I started without realizing I don't need to do basic testing.
[1] https://fetch.spec.whatwg.org/#http-network-fetch
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9153 )
<!-- Reviewable:end -->
2016-01-06 00:46:17 +05:30
Nikki
af310f7874
minimal implementation of http_network_fetch for testing purposes
2016-01-05 12:14:07 -07:00
bors-servo
e94a530597
Auto merge of #8565 - gsnedders:more_css_module_tests, r=larsbergstrom
...
Enable more CSS module tests
As noted, this excludes Fonts, on the assumption #8374 will land first. This should get us testing every property we support, I think.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8565 )
<!-- Reviewable:end -->
2016-01-05 15:48:35 +05:30
bors-servo
b7a3906664
Auto merge of #9128 - adrianheine:patch-1, r=jdm
...
Add autoconf to build dependencies
`autoheader` from `autoconf` was necessary for the build on my system.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9128 )
<!-- Reviewable:end -->
2016-01-05 06:00:30 +05:30
Geoffrey Sneddon
5845a60aaf
Reorder CSS tests to be in alphabetical order.
2016-01-04 21:46:53 +00:00
Geoffrey Sneddon
756d745cb8
Enable CSS tests for all modules we partially support.
...
(Except Fonts, on the assumption #8374 will land first.)
2016-01-04 21:46:52 +00:00
bors-servo
ea4206e362
Auto merge of #9150 - mbrubeck:run-android, r=larsbergstrom
...
Make "mach run" use --android by default when enabled in .servobuild
When `.servobuild` has `android = true`, the `mach run` command should default to running on Android.
r? @larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9150 )
<!-- Reviewable:end -->
2016-01-05 01:22:53 +05:30
Matt Brubeck
b9fc84ddcc
Use build.android config in mach run
2016-01-04 10:52:06 -08:00
bors-servo
f3075d1319
Auto merge of #9110 - bholley:hoist_matching_and_animation, r=SimonSapin
...
Hoist the rest of css/matching.rs (and its dependencies) into style/.
Slowly but surely.
This goes on top of #9103 .
Fixes #9103 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9110 )
<!-- Reviewable:end -->
2016-01-04 23:34:35 +05:30
Bobby Holley
513a75d86a
Hoist the rest of css/matching.rs into style/.
2016-01-04 09:41:31 -08:00
Bobby Holley
94b0789a5f
Remove the dependency of css/matching.rs on SharedLayoutContext.
2016-01-04 09:38:04 -08:00
Bobby Holley
08f2a24552
Remove the dependency of css/matching.rs on concrete RestyleDamage.
...
We can make this easier by inlining helper method implementations in the traits themselves,
which makes the code more compact as a nice side-effect.
2016-01-04 09:38:04 -08:00
Bobby Holley
27987c3bb4
Introduce a concept of restyle damage to the style system.
...
We can't hoist RestyleDamage itself, because it's very layout-dependent. But this
should be enough to let us hoist the things we need.
2016-01-04 09:38:04 -08:00
Bobby Holley
947134949a
Refactor parallel dom traversal to be agnostic to the processing steps themselves.
2016-01-04 09:38:04 -08:00
Emilio Cobos Álvarez
d30f05554b
conversions: Make a is_type_compatible
method for ArrayBufferViews.
2016-01-04 15:51:01 +01:00
Emilio Cobos Álvarez
43d395a682
conversions: Add a checked version to array_buffer_view_data
2016-01-04 15:29:24 +01:00
Emilio Cobos Álvarez
9ad49c8aa1
conversion: Extrapolate array_buffer_view_data
...
And use it instead of the raw jsapi calls.
2016-01-04 15:19:29 +01:00
Emilio Cobos Álvarez
4d32444bf7
webgl: Unify accessing ArrayBufferView objects
...
This fixes an invalid length being reported from
float32_array_to_slice (which used the byte length), and also to
generalize getting data from a JS array buffer view, to reduce code
duplication.
The pending type safety issues, like where we could send a UInt16Array
where we expect a Float32 one, should be solved by IDL bindings in
some cases, like uniform[n]fv or vertexAttrib[n]fv, and with extra
checks in others, like in the pending texImage2D(..., ArrayBufferView).
2016-01-04 13:58:49 +01:00
bors-servo
5ad9207a99
Auto merge of #9076 - Ms2ger:viewport, r=jgraham
...
Add support for viewport size adjustments in wptrunner.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9076 )
<!-- Reviewable:end -->
2016-01-04 14:46:16 +05:30
Ms2ger
796c77df33
Move viewport_percentage_vw_vh_a.html and viewport_percentage_vw_vh_b.html to wpt reftests.
2016-01-04 10:15:59 +01:00
Ms2ger
797b21eaf1
Move viewport_percentage_vmin_vmax_a.html and viewport_percentage_vmin_vmax_b.html to wpt reftests.
2016-01-04 09:58:15 +01:00
Ms2ger
1619a908b3
Add support for viewport size adjustments in wptrunner.
2016-01-04 09:58:14 +01:00
bors-servo
ee6c5ae2fb
Auto merge of #9138 - nox:enable-canvas-linestyles-linecap-001, r=frewsxcv
...
Enable /canvas_linestyles_linecap_001.htm (fixes #5714 )
CanvasDrawingStyles.lineCap was implemented and the test passes now.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9138 )
<!-- Reviewable:end -->
2016-01-04 02:30:15 +05:30
bors-servo
1096183cce
Auto merge of #9146 - GuillaumeGomez:generate_partial_eq, r=nox
...
Generate PartialEq automatically
r? @nox
Fixes #8804
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9146 )
<!-- Reviewable:end -->
2016-01-04 00:37:10 +05:30
Guillaume Gomez
99ac1a81cc
Generate PartialEq automatically
2016-01-03 18:07:09 +01:00
bors-servo
99e0cc76d7
Auto merge of #9125 - nox:enable-type-change-state, r=jdm
...
Enable again /the-input-element/type-change-state.html.ini (fixes #3657 )
It doesn't seem to intermittently timeout anymore.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9125 )
<!-- Reviewable:end -->
2016-01-03 21:26:02 +05:30
bors-servo
efb145e744
Auto merge of #9139 - nox:enable-canvas-compositing-globalcompositeoperation-001, r=frewsxcv
...
Enable canvas_compositing_globalcompositeoperation_001.htm (fixes #5803 )
This always pass now.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9139 )
<!-- Reviewable:end -->
2016-01-03 20:32:34 +05:30
bors-servo
e13a25d022
Auto merge of #9133 - nox:enable-xmlhttprequest-timeout-worker-twice, r=jdm
...
Enable xmlhttprequest-timeout-worker-twice.html (fixes #4041 )
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9133 )
<!-- Reviewable:end -->
2016-01-03 17:16:37 +05:30
bors-servo
8cecf4de92
Auto merge of #9129 - frewsxcv:update-wpt-return-code, r=jgraham
...
Fix incorrect return code for 'update-wpt' mach command
`mach update-wpt` should return 1 if it exits in an unclean state
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9129 )
<!-- Reviewable:end -->
2016-01-03 15:19:31 +05:30
bors-servo
336bbd67ba
Auto merge of #9141 - nox:enable-canvas-complexshapes, r=jdm
...
Enable canvas_complexshapes_*_001.htm (fixes #6748 , #6780 )
Serde landed bincode support, so we can probably enable these again.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9141 )
<!-- Reviewable:end -->
2016-01-03 13:56:04 +05:30
bors-servo
0d3ff45f05
Auto merge of #9140 - nox:enable-canvas-state-restore-001, r=jdm
...
Enable canvas_state_restore_001.htm (fixes #5764 )
The test now always pass.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9140 )
<!-- Reviewable:end -->
2016-01-03 13:17:38 +05:30
bors-servo
4a141fb63f
Auto merge of #9137 - iszak:issue-9135, r=nox
...
Fixes https://github.com/servo/servo/issues/9135
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9137 )
<!-- Reviewable:end -->
2016-01-03 11:33:00 +05:30
bors-servo
1b0053f8b1
Auto merge of #9136 - frewsxcv:htmlbodyelement-background, r=nox
...
HTMLBodyElement 'background' attribute improvements
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9136 )
<!-- Reviewable:end -->
2016-01-03 11:00:49 +05:30
bors-servo
7f156b8c12
Auto merge of #9072 - Manishearth:password-placeholder, r=eefriedman
...
Fix placeholders for password inputs
currently they show dots instead of the placeholder text
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9072 )
<!-- Reviewable:end -->
2016-01-03 10:21:26 +05:30
Manish Goregaokar
cc5844a373
Move placeholder logic out of get_raw_textinput_value
2016-01-03 09:47:30 +05:30
bors-servo
9da739acef
Auto merge of #9123 - karyon:clippy_cleanup, r=Manishearth
...
Fix a bunch of clippy lints
This fixes about 130 clippy lints. Let me know if i should split up the commit.
I wasn't sure about some of the changes, especially map_or instead of map(...).unwrap_or(...) and if let instead of single arm match were not always a strict improvement in my opinion, but i'll leave that decision to the reviewer :)
There are about 150 lints left which i thought were clippy bugs or i didn't know how to fix.
cc @Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9123 )
<!-- Reviewable:end -->
2016-01-03 09:16:34 +05:30
Anthony Ramine
8625ff555b
Enable canvas_complexshapes_*_001.htm ( fixes #6748 , #6780 )
...
Serde landed bincode support, so we can probably enable these again.
2016-01-03 04:28:21 +01:00
bors-servo
6844adbe2d
Auto merge of #9082 - nikkisquared:websocket_bufferedamount, r=eefriedman
...
Updated WebSocket buffered_amount to match change to html specification
The size of WebSocket's buffered_amount was changed[1] after an issue I opened, which I found while working on WebSocket previously[2]. @jdm suggested I make a PR updating Servo reflecting this, and so I have! As always, I'd like to hear any feedback on anything I can do to improve this.
[1] https://github.com/whatwg/html/issues/296
[2] https://github.com/servo/servo/pull/8218#issuecomment-152021737 point 5)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9082 )
<!-- Reviewable:end -->
2016-01-03 08:43:55 +05:30
bors-servo
ebf4ce8288
Auto merge of #9070 - antrik:debug-fonts, r=nox
...
Derive Debug for more font-related types
Needs to pull in newer ipc-channel and azure.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9070 )
<!-- Reviewable:end -->
2016-01-03 08:11:57 +05:30
bors-servo
06d84e6e4b
Auto merge of #9134 - iszak:issue-9132, r=nox
...
Fixes https://github.com/servo/servo/issues/9132
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9134 )
<!-- Reviewable:end -->
2016-01-03 07:32:09 +05:30
Anthony Ramine
88a3dde3c4
Enable canvas_state_restore_001.htm ( fixes #5764 )
...
The test now always pass.
2016-01-03 03:01:39 +01:00
Olaf Buddenhagen
3c5a3ca4ff
Derive Debug for more font-related types
2016-01-03 02:54:55 +01:00
Olaf Buddenhagen
7197e7f311
cargo-update azure to get <Debug>
2016-01-03 02:54:52 +01:00
Olaf Buddenhagen
61149b316a
cargo-update ipc-channel to get <Debug>
2016-01-03 02:54:49 +01:00
Anthony Ramine
ad45043ddf
Enable canvas_compositing_globalcompositeoperation_001.htm ( fixes #5803 )
2016-01-03 02:54:09 +01:00