Lars Bergstrom
095658e098
Cargo updates and small workqueue change
2016-01-20 08:38:27 -06:00
Vladimir Vukicevic
5b845cbf79
win32: force PATH to be non-unicode on win32, if virtualenv munges it
2016-01-20 08:38:26 -06:00
Vladimir Vukicevic
ee863fde59
win32: mach and build command fixes
...
- Add SERVO_USE_NIGHTLY_RUST env var to use the latest rust/cargo nightly snapshot
- Fix up looking for cargo binary (in cargo/bin/cargo, not bin/cargo)
- Fix up win32 executable checking (use .exe suffix)
- fix up win32 PATH handling (subprocess must use shell=True for PATH change to be honored)
2016-01-20 08:38:24 -06:00
Vladimir Vukicevic
77aea599c7
win32: look for python.exe and variants on win32 in style/build.rs
2016-01-20 08:38:23 -06:00
Vladimir Vukicevic
5e136d6dd5
win32: make sleep_microseconds for backoff just do a win32 Sleep(0)
2016-01-20 08:38:22 -06:00
Vladimir Vukicevic
025ed57c04
win32: use fontconfig/freetype on windows as well (for now)
2016-01-20 08:38:20 -06:00
bors-servo
6663f28f0d
Auto merge of #9358 - jsanders:refactor-websocket-closing, r=jdm
...
Clean up websocket closing code
Fixes #7860 .
This also changes quite a bit about how close codes are implemented, I believe bringing them closer in line with the spec. Instead of saving off the close code sent by the client, it uses the code from the server's closing handshake. It also handles `NO_STATUS` in what I believe is the correct manner. Making this work required a change to the test harness to make the `/echo` websocket handler echo the code sent by the client and handle `NO_STATUS` properly, rather than always replying with `NORMAL`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9358 )
<!-- Reviewable:end -->
2016-01-19 21:08:09 +05:30
bors-servo
77d3fbcca3
Auto merge of #9284 - bholley:bootstrap_stylo, r=SimonSapin
...
Add Partial Implementation of style DOM traits for Gecko, and some basic glue to let Gecko call into Servo
The wrapper stuff is partially-complete, modulo some unimplemented methods. The glue code is just a toy for now. Regardless, I think it's worth getting some of this stuff in-tree to minimize breakage.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9284 )
<!-- Reviewable:end -->
2016-01-19 14:19:10 +05:30
James Sanders
482d23bb19
Fix test-tidy errors
2016-01-18 17:50:25 -07:00
James Sanders
3837b3e508
Update web-platform-tests expected data
2016-01-18 17:50:25 -07:00
James Sanders
d121958a17
Make closing related code more clear and more correct
2016-01-18 17:37:16 -07:00
James Sanders
a640b9aaea
Echo close reason and close code
...
Set code to None if it is STATUS_NO_STATUS_RECEIVED, which should not be
sent across the wire.
2016-01-18 17:37:16 -07:00
bors-servo
175b3c2d27
Auto merge of #9321 - nikkisquared:response_body, r=jdm
...
Test setting response.body and fetching a message on a server
I've updated http_fetch to now set response.body, as well as written a test to ensure that fetch can retrieve a message on a server. I've also looked into partially implementing some more of http_fetch while trying to figure out where response.body gets written to.
As always I'd like feedback on my logic, I'm confident there are more steps for handling response.body I need but I find the specification difficult to parse on this.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9321 )
<!-- Reviewable:end -->
2016-01-19 04:24:09 +05:30
Nikki
4165786767
Test setting response.body by fetching on a server
2016-01-18 15:12:31 -07:00
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