Jonathan Kelley
76ccd49719
Merge pull request #190 from t1m0t/tb/makefile_test_setup
...
wip: Makefile setup
2022-02-03 12:49:06 -05:00
t1m0t
ee49fc27ff
fix some newlines
2022-02-03 09:28:06 +01:00
Jonathan Kelley
1913ccd61f
chore: current_scope always panics
2022-02-03 00:35:10 -05:00
Jonathan Kelley
f7b3228ab2
fix: enable resume node for text and placeholder
2022-02-02 20:04:55 -05:00
Jonathan Kelley
bc43069884
fix: allow scopes and nodes to be missing
2022-02-02 19:04:37 -05:00
t1m0t
f1865faef7
setup done, local tests work, check workflow
2022-02-03 00:11:38 +01:00
Timothée
9e804036d4
Merge branch 'DioxusLabs:master' into tb/makefile_test_setup
2022-02-02 20:35:36 +01:00
Jonathan Kelley
b2b2dae7e6
fix: diffing allows component reuse
2022-02-02 11:33:02 -05:00
Jonathan Kelley
2c4e7beae8
wip: update interpreter
2022-02-02 11:32:00 -05:00
Jonathan Kelley
8f9d15db4a
feat: enable form elements in web
2022-02-02 02:00:53 -05:00
Jonathan Kelley
c4556d050e
Merge branch 'master' into jk/form-ma
2022-02-02 01:50:43 -05:00
Jonathan Kelley
84959a7826
feat: it works everywhere
2022-02-02 01:08:59 -05:00
Jonathan Kelley
b4923b2b81
ci: move gen folder out of src
2022-02-01 16:07:50 -05:00
t1m0t
12cfd79d51
commented out failing example
2022-02-01 22:04:21 +01:00
Jonathan Kelley
86bac80040
fmt: make bindings obey formatting
2022-02-01 15:57:07 -05:00
Jonathan Kelley
71656adc89
publish: generate our bindings.rs file from an inlinejs snippet
2022-02-01 15:54:32 -05:00
Jonathan Kelley
5b69f9b686
release: make interpreter crate publishable
2022-02-01 15:45:03 -05:00
Jonathan Kelley
527434b9f9
feat: make the interpreter as its own crate
2022-02-01 15:44:08 -05:00
Jonathan Kelley
ee67a041d2
feat: turn interpreter into crate
2022-02-01 15:38:48 -05:00
Jonathan Kelley
7c06b3a9a2
Merge branch 'master' into jk/form-ma
2022-02-01 15:24:19 -05:00
t1m0t
8ad3f85872
fix ordering to match original one
2022-02-01 21:13:18 +01:00
Jonathan Kelley
80d792910f
Merge pull request #182 from DioxusLabs/jk/debugging-diff
...
fix: nodes being unmounted when used in highly nested contexts
2022-02-01 15:08:43 -05:00
Jonathan Kelley
94c1da8264
chore: clean up documentation in diffing algorithm
2022-02-01 15:00:36 -05:00
t1m0t
d7968c987f
wip: Makefile setup
2022-02-01 20:40:29 +01:00
Jonathan Kelley
e02dfc3324
fix: change use_state to be clone
2022-02-01 02:05:54 -05:00
Jonathan Kelley
fa020c53e4
tweak: use 2018 rust syntax instead of 2022 for formatting
2022-02-01 01:57:21 -05:00
Jonathan Kelley
0c0f638c47
Merge pull request #180 from mrxiaozhuox/borderless-frame
...
Add support for desktop context, borderless frames, minimize, maximize, and other window-related goodies through the imperative `use_window` hook.
2022-01-31 19:53:27 -05:00
mrxiaozhuox
bead035969
feat: export use_window
2022-02-01 08:43:54 +08:00
Jonathan Kelley
6905bf98d7
chore: clean up examples and fix link opening code
2022-01-31 19:40:48 -05:00
mrxiaozhuox
f1fe8f1d2a
fix: change hooks name
2022-02-01 08:39:31 +08:00
Jonathan Kelley
1978f195b3
Merge branch 'master' into jk/debugging-diff
2022-01-31 16:19:48 -05:00
Jonathan Kelley
8badf90a03
fix: dioxus web prevents default on in nested targets
...
this commit fixes an issue where we used the event target to
prevent default even if the target element wasn't an event
handler.
2022-01-31 15:53:06 -05:00
Jonathan Kelley
fb75948363
fix: usestate modify panic
2022-01-31 14:33:25 -05:00
Jonathan Kelley
c4e6496d9d
chore: enable a pedantic clippy on the diffing algorithm
2022-01-31 12:49:21 -05:00
Jonathan Kelley
06418f73db
fix: element stack not being updated properly
2022-01-31 12:29:11 -05:00
mrxiaozhuox
7ca92be015
feat: add focus
api
2022-01-31 19:44:40 +08:00
mrxiaozhuox
366cf75887
feat: add use_desktop_context
hook
2022-01-31 19:39:44 +08:00
Jonathan Kelley
923fb0701d
fix: clippy
2022-01-31 03:34:52 -05:00
Jonathan Kelley
b4697fc9f9
chore: clean up some more of the scopes file
2022-01-31 03:27:43 -05:00
Jonathan Kelley
268b1b0c66
Merge branch 'master' into jk/debugging-diff
2022-01-31 03:23:35 -05:00
Jonathan Kelley
120ee18368
chore: improve debugability of fcptrs and vcomponents
...
this commit changes the fc slot type from a thin pointer to a c pointer.
this lets us provide frame inspection of components using backtrace.
2022-01-31 03:22:34 -05:00
Jonathan Kelley
9dda7b168b
chore: clean up scopes
2022-01-31 03:04:47 -05:00
Jonathan Kelley
a4ea0ba4fe
chore: undo dirty_scopes rename
2022-01-31 02:52:40 -05:00
Jonathan Kelley
236ef9a8c4
Merge branch 'master' into jk/debugging-diff
2022-01-31 02:51:59 -05:00
Jonathan Kelley
0820e18d3d
feat: make component name accessible
2022-01-31 02:49:37 -05:00
Jonathan Kelley
4ae11b5756
fmt: make tests easier to visually parse with fmt rules
2022-01-31 02:46:26 -05:00
Jonathan Kelley
00aa0e5e86
fmt: apply formatting just to tests
2022-01-31 02:44:16 -05:00
Jonathan Kelley
5bffbba682
fmt: apply cargofmt with new rules for lit structs
2022-01-31 02:40:12 -05:00
Jonathan Kelley
11f6b93889
fix: remove nodes is in a happier state
2022-01-31 02:33:16 -05:00
Jonathan Kelley
cbd471fa46
debugging: add some more debug tooling
2022-01-31 01:24:11 -05:00
mrxiaozhuox
e4eb982a36
fix: format code
2022-01-31 10:11:58 +08:00
mrxiaozhuox
a0ffe66a37
feat: add borderless
example
2022-01-31 09:47:09 +08:00
Jonathan Kelley
1ea42799c0
wip: clean up the core crate after switching to recursive diff engine
2022-01-30 18:34:24 -05:00
Jonathan Kelley
3bb5c8142c
fix: switch to future based diffing
...
this commit removes the old manual fiber implementation in favor of a
traditional recursion based approach. This should make the diffing
algorithm easier to work on and eliminate various stack-based bugs in.
2022-01-30 17:47:58 -05:00
Jonathan Kelley
3edf3e367f
wip: debugging
2022-01-30 14:08:03 -05:00
Jonathan Kelley
13cf95a9ea
Merge pull request #178 from autarch/autarch/spelling-fix
...
Fix misspelled variable name in usestate.rs
2022-01-30 13:13:04 -05:00
mrxiaozhuox
31a2f8f63a
feat: add DesktopContext
2022-01-31 01:06:43 +08:00
mrxiaozhuox
169028705d
feat: add DesktopContext
2022-01-31 00:33:14 +08:00
Dave Rolsky
00ff54bb3b
Fix typo in comment in use_shared_state.rs
2022-01-29 10:43:10 -06:00
Dave Rolsky
3d3d18554d
Fix misspelled variable name in usestate.rs
2022-01-29 10:36:44 -06: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
578c1dc069
fix: enable default for any eventhandler
2022-01-29 10:42:06 -05:00
Jonathan Kelley
d570bb6c42
Release dioxus-router v0.1.1
2022-01-29 10:40:03 -05:00
Jonathan Kelley
189ddd8c51
fix: move bindings into package
2022-01-29 10:39:21 -05:00
Jonathan Kelley
2c51a090e3
Release dioxus-web v0.0.5
2022-01-29 10:37:50 -05:00
Jonathan Kelley
3c2d5985da
Release dioxus-ssr v0.1.3
2022-01-29 10:37:34 -05:00
Jonathan Kelley
539ca2d655
Release dioxus-hooks v0.1.7
2022-01-29 10:37:03 -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
8056138f86
fix: explicit default for event handler
...
rust derives default of T: Default, even when that's not a necessary requirement
This fixes that
2022-01-29 10:27:40 -05:00
Jonathan Kelley
06723ad63f
fix: add interpreter to desktop package so it publishes
2022-01-29 10:23:41 -05:00
Jonathan Kelley
56f3002aed
feat: add changelogs
2022-01-29 10:17:14 -05:00
Jonathan Kelley
3509602c0b
Merge pull request #169 from DioxusLabs/jk/router-userouter
...
feat: enable use_router
2022-01-29 10:15:00 -05:00
Jonathan Kelley
88997019c5
Merge branch 'master' of github.com:DioxusLabs/dioxus
2022-01-28 21:44:10 -05:00
Jonathan Kelley
e9792e9b95
tests: add miri stress test
2022-01-28 21:43:01 -05:00
Dave Rolsky
72c6bb3d0b
Make log message in Link component trace level, not debug
...
All the other routing-related messages are at the trace level. Leaving this at
debug was an oversight on my part.
2022-01-28 15:31:43 -06:00
Jonathan Kelley
c092bd43ed
fix: use_state
2022-01-28 16:12:06 -05:00
Jonathan Kelley
e24957fc19
feat: enable use_router
2022-01-28 14:38:17 -05:00
Jonathan Kelley
79e09934aa
chore: add docs to router UseRouteListener
2022-01-28 12:14:40 -05:00
Jonathan Kelley
9da46eb7bc
chore: rustfmt
2022-01-28 12:07:10 -05:00
Jonathan Kelley
5ee9d6c434
fix: attach router listener to subscriber list
2022-01-28 12:04:16 -05:00
Jonathan Kelley
a21e7d4dd1
fix: use_route should subscribe to changes to the route
2022-01-28 12:00:13 -05:00
Jonathan Kelley
ccbb955b7b
Merge pull request #166 from DioxusLabs/jk/default-assets-desktop
...
Default asset server
2022-01-27 22:10:20 -05:00
Jonathan Kelley
08988e1bfe
Merge pull request #158 from DioxusLabs/jk/router-onchange
...
Connect the onchange listener for the Router
2022-01-27 17:01:32 -05:00
Jonathan Kelley
22308eb26a
fix: custom protocol receiver type
2022-01-27 17:00:40 -05:00
Jonathan Kelley
430cde7068
feat: default asset server
2022-01-27 16:36:17 -05:00
Jonathan Kelley
bd1535a0ed
feat: use_coroutine happily compiles
2022-01-26 02:29:42 -05:00
Jonathan Kelley
aef414ac0f
wip: use_coroutine new behavior
2022-01-26 01:44:15 -05:00
Jonathan Kelley
a8952a9ee8
fix: exampels
2022-01-25 21:41:40 -05:00
Jonathan Kelley
5c4bd0881b
Merge branch 'master' into jk/update-hooks
2022-01-25 16:19:12 -05:00
Jonathan Kelley
29ed7ebece
feat: connect an onchange listener
2022-01-25 15:06:37 -05:00
Jonathan Kelley
ae676d9d81
fix: webconfig should take &mut self
2022-01-24 20:25:32 -05:00
Jonathan Kelley
a239d2ba6a
docs: fix web doc example and use &mut for builders everywhere
2022-01-24 20:24:50 -05:00
Jonathan Kelley
bad4b773b7
feat: add "spawn" method
2022-01-24 15:21:56 -05:00
Jonathan Kelley
2e4f765932
tweak: drop hooks before resetting bump arena
2022-01-24 12:21:24 -05:00
Jonathan Kelley
1406c9020b
feat: add panic hook by default
2022-01-24 02:57:56 -05:00
Jonathan Kelley
d9a07ddddb
fix: provide_root_context on root scopes
2022-01-24 02:34:16 -05:00
Jonathan Kelley
43e78d56f7
fix: rustfmt
2022-01-22 14:55:19 -05:00
Jonathan Kelley
f66d17ca84
wip: pass form data between web and desktop
2022-01-22 14:53:59 -05:00
Rasmus Lövegren
5f4a72446e
Add gap and row_gap to style_trait_methods
2022-01-22 19:57:46 +02:00
Dave Rolsky
9e4ec43b1e
Fix various typos and grammar nits
...
I also removed all trailing whitespace from lines since I have Emacs
configured to highlight this.
2022-01-21 21:43:43 -06:00
mrxiaozhuox
281a075c6c
fix: clean file
2022-01-22 10:02:52 +08:00
Jonathan Kelley
95e93ed0bc
feat: remove dioxus id on non-event elements
2022-01-21 15:06:57 -05:00
Jonathan Kelley
997684a390
fix: update desktop intrepreter with browser open
2022-01-21 09:53:25 -05:00
Jonathan Kelley
b287a4cab3
Merge pull request #121 from DioxusLabs/jk/unify
...
feat: unify web and desktop interpreter with the same typescript codebase
2022-01-21 09:31:55 -05:00
Jonathan Kelley
c8d528b3b1
fix: proprogation of root context
2022-01-21 09:29:41 -05:00
Jonathan Kelley
70f2ef43db
Merge pull request #139 from DioxusLabs/jk/provide-context-any
...
feat: allow context providers to provide for any scope
2022-01-21 00:52:49 -05:00
Jonathan Kelley
d2bd175143
feat: allow providing context to the root component
2022-01-21 00:37:52 -05:00
Jonathan Kelley
50f90d889a
fix: bump to readd desktop click handling code
2022-01-21 00:21:23 -05:00
Jonathan Kelley
824defa2db
Merge branch 'master' into jk/unify
2022-01-21 00:16:45 -05:00
Jonathan Kelley
c1a5d4e11f
fix: ssr + hydration event listeners
2022-01-20 04:01:38 -05:00
Jonathan Kelley
887f69d5b4
Merge pull request #133 from mrxiaozhuox/master
...
The desktop app will default open link in browser
2022-01-18 23:09:40 -05:00
YuKun Liu
2073b400df
fix: check href
null
2022-01-18 23:25:45 +08:00
YuKun Liu
327f901548
fix: check href
null
2022-01-18 23:15:39 +08:00
YuKun Liu
8089023a6c
fix: prevent submit
default
2022-01-18 15:00:49 +08:00
YuKun Liu
46fd6ac345
feat: link open in browser
2022-01-18 14:57:41 +08:00
YuKun Liu
62b637f8b0
fix: error pattern
2022-01-18 14:54:48 +08:00
YuKun Liu
f006f50317
feat: move rpc
to handler
2022-01-18 14:52:14 +08:00
Jonathan Kelley
8d3ac3ff14
Merge pull request #107 from autarch/autarch/half-assed-router
...
A partial implementation of the router and associated bits
2022-01-18 00:01:34 -05:00
Jonathan Kelley
174d287062
wip: extract to rsx module
2022-01-17 23:02:36 -05:00
YuKun Liu
9e04ce5342
feat: open_browser
bool attribute
2022-01-18 09:32:27 +08:00
YuKun Liu
5233ee97d9
fix: format code
2022-01-18 09:20:36 +08:00
YuKun Liu
c737c424b0
feat: link open in browser
2022-01-18 09:19:58 +08:00
YuKun Liu
a0f60152bc
feat: link open in browser
2022-01-18 09:19:12 +08:00
Dave Rolsky
64080588d0
Add a warning when Link it called outside of a Router context
2022-01-17 15:52:01 -06:00
Jonathan Kelley
abfac0d59b
wip: move macro lib out of proc macro crate
2022-01-17 16:37:44 -05:00
Jonathan Kelley
5bce294a86
Merge pull request #127 from DioxusLabs/jk/handler-tweak
...
fix: allow eventhandler to derive default
2022-01-16 21:30:34 -05:00
Jonathan Kelley
58839f47ba
update: modify usestate to be borrowed
2022-01-16 15:56:48 -05:00
Jonathan Kelley
47bc4e4a44
feat: add "optional" flag for props
2022-01-16 15:27:41 -05:00
Jonathan Kelley
036a0ff49a
docs: add comments for the Handler
2022-01-16 15:13:31 -05:00
Jonathan Kelley
e47ead5347
fix: allow eventhandler to derive default
2022-01-15 20:17:48 -05:00
Dave Rolsky
9b282d877b
Don't expect all components to have a scope in ScopeArena.ensure_drop_safety
...
Not all components will be mounted when using a Router, so we cannot assume
all components have a scope.
2022-01-14 15:40:01 -06:00
Dave Rolsky
81c094ed29
Fix handling of re-renders in the Router
...
Previously the router just stored a `root_found` boolean after it picked a
route. But on re-render it would just always return false from `should_render`
if this was true. This just aborted routing after a future resolved (or
anything else that triggered a re-render).
Now we store the matching ScopeId and check that against our routes in a
re-render so we actually do re-render the matching route.
2022-01-14 14:55:12 -06:00
Jonathan Kelley
05331ddd80
feat: wire up both desktop and web
2022-01-13 22:51:01 -05:00
Dave Rolsky
e06eac1ce5
More WIP router implementation
2022-01-13 12:26:49 -06:00
Dave Rolsky
c9408da731
Implement UseRoute segment method
...
This relies on the RouterService to capture path params when it does path
matching.
2022-01-13 12:21:06 -06:00
Dave Rolsky
f8a7e1cd82
Implement router matching for path parameters
...
We don't want to have the router just always match paths as exact strings. If
a path contains a parameter like "/thing/:id" then the ":id" portion of the
route should match _any_ string, not a literal ":id".
2022-01-13 12:21:06 -06:00
Dave Rolsky
3c6142fb9d
Commit WIP on router
...
There are a few different changes in here that probably need to be picked
apart. I'm sure much of this is wrong.
* Fix missing `dyn` that compiler complained about in router.rs
* Make UseRoute store a `Rc<RouterService>` rather than a string so we can get
information out of the router like current location.
* Implement `UseRoute`'s nth_segment and last_segment methods. I changed the
return type to a String because of the above.
* Remove some unused imports in platform/mod.rs and service.rs
* Implement the `use_route` fn. It panics if called outside a Router { } (I
think). I think that makes sense.
* Add a `current_location` method to `RouterService` that returns the current
location. I needed this both for the `UseRoute` implementation and _also_ so I
could get at this in my webapp code. I think having some way to get this will
be useful for others, whether or not this exact API is used. In my case, I
want to compare the current path to the `to` path of a `Link` so I can use a
different class for that `Link` if it is the currently active page.
2022-01-13 12:21:06 -06:00
Dave Rolsky
3a5b417ad1
Add more trace messages to the RouterService code
...
I was trying to debug some issues with my routes and this additional tracing
was quite helpful.
2022-01-13 12:21:06 -06:00
Dave Rolsky
d367e0f89f
Fix typo in RouterService struct's "registered_routes" field name
...
This was "registerd_routes", missing an "e".
2022-01-13 12:21:06 -06:00
Dave Rolsky
e22ba5b1e5
Add title prop to Link
...
Every element can have a title, but it's particularly useful on links, so I
think making it an explicit option is worthwhile.
2022-01-13 12:21:06 -06:00
Jonathan Kelley
10db6ad65b
wip: web now links against the js interprter code
2022-01-12 08:57:42 -05:00
Jonathan Kelley
5bf6c96f9f
feat: setup a typescript build
2022-01-12 07:34:37 -05:00
Jonathan Kelley
ca0dd4aa71
Merge pull request #95 from DioxusLabs/jk/filedragindrop
...
File Drag and Drop support
2022-01-10 23:19:36 -05:00
Jonathan Kelley
0369fe72fb
Merge pull request #111 from DioxusLabs/jk/props-attrs
...
Flatten optional prop attributes
2022-01-10 17:11:08 -05:00
Jonathan Kelley
6bc45b1c50
fix: clippy
2022-01-10 13:00:23 -05:00
Jonathan Kelley
bad36162af
fix: wry pathing
2022-01-10 12:57:43 -05:00
Jonathan Kelley
9ae981a1af
wip: drag and drop support
2022-01-10 12:57:39 -05:00
Jonathan Kelley
20a29409b2
Merge pull request #113 from DioxusLabs/jk/desktop-cursor-jump
...
fix: cursor jumping in desktop inputs
2022-01-10 12:20:13 -05:00
Sven Assmann
007d06d602
feat(events:focus): add missing onfocusin
event
2022-01-10 18:08:29 +01:00
Jonathan Kelley
eb138848ec
feat: also hide placeholder node
2022-01-10 12:06:55 -05:00
Jonathan Kelley
be614e6535
fix: cursor jumping and use set instead of lsit
2022-01-10 12:04:54 -05:00
Sven Assmann
9849f68f25
feat(example:todomvc): add editing support
...
- implement "onfocusout" handler
- set autofocus
- handle enter, escape and tab on a todo item
- make the `<pre>` element between todo list items of margin 0 to be unnoticable
2022-01-10 14:46:23 +01:00
Jonathan Kelley
d2372717bd
feat: flatten props attrs
2022-01-10 02:57:03 -05:00
Jonathan Kelley
255f58af63
fix: ssr respects bool attrs
2022-01-10 01:32:32 -05:00
Jonathan Kelley
f4132d1874
Merge pull request #108 from DioxusLabs/jk/fstring-component-fields
...
Fix: string formatting detection in component fields
2022-01-10 01:20:58 -05:00
Jonathan Kelley
90abd9c9a0
fix: detection of f-string formatting in components
2022-01-10 01:20:03 -05:00
Jonathan Kelley
44d7b32992
feat: publish cli
2022-01-09 00:23:58 -05:00
Jonathan Kelley
29bf424b09
Merge pull request #101 from alexkirsz/ci
...
CI: Enable clippy
2022-01-08 20:28:10 -05:00
YuKun Liu
92561612c7
fix: format code
2022-01-09 02:25:11 +08:00
YuKun Liu
8f4aa84f1a
feat: bool attr white list
2022-01-09 02:02:23 +08:00
Alexandre Kirszenberg
b6903bf558
Enable clippy
2022-01-08 16:35:26 +01:00
Jonathan Kelley
b804c691d5
Release 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:30:37 -05:00
Jonathan Kelley
cd0dcacaf2
Release dioxus-desktop v0.1.5
2022-01-08 02:30:03 -05:00
Jonathan Kelley
a36dab7f45
Release 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:28:25 -05:00
Jonathan Kelley
16d73b240f
Release dioxus-core v0.1.7
2022-01-08 02:27:48 -05:00
Jonathan Kelley
db0a5bd6ec
Release dioxus-core-macro v0.1.6
2022-01-08 02:26:29 -05: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
21232285d9
fix: add exclusion list
2022-01-08 02:14:05 -05:00
Jonathan Kelley
8d685f40b7
feat: handle bool attrs properly
2022-01-08 02:09:02 -05:00
Jonathan Kelley
9dff700c22
feat: enable prevent_default everywhere
2022-01-07 21:56:12 -05:00
JtotheThree
45ebcf6f0e
form prevent_default
2022-01-07 20:01:52 -06:00
Jonathan Kelley
d11f322f55
docs: add title to doc comment
2022-01-07 12:12:33 -05:00
Jonathan Kelley
be9f1a52ad
docs: better document the EventHandler
type
2022-01-07 12:12:13 -05:00
Jonathan Kelley
c439b0ac7e
fix: component pass thru events
2022-01-07 11:51:25 -05:00
Jonathan Kelley
211d44d363
Merge pull request #84 from DioxusLabs/jk/windows-lag
...
fix: windows and gtk startup lag
2022-01-07 10:52:28 -05:00
Jonathan Kelley
cdc2d8ec6d
Merge pull request #80 from DioxusLabs/jk/router2dotoh
...
feat: allow use_ref to be cloned into async and add support for for_async
2022-01-07 02:23:19 -05:00
Jonathan Kelley
175a6a199c
wip: clear warnigns
2022-01-07 02:07:10 -05:00
Jonathan Kelley
fd911584dc
wip: remove lag by forcing update
2022-01-07 02:05:14 -05:00
Jonathan Kelley
34b0cb500b
Merge pull request #79 from DioxusLabs/jk/better_rehydration
...
Feat: Improve rehydration by using the VDom directly.
2022-01-07 01:02:14 -05:00
Jonathan Kelley
59f8b49fb6
Merge branch 'master' into jk/router2dotoh
2022-01-07 01:01:26 -05:00
Jonathan Kelley
a890f397c4
feat: allow use_ref to be cloned into callbacks
2022-01-07 00:56:43 -05:00
Jonathan Kelley
c9aaa96432
Merge pull request #78 from higumachan/patch-1
...
Fix typo in document
2022-01-07 00:49:25 -05:00
Jonathan Kelley
c6e917c4a0
tweak: add palceholder as comment content
2022-01-07 00:37:28 -05:00
Jonathan Kelley
b3a774b284
tweak: always add spacing comments between textnodes
2022-01-07 00:37:04 -05:00
Jonathan Kelley
dbb6e9b4fe
fix: lastnodewastext in ssr
2022-01-07 00:36:13 -05:00
Jonathan Kelley
bbb6ee10de
feat: make hydration more robust
2022-01-07 00:33:09 -05:00
Yuta Hinokuma
a17827ffaa
fix typo in document
2022-01-07 13:36:50 +09:00
Dave Rolsky
51c177be9e
Fix typo "misisng" that occurred in several error messages
2022-01-06 16:18:10 -06:00
Dave Rolsky
706b0e21a5
Fix reference to "html!" macro in "rsx!" macro docs
2022-01-06 10:44:05 -06:00
Jonathan Kelley
4aadec1e30
fix: ci and bug in setter
2022-01-05 22:15:19 -05:00
Jonathan Kelley
bd341f5571
fix: tests
2022-01-05 17:30:12 -05:00
Jonathan Kelley
e2a6454527
chore: switch to log tracing
2022-01-05 16:36:42 -05:00
Jonathan Kelley
427b126bc1
feat: add prevent default attribute and upgrade router
2022-01-05 16:34:24 -05:00
Jonathan Kelley
cb2782b4bb
wip: memoize dom in the prescence of identical components
2022-01-05 00:27:22 -05:00
Jonathan Kelley
7cf15ee4e8
publish: include desktop fixes
2022-01-03 21:36:43 -05:00
Jonathan Kelley
be2d6876ab
Merge branch 'master' into jk/windows-desktop
2022-01-03 20:00:23 -05:00
Jonathan Kelley
ada24e7c4e
wip: try to fix pathing
2022-01-03 19:59:13 -05:00
Jonathan Kelley
4ea5c990d7
publish: new versions of everything
2022-01-03 19:44:04 -05:00
Jonathan Kelley
4f92ba4160
wip: bump all versions
2022-01-03 19:32:27 -05:00
Jonathan Kelley
2481cd05c2
fix: attempt to fix ice
2022-01-03 17:20:22 -05:00
Jonathan Kelley
b3b4c580df
wip: bump versions
2022-01-03 14:07:22 -05:00
Jonathan Kelley
b96491fe16
wip: bump mobile
2022-01-03 14:04:31 -05:00
Jonathan Kelley
54103da019
publish: bump desktop version
2022-01-03 14:03:17 -05:00
Jonathan Kelley
95f01aee44
publish: mobile
2022-01-03 13:40:01 -05:00
Jonathan Kelley
99d6409f7a
publish: bump mobile
2022-01-03 13:38:56 -05:00
Jonathan Kelley
3de776c42a
docs: fix the reference code
2022-01-03 13:26:15 -05:00
Jonathan Kelley
a2317bf5b0
publish: ssr
2022-01-03 02:23:26 -05:00
Jonathan Kelley
df168d02a2
publish: fix hooks docs
2022-01-03 02:21:56 -05:00
Jonathan Kelley
eab8422e4f
publish: bump version
2022-01-03 02:21:05 -05:00
Jonathan Kelley
c606f92fa8
publish: hooks
2022-01-03 02:20:32 -05:00
Jonathan Kelley
d78815103d
wip: remove hooks warnigns
2022-01-03 02:20:11 -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
7abb3cc79c
publish: dioxus web
2022-01-03 02:15:39 -05:00
Jonathan Kelley
c0cd50b1d3
publish: dioxus web
2022-01-03 02:15:34 -05:00
Jonathan Kelley
f9b9bb9c0c
publish: update core, core-macro, and html
2022-01-03 02:13:14 -05:00
Jonathan Kelley
06276edd0d
feat: eanble bubbling
2022-01-03 02:11:26 -05:00
Jonathan Kelley
d84fc05386
feat: plug in bubbling
2022-01-03 02:06:42 -05:00
Jonathan Kelley
a95dead76d
formatting: run cargo fmt
2022-01-03 01:20:05 -05:00
Jonathan Kelley
75fa7b4aa6
fix: make tests pass
2022-01-03 01:12:39 -05:00
Jonathan Kelley
420a30e5d4
feat: overhaul examples and clean things up
2022-01-03 00:42:17 -05:00
Jonathan Kelley
cafb7df736
docs: remove all usages of static closure syntax and update readme
2022-01-02 18:35:38 -05:00
Jonathan Kelley
d1560450ba
wip: remove runner on hook and then update docs
2022-01-02 02:15:04 -05:00
Jonathan Kelley
4c85bcfdc8
awesome: arbitrary expressions excepted without braces
2021-12-30 03:14:47 -05:00
Jonathan Kelley
14961023f9
wip: polish some more things
2021-12-29 21:28:28 -05:00
Jonathan Kelley
2d58d380be
publish: get web ready gto publish
2021-12-29 13:37:25 -05:00
Jonathan Kelley
639f9f5322
publish: bump macro crate
2021-12-29 13:31:52 -05:00
Jonathan Kelley
42c6d1772b
publish: fix documentation page
2021-12-29 13:30:48 -05:00
Jonathan Kelley
18f1fa4637
publish: bump html crate
2021-12-29 13:30:07 -05:00
Jonathan Kelley
ddfa2bac3f
publish: bump core version
2021-12-29 13:28:53 -05:00
Jonathan Kelley
8f9a3281e7
wip: add more svg elements
2021-12-29 11:17:39 -05:00
Jonathan Kelley
ad4a0eb319
wip: add more svg elements, update readme
2021-12-29 00:56:53 -05:00
Jonathan Kelley
944b3a8bc5
wip: clean up examples and demo list
2021-12-29 00:10:36 -05:00
Jonathan Kelley
3dc0e59876
fix: readme and examples syntax
2021-12-28 23:48:25 -05:00
Jonathan Kelley
a4f280d163
feat: more API updates
2021-12-28 23:20:01 -05:00
Jonathan Kelley
b3ac2ee3f7
wip: upgrade hooks
2021-12-27 15:03:43 -05:00
Jonathan Kelley
c0e0196a67
docs: update the docs
2021-12-26 14:22:40 -05:00
Jonathan Kelley
c7d001cbb4
wip: rip out unsafe task engine
2021-12-26 14:22:30 -05:00
Jonathan Kelley
cda759c659
examples: upgrade to new version of dioxus core.
...
also add the inline_props macro
2021-12-25 17:18:05 -05:00
Jonathan Kelley
21e00c114e
chore: continue to consolidate
2021-12-21 01:11:27 -05:00
Jonathan Kelley
fa106be1f5
wip: clean it up a bit
2021-12-21 00:58:14 -05:00
Jonathan Kelley
b997b8ebbb
feat: enable children properly
2021-12-21 00:46:10 -05:00
Jonathan Kelley
78d9056e35
feat: it works with a new bump each time!!
2021-12-20 23:31:33 -05:00
Jonathan Kelley
e2e4d431e1
wip: adjust memoization
2021-12-20 22:33:13 -05:00
Jonathan Kelley
934de21dd6
wip: miri stress tets
2021-12-18 23:03:59 -05:00
Jonathan Kelley
1c516aba6a
chore: adjust semantics of placeholders and fragments
2021-12-18 15:49:30 -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
2b928372fb
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.1
2021-12-15 16:07:09 -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
58106a5529
fix: router version
2021-12-15 15:59:02 -05:00
Jonathan Kelley
0846d93d41
wip: bump versions
2021-12-15 15:58:20 -05:00
Jonathan Kelley
4de16c4779
docs: update local examples and docs to support new syntaxes
2021-12-15 15:56:53 -05:00
Jonathan Kelley
e495b09bf1
docs: fix table
2021-12-14 23:01:40 -05:00
Jonathan Kelley
3ddf395772
wip: docs
2021-12-14 22:59:34 -05:00
Jonathan Kelley
ded9696930
wip: fix ssr
2021-12-14 22:48:20 -05:00
Jonathan Kelley
2fd56e7619
wip: remove portals completely
2021-12-14 21:46:19 -05:00
Jonathan Kelley
8daf7a6ed8
wip: go back to noisy lifetime solution
2021-12-14 02:27:59 -05:00
Jonathan Kelley
0545d27182
wip: make warnings go away
2021-12-13 00:16:05 -05:00
Jonathan Kelley
597a0456f5
wip: update hooks
2021-12-13 00:14:47 -05:00
Jonathan Kelley
96b3d56e09
feat: move back to combined cx/props
2021-12-13 00:06:17 -05:00
Jonathan Kelley
e6c6bbdc1e
polish: clean up the core crate
2021-12-12 19:47:13 -05:00
Jonathan Kelley
1e4a599d14
wip: rename fc to component
2021-12-09 21:19:31 -05:00
Jonathan Kelley
8814977eee
wip: docs
2021-11-30 22:48:05 -05:00
Jonathan Kelley
52c7154897
fix: really big bug around hooks
2021-11-29 11:10:40 -05:00
Jonathan Kelley
36d89beb34
wip: rename
2021-11-28 16:25:42 -05:00
Jonathan Kelley
93d4b8ca7c
wip: some docs and suspense
2021-11-23 15:53:57 -05:00
Jonathan Kelley
bab21a0aa1
wip: updates to router
2021-11-22 15:22:42 -05:00
Jonathan Kelley
a5f05d73ac
wip: docs and router
2021-11-19 00:49:04 -05:00
Jonathan Kelley
8bf57dc21d
chore: polish
2021-11-16 13:09:41 -05:00
Jonathan Kelley
25a8411485
wip: better desktop support
2021-11-16 01:25:38 -05:00
Jonathan Kelley
19df1bda10
feat: bubbling
2021-11-15 09:49:01 -05:00
Jonathan Kelley
9bd56ee499
wip: update readme
2021-11-12 16:06:33 -05:00
Jonathan Kelley
55e6dd9701
feat: wire tasks up
2021-11-12 01:36:33 -05:00
Jonathan Kelley
9d8c5ca5ab
feat: it properly bubbles
2021-11-11 23:55:57 -05:00
Jonathan Kelley
11757ddf61
feat: fake bubbling
2021-11-11 22:18:16 -05:00
Jonathan Kelley
f2234068ba
feat: events bubble now
2021-11-11 22:07:38 -05:00
Jonathan Kelley
b6262edd53
wip: bubbling reserves nodes
2021-11-11 21:50:08 -05:00
Jonathan Kelley
a21020ea57
wip: bubbling in progress
2021-11-11 21:34:20 -05:00
Jonathan Kelley
8acdd2ea83
feat: it compiles once more
2021-11-11 16:36:51 -05:00
Jonathan Kelley
74c6211408
feat: should be functional across the boar
2021-11-11 12:06:15 -05:00
Jonathan Kelley
c10c1f418b
feat: wire up linked nodes
2021-11-11 11:49:07 -05:00
Jonathan Kelley
fd93ee89c1
feat: upgrade syntax
2021-11-10 17:09:52 -05:00
Jonathan Kelley
574d7fdb9e
wip: remove scopechildren in favor of elements directly
2021-11-09 14:36:26 -05:00
Jonathan Kelley
b9fc5fc251
wip: move hooklist into scope
2021-11-09 12:18:45 -05:00
Jonathan Kelley
d2f0547692
wip: move testdom methods into virtualdom
2021-11-09 12:10:11 -05:00
Jonathan Kelley
f2e343c154
chore: cleanup src
2021-11-09 02:16:25 -05:00
Jonathan Kelley
77686ba329
fix: it compiles again
2021-11-09 02:11:44 -05:00
Jonathan Kelley
fffc7ea061
wip: working on re-enabling components
2021-11-07 22:45:41 -05:00
Jonathan Kelley
15c31d545a
wip: fix rebuild
2021-11-07 22:36:57 -05:00
Jonathan Kelley
2559740463
wip: clean up, use old approach to components
2021-11-07 20:59:09 -05:00
Jonathan Kelley
289d2f2518
wip: a few things left, slme cleanup
2021-11-07 09:58:19 -05:00
Jonathan Kelley
f33510b13f
wip: dst drops properly
2021-11-07 01:57:13 -05:00
Jonathan Kelley
62ed9208a4
wip: dst nodes leak but work
2021-11-07 01:49:53 -05:00
Jonathan Kelley
464b457b80
wip: move more stuff out
2021-11-07 01:07:42 -05:00
Jonathan Kelley
e4cda7c2cb
wip: remove bumpframe
2021-11-07 01:01:22 -05:00
Jonathan Kelley
fd0c384dac
wip: it compiles cleanly
2021-11-07 00:06:00 -04:00
Jonathan Kelley
059294ab55
wip: more changes to scheduler
2021-11-06 23:23:56 -04:00
Jonathan Kelley
2933e4bc11
wip: major cleanups to scheduler
2021-11-06 23:11:17 -04:00
Jonathan Kelley
d96276a715
wip: no more lifetimes
2021-11-06 21:07:01 -04:00
Jonathan Kelley
857c92f7f0
wip: compiling again with runtime safety
2021-11-06 20:59:46 -04:00
Jonathan Kelley
95bd17e38f
wip: more raw ptrs
2021-11-05 18:02:44 -04:00
Jonathan Kelley
b8d98698c6
wip: remove resource pool in favor of raw ptrs
2021-11-05 17:15:59 -04:00
Jonathan Kelley
70b983d090
wip: consolidation, simplification
2021-11-05 16:28:08 -04:00
Jonathan Kelley
b56ea6c9a9
wip: work on scheduler, async, coroutines, and merge scope into context
2021-11-03 19:55:02 -04:00
Jonathan Kelley
1e6e5e611b
wip: move examples around
2021-11-03 15:13:50 -04:00
Jonathan Kelley
d298b626d3
wip: add router
2021-11-03 00:35:56 -04:00
Jonathan Kelley
9874f342e2
docs: more docs
2021-11-01 18:38:09 -04:00
Jonathan Kelley
5a21493fb7
wip: remove send requirement on root props
2021-11-01 14:03:14 -04:00
Jonathan Kelley
2cf90b6903
feat: pull children out of component definition
2021-11-01 13:32:01 -04:00
Jonathan Kelley
f438bbcfd2
wip: move children onto scope
2021-11-01 03:49:32 -04:00
Jonathan Kelley
d1b294fff0
polish: move debugging virtualdom into its own feature
2021-11-01 03:35:26 -04:00
Jonathan Kelley
9c1343610b
wip: clean up using new children syntax
2021-11-01 03:29:50 -04:00
Jonathan Kelley
d4192d0de2
wip: implement dst magic
2021-11-01 03:13:31 -04:00
Jonathan Kelley
3e07214272
wip: implement lazy nodes properly
2021-11-01 02:41:23 -04:00
Jonathan Kelley
7b97e009ec
wip: remove cx.children. start to move towards a "children" field
2021-11-01 02:22:08 -04:00
Jonathan Kelley
6b2645fd80
feat: improve FC handling to allow lifetimes of parent
2021-10-30 21:07:47 -04:00
Jonathan Kelley
f70b5b4e4a
wip: try to get lifetimes passed in properly
2021-10-30 20:28:58 -04:00
Jonathan Kelley
27d891934a
fix: use annotation method from rust/58052 to fix closure lifetimes
2021-10-30 18:23:28 -04:00
Jonathan Kelley
9ee2bfb010
wip: worked backwards a bit and got it slightly figured out
2021-10-30 17:11:15 -04:00
Jonathan Kelley
ba9e1dbb8f
fix: messed up how lifetimes worked, need to render once per component
2021-10-29 21:43:21 -04:00
Jonathan Kelley
0e9d5fc530
wip: move everything over to a stack dst
2021-10-29 17:12:30 -04:00
Jonathan Kelley
54d050cf89
docs: strong improvmenets, first major section done
2021-10-29 00:28:23 -04:00
Jonathan Kelley
db0004758c
Merge branch 'master' into jk/remove_node_safety
2021-10-28 17:09:51 -04:00
Jonathan Kelley
60d6eb204a
Merge branch 'master' of https://github.com/jkelleyrtp/dioxus
2021-10-28 17:08:10 -04:00
Jonathan Kelley
9b5f82af7d
docs: start on components
2021-10-27 22:32:12 -04:00
Jonathan Kelley
e1c858dda5
chore: clippy happy on macro
2021-10-27 17:09:22 -04:00
Jonathan Kelley
339e450027
wip: fix some bugs around the rsx macro
2021-10-27 16:58:20 -04:00
Jonathan Kelley
9f7eb0f600
wip: remove HTML macro and add custom fields
2021-10-27 16:41:00 -04:00
Jonathan Kelley
a42711a324
wip: docs
2021-10-27 14:54:49 -04:00
Jonathan Kelley
fda2ebc2a2
feat: improve safety
2021-10-25 15:05:17 -04:00
Alexandre Kirszenberg
5747e00b27
Various typos/grammar/rewording
2021-10-24 19:30:36 +02:00
Jonathan Kelley
601078f9cf
fix: desktop and mobile
2021-10-22 01:16:39 -04:00
Jonathan Kelley
84fd0c6162
feat: cleanuup
2021-10-20 01:26:52 -04:00
Jonathan Kelley
fcc6738f17
chore: remove bump
2021-10-19 22:40:43 -04:00
Jonathan Kelley
79503f15c5
feat: full html support
2021-10-19 22:39:27 -04:00
Jonathan Kelley
e86c1d8972
chores: slim down tokio
2021-10-19 12:09:35 -04:00
Jonathan Kelley
83dd49d890
chores: slim deps and upgrade docs
2021-10-19 12:09:23 -04:00
Jonathan Kelley
cfc24f5451
feat: support innerhtml
2021-10-18 18:07:19 -04:00
Jonathan Kelley
d4dcb17567
wip: clean up and add lazy renderer
2021-10-18 17:46:31 -04:00
Jonathan Kelley
63568c546c
feat: add more to ssr renderer
2021-10-18 12:53:56 -04:00
Jonathan Kelley
f49244344c
polish: listen to clippy
2021-10-17 20:18:30 -04:00
Jonathan Kelley
9726a065b0
feat: massage lifetimes
2021-10-16 17:37:28 -04:00
Jonathan Kelley
16dbf4a6f8
wip: book documentation
2021-10-16 17:04:28 -04:00
Jonathan Kelley
460783ad54
docs: lnks to projects
2021-10-14 12:46:50 -04:00
Jonathan Kelley
2403990ea3
docsd: more example images
2021-10-12 02:26:06 -04:00
Jonathan Kelley
285b33dd38
docs: update readme
2021-10-12 02:00:09 -04:00
Jonathan Kelley
478255f40d
fix: all the bugs!
2021-10-11 18:40:00 -04:00
Jonathan Kelley
4a4c7afca7
feat: shared state mechanisms
2021-10-11 15:35:20 -04:00
Jonathan Kelley
da4423c141
bugs: fix web list issue
2021-10-10 22:27:08 -04:00
Jonathan Kelley
4a0bb8cf84
wip: portals
2021-10-08 16:01:13 -04:00
Jonathan Kelley
1f22a06a36
wip: event system
2021-10-07 16:18:54 -04:00
Jonathan Kelley
efd0e9b564
feat: support desktop more completely
2021-10-05 03:37:15 -04:00
Jonathan Kelley
a2b0c50a34
feat: add update functionality to useref
2021-10-04 10:22:20 -04:00
Jonathan Kelley
5502429626
feat: desktop functioning well
2021-10-04 02:54:20 -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
71f0df6374
publish: ssr
2021-09-24 22:15:50 -04:00
Jonathan Kelley
4a5041c590
publish: fix typo
2021-09-24 21:49:03 -04:00
Jonathan Kelley
7bdad1e2e6
publish: move macro crate out of core
2021-09-24 21:46:23 -04:00
Jonathan Kelley
10d335ae31
publish: remove wildcards
2021-09-24 21:35:32 -04:00
Jonathan Kelley
ba8ced573c
publish: remove wildcard
2021-09-24 20:57:52 -04:00
Jonathan Kelley
a5f82be433
polish
2021-09-24 20:55:41 -04:00
Jonathan Kelley
740cbd1f9d
publish: html package
2021-09-24 20:54:50 -04:00
Jonathan Kelley
51e20052d9
polish: and publish
2021-09-24 20:53:58 -04:00
Jonathan Kelley
6587224deb
polish: remove warnings on core macero
2021-09-24 20:51:48 -04:00
Jonathan Kelley
b43a964f98
polish: clean up to web
2021-09-24 20:47:59 -04:00
Jonathan Kelley
823adc0834
polish: clean up the web module
2021-09-24 20:11:30 -04:00
Jonathan Kelley
04d16b41dc
polish: exampels
2021-09-24 02:37:51 -04:00
Jonathan Kelley
f07e345eb2
examples: slightly simplify crm
2021-09-24 01:26:16 -04:00
Jonathan Kelley
718fa14b45
feat: a cute crm
2021-09-24 01:24:03 -04:00
Jonathan Kelley
1a2f91ed91
polish: examples
2021-09-24 00:05:56 -04:00
Jonathan Kelley
4b6ca05f2c
wip: performance looks good, needs more testing
2021-09-22 04:11:27 -04:00
Jonathan Kelley
84b5ddded5
feat: select figured out
2021-09-22 03:22:15 -04:00
Jonathan Kelley
d7940aa2ac
feat: proper handling of events
2021-09-22 02:44:01 -04:00
Jonathan Kelley
c7d2d9d050
wip: fix invalid is_empty bug
2021-09-22 01:37:45 -04:00
Jonathan Kelley
f15e1fa892
wip: broken diff
2021-09-22 01:29:14 -04:00
Jonathan Kelley
098d3821ed
wip: changes to scheduler
2021-09-22 01:25:28 -04:00
Jonathan Kelley
b32e2611e3
polish: clean up warnings
2021-09-21 18:13:09 -04:00
Jonathan Kelley
a2c7d17b05
feat: mvoe away from compound context
2021-09-21 13:42:52 -04:00
Jonathan Kelley
bfdcb20437
feat: transition to cx, props
2021-09-21 13:13:15 -04:00
Jonathan Kelley
f1cff845ce
wip: examples
2021-09-21 12:11:04 -04:00
Jonathan Kelley
adf202eab9
wip: more doc
2021-09-20 17:36:39 -04:00
Jonathan Kelley
34c3107418
wip: more docs
2021-09-20 16:49:36 -04:00
Jonathan Kelley
7978a17419
wip: bubbling
2021-09-20 12:32:21 -04:00
Jonathan Kelley
c16b92ee7e
wip: before scheduler simplify
2021-09-19 22:10:00 -04:00
Jonathan Kelley
9971ff215d
polish: change in cx to cx
2021-09-16 13:20:04 -04:00
Jonathan Kelley
0ded32e184
wip: reduce warnings
2021-09-14 00:58:33 -04:00
Jonathan Kelley
12afd2b0f2
wip: more polish on display
2021-09-13 19:07:15 -04:00
Jonathan Kelley
238677208e
wip: more polish on scopes
2021-09-13 18:59:07 -04:00
Jonathan Kelley
ff1398b943
wip: polish up some safety stuff and add suspense support in
2021-09-13 18:55:43 -04:00
Jonathan Kelley
79e8df26f5
wip: fix props update
2021-09-13 12:42:38 -04:00
Jonathan Kelley
5a09ec1610
wip: more clean up
2021-09-13 01:14:09 -04:00
Jonathan Kelley
8b3ac0b57c
perf: remove global allocation for props
2021-09-13 00:59:08 -04:00
Jonathan Kelley
369b36b2c6
wip: change around how deadline works
2021-09-09 21:01:38 -04:00
Jonathan Kelley
da8159190b
polish: tests and documentation
2021-09-09 20:58:48 -04:00
Jonathan Kelley
3f68be79ae
wip: documentation and badges
2021-09-07 18:25:57 -04:00
Jonathan Kelley
1a6b238829
wip: naming
2021-09-03 11:28:09 -04:00
Jonathan Kelley
725b4a1d7f
wip: fix some event stuff for web and core
2021-09-02 00:37:57 -04:00
Jonathan Kelley
dfe9f86bff
wip: garbage collection
2021-09-02 00:16:49 -04:00
Jonathan Kelley
958c02a26e
wip: working down warnings
2021-09-02 00:10:09 -04:00
Jonathan Kelley
a652090dc5
wip: add test_dom
2021-09-01 23:57:34 -04:00
Jonathan Kelley
44b4384961
wip: more scheduler work
2021-09-01 23:33:25 -04:00
Jonathan Kelley
1cd5e69712
wip: more work on scheduler
2021-09-01 23:22:34 -04:00
Jonathan Kelley
5c3dc0a874
wip: more work on rebuild
2021-09-01 15:52:38 -04:00
Jonathan Kelley
fac2e56ed6
feat: update root props
2021-09-01 15:45:53 -04:00
Jonathan Kelley
c321532a6c
feat: some docs, cleaning
2021-09-01 00:57:04 -04:00
Jonathan Kelley
acad9ca622
wip: web stuff
2021-08-31 12:28:57 -04:00
Jonathan Kelley
5cbdc571e3
more cleanup
2021-08-31 12:28:44 -04:00
Jonathan Kelley
9f99f46cfd
wip: more cleanup in scheduler
2021-08-27 09:56:49 -04:00
Jonathan Kelley
31702dbf87
feat: wire up resource pool
2021-08-27 09:53:26 -04:00
Jonathan Kelley
927b05f358
wip: cleanup public apis
2021-08-27 09:40:04 -04:00
Jonathan Kelley
8b0eb87c72
wip: refactor
2021-08-26 22:05:09 -04:00
Jonathan Kelley
9ad5e49654
wip: algo for scheduler finished
2021-08-26 17:05:28 -04:00
Jonathan Kelley
5f63eda294
wip: feeling goodish about scheduler
2021-08-26 03:33:38 -04:00
Jonathan Kelley
bcaa76a37f
wip: some structure
2021-08-26 02:41:30 -04:00
Jonathan Kelley
ac3a7b1fbc
wip: considering making vdom passed verywehre
2021-08-26 01:52:50 -04:00
Jonathan Kelley
d4d7114beb
wip: more work on scheduler
2021-08-25 17:17:44 -04:00
Jonathan Kelley
07efb6a1b6
wip: it compiles again
2021-08-25 17:09:16 -04:00
Jonathan Kelley
41cc42919d
wip: more overhaul on virtualevents
2021-08-25 16:40:18 -04:00
Jonathan Kelley
cef116aa3a
wip: more work on priority
2021-08-25 15:54:33 -04:00
Jonathan Kelley
05e960b6b0
wip: refactor to fix some ownership quirks
2021-08-25 12:42:50 -04:00
Jonathan Kelley
3bf19d8106
wip: more work on web
...
this commit adds complete event support for web-sys but with a few hole
2021-08-25 10:49:18 -04:00
Jonathan Kelley
59219b9ef2
wip: ricraf polyfill
2021-08-24 16:36:00 -04:00
Jonathan Kelley
8b0d04ce58
wip: ric_raf wired up
2021-08-24 16:29:10 -04:00
Jonathan Kelley
f457b71131
feat: rebuild doesn't return errors
2021-08-24 15:12:20 -04:00
Jonathan Kelley
df8aa77198
fix: append isnt backwards
2021-08-24 12:51:53 -04:00
Jonathan Kelley
cdcd8611e8
wip: it works but the page is backwards
2021-08-24 12:43:46 -04:00
Jonathan Kelley
a0a977a12d
wip: more test
2021-08-24 11:03:19 -04:00
Jonathan Kelley
0479252a5f
feat: keyed diffing
2021-08-24 10:01:01 -04:00
Jonathan Kelley
778baffb10
wip: it works?
2021-08-23 15:35:26 -04:00
Jonathan Kelley
082765f687
wip: refactor non_keyed diff
2021-08-23 13:41:47 -04:00
Jonathan Kelley
e6f56563bc
feat: tests and benchmarks
2021-08-23 13:15:57 -04:00
Jonathan Kelley
2d541eca64
wip: structure coming together and tests
2021-08-23 12:11:45 -04:00
Jonathan Kelley
16bfc6d248
wip: compiles again
2021-08-23 10:43:49 -04:00
Jonathan Kelley
db6d0184aa
feat: dedicated mutations module
2021-08-22 17:08:25 -04:00
Jonathan Kelley
1622f484b3
wip: basic creates working properly
2021-08-21 23:04:34 -04:00
Jonathan Kelley
24572b63de
wip: tests added for new iterative
2021-08-21 13:24:47 -04:00
Jonathan Kelley
2ce0752a9c
feat: fix compiling
2021-08-21 11:29:29 -04:00
Jonathan Kelley
0987760958
wip: moving over instructions
2021-08-20 11:39:13 -04:00
Jonathan Kelley
7b068202ce
wip: remove old create
2021-08-20 10:44:58 -04:00
Jonathan Kelley
64f289a61c
wip: back to vnode enum
2021-08-20 10:34:41 -04:00
Jonathan Kelley
9652ccdcf1
wip: move from recursive to iterative
2021-08-19 02:50:35 -04:00
Jonathan Kelley
f41cff571f
wip: working on async diff
2021-08-17 22:25:09 -04:00
Jonathan Kelley
882d69571d
wip: more work on scheduler
2021-08-15 10:13:03 -04:00
Jonathan Kelley
9d14faf62c
wip: scheduler skeleton
2021-08-10 12:16:49 -04:00
Jonathan Kelley
5965bee1d1
wip: more work on deadline, support immediates
2021-08-10 01:38:58 -04:00
Jonathan Kelley
97745c6a7f
wip: got the structure figured out!
2021-08-10 01:21:13 -04:00
Jonathan Kelley
85e2dc259a
wip: close on putting it all together
...
just gotta tie a bow
2021-08-10 00:29:53 -04:00
Jonathan Kelley
c1afeba1ef
wip: groundwork for noderefs
2021-08-09 17:09:33 -04:00
Jonathan Kelley
a44e9fcffa
wip: more work on jank free
2021-08-09 13:17:19 -04:00
Jonathan Kelley
1a323835c8
wip: on collaborative scheduling
2021-08-09 02:37:11 -04:00
Jonathan Kelley
fac42339c2
feat: mutations
2021-08-08 15:15:16 -04:00
Jonathan Kelley
f2334c17be
wip: bottom up dropping
2021-08-05 22:23:41 -04:00
Jonathan Kelley
687cda1b6d
feat: re-enable suspense
2021-07-30 22:14:06 -04:00
Jonathan Kelley
cfa0247cbb
wip: websys dom working properly
2021-07-30 17:04:04 -04:00
Jonathan Kelley
d717c22d9c
feat: keyed diffing!!
2021-07-30 16:07:42 -04:00
Jonathan Kelley
0a0be95c3e
wip: get keyed diffing compiling
2021-07-30 10:35:47 -04:00
Jonathan Kelley
1749eba8eb
feat: more and more sophisticated diff
2021-07-29 18:56:09 -04:00
Jonathan Kelley
d618092e9d
feat: a new vnode type for anchors
2021-07-29 18:04:09 -04:00
Jonathan Kelley
63a85e4865
wip: more work on bumpframe
2021-07-29 00:04:59 -04:00
Jonathan Kelley
49856ccd68
wip: making progress on diffing and hydration
2021-07-28 21:46:53 -04:00
Jonathan Kelley
e5c88fe3a4
feat: make hooks free-functions
2021-07-27 11:28:05 -04:00
Jonathan Kelley
f782e14211
feat: omg what a dumb mistake
2021-07-27 00:27:07 -04:00
Jonathan Kelley
4a0068f099
feat: bless up, no more segfaults
2021-07-26 12:14:48 -04:00
Jonathan Kelley
7dfe89c958
feat: wire up event delegator for webview
2021-07-24 02:52:05 -04:00
Jonathan Kelley
0a907b35c6
feat: fix some lifetime issues
2021-07-24 00:40:34 -04:00
Jonathan Kelley
dfaf5adee1
Feat: solve some issues regarding listeners
2021-07-24 00:29:23 -04:00
Jonathan Kelley
6084fbcd11
wip: move to slab
2021-07-23 17:03:51 -04:00
Jonathan Kelley
f644d7c441
wip: move things into a "shared" object
2021-07-23 10:27:43 -04:00
Jonathan Kelley
22f894e6b9
wip: more upgades to html parser
2021-07-22 02:06:49 -04:00
Jonathan Kelley
160d86abbe
wip: serious refactor with const generics
2021-07-21 22:55:04 -04:00
Jonathan Kelley
1745a44d94
wip: cleanup
2021-07-21 17:05:48 -04:00
Jonathan Kelley
6051b0ec86
wip: fill out the snippets
2021-07-20 19:03:49 -04:00
Jonathan Kelley
4a72b3140b
feat: amazingly awesome error handling
2021-07-18 12:39:32 -04:00
Jonathan Kelley
05c909f320
wip: some ideas
2021-07-18 03:54:42 -04:00
Jonathan Kelley
583fdfa561
docs: big updates to the reference
2021-07-16 16:11:25 -04:00
Jonathan Kelley
caf772cf24
wip: docs, html! macro, more
2021-07-16 00:27:06 -04:00
Jonathan Kelley
8f0bb5dc5b
chore: cleanup workspace
2021-07-15 18:40:12 -04:00
Jonathan Kelley
3bedcb93ca
feat: svgs working in webview
2021-07-15 12:18:11 -04:00
Jonathan Kelley
f14d4ef7c2
wip: fix styling for ssr
2021-07-15 11:06:52 -04:00
Jonathan Kelley
6aaad1c9ef
wip: heuristics engine
2021-07-15 04:17:45 -04:00
Jonathan Kelley
00231adfa2
feat: code quality improvements for core
2021-07-15 04:09:28 -04:00
Jonathan Kelley
37ed4bed8c
wip: more work on suspense and documentation
2021-07-15 03:38:09 -04:00
Jonathan Kelley
4837d8e741
feat: suspense!
2021-07-15 00:40:37 -04:00
Jonathan Kelley
de9f61bcf4
feat: more suspended nodes!
2021-07-14 23:18:02 -04:00
Jonathan Kelley
c52af221f7
wip: basic support for scheduled rendering
2021-07-14 18:19:51 -04:00
Jonathan Kelley
80e6c25698
feat: move over to push based mechanism
2021-07-14 17:39:26 -04:00
Jonathan Kelley
e7238762ae
feat: architecture document and edit list
2021-07-14 17:04:58 -04:00
Jonathan Kelley
abf47596bc
feat: it loads the doggos
2021-07-14 02:30:41 -04:00
Jonathan Kelley
3a57b94262
feat: task system works
...
but I broke the other things :(
2021-07-14 02:04:19 -04:00
Jonathan Kelley
84c3e9fcb1
wip: cargo fix
2021-07-13 16:54:07 -04:00
Jonathan Kelley
beceda511c
wip: cargo fix
2021-07-13 16:52:25 -04:00
Jonathan Kelley
fd03b9d252
wip: cargo fix
2021-07-13 16:49:22 -04:00
Jonathan Kelley
c7ca7c2273
wip: cargo fix
2021-07-13 16:48:47 -04:00
Jonathan Kelley
775e9e29b8
wip: cut down on errors
2021-07-13 16:48:11 -04:00
Jonathan Kelley
996247a164
wip
2021-07-13 15:34:12 -04:00
Jonathan Kelley
4091846934
feat: add aria
2021-07-13 00:56:39 -04:00
Jonathan Kelley
c79d9ae674
feat: buff up html allowed attributes
2021-07-12 23:44:20 -04:00
Jonathan Kelley
a05047d01e
wip: use the new structure
2021-07-12 18:19:27 -04:00
Jonathan Kelley
a85b8c4b6b
wip: apply formatting
2021-07-12 13:03:24 -04:00
Jonathan Kelley
fb0c6d2ea4
chore: remove unnecessary import
2021-07-12 11:03:35 -04:00
Jonathan Kelley
63bbc38f3f
wip: edit some css
2021-07-12 09:40:13 -04:00
Jonathan Kelley
68ed1c04e7
wip: ....sigh..... so the diffing algorithm is robust
...
but it's still not finished.
We need to re-enable the fancier keyed diffing versions some point (soon!).
2021-07-12 03:58:46 -04:00
Jonathan Kelley
ff0a3d1c83
wip: lots of changes to diffing
2021-07-12 02:23:46 -04:00
Jonathan Kelley
56e7eb83a9
wip: more examples
2021-07-11 19:31:07 -04:00
Jonathan Kelley
304259d818
wip: move examples around
2021-07-11 18:39:45 -04:00
Jonathan Kelley
269e81b0fd
example: ssr + tide
2021-07-11 17:24:47 -04:00
Jonathan Kelley
bbcb5a0234
feat: enable components in ssr
2021-07-11 15:17:55 -04:00
Jonathan Kelley
9abb0470b7
feat: static node infrastructure and ssr changes
2021-07-11 14:49:52 -04:00
Jonathan Kelley
975fa566f9
wip: more refactor for async
2021-07-09 12:47:41 -04:00
Jonathan Kelley
8cfc437bfe
wip: some project refactor
2021-07-09 11:54:07 -04:00
Jonathan Kelley
feab50f24a
wip: some work
2021-07-09 03:39:45 -04:00
Jonathan Kelley
58ab51a4e4
wip: more refactor
2021-07-09 01:42:26 -04:00
Jonathan Kelley
c811a8982c
wip: more refactor
2021-07-09 01:37:34 -04:00
Jonathan Kelley
9276fd7db7
wip: refactor
2021-07-09 01:36:18 -04:00
Jonathan Kelley
1cc1679a6b
feat: refactor out the hooks implementation
2021-07-09 01:26:15 -04:00
Jonathan Kelley
eb82051000
examples: webview and async
2021-07-08 23:25:27 -04:00
Jonathan Kelley
99d94b69ab
feat: move webview to wry
2021-07-08 12:01:31 -04:00
Jonathan Kelley
2547da36a0
wip: more examples
2021-07-08 10:17:51 -04:00
Jonathan Kelley
e4cdb645aa
feat: beaf up the use_state hook
2021-07-08 09:29:12 -04:00
Jonathan Kelley
7aec40d57e
feat: enable arbitrary body in rsx! macro
2021-07-07 18:17:00 -04:00
Jonathan Kelley
fd7933561f
chore: move CLI into its own "studio" app
2021-07-07 16:58:23 -04:00
Jonathan Kelley
98a09339fd
wip: move some examples around
2021-07-07 16:19:10 -04:00
Jonathan Kelley
cca7c5fc3a
wip: remove the scoped trait
2021-07-07 15:07:46 -04:00
Jonathan Kelley
36542b482f
wip: move the functions around a bit
2021-07-07 14:37:31 -04:00
Jonathan Kelley
a38a81e129
wip: fix issues with lifetimes
...
this commit fixes some lifetime issues regarding having to "move" data into the IntoVNode closure.
2021-07-07 13:51:55 -04:00
Jonathan Kelley
22e659c2bd
feat: namespaced attributes
...
this commit adds namespaced attributes. This lets us support attribute groups, and thus, inline styles.
This namespaced attribute stuff is only available for styles at the moment, though it theoretically could be enabled for any other attributes.
2021-07-06 23:04:33 -04:00
Jonathan Kelley
11f89e5d33
wip: more examples
2021-07-06 12:13:00 -04:00
Jonathan Kelley
904b26f711
feat: add edits back! and more webview support!
...
This commit adds a new type - the DomEdit - for serializing the changes made by the diffing machine. The architecture of how DomEdits fit into the cooperative scheduling is still TBD but it will allow us to build change lists without applying them immediately. This is more performant and allows us to only render parts of the page at a time.
This commit also adds more infrastructure around webview. Dioxus can now run on the web, generate static pages, run in the desktop, and run on mobile, with a large part of thanks to webview.
2021-07-05 18:37:15 -04:00
Jonathan Kelley
e8f29a8f8a
wip: enable more diffing
2021-07-05 01:11:49 -04:00
Jonathan Kelley
b5e5ef171a
feat: two calculator examples
2021-07-02 15:48:19 -04:00
Jonathan Kelley
d9e6d0925b
docs: examples
2021-07-02 01:30:52 -04:00
Jonathan Kelley
eb39b000d7
wip: example
2021-07-01 16:03:27 -04:00
Jonathan Kelley
952a91d540
wip
2021-07-01 14:14:59 -04:00
Jonathan Kelley
93900aac44
concept: integrate signals
2021-06-30 14:08:12 -04:00
Jonathan Kelley
7665f2c6cf
feat: move to slotmap
2021-06-29 22:44:21 -04:00
Jonathan Kelley
21685fbb16
wip: more work on diffing
2021-06-28 22:22:11 -04:00
Jonathan Kelley
f4fb5bb454
feat: integrate serialization and string borrowing
...
This commit adds lifetimes to the diff and realdom methods so consumers may borrow the contents of the DOM for serialization or asynchronous modifications.
2021-06-28 12:05:17 -04:00
Jonathan Kelley
9813f23cdf
wip: more work on diffing machine
2021-06-26 22:13:57 -04:00
Jonathan Kelley
ca3b80f069
wip: more work on diffing.
...
This commit is working on the diffing algorithm. We're *mostly* there but need to get fragments wired in and then keyed elements need to be re-implemented. For Dioxus core, this is the last major technical hurdle barring "fibers" (suspense) and attribute groups (inline styles).
2021-06-26 03:15:20 -04:00
Jonathan Kelley
895cc0142b
wip: stack-based "real child iterator"
2021-06-26 03:06:29 -04:00
Jonathan Kelley
0826fdfee1
docs: more docs
2021-06-26 02:05:20 -04:00
Jonathan Kelley
ea91fc984d
perf: refcell to cell for hookidx
2021-06-26 01:29:51 -04:00
Jonathan Kelley
81382e7044
chore: rename ctx to cx
2021-06-25 21:15:33 -04:00
Jonathan Kelley
daa9bd82c3
docs: more work on docs
2021-06-25 09:31:13 -04:00
Jonathan Kelley
7fbaf69cab
Docs: more examples and docs
2021-06-24 11:09:38 -04:00
Jonathan Kelley
f5683a2346
wip: docs
...
Worked a bit on adding more examples. Trying out a new "antipattern" example to show how *not* to use Dioxus.
2021-06-23 22:32:54 -04:00
Jonathan Kelley
9d7ee79826
feat: events work again!
2021-06-23 01:44:48 -04:00
Jonathan Kelley
73047fe956
feat: props memoization is more powerful
...
This commit solves the memoization , properly memoizing properties that don't have any generic parameters. This is a rough heuristic to prevent non-static lifetimes from creeping into props and breaking our minual lifetime management.
Props that have a generic parameter are opted-out of the `partialeq` requirement and props *without* lifetimes must implement partialeq. We're going to leave manual disabling of memoization for future work.
2021-06-22 17:20:54 -04:00
Jonathan Kelley
7102fe5f98
docs: add some more sources in the core implementation
2021-06-21 01:35:12 -04:00
Jonathan Kelley
cff0547f1a
wip: get diff compiling
...
Currently working through the normalization process. Occasionally, we want to iterate through all the nodes that we know have a real image in the dom. However, fragments and components don't directly have a mirror in the dom. This commit is exploring the concept of a custom iterator that explores every node in an array of nodes, returning only valid nodes which may be mounted to the dom. A big issue we're working through is heavily nested rootless nodes - something not terribly common but important nonetheless.
Inferno, React, and Preact all perform a mutative-form of normalization which alter the children list before comparing to the previous. Mostly, we're concerned about fragments in lists and heavily nested components that do not render real elements.
2021-06-21 00:52:37 -04:00
Jonathan Kelley
79127ea6cd
wip: moving to IDs
2021-06-20 02:16:42 -04:00
Jonathan Kelley
45ee803609
wip: moving to imperative method of dom
2021-06-20 01:52:32 -04:00
Jonathan Kelley
62ae5d3bb9
wip: rethinking stack machine
2021-06-19 20:31:25 -04:00
Jonathan Kelley
70cd46dbb2
docs: move around examples
2021-06-17 18:00:32 -04:00
Jonathan Kelley
b9ff95fa12
wip: start moving events to rc<event>
2021-06-16 23:37:55 -04:00
Jonathan Kelley
9222d8ece3
docs: more docs on recoil
2021-06-16 13:47:41 -04:00
Jonathan Kelley
318cac9767
Feat: tweak docs for atoms
2021-06-16 13:42:12 -04:00
Jonathan Kelley
3bc02ee7c4
Feat: more docs
2021-06-16 11:25:47 -04:00
Jonathan Kelley
36ea39ae30
Feat: rename recoil to atoms
2021-06-16 11:19:37 -04:00
Jonathan Kelley
47e896038e
wip: more work on updating syntad
2021-06-15 10:02:46 -04:00
Jonathan Kelley
517d7f1495
Chore: some cleanup and documentation
2021-06-10 01:01:53 -04:00
Jonathan Kelley
fe6938ceb3
wip: pre vnodes instead of vnode
2021-06-08 14:00:29 -04:00
Jonathan Kelley
e3d9db0847
wip: successfully building
2021-06-07 14:14:49 -04:00
Jonathan Kelley
7790750349
wip: merge in some code from the other branch
2021-06-05 23:47:54 -04:00
Jonathan Kelley
795a54a2e4
wip: new approach at direct access to vdom
...
This commit starts the process of merging scope arena
with the diff machine to give the diffing algorithm mutable
access to components. React and Preact mutate the dom
as they diff it which makes their implementations simpler
and cleaner. The goal here is to give access of scopes to
the diffing machine which can mutate the underyling
representation during diffing.
2021-06-05 23:38:51 -04:00
Jonathan Kelley
424a18137f
Wip: pre-diffmachine merge fork
2021-06-03 13:57:41 -04:00
Jonathan Kelley
69f5cc3802
docs: move into a fromjs tutorial
2021-06-03 12:02:46 -04:00
Jonathan Kelley
50c8b93aad
Feat: move the rsx macro around
2021-06-03 10:42:28 -04:00
Jonathan Kelley
1919f88f03
Feat: some docs
2021-06-02 11:07:30 -04:00
Jonathan Kelley
508c560320
Feat: massive changes to definition of components
...
This change switches back to the original `ctx<props>` syntax for
commponents. This lets lifetime elision to remove the need to match
exactly which lifetime (props or ctx) gets carried to the output. As
such, `Props` is currently required to be static. It *is* possible to
loosen this restriction, and will be done in the future, though only
through adding metadata about the props through the Props derive
macro. Implementing the IS_STATIC trait is unsafe, so the derive macro
will do it through some heuristics.
For now, this unlocks sharing vnodes from parents to children, enabling
pass-thru components, fragments, portals, etc.
2021-06-01 18:33:15 -04:00
Jonathan Kelley
c1fd848f89
WIP: move to static props
2021-05-31 18:55:56 -04:00
Jonathan Kelley
c5089ba3c5
wip: more progress on parity docs.
...
Placeholders in the rsx macro for future features.
2021-05-28 12:56:21 -04:00
Jonathan Kelley
4d5c528b07
Feat: dirty hack to enable send + sync on virtual dom
2021-05-28 00:28:09 -04:00
Jonathan Kelley
fe67ff9fa4
wip: doesnt share on thread
2021-05-27 17:57:59 -04:00
Jonathan Kelley
ba975410f9
wip: parity document
2021-05-26 11:22:44 -04:00
Jonathan Kelley
ee67654f58
wip: recoil
2021-05-26 01:40:30 -04:00
Jonathan Kelley
3cfa1fe125
Feat: buff the readme and docs
2021-05-19 20:57:19 -04:00
Jonathan Kelley
b843dbd367
WIP: Todomvc in progress
2021-05-19 10:14:02 -04:00
Jonathan Kelley
0d44f009b0
Feat: introduce children for walking down the tree
2021-05-18 10:36:17 -04:00
Jonathan Kelley
24805a02f6
Feat: context api wired up
2021-05-18 01:16:43 -04:00
Jonathan Kelley
4c8130c4e4
Feat: about to consolidate context and scope
2021-05-17 17:59:10 -04:00
Jonathan Kelley
3de54d0b52
Feat: remove old code
2021-05-16 03:01:36 -04:00
Jonathan Kelley
2284b35782
Feat: abstraction lifetimes work out nicely
2021-05-16 02:58:57 -04:00
Jonathan Kelley
a99147c85b
Feat: Clean up repo a bit
2021-05-16 02:55:16 -04:00
Jonathan Kelley
c28697e1fe
Feat: some code health
2021-05-16 02:06:02 -04:00
Jonathan Kelley
9810feebf5
Feat: major overhaul to diffing
2021-05-15 12:03:08 -04:00
Jonathan Kelley
c809095124
Wip
2021-04-09 12:04:04 -04:00
Jonathan Kelley
2eeb8f2386
wip: refactor a bit
2021-04-04 21:47:53 -04:00
Jonathan Kelley
8c541f66d5
wip: todos
2021-04-01 21:44:18 -04:00
Jonathan Kelley
cfa0927cdd
feat: todomvc
2021-04-01 00:01:42 -04:00
Jonathan Kelley
ce33031519
wip: todomvc
2021-03-29 12:31:47 -04:00
Jonathan Kelley
0bcff1f88e
Feat: more ergonomics, more examples
2021-03-26 15:50:28 -04:00
Jonathan Kelley
44aad2746c
Feat: use rsx! inline!
2021-03-26 00:47:15 -04:00
Jonathan Kelley
9f7f43b661
Feat: building large apps, revamp macro
2021-03-22 23:52:54 -04:00
Jonathan Kelley
5791e49700
wip: integrate 3d renderer components
2021-03-21 14:09:15 -04:00
Jonathan Kelley
742f150eb3
wip: begint to accept iterator types
2021-03-18 18:54:26 -04:00
Jonathan Kelley
f24d29130a
wip: need iterator for bracketed children
2021-03-17 10:35:21 -04:00
Jonathan Kelley
9b560dfedb
wip: more liveview and webview custom client
2021-03-16 14:28:54 -04:00
Jonathan Kelley
7856f2b153
wip: livehost bones
2021-03-16 11:03:59 -04:00
Jonathan Kelley
5b7887d76c
Fix: some stuff related to event listeners. POC for lifecyel
2021-03-15 02:16:03 -04:00
Jonathan Kelley
4e48e0514e
wip: diffing approach slightly broken
2021-03-14 20:33:37 -04:00
Jonathan Kelley
9d0727edab
Feat: remove old macro
2021-03-13 19:11:06 -05:00
Jonathan Kelley
e66827ec92
wip: add deeply neste example
2021-03-13 10:02:57 -05:00
Jonathan Kelley
39bd1856f4
Feat: update examples
2021-03-12 17:21:06 -05:00
Jonathan Kelley
305ff919ef
Feat: ensure mutabality is okay when not double-using the components
2021-03-12 16:58:30 -05:00
Jonathan Kelley
b3c96a5996
Feat: props now autoderives its own trait
2021-03-12 15:41:36 -05:00
Jonathan Kelley
d4f1ceaffb
feat: somewhat working with rc and weak
2021-03-12 14:27:32 -05:00
Jonathan Kelley
ec801eab16
wip: foregin eq from comparapable comp type.
...
This commit adds the framework for "comparable components". This allows
complete sealing of bump-allocated properties types, and a comparison method
that performs a "safe" cast without transmute. This lets us completely erase types
but still be able to perform partialeq over render frames
2021-03-12 13:03:37 -05:00
Jonathan Kelley
5ad81885e4
wip: staticify?
2021-03-11 12:27:01 -05:00
Jonathan Kelley
78d093a945
FIx: cargo fix to clean up things
2021-03-10 19:42:31 -05:00
Jonathan Kelley
29751a4bab
Feat: implement vcomp fully
2021-03-10 19:42:10 -05:00
Jonathan Kelley
5abda91892
Feat: add some docs
2021-03-10 19:24:45 -05:00
Jonathan Kelley
8fcd001677
Feat: update component so build passes
2021-03-09 14:46:00 -05:00
Jonathan Kelley
37f5a7ad33
Feat: wire up props macro
2021-03-09 14:45:52 -05:00
Jonathan Kelley
7158bc3575
Feat: revert FC changes (like the old style).
...
This commit reverts to the old style of props + FC. The old style is desirable
because people comfortable with react can automatically be comfortable with
dioxus. It's also nice in that the same props can be used to drive two different
components - something the trait version couldn't do. Now, our trait bound forces
implementations to have the #[derive(Props)] flag. This will need to implement the
Properties trait as well as PartialEq (using ptr::equal for closure fields).
2021-03-09 00:58:20 -05:00
Jonathan Kelley
92d9521a73
WIP: remove FC
2021-03-07 21:28:20 -05:00
Jonathan Kelley
3740f81383
WIP: still a bit stumped on DFS vs BFS
2021-03-05 15:02:36 -05:00
Jonathan Kelley
89f2290692
feat: dyn scope
2021-03-04 23:57:25 -05:00
Jonathan Kelley
8dc26195e2
Feat: it's awersome
2021-03-04 19:20:55 -05:00
Jonathan Kelley
d9598066c2
Feat: yeet, synthetic somewhat wired up
2021-03-04 18:40:05 -05:00
Jonathan Kelley
3087813570
Feat: synthetic events wired up (ish)
2021-03-04 18:12:24 -05:00
Jonathan Kelley
bdd6be309e
Feat: notes on safety, and inline listeners
2021-03-04 13:49:18 -05:00
Jonathan Kelley
c70652a3c9
Feat: cleanup edit module
2021-03-04 12:38:53 -05:00
Jonathan Kelley
5a9155b059
Feat: more cleanup
2021-03-04 12:03:22 -05:00
Jonathan Kelley
cf16090838
Feat: add context to builder
2021-03-03 23:06:11 -05:00
Jonathan Kelley
fcd68e61d2
Feat: listeners now have scope information
2021-03-03 11:13:46 -05:00
Jonathan Kelley
cb74d70f83
wip: broken, but solved
2021-03-03 02:27:26 -05:00
Jonathan Kelley
879e107634
wip: use_reducer
2021-03-02 02:27:07 -05:00
Jonathan Kelley
f225030506
Feat: accept closures directly in handler
2021-03-02 01:24:53 -05:00
Jonathan Kelley
07f671c8e1
Fix: bug that phantom triggered events
2021-03-02 00:21:11 -05:00
Jonathan Kelley
4b8e9f4a12
Feat: wowza got it all working
2021-03-02 00:14:28 -05:00
Jonathan Kelley
da00df6688
Feat: parse custom rsx syntax
2021-03-01 22:55:20 -05:00
Jonathan Kelley
ffaf687896
Feat: update readme and examples
2021-03-01 00:16:48 -05:00
Jonathan Kelley
c8bb392cad
Feat: view -> render
2021-02-28 21:21:17 -05:00
Jonathan Kelley
10a236fc65
Feat: add webview as package
2021-02-28 17:40:40 -05:00
Jonathan Kelley
505fcba7df
bump core version
2021-02-28 17:40:02 -05:00
Jonathan Kelley
6fabd8ccc8
bump core version
2021-02-28 17:38:48 -05:00
Jonathan Kelley
4997976261
bump core version
2021-02-28 17:38:05 -05:00
Jonathan Kelley
6a7bf3f964
add core macro crate
2021-02-28 17:37:17 -05:00
Jonathan Kelley
c09b71f473
Chore: add in style crate, and abort any styligng
2021-02-28 17:36:48 -05:00
Jonathan Kelley
9dcee01b33
Chore: remove html crate
2021-02-28 17:30:10 -05:00
Jonathan Kelley
c32a6ef7fe
add core macro crate
2021-02-28 17:25:40 -05:00
Jonathan Kelley
9f49ecbd95
add core macro crate
2021-02-28 17:24:57 -05:00
Jonathan Kelley
422d5ac5af
Feat: bump version for web release
2021-02-28 17:24:06 -05:00
Jonathan Kelley
ab655eac97
Feat: update and prep for dioxusweb
2021-02-28 17:22:23 -05:00
Jonathan Kelley
3b30fa61b8
Feat: a few bugs, but the event system works!
2021-02-28 03:08:08 -05:00
Jonathan Kelley
2041c88d07
Feat: patch to diff to allow scopes
2021-02-27 22:52:32 -05:00
Jonathan Kelley
e840f472fa
WIP: moving to CbIdx as serializable event system
2021-02-27 11:43:28 -05:00
Jonathan Kelley
e4b1f6ea0d
Feat: custom format_args for inlining variables into html templates
2021-02-26 20:42:55 -05:00
Jonathan Kelley
a8b1225c48
Feat: begin WIP on html macro
2021-02-26 12:58:03 -05:00
Jonathan Kelley
b0a87e5d73
Feat: update example
2021-02-25 21:42:44 -05:00
Jonathan Kelley
32b45e5ba1
Feat: move webview logic into library
2021-02-25 18:44:00 -05:00
Jonathan Kelley
18a7a1f9c4
Chore: comments
2021-02-24 10:12:26 -05:00
Jonathan Kelley
8d3e2ade7a
Feat: buff up examples and docs
2021-02-24 04:03:52 -05:00
Jonathan Kelley
06ae4fc178
Feat: wire up rebuild
2021-02-24 03:51:26 -05:00
Jonathan Kelley
4d01455729
Feat: update websys with lifecycle
2021-02-24 02:22:05 -05:00
Jonathan Kelley
83451372aa
Feat: clean up code
2021-02-24 01:32:50 -05:00
Jonathan Kelley
5204862bc2
Feat: fix internal lifecycle
2021-02-24 01:31:19 -05:00
Jonathan Kelley
edf09c1892
Feat: add css example
2021-02-23 15:08:23 -05:00
Jonathan Kelley
7a4594e237
wip: borrowing
2021-02-22 13:10:36 -05:00
Jonathan Kelley
bdc25b581b
Feat: finally solve the component lifetime problem <3
2021-02-20 22:57:13 -05:00
Jonathan Kelley
7a6aabe4f3
Feat: WIP ctx
2021-02-20 21:59:16 -05:00
Jonathan Kelley
b3e6886351
Feat: desktop app wired up
2021-02-18 20:04:25 -05:00
Jonathan Kelley
bcbb93b697
Feat: remove our use of ouroborous.
...
Instead, we're just going stick with unsafely transmuting the static
lifetime when accessing the active frame. This is a bit scarier, but
greatly simplifies containing the VNode.
2021-02-17 20:56:53 -05:00
Jonathan Kelley
e3ede7fcbf
Feat: re-enable stack machine approach
2021-02-17 10:53:55 -05:00
Jonathan Kelley
4b4ea1a09c
Chore: move old into packages
2021-02-15 14:25:52 -05:00
Jonathan Kelley
f22ff83190
Feat: WIP on deserialize
2021-02-15 14:14:28 -05:00
Jonathan Kelley
8439994859
Feat: web example + cli writes to browser screen!
2021-02-15 00:17:40 -05:00
Jonathan Kelley
c4e8d8bb31
Feat: wire up a very basic dom updater
2021-02-14 23:39:46 -05:00
Jonathan Kelley
4dfdf91236
Feat: major overhaul to diffing, using a "diffing machine" now
2021-02-14 18:03:16 -05:00
Jonathan Kelley
4c291a0efd
Feat: remove generic paramter on VDOM
...
This makes storage of VDoms easier, and removes static dispatch on any function that relies on VDOMs.
2021-02-13 03:19:35 -05:00
Jonathan Kelley
d063a19939
Feat: wire up some of the changelist for diff
2021-02-13 02:49:10 -05:00
Jonathan Kelley
ea2aa4b0c9
Feat: event loop
2021-02-12 16:11:33 -05:00
Jonathan Kelley
8295ac4b3d
Feat: major overhaul, wire up event system
2021-02-12 03:07:35 -05:00
Jonathan Kelley
f47651b32a
Feat: overall API updates
2021-02-12 00:29:46 -05:00
Jonathan Kelley
125f5426a4
Feat: push new component API and context API
2021-02-11 23:03:01 -05:00
Jonathan Kelley
8329268d39
feat: update builder
2021-02-10 12:50:34 -05:00
Jonathan Kelley
c97a9647e3
Feat: update solved problems with context API
2021-02-10 12:48:02 -05:00
Jonathan Kelley
204f0d9f16
Feat:
...
- integrate subscription service into context.
- Update documentation
2021-02-08 16:57:34 -05:00
Jonathan Kelley
ee23ea6c3a
Feat: fix docs names
2021-02-08 11:12:02 -05:00
Jonathan Kelley
edbb33b2ee
Feat: implememt nodes better
2021-02-07 19:14:04 -05:00
Jonathan Kelley
c9d95dd1dc
Feat: move out scope into its own file
2021-02-07 17:38:17 -05:00
Jonathan Kelley
e939373616
Feat: capture pointer type
2021-02-07 16:21:38 -05:00
Jonathan Kelley
2c2882c9a2
Feat: more updates to hooks
2021-02-07 14:59:34 -05:00
Jonathan Kelley
4d01436c3f
Feat: found a fast solution to hook state
2021-02-06 22:19:56 -05:00
Jonathan Kelley
62d4ad5878
wip: comment out examples and move lifetime in FC type
2021-02-03 14:07:07 -05:00
Jonathan Kelley
07341d2c65
Feat: include the helper
2021-02-03 02:26:04 -05:00
Jonathan Kelley
a2406b33d6
Feat: updates to docs, extension
2021-01-29 11:57:52 -05:00
Jonathan Kelley
2e626aea51
Feat: first work for rsx vscode ext
2021-01-26 14:02:35 -05:00
Jonathan Kelley
65d0d611ea
Feat: add webview example
2021-01-22 15:50:16 -05:00
Jonathan Kelley
7730fd4a8c
Feat: webview example
2021-01-21 11:10:31 -05:00
Jonathan Kelley
9c01736895
WIP: Dioxus-webview
2021-01-21 03:22:08 -05:00
Jonathan Kelley
28ac37a8b2
Feat: update fc_macro
2021-01-21 02:25:44 -05:00
Jonathan Kelley
6aeea9b790
Feat: add router
2021-01-20 17:48:58 -05:00
Jonathan Kelley
9b41161628
Feat: upgrade project
2021-01-20 12:20:25 -05:00
Jonathan Kelley
44ea4f8de9
Feat: publish cli
2021-01-20 12:18:10 -05:00
Jonathan Kelley
4dcfe66253
Feat: update spelling and changes to cli
2021-01-20 12:12:48 -05:00
Jonathan Kelley
4d7ac5bb5d
Feat: dioxus frontend crate
2021-01-20 12:04:27 -05:00
Jonathan Kelley
6c1205e91b
Chore: merge validation into macr
2021-01-19 09:08:41 -05:00
Jonathan Kelley
33a805da40
Add versioning for package
2021-01-19 09:01:02 -05:00
Jonathan Kelley
2afbfea324
Feat: clean up naming
2021-01-19 09:00:23 -05:00
Jonathan Kelley
c1b990b27c
Feat: add hooks
2021-01-19 08:56:22 -05:00
Jonathan Kelley
ae1b8bbede
Chore: fix up html macro
2021-01-19 08:53:47 -05:00
Jonathan Kelley
3475adaaa6
Chore: remove unused macro
2021-01-19 08:51:30 -05:00
Jonathan Kelley
18ad810768
Chore: cleanup the CLI package
2021-01-19 08:50:56 -05:00
Jonathan Kelley
be8d2678b5
Feat: prep for cargo
2021-01-19 08:47:08 -05:00
Jonathan Kelley
f3c650b073
Feat: include diffing and patching in Dioxus
2021-01-16 10:24:30 -05:00
Jonathan Kelley
9c616ea5c0
Feat: more docs, dissolve vnode crate into dioxus-core
2021-01-16 01:30:48 -05:00
Jonathan Kelley
23ab5af1bf
Feat: add diopack
2021-01-15 23:32:53 -05:00
Jonathan Kelley
d13e04c9ff
Feat: more docs, example, mroe nodes
2021-01-15 23:25:29 -05:00
Jonathan Kelley
152bced9f3
Feat: some updates, pull in the vnode enums
2021-01-15 02:52:47 -05:00
Jonathan Kelley
ce34d0dfcd
Feat: WIP
2021-01-14 20:56:28 -05:00
Jonathan Kelley
cd20d3c168
Chore: cargo fmt
2021-01-14 02:57:30 -05:00
Jonathan Kelley
2b9c8d09d9
Feat: docs, code frm percy
2021-01-14 02:56:41 -05:00