aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/uievent.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor away duplication of get_rooted functionalityPierre Chevalier2015-10-081-1/+1
| | | | | | | | | | | | | | Refactor .get().map(Root::from_rooted) and .get().map(|foo| foo.root()) to .get_rooted() on MutNullableHeap objects. First part done mechanically with the following comand: sed -i s/"get().map(Root::from_rooted)"/"get_rooted()"/g *.rs Second part done manually after finding them with git grep ".get().map(" Fixes 7929.
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-1/+1
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-3/+1
| | | | This merges import blocks that were reported by tidy as unmerged.
* Make the traits for the IDL interfaces take &selfAnthony Ramine2015-08-271-4/+4
|
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-2/+0
| | | | closes #7357
* sort all usesJohann Tuffe2015-08-201-1/+1
|
* Make EventTypeId reflect DOM inheritance hierarchywilmoz2015-08-181-4/+14
|
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-0/+1
|
* Add spec linksBogdan Cuza2015-07-281-2/+3
|
* Upgrade to SM 39Michael Wu2015-06-191-15/+15
|
* Reduce max line length from 150 to 120 charactersCorey Farwell2015-05-241-2/+7
| | | | Part of https://github.com/servo/servo/issues/6041
* 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.
* Change MutNullableJS<T> to MutNullableHeap<JS<T>>Anthony Ramine2015-04-271-4/+5
|
* Add links to spec for script::dom structs/methodsCorey Farwell2015-03-281-0/+3
|
* make MouseEvent::new() and UIEvent::new() take enums for the bubbles and ↵Rohan Prinja2015-03-151-5/+7
| | | | cancelable arguments
* 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.
* Remove OptionalSettable.Ms2ger2015-01-191-1/+1
| | | | It was obsoleted by MutNullableJS.
* Fixes #4164 Make Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-071-1/+1
|
* Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-2/+2
| | | | 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
* script: Remove glob imports added in #4405Tetsuharu OHZEKI2014-12-191-2/+1
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-3/+3
|
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-1/+1
|
* Remove UIEvent.event().Tetsuharu OHZEKI2014-11-281-5/+0
|
* Short-circuit initFooEvent while dispatching events.Josh Matthews2014-11-131-0/+4
|
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Privatize EventTim Taubert2014-10-131-1/+1
|
* Privatize InheritTypesTim Taubert2014-10-131-1/+7
|
* Remove unnecessary `deref()`s (fixes #3586)Tim Taubert2014-10-091-1/+1
|
* Remove Traceable from uievent.rsManish Goregaokar2014-10-051-5/+5
|
* Implement MutNullableJS for mutable, nullable member pointers to DOM objects.Josh Matthews2014-10-011-4/+5
|
* Upgrade to rustc d2b30f7d3 2014-09-23Simon Sapin2014-09-291-2/+3
|
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-4/+4
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-5/+5
| | | | | | | | | 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.
* Make Reflector #[must_root], propagate to non-HTMLElementsManish Goregaokar2014-09-171-0/+1
|
* Cargoify servoJack Moffitt2014-09-081-0/+95