Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Import the util crate as util rather than servo_util. | Ms2ger | 2015-01-29 | 1 | -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. | ||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -2/+3 |
| | |||||
* | Move to to_owned rather than into_string. | Ms2ger | 2015-01-20 | 1 | -5/+6 |
| | | | | into_string has been removed from Rust. | ||||
* | Remove unsound Root::deref() call in Attr::set_value. | Ms2ger | 2015-01-01 | 1 | -1/+2 |
| | | | | | This changes those calls whose unsoundness was not picked up by the type system because of a lifetime constraint that cannot be expressed at this time. | ||||
* | Replace Root::deref() calls by Root::r() calls where possible. | Ms2ger | 2015-01-01 | 1 | -2/+2 |
| | | | | This changes those calls that were already sound. | ||||
* | auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallister | bors-servo | 2014-12-27 | 1 | -7/+1 |
|\ | | | | | | | | | | | 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. | ||||
| * | Remove extra spaces | Manish Goregaokar | 2014-12-27 | 1 | -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 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: to_string() -> into_string() | Manish Goregaokar | 2014-12-27 | 1 | -5/+5 |
| | | |||||
* | | Added AttrValue::from_atomic_tokens & Element::set_atomic_tokenlist_attribute | Bruno de Oliveira Abinader | 2014-12-26 | 1 | -0/+8 |
| | | |||||
* | | Avoid duplicated tokens in AttrValue::from_serialized_tokenlist | Bruno de Oliveira Abinader | 2014-12-26 | 1 | -2/+6 |
| | | |||||
* | | AttrValue's s/from_tokenlist/from_serialized_tokenlist/ | Bruno de Oliveira Abinader | 2014-12-26 | 1 | -1/+1 |
|/ | |||||
* | 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 | -17/+18 |
| | |||||
* | Updated reflect_dom_object to be passed by value | Michael Booth | 2014-11-30 | 1 | -1/+1 |
| | |||||
* | implement Document#createAttribute | Rohan Prinja | 2014-11-23 | 1 | -12/+20 |
| | |||||
* | Implement Attr#nodeValue | Matthew Rasmus | 2014-11-20 | 1 | -0/+8 |
| | | | | Fixes #4047 | ||||
* | Use RefCell in DOMRefCell to reduce duplicated code. | Ms2ger | 2014-11-14 | 1 | -2/+5 |
| | |||||
* | Implement the whole Attr interface | Tom Schuster | 2014-11-07 | 1 | -0/+16 |
| | |||||
* | Usage of JSRef<Attr> in before_remove_attr & after_set_attr | Bruno de Oliveira Abinader | 2014-10-22 | 1 | -11/+3 |
| | | | | | JSRef<Attr> does not require allocating a DOMString for value, which are unused in most cases. It also provides more access to Attr data. | ||||
* | Use #[dom_struct] everywhere | Manish Goregaokar | 2014-10-16 | 1 | -3/+1 |
| | |||||
* | Use DOMRefCell<T> in Attr. | Tetsuharu OHZEKI | 2014-10-15 | 1 | -9/+8 |
| | |||||
* | script: Use atom comparison in more places, especially for attributes. | Patrick Walton | 2014-10-14 | 1 | -6/+9 |
| | | | | 75% improvement in style recalc for Guardians of the Galaxy. | ||||
* | Privatize Attr | Tim Taubert | 2014-10-13 | 1 | -3/+19 |
| | |||||
* | Remove unnecessary `deref()`s (fixes #3586) | Tim Taubert | 2014-10-09 | 1 | -1/+1 |
| | |||||
* | Remove Traceable from attr.rs | Manish Goregaokar | 2014-10-05 | 1 | -7/+6 |
| | |||||
* | Use string-cache's Namespace type | Keegan McAllister | 2014-09-29 | 1 | -6/+6 |
| | |||||
* | 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 | -2/+2 |
| | |||||
* | Make the AttrHelpers trait use extended_deref | Cameron Zwarich | 2014-09-26 | 1 | -8/+8 |
| | |||||
* | Use JSTraceable everywhere | Manish Goregaokar | 2014-09-24 | 1 | -2/+3 |
| | |||||
* | Convert various helper traits from &JSRef to JSRef | Cameron Zwarich | 2014-09-20 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | I converted them all with a few exceptions: - Methods that were used by trait objects, since trait objects don't work with `self` methods. - Methods that take an &'b JSRef<'a, T> and return an &'b. In reality, many (all?) could return an &'a instead, but this isn't allowed by the Deref trait. - Methods that internally rely on the same issue with Deref. - I left out the traits involved in layout entirely, even though not all of their methods suffer from one of the above problems. There will probably be solutions to all of these problems in the future. | ||||
* | More progress in the &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-20 | 1 | -8/+7 |
| | | | | | 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 | -7/+7 |
| | | | | | | | | | 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. | ||||
* | Retrieve some basic layout properties for nodes to make the box model ↵ | Josh Matthews | 2014-09-18 | 1 | -2/+3 |
| | | | | somewhat useful. | ||||
* | Enable real DOM inspector support. | Josh Matthews | 2014-09-18 | 1 | -0/+10 |
| | |||||
* | Revert "script: Use atom comparison in more places, especially for ↵ | Josh Matthews | 2014-09-18 | 1 | -10/+6 |
| | | | | | | 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 | -6/+10 |
| | | | | 75% improvement in style recalc for Guardians of the Galaxy. | ||||
* | Add unrooted_must_root lint for usages of JS<T> in let/for bindings | Manish Goregaokar | 2014-09-16 | 1 | -2/+2 |
| | |||||
* | Add unrooted_must_root lint for enums and structs containing JS<T>, as well ↵ | Manish Goregaokar | 2014-09-16 | 1 | -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 | ||||
* | Make use of the list of Atoms in ClassSelector | Gilles Leblanc | 2014-09-11 | 1 | -0/+10 |
| | | | | | | | Make use of the list of Atoms in the class attribute selector (ClassSelector) in selector_matching. Fixes #3111 | ||||
* | Move Attr::local_name() to AttrHelpers/AttrHelpersForLayout. | Tetsuharu OHZEKI | 2014-09-11 | 1 | -4/+10 |
| | |||||
* | Move Attr helper methods to AttrHelpers trait to avoid to touch them from ↵ | Tetsuharu OHZEKI | 2014-09-11 | 1 | -29/+36 |
| | | | | layout task. | ||||
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 1 | -0/+200 |