Commit graph

58 commits

Author SHA1 Message Date
Ms2ger
e09ed14362 Remove Reflectable::mut_reflector. 2014-06-13 19:19:58 +02:00
Tetsuharu OHZEKI
49362aa255 Remove HTMLMainElement.
https://github.com/mozilla/servo/issues/2541
2014-06-02 04:40:46 +09:00
Josh Matthews
625325434b Implement JSManaged for DOM objects. 2014-02-24 15:16:42 -05:00
Adam Sinnett
ffcd3833de Change Text, Comment and ProcessingInstructions parent name from element to characterdata
All other node's parent type names reflect the actual type of the parent. This change extends that convention to the indicated nodes.

closes #1594
2014-02-15 13:52:33 -08:00
Bruno de Oliveira Abinader
aa4b5bb948 Implement ProcessingInstruction DOM interface
Spec:
http://dom.spec.whatwg.org/#interface-processinginstruction

Closes #1619.
2014-02-06 14:41:55 -04:00
Ms2ger
80a6103f7d Remove Reflectable::GetParentObject. 2013-11-06 21:56:47 +01:00
Ms2ger
53731b62ae Remove Reflectable::wrap_object_shared. 2013-11-06 16:40:16 +01:00
Marcos Caceres
faf53fd05c Implemention of HTMLMainElement 2013-10-18 22:03:58 +01:00
Ms2ger
321e0373fa Merge BindingObject and Reflectable. 2013-10-18 17:02:16 +02:00
Ms2ger
25cae74093 Remove unused aTriedToWrap argument. 2013-10-17 16:43:28 +02:00
Tetsuharu OHZEKI
f08f44f8c6 Unify macros which generate binding codes. 2013-10-16 20:14:08 +09:00
Tetsuharu OHZEKI
f5e2b2ec67 Auto-generate some binding codes for HTMLElement, Element, CharacterData. 2013-10-16 00:37:15 +09:00
Tetsuharu OHZEKI
776ab67905 Rename the element field of the DOM Node hierarchy.
See #924
2013-10-16 00:20:20 +09:00
Tetsuharu OHZEKI
fc9a3baa71 Add line breaks for readability. 2013-10-16 00:02:34 +09:00
Tetsuharu OHZEKI
0de35fdc2f Implement HTMLTableDataCellElement & HTMLTableHeaderCellElement. 2013-10-15 22:37:06 +09:00
Tim Taubert
189bb6c95f Remove View type parameter from DocumentType 2013-10-14 17:32:38 -07:00
Ms2ger
f4edbb6b2e Remove some type variables and an explicit dereference. 2013-10-12 16:08:45 +02:00
Ms2ger
438d121cd8 Implement DocumentFragment. 2013-10-12 15:14:09 +02:00
Bobby Holley
c4bbc4cd37 Introduce mutable/immutable variants of reflector() with named lifetimes, and kill unsafe casts. 2013-10-10 13:11:24 +02:00
Bobby Holley
62ddac8b6f Rename get_wrappercache() to reflector(). v1
I also updated some variable names in the codegen.
2013-10-09 12:11:25 +02:00
Bobby Holley
2cbe2d7ce9 Rename WrapperCache to Reflector.
I think the abstraction from the raw JSObject is still probably worthwhile for
now.
2013-10-09 12:07:41 +02:00
Bobby Holley
0a0599ad9b Rename CacheableWrapper to Reflectable. 2013-10-09 12:03:18 +02:00
Luis de Bethencourt
cfd726f7d6 Rename the node field of the DOM node hierarchy
Renamed the Node elements

Fixes #924
2013-09-19 19:39:38 -04:00
Luis de Bethencourt
2dbd065d91 Rename the element field of the DOM Node hierarchy
Renamed htmlelement, and element

Fixes #924
2013-09-19 19:39:38 -04:00
Josh Matthews
329f92a41d Add trace hooks for all generated derivatives of Node. 2013-09-04 13:13:03 -04:00
Tetsuharu OHZEKI
17e888bfea Generate bindings for HTMLAudioElement, HTMLVideoElement. 2013-09-01 06:51:33 +09:00
Tetsuharu OHZEKI
a76e46416a Generate bindings for HTMLMediaElement. 2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
d3108a898d Generate bindings for HTMLTrackElement. 2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
9919bae897 Generate bindings for HTMLLabelElement. 2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
f7bc8beb18 Generate bindings for HTMLLegendElement. 2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
e55b3d6b86 Generate bindings for HTMLPreElement. 2013-08-31 20:00:25 +09:00
Tetsuharu OHZEKI
22e02b573d Generate bindings for HTMLTemplateElement. 2013-08-31 20:00:25 +09:00
Josh Matthews
75f1cbd76f Remove all handwritten bindings code. 2013-08-30 13:13:46 -04:00
Youngsoo Son
c9f9d29ff3 Generate bindings for HTMLFormElement. 2013-08-29 20:27:54 +09:00
Josh Matthews
8070f02e39 Generate bindings for Comment and DocumentType. 2013-08-28 20:31:30 -04:00
Josh Matthews
1eb5eeb630 Generate bindings for HTMLUnknownElement. 2013-08-28 19:51:07 -04:00
Josh Matthews
65c993e7e6 Generate bindings for HTMLSelectElement. 2013-08-28 19:41:08 -04:00
Josh Matthews
e26a541eb2 Generate bindings for HTMLParamElement. 2013-08-28 17:53:36 -04:00
Josh Matthews
8693459b28 Generate bindings for HTMLOutputElement. 2013-08-28 17:47:29 -04:00
Josh Matthews
cb0adec792 Generate bindings for HTMLOptionElement. 2013-08-28 17:36:37 -04:00
Josh Matthews
4e3b948a37 Generate bindings for HTMLOptGroupElement. 2013-08-28 17:25:37 -04:00
Josh Matthews
a2739fd196 Generate bindings for HTMLObjectElement. 2013-08-28 09:22:08 -04:00
Josh Matthews
4c92810291 Generate bindings for HTMLModElement. 2013-08-28 01:39:38 -04:00
Josh Matthews
0fae7afa54 Generate bindings for HTMLMeterElement. 2013-08-28 01:24:44 -04:00
Josh Matthews
d31e308d3f Remove many long ugly lists of imports of HTML element types. They can now be obtained via dom::types::*, which is autogenerated. 2013-08-27 17:38:27 -04:00
Jack Moffitt
9f669c2989 Rename to_px to to_nearest_px for clarity. 2013-08-23 17:11:48 -06:00
Keegan McAllister
a2d9810b69 Update Rust version again
This gets us the new runtime.
2013-08-15 13:56:29 -07:00
Keegan McAllister
be061a9aa0 Library changes 2013-08-15 13:55:40 -07:00
Keegan McAllister
ffe60ea027 Trait changes, and eliminate 'copy' 2013-08-15 13:55:40 -07:00
Keegan McAllister
907d9f23cf Linter changes 2013-08-15 13:55:40 -07:00