wilmoz
d3c60af5c6
Make EventTypeId reflect DOM inheritance hierarchy
2015-08-18 14:04:28 -05:00
Bogdan Cuza
45145108da
Measure heap memory usage for more types. Fixes #6951
2015-08-13 21:44:41 +03:00
Bogdan Cuza
233a769c67
Add spec links
2015-07-28 13:28:41 +02:00
David Zbarsky
bc1eb97671
Remove some more unnecessary let bindings
2015-07-14 14:48:16 -04:00
Michael Wu
675267b782
Upgrade to SM 39
2015-06-19 18:42:48 -04:00
Avi Weinstock
0587717944
Change the dispatch in TextInput::handle_keydown_aux match on enum values instead of strings.
2015-05-06 11:46:21 -04:00
Avi Weinstock
29f8306089
Heuristically create a Key value in KeyboardEvent::Constructor based on the string provided.
2015-05-06 11:46:20 -04:00
Avi Weinstock
b742eeca05
Made the clipboard-related functionality in TextInput more testable. Added test_clipboard_paste to the "test-unit" suite.
2015-05-06 11:46:18 -04:00
Simon Sapin
ef8edd4e87
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
2015-05-05 10:07:34 -04:00
Anthony Ramine
7197052c0d
Uniformise root() methods
...
They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable
and ResultRootable.
2015-04-28 09:22:45 +02:00
Ms2ger
a862479ca8
Remove as_slice() calls from script.
2015-04-26 10:52:55 +02:00
Mikko Vanhatalo
ee1aa6c999
Fixed code_value values for Equal & KpEqual
2015-03-30 11:52:18 +03:00
bors-servo
07e271b4e5
auto merge of #5392 : leavengood/servo/fix-alphabetic-key-codes, r=jdm
2015-03-26 14:30:56 -06:00
Ryan Leavengood
0d0be2aa1d
Fix #5374 : Use correct codes for alphabetic chars
2015-03-26 14:06:57 -04:00
Ryan Leavengood
99121e3096
Fix #5367 : Map GraveAccent to Backquote
2015-03-26 13:11:50 -04:00
Ms2ger
5f15eb5fbf
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
2015-03-18 13:18:31 -04:00
Ms2ger
b2fcc2397e
Import msg as msg rather than servo_msg.
2015-02-10 11:40:36 +01:00
Ms2ger
d1e5f7f8ce
Mark HTMLAreaElement and KeyboardEvent as DOM structs.
2015-02-02 10:03:12 +01:00
Ms2ger
505159a464
Import the util crate as util rather than servo_util.
...
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.
2015-01-29 12:16:41 +01:00
Josh Matthews
95fc29fa0d
Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.
2015-01-28 10:16:49 +10:00
Ms2ger
01ed338746
Move to to_owned rather than into_string.
...
into_string has been removed from Rust.
2015-01-20 14:49:07 +01:00
Matt McCoy
85df7f0d6f
Fixes #4164 Make Constructor and new functions take GlobalRef by value
2015-01-07 18:52:41 -05:00
Ms2ger
1dad710063
Replace Root::deref() calls by Root::r() calls where possible.
...
This changes those calls that were already sound.
2015-01-01 20:36:43 +01:00
Ms2ger
c9f26dfd59
Rename Root::root_ref() to Root::r().
...
As it will be used much more widely after the upcoming changes, this limits
the effort reading and writing the method calls.
2015-01-01 20:36:43 +01:00
Manish Goregaokar
e9d1740e19
script: to_string() -> into_string()
2014-12-27 14:48:36 +01:00
Tetsuharu OHZEKI
a7bb436177
script: Remove glob imports added in #4405
2014-12-19 04:52:48 +09:00
Ms2ger
466faac2a5
Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.
2014-12-17 15:19:45 -05:00
Michael Booth
2cbf5a3671
Updated reflect_dom_object to be passed by value
2014-11-30 19:47:52 +00:00
Rohan Prinja
aad124fce3
key[board]event args for Document#createEvent
2014-11-17 09:37:05 +05:30
Josh Matthews
c23edf6f5a
Short-circuit initFooEvent while dispatching events.
2014-11-13 12:53:54 -05:00
Keegan McAllister
642a3592c7
Fix interfaces test
2014-11-13 12:53:54 -05:00
Josh Matthews
80764f65e3
Add single-line text input with no visible cursor.
2014-11-13 12:53:54 -05:00
Josh Matthews
329ba56fca
Dispatch keydown, keyup, and keypress events at appropriate times.
2014-11-13 11:27:15 -05:00
Josh Matthews
e999843183
Fill in KeyboardEvent.
2014-11-13 11:24:14 -05:00
Josh Matthews
bb7074698a
Add KeyboardEvent stub.
2014-11-13 11:24:14 -05:00