Commit Graph
100 Commits
Author SHA1 Message Date
Evan AlmloffandJonathan Kelley 9f280a8d84 Fix child fields with the web history (#2172)
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-29 18:23:28 -07:00
Evan Almloff 6a781af693 Fix hydration for static text nodes at the root of the template (#2184)
* Fix hydration for static text nodes at the root of the template

* fix clippy
2024-03-29 18:22:55 -07:00
Evan Almloff 4a622348f2 Fix the mobile feature on the dioxus crate (#2185) 2024-03-29 18:22:41 -07:00
Evan Almloff a07e9aade4 Use simpler string formatting in the Leptos comparison 2024-03-29 09:57:29 -05:00
Evan Almloff 36f67bd5e2 update 0.4 doc links to 0.5 2024-03-27 20:42:07 -05:00
Evan Almloff e8491d5cf4 Require every field in router variants to be present in the route in the web history (#2159)
* require every field to be present in the URL in the web history

* remove desktop only extra field from the simple routes example
2024-03-27 18:12:35 -07:00
Evan AlmloffandJonathan Kelley 86d1dba699 Check type of launch config (#2125)
* Check type of launch config

* fix cargo check

* compile when using an explicit platform with other platforms enabled

* fix formatting

* fix overlapping TryIntoConfig implementations

* fix desktop headless tests

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-27 12:08:05 -07:00
Evan Almloff dadbab5d72 make some enums non-exhaustive (#2140) 2024-03-26 19:14:48 -07:00
Evan AlmloffandJonathan Kelley 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 1b03bed20a Provide a better error message for wasm bindgen version mismatches (#2136)
* provide a better error message for wasm bindgen version mismatches

* fix clippy

* only rerun wasm bindgen if the first run fails

* remove old logs
2024-03-26 19:08:12 -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
Evan Almloff 2ac4bdb673 Switch to tracing for the cli (#2137)
* switch to tracing in the dioxus-cli

* bump manganis

* fix manganis features

* only print processing assets if skip assets is disabled

* switch all logs to tracing

* switch to published version of manganis

* undo all changes to cargo.toml

* remove reference to log
2024-03-25 15:21:51 -05:00
Evan Almloff da3b066934 Revert "switch to tracing"
This reverts commit 6608f73a2e.
2024-03-25 10:09:53 -05:00
Evan Almloff 6608f73a2e switch to tracing 2024-03-25 10:07:31 -05:00
Evan Almloff b19a546c0a Don't move over event handler fields when diffing props (#2129)
* don't move over event handler fields when diffing props

* Expand values_memoize_in_place test to cover the new bug case
2024-03-22 15:18:38 -07:00
Evan Almloff 0662033c84 Fix early drop of eventhandlers (#2126)
* fix early drop of eventhandlers

* add a test for stale props that are memorized in place

* fix clippy
2024-03-22 14:37:02 -07:00
Evan Almloff e012d816eb fix streaming server functions, and precompress assets in release mode (#2121) 2024-03-20 23:05:50 -07:00
Evan Almloff a5714e342c fix bounds on owner props (#2122) 2024-03-20 16:37:08 -07:00
Evan Almloff 9f283f571f fix signal error message and add tests (#2118) 2024-03-20 08:45:27 -07:00
Evan Almloff 58f7efafea Make EventHandler copy (#2112)
* implement Copy for EventHandler
* implement from closure for event handler and remove special on prefix
* fix props implementation of EventHandler
2024-03-19 19:48:53 -07:00
Evan AlmloffandJonathan Kelley 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
Evan Almloff df41df75d0 switch to use_reactive 2024-03-15 11:54:09 -05:00
Evan Almloff b8c41efb54 Merge branch 'DioxusLabs:main' into resource-dependancies 2024-03-15 08:46:17 -05:00
Evan Almloff 92416253e0 fix typo in signal docs 2024-03-14 15:07:16 -05:00
Evan Almloff eeab3658d4 bump sledgehammer bindgen to stable 2024-03-13 19:05:42 -05:00
Evan Almloff 2e7b8cb178 unwind panics into error boundaries 2024-03-13 18:55:57 -05:00
Evan Almloff 72940cc14f Remove NASM from CI 2024-03-13 14:05:42 -05:00
Evan Almloff a428c61457 fix the liveview launch function 2024-03-13 13:42:22 -05:00
Evan Almloff 81182f99ff fix and improve signal dependencies example 2024-03-13 12:00:18 -05:00
Evan Almloff 80aeba30c7 Merge branch 'main' into resource-dependancies 2024-03-13 10:03:44 -05:00
Evan Almloff 3866aa2977 simplify use_dependencies docs 2024-03-13 10:03:00 -05:00
Evan Almloff 0951a389f7 add a way to add manual dependency tuple to memos and effects 2024-03-13 09:54:48 -05:00
Evan Almloff 4985cfdfd0 restore write_silent as a deprecated function with updated recommendations 2024-03-13 09:34:49 -05:00
Evan Almloff 2bbc609082 add a way to subscribe to a dependency tuple for the use_resource hook 2024-03-12 16:50:03 -05:00
Evan Almloff 82ab212414 don't quit serving early if builds fail 2024-03-12 16:37:20 -05:00
Evan Almloff b2607a5b35 Fix temporary reads within rsx 2024-03-12 15:15:36 -05:00
Evan Almloff 81e0469cc2 implement copy for Resource 2024-03-12 15:15:24 -05:00
Evan Almloff 88e2dc127a Never remove queued tasks without polling during suspense 2024-03-11 17:43:08 -05:00
Evan Almloff 6b84f284c9 fix manganis assets overlapping between examples 2024-03-11 17:11:52 -05:00
Evan Almloff 29b9375fbd fix readme translation links 2024-03-11 16:29:12 -05:00
Evan Almloff 3e9a360b55 Merge branch 'main' into isomorphic-spawn 2024-03-11 15:42:47 -05:00
Evan Almloff f51b5617e1 add a test for the memo hook 2024-03-11 15:33:46 -05:00
Evan Almloff d575b3e4e4 fix the visibility of the read only signal helper struct 2024-03-11 14:46:51 -05:00
Evan Almloff bbc81b8f9c fix memos in children; introduce isomorphic spawn 2024-03-08 16:40:31 -06:00
Evan Almloff f8a8ee3e29 fix clippy 2024-03-08 12:45:23 -06:00
Evan Almloff ffc49530f6 implement readable and callable for all structs in the hooks crate 2024-03-08 11:17:28 -06:00
Evan Almloff 98158bdc6f fix headless tests 2024-03-08 10:54:02 -06:00
Evan Almloff 4bc2f4a713 add more docs around lifetime downcasting 2024-03-08 10:46:34 -06:00
Evan Almloff 5f9e5f607b rename take to manually drop 2024-03-08 10:35:27 -06:00
Evan Almloff 60a84956d1 restore lifetime checking for signals 2024-03-08 10:32:57 -06:00
Evan Almloff 9bad802beb clean up dirty scopes module 2024-03-07 21:04:48 -06:00
Evan Almloff cca92b9fed remove extra logging 2024-03-07 20:51:19 -06:00
Evan Almloff e72bf5820f reuse remove_task in handle_task_wakeup 2024-03-07 20:47:43 -06:00
Evan Almloff 3d7f419636 fix memos during suspense 2024-03-07 11:49:51 -06:00
Evan Almloff da4d9c70e8 fix memo chain example 2024-03-06 11:42:31 -06:00
Evan Almloff 492f0329bf remove flume, implement lazier memos 2024-03-06 11:38:28 -06:00
Evan Almloff 716eb11426 update suspend in use_server_future 2024-03-05 18:39:32 -06:00
Evan Almloff c9603ea984 only poll suspended futures 2024-03-05 18:24:01 -06:00
Evan Almloff 287416cfa7 rename flush_sync to wait_for_next_render 2024-03-04 19:52:17 -06:00
Evan Almloff 2e3a730ed5 fix clippy 2024-03-04 16:10:04 -06:00
Evan Almloff 568631e331 test signal drops 2024-03-04 16:02:19 -06:00
Evan Almloff 8322b508a7 fix signals leaking memory 2024-03-04 15:51:14 -06:00
Evan Almloff 3827378f68 Merge branch 'main' into fix-effect 2024-03-04 15:40:37 -06:00
Evan Almloff b42992bad1 add more internal documentation about tasks 2024-03-04 15:38:28 -06:00
Evan Almloff 48f845985b restore readme 2024-03-04 15:27:27 -06:00
Evan Almloff fc7efd8006 test child future drop behavior 2024-03-04 15:26:16 -06:00
Evan Almloff 797feb5657 remove logging, clean up some code, and fix effect test 2024-03-04 15:09:31 -06:00
Evan Almloff c4b8ebc1cf separate task and scope tasks 2024-03-04 13:04:22 -06:00
Evan Almloff 78b9b157dc fix formatting 2024-03-04 12:04:09 -06:00
Evan Almloff a14e5be7ad Fix effect ordering after reruns 2024-03-01 12:46:07 -06:00
Evan Almloff 26f5fb80cb clean up the task queue 2024-03-01 12:18:42 -06:00
Evan Almloff c7ffdc7b29 rerun tasks in the same order as components 2024-02-29 11:43:07 -06:00
Evan Almloff 55f308363d expose non-blocking functions to read and write to the fullstack request 2024-02-29 10:39:02 -06:00
Evan Almloff 8a969a26dc make interpreter extend the interpreter core class 2024-02-28 11:22:15 -06:00
Evan Almloff b58a3bb759 Merge pull request #1984 from agreyyy/main
Add better documentation to use_future, use_resource, use_effect and use_context
2024-02-28 08:55:38 -06:00
Evan Almloff fe839ab347 Move some global variables in the interpreter into locals in the interpreter 2024-02-27 15:15:12 -06:00
Evan Almloff acbc1f6a47 fix headless tests on desktop 2024-02-27 12:19:34 -06:00
Evan Almloff 271b53e866 Update the liveview renderer to the new sledgehammer version 2024-02-27 11:46:40 -06:00
Evan Almloff f7209e123f restore the docs for the image element 2024-02-27 10:36:45 -06:00
Evan Almloff 93ee53454f bump the sledgehammer bindgen version 2024-02-27 10:35:16 -06:00
Evan Almloff 277e4677e9 fix clippy 2024-02-26 11:49:05 -06:00
Evan Almloff f539698963 add debug information for signal subscriptions 2024-02-26 11:46:01 -06:00
Evan Almloff 451a8f231e Merge pull request #1975 from tigerros/fix-routable-clippy-warning
Fix Clippy warning in `Routable` macro
2024-02-24 11:22:04 -06:00
Evan Almloff 0c5c9eafe5 Merge pull request #1958 from fdgStilla/fix-svg-type-attribute
Fix name for SVG attribute "type"
2024-02-21 14:47:55 -06:00
Evan Almloff 36ae7ec12e wrap fullstack rebuilds in block in place 2024-02-19 14:59:58 -06:00
Evan Almloff c0f2e8391c Merge pull request #1948 from atty303/fullstack-wasm
feat(fullstack): support wasm target
2024-02-19 08:52:05 -06:00
Evan Almloff c4a4a31eec Merge branch 'master' into pr/atty303/1948 2024-02-19 08:35:31 -06:00
Evan Almloff 6724847685 swap out web-time for chrono 2024-02-19 08:03:29 -06:00
Evan Almloff 14b4af4bbc fix cargo check all features except the router 2024-02-16 16:22:13 -06:00
Evan Almloff 2952578a2e add a streaming example 2024-02-16 16:04:12 -06:00
Evan Almloff 31a7d2ac04 remove the nightly feature from the server macro crate 2024-02-16 15:27:48 -06:00
Evan Almloff e7d8a25d17 get the dioxus CLI compiling 2024-02-16 14:55:44 -06:00
Evan Almloff 30af559275 add tracing to server function registration 2024-02-16 14:19:36 -06:00
Evan Almloff 194d90e66f fix a few CLI errors 2024-02-16 12:39:36 -06:00
Evan Almloff e745212157 bump server functions 2024-02-16 12:17:01 -06:00
Evan Almloff 6879507652 fix a few warnings when checking with all features 2024-02-16 09:09:35 -06:00
Evan Almloff 0ef29b7d75 reorganize fullstack 2024-02-16 09:03:35 -06:00
Evan Almloff d1c0e0a5e0 comment out the memo tests for now 2024-02-14 15:55:19 -06:00
Evan Almloff 05a6dda89c fix formatting 2024-02-14 12:13:54 -06:00