aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/event.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-1/+0
| | | | closes #7357
* Make EventTypeId reflect DOM inheritance hierarchywilmoz2015-08-181-3/+2
|
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-3/+5
|
* Remove some more unnecessary let bindingsDavid Zbarsky2015-07-141-3/+1
|
* Refactor #[jstraceable] to #[derive(JSTraceable)]David Winslow2015-07-011-4/+2
| | | | fixes #6524
* Upgrade to SM 39Michael Wu2015-06-191-18/+18
|
* Implement incomplete opening, sending, and closing behaviour for WebSockets ↵William Galliher2015-05-051-1/+2
| | | | | | | | | | using rust-websocket. Authors: Shivaji Vidhale <savidhal@ncsu.edu> William Galliher <wpgallih@ncsu.edu> Allen Chen <achen4@ncsu.edu> Rucha Jogaikar <rsjogaik@ncsu.edu>
* Implement Clone for Copy types.Ms2ger2015-04-281-1/+1
|
* Remove Temporary::new()Anthony Ramine2015-04-281-2/+2
| | | | 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-9/+9
|
* Update some URLs.Ms2ger2015-04-141-1/+1
| | | | | The HTML spec's division into pages is not stable, so it is safer to use the URL without a specific page (which will redirect).
* Spec links for script::dom::element & script::dom::eventCorey Farwell2015-04-091-0/+13
|
* implementing StorageEvent interfacesnf2015-03-241-0/+1
|
* Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.Ms2ger2015-03-181-1/+3
|
* Implement 'beforescriptexecute' and 'afterscriptexecute' events.James Gilbertson2015-02-251-3/+3
| | | | Spec: https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block, sections 2.b.2 & 2.b.9
* Change the representation of EventPhase to u16.Ms2ger2015-02-201-4/+5
| | | | This matches the IDL definitions.
* Initialize trusted-ness of DOM events properlyGilles Leblanc2015-02-031-1/+8
| | | | Fixes #3740
* 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.
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-4/+4
|
* Move to to_owned rather than into_string.Ms2ger2015-01-201-1/+3
| | | | into_string has been removed from Rust.
* auto merge of #4566 : mattnenterprise/servo/globalref-by-value, r=Ms2gerbors-servo2015-01-081-2/+2
|\
| * Fixes #4164 Make Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-071-2/+2
| |
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-081-0/+1
|/
* Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-2/+2
| | | | This changes those calls that were already sound.
* auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallisterbors-servo2014-12-271-9/+3
|\ | | | | | | | | | | 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.
| * Ensure that Reflectors are the first fieldManish Goregaokar2014-12-271-2/+2
| |
| * Add inheritance-checking lintManish Goregaokar2014-12-271-0/+9
| |
| * Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-16/+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 Goregaokar2014-12-271-1/+1
|/
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-17/+17
|
* Add trusted setter to EventManish Goregaokar2014-12-051-0/+10
|
* added ErrorEvent WebIDL and errorevent.rsRonak Nisher2014-12-041-1/+2
|
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-3/+3
|
* Short-circuit initFooEvent while dispatching events.Josh Matthews2014-11-131-1/+2
|
* Add KeyboardEvent stub.Josh Matthews2014-11-131-1/+1
|
* Initialize 'cancelable' to false in Event::new_inherited. Fixes #3855.Mitchell Van Der Hoeff2014-11-021-1/+1
|
* Use DOMRefCell for Event.Tetsuharu OHZEKI2014-10-221-3/+4
|
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* auto merge of #3666 : ttaubert/servo/issue/3644-privatize-dom, r=Manishearthbors-servo2014-10-131-12/+68
|\ | | | | | | | | | | This PR removes public fields from all (hope I didn't miss any) DOM structs. Should |Page| be privatized as well? This PR additionally introduces a #[privatize] lint to ensure nobody accidentally re-introduces a public field. All changesets compile separately if applied in the same order. Hope that helps reviewing but I can of course squash them before merging.
| * Privatize EventTim Taubert2014-10-131-12/+68
| |
* | Make Event::new take enumerated values instead of booleans (fixes #3643)Tim Taubert2014-10-111-4/+18
|/
* Remove Traceable from event.rsManish Goregaokar2014-10-051-42/+41
|
* Implement MutNullableJS for mutable, nullable member pointers to DOM objects.Josh Matthews2014-10-011-8/+9
|
* Use JSTraceable everywhereManish Goregaokar2014-09-241-3/+4
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-13/+13
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-1/+1
| | | | | | | | | 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/+174