Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the 'STO' key in immediate mode #390

Closed
c3d opened this issue Oct 3, 2023 · 0 comments
Closed

Improve the 'STO' key in immediate mode #390

c3d opened this issue Oct 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@c3d
Copy link
Owner

c3d commented Oct 3, 2023

Typing 2 ENTER X STO works, but 2 ENTER 'X' STO results in an Invalid name error.

@c3d c3d added the bug Something isn't working label Oct 3, 2023
@c3d c3d closed this as completed in 52cc1a5 Oct 8, 2023
c3d added a commit that referenced this issue Oct 8, 2023
New features:
* Graphics menu, with operations such as `Disp` (#393)
* `EditMenu` for text editing operations with xshift-down (#381, #394, #395)
* 8-level command-line history with `HIST`, xshift-up (#397)
* Word left, word right and text selection in editor (#394)
* Cut, copy and paste (#381)
* Incremental search, text replacement feature (#398)
* The R/S key enters `=` when in equation mode (#400)
* The `EEX` key implements `Cycle` function in direct mode (#273)

Bug fixes:
* Correctly handle 'STO' key while typing an algebraic (#390)
* Off-by-one error in clipping causing corruption (#386)
* Fix operation of `GAnd`, `GOr` and `GXor` (#399)

Improvements:
* Reorganize menus (#389)
  * Try to have less than 18 entries per menu to avoid using 'next' key
  * Replace ROOT menu with POLY (polynomial operations)
  * Replace -> on right of MODES with OBJ (objects menu)
  * `Last` (shift-swap) is not `LastArguments` and not a menu (#396)
  * Update keyboard picture in simulator (and keyboard overlay files)
  * Make key labels in simulator and keyboard overlays easier to read
  * Automate the generation of keyboard layout files from original Keynote
  * Keyboard and menu layout is probably close to final now.
* Swap `exp` and `log` keys, so that `exp` and `ln` are both unshifted
  (this is a departure from stock DM42)
* Switching back to text-based stack rendering for now
* Demo file does not change default menu settings
* Documentation no longer executable in git repository

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
c3d added a commit that referenced this issue Jan 19, 2024
Check that there is no regression in the fix for #390

Fixes: #753

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
c3d added a commit that referenced this issue Jan 20, 2024
Check that there is no regression in the fix for #390

Fixes: #753

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
c3d added a commit that referenced this issue Jan 20, 2024
Check that there is no regression in the fix for #390

Fixes: #753

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
c3d added a commit that referenced this issue Jan 21, 2024
The focus of this release was to reactivate the test suite and fix the
problems that were found activating it.

[![Recording of a full run of the test suite](https://img.youtube.com/vi/aHW2GcX5S6o/maxresdefault.jpg)](https://www.youtube.com/watch?v=aHW2GcX5S6o&list=PLz1qkflzABy-Cs1R07zGB8A9K5Yjolmlf)

New features:

- HMS and DMS operations
- unit: Rendering of `dms` and `hms` units
- Allow `·` as a multiplication sign in equations
- ui: Display 'E' cursor inside parentheses
- graphics: Accept based integers as position for `DrawText`
- complex: Add setting to switch between `2+3i` and `2+i3`.

Bug fixes:

- decimal: Fix precision loss for addition with carry
- Base: limit range of bases to 2-36
- files: Do not add a trailing zero when reading a text file
- decimal: Adjust `MinimumSignificantDigits` behaviour
- units: Do not auto-simplify `1.0` during conversion
- decimal: Normalize parsed numbers
- solver: Fix sign error in epsilon exponent for solve/integrate
- parser: Accept `x!` as input
- simulator: Avoid faulty break-through in switch statement
- complex: Make tag higher-priority than complex
- editor: Adjust cursor and select correctly during replace
- decimal: Fix display of 0.2 in NoTrailingDecimal mode
- complex: Save `this` in a GC pointer when it can move
- arithmetic: Do not fail because of surrounding error
- decimal: Clamp int32 conversions from decimal
- commands: Parse `exp10` correctly in expressions
- decimal: Avoid infinite loop computing `expm1`
- ids: Do not allow parsing of structures
- dmcp: Make sure the tests don't block on `wait_for_key`
- decimal: Use correct angle unit for negative gamma values

Improvements:

- settings: Add classes that save/restore a given setting
- Add `XSHIFT` to shift to XSHIFT state directly
- Add NOSHIFT constant to simplify test writing
- ui: Add a variant of `close_editor` without trailing zero
- decimal: Cache gamma_ck values (accelerate gamma and lgamma)
- Replace magic constant `-1` with `EXIT_PGM`
- doc: Record performance data for 1000 iterations of SumTest
- decimal: Add tracing for gamma / lgamma function

New tests:

- Add tests for arithmetic truncation on short bitsizes
- Add tests for on-line help
- Add test for plotting flags
- Add test for Unicode to text conversions
- Add test for rectangular complex display options
- Add tests for plot scaling functions
- Add tests for the sorting functions
- Add test for parsing text with quotes inside
- Add test for file-based `STO` and `RCL`
- Add test for 2^256 computation (buf #460)
- Fix indentation of `[PASS]` or `[FAIL]` for UTF8 characters
- Add tests for units and conversions
- Add a keyboard test checking the single-colon insert in text
- Add test for i*i=-1 auto-simplification
- Add basic test for numerical integration
- Add test for fraction formats
- Add solver test
- Add missing tests
- Add test for immediate `STO` (#390)
- Add tests for the `Cycle` command
- Add test for catalog feature
- Add test for "smart" keyboard shortcuts introduced in 0.4.6
- Add regression test for #371
- Add tests for editor operations
- Test stack operations
- Add test for `GXor`, `GOr` and `GAnd`
- Add test for `ResetModes`
- Add plotting test for every decimal function
- Add image checking for graphical tests
- Add tests for graphic and text drawing commands
- Make it possible to individually run tests.
- Add plotting tests
- Add test parsing the various spellings for commands

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant