Evan Almloff
1a36409922
disable asset patching in cargo run for mobile
2023-08-18 14:43:56 -05:00
Evan Almloff
c402b6cd36
collect assets in desktop debug mode
2023-08-16 17:01:51 -05:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors
2023-07-31 18:49:54 -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
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
Jonathan Kelley
d56fabfe9a
Merge branch 'master' into feat/window_close_behaviour
2023-07-06 10:50:27 -07:00
Jonathan Kelley
60a873a49c
leave hotreload
2023-07-05 15:20:54 -07:00
Jonathan Kelley
5506c568c0
move to newer wry
2023-07-05 13:44:24 -07:00
Jonathan Kelley
2ce8ded74d
FIx desktop for android
2023-07-05 12:49:41 -07:00
Benedikt Terhechte
0ec30345d4
add required dependency
2023-07-04 14:47:36 +02:00
Jonathan Kelley
4f22fe3ca8
Stub out files and RFD on ios
2023-06-30 13:59:48 -07:00
Evan Almloff
c39f55920c
fix CI tests
2023-06-19 14:57:58 -05:00
Evan Almloff
5f873511c5
use workspace dependancies
2023-06-19 14:29:11 -05:00
Evan Almloff
e03e0647ee
fix url encoded desktop assets
2023-05-23 09:09:05 -05:00
Evan Almloff
1b199977d1
add rendering tests
2023-05-04 11:04:06 -05:00
Evan Almloff
01d673e654
create event tests
2023-04-27 18:00:43 -05:00
Evan Almloff
f381e56ab3
test scafolding
2023-04-27 16:38:09 -05:00
Evan Almloff
c1e2592299
implement file events on desktop
2023-04-25 09:26:56 -05:00
Evan Almloff
b0a1f4773e
create file upload example
2023-04-25 08:16:11 -05:00
Andrew Collins
073c4140d9
added web context back and updated wry to latest
2023-04-05 22:09:17 -04:00
Jon Kelley
1b597f43d1
Merge pull request #754 from Demonthos/desktop-hot-reload
...
Implement hot reloading for Desktop, TUI, and Liveview
2023-01-23 09:48:54 -10:00
Evan Almloff
0c6750d177
fix dependancies
2023-01-13 17:50:32 -06:00
Evan Almloff
cd17f515d4
change to hook api
2023-01-12 18:48:23 -06:00
Evan Almloff
dc8fcf254b
Merge branch 'upstream' into desktop-hot-reload
2023-01-12 10:59:01 -06:00
=
042b67b61b
factor out a hot reloading connect function
2023-01-11 16:43:41 -06:00
Evan Almloff
1073574896
implement hot reloading for desktop
2023-01-11 13:40:02 -06:00
Evan Almloff
52d5c8d4e7
update READMEs and tags for the 0.3 release
2023-01-10 10:16:11 -06:00
Jonathan Kelley
7f01f61138
feat: publish 0.3 versions of many crates
2023-01-04 14:31:07 -05:00
Jonathan Kelley
1518f07d7e
chore: remove sledgehammer
2022-12-30 02:44:37 -05:00
Jonathan Kelley
633bf1f834
aggressively clean up desktop with new inline poll
2022-12-30 01:08:25 -05:00
Jonathan Kelley
fa3d1ef574
chore: bump wry to 23
2022-12-14 12:49:07 -08:00
Jonathan Kelley
1b14b309e9
chore: clean up desktop
2022-12-06 16:37:28 -08:00
Jonathan Kelley
112c954e00
Merge branch 'master' into jk/templates-v3
2022-11-22 16:11:12 -08:00
David Craven
1e99e35572
Implement push view for ios. ( #612 )
2022-11-22 12:35:40 -08:00
Jonathan Kelley
30ef225812
feat: event handling on desktop
2022-11-17 20:00:39 -08:00
Jonathan Kelley
c1c5821dcf
Merge branch 'master' into jk/templates-v3
2022-11-16 22:12:16 -08:00
Jonathan Kelley
e8ae830cf2
feat: get desktop working with just creation
2022-11-15 18:32:48 -08:00
Adrian Wannenmacher
79ea1994db
fix desktop dependency wry ( #618 )
2022-11-10 12:03:26 -06:00
David Craven
5c996f21fb
Update wry to 0.22.0 ( #604 )
2022-11-06 01:49:25 -07:00
David Craven
7e3a6fb4a4
Some fixes for wayland and ios. ( #602 )
2022-10-23 19:40:41 -07:00
Jonathan Kelley
90982e0ccb
wip: start to refactor out hot reloading from packages
...
Also implement alternative simpler template system
2022-10-20 09:56:09 -07:00
Demonthos
047ed1e553
Subtree memorization / reactive templates ( #488 )
...
This commit adds subtree memoization to Dioxus.
Subtree memoization is basically a compile-time step that drastically
reduces the amount of work the diffing engine needs to do at runtime by
extracting non-changing nodes out into a static "template." Templates
are then understood by the various renderers in the ecosystem as a
faster way of rendering the same items.
For example, in the web, templates are simply a set of DOM Nodes created
once and then cloned later. This is the same pattern frameworks like Lithtml
and SolidJS use to achieve near-perfect performance.
Subtree memoization adds an additional level of complexity to Dioxus. The RSX
macro needs to be much smarter to identify changing/nonchanging nodes and
generate a mapping between the Template and its runtime counterparts.
This commit represents a working starter point for this work, adding support
for templates for the web, desktop, liveview, ssr, and native-core renderers.
In the future we will try to shrink code generation, generally improve
performance, and simplify our implementation.
2022-09-30 12:03:06 -07:00
Jon Kelley
0c48cb3601
feat: use infer instead of outdated mime-guess, bump wry ( #548 )
...
* feat: use infer instead of outdated mime
* chore: remove unused file
* fix: remove unused file
2022-09-24 23:48:05 -07:00
Adia Robbie
c271fc132e
dioxus-desktop(Update-dep): tauri 0.19.x ( #489 )
...
* Update(dep): tauri 0.19.x
2022-07-06 12:05:31 -04:00
YuKun Liu
0af69f83f2
Rename hot_reload
to hot-reload
2022-06-26 14:23:19 +08:00
Evan Almloff
0079f7d18b
WIP: expose pipe for desktop
2022-06-02 13:33:08 -05:00
Evan Almloff
51b87dafcc
derive serde for Errors and Location, and add error handler
2022-05-31 12:03:04 -05:00
Jonathan Kelley
8ab1c4d0de
feat: upgrade wry
2022-05-05 16:29:24 -04:00
Jonathan Kelley
3febd42588
Release dioxus-core v0.2.1, dioxus-core-macro v0.2.1, dioxus-html v0.2.1, dioxus-interpreter-js v0.2.1, dioxus-desktop v0.2.3, dioxus-hooks v0.2.1, dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4
2022-05-02 23:57:20 -04:00
Jonathan Kelley
e7505188d6
release: make a new 0.2.0 release of Dioxus
2022-03-09 14:24:05 -05:00
Jonathan Kelley
ccb3aa7977
feat: allow custom root directories
2022-02-23 15:11:57 -05:00
Jonathan Kelley
24743e44e9
feat: canoncialize assets for macOS
2022-02-23 13:53:45 -05:00
Jonathan Kelley
3873cd1a60
fix: remove unused depds
2022-02-16 14:40:45 -05:00
Christoph Grabo
ee2b869e99
Add optional feature flags of wry
...
Check wry's documentation for each.
Some of them are platform dependent or
have platform dependent effects.
(mostly MacOS and Linux)
2022-02-13 20:30:10 +01:00
Christoph Grabo
c502535724
Update dependencies
...
Specifically set wry to 0.13;
this has breaking changes (notably: RPC -> IPC).
2022-02-13 20:30:10 +01:00
Jonathan Kelley
ab99bc6c8d
chore: comment out image generator when not in use
2022-02-13 12:35:07 -05:00
Aster
21b436b7bf
Remove image at runtime
2022-02-13 01:36:51 +08:00
Aster
78ac592c0a
Custom for icon
2022-02-13 00:34:45 +08:00
Jonathan Kelley
527434b9f9
feat: make the interpreter as its own crate
2022-02-01 15:44:08 -05:00
Jonathan Kelley
9b3192323e
Release dioxus-desktop v0.1.6
2022-01-29 10:43:43 -05:00
Jonathan Kelley
6339fa8188
Release dioxus-html v0.1.6, dioxus-router v0.1.1
2022-01-29 10:42:52 -05:00
Jonathan Kelley
f6c6134d67
Release dioxus-core v0.1.9
2022-01-29 10:42:38 -05:00
Jonathan Kelley
11ba189eab
Release dioxus-html v0.1.5
2022-01-29 10:36:24 -05:00
Jonathan Kelley
f965030b80
Release dioxus-core v0.1.8
2022-01-29 10:36:10 -05:00
Jonathan Kelley
1b2a0053ef
Release dioxus-core-macro v0.1.7
2022-01-29 10:35:54 -05:00
Jonathan Kelley
430cde7068
feat: default asset server
2022-01-27 16:36:17 -05:00
YuKun Liu
a0f60152bc
feat: link open in browser
2022-01-18 09:19:12 +08:00
Jonathan Kelley
40d1f85d0c
Release dioxus-core v0.1.7, dioxus-core-macro v0.1.6, dioxus-html v0.1.4, dioxus-desktop v0.1.5, dioxus-hooks v0.1.6, dioxus-mobile v0.0.3, dioxus-router v0.1.0, dioxus-ssr v0.1.2, dioxus-web v0.0.4, dioxus v0.1.7
2022-01-08 02:25:03 -05:00
Jonathan Kelley
7cf15ee4e8
publish: include desktop fixes
2022-01-03 21:36:43 -05:00
Jonathan Kelley
4f92ba4160
wip: bump all versions
2022-01-03 19:32:27 -05:00
Jonathan Kelley
54103da019
publish: bump desktop version
2022-01-03 14:03:17 -05:00
Jonathan Kelley
c1f8424693
publish: desktop
2022-01-03 02:18:11 -05:00
Jonathan Kelley
be6fac9f3d
publish: desktop
2022-01-03 02:16:31 -05:00
Jonathan Kelley
14961023f9
wip: polish some more things
2021-12-29 21:28:28 -05:00
Jonathan Kelley
2c3a046426
wip: prepare to change our fragment pattern. Add some more docs
2021-12-18 15:17:32 -05:00
Jonathan Kelley
0d480a4c43
Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0
2021-12-15 16:06:15 -05:00
Jonathan Kelley
868f6739d2
fix: keyword length
2021-12-15 16:06:13 -05:00
Jonathan Kelley
b32665d721
Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0
2021-12-15 16:05:20 -05:00
Jonathan Kelley
a33f7701fc
fix: tags
2021-12-15 16:05:18 -05:00
Jonathan Kelley
3a706ac416
Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0
2021-12-15 16:04:30 -05:00
Jonathan Kelley
e4c06ce8e8
docs: update cargo tomls
2021-12-15 16:04:27 -05:00
Jonathan Kelley
270dfc9590
Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0
2021-12-15 15:59:11 -05:00
Jonathan Kelley
52c7154897
fix: really big bug around hooks
2021-11-29 11:10:40 -05:00
Jonathan Kelley
25a8411485
wip: better desktop support
2021-11-16 01:25:38 -05:00
Jonathan Kelley
2933e4bc11
wip: major cleanups to scheduler
2021-11-06 23:11:17 -04:00
Jonathan Kelley
1e6e5e611b
wip: move examples around
2021-11-03 15:13:50 -04:00
Jonathan Kelley
601078f9cf
fix: desktop and mobile
2021-10-22 01:16:39 -04:00
Jonathan Kelley
e86c1d8972
chores: slim down tokio
2021-10-19 12:09:35 -04:00
Jonathan Kelley
efd0e9b564
feat: support desktop more completely
2021-10-05 03:37:15 -04:00
Jonathan Kelley
7a03c1d2b4
wip: overhaul event system
2021-10-04 01:28:04 -04:00
Jonathan Kelley
82953f2ac3
wip: threadsafe
2021-10-01 02:07:12 -04:00
Jonathan Kelley
f782e14211
feat: omg what a dumb mistake
2021-07-27 00:27:07 -04:00
Jonathan Kelley
7dfe89c958
feat: wire up event delegator for webview
2021-07-24 02:52:05 -04:00
Jonathan Kelley
dfaf5adee1
Feat: solve some issues regarding listeners
2021-07-24 00:29:23 -04:00
Jonathan Kelley
8f0bb5dc5b
chore: cleanup workspace
2021-07-15 18:40:12 -04:00