1e1bec6a8a
Bump winnow ( #1024 )
2023-11-07 23:55:45 -06:00
06462b5a65
Bump syn from 2.0.38 to 2.0.39 in /src/wasm-lib ( #1000 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.38 to 2.0.39.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.38...2.0.39 )
---
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-11-07 22:45:58 -06:00
b1084cbf80
Bump serde from 1.0.190 to 1.0.192 in /src/wasm-lib ( #1012 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.190 to 1.0.192.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.192 )
---
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-11-07 22:44:55 -06:00
141fd2f3f1
fix variables panel and others ( #1021 )
2023-11-08 01:27:43 +00:00
604d931962
selections fix follow up ( #1019 )
2023-11-07 23:10:30 +00:00
b1668410f8
Neaten up stdlib code ( #1017 )
2023-11-07 12:12:18 -06:00
3a59ae13b6
fix selections ( #1013 )
2023-11-07 07:21:32 +00:00
57c2481943
unused imports ( #1011 )
2023-11-07 03:29:50 +00:00
a1c555c51e
clear errors on good parse ( #1008 )
2023-11-07 02:02:44 +00:00
82586f002b
Test Jess's KCL error ( #1004 )
2023-11-06 14:01:51 -06:00
4bd08f7444
safe parse ( #996 )
...
* safe parse
* use safe parse on mouse up, stream
2023-11-06 06:47:45 +00:00
6b2603b1c4
don't overwrite current file on onboarding-replay ( #1003 )
...
don't over write file on onboarding
2023-11-06 04:03:21 +00:00
af49bebde3
compare formated asts before execute ( #1002 )
2023-11-06 03:43:01 +00:00
ca056996fd
stop double execute on project open ( #997 )
2023-11-06 14:33:19 +11:00
34163da361
start of fixing changing files and cleaning up after execute ( #897 )
...
* start of fixing changing files and cleaning up after execute
* stop constraints from leaving artifacts
* don't write file on initial load
2023-11-06 11:49:13 +11:00
7c22bac638
Remove unwraps from binary expression algorithm ( #992 )
2023-11-03 13:30:19 -05:00
0b9ba55bb4
Nicer error messages for unknown tokens ( #974 )
2023-11-01 23:08:22 +00:00
2d2a85ae7d
remove view change from debug panel ( #866 )
...
remove view change from debug
2023-11-01 23:03:58 +00:00
fdbfd0c4b6
Fix typos ( #972 )
...
* Update twenty-twenty
Due to engine PR #1566
* Fix typos
2023-11-01 22:34:54 +00:00
2e419907e6
Tokenizing fallibility ( #883 )
...
Tokenization tracks invalid tokens and produces a nice error about them
---------
Co-authored-by: Adam Chalmers <adam.chalmers@kittycad.io >
2023-11-01 17:20:49 -05:00
3d0c5c10b0
KCL literals are typed, not JSON values ( #971 )
...
We now control the KCL type system instead of reusing JSON's type system.
2023-11-01 13:52:50 -05:00
4d47c067b7
Snapshot testing for parser ( #969 )
...
See https://docs.rs/insta for more.
2023-11-01 12:40:40 -05:00
3b3b5371eb
Bump wasm-streams from 0.3.0 to 0.4.0 in /src/wasm-lib ( #961 )
...
Bumps [wasm-streams](https://github.com/MattiasBuelens/wasm-streams ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/MattiasBuelens/wasm-streams/releases )
- [Changelog](https://github.com/MattiasBuelens/wasm-streams/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MattiasBuelens/wasm-streams/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: wasm-streams
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-11-01 08:43:18 -05:00
cf66b93963
Fix most Github Actions 'annotations' in PRs ( #417 )
...
* Fix Github Actions 'annotations' in PRs
Fixes #383
* Fix the React Hooks complains, and _app for rust
* Revert "Fix the React Hooks complains, and _app for rust"
This reverts commit 4a2ff925e5
.
* Add back prettier fix and rust _app
* Fmt
* More annotation fixes
* More non-hooks fixes
* Rollback with eslint rule
* Add APPLE_TEAM_ID secret
* Revert "Add APPLE_TEAM_ID secret"
This reverts commit 346aaff5f4
.
* More fixes
2023-11-01 07:39:31 -04:00
0b0219b810
Add repository field to Cargo.toml ( #960 )
2023-10-31 18:24:19 -05:00
36c7fcf6d7
Add a basic tauri e2e test on Linux ( #923 )
...
* WIP e2e test
* Working test on Linux
* Clean up
* Add to CI
* Fix
* Install tauri-driver
* Migrate to ubuntu-latest
* Add button check and click
* Update name
* Separate job for e2e test
* Fix path
* Fix perms
* Fix perms
* Single build-test-apps job
* Lint wdio file
2023-10-31 18:30:24 -04:00
023c3cbb90
New math parser ( #956 )
...
* New math parser
* Remove old parser
* Comments
* Move tests into parser_impl, remove dead code
* Backport some math tests
2023-10-31 14:16:18 -05:00
387f7e0912
New benchmark for parsing binary expressions ( #957 )
2023-10-31 18:04:24 +00:00
d36abfcb3d
Bump serde_json from 1.0.107 to 1.0.108 in /src/wasm-lib ( #953 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.107 to 1.0.108.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.107...v1.0.108 )
---
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-10-31 06:50:07 -04:00
9002ae9efb
Bump winnow from 0.5.17 to 0.5.18 in /src/wasm-lib ( #952 )
...
Bumps [winnow](https://github.com/winnow-rs/winnow ) from 0.5.17 to 0.5.18.
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md )
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.17...v0.5.18 )
---
updated-dependencies:
- dependency-name: winnow
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-10-31 06:49:51 -04:00
74aae3d15f
Bump openapitor from 57b4d8b
to 1b2562f
in /src/wasm-lib ( #938 )
...
Bumps [openapitor](https://github.com/KittyCAD/kittycad.rs ) from `57b4d8b` to `1b2562f`.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](57b4d8b168...1b2562f4b3
)
---
updated-dependencies:
- dependency-name: openapitor
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-10-30 22:21:35 -05:00
812f419e75
Bump serde from 1.0.189 to 1.0.190 in /src/wasm-lib ( #941 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.189 to 1.0.190.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.189...v1.0.190 )
---
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-10-30 22:21:23 -05:00
a5302b6e0e
Nitpick my Winnow code ( #946 )
2023-10-30 22:20:37 -05:00
7dd16fe6de
Bump clap from 4.4.6 to 4.4.7 in /src/wasm-lib ( #939 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.6 to 4.4.7.
- [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.6...v4.4.7 )
---
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-10-30 20:42:58 -04:00
ca02ec1151
Bump futures from 0.3.28 to 0.3.29 in /src/wasm-lib ( #944 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.28 to 0.3.29.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.28...0.3.29 )
---
updated-dependencies:
- dependency-name: futures
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-10-30 20:41:37 -04:00
b271d5060e
Fix typos and unnecessary import paths ( #945 )
2023-10-27 18:42:35 +00:00
f6f1574982
Use kittycad::Angle instead of our own ( #934 )
2023-10-24 16:32:41 -07:00
6dc4fbc808
Use KittyCAD rust library from workspace ( #932 )
...
* Use KittyCAD rust library from workspace
* Clippy
2023-10-24 20:49:06 +00:00
8843d02380
Cargo update ( #929 )
2023-10-24 11:24:59 -07:00
3578ec07e6
Bump uuid from 1.4.1 to 1.5.0 in /src/wasm-lib ( #926 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.4.1...1.5.0 )
---
updated-dependencies:
- dependency-name: uuid
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-10-24 10:42:07 -07:00
db35f73e41
Bump thiserror from 1.0.49 to 1.0.50 in /src/wasm-lib ( #927 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.49 to 1.0.50.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.49...1.0.50 )
---
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-10-24 10:41:47 -07:00
5cfc2b7941
DRY the code ( #921 )
2023-10-24 17:30:14 +00:00
318e4a0cc7
Update kittycad.rs ( #919 )
2023-10-23 14:03:38 -07:00
1e23be8f08
Update rustix ( #920 )
2023-10-23 14:03:28 -07:00
82e8a491c4
honour sketch mode after execute ( #885 )
...
* enable stay in sketch mode after execute
* clean up
2023-10-17 17:03:02 -04:00
93e806fc99
don't query program memory for add sketch line ( #895 )
...
* don't query program memory for add sketch line
* add issue TODO
* fmt
* fix test tsc
2023-10-18 07:30:03 +11:00
f1a14f1e3d
Guard all the vaules in the Metrics for undefined
. ( #891 )
...
We've seen a few cases where the WebRTC metrics report contains
undefined values when the stream hasn't started yet. JavaScript, when we
send to the backend, drops `undefined` members of the object, for
example:
```
> JSON.stringify({rtc_frames_dropped: undefined})
< '{}'
```
This will fail the backend validation logic and cause an error to get
emitted to the front-end reporting the missing key. I don't think this
does anything to the session, but it's an error we can avoid by guarding
more of the statistics with a || 0.
Some of the values had this already, this just adds a few more.
Signed-off-by: Paul R. Tagliamonte <paul@kittycad.io >
2023-10-17 16:55:45 +00:00
57c01ec3a2
Use platform-agnostic file separators ( #890 )
...
* Use platform-agnostic path separators
* Fix file settings by fixing absolute file path
* Fix missing home link in AppHeader
* Found so many more instances of raw "/" characters
* Tiny Settings style fix
* Clean up onboarding behavior for XState and multi-file
2023-10-17 12:31:14 -04:00
ce951d7c12
Add https://tauri.localhost for Windows ( #886 )
...
* Add https://tauri.localhost for Windows
Fixes #878
* Comments and info logs
2023-10-17 09:37:16 -04:00
0aa2a6cee7
more clean up ( #889 )
2023-10-17 09:08:17 +00:00