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
Connor Imes
5177e9e1fa
Output to png file since exit flag doesn't work
2016-01-25 15:28:49 -06:00
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
Joshua Holmer
f0765890fe
Implement console#time and console#timeEnd methods
...
Fixes #9325
2016-01-25 14:21:32 -05: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
Keith Yeung
9e3af70941
Implement RadioNodeList
2016-01-24 13:05:47 -05: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
Glenn Watson
dfaf28d5cd
Fixes additional calls to rAF.
...
Often, a rAF callback will request another rAF from the callback itself.
Previously, the constellation would quickly receive two messages saying
that there were no animations, and then there are animations again in the
situation above. This would make the compositor tick the new animation straight
away, causing strange fluctuations and timings in rAF callbacks.
Instead, only send the NoAnimationCallbacks message if the animation
callback queue is still empty after invoking the callbacks.
This fixes rAF timing, which now runs at the correct (vsync) framerate.
2016-01-22 16:08:28 +10: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
Ms2ger
aa1ae9b355
Include the wpt lint in test-tidy --faster.
2016-01-21 14:34:03 +01:00
bors-servo
a86035dc6d
Auto merge of #9386 - jgraham:update-wpt, r=Ms2ger
...
Update web-platform-tests to revision 1ac278f94d0e86b88fc9f1eeb31ed2d2ef35b472
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9386 )
<!-- Reviewable:end -->
2016-01-21 17:56:18 +05:30
James Graham
4864a52312
Update web-platform-tests expected data to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a
2016-01-21 11:50:33 +00:00
Ms2ger
678cb9da84
Update HTMLScriptElement::prepare to match the changed specification.
2016-01-21 11:54:41 +01:00
James Graham
7e8624d921
Update web-platform-tests to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a
2016-01-21 10:28:30 +00:00