Evan Almloff
9efff74c0c
update TUI renderer to new approach
2023-01-28 14:51:05 -06:00
Jonathan Kelley
4f83c1b86d
Merge branch 'master' of github.com:DioxusLabs/dioxus
2023-01-27 23:27:36 -08:00
Jonathan Kelley
6fde323112
bump core version
2023-01-27 23:27:28 -08:00
Evan Almloff
b6c7d44a27
fix clippy
2023-01-27 20:35:46 -06:00
Anatolii Kurotych
624f32115b
Fix release build ( #802 )
2023-01-27 20:07:00 -06:00
Evan Almloff
51ca23b3f7
fix drag serialization on desktop
2023-01-25 20:44:42 -06:00
Evan Almloff
ce59ccfd44
enable multithreading
2023-01-23 21:03:28 -06:00
Jon Kelley
1b597f43d1
Merge pull request #754 from Demonthos/desktop-hot-reload
...
Implement hot reloading for Desktop, TUI, and Liveview
2023-01-23 09:48:54 -10:00
Jonathan Kelley
b5c7d5cfd9
chore: use 0.2 of bumpslab
2023-01-23 11:45:18 -08:00
Evan Almloff
a0441f686c
use main bumpslab branch
2023-01-23 12:48:00 -06:00
Evan Almloff
82e2175500
make entry key return scopeid
2023-01-23 10:08:11 -06:00
Evan Almloff
bdb63d18f3
try a different branch
2023-01-23 08:25:08 -06:00
Evan Almloff
00a9ad29a8
fix memory leak
2023-01-22 21:24:30 -06:00
Evan Almloff
c5f003e41e
use git version of bump slab
2023-01-22 21:07:54 -06:00
Evan Almloff
3279068569
clean up view code
2023-01-22 21:06:59 -06:00
Evan Almloff
ae028d82f8
use bump slab
2023-01-22 17:16:34 -06:00
Evan Almloff
4738352955
remove native-core-macro
2023-01-22 16:41:15 -06:00
Evan Almloff
ba79d4babd
don't-box-scopestates
2023-01-22 15:05:32 -06:00
Evan Almloff
fb0c6c1b62
Merge branch 'upstream' into simplify-native-core
2023-01-21 18:33:52 -06:00
Evan Almloff
0a5499508a
simplify api and pass clippy
2023-01-21 18:30:42 -06:00
Evan Almloff
7294edcd89
Merge branch 'upstream' into add-fuzzing-to-native-core
2023-01-21 07:45:39 -06:00
Evan Almloff
adff97036d
clean up some unused code + clippy
2023-01-21 07:44:38 -06:00
Jon Kelley
e686e42cfe
Merge pull request #790 from Demonthos/make-cursor-agnostic-over-storage
...
Make text editing utilities in native core agnostic over the text storage
2023-01-21 00:40:16 -08:00
Jon Kelley
877268737d
Merge pull request #791 from Demonthos/default-to-medium-border-width-when-style-is-set
...
Apply medium width when the border style is not none to match browsers
2023-01-21 00:37:26 -08:00
Evan Almloff
e81f05fe9d
make native core compile
2023-01-20 20:24:44 -06:00
Evan Almloff
20751327f3
apply medium width when the border style is not none to comply with browser behavior
2023-01-20 17:36:41 -06:00
Evan Almloff
d019ada3da
make delete selection public
2023-01-20 17:16:47 -06:00
Evan Almloff
8030ae5581
make text editing utilites agnostic over the text storage
2023-01-20 17:09:19 -06:00
Evan Almloff
278cac6551
pass clippy
2023-01-20 13:42:50 -06:00
Evan Almloff
dc768fee2f
fix replacing a dynamic text node in native core
2023-01-20 13:31:21 -06:00
Evan Almloff
04bf6c3f91
add fuzzing test to native core
2023-01-20 13:28:49 -06:00
Evan Almloff
ebb6300fc7
clean up the API
2023-01-20 13:23:26 -06:00
Evan Almloff
1587b41829
WIP make ECS work with reactive system
2023-01-19 14:40:56 -06:00
Evan Almloff
e36874d86e
use node id
2023-01-18 12:14:59 -06:00
Jon Kelley
f65b051102
Merge pull request #751 from Demonthos/expose-event-handle-desktop
...
Create with_event_handler to expose window event on desktop
2023-01-17 20:47:15 -08:00
Jonathan Kelley
e63226e15b
Merge branch 'master' of github.com:DioxusLabs/dioxus
2023-01-17 16:24:36 -08:00
Jonathan Kelley
4e4e101eee
fix: dont choke on emojji n exprs
2023-01-17 16:24:29 -08:00
Jonathan Kelley
07447fd756
Fix 782 - inline props should use cx token
2023-01-17 15:50:04 -08:00
Jon Kelley
ae1a618aa8
Merge pull request #780 from DioxusLabs/jk/dioxus-fmt
...
fix: short expr lists should not eat the final exprs
2023-01-17 13:01:51 -08:00
Jonathan Kelley
61b8a25ad8
make clippy happy
2023-01-17 10:51:23 -08:00
Jonathan Kelley
b81eca0433
fix: short expr lists should not eat the final exprs
2023-01-16 17:25:55 -08:00
Jon Kelley
ab967bb3d7
Merge pull request #779 from DioxusLabs/jk/dioxus-fmt
...
fix: immediate exprs in autofmt
2023-01-16 16:56:01 -08:00
Jonathan Kelley
b6e4db1f2f
fix: immediate exprs
2023-01-16 16:36:50 -08:00
Evan Almloff
91fc594708
ECS based tree data struture
2023-01-16 14:33:11 -06:00
Evan Almloff
5aa3587ea9
Merge branch 'upstream' into simplify-native-core
2023-01-16 13:05:34 -06:00
Evan Almloff
8548b324f1
fix dropping nested scopes
2023-01-15 21:23:49 -06:00
Evan Almloff
3f3db39c28
update doc links
2023-01-15 15:18:12 -06:00
Evan Almloff
d13d1fb1c9
Merge branch 'upstream' into fix-future-on-dropped-scope
2023-01-15 14:01:11 -06:00
Evan Almloff
d7f9a07f4e
fix
2023-01-15 13:52:06 -06:00
Jonathan Kelley
69a347a551
fix: scopes not dropping their hooks
2023-01-15 10:02:24 -08:00
Evan Almloff
60219d3f65
formatting
2023-01-15 12:01:12 -06:00
Evan Almloff
418d8b1c30
clippy
2023-01-15 11:51:17 -06:00
Evan Almloff
893d0be1a6
add option to specify a callback to make using hot-reloading in a CLI easier
2023-01-15 11:29:51 -06:00
Evan Almloff
70590c6af0
pass clippy
2023-01-14 16:07:13 -06:00
Jonathan Kelley
a45f16a773
chore: clean up comments
2023-01-14 11:57:36 -08:00
Jonathan Kelley
ecaa68605d
fix: trim start matches for events
2023-01-14 11:57:03 -08:00
Jonathan Kelley
441bd910f9
Merge branch 'master' into jk/fix-listener-indx
2023-01-14 00:43:10 -08:00
Jonathan Kelley
aa0f6812fa
fix ci around autofmt
2023-01-14 00:42:43 -08:00
Jonathan Kelley
40a36aa8e6
chore: use trim
2023-01-14 00:21:26 -08:00
Jonathan Kelley
8d59c626ea
fix: listeners should not use hard indexing
2023-01-14 00:19:37 -08:00
Jonathan Kelley
270de7a0d2
fmt
2023-01-13 18:03:16 -08:00
Jonathan Kelley
3945928c59
fix: adjust padding on autofmt
2023-01-13 17:16:06 -08:00
Jonathan Kelley
0b110075ef
chore: remvoe todos hiding in autofmt
2023-01-13 17:05:45 -08:00
Jonathan Kelley
9f9bcd747a
chore: fewer clones in autoformat infrastructure
2023-01-13 16:58:53 -08:00
Jonathan Kelley
ea032eeb8e
clean up macro crate a little bit
2023-01-13 16:52:37 -08:00
Jonathan Kelley
ac6035cb2a
feat: parse entire file instead of hunting for verbtain
2023-01-13 16:46:34 -08:00
Evan Almloff
63840bcca4
pass clippy
2023-01-13 17:55:11 -06:00
Evan Almloff
0c6750d177
fix dependancies
2023-01-13 17:50:32 -06:00
Evan Almloff
8a7cee529c
Merge branch 'upstream' into desktop-hot-reload
2023-01-13 17:43:32 -06:00
Evan Almloff
33c1b4e98f
Merge branch 'upstream' into desktop-hot-reload
2023-01-13 17:34:22 -06:00
Evan Almloff
80755e1d55
remove debug log
2023-01-13 17:32:31 -06:00
Evan Almloff
34c8ad8849
fix gitignore performance issues
2023-01-13 17:31:55 -06:00
Evan Almloff
31e21aaa79
change rebuild_handler to rebuild_command
2023-01-13 17:15:06 -06:00
Evan Almloff
22f86ed464
update docs
2023-01-13 16:57:27 -06:00
Evan Almloff
d642e53a2b
intigrate with .gitignore
2023-01-13 16:25:03 -06:00
Evan Almloff
cc983dc091
rebuild when the cargo.toml changes
2023-01-13 16:17:25 -06:00
Evan Almloff
b3d119b815
Provide option to do full rebuilds when nessisary
2023-01-13 16:13:07 -06:00
Jonathan Kelley
bf559a6d06
fix clippy
2023-01-13 10:59:03 -08:00
Jonathan Kelley
6cd87796f2
feat: allow ifchains and for loops
2023-01-13 10:51:12 -08:00
Jon Kelley
2dd2d7fe66
Merge pull request #763 from d4h0/liveview-remove-unnecessary-deps-and-features
...
Remove unnecessary dependencies and dependency features in `Cargo.toml` of `dioxus-liveview`
2023-01-13 10:13:48 -08:00
Jon Kelley
25fecf8de5
Merge pull request #761 from Demonthos/fix-web-boolean-attributes
2023-01-13 09:30:06 -08:00
d4h0
c4485071a7
init
2023-01-13 17:25:18 +01:00
Evan Almloff
c5bb4275e6
fix boolean attributes with the web renderer
2023-01-13 08:48:59 -06:00
Jonathan Kelley
8ec5cbcc20
fix ci
2023-01-12 22:54:50 -08:00
Jonathan Kelley
293ef9c690
fix: only flow exprs with indent in mind
2023-01-12 17:02:41 -08:00
Jonathan Kelley
983789e4c5
handle weird trailing whitespace in autofmt
2023-01-12 16:55:13 -08:00
Evan Almloff
3c229b38bc
make shutdown message more clear
2023-01-12 18:51:08 -06:00
Evan Almloff
cd17f515d4
change to hook api
2023-01-12 18:48:23 -06:00
Jonathan Kelley
92be7f990b
Merge branch 'master' of github.com:DioxusLabs/dioxus
2023-01-12 16:29:38 -08:00
Jonathan Kelley
cc8b910cf3
fix emoji support in autofmt
2023-01-12 16:29:31 -08:00
Evan Almloff
ebed5ac025
Merge branch 'upstream' into add-fuzzing-to-core
2023-01-12 16:38:29 -06:00
Evan Almloff
a01a65a0eb
seperate text and other dynamic nodes
2023-01-12 16:34:46 -06:00
Evan Almloff
260589cd7f
pass clippy
2023-01-12 15:53:33 -06:00
Evan Almloff
09da9c04a8
Use zero cost option instead of null pointers
2023-01-12 15:42:23 -06:00
Evan Almloff
8a04a6ab0e
clean up fuzzing test
2023-01-12 15:28:10 -06:00
Evan Almloff
75932a43e0
Merge branch 'upstream' into add-fuzzing-to-core
2023-01-12 15:17:20 -06:00
Evan Almloff
1899a10aec
fix removing aborted nodes
2023-01-12 15:13:47 -06:00
Evan Almloff
733ff40bd0
Merge branch 'upstream' into handle-aborting-renders
2023-01-12 13:30:15 -06:00
Jon Kelley
432125c630
Merge pull request #759 from Demonthos/fix-global-attribute-translation
2023-01-12 10:14:59 -08:00
Evan Almloff
fc28050da6
pass clippy
2023-01-12 12:09:43 -06:00
Evan Almloff
6c804cded7
Merge branch 'upstream' into desktop-hot-reload
2023-01-12 12:08:56 -06:00
Evan Almloff
f71ab650e8
don't include inteprocess in wasm builds
2023-01-12 11:41:46 -06:00
Evan Almloff
d8d483a8b4
apply the same fixes to element specific attributes
2023-01-12 11:31:21 -06:00
Evan Almloff
232b49a3be
change some upper camel case to snake case and fix some incorrect attributes
2023-01-12 11:21:34 -06:00
Evan Almloff
97b9f422e1
log path errors
2023-01-12 11:10:16 -06:00
Evan Almloff
4e180bd19e
remmove comment
2023-01-12 11:00:16 -06:00
Evan Almloff
dc8fcf254b
Merge branch 'upstream' into desktop-hot-reload
2023-01-12 10:59:01 -06:00
Evan Almloff
6b4a300880
doc formatting and cleanup
2023-01-12 10:58:12 -06:00
Evan Almloff
351b9fab6f
allow custom namespaces
2023-01-12 10:52:24 -06:00
Evan Almloff
c49c59b8b2
add readme
2023-01-12 10:32:50 -06:00
Evan Almloff
9be1df1451
allow disabling logging
2023-01-12 10:32:45 -06:00
Evan Almloff
82048737f4
fix the macro export and WIP hot reloading docs
2023-01-12 08:47:33 -06:00
Evan Almloff
19aaa0ee5b
allow watching arbitrary paths
2023-01-11 21:06:00 -06:00
Evan Almloff
ee57046b58
Merge branch 'desktop-hot-reload' of https://github.com/demonthos/dioxus into desktop-hot-reload
2023-01-11 20:05:55 -06:00
Jonathan Kelley
fd4eac3488
Merge branch 'master' of github.com:DioxusLabs/dioxus
2023-01-11 17:12:33 -08:00
Jonathan Kelley
cf79ca8113
chore: stop ignoring some doc tests
2023-01-11 17:12:09 -08:00
=
9e45cbe4a7
remove the hot-reload-macro crate
2023-01-11 18:51:09 -06:00
Jonathan Kelley
c4a18bc24d
chore: clean up some clippy warnings and add clippy lints to CI
2023-01-11 16:13:41 -08:00
=
042b67b61b
factor out a hot reloading connect function
2023-01-11 16:43:41 -06:00
Evan Almloff
1b53d4585e
handle liveview sockets disconnecting
2023-01-11 14:59:00 -06:00
Evan Almloff
e5e1abbdac
implement hot reloading for liveview
2023-01-11 14:41:29 -06:00
Evan Almloff
6eff4438cf
implement hot reloading for TUI
2023-01-11 14:20:38 -06:00
Evan Almloff
1073574896
implement hot reloading for desktop
2023-01-11 13:40:02 -06:00
Evan Almloff
2772b86629
create with event handler
2023-01-10 21:35:11 -06:00
Jon Kelley
e5b39bb61f
Merge pull request #744 from Demonthos/update-readmes
...
Update READMEs and tags for the 0.3 release
2023-01-10 18:21:55 -08:00
Jonathan Kelley
2a9eb90154
fix: generate brace in rosetta
2023-01-10 18:14:16 -08:00
Jonathan Kelley
6d24fc3a6f
ci: make CI pass for miri
2023-01-10 18:08:41 -08:00
Jonathan Kelley
74af8f0f52
chore: smallbox unused on miri ci
2023-01-10 18:05:48 -08:00
Jonathan Kelley
13e58daa20
Merge branch 'master' into jk/add-miri-to-ci
2023-01-10 17:53:25 -08:00
Jon Kelley
0546a2012f
Merge pull request #726 from DioxusLabs/jk/fix-comments-on-exprs
...
fix: comments being eaten in autofmt
2023-01-10 17:49:46 -08:00
Jonathan Kelley
1940855e39
feat: implement comments in zero children nodes
2023-01-10 17:47:58 -08:00
Jonathan Kelley
6500a6d490
Merge branch 'master' into jk/fix-comments-on-exprs
2023-01-10 16:57:33 -08:00
Jon Kelley
d306e64070
Merge pull request #729 from Demonthos/improve-passes
...
Unify DirtyNodes and DirtyNodeStates in native core
2023-01-10 16:56:03 -08:00
Jonathan Kelley
fd875cd9db
chore: dont log on pong
2023-01-10 16:54:40 -08:00
Jon Kelley
8a53b62126
Merge pull request #749 from Demonthos/keep-websocket-alive
...
Keep LiveView web socket alive
2023-01-10 16:53:36 -08:00
Jon Kelley
e023f155f9
Merge pull request #748 from Demonthos/fix-drag-events-web
...
Fix drag* events on the web renderer
2023-01-10 16:52:15 -08:00
Jonathan Kelley
20497f1510
Merge branch 'master' of github.com:DioxusLabs/dioxus
2023-01-10 16:40:07 -08:00
Jonathan Kelley
39c4f3f814
fix: ci not passing
2023-01-10 16:39:56 -08:00
Evan Almloff
6a8fefdfd8
keep liveview websocket alive
2023-01-10 14:41:26 -06:00
Evan Almloff
8a1f54f573
fix drag* events
2023-01-10 12:53:40 -06:00
Joe Perri
0e40619b52
Update Cargo.toml ( #740 )
2023-01-10 10:51:21 -06:00
Evan Almloff
52d5c8d4e7
update READMEs and tags for the 0.3 release
2023-01-10 10:16:11 -06:00
Jonathan Kelley
faf94c7b4e
fix: make miri pass on context api
2023-01-09 13:50:33 -08:00
Evan Almloff
d2b5af6615
remove logs from interpreter
2023-01-09 12:04:38 -06:00
Evan Almloff
85fdc77880
fix tui
2023-01-08 15:26:30 -06:00
Evan Almloff
8adee11fe7
fix custom type
2023-01-08 14:04:48 -06:00
Evan Almloff
ecf4ee275a
Merge branch 'upstream' into simplify-native-core
2023-01-08 14:03:44 -06:00
Evan Almloff
72b2a3ef37
fix tests
2023-01-08 12:02:44 -06:00
Evan Almloff
a934e60fdf
unify dirty nodes
2023-01-08 11:37:54 -06:00
Evan Almloff
927db9723a
handle abort diffing
2023-01-07 19:01:29 -06:00
Evan Almloff
112738c23d
improve fuzzing test
2023-01-07 18:52:37 -06:00
Jonathan Kelley
cb7e4f3f27
Merge branch 'master' of github.com:DioxusLabs/dioxus
2023-01-07 14:10:59 -08:00
Jonathan Kelley
4694e4d63e
release: bump fermi
2023-01-07 14:10:51 -08:00
Jonathan Kelley
74421d47fd
fix comments being eaten in autofmt
2023-01-07 14:09:32 -08:00
ealmloff
cd4474cc4f
Update docs to reflect changes in master ( #670 )
...
* work on updating docs to master version
* more updates
* more polishing
* finish interactivity chapter
* finish updating core guide
* fix grammer mistakes and typos
* more grammer fixes
* add liveview guide
* remove doc build
* WIP custom renderer docs
* add axum as dev-dependancy to guide
* fix examples
* fix overview example
* use md book fork to fix compilation
2023-01-06 15:00:12 -08:00
ealmloff
a616a8fa9d
fix templates being registered in mutations many times ( #722 )
2023-01-05 13:05:12 -06:00
ealmloff
64881fd951
improve error message when a user tried to use nested hooks ( #723 )
2023-01-05 13:05:04 -06:00
Evan Almloff
990b0503e1
remove outdated comment
2023-01-05 10:36:30 -06:00
Evan Almloff
42baadf65d
add fuzzing test to dioxus-core
2023-01-05 10:28:07 -06:00
Evan Almloff
3a6d06e205
remove nodes from listener list when the node is removed
2023-01-05 08:21:36 -06:00
Jonathan Kelley
a0961583d1
fix: versions and readme
2023-01-04 14:58:06 -05:00
Jonathan Kelley
7f01f61138
feat: publish 0.3 versions of many crates
2023-01-04 14:31:07 -05:00
Jon Kelley
3393d0487c
Merge pull request #718 from Demonthos/handle-removing-a-completed-future
...
Handle removing a future that does not exist
2023-01-04 12:49:08 -05:00
Jon Kelley
aa46bd2d0f
Merge pull request #717 from Demonthos/rename-tui-examples
...
Remove tui_ prefix from TUI Examples
2023-01-04 12:48:53 -05:00
Evan Almloff
e3dd55533f
handle removing a future that does not exist
2023-01-04 11:38:34 -06:00
Evan Almloff
5e77b297f2
rename tui examples
2023-01-04 11:21:29 -06:00
Evan Almloff
93a95b82a4
bump lightningcss version
2023-01-04 11:18:32 -06:00
Evan Almloff
52a74214da
don't remove realdom nodes when the element id changes
2023-01-04 09:14:58 -06:00
Jon Kelley
3733ce7332
Merge pull request #711 from Demonthos/realdom-generic-over-custom-types
...
make the real dom generic over custom types
2023-01-03 15:30:13 -05:00
Jon Kelley
35cccc3838
Merge pull request #708 from Demonthos/support-optional-attrtibutes
...
Support optional attributes
2023-01-03 15:27:07 -05:00
Jon Kelley
fba3fdf87a
Merge pull request #703 from DioxusLabs/jk/signal-crate
...
feat: simple signals implementation
2023-01-03 15:26:52 -05:00
Jon Kelley
7050550685
Merge pull request #707 from Demonthos/fix-namespace-on-dynamic-attributes
...
Fix the namespace and volatility of dynamic attributes
2023-01-03 15:25:37 -05:00
Evan Almloff
bf20b66b38
make the real dom generic over custom types
2023-01-03 12:35:48 -06:00
Maurice Kayser
dde4fb31b2
Fix typo ( #709 )
2023-01-03 10:09:03 -06:00
Evan Almloff
c5672650f1
use the namespace and volitity defined in the html crate
2023-01-03 09:03:20 -06:00
Evan Almloff
1a92f125b2
support Option<AttributeValue>
2023-01-03 08:51:58 -06:00
Evan Almloff
ea43b864db
remove attributes with the None value
2023-01-03 08:51:48 -06:00
Jon Kelley
cb2d672105
Merge pull request #690 from Demonthos/lightning-css-taffy-attributes
...
use lightning css to parse Taffy layout attributes
2023-01-03 00:53:19 -05:00
Jon Kelley
07e71956d4
Merge pull request #648 from Demonthos/fix-non-str-attributes
...
fix custom attribute value support
2023-01-02 23:41:45 -05:00
Evan Almloff
c0f9355648
fix any value dropping
2023-01-02 21:26:12 -06:00
Evan Almloff
51dba50c04
use BumpBox<Any> and FromAnyValue instead of sync bounds
2023-01-02 14:40:25 -06:00
Evan Almloff
64db1def9f
make clippy happy
2023-01-02 12:37:16 -06:00
Evan Almloff
87ff41f213
remove some commented out code
2023-01-02 11:54:44 -06:00
Evan Almloff
613a7ac55b
add comment about multithreading
2023-01-02 11:52:42 -06:00
Evan Almloff
6d60c483f8
make it pass miri
2023-01-02 11:01:17 -06:00
Jonathan Kelley
14a1e4145e
feat: implement function accessor
2023-01-01 22:57:16 -05:00
Jonathan Kelley
fd92079eb3
feat: add recycling of rts in signals
2023-01-01 22:09:08 -05:00
Jonathan Kelley
c0315e55f4
chore: more signals methods
2023-01-01 22:02:49 -05:00
Evan Almloff
56154d90be
clean up unused code
2023-01-01 19:00:52 -06:00
Jonathan Kelley
4f9d67fb45
feat: simple signals implementation
2023-01-01 19:57:33 -05:00
Evan Almloff
6f6f6c258f
add allow
2023-01-01 18:56:39 -06:00
Evan Almloff
359b4e514b
remove some more unnessisary usages of unsafe
2023-01-01 18:44:54 -06:00
Evan Almloff
4db3d8ff40
fix state
2023-01-01 17:21:34 -06:00
Evan Almloff
2d67dabfe5
require Send for S for resolve_passes multithreaded
2023-01-01 15:48:26 -06:00
Maurice Kayser
c8f88b6428
Fix typo ( #702 )
2023-01-01 14:41:18 -06:00
Evan Almloff
3c507479cb
update the update_state method
2023-01-01 12:10:19 -06:00
Evan Almloff
bc2925240e
implement macro and update tui
2023-01-01 08:52:59 -06:00
Evan Almloff
9e971fbe11
work on integrating new pass system
2022-12-31 22:34:16 -06:00
Jonathan Kelley
22e71a71bd
feat: return window
2022-12-31 12:19:21 -05:00
Jonathan Kelley
ed899a580e
make clippy happy
2022-12-31 02:30:15 -05:00
Jonathan Kelley
341ccf6de6
fix: properly canonicalize assets
2022-12-31 02:24:18 -05:00
Jonathan Kelley
d3ab397ad3
chore: add transparency and overlay
2022-12-30 22:30:04 -05:00
Jonathan Kelley
4955cfc940
fix: no type
2022-12-30 22:14:28 -05:00
Jonathan Kelley
e3a8e44a69
feat: use dom to allow context injection
2022-12-30 22:10:06 -05:00
Jonathan Kelley
880aa737a6
feat: multiwindow support
2022-12-30 22:05:15 -05:00
Evan Almloff
e76cd63ee3
create new state system
2022-12-30 20:29:28 -06:00
Evan Almloff
c1fc00ed53
remove unsafe sync impl
2022-12-30 15:23:04 -06:00
Evan Almloff
845f2fb7a9
use get2_mut instead of unsafe
2022-12-30 14:19:56 -06:00
Jonathan Kelley
b351345db9
chore: use miri on native-core too
2022-12-30 14:45:45 -05:00
Jonathan Kelley
0d95568972
chore: add miri and windows test
2022-12-30 14:34:44 -05:00
Evan Almloff
5b1d9c5c8d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-30 11:52:55 -06:00
Jon Kelley
3cfaaea7ea
Merge pull request #692 from DioxusLabs/jk/main-thread
...
Move desktop context to main thread to allow file dialogs and expose tao/wry directly
2022-12-30 03:26:04 -05:00
Jonathan Kelley
819bd3fc24
chore: use broadcast instead of receiver
2022-12-30 02:56:10 -05:00
Jonathan Kelley
1518f07d7e
chore: remove sledgehammer
2022-12-30 02:44:37 -05:00
Jonathan Kelley
9db69cc613
chore: remove comments
2022-12-30 02:43:00 -05:00
Jonathan Kelley
ba20bc08b8
chore: clean up clock
2022-12-30 02:41:09 -05:00
Jonathan Kelley
daa5449b6b
chore: use existing scheduler
2022-12-30 02:39:47 -05:00
Jonathan Kelley
7f418bbfee
fix: window zoom
2022-12-30 02:09:02 -05:00
Jonathan Kelley
d160a5c8ff
chore: remove unnecessary parse method
2022-12-30 01:54:12 -05:00
Jonathan Kelley
531f7c6d3f
chore: clean up msg in desktop even more
2022-12-30 01:52:54 -05:00
Jonathan Kelley
633bf1f834
aggressively clean up desktop with new inline poll
2022-12-30 01:08:25 -05:00
Evan Almloff
2da1d8ab27
clean up implementation
2022-12-29 21:34:17 -06:00
Jonathan Kelley
7bc8150da7
fix desktop to poll without budget
2022-12-29 20:39:22 -05:00
Jonathan Kelley
bd720e2268
fix: use futuresunordered instead of bespoke waker system
2022-12-29 19:53:43 -05:00
Jonathan Kelley
ff697d41e3
wip: move desktop to main thread and use tokio main
2022-12-29 17:11:29 -05:00
Jonathan Kelley
e22f4ad6cf
fix: resolve clippy warnings
2022-12-29 16:21:24 -05:00
Jonathan Kelley
4fdbce9a70
chore: clean up readmes
2022-12-29 16:17:03 -05:00
Evan Almloff
f6fb6e1d1b
add aspect ratio parsing
2022-12-29 14:14:29 -06:00
Evan Almloff
579d6ce1f9
use lightning css to parse layout attributes for taffy
2022-12-29 13:31:33 -06:00
Jonathan Kelley
6a4979b574
fix example
2022-12-29 02:37:46 -05:00
Jonathan Kelley
04ca284704
chore: add svg collection
2022-12-29 02:21:32 -05:00
Jon Kelley
4d29a190d4
Merge pull request #686 from DioxusLabs/jk/add-translate-module
...
Pull translation out of CLI into its own "Rosetta" crate
2022-12-29 01:02:50 -05:00
Jonathan Kelley
5c63ae4b5d
chore: dont panic
2022-12-29 01:02:07 -05:00
Jonathan Kelley
ecb154db6f
chore: rename method
2022-12-29 00:56:23 -05:00
Jonathan Kelley
1389766596
chore: take domtree by reference
2022-12-29 00:55:04 -05:00
Jonathan Kelley
bc707db832
chore: make clippy happy and limit workspace checks
2022-12-29 00:46:02 -05:00
Evan Almloff
cb17252a21
clean up warnings and update prelude
2022-12-28 20:42:47 -06:00
Evan Almloff
044462876d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-28 20:36:57 -06:00
Jonathan Kelley
d3c3c41d9e
chore: remove comments module
2022-12-28 16:39:24 -05:00
Jonathan Kelley
bc3cf6501c
feat: complete html to rsx rosetta
2022-12-28 16:22:20 -05:00
Jonathan Kelley
d22577082c
chore: remove comment from syn tree
2022-12-28 12:05:13 -05:00
Jonathan Kelley
14bc007c15
wip: refactor out translation into its own crate
2022-12-28 11:51:41 -05:00
Jon Kelley
92a2db9cc2
Merge pull request #684 from Demonthos/fix-tui-benchmark
...
fix tui benchmark
2022-12-28 11:50:41 -05:00
Lixou
bfdd7945aa
Fix copy paste error in docs ( #685 )
2022-12-27 13:04:23 -06:00
=
2e267eec63
fix tui benchmark
2022-12-27 08:42:26 -06:00
Demonthos
2444c5333f
add launch_cfg_with_props to tui ( #682 )
2022-12-27 08:30:08 -06:00
Jonathan Kelley
4aac2cdae1
fix: raw attr names
2022-12-26 22:57:45 -05:00
=
1555500fbd
drop any values correctly
2022-12-26 10:53:25 -06:00
Jonathan Kelley
c240aebfa1
chore: start instead of flart
2022-12-26 09:58:41 -05:00
=
c245f04c8c
make any_cmp safe
2022-12-26 08:41:37 -06:00
=
170a3669f7
reduce usage of unsafe
2022-12-26 08:37:50 -06:00
Jonathan Kelley
8b854963e9
fix: serialize custom attrs properly
2022-12-25 23:58:31 -05:00
Jonathan Kelley
366e46eddf
chore: add some fixes to hot reload
2022-12-25 23:22:43 -05:00
Jonathan Kelley
079d71fb2b
fix: use modern enum
2022-12-25 22:11:45 -05:00
Jonathan Kelley
8887d65e1b
Merge branch 'master' into jk/suspense-rollover
2022-12-25 22:10:22 -05:00
Jon Kelley
ddaaee27f5
Merge pull request #651 from Demonthos/fix-hot-reloading
...
Fix hot reloading
2022-12-25 21:53:29 -05:00
Jonathan Kelley
3d69d3ea92
chore: use pending instead of async
2022-12-25 01:43:22 -05:00
Jonathan Kelley
9b0244ee5c
fix: use ready nodes in more places
2022-12-25 01:37:00 -05:00
Evan Almloff
738f1b3ce0
Merge branch 'upstream' into fix-non-str-attributes
2022-12-24 12:52:44 -06:00
Evan Almloff
c0d138fc1b
fix persistant iterator test
2022-12-24 11:37:17 -06:00
Evan Almloff
7eac90065a
fix mutations related to keyed lists
2022-12-24 10:58:56 -06:00
Jonathan Kelley
85f6ea0545
feat: expand error boundary concept
2022-12-23 23:59:10 -05:00
Jonathan Kelley
6b41c9d193
fix: make sure to set scope on none
2022-12-23 23:59:02 -05:00
Evan Almloff
33c08b3d74
Merge branch 'upstream' into fix-hot-reloading
2022-12-23 18:59:57 -06:00
Jonathan Kelley
48b1bf2ac1
Merge branch 'master' into jk/suspense-rollover
2022-12-23 19:46:55 -05:00
Jonathan Kelley
2409d499e0
chore: adjust attribute macro
2022-12-23 19:46:09 -05:00
Jonathan Kelley
8e18a223e3
wip: more tweaks
2022-12-23 19:43:19 -05:00
Jonathan Kelley
d8aa9f032a
feat: none return works
2022-12-23 19:33:15 -05:00
Evan Almloff
a6c226ae57
fmt
2022-12-23 18:31:40 -06:00
Jonathan Kelley
244ade048e
Merge branch 'master' into jk/suspense-rollover
2022-12-23 19:13:22 -05:00
Evan Almloff
555b192436
Merge branch 'upstream' into fix-hot-reloading
2022-12-23 18:06:47 -06:00
Evan Almloff
8fcccfa294
intigrate upstream changes
2022-12-23 17:59:51 -06:00
Jonathan Kelley
c9e13984e3
chore: use safe span split
2022-12-23 18:27:53 -05:00
Evan Almloff
33af22638e
don't panic if the formatting of the span is different than expected
2022-12-23 17:23:46 -06:00
Jonathan Kelley
0dce3e03c8
chore: rollback some unecessary changes
2022-12-23 18:08:23 -05:00
Jonathan Kelley
e7e21fa2f0
fix: errors when using render macro
2022-12-23 17:47:57 -05:00
Jonathan Kelley
fd8015e943
fix: hovers
2022-12-23 17:39:07 -05:00
Jonathan Kelley
4e49d71efe
chore: tweak global attributes
2022-12-23 17:11:00 -05:00
Evan Almloff
08c2440bca
update core tests
2022-12-23 16:10:05 -06:00
Evan Almloff
4caf95d639
add bubbling data to event listeners in the web renderer
2022-12-23 16:04:10 -06:00
Evan Almloff
afd024bcb6
Merge branch 'upstream' into fix-non-str-attributes
2022-12-23 15:53:39 -06:00
Evan Almloff
d98821da47
move hot reloading utilities to dioxus repository
2022-12-23 15:42:34 -06:00
Evan Almloff
a42ed7d445
create hot-reload-context flag
2022-12-23 15:08:44 -06:00
Stuart Woodbury
fe9c482afb
fix(clippy)
2022-12-23 11:40:51 -05:00
Jon Kelley
8802747214
Merge branch 'master' into feat/resize-window
2022-12-23 11:11:11 -05:00
Stuart Woodbury
f99991b23b
feat(DesktopContext): expose set_inner_size
2022-12-23 09:52:12 -05:00
Evan Almloff
3165c90e9f
update rsx tests
2022-12-22 19:32:21 -06:00
Evan Almloff
cc35298a1d
more resiliant span debug parsing
2022-12-22 18:34:20 -06:00
Evan Almloff
6a46a7c4fb
fix tests
2022-12-22 18:19:55 -06:00
Evan Almloff
6c28de7d05
fix tui
2022-12-22 17:09:00 -06:00
Evan Almloff
608c37428d
Merge branch 'upstream' into fix-hot-reloading
2022-12-22 16:58:30 -06:00
Evan Almloff
432bfd395e
fix swaping templetes before any instances are created
2022-12-22 16:54:49 -06:00
Evan Almloff
1530445972
fix hot reloading rsx with nested rsx calls
2022-12-22 16:38:07 -06:00
Evan Almloff
21ca1599eb
more bugfixes
2022-12-22 15:09:58 -06:00
Evan Almloff
776c5e8839
fix hot reloading with global and svg attibutes
2022-12-22 13:52:41 -06:00
Jonathan Kelley
5a70c6ecf9
chore: swap over router none
2022-12-22 14:45:48 -05:00
Evan Almloff
04a923f83e
fix changing the order of dynamic nodes
2022-12-22 11:36:38 -06:00
Jon Kelley
3824f386f7
Merge pull request #673 from DioxusLabs/jk/liveview-on-load
...
fix: dont send initialize until WS is connected
2022-12-22 11:34:54 -05:00
Jonathan Kelley
870d857a93
fix: prevent double borrow
2022-12-22 11:32:42 -05:00
Jonathan Kelley
56d193d196
fix: try to guard against double drop
2022-12-22 11:30:30 -05:00
Jonathan Kelley
3c1786b7f1
chore: use ws instead of global
2022-12-22 02:56:33 -05:00
Jonathan Kelley
19d0a9af28
chore: send message when websocket is open
2022-12-22 02:40:02 -05:00
Evan Almloff
db7a1ec0b0
fix lints
2022-12-21 13:04:57 -06:00
Evan Almloff
4c1fe1d9bb
allow changing the number of root nodes
2022-12-21 12:50:48 -06:00
Evan Almloff
e5a5850354
merge master
2022-12-20 20:48:28 -06:00
Jonathan Kelley
2fa3fe1fc0
fix: use arcwake instead of rcwake
2022-12-20 11:13:06 -08:00
Jonathan Kelley
19eb12b8dd
rollback: use default default
2022-12-19 20:25:21 -08:00
Jonathan Kelley
18157eeed1
fix: dont panic in panic test
2022-12-19 20:10:34 -08:00
Evan Almloff
67921cacc3
post merge fixes
2022-12-19 21:20:46 -06:00
Evan Almloff
493ee1cb3f
Merge branch 'upstream' into fix-hot-reloading
2022-12-19 21:17:22 -06:00
Jonathan Kelley
d3be971f4e
chore: rollback to option instead of anyhow
2022-12-19 18:06:13 -08:00
Evan Almloff
4364a4b511
handle updating templates better
2022-12-19 19:28:44 -06:00
Jonathan Kelley
4e330bc1ec
chore: fix rsx printer
2022-12-19 16:20:02 -08:00
Jonathan Kelley
182f11d0f3
chore: update with master
2022-12-19 16:17:59 -08:00
Jonathan Kelley
4313dea351
chore: clear readme
2022-12-19 16:12:51 -08:00
Jonathan Kelley
3fd08ef49e
chore: remove unneeded files
2022-12-19 16:12:15 -08:00
Jonathan Kelley
63944ef4c9
Merge branch 'master' into jk/autofmt-fixues
2022-12-19 16:10:04 -08:00
Jonathan Kelley
b76c520108
fix: salvo and remove actix from list of webframeworks
2022-12-19 15:29:20 -08:00
Jonathan Kelley
91233aa73a
chore: add gitignore for web testing
2022-12-19 15:12:42 -08:00
Jonathan Kelley
ca4d4ae8e1
chore: dont get rid of form data
2022-12-19 15:10:50 -08:00
Jonathan Kelley
58b0519c2f
feat: get interpreter working on desktop
2022-12-19 15:02:36 -08:00
Jonathan Kelley
c86cbd69da
feat: move interpreter code into desktop
2022-12-19 14:53:23 -08:00
Jonathan Kelley
50faa7dd08
feat: add proper event type
2022-12-19 14:14:01 -08:00
Jonathan Kelley
aa71c111cd
feat: introduce simpler adapters for liveview
2022-12-19 13:11:49 -08:00
Jonathan Kelley
09b38574db
Merge branch 'master' into jk/autofmt-fixues
2022-12-19 12:19:51 -08:00
Jonathan Kelley
8d7d07db56
chore: make clippy happy in workspace crate
2022-12-19 11:56:44 -08:00
Jonathan Kelley
7a4b0d7c2d
fix: use stack optimization for replacer
2022-12-19 11:14:01 -08:00
Evan Almloff
96ce704f8e
fix serialization
2022-12-19 11:48:28 -06:00
Evan Almloff
fbc89a7088
make 'static lifetime explicit
2022-12-19 09:37:15 -06:00
Evan Almloff
f84166fb11
allow configering the root name in the desktop renderer
2022-12-18 22:28:40 -06:00
Jonathan Kelley
9241be6e06
Merge branch 'master' into fix-non-str-attributes
2022-12-17 02:51:25 -08:00
Jonathan Kelley
a42660a451
fix: dont handle wakeups from finished tasks
2022-12-17 02:51:13 -08:00
Jonathan Kelley
3faef30075
fix: dont clone callbacks
2022-12-17 01:55:18 -08:00
Jonathan Kelley
c409fecaaf
fix: sync with master
2022-12-17 01:52:17 -08:00
Jonathan Kelley
cc7736302a
Merge branch 'master' into fix-non-str-attributes
2022-12-17 01:51:13 -08:00
Jonathan Kelley
482ae5e395
fix: no comments
2022-12-16 22:44:07 -08:00
Jonathan Kelley
255a903d5a
chore: no dbg
2022-12-16 22:42:57 -08:00
Jonathan Kelley
e0390ff608
fix: advance dynamic root
2022-12-16 22:39:27 -08:00
Jonathan Kelley
81dc134323
fmt
2022-12-16 21:10:20 -08:00
Jonathan Kelley
1ad86890a4
chore: reorganize miri
2022-12-16 20:41:31 -08:00
Jonathan Kelley
ea9245b0f7
fix: make miri pass
2022-12-16 20:39:19 -08:00
Jonathan Kelley
261d688b6e
fix: get miri passing
2022-12-16 20:26:04 -08:00
Jonathan Kelley
4d73ffa361
fix: save listeners, borrowed props, and pull back props
2022-12-16 19:54:33 -08:00
Jonathan Kelley
b6a8391e07
chore: dont print logs in core
2022-12-16 14:21:10 -08:00
Jon Kelley
5ac9b595ea
Revert "fix: liveview interpreter using new templates"
2022-12-16 14:20:05 -08:00
=
b6ade84ea6
fix some lints
2022-12-16 10:19:26 -06:00
=
894e3bf6b5
make it compile after merge
2022-12-16 10:18:23 -06:00
=
14dd568987
Merge branch 'upstream-master' into fix-hot-reloading
2022-12-16 10:07:11 -06:00
Jon Kelley
7ec55aa563
Merge pull request #655 from DioxusLabs/jk/fix-liveview
...
fix: liveview interpreter using new templates
2022-12-15 21:11:21 -08:00
Jonathan Kelley
01fa68645f
fix: liveview test
2022-12-15 20:42:01 -08:00
Jonathan Kelley
eee191b630
fmt
2022-12-15 20:28:04 -08:00
Jonathan Kelley
a81bbb83d6
fix: removed files
2022-12-15 20:24:30 -08:00
Jonathan Kelley
6a89a0fffc
chore: remove wasm
2022-12-15 19:59:21 -08:00
Jonathan Kelley
b95069619f
feat: get liveview working across the boar
2022-12-15 19:57:48 -08:00
=
0d9c350d5e
implement for web and desktop
2022-12-15 21:16:37 -06:00
Jonathan Kelley
7790d2c065
chore: simplify liveview abstraction
2022-12-15 18:46:59 -08:00
Jonathan Kelley
4e75c707d1
fix: go in reverse for building paths
2022-12-15 15:49:52 -08:00
Jonathan Kelley
44dde38c63
Merge branch 'master' into jk/fix-liveview
2022-12-15 14:26:36 -08:00
Jonathan Kelley
8530db69e1
fix: dont panic on cleanup
2022-12-15 14:26:05 -08:00
Jonathan Kelley
06e8e096bb
feat: more fixes to liveview
2022-12-15 14:25:23 -08:00
=
ab743e01b7
make html hot reloding context work
2022-12-14 21:38:50 -06:00
Jonathan Kelley
e256fe1079
wip: add html event type
2022-12-14 19:07:33 -08:00
Jonathan Kelley
fa3d1ef574
chore: bump wry to 23
2022-12-14 12:49:07 -08:00
Jonathan Kelley
3845451128
Merge branch 'master' of github.com:DioxusLabs/dioxus
2022-12-14 08:51:59 -08:00
Jonathan Kelley
c90be6bdc5
fix: dont panc
2022-12-14 08:51:28 -08:00
Jonathan Kelley
cee63ae370
fix: spawn task
2022-12-13 16:04:41 -08:00
Jonathan Kelley
fc2aaa7df5
fix: cargo check
2022-12-13 15:54:59 -08:00
Jonathan Kelley
02b1a73890
fix: use tokio for test
2022-12-13 15:48:40 -08:00
Jonathan Kelley
74fba3b579
fix: remove scope from listener
2022-12-13 15:36:15 -08:00
Jonathan Kelley
7beb7f0ee4
fix: use and_then
2022-12-13 15:30:40 -08:00
Jonathan Kelley
b659f4d5d6
chore: add back template diffing
2022-12-13 15:18:20 -08:00
Jonathan Kelley
7e45f2aa04
feat: add scroll to 0 for web router
2022-12-13 15:00:54 -08:00
Jonathan Kelley
5c20e651da
fix: get rollover working
2022-12-13 14:44:47 -08:00
Jonathan Kelley
79e786aca5
chore: convert to logs
2022-12-13 12:38:27 -08:00
=
6d2e510200
WIP implement hot reloading context for html
2022-12-12 21:46:49 -06:00
Jonathan Kelley
d4b6bb8a7b
feat: fix the scope rollover bug
2022-12-12 18:31:30 -08:00
Jonathan Kelley
e4d089fabc
fix: sledgehammer hydate text
2022-12-12 11:52:56 -08:00
Jonathan Kelley
d93eed4c29
feat: allow dynamic nodes to be into dynamic nodes
2022-12-12 11:20:25 -08:00
Jonathan Kelley
d160f38bc2
fix: parsing of attributes without trailing commas
2022-12-12 11:18:36 -08:00
=
53b436c684
remove AnyValueBounds and add some docs
2022-12-11 21:40:40 -06:00
=
875d17ea25
Merge remote-tracking branch 'upstream/master' into fix-non-str-attributes
2022-12-11 21:30:00 -06:00
=
73ec4abfdf
Merge remote-tracking branch 'upstream/master' into fix-non-str-attributes
2022-12-11 21:26:38 -06:00
=
2dee361b60
clean up features flags and AnyValueContainer
2022-12-11 21:25:55 -06:00
=
74e9d5977a
add sync behind a feature flag
2022-12-11 17:31:15 -06:00
Jonathan Kelley
6fd5ac38bb
Merge branch 'master' of github.com:DioxusLabs/dioxus
2022-12-11 13:59:11 -08:00
Jonathan Kelley
0b3e8a4493
chore: add new import to prelude
2022-12-11 13:58:58 -08:00
=
c961bf0779
improve and unify element macro
2022-12-11 10:26:21 -06:00
=
b1d053d6cc
fix template diffing
2022-12-11 09:38:38 -06:00
Evan Almloff
2419a2ae9d
WIP diffing templates
2022-12-10 21:18:44 -06:00
Jon Kelley
5dc86fe0b7
Merge pull request #646 from Demonthos/tui_widgets
...
Tui widgets
2022-12-10 19:01:48 -08:00
Evan Almloff
6b19229b53
use interning to leak less memory
2022-12-10 16:21:31 -06:00
Evan Almloff
3e7dbe868a
unwrap instead of using unreachable
2022-12-10 15:05:41 -06:00
Evan Almloff
134a45b89d
fix fmt escape sequences in static attribute/text nodes
2022-12-10 14:58:13 -06:00
Evan Almloff
2131e5658b
add hot reloading context trait
2022-12-10 14:09:59 -06:00
Evan Almloff
0ac02cc893
move any bound to trait instead of implementation
2022-12-10 13:24:39 -06:00
Evan Almloff
e4a7e4582b
make downcast_ref_unchecked unsafe
2022-12-10 12:59:12 -06:00
Evan Almloff
0813d531f1
add some utilities around AnyValueRc
2022-12-10 12:50:15 -06:00
Evan Almloff
f16e3be2c2
Merge branch 'fix-hot-reloading' of https://github.com/demonthos/dioxus into fix-hot-reloading
2022-12-10 12:29:17 -06:00
Evan Almloff
da64b0c2a8
WIP parising
2022-12-10 12:29:15 -06:00
Evan Almloff
f7717d8eb2
bump sledgehammer version
2022-12-10 08:29:54 -06:00
Sam Schmeink
6166d4eb73
fix: replace fxhash with rustc-hash
2022-12-10 03:56:48 +01:00
Jonathan Kelley
1b7fe3fcde
fix: dont use id for append
2022-12-09 16:44:08 -08:00
Jonathan Kelley
f153cdf61a
fix: dont panic lazynodes
2022-12-09 16:40:09 -08:00
Jonathan Kelley
afeb308a1f
chore: remove dbgs
2022-12-09 16:38:05 -08:00
Jonathan Kelley
dbf59f7c57
Merge branch 'master' of github.com:DioxusLabs/dioxus
2022-12-09 15:04:04 -08:00
Jonathan Kelley
b254d9e761
chore: remove cross-crate doc comments
2022-12-09 15:03:56 -08:00
Evan Almloff
0c0158f62d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-09 16:24:02 -06:00
Evan Almloff
8a1c96a68c
fix custom attribute value support
2022-12-09 16:18:37 -06:00
Jon Kelley
051f85f78f
Merge branch 'master' into return-from-js
2022-12-09 13:19:05 -08:00
Evan Almloff
a9b7da1890
remove some unused files
2022-12-09 12:00:37 -06:00
Evan Almloff
bf47f64852
Merge branch 'upstream' into return-from-js
2022-12-08 11:25:15 -06:00
Evan Almloff
35bebbf0cb
wrap the web eval result in a compatability layer
2022-12-08 10:57:09 -06:00
Evan Almloff
e863ef29b8
allow returning values from use_eval
2022-12-08 10:44:56 -06:00
Evan Almloff
7ef180409d
use sledgehammer-bindgen 0.1.2
2022-12-08 07:41:04 -06:00
Evan Almloff
129a67cdc6
fix mouse interaction with widgets
2022-12-08 06:40:00 -06:00
Evan Almloff
15701d1c87
make clippy happy
2022-12-07 23:05:00 -06:00
Evan Almloff
bbd49bb37c
cleanup code and examples
2022-12-07 23:01:13 -06:00
Evan Almloff
029255c7ac
widgets
2022-12-07 20:28:01 -06:00
Evan Almloff
99a4a9d45b
Merge branch 'upstream' into optimize-templates-v3
2022-12-07 18:29:02 -06:00
Jonathan Kelley
e6920e9b34
chore: fix web
2022-12-07 16:02:35 -08:00
Jonathan Kelley
1c3f4b2bc4
fix: use weak instead of sync
2022-12-07 15:42:39 -08:00
Jonathan Kelley
7ce07e3164
chore: fix tests passing
2022-12-07 15:29:32 -08:00
Evan Almloff
56b027ef33
fix more lints
2022-12-07 17:24:50 -06:00
Evan Almloff
cbaf36251f
cargo fix
2022-12-07 17:24:11 -06:00
Evan Almloff
b79ad4f50e
Merge remote-tracking branch 'upstream/master' into optimize-templates-v3
2022-12-07 17:20:31 -06:00
Jonathan Kelley
0bf4725639
fix: namespacing of dynamic attributes
2022-12-07 15:11:51 -08:00
Jonathan Kelley
db5b65b6cb
chore: make cargo check happy with new apis
2022-12-07 14:51:14 -08:00
Evan Almloff
5c6c235df0
cleanup code
2022-12-07 15:48:25 -06:00
Jonathan Kelley
a252774226
chore: clean up docs with changes to templates
2022-12-07 13:39:22 -08:00
Jonathan Kelley
6184ea500b
chore: also fix native core
2022-12-07 13:20:31 -08:00
Jonathan Kelley
4eefc3f854
chore: rename all &cx to cx, make clipppy happy
2022-12-07 13:11:40 -08:00
Jonathan Kelley
e8133e9449
fix: ios buillds
2022-12-07 12:50:43 -08:00
Evan Almloff
84416cbe6a
check if templates are ptr eq before doing full equality check
2022-12-07 10:11:27 -06:00
Evan Almloff
08da53303d
optimizations aroud preallocating
2022-12-07 08:44:54 -06:00
Evan Almloff
d64d92e4b4
disable rif raf
2022-12-07 07:24:51 -06:00
Jonathan Kelley
5673017def
chore: clean up the repo some
2022-12-06 17:50:25 -08:00
Jonathan Kelley
5a0ae67ccb
chore: make clippy happy
2022-12-06 17:44:29 -08:00
Jonathan Kelley
34d9aafe0e
feat: overhaul ssr
2022-12-06 17:41:47 -08:00
Jonathan Kelley
e8ae1fb83e
chore: comment out hot reloading stuff
2022-12-06 16:38:19 -08:00
Jonathan Kelley
1b14b309e9
chore: clean up desktop
2022-12-06 16:37:28 -08:00
Demonthos
67a6fa9eb8
Implement new mutations with native core ( #630 )
...
* work on seperating tree struture from realdom
* intial update to new mutations
* handle height
* update to taffy 0.2
* add as_varient functions to OwnedAttributeValue
* make get node parent mut optionally return a parent
* work on upward pass
* add more code for parrellel passes
* make resolve passes public
* more work on parallel passes
* fix deadlock and add more tests
* move height into the tree instead of the realdom
* make passes exicute in parallel instead of executing invidual passes in parellel
* fix some warnings
* add up dependant test
* clean up examples
* work on intigrating state with passes
* update to new mutations
* work on implementing macro
* make the macro compile
* more progress on macro
* mark cloned nodes as dirty
* update persistant_iterator utility
* fix mask generation
* update tui with new mutations
* more progress updating tui
* some basic tui examples working
* don't push template nodes onto the stack
* update hover example
* update benchmark
* update more examples
* fix root node layout
* ignore out of bounds renders
* update color picker example
* update all events example
* update remaining examples
* update tests
* tests passing
* move persistant iterator test
* update examples
* fix gaps in layout
* fix formatting
* fix memory leak
2022-12-06 15:38:04 -08:00
Jonathan Kelley
b9aad5e8f4
chore: help resolve conflicts
2022-12-06 15:37:06 -08:00
Evan Almloff
1081e4b772
Merge branch 'implement-new-mutations-with-native-core' into mutation-store
2022-12-06 14:24:40 -06:00
Evan Almloff
6102902387
work on optimizing web implementation
2022-12-06 14:24:35 -06:00
Evan Almloff
77381ceadd
fix memory leak
2022-12-06 09:54:44 -06:00
Evan Almloff
4b1c6125d4
fix formatting
2022-12-06 09:16:40 -06:00
Evan Almloff
4be64cb9f0
fix gaps in layout
2022-12-06 09:08:25 -06:00
Evan Almloff
6ee4f7df4f
update examples
2022-12-06 08:33:51 -06:00
Evan Almloff
40b15f834b
move persistant iterator test
2022-12-06 08:31:06 -06:00
Evan Almloff
32e93dee65
tests passing
2022-12-06 08:27:32 -06:00