Commit graph

4860 commits

Author SHA1 Message Date
Ms2ger
f81ed712a8 Introduce HTMLDataListElement::new. 2013-11-02 12:58:32 +01:00
Ms2ger
0113717d24 Introduce HTMLDirectoryElement::new. 2013-11-02 12:53:45 +01:00
Ms2ger
4d7b0a5e52 Introduce HTMLDivElement::new. 2013-11-02 12:50:15 +01:00
Ms2ger
dea0f088de Introduce HTMLDListElement::new. 2013-11-02 12:27:23 +01:00
Ms2ger
7290e75c6b Introduce HTMLEmbedElement::new. 2013-11-02 12:15:51 +01:00
Ms2ger
f3b1cabf32 Introduce HTMLFieldSetElement::new. 2013-11-02 12:10:27 +01:00
Ms2ger
a8578701a8 Introduce HTMLFontElement::new. 2013-11-02 12:05:06 +01:00
Ms2ger
b923bcdef7 Introduce HTMLFormElement::new. 2013-11-02 11:55:54 +01:00
Ms2ger
996f2dcbb9 Introduce HTMLFrameElement::new. 2013-11-02 11:51:02 +01:00
Ms2ger
d8198249ec Introduce HTMLFrameSetElement::new. 2013-11-02 11:46:50 +01:00
Ms2ger
5bfc044ee4 Introduce HTMLHRElement::new. 2013-11-02 11:41:51 +01:00
Ms2ger
dac20f11d4 Introduce HTMLHeadElement::new. 2013-11-02 11:37:57 +01:00
Ms2ger
1e42f27560 Introduce HTMLHtmlElement::new. 2013-11-02 11:28:54 +01:00
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