ealmloff
39ab39ac56
Merge branch 'DioxusLabs:master' into signals
2023-08-10 16:31:00 -05:00
Jonathan Kelley
2c79b7fd67
Update dioxus-core to 0.4.1
2023-08-09 15:00:57 -07:00
Jonathan Kelley
74211a6b61
Merge pull request #1332 from Demonthos/fix-variance
...
Separate Parent and Child Component Lifetimes
2023-08-09 14:59:31 -07: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
91500f0349
add props safety example
2023-08-09 10:29:19 -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
Ikko Eltociear Ashimine
c6ec2a9a9b
docs: add Japanese README ( #1329 )
...
* Add Japanese README
* Add links
* minor fix
2023-08-09 11:20:19 -05:00
gmorenz
2a32271fa0
Set response headers from response, not request, parts ( #1328 )
2023-08-08 21:04:15 -05:00
Evan Almloff
f7017fac2e
Fix the login form example
2023-08-08 15:45:09 -07: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
14c852010b
restore clock example
2023-08-08 13:31:38 -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
25f02904e9
make clippy happy
2023-08-08 11:39:36 -07:00
Evan Almloff
e43bdd815f
fix test failures
2023-08-08 11:27:29 -07:00
Evan Almloff
e2c08a79ae
fix signal readme example
2023-08-08 11:12:08 -07:00
Yolo
51b62dd33a
fix: readme awesome link ( #1320 )
2023-08-08 12:57:57 -05:00
Evan Almloff
aaded7981f
fix boolean attribute rendering in SSR
2023-08-08 10:56:41 -07:00
Evan Almloff
d1603238c4
Fix events with a text node target
2023-08-08 09:49:04 -07:00
Evan Almloff
292b3367dd
create some more compelling examples
2023-08-07 18:20:03 -07:00
Evan Almloff
0dc602eb32
Merge branch 'master' into signals
2023-08-07 18:02:19 -07:00
Evan Almloff
ed05abc196
document remaining methods in the signal crate
2023-08-07 18:00:17 -07:00
Evan Almloff
0c17bdb737
don't subscribe in tasks or event handlers
2023-08-07 17:55:29 -07:00
Evan Almloff
4447709ac8
add readmes
2023-08-07 17:49:14 -07:00
Evan Almloff
280d094f67
document generational box
2023-08-07 17:32:25 -07:00
Evan Almloff
c32d6dc8cb
Handle oninput for select elements
2023-08-07 17:19:16 -07:00
Evan Almloff
cfd68bf7d9
document signals crate
2023-08-07 16:56:49 -07:00
Evan Almloff
2c7d0700d4
rename memo to selector
2023-08-07 16:17:47 -07:00
Evan Almloff
646c161c7d
create read only signal
2023-08-07 16:04:49 -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
84734c4146
change dioxus signal to generational box
2023-08-07 14:34:16 -07:00
Evan Almloff
190c65b15d
fix memo and add tests
2023-08-07 14:31:03 -07:00
Evan Almloff
7f2049b647
add memo
2023-08-07 12:32:46 -07:00
Evan Almloff
717c09c4a3
create tests for signals
2023-08-07 11:52:54 -07:00
Evan Almloff
b0d499036a
make future handling functions global
2023-08-07 11:16:22 -07:00
Evan Almloff
65102b70c7
return more useful messages when a server function errors
2023-08-07 11:09:51 -07:00
Brian Donovan
a025617db3
refactor(cli): use more semantic Instant::elapsed
( #1307 )
...
Plus, one of these was incorrectly subtracting the end time from the start time.
2023-08-07 11:08:51 -05:00
Jonathan Kelley
56c3dcc437
Merge pull request #1301 from eventualbuddha/chore/cli/remove-unused-fn
...
chore(cli): remove unused function
2023-08-06 23:09:28 -07:00
Dylan Blokhuis
24df4e15d9
spelling ( #1308 )
2023-08-06 11:42:36 -05:00
Jonathan Kelley
ac30a9af7d
Merge pull request #1305 from eventualbuddha/fix/cli/prevent-zip-slip
2023-08-05 00:54:01 -07:00
Brian Donovan
03e02591ec
fix(cli): allows extracting files without separate directory entries
...
Some zip files do not list directories separately from files. For example, a zip might contain `dir/file.txt` without a corresponding entry for just `dir/`. This should be okay, so we just create the leading paths for the files we extract as necessary.
Also adds tests for the expected and dangerous path cases of `extract_zip`.
2023-08-04 21:28:09 -07:00
Brian Donovan
14e7c50478
fix(cli): prevent "zip slip" vulnerability in tool extract
...
Using the name directly from a zip archive's entry and writing to it is a potential security vulnerability. More information about the vulnerability can be found here: https://security.snyk.io/research/zip-slip-vulnerability and here https://docs.rs/zip/latest/zip/read/struct.ZipFile.html#warnings .
It looks like the previous version maybe tried to remove `\` characters to prevent this, but only in directory paths?
2023-08-04 20:02:07 -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
49001c59d3
add logging to clock example
2023-08-04 17:29:44 -07:00