Skip to content

Commit

Permalink
Release 0.7.14 "Kids" - Equation-related bug fixes
Browse files Browse the repository at this point in the history
This release fixes a number of issues that were discovered primarily
through the Columns and Beams equations.

**Features**

* trigonometrics: Add conversion from non-standard angles, so that
  `cos(1_turn)` gives the correct result.
* debug: Debug on error with `DebugOnError` and `KillOnError`
  settings. This makes it easier to debug an RPL program, by making it
  possible to single-step around the instruction that generated the
  error.
* tests: Add three 30 second demo of DB48X features. These are to
  generate marketing videos for the iPhone version on the Apple
  store (to be done).

**Bug fixes**

* ui: Keep a GC pointer in `draw_object` to avoid a memory crash
* equations: Add missing units in some equations, e.g. `I` and `A` in
  second equation of Coilumns and Beams
* equations: Add explicit `radian` unit in Eccentric Columns `cos`,
  which ensures we get the correct result from the HP50G manual even
  when in Degrees mode.
* units: Correctly factor out non-integral powers, so that we can
  compute `1/sqrt(epsilon_0*mu_0)` and get the correct result.
* catalog: Display commands that begin with selection first, so that
  `FORE` shows `Foreground` before `AlphaForeground`.
* stats: When computing a sum, evaluate the expression on all
  terms. The result for `Variance` with single variables was wrong
  because the first term was computed incorrectly due to a misguided
  optimization.
* graphics: Error out in `RGBPattern` for negative input. The negative
  values were generating an error, but it was not reported, so the next
  command was likely to report it.
* help: Render shift keys correctly in the color version. The bitmap
  was interpreted as containing color data. Colorize it instead.

**Improvements**

* ui: Select orange as background color during search. The previous
  setting of showing seardch using white foreground on a white
  background was probably pushing the notion of "blind search" a bit
  too far.

Signed-off-by: Christophe de Dinechin <[email protected]>
  • Loading branch information
c3d committed Aug 18, 2024
1 parent 28ff180 commit 104e4b9
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 3 deletions.
44 changes: 44 additions & 0 deletions doc/4-ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# Release notes

## Release 0.7.14 "Kids" - Equation-related bug fixes

This release fixes a number of issues that were discovered primarily through the
Columns and Beams equations.


### Features

* trigonometrics: Add conversion from non-standard angles, so that `cos(1_turn)`
gives the correct result.
* debug: Debug on error with `DebugOnError` and `KillOnError` settings. This
makes it easier to debug an RPL program, by making it possible to single-step
around the instruction that generated the error.
* tests: Add three 30 second demo of DB48X features. These are to generate
marketing videos for the iPhone version on the Apple store (to be done).


### Bug fixes:

* ui: Keep a GC pointer in `draw_object` to avoid a memory crash
* equations: Add missing units in some equations, e.g. `I` and `A` in second
equation of Coilumns and Beams
* equations: Add explicit `radian` unit in Eccentric Columns `cos`, which
ensures we get the correct result from the HP50G manual even when in Degrees
mode.
* units: Correctly factor out non-integral powers, so that we can compute
`1/sqrt(epsilon_0*mu_0)` and get the correct result.
* catalog: Display commands that begin with selection first, so that `FORE`
shows `Foreground` before `AlphaForeground`.
* stats: When computing a sum, evaluate the expression on all terms. The result
for `Variance` with single variables was wrong because the first term was
computed incorrectly due to a misguided optimization.
* graphics: Error out in `RGBPattern` for negative input. The negative values
were generating an error, but it was not reported, so the next command was
likely to report it.
* help: Render shift keys correctly in the color version. The bitmap was
interpreted as containing color data. Colorize it instead.

### Improvement

* ui: Select orange as background color during search. The previous setting of
showing seardch using white foreground on a white background was probably
pushing the notion of "blind search" a bit too far.


## Release 0.7.13 "Murderers" - Solver improvements

Expand Down
44 changes: 44 additions & 0 deletions help/db48x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2292,6 +2292,50 @@ You can edit it by recalling its content on the stack using
back to disk using `"config:equations.csv" STO`.
# Release notes

## Release 0.7.14 "Kids" - Equation-related bug fixes

This release fixes a number of issues that were discovered primarily through the
Columns and Beams equations.


### Features

* trigonometrics: Add conversion from non-standard angles, so that `cos(1_turn)`
gives the correct result.
* debug: Debug on error with `DebugOnError` and `KillOnError` settings. This
makes it easier to debug an RPL program, by making it possible to single-step
around the instruction that generated the error.
* tests: Add three 30 second demo of DB48X features. These are to generate
marketing videos for the iPhone version on the Apple store (to be done).


### Bug fixes:

* ui: Keep a GC pointer in `draw_object` to avoid a memory crash
* equations: Add missing units in some equations, e.g. `I` and `A` in second
equation of Coilumns and Beams
* equations: Add explicit `radian` unit in Eccentric Columns `cos`, which
ensures we get the correct result from the HP50G manual even when in Degrees
mode.
* units: Correctly factor out non-integral powers, so that we can compute
`1/sqrt(epsilon_0*mu_0)` and get the correct result.
* catalog: Display commands that begin with selection first, so that `FORE`
shows `Foreground` before `AlphaForeground`.
* stats: When computing a sum, evaluate the expression on all terms. The result
for `Variance` with single variables was wrong because the first term was
computed incorrectly due to a misguided optimization.
* graphics: Error out in `RGBPattern` for negative input. The negative values
were generating an error, but it was not reported, so the next command was
likely to report it.
* help: Render shift keys correctly in the color version. The bitmap was
interpreted as containing color data. Colorize it instead.

### Improvement

* ui: Select orange as background color during search. The previous setting of
showing seardch using white foreground on a white background was probably
pushing the notion of "blind search" a bit too far.


## Release 0.7.13 "Murderers" - Solver improvements

Expand Down
44 changes: 44 additions & 0 deletions help/db50x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2292,6 +2292,50 @@ You can edit it by recalling its content on the stack using
back to disk using `"config:equations.csv" STO`.
# Release notes

## Release 0.7.14 "Kids" - Equation-related bug fixes

This release fixes a number of issues that were discovered primarily through the
Columns and Beams equations.


### Features

* trigonometrics: Add conversion from non-standard angles, so that `cos(1_turn)`
gives the correct result.
* debug: Debug on error with `DebugOnError` and `KillOnError` settings. This
makes it easier to debug an RPL program, by making it possible to single-step
around the instruction that generated the error.
* tests: Add three 30 second demo of DB50X features. These are to generate
marketing videos for the iPhone version on the Apple store (to be done).


### Bug fixes:

* ui: Keep a GC pointer in `draw_object` to avoid a memory crash
* equations: Add missing units in some equations, e.g. `I` and `A` in second
equation of Coilumns and Beams
* equations: Add explicit `radian` unit in Eccentric Columns `cos`, which
ensures we get the correct result from the HP50G manual even when in Degrees
mode.
* units: Correctly factor out non-integral powers, so that we can compute
`1/sqrt(epsilon_0*mu_0)` and get the correct result.
* catalog: Display commands that begin with selection first, so that `FORE`
shows `Foreground` before `AlphaForeground`.
* stats: When computing a sum, evaluate the expression on all terms. The result
for `Variance` with single variables was wrong because the first term was
computed incorrectly due to a misguided optimization.
* graphics: Error out in `RGBPattern` for negative input. The negative values
were generating an error, but it was not reported, so the next command was
likely to report it.
* help: Render shift keys correctly in the color version. The bitmap was
interpreted as containing color data. Colorize it instead.

### Improvement

* ui: Select orange as background color during search. The previous setting of
showing seardch using white foreground on a white background was probably
pushing the notion of "blind search" a bit too far.


## Release 0.7.13 "Murderers" - Solver improvements

Expand Down
2 changes: 1 addition & 1 deletion src/dm32/qspi_crc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#define QSPI_DATA_SIZE 259940
#define QSPI_DATA_SIZE 260084
#define QSPI_DATA_CRC 0x000cfed6

2 changes: 1 addition & 1 deletion src/dm42/qspi_crc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#define QSPI_DATA_SIZE 259500
#define QSPI_DATA_SIZE 259644
#define QSPI_DATA_CRC 0x000cfed6

5 changes: 4 additions & 1 deletion src/tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@ void tests::run(bool onlyCurrent)
if (onlyCurrent)
{
here().begin("Current");
exact_trig_cases();
// eqnlib_columns_and_beams();
demo_ui();
demo_math();
demo_pgm();
}
else
{
Expand Down

0 comments on commit 104e4b9

Please sign in to comment.