Commit graph

2337 commits

Author SHA1 Message Date
Tim Taubert
5080c0d86e Make Event::new take enumerated values instead of booleans (fixes #3643) 2014-10-11 16:57:00 +02:00
Manish Goregaokar
76219df816 Address review comments 2014-10-11 16:10:02 +05:30
Manish Goregaokar
10d9a66ce1 Correct <input>.value 2014-10-11 16:10:01 +05:30
Manish Goregaokar
b28a4c8858 Implement extremely basic form submission (fixes #3554) 2014-10-11 16:00:16 +05:30
Manish Goregaokar
cc6e81103f Fix <input>.checked 2014-10-11 09:48:16 +05:30
Manish Goregaokar
8a2c746e61 Add type IDL attr for submittable elements 2014-10-11 09:48:15 +05:30
Patrick Walton
2a790d06dd Use Gecko's simpler Bloom filter instead of one based on hash
stretching.

This preserves the usage of the Bloom filter throughout style recalc,
but the implementation is rewritten. Provides a 15% improvement on
Guardians of the Galaxy.
2014-10-10 17:02:27 -07:00
Ms2ger
76ba40d5cb Remove support for {return,native,concrete}Type overrides in Bindings.conf.
We have no reason to support non-default type names, and this commit corrects
the computations for callbacks (which needed the override until now).
2014-10-10 13:13:43 +02:00
bors-servo
2f9808e130 auto merge of #3626 : Manishearth/servo/form-prep, r=jdm
Framework for form submission
2014-10-09 16:00:34 -06:00
Clark Gaebel
d12c6e7383 Incremental Style Recalc
This patch puts in the initial framework for incremental reflow. Nodes' styles
are no longer recalculated unless the node has changed.

I've been hacking on the general problem of incremental reflow for the past
couple weeks, and I've yet to get a full implementation that actually passes all
the reftests + wikipedia + cnn. Therefore, I'm going to try to land the different
parts of it one by one.

This patch only does incremental style recalc, without incremental flow
construction, inline-size bubbling, reflow, or display lists. Those will be coming
in that order as I finish them.

At least with this strategy, I can land a working version of incremental reflow,
even if not yet complete.

r? @pcwalton
2014-10-09 12:55:21 -04:00
Tim Taubert
35f8270c64 Remove unnecessary deref()s (fixes #3586) 2014-10-09 15:01:54 +02:00
Manish Goregaokar
ad16c52a6b Allow passing a method, request body, and headers to the pipeline in LoadUrlMsg 2014-10-09 14:09:29 +05:30
bors-servo
a127fcd854 auto merge of #3577 : ttaubert/servo/issue/3193-named-element-mangle, r=jdm
Should probably use HashMap::entry() but that doesn't seem to be available with servo's current rust snapshot.

r? @Ms2ger
2014-10-08 13:15:32 -06:00
bors-servo
94731270df auto merge of #3605 : Manishearth/servo/form-stuff, r=jdm 2014-10-08 03:42:34 -06:00
Manish Goregaokar
1484acb7af Address review comments 2014-10-08 14:37:22 +05:30
Tim Taubert
b9e23563bb Support [*|attr], attribute selectors in any namespace (fixes #1558) 2014-10-08 11:01:31 +02:00
Manish Goregaokar
3a1f9bd7fb Use macro setters everywhere else 2014-10-07 22:22:54 +05:30
Manish Goregaokar
8cba6c7580 Add macro for reflecting URLs 2014-10-07 22:22:48 +05:30
Manish Goregaokar
e9f654d60a Use macro setters for <img> 2014-10-07 21:29:26 +05:30
Manish Goregaokar
65e9ab8ece Use macro setters for <input> 2014-10-07 21:22:03 +05:30
Manish Goregaokar
332c94b730 Implement most of HTMLFormElement's webidl 2014-10-07 21:12:55 +05:30
Manish Goregaokar
98d1ddfcd3 Add setter macros, improve getter macros 2014-10-07 19:49:43 +05:30
Gilles Leblanc
3a5a66d54e Take the prefix from createElementNS into account for HTML elements
Fixes #3139
2014-10-06 22:49:49 -04:00
bors-servo
06489fcc42 auto merge of #3571 : Ms2ger/servo/rewrite-js-url, r=jdm
This should make it clearer that we always pass a URL to Document::new, and
avoids an unnecessary unwrap() call.
2014-10-06 12:21:30 -06:00
bors-servo
f60e985e6b auto merge of #3570 : Ms2ger/servo/rc-scripttask, r=metajack
The ScriptTask is owned by the proc in ScriptTaskFactory::create.

We started using a managed box for what would eventually become ScriptTask in
d21d27e086.
2014-10-06 11:00:37 -06:00
Tim Taubert
a338fbc4b5 Use HashMap::find_with_or_insert_with in DocumentHelpers::register_named_element (fixes #3193) 2014-10-06 03:28:15 +02:00
Manish Goregaokar
427b3b7733 Remove Traceable/Untraceable entirely 2014-10-05 22:58:00 +05:30
Manish Goregaokar
b7c3a1cd5d Remove Untraceable from utils.rs 2014-10-05 22:53:52 +05:30
Manish Goregaokar
dcbb941300 Remove Traceable from callback.rs 2014-10-05 22:53:52 +05:30
Manish Goregaokar
707a2870fa Remove Traceable/Untraceable from page.rs 2014-10-05 22:53:50 +05:30
Manish Goregaokar
22567762a0 Remove Traceable/Untraceable from window.rs 2014-10-05 22:39:24 +05:30
Manish Goregaokar
a8f96ddfb2 Remove Traceable/Untraceable from node.rs 2014-10-05 22:36:08 +05:30
Manish Goregaokar
5c8a45d74e Remove Traceable/Untraceable from xmlhttprequest.rs 2014-10-05 22:32:10 +05:30
Manish Goregaokar
87df84fcf8 Remove Untraceable from workerlocation.rs 2014-10-05 22:27:54 +05:30
Manish Goregaokar
0fdee70cbf Remove Untraceable from workerglobalscope.rs 2014-10-05 22:27:52 +05:30
Manish Goregaokar
16d12d0a82 Remove Traceable from urlsearchparams.rs 2014-10-05 22:26:52 +05:30
Manish Goregaokar
1d2c15e657 Remove Traceable from uievent.rs 2014-10-05 22:26:50 +05:30
Manish Goregaokar
a8997e9638 Remove Untraceable from treewalker.rs 2014-10-05 22:23:02 +05:30
Manish Goregaokar
df8b8ab24f Remove Traceable from mouseevent.rs 2014-10-05 22:22:59 +05:30
Manish Goregaokar
d084523a84 Remove Traceable from messageevent.rs 2014-10-05 22:16:41 +05:30
Manish Goregaokar
b322db8866 Remove Untraceable from htmlimageelement.rs 2014-10-05 22:16:41 +05:30
Manish Goregaokar
dcda2cb94b Remove Traceable from htmliframelement.rs 2014-10-05 22:16:41 +05:30
Manish Goregaokar
c7bf94680f Remove Traceable from htmlcanvaselement.rs 2014-10-05 22:16:38 +05:30
Manish Goregaokar
d9d3ddc865 Remove Traceable from formdata.rs 2014-10-05 22:13:16 +05:30
Manish Goregaokar
25af998842 Remove Traceable from eventtarget.rs 2014-10-05 22:13:16 +05:30
Manish Goregaokar
7e1e76f8b0 Remove Traceable from event.rs 2014-10-05 22:13:14 +05:30
Manish Goregaokar
96f6c2fd67 Remove Traceable from element.rs 2014-10-05 22:09:12 +05:30
Manish Goregaokar
4f362ab5e6 Remove Untraceable/Traceable from document.rs 2014-10-05 21:58:59 +05:30
Manish Goregaokar
ad84dd7e47 Remove Untraceable from canvasrenderingcontext2d.rs 2014-10-05 21:36:19 +05:30
Manish Goregaokar
7defa5e941 Remove Untraceable from dedicatedglobalworkerscope.rs 2014-10-05 21:36:17 +05:30