Mercurial > octave
annotate NEWS @ 28109:42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
* NEWS: Document change in error handling of command-form functions.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 19 Feb 2020 08:57:13 -0800 |
parents | d320728d5d06 |
children | 7818c5b07403 |
rev | line source |
---|---|
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
1 Summary of important user-visible changes for version 7 (yyyy-mm-dd): |
23277
df0fb2cb820b
add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents:
23273
diff
changeset
|
2 ---------------------------------------------------------------------- |
27994
f4b6b170a761
Major version and date update for Octave 5.2.0 (bug #57657).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
27079
diff
changeset
|
3 |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
4 ### General improvements |
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
5 |
28109
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
6 - Many functions in Octave can be called in a command form---no |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
7 parentheses for invocation and no return argument assignment---or in a |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
8 functional form---parentheses and '=' for assignment of return values. |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
9 |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
10 Command Form Example |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
11 |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
12 `mkdir new_directory` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
13 |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
14 Function Form Example |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
15 |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
16 `status = mkdir ("new_directory")` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
17 |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
18 Octave now handles errors that occur in a consistent manner. If |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
19 called in command form and there is a failure, an error is thrown |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
20 and a message printed. If called in functional form, no error or |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
21 message is printed and the failure is communicated to the programmer |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
22 via the output status variable. |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
23 |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
24 The following list of functions have been modified. |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
25 |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
26 * `copyfile` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
27 * `fcntl` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
28 * `fileattrib` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
29 * `kill` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
30 * `link` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
31 * `mkfifo` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
32 * `movefile` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
33 * `rename` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
34 * `rmdir` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
35 * `symlink` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
36 * `unlink` |
23356
ef20eee0247d
allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents:
23348
diff
changeset
|
37 |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
38 ### Graphics backend |
27811 | 39 |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
40 - Support for Qt4 for graphics and the GUI has been removed. |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
41 |
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
42 ### Matlab compatibility |
24524
a56d283ff18a
Honor "interruptible" for property listeners (bug #52804).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
24523
diff
changeset
|
43 |
26185
ef0998af70f9
Change "Margin" default of text object to 3.
Rik <rik@octave.org>
parents:
26175
diff
changeset
|
44 |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
45 ### Alphabetical list of new functions added in Octave 7 |
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
46 |
28107
d320728d5d06
style fixes for rng; document and mention in NEWS file
John W. Eaton <jwe@octave.org>
parents:
28080
diff
changeset
|
47 * `rng` |
26175
6e1a800dd365
eliminate brace and variable expansion in PATH search code
John W. Eaton <jwe@octave.org>
parents:
26173
diff
changeset
|
48 |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
49 ### Deprecated functions and properties |
22586
d0e972e74851
maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents:
22573
diff
changeset
|
50 |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
51 The following functions and properties have been deprecated in Octave 7 |
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
52 and will be removed from Octave 9 (or whatever version is the second |
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
53 major release after 7): |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
54 |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
55 - Functions |
20157
e410d62ae2c8
maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents:
20154
diff
changeset
|
56 |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
57 Function | Replacement |
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
58 -----------------------|------------------ |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
59 | |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
60 |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
61 - Properties |
20484 | 62 |
26840
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
63 Object | Property | Value |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
64 -----------------|---------------|------------ |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
65 | | |
20484 | 66 |
26840
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
67 ### Removed functions and properties |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
68 |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
69 The following functions and properties were deprecated in Octave 5 |
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
70 and have been removed from Octave 7. |
26840
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
71 |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
72 - Functions |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
73 |
28080
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
74 Function | Replacement |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
75 -------------------------|------------------ |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
76 `output_max_field_width` | `output_precision` |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
77 `is_keyword` | `iskeyword` |
19122
c43223245085
doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents:
19119
diff
changeset
|
78 |
26840
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
79 - Properties |
18606
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18580
diff
changeset
|
80 |
28080
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
81 Object | Property | Value |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
82 -----------------|---------------|------------ |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
83 `text` | `fontangle` | `"oblique"` |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
84 `uibuttongroup` | `fontangle` | `"oblique"` |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
85 `uicontrol` | `fontangle` | `"oblique"` |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
86 `uipanel` | `fontangle` | `"oblique"` |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
87 `uitable` | `fontangle` | `"oblique"` |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
88 |
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
89 ### Old release news |
19965
d20dd211cc89
Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents:
19958
diff
changeset
|
90 |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
91 - [Octave 6.x](etc/NEWS.6) |
26840
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
92 - [Octave 5.x](etc/NEWS.5) |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
93 - [Octave 4.x](etc/NEWS.4) |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
94 - [Octave 3.x](etc/NEWS.3) |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
95 - [Octave 2.x](etc/NEWS.2) |
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
96 - [Octave 1.x](etc/NEWS.1) |