Commit graph

2358 commits

Author SHA1 Message Date
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
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
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
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