Commit graph

51 commits

Author SHA1 Message Date
Evan Almloff
b76f129083 Merge branch 'master' into intigrate-collect-assets 2023-10-10 09:57:16 -05:00
Bruce Mitchener
d8704a0447
deps: Update keyboard-types to 0.7. (#1378) 2023-08-21 09:28:32 -05:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Evan Almloff
3eab363e51 Add authors to all crates 2023-07-31 17:30:18 -07:00
Andrea Frigido
dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -05:00
Jon Kelley
bfd7562ddb
Merge branch 'master' into feat/native-core-optional-deps 2023-06-30 12:30:39 -07:00
Evan Almloff
5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
marc2332
5ea04017e9
renamed the feature 2023-05-20 22:57:17 +02:00
marc2332
c741a32f4a
resolved conflicts 2023-05-20 22:10:54 +02:00
marc2332
02355ddd4c
feat: Move layout_attributes behind a feature in native-core 2023-05-20 22:06:35 +02:00
Nico Burns
2b0a86701e Upgrade Taffy to v0.3.12] 2023-05-16 10:46:13 +01:00
Evan Almloff
8669a5eb0e remove unused shipyard-heigharchy 2023-04-20 08:55:35 -05:00
Evan Almloff
40292e40b2 improve performance and disable parallelism by default 2023-03-12 18:06:40 -05:00
Evan Almloff
865c5aa957 all native-core tests passing 2023-03-12 15:35:48 -05: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
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
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
687cdf2cac use thread pool 2023-02-02 07:08:29 -06:00
Evan Almloff
4738352955 remove native-core-macro 2023-01-22 16:41:15 -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
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
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
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
51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds 2023-01-02 14:40:25 -06:00
Evan Almloff
6d60c483f8 make it pass miri 2023-01-02 11:01:17 -06:00
Jonathan Kelley
b351345db9 chore: use miri on native-core too 2022-12-30 14:45:45 -05:00
Evan Almloff
579d6ce1f9 use lightning css to parse layout attributes for taffy 2022-12-29 13:31:33 -06:00
=
53b436c684 remove AnyValueBounds and add some docs 2022-12-11 21:40:40 -06:00
=
74e9d5977a add sync behind a feature flag 2022-12-11 17:31:15 -06: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
Demonthos
3b7b503333
Refactor Mutations and simplify Templates (#578)
* update mutations to be path based rather than renderer integrated
2022-10-18 14:42:45 -07:00
saicu
e8c48d46cf
replace fxhash crate with rustc-hash (#588) 2022-10-12 18:27:26 -07:00
Evan Almloff
dcfe60c164 use taffy instead of stretch2 2022-06-10 17:23:30 -05:00
Evan Almloff
a5b9200e47 calculate absolute position 2022-05-10 18:13:05 -05:00
Jonathan Kelley
85a09314a6 chore: fill out cargo meta 2022-05-03 00:02:09 -04:00
Jonathan Kelley
3febd42588 Release dioxus-core v0.2.1, dioxus-core-macro v0.2.1, dioxus-html v0.2.1, dioxus-interpreter-js v0.2.1, dioxus-desktop v0.2.3, dioxus-hooks v0.2.1, dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4 2022-05-02 23:57:20 -04:00
Jonathan Kelley
22a423e2f6 chore: use fixed stretch version 2022-05-02 22:17:01 -04:00
Evan Almloff
436c6a02f7 add node dependancy 2022-04-16 12:27:52 -05:00
Evan Almloff
92f48169e9 WIP new api 2022-04-08 21:17:37 -05:00
Evan Almloff
351722d136 update dependancy to stretch2 master and remove refrences to tree 2022-04-04 13:37:04 -05:00
Evan Almloff
7f4e257757 bugfixes, testing and refactoring 2022-03-26 20:32:49 -05:00