aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlelement.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* Convert various helper traits from &JSRef to JSRefCameron Zwarich2014-09-201-3/+3
| | | | | | | | | | | | | | | 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 conversionCameron Zwarich2014-09-201-8/+8
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-10/+10
| | | | | | | | | 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.
* Use #[must_root] for HTMLElementsManish Goregaokar2014-09-171-1/+2
|
* Make Reflector #[must_root], propagate to non-HTMLElementsManish Goregaokar2014-09-171-0/+1
|
* Cargoify servoJack Moffitt2014-09-081-0/+120