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
Josh Matthews
94dffca1e1
Remove all traces of WindowProxy. Implement basic browser context concept and outerizing of inner windows.
2014-04-22 10:57:25 -04:00
Josh Matthews
742f73ded5
Add transparent Traceable and Untraceable types to aid proper rooting practices, and replace ad-hoc Untraceable structs with empty Encodable implementations.
2014-04-17 17:41:09 -04:00
Josh Matthews
ca6cfb5bca
Add support for trait-based virtual methods on Nodes, and use it for before_remove_attr and after_set_attr.
2014-04-10 10:27:28 +02:00
Ms2ger
31eee791dd
Upgrade rust.
2014-04-04 20:10:32 +02:00
Ms2ger
038a195ead
Move attributes-related functions onto JS<Element>.
2014-03-20 19:42:42 +01:00
Lars Bergstrom
bbac8aa5c3
Rust upgrades
2014-03-18 09:30:35 -05:00
Ms2ger
a15cac53bc
Don't use the Untraceable fields outside the module they're defined in.
...
This pattern will become illegal with the next Rust upgrade.
2014-03-12 14:30:19 +01:00
bors-servo
021d32368d
auto merge of #1781 : hgentry/servo/mozilla-servo, r=metajack
...
Simple change. I hope I'm using github correctly; I'm not too familiar with the PR system. Fixes #1777 .
2014-02-28 11:37:40 -05:00
Saurabh Anand
5c5cb3e9a7
Move Error, Fallible, ErrorResult out of utils.rs ( fixes #1749 )
2014-02-28 13:32:00 +05:30
hgentry
39e571ae4e
Renamed HTMLIframeElementTypeId to HTMLIFrameElementTypeId
2014-02-27 15:35:27 -05:00
Ms2ger
432e9cb3a7
Call after_remove_attr before removing the attribute, and rename it before_remove_attr.
2014-02-26 14:50:57 +01:00
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
Tetsuharu OHZEKI
7a9ecffaa0
Implement Element.removeAttribute()/removeAttributeNS().
2014-01-13 23:12:08 +09:00
Jack Moffitt
a7ef1cd35e
Upgrade to latest Rust.
2014-01-12 19:45:45 -07:00
Ms2ger
886ab020d8
Use string reflection methods for HTMLIFrameElement.sandbox.
2014-01-01 17:24:56 +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
bors-servo
c5d81f13c1
auto merge of #1388 : hyunjunekim/servo/cssissues, r=kmcallister
...
Fixed this issue ( https://github.com/mozilla/rust/issues/10683 )
2013-12-13 15:40:13 -08:00
Patrick Walton
971f77d2c6
layout: Stop going to the DOM for iframe sizes
2013-12-13 15:10:04 -08:00
Patrick Walton
21e8c72a75
constellation: Stop using futures for frame sizes.
...
This will allow us to stop going to the DOM in order to handle iframe
sizing. Instead we can just store the pipeline and frame IDs of iframes
inside the flow tree itself.
2013-12-13 10:43:27 -08:00
HyunJune Kim
cf537469b1
add FIX comments
2013-12-12 14:40:02 +09:00
HyunJune Kim
a7865495f6
Fixed this issue ( https://github.com/mozilla/rust/issues/10683 )
2013-12-12 13:14:37 +09: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
7c17970c21
Introduce HTMLIFrameElement::new.
2013-10-31 15:53:43 +01:00
Jack Moffitt
94202661c0
Update to latest Rust.
2013-10-21 17:38:34 -06: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
Josh Matthews
a410651fba
Make Element.set_attr require an AbstractNode so we can always downcast.
2013-09-12 14:40:00 -07:00
Josh Matthews
9640324721
Make sandboxed iframes run with different script tasks.
2013-09-11 11:57:40 -07:00
eschweic
eb6973c7dc
Implement epochs; fix integration bugs
2013-08-19 19:34:52 -04:00
Tim Kuehn
bd5526de94
add iframe support
2013-08-19 19:11:12 -04:00
Tim Kuehn
666c29480e
refactor iframe element fields to support sending size to the constellation
2013-08-19 19:11:11 -04:00
Keegan McAllister
be061a9aa0
Library changes
2013-08-15 13:55:40 -07:00
Josh Matthews
ddf4bee6df
Generate HTMLIFrameElement bindings.
2013-08-08 09:34:08 -04:00