Jonathan Kelley
1473473801
Merge branch 'master' into bump-wry
2024-01-04 10:05:34 -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
ealmloff
937be8b752
fix the on double click event and depreciate ondblclick ( #1743 )
2024-01-03 14:02:08 -06:00
ealmloff
1f58530b43
Merge branch 'DioxusLabs:master' into bump-wry
2023-12-31 17:13:42 -06:00
Evan Almloff
dfb118e06c
make the video streaming async
2023-12-18 09:34:30 -06:00
Evan Almloff
7649ad84a1
allow asset handlers to read the whole request
2023-12-17 17:14:49 -06:00
Evan Almloff
a647ce2f36
remove headless tests for CI
2023-12-17 11:30:17 -06:00
Will Crichton
1002bc955b
Replace AssetHandlerId with slab and usize
2023-12-16 21:44:39 -08:00
Will Crichton
7bede0be59
Remove unused imports
2023-12-15 11:30:19 -08:00
Will Crichton
d5ec22a26f
Add custom asynchronous asset handlers
2023-12-15 11:16:25 -08:00
Evan Almloff
3afb313110
fix formatting
2023-12-11 14:00:45 -06:00
Evan Almloff
8984482b63
fix headless windows
2023-12-08 15:14:32 -06:00
Evan Almloff
66e2c02bf7
Merge branch 'master' into intigrate-collect-assets
2023-12-08 08:49:17 -06:00
Evan Almloff
0e3fd225a8
Merge branch 'master' into binary-protocal
2023-12-08 08:44:04 -06:00
Pascal
29f9d002e2
expose dioxus_desktop::build_default_menu_bar()
2023-12-07 19:03:37 +01:00
Pascal
cbfb80d5c6
fixup: improved documentation and refactored naming to be more self-explanatory
...
Note:
This is the actual correct commit. The previous one contained files touched by cargo fmt which are unrelated. Sorry for that.
2023-12-07 17:23:14 +01:00
Pascal
906c466e78
Revert "improved documentation and refactored naming to be more self-explanatory"
...
This reverts commit adfbb6c380
.
2023-12-07 17:11:56 +01:00
Pascal
adfbb6c380
improved documentation and refactored naming to be more self-explanatory
2023-12-07 16:36:20 +01:00
Evan Almloff
7d2bbda53d
move gnu warning to build script
2023-12-07 07:10:53 -06:00
Pascal
e4d60c8dfc
add default menu bar in dioxus-desktop to resolve #1691
...
fixup naming and expose disable_default_menu_bar with builder function
2023-12-06 23:00:01 +01:00
Evan Almloff
71f7481ded
use requestAnimationFrame on desktop
2023-12-04 20:45:26 -06:00
Evan Almloff
a4600294c5
allow users to disable the warning in a feature
2023-12-01 22:17:51 -06:00
Evan Almloff
0a3b794a1c
add a warning about wry gnu support to dioxus desktop
2023-12-01 15:56:14 -06:00
zhangzhonglai
c8a9a7b1d5
docs(desktop): fix wrong example code ( #1678 )
...
* docs(desktop): fix wrong example code
* stop ignoring doctests in dioxus desktop
---------
Co-authored-by: ealmloff <evanalmloff@gmail.com>
2023-12-01 07:52:20 -06:00
Evan Almloff
5fdff4b7ed
bump wry to 0.34
2023-10-31 13:49:29 -05:00
ealmloff
856fb1874e
Merge branch 'master' into binary-protocal
2023-10-31 13:40:31 -05:00
ealmloff
c84a13f164
Merge branch 'master' into bump-wry
2023-10-31 13:40:03 -05:00
ealmloff
5bb06b9719
Merge branch 'master' into events-2
2023-10-30 15:37:29 -05:00
HKalbasi
720bfdf231
Make window invisible until the first render ( #1588 )
2023-10-29 13:09:07 -05:00
Evan Almloff
9de56c00f3
fix multiple types of desktop/liveview listeners in the same app
2023-10-24 13:09:10 -05: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
Evan Almloff
b14aaca7b2
fix desktop renderer on windows
2023-10-20 13:05:13 -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
c9612a085e
fix liveview mounted event
2023-10-19 16:40:08 -05:00
Evan Almloff
06ca8c53d8
gitignore minified.js
2023-10-17 14:47:11 -05:00
Evan Almloff
a4fbeeb932
add stress test for desktop
2023-10-17 14:45:37 -05:00
Evan Almloff
c807808231
remove logging
2023-10-17 14:32:31 -05:00
Evan Almloff
db56962eea
basic example working with binary protocol on desktop
2023-10-17 14:31:58 -05:00
Evan Almloff
ce86aabf26
fix clippy
2023-10-17 13:02:51 -05:00
Evan Almloff
9d19f4d204
fix clippy
2023-10-16 10:44:08 -05:00
Evan Almloff
2645b85533
WIP desktop binary protocol
2023-10-15 09:23:01 -05:00
Evan Almloff
cb148cc881
Merge branch 'bump-wry' into binary-protocal
2023-10-13 09:45:11 -05:00
Evan Almloff
3063d83406
start migrating desktop to sledgehammer
2023-10-13 09:21:57 -05:00
Evan Almloff
426a342700
add logs when the desktop or fullstack application is collecting assets
2023-10-10 10:26:16 -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
Evan Almloff
e5b15f7c31
fix tracing in desktop
2023-09-26 09:07:11 -05:00
Evan Almloff
6fab8963e6
use tracing in new logs
2023-09-22 08:25:38 -05:00
Evan Almloff
e2f50cc689
Merge branch 'master' into intigrate-collect-assets
2023-09-22 07:56:00 -05:00
ealmloff
60ee82942c
restore the tray feature in the desktop crate ( #1475 )
2023-09-19 16:48:01 -05:00
Evan Almloff
219c068283
Merge branch 'master' into events-2
2023-09-17 20:01:21 -05:00
Evan Almloff
f976e08f71
Merge branch 'master' into intigrate-collect-assets
2023-09-17 19:40:14 -05:00
Evan Almloff
847801908f
Merge branch 'master' into add-file-data-drag-event
2023-09-17 18:56:59 -05:00
Deep Patel
8b411b8c6d
Update Cargo.toml ( #1466 )
...
Remove duplicate `dox` feature that resulted in build fail
2023-09-17 14:18:23 -05:00
Jonathan Kelley
e4620250bd
Merge branch 'master' into fix-docs-rs-desktop-build
2023-09-16 11:54:08 -07:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4
2023-09-16 19:03:27 +02:00
ealmloff
ea69811e70
Merge branch 'master' into bump-wry
2023-09-14 12:55:54 -05:00
Evan Almloff
c55c17cb81
switch to tracing for logging
2023-09-06 17:47:33 -05:00
Evan Almloff
ffb5de91d1
Merge branch 'master' into intigrate-collect-assets
2023-09-05 13:45:37 -05:00
ealmloff
9e623d52cb
Merge branch 'master' into events-2
2023-09-04 18:52:48 -05:00
Evan Almloff
e86c1647d8
fix clippy
2023-09-04 08:33:56 -05:00
Evan Almloff
d1575b40d1
fix mobile build
2023-09-04 08:24:38 -05:00
Evan Almloff
885580f3af
update to wry 0.31.0
2023-09-02 18:24:42 -05:00
Evan Almloff
df222c121a
port examples to new events
2023-09-01 15:38:55 -05:00
Evan Almloff
9ae6b46e20
Forward Wry's devtools, and dox flags
2023-08-31 15:43:26 -05:00
Evan Almloff
8ba1c05a93
fix desktop events
2023-08-28 16:37:19 -05:00
Evan Almloff
62556b2c34
fix desktop and liveview compilation
2023-08-28 12:43:21 -05:00
Evan Almloff
299b123446
trait based event system
2023-08-25 17:02:48 -05:00
Evan Simkowitz
f599ad6ad7
remove unnecessary PointInteraction imports now that it's in prelude
2023-08-23 22:14:57 -04:00
Evan Simkowitz
56095116e2
Fix tests
2023-08-23 17:58:43 -04:00
Evan Almloff
7fb6dccc0c
fix docs.rs build for desktop
2023-08-21 10:22:13 -05:00
Evan Almloff
5eca11fe3d
update collect assets name
2023-08-18 14:54:57 -05:00
Evan Almloff
1a36409922
disable asset patching in cargo run for mobile
2023-08-18 14:43:56 -05:00
Evan Almloff
1ed814668a
Set an environment variable during serve for bundling
2023-08-18 11:12:56 -05:00
Evan Almloff
efe08df966
report request errors in desktop
2023-08-18 11:02:15 -05:00
Evan Almloff
7b2bf4acc5
find head relative to asset root
2023-08-18 10:57:30 -05:00
Evan Almloff
1cbf549847
log errors when desktop fails to read the head
2023-08-18 10:36:55 -05:00
Evan Almloff
213b80790b
fix release desktop builds
2023-08-18 09:55:49 -05:00
Evan Almloff
c402b6cd36
collect assets in desktop debug mode
2023-08-16 17:01:51 -05:00
Evan Almloff
24c626b306
fix clippy
2023-08-08 13:43:57 -07:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors
2023-07-31 18:49:54 -07:00
ealmloff
d637ef187c
fix all broken examples ( #1248 )
2023-07-25 14:30:08 -05: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
ealmloff
8a3d1e47b3
Merge branch 'master' into add-file-data-drag-event
2023-07-19 18:12:57 -07:00
Jonathan Kelley
b1a4ac48d4
Move filedialog code into cfg-ed out folder
2023-07-19 13:52:27 -07:00
Jonathan Kelley
4e278fead5
rustfmt
2023-07-18 18:23:55 -07:00
Evan Almloff
7577019946
Merge branch 'master' into add-file-data-drag-event
2023-07-11 17:53:09 -05:00
niedzwiedzw
f159779af4
make thiserror a workspace dependency everywhere else
2023-07-11 22:54:24 +02:00
Kaid
e39d8708fa
Changed directory
to webkitdirectory
in bool_attrs
definitions.
2023-07-10 17:19:11 +08: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
4abf996b86
fix clippy hinting around trait
2023-07-06 10:57:52 -07:00
Jonathan Kelley
d56fabfe9a
Merge branch 'master' into feat/window_close_behaviour
2023-07-06 10:50:27 -07:00