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
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
bors-servo
c8c7bd900d
Auto merge of #6354 - mmatyas:canvas_remdep, r=Ms2ger
...
It seems @hyowon uploaded her canvas shadow patch faster than me; I've handled the color dependency a bit different, this way `gfx_traits` is not required by the script module.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6354 )
<!-- Reviewable:end -->
2015-06-12 10:22:54 -06:00
bors-servo
b87df12ac2
Auto merge of #6343 - jgraham:css_disable_test, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6343 )
<!-- Reviewable:end -->
2015-06-12 09:40:52 -06:00
James Graham
2439ce6ca7
Disable unstable CSS test
2015-06-12 16:03:24 +01:00
bors-servo
cf03352d7c
Auto merge of #6339 - michaelwu:let-var-replacement, r=jgraham
...
let can't be used without specifying a newer JS version at the moment.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6339 )
<!-- Reviewable:end -->
2015-06-12 08:57:56 -06:00
bors-servo
9ea50957fc
Auto merge of #6345 - pcwalton:workqueue-arm-optzns, r=glennw
...
Improves scaling on multicore ARM devices.
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6345 )
<!-- Reviewable:end -->
2015-06-12 07:28:19 -06:00
bors-servo
5b318d53e2
Auto merge of #6348 - nox:azure, r=Manishearth
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6348 )
<!-- Reviewable:end -->
2015-06-12 05:49:32 -06:00
Mátyás Mustoha
3ae64fe739
Remove gfx_traits from the dependencies of [script].
2015-06-12 12:59:46 +02:00
bors-servo
b9d53a2950
Auto merge of #6346 - nnethercote:improve-mem-unit-testing, r=Manishearth
...
r? @Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6346 )
<!-- Reviewable:end -->
2015-06-12 04:08:53 -06:00
bors-servo
f163f2bf0d
Auto merge of #6337 - hyowon:shadow_attrs, r=nox
...
The first step of the implementation for shadows in canvas.
r? @nox @jdm
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6337 )
<!-- Reviewable:end -->
2015-06-12 03:27:07 -06:00
bors-servo
85d839fb5c
Auto merge of #6353 - servo:revert, r=Ms2ger
...
This reverts commit 877c369e0b
.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6353 )
<!-- Reviewable:end -->
2015-06-12 02:44:37 -06:00
Ms2ger
d9995d9541
Revert "Don't try to connect to "ws://"+location.host+"/" in WebSocket tests."
...
This reverts commit 61a9f9d7d4
.
2015-06-12 10:43:33 +02:00
Ms2ger
2212cacef2
Revert "Remove the SCHEME_AND_DOMAIN constant."
...
This reverts commit 8ddb9cfcb6
.
2015-06-12 10:43:19 +02:00
Ms2ger
230c4201f3
Revert "WebSocket constructor should not panic"
...
This reverts commit 877c369e0b
.
2015-06-12 09:40:57 +02:00
Hyowon Kim
473afdb196
Add attributes for canvas shadows.
2015-06-12 09:40:00 +09:00
Anthony Ramine
08415391f6
Update azure to b9bb83c733507f3f57e2c334499f38432056e26c
2015-06-12 01:37:10 +02:00
Nicholas Nethercote
ab59a201f8
Improve unit testing of util::mem.
2015-06-11 15:23:27 -07:00
Patrick Walton
a063fdde73
util: Reduce memory barriers and integer divisions in the work queue.
...
Improves scaling on multicore ARM devices.
2015-06-11 15:07:16 -07:00
jgraham
c8f322b267
Merge pull request #6344 from Ms2ger/ws-tests
...
Fix WebSocket test issues.
2015-06-11 20:41:41 +01:00
Ms2ger
8ddb9cfcb6
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-11 21:25:08 +02:00
Ms2ger
61a9f9d7d4
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-11 21:16:57 +02:00
bors-servo
31b8384b93
Auto merge of #6341 - jgraham:css_update_1010, r=larsbergstrom
...
…36d7b389f3e6ab
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6341 )
<!-- Reviewable:end -->
2015-06-11 11:12:33 -06:00
James Graham
8bd5ccb82b
Update CSS tests expected data to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
2015-06-11 17:57:53 +01:00
Avi Weinstock
b1486720e9
Remove some unnecessary allocations in text input handling.
2015-06-11 12:50:40 -04:00
Michael Wu
8aa026e741
Switch from let to var in mozilla wpt tests
...
let can't be used without specifying a newer JS version at the moment.
2015-06-11 12:10:30 -04:00
bors-servo
a3eb253bdc
Auto merge of #6338 - servo:ws-connect, r=Ms2ger
...
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSockect connection to be closed when the connection could
not be established.
Fixes #6082 .
Fixes #6086 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6338 )
<!-- Reviewable:end -->
2015-06-11 05:58:56 -06:00
Jinwoo Song
877c369e0b
WebSocket constructor should not panic
...
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSockect connection to be closed when the connection could
not be established.
Fixes #6082 .
2015-06-11 13:58:04 +02:00
bors-servo
74ef31cfc4
Auto merge of #6335 - nnethercote:fix-layout-task-shutdown-panic, r=metajack
...
Prior to this change, a panic would occur if a CollectReport message was
received while the LayoutTask was shutting down. Now it just gets
ignored.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6335 )
<!-- Reviewable:end -->
2015-06-11 00:58:41 -06:00
bors-servo
37fcced0fa
Auto merge of #6336 - nerith:master, r=Manishearth
...
According to #6332 , Github's Linguist reported Servo as being
written in HTML instead of Rust. This fixes that by overriding
the linguist-vendored attribute for the tests directory.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6336 )
<!-- Reviewable:end -->
2015-06-10 22:30:58 -06:00
Nicholas Nethercote
67e7436cb8
Ignore CollectReport messages when shutting down the LayoutTask.
...
Prior to this change, a panic would occur if a CollectReport message was
received while the LayoutTask was shutting down. Now it just gets
ignored.
2015-06-10 21:18:39 -07:00
Brandon Fairchild
98f9e5c136
Appease Github's Linguist
...
According to #6332 , Github's Linguist reported Servo as being
written in HTML instead of Rust. This fixes that by overriding
the linguist-vendored attribute for the tests directory.
2015-06-11 00:16:42 -04:00
Nicholas Nethercote
48a0725c01
Measure LocalLayoutContexts in LayoutTask and LayoutWorkers.
...
The FreeType instances in layout workers are reasonably large and worth
measuring. The one in LayoutTask is smaller but it's easy to measure at the
same time. Sample output:
```
| 8.33 MiB -- pages
| 8.33 MiB -- url(file:///home/njn/moz/servo/../servo-static-suite/wikipedia/Guardians%20of%20the%20Galaxy%20(film)%20-%20Wikipedia,%20the%20free%20encyclopedia.html)
| 1.32 MiB -- layout-worker-0-local-context
| 1.31 MiB -- layout-worker-1-local-context
| 1.24 MiB -- layout-worker-3-local-context
| 1.17 MiB -- layout-worker-4-local-context
| 1.08 MiB -- layout-worker-2-local-context
| 1.06 MiB -- layout-worker-5-local-context
| 0.78 MiB -- paint-task
| 0.78 MiB -- buffer-map
| 0.38 MiB -- layout-task
| 0.30 MiB -- display-list
| 0.07 MiB -- local-context
```
This required adding a mechanism to WorkQueue to measure worker TLSes.
2015-06-10 21:06:59 -07:00
bors-servo
a8b6632a5a
Auto merge of #6328 - mbrubeck:line-comment, r=pcwalton
...
r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6328 )
<!-- Reviewable:end -->
2015-06-10 17:44:55 -06:00
bors-servo
fdeebf86a1
Auto merge of #6309 - nnethercote:instrument-freetype, r=glennw
...
This will allow reporting of memory usage by FreeType instances, which
are measured in the MiBs for LayoutWorker threads.
This change also makes FreeType allocations happen with jemalloc instead
of the system malloc, which is a good thing.
Finally, the change documents some dubiousness involving
FontContextHandle.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6309 )
<!-- Reviewable:end -->
2015-06-10 16:53:55 -06:00
Nicholas Nethercote
1553fada53
Instrument FreeType allocations.
...
This will allow reporting of memory usage by FreeType instances, which
are measured in the MiBs for LayoutWorker threads.
This change also makes FreeType allocations happen with jemalloc instead
of the system malloc, which is a good thing.
Finally, the change documents some dubiousness involving
FontContextHandle.
2015-06-10 15:48:19 -07:00