Commit graph

233 commits

Author SHA1 Message Date
Evan Almloff
6bc9bc6ef9 fix nodes not being marked as dirty with multiple mutations 2023-03-24 12:57:19 -05:00
Evan Almloff
625dc662d2 make TUI widgets cross framework 2023-03-24 12:43:51 -05:00
Evan Almloff
f0bcb3c2c6 make dioxus intigration generic over custom value type 2023-03-19 07:14:35 -05:00
Evan Almloff
9a16687bdc fix custom attribute values and add example 2023-03-18 07:16:53 -05:00
Evan Almloff
a974fb3a8a fix clippy lints in native-core tests 2023-03-14 18:07:52 -05:00
Evan Almloff
8b5551e5d2 fix formatting 2023-03-14 17:26:59 -05:00
Evan Almloff
a37b29947b Remove the box::new passed into RealDom::new 2023-03-14 16:35:11 -05:00
Evan Almloff
4b81cdbf1b Update custom renderer guide 2023-03-14 16:06:32 -05:00
Evan Almloff
ae1300b015 improve ergonomics of custom drivers and add a counter example to rink 2023-03-13 21:26:44 -05:00
Evan Almloff
b255800511 fix TUI and tests building 2023-03-13 18:09:20 -05:00
Evan Almloff
daac9f540f document every item in native-core 2023-03-13 17:49:37 -05:00
Evan Almloff
ad374a8b9d fix formatting and lints 2023-03-13 10:03:45 -05:00
Evan Almloff
40292e40b2 improve performance and disable parallelism by default 2023-03-12 18:06:40 -05:00
Evan Almloff
c4845d5c8d update TUI to new native-core 2023-03-12 16:20:01 -05:00
Evan Almloff
865c5aa957 all native-core tests passing 2023-03-12 15:35:48 -05:00
Evan Almloff
ec3e02e4bb finish macro 2023-03-12 08:26:16 -05:00
=
bab3c8d584 WIP: derive macro 2023-03-08 09:06:21 -06:00
Evan Almloff
a8566b4e71 finish shipyard migration in native-core 2023-03-07 16:00:43 -06:00
Evan Almloff
b91e010ac7 WIP: use shipyard ecs 2023-02-28 13:26:49 -06:00
Jonathan Kelley
f664ce8fe0 Merge branch 'master' of github.com:DioxusLabs/dioxus 2023-02-22 13:06:41 -08:00
Jonathan Kelley
67fd94299a bump native core 2023-02-22 12:21:28 -08:00
Jonathan Kelley
ad70b46776 bump native core macro 2023-02-22 12:16:35 -08:00
Evan Almloff
a51f67c2ec add version to docs links in readmes 2023-02-18 18:38:30 -06:00
Jon Kelley
4f0f2484fd
Merge pull request #774 from Demonthos/update-doc-links
Update guide doc links
2023-02-17 11:53:15 -08:00
Evan Almloff
fe3ad8ebe9 document state trait 2023-02-11 17:43:08 -06:00
Evan Almloff
db04550fc8 fix widgets in tui 2023-02-10 10:56:24 -06:00
Evan Almloff
f6feb3f3f0 fix tui widgets 2023-02-09 21:34:47 -06:00
Evan Almloff
da62e85731 move clone method to nodemut 2023-02-09 13:55:45 -06:00
Evan Almloff
5b822201f7 clean up node mut api 2023-02-09 13:24:45 -06:00
Evan Almloff
0f6eb4fca2 clean up node api 2023-02-08 14:59:47 -06:00
Evan Almloff
997986ecf6 clean up passes code 2023-02-07 21:14:58 -06:00
Evan Almloff
9702ee3e19 remove some unused items and inline common methods 2023-02-07 14:58:38 -06:00
Evan Almloff
4ee8b8b676 create dioxus handler for TUI 2023-02-07 14:51:30 -06:00
Evan Almloff
71e34452da create driven example for tui renderer 2023-02-07 14:14:04 -06:00
Evan Almloff
c805bc25af make tui agnostic over framework 2023-02-06 21:28:48 -06:00
Evan Almloff
05b968e8e4 update persistant iterator to work with new system 2023-02-06 14:52:15 -06:00
Evan Almloff
bd07d7754c create node watcher API 2023-02-06 13:40:22 -06:00
Evan Almloff
93f64d91c9 fix some lints in tests 2023-02-05 09:39:55 -06:00
Evan Almloff
9dc63e67c9 add minimally called test 2023-02-05 09:35:32 -06:00
Evan Almloff
e4c7218fe8 make dioxus an optional dependancy 2023-02-04 20:45:29 -06:00
Evan Almloff
6fe00c4f78 make dioxus dependancy optional 2023-02-04 17:56:30 -06:00
Evan Almloff
8dde4e492f finish migrating tests 2023-02-02 14:48:02 -06:00
Evan Almloff
c8eb5c7dd7 update native core tests 2023-02-02 14:26:59 -06:00
Evan Almloff
6cf0274a5b expose listener methods 2023-02-02 14:26:47 -06:00
Marc Espín
d521da1991
Remove unnecessary 'static lifetime (#812) 2023-02-02 14:25:20 -06:00
Evan Almloff
2f6b8393f8 make parallelism optional 2023-02-02 08:57:23 -06:00
Evan Almloff
687cdf2cac use thread pool 2023-02-02 07:08:29 -06:00
Evan Almloff
d67b21c0e9 improve performance 2023-02-01 20:45:11 -06:00
Evan Almloff
71a0bdf71d TUI rendering mostly working 2023-02-01 14:36:56 -06:00
Evan Almloff
39a3db68bd fix deadlock 2023-02-01 14:15:17 -06:00
Evan Almloff
5eb4ca677d don't panic when trying to get information about a node that does not exist 2023-02-01 13:59:08 -06:00
Evan Almloff
0058c7ed32 create a way to create states 2023-01-29 20:28:29 -06:00
Evan Almloff
2c205f8ca5 fix some type bounds 2023-01-29 09:17:06 -06:00
Evan Almloff
d53bfb6c56 Merge branch 'upstream' into simplify-native-core 2023-01-28 18:49:19 -06:00
Evan Almloff
9efff74c0c update TUI renderer to new approach 2023-01-28 14:51:05 -06:00
Evan Almloff
b6c7d44a27 fix clippy 2023-01-27 20:35:46 -06:00
Evan Almloff
ce59ccfd44 enable multithreading 2023-01-23 21:03:28 -06:00
Evan Almloff
3279068569 clean up view code 2023-01-22 21:06:59 -06:00
Evan Almloff
4738352955 remove native-core-macro 2023-01-22 16:41:15 -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
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
3f3db39c28 update doc links 2023-01-15 15:18:12 -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
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
13e58daa20 Merge branch 'master' into jk/add-miri-to-ci 2023-01-10 17:53:25 -08:00
Evan Almloff
52d5c8d4e7 update READMEs and tags for the 0.3 release 2023-01-10 10:16:11 -06:00
Evan Almloff
85fdc77880 fix tui 2023-01-08 15:26:30 -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
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
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
Evan Almloff
bf20b66b38 make the real dom generic over custom types 2023-01-03 12:35:48 -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
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
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
Evan Almloff
56154d90be clean up unused code 2023-01-01 19:00:52 -06:00