-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.3.0 - General fixes and stability improvements (#37)
* Fixes issue #30 * Adds code for right-click menu for TextEdit Does not work because TextEdit lacks Sense(click) Thought for issue #32 * Add tooltip for issue #31 * Fix wasm I/O (#36) * Fix loading a file * Fixes loading in wasm, adds downloading files (fixes issue #6) * Final touches for config. Closes #34 * Add survey, closes #35 * Add reset config if incompatible * Update changelog
- Loading branch information
Showing
15 changed files
with
867 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
**/dist/* | ||
.vscode/ | ||
**/*.wb | ||
.cargo/config.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "turing-machine" | ||
version = "1.2.2" | ||
version = "1.3.0" | ||
edition = "2021" | ||
authors = ["Marcos Gutiérrez Alonso <[email protected]>"] | ||
description = "Turing Machine Simulator" | ||
|
@@ -10,7 +10,6 @@ license = "GPL-2.0" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
clap = { version = "^4.3", features = ["derive"] } | ||
pest = "^2.7" | ||
pest_derive = "^2.4" | ||
eframe = {version = "^0.22", features = ["wayland"]} | ||
|
@@ -23,16 +22,22 @@ turing-lib = "^2.1" | |
serde = {version = "^1.0", features = ["derive"]} | ||
serde_bytes = "0.11" | ||
bincode = "1.3" | ||
log = "^0.4" | ||
env_logger = "^0.10" | ||
sys-locale = "^0.3" | ||
|
||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] | ||
toml = "0.7.6" | ||
directories = "^5.0" | ||
log = "^0.4" | ||
env_logger = "^0.10" | ||
tracing-subscriber = "0.3" | ||
clap = { version = "^4.3", features = ["derive"] } | ||
clap-verbosity-flag = "2.0.0" | ||
version = {git = "https://github.com/turing-marcos/rs-version.git", tag = "v0.1.2"} | ||
|
||
# web: | ||
[target.'cfg(target_arch = "wasm32")'.dependencies] | ||
poll-promise = { version = "0.2.0", features = ["web"] } | ||
pollster = "0.3.0" | ||
console_error_panic_hook = "^0.1" | ||
tracing-wasm = "^0.2" | ||
wasm-bindgen = "^0.2" | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export function downloadToFile(content, filename) { | ||
const a = document.createElement('a'); | ||
const file = new Blob([content], { type: 'text/plain'}); | ||
|
||
a.href = URL.createObjectURL(file); | ||
a.download = filename; | ||
a.click(); | ||
|
||
URL.revokeObjectURL(a.href); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.