Commit graph

12161 commits

Author SHA1 Message Date
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
Corey Farwell
5c408d2be9 rust-geom API changes
https://github.com/servo/rust-geom/pull/81
2015-06-13 12:28:21 -07:00
bors-servo
a9aa50683f Auto merge of #6370 - Ms2ger:locks, r=mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6370)
<!-- Reviewable:end -->
2015-06-13 10:49:00 -06: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
Ms2ger
4624fc18d2 Correct the README. 2015-06-13 12:15:18 +02:00
bors-servo
434183c944 Auto merge of #6366 - eddyb:preserve-ua-on-redirect, r=Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6366)
<!-- Reviewable:end -->
2015-06-13 03:16:38 -06:00
Eduard Burtescu
21bb8bf8ad Update "preserve UserAgent on redirect" test to be browser-agnostic. 2015-06-13 12:14:37 +03: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
bors-servo
3c1b8041d4 Auto merge of #6362 - Sumith1896:servobuildexample, r=Manishearth
Entries in the servobuild.example file that are not defaults were
commented out, defaults were mentioned in comments.
Fix to https://github.com/servo/servo/issues/6361

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6362)
<!-- Reviewable:end -->
2015-06-12 23:39:01 -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
Patrick Walton
eef9c5d9bf layout: Disable parallel display list building by default.
I've never see it result in a speedup. Actually, I don't think I've seen
it result in anything better than a 50% slowdown. The arithmetic
intensity is just too low, at least with the current algorithm.

Parallel DL building can still be enabled with a debug flag if the
algorithm is improved.
2015-06-12 18:03:58 -07: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
ecoal95
d6e5fb9d0e Add WebGL android support
This just bumps `offscreen_gl_context`, which added egl support
recently.

Also bumps `egl` with a needed patch.
2015-06-13 01:18:40 +02:00
bors-servo
836ac8a0b6 Auto merge of #6347 - pcwalton:chunking, r=mbrubeck
This reduces the overhead of the work-stealing traversal function
significantly. It's especially important on ARM, where memory barriers are
expensive.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6347)
<!-- Reviewable:end -->
2015-06-12 17:14:23 -06:00
Patrick Walton
732fd9e050 layout: Divide DOM nodes and flows into chunks, and perform work stealing over
those instead of working on nodes one-by-one.

This reduces the overhead of the work-stealing traversal function
significantly. It's especially important on ARM, where memory barriers are
expensive.
2015-06-12 16:07:39 -07:00
Sumith
0e657b2569 Entries in servobuild.example file
Entries in the servobuild.example file that are not defaults were
commented out, defaults were mentioned in comments
2015-06-13 03:34:54 +05:30
Patrick Walton
8c210e1a27 script: Make PartialEq on element type IDs generate a lot less code.
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.)
2015-06-12 15:00:02 -07:00
bors-servo
2168ec3c96 Auto merge of #6340 - aweinstock314:reduce-textinput-allocations, r=Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6340)
<!-- Reviewable:end -->
2015-06-12 15:00:37 -06:00
Eduard Burtescu
9a87f830fc Preserve UserAgent header on redirect. 2015-06-12 21:44:22 +03:00