Commit Graph
100 Commits
Author SHA1 Message Date
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
Jonathan Kelley 930f8bffbc Merge pull request #2068 from ealmloff/dont-quit-early-build-fail
Don't quit serving early if builds fail
2024-03-12 14:38:19 -07:00
Jonathan Kelley ad7a350d2e fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
Jonathan Kelley d180f569cf Merge pull request #2064 from ealmloff/make-resource-copy
Implement copy for Resource
2024-03-12 13:32:31 -07:00
Jonathan Kelley b35f74e9d6 Merge pull request #2029 from ealmloff/isomorphic-spawn
Fix memos in children; introduce isomorphic spawn
2024-03-12 13:32:22 -07:00
Jonathan Kelley 41809f9a1b Merge pull request #2057 from ealmloff/fix-examples-assets
Fix Manganis assets overlapping between examples
2024-03-11 16:33:21 -07:00
Jonathan Kelley 44d09fcd2d Merge pull request #2054 from ealmloff/fix-read-only-signal-visibility
Fix the visibility of the read only signal helper struct
2024-03-11 13:08:31 -07:00
Jonathan Kelley 7303b752ec Merge pull request #2042 from rtretter/main
Fixed VSCode extension
2024-03-11 10:45:35 -07:00
Jonathan Kelley 60235ac06b Merge pull request #2035 from DioxusLabs/jk/clean-core-macro
Chore #2028: radically clean up core-macro
2024-03-09 01:57:48 -08:00
Jonathan Kelley 32595ce161 Fix clippy on box references 2024-03-09 01:54:25 -08:00
Jonathan Kelley 494f7e727d Heavily document component macro 2024-03-09 01:31:40 -08:00
Jonathan Kelley 052fd774cf Chore #2028: radically clean up core-macro 2024-03-09 01:09:20 -08:00
Jonathan Kelley 2d2e9dc56a Merge pull request #2033 from DioxusLabs/jk/kick-sf-on-client
Kick server futures on the client to track reactivity
2024-03-08 18:09:10 -08:00
Jonathan Kelley 47e7f2fd41 Kick server futures on the client 2024-03-08 16:52:03 -08:00
Jonathan Kelley 822fc79531 Merge pull request #2030 from rtretter/main
fixed clippy failing in non-server environment
2024-03-08 15:01:55 -08:00
Jonathan Kelley dd109f20d2 fix #1979: generated Owned impl for the props builder was using the wrong generics. (#2027)
This commit fixes the owned impl to use the original generics rather than the build generics.
2024-03-08 16:49:56 -06:00
Jonathan Kelley 7461a14cb4 fix 2020: return None if the root nodes are empty in rsx (#2026) 2024-03-08 15:57:46 -06:00
Jonathan Kelley ac990a4447 Merge pull request #2023 from ealmloff/hooks-readable
Implement Readable for Hooks
2024-03-08 12:26:39 -08:00
Jonathan Kelley 4a27b16cc5 Merge pull request #2022 from ealmloff/signal-lifetimes
Restore signal lifetimes; rename take to manually drop
2024-03-08 12:25:42 -08:00
Jonathan Kelley 295c29db5d Merge pull request #2005 from ealmloff/fix-suspense
Only poll suspended futures, lazy memos
2024-03-07 23:43:52 -08:00
Jonathan Kelley db83ed775b Merge pull request #2017 from DioxusLabs/jk/reject-invalid-keys
Fix: pushroot should actually push the right root on native mutations
2024-03-07 18:06:44 -08:00
Jonathan Kelley b05ea0b202 FIx: pushroot should actually push the right root on native mutations 2024-03-07 18:02:44 -08:00
Jonathan Kelley a4f19be122 Merge pull request #2016 from DioxusLabs/jk/reject-invalid-keys
Feat: reject invalid keys
2024-03-07 17:20:23 -08:00
Jonathan Kelley 3e5edff724 Fix key errors in autofmt crate 2024-03-07 16:21:51 -08:00
Jonathan Kelley 22e82fc140 undo >=1 check on roots 2024-03-07 16:11:44 -08:00
Jonathan Kelley ae352f8958 Feat: reject invalid keys 2024-03-07 16:03:00 -08:00
Jonathan Kelley 6faa51a4a9 Merge pull request #1974 from DioxusLabs/jk/fix-form-inputs
Fix form inputs, form submits navigating, file drop, multiple root elements
2024-03-06 20:24:48 -08:00
Jonathan Kelley feb80ce509 remove old interpreter 2024-03-06 20:24:37 -08:00
Jonathan Kelley c3df8c55e3 fix windows, enable tokio for examples on wasm 2024-03-06 19:59:47 -08:00
Jonathan Kelley bb5ecd779f clean up some examples, ensuring stuff works 2024-03-06 19:50:07 -08:00
Jonathan Kelley 2995647e99 trim line feeds 2024-03-06 19:18:41 -08:00
Jonathan Kelley c99c07db0c warn 2024-03-06 18:59:27 -08:00
Jonathan Kelley a2907d138d dont even hash it! 2024-03-06 18:59:15 -08:00
Jonathan Kelley c75aa48c74 add warning 2024-03-06 18:43:19 -08:00
Jonathan Kelley f073322bb3 use md5 instead 2024-03-06 18:43:07 -08:00
Jonathan Kelley f65ded2cb4 raw bytes instead of str 2024-03-06 18:16:09 -08:00
Jonathan Kelley 99748a611c move debug 2024-03-06 17:59:05 -08:00
Jonathan Kelley 8df87c64c0 debug windows build 2024-03-06 17:54:20 -08:00
Jonathan Kelley e02e41d6f1 Attempt even dumber hashing mechanism 2024-03-06 17:43:43 -08:00
Jonathan Kelley 60616d0ba7 fix liveview 2024-03-06 17:26:52 -08:00
Jonathan Kelley 1f6195b2ec try new hashing strategy 2024-03-06 17:05:03 -08:00
Jonathan Kelley 08d054f5c8 Merge branch 'main' into jk/fix-form-inputs 2024-03-06 16:43:33 -08:00
Jonathan Kelley 81f38a0bc5 cfg out globalhotkey 2024-03-06 16:42:45 -08:00
Jonathan Kelley e6b7f70f31 Merge pull request #2010 from rtretter/main
added automatic platform detection to cli if none is passed
2024-03-06 14:36:26 -08:00
Jonathan Kelley f7f416ee3a Fix hydration 2024-03-06 12:19:59 -08:00
Jonathan Kelley 912885bfe2 Merge pull request #2008 from DioxusLabs/jk/fix-web-hammer 2024-03-06 09:46:55 -08:00
Jonathan Kelley 713ab98dd3 fix els bug 2024-03-06 02:08:18 -08:00
Jonathan Kelley 34b5bc927d fix sledgehammer bindings on web 2024-03-06 02:04:56 -08:00
Jonathan Kelley 95d7012c8d fix hashing system, bump wasm-bindgen 2024-03-06 02:00:24 -08:00
Jonathan Kelley fa04edfed7 use hashmap defaulthasher 2024-03-06 00:11:21 -08:00
Jonathan Kelley 73e7c3e560 Attempt order invariance 2024-03-06 00:05:42 -08:00