Commit graph

17489 commits

Author SHA1 Message Date
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
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
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
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
bors-servo
e2e495e58e Auto merge of #11066 - UK992:appveyor, r=larsbergstrom
Remove auto and try branch from appveyor.yml

Closes #9953

r? @larsbergstrom

<!-- 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/11066)
<!-- Reviewable:end -->
2016-05-07 07:27:18 -07:00
UK992
af2d6ce3df Remove auto and try branch from appveyor.yml 2016-05-07 15:33:18 +02:00
bors-servo
a09b2374f9 Auto merge of #11052 - jdm:disable-svg, r=metajack
Disable SVG sizing tests until SVG is implemented.

<!-- 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/11052)
<!-- Reviewable:end -->
2016-05-07 05:41:29 -07:00
bors-servo
aa62a1466e Auto merge of #11058 - bholley:minor_wikipedia_fixes, r=mbrubeck,bholley
Geckolib: minor robustness fixes

<!-- 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/11058)
<!-- Reviewable:end -->
2016-05-07 04:25:31 -07:00
bors-servo
e94f489e55 Auto merge of #11054 - mbrubeck:always-be-updating, r=Ms2ger
Update hyper, openssl, wayland, threadpool, offscreen_gl_context

Gets rid of duplicate versions of bitflags and xml-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/11054)
<!-- Reviewable:end -->
2016-05-07 03:19:24 -07:00
bors-servo
76abd9d7c1 Auto merge of #11053 - yodalee:Use-onload-in-iframe-test, r=mbrubeck
use onload in iframe test

the iframe test is implemented using setTimeout function
Since the iframe already implement load event, replacing
timeout function with load event.

<!-- 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/11053)
<!-- Reviewable:end -->
2016-05-07 01:23:31 -07:00
bors-servo
f80641e7a1 Auto merge of #11039 - mbrubeck:strip-trailing, r=pcwalton
Remove redundant code in whitespace stripping

LineBreaker calls Fragment::strip_trailing_whitespace_if_necessary and then recalculates the fragment's inline size.  But this isn't necessary because strip_trailing_whitespace_if_necessary already recalculates the size.

r? @pcwalton

<!-- 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/11039)
<!-- Reviewable:end -->
2016-05-06 21:53:27 -07:00
bors-servo
a153e20c55 Auto merge of #11028 - szeged:webbluetooth, r=jdm
Remove BluetoothDevice members

Five of the BluetoothDevice members has been deleted in the spec:
8d148ba3c3

These were the vendorID, vendorIDSource, deviceClass, productID, productVersion.

<!-- 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/11028)
<!-- Reviewable:end -->
2016-05-06 17:07:55 -07:00
Bobby Holley
50b2490d38 Match both <pair> and <utility>, since apparently the results vary by system. 2016-05-06 16:48:58 -07:00
Bobby Holley
ceb7dcb605 Match "utility" rather than "pair" when generating style struct bindings. 2016-05-06 16:36:25 -07:00
Bobby Holley
a778b03f36 Tweak the bindgen setup scripts. 2016-05-06 14:40:01 -07:00
Bobby Holley
286da1bbe4 Regenerate bindings after cached margin and padding removal. 2016-05-06 14:40:00 -07:00
Bobby Holley
38a6b58a0a Hackily return default computed values for unstyled nodes. 2016-05-06 14:39:59 -07:00
bors-servo
17ba9fb5da Auto merge of #10821 - askeing:fix_10782, r=jdm
Checking the browsing_context before change title

fix #10782

<!-- 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/10821)
<!-- Reviewable:end -->
2016-05-06 14:20:45 -07:00
Matt Brubeck
9b680ad58a Update hyper, openssl, wayland, threadpool, offscreen_gl_context
Gets rid of duplicate versions of bitflags and xml-rs!
2016-05-06 08:42:00 -07:00
bors-servo
29ed650160 Auto merge of #11042 - fabricedesre:compositing-warning, r=metajack
Fix a build warning in compositor.rs

Stops the compiler complaining about `root_pipeline` being an unused variable.

<!-- 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/11042)
<!-- Reviewable:end -->
2016-05-06 08:10:23 -07:00
yodalee
b8ccbc57f3 use onload in iframe test
the iframe test is implemented using setTimeout function
Since the iframe already implement load event, replacing
timeout function with load event.
2016-05-06 22:54:22 +08:00
Josh Matthews
0a091aee31 Disable SVG sizing tests until SVG is implemented. 2016-05-06 10:40:29 -04:00
bors-servo
d7fa1d8eed Auto merge of #11050 - mskrzypkows:css_issue, r=Ms2ger
Update cssparser to fix CSS.escape test failures

Fixes #10685

<!-- 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/11050)
<!-- Reviewable:end -->
2016-05-06 06:39:18 -07:00
bors-servo
283eb41296 Auto merge of #11013 - antrik:rust-gdb-cleanup, r=Ms2ger
mach run --debug: Use nicer syntax in rust-gdb/rust-lldb check

After actually reading a Python tutorial, I realised this can be handled
in a more elegant fashion :-)

<!-- 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/11013)
<!-- Reviewable:end -->
2016-05-06 05:43:58 -07:00
Maciej Skrzypkowski
43b72537dc Update cssparser to fix CSS.escape test failures
Fixed failing tests #10685
2016-05-06 13:54:26 +02:00
bors-servo
50f2349551 Auto merge of #11045 - heycam:non-element, r=bholley
Add Servo_GetComputedValuesForOtherNonElement.

<!-- 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/11045)
<!-- Reviewable:end -->
2016-05-06 04:30:47 -07:00
bors-servo
bd871d613e Auto merge of #11037 - mbrubeck:parent-damage, r=pcwalton
Don't let restyle damage infect siblings

Currently `compute_layout_damage` does the following for each child of the node it's processing.

1. Update the child with damage from the parent.
2. Update the parent with damage from the child.

When these steps are repeated for the next child, the parent's damage may include flags that came from its previous sibling(s).  This means that damage ends up propagating to later siblings, and not just between parents and children as indended.

This patch propagates the same damage to all children, not including any damage from their siblings.

r? @pcwalton

<!-- 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/11037)
<!-- Reviewable:end -->
2016-05-06 02:01:03 -07:00
Cameron McCormack
01c42693d4 Add Servo_InheritComputedValues. 2016-05-06 17:23:30 +10:00
bors-servo
0558687d71 Auto merge of #11043 - heycam:attr, r=bholley
Pass in string lengths to Gecko_GetAttrAsUTF8.

<!-- 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/11043)
<!-- Reviewable:end -->
2016-05-05 23:51:54 -07:00
bors-servo
e52b9884d1 Auto merge of #11040 - dagnir:dbus-build-dep, r=mbrubeck
Add dbus to list of Debian build deps

Build failed without it on my Ubuntu 14.04 machine.  I can't confirm whether or not other OSes need it.

<!-- 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/11040)
<!-- Reviewable:end -->
2016-05-05 20:35:19 -07:00
bors-servo
6c326cd372 Auto merge of #11034 - mbrubeck:always-be-updating, r=SimonSapin
Update libc, url, image, app_units

<!-- 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/11034)
<!-- Reviewable:end -->
2016-05-05 19:05:55 -07:00
Cameron McCormack
603a19929c Pass in string lengths to Gecko_GetAttrAsUTF8. 2016-05-06 11:58:53 +10:00
bors-servo
ab12d8098f Auto merge of #11033 - mbrubeck:max-log, r=metajack
Set max log level on all platforms

Servo currently enabled the `release_max_level_info` feature for the log crate
in an Android-specific dependency.  Currently this works for all platforms
because of rust-lang/cargo#2524, but it might break if that issue is fixed.

<!-- 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/11033)
<!-- Reviewable:end -->
2016-05-05 18:09:58 -07:00
Fabrice Desré
8489b30042 Fix a build warning in compositor.rs 2016-05-05 17:59:13 -07:00