Jon Kelley
d9546d9504
Renderers are now packages, not features. ( #387 )
...
* feat: use synchronous router design
* feat: function to get router out of dom
* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Jonathan Kelley
92a8b7c75f
fmt: fix formatting
2022-07-07 02:52:37 -04:00
Jonathan Kelley
3d47cb48fa
fix: autofmt on single line rsx calls
2022-07-07 02:06:50 -04:00
Jonathan Kelley
2b9888627b
Merge branch 'master' of github.com:DioxusLabs/dioxus
2022-07-07 01:46:48 -04:00
Jonathan Kelley
7ff4d616d3
chore: remove outdated docs
2022-07-07 01:42:03 -04:00
Demonthos
4a5ae758ee
Allow Multiple dependencies for states in the RealDom (native core) ( #412 )
...
* WIP multable deps
* WIP: refactor and genralize state macro
* add traversable trait
* update tui to use elementid to index dom
2022-07-07 00:50:22 -04:00
Adia Robbie
c271fc132e
dioxus-desktop(Update-dep): tauri 0.19.x ( #489 )
...
* Update(dep): tauri 0.19.x
2022-07-06 12:05:31 -04:00
Demonthos
baaa1752d3
add query context ( #400 )
2022-07-05 19:44:54 -05:00
Jonathan Kelley
251aafa5fd
fix: fmting
2022-07-05 18:42:00 -04:00
Jonathan Kelley
575f92d2d4
chore: update readme and tests for autofmt
2022-07-05 18:23:30 -04:00
Jonathan Kelley
76581e7400
fix: disappearing manual props
2022-07-05 18:03:04 -04:00
Jonathan Kelley
19e6e43358
fix: only apply comments if relevant
2022-07-05 17:59:33 -04:00
Jonathan Kelley
fa9ebe17cc
feat: fix autoformatting around one liners
2022-07-05 17:49:16 -04:00
Jonathan Kelley
64d669e934
chore: add todo list to autofmt crate
2022-07-05 13:31:26 -04:00
Jonathan Kelley
2634755620
fix: handle comments around attributes better
2022-07-05 02:06:54 -04:00
Jonathan Kelley
4471ccba49
fix: even better comment handling
2022-07-05 01:53:08 -04:00
Jonathan Kelley
47f3cc2529
fix: correct comment handling for first line
2022-07-05 00:30:09 -04:00
Jonathan Kelley
150d824561
feat: more advanced comment handling
2022-07-05 00:22:06 -04:00
Jon Kelley
3a30b36f68
fix: some edge cases around autoformatting ( #485 )
...
* wip: remove comment support from autofmt
* fix: some edge cases around autoformatting
* fix: revert readme
* fix: failing test
2022-07-04 21:11:03 -04:00
Demonthos
3a5d1a2ff8
fix web imports and extract hot reload handlers into seperate files ( #484 )
2022-07-04 13:18:11 -05:00
Jonathan Kelley
7e454e770a
chore: remove some hotpath logging
2022-07-03 00:14:15 -04:00
Jonathan Kelley
94004cfe19
chore: clean up some clippy stuff
2022-07-03 00:11:28 -04:00
Jonathan Kelley
2884d72b08
chore: make clippy happy
2022-07-02 23:45:32 -04:00
Jon Kelley
faf1103597
Merge pull request #473 from Demonthos/fix_hot_reloading_svg_attributes
...
Fix hot reloading svg attributes
2022-07-02 22:58:07 -04:00
Jon Kelley
c70cd04835
Merge pull request #454 from DioxusLabs/jk/autofmt
...
Add autoformatting package
2022-07-02 22:57:28 -04:00
Jonathan Kelley
59c38c2ff1
Merge branch 'master' into jk/autofmt
2022-07-02 22:49:21 -04:00
Jonathan Kelley
30c1e702b3
fix: fmt
2022-07-02 22:49:19 -04:00
Demonthos
c9b7b5b3b8
Merge remote-tracking branch 'upstream/master' into pr/Demonthos/473
2022-07-02 20:17:28 -05:00
Demonthos
de3e2a48f8
Merge remote-tracking branch 'upstream/master' into pr/Demonthos/482
2022-07-02 19:03:08 -05:00
Demonthos
55e262b2c6
Merge remote-tracking branch 'upstream/master' into pr/Demonthos/473
2022-07-02 18:48:32 -05:00
Evan Almloff
c0b9b54d9b
allow custom string literals to be captured for hot reloading
2022-07-01 10:51:11 -05:00
Evan Almloff
f0655a11ad
panic on errors in hot-reload if no error handler socket is connected
2022-07-01 09:01:15 -05:00
Jonathan Kelley
cd7ee47e40
fix: make clippy happier with rust 1.63
2022-06-30 16:35:33 -04:00
Jonathan Kelley
a6e8852ced
polish: make clippy happy on use_hook
2022-06-30 15:41:45 -04:00
Jonathan Kelley
e627a66acc
Merge branch 'master' into jk/autofmt
2022-06-30 15:23:05 -04:00
Jonathan Kelley
28a0c67275
polish: clean up the examples and move autofmt sample into dedicated file
2022-06-30 15:19:58 -04:00
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
Evan Almloff
ab533864db
Merge remote-tracking branch 'upstream/master' into fix_hot_reloading_svg_attributes
2022-06-30 07:18:08 -05:00
Evan Almloff
e444d3d4bc
fix svg attributes
2022-06-30 07:17:59 -05: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
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
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
Jonathan Kelley
0aec375371
wip: clean up formatting package
2022-06-28 17:33:11 -04: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
Jonathan Kelley
bd936d3af2
feat: more cleanup
2022-06-28 17:29:10 -04:00
Jonathan Kelley
fa756ba245
feat: manual props
2022-06-28 17:16:26 -04:00
Reinis Mazeiks
c090741c60
Improve event formatting
2022-06-28 23:46:24 +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
Jonathan Kelley
5bab835843
fix: allow keys
2022-06-28 15:35:46 -04:00
Jonathan Kelley
1e4af430a8
wip: eliminate warnings
2022-06-28 15:15:09 -04:00
Jonathan Kelley
a825cdcf58
feat: simple support for comments
2022-06-28 15:01:51 -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
Mark Wotton
4106f07566
tiny doc fix
2022-06-28 09:58:27 +07:00
Jonathan Kelley
d70b436157
wip: more cleanup, more tests
2022-06-27 16:24:36 -04:00
Jonathan Kelley
a2a194ca40
wip: use stateful buffer
2022-06-27 13:36:41 -04:00
Evan Almloff
041f474329
Merge remote-tracking branch 'upstream/master' into clean_up_rsx_imports
2022-06-26 07:22:55 -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
Jonathan Kelley
79b475798d
wip: make element printer more comprehensive
2022-06-25 02:22:26 -04:00
Jonathan Kelley
398cbc6534
wip: rely on git version of prettyplease, refactor autofmt
2022-06-25 00:55:52 -04: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
Evan Almloff
c52a9334cb
fix tui tests
2022-06-24 14:05:19 -05:00
Jonathan Kelley
5b9e34aadd
feat: add fork of prettyplease for autoformatting
2022-06-24 14:22:08 -04: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
Jon Kelley
c3e573b7cb
Merge pull request #445 from Demonthos/test_tui_events
...
test tui events
2022-06-19 22:10:10 -04:00
Evan Almloff
21206390f8
more formatting
2022-06-17 15:33:28 -05:00
Evan Almloff
f7b2869082
fix formatting
2022-06-17 15:15:02 -05:00
Evan Almloff
ffc9bf763a
pass clippy
2022-06-17 13:50:41 -05:00
Evan Almloff
0f2ff34a30
add tests for the interperter
2022-06-17 09:50:25 -05:00
Evan Almloff
9e7e5b0859
Merge remote-tracking branch 'upstream/master' into jk/rsx-refactor
2022-06-16 09:17:36 -05:00
Evan Almloff
75e13749ea
set multiple rsx calls at once to prevent duplicated errors
2022-06-16 09:11:56 -05:00
Evan Almloff
b761bdb767
include element/attribute in errors
2022-06-15 14:20:36 -05:00
Evan Almloff
d9ee305575
offset column numbers
2022-06-15 13:36:18 -05:00
Demonthos
df4ea20bb8
create serde compatible parse error
2022-06-15 12:58:08 -05:00
Evan Almloff
8670f05968
Merge branch 'tui_mouse_events_fix' into tui_focus
2022-06-15 08:31:04 -05:00