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
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
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
4997976261
bump core version
2021-02-28 17:38:05 -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
422d5ac5af
Feat: bump version for web release
2021-02-28 17:24:06 -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
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
06ae4fc178
Feat: wire up rebuild
2021-02-24 03:51:26 -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
f22ff83190
Feat: WIP on deserialize
2021-02-15 14:14:28 -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
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
6aeea9b790
Feat: add router
2021-01-20 17:48:58 -05:00
Jonathan Kelley
4d7ac5bb5d
Feat: dioxus frontend crate
2021-01-20 12:04:27 -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
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
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
2b9c8d09d9
Feat: docs, code frm percy
2021-01-14 02:56:41 -05:00