Commit graph

145 commits

Author SHA1 Message Date
Evan Almloff
636aeb4b90 integrate liveview with the launch builder 2024-01-22 11:56:34 -06:00
Jonathan Kelley
83bce6ce97
Make cargo check --all --examples work! 2024-01-19 14:19:49 -08:00
Jonathan Kelley
6ed3aafb2f
Get cargo check --all working 2024-01-18 19:27:55 -08:00
Evan Almloff
407a82588a fix more examples 2024-01-16 12:28:21 -06:00
Evan Almloff
6560b88db7 Merge branch 'breaking' of https://github.com/Demonthos/dioxus into breaking 2024-01-15 19:14:26 -06:00
Evan Almloff
af1749d7be re export renderers in dioxus 2024-01-15 19:14:11 -06:00
Jonathan Kelley
74aa55f85f
Bring back mroe hooks, remove old hooks, cleanup a number of examples 2024-01-15 17:04:39 -08:00
Evan Almloff
d17a04931b Merge branch 'master' into breaking 2024-01-15 12:01:09 -06:00
Evan Almloff
cfebb6c900 remove async-channel now that context and eval is global 2024-01-15 11:46:00 -06:00
Evan Almloff
9a38331826 restore liveview renderer 2024-01-15 11:28:27 -06:00
Jonathan Kelley
9881a94e67
Remove cx in more places 2024-01-13 21:18:36 -08:00
Jonathan Kelley
1dde044697
remove cx.render 2024-01-13 21:12:21 -08:00
Jonathan Kelley
fae0b08e61
Fix the router and stub out a number of crates to get compiling 2024-01-13 20:51:37 -08:00
Evan Almloff
fe1b35d610 fix mount event 2024-01-12 17:47:27 -06:00
Evan Almloff
0388a5c1f4 fix formatting 2024-01-04 19:21:06 -06:00
Evan Almloff
dccfba12d8 Merge branch 'master' into events-2 2024-01-04 19:02:00 -06:00
Jonathan Kelley
a2f44be2a2
Merge branch 'master' into binary-protocal 2024-01-04 10:17:10 -08:00
ealmloff
060e9348af
Merge branch 'master' into bump-salvo-utils 2024-01-02 13:45:49 -06:00
Georges KABBOUCHI
3733fbf47d
feat(liveview): add rocket adapter (#1761) 2023-12-30 13:49:32 -06:00
Evan Almloff
37e9876a70 bump salvo 2023-12-20 15:18:20 -06:00
ealmloff
5bb06b9719
Merge branch 'master' into events-2 2023-10-30 15:37:29 -05:00
Evan Almloff
9abc390d04 bench 2023-10-20 13:21:27 -05:00
Evan Almloff
33f0f0c172 fix clippy 2023-10-20 09:38:10 -05:00
Evan Almloff
1d664c616e restore desktop/liveview minification 2023-10-20 09:18:16 -05:00
Evan Almloff
2404bfeeb3 fix liveview element 2023-10-20 09:06:19 -05:00
Evan Almloff
378cbfabd9 fix desktop mounted event 2023-10-20 08:45:04 -05:00
Evan Almloff
007aacc247 remove liveview logging 2023-10-19 16:41:47 -05:00
Evan Almloff
c9612a085e fix liveview mounted event 2023-10-19 16:40:08 -05:00
Evan Almloff
db56962eea basic example working with binary protocol on desktop 2023-10-17 14:31:58 -05:00
Evan Almloff
1a4741ce04 fix liveview events 2023-10-12 10:21:29 -05:00
Leonard
2d1234c3d1
Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
Evan Almloff
f20b740abe switch liveview to sledgehammer 2023-10-09 14:28:12 -05:00
ealmloff
072ca3529b
Merge branch 'DioxusLabs:master' into events-2 2023-10-02 19:48:52 -05:00
Seungwoo Kang
31780b3ede
liveview: Add `interpreter_glue_relative_uri (#1481)
* liveview: Add `interpreter_glue_relative_uri`

By utilizing `window.location.host` in the client-side JavaScript, we can easily derive the WebSocket URI from a relative path URI. This approach obviates the need for host address retrieval on the server side, unlike the method of serving glue code in liveview using `interpreter_glue`.

* liveview: Merge `.._relative_url` functionality

- Merged `.._relative_url` to current API `interpreter_glue`.
- Edit axum example to work with new feature.

* liveview: Fix clippy warning
2023-09-26 16:35:17 -05:00
Evan Almloff
219c068283 Merge branch 'master' into events-2 2023-09-17 20:01:21 -05:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02:00
Evan Almloff
c55c17cb81 switch to tracing for logging 2023-09-06 17:47:33 -05:00
Evan Almloff
f7451c02e8 port liveview events 2023-08-31 16:34:04 -05:00
Evan Almloff
62556b2c34 fix desktop and liveview compilation 2023-08-28 12:43:21 -05:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Jonathan Kelley
8a875acdd2
Adjust versions, add authors, move server macro to top level 2023-07-31 17:59:36 -07:00
Miles Murgaw
6210c6fefe
Convert use_eval to use send/recv system (#1080)
* progress: reworked

don't run this, it'll kill your web browser

* feat: use_eval but with comms

* revision: async recv & recv_sync

* revision: use_eval

* revision: standard eval interface

* revision: use serde_json::Value instead of JsValue

* revision: docs

* revision: error message

* create: desktop eval (wip)

* fix: desktop eval

* revision: wrap use_eval in Rc<RefCell<_>>

* fix: fmt, clippy

* fix: desktop tests

* revision: change to channel system

- fixes clippy errors
- fixes playwright tests

* fix: tests

* fix: eval example

* fix: fmt

* fix: tests, desktop stuff

* fix: tests

* feat: drop handler

* fix: tests

* fix: rustfmt

* revision: web promise/callback system

* fix: recv error

* revision: IntoFuture, functionation

* fix: ci

* revision: playwright web

* remove: unescessary code

* remove dioxus-html from public examples

* prototype-patch

* fix web eval

* fix: rustfmt

* fix: CI

* make use_eval more efficient

* implement eval for liveview as well

* fix playwright tests

* fix clippy

* more clippy fixes

* fix clippy

* fix stack overflow

* fix desktop mock

* fix clippy

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-07-21 17:36:25 -05:00
Jonathan Kelley
91d4207fa7
Merge branch 'master' into feature/use-shared-state-better-diagnostics 2023-07-20 10:51:10 -07:00
Andrea Frigido
dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
Evan Almloff
a96ccdc6f3 fix clippy 2023-07-18 13:16:17 -07:00
Evan Almloff
8188011fe3 fix adapters 2023-07-18 13:03:34 -07:00
Evan Almloff
ee28c89f5e Change to a stream of bytes for liveview to make using sledgehammer later non-breaking 2023-07-18 12:53:38 -07:00
niedzwiedzw
f159779af4 make thiserror a workspace dependency everywhere else 2023-07-11 22:54:24 +02:00
Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -05:00
xinglixing
fb227943ae
Fix: bump liveview salvo version to 0.44.1. (#1224) (#1130) 2023-06-28 14:10:18 -05:00