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
fd9541357f
Implement CharacterData.{deleteData, insertData, replaceData}
2014-04-21 00:53:16 +08:00
Ms2ger
a04d4e63eb
Remove not-yet-implemented methods from CharacterData.
...
This speeds up a web-platform-tests run by about 45 seconds (of 11-12 minutes)
by avoiding three timeouts.
2014-04-19 17:39:13 +02:00
Ms2ger
4e34fcd264
Remove trailing whitespace.
2014-04-07 11:41:58 +02: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
436b1e891d
script: Eliminate the phantom type in Node
, as it is no longer needed
...
for enforcing layout memory safety.
2013-12-17 18:07:41 -08:00
Ms2ger
7f4283f4bc
Rename some 'new' functions to 'new_inherited'.
2013-12-12 14:34:58 +01: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
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
Ms2ger
321e0373fa
Merge BindingObject and Reflectable.
2013-10-18 17:02:16 +02:00
Tetsuharu OHZEKI
f5e2b2ec67
Auto-generate some binding codes for HTMLElement, Element, CharacterData.
2013-10-16 00:37:15 +09: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
Ms2ger
04319fdb68
Issue #888 - Node's owner document should never be None.
2013-10-10 10:57:38 +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
Keegan McAllister
73c1a12f30
bindings: Return errors in Result rather than setting an out parameter
...
Fixes #909 .
2013-09-18 18:07:37 -07:00
Keegan McAllister
68ddc6b4ab
Make DOMString an alias for Option<~str>
...
Fixes #898 .
2013-09-18 14:46:42 -07:00
Ms2ger
efff6be86c
Make CharacterData store a ~str rather than a DOMString, because its data can never be null.
2013-09-06 09:45:16 +02:00
Keegan McAllister
ffe60ea027
Trait changes, and eliminate 'copy'
2013-08-15 13:55:40 -07:00
Josh Matthews
fd4efad70c
Generate bindings for Node, CharacterData, Text, Element, and HTMLElement. Hook up text nodes to use the new bindings.
2013-08-05 11:29:12 -04:00
Tim Kuehn
a6eaffcd93
forward/back navigation with shift+backspace and backspace
...
script caches last loaded url -- currently no caching policy
naive caching of render layers for near-instant forward/back
handling evicted pipelines is currently broken
2013-07-02 17:26:30 -07:00
Brian Anderson
56e5ba1b82
Update for language changes
2013-06-26 13:44:26 -07:00
Patrick Walton
bf82bc54f3
Separate the DOM and layout into separate crates.
2013-05-28 17:13:40 -07:00