aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/domstringmap.rs
Commit message (Collapse)AuthorAgeFilesLines
* Link to the HTML multipage spec, not the single-page one.Eli Friedman2015-10-131-1/+1
|
* Remove deprecated 'creator' WebIDL attributeCorey Farwell2015-09-211-5/+0
| | | | According to @Ms2ger, the 'creator' attribute was merged into 'setter'
* Add/update spec links for SupportedPropertyNames methodsCorey Farwell2015-09-201-1/+1
|
* Make the traits for the IDL interfaces take &selfAnthony Ramine2015-08-271-6/+6
|
* Remove helper traitsAnthony Ramine2015-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that JSRef<T> is gone, there is no need to have helper traits. On components/script/*.rs: # Remove imports. /^ *use dom::[a-z]+::\{.*Helpers/ { s/\{(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers, /\{/ s/, (Raw[^L]|[^L][^a])[a-zA-Z]+Helpers([,}])/\2/g s/\{([a-zA-Z]+)\}/\1/ /\{\}/d s/::self;$/;/ } /^ *use dom::[a-z]+::\{?(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers\}?;$/d On components/script/dom/*.rs: # Ignore layout things. /^(pub )?(impl|trait).*Layout.* \{/,/^}$/ { P; D; } # Delete helpers traits. /^(pub )?trait ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? \{$/,/^\}$/D # Patch private helpers. /^impl.*Private.*Helpers/,/^\}$/ { s/^impl<'a> Private([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for &'a ([^ ]+) \{$/impl \3 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn /s/\(self([,)])/\(\&self\1/ } # Patch public helpers. /^impl.*Helpers/,/^\}$/ { s/^impl(<'a>)? ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for (&'a )?([^ ]+) \{$/impl \5 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn .*\(&?self[,)]/s/(unsafe )?fn/pub &/ /^ *pub (unsafe )?fn /s/\(self([,)])/\(\&self\1/ } The few error cases were then fixed by hand.
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-1/+0
| | | | closes #7357
* Initial implementation of ownPropertyKeys proxy handlerCorey Farwell2015-08-201-1/+6
| | | | | | | | | | | Generates `SupportedPropertyNames` on DOM structs that should implement it. Most of them are unimplemented now (which can be implemented in later PRs), with the exception of `HTMLCollection`. Also added a couple relevant WPT tests. Closes #6390 Closes #2215
* sort all usesJohann Tuffe2015-08-201-1/+1
|
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-0/+1
|
* Add spec linksBogdan Cuza2015-07-281-0/+4
|
* Upgrade to SM 39Michael Wu2015-06-191-6/+6
|
* Uniformise root() methodsAnthony Ramine2015-04-281-1/+1
| | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
* 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.
* Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-3/+3
| | | | This changes those calls that were already sound.
* Rename Root::root_ref() to Root::r().Ms2ger2015-01-011-1/+1
| | | | | As it will be used much more widely after the upcoming changes, this limits the effort reading and writing the method calls.
* 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
* Implement HTMLElement.dataset (fixes #2974).Bruno de Oliveira Abinader2014-12-231-16/+21
|
* Revert PR #4038 for causing WPT failures.Ms2ger2014-12-231-21/+16
|
* Implement HTMLElement.datasetBruno de Oliveira Abinader2014-12-191-16/+21
| | | | Make DOMStringMap use related Element's custom attributes values.
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-1/+1
|
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-2/+2
|
* Remove warning from 'deleter' WebIDL codegenBruno de Oliveira Abinader2014-11-061-0/+4
|
* Implement DOMStringMapBruno de Oliveira Abinader2014-11-061-0/+62