Commit graph

2415 commits

Author SHA1 Message Date
Jon Kelley
051f85f78f
Merge branch 'master' into return-from-js 2022-12-09 13:19:05 -08:00
Jon Kelley
375b9bc382
Merge pull request #640 from Demonthos/mutation-store
Optimize Web Template Implementation
2022-12-09 13:18:00 -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
Jon Kelley
937eb1f0f0
Merge pull request #641 from DioxusLabs/dependabot/github_actions/Swatinem/rust-cache-2
build(deps): bump Swatinem/rust-cache from 1 to 2
2022-12-07 16:28:10 -08:00
Jon Kelley
bb084ad7be
Merge pull request #642 from DioxusLabs/dependabot/github_actions/jetli/wasm-pack-action-0.4.0
build(deps): bump jetli/wasm-pack-action from 0.3.0 to 0.4.0
2022-12-07 16:27:59 -08:00
Jon Kelley
cdb1e76f6f
Merge pull request #643 from DioxusLabs/dependabot/github_actions/JamesIves/github-pages-deploy-action-4.4.1
build(deps): bump JamesIves/github-pages-deploy-action from 4.2.3 to 4.4.1
2022-12-07 16:27:49 -08:00
Jon Kelley
5e0fd8ef43
Merge pull request #644 from DioxusLabs/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 2 to 3
2022-12-07 16:27:39 -08:00
Jon Kelley
60fdcd6d82
Merge pull request #645 from DioxusLabs/jk/general-cleanups
chore: rename all &cx to cx, make clipppy happy, general cleanups
2022-12-07 16:17:06 -08: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
f075a519cc chore: prevent publishing 2022-12-07 13:21:38 -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
dependabot[bot]
dbffe1ad24
build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 03:25:10 +00:00
Jon Kelley
ab878c17c7
Merge pull request #633 from mrxiaozhuox/patch-5
Update ZH_CN.md
2022-12-06 19:25:09 -08:00
dependabot[bot]
c53f67230b
build(deps): bump JamesIves/github-pages-deploy-action
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.2.3 to 4.4.1.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.2.3...v4.4.1)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 03:25:07 +00:00
dependabot[bot]
0445302548
build(deps): bump jetli/wasm-pack-action from 0.3.0 to 0.4.0
Bumps [jetli/wasm-pack-action](https://github.com/jetli/wasm-pack-action) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/jetli/wasm-pack-action/releases)
- [Commits](https://github.com/jetli/wasm-pack-action/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: jetli/wasm-pack-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 03:25:04 +00:00
dependabot[bot]
b3b1415b69
build(deps): bump Swatinem/rust-cache from 1 to 2
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1 to 2.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rust-cache/compare/v1...v2)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 03:25:01 +00:00
Jon Kelley
9b9b4c7217
Merge pull request #639 from EwoutH/patch-1
Add Dependabot configuration for GitHub Actions updates
2022-12-06 19:24:42 -08:00
Jon Kelley
2b4d19247c
Merge pull request #600 from DioxusLabs/jk/templates-v3
Template architecture, async components, inline iterators, error boundaries, multiple renderers
2022-12-06 17:50:52 -08: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