Commit graph

17922 commits

Author SHA1 Message Date
Matt Brubeck
c344461017 Move http_loader::Connector to a separate module 2016-05-10 11:20:32 -07:00
bors-servo
0c673ef3a2 Auto merge of #11049 - asajeffrey:webdriver-delete-session, r=jgraham
Added webdriver delete session command.

Delete session is needed by the web platform test `webdriver/navigation.py`.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11049)
<!-- Reviewable:end -->
2016-05-10 11:05:12 -07:00
Alan Jeffrey
bbf9eca042 Added delete session command. 2016-05-10 13:00:12 -05:00
Patrick Walton
6d0e4de2c2 tests: Update test expectations. 2016-05-10 10:34:30 -07:00
Patrick Walton
376c6b34ce gfx: Implement Debug for FontTemplate instances. 2016-05-10 10:34:29 -07:00
Patrick Walton
3addd775a5 gfx: Change the mapping from Mac weights to CSS weights so that 0.0 maps
to 400, not 500.

CSS `normal` font-weight is specified as 400, while Mac "Regular" font
weight is reported as 0.0. On the Mac, we need to center the two ranges
on the same value to avoid choosing "Light" fonts where "Regular" would
have been more appropriate.

Closes #9487.

fix for mac
2016-05-10 10:34:29 -07:00
Patrick Walton
479c6c9c42 gfx: Perform fuzzy matching on font weights if an exact match wasn't
found.

Partially addresses #190.
Partially addresses #9487.
2016-05-10 10:34:28 -07:00
bors-servo
0617727f5b Auto merge of #11097 - saneyuki:cargo_home, r=larsbergstrom
Override always 'CARGO_HOME' env variable.

This use always `cargo-home-dir` in `/.servobuild` even if you set `CARGO_HOME` in your shell.

If you use [racer][racer] with [rustup (multirust.rs)][rustup], you may set `CARGO_HOME` env variable to your shell. Then the previous code would be a problem which does not use `cargo-home-dir` in `/.servobuild`.

[racer]: https://github.com/phildawes/racer
[rustup]: https://github.com/rust-lang-nursery/rustup.rs

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11097)
<!-- Reviewable:end -->
2016-05-10 08:20:47 -07:00
Ulf Nilsson
0f983cd11f Make text-align: justify incremental layout safe 2016-05-10 15:46:22 +02:00
bors-servo
835f443865 Auto merge of #11098 - fitzgen:update-trace-dump, r=jdm
Update `trace-dump.{js,css}` from upstream

Part of making the trace-dump.js code unit testable was moving it out to another
repo. This brings in all the changes made while writing unit tests, and making
the code more unit testable.

Unfortunately, there are a lot of whitespace changes; here is the diff ignoring whitespace: https://pastebin.mozilla.org/8870346

Fixes #10905.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11098)
<!-- Reviewable:end -->
2016-05-10 06:34:32 -07:00
Zhen Zhang
f43009333f Rewrite Blob constructor interface 2016-05-10 20:19:10 +08:00
bors-servo
da85439093 Auto merge of #11106 - servo:wpt-20160510, r=Ms2ger
Update web-platform-tests to revision 697b971060b2d475a73c1c3755232a4674d61cf5

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11106)
<!-- Reviewable:end -->
2016-05-10 04:03:57 -07:00
Ms2ger
b97474fbba Update web-platform-tests to revision 697b971060b2d475a73c1c3755232a4674d61cf5 2016-05-10 12:17:47 +02:00
bors-servo
f45a99c9fe Auto merge of #11072 - DDEFISHER:master, r=emilio
Implement IsShader fn and IsTexture fn for WebGLRenderingContext

fixes #11064

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11072)
<!-- Reviewable:end -->
2016-05-10 03:16:20 -07:00
bors-servo
f60598909a Auto merge of #11048 - servo:wpt-20160506, r=Ms2ger
Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11048)
<!-- Reviewable:end -->
2016-05-10 01:12:33 -07:00
Daniel
8a5b0b8972 Implement IsShader fn and IsTexture fn for WebGLRenderingContext 2016-05-09 20:54:57 -04:00
bors-servo
500b0a6d36 Auto merge of #11090 - saneyuki:fix11082, r=jdm
Move ConvertPipelineIdFromWebRender to compositing

Fix #11082

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11090)
<!-- Reviewable:end -->
2016-05-09 13:50:05 -07:00
Nick Fitzgerald
d9ef29f62f Update trace-dump.{js,css} from upstream
Part of making the trace-dump.js code unit testable was moving it out to another
repo. This brings in all the changes made while writing unit tests, and making
the code more unit testable.
2016-05-09 13:22:09 -07:00
bors-servo
180a9813aa Auto merge of #10937 - pcwalton:mac-helvetica, r=metajack
gfx: Map `sans-serif` to Helvetica on Mac and DejaVu Sans on Linux.

This matches what I believe the OS native defaults to be.

Partially addresses #9487.

r? @metajack
cc @paulrouget

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10937)
<!-- Reviewable:end -->
2016-05-09 13:02:23 -07:00
Patrick Walton
2ac9747023 gfx: Map sans-serif to Helvetica on Mac, DejaVu Sans on Linux, and
Roboto on Android.

This matches what I believe the OS native defaults to be.

Partially addresses #9487.
2016-05-09 12:45:52 -07:00
Tetsuharu OHZEKI
4f06470748 Move ConvertPipelineIdFromWebRender to compositing 2016-05-10 02:36:54 +09:00
bors-servo
7b8bb0c248 Auto merge of #11096 - mbrubeck:profile-image-saving, r=metajack
Profile time spent saving the screenshot image

I did this to see if it was a significant factor in automated test runs.  (Spoiler: it isn't.)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11096)
<!-- Reviewable:end -->
2016-05-09 10:21:00 -07:00
Tetsuharu OHZEKI
cb90f22c3e Override always 'CARGO_HOME' env variable.
This use always `cargo-home-dir` in `/.servobuild`
even if you set `CARGO_HOME` in your shell.

If you use [racer][racer] with [rustup (multirust.rs)][rustup],
you may set `CARGO_HOME` env variable.
Then the previous code would be a problem which does not use
`cargo-home-dir` in `/.servobuild`.

[racer]: https://github.com/phildawes/racer
[rustup]: https://github.com/rust-lang-nursery/rustup.rs
2016-05-10 02:18:28 +09:00
Fabrice Desré
c56b30b218 Cargo updates to build with armv7-unknown-linux-gnueabihf target 2016-05-09 10:01:17 -07:00
Matt Brubeck
9b23cf537e Profile time spent saving the screenshot image 2016-05-09 09:43:13 -07:00
bors-servo
71eaba2c35 Auto merge of #11092 - Ms2ger:text_content, r=jdm
Move some code from ServoThreadSafeLayoutNode::text_content into script.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11092)
<!-- Reviewable:end -->
2016-05-09 08:57:05 -07:00
bors-servo
58a9b31de2 Auto merge of #11022 - notriddle:master, r=SimonSapin
Use tag names in all user-agent selectors.

Fixes #11004

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11022)
<!-- Reviewable:end -->
2016-05-09 07:34:08 -07:00
bors-servo
3bd6c2088b Auto merge of #11093 - ConnorGBrewster:update_xml5ever, r=Ms2ger
Update xml5ever

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11093)
<!-- Reviewable:end -->
2016-05-09 06:42:08 -07:00
Connor Brewster
dec047eabe update xml5ever to 0.1.3 2016-05-09 07:25:41 -06:00
Ms2ger
a5be5a82c1 Move some code from ServoThreadSafeLayoutNode::text_content into script. 2016-05-09 14:26:30 +02:00
bors-servo
b054cb82a6 Auto merge of #9890 - AgostonSzepessy:update-webidl-tests, r=nox
update.sh downloads all *.py tests from mozilla central

components/script/dom/bindings/codegen/parser/update.sh downloads all *.py tests from https://dxr.mozilla.org/mozilla-central/source/dom/bindings/parser/tests

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9890)
<!-- Reviewable:end -->
2016-05-09 05:04:57 -07:00
bors-servo
9a8c81773a Auto merge of #11084 - kevgs:layout_traits, r=Ms2ger
move trait ConvertPipelineIdToWebRender to a better place

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11084)
<!-- Reviewable:end -->
2016-05-09 03:14:03 -07:00
bors-servo
33fa63a3c5 Auto merge of #11083 - kevgs:image_metadata, r=Ms2ger
move struct ImageMetadata to a better place

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11083)
<!-- Reviewable:end -->
2016-05-09 02:25:37 -07:00
bors-servo
c3323f3c70 Auto merge of #11073 - autrilla:tox, r=Ms2ger
Added tox.ini

The default maximum line length Python linters use is 79, so a bunch of editor plugins complain about line lengths, unless you have a tox.ini telling the linter to ignore line lengths (E501) explicitly.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11073)
<!-- Reviewable:end -->
2016-05-09 01:37:09 -07:00
bors-servo
a76db9af54 Auto merge of #11051 - mrmiywj:closeevent-argument, r=Ms2ger
'closeevent' argument for Document::createEvent

Add "close event" argument for Document::createEvent
Fixes #10737

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11051)
<!-- Reviewable:end -->
2016-05-09 00:48:41 -07:00
Kosov Eugene
8b6a609764 move trait ConvertPipelineIdToWebRender to a better place 2016-05-09 01:20:24 +03:00
Kosov Eugene
d51c61481f move struct ImageMetadata to a better place 2016-05-09 00:44:49 +03:00
bors-servo
47c2858647 Auto merge of #11078 - izgzhen:blob-test-fix, r=Ms2ger
Delete outdated test cases ini, addressing issue #11075

As discussed in issue #11075 , these two are no longer found in current `tests/wpt/web-platform-tests/FileAPI/blob/Blob-constructor.html`

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11078)
<!-- Reviewable:end -->
2016-05-08 08:29:41 -07:00
bors-servo
06c2ab79e6 Auto merge of #11080 - servo:rustup, r=KiChjang
Update Rust to 2016-05-07

WOOOO RUST_NEW_ERROR_FORMAT

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11080)
<!-- Reviewable:end -->
2016-05-08 03:57:09 -07:00
Anthony Ramine
2c68d1acc3 Update Rust to 2016-05-07
WOOOO RUST_NEW_ERROR_FORMAT
2016-05-08 12:50:35 +02:00
Adrian Utrilla
90b224eff4
Added tox.ini 2016-05-08 12:10:48 +02:00
Zaggy1024
f3f1504003 Changed cursor for labels to "default" so their text doesn't use the text cursor. 2016-05-08 02:29:19 -05:00
mrmiywj
dfaad2dab2 'closeevent' argument for Document::createEvent
fix alphabetical order

delete unused tests
2016-05-08 14:40:12 +08:00
Zhen Zhang
b93409bab0 delete outdated test cases, addressing issue #11075 2016-05-08 12:59:34 +08:00
Ms2ger
ebddcc2d7f Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f 2016-05-07 23:23:48 +02:00
bors-servo
c226bf85a9 Auto merge of #11067 - autrilla:mach-errors, r=mbrubeck
Mach now shows stderr when a virtualenv or pip call fails (fixes #11055)

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11067)
<!-- Reviewable:end -->
2016-05-07 13:15:40 -07:00
bors-servo
df8008cfe6 Auto merge of #11032 - mbrubeck:no-whitespace, r=pcwalton
Filter out whitespace glyphs from display list

Fixes #10244. r? @glennw

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11032)
<!-- Reviewable:end -->
2016-05-07 11:05:14 -07:00
bors-servo
508c3285d8 Auto merge of #11069 - mbrubeck:disable-incremental-trailing, r=mbrubeck
Disable /_mozilla/css/incremental_trailing_whitespace_a.html

CC #10473

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11069)
<!-- Reviewable:end -->
2016-05-07 09:37:16 -07:00
Matt Brubeck
915aab1b92 Disable /_mozilla/css/incremental_trailing_whitespace_a.html
CC #10473
2016-05-07 08:58:03 -07:00
Adrian Utrilla
0fff10c7e9
Mach now shows stderr when a virtualenv or pip call fails (fixes #11055) 2016-05-07 17:36:27 +02:00