Jonathan Kelley
0f5605b3db
Apply clippy fixes
2023-07-14 17:13:49 -07:00
Jonathan Kelley
f0128a3150
implement suspense using simpler approach
2023-07-14 17:12:07 -07:00
Jonathan Kelley
81075748f6
add simple suspense methods
2023-07-14 16:56:17 -07:00
Jonathan Kelley
cbd88bbcc3
Rip out async components
2023-07-14 16:15:20 -07:00
Jonathan Kelley
2d8841cf70
Add lazy contexts to signals
2023-07-14 12:52:49 -07:00
Jonathan Kelley
17f2de81d6
Remove indexmap from core
2023-07-12 14:22:47 -07:00
Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions ( #1167 )
2023-07-08 11:04:27 -05:00
Jonathan Kelley
1489492ec4
Reuse existing slots in provide context
2023-07-07 12:18:15 -07:00
Jonathan Kelley
3a1b22aec2
Use linear scans on contexts
2023-07-07 12:04:09 -07:00
Jonathan Kelley
47513e8b9e
Use boxes instead of bumpslab for hooks
2023-07-06 12:43:04 -07:00
Jonathan Kelley
10a3b228f6
Add some logging and debug
2023-07-05 15:19:26 -07:00
Marc Espín
cb73343865
fix: Fix stop_propagation example ( #1143 )
2023-07-02 12:04:49 -05:00
Jon Kelley
7f1e99ade1
Merge pull request #1064 from Demonthos/expand-fuzzing
...
Expanded fuzzing
2023-06-30 12:21:54 -07:00
Evan Almloff
5f873511c5
use workspace dependancies
2023-06-19 14:29:11 -05:00
Nick Mosher
b48cfe5730
fix: Remove dbg that was causing TUI rendering problems ( #1085 )
2023-06-19 08:29:29 -05:00
ealmloff
d9a1b702df
Merge branch 'DioxusLabs:master' into expand-fuzzing
2023-06-19 07:55:49 -05:00
Jon Kelley
d34c2e395f
Merge pull request #1065 from Demonthos/fix-events-on-placeholders
...
Fix panic when events trigger on placeholders
2023-06-08 14:52:18 +00:00
Evan Almloff
db44721c3d
update all element ids
2023-06-02 14:23:16 -05:00
Evan Almloff
9d5f115e30
fix events triggering on placeholders causing panics
2023-06-02 14:21:49 -05:00
Evan Almloff
fe162f4a79
expanded fuzzing
2023-06-02 14:20:03 -05:00
Evan Almloff
382d5cb8c5
fix hot reloading with namespaces
2023-05-30 10:32:17 -05:00
Jonathan Kelley
b6463e4b27
bump core
2023-05-04 12:04:21 -07:00
Evan Almloff
d005f3481f
fix non-bubbling event propagation
2023-04-10 09:45:16 -05:00
Evan Almloff
297c9a822e
always update root id node refs
2023-04-05 12:34:17 -05:00
Jon Kelley
0fd93e74c2
Merge pull request #915 from Demonthos/fix-empty-mutations
...
Don't add no op mutations when diffing lists
2023-03-28 16:17:25 -07:00
Evan Almloff
3bb6c4bc30
don't add no op mutations
2023-03-28 13:34:37 -05:00
Evan Almloff
204ac8b2ed
clarify mutations docs
2023-03-28 11:58:50 -05:00
Evan Almloff
226bd3a6e1
fix panic when waking future on shutdown
2023-03-13 15:50:05 -05:00
Evan Almloff
4847789a83
fix event bubbling within a single template
2023-03-12 14:47:30 -05:00
Evan Almloff
2c0eb303f6
fix the provide context docs
2023-02-27 15:05:49 -06:00
Jonathan Kelley
33397b290d
bump core
2023-02-16 12:13:27 -08:00
Evan Almloff
f652ac5e13
improve sorting test
2023-02-12 17:36:00 -06:00
Evan Almloff
abd6132c03
fix bfs ordering
2023-02-12 17:11:32 -06:00
Evan Almloff
362aadb021
sum nodes pushed instead of counting them
2023-02-09 09:03:35 -06:00
Jonathan Kelley
a6c13c8ad0
Move event return to HTML crate
2023-02-08 15:51:28 -08:00
Evan Almloff
b33e0ed3ea
fix release build warnings
2023-02-07 09:19:09 -06:00
Jonathan Kelley
9ebafc46bb
feat: allow 'static futures to be spawned from handlers
2023-02-06 00:54:08 -08:00
Evan Almloff
9baef6bcd9
always load the templates in hydration
2023-01-31 14:18:34 -06:00
Evan Almloff
696109db10
implement hydration
2023-01-31 14:10:48 -06:00
Evan Almloff
65be035506
only add non-static components to the borrowed_props list
2023-01-29 11:53:52 -06:00
Jonathan Kelley
4f83c1b86d
Merge branch 'master' of github.com:DioxusLabs/dioxus
2023-01-27 23:27:36 -08:00
Jonathan Kelley
6fde323112
bump core version
2023-01-27 23:27:28 -08:00
Evan Almloff
b6c7d44a27
fix clippy
2023-01-27 20:35:46 -06:00
Jonathan Kelley
b5c7d5cfd9
chore: use 0.2 of bumpslab
2023-01-23 11:45:18 -08:00
Evan Almloff
a0441f686c
use main bumpslab branch
2023-01-23 12:48:00 -06:00
Evan Almloff
82e2175500
make entry key return scopeid
2023-01-23 10:08:11 -06:00
Evan Almloff
bdb63d18f3
try a different branch
2023-01-23 08:25:08 -06:00
Evan Almloff
00a9ad29a8
fix memory leak
2023-01-22 21:24:30 -06:00
Evan Almloff
c5f003e41e
use git version of bump slab
2023-01-22 21:07:54 -06:00
Evan Almloff
ae028d82f8
use bump slab
2023-01-22 17:16:34 -06:00
Evan Almloff
ba79d4babd
don't-box-scopestates
2023-01-22 15:05:32 -06:00
Evan Almloff
8548b324f1
fix dropping nested scopes
2023-01-15 21:23:49 -06:00
Evan Almloff
d13d1fb1c9
Merge branch 'upstream' into fix-future-on-dropped-scope
2023-01-15 14:01:11 -06:00
Evan Almloff
d7f9a07f4e
fix
2023-01-15 13:52:06 -06:00
Jonathan Kelley
69a347a551
fix: scopes not dropping their hooks
2023-01-15 10:02:24 -08:00
Jonathan Kelley
a45f16a773
chore: clean up comments
2023-01-14 11:57:36 -08:00
Jonathan Kelley
ecaa68605d
fix: trim start matches for events
2023-01-14 11:57:03 -08:00
Jonathan Kelley
40a36aa8e6
chore: use trim
2023-01-14 00:21:26 -08:00
Jonathan Kelley
8d59c626ea
fix: listeners should not use hard indexing
2023-01-14 00:19:37 -08:00
Evan Almloff
ebed5ac025
Merge branch 'upstream' into add-fuzzing-to-core
2023-01-12 16:38:29 -06:00
Evan Almloff
a01a65a0eb
seperate text and other dynamic nodes
2023-01-12 16:34:46 -06:00
Evan Almloff
260589cd7f
pass clippy
2023-01-12 15:53:33 -06:00
Evan Almloff
09da9c04a8
Use zero cost option instead of null pointers
2023-01-12 15:42:23 -06:00
Evan Almloff
8a04a6ab0e
clean up fuzzing test
2023-01-12 15:28:10 -06:00
Evan Almloff
75932a43e0
Merge branch 'upstream' into add-fuzzing-to-core
2023-01-12 15:17:20 -06:00
Evan Almloff
1899a10aec
fix removing aborted nodes
2023-01-12 15:13:47 -06:00
Evan Almloff
733ff40bd0
Merge branch 'upstream' into handle-aborting-renders
2023-01-12 13:30:15 -06:00
Jonathan Kelley
fd4eac3488
Merge branch 'master' of github.com:DioxusLabs/dioxus
2023-01-11 17:12:33 -08:00
Jonathan Kelley
cf79ca8113
chore: stop ignoring some doc tests
2023-01-11 17:12:09 -08:00
Jonathan Kelley
c4a18bc24d
chore: clean up some clippy warnings and add clippy lints to CI
2023-01-11 16:13:41 -08:00
Jon Kelley
e5b39bb61f
Merge pull request #744 from Demonthos/update-readmes
...
Update READMEs and tags for the 0.3 release
2023-01-10 18:21:55 -08:00
Jonathan Kelley
6d24fc3a6f
ci: make CI pass for miri
2023-01-10 18:08:41 -08:00
Jonathan Kelley
74af8f0f52
chore: smallbox unused on miri ci
2023-01-10 18:05:48 -08:00
Jonathan Kelley
13e58daa20
Merge branch 'master' into jk/add-miri-to-ci
2023-01-10 17:53:25 -08:00
Jonathan Kelley
39c4f3f814
fix: ci not passing
2023-01-10 16:39:56 -08:00
Evan Almloff
52d5c8d4e7
update READMEs and tags for the 0.3 release
2023-01-10 10:16:11 -06:00
Jonathan Kelley
faf94c7b4e
fix: make miri pass on context api
2023-01-09 13:50:33 -08:00
Evan Almloff
927db9723a
handle abort diffing
2023-01-07 19:01:29 -06:00
Evan Almloff
112738c23d
improve fuzzing test
2023-01-07 18:52:37 -06:00
ealmloff
cd4474cc4f
Update docs to reflect changes in master ( #670 )
...
* work on updating docs to master version
* more updates
* more polishing
* finish interactivity chapter
* finish updating core guide
* fix grammer mistakes and typos
* more grammer fixes
* add liveview guide
* remove doc build
* WIP custom renderer docs
* add axum as dev-dependancy to guide
* fix examples
* fix overview example
* use md book fork to fix compilation
2023-01-06 15:00:12 -08:00
ealmloff
a616a8fa9d
fix templates being registered in mutations many times ( #722 )
2023-01-05 13:05:12 -06:00
ealmloff
64881fd951
improve error message when a user tried to use nested hooks ( #723 )
2023-01-05 13:05:04 -06:00
Evan Almloff
990b0503e1
remove outdated comment
2023-01-05 10:36:30 -06:00
Evan Almloff
42baadf65d
add fuzzing test to dioxus-core
2023-01-05 10:28:07 -06:00
Jonathan Kelley
7f01f61138
feat: publish 0.3 versions of many crates
2023-01-04 14:31:07 -05:00
Evan Almloff
e3dd55533f
handle removing a future that does not exist
2023-01-04 11:38:34 -06:00
Evan Almloff
1a92f125b2
support Option<AttributeValue>
2023-01-03 08:51:58 -06:00
Jon Kelley
07e71956d4
Merge pull request #648 from Demonthos/fix-non-str-attributes
...
fix custom attribute value support
2023-01-02 23:41:45 -05:00
Evan Almloff
c0f9355648
fix any value dropping
2023-01-02 21:26:12 -06:00
Evan Almloff
51dba50c04
use BumpBox<Any> and FromAnyValue instead of sync bounds
2023-01-02 14:40:25 -06:00
Evan Almloff
87ff41f213
remove some commented out code
2023-01-02 11:54:44 -06:00
Maurice Kayser
c8f88b6428
Fix typo ( #702 )
2023-01-01 14:41:18 -06:00
Jonathan Kelley
0d95568972
chore: add miri and windows test
2022-12-30 14:34:44 -05:00
Evan Almloff
5b1d9c5c8d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-30 11:52:55 -06:00
Jonathan Kelley
9db69cc613
chore: remove comments
2022-12-30 02:43:00 -05:00
Jonathan Kelley
ba20bc08b8
chore: clean up clock
2022-12-30 02:41:09 -05:00
Jonathan Kelley
daa5449b6b
chore: use existing scheduler
2022-12-30 02:39:47 -05:00
Jonathan Kelley
7bc8150da7
fix desktop to poll without budget
2022-12-29 20:39:22 -05:00
Jonathan Kelley
bd720e2268
fix: use futuresunordered instead of bespoke waker system
2022-12-29 19:53:43 -05:00
Evan Almloff
cb17252a21
clean up warnings and update prelude
2022-12-28 20:42:47 -06:00
Evan Almloff
044462876d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-28 20:36:57 -06:00
=
1555500fbd
drop any values correctly
2022-12-26 10:53:25 -06:00
=
c245f04c8c
make any_cmp safe
2022-12-26 08:41:37 -06:00
=
170a3669f7
reduce usage of unsafe
2022-12-26 08:37:50 -06:00
Jonathan Kelley
366e46eddf
chore: add some fixes to hot reload
2022-12-25 23:22:43 -05:00
Jonathan Kelley
079d71fb2b
fix: use modern enum
2022-12-25 22:11:45 -05:00
Jonathan Kelley
8887d65e1b
Merge branch 'master' into jk/suspense-rollover
2022-12-25 22:10:22 -05:00
Jonathan Kelley
3d69d3ea92
chore: use pending instead of async
2022-12-25 01:43:22 -05:00
Jonathan Kelley
9b0244ee5c
fix: use ready nodes in more places
2022-12-25 01:37:00 -05:00
Jonathan Kelley
85f6ea0545
feat: expand error boundary concept
2022-12-23 23:59:10 -05:00
Jonathan Kelley
6b41c9d193
fix: make sure to set scope on none
2022-12-23 23:59:02 -05:00
Jonathan Kelley
8e18a223e3
wip: more tweaks
2022-12-23 19:43:19 -05:00
Jonathan Kelley
d8aa9f032a
feat: none return works
2022-12-23 19:33:15 -05:00
Jonathan Kelley
244ade048e
Merge branch 'master' into jk/suspense-rollover
2022-12-23 19:13:22 -05:00
Evan Almloff
08c2440bca
update core tests
2022-12-23 16:10:05 -06:00
Evan Almloff
afd024bcb6
Merge branch 'upstream' into fix-non-str-attributes
2022-12-23 15:53:39 -06:00
Evan Almloff
6a46a7c4fb
fix tests
2022-12-22 18:19:55 -06:00
Evan Almloff
608c37428d
Merge branch 'upstream' into fix-hot-reloading
2022-12-22 16:58:30 -06:00
Evan Almloff
432bfd395e
fix swaping templetes before any instances are created
2022-12-22 16:54:49 -06:00
Evan Almloff
1530445972
fix hot reloading rsx with nested rsx calls
2022-12-22 16:38:07 -06:00
Evan Almloff
21ca1599eb
more bugfixes
2022-12-22 15:09:58 -06:00
Jonathan Kelley
5a70c6ecf9
chore: swap over router none
2022-12-22 14:45:48 -05:00
Evan Almloff
04a923f83e
fix changing the order of dynamic nodes
2022-12-22 11:36:38 -06:00
Jonathan Kelley
870d857a93
fix: prevent double borrow
2022-12-22 11:32:42 -05:00
Jonathan Kelley
56d193d196
fix: try to guard against double drop
2022-12-22 11:30:30 -05:00
Evan Almloff
db7a1ec0b0
fix lints
2022-12-21 13:04:57 -06:00
Evan Almloff
4c1fe1d9bb
allow changing the number of root nodes
2022-12-21 12:50:48 -06:00
Evan Almloff
e5a5850354
merge master
2022-12-20 20:48:28 -06:00
Jonathan Kelley
2fa3fe1fc0
fix: use arcwake instead of rcwake
2022-12-20 11:13:06 -08:00
Jonathan Kelley
18157eeed1
fix: dont panic in panic test
2022-12-19 20:10:34 -08:00
Evan Almloff
67921cacc3
post merge fixes
2022-12-19 21:20:46 -06:00
Evan Almloff
493ee1cb3f
Merge branch 'upstream' into fix-hot-reloading
2022-12-19 21:17:22 -06:00
Jonathan Kelley
d3be971f4e
chore: rollback to option instead of anyhow
2022-12-19 18:06:13 -08:00
Evan Almloff
4364a4b511
handle updating templates better
2022-12-19 19:28:44 -06:00
Jonathan Kelley
7a4b0d7c2d
fix: use stack optimization for replacer
2022-12-19 11:14:01 -08:00
Evan Almloff
96ce704f8e
fix serialization
2022-12-19 11:48:28 -06:00
Jonathan Kelley
9241be6e06
Merge branch 'master' into fix-non-str-attributes
2022-12-17 02:51:25 -08:00
Jonathan Kelley
a42660a451
fix: dont handle wakeups from finished tasks
2022-12-17 02:51:13 -08:00
Jonathan Kelley
3faef30075
fix: dont clone callbacks
2022-12-17 01:55:18 -08:00
Jonathan Kelley
c409fecaaf
fix: sync with master
2022-12-17 01:52:17 -08:00
Jonathan Kelley
cc7736302a
Merge branch 'master' into fix-non-str-attributes
2022-12-17 01:51:13 -08:00
Jonathan Kelley
482ae5e395
fix: no comments
2022-12-16 22:44:07 -08:00
Jonathan Kelley
255a903d5a
chore: no dbg
2022-12-16 22:42:57 -08:00
Jonathan Kelley
e0390ff608
fix: advance dynamic root
2022-12-16 22:39:27 -08:00
Jonathan Kelley
81dc134323
fmt
2022-12-16 21:10:20 -08:00
Jonathan Kelley
1ad86890a4
chore: reorganize miri
2022-12-16 20:41:31 -08:00
Jonathan Kelley
ea9245b0f7
fix: make miri pass
2022-12-16 20:39:19 -08:00
Jonathan Kelley
261d688b6e
fix: get miri passing
2022-12-16 20:26:04 -08:00
Jonathan Kelley
4d73ffa361
fix: save listeners, borrowed props, and pull back props
2022-12-16 19:54:33 -08:00
Jonathan Kelley
b6a8391e07
chore: dont print logs in core
2022-12-16 14:21:10 -08:00
Jon Kelley
5ac9b595ea
Revert "fix: liveview interpreter using new templates"
2022-12-16 14:20:05 -08:00
=
14dd568987
Merge branch 'upstream-master' into fix-hot-reloading
2022-12-16 10:07:11 -06:00
Jon Kelley
7ec55aa563
Merge pull request #655 from DioxusLabs/jk/fix-liveview
...
fix: liveview interpreter using new templates
2022-12-15 21:11:21 -08:00
=
0d9c350d5e
implement for web and desktop
2022-12-15 21:16:37 -06:00
Jonathan Kelley
7790d2c065
chore: simplify liveview abstraction
2022-12-15 18:46:59 -08:00
Jonathan Kelley
4e75c707d1
fix: go in reverse for building paths
2022-12-15 15:49:52 -08:00
Jonathan Kelley
8530db69e1
fix: dont panic on cleanup
2022-12-15 14:26:05 -08:00
Jonathan Kelley
3845451128
Merge branch 'master' of github.com:DioxusLabs/dioxus
2022-12-14 08:51:59 -08:00
Jonathan Kelley
c90be6bdc5
fix: dont panc
2022-12-14 08:51:28 -08:00
Jonathan Kelley
cee63ae370
fix: spawn task
2022-12-13 16:04:41 -08:00
Jonathan Kelley
fc2aaa7df5
fix: cargo check
2022-12-13 15:54:59 -08:00
Jonathan Kelley
02b1a73890
fix: use tokio for test
2022-12-13 15:48:40 -08:00
Jonathan Kelley
74fba3b579
fix: remove scope from listener
2022-12-13 15:36:15 -08:00
Jonathan Kelley
b659f4d5d6
chore: add back template diffing
2022-12-13 15:18:20 -08:00
Jonathan Kelley
5c20e651da
fix: get rollover working
2022-12-13 14:44:47 -08:00
Jonathan Kelley
d4b6bb8a7b
feat: fix the scope rollover bug
2022-12-12 18:31:30 -08:00
Jonathan Kelley
d93eed4c29
feat: allow dynamic nodes to be into dynamic nodes
2022-12-12 11:20:25 -08:00
=
53b436c684
remove AnyValueBounds and add some docs
2022-12-11 21:40:40 -06:00
=
875d17ea25
Merge remote-tracking branch 'upstream/master' into fix-non-str-attributes
2022-12-11 21:30:00 -06:00
=
73ec4abfdf
Merge remote-tracking branch 'upstream/master' into fix-non-str-attributes
2022-12-11 21:26:38 -06:00
=
2dee361b60
clean up features flags and AnyValueContainer
2022-12-11 21:25:55 -06:00
=
74e9d5977a
add sync behind a feature flag
2022-12-11 17:31:15 -06:00
Jonathan Kelley
6fd5ac38bb
Merge branch 'master' of github.com:DioxusLabs/dioxus
2022-12-11 13:59:11 -08:00
Jonathan Kelley
0b3e8a4493
chore: add new import to prelude
2022-12-11 13:58:58 -08:00
Evan Almloff
0ac02cc893
move any bound to trait instead of implementation
2022-12-10 13:24:39 -06:00
Evan Almloff
e4a7e4582b
make downcast_ref_unchecked unsafe
2022-12-10 12:59:12 -06:00
Evan Almloff
0813d531f1
add some utilities around AnyValueRc
2022-12-10 12:50:15 -06:00
Evan Almloff
da64b0c2a8
WIP parising
2022-12-10 12:29:15 -06:00
Sam Schmeink
6166d4eb73
fix: replace fxhash with rustc-hash
2022-12-10 03:56:48 +01:00
Jonathan Kelley
f153cdf61a
fix: dont panic lazynodes
2022-12-09 16:40:09 -08:00
Evan Almloff
0c0158f62d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-09 16:24:02 -06:00
Evan Almloff
8a1c96a68c
fix custom attribute value support
2022-12-09 16:18:37 -06:00
Evan Almloff
99a4a9d45b
Merge branch 'upstream' into optimize-templates-v3
2022-12-07 18:29:02 -06:00
Evan Almloff
56b027ef33
fix more lints
2022-12-07 17:24:50 -06:00
Evan Almloff
cbaf36251f
cargo fix
2022-12-07 17:24:11 -06:00
Evan Almloff
b79ad4f50e
Merge remote-tracking branch 'upstream/master' into optimize-templates-v3
2022-12-07 17:20:31 -06:00
Jonathan Kelley
db5b65b6cb
chore: make cargo check happy with new apis
2022-12-07 14:51:14 -08:00
Evan Almloff
5c6c235df0
cleanup code
2022-12-07 15:48:25 -06:00
Jonathan Kelley
a252774226
chore: clean up docs with changes to templates
2022-12-07 13:39:22 -08:00
Evan Almloff
84416cbe6a
check if templates are ptr eq before doing full equality check
2022-12-07 10:11:27 -06:00
Evan Almloff
08da53303d
optimizations aroud preallocating
2022-12-07 08:44:54 -06:00
Jonathan Kelley
5a0ae67ccb
chore: make clippy happy
2022-12-06 17:44:29 -08:00
Jonathan Kelley
34d9aafe0e
feat: overhaul ssr
2022-12-06 17:41:47 -08:00
Jonathan Kelley
1b14b309e9
chore: clean up desktop
2022-12-06 16:37:28 -08:00
Demonthos
67a6fa9eb8
Implement new mutations with native core ( #630 )
...
* work on seperating tree struture from realdom
* intial update to new mutations
* handle height
* update to taffy 0.2
* add as_varient functions to OwnedAttributeValue
* make get node parent mut optionally return a parent
* work on upward pass
* add more code for parrellel passes
* make resolve passes public
* more work on parallel passes
* fix deadlock and add more tests
* move height into the tree instead of the realdom
* make passes exicute in parallel instead of executing invidual passes in parellel
* fix some warnings
* add up dependant test
* clean up examples
* work on intigrating state with passes
* update to new mutations
* work on implementing macro
* make the macro compile
* more progress on macro
* mark cloned nodes as dirty
* update persistant_iterator utility
* fix mask generation
* update tui with new mutations
* more progress updating tui
* some basic tui examples working
* don't push template nodes onto the stack
* update hover example
* update benchmark
* update more examples
* fix root node layout
* ignore out of bounds renders
* update color picker example
* update all events example
* update remaining examples
* update tests
* tests passing
* move persistant iterator test
* update examples
* fix gaps in layout
* fix formatting
* fix memory leak
2022-12-06 15:38:04 -08:00
Jonathan Kelley
b9aad5e8f4
chore: help resolve conflicts
2022-12-06 15:37:06 -08:00
Evan Almloff
6102902387
work on optimizing web implementation
2022-12-06 14:24:35 -06:00
Jonathan Kelley
b182a6ee75
chore: clean up interpreter and bindings
2022-12-05 16:47:04 -08:00
Jonathan Kelley
7b1cdb7d85
feat: get desktop working with new template strategy
2022-12-05 16:08:41 -08:00
Jonathan Kelley
df4a1b6c7a
chore: finish tweaking context api
2022-12-05 15:30:49 -08:00
Jonathan Kelley
e22923eb2d
feat: core tests passing
2022-12-05 14:16:54 -08:00
Jonathan Kelley
b0cccce60a
feat: miri passing
2022-12-05 13:03:52 -08:00
Jonathan Kelley
a61daf220d
feat: context api overhaul
2022-12-02 16:24:49 -08:00
Jonathan Kelley
11a45c8ef0
chore: continue to clean things up
2022-12-01 01:08:49 -05:00
Jonathan Kelley
85657d3906
feat: rip out mutations for templates
2022-12-01 00:46:15 -05:00
Jonathan Kelley
3b166c9edd
wip: clean up some things
2022-11-30 23:54:30 -05:00
Jonathan Kelley
18d6b1ad6f
feat: get web working properly
2022-11-30 17:21:10 -05:00
Jonathan Kelley
3c19def550
chore: get create working and simplify dynamic nodes
2022-11-30 11:24:13 -05:00
Jonathan Kelley
16a521a601
chore: update docs
2022-11-30 10:31:44 -05:00
Jonathan Kelley
03aea885cf
chore: make clippy happy
2022-11-29 16:46:25 -05:00
Jonathan Kelley
7c3d308ab5
chore: make warnings go away
2022-11-29 16:31:04 -05:00
Jonathan Kelley
0027cdd938
chore: get event test working
2022-11-27 09:38:40 -05:00
Jonathan Kelley
565df11f7b
chore: more tests passing
2022-11-27 02:06:04 -05:00
Jonathan Kelley
f614cbb401
wip: migrate all tests to core
2022-11-27 00:56:49 -05:00
Jonathan Kelley
d0554b9ed6
chore: add tests for context api
2022-11-27 00:38:40 -05:00
Jonathan Kelley
04296bb88d
chore: fix tests
2022-11-27 00:25:35 -05:00
Jonathan Kelley
399169800d
chore: dynamic attributes cleanup
2022-11-27 00:22:39 -05:00
Jonathan Kelley
bffb2644a3
fix: node reclaimation
2022-11-25 02:12:29 -05:00
Jonathan Kelley
5713e13ff2
feat: implement ID cycling
2022-11-24 09:11:27 -05:00
Jonathan Kelley
0cfbfc88e2
feat: more tests working
2022-11-24 06:47:14 -05:00
Jonathan Kelley
4dd9a616a5
wip: fragment diffing working
2022-11-23 23:15:01 -08:00
Jonathan Kelley
0266dfdc05
wip: error bubbling
2022-11-23 13:50:48 -08:00
Jonathan Kelley
62d672fc90
wip: play with error code
2022-11-22 23:30:44 -08:00
Jonathan Kelley
09b2ff2736
feat: tests list
2022-11-22 21:44:20 -08:00
Jonathan Kelley
9c4abcbea0
wip: more tests!
2022-11-22 21:32:26 -08:00
Jonathan Kelley
662f58c8bc
wip: add diffing tests
2022-11-22 20:16:14 -08:00
Jonathan Kelley
4bfd936e12
chore: tweak fragments and tests
2022-11-22 19:59:56 -08:00
Jonathan Kelley
0e5a59f9ed
wip: error boundary
2022-11-22 18:38:27 -08:00
Jonathan Kelley
112c954e00
Merge branch 'master' into jk/templates-v3
2022-11-22 16:11:12 -08:00
Jonathan Kelley
7e6cea3a13
wip: continue to tweak suspense
2022-11-22 10:05:13 -08:00
David Craven
99dafdb8ee
Build failure on master. ( #627 )
...
* Build failure on master.
* Fix ci failure.
* Fix test.
* Ignore broken tests.
* Fix doctests.
2022-11-22 09:56:15 -08:00
Jonathan Kelley
491bf4332d
wip: stop transmuting reference
2022-11-21 17:00:34 -08:00
Jonathan Kelley
d407035931
chore: wipe away old src
2022-11-20 15:58:05 -08:00
Jonathan Kelley
493591400f
wip: pre any props
2022-11-19 17:07:29 -08:00
Jonathan Kelley
12808ec0aa
wip: think about dyn any for ScopeState
2022-11-19 15:24:28 -08:00
Jonathan Kelley
20f9957fbe
feat: diffing works on desktop!
2022-11-17 22:31:14 -08:00
Jonathan Kelley
30ef225812
feat: event handling on desktop
2022-11-17 20:00:39 -08:00
Jonathan Kelley
073fea9ed3
Merge branch 'master' into jk/templates-v3
2022-11-16 22:24:21 -08:00
Demonthos
f21c8423eb
optimizations for wasm size ( #582 )
...
* optimize for size
* fix tests
* revert log feature
* make backtrace not optional
* remove dev feature from web dev-deps
2022-11-16 22:22:13 -08:00
Jonathan Kelley
642b21f125
suspense works in desktop
2022-11-16 11:48:47 -08:00
Jonathan Kelley
66319cf6e2
wip: queue mods
2022-11-16 01:13:39 -08:00
Jonathan Kelley
ea7ab5f765
wip: it works more
2022-11-15 23:59:19 -08:00
Jonathan Kelley
7f85806fa6
wip: trying to get namespaced elements working
2022-11-15 23:31:23 -08:00
Jonathan Kelley
04bc635ac5
wip: prep to fix bug in create
2022-11-15 23:22:41 -08:00
Jonathan Kelley
e09b6bf813
chore: tweak generic arguments and iterators in rsx
2022-11-15 20:58:56 -08:00
Jonathan Kelley
e8ae830cf2
feat: get desktop working with just creation
2022-11-15 18:32:48 -08:00
Jonathan Kelley
0dad91bc08
wip: pass more events
2022-11-15 16:37:23 -08:00
Jonathan Kelley
47d0f51e00
wip: overhaul event system
2022-11-15 16:05:22 -08:00
Jonathan Kelley
c44bd11fe5
chore: more refactoring, docs
2022-11-11 18:29:27 -08:00
Jonathan Kelley
f7df6a9893
chore: use std::future::Future instead
2022-11-09 11:02:52 -08:00
Jonathan Kelley
f5bc137f01
chore: clean up scheduler code
2022-11-09 10:58:11 -08:00
Jonathan Kelley
c096057dd3
chore: tweak attributes to only set ID once
2022-11-08 20:06:39 -08:00
Jonathan Kelley
fc9fe6e560
feat: split apart template mutations
2022-11-08 19:39:37 -08:00
Jonathan Kelley
203935834d
feat: suspense!
2022-11-07 22:55:22 -08:00
Jonathan Kelley
e6c53803a6
feat: abstract to rc wake
2022-11-06 14:28:41 -08:00
Jonathan Kelley
a38fc9e4ab
feat: suspense!
2022-11-06 01:48:34 -07:00
Jonathan Kelley
aec1b326ba
wip: so much suspense code
2022-11-03 22:30:26 -07:00
Jonathan Kelley
d2ce57ba6e
feat: poll async once
2022-11-03 20:56:31 -07:00
Jonathan Kelley
94601ccd1f
feat: async components!
2022-11-03 17:34:42 -07:00
Jonathan Kelley
51aeb29d1a
wip: figure out async syntax
2022-11-03 02:37:41 -07:00
Jonathan Kelley
591674f701
wip: allow async into component
2022-11-03 02:11:04 -07:00
Jonathan Kelley
5d91f51e17
chore: clean things up
2022-11-03 01:38:18 -07:00
Jonathan Kelley
584504feb7
feat: keys
2022-11-03 01:24:20 -07:00
Jonathan Kelley
dddbcfd5e2
feat: works with components
2022-11-02 17:36:36 -07:00
Jonathan Kelley
c6a6c3d0f8
feat: components pass thru children
2022-11-02 17:29:18 -07:00
Jonathan Kelley
b6c0bce89c
feat: support cached ssr
2022-11-02 01:00:37 -07:00
Jonathan Kelley
4a31b29703
feat: simple tests passing
2022-11-01 18:42:29 -07:00
Jonathan Kelley
23603aaaf5
wip: rewrite core to be template focused
2022-10-27 21:58:47 -07:00
Jonathan Kelley
67012c38df
feat: more diffing iteration
2022-10-26 18:40:38 -07:00
Jonathan Kelley
22d4bf7346
feat: use walking pattern
2022-10-26 18:04:47 -07:00
Jonathan Kelley
7cbb4d52dd
wip: more modifications to templates
2022-10-21 18:54:14 -07:00
Jonathan Kelley
90982e0ccb
wip: start to refactor out hot reloading from packages
...
Also implement alternative simpler template system
2022-10-20 09:56:09 -07:00
Demonthos
3b7b503333
Refactor Mutations and simplify Templates ( #578 )
...
* update mutations to be path based rather than renderer integrated
2022-10-18 14:42:45 -07:00
Demonthos
ab10d327ac
Fix attribute value in macro ( #577 )
...
* create into AttributeValue trait to allow arbitraty attribute values
* allow attributevalue in non-template macro
2022-10-12 20:43:37 -07:00
saicu
e8c48d46cf
replace fxhash crate with rustc-hash ( #588 )
2022-10-12 18:27:26 -07:00
Jon Kelley
fb2f3e68ff
fix: random commit ( #586 )
2022-10-08 23:07:20 -07:00
saicu
6476335750
to_owned!: allow optional comma at the end ( #584 )
2022-10-08 16:23:26 -07:00
Demonthos
928b5358b2
allow arbitrary attribute value in owned attribute value ( #574 )
2022-10-02 14:13:06 -07:00
Demonthos
daeffd4149
pass clippy ( #575 )
2022-10-02 14:12:24 -07:00
Demonthos
047ed1e553
Subtree memorization / reactive templates ( #488 )
...
This commit adds subtree memoization to Dioxus.
Subtree memoization is basically a compile-time step that drastically
reduces the amount of work the diffing engine needs to do at runtime by
extracting non-changing nodes out into a static "template." Templates
are then understood by the various renderers in the ecosystem as a
faster way of rendering the same items.
For example, in the web, templates are simply a set of DOM Nodes created
once and then cloned later. This is the same pattern frameworks like Lithtml
and SolidJS use to achieve near-perfect performance.
Subtree memoization adds an additional level of complexity to Dioxus. The RSX
macro needs to be much smarter to identify changing/nonchanging nodes and
generate a mapping between the Template and its runtime counterparts.
This commit represents a working starter point for this work, adding support
for templates for the web, desktop, liveview, ssr, and native-core renderers.
In the future we will try to shrink code generation, generally improve
performance, and simplify our implementation.
2022-09-30 12:03:06 -07:00
Marc Espín
964a942243
Feat: Make AttributeValue::Any usable ( #565 )
...
* Implemented Display for AttributeValue::Any
* Make ArbitraryAttributeValue public
* allow(missing_docs) for ArbitraryAttributeValue
* Formatted lib.rs
2022-09-30 10:48:25 -07:00
Jon Kelley
28fba42e7e
feat: add an unhygenic render macro ( #556 )
...
* feat: add an unhygenic render macro
* chore: use render instead of rsx!(cx,
2022-09-25 01:05:16 -07:00
Jon Kelley
67dc6e6017
feat: implement type magic to allow strings, format args, and other types directly in rsx ( #550 )
...
* feat: implement type magic
* chore: undo example
* fix: let tests pass
* chore: add generic to allow any nesting of iterators
* Chore: remove comments
* chore: update rsx usage
* chore: use cleaner version of generic IntoVnode
* chore: don't derive default for lfietimed thing
* chore: remove latent comment
* fix: accept a third parameter
2022-09-12 22:49:04 -07:00
Marc Espín
8427a3f657
Support Bytes in AttributeValue ( #543 )
2022-09-07 09:20:35 -05:00
Reinis Mazeiks
d734dc5b46
Remove argument from use_hook
closure ( #496 )
...
Also; update docs for said function
2022-07-11 15:50:56 -04:00
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
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
a6e8852ced
polish: make clippy happy on use_hook
2022-06-30 15:41:45 -04:00
Evan Almloff
bf548d4a0e
set id before creating listener
2022-06-29 09:48:16 -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
Evan Almloff
9e7e5b0859
Merge remote-tracking branch 'upstream/master' into jk/rsx-refactor
2022-06-16 09:17:36 -05:00
Yin Jifeng
3cbf8ed6fa
fix: remove task id from scope when success
2022-06-13 18:43:36 +08:00
Yin Jifeng
814235f145
docs: update func names
2022-06-13 18:43:36 +08:00
Yin Jifeng
7576426c93
core: cleanup tasks polling fn
2022-06-13 18:43:36 +08:00
Evan Almloff
71d31556e5
Merge https://github.com/DioxusLabs/dioxus into jk/rsx-refactor
2022-06-10 18:16:05 -05:00
Evan Almloff
fe5c698c09
add DirtyAll to SchedulerMsg
2022-06-09 10:01:09 -05:00
王一旋
2433b9d305
docs: examples of mistakes
...
docs: add hard_diff example missing parameter
2022-06-02 10:29:41 +08:00
Evan Almloff
4b1ea5879d
Merge https://github.com/DioxusLabs/dioxus into jk/rsx-refactor
2022-05-27 18:26:31 -05:00
Evan Almloff
f9713b2fe9
Merge remote-tracking branch 'origin/master' into jk/rsx-refactor
2022-05-27 17:56:50 -05:00
Evan Almloff
871f51f91b
It compiles
2022-05-25 14:08:59 -05:00
Evan Almloff
ca10d89670
add RsxTextIndex
2022-05-25 11:20:07 -05:00
Evan Almloff
c7c84da8ab
WIP hot reload
2022-05-25 08:58:59 -05:00
Evan Almloff
43d750c329
fix clippy
2022-05-22 21:21:28 -05:00
Evan Almloff
db1866090a
fix broken doc links
2022-05-22 20:44:32 -05:00
Reinis Mazeiks
85aa4584ff
Fix: expose AttributeValue; update tests to pass
2022-05-07 13:43:40 +03:00
Reinis Mazeiks
2eca71e644
Fix: serialize AttributeValue as a simple value
2022-05-07 12:17:47 +03:00
Jonathan Kelley
03110b85cd
fix: cargo fmt
2022-05-06 20:46:33 -04:00
Jonathan Kelley
bded314251
wip: remove color
2022-05-05 16:50:36 -04:00
Jonathan Kelley
356f37e9ee
feat: arbitrary attributes
2022-05-05 16:50:33 -04:00
Jonathan Kelley
3febd42588
Release dioxus-core v0.2.1, dioxus-core-macro v0.2.1, dioxus-html v0.2.1, dioxus-interpreter-js v0.2.1, dioxus-desktop v0.2.3, dioxus-hooks v0.2.1, dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4
2022-05-02 23:57:20 -04:00
Demonthos
f4689a4e27
Merge branch 'DioxusLabs:master' into lazy_tui
2022-04-17 08:48:39 -05:00
Dave Rolsky
69752313eb
Fix typo in docs for NodeFactory.bump
2022-04-11 10:33:06 -05:00
Demonthos
479c12725f
Merge branch 'DioxusLabs:master' into lazy_tui
2022-04-04 12:10:18 -05:00
Jonathan Kelley
93405c2a40
Fix: diffing should poproots too
2022-04-04 12:18:51 -04:00
Jon Kelley
09d193d999
Merge pull request #331 from Demonthos/diff-fix
...
fix: diff_lazynodes bug adding children
2022-04-04 12:15:31 -04:00
Evan Almloff
7f4e257757
bugfixes, testing and refactoring
2022-03-26 20:32:49 -05:00
Evan Almloff
26d92b6e51
rebase master
2022-03-26 20:27:10 -05:00
Evan Almloff
43b5a230f0
PushRoot before adding children
2022-03-26 13:35:23 -05:00
Evan Almloff
aec5cd9dfa
fix lazynode diff bug adding children
2022-03-26 12:53:24 -05:00
Joshua Kifer
1b736f1001
Remove release_max_level features from several Cargo.toml log dependencies
2022-03-15 17:59:30 -06:00
Jonathan Kelley
e7505188d6
release: make a new 0.2.0 release of Dioxus
2022-03-09 14:24:05 -05:00
Jonathan Kelley
c466425b82
fix: remove logging
2022-03-04 13:17:03 -05:00
Jonathan Kelley
c19995fed9
fix: debug multistage edits in desktop
2022-03-04 13:17:01 -05:00
Jonathan Kelley
f2979cb12a
feat: apply local router changes
2022-03-04 13:16:37 -05:00
Jonathan Kelley
e5b034c6a4
fix: don't propogate empty edits
2022-03-04 13:13:50 -05:00
Jonathan Kelley
0e09dda1be
chore: add additional debugging to VNode fields
2022-03-04 13:13:29 -05:00
Jonathan Kelley
e04a6d63a5
chore: move tests out of core and into the top level crate
...
This commit moves the tests out of core so rust analyzer
is happier with the workspace.
2022-03-02 22:48:22 -05:00
Jonathan Kelley
0883ff76e6
chore: convert debug to trace
2022-03-02 17:56:26 -05:00
Jonathan Kelley
e51b47d1fb
chore: move macros around
2022-03-02 17:56:12 -05:00
Jonathan Kelley
b4c5b96980
chore: switch log to eprintln
2022-03-02 17:54:11 -05:00
Jonathan Kelley
42979d922b
Merge pull request #208 from DioxusLabs/jk/use-future-leak
...
feat: auto cancel tasks when scopes are dropped
2022-02-27 23:39:06 -05:00
Jonathan Kelley
e416e31bc7
feat: new spawn_forever for tasks that never die
2022-02-27 17:22:21 -05:00
Jonathan Kelley
70177ed49d
feat: tasks are dropped when components are unmounted
2022-02-27 17:03:43 -05:00
Jonathan Kelley
a46bd8d6d7
Merge branch 'master' into jk/use-future-leak
2022-02-27 16:42:07 -05:00
Jonathan Kelley
c2c6d73916
fix: tests should reflect removes
2022-02-27 14:59:36 -05:00
Jonathan Kelley
35a3eaabdf
fix: actually remove nodes in keyed_diff_middle
2022-02-27 14:49:47 -05:00
Jonathan Kelley
f77f8c8500
fmt
2022-02-26 17:38:05 -05:00
Jonathan Kelley
56517ef5de
fix: merge conflicts
2022-02-26 17:35:23 -05:00
Jonathan Kelley
77631bff1f
Merge branch 'master' into jk/documet-everything
2022-02-26 17:33:06 -05:00
Jonathan Kelley
d8718efed6
Merge pull request #275 from BarryYan/master
...
fix: add ns param for removeAttribute
2022-02-25 11:50:21 -05:00
Jonathan Kelley
3e474382c6
fix: clippy new lint
2022-02-25 00:35:25 -05:00
Shuanghui Yan
aa2d6b8d11
fix: format styles
2022-02-24 18:13:00 +08:00
Shuanghui Yan
2a6e6371e7
Merge remote-tracking branch 'upstream/master'
2022-02-24 18:08:21 +08:00
Ilya Maximov
144e0bd91f
feat: add send + sync for safety
2022-02-23 20:01:09 +01:00
Ilya Maximov
4ab54274ac
style: reformat...
2022-02-23 19:48:14 +01:00
Ilya Maximov
ff3d772756
feat: add a method to access the scheduler
2022-02-23 19:47:38 +01:00
Ilya Maximov
bda4a71a72
feat: change schedule_update's Rc to an Arc
...
BREAKING CHANGE
2022-02-23 19:47:17 +01:00
Jonathan Kelley
92573d67a1
fix: keyed diffing accidentally pushing every node
2022-02-23 08:09:16 -05:00
Shuanghui Yan
4eeb3da8c9
fix: add ns param for removeAttribute
2022-02-22 23:14:11 +08:00
Jonathan Kelley
62df5f7097
docs: document the entire core crate
2022-02-20 17:37:46 -05:00
Dave Rolsky
06ea624eec
Make all packages which require futures-channel ask for the same version
...
If they aren't the same then Cargo cannot resolve a working version for some
reason.
2022-02-15 10:27:11 -06:00
Jonathan Kelley
4a3680ee1b
chore: remove all warnings
2022-02-10 21:00:15 -05:00
Jonathan Kelley
ce17574aa0
wip: add tracking for tasks
2022-02-04 18:05:55 -05:00
Jonathan Kelley
1913ccd61f
chore: current_scope always panics
2022-02-03 00:35:10 -05:00
Jonathan Kelley
f7b3228ab2
fix: enable resume node for text and placeholder
2022-02-02 20:04:55 -05:00
Jonathan Kelley
bc43069884
fix: allow scopes and nodes to be missing
2022-02-02 19:04:37 -05:00
Jonathan Kelley
b2b2dae7e6
fix: diffing allows component reuse
2022-02-02 11:33:02 -05:00
Jonathan Kelley
94c1da8264
chore: clean up documentation in diffing algorithm
2022-02-01 15:00:36 -05:00
Jonathan Kelley
c4e6496d9d
chore: enable a pedantic clippy on the diffing algorithm
2022-01-31 12:49:21 -05:00
Jonathan Kelley
06418f73db
fix: element stack not being updated properly
2022-01-31 12:29:11 -05:00
Jonathan Kelley
923fb0701d
fix: clippy
2022-01-31 03:34:52 -05:00
Jonathan Kelley
b4697fc9f9
chore: clean up some more of the scopes file
2022-01-31 03:27:43 -05:00
Jonathan Kelley
268b1b0c66
Merge branch 'master' into jk/debugging-diff
2022-01-31 03:23:35 -05:00
Jonathan Kelley
120ee18368
chore: improve debugability of fcptrs and vcomponents
...
this commit changes the fc slot type from a thin pointer to a c pointer.
this lets us provide frame inspection of components using backtrace.
2022-01-31 03:22:34 -05:00
Jonathan Kelley
9dda7b168b
chore: clean up scopes
2022-01-31 03:04:47 -05:00
Jonathan Kelley
a4ea0ba4fe
chore: undo dirty_scopes rename
2022-01-31 02:52:40 -05:00
Jonathan Kelley
0820e18d3d
feat: make component name accessible
2022-01-31 02:49:37 -05:00
Jonathan Kelley
4ae11b5756
fmt: make tests easier to visually parse with fmt rules
2022-01-31 02:46:26 -05:00
Jonathan Kelley
00aa0e5e86
fmt: apply formatting just to tests
2022-01-31 02:44:16 -05:00
Jonathan Kelley
5bffbba682
fmt: apply cargofmt with new rules for lit structs
2022-01-31 02:40:12 -05:00
Jonathan Kelley
11f6b93889
fix: remove nodes is in a happier state
2022-01-31 02:33:16 -05:00
Jonathan Kelley
cbd471fa46
debugging: add some more debug tooling
2022-01-31 01:24:11 -05:00
Jonathan Kelley
1ea42799c0
wip: clean up the core crate after switching to recursive diff engine
2022-01-30 18:34:24 -05:00
Jonathan Kelley
3bb5c8142c
fix: switch to future based diffing
...
this commit removes the old manual fiber implementation in favor of a
traditional recursion based approach. This should make the diffing
algorithm easier to work on and eliminate various stack-based bugs in.
2022-01-30 17:47:58 -05:00
Jonathan Kelley
3edf3e367f
wip: debugging
2022-01-30 14:08:03 -05:00
Jonathan Kelley
f6c6134d67
Release dioxus-core v0.1.9
2022-01-29 10:42:38 -05:00
Jonathan Kelley
578c1dc069
fix: enable default for any eventhandler
2022-01-29 10:42:06 -05:00
Jonathan Kelley
f965030b80
Release dioxus-core v0.1.8
2022-01-29 10:36:10 -05:00
Jonathan Kelley
8056138f86
fix: explicit default for event handler
...
rust derives default of T: Default, even when that's not a necessary requirement
This fixes that
2022-01-29 10:27:40 -05:00
Jonathan Kelley
56f3002aed
feat: add changelogs
2022-01-29 10:17:14 -05:00
Jonathan Kelley
e9792e9b95
tests: add miri stress test
2022-01-28 21:43:01 -05:00
Jonathan Kelley
bad4b773b7
feat: add "spawn" method
2022-01-24 15:21:56 -05:00
Jonathan Kelley
2e4f765932
tweak: drop hooks before resetting bump arena
2022-01-24 12:21:24 -05:00
Jonathan Kelley
d9a07ddddb
fix: provide_root_context on root scopes
2022-01-24 02:34:16 -05:00
Dave Rolsky
9e4ec43b1e
Fix various typos and grammar nits
...
I also removed all trailing whitespace from lines since I have Emacs
configured to highlight this.
2022-01-21 21:43:43 -06:00
Jonathan Kelley
c8d528b3b1
fix: proprogation of root context
2022-01-21 09:29:41 -05:00
Jonathan Kelley
d2bd175143
feat: allow providing context to the root component
2022-01-21 00:37:52 -05:00
Jonathan Kelley
8d3ac3ff14
Merge pull request #107 from autarch/autarch/half-assed-router
...
A partial implementation of the router and associated bits
2022-01-18 00:01:34 -05:00
Jonathan Kelley
036a0ff49a
docs: add comments for the Handler
2022-01-16 15:13:31 -05:00
Jonathan Kelley
e47ead5347
fix: allow eventhandler to derive default
2022-01-15 20:17:48 -05:00
Dave Rolsky
9b282d877b
Don't expect all components to have a scope in ScopeArena.ensure_drop_safety
...
Not all components will be mounted when using a Router, so we cannot assume
all components have a scope.
2022-01-14 15:40:01 -06:00
Alexandre Kirszenberg
b6903bf558
Enable clippy
2022-01-08 16:35:26 +01:00
Jonathan Kelley
16d73b240f
Release dioxus-core v0.1.7
2022-01-08 02:27:48 -05:00
Jonathan Kelley
40d1f85d0c
Release dioxus-core v0.1.7, dioxus-core-macro v0.1.6, dioxus-html v0.1.4, dioxus-desktop v0.1.5, dioxus-hooks v0.1.6, dioxus-mobile v0.0.3, dioxus-router v0.1.0, dioxus-ssr v0.1.2, dioxus-web v0.0.4, dioxus v0.1.7
2022-01-08 02:25:03 -05:00
Jonathan Kelley
d11f322f55
docs: add title to doc comment
2022-01-07 12:12:33 -05:00
Jonathan Kelley
be9f1a52ad
docs: better document the EventHandler
type
2022-01-07 12:12:13 -05:00
Jonathan Kelley
c439b0ac7e
fix: component pass thru events
2022-01-07 11:51:25 -05:00
Jonathan Kelley
bbb6ee10de
feat: make hydration more robust
2022-01-07 00:33:09 -05:00