Commit graph

2097 commits

Author SHA1 Message Date
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
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
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
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
Ewout ter Hoeven
bf62578fec
Add Dependabot configuration for GitHub Actions updates
Add a Dependabot configuration that checks once a week if the GitHub Actions are still using the latest version. If not, it opens a PR to update them.

It will actually open few PRs, since only major versions are specified (like v3), so only on a major release (like v4) it will update and open a PR. But it helps actively keep GitHub Actions workflows up to date and secure.

See https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
2022-12-06 16:00:56 +01:00
Jonathan Kelley
b182a6ee75 chore: clean up interpreter and bindings 2022-12-05 16:47:04 -08:00
Jonathan Kelley
7b1cdb7d85 feat: get desktop working with new template strategy 2022-12-05 16:08:41 -08:00
Jonathan Kelley
df4a1b6c7a chore: finish tweaking context api 2022-12-05 15:30:49 -08:00
Jonathan Kelley
99a818996e chore: make warnings go away 2022-12-05 14:18:28 -08:00
Jonathan Kelley
e22923eb2d feat: core tests passing 2022-12-05 14:16:54 -08:00
Jonathan Kelley
b0cccce60a feat: miri passing 2022-12-05 13:03:52 -08:00
Jonathan Kelley
a61daf220d feat: context api overhaul 2022-12-02 16:24:49 -08:00
YuKun Liu
250d138bf6
Update ZH_CN.md 2022-12-01 09:06:53 -08:00
Jonathan Kelley
11a45c8ef0 chore: continue to clean things up 2022-12-01 01:08:49 -05:00
Jonathan Kelley
85657d3906 feat: rip out mutations for templates 2022-12-01 00:46:15 -05:00
Jonathan Kelley
3b166c9edd wip: clean up some things 2022-11-30 23:54:30 -05:00
Jonathan Kelley
ba26b1001a chore: clean up web impl 2022-11-30 17:44:00 -05:00
Jonathan Kelley
18d6b1ad6f feat: get web working properly 2022-11-30 17:21:10 -05:00
YuKun Liu
afc40d9bf7
Update ZH_CN.md 2022-11-30 11:39:13 -08:00
Jonathan Kelley
3c19def550 chore: get create working and simplify dynamic nodes 2022-11-30 11:24:13 -05:00
Jonathan Kelley
16a521a601 chore: update docs 2022-11-30 10:31:44 -05:00
Jonathan Kelley
03aea885cf chore: make clippy happy 2022-11-29 16:46:25 -05:00
Jonathan Kelley
7c3d308ab5 chore: make warnings go away 2022-11-29 16:31:04 -05:00
Jonathan Kelley
0027cdd938 chore: get event test working 2022-11-27 09:38:40 -05:00
Jonathan Kelley
565df11f7b chore: more tests passing 2022-11-27 02:06:04 -05:00