Evan Almloff
25ad3da659
remove some generics from LaunchBuilder
2024-01-17 20:15:16 -06:00
Evan Almloff
499e81fa82
fix fullstack send bound
2024-01-17 15:46:29 -06:00
Evan Almloff
dab87c0144
try not double boxing
2024-01-17 15:07:45 -06:00
Jonathan Kelley
3008870818
Cleanup runtime code
2024-01-16 17:38:39 -08:00
Jonathan Kelley
c94af9538b
Remove phantom markers and just default to Rc<dyn Fn(props) -> Element> where it makes sense
2024-01-16 15:07:22 -08:00
Evan Almloff
e65c5f0eb3
depreciate the render macro
2024-01-16 13:18:46 -06:00
Evan Almloff
7e4d2debe0
implement launch builder for the desktop and web platforms
2024-01-16 08:42:16 -06:00
Jonathan Kelley
14651a3573
Change context api to panic with nice error message
2024-01-15 18:02:58 -08: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
Jonathan Kelley
bb6aa9e792
Add back ondestroy hook
2024-01-15 14:27:20 -08:00
Jonathan Kelley
6134a2ce24
Clean up a number of examples
2024-01-15 13:06:05 -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
9133c0a305
fix dioxus desktop build
2024-01-15 09:19:52 -06:00
Evan Almloff
36e9eb1160
partially restore spreading attributes
2024-01-14 15:21:19 -06:00
Jonathan Kelley
2470a46511
remove dbg
2024-01-13 21:23:52 -08: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
Jonathan Kelley
759274143c
Merge branch 'master' into jk/breaking-merged
2024-01-11 17:38:31 -08:00
Jonathan Kelley
8beec2f41f
fix rendering issue
2024-01-11 17:15:01 -08:00
Jonathan Kelley
8c94f0bc4a
get compiling
2024-01-11 16:51:18 -08:00
Jonathan Kelley
2ae3241cc0
Merge branch 'master' into jk/breaking-merged
2024-01-11 16:04:36 -08:00
Jonathan Kelley
075caedf75
Different approach to make clippy happy across platforms
2024-01-11 15:15:45 -08:00
Jonathan Kelley
ac64f40842
Different approach to cfg
2024-01-11 15:14:45 -08:00
Jonathan Kelley
b90c7ffcac
Fix linux compile
2024-01-11 15:09:38 -08:00
Jonathan Kelley
08c522d5b3
Fix muda segfault
2024-01-11 14:50:21 -08:00
Jonathan Kelley
f7bf156422
Merge pull request #1810 from DioxusLabs/jk/disambiguate-exprs-in-rsx
...
Disambiguate if expressions in rsx by requiring curlies, allow shorthand component/element initialization
2024-01-11 12:25:59 -08:00
Evan Almloff
404c864246
make the root component take no arguments
2024-01-11 10:48:04 -06:00
Jonathan Kelley
d9b84f9f8f
Disambiguate expressions in rsx by requiring curlies
2024-01-10 19:33:34 -08:00
Evan Almloff
e004c1722f
set the required environment variable for manganis support
2024-01-10 11:19:51 -06:00
Jonathan Kelley
3aabaa8c8f
Commit cargo.lock and allow mobile example to be part of workspace
2024-01-08 15:27:59 -08:00
Jonathan Kelley
28a9dc6805
Pin assets sha to keep CI in check
2024-01-08 14:54:02 -08:00
Jonathan Kelley
6b240e1169
remove unused deps
2024-01-08 13:39:03 -08:00
Jonathan Kelley
5ccbeeab46
Merge branch 'master' into add-file-data-drag-event
2024-01-08 13:34:24 -08:00
Jonathan Kelley
399e20fd47
Merge pull request #1622 from ealmloff/cli-config-library
...
Pull out CLI configs into a separate library
2024-01-08 13:33:16 -08:00
Jonathan Kelley
c90f31a4f6
Fix moutned data on desktop
2024-01-08 13:03:47 -08:00
Evan Almloff
194c9d43e3
fix merge
2024-01-08 14:51:35 -06:00
Jonathan Kelley
1b883b2858
Use the correct serialized event converter
2024-01-08 12:19:43 -08:00
Evan Almloff
56798b3d1c
Merge branch 'master' into add-file-data-drag-event
2024-01-08 14:16:09 -06:00
Evan Almloff
23509ada9f
Merge branch 'master' into cli-config-library
2024-01-08 13:24:16 -06:00
Evan Almloff
88e2da6c11
update the web renderer to the new dioxus core
2024-01-06 16:44:07 -06:00
Evan Almloff
f4af297777
merge upstream
2024-01-06 16:14:22 -06:00
Jonathan Kelley
729bfa3be1
Fix eval provider
2024-01-06 11:34:26 -08:00
Jonathan Kelley
9d4a8e1622
add window ext trait
2024-01-06 02:18:26 -08:00
Jonathan Kelley
f01a684379
fix windows
2024-01-06 01:44:46 -08:00
Jonathan Kelley
9efeb51873
Fix windows build, again
2024-01-06 00:38:32 -08:00
Jonathan Kelley
d7c6aa4577
fix builds for windows
2024-01-06 00:36:31 -08:00
Jonathan Kelley
d07808634a
disable linux menubar
2024-01-06 00:10:46 -08:00
Jonathan Kelley
8679656d16
fix ios build of desktop
2024-01-05 23:59:44 -08:00
Jonathan Kelley
94949932df
Tweak menubar export
2024-01-05 23:52:37 -08:00
Jonathan Kelley
7a439edc6b
disable muda entirely on mobile
2024-01-05 23:46:16 -08:00
Jonathan Kelley
ce088acb0c
use proper extension traits
2024-01-05 23:40:01 -08:00
Jonathan Kelley
0ac8955bab
Fix android/ios muda cfg
2024-01-05 23:37:10 -08:00
Jonathan Kelley
e9e7219b4b
Add os-webview feature to wry to fix builds
2024-01-05 23:25:15 -08:00
Jonathan Kelley
2e0cded871
Make clippy happy
2024-01-05 23:16:30 -08:00
Jonathan Kelley
20135368b8
Put asset collection behind a feature flag
2024-01-05 23:14:03 -08:00
Jonathan Kelley
347351d1ee
Finish asset handler
2024-01-05 18:08:04 -08:00
Jonathan Kelley
8323e45970
Call handlers from context of a runtime and scope
2024-01-05 17:35:37 -08:00
Evan Almloff
4013341b6c
hello world example working
2024-01-05 18:01:05 -06:00
Jonathan Kelley
bc857bf339
Make clippy happy
2024-01-05 12:54:39 -08:00
Evan Almloff
3865f44081
make desktop compile
2024-01-05 14:39:45 -06:00
Jonathan Kelley
cbed09b95c
Clean up shared context in desktop
2024-01-05 12:37:47 -08:00
Jonathan Kelley
8e9984b4b5
Fix merge conflicts with new event system
2024-01-05 12:28:33 -08:00
Jonathan Kelley
47306bf89b
Merge branch 'master' into jk/rework-desktop-crate
2024-01-05 12:22:59 -08:00
Jonathan Kelley
785b61a05e
Merge branch 'master' into intigrate-collect-assets
2024-01-05 12:13:31 -08:00
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
Evan Almloff
0388a5c1f4
fix formatting
2024-01-04 19:21:06 -06:00
Evan Almloff
0b40878fce
fix cargo check
2024-01-04 19:11:32 -06:00
Evan Almloff
4f654d61b7
fix cargo check
2024-01-04 19:05:36 -06:00
Evan Almloff
dccfba12d8
Merge branch 'master' into events-2
2024-01-04 19:02:00 -06:00
Jonathan Kelley
ec3eaa6b26
Add ID to filedrop handler
2024-01-04 16:48:53 -08:00
Evan Almloff
b1de7d850c
Merge branch 'master' into intigrate-collect-assets
2024-01-04 18:44:29 -06: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
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
Evan Almloff
f6acaba061
fix compilation
2024-01-04 17:04:56 -06:00
Jonathan Kelley
799be5e4e3
Merge branch 'master' into jk/global-window-fun
2024-01-04 10:22:10 -08:00
Jonathan Kelley
a2f44be2a2
Merge branch 'master' into binary-protocal
2024-01-04 10:17:10 -08:00
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
Jonathan Kelley
ea15c6a2eb
Merge branch 'master' into cli-config-library
2023-12-06 21:30:14 -08: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
15984b78db
use the name in the dioxus.toml in desktop if no name was set in the desktop config
2023-11-14 15:53:11 -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