aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/eventdispatcher.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-139/+0
|
* Call the generated rather than the hand-written traits (fixes #2936).Ms2ger2014-07-271-1/+2
|
* Replace uses of JS<T>.unrooted() with JS::from_rooted #2580Edit Balint2014-06-131-2/+2
|
* Cleanup a mutable variable in dispatch_event.Ms2ger2014-06-111-3/+3
|
* Use internal mutability for Event.Ms2ger2014-06-111-29/+23
|
* Remove needless '&self mut' from VirtualMethods trait.Tetsuharu OHZEKI2014-06-071-1/+1
|
* Upgrade Rust.Jack Moffitt2014-06-051-3/+3
|
* Drop event listener exceptions on the floor.Cameron Zwarich2014-06-041-9/+7
| | | | | | We get a lot of failures from assertions that event listeners haven't thrown exceptions. As the FIXME above these assertions suggests, we should just drop them on the floor.
* Use Cell/RefCell for interior mutability of Event.Tetsuharu OHZEKI2014-05-301-1/+1
|
* Port modern callback handling code from Gecko, and copy related WebIDL ↵Josh Matthews2014-05-271-3/+3
| | | | parser bits too.
* auto merge of #2482 : Ms2ger/servo/rev_iter, r=jdmbors-servo2014-05-231-1/+1
|\
| * Replace deprecated rev_iter() by iter().rev().Ms2ger2014-05-231-1/+1
| |
* | Initial spec-incompliant implementation of default click action for anchor ↵Tetsuharu OHZEKI2014-05-231-1/+18
|/ | | | | | | | | | | | | elements. This is cherry-picked from https://github.com/mozilla/servo/pull/1688: * Initial spec-incompliant implementation of default click action for anchor elements. * Add documentation; gut the new document URL loading method and move it all into the new Window method. * Add test for default event prevention. Original developer: Josh Matthews <josh@joshmatthews.net>
* Address review comments.Josh Matthews2014-05-031-21/+21
|
* Address review comments.Josh Matthews2014-05-031-1/+1
|
* Remove all root collections.Josh Matthews2014-05-031-3/+2
|
* Remove abstract_self.Josh Matthews2014-05-031-4/+7
|
* Move WebIDL methods to traits implemented by JSRef types.Josh Matthews2014-05-031-2/+1
|
* Implement safe rooting strategy via Unrooted, Root, JSRef, and JS.Josh Matthews2014-05-031-17/+20
|
* Turn on GC all the time. Fix rooting errors during parsing and storing ↵Josh Matthews2014-05-031-8/+10
| | | | timers. Fix borrow errors during tracing.
* Make chain in eventdispatcher.rs use Vec.Ms2ger2014-04-281-7/+8
|
* Split TCast::to into TCast::to_unchecked and TCast::to.Tetsuharu OHZEKI2014-03-201-1/+1
|
* Warning police.Josh Matthews2014-03-181-9/+15
|
* Use Option::or_else in eventdispatcher::dispatch_event.Tetsuharu OHZEKI2014-03-091-4/+3
|
* Implement JSManaged for DOM objects.Josh Matthews2014-02-241-32/+39
|
* script: Make trees less genericPatrick Walton2013-12-171-1/+0
|
* auto merge of #1213 : jdm/servo/loadevent, r=kmcallisterbors-servo2013-11-121-2/+4
|\ | | | | | | It's good enough for now, since we don't track document resources at all. Should be good enough for #841.
| * Add a spec-incompliant load event.Josh Matthews2013-11-111-2/+4
| |
* | Remove unneeded clones.Josh Matthews2013-11-071-5/+3
|/
* Add basic event dispatch with bubbling, capturing, and propagation interruption.Josh Matthews2013-11-051-0/+111