bba9bdc563
Add logomark, update README ( #412 )
2023-09-14 05:16:24 +00:00
760a180f56
Convert to radians/degrees using Rust methods ( #516 )
...
use to_radians and to_degrees
2023-09-13 22:25:41 -06:00
0eeff8cb45
Add @replit/codemirror-interact ( #500 )
...
* Add @replit/codemirror-interact
Signed off by Frank Noirot <frank@kittycad.io >
* Add support for Alt + Meta + Shift for 0.01 increment
* Remove pixelsPerIncrement
This doesn't work because we have to rely on movementX, which means
only mouse movements of 3px or greater register while dragging. Although
I would eventually like to control the screen speed of incrementing,
I'd rather have consistent behavior for now.
Signed off by Frank Noirot <frank@kittycad.io >
---------
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
2023-09-14 04:03:51 +00:00
3c76721159
Fix id source range mapping with path_get_info ( #517 )
2023-09-14 13:49:59 +10:00
6ac79ae645
Move app.tsx effects ( #513 )
...
* move useSetupEngineManager
* move code eval
* add comment
2023-09-14 10:47:55 +10:00
90d7c33c92
add roadmap md file ( #514 )
2023-09-13 17:35:31 -07:00
e02bc76bdb
add ast explorer ( #460 )
...
* add crude ast explorer
* tsc
2023-09-14 08:51:23 +10:00
0466f04d82
add sin
cos
tan
to stdlib and make sure you cant redeclare a stdlib fn ( #497 )
...
more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 15:09:07 -07:00
f8ed830b60
Bump tauri from 1.3.0 to 1.4.1 in /src-tauri ( #490 )
...
Bumps [tauri](https://github.com/tauri-apps/tauri ) from 1.3.0 to 1.4.1.
- [Release notes](https://github.com/tauri-apps/tauri/releases )
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.3...tauri-v1.4.1 )
---
updated-dependencies:
- dependency-name: tauri
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>
2023-09-13 14:15:46 -07:00
b7ca91bf6d
Bump oauth2 from 4.4.1 to 4.4.2 in /src-tauri ( #489 )
...
Bumps [oauth2](https://github.com/ramosbugs/oauth2-rs ) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/ramosbugs/oauth2-rs/releases )
- [Commits](https://github.com/ramosbugs/oauth2-rs/compare/4.4.1...4.4.2 )
---
updated-dependencies:
- dependency-name: oauth2
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>
2023-09-13 13:46:17 -07:00
2261f92b0b
Bump anyhow from 1.0.71 to 1.0.75 in /src-tauri ( #488 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.71 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.75 )
---
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>
2023-09-13 13:46:07 -07:00
bbe9e621b1
Bump toml from 0.7.3 to 0.8.0 in /src-tauri ( #493 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.7.3 to 0.8.0.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.3...toml-v0.8.0 )
---
updated-dependencies:
- dependency-name: toml
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>
2023-09-13 13:45:59 -07:00
bf087d760b
Bump thiserror from 1.0.47 to 1.0.48 in /src/wasm-lib ( #375 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
---
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>
2023-09-13 13:45:49 -07:00
a4353c63fd
Bump tauri-plugin-fs-extra from 7e58dc8
to 5b814f5
in /src-tauri ( #491 )
...
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `7e58dc8` to `5b814f5`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](7e58dc8502...5b814f56e6
)
---
updated-dependencies:
- dependency-name: tauri-plugin-fs-extra
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 13:45:36 -07:00
c438d11c3d
make .4
parse as number ( #492 )
...
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 13:10:55 -07:00
43284e33c8
Bump toml from 0.6.0 to 0.7.3 in /src-tauri ( #277 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.6.0 to 0.7.3.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.6.0...toml-v0.7.3 )
---
updated-dependencies:
- dependency-name: toml
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>
2023-09-13 12:50:52 -07:00
77dce7f0dd
Bump syn from 2.0.32 to 2.0.33 in /src/wasm-lib ( #485 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.32 to 2.0.33.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.32...2.0.33 )
---
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>
2023-09-13 12:50:39 -07:00
d559862051
Bump proc-macro2 from 1.0.66 to 1.0.67 in /src/wasm-lib ( #486 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.66 to 1.0.67.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.66...1.0.67 )
---
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>
2023-09-13 12:50:22 -07:00
7382ed87ba
Bump tokio from 1.29.1 to 1.32.0 in /src-tauri ( #280 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.29.1 to 1.32.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.32.0 )
---
updated-dependencies:
- dependency-name: tokio
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>
2023-09-13 12:23:56 -07:00
3324ed31de
Bump serde_json from 1.0.96 to 1.0.106 in /src-tauri ( #429 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.96 to 1.0.106.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.96...v1.0.106 )
---
updated-dependencies:
- dependency-name: serde_json
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>
2023-09-13 12:23:43 -07:00
ba9dbc2205
Bump rustls-webpki from 0.101.1 to 0.101.5 in /src-tauri ( #449 )
...
Bumps [rustls-webpki](https://github.com/rustls/webpki ) from 0.101.1 to 0.101.5.
- [Release notes](https://github.com/rustls/webpki/releases )
- [Commits](https://github.com/rustls/webpki/compare/v/0.101.1...v/0.101.5 )
---
updated-dependencies:
- dependency-name: rustls-webpki
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 12:23:32 -07:00
b0028d4874
add basic docs for lang things ( #484 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 11:59:21 -07:00
9e6be9651c
Bump webpki from 0.22.0 to 0.22.1 in /src-tauri ( #399 )
...
Bumps [webpki](https://github.com/briansmith/webpki ) from 0.22.0 to 0.22.1.
- [Commits](https://github.com/briansmith/webpki/commits )
---
updated-dependencies:
- dependency-name: webpki
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 11:54:34 -07:00
b145ab0106
Bump clap from 4.4.2 to 4.4.3 in /src/wasm-lib ( #459 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.2...v4.4.3 )
---
updated-dependencies:
- dependency-name: clap
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>
2023-09-13 11:54:13 -07:00
84e0fbb70f
Bump serde from 1.0.186 to 1.0.188 in /src/wasm-lib ( #330 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.186 to 1.0.188.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.186...v1.0.188 )
---
updated-dependencies:
- dependency-name: serde
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>
2023-09-13 11:54:02 -07:00
990605bbea
fn
required and can only be used for fn
not var (#483 )
...
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix javascript tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 11:42:09 -07:00
d075c4ad13
Bump syn from 2.0.29 to 2.0.32 in /src/wasm-lib ( #427 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.29 to 2.0.32.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.29...2.0.32 )
---
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>
2023-09-13 11:12:18 -07:00
a3f41f5519
Bump serde_json from 1.0.105 to 1.0.106 in /src/wasm-lib ( #428 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.105 to 1.0.106.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.106 )
---
updated-dependencies:
- dependency-name: serde_json
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 >
2023-09-13 11:00:50 -07:00
cb173e2850
Error on keywords used in wrong way ( #481 )
...
* error if someone is using keyword where they should not
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 10:51:03 -07:00
87cd3b67f4
allow ranges in arrays to work ( #476 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 10:03:28 -07:00
fe3ee3806e
Fix array expressions ( #473 )
...
* fix array expressions
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix-tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 09:23:24 -07:00
c9ed6c724c
Fix path for starting second sketch ( #474 )
2023-09-13 11:49:19 -04:00
a5fa259d55
fixes obj.thing
stuff and member expressions and bugs ( #461 )
...
* add failing tests for loops
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix obj["thing"] and obj.thing complex cases
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* remove println
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more test fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* last test fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 07:23:14 -07:00
33822b5a19
Bump to v0.6.1 ( #465 )
v0.6.1
2023-09-13 06:33:11 -04:00
a2a4daebe3
fix move cmd order ( #462 )
2023-09-13 07:42:42 +00:00
a17ede50bd
Build endpoint for download page on website ( #451 )
2023-09-13 03:03:13 +00:00
2d452f80d1
ts-rs changes ( #450 )
...
* initial changes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* bust cache
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add dumb shit
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Revert "add dumb shit"
This reverts commit 638e9cf72f75e1ad08fb6b22d2a7b143ab7e06e5.
* Revert "bust cache"
This reverts commit fd6f53ba0757d635190aa82d4b055a83755f3027.
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 11:10:27 +10:00
cf39c08428
Bump to v0.6.0 ( #442 )
v0.6.0
2023-09-12 18:48:12 -04:00
2f25564fcc
Fix PathError on Linux builds ( #441 )
...
* Path Error on Linux builds
Fixes #438
* Add fallback to homeDir
2023-09-12 18:46:35 -04:00
fd2ed8acbd
Sketch on plane WIP ( #309 )
...
create default planes wip
2023-09-12 22:36:47 +00:00
5f3e1cfb6c
ability to test stuff against a real executor ( #448 )
...
* ability to test stuff against a real executor
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add another regression test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* figure out why hanging
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* ficxes
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 >
2023-09-12 14:59:40 -07:00
ee767afc3f
Franknoirot/online indicator ( #443 )
...
* Add network health indicator to AppHeader
* Add tests for network detection responsiveness
* Format test file
2023-09-12 14:58:59 -04:00
8071eb6f8a
Fix: allow the error from getUser to really be thrown ( #437 )
...
We have been catching the error thrown by the getUser fetch,
but since our state machine needs to fire onError we should
actually *not* wrap it in a try/catch statement.
Signed-off-by: Frank Noirot <frank@kittycad.io >
2023-09-12 00:37:54 +00:00
11f789e980
fixes angledLine ( #436 )
...
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix other tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-11 17:14:41 -07:00
3f82522fe9
dont set globally that we are not in a pipe ( #432 )
...
* dont set globally that we are not in a pipe
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix 0-l case as well
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix unary expression as well, add test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix array expressions in functions
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more options
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* u[dates
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 >
* add a test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Revert "updates"
This reverts commit 3cf06388db
.
* fix tets
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-11 15:15:37 -07:00
c5cb0e2fd4
Add "Trackpad Friendly" camera control setting inspired by Blender ( #431 )
...
* Refactor: rename CADProgram to CameraSystem
* Fix buttonDownInStream always set to 0
This is problematic because the left mouse
button ID is actually 0. If no button is
pressed we should set back to undefined.
* Fix: middle mouse button ID is 1, not 3
* Add "Trackpad Friendly" camera system setting
Signed off by Frank Noirot <frank@kittycad.io >
* Allow camera configs to be lenient on first click
2023-09-11 16:21:23 -04:00
9e2a94fcd9
Bump to v0.5.0 ( #430 )
v0.5.0
2023-09-11 05:16:53 -04:00
8a3e8d331d
Change WebRTC metrics to be request/response from the Engine ( #410 )
...
* Add in a Metrics request/response handler
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
* Update @kittycad/lib to 0.0.37
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
* Fix up type issues
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
* yarn fmt
* Remove VITE_KC_CONNECTION_WEBRTC_REPORT_STATS_MS
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
---------
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
2023-09-11 09:04:46 +10:00
1be9b2612c
Add menu to code editor, put "Format code" and "Convert to variable" buttons in it ( #426 )
...
* Move format code button to menu item
by extending CollapsiblePanel to take an optional
menu React element.
Signed-off-by: Frank Noirot <frank@kittycad.io >
* Style tweaks
* Add shortcuts for format and cmd bar to codemirror
* Move convert to variable into code menu
Signed off by Frank Noirot <frank@kittycad.io >
* Add keyboard shortcut to convert to variable
* Remove convert to variable from toolbar
* Refactor: move TextEditor to its own component
* Set a better convertToVar shortcut
* Style and ergonomic polish for convertToVar modal
* Use named constants for shortcuts 😇
* Try yet another keyboard shortcut
* Fix formatting
* remove isShiftDown from app.tsx
---------
Signed-off-by: Frank Noirot <frank@kittycad.io >
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
2023-09-09 05:38:36 +00:00
7c9aaeafa2
Guard Promise resolution with a shouldTrace() ( #424 )
...
The Promises are created behind a shouldTrace, so they'll be undefined
if you shouldn't be tracing. As a result, we need to guard the resoluton
of the promises.
Thanks @mlfarrell for spotting this in local dev!
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
2023-09-08 16:40:08 -04:00