Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add spec links | Bogdan Cuza | 2015-07-28 | 1 | -0/+2 | |
| | ||||||
* | Auto merge of #6529 - dwins:master, r=Manishearth | bors-servo | 2015-07-01 | 1 | -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 Winslow | 2015-07-01 | 1 | -6/+6 | |
| | | | | | | | | fixes #6524 | |||||
* | | Remove string_cache dependency from util. | Matt Brubeck | 2015-07-01 | 1 | -3/+2 | |
|/ | | | | | Move `namespace::from_domstring` from util to script::dom, because it is used only in that crate. | |||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -38/+34 | |
| | ||||||
* | Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. | Simon Sapin | 2015-05-05 | 1 | -2/+4 | |
| | ||||||
* | Remove Temporary::new() | Anthony Ramine | 2015-04-28 | 1 | -1/+1 | |
| | | | | Temporary::from_rooted() now takes an Assignable value. | |||||
* | Uniformise root() methods | Anthony Ramine | 2015-04-28 | 1 | -1/+1 | |
| | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable. | |||||
* | Remove as_slice() calls from script. | Ms2ger | 2015-04-26 | 1 | -1/+0 | |
| | ||||||
* | Update WHATWG links to use HTTPS | Corey Farwell | 2015-04-13 | 1 | -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 TreeIterator | Anthony Ramine | 2015-04-13 | 1 | -12/+12 | |
| | ||||||
* | Remove some unnecessary uses of `as_slice` | Corey Farwell | 2015-03-29 | 1 | -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. | Ms2ger | 2015-02-20 | 1 | -2/+3 | |
| | ||||||
* | Upgrade to rustc ba2f13ef0 2015-02-04 | Simon Sapin | 2015-02-11 | 1 | -3/+1 | |
| | ||||||
* | Import the util crate as util rather than servo_util. | Ms2ger | 2015-01-29 | 1 | -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 Matthews | 2015-01-28 | 1 | -4/+5 | |
| | ||||||
* | Replace Root::deref() calls by Root::r() calls where possible. | Ms2ger | 2015-01-01 | 1 | -9/+9 | |
| | | | | This changes those calls that were already sound. | |||||
* | Ensure that Reflectors are the first field | Manish Goregaokar | 2014-12-27 | 1 | -2/+2 | |
| | ||||||
* | Remove manual impls of Reflectors (autogen) | Manish Goregaokar | 2014-12-27 | 1 | -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 #4405 | Tetsuharu OHZEKI | 2014-12-19 | 1 | -2/+2 | |
| | ||||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 1 | -7/+7 | |
| | ||||||
* | Skip the root node in live HTMLCollections. | Ms2ger | 2014-12-13 | 1 | -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. | Ms2ger | 2014-12-13 | 1 | -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łodziejski | 2014-12-12 | 1 | -1/+4 | |
| | | | | all_elements should ignore root as well. | |||||
* | Don't include the root element when calling Element#getElementsByTagNameNS. | Tomasz Kołodziejski | 2014-12-12 | 1 | -1/+4 | |
| | ||||||
* | Don't include the root element when calling Element#getElementsByTagName | Emanuel Rylke | 2014-12-09 | 1 | -1/+4 | |
| | | | | Fixes #4249 | |||||
* | Updated reflect_dom_object to be passed by value | Michael Booth | 2014-11-30 | 1 | -1/+1 | |
| | ||||||
* | Stop including the element during Element.getElementsByClassName. | Achal Shah | 2014-11-18 | 1 | -2/+2 | |
| | | | | https://github.com/servo/servo/issues/3995 | |||||
* | Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a | Jack Moffitt | 2014-11-13 | 1 | -2/+2 | |
| | ||||||
* | Use #[dom_struct] everywhere | Manish Goregaokar | 2014-10-16 | 1 | -3/+1 | |
| | ||||||
* | script: Use atom comparison in more places, especially for attributes. | Patrick Walton | 2014-10-14 | 1 | -7/+9 | |
| | | | | 75% improvement in style recalc for Guardians of the Galaxy. | |||||
* | Privatize Element | Tim Taubert | 2014-10-13 | 1 | -5/+5 | |
| | ||||||
* | Simple privatizations | Tim Taubert | 2014-10-13 | 1 | -0/+1 | |
| | ||||||
* | Remove unnecessary `deref()`s (fixes #3586) | Tim Taubert | 2014-10-09 | 1 | -5/+5 | |
| | ||||||
* | Use string-cache's Namespace type | Keegan McAllister | 2014-09-29 | 1 | -3/+3 | |
| | ||||||
* | Eliminate servo_util::atom | Keegan McAllister | 2014-09-29 | 1 | -1/+1 | |
| | | | | We only needed this for Encodable, and now we use JSTraceable instead. | |||||
* | Upgrade to rustc d2b30f7d3 2014-09-23 | Simon Sapin | 2014-09-29 | 1 | -6/+10 | |
| | ||||||
* | Made some DOM fields private. | ProgramFOX | 2014-09-26 | 1 | -1/+1 | |
| | | | | Relevant to #2242. | |||||
* | Merge pull request #3468 from Manishearth/jstraceable | Manish Goregaokar | 2014-09-24 | 1 | -10/+9 | |
|\ | | | | | Replace our usage our Encodable with JSTraceable; r=jdm | |||||
| * | Address review comments | Manish Goregaokar | 2014-09-24 | 1 | -5/+5 | |
| | | ||||||
| * | Use JSTraceable everywhere | Manish Goregaokar | 2014-09-24 | 1 | -15/+14 | |
| | | ||||||
* | | Handle null strings in Namespace::new. | Ms2ger | 2014-09-23 | 1 | -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 McAllister | 2014-09-20 | 1 | -3/+3 | |
| | ||||||
* | More progress in the &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-20 | 1 | -5/+5 | |
| | | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`. | |||||
* | First steps of &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-19 | 1 | -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 Matthews | 2014-09-18 | 1 | -9/+7 | |
| | | | | | | attributes." for persistent test failures. This reverts commit 874db261046d6155b1942efa106d2e0014295d6d. | |||||
* | script: Use atom comparison in more places, especially for attributes. | Patrick Walton | 2014-09-17 | 1 | -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 Goregaokar | 2014-09-16 | 1 | -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 servo | Jack Moffitt | 2014-09-08 | 1 | -0/+257 | |