Commit graph

14312 commits

Author SHA1 Message Date
benshu
54e41fb22d Correct undisciplined rebase. (Closes #8583.) 2015-11-18 21:10:20 +01:00
nxnfufunezn
c7fab07d03 Make test-wpt run with RUST_BACKTRACE=1 by default #8194 2015-11-19 01:32:12 +05:30
Aleksandr Likhanov
4bf21ab15e reduce node.unique_id size
fix sizeof unittest
update Cargo.lock
2015-11-19 00:48:20 +05:00
bors-servo
2be0cb7827 Auto merge of #8562 - Ms2ger:private-layout, r=SimonSapin
Stop exposing the internal details of the layout crate.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8562)
<!-- Reviewable:end -->
2015-11-18 19:33:36 +05:30
Ms2ger
8b786cca9a Make layout's modules private. 2015-11-18 15:00:59 +01:00
Ms2ger
5ec1cdea9b Remove dead code from layout. 2015-11-18 15:00:58 +01:00
Ms2ger
de23fef9ca Update bitflags. 2015-11-18 15:00:56 +01:00
bors-servo
e2ef409c5d Auto merge of #8578 - jgraham:servo_homepage, r=larsbergstrom
Change default homepage to servo.org

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8578)
<!-- Reviewable:end -->
2015-11-18 18:29:03 +05:30
James Graham
de5296fb0a Change default homepage to servo.org 2015-11-18 12:57:06 +00:00
James Graham
6446cc3db8 Implement Get Element Attribute WebDriver command 2015-11-18 11:52:05 +00:00
bors-servo
7a87312121 Auto merge of #8569 - Ms2ger:fmt-script, r=metajack
Rustfmt some of script.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8569)
<!-- Reviewable:end -->
2015-11-18 15:44:30 +05:30
Ms2ger
0c61be7a57 Rustfmt some of script. 2015-11-18 11:14:05 +01:00
Glenn Watson
f555e3861c Include transform changes in list that cause incremental reflows.
Also ensure that 3d translations get layers.

Fixes #8329.
2015-11-18 10:28:37 +10:00
bors-servo
247f586284 Auto merge of #8572 - nerith:idiomatic, r=frewsxcv
Make Node::is_parent_of and Stylesheet::is_effective_for_device more idiomatic

Fixes #8555.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8572)
<!-- Reviewable:end -->
2015-11-18 04:53:17 +05:30
Brandon Fairchild
7f75a881a4 Make Stylesheet::is_effective_for_device more idiomatic 2015-11-17 17:02:01 -05:00
Brandon Fairchild
6a28d62b15 Make Node::is_parent_of more idiomatic 2015-11-17 16:58:37 -05:00
bors-servo
71dbf99e4e Auto merge of #8567 - frewsxcv:tracking-issue-HTMLFormControlsCollection, r=eefriedman
Add tracking issue for HTMLFormControlsCollection

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8567)
<!-- Reviewable:end -->
2015-11-18 02:42:56 +05:30
bors-servo
d7c98f86ff Auto merge of #8551 - mrobinson:blessings, r=jgraham
Use blessings when possible for WPT UI

Use blessings when it is possible for the WPT UI and fall back to using
raw control characters. This also fixes a bug where the UI didn't work
correctly in iTerm.app. Remove the one line version of the UI, since it
is no longer used as the iTerm fallback.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8551)
<!-- Reviewable:end -->
2015-11-17 22:56:34 +05:30
Martin Robinson
7225e36d81 Use blessings when possible for WPT UI
Use blessings when it is possible for the WPT UI and fall back to using
raw control characters. This also fixes a bug where the UI didn't work
correctly in iTerm.app. Remove the one line version of the UI, since it
is no longer used as the iTerm fallback.
2015-11-17 08:39:24 -08:00
Corey Farwell
6e3878d254 Add tracking issue for HTMLFormControlsCollection 2015-11-17 10:06:17 -05:00
bors-servo
ceb72e54e4 Auto merge of #8560 - skade:patch-1, r=SimonSapin
Add a link to the website

You have such a fancy website with additional info, why not link it from the README?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8560)
<!-- Reviewable:end -->
2015-11-17 16:15:38 +05:30
bors-servo
e668a43945 Auto merge of #8561 - Ms2ger:update-tests, r=Ms2ger
Update tests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8561)
<!-- Reviewable:end -->
2015-11-17 15:29:55 +05:30
Ms2ger
53608a60a4 Update CSS tests to revision c68e4df16362489debde94340cc6f54945a72f2f 2015-11-17 10:54:09 +01:00
Ms2ger
32efe41299 Update web-platform-tests to revision 5a754b40cd49c0404863c431b58cc311dc5d167c 2015-11-17 10:54:05 +01:00
bors-servo
cedaac8dbe Auto merge of #8549 - Ms2ger:privatize, r=pcwalton
Privatize from_layout_js functions.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8549)
<!-- Reviewable:end -->
2015-11-17 14:11:22 +05:30
Ms2ger
3fb16cc017 Privatize from_layout_js functions. 2015-11-17 09:40:51 +01:00
Florian Gilcher
2f17fdf937 Add a link to the website 2015-11-17 09:35:14 +01:00
bors-servo
8950345e0e Auto merge of #8552 - michaelwu:avoid_overflow, r=glennw
Avoid overflow in freetype/font_context.rs

When new_actual_size < old_actual_size, there is an overflow panic since we're using usize. This breaks Reddit for me.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8552)
<!-- Reviewable:end -->
2015-11-17 13:04:47 +05:30
Keith Yeung
19294db6e5 Split ConstellationMsg into ScriptMsg and CompositorMsg 2015-11-16 23:10:53 -08:00
bors-servo
afe03870ce Auto merge of #8151 - jgraham:webdriver_sendkeys, r=jgraham
Implement support for WebDriver send keys command.

Supports sending keys to an element. The specification here is still
rather unfinished so the error handling and so on in this code will
need iteration as it becomes clearer what the expected behaviour is.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8151)
<!-- Reviewable:end -->
2015-11-17 11:02:50 +05:30
bors-servo
f17f89059a Auto merge of #8503 - craftytrickster:8406/limit-suppported-format, r=mbrubeck
Adding method to detect if image formats should be supported by servo

https://github.com/servo/servo/issues/8406

Please let me know if I need to make any changes.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8503)
<!-- Reviewable:end -->
2015-11-17 07:14:25 +05:30
James Graham
09b9293b09 Implement support for WebDriver send keys command.
Supports sending keys to an element. The specification here is still
rather unfinished so the error handling and so on in this code will
need iteration as it becomes clearer what the expected behaviour is.
2015-11-16 22:48:26 +00:00
bors-servo
20d26853e1 Auto merge of #8548 - Ms2ger:unused-tna, r=pcwalton
Remove the unused arguments to hit_test and mouse_over.

I don't think this code is called when there is no document element, but I
added assertions to make sure we notice in case I was wrong.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8548)
<!-- Reviewable:end -->
2015-11-17 02:05:52 +05:30
bors-servo
db94fda10e Auto merge of #8545 - Ms2ger:AutoJoinScriptTask, r=pcwalton
Remove AutoJoinScriptTask.

I don't believe there is a case where it would make sense to drop the
ScriptReflow struct without joining the script thread. This approach should
be somewhat more robust, and avoids the code smell of a RAII guard in an
otherwise unused variable.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8545)
<!-- Reviewable:end -->
2015-11-17 01:18:45 +05:30
bors-servo
c1e6bc0714 Auto merge of #8538 - notriddle:github_resize, r=mbrubeck
Ignore `<meta name=viewport>` if `@viewport` is ignored

Fixes #8373

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8538)
<!-- Reviewable:end -->
2015-11-17 00:31:49 +05:30
bors-servo
4b0330937a Auto merge of #8550 - toothbrush7777777:patch-1, r=frewsxcv
Fixes #8546

Fixes issue #8546.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8550)
<!-- Reviewable:end -->
2015-11-16 23:44:58 +05:30
Michael Wu
7cbef87b00 Avoid overflow in freetype/font_context.rs 2015-11-16 13:07:56 -05:00
Toothbrush
3cfd65f5e1 Changed to create immutable Vec 2015-11-16 17:33:39 +00:00
Toothbrush
081b1e93a1 Fixes #8546
Fixes issue #8546
2015-11-16 17:09:34 +00:00
bors-servo
f8c2c3c3e4 Auto merge of #8521 - notriddle:test_7780, r=mrobinson
Add test for #7780

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8521)
<!-- Reviewable:end -->
2015-11-16 20:26:44 +05:30
Ms2ger
4e60412c6d Remove the unused arguments to hit_test and mouse_over.
I don't think this code is called when there is no document element, but I
added assertions to make sure we notice in case I was wrong.
2015-11-16 15:53:49 +01:00
Ms2ger
a2c08413dd Remove AutoJoinScriptTask.
I don't believe there is a case where it would make sense to drop the
ScriptReflow struct without joining the script thread. This approach should
be somewhat more robust, and avoids the code smell of a RAII guard in an
otherwise unused variable.
2015-11-16 12:41:25 +01:00
bors-servo
0293aa2e52 Auto merge of #8537 - eefriedman:webgl-metadata-test-type, r=jdm
Fix the metadata for webgl tests.

These are reftests, not tests using the test harness.

CC #8414.  (This fixes the immediate issue, but we should also fix the
error message.)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8537)
<!-- Reviewable:end -->
2015-11-16 09:10:56 +05:30
Michael Howell
987c9e63aa Ignore <meta name=viewport> if @viewport is.
Fixes #8373
2015-11-15 20:35:13 -07:00
Eli Friedman
f6a337772a Fix the metadata for webgl tests.
These are reftests, not tests using the test harness.

CC #8414.  (This fixes the immediate issue, but we should also fix the
error message.)
2015-11-15 13:08:00 -08:00
bors-servo
b542721ce9 Auto merge of #8532 - eefriedman:manifest-update, r=Ms2ger
Update test manifest.

This is just the result of running --manifest-update on master; not sure
how it got out of sync.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8532)
<!-- Reviewable:end -->
2015-11-16 01:20:20 +05:30
Eli Friedman
a9a1e343f9 Update test manifest.
This is just the result of running --manifest-update on master; not sure
how it got out of sync.

These tests currently timeout, so also add the expected result.
2015-11-15 11:47:59 -08:00
bors-servo
d11fe9ed21 Auto merge of #8513 - mrobinson:wpt-ui-summary, r=frewsxcv
Re-print test failures in non-interactive WPT UI

This will make it easier to spot the failures at the bottom of the test
output on the bots.

Fixes #8467.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8513)
<!-- Reviewable:end -->
2015-11-15 21:36:29 +05:30
bors-servo
b6f519cd0a Auto merge of #8533 - Ms2ger:legacy, r=nox
Remove the `legacy` module.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8533)
<!-- Reviewable:end -->
2015-11-15 19:13:13 +05:30
Ms2ger
f2be9eb735 Move the from_declaration to its only caller and remove the empty legacy module. 2015-11-15 13:57:22 +01:00