annotate _posts/2021-02-20-octave-6.2.0-released.markdown @ 239:0220f5ec3988

Octave 6.2.0 release 2021-02-20
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Sun, 21 Feb 2021 02:47:54 +0900
parents
children 6a6756f4efbf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
239
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
1 ---
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
2 layout: post
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
3 title: "GNU Octave 6.2.0 Released"
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
4 date: 2021-02-20
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
5 categories: news release
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
6 ---
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
7
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
8 Octave Version 6.2.0 has been released and is now available for [download][1].
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
9 An official [Windows binary installer][2] is also available.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
10 For [macOS][3] see the installation instructions in the wiki.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
11
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
12 This version is a bug fixing release:
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
13
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
14 ## Improvements
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
15
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
16 - `bicgstab.m`, `cgs.m`: Fix typo in `"iter_min"` variable name ([bug #60071](https://savannah.gnu.org/bugs/?60071)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
17 - Compute with `NA` correctly on MIPS architecture ([bug #59830](https://savannah.gnu.org/bugs/?59830)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
18 - Fix lookup of `"caller"` stack frame ([bug #59847](https://savannah.gnu.org/bugs/?59847)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
19 - Also wait on `main_thread` after interpreter shuts down ([bug #56952](https://savannah.gnu.org/bugs/?56952)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
20 - Fix symbol lookup issue with anonymous functions ([bug #55989](https://savannah.gnu.org/bugs/?55989)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
21 - Line buffer input in `terminal_reader` class.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
22 - `qr`: Error for dense `A` and `B` with three output arguments ([bug #58944](https://savannah.gnu.org/bugs/?58944)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
23 - `strmatch.m`: Always return column vector for Matlab compatibility ([bug #59917](https://savannah.gnu.org/bugs/?59917))
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
24 - Avoid crash when `evalin` global variables into existence in script ([bug #59937](https://savannah.gnu.org/bugs/?59937))
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
25 - Avoid crash on null statement list ([bug #59938](https://savannah.gnu.org/bugs/?59938)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
26 - Fix ignored output from user function in left side of assignment ([bug #59704](https://savannah.gnu.org/bugs/?59704)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
27 - Temporarily set lvalue list to null ([bug #59704](https://savannah.gnu.org/bugs/?59704)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
28 - `fminbnd.m`: do not ignore `"OutputFcn"` ([bug #59901](https://savannah.gnu.org/bugs/?59901)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
29 - `load-path.cc`: Reduce number of times `"canonicalize_file_name"` is called ([bug #59711](https://savannah.gnu.org/bugs/?59711)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
30 - `interpn.m`: Use `size_equal` for 10X speedup in cset 067b663529bb ([bug #59856](https://savannah.gnu.org/bugs/?59856)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
31 - `interpn.m`: Fix check for scattered point coordinates ([bug #59856](https://savannah.gnu.org/bugs/?59856)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
32 - Avoid `YYUSE` in Octave parser files (see [bug #59806](https://savannah.gnu.org/bugs/?59806)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
33 - `struct2hdl.m`: Set `"units"` property early.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
34 - `load-path.cc`: Avoid copying string for loop variable.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
35 - `pcg.m`: Return correct `FLAG` and correct `RELRES` output ([bug #59776](https://savannah.gnu.org/bugs/?59776)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
36 - Use static keyword on regexp pattern in `file_stat` ([bug #59706](https://savannah.gnu.org/bugs/?59706)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
37 - `stat`: Improve regular expression for UNC roots on Windows ([bug #59706](https://savannah.gnu.org/bugs/?59706)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
38 - `stat`: Use `"make_absolute"` instead of `"canonicalize_file_name"` on Windows ([bug #59706](https://savannah.gnu.org/bugs/?59706)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
39 - Improve `class_simple` function handle function lookup ([bug #59661](https://savannah.gnu.org/bugs/?59661)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
40 - `hdl2struct.m`: store hidden text properties ([bug #57241](https://savannah.gnu.org/bugs/?57241)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
41 - Mark script created with commands from history as modified.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
42 - `replem.m`: Fix operations with sparse matrices ([bug #59705](https://savannah.gnu.org/bugs/?59705)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
43 - `ode_event_handler.m`: Fix mishandling of event edge types and multiple events ([bug #59709](https://savannah.gnu.org/bugs/?59709)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
44 - Increase size of dynamic variable `new_argv` by 1 to avoid indexing out of array.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
45 - Fix incorrect results for set functions with `"legacy"` option ([bug #59708](https://savannah.gnu.org/bugs/?59708)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
46 - `dir.m`: Return folder (not including file) in field `"folder"` ([bug #59689](https://savannah.gnu.org/bugs/?59689)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
47 - Avoid memory leak with function handles ([bug #59659](https://savannah.gnu.org/bugs/?59659)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
48 - Avoid dispatch error if method argument is a function handle ([bug #59617](https://savannah.gnu.org/bugs/?59617)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
49 - Avoid crash due to accessing first element of empty list ([bug #59656](https://savannah.gnu.org/bugs/?59656)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
50 - Don't propagate prevailing `isargout` info through `mexCallMATLAB` ([bug #59597](https://savannah.gnu.org/bugs/?59597)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
51 - Show original error when failing to create a graphics object ([bug #59620](https://savannah.gnu.org/bugs/?59620)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
52 - Fix regression with superclass lookup in classdef constructors ([bug #59602](https://savannah.gnu.org/bugs/?59602)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
53 - Allow Octave class `execution_exception` to catch `std::exception` objects ([bug #59592](https://savannah.gnu.org/bugs/?59592)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
54
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
55
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
56
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
57 ## GUI
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
58
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
59 - Fix restoring editor session after having closed all tabs ([bug #60051](https://savannah.gnu.org/bugs/?60051)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
60 - Maybe convert TAB to SPC in GUI terminal pasted text ([bug #59916](https://savannah.gnu.org/bugs/?59916)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
61 - Make bracketed paste mode work in GUI terminal.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
62 - Fix regression in variable editor when printing without selection.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
63 - Avoid gui when octave is launched in non-interactive mode ([bug #59628](https://savannah.gnu.org/bugs/?59628)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
64 - `file-editor-tab.cc` (dtor): do not delete `m_edit_area` ([bug #59628](https://savannah.gnu.org/bugs/?59628)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
65 - Fix error when restoring previous main window layout ([bug #59426](https://savannah.gnu.org/bugs/?59426)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
66 - Improve default sizes of gui dock widgets.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
67 - Clean up constructing main window layout of the gui.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
68 - Fix focus command window after command execution ([bug #59609](https://savannah.gnu.org/bugs/?59609)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
69 - Check object size before plotting from variable editor ([bug #56685](https://savannah.gnu.org/bugs/?56685)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
70 - `documentation.cc`: Include missing header ([bug #59553](https://savannah.gnu.org/bugs/?59553)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
71
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
72 ## Build system / Tests
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
73
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
74 - Add default value to `OCTAVE_MIPS_NAN` configure macro for cross-compiling ([bug #59830](https://savannah.gnu.org/bugs/?59830)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
75 - tests: Function name should match file name ([bug #59704](https://savannah.gnu.org/bugs/?59704)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
76 - Avoid build errors with Qt4 ([bug #59813](https://savannah.gnu.org/bugs/?59813)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
77 - eigs.m: Make tests that depend on CHOLMOD conditional.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
78 - tests: Make tests that depend on CXSparse conditional.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
79 - build: Use `SPARSE_XCPPFLAGS` in `CPP_FLAGS` for libcorefcn ([bug #59806](https://savannah.gnu.org/bugs/?59806)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
80 - Add test case for [bug #59661](https://savannah.gnu.org/bugs/?59661).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
81 - `hgsave.m`: Allow test to run with qt or gnuplot graphics toolkits ([bug #57241](https://savannah.gnu.org/bugs/?57241)).
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
82
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
83 ## Documentation
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
84
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
85 - `embedded.cc`: Fix syntax error interpreter shutdown.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
86 - Update Octave Project Developers copyright for the new year.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
87 - Use the same comment style for copyright headers in .m files and shell scripts.
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
88
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
89 The above list was generated using the following command and some manual
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
90 post-processing and grouping:
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
91
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
92 {% highlight bash %}
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
93 hg log -r "release-6-1-0:release-6-2-0" -b stable \
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
94 | grep "summary:" | nl | sort -rn | cut -f 2- \
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
95 | sed 's/summary:\s*/- /' \
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
96 | sed 's/\(bug #\)\([0-9]*\)/[\1\2](https:\/\/savannah.gnu.org\/bugs\/?\2)/' \
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
97 | sed 's/\(patch #\)\([0-9]*\)/[\1\2](https:\/\/savannah.gnu.org\/patch\/?\2)/'
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
98 {% endhighlight %}
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
99
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
100 [1]: {{ "download.html" | absolute_url }}
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
101 [2]: https://ftpmirror.gnu.org/octave/windows
0220f5ec3988 Octave 6.2.0 release 2021-02-20
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
102 [3]: {{ site.wiki_url }}/Octave_for_macOS