Skip to content

Commit df47247

Browse files
committed
Release 0.7.2 "Light" - Libraries, Characters menu
This release introduces four relatively significant features: 1. An Equation Library 2. A more general Library 3. Character menus 4. A character modification catalog There are also a number of bug fixes and improvements. === Features === * The *Equation Library* is similar in principle to what is found in the HP50G. It is intended to store equations covering a variety of topics. The Equation Library is accessible using the _EQS_ key (🟦 _'()'_). It is presently only very sparsely populated, but a future release should add the equations listed in Chapter 5 of the *HP50G Advanced User's Reference Manual*. Elements of the Equation Library appear as named *Equation Objects*. The Equation Library is configured by file `config/equations.csv`. * The *Library* is similar to the Equation Library, but for all kinds of objects such as programs or code snippets. The Library is accessible using the _LIB_ key (🟦 _VAR_). It can be used to customize your calculator, and is intended to play the roles of the `CST` variable (quick access to common features) and Library Objects / XLIB (external extensions to RPL). Elements of the Library appear as named *Library Objects*. The Library is configured by file `config/library.csv`. * The *Characters Menu* lets you enter Unicode characters easily, by presenting various classes of characters, such as `RPL`, `Greek` or `Punct`. The Characters Menus is accessible using the _CHAR_ key (🟦 _2_). It can be used to enter international characters (e.g. Greek or Cyrillic), as well as special characters such as arrows or blocks. The Characters Menu is configured by file `config/characters.csv`. * The *Characters Catalog* appears when the `Catalog` is active and the cursor is inside some text object. It gives you access to characters that are visually close to the character on the left of the cursor. For example, after typing `A`, the presented choices include `À`, `a` or `α`. The Characters Catalog is configured by file `config/characters.csv`. * compare: Add comparisons for `true` and `false` values * Add `TEVAL` command (timed evaluation) === Bug fixes === * Do not add unnecessary parentheses in ratios, e.g. `(A+B)/(X-Y)` * Make sure we can save back the configuration files correctly * Improve access path checks to accept `config:constants.csv`. * Avoid syntax error in `1/(1+x)` due to `1/` being seen as a fraction * unitfile: Remove slight risk of bad menu display after garbage collection * date/time: Make sure we save the stack and last args for `Date`, `Time`, ... * parser: Skip spacing when parsing numbers (to parse back `→Text` result) * time: Fix rendering of DMS time in lists, matrices, vectors * catalog: Fix a subtle bug on DM32 leading to a crash using the catalog === Improvements === * constants: Get values of special `π` and `e` by name * constants: Add prefix in editor to identify constants, equations and xlib * constants: Represent constants with an index for memory and performance * constants: Parse units containing text * constants: Allow `RCL` to recall a constant value * units: Direct insertion of units after numbers * menu: Update `Roll` and `RollDown` menu entries * show: Show all decimals for decimal values * help: Display the correct on-line help topic for constants * catalog: Use less memory for the sorted IDs * integrate: Use numerical computations for faster convergence * locals: Improve error message for bad locals * graph: Improve graphical rendering of constants (bold) and equations * graph: Do not add unnecessary parentheses in ratios * tests: Add tests for characters menu/catalog * tests: Fix the `.` vs `0.` test * ui: Do not enter DMS inside text * tests: Display disabled tests in gray * catalog: Keep a single spelling, e.g. no `add` duplicates * tests: Add extra delay in the wait for update * makefile: Add dependency of 'all' to the decimal constants * save: Improve rendering control when saving files * stack: Do not save stack in plot, integration or solver * debug: Disable debugging when launching a program from function key * simulator: Avoid piling up QT draw requests * doc: Update performance numbers for 1M loops * simulator: Add sound support * simulator: Lazy screen refresh * dmcp: Add UI refresh callback * simulator: Move QT-dependent code out of dmcp.cpp * Add reduced font * runtime: Various changes to isolate QT build from the rest Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
1 parent 63eb8ef commit df47247

6 files changed

Lines changed: 299 additions & 8 deletions

File tree

doc/4-ReleaseNotes.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,102 @@
11
# Release notes
22

3+
## Release 0.7.2 "Light" - Libraries, Characters menu
4+
5+
This release introduces four relatively significant features:
6+
7+
1. An Equation Library
8+
2. A more general Library
9+
3. Character menus
10+
4. A character modification catalog
11+
12+
There are also a number of bug fixes and improvements.
13+
14+
15+
### Features
16+
17+
* The *Equation Library* is similar in principle to what is found in the HP50G.
18+
It is intended to store equations covering a variety of topics.
19+
The Equation Library is accessible using the _EQS_ key (🟦 _'()'_).
20+
It is presently only very sparsely populated, but a future release should
21+
add the equations listed in Chapter 5 of the *HP50G Advanced User's Reference
22+
Manual*. Elements of the Equation Library appear as named *Equation Objects*.
23+
The Equation Library is configured by file `config/equations.csv`.
24+
25+
* The *Library* is similar to the Equation Library, but for all kinds of objects
26+
such as programs or code snippets. The Library is accessible using the _LIB_
27+
key (🟦 _VAR_). It can be used to customize your calculator, and is intended
28+
to play the roles of the `CST` variable (quick access to common features)
29+
and Library Objects / XLIB (external extensions to RPL). Elements of the
30+
Library appear as named *Library Objects*.
31+
The Library is configured by file `config/library.csv`.
32+
33+
* The *Characters Menu* lets you enter Unicode characters easily, by presenting
34+
various classes of characters, such as `RPL`, `Greek` or `Punct`.
35+
The Characters Menus is accessible using the _CHAR_ key (🟦 _2_).
36+
It can be used to enter international characters (e.g. Greek or Cyrillic), as
37+
well as special characters such as arrows or blocks.
38+
The Characters Menu is configured by file `config/characters.csv`.
39+
40+
* The *Characters Catalog* appears when the `Catalog` is active and the cursor
41+
is inside some text object. It gives you access to characters that are
42+
visually close to the character on the left of the cursor. For example, after
43+
typing `A`, the presented choices include `À`, `a` or `α`.
44+
The Characters Catalog is configured by file `config/characters.csv`.
45+
46+
* compare: Add comparisons for `true` and `false` values
47+
48+
* Add `TEVAL` command (timed evaluation)
49+
50+
51+
### Bug fixes
52+
53+
* Do not add unnecessary parentheses in ratios, e.g. `(A+B)/(X-Y)`
54+
* Make sure we can save back the configuration files correctly
55+
* Improve access path checks to accept `config:constants.csv`.
56+
* Avoid syntax error in `1/(1+x)` due to `1/` being seen as a fraction
57+
* unitfile: Remove slight risk of bad menu display after garbage collection
58+
* date/time: Make sure we save the stack and last args for `Date`, `Time`, ...
59+
* parser: Skip spacing when parsing numbers (to parse back `→Text` result)
60+
* time: Fix rendering of DMS time in lists, matrices, vectors
61+
* catalog: Fix a subtle bug on DM32 leading to a crash using the catalog
62+
63+
64+
### Improvements
65+
66+
* constants: Get values of special `π` and `e` by name
67+
* constants: Add prefix in editor to identify constants, equations and xlib
68+
* constants: Represent constants with an index for memory and performance
69+
* constants: Parse units containing text
70+
* constants: Allow `RCL` to recall a constant value
71+
* units: Direct insertion of units after numbers
72+
* menu: Update `Roll` and `RollDown` menu entries
73+
* show: Show all decimals for decimal values
74+
* help: Display the correct on-line help topic for constants
75+
* catalog: Use less memory for the sorted IDs
76+
* integrate: Use numerical computations for faster convergence
77+
* locals: Improve error message for bad locals
78+
* graph: Improve graphical rendering of constants (bold) and equations
79+
* graph: Do not add unnecessary parentheses in ratios
80+
* tests: Add tests for characters menu/catalog
81+
* tests: Fix the `.` vs `0.` test
82+
* ui: Do not enter DMS inside text
83+
* tests: Display disabled tests in gray
84+
* catalog: Keep a single spelling, e.g. no `add` duplicates
85+
* tests: Add extra delay in the wait for update
86+
* makefile: Add dependency of 'all' to the decimal constants
87+
* save: Improve rendering control when saving files
88+
* stack: Do not save stack in plot, integration or solver
89+
* debug: Disable debugging when launching a program from function key
90+
* simulator: Avoid piling up QT draw requests
91+
* doc: Update performance numbers for 1M loops
92+
* simulator: Add sound support
93+
* simulator: Lazy screen refresh
94+
* dmcp: Add UI refresh callback
95+
* simulator: Move QT-dependent code out of dmcp.cpp
96+
* Add reduced font
97+
* runtime: Various changes to isolate QT build from the rest
98+
99+
3100
## Release 0.7.1 "Whip" - Bug fixes
4101

5102
Inserting variables, constants or units in a program was broken.

help/db48x.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,6 +2277,103 @@ You can edit it by recalling its content on the stack using
22772277
back to disk using `"config:equations.csv" STO`.
22782278
# Release notes
22792279

2280+
## Release 0.7.2 "Light" - Libraries, Characters menu
2281+
2282+
This release introduces four relatively significant features:
2283+
2284+
1. An Equation Library
2285+
2. A more general Library
2286+
3. Character menus
2287+
4. A character modification catalog
2288+
2289+
There are also a number of bug fixes and improvements.
2290+
2291+
2292+
### Features
2293+
2294+
* The *Equation Library* is similar in principle to what is found in the HP50G.
2295+
It is intended to store equations covering a variety of topics.
2296+
The Equation Library is accessible using the _EQS_ key (🟦 _'()'_).
2297+
It is presently only very sparsely populated, but a future release should
2298+
add the equations listed in Chapter 5 of the *HP50G Advanced User's Reference
2299+
Manual*. Elements of the Equation Library appear as named *Equation Objects*.
2300+
The Equation Library is configured by file `config/equations.csv`.
2301+
2302+
* The *Library* is similar to the Equation Library, but for all kinds of objects
2303+
such as programs or code snippets. The Library is accessible using the _LIB_
2304+
key (🟦 _VAR_). It can be used to customize your calculator, and is intended
2305+
to play the roles of the `CST` variable (quick access to common features)
2306+
and Library Objects / XLIB (external extensions to RPL). Elements of the
2307+
Library appear as named *Library Objects*.
2308+
The Library is configured by file `config/library.csv`.
2309+
2310+
* The *Characters Menu* lets you enter Unicode characters easily, by presenting
2311+
various classes of characters, such as `RPL`, `Greek` or `Punct`.
2312+
The Characters Menus is accessible using the _CHAR_ key (🟦 _2_).
2313+
It can be used to enter international characters (e.g. Greek or Cyrillic), as
2314+
well as special characters such as arrows or blocks.
2315+
The Characters Menu is configured by file `config/characters.csv`.
2316+
2317+
* The *Characters Catalog* appears when the `Catalog` is active and the cursor
2318+
is inside some text object. It gives you access to characters that are
2319+
visually close to the character on the left of the cursor. For example, after
2320+
typing `A`, the presented choices include `À`, `a` or `α`.
2321+
The Characters Catalog is configured by file `config/characters.csv`.
2322+
2323+
* compare: Add comparisons for `true` and `false` values
2324+
2325+
* Add `TEVAL` command (timed evaluation)
2326+
2327+
2328+
### Bug fixes
2329+
2330+
* Do not add unnecessary parentheses in ratios, e.g. `(A+B)/(X-Y)`
2331+
* Make sure we can save back the configuration files correctly
2332+
* Improve access path checks to accept `config:constants.csv`.
2333+
* Avoid syntax error in `1/(1+x)` due to `1/` being seen as a fraction
2334+
* unitfile: Remove slight risk of bad menu display after garbage collection
2335+
* date/time: Make sure we save the stack and last args for `Date`, `Time`, ...
2336+
* parser: Skip spacing when parsing numbers (to parse back `→Text` result)
2337+
* time: Fix rendering of DMS time in lists, matrices, vectors
2338+
* catalog: Fix a subtle bug on DM32 leading to a crash using the catalog
2339+
2340+
2341+
### Improvements
2342+
2343+
* constants: Get values of special `π` and `e` by name
2344+
* constants: Add prefix in editor to identify constants, equations and xlib
2345+
* constants: Represent constants with an index for memory and performance
2346+
* constants: Parse units containing text
2347+
* constants: Allow `RCL` to recall a constant value
2348+
* units: Direct insertion of units after numbers
2349+
* menu: Update `Roll` and `RollDown` menu entries
2350+
* show: Show all decimals for decimal values
2351+
* help: Display the correct on-line help topic for constants
2352+
* catalog: Use less memory for the sorted IDs
2353+
* integrate: Use numerical computations for faster convergence
2354+
* locals: Improve error message for bad locals
2355+
* graph: Improve graphical rendering of constants (bold) and equations
2356+
* graph: Do not add unnecessary parentheses in ratios
2357+
* tests: Add tests for characters menu/catalog
2358+
* tests: Fix the `.` vs `0.` test
2359+
* ui: Do not enter DMS inside text
2360+
* tests: Display disabled tests in gray
2361+
* catalog: Keep a single spelling, e.g. no `add` duplicates
2362+
* tests: Add extra delay in the wait for update
2363+
* makefile: Add dependency of 'all' to the decimal constants
2364+
* save: Improve rendering control when saving files
2365+
* stack: Do not save stack in plot, integration or solver
2366+
* debug: Disable debugging when launching a program from function key
2367+
* simulator: Avoid piling up QT draw requests
2368+
* doc: Update performance numbers for 1M loops
2369+
* simulator: Add sound support
2370+
* simulator: Lazy screen refresh
2371+
* dmcp: Add UI refresh callback
2372+
* simulator: Move QT-dependent code out of dmcp.cpp
2373+
* Add reduced font
2374+
* runtime: Various changes to isolate QT build from the rest
2375+
2376+
22802377
## Release 0.7.1 "Whip" - Bug fixes
22812378

22822379
Inserting variables, constants or units in a program was broken.

help/db50x.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,6 +2277,103 @@ You can edit it by recalling its content on the stack using
22772277
back to disk using `"config:equations.csv" STO`.
22782278
# Release notes
22792279

2280+
## Release 0.7.2 "Light" - Libraries, Characters menu
2281+
2282+
This release introduces four relatively significant features:
2283+
2284+
1. An Equation Library
2285+
2. A more general Library
2286+
3. Character menus
2287+
4. A character modification catalog
2288+
2289+
There are also a number of bug fixes and improvements.
2290+
2291+
2292+
### Features
2293+
2294+
* The *Equation Library* is similar in principle to what is found in the HP50G.
2295+
It is intended to store equations covering a variety of topics.
2296+
The Equation Library is accessible using the _EQS_ key (🟦 _'()'_).
2297+
It is presently only very sparsely populated, but a future release should
2298+
add the equations listed in Chapter 5 of the *HP50G Advanced User's Reference
2299+
Manual*. Elements of the Equation Library appear as named *Equation Objects*.
2300+
The Equation Library is configured by file `config/equations.csv`.
2301+
2302+
* The *Library* is similar to the Equation Library, but for all kinds of objects
2303+
such as programs or code snippets. The Library is accessible using the _LIB_
2304+
key (🟦 _VAR_). It can be used to customize your calculator, and is intended
2305+
to play the roles of the `CST` variable (quick access to common features)
2306+
and Library Objects / XLIB (external extensions to RPL). Elements of the
2307+
Library appear as named *Library Objects*.
2308+
The Library is configured by file `config/library.csv`.
2309+
2310+
* The *Characters Menu* lets you enter Unicode characters easily, by presenting
2311+
various classes of characters, such as `RPL`, `Greek` or `Punct`.
2312+
The Characters Menus is accessible using the _CHAR_ key (🟦 _2_).
2313+
It can be used to enter international characters (e.g. Greek or Cyrillic), as
2314+
well as special characters such as arrows or blocks.
2315+
The Characters Menu is configured by file `config/characters.csv`.
2316+
2317+
* The *Characters Catalog* appears when the `Catalog` is active and the cursor
2318+
is inside some text object. It gives you access to characters that are
2319+
visually close to the character on the left of the cursor. For example, after
2320+
typing `A`, the presented choices include `À`, `a` or `α`.
2321+
The Characters Catalog is configured by file `config/characters.csv`.
2322+
2323+
* compare: Add comparisons for `true` and `false` values
2324+
2325+
* Add `TEVAL` command (timed evaluation)
2326+
2327+
2328+
### Bug fixes
2329+
2330+
* Do not add unnecessary parentheses in ratios, e.g. `(A+B)/(X-Y)`
2331+
* Make sure we can save back the configuration files correctly
2332+
* Improve access path checks to accept `config:constants.csv`.
2333+
* Avoid syntax error in `1/(1+x)` due to `1/` being seen as a fraction
2334+
* unitfile: Remove slight risk of bad menu display after garbage collection
2335+
* date/time: Make sure we save the stack and last args for `Date`, `Time`, ...
2336+
* parser: Skip spacing when parsing numbers (to parse back `→Text` result)
2337+
* time: Fix rendering of DMS time in lists, matrices, vectors
2338+
* catalog: Fix a subtle bug on DM32 leading to a crash using the catalog
2339+
2340+
2341+
### Improvements
2342+
2343+
* constants: Get values of special `π` and `e` by name
2344+
* constants: Add prefix in editor to identify constants, equations and xlib
2345+
* constants: Represent constants with an index for memory and performance
2346+
* constants: Parse units containing text
2347+
* constants: Allow `RCL` to recall a constant value
2348+
* units: Direct insertion of units after numbers
2349+
* menu: Update `Roll` and `RollDown` menu entries
2350+
* show: Show all decimals for decimal values
2351+
* help: Display the correct on-line help topic for constants
2352+
* catalog: Use less memory for the sorted IDs
2353+
* integrate: Use numerical computations for faster convergence
2354+
* locals: Improve error message for bad locals
2355+
* graph: Improve graphical rendering of constants (bold) and equations
2356+
* graph: Do not add unnecessary parentheses in ratios
2357+
* tests: Add tests for characters menu/catalog
2358+
* tests: Fix the `.` vs `0.` test
2359+
* ui: Do not enter DMS inside text
2360+
* tests: Display disabled tests in gray
2361+
* catalog: Keep a single spelling, e.g. no `add` duplicates
2362+
* tests: Add extra delay in the wait for update
2363+
* makefile: Add dependency of 'all' to the decimal constants
2364+
* save: Improve rendering control when saving files
2365+
* stack: Do not save stack in plot, integration or solver
2366+
* debug: Disable debugging when launching a program from function key
2367+
* simulator: Avoid piling up QT draw requests
2368+
* doc: Update performance numbers for 1M loops
2369+
* simulator: Add sound support
2370+
* simulator: Lazy screen refresh
2371+
* dmcp: Add UI refresh callback
2372+
* simulator: Move QT-dependent code out of dmcp.cpp
2373+
* Add reduced font
2374+
* runtime: Various changes to isolate QT build from the rest
2375+
2376+
22802377
## Release 0.7.1 "Whip" - Bug fixes
22812378

22822379
Inserting variables, constants or units in a program was broken.

src/dm32/qspi_crc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

2-
#define QSPI_DATA_SIZE 223804
2+
#define QSPI_DATA_SIZE 243396
33
#define QSPI_DATA_CRC 0x000cfed6
44

src/dm42/qspi_crc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

2-
#define QSPI_DATA_SIZE 223372
2+
#define QSPI_DATA_SIZE 242964
33
#define QSPI_DATA_CRC 0x000cfed6
44

state/Demo.48S

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -515,12 +515,12 @@
515515
0 Wait DROP
516516

517517
Ticks
518-
0 255 for red
519-
0 255 for green
520-
0 255 for blue
521-
red 255 /
522-
green 255 /
523-
blue 255 /
518+
0 255 for r
519+
0 255 for g
520+
0 255 for b
521+
r 255 /
522+
g 255 /
523+
b 255 /
524524
RGB Foreground
525525

526526
{ } 10#1 g * 400 * 255 / 0 + + 10#1 b * 240 * 255 / 0 + +

0 commit comments

Comments
 (0)