aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlcollection.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Add spec linksBogdan Cuza2015-07-281-0/+2
|
* Auto merge of #6529 - dwins:master, r=Manishearthbors-servo2015-07-011-6/+6
|\ | | | | | | | | | | | | | | | | | | Refactor #[jstraceable] to #[derive(JSTraceable)] fixes #6524. I had to make an additional change not mentioned in the ticket - adding the `#[feature]` to enable deriving custom traits but I assume that's expected at this time. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6529) <!-- Reviewable:end -->
| * Refactor #[jstraceable] to #[derive(JSTraceable)]David Winslow2015-07-011-6/+6
| | | | | | | | fixes #6524
* | Remove string_cache dependency from util.Matt Brubeck2015-07-011-3/+2
|/ | | | | Move `namespace::from_domstring` from util to script::dom, because it is used only in that crate.
* Upgrade to SM 39Michael Wu2015-06-191-38/+34
|
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-2/+4
|
* Remove Temporary::new()Anthony Ramine2015-04-281-1/+1
| | | | Temporary::from_rooted() now takes an Assignable value.
* Uniformise root() methodsAnthony Ramine2015-04-281-1/+1
| | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
* Remove as_slice() calls from script.Ms2ger2015-04-261-1/+0
|
* Update WHATWG links to use HTTPSCorey Farwell2015-04-131-3/+3
| | | | | | | | | | | | | | 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' ```
* Use a simple Temporary value in TreeIteratorAnthony Ramine2015-04-131-12/+12
|
* Remove some unnecessary uses of `as_slice`Corey Farwell2015-03-291-7/+7
| | | | | | | | | | | 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
* Replace uint/int by usize/isize in various places.Ms2ger2015-02-201-2/+3
|
* Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-3/+1
|
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-2/+2
| | | | | | | | 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.
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-4/+5
|
* Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-9/+9
| | | | This changes those calls that were already sound.
* 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: Remove glob imports added in #4405Tetsuharu OHZEKI2014-12-191-2/+2
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-7/+7
|
* Skip the root node in live HTMLCollections.Ms2ger2014-12-131-16/+8
| | | | | The root node is never included in the collection, and omitting it here simplifies and speeds up the filter implementations.
* Factor out part of the traversal routine in HTMLCollection.Ms2ger2014-12-131-24/+19
| | | | | I would move the filter() call into the traverse function as well, but the callback can't outlive its stack frame.
* Follow-up to work done in #4304.Tomasz Kołodziejski2014-12-121-1/+4
| | | | all_elements should ignore root as well.
* Don't include the root element when calling Element#getElementsByTagNameNS.Tomasz Kołodziejski2014-12-121-1/+4
|
* Don't include the root element when calling Element#getElementsByTagNameEmanuel Rylke2014-12-091-1/+4
| | | | Fixes #4249
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-1/+1
|
* Stop including the element during Element.getElementsByClassName.Achal Shah2014-11-181-2/+2
| | | | https://github.com/servo/servo/issues/3995
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-2/+2
|
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-10-141-7/+9
| | | | 75% improvement in style recalc for Guardians of the Galaxy.
* Privatize ElementTim Taubert2014-10-131-5/+5
|
* Simple privatizationsTim Taubert2014-10-131-0/+1
|
* Remove unnecessary `deref()`s (fixes #3586)Tim Taubert2014-10-091-5/+5
|
* Use string-cache's Namespace typeKeegan McAllister2014-09-291-3/+3
|
* Eliminate servo_util::atomKeegan McAllister2014-09-291-1/+1
| | | | We only needed this for Encodable, and now we use JSTraceable instead.
* Upgrade to rustc d2b30f7d3 2014-09-23Simon Sapin2014-09-291-6/+10
|
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Merge pull request #3468 from Manishearth/jstraceableManish Goregaokar2014-09-241-10/+9
|\ | | | | Replace our usage our Encodable with JSTraceable; r=jdm
| * Address review commentsManish Goregaokar2014-09-241-5/+5
| |
| * Use JSTraceable everywhereManish Goregaokar2014-09-241-15/+14
| |
* | Handle null strings in Namespace::new.Ms2ger2014-09-231-8/+2
|/ | | | This also avoids a string copy in the rare case of an unrecognized namespace.
* Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000)Keegan McAllister2014-09-201-3/+3
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-5/+5
| | | | | 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.
* Revert "script: Use atom comparison in more places, especially for ↵Josh Matthews2014-09-181-9/+7
| | | | | | attributes." for persistent test failures. This reverts commit 874db261046d6155b1942efa106d2e0014295d6d.
* script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-09-171-7/+9
| | | | 75% improvement in style recalc for Guardians of the Galaxy.
* Add unrooted_must_root lint for enums and structs containing JS<T>, as well ↵Manish Goregaokar2014-09-161-0/+2
| | | | | | | 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/+257