Jack Moffitt
07d95627ca
Generate code into OUT_DIR.
...
This is necessary to ensure Cargo knows when to rebuild. Normally
.gitignore would be enough to exclude these from Cargo's freshness
calculation, but https://github.com/rust-lang/cargo/issues/1729 prevents
this currently. This is the new, correct way to do these thigns, just
like the style crate does.
2015-06-17 16:18:22 -06:00
Jack Moffitt
c33fd78207
Remove duplicate package
2015-06-17 16:17:52 -06:00
bors-servo
e1b28d893e
Auto merge of #6402 - hyowon:canvas_fill_stroke, r=pcwalton
...
Fill and stroke for all pattern types and check the zero size gradient.
Depends on servo/rust-azure#170 which has been already merged.
So this patch contains the update of rust-azure.
r? @nox
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6402 )
<!-- Reviewable:end -->
2015-06-17 13:32:25 -06:00
bors-servo
ee54c89e3f
Auto merge of #6401 - jgraham:load_timeout, r=metajack
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6401 )
<!-- Reviewable:end -->
2015-06-17 10:16:27 -06:00
Hyowon Kim
2e230bdb93
Implement fill and stroke functions for all pattern types and check the zero size gradient.
2015-06-17 09:46:38 +09:00
James Graham
22c06307b8
Implement timeout for url load from WebDriver.
2015-06-17 00:25:23 +01:00
bors-servo
ee22ae2635
Auto merge of #6398 - jgraham:wptrunner_upgrade_servodriver, r=Ms2ger
...
Fixes issue with servodriver
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6398 )
<!-- Reviewable:end -->
2015-06-16 08:41:16 -06:00
bors-servo
48e1d45bff
Auto merge of #6355 - hyowon:drawing_shadows, r=nox
...
https://html.spec.whatwg.org/multipage/#when-shadows-are-drawn
r? @nox
cc @mmatyas @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6355 )
<!-- Reviewable:end -->
2015-06-16 05:30:20 -06:00
James Graham
fa058760b7
Upgrade to latest wptrunner.
...
Fixes issue with servodriver
2015-06-16 10:14:04 +01:00
bors-servo
a5d76e4b2c
Auto merge of #6397 - servo:ws-connect, r=Ms2ger
...
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSocket connection to be closed when the connection could
not be established.
Fixes #6082 .
2015-06-16 01:47:10 -06:00
Jinwoo Song
7781f331d3
WebSocket constructor should not panic
...
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSocket connection to be closed when the connection could
not be established.
Fixes #6082 .
2015-06-16 09:45:42 +02:00
bors-servo
4435e6f42a
Auto merge of #6396 - SimonSapin:crates.io-html5ever, r=Ms2ger
...
r? @metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6396 )
<!-- Reviewable:end -->
2015-06-16 00:42:36 -06:00
Hyowon Kim
465cea8db5
Implement drawing shadows in canvas.
2015-06-16 08:57:00 +09:00
Simon Sapin
0229de822b
Use string-cache from crates.io
2015-06-16 00:27:50 +02:00
Simon Sapin
dc1db5187e
Use html5ever from crates.io
2015-06-16 00:18:20 +02:00
bors-servo
5d89235c56
Auto merge of #6395 - SimonSapin:crates.io-cgl-gleam, r=metajack
...
r? @metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6395 )
<!-- Reviewable:end -->
2015-06-15 15:08:43 -06:00
Simon Sapin
a80a12e41e
Use cgl and gleam from crates.io
2015-06-15 23:00:33 +02:00
bors-servo
d6263c9b6e
Auto merge of #6306 - metajack:shared-target-dir, r=mbrubeck
...
This speeds up `./mach build --dev` followed by `./mach build-cef` by
25%. When rust-lang/cargo#497 is fixed, this speedup will increase
dramatically.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6306 )
<!-- Reviewable:end -->
2015-06-15 13:08:14 -06:00
bors-servo
bb39e835f1
Auto merge of #6393 - Ms2ger:cef-string-multimap, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6393 )
<!-- Reviewable:end -->
2015-06-15 12:25:11 -06:00
Jack Moffitt
a0237085c6
Use Cargo's target directory sharing.
...
This speeds up `./mach build --dev` followed by `./mach build-cef` by a
large amount, and also speeds up other build combos found in our CI.
2015-06-15 11:48:47 -06:00
bors-servo
f8e3f92813
Auto merge of #6358 - Ms2ger:ws-tests, r=jgraham
...
Second try.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6358 )
<!-- Reviewable:end -->
2015-06-15 11:42:16 -06:00
bors-servo
67b121c0b8
Auto merge of #6377 - servo:rustup_20140614, r=SimonSapin
...
See #6376
r? @Ms2ger
Snaps don't exist yet, putting up the @larsbergstrom signal. The snap need not exactly match this commit, anything in the vicinity, or just master, should work really. (yay stability)
There's no particular reason behind this rustup except that I want to keep Servo running on almost-master as much as possible.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6377 )
<!-- Reviewable:end -->
2015-06-15 10:33:14 -06:00
Ms2ger
6ee8a1e476
Use pop() better in cef_string_multimap_clear.
2015-06-15 18:09:40 +02:00
Ms2ger
ccc38ef5a1
Use the Box/boxed APIs to handle cef_string_multimap_t memory management.
2015-06-15 18:09:38 +02:00
Ms2ger
cb2f7c7496
Make cef_string_multimap_t an alias for its real type.
2015-06-15 18:09:36 +02:00
Ms2ger
477bfa3675
Remove the SCHEME_AND_DOMAIN constant.
...
All its users are connecting to port 80, which is not typically under the
control of the wpt server.
2015-06-15 17:29:29 +02:00
bors-servo
91cae11931
Auto merge of #6388 - SimonSapin:from_str, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6388 )
<!-- Reviewable:end -->
2015-06-15 09:23:22 -06:00
bors-servo
5c6fec956f
Auto merge of #6387 - Ms2ger:disable-cE, r=jgraham
...
It crashes, but that's not always detected properly.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6387 )
<!-- Reviewable:end -->
2015-06-15 08:42:54 -06:00
Simon Sapin
5428226e04
Remove usage of String::from_str, deprecated in #6377
2015-06-15 15:37:14 +02:00
Ms2ger
2001c18ac9
Disable Document-createElement-namespace.html.
...
It crashes, but that's not always detected properly.
2015-06-15 15:17:35 +02:00
Ms2ger
e8d691aa03
Don't try to connect to "ws://"+location.host+"/" in WebSocket tests.
...
This will connect on port 80, which is not typically under the control of the
wpt server.
2015-06-14 20:38:04 +02:00
bors-servo
24af4c4ec6
Auto merge of #6378 - Ms2ger:callable, r=nox
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6378 )
<!-- Reviewable:end -->
2015-06-14 12:17:21 -06:00
Ms2ger
5cc130727f
Test that the exception doesn't get lost in acceptNode.
...
And it turns out that it does get lost. I have no idea where, but I suspect it
is in SpiderMonkey somewhere. I hope the SpiderMonkey upgrade will fix it.
2015-06-14 20:08:32 +02:00
Ms2ger
90a7ef1571
Throw a TypeError when get_callable_property encounters a value that isn't callable.
2015-06-14 20:08:26 +02:00
Ms2ger
0607cd3fb5
Return Fallible from get_callable_property.
2015-06-14 20:08:06 +02:00
bors-servo
6b886e545d
Auto merge of #6369 - Ms2ger:update-wptrunner, r=Manishearth
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6369 )
<!-- Reviewable:end -->
2015-06-14 10:54:39 -06:00
Ms2ger
c670894aed
Update wptrunner.
2015-06-14 18:52:07 +02:00
Manish Goregaokar
94fa868d2b
Add unsafe blocks to make_unique
...
See #6376
2015-06-14 20:52:27 +05:30
Manish Goregaokar
3cdc412a4c
Upgrade plugins
2015-06-14 20:15:31 +05:30
Manish Goregaokar
9fbffff604
Upgrade to rustc 1.2.0-nightly (6e7fcc44a 2015-06-13)
2015-06-14 20:13:47 +05:30
bors-servo
db2eb36e19
Auto merge of #6325 - Ms2ger:from_str, r=nox
...
The former appears to be preferred.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6325 )
<!-- Reviewable:end -->
2015-06-14 03:55:56 -06:00
bors-servo
bedfa74b1f
Auto merge of #6360 - fbau123:6315-tests-default-cpu-mode, r=Ms2ger
...
#6315
Set 'mach test-ref' default render mode to cpu and added a cli argument to 'mach test' to be able to select the render-mode, also renamed the 'kind' argument from 'test-ref' to '--render-mode' for coherence with reftest.rs
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6360 )
<!-- Reviewable:end -->
2015-06-14 03:14:00 -06:00
Francesc Bautista
c99f65c4dc
Set 'mach test-ref' default render mode to cpu and added a cli argument to 'mach test' to be able to select the render-mode.
2015-06-13 23:16:29 +02:00
bors-servo
ceaca2e288
Auto merge of #6357 - ecoal95:more-webgl, r=pcwalton
...
See the commit descriptions for more details.
Blocked on https://github.com/servo/gleam/pull/24
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6357 )
<!-- Reviewable:end -->
2015-06-13 15:05:08 -06:00
ecoal95
eb502bdbb8
webgl: Add drawArrays reftest
...
I also removed flackyness of the clearColor test, hopefully it's fixed now
that a lot of race conditions have disappeared thanks to @glennw.
2015-06-13 23:03:39 +02:00
ecoal95
ff568ecc90
webgl: Add multiple WebGL calls (activeTexture + blend*)
...
* activeTexture
* blendColor
* blendFunc
* blendFuncSeparate
* blendEquation
* blendEquationSeparate
Blocked on gleam.
2015-06-13 23:03:38 +02:00
ecoal95
c33776a600
webgl: Uncomment WebGLRenderingContext constants
2015-06-13 23:03:38 +02:00
ecoal95
b0d04765ae
webgl: Add WebGLActiveInfo and WebGLShaderPrecisionFormat interfaces
2015-06-13 23:03:37 +02:00
ecoal95
ee192793d5
Update gleam to 0108e2a6c7ca4dc471bfb94ba1ed368335e4da28
2015-06-13 23:03:36 +02:00
bors-servo
cfcd8589d0
Auto merge of #6349 - frewsxcv:geom-api-changes, r=pcwalton
...
Shouldn't be merged until these have merged:
https://github.com/servo/rust-geom/pull/81
https://github.com/ecoal95/rust-offscreen-rendering-context/pull/13
https://github.com/servo/rust-layers/pull/178
~~I'll also need to update the Cargo lock files once they merge~~
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6349 )
<!-- Reviewable:end -->
2015-06-13 13:52:07 -06:00