Commit graph

15262 commits

Author SHA1 Message Date
bors-servo
03a0b73538 Auto merge of #9360 - jsanders:accept-protocols-sequence, r=KiChjang
Accept WebSocket protocols as string or sequence

Fixes #9053

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9360)
<!-- Reviewable:end -->
2016-01-19 02:18:28 +05:30
bors-servo
bdb899e550 Auto merge of #9375 - ecoal95:mozjs-up, r=jdm
Bump rust-mozjs

In order to include https://github.com/servo/rust-mozjs/pull/235.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9375)
<!-- Reviewable:end -->
2016-01-19 01:21:01 +05:30
Emilio Cobos Álvarez
41af23bdec Bump rust-mozjs 2016-01-18 20:49:27 +01:00
bors-servo
8f7f7e11b7 Auto merge of #9341 - askalski:issue9338, r=KiChjang
Fix to issue 9338

Fixes #9338.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9341)
<!-- Reviewable:end -->
2016-01-18 20:30:41 +05:30
bors-servo
6b82ffc1ef Auto merge of #9368 - Ms2ger:update-wpt, r=Ms2ger
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9368)
<!-- Reviewable:end -->
2016-01-18 17:54:52 +05:30
Ms2ger
1f5d8fedd4 Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390 2016-01-18 13:24:36 +01:00
askalski
cf107bca4f replacing custom fmin function with standard f32.min in components/layout/display_list_builder.rs 2016-01-18 12:17:19 +01:00
bors-servo
ce0b89d310 Auto merge of #9362 - KiChjang:move-fetch-request, r=Ms2ger
Rename net/fetch/request.rs to net/fetch/methods.rs and move Request …

…to net_traits.

Also updated unit tests to correctly reference and use Request and Fetch methods.

This is in preparation for XHR and EventSource (possibly WebSocket as well), which rely on using Request, but we cannot make the script crate depend upon the net crate.

cc @nikkisquared @jdm

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9362)
<!-- Reviewable:end -->
2016-01-18 16:05:56 +05:30
bors-servo
c8eb92bbf2 Auto merge of #9366 - Ms2ger:jsref, r=nox
Remove remaining reference to the long-disappeared JSRef type.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9366)
<!-- Reviewable:end -->
2016-01-18 14:37:48 +05:30
Ms2ger
ff0992401e Remove remaining reference to the long-disappeared JSRef type. 2016-01-18 09:52:23 +01:00
bors-servo
754120684b Auto merge of #9364 - servo:rm-libc, r=KiChjang
Bump indirect 'libc' dependency through 'malloc_buf'

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

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9364)
<!-- Reviewable:end -->
2016-01-18 11:54:19 +05:30
Keith Yeung
a53661f6c8 Rename net/fetch/request.rs to net/fetch/methods.rs and move Request to net_traits 2016-01-18 00:57:19 -05:00
bors-servo
6a38d55cea Auto merge of #9363 - mattkuo:clean-imports, r=KiChjang
Remove remaining unused imports

Closes #9361

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9363)
<!-- Reviewable:end -->
2016-01-18 11:04:06 +05:30
Corey Farwell
74d75c40f9 Bump indirect 'libc' dependency through 'malloc_buf'
https://github.com/servo/servo/issues/8608
2016-01-18 00:17:14 -05:00
Matthew Kuo
9d2eacf039 Remove remaining unused imports 2016-01-17 20:55:53 -08:00
James Sanders
0bffffd8f5 Make WebSocket constructor take (DOMString or sequence<DOMString>) 2016-01-17 21:33:04 -07:00
bors-servo
6b81a72228 Auto merge of #9339 - frewsxcv:bump-glutin, r=SimonSapin
Upgrade servo-glutin to latest published version (0.4.7)

servo/glutin@servo-v0.4.5...servo-v0.4.7

The primary reason I'm updating servo-glutin is to indirectly pick up
these changes:

vberger/wayland-kbd#9

Daggerbot/x11-rs#32

...which results in two fewer libc 0.1.x dependency

servo#8608

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9339)
<!-- Reviewable:end -->
2016-01-18 09:03:12 +05:30
bors-servo
eb7b9309dd Auto merge of #9351 - fstr:9343-unused-imports, r=nox
Removed unused imports from devtools crate

Patch for #9343

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9351)
<!-- Reviewable:end -->
2016-01-18 07:48:03 +05:30
bors-servo
2cfed414d0 Auto merge of #9359 - glennw:scroll-horizontal, r=KiChjang
Allow horizontal scrolling with left/right arrow keys.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9359)
<!-- Reviewable:end -->
2016-01-18 07:01:57 +05:30
Glenn Watson
d9c643167f Allow horizontal scrolling with left/right arrow keys. 2016-01-18 10:21:55 +10:00
bors-servo
55d8228ed6 Auto merge of #9354 - stspyder:master, r=KiChjang
Update XMLHTTPRequest FetchBodyInit and related Impl (#9291)

Fixes #9291.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9354)
<!-- Reviewable:end -->
2016-01-18 04:19:59 +05:30
St.Spyder
763b99258f Update XHR BodyInit, update extract method impl 2016-01-18 02:26:13 +05:30
bors-servo
380541bd48 Auto merge of #9352 - mattkuo:cleanup-private-types, r=nox
Convert private types to public

fixes #9347

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9352)
<!-- Reviewable:end -->
2016-01-18 01:58:01 +05:30
bors-servo
7f16b4e47b Auto merge of #9348 - therealkbhat:script-cleanup, r=Wafflespeanut
Remove unused imports in script

Fixes #9345.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9348)
<!-- Reviewable:end -->
2016-01-18 00:36:34 +05:30
bors-servo
2ad562042b Auto merge of #9349 - therealkbhat:layout-cleanup, r=SimonSapin
Remove unused imports in layout

Fixes #9346.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9349)
<!-- Reviewable:end -->
2016-01-17 23:14:37 +05:30
bors-servo
41a3961ba5 Auto merge of #9344 - nerith:gfx, r=Wafflespeanut
Remove multiple unused imports in gfx

Fixes #9342.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9344)
<!-- Reviewable:end -->
2016-01-17 20:26:45 +05:30
bors-servo
7ae16c7ea3 Auto merge of #9294 - KiChjang:xhr-usvstring, r=nox
Change all DOMStrings to USV strings for XHR

This is in compliance with the new spec [here](https://xhr.spec.whatwg.org/#xmlhttprequest).

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9294)
<!-- Reviewable:end -->
2016-01-17 19:40:46 +05:30
bors-servo
557d79bb87 Auto merge of #9194 - nerith:info, r=nox
Remove the w3c link for the Event interface

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9194)
<!-- Reviewable:end -->
2016-01-17 18:58:42 +05:30
Matthew Kuo
8ecc120211 changed gfx private types to public 2016-01-17 04:48:32 -08:00
bors-servo
a4e805d909 Auto merge of #9337 - fmmartins:urlsearchparams-getall, r=nox
Implement URLSearchParams::getAll

Fixes #5439.

Please tell me if anything is wrong or needs some change!

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9337)
<!-- Reviewable:end -->
2016-01-17 18:13:17 +05:30
Florian Strübe
6502820ab3 Removed unused imports from devtools crate 2016-01-17 13:18:15 +01:00
Matthew Kuo
64f5818428 changed devtools private types to public 2016-01-17 04:13:33 -08:00
Matthew Kuo
58174448de changed compositor private types to public 2016-01-17 04:11:58 -08:00
bors-servo
2f0daa1d47 Auto merge of #9304 - ecoal95:sequence-in-unions, r=nox
webidl: Implement sequences in unions

Unblocks #9053

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9304)
<!-- Reviewable:end -->
2016-01-17 17:19:49 +05:30
Kishor Bhat
4c5eeb1f58 Remove unused imports in layout 2016-01-17 13:17:23 +05:30
Kishor Bhat
1ca2073979 Remove unused imports in script 2016-01-17 12:41:28 +05:30
Corey Farwell
f5c6c607c2 Upgrade servo-glutin to latest published version (0.4.7)
https://github.com/servo/glutin/compare/servo-v0.4.5...servo-v0.4.7

The primary reason I'm updating servo-glutin is to indirectly pick up
these changes:

https://github.com/vberger/wayland-kbd/pull/9

https://github.com/Daggerbot/x11-rs/pull/32

...which results in two fewer libc 0.1.x dependency

https://github.com/servo/servo/issues/8608
2016-01-16 16:04:54 -05:00
Brandon Fairchild
dce7c7bb69 Remove multiple unused imports in gfx
Fixes #9342.
2016-01-16 14:16:03 -05:00
bors-servo
5a954d2492 Auto merge of #9334 - MonsieurLanza:DomContentLoadedBubbles, r=KiChjang
DOMContentLoaded event should be trusted

Hopefully resolves #9332.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9334)
<!-- Reviewable:end -->
2016-01-16 22:14:38 +05:30
bors-servo
9118b64b4b Auto merge of #9263 - DarinM223:move_mousebutton, r=KiChjang
Moved MouseButton from msg to script_traits

Fixes #9250

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9263)
<!-- Reviewable:end -->
2016-01-16 19:34:51 +05:30
Keith Yeung
a64f832e57 Change all DOMStrings to USV strings for XHR 2016-01-16 08:51:34 -05:00
bors-servo
eca160ed16 Auto merge of #9340 - Ms2ger:9286-disable, r=KiChjang
Disable text-plain.html.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9340)
<!-- Reviewable:end -->
2016-01-16 18:47:55 +05:30
Ms2ger
a4fbb619d8 Disable text-plain.html. 2016-01-16 14:16:21 +01:00
Lanza
27b78f3b84 Use fire_event instead of DispatchEvent to make DOMContentLoaded trusted
Removed unused import.

Update expectations for EventTarget#dispatchEvent()
2016-01-16 14:12:38 +01:00
Fernando Martins
29b14d4b3d Implement URLSearchParams::getAll 2016-01-15 22:40:55 +00:00
bors-servo
dba1f27305 Auto merge of #9333 - servo:list-properties, r=larsbergstrom
Add a script to list all CSS properties parsed by Servo.

I’ve been asked for that list by two different people this week :)

r? @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9333)
<!-- Reviewable:end -->
2016-01-16 01:06:03 +05:30
Simon Sapin
2222f345c8 Make the properties list JSON and add some more info. 2016-01-15 18:13:12 +01:00
Simon Sapin
9d29c3d2f5 Add a script to list all CSS properties parsed by Servo. 2016-01-15 15:50:32 +01:00
bors-servo
4cb2c87982 Auto merge of #9093 - servo:rustup, r=KiChjang
Update to rustc 1.7.0-nightly (b4707ebca 2015-12-27)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9093)
<!-- Reviewable:end -->
2016-01-15 19:37:07 +05:30
Emilio Cobos Álvarez
950821989f webidl: Refactor isSequence in getJSToNativeConversionInfo
That way it does not depend on the return value for the same type.

This hopefully makes the code more clear, and avoids errors if something
changes in the future (for example, we could want to pass slices as
sequence arguments).
2016-01-15 14:30:38 +01:00