Ms2ger
80a6103f7d
Remove Reflectable::GetParentObject.
2013-11-06 21:56:47 +01:00
Ms2ger
edd9c1d5eb
Remove WrapNativeParent and nearby cleanup.
2013-11-06 21:56:36 +01:00
Keegan McAllister
ee821df09c
Remove render() bypass for headless mode
...
render() isn't called in headless mode because the headless compositor never
sends a ReRenderMsg.
(This code was needed originally and that probably changed when CPU rendering
landed, but I'm not sure exactly why.)
2013-11-06 11:51:50 -08:00
Keegan McAllister
35666e9c20
file_loader: Handle file-not-found and other error conditions
2013-11-06 11:51:49 -08:00
bors-servo
5c101526a1
auto merge of #1194 : Ms2ger/servo/DerivedWrapper, r=jdm
2013-11-06 10:07:21 -08:00
Ms2ger
ccd9306681
Remove DerivedWrapper.
2013-11-06 18:16:31 +01:00
Ms2ger
4074412107
Pass a Reflector to WrapNewBindingObject instead of a Reflectable, and rename it GetReflector.
2013-11-06 17:52:59 +01:00
bors-servo
9d8c97d3b0
auto merge of #1193 : Ms2ger/servo/wrap_object_shared, r=jdm
2013-11-06 07:49:35 -08:00
Ms2ger
53731b62ae
Remove Reflectable::wrap_object_shared.
2013-11-06 16:40:16 +01:00
Ms2ger
c693cb185c
Stop calling wrap_object_shared in WrapNewBindingObject and WrapNativeParent. Fixes #1083 .
2013-11-06 16:01:57 +01:00
Ms2ger
4910a23803
Simplify Window wrapping.
2013-11-06 16:01:56 +01:00
bors-servo
5626846d7c
auto merge of #1192 : SimonSapin/servo/silence-ua-stylesheet-errors, r=jdm
...
Alternatively, we could comment the parts of that stylesheet that we don’t support yet. (But we’d have to remember to uncomment them when we do!)
2013-11-05 13:22:37 -08:00
Simon Sapin
d26088b48c
Silence CSS errors in the user-agent stylesheet.
...
Alternatively, we could comment the parts of that stylesheet that we don’t
support yet. (But we’d have to remember to uncomment them when we do!)
2013-11-05 21:16:02 +00:00
bors-servo
4ae26a7fd4
auto merge of #1191 : Ms2ger/servo/new-document, r=jdm
2013-11-05 12:37:26 -08:00
Ms2ger
8a7448bc67
Rewrite Document creation and reflection.
2013-11-05 20:45:50 +01:00
bors-servo
c2a99933c9
auto merge of #1171 : jdm/servo/events2, r=jdm,metajack
...
Now with a split between commits that just pull in unmodified Gecko code and those that modify it.
2013-11-05 10:49:21 -08:00
bors-servo
a55cba04c6
auto merge of #1170 : Ms2ger/servo/pre-insert-document, r=jdm
2013-11-05 10:28:27 -08:00
Josh Matthews
88f5c2b133
Add basic event dispatch with bubbling, capturing, and propagation interruption.
2013-11-05 12:58:28 -05:00
Josh Matthews
bb97fd13f3
Add Event and EventTarget hierarchy via gross AbstractFoo mechanism.
2013-11-05 12:58:28 -05:00
Josh Matthews
7ecf5abbbd
Generate code for handling callbacks. Implement add/removeEventListener and hacky dispatchEvent proof-of-concept.
2013-11-05 12:58:28 -05:00
Josh Matthews
06b1db8818
Import unmodified callbacks-related codegen source from Gecko.
2013-11-05 12:57:02 -05:00
bors-servo
d00736a9c0
auto merge of #1189 : Ms2ger/servo/new-node, r=jdm
2013-11-05 09:34:25 -08:00
bors-servo
978f16f192
auto merge of #1190 : Ms2ger/servo/test.jpg, r=jdm
2013-11-05 08:58:30 -08:00
Ms2ger
9c02f8fc82
Add a missing test file causing unhandled conditions during test_collections.html
2013-11-05 17:53:03 +01:00
bors-servo
e16a29480e
auto merge of #1177 : Ms2ger/servo/new-htmlelement, r=jdm
...
r? @jdm
2013-11-05 07:17:27 -08:00
bors-servo
47f3880c4d
auto merge of #1176 : jdm/servo/harnessoutput, r=metajack
...
r? @kmc
2013-11-04 07:16:32 -08:00
Patrick Walton
2094b0fef0
Don't use a separate channel to communicate window size to the
...
constellation.
This will make sandboxing much easier since we won't need a
separate Unix pipe just for this.
2013-11-03 22:47:50 -08:00
Ms2ger
ad658ba4ec
Remove node::create.
2013-11-03 10:57:41 +01:00
bors-servo
712abd4cbb
auto merge of #1174 : kmcallister/servo/au, r=larsbergstrom
...
Polymorphism strikes again. This should have been **obj but let's switch to an
explicit pattern match to be safe.
Fixes #1172 .
r? @larsbergstrom
2013-11-02 21:22:30 -07:00
Ms2ger
8c810bf032
Remove Node::as_abstract_node.
2013-11-02 23:31:04 +01:00
Ms2ger
78e51c8309
Rewrite DocumentFragment::new to current standards.
2013-11-02 22:23:44 +01:00
Ms2ger
a431202989
Rewrite Comment::new to current standards.
2013-11-02 22:10:07 +01:00
Ms2ger
da37fde44f
Rewrite Text::new to current standards.
2013-11-02 21:55:36 +01:00
Ms2ger
8c388f6bd4
Rewrite DocumentType::new to current standards.
2013-11-02 21:34:44 +01:00
Ms2ger
655a2099ef
Rename handle_newable_element to handle_element.
2013-11-02 21:14:15 +01:00
Ms2ger
7700a892fc
Cleanup build_element_from_tag's signature.
2013-11-02 21:13:37 +01:00
Ms2ger
b4559334bb
Introduce HTMLElement::new.
2013-11-02 21:05:37 +01:00
Ms2ger
e2c90d1198
Rename HTMLElement::new to HTMLElement::new_inherited.
2013-11-02 20:55:18 +01:00
Ms2ger
4ac0dc1bfd
Use HTMLHtmlElement::new in parse_html.
2013-11-02 20:45:22 +01:00
Ms2ger
e918d4daf0
Use HTMLTitleElement::new in Document::SetTitle.
2013-11-02 20:36:50 +01:00
Ms2ger
375af8d437
Remove the now-unused handle_element macro.
2013-11-02 19:40:48 +01:00
Ms2ger
9e236a3dfd
Introduce HTMLAnchorElement::new.
2013-11-02 18:49:44 +01:00
Ms2ger
f15620313a
Introduce HTMLAppletElement::new.
2013-11-02 18:44:20 +01:00
Ms2ger
05162f16aa
Introduce HTMLAreaElement::new.
2013-11-02 18:40:15 +01:00
Ms2ger
d3db3b9f72
Introduce HTMLBaseElement::new.
2013-11-02 18:36:54 +01:00
Ms2ger
74a522b89a
Introduce HTMLBRElement::new.
2013-11-02 18:30:25 +01:00
Ms2ger
8796ca5c02
Introduce HTMLBodyElement::new.
2013-11-02 18:26:39 +01:00
Ms2ger
0d56584561
Introduce HTMLButtonElement::new.
2013-11-02 18:22:35 +01:00
Ms2ger
74312da1ba
Introduce HTMLCanvasElement::new.
2013-11-02 18:18:29 +01:00
Ms2ger
4d706984e1
Introduce HTMLDataElement::new.
2013-11-02 13:03:16 +01:00