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
bors-servo
752e03a502
Auto merge of #6331 - glennw:remove-generic-again, r=pcwalton
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6331 )
<!-- Reviewable:end -->
2015-06-10 16:05:20 -06:00
Glenn Watson
899ab226de
Updates for changes in rust-geom and rust-layers
2015-06-11 07:19:58 +10:00
Patrick Walton
93a45c91d1
Merge pull request #6330 from servo/revert-6329-remove-generic
...
Revert "Updates for changes in rust-geom and rust-layers"
2015-06-10 14:15:01 -07:00
Patrick Walton
e42011cd53
Revert "Updates for changes in rust-geom and rust-layers"
2015-06-10 14:14:51 -07:00
Patrick Walton
053296e131
Merge pull request #6329 from glennw/remove-generic
...
Updates for changes in rust-geom and rust-layers
2015-06-10 14:14:24 -07:00
Glenn Watson
8fb29c91e6
Updates for changes in rust-geom and rust-layers
2015-06-11 07:05:56 +10:00
Matt Brubeck
775953b11e
Fix indices in Line::range doc comment
2015-06-10 14:04:15 -07:00
bors-servo
8c943b30ce
Auto merge of #6326 - servo:sound-smallvec, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6326 )
<!-- Reviewable:end -->
2015-06-10 09:30:43 -06:00
Simon Sapin
ac3d78c309
Pick up memory safety fix in rust-smallvec
2015-06-10 17:21:07 +02:00
bors-servo
35000a9b85
Auto merge of #6317 - frewsxcv:rm-util-crate-reexports, r=Ms2ger
...
The util component specified fnv and smallvec as dependencies and publicly
reexported both of them. Several other components utilized these reexports,
presumably because fnv and smallvec used to live in the tree so reexporting
made the transition easier.
These indirect dependencies through the util component are unnecessary.
This commit removes the fnv & smallvec crate reexports in the util component.
It exchange, it adds fnv & smallvec as dependencies to non-util components
wherever needed. Finally, it removes the fnv dependency from util as it is not
utilized anywhere in the util component.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6317 )
<!-- Reviewable:end -->
2015-06-10 08:23:11 -06:00
Corey Farwell
4f47b41fa7
Remove fnv & smallvec crate reexports from util
...
The util component specified fnv and smallvec as dependencies and publicly
reexported both of them. Several other components utilized these reexports,
presumably because fnv and smallvec used to live in the tree so reexporting
made the transition easier.
These indirect dependencies through the util component are unnecessary.
This commit removes the fnv & smallvec crate reexports in the util component.
It exchange, it adds fnv & smallvec as dependencies to non-util components
wherever needed. Finally, it removes the fnv dependency from util as it is not
utilized anywhere in the util component.
2015-06-10 07:14:55 -07:00
bors-servo
c86e461555
Auto merge of #6323 - Ms2ger:typo, r=SimonSapin
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6323 )
<!-- Reviewable:end -->
2015-06-10 07:30:09 -06:00
bors-servo
9df13b9069
Auto merge of #6324 - mmatyas:arm_build, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6324 )
<!-- Reviewable:end -->
2015-06-10 06:46:13 -06:00
Mátyás Mustoha
53427f43ab
Add ARM build support.
2015-06-10 14:24:57 +02:00
Ms2ger
9ef975d929
Fix a typo in the DOM documentation.
2015-06-10 13:45:05 +02:00
bors-servo
6bd798a69f
Auto merge of #6320 - Ms2ger:as-empty, r=nox
...
With just one caller between the two functions, there doesn't seem to be
much point in having the abstraction.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6320 )
<!-- Reviewable:end -->
2015-06-10 05:40:26 -06:00
Ms2ger
5149f0e953
Remove null_str_as_empty and null_str_as_empty_ref functions.
...
With just one caller between the two functions, there doesn't seem to be
much point in having the abstraction.
2015-06-10 13:36:51 +02:00
bors-servo
3ece6bc166
Auto merge of #6318 - Ms2ger:optimize-lookup-prefix, r=nox
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6318 )
<!-- Reviewable:end -->
2015-06-10 04:30:38 -06:00