bors-servo
4f3ed209bc
Auto merge of #9434 - servo:h5eup, r=nox
...
Update html5ever and xml5ever for API changes.
@nox r?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9434 )
<!-- Reviewable:end -->
2016-01-27 17:29:56 +05:30
Simon Sapin
c7b51e7aa1
Update html5ever and xml5ever for API changes.
2016-01-27 12:25:16 +01:00
bors-servo
8c0736211b
Auto merge of #9378 - paulrouget:removeProperty, r=KiChjang
...
Invalidate node style after style property removed
Fix #9377
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9378 )
<!-- Reviewable:end -->
2016-01-27 16:43:30 +05:30
Paul Rouget
6d7dc0b905
Invalidate node style after style property removed
2016-01-27 07:43:23 +01:00
bors-servo
2dd4e5d164
Auto merge of #9439 - glennw:update-gleam, r=KiChjang
...
Update gleam
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9439 )
<!-- Reviewable:end -->
2016-01-27 11:36:45 +05:30
Glenn Watson
8dd9159bb4
Update gleam
2016-01-27 14:27:53 +10:00
bors-servo
80c2911348
Auto merge of #9415 - adamncasey:mach-run-win32-fix, r=larsbergstrom
...
Fix ./mach run on Windows
This branch also includes the commit being reviewed in https://github.com/servo/servo/pull/9408 . Is it OK to just wait for that one to merge, or should I separate them?
This patch adds the BIN_SUFFIX to the servo executable name when doing ./mach run.
However just doing this caused subprocess to error due to some unicode symbols in PATH.
To fix this, I pulled a peice of code from mozilla-central which fixes this problem there. Source: https://dxr.mozilla.org/mozilla-central/source/python/mach/mach/mixin/process.py#108
Revisiting this now (originally developed this a few weeks ago), perhaps we should be using https://github.com/servo/servo/blob/master/python/mach/mach/mixin/process.py instead of subprocess to give us all of this crossplatform process execution support. I think that should be a nice to have though - this patch at least gets a necessary development command working on windows.
Tested on Windows and Ubuntu.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9415 )
<!-- Reviewable:end -->
2016-01-27 00:51:49 +05:30
bors-servo
a75f2cecda
Auto merge of #9419 - psdh:includeTypedef, r=nox
...
generate typedefs in CodegenRust.
fixes #9384
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9419 )
<!-- Reviewable:end -->
2016-01-26 22:10:57 +05:30
Prabhjyot Singh Sodhi
d6df844ae5
generate typedefs in CodegenRust
2016-01-26 21:56:44 +05:30
bors-servo
a19b14313a
Auto merge of #9430 - doomrobo:WebIDL-no-empty-const-modules, r=nox
...
Fix issue #9411 - Do not generate empty WebIDL 'Constant' modules
Fixes issue #9411
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9430 )
<!-- Reviewable:end -->
2016-01-26 15:40:16 +05:30
Michael Rosenberg
1f45eaf8a1
For WebIDL interfaces without constant members, do not generate a 'Constant' module
2016-01-26 02:50:53 -05:00
bors-servo
b66a001451
Auto merge of #9429 - pcwalton:iframe-scroll-stacking, r=mbrubeck
...
Dispatch scroll events to layers above others.
Closes #9416 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9429 )
<!-- Reviewable:end -->
2016-01-26 07:28:23 +05:30
bors-servo
71d49fc73d
Auto merge of #9428 - pcwalton:incorporeal-shadows, r=mbrubeck
...
Make hit tests against box shadows always fail.
Closes #9268 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9428 )
<!-- Reviewable:end -->
2016-01-26 06:42:57 +05:30
Patrick Walton
e4db0715e1
Dispatch scroll events to layers above others.
...
Closes #9416 .
2016-01-25 16:42:37 -08:00
Patrick Walton
32a68a43ec
Make hit tests against box shadows always fail.
...
Closes #9268 .
2016-01-25 16:30:04 -08:00
bors-servo
ea147cbd82
Auto merge of #9426 - timvandermeij:unused-import, r=jdm
...
Remove unused import from tests/unit/net/data_loader.rs
I noticed the following output at https://travis-ci.org/servo/servo/jobs/104733377#L1146 :
<pre>
/home/travis/build/servo/servo/tests/unit/net/data_loader.rs:23:9: 23:33 warning: unused import, #[warn(unused_imports)] on by default
/home/travis/build/servo/servo/tests/unit/net/data_loader.rs:23 use std::sync::mpsc::channel;`
</pre>
Manual inspection also tells me that this import is not used. It seems to have become obsolete by 2aa5174246 (diff-46fd738c30b50dc2950348f1563f99b9R7)
.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9426 )
<!-- Reviewable:end -->
2016-01-26 05:56:47 +05:30
bors-servo
d34641dc3f
Auto merge of #9424 - connorimes:energy-monitor-0.1.1, r=jdm
...
Update energy-monitor to 0.1.1 for change to dual license
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9424 )
<!-- Reviewable:end -->
2016-01-26 04:19:58 +05:30
bors-servo
09992318d0
Auto merge of #9423 - larsbergstrom:windows_instructions, r=KiChjang
...
Windows instructions
r? anybody
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9423 )
<!-- Reviewable:end -->
2016-01-26 02:59:52 +05:30
Tim van der Meij
925732e759
Remove unused import from tests/unit/net/data_loader.rs
2016-01-25 22:27:03 +01:00
Connor Imes
3a375090a8
Update energy-monitor to 0.1.1 for change to dual license
2016-01-25 15:24:18 -06:00
Lars Bergstrom
e92d130f32
Windows instructions
2016-01-25 14:34:50 -06:00
bors-servo
d57ab5f0c3
Auto merge of #9422 - timvandermeij:organization-cleanup, r=larsbergstrom
...
Update ORGANIZATION.md to remove the legacy reftest harness item
The mentioned directory and file do not exist anymore. The linked issue, #5618 , has been closed after PR #9293 , so this item should be removed from the overview.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9422 )
<!-- Reviewable:end -->
2016-01-26 01:58:18 +05:30
Tim van der Meij
8fee75ef67
Update ORGANIZATION.md to remove the legacy reftest harness item
2016-01-25 21:21:27 +01:00
bors-servo
4755cc5c62
Auto merge of #9405 - pcwalton:absolute-positioning-overflow, r=glennw
...
layout: Remove some bogus code that tried to handle absolutely-positioned flows separately when storing overflow.
This code dates back to the time when absolutely positioned flows were
ignored by all of their ancestors up to the containing block. This
hasn't been true for at least a year.
Closes #9306 .
Closes #9309 .
Is a partial fix for #9308 .
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9405 )
<!-- Reviewable:end -->
2016-01-26 00:20:26 +05:30
Patrick Walton
9c7b9fa32d
layout: Remove some bogus code that tried to handle
...
absolutely-positioned flows separately when storing overflow.
This code dates back to the time when absolutely positioned flows were
ignored by all of their ancestors up to the containing block. This
hasn't been true for at least a year.
Closes #9306 .
Closes #9309 .
Is a partial fix for #9308 .
2016-01-25 10:52:07 -08:00
bors-servo
842ec7c415
Auto merge of #9418 - paulrouget:iframeCrash, r=jdm
...
Check if root page exist before handling DOM events
Fix #9417
For the test, I'm not sure how to simulate a mouse event or a key event in a way that it would be forwarded to the iframe.
Any idea?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9418 )
<!-- Reviewable:end -->
2016-01-25 21:06:22 +05:30
Paul Rouget
a2c931e4df
Check if root page exist before handling DOM events
2016-01-25 16:31:59 +01:00
bors-servo
e74021baaa
Auto merge of #9400 - jmr0:websocket, r=nox
...
Fixing websocket subprotocol header validation
This takes care of https://github.com/servo/servo/issues/9034
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9400 )
<!-- Reviewable:end -->
2016-01-25 17:01:39 +05:30
jmr0
3846cf52f2
fix websocket header validation, ensure it meets token requirements, add
...
testing
2016-01-24 18:31:21 -05:00
Adam Casey
bd0f7d107b
Fix ./mach run on Windows
...
Fix unicode PATH the same way as mozilla-central does it for windows.
Also append extra PATHs instead of prepending, for some reason that broke ./mach run
2016-01-24 22:29:47 +00:00
bors-servo
e93a460db4
Auto merge of #9413 - nxnfufunezn:issue-9412, r=nox
...
Move ConstantSpec, NonNullJSNative and define_constants from utils to interface
Fixes #9412
r? @nox
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9413 )
<!-- Reviewable:end -->
2016-01-24 20:48:57 +05:30
nxnfufunezn
e54929b4d7
Move ConstantSpec, NonNullJSNative and define_constants from utils to interface
2016-01-24 20:37:30 +05:30
Adam Casey
25b0ee22f2
Fix build on windows when default python is MSYS64 python
2016-01-23 15:04:34 +00:00
bors-servo
525e77f64f
Auto merge of #9385 - larsbergstrom:win32, r=frewsxcv,pcwalton,jdm,ecoal95
...
Win32 support
r? @frewsxcv for python stuff
r? @pcwalton for the "remove usage of Gaol" stuff for Win32
r? anybody else for misc cargo.lock updates, etc.
This replaces #7878 .
This works best with https://github.com/servo/mozjs/pull/71 , too, to enable static linking, but can be run without (via some PATH hackery).
The instructions are here, and will be added to a .md file in the repo once the mozjs changes also land:
https://hackpad.com/Servo-on-Windows-C1LPcI2bP25
I'd like to get these changes landed because I've been rebasing them for months, they're otherwise quite stable, and don't affect our other platforms and targets.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9385 )
<!-- Reviewable:end -->
2016-01-23 07:27:27 +05:30
Lars Bergstrom
e9d9d1d9e9
Cargo.lock updates
2016-01-22 19:28:46 -06:00
Lars Bergstrom
c65598907e
Add Windows support for handle_event
2016-01-22 19:28:39 -06:00
Lars Bergstrom
721693c43e
Remove usage of Gaol in the Windows configuration, since sandboxing is not supported there yet.
2016-01-22 19:28:38 -06:00
Jason Williams
13d98f153a
adding check for windows then using Scripts instead of bin
2016-01-22 19:27:29 -06:00
bors-servo
a914727541
Auto merge of #9404 - shssoichiro:htmlformelementlength, r=nox
...
Update HTMLFormElement.length to be of type unsigned long
Fixes #9402
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9404 )
<!-- Reviewable:end -->
2016-01-22 22:53:53 +05:30
Joshua Holmer
75d258f866
Update HTMLFormElement.length to be of type unsigned long
...
Fixes #9402
2016-01-22 12:09:12 -05:00
bors-servo
1c6fb0f04e
Auto merge of #9367 - Chandler:url_origin, r=jdm
...
Add origin to Location and Url API.
The origin field is part of location and url spec but hasn't been implemented in servo yet.
https://html.spec.whatwg.org/multipage/browsers.html#dom-location-origin
https://url.spec.whatwg.org/#dom-url-origin
All of the logic to calculate the url origin exists in https://github.com/servo/rust-url
This review threads through rust-url origin implementation into the servo location and url API.
This fixes one websockets test:
servo/tests/wpt/web-platform-tests/websockets/opening-handshake/003.html
testing done:
./mach test-wpt tests/wpt/web-platform-tests/websockets/
I'm brand new to rust so feedback is appreciated, thanks!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9367 )
<!-- Reviewable:end -->
2016-01-22 04:25:49 +05:30
bors-servo
0dd024e492
Auto merge of #9399 - nxnfufunezn:build_time-9398, r=jdm
...
Fixes #9398 Integrate BuildTimeTrend into TravisCI
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9399 )
<!-- Reviewable:end -->
2016-01-22 02:48:01 +05:30
nxnfufunezn
5b699a5fff
Fixes #9398 Integrate BuildTimeTrend into TravisCI
2016-01-21 15:34:13 -05:00
Chandler Abraham
1ee9ccba21
add origin to location and url api
2016-01-21 11:06:41 -08:00
bors-servo
52da517a14
Auto merge of #9393 - Ms2ger:renumber-prepare, r=jdm
...
Update HTMLScriptElement::prepare to match the changed specification.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9393 )
<!-- Reviewable:end -->
2016-01-21 23:31:18 +05:30
bors-servo
1ba1fb0b7f
Auto merge of #9380 - servo:cssparserup, r=SimonSapin
...
Update cssparser.
https://github.com/servo/rust-cssparser/pull/91
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9380 )
<!-- Reviewable:end -->
2016-01-21 22:45:51 +05:30
Simon Sapin
6fd46b5e6a
Update cssparser.
...
https://github.com/servo/rust-cssparser/pull/91
2016-01-21 17:58:03 +01:00
bors-servo
262974cb11
Auto merge of #9396 - psdh:fixwebidltests, r=Ms2ger
...
update tests for WebIDL.py from mozilla-central
Fixes #9388
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9396 )
<!-- Reviewable:end -->
2016-01-21 22:00:22 +05:30
Prabhjyot Singh Sodhi
da40818f25
update to latest tests
2016-01-21 21:53:47 +05:30
bors-servo
41892d4c93
Auto merge of #9394 - servo:wpt-lint, r=jdm
...
Include the wpt lint in test-tidy --faster.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9394 )
<!-- Reviewable:end -->
2016-01-21 19:51:04 +05:30