Commit graph

14672 commits

Author SHA1 Message Date
Martin Feckie
cef839e454 Add script to check if MANIFEST.json files change 2015-11-19 22:17:29 +11:00
Martin Feckie
7e5c45ddbf Commit autogenerated manifest for baseline position 2015-11-19 21:26:17 +11:00
Yanir Seroussi
4b71bc5c42 Reduce duplication in binary path determinition for Android target (fixes issue #8349) 2015-11-19 14:35:10 +11:00
bors-servo
a5babb89a0 Auto merge of #8595 - bholley:generalize_wrappers, r=pcwalton
Generalize the layout wrapper layer

There's still more refactoring to do, but this is the core stuff that's most likely to bitrot.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8595)
<!-- Reviewable:end -->
2015-11-19 07:12:40 +05:30
Bobby Holley
2f6e94943a Rename Layout*Trait to Layout*.
The next step will be to remote the Servo-specificity of the layout code we want
to share by making it operate generically on Layout*.
2015-11-18 17:24:36 -08:00
Bobby Holley
9dd45b9f2a Prefix concrete types with 'Servo'. 2015-11-18 17:23:46 -08:00
Bobby Holley
54f2700ba6 Hoist exported wrapper functionality into a family of traits.
All the existing code still uses the concrete implementations, so this
shouldn't impact the generated code at all.
2015-11-18 17:23:29 -08:00
bors-servo
1dd4c0821f Auto merge of #8590 - nxnfufunezn:_run_test-wpt_with_RUST_BACKTRACE, r=jdm
Make test-wpt run with RUST_BACKTRACE=1 by default #8194

Fixes #8194

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8590)
<!-- Reviewable:end -->
2015-11-19 06:40:02 +05:30
bors-servo
acbe413052 Auto merge of #8530 - KiChjang:split-constellation-msg, r=jdm
Split ConstellationMsg into ScriptMsg and CompositorMsg

Fixes #8356.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8530)
<!-- Reviewable:end -->
2015-11-19 04:39:20 +05:30
bors-servo
d11442bdcc Auto merge of #8591 - benschulz:im-a-toddler, r=jdm
Correct undisciplined rebase. (Closes #8583.)

I screwed up the rebase on top of #8175; sorry to waste your time with this, @jdm. :(

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8591)
<!-- Reviewable:end -->
2015-11-19 01:58:30 +05:30
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