bors-servo
7bfa185dca
auto merge of #1606 : Ms2ger/servo/unused-import, r=jdm
2014-02-04 15:22:38 -08:00
bors-servo
5b93bc7b21
auto merge of #1578 : pradeep90/servo/stacking-context, r=larsbergstrom,larsbergstrom
...
For ScannedTextBox and ImageBox, the ClipDisplayItem's child_list is
currently always empty.
ClipDisplayItem is used to implement overflow hidden and should only be
created for block containers, as per
http://www.w3.org/TR/CSS2/visufx.html#propdef-overflow
2014-02-04 14:52:39 -08:00
S Pradeep Kumar
35a869d3d6
Remove unnecessary ClipDisplayItems in box_.rs
...
For ScannedTextBox and ImageBox, the ClipDisplayItem's child_list is
currently always empty.
ClipDisplayItem is used to implement overflow hidden and should only be
created for block containers, as per
http://www.w3.org/TR/CSS2/visufx.html#propdef-overflow
Take care of the case when a BlockFlow has no children display items -
like an ImageBox with "display: block".
2014-02-04 10:04:25 +09:00
S Pradeep Kumar
73d0ceac54
Add more documentation for layout.
...
+ Annotate functions with CSS Reference sections.
+ Clean up comments and whitespace.
2014-02-03 10:40:48 +09:00
Simon Sapin
33f8ef618b
Rename make_url/current_url to parse_url/base_url, to align with spec terminology.
2014-02-01 17:51:15 +01:00
Simon Sapin
39e781bcc7
Remove some dead code.
2014-02-01 17:39:09 +01:00
Ms2ger
5de886b31d
Remove duplicate imports from render_task.rs.
2014-02-01 10:16:44 +01:00
bors-servo
301a057da6
auto merge of #1605 : pcwalton/servo/harden-layout-more, r=metajack
...
Closes #1584 .
r? @metajack
2014-01-31 18:22:36 -08:00
Patrick Walton
17eea6bb45
layout: Enforce that flow construction is thread-safe.
...
Closes #1584 .
2014-01-31 17:54:13 -08:00
bors-servo
584c9718a7
auto merge of #1603 : xiongmao86/servo/master, r=larsbergstrom
...
I failed at make check, and find the problem in check.mk
2014-01-31 06:19:20 -08:00
bors-servo
1bf44289b1
auto merge of #1599 : brunoabinader/servo/document-compatmode, r=Ms2ger
...
Spec:
http://dom.spec.whatwg.org/#dom-document-compatmode
This is a sub-task for #1428 .
2014-01-31 01:22:18 -08:00
xiongmao86
d5dbac88a5
Failed to link -lpng while make reftest is fixed.
2014-01-31 17:16:26 +08:00
Patrick Walton
a0fbc04ba5
script: Inline some hot functions used in flow constructions.
...
9% improvement in style recalc on the rainbow page.
2014-01-30 18:05:12 -08:00
bors-servo
e2e848c6ad
auto merge of #1600 : pcwalton/servo/use-concurrent-hash-map, r=larsbergstrom
...
64% improvement in style recalc.
r? @larsbergstrom
2014-01-30 16:28:18 -08:00
bors-servo
31442fe856
auto merge of #1598 : pcwalton/servo/sequential-mirrors-parallel, r=larsbergstrom
...
in the parallel path.
r? @larsbergstrom
2014-01-30 16:01:24 -08:00
Patrick Walton
939f1a28a3
layout: Consolidate passes in the sequential path that were consolidated
...
in the parallel path.
2014-01-30 15:25:25 -08:00
bors-servo
9352e1db00
auto merge of #1579 : ibnc/servo/multiple_display_lists, r=larsbergstrom
...
Fixes : #1538
Still needs to be rebased.
2014-01-30 15:22:33 -08:00
Bruno de Oliveira Abinader
56572a2814
Implement document.compatMode
...
Spec:
http://dom.spec.whatwg.org/#dom-document-compatmode
This is a sub-task for #1428 .
2014-01-30 19:12:19 -04:00
Patrick Walton
a8e35fbeac
layout: Use the concurrent hash map for the leaf sets.
...
64% improvement in style recalc.
2014-01-30 15:11:35 -08:00
Isabelle Carter
0892fada74
Multiple display list support
2014-01-30 17:11:17 -06:00
bors-servo
0dd37d9cd3
auto merge of #1592 : pcwalton/servo/concurrent-hash-map, r=larsbergstrom
...
This will be used for leaf sets and interned strings.
r? @larsbergstrom
2014-01-30 14:43:18 -08:00
Patrick Walton
8690c8f87f
util: Implement a Doug Lea-style concurrent hash table.
...
This will be used for leaf sets and interned strings.
2014-01-30 14:34:16 -08:00
bors-servo
34746359f0
auto merge of #1590 : pcwalton/servo/thread-safe-flow-construction, r=metajack
...
non-element children during the cascade.
Fetching them from the parent isn't thread-safe.
r? @metajack
2014-01-30 14:04:18 -08:00
bors-servo
ad2d1e9d87
auto merge of #1585 : pcwalton/servo/parallel-aux-init, r=metajack
...
Brings aux initialization time down to essentially zero (!)
r? @metajack
2014-01-30 13:40:28 -08:00
Patrick Walton
94ab4f5086
layout: Perform aux initialization in parallel.
...
Brings aux initialization time down to essentially zero (!)
2014-01-30 13:13:56 -08:00
Patrick Walton
0e20ec02c5
layout: Make box building thread safe by pushing down styles into
...
non-element children during the cascade.
Fetching them from the parent isn't thread-safe.
Adds a test for anonymous block box inheritance.
2014-01-30 13:09:01 -08:00
bors-servo
e9a0c8184f
auto merge of #1597 : larsbergstrom/servo/add_page_loaded, r=pcwalton
...
Add a LoadComplete message so that script informs the constellation, which can then inform the compositor (and anyone else, later) about the completion of loading a page. This is important for ref tests, which should not emit a PNG until load has completed, even if we perform a composite before then.
Note that we must *also* wait for the `ready_state` to indicate that additionally layout has completed any associated reflow with the page, otherwise we could get the `LoadComplete` while the final reflow is still in progress and thus would write out the `n-1`'th reflow result.
r? @pcwalton
2014-01-30 12:49:28 -08:00
bors-servo
6c2e48f04d
auto merge of #1593 : pcwalton/servo/dom-leaf-set, r=metajack
...
construction.
This will be very slow until we have the concurrent hash table, but we
might as well get it in.
r? @metajack
2014-01-30 12:10:35 -08:00
Patrick Walton
e94b3d140c
update per comment
2014-01-30 12:07:35 -08:00
Lars Bergstrom
f41c39b3dd
Add a LoadComplete message so that script informs the constellation,
...
which can then inform the compositor (and anyone else, later) about
the completion of loading a page. This is important for ref tests,
which should not emit a PNG until load has completed, even if we
perform a composite before then.
2014-01-30 13:48:22 -06:00
bors-servo
60b8d47b0e
auto merge of #1595 : brunoabinader/servo/patch-1, r=larsbergstrom
...
TSIA.
2014-01-30 10:43:33 -08:00
Bruno de Oliveira Abinader
48f0e12237
Added link to GitHub & Critic PR handling 101
...
TSIA.
2014-01-30 13:40:18 -05:00
bors-servo
3256cfb78c
auto merge of #1564 : pcwalton/servo/small-vector, r=larsbergstrom
...
12% improvement on style recalc for the rainbow page.
r? @larsbergstrom
2014-01-30 10:13:32 -08:00
bors-servo
572959c3e6
auto merge of #1583 : brunoabinader/servo/document-url, r=Ms2ger
...
Specs:
http://dom.spec.whatwg.org/#dom-document-url
http://dom.spec.whatwg.org/#dom-document-documenturi
This is a sub-task for #1428 .
2014-01-30 08:58:40 -08:00
Patrick Walton
61b030552e
layout: Small vector optimize CSS selector matching
2014-01-30 08:43:24 -08:00
Patrick Walton
beb9b9bd92
util: Implement a small vector type.
...
This will be upstreamed to the Rust library once it bakes.
2014-01-30 08:43:02 -08:00
bors-servo
74562b43f3
auto merge of #1580 : brunoabinader/servo/dom-exception, r=Ms2ger
...
Spec:
http://dom.spec.whatwg.org/#domexception
This is a subtask for #1542 .
2014-01-30 07:28:38 -08:00
Bruno de Oliveira Abinader
43416ef91f
Implement document.URL & document.documentURI
...
Specs:
http://dom.spec.whatwg.org/#dom-document-url
http://dom.spec.whatwg.org/#dom-document-documenturi
This is a sub-task for #1428 .
2014-01-30 10:41:24 -04:00
bors-servo
0777f211df
auto merge of #1567 : pcwalton/servo/quicksort-selector-matching, r=larsbergstrom
...
17% improvement in selector matching on the rainbow page.
r? @larsbergstrom
2014-01-30 04:01:44 -08:00
Patrick Walton
b27f4a8969
layout: Introduce a DOM leaf set as a prerequisite for parallel flow
...
construction.
This will be very slow until we have the concurrent hash table, but we
might as well get it in.
2014-01-29 21:05:50 -08:00
Patrick Walton
3764c3c49f
style: Quicksort rules to avoid allocation of temporary vectors.
...
17% improvement in selector matching on the rainbow page.
2014-01-29 20:43:33 -08:00
bors-servo
9f6ab8ed77
auto merge of #1589 : pcwalton/servo/stop-removing-flows, r=larsbergstrom
...
to be leaves.
60% improvement in flow tree construction time on the rainbow page.
r? @larsbergstrom
2014-01-29 15:09:52 -08:00
Patrick Walton
e579daefc2
layout: Stop adding flows to the leaf set that are obviously never going
...
to be leaves.
60% improvement in flow tree construction time on the rainbow page.
2014-01-29 15:01:26 -08:00
bors-servo
7e3075522d
auto merge of #1587 : pcwalton/servo/profile-damage, r=larsbergstrom
...
WebKit calls it) into one supercategory in the profiler.
r? @larsbergstrom
2014-01-29 12:28:39 -08:00
Patrick Walton
21656b874d
layout: Profile layout damage propagation and group "style recalc" (as
...
WebKit calls it) into one supercategory in the profiler
2014-01-29 11:41:22 -08:00
Bruno de Oliveira Abinader
0c6de1bb34
Basic skeleton for DOMException
...
Spec:
http://dom.spec.whatwg.org/#domexception
This is a subtask for #1542 .
2014-01-29 14:58:22 -04:00
bors-servo
6c63de1c03
auto merge of #1582 : saneyuki/servo/1569, r=Ms2ger
...
retry: #1581
this will fix #1569
2014-01-29 04:53:07 -08:00
Tetsuharu OHZEKI
c95bb6403c
Make Node::{remove, insert} take a descriptive enum for suppress_observers instead of a boolean.
2014-01-29 20:13:12 +09:00
bors-servo
e29247ce55
auto merge of #1562 : wowus/servo/master, r=metajack
...
Is there a central configuration module which I can query for max_redirects?
2014-01-28 19:20:48 -08:00
Clark Gaebel
015902f778
Added bound to number of HTTP redirects, and prevented redirect loops.
2014-01-28 21:38:00 -05:00