Commit graph

1850 commits

Author SHA1 Message Date
Jon Kelley
6e7015b997
Merge pull request #466 from Demonthos/fix_js_interperter
check that an node is an element before removing listeners
2022-06-30 15:18:40 -04:00
Jon Kelley
dde9ca6ce0
Merge pull request #406 from rMazeiks/rusty-events
Rustify events api for WheelData and KeyboardData
2022-06-30 14:56:02 -04:00
Demonthos
7f5ad96c0b
Merge pull request #462 from Demonthos/fix_hot_reload_paths
fix path separator for hot reloading
2022-06-29 12:24:14 -05:00
Jon Kelley
8d6afe70b8
Merge pull request #468 from Demonthos/fix_diffing_equal_length_listeners
Fix Diffing Equal Length Listeners
2022-06-29 11:48:13 -04:00
Evan Almloff
74fc28e5d1 add tests for diffing listeners 2022-06-29 10:09:37 -05:00
Evan Almloff
bf548d4a0e set id before creating listener 2022-06-29 09:48:16 -05:00
Evan Almloff
58a495351a check that an node is an element before removing listeners 2022-06-29 09:09:47 -05:00
Reinis Mazeiks
a9f286c52b Fix bug in TUI key repeat handling 2022-06-29 07:44:19 +03:00
Reinis Mazeiks
0777437243 Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-events
 Conflicts:
	packages/tui/tests/events.rs
2022-06-29 02:18:57 +03:00
Reinis Mazeiks
ca60b01c49 Fix remaining warnings (unrelated) 2022-06-29 02:17:00 +03:00
Reinis Mazeiks
cae0c1409d Fix some warnings: avoid deprecated fields 2022-06-29 02:13:01 +03:00
Reinis Mazeiks
6aa800018b Create similar event demo for TUI 2022-06-29 01:52:03 +03:00
Reinis Mazeiks
0cdaeb1a8d Delete redundant examples (all events now demoed in single simple example) 2022-06-29 01:24:33 +03:00
Reinis Mazeiks
f30387597a Add wheel events to event example; make interface prettier 2022-06-29 01:18:09 +03:00
Reinis Mazeiks
a46ff93600 Improve keyboard event debug formatting 2022-06-29 01:09:17 +03:00
Jon Kelley
ca13bf7358
Merge pull request #459 from Demonthos/clean_up_rsx_imports
Clean up rsx imports for components and tests
2022-06-28 17:32:39 -04:00
Reinis Mazeiks
8f8a614a5c Add keyboard events to event example 2022-06-28 23:58:07 +03:00
Reinis Mazeiks
c090741c60 Improve event formatting 2022-06-28 23:46:24 +03:00
Reinis Mazeiks
6a6a028afc Create new example for all mouse events 2022-06-28 23:36:06 +03:00
Reinis Mazeiks
bfcfe2ca5f Remove use of deprecated functions 2022-06-28 23:10:44 +03:00
Jon Kelley
22677c2992
Merge pull request #463 from Demonthos/fix_escape_sequence
fix escape sequences in ifmt
2022-06-28 16:10:40 -04:00
Reinis Mazeiks
6932924f57 Comment on crossterm key event conversion 2022-06-28 21:17:46 +03:00
Reinis Mazeiks
f3fcec2bdf Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-events
 Conflicts:
	packages/html/src/events.rs
	packages/tui/src/hooks.rs
2022-06-28 21:09:20 +03:00
Evan Almloff
cf2f504d77 fix unnessisary mut 2022-06-28 12:48:38 -05:00
Evan Almloff
f1f9f0df1a pass clippy 2022-06-28 12:37:19 -05:00
Evan Almloff
7730401288 fix escape sequences in ifmt 2022-06-28 12:19:07 -05:00
Evan Almloff
8c3c75cab6 update tests 2022-06-28 10:02:50 -05:00
Evan Almloff
884723831b fix path seperator 2022-06-28 09:48:19 -05:00
Demonthos
6213ff3d53
Merge pull request #460 from mwotton/patch-1
tiny doc fix
2022-06-28 06:55:16 -05:00
Mark Wotton
4106f07566
tiny doc fix 2022-06-28 09:58:27 +07:00
Evan Almloff
706b6c957b change hot_reload to hot-reload in dev-dependancies 2022-06-26 07:26:03 -05:00
Evan Almloff
041f474329 Merge remote-tracking branch 'upstream/master' into clean_up_rsx_imports 2022-06-26 07:22:55 -05:00
Demonthos
d8f2174755
Merge pull request #458 from mrxiaozhuox/patch-3
change the hot_reload feature to hot-reload
2022-06-26 07:16:01 -05:00
YuKun Liu
0af69f83f2 Rename hot_reload to hot-reload 2022-06-26 14:23:19 +08:00
Evan Almloff
9a963bba0a update router test imports 2022-06-25 11:17:26 -05:00
Evan Almloff
02756f6f92 fix key parsing 2022-06-25 10:14:36 -05:00
Evan Almloff
6c20d74797 finish cleanup 2022-06-25 08:48:03 -05:00
Evan Almloff
ef4ece42b3 Merge remote-tracking branch 'upstream/master' into clean_up_rsx_imports 2022-06-25 08:27:32 -05:00
Evan Almloff
fbf8e13b8d clean up imports 2022-06-25 08:27:10 -05:00
YuKun Liu
1c31fd0e22
Update Cargo.toml 2022-06-25 15:36:47 +08:00
Jon Kelley
83288e274f
Merge pull request #452 from Demonthos/fix_nonbubbling_web_events
Fix nonbubbling web events
2022-06-24 17:05:32 -04:00
Jon Kelley
716bd6ea23
Merge pull request #455 from Demonthos/fix_tui_tests
fix tui event tests
2022-06-24 17:02:06 -04:00
Evan Almloff
c52a9334cb fix tui tests 2022-06-24 14:05:19 -05:00
Jonathan Kelley
541d67dcfa fix: only enable liveview drivers if feature is present 2022-06-24 14:06:04 -04:00
Evan Almloff
2d45e1dc8d add bubbling data to events after merge 2022-06-22 14:24:03 -05:00
Evan Almloff
11d9a7d013 Merge remote-tracking branch 'upstream/master' into fix_nonbubbling_web_events 2022-06-22 13:59:10 -05:00
Evan Almloff
61b4bb2f19 handle bubbling events 2022-06-22 13:57:05 -05:00
Jon Kelley
478fea58d9
Merge pull request #425 from Demonthos/jk/rsx-refactor
Hot Reloading Rsx
2022-06-21 11:07:44 -04:00
Evan Almloff
dd335cda59 use line!, col!, and row! instead of panic location 2022-06-20 15:44:10 -05:00
Jonathan Kelley
8be66bd34d fix: apply some clippy lints and rename the liveview methods to not intersect 2022-06-20 02:24:39 -04:00