Skip to content

Commit f46ada6

Browse files
committed
v2.3 release.
1 parent d9b19df commit f46ada6

3 files changed

Lines changed: 28 additions & 44 deletions

File tree

README.md

Lines changed: 21 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -217,47 +217,29 @@ selected.
217217
* Detect unreadable directories and files in more fields.
218218
* Substantial revision to fix some subtle misbehaviour.
219219

220-
### Updates since last release
220+
### Version 2.3
221221

222-
* Set minimum size for the main window. Allow space at the bottom of
223-
the main display so that the horizontal scroll bar does not obscure
224-
the prompt.
225-
* v2.21 Make "Generic information for all REDUCE commands" fields all
222+
* Make *Generic information for all REDUCE commands* fields all
226223
optional, resetting to defaults where appropriate. Correct the
227224
behaviour to allow the REDUCE Root Directory text field to be empty,
228225
and to use the Command Root Directory if it is set.
229-
* Add line breaking support to the new code for displaying
230-
identifiers.
231-
* Add support for conditional fancy!-functionsymbol properties that
232-
are association lists of pairs of the form `(arity . symbol)` and
233-
use it for the gamma function.
234-
* v2.22 Fix fancy!-out!-item() so as not to hang the GUI if an error
235-
occurs and to output a more useful error message.
236-
* Process _bar in an identifier as an over-bar even if it is followed
237-
by digits or _k.
238-
* Set switch ACN on by default, since it seems to improve display with
239-
ON LIST.
240-
* Add fancy!-assgnpri!-matrix() to display matrix assignments as
241-
assignments.
242-
* Remove the declaration of fancy!-symbol!-length for setq and let it
243-
default to 4, which seems appropriate. In fancy!-oprin, if `!*list`
244-
then break the line if `sumlevel!*` is 2 or 3; including 3 is a hack
245-
to fix the `on list` example in "alg.tst".
246-
* v2.23 Use fancy!-functionsymbol rather than fancy!-special!-symbol
247-
for function names and set fancy!-symbol!-length as appropriate for
248-
function names. Stop using `(ascii n)`, but retain support for it.
249-
Tidy up some of the functions for displaying special functions.
250-
This shortens some lines in `symbols_and_functions.tst` output.
251-
* Display abs(x) as |x| and add abs to `symbols_and_functions.tst`.
252-
* Display multiple matrix assignment correctly, e.g. `a := b :=
253-
mat(...)`.
254-
* Use a character width of 2 instead of 1 in fancy!-tex!-character().
255-
* Remove all superfluous space around commas in algebraic lists and
256-
flat printed matrix rows.
226+
* Add a *Restart REDUCE* item to the REDUCE menu to do a full clean
227+
restart of the last-run REDUCE command.
228+
* Set a minimum size for the main window.
229+
* Allow space at the bottom of the main display so that the horizontal
230+
scroll bar does not obscure the prompt.
257231
* Improve automatic scrolling to the bottom of the display pane.
258-
* v2.24 Add a *Restart REDUCE* item to the REDUCE menu to do a full
259-
clean restart of the last-run REDUCE command.
260-
* Give sqrt a width of 3 but remove the width of the n in an nth root.
261-
The output from "int.tst" is now reasonable.
262-
* v2.25 Highlight warnings and errors with an appropriate background colour.
263-
* Update UserGuide.
232+
* Highlight warnings and errors with an appropriate background colour.
233+
* Typeset maths improvements:
234+
* Improve line breaking.
235+
* Allow special function symbols to depend on a function's arity and
236+
use this for the gamma function to avoid perturbing "excalc.tst".
237+
* Process `_bar` in an identifier as an over-bar even if it is
238+
followed by digits or `_k`.
239+
* Improve display with `on list` and display matrix assignments as
240+
assignments, which now both appear correct for "alg.tst".
241+
* Display `abs(x)` as |x|.
242+
* Remove all superfluous space around commas in algebraic lists and
243+
flat printed matrix rows.
244+
245+
### Updates since last release

src/fjwright/runreduce/REDUCEPanel.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,9 @@ public void sendInteractiveInputToREDUCE(String text, boolean autoTerminate) {
452452
* This may not be the best solution but it seems to work provided the delay is long enough.
453453
*/
454454
private void scrollWebViewToBottom() {
455-
webEngine.executeScript("setTimeout(function(){document.documentElement.scrollIntoView(false)},200);" +
455+
webEngine.executeScript("setTimeout(function(){document.documentElement.scrollIntoView(false)},300);" +
456456
// Scroll again after KaTeX has had time to complete:
457-
"setTimeout(function(){document.documentElement.scrollIntoView(false)},500);");
457+
"setTimeout(function(){document.documentElement.scrollIntoView(false)},1000);");
458458
}
459459

460460
/*
@@ -552,12 +552,14 @@ void stop() {
552552
}
553553

554554
void restart() {
555-
stop();
555+
outputGobbler.cancel(true); // to avoid PSL REDUCE leaving "quitting" in the display pane.
556+
sendStringToREDUCENoEcho("bye;\n");
557+
// Reset enabled status of controls:
558+
reduceStopped();
556559
try {
557560
reduceProcess.waitFor(1, TimeUnit.SECONDS);
558561
} catch (InterruptedException ignored) {
559562
}
560-
outputGobbler.cancel(true); // to avoid PSL REDUCE leaving "quitting" in the display pane.
561563
clearDisplay();
562564
if (previousREDUCECommand != null) run(previousREDUCECommand);
563565
}

src/fjwright/runreduce/RunREDUCEFrame.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ private void sourceForgeMenuItemAction() {
668668
RunREDUCE.hostServices.showDocument("https://sourceforge.net/projects/reduce-algebra/");
669669
}
670670

671-
static final String VERSION = "2.25";
671+
static final String VERSION = "2.3";
672672

673673
@FXML
674674
private void aboutMenuItemAction() {

0 commit comments

Comments
 (0)