Commit graph

4860 commits

Author SHA1 Message Date
bors-servo
052a0ffdf0 auto merge of #2556 : Ms2ger/servo/update-wpt, r=metajack 2014-06-03 12:04:15 -04:00
bors-servo
a90f1e3773 auto merge of #2526 : Manishearth/servo/event-order, r=Ms2ger
For the wpt test [event_load](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/event-load.htm)

Blocks #2525
2014-06-03 09:40:14 -04:00
Manish Goregaokar
161bc102f6 Order of firing events 2014-06-03 19:05:31 +05:30
Ms2ger
88d1d2ff13 Update web-platform-tests expected results. 2014-06-03 15:22:34 +02:00
bors-servo
246c9759be auto merge of #2555 : brson/servo/warnings, r=metajack
Depends on https://github.com/mozilla-servo/rust-fontconfig/pull/19, https://github.com/mozilla-servo/rust-harfbuzz/pull/21, https://github.com/mozilla-servo/rust-hubbub/pull/23, https://github.com/mozilla-servo/rust-layers/pull/68, https://github.com/mozilla-servo/sharegl/pull/29, https://github.com/mozilla-servo/rust-mozjs/pull/85.
2014-06-02 20:46:25 -04:00
Brian Anderson
c85e2c9594 Eliminate some warnings 2014-06-02 17:42:10 -07:00
bors-servo
184d8b5bab auto merge of #2553 : bjz/servo/remove-inline-fragment-map, r=pcwalton
This simplifies inline.rs and makes things easier to understand.

I've also added some documentation for `Line`.

r? @pcwalton
2014-06-02 19:34:16 -04:00
Brendan Zabarauskas
0276ae47a2 Use destructuring to clean up InlineFragments::push_all 2014-06-02 16:29:50 -07:00
bors-servo
52a809259a auto merge of #2550 : Ms2ger/servo/default-handling, r=jdm 2014-06-02 18:01:22 -04:00
Brendan Zabarauskas
782608eba5 Remove InlineFragmentMap 2014-06-02 14:37:04 -07:00
Brendan Zabarauskas
fe8e0ac06f Remove last methods from InlineFragmentMap 2014-06-02 14:37:04 -07:00
Brendan Zabarauskas
2b23a2ca94 Remove the need to destructure InlineFragments
We do this by moving InlineFragmentMap::fixup into InlineFragments
2014-06-02 14:35:40 -07:00
Brendan Zabarauskas
86efd92a92 Add documentation for Line::{bounds, green_zone} 2014-06-02 14:35:39 -07:00
bors-servo
cd4a709642 auto merge of #2549 : mbrubeck/servo/hidpi-opt, r=metajack
This is part of the fix for #2276. r? @metajack
2014-06-02 16:52:32 -04:00
bors-servo
1d6a1fc066 auto merge of #2552 : saneyuki/servo/mut, r=jdm
related #2514
2014-06-02 14:58:27 -04:00
Tetsuharu OHZEKI
d2a590a3db Remove needless 'self' mutability from CharacterDataMethods::Remove(). 2014-06-03 03:29:41 +09:00
Tetsuharu OHZEKI
a837106f54 Remove needless 'self' mutability from DocumentTypeMethods::Remove(). 2014-06-03 03:28:50 +09:00
Tetsuharu OHZEKI
59ed832fa6 Remove needless '&mut self' from element.rs. 2014-06-03 03:27:28 +09:00
bors-servo
5ebe330247 auto merge of #2551 : Ms2ger/servo/bindings-rename, r=jdm 2014-06-02 14:25:31 -04:00
Ms2ger
97efd122a3 Rename BindingDeclarations to Bindings. 2014-06-02 19:48:42 +02:00
Ms2ger
dea8a4ffcb Support dictionary members without default values. 2014-06-02 19:37:06 +02:00
Ms2ger
ebd9b9a519 Rewrite the dictionary codegen to use pattern matching rather than is_some/unwrap. 2014-06-02 19:37:06 +02:00
Ms2ger
2a91e987b4 Return the default value from getJSToNativeConversionTemplate, to allow reusing it more easily.
This commit does not change the generated code.
2014-06-02 19:37:05 +02:00
bors-servo
488ac518e4 auto merge of #2547 : Ms2ger/servo/dictionary-tests, r=jdm 2014-06-02 13:07:47 -04:00
Matt Brubeck
5148b67eac Default to 1 dppx in headless mode 2014-06-02 09:42:08 -07:00
bors-servo
6c55726553 auto merge of #2546 : Ms2ger/servo/node-pointer-stitching, r=jdm
There is no good reason for the additional abstraction here.

This commit also adds assertions that were suggested in XXX comments.
2014-06-02 12:37:26 -04:00
Matt Brubeck
a76b982ff9 Add an option to set device pixel ratio 2014-06-02 09:22:42 -07:00
bors-servo
448c472cf1 auto merge of #2545 : Ms2ger/servo/nyi, r=jdm 2014-06-02 12:07:30 -04:00
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