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

Implement the 'Undo` feature #380

Closed
c3d opened this issue Sep 30, 2023 · 0 comments
Closed

Implement the 'Undo` feature #380

c3d opened this issue Sep 30, 2023 · 0 comments
Labels
feature New or missing features

Comments

@c3d
Copy link
Owner

c3d commented Sep 30, 2023

Implement the Undo feature

@c3d c3d added the feature New or missing features label Sep 30, 2023
@c3d c3d added this to the User interface milestone Sep 30, 2023
c3d added a commit that referenced this issue Sep 30, 2023
Implement the `Undo` and `LastArg` commands

Fixes: #379
Fixes: #380

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
c3d added a commit that referenced this issue Sep 30, 2023
Notes:
- This release switches the DM42 build to "optimize for size", because
  we ran out of program space for an "optimize for speed" build.
  The DM32 build is still optimized for speed.
- The release is not really "well rounded". Notably, graphical
  rendering of stack objects is active, but not complete. Everything
  is still rendered from text, and there is no caching yet.
- The package is now consistently called DB50X for DM32 and DB48X for DM42.
  In the long run, the DB50X is expected to be more full-featured or slightly
  faster everything being equal, due to limitations in DM42 program space that
  are fast approaching.

New features:
- Graphic objects, aka `grob`(#30)
- Graphic operations: `GOr`, `GXor`, `GAnd` (#383)
- Method for graphical rendering of objects (#47)
- Tagged objects, `dtag` and `->tag` commands (#21)
- `LastArg` (#379, #55)
- `Undo`, i.e. last stack (#380, #55)
- `LastX` (#384, #55)

Bug fixes:
- Fix latent memory corruption bug in `text` constructor
- Fix out of memory error reporting while building `text` objects
- blitter: Fix clipping when src and dest don't have same x direction

Enhancements:
- Use the `help` method to select help topic (#378)
- Graphical rendering of stack (#382)
- Simulator: Fix program exit with `EXIT` key after another key (#356)
- Simulator: Set 40K as default memory
- Out of program space: Switch to `-Oz` on DM42
- Generate different help files for DB48X and DB50X

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
@c3d c3d closed this as completed in a0bff89 Sep 30, 2023
c3d added a commit that referenced this issue Oct 1, 2023
The `Undo` key had not been connected when implementing `Undo`...

Fixes: #380

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
c3d added a commit that referenced this issue Oct 1, 2023
This is a quick respin after 0.4.4 to fix various cosmetic, and a
relatively serious editor corruption issue related to the
implementation of `Undo` that impedes usage of complex numbers.

Bugs:

- Editor corruption due to saving undo stack while editing (#386)
- Correctly parse editors and symbols (#372)
- Avoid emitting extra newlines for consecutive comments (#387)
- Integers: Do not recognize `#7D` as decimal (#371)
- User interface glitches (#388)
- Connect the `Undo` key (#380)

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
feature New or missing features
Projects
None yet
Development

No branches or pull requests

1 participant