bors-servo
b8c7f49ce8
Auto merge of #6417 - servo:profile-docs, r=SimonSapin
...
Require documentation for the memory profiling module.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6417 )
<!-- Reviewable:end -->
2015-06-21 03:54:21 -06:00
bors-servo
fa45688191
Auto merge of #6421 - mmatyas:arm_build2, r=larsbergstrom
...
Fix ARM linker
By default, `cc` is used for the final linking of servo, which points to the host's compiler. This patch ensures that the correct linker is used for cross-compiling to ARM.
Part of #6327
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6421 )
<!-- Reviewable:end -->
2015-06-20 09:00:55 -06:00
bors-servo
02303941be
Auto merge of #6413 - hyowon:invalid_shadow_attrs, r=Ms2ger
...
Check invalid values for the shadow attributes.
I left out checking invalid values when setting the shadows attributes.
r? @nox @pcwalton
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6413 )
<!-- Reviewable:end -->
2015-06-20 06:44:08 -06:00
Michael Wu
b7301ca06c
Fix some warnings caused by the SM upgrade
2015-06-19 22:07:08 -04:00
Michael Wu
675267b782
Upgrade to SM 39
2015-06-19 18:42:48 -04:00
Glenn Watson
edbe89a079
Update gleam to 0.1.1
2015-06-19 13:53:13 +10:00
ecoal95
8cbfb3482c
Use euclid from crates.io
2015-06-19 00:04:24 +02:00
Mátyás Mustoha
2efc18aa3b
Fix ARM linker
2015-06-18 18:39:52 +02:00
Ms2ger
5e5be69b01
Require documentation for the memory profiling module.
2015-06-18 16:27:32 +02:00
Hyowon Kim
cc55e2e426
Check invalid values for the shadow attributes.
2015-06-18 16:54:12 +09:00
bors-servo
5dc546b4cf
Auto merge of #6411 - metajack:fix-script-out-dir, r=glennw
...
Don't generate pyc files.
This eliminates the last bit of script crate generating in-tree
files. This now allows cargo target dir sharing to fully work.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6411 )
<!-- Reviewable:end -->
2015-06-17 21:18:42 -06:00
bors-servo
fd44db2190
Auto merge of #6403 - glennw:fix-outline-width, r=SimonSapin
...
Fix computed value of outline width when outline style is not set.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6403 )
<!-- Reviewable:end -->
2015-06-17 20:29:44 -06:00
Glenn Watson
229dfbd117
Fix computed value of outline width when outline style is not set.
2015-06-18 12:13:14 +10:00
Jack Moffitt
eae411885c
Don't generate pyc files.
...
This eliminates the last bit of script crate generating in-tree
files. This now allows cargo target dir sharing to fully work.
2015-06-17 18:43:08 -06:00
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
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
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
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
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
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
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
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
Simon Sapin
5428226e04
Remove usage of String::from_str, deprecated in #6377
2015-06-15 15:37:14 +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
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
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
Corey Farwell
5c408d2be9
rust-geom API changes
...
https://github.com/servo/rust-geom/pull/81
2015-06-13 12:28:21 -07:00
Ms2ger
a880bc5230
Update the Cargo.locks.
2015-06-13 18:41:59 +02:00
Ms2ger
b49bd79625
Use str::parse() rather than FromStr::from_str.
...
The former appears to be preferred.
2015-06-13 17:58:16 +02:00
bors-servo
b0a80de92b
Auto merge of #6356 - ecoal95:webgl-android, r=jdm
...
This just bumps `offscreen_gl_context`, which added egl support
recently.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6356 )
<!-- Reviewable:end -->
2015-06-13 02:31:33 -06:00
bors-servo
9474e62d38
Auto merge of #6157 - hyowon:canvas_pattern_fill, r=nox
...
Issue #6056
Depends on servo/rust-azure#160
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6157 )
<!-- Reviewable:end -->
2015-06-13 01:49:50 -06:00
Hyowon Kim
00240e5550
Implementation of pattern fill style for canvas.
2015-06-13 14:35:13 +09:00
bors-servo
c3d242544e
Auto merge of #6308 - pcwalton:debloat-partialeq, r=nox
...
This makes the difference between selector matching scaling on the ARM
Cortex-A9 and not, because the auto-derived `PartialEq` implementation
blows out the 32KB I-cache. With this change, there is a 2x improvement
in selector matching over sequential when using all 8 cores. (More work
needs to be done; this is a start.)
r? any DOM expert
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6308 )
<!-- Reviewable:end -->
2015-06-12 21:04:05 -06:00
bors-servo
8063e34235
Auto merge of #6302 - eddyb:preserve-ua-on-redirect, r=nox
...
This unblocks facebook.com's feed, after a few months of it being accidentally broken.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6302 )
<!-- Reviewable:end -->
2015-06-12 19:51:26 -06:00
bors-servo
f03f584895
Auto merge of #6334 - nnethercote:report-local-contexts, r=pcwalton
...
Passing a function that measures TLS to WorkQueue is a bit weird, but I can't see how else to measure that data.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6334 )
<!-- Reviewable:end -->
2015-06-12 18:42:32 -06:00