Commit Graph
893 Commits
Author SHA1 Message Date
Evan Almloff c8fca7b321 fix clippy 2023-09-12 09:28:08 -05:00
Evan Almloff 3eee13c7eb Merge branch 'master' into fix-event-bubbling 2023-09-11 16:40:23 -05: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 589483d892 remove logs 2023-09-11 16:18:55 -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 992ac4a3fb clear borrowed props after ensure_drop_safety 2023-09-06 16:12:01 -05:00
Evan Almloff 02456c1068 fix double drop of bubble id 2023-09-05 21:21:54 -05:00
ealmloff 6662892c10 find attributes and components to drop in lazy nodes (#1376) 2023-09-05 13:43:42 -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 036e1ff0f5 remove node refs before dropping nodes 2023-08-31 15:38:31 -05:00
Evan Almloff c5ebdc9635 fix parents in placeholder diffing 2023-08-31 14:17:26 -05:00
Evan Almloff b0733958f2 Merge branch 'master' into fix-event-bubbling 2023-08-29 13:00:01 -05:00
Jani MustonenandJani Mustonen 31f8bab20d Add ScopeId::ROOT (#1398)
* add ScopeId::ROOT

* replace ScopeId(0) with ScopeId::ROOT

---------

Co-authored-by: Jani Mustonen <jani.mustonen@taitounited.fi>
2023-08-25 08:31:23 -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
ealmloff b2f9430689 Merge branch 'DioxusLabs:master' into fix-borrowed-props 2023-08-19 13:35:24 -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 943c76b1da Fix memory leak in core 2023-08-15 12:19:05 -05:00
Evan Almloff 2d5a4f82bf Fix the context API in lists 2023-08-13 08:47:27 -05:00
Evan Almloff d559fdaeab fix borrowed props with temp values 2023-08-12 19:19:46 -05:00
ealmloff 39ab39ac56 Merge branch 'DioxusLabs:master' into signals 2023-08-10 16:31:00 -05:00
Evan Almloff 80ac1a99af fix miri 2023-08-09 14:20:46 -07:00
Evan Almloff f91eeccca7 add compile test for unsound case 2023-08-09 10:49:47 -07:00
Evan Almloff b4983706ac fix variance on components 2023-08-09 10:26:59 -07:00
Evan Almloff 24c626b306 fix clippy 2023-08-08 13:43:57 -07:00
Evan Almloff 4ee4cf23d3 restore a few unneeded breaking changes 2023-08-08 13:37:29 -07:00
Evan Almloff 69dab86873 add selector example to readme 2023-08-08 13:27:45 -07:00
Evan Almloff ba7a663eb6 fix some ownership issues 2023-08-08 13:18:15 -07:00
Evan Almloff 292b3367dd create some more compelling examples 2023-08-07 18:20:03 -07:00
Evan Almloff 0c17bdb737 don't subscribe in tasks or event handlers 2023-08-07 17:55:29 -07:00
Evan Almloff 6ca170453b handle virtual dom switching 2023-08-07 14:59:58 -07:00
Evan Almloff ddbe913e79 make signals non-breaking 2023-08-07 14:50:36 -07:00
Evan Almloff b0d499036a make future handling functions global 2023-08-07 11:16:22 -07:00
Evan Almloff dce418140a create a way to hoist ownership to a different scope 2023-08-04 17:50:05 -07:00
Evan Almloff b3fbbba711 fix signals in futures 2023-08-04 17:25:40 -07:00
Evan Almloff a6f611eccf fix subscriptions in events 2023-08-04 17:23:57 -07:00
Evan Almloff 0032f7e2af fix miri 2023-08-04 15:23:09 -07:00
Evan Almloff 0be5dbe715 fix the context API 2023-08-04 14:42:19 -07:00
Evan Almloff 998f9e0d00 remove static bound from props 2023-08-04 14:24:49 -07:00
Evan Almloff a2c7b69a1d set the scope stack correctly 2023-08-04 14:19:59 -07:00
Evan Almloff b09e528aaa fix recursive runtime drop impl 2023-08-04 14:14:56 -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 39e89c1fac Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00