Mercurial > octave
annotate etc/NEWS.8.md @ 30992:4ef25c610433
format: Add 'default' format option (bug #62430)
* pr-output.cc (set_format_style): Add format option 'default' to set the same
state as if format was called without arguments and overrides other format
options if multiple options are provided.
* pr-output.cc (format): Update docstring with changes about new 'default'
option, function calling form, and errors when both inputs and outputs are
specified.
* NEWS.8.md: Note change under Matlab Compatability.
author | Nicholas R. Jankowski <jankowski.nicholas@gmail.com> |
---|---|
date | Mon, 09 May 2022 13:58:46 -0400 |
parents | e8ced722b19e |
children | 4298af839d20 |
rev | line source |
---|---|
30458
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
1 Summary of important user-visible changes for version 8 (yyyy-mm-dd): |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
2 --------------------------------------------------------------------- |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
3 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
4 ### General improvements |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
5 |
30550
c24457a42219
maint: merge stable to default.
Markus Mützel <markus.muetzel@gmx.de>
parents:
30466
diff
changeset
|
6 - Octave's libraries are now built using symbol visibility by default. |
c24457a42219
maint: merge stable to default.
Markus Mützel <markus.muetzel@gmx.de>
parents:
30466
diff
changeset
|
7 That means that less symbols are exported from these libraries. |
c24457a42219
maint: merge stable to default.
Markus Mützel <markus.muetzel@gmx.de>
parents:
30466
diff
changeset
|
8 Configure with `--disable-lib-visibility-flags` to export all symbols |
c24457a42219
maint: merge stable to default.
Markus Mützel <markus.muetzel@gmx.de>
parents:
30466
diff
changeset
|
9 (as in previous versions). |
c24457a42219
maint: merge stable to default.
Markus Mützel <markus.muetzel@gmx.de>
parents:
30466
diff
changeset
|
10 |
30978
e8ced722b19e
integral: Add optional output error argument (bug #62412)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
30958
diff
changeset
|
11 - `integral` can now output a second argument passing the error |
e8ced722b19e
integral: Add optional output error argument (bug #62412)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
30958
diff
changeset
|
12 parameter from the underlying integrator. |
e8ced722b19e
integral: Add optional output error argument (bug #62412)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
30958
diff
changeset
|
13 |
30458
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
14 ### Graphical User Interface |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
15 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
16 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
17 ### Graphics backend |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
18 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
19 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
20 ### Matlab compatibility |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
21 |
30912
ec5b57af230a
Improve performance of inline functions.
Rik <rik@octave.org>
parents:
30902
diff
changeset
|
22 - `inline` functions now support all Matlab methods. The performance |
ec5b57af230a
Improve performance of inline functions.
Rik <rik@octave.org>
parents:
30902
diff
changeset
|
23 of `inline` functions has also been improved. |
ec5b57af230a
Improve performance of inline functions.
Rik <rik@octave.org>
parents:
30902
diff
changeset
|
24 |
30902
972959edc3ff
Allow sub2ind() to accept indices outside the size of the input subscripts (bug #62184)
John W. Eaton <jwe@octave.org>
parents:
30876
diff
changeset
|
25 - `sub2ind` now supports index values outside of the size specified by |
972959edc3ff
Allow sub2ind() to accept indices outside the size of the input subscripts (bug #62184)
John W. Eaton <jwe@octave.org>
parents:
30876
diff
changeset
|
26 the subscripts. |
972959edc3ff
Allow sub2ind() to accept indices outside the size of the input subscripts (bug #62184)
John W. Eaton <jwe@octave.org>
parents:
30876
diff
changeset
|
27 |
30876
6ddc9c9bab50
NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents:
30815
diff
changeset
|
28 - `cylinder` now accepts a scalar for the radius argument. |
6ddc9c9bab50
NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents:
30815
diff
changeset
|
29 |
6ddc9c9bab50
NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents:
30815
diff
changeset
|
30 - `clock` now has an optional second output `ISDST` which indicates if |
6ddc9c9bab50
NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents:
30815
diff
changeset
|
31 Daylight Savings Time is in effect for the system's time zone. |
30458
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
32 |
30958
8a8f82c0235e
print.m: Add options "-image"/"-vector" for Matlab compatibility.
Rik <rik@octave.org>
parents:
30912
diff
changeset
|
33 - `print` now accepts option `-image` to specify the "opengl" renderer |
8a8f82c0235e
print.m: Add options "-image"/"-vector" for Matlab compatibility.
Rik <rik@octave.org>
parents:
30912
diff
changeset
|
34 and `-vector` to specify the "painters" renderer. |
8a8f82c0235e
print.m: Add options "-image"/"-vector" for Matlab compatibility.
Rik <rik@octave.org>
parents:
30912
diff
changeset
|
35 |
30992
4ef25c610433
format: Add 'default' format option (bug #62430)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
30978
diff
changeset
|
36 - `format` now accepts the option "default", which is equivalent to |
4ef25c610433
format: Add 'default' format option (bug #62430)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
30978
diff
changeset
|
37 calling `format` without any options to reset the default state. |
4ef25c610433
format: Add 'default' format option (bug #62430)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
30978
diff
changeset
|
38 |
30458
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
39 ### Alphabetical list of new functions added in Octave 8 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
40 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
41 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
42 ### Deprecated functions, properties, and operators |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
43 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
44 The following functions and properties have been deprecated in Octave 8 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
45 and will be removed from Octave 10 (or whatever version is the second |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
46 major release after 8): |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
47 |
30604
a5e92ddf0a4d
doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
30550
diff
changeset
|
48 - Functions |
a5e92ddf0a4d
doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
30550
diff
changeset
|
49 |
a5e92ddf0a4d
doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
30550
diff
changeset
|
50 Function | Replacement |
a5e92ddf0a4d
doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
30550
diff
changeset
|
51 -----------------------|------------------ |
a5e92ddf0a4d
doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
30550
diff
changeset
|
52 `shift` | `circshift` |
30815
3ee2fba50b72
* NEWS.8: Note change in sparse_auto_mutate.
John W. Eaton <jwe@octave.org>
parents:
30604
diff
changeset
|
53 `sparse_auto_mutate` | none (see below) |
30604
a5e92ddf0a4d
doc: etc/NEWS.8.md: announce shift.m deprecation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
30550
diff
changeset
|
54 |
30876
6ddc9c9bab50
NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents:
30815
diff
changeset
|
55 - The `sparse_auto_mutate` function no longer has any effect on Octave's |
6ddc9c9bab50
NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents:
30815
diff
changeset
|
56 behavior. Previously, after calling `sparse_auto_mutate (true)`, |
6ddc9c9bab50
NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents:
30815
diff
changeset
|
57 Octave would automatically convert sparse matrices to full when a |
6ddc9c9bab50
NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents:
30815
diff
changeset
|
58 sparse matrix required more memory than simply using full matrix |
6ddc9c9bab50
NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents:
30815
diff
changeset
|
59 storage. This setting was `false` by default for compatibility with |
6ddc9c9bab50
NEWS.8.md: Add notes to Matlab Compatibility section.
Rik <rik@octave.org>
parents:
30815
diff
changeset
|
60 Matlab. Now you must manually convert to full storage when desired. |
30458
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
61 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
62 The following functions were deprecated in Octave 6 and have been removed |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
63 from Octave 8. |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
64 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
65 - Functions |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
66 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
67 Function | Replacement |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
68 -----------------------|------------------ |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
69 `runtests` | `oruntests` |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
70 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
71 - The environment variable used by `mkoctfile` for linker flags is now |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
72 `LDFLAGS` rather than `LFLAGS`. `LFLAGS` was deprecated in Octave 6, |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
73 and will be removed in a future version of Octave. |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
74 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
75 ### Old release news |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
76 |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
77 - [Octave 7.x](etc/NEWS.7) |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
78 - [Octave 6.x](etc/NEWS.6) |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
79 - [Octave 5.x](etc/NEWS.5) |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
80 - [Octave 4.x](etc/NEWS.4) |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
81 - [Octave 3.x](etc/NEWS.3) |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
82 - [Octave 2.x](etc/NEWS.2) |
df7feab99999
maint: etc/NEWS.8 make Markdown file.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
83 - [Octave 1.x](etc/NEWS.1) |