Commit Graph
330 Commits
Author SHA1 Message Date
Jonathan Kelley ea1325f6e8 Merge branch 'master' into polish-throw 2024-01-04 10:27:51 -08:00
ealmloff 56478d1856 Merge branch 'DioxusLabs:master' into fix-event-bubbling 2023-12-16 06:34:00 -06:00
Exotik850 fc31876a57 Wasm target check before build (#1689)
* Add `rustup show` check for wasm32 target

* better place for check

* fmt

* clippy fmt
2023-12-07 12:35:16 -06:00
Evan Almloff 6141aeb037 polish the throw trait 2023-11-07 18:24:07 -06:00
Evan Almloff 98335bd9a6 Merge branch 'master' into fix-event-bubbling 2023-09-17 20:00:22 -05:00
Jonathan Kelley e59a05141e Merge pull request #1446 from ealmloff/deduplicate-hot-reload-cli
Deduplicate serve code with hot reloading in the CLI crate
2023-09-16 11:55:16 -07:00
Evan Almloff 9d044ee589 make clippy happy 2023-09-11 16:30:16 -05:00
Evan Almloff 73e0be9e65 recycle vnode ids 2023-09-11 16:25:32 -05:00
Evan Almloff d81d3ebaef assign parents through fragments 2023-09-11 16:16:16 -05:00
Evan Almloff 35b643e23f switch to bubble ids on vnodes to fix nodes under fragments pointing to an invalid parent 2023-09-11 15:55:58 -05:00
Evan Almloff 49a127b31e deduplicate serve code with hot reloading in the CLI crate 2023-09-09 16:18:52 -05:00
Evan Almloff c55c17cb81 switch to tracing for logging 2023-09-06 17:47:33 -05:00
Evan Almloff 992ac4a3fb clear borrowed props after ensure_drop_safety 2023-09-06 16:12:01 -05:00
Evan Almloff 9552ab6c1c pass event propagation test 2023-09-04 19:10:11 -05:00
Evan Almloff d26aa95bcd update vnode ptr when parent of component reruns 2023-09-04 09:57:26 -05:00
Evan Almloff cfc6887e34 use raw pointers instead of transmute to make miri happy 2023-09-04 09:28:16 -05:00
Evan Almloff cf04256395 try to keep template indexes valid 2023-08-31 16:14:14 -05:00
Evan Almloff c5ebdc9635 fix parents in placeholder diffing 2023-08-31 14:17:26 -05:00
Evan Almloff dc4707ee2a WIP fix event bubbling 2023-08-23 13:01:37 -05:00
Evan Almloff e337aff0a4 WIP split element from element ref 2023-08-23 10:48:10 -05:00
Jonathan Kelley a2df9c2e89 Merge pull request #1364 from Demonthos/fix-core-leak
Fix leak in core because of bump allocated Vec
2023-08-15 13:54:00 -07:00
Evan Almloff b8600d5144 fix tests 2023-08-15 13:11:03 -05:00
Evan Almloff 2d5a4f82bf Fix the context API in lists 2023-08-13 08:47:27 -05:00
Evan Almloff a2c7b69a1d set the scope stack correctly 2023-08-04 14:19:59 -07:00
Evan Almloff cb4c46154d fix scope context 2023-08-04 14:12:59 -07:00
Evan Almloff 04cdb14e5b improve signal copy runtime 2023-08-04 13:53:05 -07:00
Jonathan Kelley 4240f8428c Fix: dont use bumpslab anymore, just box scopestates 2023-07-19 18:40:43 -07:00
Jonathan Kelley 2871c8bb4d Don't use boxed cell slice, use a refcell instead 2023-07-19 12:08:13 -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
Evan Almloff db44721c3d update all element ids 2023-06-02 14:23:16 -05:00
Evan Almloff 297c9a822e always update root id node refs 2023-04-05 12:34:17 -05:00
Evan Almloff 3bb6c4bc30 don't add no op mutations 2023-03-28 13:34:37 -05:00
Evan Almloff 362aadb021 sum nodes pushed instead of counting them 2023-02-09 09:03:35 -06:00
Evan Almloff ae028d82f8 use bump slab 2023-01-22 17:16:34 -06:00
Evan Almloff 8548b324f1 fix dropping nested scopes 2023-01-15 21:23:49 -06:00
Jonathan Kelley 69a347a551 fix: scopes not dropping their hooks 2023-01-15 10:02:24 -08:00
Evan Almloff 1899a10aec fix removing aborted nodes 2023-01-12 15:13:47 -06:00
Evan Almloff 927db9723a handle abort diffing 2023-01-07 19:01:29 -06:00
Evan Almloff 51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds 2023-01-02 14:40:25 -06:00
Evan Almloff 044462876d Merge branch 'upstream' into fix-non-str-attributes 2022-12-28 20:36:57 -06:00
Jonathan Kelley 366e46eddf chore: add some fixes to hot reload 2022-12-25 23:22:43 -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 6b41c9d193 fix: make sure to set scope on none 2022-12-23 23:59:02 -05:00
Evan Almloff afd024bcb6 Merge branch 'upstream' into fix-non-str-attributes 2022-12-23 15:53:39 -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