Commit graph

3647 commits

Author SHA1 Message Date
Patrick Walton
5e94d69726 Merge pull request #1181 from kmcallister/opengles
Update rust-opengles for bugfix
2013-11-01 23:36:53 -07:00
Keegan McAllister
c1750a2af9 Update rust-opengles for bugfix 2013-11-01 18:18:23 -07:00
Ms2ger
1f4cc4182e Introduce HTMLInputElement::new. 2013-11-01 23:34:26 +01:00
Ms2ger
b592742b25 Introduce HTMLLabelElement::new. 2013-11-01 23:28:55 +01:00
Ms2ger
721119132a Introduce HTMLLegendElement::new. 2013-11-01 23:23:52 +01:00
Josh Matthews
403a82eb82 Display live stdout from content tests. 2013-11-01 18:23:24 -04:00
Ms2ger
186a757c05 Introduce HTMLLinkElement::new. 2013-11-01 23:16:25 +01:00
Ms2ger
3b58858c7e Introduce HTMLLIElement::new. 2013-11-01 23:12:56 +01:00
Ms2ger
9afab1807a Introduce HTMLMapElement::new. 2013-11-01 23:06:49 +01:00
Ms2ger
81018b3dcc Introduce HTMLMainElement::new. 2013-11-01 22:46:44 +01:00
Ms2ger
5a18c616d6 Introduce HTMLMetaElement::new. 2013-11-01 22:42:19 +01:00
Keegan McAllister
35d863cc89 Fix infinite recursion in Au formatting
Polymorphism strikes again.  This should have been **obj but let's switch to an
explicit pattern match to be safe.

Fixes #1172.
2013-11-01 14:36:24 -07:00
Ms2ger
db3515240a Introduce HTMLMeterElement::new. 2013-11-01 22:36:17 +01:00
Ms2ger
5cfa70c769 Introduce HTMLModElement::new and use it for del/ins, not the non-existent mod. 2013-11-01 22:12:43 +01:00
Ms2ger
b20461f253 Introduce HTMLObjectElement::new. 2013-11-01 22:02:32 +01:00
Ms2ger
9fbc45ae9c Introduce HTMLOListElement::new. 2013-11-01 21:56:22 +01:00
Ms2ger
6c217c6872 Introduce HTMLOptionElement::new. 2013-11-01 21:52:43 +01:00
Ms2ger
21be4752a1 Introduce HTMLOptGroupElement::new. 2013-11-01 21:47:25 +01:00
Ms2ger
bc61e0348e Introduce HTMLOutputElement::new. 2013-11-01 21:39:55 +01:00
bors-servo
bb71ee4541 auto merge of #1166 : SimonSapin/servo/private, r=pcwalton
I.e. make every module private by default.
2013-11-01 07:13:19 -07:00
Simon Sapin
7a48cb6815 Only export an explicit public API in the style crate
I.e. make every module private by default.
2013-11-01 14:11:13 +00:00
Simon Sapin
23e3757db6 Update rust-cssparser for visibility rules. 2013-11-01 13:32:03 +00:00
Ms2ger
6623c580a3 Implement restrictions on the children of Document nodes. 2013-11-01 12:13:30 +01:00
bors-servo
ddce8b8fa0 auto merge of #1152 : ILyoan/servo/parallel_selector_matching, r=SimonSapin
This an attempt to parallelize selector matching.

Approach
* Let the `match_subtree` spawn limited number of tasks.
* Each of them takes a list of nodes that is uniformly distributed
* And then each task does the selector matching for every single node in its list.

(Not sure if this is worthwhile for long term especially considering CSS optimizing techniques such as ancestor filter or style sharing)

Benchmark from my machine (LayoutSelectorMatchCategory) (intel i7 3.4GHz * 8, linux x86_64)
* src/test/demo.html
 * original: 0.07ms
 * parallel: 0.20ms
* perf-rainbow.html
 * original: 485ms
 * parallel: 245ms
* A test page with 15000 nodes and 3000 CSS selector(including inline style).
 * original: 140ms
 * parallel: 60ms
2013-10-31 23:25:26 -07:00
bors-servo
a72d055800 auto merge of #1156 : SimonSapin/servo/logging, r=kmcallister
(Ab)using `error!()` because it’s enabled by default.
2013-10-31 17:55:14 -07:00
Simon Sapin
abb1bdefee Log CSS errors on stderr, with serialized bits of CSS. 2013-11-01 00:30:20 +00:00
bors-servo
352acbb833 auto merge of #1163 : metajack/servo/kmc-rust-upgrade, r=kmcallister
Most work courtesy of @kmcallister.

I already reviewed Keegan's work, so just the last two commits need attention.
2013-10-31 16:34:14 -07:00
Jack Moffitt
aaf96b6003 Update submodules. 2013-10-31 14:58:56 -06:00
Jack Moffitt
11dc2ff875 Fix logging to account for lack of Default. 2013-10-31 14:58:55 -06:00
Keegan McAllister
f016ede8b0 Touch rust-auto-clean-trigger 2013-10-31 14:58:55 -06:00
Keegan McAllister
67baffe748 Update reftest runner for new Rust 2013-10-31 14:58:55 -06:00
Keegan McAllister
cbcd04ffa8 Store the Page's final URL before parsing
We were parsing URLs like

    //bits.wikimedia.org/static-1.22wmf22/skins/vector/images/search-ltr.png?303-4

as local filenames because HTMLImageElement::update_image didn't have a
current_url to pass to make_url().
2013-10-31 14:58:55 -06:00
Keegan McAllister
da6c27c421 Remove unnecessary format!s 2013-10-31 14:58:55 -06:00
Keegan McAllister
b451ff3e15 Other language changes 2013-10-31 14:58:55 -06:00
Keegan McAllister
4d23ce41af Add a helper for ignoring the EOF condition so we don't crash 2013-10-31 14:58:55 -06:00
Keegan McAllister
e2b7885b73 fmt! -> format! 2013-10-31 14:58:55 -06:00
Keegan McAllister
e7e7eab905 Add default formatters for Au and Range 2013-10-31 14:58:54 -06:00
Keegan McAllister
8010493089 Upgrade submodules 2013-10-31 14:58:28 -06:00
Keegan McAllister
b8d85cc0c0 Upgrade the Rust compiler 2013-10-31 14:58:28 -06:00
Keegan McAllister
f3b2d36018 Remove unused rust-http-client 2013-10-31 14:58:28 -06:00
bors-servo
041f3a8b06 auto merge of #1162 : Ms2ger/servo/new-htmlelement, r=jdm 2013-10-31 13:55:29 -07:00
bors-servo
d54994a400 auto merge of #1161 : jdm/servo/docnode, r=metajack
r? @metajack
2013-10-31 13:31:42 -07:00
Ms2ger
78010f96bc Introduce HTMLParagraphElement::new. 2013-10-31 21:11:00 +01:00
Ms2ger
09b840c7ed Introduce HTMLParamElement::new. 2013-10-31 21:06:37 +01:00
Ms2ger
ec2fd955aa Introduce HTMLPreElement::new. 2013-10-31 21:00:19 +01:00
Ms2ger
d4d9395c90 Introduce HTMLProgressElement::new. 2013-10-31 20:47:57 +01:00
Ms2ger
e3ac4c9e00 Introduce HTMLQuoteElement::new. 2013-10-31 20:24:27 +01:00
Ms2ger
152f44db52 Introduce HTMLScriptElement::new. 2013-10-31 20:18:09 +01:00
Ms2ger
9cf5bbbfec Introduce HTMLSelectElement::new. 2013-10-31 20:11:52 +01:00
bors-servo
87bd99d05f auto merge of #1149 : pcwalton/servo/store-overflow, r=kmcallister
This adds just 4 ms out of ~120 ms on the rainbow page.

r? @kmcallister
2013-10-31 12:10:32 -07:00