aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/domimplementation.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Update WHATWG links to use HTTPSCorey Farwell2015-04-131-4/+4
| | | | | | | | | | | | | | Extracted this out of #5649 This commit was created with the following commands: ``` find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` ``` find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ```
* Add script::dom::utils::validate_qualified_name()Anthony Ramine2015-04-081-15/+6
|
* Consistently name enum members in `dom::bindings::error::Error`Eric Hegnes2015-04-051-2/+2
| | | | Fixes #5521
* Remove some unnecessary uses of `as_slice`Corey Farwell2015-03-291-1/+1
| | | | | | | | | | | For the majority of these cases, `as_slice` can be removed due to `Deref`. In particular, `Deref` for: * `String` -> `str` * `Atom` -> `str` The latter of those two requires, a bump of the locked `string-cache` library
* Refactored optional argument "last_modified" for DocumentMartin Schröder2015-03-161-2/+2
| | | | Fixes #4981
* 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-5/+7
| | | | into_string has been removed from Rust.
* Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-24/+24
| | | | This changes those calls that were already sound.
* auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallisterbors-servo2014-12-271-9/+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 extra spacesManish Goregaokar2014-12-271-1/+0
| | | | | | | | Command: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/}\\n\\n\\n/}\\n\\n/"`
| * 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-5/+5
|/
* script: Remove glob imports added in #4405Tetsuharu OHZEKI2014-12-191-2/+2
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-6/+10
|
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-1/+1
|
* Implement DOMImplementation.hasFeatureZachary Newman2014-11-181-0/+5
| | | | Fixes #4010.
* Move the methods on bare Document onto DocumentHelpers.Ms2ger2014-10-231-1/+2
|
* Implement Document.readyState. Prevent iframes from notifying the compositor ↵Josh Matthews2014-10-231-3/+3
| | | | after the initial parse. Fixes #1720. Fixes #3738.
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Privatize DocumentTim Taubert2014-10-131-3/+3
|
* Simple privatizationsTim Taubert2014-10-131-0/+1
|
* Remove unnecessary `deref()`s (fixes #3586)Tim Taubert2014-10-091-5/+0
|
* Take the prefix from createElementNS into account for HTML elementsGilles Leblanc2014-10-061-4/+4
| | | | Fixes #3139
* 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-3/+3
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-23/+23
| | | | | | | | | 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/+172