aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/domparser.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-031-1/+1
| | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* Remove unsupported types from the SupportedType IDL enum.Ms2ger2015-02-281-4/+0
|
* Replace uint/int by usize/isize in various places.Ms2ger2015-02-201-1/+1
|
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-1/+1
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* Move to to_owned rather than into_string.Ms2ger2015-01-201-1/+3
| | | | into_string has been removed from Rust.
* Fixes #4164 Make Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-071-1/+1
|
* Remove unsound Root::deref() calls in DOMParser::ParseFromString.Ms2ger2015-01-011-8/+8
| | | | Note that Root::clone() calls through to JSRef::clone() due to autoderef.
* auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallisterbors-servo2014-12-271-8/+3
|\ | | | | | | | | | | Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector. A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.
| * Ensure that Reflectors are the first fieldManish Goregaokar2014-12-271-2/+2
| |
| * Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-6/+1
| | | | | | | | | | | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports
* | script: to_string() -> into_string()Manish Goregaokar2014-12-271-1/+1
|/
* script: Remove glob imports added in #4405Tetsuharu OHZEKI2014-12-191-2/+1
|
* Use `parse_html` in DOMParser.Chris Paris2014-12-171-8/+5
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-10/+15
|
* Make DOMParser::ParseFromString actually parse the stringChris Paris2014-12-131-7/+19
|
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-1/+1
|
* Implement Document.readyState. Prevent iframes from notifying the compositor ↵Josh Matthews2014-10-231-3/+6
| | | | after the initial parse. Fixes #1720. Fixes #3738.
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Simple privatizationsTim Taubert2014-10-131-0/+1
|
* Upgrade to rustc d2b30f7d3 2014-09-23Simon Sapin2014-09-291-2/+3
|
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-1/+1
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-5/+5
| | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally.
* Add unrooted_must_root lint for enums and structs containing JS<T>, as well ↵Manish Goregaokar2014-09-161-0/+1
| | | | | | | as functions with JS<T> in their parameter list For safe wrappers over JS<T> (eg Temporary<T>) use #[allow(unrooted_must_root)]. For all other types containing a #[must_root] value, annotate the type with #[must_root] to ensure that it is never used unrooted
* Cargoify servoJack Moffitt2014-09-081-0/+64