Commit Graph
100 Commits
Author SHA1 Message Date
Jonathan Kelley 42e25c407f A few more stylistic changes 2024-01-04 20:41:48 -08:00
Jonathan Kelley 4d95bc1374 Document ipc a bit 2024-01-04 20:28:57 -08:00
Jonathan Kelley b5a125b963 Refactor IPC a bit 2024-01-04 20:27:04 -08:00
Jonathan Kelley 4adc912189 Collapse objects into single shared object 2024-01-04 20:17:38 -08:00
Jonathan Kelley 2e9737ef57 Clean up and document the protocol handler 2024-01-04 19:52:49 -08:00
Jonathan Kelley 38216fa272 Make the tokio runtime optional 2024-01-04 19:09:59 -08:00
Jonathan Kelley 73d5069a20 Move launch functions into their own file 2024-01-04 18:31:22 -08:00
Jonathan Kelley 060490892a Clean up desktop even more 2024-01-04 18:19:28 -08:00
Jonathan Kelley 7444796a85 Simplify asset code a bit 2024-01-04 18:01:13 -08:00
Jonathan Kelley fef7b83b79 Rename editqueue type 2024-01-04 17:35:58 -08:00
Jonathan Kelley d47e494786 More cleaning up of the desktop crate 2024-01-04 17:28:54 -08:00
Jonathan Kelley 6e08703c6c Fix compile issue 2024-01-04 17:21:38 -08:00
Jonathan Kelley 2171263eda More cleanup work 2024-01-04 17:21:33 -08:00
Jonathan Kelley ec3eaa6b26 Add ID to filedrop handler 2024-01-04 16:48:53 -08:00
Jonathan Kelley 62a9583fff Fix merge conflict 2024-01-04 16:44:16 -08:00
Jonathan Kelley 1518c223f6 Don't drop tokio runtime immediately 2024-01-04 16:38:49 -08:00
Jonathan Kelley c91071a0bb Merge branch 'master' into jk/rework-desktop-crate 2024-01-04 16:36:41 -08:00
Jonathan Kelley d38ce349b1 Tiny bit of cleanups 2024-01-04 16:36:19 -08:00
Jonathan Kelley 436635386d Get compiling 2024-01-04 16:28:15 -08:00
Jonathan Kelley 9a6d745339 Refactor desktop into App type 2024-01-04 16:12:37 -08:00
Jonathan Kelley bcc2da4b42 Merge pull request #1732 from ealmloff/resilient-hydration
Make hydration more resilient
2024-01-04 10:28:48 -08:00
Jonathan Kelley 1a8bf13ff5 Merge branch 'master' into resilient-hydration 2024-01-04 10:28:41 -08:00
Jonathan Kelley de5a1af6df Merge pull request #1618 from ealmloff/polish-throw
Document and improve the throw trait
2024-01-04 10:27:58 -08:00
Jonathan Kelley ea1325f6e8 Merge branch 'master' into polish-throw 2024-01-04 10:27:51 -08:00
Jonathan Kelley c1d9553e49 Merge pull request #1624 from Erithax/rename_into_node_traits
rename IntoDynNode and IntoTemplate traits
2024-01-04 10:25:49 -08:00
Jonathan Kelley ea0c39b14c Merge pull request #1572 from DioxusLabs/jk/global-window-fun
Feat: add global context functions
2024-01-04 10:23:12 -08:00
Jonathan Kelley 799be5e4e3 Merge branch 'master' into jk/global-window-fun 2024-01-04 10:22:10 -08:00
Jonathan Kelley d933291c90 Merge pull request #1463 from ealmloff/many_optional_attributes
Implement multiple optional attributes
2024-01-04 10:19:04 -08:00
Jonathan Kelley 8df7a7685e Merge branch 'master' into many_optional_attributes 2024-01-04 10:18:57 -08:00
Jonathan Kelley 70ff508163 Merge pull request #1534 from ealmloff/binary-protocal
Binary protocol for desktop and liveview
2024-01-04 10:17:16 -08:00
Jonathan Kelley a2f44be2a2 Merge branch 'master' into binary-protocal 2024-01-04 10:17:10 -08:00
Jonathan Kelley 1d289ff282 Merge pull request #1710 from Exotik850/cx-spawn-poll
Make cx.spawn poll the task before returning `TaskId`
2024-01-04 10:07:22 -08:00
Jonathan Kelley a6dd8316d1 Merge pull request #1393 from ealmloff/fix-event-bubbling
Fix event multi node event bubbling
2024-01-04 10:06:33 -08:00
Jonathan Kelley 922d9c8c05 Merge branch 'master' into fix-event-bubbling 2024-01-04 10:06:27 -08:00
Jonathan Kelley 10063ab39b Merge pull request #1428 from ealmloff/bump-wry
Update to wry 0.34.0
2024-01-04 10:05:42 -08:00
Jonathan Kelley 1473473801 Merge branch 'master' into bump-wry 2024-01-04 10:05:34 -08:00
Jonathan Kelley 3498396f08 Merge pull request #1696 from pascalbehmenburg/master
add default menu bar in dioxus-desktop to resolve #1691
2024-01-04 09:57:33 -08:00
Jonathan Kelley 601627d46e Merge branch 'master' into master 2024-01-04 09:57:26 -08:00
Jonathan Kelley 318cae7bf8 Merge pull request #1727 from ealmloff/video-streaming
Add a video streaming example
2024-01-04 09:56:23 -08:00
Jonathan Kelley 73637987f3 Merge pull request #1719 from willcrichton/dev
Add custom asset handler to desktop config
2024-01-04 09:56:12 -08:00
Jonathan Kelley 20a080d6c0 Merge pull request #1738 from ealmloff/bump-salvo-utils
Bump the version of Salvo
2024-01-04 09:55:50 -08:00
Jonathan Kelley 60f6ef8402 Merge pull request #1781 from ealmloff/fix-non-string-layout-tui
Fix non string layout attributes in rink
2024-01-04 09:55:33 -08:00
Jonathan Kelley fb4eb34910 Merge pull request #1782 from ealmloff/dx-translate-element-conversion
Fix rsx rosetta element and attribute mapping
2024-01-04 09:54:40 -08:00
Jonathan Kelley 544ca55596 Merge pull request #1363 from ealmloff/fix-native-core-leak 2023-12-07 19:55:08 -08:00
Jonathan Kelley 028ffad95a Merge pull request #1593 from ealmloff/signal-read-untracked 2023-12-07 11:12:14 -08:00
Jonathan Kelley 424926a8db Merge pull request #1698 from ealmloff/fix-server-function-early-disconnect 2023-12-07 09:28:54 -08:00
Jonathan Kelley 9a3287e05f Merge pull request #1681 from ealmloff/warn-windows-gnu 2023-12-07 09:28:38 -08:00
Jonathan Kelley fe7df0c6a5 Merge pull request #1697 from ealmloff/hot-reload-temp-dir 2023-12-07 09:18:10 -08:00
Jonathan Kelley ad885ec47a Merge pull request #1650 from ealmloff/effect-cleanup
Add an optional cleanup closure to the use effect hook
2023-12-06 22:13:08 -08:00
Jonathan Kelley 8f1791c039 Merge pull request #1597 from ColonelThirtyTwo/fmt-indent
Use indentation settings in dx fmt and vscode extension
2023-12-06 22:06:16 -08:00
Jonathan Kelley 4444ba0b97 Merge pull request #1576 from ealmloff/fix-lints-release-web
Fix use shared state lint in release mode
2023-12-06 21:39:36 -08:00
Jonathan Kelley edebe5be4a Merge pull request #1653 from ealmloff/fix-hot-reload-missing-items
Fix missing items in hot reloading diffing
2023-12-06 21:38:36 -08:00
Jonathan Kelley f2504cec84 Merge pull request #1674 from ealmloff/better-optional-props
Make optional props accept Nothing, T or Option<T>
2023-12-06 21:37:39 -08:00
Jonathan Kelley 3b63791ec1 Merge pull request #1485 from ealmloff/make-fullstack-layer-public
Make the layer module public in fullstack
2023-12-06 21:34:38 -08:00
Jonathan Kelley ecb1b61b65 Merge pull request #1664 from ealmloff/fix-svg-hot-reload
Fix hot reloading svg elements
2023-12-06 21:34:05 -08:00
Jonathan Kelley 07d84fedb7 Merge pull request #1580 from ealmloff/miri-leak
Remove the ignore leaks in flag MIRI
2023-12-06 21:29:32 -08:00
Jonathan Kelley 69bf6b9dd7 CI: adjust matrix test to install rustfmt during autofmt tests 2023-12-06 21:27:26 -08:00
Jonathan Kelley ccd850edf6 Merge pull request #1383 from ealmloff/debug-signals
Add debug information to borrows and ownership in signals
2023-12-06 21:19:38 -08:00
Jonathan Kelley ae8eaf80a2 Merge pull request #1612 from ealmloff/ssr-eval
Add a noop evaluator to the ssr renderer
2023-12-06 21:17:36 -08:00
Jonathan Kelley f52233c095 Merge pull request #1634 from ealmloff/fix-string-memory-leak
Fix string memory leak
2023-12-06 21:16:43 -08:00
Jonathan Kelley 850f2da0c6 Merge pull request #1651 from ealmloff/string-into-attribute
Add into attribute value impl for String
2023-12-06 21:14:31 -08:00
Jonathan Kelley 16982c9f69 Add metadata for signals crate 2023-12-06 20:54:50 -08:00
Jonathan Kelley d3f6ff703c Release 0.4.3
dioxus@0.4.3
dioxus-autofmt@0.4.3
dioxus-check@0.4.3
dioxus-cli@0.4.3
dioxus-core@0.4.3
dioxus-core-macro@0.4.3
dioxus-desktop@0.4.3
dioxus-fullstack@0.4.3
dioxus-hooks@0.4.3
dioxus-hot-reload@0.4.3
dioxus-html@0.4.3
dioxus-interpreter-js@0.4.3
dioxus-liveview@0.4.3
dioxus-mobile@0.4.3
dioxus-native-core@0.4.3
dioxus-native-core-macro@0.4.3
dioxus-router@0.4.3
dioxus-router-macro@0.4.3
dioxus-rsx@0.4.3
dioxus-signals@0.4.3
dioxus-ssr@0.4.3
dioxus-tui@0.4.3
dioxus-web@0.4.3
dioxus_server_macro@0.4.3
fermi@0.4.3
generational-box@0.4.3
plasmo@0.4.3
rsx-rosetta@0.4.3

Generated by cargo-workspaces
2023-12-06 16:56:35 -08:00
Jonathan Kelley ab1fab5f50 No publish demos 2023-12-06 16:49:05 -08:00
Jonathan Kelley 6088483fb2 fix signals import 2023-12-05 23:01:10 -08:00
Jonathan Kelley 0c92486883 publish generational box 2023-12-05 22:57:20 -08:00
Jonathan Kelley 42faecf942 Merge pull request #1581 from ealmloff/drop-any-attribute-later
Drop any attribute after rendering
2023-11-06 16:52:30 -05:00
Jonathan Kelley a3e6d0adca Merge pull request #1602 from ealmloff/fix-scroll-web 2023-11-02 22:35:16 -04:00
Jonathan Kelley 035f26d4bf Merge pull request #1573 from tigerros/fix-props-docs-line-breaks
Fix prop docs line breaks
2023-10-25 17:03:46 -04:00
Jonathan Kelley 647815fa6f Merge pull request #1558 from ealmloff/link-key-props
Add an readable error when you name a prop key
2023-10-23 16:58:53 -04:00
Jonathan Kelley 716130d025 Merge pull request #1570 from ealmloff/clarify-web-gaurd-fullstack
Add error message when overlapping fullstack features are enabled
2023-10-23 16:32:34 -04:00
Jonathan Kelley 1fe8e94063 Deprecate use_window 2023-10-23 16:30:39 -04:00
Jonathan Kelley dd4547d753 Feat: add global context functions
Add functions like window() and router() to
allow dynamically grabbing global contexts
without have to use the hook variants.

Deprecates the existing hook variants to
discourage folks from adding more noise
to their codebases.
2023-10-23 16:26:10 -04:00
Jonathan Kelley ea8c5e290d Merge pull request #1551 from ealmloff/fix-signals-outside-of-runtime
Fix using signals outside of a scope
2023-10-23 15:32:12 -04:00
Jonathan Kelley c7963a0344 Merge pull request #1546 from DioxusLabs/jk/loop-allocation-strategy
Change the semantics of exprs/for loops allocations strategy
2023-10-17 16:30:20 -07:00
Jonathan Kelley 9cdbf81a4b fix clippy lint 2023-10-17 16:06:43 -07:00
Jonathan Kelley 65e21d7874 Change signals example a bit 2023-10-17 15:52:13 -07:00
Jonathan Kelley e819702fc5 Add into_vnode temporary logic for more things
This commit adjusts how rsx! works, making it more forgiving with signals.

Notably, we add the temporaries to if chains too.
2023-10-17 15:42:21 -07:00
Jonathan Kelley 55ad41b392 Merge branch 'master' into jk/loop-allocation-strategy 2023-10-17 15:27:20 -07:00
Jonathan Kelley 509dca97e6 Merge pull request #1544 from ealmloff/must-use-hooks
Add must use to several hooks
2023-10-17 09:24:39 -07:00
Jonathan Kelley 025a321648 Merge pull request #1550 from ealmloff/restore-deref-fn-signal
Make signal callable on stable
2023-10-17 09:13:26 -07:00
Jonathan Kelley 7e2164d6d6 Add toggle 2023-10-15 17:52:01 -07:00
Jonathan Kelley 741bfbc9ac Add toggle to signals example 2023-10-15 17:50:23 -07:00
Jonathan Kelley 14b3fa72e4 Change the semantics of exprs/for loops allocations strategy
This commit adjusts how exprs and for loops are handled within
rsx. This is a breaking change in terms of codegen, but has
slight semantic changes as well.

Now, when exprs/for loops are allocated, they are given a temporary.
The temporary is elided to the <'a> lifetime of the bump, to satisfy
the borrow checker. This fixes issues with signals where exprs/for
loops mapping vecs out of RefCells would be caught up without a
temporary lifetime.
2023-10-15 17:40:56 -07:00
Jonathan Kelley 04f83e1e92 Remove outdated changelong 2023-10-13 14:31:21 -07:00
Jonathan Kelley 7063c6272b Merge pull request #1480 from ealmloff/fix-playwright-windows
Fix playwright tests on windows
2023-09-22 13:30:48 -07:00
Jonathan Kelley 27a551d63e Merge pull request #1467 from ealmloff/expose-runtime-gaurd
Make RuntimeGuard public
2023-09-18 23:12:50 -07:00
Jonathan Kelley 9c300ff266 Merge pull request #1324 from ealmloff/bool-attrs-ssr
Fix boolean attribute rendering in SSR
2023-09-16 12:01:52 -07:00
Jonathan Kelley d3775bb82e Merge pull request #1313 from ealmloff/log-server-errors
Return more useful messages when a server function errors
2023-09-16 12:01:01 -07:00
Jonathan Kelley a7551d1e63 Merge branch 'master' into log-server-errors 2023-09-16 12:00:54 -07:00
Jonathan Kelley 13f10fea1b Merge pull request #1441 from ealmloff/fix-uplink
Expose public methods for manipulating the global runtime
2023-09-16 11:59:59 -07:00
Jonathan Kelley 73169e377e Merge pull request #1322 from ealmloff/fix-text-node-target-events
Fix events with a text node target
2023-09-16 11:57:33 -07:00
Jonathan Kelley cb39122247 Merge pull request #1298 from ealmloff/fix-spread-routes
Fix parsing spread routes
2023-09-16 11:56:54 -07:00
Jonathan Kelley 30b958ffa8 Merge pull request #1386 from ealmloff/fix-new-signals-in-effects
Fix leaked signals created in effects
2023-09-16 11:56:40 -07:00
Jonathan Kelley de649a46d6 Merge pull request #1315 from ealmloff/handle-select-elements
Handle oninput for select elements
2023-09-16 11:56:18 -07:00
Jonathan Kelley 2f1fbf3ca4 Merge pull request #1406 from DioxusLabs/fix-router-query
Fix web query segments
2023-09-16 11:55:43 -07:00
Jonathan Kelley e59a05141e Merge pull request #1446 from ealmloff/deduplicate-hot-reload-cli
Deduplicate serve code with hot reloading in the CLI crate
2023-09-16 11:55:16 -07:00
Jonathan Kelley c397d2dfd1 Merge pull request #1382 from ealmloff/fix-docs-rs-desktop-build
Fix docs.rs build for desktop
2023-09-16 11:54:15 -07:00
Jonathan Kelley e4620250bd Merge branch 'master' into fix-docs-rs-desktop-build 2023-09-16 11:54:08 -07:00
Jonathan Kelley 1a093b895e Merge pull request #1464 from marc2332/fix/update-doc-links-v3-to-v4
fix: Update doc links from v0.3 to v0.4
2023-09-16 11:53:17 -07:00