Commit graph

2389 commits

Author SHA1 Message Date
niedzwiedzw
9154b0f8ea pass the information on previous caller on clone 2023-07-12 16:24:39 +02:00
niedzwiedzw
af091c5bf8 turns out Result combinators are not marked with #[trace_caller], so it must be written without function nesting in order to work 2023-07-12 16:20:19 +02:00
niedzwiedzw
3fa519563e prevent inlining 2023-07-12 12:27:17 +02:00
niedzwiedzw
760d93716f also track previous caller in the in debug mode to show the conflicting borrow 2023-07-12 02:53:48 +02:00
niedzwiedzw
9da32d5465 oh yeah, tracking itself should also be debug-only 2023-07-12 01:53:00 +02:00
niedzwiedzw
b8c14ce35c make location diagnostics optional (only available in debug mode) 2023-07-12 01:38:50 +02:00
niedzwiedzw
43e3304eaf track caller for easier debugging 2023-07-12 01:19:20 +02:00
niedzwiedzw
f159779af4 make thiserror a workspace dependency everywhere else 2023-07-11 22:54:24 +02:00
niedzwiedzw
469a7ac0af better diagnostics for use_shared_state 2023-07-11 21:41:52 +02:00
Jonathan Kelley
37f9f38187
Merge pull request #1170 from DioxusLabs/jk/move-vscode-extension
Extract the vscode extension into its own module with wasm
2023-07-08 20:43:34 -07:00
Jonathan Kelley
e235683242 Bump version and make clippy happy 2023-07-08 19:44:33 -07:00
Jonathan Kelley
c6a5061615 bump version 2023-07-08 19:36:54 -07:00
Jonathan Kelley
d1697642bc Update docs on extension 2023-07-08 19:36:02 -07:00
Jonathan Kelley
f9267fb71f dont add wasm bindgen to cargo 2023-07-08 19:28:47 -07:00
Jonathan Kelley
8d27bb6236 don't add wasmbindgen 2023-07-08 19:28:39 -07:00
Jonathan Kelley
e96fd1ce57 Add a little bit of docs and change activation event 2023-07-08 19:27:25 -07:00
Jonathan Kelley
b5312732ba Get wasm loading in extension 2023-07-08 18:53:43 -07:00
Jonathan Kelley
f59cacb2a0 Get wasm bundling working 2023-07-08 14:24:01 -07:00
Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -05:00
Jonathan Kelley
9fe7dc9b91 clippy 2023-07-07 18:28:07 -07:00
Jonathan Kelley
3f74b10e7c Feat: add dx as a package and move plugin to feature 2023-07-07 18:17:42 -07:00
Jonathan Kelley
1489492ec4 Reuse existing slots in provide context 2023-07-07 12:18:15 -07:00
Jonathan Kelley
3a1b22aec2 Use linear scans on contexts 2023-07-07 12:04:09 -07:00
Jonathan Kelley
47513e8b9e Use boxes instead of bumpslab for hooks 2023-07-06 12:43:04 -07:00
Jon Kelley
911d1b4b2f
Merge pull request #1146 from traxys/master
Add a helper macro for properties & async
2023-07-06 11:34:34 -07:00
Jonathan Kelley
4abf996b86 fix clippy hinting around trait 2023-07-06 10:57:52 -07:00
Jonathan Kelley
d56fabfe9a Merge branch 'master' into feat/window_close_behaviour 2023-07-06 10:50:27 -07:00
traxys
f2c1c05792 Add a helper macro for properties & async
The to_owned macro is helpful to handle hooks with async components, but
when using properties it can be problematic because `cx` will be moved
in the async block, and will result in a compilation error. This adds a
new helper that allows to make either hooks or properties owned.
2023-07-06 15:18:19 +02:00
Jonathan Kelley
e5014cd754 Merge branch 'master' into jk/fix-mobile-touch-interaction 2023-07-05 15:33:50 -07:00
Jonathan Kelley
b5ccb56038 Fix clippy 2023-07-05 15:33:25 -07:00
Jonathan Kelley
60a873a49c leave hotreload 2023-07-05 15:20:54 -07:00
Jonathan Kelley
10a3b228f6 Add some logging and debug 2023-07-05 15:19:26 -07:00
Jonathan Kelley
ea3b199eb2 Android build working too 2023-07-05 14:35:08 -07:00
Jonathan Kelley
5506c568c0 move to newer wry 2023-07-05 13:44:24 -07:00
Jonathan Kelley
2ce8ded74d FIx desktop for android 2023-07-05 12:49:41 -07:00
Jonathan Kelley
2ad85c9b28 Add a custom index.html for the viewport stuff 2023-07-05 12:06:24 -07:00
Miles Murgaw
a5aa7db3da fix: trigger it now? 2023-07-05 12:52:54 -04:00
Benedikt Terhechte
6a705b6a0e add functionality 2023-07-04 14:47:45 +02:00
Benedikt Terhechte
0ec30345d4 add required dependency 2023-07-04 14:47:36 +02:00
Jon Kelley
a75223cd88
Merge pull request #1140 from DioxusLabs/jk/stub-out-ios
Stub out File input and RFD on iOS
2023-07-03 10:16:30 -07:00
Jon Kelley
6a05fce39a
Merge pull request #1142 from torsteingrindvik/trailing-comma-span
Change missing trailing comma span to be more helpful
2023-07-02 14:02:59 -07:00
Marc Espín
cb73343865
fix: Fix stop_propagation example (#1143) 2023-07-02 12:04:49 -05:00
Torstein Grindvik
a3169ac17b Change missing trailing comma span to point to span where comma is missing from
Signed-off-by: Torstein Grindvik <torstein.grindvik@nordicsemi.no>
2023-07-02 15:19:03 +02:00
Jonathan Kelley
3658698064 put webview in rc 2023-06-30 14:39:38 -07:00
Jonathan Kelley
e77a14dbf7 Remove RFD from input crate 2023-06-30 13:59:59 -07:00
Jonathan Kelley
4f22fe3ca8 Stub out files and RFD on ios 2023-06-30 13:59:48 -07:00
Jonathan Kelley
6512c153dd Fix merge errors 2023-06-30 12:48:25 -07:00
Jon Kelley
bfd7562ddb
Merge branch 'master' into feat/native-core-optional-deps 2023-06-30 12:30:39 -07:00
Jon Kelley
a0b89de4ca
Merge pull request #1057 from ndarilek/master
Add richer API for describing global shortcut accelerators.
2023-06-30 12:27:00 -07:00
Jon Kelley
86402d3e23
Merge pull request #1077 from Demonthos/end-to-end-testing
create end to end tests using playwright
2023-06-30 12:23:31 -07:00