Evan Almloff
3b06059834
fix rendering
2022-04-13 11:39:38 -05:00
Evan Almloff
71707fec09
pass cargo check
2022-04-12 18:58:25 -05:00
Evan Almloff
2b383bc4f4
fixed test
2022-04-12 18:54:42 -05:00
Evan Almloff
9eaf7212a3
tests passing, and tui updated
2022-04-12 18:46:16 -05:00
Jon Kelley
90a30933ef
Merge pull request #347 from DioxusLabs/jk/attributes-inlineprops
...
fix: inline props should look for attributes
2022-04-12 12:27:25 -04:00
Evan Almloff
92010b0bab
WIP update tests
2022-04-12 07:51:57 -05:00
Dave Rolsky
69752313eb
Fix typo in docs for NodeFactory.bump
2022-04-11 10:33:06 -05:00
demonthos
13a99bce9c
WIP: intigrate exsisting code
2022-04-10 07:00:44 -05:00
Jonathan Kelley
24bca45612
fix: inline props should look for attributes
2022-04-09 19:41:29 -04:00
demonthos
9e9fc09e6d
WIP macro progress
2022-04-09 16:40:26 -05:00
Evan Almloff
92f48169e9
WIP new api
2022-04-08 21:17:37 -05:00
Jonathan Kelley
4518b6bc8c
feat: add better use_state for fermi
2022-04-05 21:36:48 -04:00
Evan Almloff
3dd18b21b3
added headless mode for CI
2022-04-05 12:08:01 -05:00
Evan Almloff
351722d136
update dependancy to stretch2 master and remove refrences to tree
2022-04-04 13:37:04 -05:00
Evan Almloff
06e8785938
add PopRoot
2022-04-04 12:19:21 -05:00
Demonthos
479c12725f
Merge branch 'DioxusLabs:master' into lazy_tui
2022-04-04 12:10:18 -05:00
Jon Kelley
56ea9e42fa
Merge pull request #318 from overlisted/eval-stuff
...
Eval stuff
2022-04-04 13:01:35 -04:00
Jonathan Kelley
dfc69c0905
fix: compile fail for web
2022-04-04 12:29:00 -04:00
Jonathan Kelley
93405c2a40
Fix: diffing should poproots too
2022-04-04 12:18:51 -04:00
Jon Kelley
09d193d999
Merge pull request #331 from Demonthos/diff-fix
...
fix: diff_lazynodes bug adding children
2022-04-04 12:15:31 -04:00
Demonthos
56af1f7988
remove extra prints
2022-04-02 20:24:33 -05:00
Demonthos
a001b7ce90
re-enable rendering
2022-04-02 20:02:51 -05:00
Evan Almloff
32b2e3a135
bugfixes, docs, and pass clippy
2022-04-02 16:46:46 -05:00
Evan Almloff
5b25500c0b
finishing touches and benchmarks
2022-03-30 20:45:41 -05:00
Jon Kelley
3a467ec745
Merge pull request #336 from mrxiaozhuox/master
...
Fixed Docs Problem
2022-03-28 11:05:01 -04:00
Jon Kelley
6c72ed5dd3
Merge pull request #333 from naturalethic/fix-incorrect-form-element-pointer
...
Fix form value collecting from form element instead of input element
2022-03-28 11:04:37 -04:00
YuKun Liu
fe3577faaf
fix: usestate
docs
2022-03-28 10:42:09 +08:00
Joshua Kifer
213f54c4d8
Convert all logs to trace
2022-03-27 09:23:44 -06:00
Joshua Kifer
2acacdd5a4
Fix form value collecting from form element instead of input element
2022-03-26 19:42:05 -06:00
Evan Almloff
7f4e257757
bugfixes, testing and refactoring
2022-03-26 20:32:49 -05:00
Evan Almloff
6adfa8805c
moved stretch layout to native-core
2022-03-26 20:28:29 -05:00
Evan Almloff
26d92b6e51
rebase master
2022-03-26 20:27:10 -05:00
Evan Almloff
499971e9b3
wip lazy layout
2022-03-26 20:24:44 -05:00
Evan Almloff
43b5a230f0
PushRoot before adding children
2022-03-26 13:35:23 -05:00
Evan Almloff
aec5cd9dfa
fix lazynode diff bug adding children
2022-03-26 12:53:24 -05:00
Jon Kelley
14099e9889
Merge pull request #330 from DioxusLabs/jk/fix-instant-futures
...
fix: instantly resolving futures should not use popping
2022-03-24 12:31:20 -04:00
Jonathan Kelley
d50e86492e
fix: instantly resolving futures should not use popping
2022-03-24 11:15:07 -04:00
Ilya Maximov
d31edfa7d7
rustfmt when the
2022-03-21 22:02:04 +01:00
Ilya Maximov
ee22881e08
Merge branch 'master' into eval-stuff
2022-03-21 22:00:17 +01:00
Ilya Maximov
6e8fdc1e4d
make the closure dyn
2022-03-21 21:57:29 +01:00
Jon Kelley
268cc5bd39
Merge pull request #302 from Demonthos/master
...
tui bugfixes and text modifier elements
2022-03-20 22:58:56 -04:00
Jonathan Kelley
dc028df0dd
clippy: make it happier
2022-03-20 21:50:43 -04:00
Jon Kelley
4edaeb0aae
Merge pull request #324 from overlisted/inlineprops-generics
...
`#[inline_props]` generics
2022-03-20 20:28:06 -04:00
Jon Kelley
5c6ff70dd4
Merge pull request #316 from DioxusLabs/jk/fix-hydration
...
fix: setnode method for rehydration code
2022-03-20 20:11:55 -04:00
Jonathan Kelley
ad027d7aa4
fix: radio buttons in forms
2022-03-20 20:11:12 -04:00
Jon Kelley
41b7de365e
Merge pull request #320 from naturalethic/form-input-event-radio-value
...
Capture correct radio button value in a form input event
2022-03-20 20:10:52 -04:00
Jon Kelley
d3ac3db296
Merge pull request #315 from Synphonyte/master
...
Option<...> props are optional by default.
2022-03-20 19:59:35 -04:00
Ilya Maximov
46b7f3b623
feat: basic generic support
2022-03-20 20:59:30 +01:00
Ilya Maximov
334936b276
fix: typos
2022-03-19 21:04:48 +01:00
Ilya Maximov
86159d0b55
fix: wrong type of error
2022-03-19 20:48:54 +01:00
Ilya Maximov
1f065acb4c
refactor: simplify and organize the errors
2022-03-19 20:37:25 +01:00
Ilya Maximov
b8573bc4dd
refactor: remove the rsx folder
...
it doesn't seem to be published anywhere or used at all
2022-03-19 20:35:53 +01:00
Ilya Maximov
0be88d20ee
docs: remove capitals and periods from errors
2022-03-19 19:29:57 +01:00
Joshua Kifer
ab4e37fbf2
Capture correct radio button value in a form input event
2022-03-19 12:24:29 -06:00
Ilya Maximov
c194fa8372
remove panics from desktop docs
...
`WebView::evaluate_script()` always returns `Ok()`
2022-03-19 03:13:34 +01:00
Ilya Maximov
b4a5fe9845
use ToString
2022-03-19 02:57:39 +01:00
Ilya Maximov
5cbf2698fd
add use_eval()
to desktop and web
2022-03-17 23:47:11 +01:00
Ilya Maximov
08fa2382b0
add eval to DesktopContext
2022-03-17 22:55:26 +01:00
Jonathan Kelley
f26f704b6b
fix: setnode method for rehydration code
2022-03-17 10:51:23 -04:00
Maccesch
a2825fb13c
updated examples with the new optional props
2022-03-16 06:36:39 +00:00
Joshua Kifer
1b736f1001
Remove release_max_level features from several Cargo.toml log dependencies
2022-03-15 17:59:30 -06:00
Jon Kelley
4407c7325a
Merge pull request #310 from DioxusLabs/jk/forms-links
2022-03-15 16:46:35 -04:00
Maccesch
5818da5f70
auto detect optional props
2022-03-15 16:52:45 +00:00
Jonathan Kelley
e44cc41114
fix: cargo fmt
2022-03-15 01:35:59 -04:00
Jonathan Kelley
7bdb8a4539
fix: fmt by including adapters for liveview
2022-03-15 01:28:50 -04:00
Jonathan Kelley
3b4a041c31
fix: liveview failing to pass
2022-03-15 01:14:26 -04:00
Jonathan Kelley
71184b51a0
feat: liveview working with warp
2022-03-15 01:02:44 -04:00
Jonathan Kelley
2d2de36eed
fix: filtering for buttons
2022-03-13 18:53:20 -04:00
Maccesch
9a23ee4612
active_class prop for Router
2022-03-13 16:35:28 +00:00
Maccesch
1080ffe52d
use_route hook can be used outside of Route components
2022-03-13 16:31:33 +00:00
Jon Kelley
0fdd6d268f
Merge pull request #294 from Synphonyte/master
2022-03-12 11:56:25 -05:00
Jonathan Kelley
e0900ca256
wip: add warp liveview proof of concept
2022-03-12 09:41:10 -05:00
Jonathan Kelley
841ad91fe1
fix: dblclick instead of doubleclick
2022-03-11 10:49:38 -05:00
Evan Almloff
b228e1e4eb
Merge remote-tracking branch 'refs/remotes/origin/master'
2022-03-09 21:08:37 -06:00
Evan Almloff
503b10d674
bugfixes text modifer elements
2022-03-09 21:06:45 -06:00
Jonathan Kelley
3f130d9bd0
fix: use updated version of stretch for layout
2022-03-09 21:42:37 -05:00
Jonathan Kelley
ed07e914d3
fix: compile router on web
2022-03-09 21:14:22 -05:00
Maccesch
1a2624952a
fixed cargo fmt
2022-03-09 23:06:14 +00:00
Jonathan Kelley
1c2e5e2aea
publish: update dioxus with router fix
2022-03-09 17:53:02 -05:00
Jonathan Kelley
cc4b073f0d
fix: use ordering of routes for router
2022-03-09 17:50:39 -05:00
Jonathan Kelley
0ce326566e
wip: fix router slashing
2022-03-09 16:26:13 -05:00
Jonathan Kelley
e7505188d6
release: make a new 0.2.0 release of Dioxus
2022-03-09 14:24:05 -05:00
Jonathan Kelley
50d509688d
feat: update examples for tui
2022-03-09 13:36:30 -05:00
Jonathan Kelley
58a20913b6
chore; make tui pass clippy
2022-03-09 13:30:44 -05:00
Jonathan Kelley
40c88eeb4b
Feat: merge rink into dioxus mainline
2022-03-09 12:57:20 -05:00
Jonathan Kelley
37cf9bb9d2
feat: add tui
2022-03-09 12:55:30 -05:00
Jonathan Kelley
3e9023b131
docs: finish async
2022-03-09 10:22:12 -05:00
Maccesch
82fc9739bb
updated to new way of checking path of route
2022-03-09 03:25:40 +00:00
Jonathan Kelley
9846e0947b
Merge pull request #297 from DioxusLabs/jk/use-ref-memo
...
feat: memoize useref by tracking mutations
2022-03-08 01:00:23 -05:00
Jonathan Kelley
124c5def45
feat: memoize useref by tracking mutations
2022-03-07 16:02:44 -05:00
Jonathan Kelley
0f87ebb277
docs: even more docs
2022-03-06 20:37:57 -05:00
Maccesch
ef82ffd217
added active class to router link
2022-03-06 23:17:24 +00:00
Jonathan Kelley
a4ab2d9de0
feat: enable addassign for usestate
2022-03-05 17:07:34 -05:00
Jonathan Kelley
f98c3f161f
fix: interpreter code for disabled and dangerous innter html
2022-03-05 14:38:28 -05:00
Jonathan Kelley
bec2f4129b
Merge pull request #203 from DioxusLabs/jk/local-router
...
Feat: abstract the router on a per-platform basis and add docs
2022-03-05 14:16:18 -05:00
Jonathan Kelley
f47d2900fb
feat: add a redirect
2022-03-05 14:06:54 -05:00
Jonathan Kelley
156e3c21ba
feat: add split method to use_state
2022-03-04 14:31:04 -05:00
Jonathan Kelley
6c3f5195f4
feat: re-unify set_state
2022-03-04 14:29:45 -05:00
Jonathan Kelley
dbcd91e32f
chore: switch to mutex
2022-03-04 14:28:21 -05:00
Jonathan Kelley
c466425b82
fix: remove logging
2022-03-04 13:17:03 -05:00
Jonathan Kelley
c19995fed9
fix: debug multistage edits in desktop
2022-03-04 13:17:01 -05:00
Jonathan Kelley
cdbc37711f
fix: wasm test
2022-03-04 13:16:37 -05:00
Jonathan Kelley
57bd8b7ce2
fix: enable wasmtest feature
2022-03-04 13:16:37 -05:00
Jonathan Kelley
9edc3459d5
fix: remove latent test
2022-03-04 13:16:37 -05:00
Jonathan Kelley
82f69a9ca6
fix: feature flagging
2022-03-04 13:16:37 -05:00
Jonathan Kelley
c7627f0b93
fix: tests pass
2022-03-04 13:16:37 -05:00
Jonathan Kelley
06d4a5640b
docs: fix doc comment
2022-03-04 13:16:37 -05:00
Jonathan Kelley
cc83900334
feat: router crate is polished up
2022-03-04 13:16:37 -05:00
Jonathan Kelley
60b11081f2
chore: remove idna feature from url
2022-03-04 13:16:37 -05:00
Jonathan Kelley
f2979cb12a
feat: apply local router changes
2022-03-04 13:16:37 -05:00
Jonathan Kelley
3928856a9b
fix: desktop edits should not be applied in reverse
2022-03-04 13:14:49 -05:00
Jonathan Kelley
e5b034c6a4
fix: don't propogate empty edits
2022-03-04 13:13:50 -05:00
Jonathan Kelley
0e09dda1be
chore: add additional debugging to VNode fields
2022-03-04 13:13:29 -05:00
Jonathan Kelley
e04a6d63a5
chore: move tests out of core and into the top level crate
...
This commit moves the tests out of core so rust analyzer
is happier with the workspace.
2022-03-02 22:48:22 -05:00
Jonathan Kelley
e932ed202a
fix: macro export
2022-03-02 18:13:57 -05:00
Jonathan Kelley
62f3d1b38e
fix: macro export
2022-03-02 18:02:14 -05:00
Jonathan Kelley
46a42c5ef9
Docs: update readme and usage doc for router
2022-03-02 17:57:00 -05:00
Jonathan Kelley
0883ff76e6
chore: convert debug to trace
2022-03-02 17:56:26 -05:00
Jonathan Kelley
e51b47d1fb
chore: move macros around
2022-03-02 17:56:12 -05:00
Jonathan Kelley
0e12915dc8
fix: remove old vscode folder
2022-03-02 17:54:22 -05:00
Jonathan Kelley
b4c5b96980
chore: switch log to eprintln
2022-03-02 17:54:11 -05:00
Jonathan Kelley
06c88b6f35
fix: remove fermi callback api
2022-02-28 13:13:45 -05:00
Jonathan Kelley
42979d922b
Merge pull request #208 from DioxusLabs/jk/use-future-leak
...
feat: auto cancel tasks when scopes are dropped
2022-02-27 23:39:06 -05:00
Jonathan Kelley
e416e31bc7
feat: new spawn_forever for tasks that never die
2022-02-27 17:22:21 -05:00
Jonathan Kelley
70177ed49d
feat: tasks are dropped when components are unmounted
2022-02-27 17:03:43 -05:00
Jonathan Kelley
a46bd8d6d7
Merge branch 'master' into jk/use-future-leak
2022-02-27 16:42:07 -05:00
Jonathan Kelley
c2c6d73916
fix: tests should reflect removes
2022-02-27 14:59:36 -05:00
Jonathan Kelley
35a3eaabdf
fix: actually remove nodes in keyed_diff_middle
2022-02-27 14:49:47 -05:00
Jonathan Kelley
4954079212
fix: forbidden filtering
2022-02-27 14:29:07 -05:00
Jonathan Kelley
bfc55b0646
fix: forbidden filtering
2022-02-27 14:26:37 -05:00
Jonathan Kelley
f69430a308
Merge branch 'master' into jk/all-the-css
2022-02-26 18:17:56 -05:00
Jonathan Kelley
dde4ed2946
fix: merge css together
2022-02-26 18:15:04 -05:00
Jonathan Kelley
d512a6758f
Merge branch 'master' into jk/coroutine-coroutineoverhaul
2022-02-26 17:50:38 -05:00
Jonathan Kelley
2181ccd80f
Merge pull request #272 from DioxusLabs/jk/documet-everything
...
docs: add `deny(missing_docs)` is many more places
2022-02-26 17:46:30 -05:00
Jonathan Kelley
25c82b7732
Merge pull request #278 from DioxusLabs/jk/canonicalize-assets
...
feat: canoncialize assets for macOS, Windows, and Linux
2022-02-26 17:42:05 -05:00
Jonathan Kelley
d07e145df6
clippy: update for recent update
2022-02-26 17:39:25 -05:00
Jonathan Kelley
f77f8c8500
fmt
2022-02-26 17:38:05 -05:00
Jonathan Kelley
74f40da997
clippy: remove unused module
2022-02-26 17:36:33 -05:00
Jonathan Kelley
56517ef5de
fix: merge conflicts
2022-02-26 17:35:23 -05:00
Jonathan Kelley
77631bff1f
Merge branch 'master' into jk/documet-everything
2022-02-26 17:33:06 -05:00
Jonathan Kelley
2b17717323
Merge branch 'master' into jk/coroutine-coroutineoverhaul
2022-02-26 17:32:11 -05:00
Jonathan Kelley
4ad4b18e4b
feat: useeffect
2022-02-26 17:31:35 -05:00
Jonathan Kelley
64edc6e1b1
feat: useeffect implemented
2022-02-26 03:12:22 -05:00
Jonathan Kelley
d8718efed6
Merge pull request #275 from BarryYan/master
...
fix: add ns param for removeAttribute
2022-02-25 11:50:21 -05:00
Jonathan Kelley
3e474382c6
fix: clippy new lint
2022-02-25 00:35:25 -05:00
Shuanghui Yan
aa2d6b8d11
fix: format styles
2022-02-24 18:13:00 +08:00
Shuanghui Yan
2a6e6371e7
Merge remote-tracking branch 'upstream/master'
2022-02-24 18:08:21 +08:00
Jonathan Kelley
ccb3aa7977
feat: allow custom root directories
2022-02-23 15:11:57 -05:00
Jonathan Kelley
c12bcd8150
fix: protocol works on in both cargo and bundle
...
This commit enables assets to be served locally through cargo run
or through a bundle strategy. We use cargo-bundle's bundle strategy.
This PR checks only for macOS targets.
2022-02-23 14:19:00 -05:00
Ilya Maximov
144e0bd91f
feat: add send + sync for safety
2022-02-23 20:01:09 +01:00