fe621240c3
use tauri command to run commands ( #2475 )
...
* use tauri command to run commands
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add capabilities
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-22 17:44:13 -07:00
97faf5ae2b
Simplify the pentagon test ( #2474 )
...
* plumbus fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Simplify the pentagon test
* Fix up triangle png
* Triangle plumbuses now face the camera
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Jess Frazelle <github@jessfraz.com >
2024-05-22 16:50:54 -07:00
e3b9a6e5d8
Port forward to ts-rs 8.1 (currently: git only; waiting for 8.1.1+) ( #2443 )
...
Port forward to ts-rs 8.1
We're just waiting on a release that includes a PR that we sent[1] for this
to use the cargo version. For now we'll have to use the git release.
[1]: c5109a00e4
v0.21.7
2024-05-22 14:22:07 -04:00
e94b1bc12a
Add failing multi-sketch file ( #1466 )
...
* Add failing multi-sketch file
* Fix e2e lint
* fmt fml
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
Co-authored-by: Jess Frazelle <github@jessfraz.com >
2024-05-22 10:19:29 -07:00
c0eff5bc14
Cut release v0.21.7 ( #2466 )
2024-05-22 13:06:07 -04:00
b0f92c2f6d
remove printlns from stdlib ( #2467 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-22 09:43:42 -07:00
718873b3bb
updating kcl examples ( #2386 )
...
* updating kcl examples
* generate images
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add new
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
Co-authored-by: Jess Frazelle <github@jessfraz.com >
2024-05-22 09:15:38 -07:00
9f815eecc1
bump kcl-lib I think my last merge reverted it somehow ( #2465 )
2024-05-22 15:57:26 +00:00
0384e5e6c6
Add keyboard shortcuts for sketch and modeling tools ( #2419 )
...
* Add keyboard shortcuts for sketch and modeling tools
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* Add a playwright test
* skip linux
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fmt fml
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Give more generous test timeout for worst case engine runs
* Fix up test mouse clicks after zoom bug fixes
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
Co-authored-by: Jess Frazelle <github@jessfraz.com >
2024-05-22 11:07:02 -04:00
48ef0885b7
fix xz-plane ( #2376 )
...
* fix xz-plane
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* images
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* empty
* update docs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* scene infra fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* images
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* revert
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
* more test fix
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* trigger ci
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-21 23:35:33 -07:00
3b2731f924
Bump react and @types/react ( #2458 )
2024-05-21 23:04:39 -07:00
bf4e04f9f1
Bump @tauri-apps/plugin-os from 2.0.0-beta.2 to 2.0.0-beta.3 ( #2456 )
2024-05-21 23:03:50 -07:00
24475bbcdf
add more rust file tests ( #2452 )
...
* addd more rust file tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-21 20:39:29 -07:00
bcca736a8d
Fix rename project directory ( #2451 )
...
* make rust function with lots of tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* pull thru function to tauri and app
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* one more test;
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-21 19:23:43 -07:00
440eb2636a
Cut release v0.21.6 ( #2450 )
...
* Cut release v0.21.6
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* trigger ci
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v0.21.6
2024-05-22 12:05:44 +10:00
344e72d7ec
Cam fix ( #2448 )
...
* Revert "sketch dies on exit XY sketch (#2397 )"
This reverts commit 75c6ae6e66
.
* cam fix
* fmt
2024-05-22 01:19:13 +00:00
ec7b733a0d
fix project list showing projects of double clicked files ( #2441 )
...
* make sure there is at least one kcl file in the dir to show in list
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* open the correct file not assuming main.kcl
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add file path tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update settings paths
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* new images
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-21 18:14:49 -07:00
63159c1cb8
fix reset settings in browser ( #2434 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-21 13:33:52 -07:00
df62a995b5
Reset data channel seq every connect ( closes #336 ) ( #2431 )
...
Reset inSequence back to 1 every time we connect to the Engine,
otherwise we'll continue to think the current sequence is a high number
(while the engine has no memory of the last session -- and may even be a
new engine instance!) and ignore messages until we pass that counter
again.
Signed-off-by: Paul Tagliamonte <paul@zoo.dev >
2024-05-21 14:52:14 -04:00
fa762c1c4d
throw error on both ranges ( #2428 )
...
* highlight both ranges
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add playwright test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-21 00:49:57 -07:00
82b03a9d47
Add stdlib functions for getting sketch profile start and its components ( #2373 )
...
* Add stdlib functions for getting sketch profile start and its components
* Fix it up and actually generate snapshots
* cargo fmt
* Use `.to` instead of `.from`
* Update docs with EXPECTORATE=overwrite
* Add README
* fmt
* Update flow test to account for more autocompletion options when typing "start"
---------
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
2024-05-21 00:44:02 -07:00
793b7407f6
add TS ast walker ( #2425 )
2024-05-21 16:44:08 +10:00
040bcc2c09
bump zip ( #2423 )
...
* bump zip
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* rerender images
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix markdown
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-21 05:07:56 +00:00
ae2e219394
fix empty tag on sketch on face ( #2424 )
...
add test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-20 21:59:56 -07:00
a83f549257
Bump @tauri-apps/plugin-fs from 2.0.0-beta.2 to 2.0.0-beta.3 ( #2403 )
...
Bumps @tauri-apps/plugin-fs from 2.0.0-beta.2 to 2.0.0-beta.3.
---
updated-dependencies:
- dependency-name: "@tauri-apps/plugin-fs"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 21:37:27 -07:00
3871d2858f
Bump @tauri-apps/plugin-updater from 2.0.0-beta.2 to 2.0.0-beta.3 ( #2404 )
...
Bumps @tauri-apps/plugin-updater from 2.0.0-beta.2 to 2.0.0-beta.3.
---
updated-dependencies:
- dependency-name: "@tauri-apps/plugin-updater"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 21:37:13 -07:00
3effb87f8e
Bump react-router-dom from 6.22.3 to 6.23.1 ( #2405 )
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.22.3 to 6.23.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.23.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 21:36:57 -07:00
3f2f035a9b
Bump three from 0.163.0 to 0.164.1 ( #2406 )
...
Bumps [three](https://github.com/mrdoob/three.js ) from 0.163.0 to 0.164.1.
- [Release notes](https://github.com/mrdoob/three.js/releases )
- [Commits](https://github.com/mrdoob/three.js/commits )
---
updated-dependencies:
- dependency-name: three
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 21:36:47 -07:00
4735eaef8c
Bump vitest from 1.5.0 to 1.6.0 ( #2402 )
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.6.0/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 21:36:35 -07:00
69f8da058a
add tests for min and max ( #2420 )
...
* add tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Update src/wasm-lib/kcl/src/std/math.rs
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
* fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add another
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
2024-05-20 21:14:00 -07:00
93ebf13621
Wrapper for keybindings (codemirror and app) ( #2421 )
...
* start
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add hotkey wrapper
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-20 20:52:33 -07:00
20c4d44b8b
Cut release v0.21.5 ( #2418 )
v0.21.5
2024-05-21 10:35:10 +10:00
8ea8f80e32
Sort keys alphabetically in the Variables/Memory panel ( #2417 )
2024-05-20 17:28:51 -05:00
d73339fd8d
Edit mode prep ( #2370 )
...
* remove edit mode
* small rename
* update with compat with old edit mode
* exit edit mode still needed
* add log to export
2024-05-21 05:55:34 +10:00
031b230690
Disable home logo link in the browser app ( #2371 )
...
* Disable logo link in browser, clean up menu components' organization
* Include the app name in Tauri as screenreader-only text
* Fix tsc issue in component test
* Add a playwright test to ensure logo is never a link in the browser
* Update broken component tests
2024-05-20 14:59:59 -04:00
1125d74f12
Update serde ( #2415 )
2024-05-20 18:01:48 +00:00
5c7a2822d0
Add some JSDocs comments to types, convert some existing comments. ( #2363 )
...
* Add some JSDocs comments to types, convert some existing comments.
* Add JSDoc comments to EngineCommandManager
* Add deprecation message to `lastArtifactMap`
* fmt
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* Rerun CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-20 13:38:51 -04:00
d44b1f8e54
Fix code editor user input in older version of Safari ( #2350 )
...
Fix where code editor wasn't allowing code insertion in older versions of Safari.
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
2024-05-20 11:28:34 -04:00
c4ca69496b
update deps ( #2412 )
...
* update deps
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-20 06:36:44 +00:00
f06de7f586
Bump proc-macro2 from 1.0.82 to 1.0.83 in /src/wasm-lib ( #2409 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.82...1.0.83 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
2024-05-19 22:08:21 -07:00
75c6ae6e66
sketch dies on exit XY sketch ( #2397 )
...
* sketch dies on exit XY sketch
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* trigger ci
* fix test
* fix test
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-20 14:38:19 +10:00
48639d70db
Bump anyhow from 1.0.83 to 1.0.86 in /src/wasm-lib ( #2407 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.83 to 1.0.86.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.83...1.0.86 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-19 21:12:51 -07:00
c565d9670d
Bump syn from 2.0.64 to 2.0.65 in /src/wasm-lib ( #2410 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.64 to 2.0.65.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.64...2.0.65 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-19 21:12:15 -07:00
7bf5953299
Bump thiserror from 1.0.60 to 1.0.61 in /src/wasm-lib ( #2411 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.60...1.0.61 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-19 21:05:36 -07:00
a9ab35e55f
double-clicking a model file (obj, stl, etc) will auto generate a file with an import statement and open it ( #2400 )
...
* open model files and generate the content
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-20 00:45:09 +00:00
15418e98b0
missed a file ( #2399 )
...
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-20 00:16:26 +00:00
20838bf618
actually make import samples run ( #2398 )
...
* actually make import samples run
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* format
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-05-20 00:02:25 +00:00
acd52ab350
fix function variable panel issue ( #2392 )
...
* fix function variable panel issue
* fix test
2024-05-19 20:56:19 +10:00
75b9d2913f
fix max std lib ( #2391 )
2024-05-19 16:42:22 +10:00
d92e6f6453
Bump toml from 0.8.12 to 0.8.13 in /src/wasm-lib ( #2367 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.12 to 0.8.13.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.12...toml-v0.8.13 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-17 17:36:50 -07:00