Commit graph

14295 commits

Author SHA1 Message Date
bors-servo
c19b01c2f4 Auto merge of #8559 - glennw:transform-layers, r=pcwalton
Include transform changes in list that cause incremental reflows.

Also ensure that 3d translations get layers.

Fixes #8329.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8559)
<!-- Reviewable:end -->
2015-11-21 02:28:18 +05:30
bors-servo
fc54534898 Auto merge of #8624 - Ms2ger:node, r=pcwalton
Pass ServoLayoutNode to query functions.

This means we only deal with TrustedNodeAddress in LayoutTask::handle_reflow,
which is where the safety of this usage is guaranteed (by the ScriptReflow
destructor).

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8624)
<!-- Reviewable:end -->
2015-11-21 01:39:11 +05:30
Ms2ger
b77576f34b Pass ServoLayoutNode to query functions.
This means we only deal with TrustedNodeAddress in LayoutTask::handle_reflow,
which is where the safety of this usage is guaranteed (by the ScriptReflow
destructor).
2015-11-20 14:34:10 +01:00
bors-servo
cb443b49ef Auto merge of #8619 - Ms2ger:test-ref, r=frewsxcv
Use wptrunner for some old-style reftests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8619)
<!-- Reviewable:end -->
2015-11-20 18:59:28 +05:30
Ms2ger
068a584241 Move overflow_auto.html, overflow_scroll.html and overflow_simple_a.html to wpt reftests. 2015-11-20 12:19:40 +01:00
Ms2ger
22656dc39d Move ol_japanese_iroha_a.html and ol_japanese_iroha_bullet_styles.html to wpt reftests. 2015-11-20 12:10:31 +01:00
Ms2ger
d6a7794f41 Move octicons_a.html to wpt reftests. 2015-11-20 12:07:03 +01:00
Ms2ger
6a862fc747 Move noteq_attr_exists_selector.html to wpt reftests. 2015-11-20 12:02:47 +01:00
Ms2ger
07d1f3f546 Move marker_block_direction_placement_a.html to wpt reftests. 2015-11-20 11:58:34 +01:00
Ms2ger
1a55b4a5fe Move margin_a.html to wpt reftests. 2015-11-20 11:56:42 +01:00
Ms2ger
872334a364 Move list_style_type_a.html to wpt reftests. 2015-11-20 11:54:11 +01:00
Ms2ger
6a2cbfc9d9 Move list_style_position_a.html to wpt reftests. 2015-11-20 10:21:04 +01:00
bors-servo
0146751bb2 Auto merge of #8615 - Ms2ger:unusued-import, r=SimonSapin
Remove unused import.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8615)
<!-- Reviewable:end -->
2015-11-20 13:26:18 +05:30
Ms2ger
b40c629aac Remove unused import. 2015-11-20 08:55:41 +01:00
bors-servo
8b39b9afed Auto merge of #8599 - jdm:e10s-redux, r=metajack
compositing: Split Servo up into multiple sandboxed processes.

Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.

Rebase of #6884.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8599)
<!-- Reviewable:end -->
2015-11-20 03:59:48 +05:30
Patrick Walton
1c130819ca compositing: Split Servo up into multiple sandboxed processes.
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.
2015-11-19 16:38:04 -05:00
bors-servo
e5c9b48598 Auto merge of #8589 - vegayours:8360_reduce_node_unique_id_size, r=eefriedman
Reduce node.unique_id size

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8589)
<!-- Reviewable:end -->
2015-11-20 01:44:19 +05:30
bors-servo
ff4171170d Auto merge of #8606 - rilut:refactor-layout-task, r=Ms2ger
refactor(layout_task.rs): move some functions to query.rs

Should fixes #8470

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8606)
<!-- Reviewable:end -->
2015-11-19 23:48:17 +05:30
bors-servo
7f95693288 Auto merge of #8564 - jgraham:webdriver_attr, r=Ms2ger
Implement Get Element Attribute WebDriver command

This intentionally doesn't implement the special handling for boolean
attributes yet, since that requires some kind of exhaustive list of all
such attributes

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8564)
<!-- Reviewable:end -->
2015-11-19 23:16:25 +05:30
bors-servo
ced8763b25 Auto merge of #8604 - Ms2ger:unused-import, r=jdm
Remove unused import.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8604)
<!-- Reviewable:end -->
2015-11-19 22:12:19 +05:30
Rizky Luthfianto
2c7117d73b refactor(layout_task.rs): move some functions to query.rs 2015-11-19 23:30:39 +07:00
bors-servo
7526ed72d7 Auto merge of #8605 - Ms2ger:rename-argument, r=jdm
Rename a confusing argument.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8605)
<!-- Reviewable:end -->
2015-11-19 21:39:57 +05:30
Ms2ger
b7117893af Rename a confusing argument. 2015-11-19 16:18:28 +01:00
Ms2ger
bf7053bc17 Remove unused import. 2015-11-19 16:14:47 +01:00
bors-servo
4f1feb3925 Auto merge of #8596 - yanirs:build-binary-path-reduce-duplication, r=larsbergstrom
Reduce duplication in binary path determinition for Android target

Fixes issue #8349

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