Jonathan Kelley
8b5ad5d925
Fix some CI (windows + nasm, core-macro error) ( #2676 )
...
* Moves index.html creation until after wasm creation so the webserver doesn't prematurely serve the page
* sets up nasm for windows builds (to be superseded by Remove Dioxus CLI NASM dependency #2666 #2682 )
* puts magnanis-cli-support in a blocking task to prevent threadlocking during sequential builds
* changes order of client/server builds such that the client is built before the server so the webserver doesn't prematurely serve invalid client code
* declobbers "serve" such that each project gets a different dir in the target folder
* uses nest_service instead of fallback so the router doesn't respond with fallback codes
* reincorporates doge's fix from Fix hot-reloading on Windows #2544
2024-07-23 09:58:13 -07:00
88af3e7eff
Hotreloading of for/if/body, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI ( #2258 )
...
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com >
2024-07-17 19:11:18 -07:00
Jonathan Kelley
2e8af5fc62
fix clippy on zoom example
2024-07-10 12:50:57 -07:00
Jonathan Kelley
2c20d3dc5e
Remove deprecated macros: inline_props, format_args_f!, render! ( #2574 )
...
* remove deprecated macros
* Rename derive_typed_builder
2024-07-02 21:46:11 -07:00
Jonathan Kelley
90c46afd12
fix fmt tests
2024-07-02 17:22:53 -07:00
Jonathan Kelley
b30810e486
cut out a number of changes from the hr PR ( #2580 )
2024-07-02 17:09:57 -07:00
Jonathan Kelley
30f6986283
Fix clippy
2024-07-02 12:39:32 -07:00
Jonathan Kelley
1404d26455
Switch to using refs instead of owned for autofmt write block out ( #2573 )
2024-07-02 12:27:11 -07:00
Jonathan Kelley
d4831edcf7
edit settings.json to disable format on save for the repo ( #2572 )
2024-07-02 12:18:25 -07:00
Jonathan Kelley
47ab4c8db9
Chore: move todo!() to unimplemented!() ( #2558 )
2024-06-27 16:27:27 -05:00
Jonathan Kelley
a0e06271dd
Fix: flaky CI by correcting autofmt to match proper spacing ( #2369 )
2024-04-26 12:04:56 -04:00
Jonathan Kelley
790b984e61
bump extension version
2024-04-24 22:41:31 -04:00
Jonathan Kelley
994056e16d
Don't eat keys ( #2280 )
2024-04-08 22:31:58 -07:00
Jonathan Kelley
67af2d89dd
Autofmt nested rsx using syn::Visitor ( #2279 )
...
* Nested macros using visitor pattern
2024-04-08 22:15:52 -07:00
Jonathan Kelley
0b7c7701a3
fmt
2024-04-08 19:24:49 -07:00
Jonathan Kelley
7eccc7a104
Release 0.5.2
...
dioxus-cli@0.5.2
dioxus-fullstack@0.5.2
Generated by cargo-workspaces
2024-04-04 18:32:14 -07:00
Jonathan Kelley
9c5e5f969f
Release 0.5.1
...
dioxus@0.5.1
dioxus-autofmt@0.5.1
dioxus-check@0.5.1
dioxus-cli@0.5.1
dioxus-core@0.5.1
dioxus-core-macro@0.5.1
dioxus-desktop@0.5.1
dioxus-fullstack@0.5.1
dioxus-hooks@0.5.1
dioxus-html@0.5.1
dioxus-interpreter-js@0.5.1
dioxus-lib@0.5.1
dioxus-liveview@0.5.1
dioxus-mobile@0.5.1
dioxus-router-macro@0.5.1
dioxus-rsx@0.5.1
dioxus-signals@0.5.1
dioxus-ssr@0.5.1
dioxus-web@0.5.1
dioxus_server_macro@0.5.1
generational-box@0.5.1
rsx-rosetta@0.5.1
Generated by cargo-workspaces
2024-04-04 17:05:21 -07:00
Jonathan Kelley
702509cb7e
Fix recycling on component callbacks ( #2247 )
2024-04-04 16:48:06 -07: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 and Evan Almloff
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
Jonathan Kelley and Evan Almloff
44fe2defc2
Fix: memory leak on listeners for elements ( #2244 )
...
* Fix: memory leak on listeners for elements
* Recycle in manuallydrop
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
2024-04-04 14:25:17 -07:00
Jonathan Kelley
6f3c5518ca
Feat: provide root context as method on virtualdom ( #2243 )
2024-04-04 12:00:06 -07:00
Jonathan Kelley
821a650f77
Fix: requeue events, process events ( #2236 )
...
* Fix: requeue events, process events
* Fix test: wait_for_work shouldn't wait 3 times when one update happens while rendering
2024-04-04 11:46:31 -07:00
Jonathan Kelley
be99e29e5f
Fixes to autofmt, make it more aggressive ( #2230 )
...
* fix: fmt unterminated if, be more aggressive with line splits
* Fix: Handle long exprs in for/if statements
2024-04-03 15:27:36 -07:00
Jonathan Kelley
aca38e6a34
Fix typo is style tag removal ( #2220 )
2024-04-01 16:01:44 -05:00
Jonathan Kelley
2461790baf
bump cli to 0.5.4
2024-03-28 21:11:54 -07:00
Jonathan Kelley
e3ce9e235a
Fix binstal extra v
2024-03-27 19:39:16 -07:00
Jonathan Kelley
ac1aea4783
Binstalls not working, need archive suffix
2024-03-27 19:35:38 -07:00
Jonathan Kelley
1f6c7cfbd0
fix binstall
2024-03-27 18:55:29 -07:00
Jonathan Kelley
f6c3b2745e
Release v0.5.0
2024-03-27 18:25:52 -07:00
Jonathan Kelley
c483abe091
dont version extension
2024-03-27 18:14:33 -07:00
Jonathan Kelley
329c323b35
Doc fixes, running examples instructions, change menubar behavior for desktop
2024-03-27 17:57:05 -07:00
Jonathan Kelley
537f064001
Remove some old docs, cleanup some readmes
2024-03-27 17:28:30 -07:00
Jonathan Kelley
a1c03a461d
Basic docs cleanups
2024-03-27 17:06:10 -07:00
Jonathan Kelley
41c3967052
use docfix interprocess
2024-03-27 16:57:24 -07:00
Jonathan Kelley
b499ebe5bd
Fix release url on cli
2024-03-27 09:52:35 -07:00
Jonathan Kelley
08944223be
fix binstall
2024-03-27 00:37:58 -07:00
Jonathan Kelley
3f127f5fcb
fix vendored flag
2024-03-26 22:40:24 -07:00
Jonathan Kelley
fd64d1a419
use vendored ssl on mac
2024-03-26 22:26:54 -07:00
Jonathan Kelley
0826367e4f
Ssl error?
2024-03-26 22:22:25 -07:00
Jonathan Kelley
420a9290ff
fix tag
2024-03-26 22:10:51 -07:00
Jonathan Kelley
877be9092f
fix typo
2024-03-26 22:03:30 -07:00
Jonathan Kelley
b27a90841c
Fix strategy!
2024-03-26 21:55:33 -07:00
Jonathan Kelley
a2377e7bf6
Fix strategy?
2024-03-26 21:54:19 -07:00
Jonathan Kelley
7290344a8e
Fix publish
2024-03-26 21:51:50 -07:00
Jonathan Kelley
49f6b97dd9
Fix cli yml
2024-03-26 21:49:34 -07:00
Jonathan Kelley
98774709b8
Fix release CLI
2024-03-26 21:43:14 -07:00
Jonathan Kelley
30bc7ae63f
Bump extension and relase it
2024-03-26 21:01:46 -07:00
Jonathan Kelley
85c3cf1f9b
Make my editor happier with the cargo
2024-03-26 20:26:45 -07:00
Jonathan Kelley
d988ccc369
Cargo.lock
2024-03-26 19:22:57 -07:00
Jonathan Kelley
b9d60276b7
Readme header link
2024-03-26 19:01:24 -07:00
Jonathan Kelley
75b1893f72
Fix some readme links, add freya to readme ( #2148 )
...
* Add links, update table
* Fix link, add freya
2024-03-26 18:59:36 -07:00
Jonathan Kelley
9888d365dd
New readme for 0.5! ( #2141 )
...
* feature: add new top-level readme.md, highlighting features and a new vs section
2024-03-26 17:32:42 -07:00
Jonathan Kelley
eb79e61642
Add a ton of comments to rsx/hotreload, add snapshot testing, refactor a bit to simplify the crate ( #2130 )
...
Merge dynamic context and dynamic mapping, clean up the rsx hotreload logic, and add location data to the Rsx objects
2024-03-24 13:31:26 -07:00
Jonathan Kelley
6c9f991f0b
hotfix: finding hotreload path fails when not running under cargo
2024-03-20 09:54:57 -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
44e997f7df
Fix eventhandler optional ( #2119 )
2024-03-20 09:04:37 -07:00
Jonathan Kelley
4bb807a3ce
Reduce churn in window behavior
2024-03-18 22:38:33 -07:00
Jonathan Kelley
10d361a44e
Fix proxy ( #2108 )
2024-03-18 22:21:07 -07:00
Jonathan Kelley
d8942a255b
Fix #2104 : fmt incorrectly using 1-indexing for columns ( #2106 )
...
* Fix #2104 : fmt incorrectly using 1-indexing for columns
* Clippy...
2024-03-18 18:23:45 -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
468d2b6b3b
Merge pull request #2105 from DioxusLabs/jk/props-expand
...
Fix #1938 , allow explicit props
2024-03-18 16:02:23 -07:00
Jonathan Kelley
9c64fc4769
Fix #1938 , allow explicit props
2024-03-18 15:34:46 -07:00
Jonathan Kelley
f266213618
Bump to 0.5.0-alpha.2
2024-03-18 02:02:31 -07:00
Jonathan Kelley
2a803c829f
Merge pull request #2096 from DioxusLabs/jk/hotreloading-fixed-again
...
Fix : #2095 , #1990
2024-03-17 21:55:58 -07:00
Jonathan Kelley
6ab6e56de9
Make clippy happy
2024-03-17 21:39:29 -07:00
Jonathan Kelley
be00847199
Don't squawk when running under cargo
2024-03-17 21:15:57 -07:00
Jonathan Kelley
834d490beb
Fix : #2095 , #1990
...
- Don't merge dynamic attributes together unnecessarily
- Walk the workspace until we find a target dir with the dioxusin handle
2024-03-17 21:14:26 -07:00
Jonathan Kelley
0c822d683c
Merge pull request #2069 from ealmloff/resource-dependancies
...
Manual non-reactive dependancies for use_memo, use_effect, and use_resource
2024-03-17 09:48:26 -07:00
Jonathan Kelley
cba3abccf4
Merge pull request #2087 from DioxusLabs/jk/mobile-fixes
...
Fix mobile issues
2024-03-15 20:13:44 -07:00
Jonathan Kelley
f9f902732b
Fix: update wry, tao, to fix android issues
2024-03-15 20:12:13 -07:00
Jonathan Kelley
ef288d02d7
Merge branch 'main' into jk/mobile-fixes
2024-03-15 12:20:57 -07:00
Jonathan Kelley
fe2c17f792
Make Clippy happy
2024-03-15 12:20:16 -07:00
Jonathan Kelley
0a5f267a9a
Merge pull request #2081 from ealmloff/unwind-into-error-boundary
...
unwind panics into error boundaries
2024-03-15 12:16:00 -07:00
Jonathan Kelley
1b8f7023f9
Merge branch 'main' into unwind-into-error-boundary
2024-03-15 12:15:55 -07:00
Jonathan Kelley
25844ae9d3
Fix: make clippy happy, don't set asset dir env
2024-03-15 00:07:33 -07:00
Jonathan Kelley
e3e0bbeda5
Merge branch 'main' into jk/mobile-fixes
2024-03-14 23:13:54 -07:00
Jonathan Kelley
fe5fc1058e
Fix: cargo running desktop shouldn't panic
2024-03-14 23:13:04 -07:00
Jonathan Kelley
7d11984a0e
Chore: bump wry + tao
2024-03-14 23:11:25 -07:00
Jonathan Kelley
01a0917223
Merge pull request #2055 from DioxusLabs/jk/fix-hotreloading-issues
...
Fix hotreloading issues, clean up the CLI a bit
2024-03-14 23:06:12 -07:00
Jonathan Kelley
6cc950eb9d
Fix: on embedded hotreload don't watch target directory
2024-03-14 23:05:31 -07:00
Jonathan Kelley
9474ad54cc
Make clippy happy
2024-03-14 22:40:23 -07:00
Jonathan Kelley
58233c6a3b
Merge branch 'main' into jk/fix-hotreloading-issues
2024-03-14 22:31:22 -07:00
Jonathan Kelley
f79a8c06d4
Merge pull request #2085 from DioxusLabs/dependabot/npm_and_yarn/packages/extension/follow-redirects-1.15.6
...
Bump follow-redirects from 1.15.4 to 1.15.6 in /packages/extension
2024-03-14 22:28:48 -07:00
Jonathan Kelley
d400aeb401
Merge pull request #2086 from DogeDark/mobile-fix
...
Fix: Add dioxus-desktop To Mobile Feature
2024-03-14 22:28:34 -07:00
Jonathan Kelley
cee4795f17
Merge pull request #2082 from ealmloff/bump-sledgehammer
...
Bump sledgehammer bindgen to a stable release
2024-03-14 19:06:51 -07:00
Jonathan Kelley
a9a8619489
Merge pull request #2084 from DioxusLabs/jk/split-out-tui
...
Move TUI renderer into blitz repo
2024-03-14 19:00:17 -07:00
Jonathan Kelley
7cc3264881
Move TUI renderer into blitz repo
2024-03-14 18:54:46 -07:00
Jonathan Kelley
efb21b24ca
Log watched dirs in status console
2024-03-14 09:20:51 -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
c532d3ec1a
Merge branch 'main' into jk/fix-hotreloading-issues
2024-03-13 15:11:41 -07:00
Jonathan Kelley
3d699e7a75
Match on more places for asset reloading
2024-03-13 15:10:44 -07:00
Jonathan Kelley
34956cdb31
Merge pull request #2071 from ealmloff/depreciated-write-silent
...
Restore write_silent as a deprecated function with updated recommendations
2024-03-13 15:05:11 -07:00
Jonathan Kelley
8d8e7edb82
Clean up reloader
2024-03-13 14:36:56 -07:00
Jonathan Kelley
1bdc9d132e
Load tracked assets
2024-03-13 14:35:28 -07:00
Jonathan Kelley
e4f65b7260
Tests: add tests for hotreload and recurse into children
2024-03-13 14:15:34 -07:00
Jonathan Kelley
979df05546
Merge pull request #2073 from ealmloff/fix-liveview-launch-builder
...
Fix the liveview launch function
2024-03-13 14:10:22 -07:00
Jonathan Kelley
982b96074a
Add basic hotreload test samples
2024-03-13 13:07:15 -07:00
Jonathan Kelley
bca5335f31
fix: hotreloading files with multiple templates, asset hotreloading
2024-03-13 02:13:37 -07:00
Jonathan Kelley
05476cad76
Merge branch 'main' into jk/fix-hotreloading-issues
2024-03-12 14:38:36 -07:00