Skip to content

Commit be6a814

Browse files
authored
v1.2.1 - Composition, bugfixes and more (#25)
* Squashed commit of the following: commit 76e74e2 Author: Marcos Gutiérrez Alonso <[email protected]> Date: Wed Mar 15 23:41:00 2023 +0100 Improved cli (#19) * Removed CLI flag for argument * Updated eframe dependency * Formatted code Added an exercise book explorer * Squashed commit of the following: commit 76e74e2 Author: Marcos Gutiérrez Alonso <[email protected]> Date: Wed Mar 15 23:41:00 2023 +0100 Improved cli (#19) * Removed CLI flag for argument * Updated eframe dependency * Formatted code * Added missing dependency after merge * Added a real exercise Also made the debug window appear after selecting an exercise And made the debug window display a message if the code does not compile. Finally, added an ID to all windows, to avoid ID collisions * Added pagination to the workbook * Improved workbook * Moved library to external crate * Formatted project * Bumped version * Updated program version to rc1 * [New feature] - Optional file (#20) * Added a save option for the editor * Refactored UI code to be in separate functions * Removed file_lock dependency * Added save functionality for the web version * Run cargo fmt * Removed debug on hover and disabled autosave checkbox if no file was selected * Hotfix: added keyboard shortcuts for saving and opening files * Workbooks (#21) * Merged dev_master * Added serialization for the workbooks * Added de-serialization * Moved the exercise into a module * Run cargo fmt * Fixed serialization and deserialization * Removed magic number * Started workbook editor * Continuation of the editor * Added complete editor * Improved style * Added ability to load and save workbooks * Added compilation flag for teachers' workbok editor * Resolved conflict * Added wayland feature * Updated dependencies * Slightly improved keyboard event handling * Fixed missing extension when saving workbooks * Fixed bug serializing/deserializing workbooks * Features: composition (#23) * Minor improvements * Preparing for composition * Updated dependencies * Run cargo fmt * Fixed bug related to the main window creation * Update to use the new error system * Fixes error messages according to latest turing-lib changes * Run cargo fmt * Use latest release of the turing lib * First preview of composition interface * Bumbed rc version * Fixed examples * Fixed incorrect finished state * Improved visual style of compile button * Updated version * Finish look on composed libraries * Run cargo fmt * docs: Added changelog * Refactor: Added tooltips (#24) * style: Improved usability on header buttons * feat: Added tooltips * fix: Remove program title when a program errors out * docs: Updated changelog * docs: Reset version * refactor: Run cargo fmt * fix: error on load_file, but still does not work * fix: Disable load_file_async for non-wasm * fix: formatted code
1 parent 76e74e2 commit be6a814

34 files changed

+3427
-1568
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/target
22
**/*.sh
3-
**/dist/*
3+
**/dist/*
4+
.vscode/
5+
**/*.wb

CHANGELOG.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Changelog
2+
3+
## [v1.2.1]
4+
### Added
5+
- Composition support (#23)
6+
- Wayland feature flag
7+
- Workbooks (#21)
8+
- Compilation flag for teachers' workbok editor
9+
- Keyboard shortcuts for saving and opening files
10+
- Auto save when a file is chosen (#20)
11+
- Tooltips for the controls
12+
13+
### Fixed
14+
- Fixed bug serializing/deserializing workbooks
15+
- Fixed missing extension when saving workbooks
16+
- Slightly improved keyboard event handling
17+
- Title staying with the old value when compiling a new program that gives a compilation error
18+
19+
### Changed
20+
- Updated dependencies
21+
22+
## [v1.2.0] - 2023-03-30
23+
### Added
24+
- Pagination to the workbook
25+
- A real exercise for the workbook
26+
27+
### Fixed
28+
- Fix undefined output (#18)
29+
30+
### Changed
31+
- Moved library to external crate
32+
- Improved cli (#19)
33+
34+
## [v1.1.0] - 2023-02-08
35+
### Added
36+
- CNAME for gh-pages
37+
- Verbose flag for cli
38+
- Non-interactive CLI mode: This mode just prints out the result and it is the default when running in CLI mode
39+
- Infinite loop detection
40+
41+
### Fixed
42+
- Detect undefined states
43+
- WASM build (again)
44+
45+
### Changed
46+
- Replaced the `println!` with the logging functions that are appropriate for each verbose level
47+
- Improved tape size and position
48+
- Check if the tape has, at least, a 1 and throw an error if it doesn't.
49+
- The program stops when finished
50+
51+
## [v1.0.2] - 2023-02-03
52+
### Added
53+
- A table to view the tape input
54+
- An about page
55+
- I10n - App translation (#7)
56+
- Added test for wasm build
57+
- Language toggle
58+
- Added parser rule for program descriptions
59+
- Added description label at the top
60+
- More tests for the parser
61+
62+
### Fixed
63+
- URI for gh-pages
64+
- Github actions
65+
- WASM build
66+
67+
### Changed
68+
- Refactor: Created a lib with the turing logic
69+
70+
## [v1.0.0] - 2022-11-30
71+
### Added
72+
- Minor optimizations
73+
- An error window
74+
- Syntax error window and panel
75+
- WASM support (#4)
76+
77+
### Fixed
78+
- Two bugs
79+
80+
### Changed
81+
- Improved tests
82+
- Improved tokenization
83+
- Improved error handling
84+
- Improved parser structure and robustness
85+
- Improved calculations for the tape position
86+
- Improved font size
87+
- Update syntax to make initial state independent from tape definition
88+
89+
## [v0.2.1] - 2022-11-21
90+
### Added
91+
- Workflow for github pages
92+
- Tests
93+
- Readme
94+
95+
### Fixed
96+
- Fixed final state's instruction needing to be explicitly defined (#2)
97+
98+
## [v0.2.0] - 2022-11-21
99+
- Initial version

0 commit comments

Comments
 (0)