Commit graph

5232 commits

Author SHA1 Message Date
Ms2ger
9346a66017 Remove tests for unimplemented features. 2014-06-02 17:42:10 +02:00
bors-servo
05a57848ad auto merge of #2527 : Manishearth/servo/xhr-wpt-ready-state, r=Ms2ger
For the wpt test [open-open-send.htm](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-open-send.htm)


Blocks #2525
2014-06-02 11:37:29 -04:00
bors-servo
8c73f252ca auto merge of #2548 : ebalint/servo/master, r=Ms2ger 2014-06-02 10:49:33 -04:00
Edit Balint
7910eb1399 Add a static from_rooted method to JS<T> #2309 2014-06-02 15:48:19 +02:00
Ms2ger
6d619f484c Support enumerations in dictionaries. 2014-06-02 14:46:23 +02:00
Ms2ger
7e310d1949 Enable some more dictionary codegen tests. 2014-06-02 14:45:29 +02:00
Ms2ger
c675421279 Remove low-level pointer stitching methods from Node.
There is no good reason for the additional abstraction here.

This commit also adds assertions that were suggested in XXX comments.
2014-06-02 13:33:59 +02:00
Ms2ger
c1d2d700c5 Remove not-yet-implemented APIs, and update MouseEvent to specification. 2014-06-02 12:32:09 +02:00
Manish Goregaokar
bd3d7087fd don't change readystate if it's already been changed 2014-06-02 14:24:02 +05:30
bors-servo
59cef940e8 auto merge of #2535 : saneyuki/servo/mut, r=jdm
Related #2514
2014-06-01 16:19:20 -04:00
bors-servo
05acf41317 auto merge of #2544 : saneyuki/servo/rm_main, r=jdm
Fix #2541
2014-06-01 15:49:23 -04:00
Tetsuharu OHZEKI
49362aa255 Remove HTMLMainElement.
https://github.com/mozilla/servo/issues/2541
2014-06-02 04:40:46 +09:00
Tetsuharu OHZEKI
3819ebb740 Remove needless '&mut self' from node.rs. 2014-06-02 04:28:04 +09:00
bors-servo
6751990c0d auto merge of #2543 : Ms2ger/servo/nyi, r=jdm
These stub implementations bring no value, and significantly increased
maintenance costs.

This commit also synchronizes the IDL with the HTML specification and
makes the URLs consistent.
2014-06-01 13:37:49 -04:00
Ms2ger
2f0929fc36 Restore HTMLSelectElement.add to avoid neutering test_union.html. 2014-06-01 18:01:56 +02:00
Tetsuharu OHZEKI
25a6deda4d Remove needless lifetime parameter from LayoutNodeHelpers. 2014-06-02 00:40:09 +09:00
Tetsuharu OHZEKI
ad22b29b2d Remove the implementation OptionalSettable for Option<JS<T>> to remove needless '&mut self'. 2014-06-02 00:39:16 +09:00
Tetsuharu OHZEKI
a0a0e07f71 Make Document.implementation be in a Cell. 2014-06-02 00:38:57 +09:00
Tetsuharu OHZEKI
93f8ae4cf0 Make UIEvent.view be in a Cell. 2014-06-02 00:38:57 +09:00
Tetsuharu OHZEKI
b38f39ebe4 Fix regression that no update to Page.fragment_node. 2014-06-02 00:38:57 +09:00
Ms2ger
a0783aebbf Remove not-yet-implemented members from IDL and Rust code.
These stub implementations bring no value, and significantly increased
maintenance costs.

This commit also synchronizes the IDL with the HTML specification and
makes the URLs consistent.
2014-06-01 15:41:09 +02:00
bors-servo
eaae994d57 auto merge of #2532 : Ms2ger/servo/create_window_proxy, r=jdm 2014-05-31 13:49:17 -04:00
bors-servo
362af39b83 auto merge of #2533 : Ms2ger/servo/callback-bindingdeclarations, r=jdm
This commit also includes improvements to the 'use' order in some of the
touched files.
2014-05-31 13:16:12 -04:00
Ms2ger
33e64c95d3 Include modules with only callbacks in BindingDeclarations.
This commit also includes improvements to the 'use' order in some of the
touched files.
2014-05-31 18:58:04 +02:00
Ms2ger
ecd1233fa8 Make BrowserContext::create_window_proxy private and make it set the window_proxy field itself. 2014-05-31 17:07:44 +02:00
bors-servo
facc15f5fd auto merge of #2528 : Ms2ger/servo/event-new, r=jdm 2014-05-31 10:01:08 -04:00
Ms2ger
d896442a4a Implement Event::new_initialized and initialize the event in Event::new. 2014-05-31 10:42:21 +02:00
bors-servo
68e3fb26a7 auto merge of #2523 : mrobinson/servo/background-color, r=pcwalton
The first layer implicitly provides the size of the page, but child
layer background colors can still improperly override the body
background color. This commit ensures that layer background colors only
apply to layers with the same id and pipeline id. Additionally the root
layer's unrendered color is defined by the first layer's background
color, just like for size.
2014-05-30 17:40:18 -04:00
bors-servo
5f5897f4e4 auto merge of #2522 : Ms2ger/servo/codegen-cleanup, r=jdm 2014-05-30 16:31:10 -04:00
Martin Robinson
12097703ba Prevent child layers from overriding root background color
The first layer implicitly provides the size of the page, but child
layer background colors can still improperly override the body
background color. This commit ensures that layer background colors only
apply to layers with the same id and pipeline id. Additionally the root
layer's unrendered color is defined by the first layer's background
color, just like for size.
2014-05-30 13:16:24 -07:00
Ms2ger
0e83f5af00 Fix minor misformatting in codegen. 2014-05-30 21:49:09 +02:00
bors-servo
d7cac61d9c auto merge of #2520 : saneyuki/servo/mut, r=Ms2ger
Related #2514

- This removes needless `&mut self`s from some DOM type method simply.
- This doesn't include some DOM Types which have basis method called from other types (e.g. `Element`). We still have to need to open their changes.
- This does not include to remove an implicit `deref_mut()`.
2014-05-30 14:45:57 -04:00
Tetsuharu OHZEKI
af653d1ce0 Remove needless '&mut self' from HTMLLinkElementMethods. 2014-05-31 03:11:18 +09:00
Tetsuharu OHZEKI
db76dbf5ca Remove needless '&mut self' from HTMLLIElementMethods. 2014-05-31 03:11:18 +09:00
Tetsuharu OHZEKI
857a731eaa Remove needless '&mut self' from HTMLHtmlElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
485a32d48b Remove needless '&mut self' from HTMLInputElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
c426795052 Remove needless '&mut self' from HTMLLabelElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
8778f0056a Remove needless '&mut self' from HTMLLegendElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
5a19953de4 Remove needless '&mut self' from HTMLHRElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
8329b9e1e2 Remove needless '&mut self' from HTMLHeadingElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
dacc43d4eb Remove needless '&mut self' from HTMLFrameSetElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
2c33888201 Remove needless '&mut self' from HTMLFrameElementMethods. 2014-05-31 03:11:17 +09:00
Tetsuharu OHZEKI
071216684b Remove needless '&mut self' from HTMLFormElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
abc53ad403 Remove needless '&mut self' from HTMLFontElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
184e789000 Remove needless '&mut self' from HTMLFieldSetElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
9ff3ec1fe7 Remove needless '&mut self' from HTMLEmbedElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
021dd8241f Remove needless '&mut self' from HTMLDListElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
d6563d01d4 Remove needless '&mut self' from HTMLDivElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
1295d75cbf Remove needless '&mut self' from HTMLDirectryElementMethods. 2014-05-31 03:11:16 +09:00
Tetsuharu OHZEKI
3092ea2055 Remove needless '&mut self' from HTMLDataElementMethods. 2014-05-31 03:11:16 +09:00