Commit graph

2870 commits

Author SHA1 Message Date
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
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
Luca
37eb929d69
Explain features necessary for the pre_cache_static_routes function. (#1401) 2023-08-25 14:00:38 -05:00
Jani 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
Evan Simkowitz
de87ba6548
Update all uncommented commands to remove actions-rs (#1366)
* Update all uncommented commands to remove actions-rs (#1)

* install target in toolchain action

* add linux target explicitly

* try latest

* fix install
2023-08-22 19:48:03 -05:00
Jonathan Kelley
a38860e4f2
Merge pull request #1345 from Demonthos/fix-borrowed-props
Constrain Props lifetime to parent, not child scope lifetime
2023-08-22 11:50:06 -07:00
Bruce Mitchener
d8704a0447
deps: Update keyboard-types to 0.7. (#1378) 2023-08-21 09:28:32 -05:00
ealmloff
b2f9430689
Merge branch 'DioxusLabs:master' into fix-borrowed-props 2023-08-19 13:35:24 -05:00
wooden-worm
f652474a6e
FileEngine: expose native file types on different platforms (#1258)
* Get native file

* Correct visibility
2023-08-17 08:03:56 -05:00
Vinicius Gobbo Antunes de Oliveira
fa39408d58
If mkcert not enabled, require cert_path and key_path to be specified or error. (#1342) 2023-08-17 07:58:56 -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
Jonathan Kelley
fee206ab3f
Merge pull request #1351 from Demonthos/fix-context-in-lists
Fix the context API in lists
2023-08-15 13:39:49 -07:00
Evan Simkowitz
3e24b3d34a
Publish CLI binaries for cargo-binstall (#1358)
* add test release pipeline

* fix

* debug

* oops forgot checkout

* debug

* fix if

* blah

* fix working dir

* fix cargo build path

* add publish step

* add cache

* fix path

* use package instead of working dir

* fix cache path

* fix typo in checksum

* fix upload artifact loop

* add more comments

* add binstall metadata

* test simplified action

* fix target

* remove dispatch

* fix permissions

* remove mac arm config

* update comments

* update comment

* replace unmaintained actions-rs
2023-08-15 13:41:32 -05:00
Daniel Albl
555f4d5834
Add 'with' and 'with_mut' to 'use_shared_state' (#1353) 2023-08-15 13:27:19 -05:00
Evan Almloff
6876d2da1c fix clippy 2023-08-15 13:22:06 -05: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
Steven Pecht
1ab5a03aef
Use to identify cargo build artifact if present (#1344) 2023-08-12 19:25:17 -05:00
Evan Almloff
d559fdaeab fix borrowed props with temp values 2023-08-12 19:19:46 -05:00
Evan Almloff
ee2619abfd Merge remote-tracking branch 'main/signals' into signals 2023-08-10 17:20:27 -07:00
Evan Almloff
18d255decc add serde feature to signals 2023-08-10 17:17:25 -07: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
Dan Lock
92a8669e14
Make launch functions pub (#1288)
* Make launch functions pub

* add docs to web, desktop, and server launch functions

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-08-09 11:26:50 -05:00
gmorenz
2a32271fa0
Set response headers from response, not request, parts (#1328) 2023-08-08 21:04:15 -05:00
Evan Almloff
3f31b9de43 fix tests 2023-08-08 15:13:02 -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
d6089bbd35 add optional dependency variants of selectors and effects 2023-08-08 13:06:33 -07:00
Evan Almloff
e2c08a79ae fix signal readme example 2023-08-08 11:12:08 -07:00
Evan Almloff
292b3367dd create some more compelling examples 2023-08-07 18:20:03 -07:00