Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00
Manish Goregaokar
8f47259d6e
Use macro getters for input elements
2014-08-28 14:06:56 +05:30
Ms2ger
1b543144f1
Pass an Atom to before_remove_attr and after_set_attr.
2014-08-16 12:32:19 +02:00
Bruno de Oliveira Abinader
c257a2e8ad
Implement support for 'disabled' property in HTMLFieldSetElement
2014-08-05 11:01:53 -04:00
Ms2ger
944d8b00b0
Call the generated rather than the hand-written traits ( fixes #2936 ).
2014-07-27 23:00:17 +02:00
Tetsuharu OHZEKI
3a293b3f1c
Remove generate_cacheable_wrapper_htmlelement!
2014-06-28 10:43:34 +09:00
Jack Moffitt
629c4c6afe
Upgrade Rust.
2014-06-05 09:58:59 -06:00
Ms2ger
97efd122a3
Rename BindingDeclarations to Bindings.
2014-06-02 19:48:42 +02: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
Tetsuharu OHZEKI
184e789000
Remove needless '&mut self' from HTMLFieldSetElementMethods.
2014-05-31 03:11:16 +09:00
Ms2ger
eaedeb07cb
Update Rust.
2014-05-22 16:36:40 -06:00
Martin Robinson
300004f3e9
Use == instead of match for tests against a single enum value
...
The performance of using == should now equal that of match, so many
identity methods can be simplified to a single line.
Fixes #1596 .
2014-05-08 17:11:00 -07:00
Ms2ger
243814022e
Replace all ~"" with "".to_owned().
2014-05-03 22:17:45 +02:00
Josh Matthews
91278da9dd
Address review comments.
2014-05-03 14:18:31 -04:00
Josh Matthews
0f2d0b1dc3
Address review comments.
2014-05-03 14:18:31 -04:00
Josh Matthews
7b3e6d1f21
Remove all root collections.
2014-05-03 14:18:31 -04:00
Josh Matthews
522d3f167b
s/Unrooted/Temporary/g
2014-05-03 14:18:31 -04:00
Josh Matthews
109410900c
Move all methods on T to JSRef<T> or JS<T> as appropriate.
2014-05-03 14:18:30 -04:00
Josh Matthews
7daa97c7e5
Remove abstract_self.
2014-05-03 14:18:30 -04:00
Josh Matthews
76783b029e
Move WebIDL methods to traits implemented by JSRef types.
2014-05-03 14:18:30 -04:00
Josh Matthews
d7b96db33c
Implement safe rooting strategy via Unrooted, Root, JSRef, and JS.
2014-05-03 14:18:30 -04:00
Josh Matthews
ffdc3f5b32
Turn on GC all the time. Fix rooting errors during parsing and storing timers. Fix borrow errors during tracing.
2014-05-03 14:18:30 -04:00
Tetsuharu OHZEKI
78856c87a4
Remove the 'pub use self::BindingDeclarations::*;' export.
2014-05-01 18:49:16 +09:00
Lars Bergstrom
948daf2422
This batch of changes upgrades Servo to work with the Rust upgrade as of
...
April 10, 2014. The main changes are to privacy, to work around the
issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the
various API changes strewn throughout the libraries.
2014-04-27 15:46:12 -05:00
lpy
dfe5215b88
Implement Element.localName.( fixes #2188 )
2014-04-23 11:00:03 +08:00
Bruno de Oliveira Abinader
3a8a0927e2
HTMLCollection::create returns live collections by default
2014-03-26 09:12:38 -04:00
Bruno de Oliveira Abinader
9038f21026
Support live HTMLCollection for FieldSet.elements
2014-03-26 09:11:13 -04:00
lpy
5915b061c5
Implement HTMLFieldSetElement.elements.( fixes #1843 )
2014-03-17 10:12:08 +08:00
Bruno de Oliveira Abinader
4b809bf9e6
Added FIXME stub comments
...
This is a sub-task for #1662 .
2014-03-07 11:10:56 -04:00
Saurabh Anand
5c5cb3e9a7
Move Error, Fallible, ErrorResult out of utils.rs ( fixes #1749 )
2014-02-28 13:32:00 +05:30
Josh Matthews
625325434b
Implement JSManaged for DOM objects.
2014-02-24 15:16:42 -05:00
Ms2ger
59184bf6e1
Move DOMString into servo_util.
2014-02-14 12:48:51 +01:00
Ms2ger
0f5c9a35b9
Use DOMString more consistently.
2014-02-13 19:32:59 +01:00
Patrick Walton
be69a503fe
script: Eliminate the phantom type in favor of just whitelisting methods
...
that layout can safely call.
This is simpler. Currently, the set of methods is not safe, but I plan
to lock it down more soon.
2013-12-17 18:07:12 -08:00
Tetsuharu OHZEKI
f5ef4365f4
Stop passing DOMStrings via borrowed pointer. ( #1201 )
2013-11-14 20:35:36 +09:00
Ms2ger
08afc6d19d
Don't pass nullable strings to native DOM methods that want non-nullable strings. Fixes #1207 .
2013-11-12 13:57:18 +01:00
Ms2ger
803cd4b7cf
Make DOMString represent a non-nullable string.
2013-11-12 13:32:53 +01:00
Ms2ger
e2c90d1198
Rename HTMLElement::new to HTMLElement::new_inherited.
2013-11-02 20:55:18 +01:00
Ms2ger
f3b1cabf32
Introduce HTMLFieldSetElement::new.
2013-11-02 12:10:27 +01:00
Ms2ger
8cb4976136
Cleanup HTMLCollection binding.
2013-10-23 20:59:14 +02:00
Ms2ger
66a76961cc
Wrap ValidityState eagerly.
2013-10-23 09:05:06 +02:00
Tim Taubert
9fe9145be4
implement NodeList and consolidate common scope and context retrieval
2013-10-11 07:34:38 -07:00
Ms2ger
04319fdb68
Issue #888 - Node's owner document should never be None.
2013-10-10 10:57:38 +02:00
Bobby Holley
549ac6a29b
Rename some local variables and shorten some lines.
...
This was done manually, and might benefit from a more careful review.
2013-10-09 12:15:56 +02:00
Bobby Holley
6bf740d967
Rename {get,set}_wrapper to {get,set}_jsobject. v1
2013-10-09 12:13:18 +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
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
Keegan McAllister
73c1a12f30
bindings: Return errors in Result rather than setting an out parameter
...
Fixes #909 .
2013-09-18 18:07:37 -07:00