annotate etc/NEWS.9.md @ 33405:25d82c22985d stable

NEWS.9.md: Remove duplicate entry. * etc/NEWS.9.md: Remove duplicate entry. Improve markdown syntax.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 14 Apr 2024 12:19:34 +0200
parents cc632fa52f9d
children 4debdac5478a 1edbab3fae48
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33211
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
1 Summary of bugs fixed for version 9.2.0 (YYYY-MM-DD):
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
2 -----------------------------------------------------
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
3
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
4 For (bug #XXXXX) see https://savannah.gnu.org/bugs/?XXXXX
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
5
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
6 ### Improvements and fixes
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
7
33273
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
8 - `hist.m`: Add input validation for `Y` restricting it to 2-D array
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
9 (bug #65478).
33405
25d82c22985d NEWS.9.md: Remove duplicate entry.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33403
diff changeset
10 - `cross.m`: Add input validation for `dim` restricting it to a numeric
33403
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
11 integer valued scalar (bug #65544, bug #65527).
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
12 - `getframe.m`: Respect pixel ratio (high DPI) of screen with figure
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
13 (bug #65540).
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
14 - `legend.m`: Fix error if root property `"showhiddenhandles"` is `"on"`
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
15 (bug #65442)
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
16 - `savepath.m`: Correctly handle packages without binaries (bug #65559).
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
17 - Correctly scale figure position on screen with DPI scaling (high DPI).
33279
308060bc6b27 cross: Improve input validation and expand BISTs. (bug #65544)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33275
diff changeset
18
33211
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
19 ### GUI
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
20
33273
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
21 - Use first word for options in right-click menu of command window widget
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
22 (bug #65518).
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
23 - Set `DontUseNativeDialog` flag as first property in `QFileDialog`.
33403
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
24 - Explicitly raise non-modal message boxes ensuring visibility.
33273
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
25
33211
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
26 ### Build system / Tests
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
27
33273
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
28 - Avoid overriding `save_*` variables from outer scope (bug #65476).
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
29 This fixes an error that might have lead to overlinking of shared libraries
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
30 (e.g., `.oct` files). Consider rebuilding shared libraries that have been
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
31 built with Octave 9.1.0.
33403
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
32 - Add BIST for `is_valid_file_id.m` (bug #65543).
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
33 - Update metainfo.xml with new fields for AppStream 1.0 (bug #65355).
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
34 - Show result of check for `std::pmr::polymorphic_allocator` in configure
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
35 summary.
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
36 - Run test for polymorphic allocators if possible instead of a simple build
cc632fa52f9d NEWS.9.md: Update NEWS file with recent changes for Octave 9.1.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33323
diff changeset
37 check.
33273
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
38
33211
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
39 ### Documentation
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
40
33273
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
41 - Describe shape of outputs for `hist` (bug #65471).
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
42 - Simplify programming notes for `patch` objects (bug #65421).
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
43 - `vecnorm.m`: Add missing parenthesis to equation in docstring.
33323
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
44 - Add example to Minimizers section on using anonymous functions to pass
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
45 examples to functions called by minimizer functions (`fminsearch`,
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
46 `fminbnd`, `fminunc`).
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
47 - Add application notes in `fminsearch`, `fminbnd`, `fminunc` indicated the
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
48 preferred way to pass parameters is through anonymous functions.
33273
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
49 - Update remaining copyright statements to 2024.
2bd98dd04bbc NEWS.9.md: Update NEWS file with changes for Octave 9.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33211
diff changeset
50
33323
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
51 ### Deprecated functions, properties, and operators
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
52
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
53 - `fminsearch` parameter passing: A legacy, undocumented, and only partially
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
54 supported syntax for passing parameters to the minimized function `fcn`
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
55 called by `fminsearch` by appending them to the input argument list has
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
56 functioned intermittently since Octave 4.4.0. Due to conflicts with other
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
57 compatibility-required input methods the documentation of this syntax was
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
58 removed in Octave 5.1.0, and the remaining functionality will be completely
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
59 removed in Octave 10. The preferred, cross-platform compatible method of
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
60 passing parameters to any of the minimization functions (including
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
61 `fminsearch`, `fminbnd`, and `fminunc`) is through the use of Anonymous
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
62 Functions. Specific examples of this can be found in the @ref{Minimizers}
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
63 section of the GNU Octave manual.
0d2a6a831574 doc: note fminX parameter passing removal, document alternatives (bug #55742)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 33279
diff changeset
64
33211
c59ff2782e04 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 33209
diff changeset
65
33209
d0c18b1446df Version 9.1.0 released
John W. Eaton <jwe@octave.org>
parents: 33186
diff changeset
66 Summary of important user-visible changes for version 9 (2024-03-12):
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
67 ---------------------------------------------------------------------
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
68
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
69 ### General improvements
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
70
31848
1f3f7e874203 dec2base.m: Accept negative and fractional inputs (bug #63282)
Arun Giridhar <arungiridhar@gmail.com>
parents: 31819
diff changeset
71 - `dec2base`, `dec2bin`, and `dec2hex` have all been overhauled. All three
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
72 functions now accommodate negative inputs and fractional inputs, and repeated
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
73 code between the functions has been reduced or eliminated. Previously only
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
74 `dec2bin` and `dec2hex` accepted negative inputs but `dec2base` did not, and
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
75 none of the three accepted fractional inputs. Now, `dec2base (100*pi, 16, 4,
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
76 6)`, for example, returns a base-16 string with four places for the integer
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
77 part and six places for the fractional part. Omitting the number of decimal
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
78 places (the fourth input) retains old behavior for backward compatibility,
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
79 except that non-integer inputs will no longer produce errors.
31848
1f3f7e874203 dec2base.m: Accept negative and fractional inputs (bug #63282)
Arun Giridhar <arungiridhar@gmail.com>
parents: 31819
diff changeset
80
32074
03fe0b635d2e quiver/quiver3: Overhaul input processing, validation, and add BISTs.
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32062
diff changeset
81 - `quiver` and `quiver3` now properly plot non-float numeric inputs by
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
82 internally casting them to 'double' (bug #59695). Both functions now honor
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
83 a previously ignored scaling factor input when there is only a single arrow
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
84 (bug #39552), and `quiver3` no longer produces an error when a scaling factor
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
85 is given without x and y inputs. Both functions now also accept a scale
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
86 factor of "off" which is equivalent to setting it to 0. When a linestyle
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
87 with a base marker is set suppressing arrowhead display, subsequent
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
88 name-value property pairs in the `quiver`/`quiver3` function call will no
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
89 longer turn arrowhead display back on (bug #64143). The linewidth property
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
90 now also affects the line width of the base marker.
32038
29671873411a __quiver__.m: Honor scaling factor input for single quiver arrow (bug #39552)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32035
diff changeset
91
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
92 - Classdef files now support breakpoints inside them.
32330
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
93
32047
e3de59065cf1 inputParser.m: Re-architect internal data structures for 60% speed improvement.
Rik <rik@octave.org>
parents: 32038
diff changeset
94 - The `inputParser` function has been re-architected for a 60% performance
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
95 improvement.
32047
e3de59065cf1 inputParser.m: Re-architect internal data structures for 60% speed improvement.
Rik <rik@octave.org>
parents: 32038
diff changeset
96
32180
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
97 - The `perms` function has been made faster.
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
98
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
99 - The `audiowrite` function now supports writing to MPEG audio
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
100 formats---including MP3---if the `sndfile` library supports it.
32195
9cb43336c3b3 audiowrite: Allow writing mp3 through libsndfile API (bug #64388).
John Donoghue <john.donoghue@ieee.org>
parents: 32188
diff changeset
101
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
102 - `oruntests`: The current directory now changes to the directory
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
103 containing the files with the tests for the duration of the test. This
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
104 aligns the behavior of this function with Octave's test suite. This also
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
105 means that the file encoding specified in the `.oct-config` file for the
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
106 respective directory is taken into account for the tests.
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
107
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
108 ### Graphical User Interface
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
109
32527
f1eb72c966a1 NEWS.9.md: Add note about added support for Qt6.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32519
diff changeset
110 - The Graphical User Interface (GUI) of Octave is now compatible with Qt6. Qt6
f1eb72c966a1 NEWS.9.md: Add note about added support for Qt6.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32519
diff changeset
111 is selected by default if the necessary Qt modules are detected and the used
f1eb72c966a1 NEWS.9.md: Add note about added support for Qt6.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32519
diff changeset
112 compiler is compatible. Support for building with Qt5 is still available but
f1eb72c966a1 NEWS.9.md: Add note about added support for Qt6.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32519
diff changeset
113 might be removed in a future version of Octave. Qt5 is used if configuring
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
114 with `--with-qt=5` or as a fallback if Qt6 cannot be used.
32527
f1eb72c966a1 NEWS.9.md: Add note about added support for Qt6.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32519
diff changeset
115
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
116 ### Graphics backend
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
117
32528
c823e7c9772b NEWS.9.md: Use same list item in section "Graphics backend" as in other sections.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32527
diff changeset
118 - The FLTK backend is not maintained and its use is discouraged. The
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
119 recommended backend is qt. Enabling the fltk backend with `graphics_toolkit
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
120 fltk` now emits a warning.
32172
71a792dfb05a Emit warning about use of FLTK toolkit.
Rik <rik@octave.org>
parents: 32116
diff changeset
121
32528
c823e7c9772b NEWS.9.md: Use same list item in section "Graphics backend" as in other sections.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32527
diff changeset
122 - The `set` function now accepts any combination of name/value pairs, cell
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
123 array of names / cell array of values, or property structures. This change
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
124 is Matlab compatible.
31819
4db921b57ace Extend set() to process any combination of acceptable inputs.
Rik <rik@octave.org>
parents: 31818
diff changeset
125
32528
c823e7c9772b NEWS.9.md: Use same list item in section "Graphics backend" as in other sections.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32527
diff changeset
126 - When the `hold` function is used without arguments to toggle the current
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
127 state, the resulting value is now displayed in the Command Window for
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
128 informational purposes.
31975
72d005398818 hold.m: Print current hold state to Command Window when toggling state (bug #63923)
John W. Eaton <jwe@octave.org>
parents: 31918
diff changeset
129
33186
27afeba070ed NEWS.9.md: Add note about stricter checks for color data of patch objects (bug #65431).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32956
diff changeset
130 - The axes graphics property `"TickDir"` now accepts the option `"none"`, which
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
131 will not draw tick marks but will still draw tick labels.
32116
7e774d71c491 Add support for "none" option to axes graphic property "TickDir".
Rik <rik@octave.org>
parents: 32108
diff changeset
132
33186
27afeba070ed NEWS.9.md: Add note about stricter checks for color data of patch objects (bug #65431).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32956
diff changeset
133 - Stricter checks are performed for valid dimensions of the color data
27afeba070ed NEWS.9.md: Add note about stricter checks for color data of patch objects (bug #65431).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32956
diff changeset
134 properties `"CData"` and `"FaceVertexCData"` when rendering `patch` objects.
27afeba070ed NEWS.9.md: Add note about stricter checks for color data of patch objects (bug #65431).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32956
diff changeset
135
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
136 ### Matlab compatibility
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
137
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
138 - The `inputParser` function now implements the `PartialMatching` property for
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
139 `Parameter` and `Switch` names. For Matlab compatibility, `PartialMatching`
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
140 is now set to true by default which may change the behavior of existing code.
32035
80fef9315743 inputParser.m: Implement "PartialMatching" property (bug #64050)
Rik <rik@octave.org>
parents: 32011
diff changeset
141
31868
c6eeb8b44c28 Port statistics pkg mean, median, var, & std into core (patch #10314)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31848
diff changeset
142 - Overhauled `mean`, `median`, `var`, and `std` functions have been imported
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
143 from statistics package v1.5.4 to compatibly implement 'nanflag'
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
144 (bug #50571), 'all' (bug #58116), and 'vecdim' (bug #58089) options, preserve
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
145 output class, and match expected output behavior for empty (bug #50583) and
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
146 sparse inputs (bug #63291). Both `median` and `mean` can handle large
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
147 integer values without overflow or precision concerns (bug #54567), and
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
148 `mean` avoids errors due to limits of single precision by processing as
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
149 doubles (bug #63848). `median` has also adopted the 'outtype' option from
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
150 `mean`.
31868
c6eeb8b44c28 Port statistics pkg mean, median, var, & std into core (patch #10314)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31848
diff changeset
151
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
152 - Code such as `A = ones (3, 3); A(:, :, 1) = []` is now Matlab compatible.
32180
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
153
31993
e4bd4349af42 mad.m: Improve compatibility using new mean/median functions (patch #10331)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31976
diff changeset
154 - `mad` function now produces Matlab compatible output using improved `mean`
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
155 and `median` functions. 'vecdim' and 'all' options are now supported. `mad`
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
156 ignores all NaN values (using 'omitnan' mean/median option) and produces
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
157 expected output behavior for empty inputs.
31993
e4bd4349af42 mad.m: Improve compatibility using new mean/median functions (patch #10331)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31976
diff changeset
158
31918
e67b7b85670b cov.m: Overhaul function for matlab compatibility (bug #50583).
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31917
diff changeset
159 - `mode` now produces Matlab compatible output for empty inputs (bug #50583).
e67b7b85670b cov.m: Overhaul function for matlab compatibility (bug #50583).
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31917
diff changeset
160
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
161 - `linspace` and `logspace` now handle `Inf` inputs in a Matlab compatible way.
32180
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
162
32011
ce36dddf5427 normalize.m: Enable compatible NaN handling (bug #50571)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31993
diff changeset
163 - `normalize` now produces Matlab compatible output for inputs containing NaN
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
164 values (bug #50571).
32011
ce36dddf5427 normalize.m: Enable compatible NaN handling (bug #50571)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31993
diff changeset
165
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
166 - `cov` now processes the input form cov(x,y) with two separate data arrays x
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
167 and y, as cov(x(:),y(:)) to maintain Matlab compatibility. It also accepts a
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
168 NANFLAG option to allow ignoring NaN entries in input data (bug #50571) and
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
169 produces Matlab compatible outputs for empty inputs (bug #50583). `corr` and
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
170 `corrcoef` internal code has been adapted to the new `cov` behavior with no
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
171 change to user interface. Packages using the octave core's `cov` that rely
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
172 on the previous calling form may need to make similar adaptations. Calls for
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
173 cov(x) with a vector x expecting a scalar return can get the previous results
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
174 from `cov(x)(2)`, and calls to cov(x,y) with x and y matrices expecting
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
175 columnwise covariance calculation can obtain the previous results using
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
176 `cov([x,y])(1:nx, nx+1:end)`, where nx = columns(x).
31887
96ed8d1d0c59 mode.m: Emtpy input produces Matlab compatible NaN output (bug #48690)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31873
diff changeset
177
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
178 - `qz` now handles input and output arguments in a Matlab compatible way. It
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
179 always computes the complex QZ decomposition if there are only two input
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
180 arguments, and it accepts an optional third input argument 'real' or
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
181 'complex' to select the type of decomposition. The output arguments are
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
182 always in the same order independently of the input arguments, and the
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
183 generalized eigenvalues are no longer returned (one can use the `ordeig`
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
184 function for that purpose). The optional reordering of the generalized
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
185 eigenvalues has been removed (one can use the `ordqz` function for that
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
186 purpose).
31976
e6b24d0d485c qz: Handle input and output arguments in a Matlab-compatible way.
Sébastien Villemot <sebastien@debian.org>
parents: 31975
diff changeset
187
32100
10daf5ce7f28 Set "tight" axes limits by default for pcolor() plot (bug #64244)
Rik <rik@octave.org>
parents: 32084
diff changeset
188 - `pcolor` now sets the axes limits to be just large enough to display the
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
189 plotted data (equivalent of `axis tight`).
32100
10daf5ce7f28 Set "tight" axes limits by default for pcolor() plot (bug #64244)
Rik <rik@octave.org>
parents: 32084
diff changeset
190
32108
d806017abdcb [xyz]lim.m: Add ability to query/set limit calculation method.
Rik <rik@octave.org>
parents: 32100
diff changeset
191 - `xlim`, `ylim`, `zlim` functions can now query or set the limit calculation
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
192 method which is one of "tickaligned", "tight", or "padded".
32108
d806017abdcb [xyz]lim.m: Add ability to query/set limit calculation method.
Rik <rik@octave.org>
parents: 32100
diff changeset
193
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
194 - `optimget` and `optimset` now produce an error on an ambiguous match of an
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
195 incomplete option name instead of emitting a warning.
32241
4379d4e29943 NEWS: Add note about changed behavior of optimset and optimget (bug #64525).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32201
diff changeset
196
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
197 - `datevec` when provided a date format will match date string characters up to
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
198 the length of the format string. A date vector will be returned as long as
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
199 the characters up to the format string length are a perfect match, and any
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
200 trailing characters in the date string will be ignored. (bug #42241)
32267
276aa68a290d datevec.m: Enable partial match when format string provided (bug #42241)
Ben Kurtz
parents: 32241
diff changeset
201
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
202 - `unwrap` now produces compatible output for inputs with non-finite elements
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
203 (Inf, NaN, NA). Such elements will now retained in the output but skipped
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
204 over by the wrapping calculation. The function also permits logical inputs
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
205 and specified operating dimensions larger than the number of dimensions in
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
206 the input array.
32268
a32f36ccc4c1 unwrap.m: Process non-finite inputs and streamline function (bug #64556)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32267
diff changeset
207
32294
7e8a3299b866 rats - Update default string length from 9 to 13 (bug #43717).
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32268
diff changeset
208 - The default string length for the function `rats` has changed from 9 to 13.
7e8a3299b866 rats - Update default string length from 9 to 13 (bug #43717).
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32268
diff changeset
209
32338
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
210 - *Continuing reminder of future breaking changes*: There is ongoing work
32517
38318e51f27f maint: Changes to wording of GUI strings and NEWS for clarity.
Rik <rik@octave.org>
parents: 32503
diff changeset
211 to implement a Matlab compatible string class that will differ from a vector
32338
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
212 of characters. In Octave, single-quoted character arrays are currently
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
213 compatible with Matlab, but double-quoted forms are not, and are likely to
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
214 change in future as a consequence of implementing Matlab-style string syntax.
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
215 For example, 'foo' will remain a three-element character vector, but
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
216 "foo" will become a single-element string object.
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
217
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
218 *What this means for user code*: If your code currently relies on
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
219 double-quoted strings (e.g., "foo") representing character vectors as
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
220 opposed to string objects, then start replacing all double-quoted strings
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
221 with single-quoted strings in your code over time (e.g., replace "foo" with
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
222 'foo'). Single-quoted strings will retain their current behavior. Further,
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
223 if your code relies on backslash escape sequence interpretation in
32338
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
224 double-quoted strings (except in special cases like the `printf` family),
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
225 that code may need to change as well.
e24b2f2881de NEWS.9.md: Copy reminder from NEWS.8.md about future string changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32332
diff changeset
226
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
227 ### Alphabetical list of new functions added in Octave 9
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
228
32188
85255746fc21 Add isenv function (patch #10354).
John Donoghue <john.donoghue@ieee.org>
parents: 32180
diff changeset
229 * `isenv`
32201
0eaa354b7ed1 Overhaul new function ismembertol (bug #56735, patch #10355).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32195
diff changeset
230 * `ismembertol`
31917
655e757c7522 isuniform.m: New function.
Rik <rik@octave.org>
parents: 31914
diff changeset
231 * `isuniform`
31547
212cc32100f5 Add new function 'tensorprod' (patch #10288)
Kasper H. Filtenborg <kasper.filtenborg@gmail.com>
parents: 31484
diff changeset
232 * `tensorprod`
212cc32100f5 Add new function 'tensorprod' (patch #10288)
Kasper H. Filtenborg <kasper.filtenborg@gmail.com>
parents: 31484
diff changeset
233
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
234 ### Deprecated functions, properties, and operators
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
235
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
236 The following functions and properties have been deprecated in Octave 9 and
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
237 will be removed from Octave 11 (or whatever version is the second major release
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
238 after 9):
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
239
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
240 - Functions
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
241
31457
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
242 Function | Replacement
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
243 -----------------------|------------------
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
244
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
245 - Properties
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
246
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
247 The following property names are discouraged, but there is no fixed
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
248 date for their removal.
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
249
31457
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
250 Object | Property | Replacement
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
251 -----------------|-------------|------------
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
252
31811
8e6a9cf412c1 maint: Deprecate obsolete idx_vector::bool() function.
Rik <rik@octave.org>
parents: 31547
diff changeset
253 - Core
8e6a9cf412c1 maint: Deprecate obsolete idx_vector::bool() function.
Rik <rik@octave.org>
parents: 31547
diff changeset
254
8e6a9cf412c1 maint: Deprecate obsolete idx_vector::bool() function.
Rik <rik@octave.org>
parents: 31547
diff changeset
255 * The `idx_vector::bool()` function is obsolete and always returns true.
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
256 Any uses can simply be removed from existing code with no loss of
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
257 function.
31811
8e6a9cf412c1 maint: Deprecate obsolete idx_vector::bool() function.
Rik <rik@octave.org>
parents: 31547
diff changeset
258
8e6a9cf412c1 maint: Deprecate obsolete idx_vector::bool() function.
Rik <rik@octave.org>
parents: 31547
diff changeset
259 * The `all_ok(const Array<octave::idx_vector>&)` function in `Array-util.h`
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
260 is obsolete and always returns true. Any uses can simply be removed from
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
261 existing code with no loss of function.
31811
8e6a9cf412c1 maint: Deprecate obsolete idx_vector::bool() function.
Rik <rik@octave.org>
parents: 31547
diff changeset
262
32180
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
263 * The member variable `octave_base_value::count` is deprecated and will be
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
264 removed from Octave 11. Replace all instances with the new name
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
265 `m_count`.
31818
758de955caca Deprecate octave_base_value::count member variable.
Rik <rik@octave.org>
parents: 31811
diff changeset
266
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
267 The following features were deprecated in Octave 7 and have been removed from
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
268 Octave 9.
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
269
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
270 - Functions
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
271
31457
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
272 Function | Replacement
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
273 ---------------------------|------------------
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
274 disable_diagonal_matrix | optimize_diagonal_matrix
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
275 disable_permutation_matrix | optimize_permutation_matrix
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
276 disable_range | optimize_range
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
277
31464
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
278 - Operators
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
279
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
280 Operator | Replacement
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
281 ---------|------------
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
282 .+ | +
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
283 .+= | +=
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
284 .- | -
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
285 .-= | -=
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
286 ** | ^
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
287 **= | ^=
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
288 .** | .^
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
289 .**= | .^=
344e1152ed88 remove operators deprecated in version 7
John W. Eaton <jwe@octave.org>
parents: 31457
diff changeset
290
31472
2ad979f8c265 maint: Remove deprecated line continuation code.
Rik <rik@octave.org>
parents: 31464
diff changeset
291 - Interpreter
2ad979f8c265 maint: Remove deprecated line continuation code.
Rik <rik@octave.org>
parents: 31464
diff changeset
292
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
293 * The use of `'...'` for line continuations *inside* double-quoted strings
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
294 has been removed. Use `'\'` for line continuations inside strings
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
295 instead.
31472
2ad979f8c265 maint: Remove deprecated line continuation code.
Rik <rik@octave.org>
parents: 31464
diff changeset
296
2ad979f8c265 maint: Remove deprecated line continuation code.
Rik <rik@octave.org>
parents: 31464
diff changeset
297 * The use of `'\'` as a line continuation *outside* of double-quoted
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
298 strings has been removed. Use `'...'` for line continuations instead.
31472
2ad979f8c265 maint: Remove deprecated line continuation code.
Rik <rik@octave.org>
parents: 31464
diff changeset
299
2ad979f8c265 maint: Remove deprecated line continuation code.
Rik <rik@octave.org>
parents: 31464
diff changeset
300 * Support for trailing whitespace after a `'\'` line continuation has been
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
301 removed. Delete unnecessary trailing whitespace.
31472
2ad979f8c265 maint: Remove deprecated line continuation code.
Rik <rik@octave.org>
parents: 31464
diff changeset
302
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
303 - For plot functions, the use of numbers to select line colors in shorthand
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
304 formats was an undocumented feature that was removed in Octave 9.
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
305
31457
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
306 - The environment variable used by `mkoctfile` for linker flags is now
32789
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
307 `LDFLAGS` rather than `LFLAGS`. `LFLAGS` was deprecated in Octave 6 and has
cde2b84cf715 NEWS.9.md: Reformat line breaks and indentation for clarity.
Rik <rik@octave.org>
parents: 32783
diff changeset
308 been removed.
31457
a96f68a48e9e maint: Remove more deprecated code from Octave 9.
Rik <rik@octave.org>
parents: 31443
diff changeset
309
33275
32669ebfd773 NEWS.9.md: Fill in release date for 9.1.0
Arun Giridhar <arungiridhar@gmail.com>
parents: 33273
diff changeset
310 Summary of bugs fixed for version 9.1.0 (2024-03-12):
31873
5eb1f1a77614 NEWS.9.md: list bugs fixed so far with Octave 9
Arun Giridhar <arungiridhar@gmail.com>
parents: 31872
diff changeset
311 ----------------------------------------------------
5eb1f1a77614 NEWS.9.md: list bugs fixed so far with Octave 9
Arun Giridhar <arungiridhar@gmail.com>
parents: 31872
diff changeset
312
32330
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
313 - Bugfixes to `whos -file`, `urlread`, `mat2cell`, `set`, `savepath`,
32716
dfd8fcca6652 griddata.m: Fix linear interpolation with three query points. (bug #65146)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32546
diff changeset
314 `loadpath`, `griddata`, and the general interpreter stack-handling.
31873
5eb1f1a77614 NEWS.9.md: list bugs fixed so far with Octave 9
Arun Giridhar <arungiridhar@gmail.com>
parents: 31872
diff changeset
315
32180
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
316 - Better input validation for `sparse`, `speye`.
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
317
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
318 - Memory usage reduced for `movfun` and `movslice`.
31873
5eb1f1a77614 NEWS.9.md: list bugs fixed so far with Octave 9
Arun Giridhar <arungiridhar@gmail.com>
parents: 31872
diff changeset
319
5eb1f1a77614 NEWS.9.md: list bugs fixed so far with Octave 9
Arun Giridhar <arungiridhar@gmail.com>
parents: 31872
diff changeset
320 - Memory usage reduced when saving to file, preventing OOM and data loss.
5eb1f1a77614 NEWS.9.md: list bugs fixed so far with Octave 9
Arun Giridhar <arungiridhar@gmail.com>
parents: 31872
diff changeset
321
32180
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
322 - Memory usage improved when plotting grid tick marks.
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
323
32330
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
324 - Memory management made more robust in the GUI code and with several GUI
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
325 components (variable editor, doc browser, etc).
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
326
32180
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
327 - Text encoding for non-UTF-8 generally made more robust. File editor now
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
328 lists available encodings.
ca72944d16a5 NEWS.9.md: Update list of bug fixes and changes
Arun Giridhar <arungiridhar@gmail.com>
parents: 32173
diff changeset
329
32330
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
330 - Octave on Windows now supports directory names and path names with non-ASCII
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
331 characters (other platforms had it already for years). Windows paths now
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
332 also allow relative paths on different drives.
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
333
31873
5eb1f1a77614 NEWS.9.md: list bugs fixed so far with Octave 9
Arun Giridhar <arungiridhar@gmail.com>
parents: 31872
diff changeset
334 - Several race conditions removed in signal handler.
5eb1f1a77614 NEWS.9.md: list bugs fixed so far with Octave 9
Arun Giridhar <arungiridhar@gmail.com>
parents: 31872
diff changeset
335
32330
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
336 - Better compatibility when linking to `libc++`.
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
337
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
338 - Performance and stability improvements: avoid unnecessary string
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
339 construction, use static casts instead of dynamic casts where possible,
da0079d97965 NEWS.9.md: Add classdef breakpoints and range warnings, update bugs and features
Arun Giridhar <arungiridhar@gmail.com>
parents: 32300
diff changeset
340 eliminate various isolated crash conditions.
31873
5eb1f1a77614 NEWS.9.md: list bugs fixed so far with Octave 9
Arun Giridhar <arungiridhar@gmail.com>
parents: 31872
diff changeset
341
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
342 ### Old release news
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
343
32503
bce9463833d2 NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32429
diff changeset
344 - [Octave 8.x](etc/NEWS.8.md)
bce9463833d2 NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32429
diff changeset
345 - [Octave 7.x](etc/NEWS.7.md)
bce9463833d2 NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32429
diff changeset
346 - [Octave 6.x](etc/NEWS.6.md)
bce9463833d2 NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32429
diff changeset
347 - [Octave 5.x](etc/NEWS.5.md)
31441
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
348 - [Octave 4.x](etc/NEWS.4)
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
349 - [Octave 3.x](etc/NEWS.3)
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
350 - [Octave 2.x](etc/NEWS.2)
e1cd3203bfb3 maint: Add NEWS.9.md to repository and update build system.
Rik <rik@octave.org>
parents:
diff changeset
351 - [Octave 1.x](etc/NEWS.1)