Commit graph

3741 commits

Author SHA1 Message Date
Evan Almloff
9a232328d0 fix some errors not being reported 2023-06-21 17:27:01 -07:00
Evan Almloff
16ab96aa0a Automatically insert scripts if they are not found 2023-06-21 16:07:21 -07:00
Evan Almloff
b242afc17b clean up some wording in the documentation 2023-06-21 15:42:48 -07:00
Evan Almloff
e244159661 add missing items to Dioxus.toml documentation 2023-06-21 14:58:03 -07:00
DianQK
535435a4cf
Fix the issue of duplicate unique ID for atoms using newtype.
The MergeFunctionsPass in LLVM merges identical functions (https://rust.godbolt.org/z/3nnr9nMne), resulting in the same function addresses.
2023-06-21 21:50:10 +08:00
DianQK
9731640434
Revert "fix: use typeid of atoms for their unique ID (#558)"
This reverts commit bf9901a6cd.
2023-06-21 20:07:49 +08:00
Jon Kelley
11c9abcf7c
Merge pull request #1108 from marc2332/patch-7
feat: Simplify `use_shared_state` doc example
2023-06-20 13:41:50 -04:00
Marc Espín
a3654fd0b8
Update use_shared_state.rs 2023-06-20 19:13:34 +02:00
Jonathan Kelley
d93d11262d bump interpreter version 2023-06-20 11:57:24 -04:00
Jon Kelley
bdf66032ca
Merge pull request #1106 from Demonthos/make-registering-server-fn-optional
Make registering server functions optional
2023-06-20 07:50:14 -04:00
Evan Almloff
da44b7a3f2 fix salvo server function handler example 2023-06-19 16:11:59 -05:00
Evan Almloff
158852e5a0 make regestering server functions optional 2023-06-19 16:08:46 -05:00
Evan Almloff
c39f55920c fix CI tests 2023-06-19 14:57:58 -05:00
Evan Almloff
5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
Dirk Stolle
8a16eb4cb3
replace unmaintained actions-rs/* actions in CI workflows (#1099)
Basically all of the `actions-rs/*` actions are unmaintained. See
<https://github.com/actions-rs/toolchain/issues/216> for more
information. Due to their age they generate several warnings in
CI runs.

To get rid of those warnings the occurrences of
`actions-rs/toolchain` are replaced by `dtolnay/rust-toolchain`,
and the occurrences of `actions-rs/cargo` are replaced by direct
invocations of `cargo`.
2023-06-19 12:43:33 -05:00
Evan Almloff
4f672ff4bb fix boolean attributes with raw boolean values 2023-06-19 10:19:35 -05:00
James Fletcher
6e5fbcff63
Increase the number of tokio channels for the query engine from 8 to 1000. (#1095) 2023-06-19 09:26:02 -05:00
Jon Earnshaw
d596967b40
Fix typos on Event Handlers page (#1102)
* Fix typo on Event Handlers page

* Fix 2nd typo on Event Handlers page
2023-06-19 08:49:43 -05:00
Tim
96802c27ef
fixed typo in README (#1098) 2023-06-19 08:46:52 -05:00
Nick Mosher
b48cfe5730
fix: Remove dbg that was causing TUI rendering problems (#1085) 2023-06-19 08:29:29 -05:00
Evan Almloff
04f066ddb7 fix clippy 2023-06-19 08:22:50 -05:00
ealmloff
cf9ed74303
Merge branch 'master' into fix-onload-event 2023-06-19 08:16:40 -05:00
ealmloff
d9a1b702df
Merge branch 'DioxusLabs:master' into expand-fuzzing 2023-06-19 07:55:49 -05:00
erithax
ae80702ed9 fix chosing launch target
it used to match in order:
* first binary alphabetically
* library
now matches in order:
1. default-run binary
2. binary with name of crate or located at src/main.rs
3. first binary alphabetically
4. library
2023-06-16 17:58:38 +02:00
YuKun Liu
5f35fa6e16
Merge pull request #149 from xpe/patch-1
Fix typo: "NetWork" -> "Network"
2023-06-14 00:13:51 +08:00
David James
741098e893
Fix typo: "NetWork" -> "Network"
"W" -> "w". In ASCII, that is +32 :)
2023-06-10 22:45:44 -04:00
Marc Espín
1546fce485
fix: Properly drop UseFuture's values to avoid leaking memory 2023-06-10 18:26:02 +02:00
Jonathan Kelley
f63220019d bump liveview version 2023-06-08 15:08:40 +00: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
Jon Kelley
5b0b23f96b
Merge pull request #1062 from Demonthos/fix-raw-strings-autofmt
Fix autoformatting raw strings
2023-06-08 14:51:13 +00:00
Evan Almloff
8acac270a6 fix playwright spelling 2023-06-07 17:42:49 +03:00
Evan Almloff
f2da7a21dd increase timeout 2023-06-05 14:23:40 -05:00
Evan Almloff
4a842e796f install playwrite test in CI 2023-06-05 14:08:16 -05:00
Evan Almloff
741ff97882 create end to end tests using playwright 2023-06-05 13:48:58 -05:00
Miles Murgaw
0fec47db72
Fix liveview interpreter JS (#1073)
* fix: liveview interpreter js

* fix: rustfmt
2023-06-04 21:34:43 -05:00
Miles Murgaw
9d7aeb398b fix: vscode extension autofmt 2023-06-04 21:40:52 -04:00
Miles Murgaw
510c242883
fix: move bool_attrs to common.js (#1072) 2023-06-04 14:15:46 -05:00
Miles Murgaw
8cf6f60e93 fix: change error println to eprintln 2023-06-04 12:49:22 -04:00
Miles Murgaw
e8d011b476 revision: fmt 2023-06-04 12:48:28 -04:00
Miles Murgaw
c398372785 fix: formatting a single file with --file 2023-06-04 12:44:43 -04:00
Miles Murgaw
d09c92beda
Add initial_value attribute & fix static special attribute handling (#1063)
* feat & fix: initial_value attribute, special attribute handling

* revision: rename js file

* fix: rustfmt

* fix: clippy

* fix: desktop not finding common.js

* fix: desktop failing to render

Missed a single ``this.SetAttributeInner`` as it was now ``setAttributeInner``
Javascript didn't even throw any errors about this smh

* revision: no need for match statement
2023-06-04 11:29:34 -05:00
Tilman
0f684f0567
Fix typo (#1071) 2023-06-04 08:39:21 -05:00
trevyn
6306e3ca5f Fix spelling: "inhert" -> "inherit" 2023-06-04 14:39:19 +04:00
Jon Kelley
b264211cc2
Merge pull request #1066 from Demonthos/update-all-ids
Update All Element Ids
2023-06-03 11:11:03 +02: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
d9e0b9a918 fix autoformatting raw strings 2023-06-02 12:03:56 -05:00
Evan Almloff
60abafb381 fix macos hot reloading on forced exit 2023-06-02 10:30:40 -05:00
Timo Kösters
808da6e07f
fix: disable base_path changes for serve 2023-06-02 07:35:03 +02:00