f3a700eec8
Bump expectorate from 1.0.7 to 1.1.0 in /src/wasm-lib ( #712 )
...
Bumps [expectorate](https://github.com/oxidecomputer/expectorate ) from 1.0.7 to 1.1.0.
- [Release notes](https://github.com/oxidecomputer/expectorate/releases )
- [Commits](https://github.com/oxidecomputer/expectorate/compare/v1.0.7...v1.1.0 )
---
updated-dependencies:
- dependency-name: expectorate
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-27 08:39:16 -07:00
c853637a9a
Bump thiserror from 1.0.48 to 1.0.49 in /src/wasm-lib ( #721 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49 )
---
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-27 08:39:03 -07:00
9af30d9ef6
Bump kittycad from 0.2.26 to 0.2.27 in /src/wasm-lib ( #722 )
...
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.26 to 0.2.27.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.26...v0.2.27 )
---
updated-dependencies:
- dependency-name: kittycad
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-27 08:38:49 -07:00
6164714a6b
Bump openapitor from 61a1605
to d3e98c4
in /src/wasm-lib ( #723 )
...
Bumps [openapitor](https://github.com/KittyCAD/kittycad.rs ) from `61a1605` to `d3e98c4`.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](61a16059b3...d3e98c4ec0
)
---
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-09-27 08:38:37 -07:00
64ceb98eba
Bump toml from 0.8.0 to 0.8.1 in /src-tauri ( #724 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.0 to 0.8.1.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.0...toml-v0.8.1 )
---
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>
2023-09-27 08:38:25 -07:00
2cbf260900
Bump tauri-plugin-fs-extra from b04bde3
to 6c7a4c0
in /src-tauri ( #725 )
...
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `b04bde3` to `6c7a4c0`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](b04bde3461...6c7a4c0984
)
---
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-27 08:38:14 -07:00
cfaaedf602
Bump kittycad from 0.2.26 to 0.2.27 in /src-tauri ( #726 )
...
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.26 to 0.2.27.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.26...v0.2.27 )
---
updated-dependencies:
- dependency-name: kittycad
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-27 08:37:54 -07:00
12b3717eb5
Cut release v0.9.2 ( #714 )
v0.9.2
2023-09-26 20:39:05 -04:00
0bc685b0c4
Bump tungstenite from 0.20.0 to 0.20.1 in /src/wasm-lib/kcl/fuzz ( #709 )
...
Bumps [tungstenite](https://github.com/snapview/tungstenite-rs ) from 0.20.0 to 0.20.1.
- [Changelog](https://github.com/snapview/tungstenite-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/snapview/tungstenite-rs/compare/v0.20.0...v0.20.1 )
---
updated-dependencies:
- dependency-name: tungstenite
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-25 20:49:16 -07:00
9ee032771a
unused dep ( #710 )
2023-09-26 03:22:05 +00:00
c307ddd1b1
resize ( #706 )
...
* start of resize
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* refactor
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* check if 0
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 >
* will work w new lib
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* new types
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* handle resize effect
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
2023-09-25 19:49:53 -07:00
a30818ff2b
fixes negative args in function ( #707 )
...
* updates
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 >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-25 15:25:58 -07:00
53e763d938
fix close arc ( #704 )
...
* fix close arc
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* much bigger radius
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-25 12:14:41 -07:00
8f74cd1d0c
Bump tauri-plugin-fs-extra from 0190f68
to b04bde3
in /src-tauri ( #702 )
...
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `0190f68` to `b04bde3`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](0190f68f1d...b04bde3461
)
---
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-25 09:33:53 -07:00
c271942897
remove errors ( #703 )
2023-09-25 07:28:03 +00:00
a03d09b41d
Restructure tokenizer module ( #700 )
...
* Remove duplicated tests
These tests already were copied to tokeniser2.rs, so removing them doesn't affect code coverage.
* Move tokeniser to its own module
Now there's a module for tokens, and the tokenizer/lexer implementation is private within the token module.
2023-09-24 20:01:17 -05:00
2971b7752b
Bump rust websocket libraries ( #701 )
...
Changelog: https://github.com/snapview/tokio-tungstenite/blob/master/CHANGELOG.md#0201
2023-09-24 21:34:31 +00:00
70e99eb00b
Refactor is_code_token into a method ( #699 )
...
* Refactor is_code_token into a method
* Fix typos, use Parser as it was imported
2023-09-24 21:11:36 +00:00
5c66af59d2
New tokenizer based on winnow ( #697 )
...
* New tokenizer, using Winnow instead of regexes.
Between 1.3x and 4.4x speedup on lexer benchmarks :)
* Use dispatch instead of alt
Most of the time, if you know the first character of a token, you can narrow down its potential possible token types, instead of just trying each token type until one succeeds.
This further speeds up the lexer. Compared to main, this branch is now between 3x and 12x faster than main.
2023-09-22 21:57:39 -05:00
6dda6daeef
Use separate benchmarks for lexing and parsing ( #698 )
2023-09-23 02:01:18 +00:00
b5387f1220
Cut release v0.9.1 ( #693 )
...
* bump to ⚡ ️⚡ ️⚡ ️v0.9.1⚡ ️⚡ ️⚡ ️
* update bump instructions
* readme update
* read me again
* change pr convention
v0.9.1
2023-09-22 10:38:17 +10:00
fd5921b366
Convert the lexer to be iterative not recursive ( #691 )
...
This is often more memory-efficient (does not create a bunch of stack
frames)
2023-09-21 19:19:08 -05:00
716ad938fc
stop gap for large files making editor slow ( #690 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-21 16:13:22 -07:00
40136eb392
Bump kittycad from 0.2.25 to 0.2.26 in /src-tauri ( #680 )
...
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.25 to 0.2.26.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.25...v0.2.26 )
---
updated-dependencies:
- dependency-name: kittycad
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-21 14:05:55 -07:00
8d2b89fcd1
Bump openapitor from 0d121f6
to 61a1605
in /src/wasm-lib ( #679 )
...
Bumps [openapitor](https://github.com/KittyCAD/kittycad.rs ) from `0d121f6` to `61a1605`.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](0d121f6881...61a16059b3
)
---
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-09-21 15:22:04 -05:00
ad9fba3390
Bump tauri-plugin-fs-extra from 76832e6
to 0190f68
in /src-tauri ( #681 )
...
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `76832e6` to `0190f68`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](76832e60bf...0190f68f1d
)
---
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-21 15:21:08 -05:00
911c43af50
Bump phonenumber from 0.3.2+8.13.9 to 0.3.3+8.13.9 in /src-tauri ( #687 )
...
Bumps [phonenumber](https://github.com/whisperfish/rust-phonenumber ) from 0.3.2+8.13.9 to 0.3.3+8.13.9.
- [Commits](https://github.com/whisperfish/rust-phonenumber/commits )
---
updated-dependencies:
- dependency-name: phonenumber
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-21 15:02:37 -05:00
ab4e04f6c2
Bump phonenumber from 0.3.2+8.13.9 to 0.3.3+8.13.9 in /src/wasm-lib ( #685 )
...
Bumps [phonenumber](https://github.com/whisperfish/rust-phonenumber ) from 0.3.2+8.13.9 to 0.3.3+8.13.9.
- [Commits](https://github.com/whisperfish/rust-phonenumber/commits )
---
updated-dependencies:
- dependency-name: phonenumber
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-21 15:02:23 -05:00
94aef05f74
Bump phonenumber from 0.3.2+8.13.9 to 0.3.3+8.13.9 in /src/wasm-lib/kcl/fuzz ( #686 )
...
Bump phonenumber in /src/wasm-lib/kcl/fuzz
Bumps [phonenumber](https://github.com/whisperfish/rust-phonenumber ) from 0.3.2+8.13.9 to 0.3.3+8.13.9.
- [Commits](https://github.com/whisperfish/rust-phonenumber/commits )
---
updated-dependencies:
- dependency-name: phonenumber
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-21 15:02:10 -05:00
d820cf2446
Tokenizer is accidentally quadratic ( #689 )
...
* Add comments and rename a function
* Typo: paran -> paren
* Use bytes, not string, for the tokenizer
* Fix typo
2023-09-21 14:18:42 -05:00
0c724c4971
Start to restructure the Engine's connection to the backend ( #674 )
...
* Start to restructure the Engine's connectio to the backend
1) Add in a tearDown stub for when the Engine is torn down. This is now
distinct from a 'close', which will not stop connect from trying
again. Running tearDown will mark the connection to not be retried
and close active connections.
2) Move the retry logic out of connect and into the constructor. It will
attempt to reconnect at the same rate as we had previously.
3) The timeout will now only close the connection, not restart it.
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
* Don't continue on dead conn & setTimeout on init only
* Clean up extra setTimeout
* Keep track of connection timeouts and clear on close
* Fix tsc by defining Timeout
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
* appease the format gods
---------
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
Co-authored-by: Adam Sunderland <adam@kittycad.io >
2023-09-21 12:07:47 -04:00
b54ac4a694
improve getNodePathFromSourceRange and therefore the ast explorer aswell ( #683 )
...
improve getNodePathFromSourceRange and therefore the ast explorer as well
2023-09-21 05:40:41 +00:00
27227092b1
app stuck on blur when engine errors ( #682 )
...
* temp fix for when engine returns error
* don't add extrued to show function
2023-09-21 04:32:47 +00:00
04e1b92a5b
Add a benchmark for parsing pipes-on-pipes ( #678 )
2023-09-21 03:13:07 +00:00
0553cd4621
tests for big files ( #675 )
...
* shit;
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 >
* 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 >
* still ignore the big one
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Add big kitt SVG to benchmarks
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Adam Chalmers <adam.s.chalmers@gmail.com >
2023-09-20 19:35:37 -07:00
61a0c88af4
Add IDE dirs to .gitignore ( #676 )
2023-09-21 02:03:09 +00:00
d5b0544437
Bump tauri-plugin-fs-extra from 5b814f5
to 76832e6
in /src-tauri ( #657 )
...
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `5b814f5` to `76832e6`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](5b814f56e6...76832e60bf
)
---
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-20 18:47:38 -07:00
6cc8af5c23
make stdlib functions async ( #672 )
...
* wip
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 >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
closer
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* closer
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* closer
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* compiles
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* connection
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix wasm
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* timeout
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* remove the drop
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* drop handle
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-20 18:27:08 -07:00
888104080e
bump v0.9.0 ( #673 )
v0.9.0
2023-09-21 10:38:40 +10:00
b6769889e3
Handle relative paths at kcl level ( #506 )
...
* handle relative paths at kcl level
* fmt
* update kittycad
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* bump
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 >
Co-authored-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
2023-09-21 10:36:26 +10:00
a32258dac4
Engine manager can be cloned ( #671 )
2023-09-20 16:22:47 -07:00
18dbbad244
Use an actor to manage the Tokio engine connection ( #669 )
...
* Use an actor to manage the Tokio engine connection
This means EngineManager trait's methods take &self not &mut self, and the tokio implementation can be cloned.
* Clean up code
2023-09-20 16:59:03 -05:00
b67c16cc9d
Benchmark for KCL parser ( #664 )
...
* KCL benchmarks
* CI for benchmarks
* More specific name for benchmark
* Benchmark the right directory
* Format
2023-09-20 13:15:28 -05:00
ad482641ef
Unit test for zero-param programs ( #663 )
2023-09-20 10:51:49 -05:00
9ee24845a1
Bump to v0.8.2 ( #656 )
...
Co-authored-by: Frank Noirot <frank@kittycad.io >
v0.8.2
2023-09-20 14:41:23 +00:00
e69d263252
Revert swapping setCode
for deferredSetCode
in App ( #662 )
...
This fix was implemented in https://github.com/KittyCAD/modeling-app/pull/649
to try and address https://github.com/KittyCAD/modeling-app/issues/545 .
However, we need to run `setCode` to execute immediately here or else
files will not render in the 3D view when opened, as reported by @pierremtb.
Reverting for now to allow for a timely release https://github.com/KittyCAD/modeling-app/pull/656
Signed-off-by: Frank Noirot <frank@kittycad.io >
2023-09-20 10:32:36 -04:00
111738f38e
Fix the debug panel overflow ( #653 )
2023-09-20 05:36:29 -04:00
e34501cc5a
Ast fixes ( #650 )
...
* allow using member expressions for memory items
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes pi in binary expressions
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add fix
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-19 16:05:53 -07:00
c767c1c3a6
Replace setCode
with deferredSetCode
in App ( #649 )
...
* Replace `setCode` with `deferredSetCode` in App
* Remove unused OpenFileButton component
2023-09-19 22:07:54 +00:00
e399a8f938
Franknoirot/ux papercuts 4 ( #640 )
...
* Add Cmd + / to support windows, update walkthrough
* Fix #628 dark mode <select> bg color
* Fix #621 by narrowing margins and moving to left
---------
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
2023-09-19 18:06:13 -04:00