Evan Almloff
88f3558419
Fix reclaim element when hot reloading ( #2361 )
...
* Fix reclaim element when hot reloading
* Just disable headless tests on windows
2024-04-25 13:36:43 -04:00
Evan Almloff
72ef58b95e
Create use_muda_event_handler hook ( #2367 )
...
* create use_muda_event_handler hook
* fix use_muda_event_handler re-export
2024-04-25 13:32:34 -04:00
Evan Almloff
5ce91e1bfc
Fix flakey windows tests ( #2332 )
2024-04-17 15:08:38 -07:00
Evan Almloff
40b576894f
fix the assets head path ( #2267 )
2024-04-08 19:23:11 -07:00
Zan Pan
fcbebbbf14
Use tracing::warn!
instead of error!
when assets not being preloaded ( #2251 )
...
* Use `tracing::warn!` instead of `error!` when assets not being preloaded
Currently, it emits a `tracing::error` when assets not being preloaded if the dioxus CLI was not used to build the application. It should be a warning since `cargo` can also build the application successfully.
* add more details to desktop preload warning
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-04-05 08:33:02 -05:00
Jonathan Kelley
0a3291084f
Use a VecDequeue instead of a vec for bytes ( #2246 )
...
* Fix: add both the rAF queue and vecdequeue
* Fix: Take before recycle
2024-04-04 16:29:28 -07:00
Jonathan Kelley
633e2a70a4
Fix memory leak in owner ( #2245 )
...
* Fix: memory leak on listeners for elements
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-04-04 15:32:23 -07:00
Russell Mull
46b0eeb12c
Implement the "Toggle Developer Tools" menu item in desktop ( #2198 )
2024-04-02 10:53:26 -07:00
David McNeil
d16ac4e736
Bump rfd to version 0.14 fixing 2149 ( #2161 )
2024-03-29 18:05:14 -07:00
Evan Almloff
36f67bd5e2
update 0.4 doc links to 0.5
2024-03-27 20:42:07 -05:00
Jonathan Kelley
329c323b35
Doc fixes, running examples instructions, change menubar behavior for desktop
2024-03-27 17:57:05 -07:00
Miles Murgaw
3cbe6ff96e
Fix Outdated README.md ( #2147 )
...
* fix: outdated readme
* Fix missing readme
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-26 19:17:02 -07:00
Evan Almloff
dadbab5d72
make some enums non-exhaustive ( #2140 )
2024-03-26 19:14:48 -07:00
Evan Almloff
460a685fa3
Warn if cli-config is not available at compile time ( #2135 )
...
* warn if a package relies on the CLI config, but it is not built with the CLI
* fix default features
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-26 19:10:26 -07:00
Evan Almloff
e464294c66
fix hot reload on windows ( #2142 )
2024-03-26 00:36:11 -07:00
Evan Almloff
9942c8bfd1
Fix asset bundling in the CLI ( #2145 )
...
* Fix asset bundling in the CLI
* fix clippy
2024-03-26 00:36:03 -07:00
Jonathan Kelley
e923c6462c
Resume window position/size, watch cargo/dioxus tomls, fix css reverting during hotreloading, allow menubar events to be captured from within dioxus ( #2116 )
...
* Fix: css hotreloading being invalidated, watcher not watching cargo/dioxus tomls, add feature to restore window state
* Make clappy hippier
* remove console log
* use simpler css invalidator
* Less flash, remove log on web hotreload
* Fix floating window managed behavior on mac
* clippy...
2024-03-20 09:16:18 -07:00
Jonathan Kelley
4bb807a3ce
Reduce churn in window behavior
2024-03-18 22:38:33 -07:00
Evan Almloff
d442dac168
Add a menu bar option to the desktop config ( #2107 )
...
* add an option to set a custom menu in the desktop config
* Fix rename issue
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-18 22:36:47 -07:00
Jonathan Kelley
2dc6cecf2e
Fix #2043 : use formvalue instead of String for forms ( #2103 )
...
Fix #2043 : use formvalue instead of String for forms
2024-03-18 18:21:08 -07:00
Jonathan Kelley
f9f902732b
Fix: update wry, tao, to fix android issues
2024-03-15 20:12:13 -07:00
Jonathan Kelley
7d11984a0e
Chore: bump wry + tao
2024-03-14 23:11:25 -07:00
Jonathan Kelley
bb8b4dc2fb
FIx:
...
- asset hotreloading for desktop,
- asset dir for dxserve on desktop,
- extend features with platform
2024-03-13 17:15:49 -07:00
Jonathan Kelley
3d699e7a75
Match on more places for asset reloading
2024-03-13 15:10:44 -07:00
Evan Almloff
6b84f284c9
fix manganis assets overlapping between examples
2024-03-11 17:11:52 -05:00
Evan Almloff
f8a8ee3e29
fix clippy
2024-03-08 12:45:23 -06:00
Evan Almloff
98158bdc6f
fix headless tests
2024-03-08 10:54:02 -06:00
Jonathan Kelley
c3df8c55e3
fix windows, enable tokio for examples on wasm
2024-03-06 19:59:47 -08:00
Jonathan Kelley
81f38a0bc5
cfg out globalhotkey
2024-03-06 16:42:45 -08:00
Jonathan Kelley
4b2e426958
clippy, and don't hash invisible files for ts generation
2024-03-05 22:38:38 -08:00
Jonathan Kelley
624e58bd78
native file drop
2024-03-05 14:11:12 -08:00
Jonathan Kelley
78d16536a7
wip: native file handles when dropping 🎉
2024-03-05 13:57:28 -08:00
Jonathan Kelley
403e8e2f49
Clean up file uploads in desktop/liveview, remove minify
2024-03-05 13:00:27 -08:00
Jonathan Kelley
56a365742c
clean up native js more
2024-03-05 12:08:33 -08:00
Jonathan Kelley
22266cc560
Switch to bun, clean up web implementation
2024-03-04 15:23:48 -08:00
Jonathan Kelley
199173a409
fix navigating when files are dropped
2024-03-01 23:37:46 -08:00
Jonathan Kelley
206a48257b
Merge branch 'main' into jk/fix-form-inputs
2024-02-27 12:50:57 -08:00
Jonathan Kelley
0c4c0e70e5
Merge pull request #1986 from ealmloff/bump-sledgehammer-bindgen
...
Bump the sledgehammer bindgen version
2024-02-27 12:33:10 -08:00
Jonathan Kelley
b5447c162f
extend interpreter base class with platform methods
2024-02-27 12:31:11 -08:00
Evan Almloff
acbc1f6a47
fix headless tests on desktop
2024-02-27 12:19:34 -06:00
Evan Almloff
93ee53454f
bump the sledgehammer bindgen version
2024-02-27 10:35:16 -06:00
Jonathan Kelley
53cafefdef
wip: add tests and slightly refactor interpreter code
2024-02-23 17:38:04 -08:00
Jonathan Kelley
48d6a9acbb
Add logging to event checker
2024-02-22 13:55:29 -08:00
Jonathan Kelley
2ead6c6074
give longer window for events
2024-02-22 12:33:58 -08:00
Jonathan Kelley
cbadea022a
Eval should never return an error
...
Only awaiting eval should error.
Eval should always be available, even if using its methods returns errors.
2024-02-14 15:13:15 -08:00
Jonathan Kelley
bdbae8ccb0
Update examples, add css
2024-02-14 12:33:07 -08:00
Jonathan Kelley
25d103c1a5
Merge pull request #1908 from ealmloff/fix-assets
...
Fix manganis support for dioxus desktop
2024-02-07 12:17:12 -08:00
Evan Almloff
cb113cf4b6
Fix external links in dioxus desktop
2024-02-07 11:35:50 -06:00
Evan Almloff
3270f7341a
fix manganis support for dioxus desktop
2024-02-06 11:39:30 -06:00
Jonathan Kelley
2ade193a5b
Fix shortcut by wrapping callback
2024-02-05 18:50:13 -08:00