Anthony Ramine
31e9d81c0f
Make #[dom_struct] a proc_macro attribute
2017-02-24 01:50:51 +01:00
Anthony Ramine
1327ebd52f
Remove HeapGCValue
...
It could be used to have mutable JSVal fields without GC barriers.
With the removal of that trait, MutHeap and MutNullableHeap can respectively
be replaced by MutJS and MutNullableJS.
2016-12-12 10:47:54 -10:00
Anthony Ramine
fcb59d3057
Make reflect_dom_object take a &GlobalScope
2016-10-06 20:59:09 +02:00
Arthur Marble
883902bd97
Most of the code refactoring needed to be done is done with this commit.
2016-09-18 03:41:16 -05:00
Arthur Marble
5ce3510a50
Refactored metaKey to meta_key where possible
2016-09-17 20:31:46 -05:00
Arthur Marble
bdbc04409d
This commit refactors altKey to alt_key when possible.
2016-09-17 20:31:46 -05:00
Arthur Marble
fd0622a741
This commit refactors shiftKey to shift_key where possible.
2016-09-17 20:31:46 -05:00
Arthur Marble
77170a14bc
This commit refactors ctrlKey to ctrl_key wherever possible.
2016-09-17 20:31:46 -05:00
Anthony Ramine
cdc7bca944
Move DOMString back to script
...
This entirely removes the 'non-geckolib' feature of the util crate.
2016-05-24 10:54:57 +02:00
Alexander Popiak
0a5ac3b207
implement and use From<bool> for enum and back
...
implement and use From<bool> for EventBubbles (and back direction)
implement and use From<bool> for EventCancelable (and back direction)
2016-03-17 22:50:22 +01:00
John DeSilva
f244a7075c
Make Event's isTrusted attribute unforgeable
2015-12-13 12:27:05 -05:00
rohan.prinja
51df8e310b
rearrange imports to be in alphabetical order
2015-10-30 20:28:59 +09:00
rohan.prinja
45224028db
more refactoring
2015-10-30 20:26:29 +09:00
rohan.prinja
bb2536cd01
move Castable into dom::bindings::inheritance
2015-10-30 20:24:42 +09:00
Matt Brubeck
fe7460f34d
Dispatch touch events and perform default touch actions.
...
This is currently limited to simple single-touch actions. It does not include
momentum scrolling or pinch zooming.
2015-10-22 10:37:03 -07:00
Matt Brubeck
4ed15a8853
Add bindings for TouchEvent DOM interfaces
2015-10-22 10:35:11 -07:00