annotate NEWS @ 23356:ef20eee0247d

allow hex2num to handle integer values * hex2num.cc: Handle integer types. Simplify using templates and generic functions. Allow num2hex to return a cell array. Ensure hex digits are always created and processed in big-endian order. New tests. * NEWS: Note changes.
author John W. Eaton <jwe@octave.org>
date Thu, 06 Apr 2017 13:18:51 -0400
parents 5ab7192f91d8
children 2aab625b502c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23277
df0fb2cb820b add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents: 23273
diff changeset
1 Summary of important user-visible changes for version 4.4 (yyyy-mm-dd):
df0fb2cb820b add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents: 23273
diff changeset
2 ----------------------------------------------------------------------
22586
d0e972e74851 maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents: 22573
diff changeset
3
22986
21707d6a02c7 make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 22774
diff changeset
4 ** On systems with 64-bit pointers, --enable-64 is now the default and
21707d6a02c7 make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 22774
diff changeset
5 Octave always uses 64-bit indexing. However, if the configure
21707d6a02c7 make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 22774
diff changeset
6 script determines that the BLAS library uses 32-bit integers, then
21707d6a02c7 make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 22774
diff changeset
7 operations using the following libraries are limited to arrays with
21707d6a02c7 make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 22774
diff changeset
8 dimensions that are smaller than 2^31 elements:
21707d6a02c7 make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 22774
diff changeset
9
22987
4643c8bce4e7 * NEWS: Fix incomplete update in previous change.
John W. Eaton <jwe@octave.org>
parents: 22986
diff changeset
10 BLAS LAPACK QRUPDATE SuiteSparse ARPACK
4643c8bce4e7 * NEWS: Fix incomplete update in previous change.
John W. Eaton <jwe@octave.org>
parents: 22986
diff changeset
11
4643c8bce4e7 * NEWS: Fix incomplete update in previous change.
John W. Eaton <jwe@octave.org>
parents: 22986
diff changeset
12 Additionally, the following libraries use "int" internally, so
4643c8bce4e7 * NEWS: Fix incomplete update in previous change.
John W. Eaton <jwe@octave.org>
parents: 22986
diff changeset
13 maximum problem sizes are always limited:
4643c8bce4e7 * NEWS: Fix incomplete update in previous change.
John W. Eaton <jwe@octave.org>
parents: 22986
diff changeset
14
4643c8bce4e7 * NEWS: Fix incomplete update in previous change.
John W. Eaton <jwe@octave.org>
parents: 22986
diff changeset
15 glpk Qhull
4643c8bce4e7 * NEWS: Fix incomplete update in previous change.
John W. Eaton <jwe@octave.org>
parents: 22986
diff changeset
16
23348
5ab7192f91d8 containers.Map: New key/value storage container (bug #49559).
Rik <rik@octave.org>
parents: 23277
diff changeset
17 ** A new container data type--containers.Map--is available. Map is a
5ab7192f91d8 containers.Map: New key/value storage container (bug #49559).
Rik <rik@octave.org>
parents: 23277
diff changeset
18 key/value storage container (a.k.a, a hash) that efficiently allows
5ab7192f91d8 containers.Map: New key/value storage container (bug #49559).
Rik <rik@octave.org>
parents: 23277
diff changeset
19 storing and retrieving values by name, rather than by position which
5ab7192f91d8 containers.Map: New key/value storage container (bug #49559).
Rik <rik@octave.org>
parents: 23277
diff changeset
20 is how arrays work.
5ab7192f91d8 containers.Map: New key/value storage container (bug #49559).
Rik <rik@octave.org>
parents: 23277
diff changeset
21
23356
ef20eee0247d allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents: 23348
diff changeset
22 ** hex2num and num2hex now work for integer and char types and num2hex
ef20eee0247d allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents: 23348
diff changeset
23 may optionally return a cell array of strings instead of a character
ef20eee0247d allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents: 23348
diff changeset
24 array. If given a cell array of strings, hex2num now returns a
ef20eee0247d allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents: 23348
diff changeset
25 numeric array of the same size as the input cell array. Previously,
ef20eee0247d allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents: 23348
diff changeset
26 hex2num would accept a cell array of strings of arbitrary dimension
ef20eee0247d allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents: 23348
diff changeset
27 but would always return a column vector.
ef20eee0247d allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents: 23348
diff changeset
28
23019
cb09392b5b1c Return struct array for 'names' option of regexp (bug #49659).
Rik <rik@octave.org>
parents: 22987
diff changeset
29 ** The "names" option used in regular expressions now returns a struct
cb09392b5b1c Return struct array for 'names' option of regexp (bug #49659).
Rik <rik@octave.org>
parents: 22987
diff changeset
30 array, rather than a struct with a cell array for each field. This
cb09392b5b1c Return struct array for 'names' option of regexp (bug #49659).
Rik <rik@octave.org>
parents: 22987
diff changeset
31 change was made for Matlab compatibility.
cb09392b5b1c Return struct array for 'names' option of regexp (bug #49659).
Rik <rik@octave.org>
parents: 22987
diff changeset
32
22586
d0e972e74851 maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents: 22573
diff changeset
33 ** Other new functions added in 4.4:
d0e972e74851 maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents: 22573
diff changeset
34
23273
87b6f3606fd4 corrcoef.m: New statistics function for Matlab compatibility (bug #47824).
Guillaume Flandin
parents: 23255
diff changeset
35 corrcoef
22586
d0e972e74851 maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents: 22573
diff changeset
36 gsvd
23255
aaf91b4f48e4 hgtransform.m: New function (bug #50466).
Rik <rik@octave.org>
parents: 23227
diff changeset
37 hgtransform
22586
d0e972e74851 maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents: 22573
diff changeset
38
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
39 ** Deprecated functions.
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
40
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
41 The following functions have been deprecated in Octave 4.4 and will
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
42 be removed from Octave 4.8 (or whatever version is the second major
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
43 release after 4.4):
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
44
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
45 Function | Replacement
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
46 ---------------------|------------------
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
47
23201
239a9fed80de New mechanism to deprecate graphics properties (bug #50327)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23176
diff changeset
48 ** Deprecated graphics properties.
239a9fed80de New mechanism to deprecate graphics properties (bug #50327)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23176
diff changeset
49
23210
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
50 The following properties or allowed corresponding values have been
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
51 deprecated in Octave 4.4 and will be removed from Octave 4.8 (or whatever
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
52 version is the second major release after 4.4):
23201
239a9fed80de New mechanism to deprecate graphics properties (bug #50327)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23176
diff changeset
53
23210
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
54 Object | Property | Value
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
55 ---------------------|-------------------------|-------------------
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
56 figure | doublebuffer |
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
57 | mincolormap |
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
58 | wvisual |
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
59 | wvisualmode |
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
60 | xdisplay |
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
61 | xvisual |
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
62 | xvisualmode |
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
63 axes | drawmode |
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
64 annotation | edgecolor ("rectangle") |
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
65 text | fontweight | "demi" and "light"
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
66 uicontrol | fontweight | "demi" and "light"
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
67 uipanel | fontweight | "demi" and "light"
3a298e07002c Deprecate "light" and "demi" values for "fontweight" property (bug #50353).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 23201
diff changeset
68 uibuttongroup | fontweight | "demi" and "light"
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
69
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
70 ** The following functions were deprecated in Octave 4.0 and have been
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
71 removed from Octave 4.4.
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
72
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
73 allow_noninteger_range_as_index
23085
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
74 bicubic
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
75 delaunay3
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
76 do_braindead_shortcircuit_evaluation
23085
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
77 dump_prefs
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
78 find_dir_in_path
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
79 finite
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
80 fmod
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
81 fnmatch
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
82 gmap40
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
83 loadaudio
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
84 luinc
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
85 mouse_wheel_zoom
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
86 nfields
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
87 octave_tmp_file_name
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
88 playaudio
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
89 saveaudio
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
90 setaudio
23085
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
91 syl
dffa2b8c9482 maint: strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 23019
diff changeset
92 usage
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
93
22774
5b1fdeb1aa04 * oct-alloc.h: Remove deprecated header file.
John W. Eaton <jwe@octave.org>
parents: 22631
diff changeset
94 ** The header file oct-alloc.h has been removed along with the macros
5b1fdeb1aa04 * oct-alloc.h: Remove deprecated header file.
John W. Eaton <jwe@octave.org>
parents: 22631
diff changeset
95 that it defined (DECLARE_OCTAVE_ALLOCATOR, DEFINE_OCTAVE_ALLOCATOR,
5b1fdeb1aa04 * oct-alloc.h: Remove deprecated header file.
John W. Eaton <jwe@octave.org>
parents: 22631
diff changeset
96 and DEFINE_OCTAVE_ALLOCATOR2).
5b1fdeb1aa04 * oct-alloc.h: Remove deprecated header file.
John W. Eaton <jwe@octave.org>
parents: 22631
diff changeset
97
23176
5f7c675b3954 annotation.m: Rename property "edgecolor" to "color" (bug #50227).
Markus Mützel <markus.muetzel@gmx.de>
parents: 23140
diff changeset
98 ** The rectangle and ellipse annotation property "edgecolor" has been
5f7c675b3954 annotation.m: Rename property "edgecolor" to "color" (bug #50227).
Markus Mützel <markus.muetzel@gmx.de>
parents: 23140
diff changeset
99 deprecated and will be removed from Octave 4.8 (or whatever version
5f7c675b3954 annotation.m: Rename property "edgecolor" to "color" (bug #50227).
Markus Mützel <markus.muetzel@gmx.de>
parents: 23140
diff changeset
100 is the second major release after 4.4). Use the property "color"
5f7c675b3954 annotation.m: Rename property "edgecolor" to "color" (bug #50227).
Markus Mützel <markus.muetzel@gmx.de>
parents: 23140
diff changeset
101 instead.
5f7c675b3954 annotation.m: Rename property "edgecolor" to "color" (bug #50227).
Markus Mützel <markus.muetzel@gmx.de>
parents: 23140
diff changeset
102
23277
df0fb2cb820b add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents: 23273
diff changeset
103 Summary of bugs fixed for version 4.2.1 (2017-02-22):
df0fb2cb820b add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents: 23273
diff changeset
104 ----------------------------------------------------
23222
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
105
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
106 Using the bug numbers listed below, find bug reports on the web using
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
107 the URL https://savannah.gnu.org/bugs/?NNNNN
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
108
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
109 ** guarantee returning std::string from tilde_expand functions (bug #50234)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
110
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
111 ** workaround segfault in file_stat (bug #50234)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
112
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
113 ** genpropdoc.m: document more graphics properties (bug #50337)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
114
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
115 ** always fork and exec when starting the gui (bug #49609)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
116
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
117 ** print.m: fix regression with -append option (bug #50318)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
118
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
119 ** don't display legend, colorbar, and annotation axes coordinates
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
120 (bug #50272)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
121
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
122 ** qp.m: Fix regression with incorrect vector dimensions (bug #50067)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
123
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
124 ** prevent infinite loop in global documentation search (bug #50177)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
125
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
126 ** connect execute command signal in editor constructor (bug #50171)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
127
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
128 ** connect editors execute command signal to the required slot (bug #50171)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
129
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
130 ** check if input is class method before declaring it unimplemented
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
131 (patch #9238) (bug #49694)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
132
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
133 ** workaround segfault when an error occurs while printing (bug #49779)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
134
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
135 ** axis.m: Do not set plotboxaspectratio to 0 (bug #49755)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
136
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
137 ** don't rethrow exception in destructor (bug #49304)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
138
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
139 ** rethrow octave::exit_exception (bug #49304)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
140
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
141 ** update appdata.xml to follow conventions (bug #49952)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
142
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
143 ** mexproto.h (mxAssert, mxAssertS): ensure operator precedence (bug #50050)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
144
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
145 ** calculate error in solution for ode solvers correctly (bug #49950)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
146
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
147 ** use GetModuleFileName for getting octave path in windows (bug #48671)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
148
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
149 ** use C++ updaters for labels color (bug #49980)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
150
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
151 ** distinguish elements vs. bytes in fread (bug #49699)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
152
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
153 ** move frame2im and im2frame to image/ directory (bug #49939)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
154
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
155 ** fix undefined return argument for more than 2 outputs from ode solver
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
156 (bug #49890)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
157
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
158 ** fix inv for hermitian matrices (bug #49904)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
159
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
160 ** fix gzip for certain types of gzip files (bug #49760)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
161
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
162 ** fix typo in liboctave version info (bug #49860)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
163
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
164 ** initialize ODE Event function with start time (bug #49846)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
165
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
166 ** allow configure test to succeed without implicit fcn decls (bug #49782)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
167
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
168 ** allow external docstrings from .oct files to be found again (bug #49687)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
169
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
170 ** don't require semicolon between property list elements (bug #49819)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
171
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
172 ** display.m: Correctly display output for non-class objects
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
173 (bug #49753, #49794)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
174
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
175 ** don't run publish.tst unless OSMESA or gnuplot are available (bug #49767)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
176
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
177 ** find help for function aliases again (bug #49687)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
178
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
179 ** legend.m: backport cset 7184b4516a68 (bug #49675)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
180
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
181 ** preserve lasterror info on rethrow (bug #49642)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
182
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
183 ** norm: fix error in input argument validation leading to segfault
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
184 (bug #49634)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
185
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
186 Documentation bugs fixed:
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
187
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
188 ** overhaul Java interface description (bug #50299)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
189
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
190 ** add documentation for hex and binary prefix and _ separator
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
191 (bug #50305, #50334)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
192
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
193 ** fix build of docs broken in sub2ind (bug #50348)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
194
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
195 ** version.m: document that "-release" returns an empty string (bug #50294)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
196
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
197 ** remove trailing "\n\" from sleep and usleep docstrings (bug #50301)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
198
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
199 ** expand documentation for cast() (bug #50201)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
200
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
201 ** correct two entries in Table 34.1 (bug #50203)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
202
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
203 ** oop.txi: Improve table formatting (bug #50203)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
204
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
205 ** fix '##' in middle of docstring/comment lines (bug #50145)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
206
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
207 ** reword documentation about subplots in 15.2.4 (bug #50148)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
208
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
209 ** update unimplemented list of functions and where to find them
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
210 (bug #50098)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
211
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
212 ** compare_plot_demos: fix HTML syntax, simplify output, remove
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
213 external deps (bug #49709)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
214
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
215 ** add more depth to explanation of '~' function argument (bug #49444)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
216
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
217 ** correct documentation for javaclasspath file (bug #49873)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
218
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
219 ** small fixes to docstrings (bug #49733)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
220
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
221 ** change text describing demo plots to reflect new ColorOrder (bug #49288)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
222
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
223 Other bugs fixed:
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
224
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
225 ** add missing classdef test files (bug #49819)
1327ea4f5a93 Version 4.2.1 released.
John W. Eaton <jwe@octave.org>
parents: 23138
diff changeset
226
23277
df0fb2cb820b add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents: 23273
diff changeset
227 Summary of important user-visible changes for version 4.2 (2016-11-13):
df0fb2cb820b add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents: 23273
diff changeset
228 ----------------------------------------------------------------------
20157
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20154
diff changeset
229
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
230 ** The parser has been extended to accept, but ignore, underscore
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
231 characters in numbers. This facilitates writing more legible code
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
232 by using '_' as a thousands separator or to group nibbles into bytes
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
233 in hex constants.
20588
e34692daf663 Extend parser to accept '_' in numbers.
Rik <rik@octave.org>
parents: 20535
diff changeset
234
22473
bb10d836751b NEWS: Review and update for 4.2 release.
Rik <rik@octave.org>
parents: 22464
diff changeset
235 Examples: 1_000_000 == 1e6 or 0xDE_AD_BE_EF
20588
e34692daf663 Extend parser to accept '_' in numbers.
Rik <rik@octave.org>
parents: 20535
diff changeset
236
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
237 ** The parser has been extended to understand binary numbers which
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
238 begin with the prefix '0b' or '0B'. The value returned is Octave's
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
239 default numeric class of double, not at unsigned integer class.
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
240 Therefore numbers greater than flintmax, i.e., 2^53, will lose some
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
241 precision.
20589
7c0e10f035bd Extend parser to accept binary constants that begin with '0b' or '0B'.
Rik <rik@octave.org>
parents: 20588
diff changeset
242
22473
bb10d836751b NEWS: Review and update for 4.2 release.
Rik <rik@octave.org>
parents: 22464
diff changeset
243 Examples: 0b101 == 5 or 0B1100_0001 == 0xC1
20589
7c0e10f035bd Extend parser to accept binary constants that begin with '0b' or '0B'.
Rik <rik@octave.org>
parents: 20588
diff changeset
244
22488
a666e3ee6af8 Require gnuplot 4.4 as mininimum supported version.
Rik <rik@octave.org>
parents: 22476
diff changeset
245 ** gnuplot 4.4 is now the minimum version supported by Octave.
a666e3ee6af8 Require gnuplot 4.4 as mininimum supported version.
Rik <rik@octave.org>
parents: 22476
diff changeset
246
22442
638625a0186f Update to latest line plot color order for Matlab compatibility (bug #48465)
Mike Miller <mtmiller@octave.org>
parents: 22363
diff changeset
247 ** The default set of colors used to plot lines has been updated to be
638625a0186f Update to latest line plot color order for Matlab compatibility (bug #48465)
Mike Miller <mtmiller@octave.org>
parents: 22363
diff changeset
248 compatible with Matlab's new default color scheme. The line plot
638625a0186f Update to latest line plot color order for Matlab compatibility (bug #48465)
Mike Miller <mtmiller@octave.org>
parents: 22363
diff changeset
249 color scheme can be set with the axes property "ColorOrder".
638625a0186f Update to latest line plot color order for Matlab compatibility (bug #48465)
Mike Miller <mtmiller@octave.org>
parents: 22363
diff changeset
250
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
251 ** The default colormap is now set to "viridis" which is also the
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
252 default colormap in matplotlib. This new colormap fixes some of the
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
253 main issues with the old default colormap "jet" such as its bad
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
254 "luminance profile" and is also more similar to Matlab's new default
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
255 colormap "parula".
20530
17e507df10e3 Set the default colormap to 'viridis'
Carlo de Falco <carlo.defalco@polimi.it>
parents: 20502
diff changeset
256
22628
a918e983a943 doc: Add list of built-in colormaps to colormap documentation (bug #49363).
Rik <rik@octave.org>
parents: 22573
diff changeset
257 ** The colormap function no longer supports the input argument "list"
a918e983a943 doc: Add list of built-in colormaps to colormap documentation (bug #49363).
Rik <rik@octave.org>
parents: 22573
diff changeset
258 to show built-in colormaps. Use "help colormap" to find the
a918e983a943 doc: Add list of built-in colormaps to colormap documentation (bug #49363).
Rik <rik@octave.org>
parents: 22573
diff changeset
259 built-in colormaps.
a918e983a943 doc: Add list of built-in colormaps to colormap documentation (bug #49363).
Rik <rik@octave.org>
parents: 22573
diff changeset
260
22351
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
261 ** The graphics command "hold on" now ensures that each new plot added
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
262 to an existing plot has a different color or linestyle according to
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
263 the "ColorOrder" and/or "LineStyleOrder" properties. This is
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
264 equivalent to the old command "hold all" and was made for Matlab
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
265 compatibility. Existing code *may* produce differently colored
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
266 plots if it did not specify the color for a plot and relied on each
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
267 new plot having the default first color in the "ColorOrder"
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
268 property.
22069
9121d6584f6a Overhaul graphics implementation of hold() (bug #43559).
Rik <rik@octave.org>
parents: 21948
diff changeset
269
21350
ea31a050bdd8 Execute commands in startup.m at start for compatibility with Matlab.
Rik <rik@octave.org>
parents: 21314
diff changeset
270 ** When starting, Octave now looks in the function path for a file
21395
0196666bf900 NEWS: Wrap to 72 characters.
Rik <rik@octave.org>
parents: 21350
diff changeset
271 startup.m and executes any commands found there. This change was
0196666bf900 NEWS: Wrap to 72 characters.
Rik <rik@octave.org>
parents: 21350
diff changeset
272 made to accommodate Matlab users. Octave has it's own configuration
21350
ea31a050bdd8 Execute commands in startup.m at start for compatibility with Matlab.
Rik <rik@octave.org>
parents: 21314
diff changeset
273 system based on the file .octaverc which is preferred.
ea31a050bdd8 Execute commands in startup.m at start for compatibility with Matlab.
Rik <rik@octave.org>
parents: 21314
diff changeset
274
20210
29eb47fe8e8c Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
Rik <rik@octave.org>
parents: 20200
diff changeset
275 ** Octal ('\NNN') and hex ('\xNN') escape sequences in single quoted
29eb47fe8e8c Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
Rik <rik@octave.org>
parents: 20200
diff changeset
276 strings are now interpreted by the function do_string_escapes().
29eb47fe8e8c Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
Rik <rik@octave.org>
parents: 20200
diff changeset
277 The *printf family of functions now supports octal and hex escape
29eb47fe8e8c Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
Rik <rik@octave.org>
parents: 20200
diff changeset
278 sequences in single-quoted strings for Matlab compatibility.
29eb47fe8e8c Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
Rik <rik@octave.org>
parents: 20200
diff changeset
279
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
280 ** Special octal and hex escape sequences for the pattern and
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
281 replacement strings in regular expressions are now interpreted for
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
282 Matlab compatibility.
20211
f2bc7d23295d Add special hex/octal escape sequence processing for regexp.
Rik <rik@octave.org>
parents: 20210
diff changeset
283
f2bc7d23295d Add special hex/octal escape sequence processing for regexp.
Rik <rik@octave.org>
parents: 20210
diff changeset
284 octal: '\oNNN' or '\o{NNN}'
f2bc7d23295d Add special hex/octal escape sequence processing for regexp.
Rik <rik@octave.org>
parents: 20210
diff changeset
285 hex : '\xNN' or '\x{NN}'
f2bc7d23295d Add special hex/octal escape sequence processing for regexp.
Rik <rik@octave.org>
parents: 20210
diff changeset
286
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
287 ** Unknown escape sequences in the replacement string for regexprep are
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
288 now substituted with their unescaped version and no warning is
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
289 emitted. This change was made for Matlab compatibility.
20290
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20281
diff changeset
290
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20281
diff changeset
291 Example: regexprep ('a', 'a', 'x\yz')
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20281
diff changeset
292 => 'xyz'
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20281
diff changeset
293
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
294 ** mkfifo now interprets the MODE argument as an octal, not decimal,
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
295 integer. This is consistent with the equivalent shell command.
20200
d9f35ceff9e1 Change mkfifo to use an octal argument for MODE (bug #45054).
Rik <rik@octave.org>
parents: 20157
diff changeset
296
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
297 ** linspace now returns an empty matrix if the number of requested
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
298 points is 0 or a negative number. This change was made to be
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
299 compatible with Matlab releases newer than 2011. In addition,
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
300 Octave no longer supports matrix inputs for A or B.
20466
16b9ec39ff46 Return empty matrix when linspace called with 0 points (bug #45820)
Rik <rik@octave.org>
parents: 20290
diff changeset
301
22226
9a0e30e24b9b Calculate cov as Matlab does, not as its conjugate (bug #48315).
Lachlan Andrew <lachlanbis@gmail.com>
parents: 22183
diff changeset
302 ** The cov function now returns the complex conjugate of the result
9a0e30e24b9b Calculate cov as Matlab does, not as its conjugate (bug #48315).
Lachlan Andrew <lachlanbis@gmail.com>
parents: 22183
diff changeset
303 from previous versions of Octave. This change was made for
9a0e30e24b9b Calculate cov as Matlab does, not as its conjugate (bug #48315).
Lachlan Andrew <lachlanbis@gmail.com>
parents: 22183
diff changeset
304 compatibility with Matlab.
9a0e30e24b9b Calculate cov as Matlab does, not as its conjugate (bug #48315).
Lachlan Andrew <lachlanbis@gmail.com>
parents: 22183
diff changeset
305
9a0e30e24b9b Calculate cov as Matlab does, not as its conjugate (bug #48315).
Lachlan Andrew <lachlanbis@gmail.com>
parents: 22183
diff changeset
306 ** condest now works with a normest1 compatible syntax.
9a0e30e24b9b Calculate cov as Matlab does, not as its conjugate (bug #48315).
Lachlan Andrew <lachlanbis@gmail.com>
parents: 22183
diff changeset
307
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
308 ** The griddata function no longer plots the interpolated mesh if no
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
309 output argument is requested, instead the vector or array of
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
310 interpolated values is always returned for Matlab compatibility.
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
311
22288
57fded74ee22 Add camlight function (patch #9014).
Colin Macdonald <cbm@m.fsf.org>
parents: 22278
diff changeset
312 ** The new function "light" and the corresponding graphics object
57fded74ee22 Add camlight function (patch #9014).
Colin Macdonald <cbm@m.fsf.org>
parents: 22278
diff changeset
313 provide light and shadow effects for patch and surface objects.
21789
6afdf40be534 Implement graphics object "light" (patch #8943).
mmuetzel <markus.muetzel@gmx.de>
parents: 21765
diff changeset
314
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
315 ** The surfnorm function now returns unnormalized (magnitude != 1)
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
316 normal vectors for compatibility with Matlab.
20214
561af1ab6099 griddata.m: Return values instead of plotting for Matlab compatibility (bug #45125)
Mike Miller <mtmiller@octave.org>
parents: 20211
diff changeset
317
22149
ba8a9d2934c7 Point isonormals towards lower values for Matlab compatibility (bug #48552).
Markus Muetzel <markus.muetzel@gmx.de>
parents: 22113
diff changeset
318 ** The normal vectors returned from isonormals have been reversed to
ba8a9d2934c7 Point isonormals towards lower values for Matlab compatibility (bug #48552).
Markus Muetzel <markus.muetzel@gmx.de>
parents: 22113
diff changeset
319 point towards smaller values for compatibility with Matlab.
ba8a9d2934c7 Point isonormals towards lower values for Matlab compatibility (bug #48552).
Markus Muetzel <markus.muetzel@gmx.de>
parents: 22113
diff changeset
320
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
321 ** The quadl function now uses an absolute, rather than relative,
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
322 tolerance for Matlab compatibility. The default tolerance is 1e-6
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
323 which may result in lower precision results than previous versions
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
324 of Octave which used eps as the relative tolerance. The quadl
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
325 function has also been extended to return a second output with the
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
326 total number of function evaluations.
20690
dc2be2485968 NEWS: Update with changes to quadl function.
Rik <rik@octave.org>
parents: 20589
diff changeset
327
21483
fe56e066825d NEWS: announce improved textscan function
Philip Nienhuis <prnienhuis@users.sf.net>
parents: 21434
diff changeset
328 ** The textscan function is now built-in and is much faster and much
fe56e066825d NEWS: announce improved textscan function
Philip Nienhuis <prnienhuis@users.sf.net>
parents: 21434
diff changeset
329 more Matlab-compatible than the previous m-file version.
fe56e066825d NEWS: announce improved textscan function
Philip Nienhuis <prnienhuis@users.sf.net>
parents: 21434
diff changeset
330
21637
59ebef9680ef More cleanup associated with removing Java dialog boxes (cset b5d9b95d1e1a).
Rik <rik@octave.org>
parents: 21634
diff changeset
331 ** Dialog boxes--errordlg, helpdlg, inputdlg, listdlg, msgbox,
59ebef9680ef More cleanup associated with removing Java dialog boxes (cset b5d9b95d1e1a).
Rik <rik@octave.org>
parents: 21634
diff changeset
332 questdlg, and warndlg--now exclusively use Qt for rendering.
59ebef9680ef More cleanup associated with removing Java dialog boxes (cset b5d9b95d1e1a).
Rik <rik@octave.org>
parents: 21634
diff changeset
333 Java based versions have been removed.
21630
b5d9b95d1e1a Removing Java dialog boxes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 21483
diff changeset
334
22293
ca8b8f12bd16 NEWS: Announce implementation of TitleFontSizeMultiplier, TitleFontWeight,
Rik <rik@octave.org>
parents: 22288
diff changeset
335 ** The axes properties "TitleFontSizeMultiplier" and "TitleFontWeight"
ca8b8f12bd16 NEWS: Announce implementation of TitleFontSizeMultiplier, TitleFontWeight,
Rik <rik@octave.org>
parents: 22288
diff changeset
336 are now implemented which control the default appearance of text
22473
bb10d836751b NEWS: Review and update for 4.2 release.
Rik <rik@octave.org>
parents: 22464
diff changeset
337 created with title().
22293
ca8b8f12bd16 NEWS: Announce implementation of TitleFontSizeMultiplier, TitleFontWeight,
Rik <rik@octave.org>
parents: 22288
diff changeset
338 The axes property "LabelFontSizeMultiplier" is now implemented
ca8b8f12bd16 NEWS: Announce implementation of TitleFontSizeMultiplier, TitleFontWeight,
Rik <rik@octave.org>
parents: 22288
diff changeset
339 which controls the default appearance of text created with
ca8b8f12bd16 NEWS: Announce implementation of TitleFontSizeMultiplier, TitleFontWeight,
Rik <rik@octave.org>
parents: 22288
diff changeset
340 xlabel(), ylabel(), or zlabel().
ca8b8f12bd16 NEWS: Announce implementation of TitleFontSizeMultiplier, TitleFontWeight,
Rik <rik@octave.org>
parents: 22288
diff changeset
341
22351
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
342 ** The graphics property "box" for axes now defaults to "off".
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
343 To obtain equivalent plots to previous versions of Octave use
22476
57a6e657311d Fix typos in NEWS.
Markus Mützel <markus.muetzel@gmx.de>
parents: 22473
diff changeset
344 set (0, "DefaultAxesBox", "on");
22351
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
345 in your .octaverc file.
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
346
22363
0ca341841198 Implement "boxstyle" graphics property.
Rik <rik@octave.org>
parents: 22351
diff changeset
347 ** The graphics property "boxstyle" has been implemented. The default
0ca341841198 Implement "boxstyle" graphics property.
Rik <rik@octave.org>
parents: 22351
diff changeset
348 is "back" which draws only the back planes in a 3-D view. If the
0ca341841198 Implement "boxstyle" graphics property.
Rik <rik@octave.org>
parents: 22351
diff changeset
349 option is "full" then all planes are drawn.
0ca341841198 Implement "boxstyle" graphics property.
Rik <rik@octave.org>
parents: 22351
diff changeset
350
22335
17b71d845251 NEWS: Update list of functions added in 4.2.
Rik <rik@octave.org>
parents: 22327
diff changeset
351 ** The graphics property "erasemode" has been hidden, and will
21905
0c3f7fec9c1e Hide "erasemode" graphics property ahead of eventual removal.
Rik <rik@octave.org>
parents: 21826
diff changeset
352 eventually be removed. This property has also been removed
0c3f7fec9c1e Hide "erasemode" graphics property ahead of eventual removal.
Rik <rik@octave.org>
parents: 21826
diff changeset
353 from Matlab, and was never implemented in Octave.
0c3f7fec9c1e Hide "erasemode" graphics property ahead of eventual removal.
Rik <rik@octave.org>
parents: 21826
diff changeset
354
22476
57a6e657311d Fix typos in NEWS.
Markus Mützel <markus.muetzel@gmx.de>
parents: 22473
diff changeset
355 ** The graphics property "graphicssmoothing" for figures now controls
22351
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
356 whether anti-aliasing will be used for lines. The default is "on".
21948
241d39c66e8f Update graphics properties for figure object.
Rik <rik@octave.org>
parents: 21905
diff changeset
357
22335
17b71d845251 NEWS: Update list of functions added in 4.2.
Rik <rik@octave.org>
parents: 22327
diff changeset
358 ** The value "zero" for the axes properties "xaxislocation" and
17b71d845251 NEWS: Update list of functions added in 4.2.
Rik <rik@octave.org>
parents: 22327
diff changeset
359 "yaxislocation" has been deprecated and will be removed from
17b71d845251 NEWS: Update list of functions added in 4.2.
Rik <rik@octave.org>
parents: 22327
diff changeset
360 Octave 4.6. Use "origin" instead.
17b71d845251 NEWS: Update list of functions added in 4.2.
Rik <rik@octave.org>
parents: 22327
diff changeset
361
22113
b6f482e29afd New functions publish.m and grabcode.m (patch #9048).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 22069
diff changeset
362 ** The publish function allows easy publication of Octave script files
22351
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
363 in HTML or other formats, including figures and output created by
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
364 this script. It comes with its counterpart grabcode, which lets one
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
365 literally grab the HTML published code from a remote website, for
e6df1ddfc3cf Change DefaultAxesBox property to "off".
Rik <rik@octave.org>
parents: 22335
diff changeset
366 example.
22113
b6f482e29afd New functions publish.m and grabcode.m (patch #9048).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 22069
diff changeset
367
22452
3a8af9d517de Initialize MEX TrapFlag variable for Matlab compatibility.
Rik <rik@octave.org>
parents: 22451
diff changeset
368 ** The value of the MEX variable TrapFlag now defaults to 0, which will
3a8af9d517de Initialize MEX TrapFlag variable for Matlab compatibility.
Rik <rik@octave.org>
parents: 22451
diff changeset
369 cause Octave to abort execution of a MEX file and return to the
3a8af9d517de Initialize MEX TrapFlag variable for Matlab compatibility.
Rik <rik@octave.org>
parents: 22451
diff changeset
370 prompt if an error is encountered in mexCallMATLAB.
3a8af9d517de Initialize MEX TrapFlag variable for Matlab compatibility.
Rik <rik@octave.org>
parents: 22451
diff changeset
371
22451
ad5439817753 Add mexCallMATLABWithTrap to MEX API (bug #48949).
Rik <rik@octave.org>
parents: 22442
diff changeset
372 ** The MEX API now includes the function mexCallMATLABWithTrap. This
ad5439817753 Add mexCallMATLABWithTrap to MEX API (bug #48949).
Rik <rik@octave.org>
parents: 22442
diff changeset
373 function will not abort if an error occurs during mexCallMATLAB, but
ad5439817753 Add mexCallMATLABWithTrap to MEX API (bug #48949).
Rik <rik@octave.org>
parents: 22442
diff changeset
374 instead will return execution to the MEX function for error
ad5439817753 Add mexCallMATLABWithTrap to MEX API (bug #48949).
Rik <rik@octave.org>
parents: 22442
diff changeset
375 handling.
ad5439817753 Add mexCallMATLABWithTrap to MEX API (bug #48949).
Rik <rik@octave.org>
parents: 22442
diff changeset
376
22473
bb10d836751b NEWS: Review and update for 4.2 release.
Rik <rik@octave.org>
parents: 22464
diff changeset
377 ** The MEX API functions for input validation that begin with "mxIs"
bb10d836751b NEWS: Review and update for 4.2 release.
Rik <rik@octave.org>
parents: 22464
diff changeset
378 (e.g., mxIsDouble, mxIsEmpty, etc.) now return type bool rather than
bb10d836751b NEWS: Review and update for 4.2 release.
Rik <rik@octave.org>
parents: 22464
diff changeset
379 type int.
bb10d836751b NEWS: Review and update for 4.2 release.
Rik <rik@octave.org>
parents: 22464
diff changeset
380
22460
b0caa61934fe NEWS: Document mxAssert and mxAssertS additions.
Rik <rik@octave.org>
parents: 22454
diff changeset
381 ** The functions mxAssert and mxAssertS for checking assertions have
b0caa61934fe NEWS: Document mxAssert and mxAssertS additions.
Rik <rik@octave.org>
parents: 22454
diff changeset
382 been added. In order to avoid a performance penalty they are only
b0caa61934fe NEWS: Document mxAssert and mxAssertS additions.
Rik <rik@octave.org>
parents: 22454
diff changeset
383 compiled in to debug versions of a MEX file, i.e., that are produced
22473
bb10d836751b NEWS: Review and update for 4.2 release.
Rik <rik@octave.org>
parents: 22464
diff changeset
384 when the '-g' option is given to mex or mkoctfile.
22460
b0caa61934fe NEWS: Document mxAssert and mxAssertS additions.
Rik <rik@octave.org>
parents: 22454
diff changeset
385
22462
6cb7813e5b2f Add new mxIsScalar function for MEX API.
Rik <rik@octave.org>
parents: 22460
diff changeset
386 ** Other new MEX API functions include mexEvalStringWithTrap,
22464
1d2960b5efe6 Add new MEX fcns mxCreateUninitNumericArray, mxCreateUninitNumericMatrix.
Rik <rik@octave.org>
parents: 22462
diff changeset
387 mxIsScalar, mxCreateUninitNumericArray, mxCreateUninitNumericMatrix.
22454
8445f67a8123 Add function mexEvalStringWithTrap to MEX API.
Rik <rik@octave.org>
parents: 22452
diff changeset
388
20157
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20154
diff changeset
389 ** Other new functions added in 4.2:
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20154
diff changeset
390
21711
2e0e4eec0d62 Document new function audioformats
Mike Miller <mtmiller@octave.org>
parents: 21637
diff changeset
391 audioformats
22288
57fded74ee22 Add camlight function (patch #9014).
Colin Macdonald <cbm@m.fsf.org>
parents: 22278
diff changeset
392 camlight
22335
17b71d845251 NEWS: Update list of functions added in 4.2.
Rik <rik@octave.org>
parents: 22327
diff changeset
393 condeig
20734
e44d904ac525 Add new functions deg2rad and rad2deg to core (bug #46340).
Rik <rik@octave.org>
parents: 20725
diff changeset
394 deg2rad
21826
f3455f8ff86d Document new functions dialog and uibuttongroup
Mike Miller <mtmiller@octave.org>
parents: 21789
diff changeset
395 dialog
21075
5ed379c8decd Add new function evalc to core.
Oliver Heimlich <oheim@posteo.de>
parents: 21025
diff changeset
396 evalc
20913
69489c064cb7 New function hash to calculate MD{2/4/5} and SHA{1,244,256,384,512} hash values.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 20744
diff changeset
397 hash
20736
842765b159ed New function im2double ported from the image package.
Carnë Draug <carandraug@octave.org>
parents: 20734
diff changeset
398 im2double
22278
3fe6663808cc Add function "isocaps" (patch #8872)
Markus Mützel <markus.muetzel@gmx.de>
parents: 22247
diff changeset
399 isocaps
3fe6663808cc Add function "isocaps" (patch #8872)
Markus Mützel <markus.muetzel@gmx.de>
parents: 22247
diff changeset
400 lighting
21765
23a610a3f001 Implement localfunctions Matlab command (bug #47705).
Lachlan Andrew <lachlanbis@gmail.com>
parents: 21711
diff changeset
401 localfunctions
22247
c8fc60a183a3 Add function material. (patch #9013)
Markus Muetzel <markus.muetzel@gmx.de>
parents: 22243
diff changeset
402 material
22183
bfb1b089c230 New function normest1 as replacement for onenormest (patch #8837)
Marco Caliari <marco.caliari@univr.it>
parents: 22149
diff changeset
403 normest1
22335
17b71d845251 NEWS: Update list of functions added in 4.2.
Rik <rik@octave.org>
parents: 22327
diff changeset
404 ode23
21826
f3455f8ff86d Document new functions dialog and uibuttongroup
Mike Miller <mtmiller@octave.org>
parents: 21789
diff changeset
405 ode45
20533
fcb792acab9b Moving ode45, odeset, odeget, and levenshtein from odepkg to core.
jcorno <jacopo.corno@gmail.com>
parents: 20530
diff changeset
406 odeget
22335
17b71d845251 NEWS: Update list of functions added in 4.2.
Rik <rik@octave.org>
parents: 22327
diff changeset
407 odeplot
21826
f3455f8ff86d Document new functions dialog and uibuttongroup
Mike Miller <mtmiller@octave.org>
parents: 21789
diff changeset
408 odeset
21314
a4235a7eeb2c Add new padecoef.m function.
Endre Kozma <endre.kozma@gmx.com>
parents: 21308
diff changeset
409 padecoef
22335
17b71d845251 NEWS: Update list of functions added in 4.2.
Rik <rik@octave.org>
parents: 22327
diff changeset
410 profexport
21765
23a610a3f001 Implement localfunctions Matlab command (bug #47705).
Lachlan Andrew <lachlanbis@gmail.com>
parents: 21711
diff changeset
411 psi
20736
842765b159ed New function im2double ported from the image package.
Carnë Draug <carandraug@octave.org>
parents: 20734
diff changeset
412 rad2deg
22243
654de580bdb3 Add function "reducepatch" (patch #8912)
Markus Muetzel <markus.muetzel@gmx.de>
parents: 22235
diff changeset
413 reducepatch
22231
01ba6ebc52e4 Add function "reducevolume" (patch #8856).
Markus Muetzel <markus.muetzel@gmx.de>
parents: 22226
diff changeset
414 reducevolume
22278
3fe6663808cc Add function "isocaps" (patch #8872)
Markus Mützel <markus.muetzel@gmx.de>
parents: 22247
diff changeset
415 smooth3
21826
f3455f8ff86d Document new functions dialog and uibuttongroup
Mike Miller <mtmiller@octave.org>
parents: 21789
diff changeset
416 uibuttongroup
20157
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20154
diff changeset
417
20484
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
418 ** Deprecated functions.
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
419
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
420 The following functions have been deprecated in Octave 4.2 and will
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
421 be removed from Octave 4.6 (or whatever version is the second major
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
422 release after 4.2):
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
423
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
424 Function | Replacement
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
425 ---------------------|------------------
20486
4bb41929286b Deprecate bitmax.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 20484
diff changeset
426 bitmax | flintmax
20502
afdb856e44f1 Deprecate mahalanobis function.
Rik <rik@octave.org>
parents: 20501
diff changeset
427 mahalanobis | mahal in Octave-Forge statistics pkg
20913
69489c064cb7 New function hash to calculate MD{2/4/5} and SHA{1,244,256,384,512} hash values.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 20744
diff changeset
428 md5sum | hash
23138
4e313457b5f9 * NEWS: Fix typo.
John W. Eaton <jwe@octave.org>
parents: 22628
diff changeset
429 octave_config_info | __octave_config_info__
22183
bfb1b089c230 New function normest1 as replacement for onenormest (patch #8837)
Marco Caliari <marco.caliari@univr.it>
parents: 22149
diff changeset
430 onenormest | normest1
20923
58263bea2fdf Unified "sleep" functions to "octave_sleep" in C++ and "pause" in Octave.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 20913
diff changeset
431 sleep | pause
58263bea2fdf Unified "sleep" functions to "octave_sleep" in C++ and "pause" in Octave.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 20913
diff changeset
432 usleep | pause
20484
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
433 wavread | audioread
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
434 wavwrite | audiowrite
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
435
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
436 ** The following functions were deprecated in Octave 3.8 and have been
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
437 removed from Octave 4.2.
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
438
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
439 default_save_options java_new
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
440 gen_doc_cache java_unsigned_conversion
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
441 interp1q javafields
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
442 isequalwithequalnans javamethods
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
443 java_convert_matrix re_read_readline_init_file
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
444 java_debug read_readline_init_file
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
445 java_invoke saving_history
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
446
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
447 ** The global error_state variable in Octave's C++ API has been
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
448 deprecated and will be removed in a future version. Now the error
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
449 and print_usage functions throw an exception
22327
d0562b3159c7 move more classes inside octave namespace
John W. Eaton <jwe@octave.org>
parents: 22319
diff changeset
450 (octave::execution_exception) after displaying the error message.
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
451 This makes the error and print_usage functions in C++ work more like
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
452 the corresponding functions in the scripting language.
20157
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20154
diff changeset
453
21025
f7e64e1baa08 NEWS: Add note about updating user-supplied liboctave error handlers.
Rik <rik@octave.org>
parents: 20923
diff changeset
454 ** The default error handlers in liboctave have been updated to use
f7e64e1baa08 NEWS: Add note about updating user-supplied liboctave error handlers.
Rik <rik@octave.org>
parents: 20923
diff changeset
455 exceptions. After displaying an error message they no longer return
f7e64e1baa08 NEWS: Add note about updating user-supplied liboctave error handlers.
Rik <rik@octave.org>
parents: 20923
diff changeset
456 control to the calling program. The error handler function can be
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
457 customized through the global variables
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
458 "current_liboctave_error_handler" and
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
459 "current_liboctave_error_with_id_handler". If a programmer has
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
460 installed their own custom error handling routines when directly
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
461 linking with liboctave then these must be updated to throw an
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
462 exception and not return to the calling program.
21025
f7e64e1baa08 NEWS: Add note about updating user-supplied liboctave error handlers.
Rik <rik@octave.org>
parents: 20923
diff changeset
463
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
464 ** The system for common errors and warnings has been renamed from
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
465 gripe_XXX to either err_XXX if error is called or warn_XXX if
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
466 warning is called. The gripe_XXX functions are deprecated and will
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
467 be removed in version 4.6.
21101
2e8aea678f2a Deprecate gripe_XXX functions.
Rik <rik@octave.org>
parents: 21076
diff changeset
468
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
469 ** New configure option, --enable-address-sanitizer-flags, to build
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
470 Octave with memory allocator checks (similar to those in valgrind)
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
471 built in.
20725
7164a69472dd eliminate more uses of error state
John W. Eaton <jwe@octave.org>
parents: 20715
diff changeset
472
23277
df0fb2cb820b add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents: 23273
diff changeset
473 Summary of important user-visible changes for version 4.0 (2015-05-23):
df0fb2cb820b add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents: 23273
diff changeset
474 ----------------------------------------------------------------------
18110
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
475
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
476 ** A graphical user interface is now the default when running Octave
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
477 interactively. The start-up option --no-gui will run the familiar
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
478 command line interface, and still allows use of the GUI dialogs and
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
479 qt plotting toolkit. The option --no-gui-libs runs a minimalist
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
480 command line interface that does not link with the Qt libraries and
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
481 uses the fltk toolkit for plotting.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
482
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
483 ** Octave now uses OpenGL graphics with Qt widgets by default. If
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
484 OpenGL libraries are not available when Octave is built, gnuplot is
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
485 used. You may choose to use the fltk or gnuplot toolkit for
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
486 graphics by executing the command
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
487
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
488 graphics_toolkit ("fltk")
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
489 OR
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
490 graphics_toolkit ("gnuplot")
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
491
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
492 Adding such a command to your ~/.octaverc file will set the default
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
493 for each session.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
494
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
495 ** A new syntax for object oriented programming termed classdef has
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
496 been introduced. See the manual for more extensive documentation of
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
497 the classdef interface.
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
498
18803
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
499 New keywords:
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
500
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
501 classdef endclassdef
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
502 enumeration endenumeration
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
503 events endevents
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
504 methods endmethods
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
505 properties endproperties
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
506
19520
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19408
diff changeset
507 ** New audio functions and classes:
19035
ff820f92cbb5 inputParser: classdef port of @inputParser from Octave Forge general pkg.
Carnë Draug <carandraug@octave.org>
parents: 19030
diff changeset
508
19682
c2478360291f New functions sound and soundsc
Mike Miller <mtmiller@ieee.org>
parents: 19647
diff changeset
509 audiodevinfo audioread sound
c2478360291f New functions sound and soundsc
Mike Miller <mtmiller@ieee.org>
parents: 19647
diff changeset
510 audioinfo audiorecorder soundsc
19520
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19408
diff changeset
511 audioplayer audiowrite
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19408
diff changeset
512
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
513 ** Other new classes in Octave 4.0:
19520
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19408
diff changeset
514
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19408
diff changeset
515 audioplayer inputParser
19597
db92e7e28e1f strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 19596
diff changeset
516 audiorecorder
19035
ff820f92cbb5 inputParser: classdef port of @inputParser from Octave Forge general pkg.
Carnë Draug <carandraug@octave.org>
parents: 19030
diff changeset
517
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
518 ** Optional stricter Matlab compatibility for ranges, diagonal
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
519 matrices, and permutation matrices.
19398
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19386
diff changeset
520
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19386
diff changeset
521 Octave has internal optimizations which use space-efficient storage
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19386
diff changeset
522 for the three data types above. Three new functions have been added
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
523 which control whether the optimizations are used (default), or
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
524 whether the data types are stored as full matrices.
19398
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19386
diff changeset
525
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19386
diff changeset
526 disable_range disable_diagonal_matrix disable_permutation_matrix
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19386
diff changeset
527
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19386
diff changeset
528 All three optimizations are disabled if Octave is started with the
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19386
diff changeset
529 --braindead command line option.
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19386
diff changeset
530
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
531 ** The preference
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
532
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
533 do_braindead_shortcircuit_evaluation
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
534
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
535 is now enabled by default.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
536
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
537 ** The preference
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
538
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
539 allow_noninteger_range_as_index
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
540
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
541 is now enabled by default and the warning ID
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
542
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
543 Octave:noninteger-range-as-index
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
544
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
545 is now set to "on" by default instead of "error" by default and "on"
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
546 for --traditional.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
547
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
548 ** The "backtrace" warning option is now enabled by default. This
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
549 change was made for Matlab compatibility.
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
550
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
551 ** For compatibility with Matlab, the "ismatrix (x)" function now only
21308
c53bfd6d8e08 maint: Use American spelling for "behavior".
Rik <rik@octave.org>
parents: 21133
diff changeset
552 checks the dimension of "x". The old behavior of "ismatrix" is
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
553 obtained by "isnumeric (x) || islogical (x) || ischar (x)".
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
554
21308
c53bfd6d8e08 maint: Use American spelling for "behavior".
Rik <rik@octave.org>
parents: 21133
diff changeset
555 ** The nextpow2 function behavior has been changed for vector inputs.
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
556 Instead of computing `nextpow2 (length (x))', it will now compute
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
557 nextpow2 for each element of the input. This change is Matlab
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
558 compatible, and also prevents bugs for "vectors" of length 1.
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
559
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
560 ** polyeig now returns a row vector of eigenvalues rather than a matrix
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
561 with the eigenvalues on the diagonal. This change was made for
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
562 Matlab compatibility.
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
563
18606
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18580
diff changeset
564 ** Interpolation function changes for Matlab compatibility
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18580
diff changeset
565
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
566 The interpolation method 'cubic' is now equivalent to 'pchip' for
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
567 interp1, interp2, and interp3. Previously, 'cubic' was equivalent
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
568 to 'spline' for interp2. This may produce different results as
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
569 'spline' has continuous 1st and 2nd derivatives while 'pchip' only
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
570 has a continuous 1st derivative. The methods 'next' and 'previous'
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
571 have been added to interp1 for compatibility.
18606
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18580
diff changeset
572
19164
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19155
diff changeset
573 ** The delaunay function has been extended to accept 3-D inputs for
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19155
diff changeset
574 Matlab compatibility. The delaunay function no longer plots the
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19155
diff changeset
575 triangulation if no output argument is requested, instead, the
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19155
diff changeset
576 triangulation is always returned. The delaunay3 function which
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19155
diff changeset
577 handles 3-D inputs has been deprecated in favor of delaunay.
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19155
diff changeset
578
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
579 ** The trigonometric functions asin and acos return different phase
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
580 values from previous versions of Octave when the input is outside
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
581 the principal branch ([-1, 1]). If the real portion of the input is
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
582 greater than 1 then the limit from below is taken. If the real
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
583 portion is less than 1 then the limit from above is taken. This
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
584 criteria is consistent with several other numerical analysis
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
585 software packages.
19242
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19196
diff changeset
586
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
587 ** The hyperbolic function acosh now returns values with a phase in the
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
588 range [-pi/2, +pi/2]. Previously Octave returned values in the
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
589 range [0, pi]. This is consistent with several other numerical
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
590 analysis software packages.
19730
554aaaf99644 Fix return phase of acosh to match Matlab (bug #44286).
Rik <rik@octave.org>
parents: 19707
diff changeset
591
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
592 ** strfind changes when using empty pattern ("") for Matlab
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
593 compatibility
19386
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19354
diff changeset
594
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19354
diff changeset
595 strfind now returns an empty array when the pattern itself is empty.
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19354
diff changeset
596 In previous versions of Octave, strfind matched at every character
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19354
diff changeset
597 location when the pattern was empty.
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19354
diff changeset
598
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19354
diff changeset
599 NEW
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19354
diff changeset
600 strfind ("abc", "") => []
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19354
diff changeset
601 OLD
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19354
diff changeset
602 strfind ("abc", "") => [1, 2, 3, 4]
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19354
diff changeset
603
18652
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
604 ** Integer formats used in the printf family of functions now work for
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
605 64-bit integers and are more compatible with Matlab when printing
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
606 non-integer values. Now instead of truncating, Octave will switch
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
607 the effective format to '%g' in the following circumstances:
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
608
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
609 * the value of an integer type (int8, uint32, etc.) value exceeds
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
610 the maximum for the format specifier. For '%d', the limit is
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
611 intmax ('int64') and for '%u' it is intmax ('uint64').
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
612
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
613 * round(x) != x or the value is outside the range allowed by the
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
614 integer format specifier.
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
615
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
616 There is still one difference: Matlab switches to '%e' and Octave
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
617 switches to '%g'.
18652
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18649
diff changeset
618
19974
72ccbd36e23c Return a column vector by default for Matlab compatibility (bug #44425, bug #44453).
Rik <rik@octave.org>
parents: 19965
diff changeset
619 ** The functions intersect, setdiff, setxor, and union now return a
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
620 column vector as output unless the input was a row vector. This
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
621 change was made for Matlab compatibility.
19974
72ccbd36e23c Return a column vector by default for Matlab compatibility (bug #44425, bug #44453).
Rik <rik@octave.org>
parents: 19965
diff changeset
622
20133
bef9086a6725 inpolygon.m: Overhaul function and fix bug #40970.
Rik <rik@octave.org>
parents: 20116
diff changeset
623 ** The inpolygon function now returns true for points that are within
bef9086a6725 inpolygon.m: Overhaul function and fix bug #40970.
Rik <rik@octave.org>
parents: 20116
diff changeset
624 the polygon OR on it's edge. This change was made for Matlab
20715
5b7643257978 Remove trailing whitespace at end of lines.
Rik <rik@octave.org>
parents: 20690
diff changeset
625 compatibility.
20133
bef9086a6725 inpolygon.m: Overhaul function and fix bug #40970.
Rik <rik@octave.org>
parents: 20116
diff changeset
626
19258
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19242
diff changeset
627 ** The archive family of functions (bzip2, gzip, zip, tar) and their
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
628 unpacking routines (bunzip2, gunzip, unzip, untar, unpack) have been
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
629 recoded. Excepting unpack, the default is now to place files in the
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
630 same directory as the archive (on unpack) or as the original files
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
631 (on archiving).
19258
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19242
diff changeset
632
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
633 ** Qt and FLTK graphics toolkits now support offscreen rendering on
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
634 Linux. In other words, print will work even when the figure
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
635 visibility is "off".
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
636
18803
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
637 ** Z-order stacking issues with patches, grid lines, and line object
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
638 plot markers for on screen display and printing have all been
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
639 resolved. For 2-D plots the axis grid lines can be placed on top of
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
640 the plot with set (gca, "layer", "top").
18803
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
641
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
642 ** The patch graphic object has been overhauled. It now produces
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
643 visual results equivalent to Matlab even for esoteric combinations
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
644 of faces/vertices/cdata.
18803
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
645
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
646 ** The polar() plot function now draws a circular theta axis and radial
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
647 rho axis rather than using a rectangular x/y axis.
18803
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18794
diff changeset
648
18723
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18721
diff changeset
649 ** linkprop has been completely re-coded for performance and Matlab
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
650 compatibility. It now returns a linkprop object which must be
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
651 stored in a variable for as long as the graphic objects should
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
652 remain linked. To unlink properties use 'clear hlink' where hlink
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
653 is the variable containing the linkprop object.
18723
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18721
diff changeset
654
19051
3d0f4f4ec688 NEWS: note that isprime now accepts negative and complex inputs.
Rik <rik@octave.org>
parents: 19035
diff changeset
655 ** isprime has been extended to operate on negative and complex inputs.
3d0f4f4ec688 NEWS: note that isprime now accepts negative and complex inputs.
Rik <rik@octave.org>
parents: 19035
diff changeset
656
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
657 ** xor has been extended to accept more than two arguments in which
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
658 case it performs cumulative XOR reduction.
19189
d70b1cec7743 NEWS: Announce addition of XOR reduction to xor function.
Rik <rik@octave.org>
parents: 19167
diff changeset
659
19164
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19155
diff changeset
660 ** The following functions now support N-dimensional arrays:
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19155
diff changeset
661
20116
33e706b6b7be rectint: fix for non-overlapping rectangle, and support ND boxes (bug #44904)
Carnë Draug <carandraug@octave.org>
parents: 20097
diff changeset
662 fliplr flipud rot90 rectint
19164
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19155
diff changeset
663
19030
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18911
diff changeset
664 ** The new warning ID "Octave:data-file-in-path" replaces the three
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18911
diff changeset
665 previous separate warning IDs "Octave:fopen-file-in-path",
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18911
diff changeset
666 "Octave:load-file-in-path", and "Octave:md5sum-file-in-path".
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18911
diff changeset
667
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
668 ** The warning ID Octave:singular-matrix-div has been replaced by
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
669 Octave:nearly-singular-matrix and Octave:singular-matrix.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
670
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
671 ** The warning ID Octave:matlab-incompatible has been replaced by
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
672 Octave:language-extension to better reflect its meaning.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
673
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
674 ** The warning ID Octave:broadcast has been removed. Instead automatic
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
675 broadcasting will throw an Octave:language-extension warning. This
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
676 warning ID is used for broadcasting as well as other features not
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
677 available in Matlab.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
678
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
679 ** Other new functions added in 4.0:
18110
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
680
19741
b8e4104a8f55 Add the annotation function (bug #43282)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 19730
diff changeset
681 annotation
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
682 bandwidth
19530
5ab6fcf32d1e New function for colormap cubehelix.
Carnë Draug <carandraug@octave.org>
parents: 19520
diff changeset
683 cubehelix
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
684 dir_in_loadpath
19126
995df67fc912 Flip arrays - ND support for fliplr and flipud, and replace flipdim with flip.
Carnë Draug <carandraug+dev@gmail.com>
parents: 19122
diff changeset
685 flip
19313
39a69f54417e New functions im2frame and frame2im.
Carnë Draug <carandraug@octave.org>
parents: 19294
diff changeset
686 frame2im
20024
cf9b94a89620 Document get_home_directory in Octave manual and NEWS file.
Rik <rik@octave.org>
parents: 19974
diff changeset
687 get_home_directory
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
688 hgload
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
689 hgsave
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
690 ichol
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
691 ilu
19313
39a69f54417e New functions im2frame and frame2im.
Carnë Draug <carandraug@octave.org>
parents: 19294
diff changeset
692 im2frame
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
693 isbanded
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
694 isdiag
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
695 isstudent
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
696 istril
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
697 istriu
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
698 javachk
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
699 jit_failcnt
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
700 linkaxes
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
701 lscov
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
702 metaclass
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
703 numfields
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
704 open
19747
56157a7505ed Add new ordschur function.
Sébastien Villemot <sebastien@debian.org>
parents: 19741
diff changeset
705 ordschur
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
706 pan
19354
cc6000ccd627 New function qmr (patch #8569).
Nathan Podlich <nathan.podlich@gmail.com>
parents: 19313
diff changeset
707 qmr
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
708 rotate
19941
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19852
diff changeset
709 rotate3d
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
710 sylvester
19167
6f0290863d50 Add new function unsetenv from gnulib to Octave.
Rik <rik@octave.org>
parents: 19164
diff changeset
711 unsetenv
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
712 validateattributes
19089
8a6f87637c16 hg new function, zoom
John W. Eaton <jwe@octave.org>
parents: 19081
diff changeset
713 zoom
18110
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
714
19122
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19119
diff changeset
715 ** inline() scheduled for eventual deprecation by Matlab
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19119
diff changeset
716
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
717 Functions created through the use of inline are scheduled for
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
718 deprecation by Matlab. When this occurs Octave will continue to
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
719 support inline functions for an indeterminate amount of time before
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
720 also removing support. All new code should use anonymous functions
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
721 in place of inline functions.
19122
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19119
diff changeset
722
18110
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
723 ** Deprecated functions.
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
724
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
725 The following functions have been deprecated in Octave 4.0 and will
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
726 be removed from Octave 4.4 (or whatever version is the second major
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
727 release after 4.0):
18538
fcd87f68af4f Deprecate nfields and replace with numfields.
Rik <rik@octave.org>
parents: 18132
diff changeset
728
19268
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
729 Function | Replacement
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
730 ---------------------|------------------
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
731 bicubic | interp2
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
732 delaunay3 | delaunay
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
733 dump_prefs | individual preference get/set routines
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
734 find_dir_in_path | dir_in_loadpath
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
735 finite | isfinite
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
736 fmod | rem
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
737 fnmatch | glob or regexp
20500
caa5de39147e maint: Complete deprecation of gmap40 colormap.
Rik <rik@octave.org>
parents: 20280
diff changeset
738 gmap40 | ----
19647
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19645
diff changeset
739 loadaudio | audioread
19268
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
740 luinc | ilu or ichol
19760
47440b762547 bring back mouse_wheel_zoom function as deprecated
John W. Eaton <jwe@octave.org>
parents: 19747
diff changeset
741 mouse_wheel_zoom | mousewheelzoom axes property
19268
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
742 nfields | numfields
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
743 octave_tmp_file_name | tempname
19647
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19645
diff changeset
744 playaudio | audioplayer
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19645
diff changeset
745 saveaudio | audiowrite
19268
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
746 syl | sylvester
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19258
diff changeset
747 usage | print_usage
18538
fcd87f68af4f Deprecate nfields and replace with numfields.
Rik <rik@octave.org>
parents: 18132
diff changeset
748
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
749 allow_noninteger_range_as_index
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
750 do_braindead_shortcircuit_evaluation
19647
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19645
diff changeset
751 setaudio
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
752
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
753 ** The following functions were deprecated in Octave 3.8 and will be
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
754 removed from Octave 4.2 (or whatever version is the second major
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
755 release after 3.8):
18110
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
756
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
757 default_save_options java_new
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
758 gen_doc_cache java_unsigned_conversion
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
759 interp1q javafields
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
760 isequalwithequalnans javamethods
18911
d1c649bd90e9 maint: Periodic merge of gui-release to default.
Rik <rik@octave.org>
parents: 18904 18910
diff changeset
761 java_convert_matrix re_read_readline_init_file
19081
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
762 java_debug read_readline_init_file
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
763 java_invoke saving_history
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19071
diff changeset
764
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
765 ** The following functions were deprecated in Octave 3.6 and have been
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
766 removed from Octave 4.0.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
767
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
768 cut polyderiv
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
769 cor shell_cmd
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
770 corrcoef studentize
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
771 __error_text__ sylvester_matrix
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
772 error_text
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
773
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
774 ** The following keywords were deprecated in Octave 3.8 and have been
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
775 removed from Octave 4.0
18110
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
776
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
777 static
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
778
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
779 ** The following configuration variables were deprecated in Octave 3.8
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
780 and have been removed from Octave 4.0
18110
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
781
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
782 CC_VERSION (now GCC_VERSION)
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
783 CXX_VERSION (now GXX_VERSION)
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
784
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
785 ** The internal function atan2 of the sparse matrix class has been
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
786 deprecated in Octave 4.0 and will be removed from Octave 4.4 (or
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
787 whatever version is the second major release after 4.0). Use the
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
788 Fatan2 function with sparse inputs as a replacement.
19645
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
789
20280
077e73619ba8 Allow NEWS to be displayed properly in QTextBrowser (bug #45396)
John W. Eaton <jwe@octave.org>
parents: 20133
diff changeset
790 ** The internal class Octave_map was deprecated in Octave 3.8 and has
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
791 been removed from Octave 4.0. Replacement classes are octave_map
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
792 (struct array) or octave_scalar_map for a single structure.
18110
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18108
diff changeset
793
19816
81078b0e39e8 build: Enable OpenMP by default, remove experimental warning (bug #42176)
Mike Miller <mtmiller@ieee.org>
parents: 19788
diff changeset
794 ** Octave now has OpenMP enabled by default if the system provides a
81078b0e39e8 build: Enable OpenMP by default, remove experimental warning (bug #42176)
Mike Miller <mtmiller@ieee.org>
parents: 19788
diff changeset
795 working OpenMP implementation. This allows oct-file modules to take
81078b0e39e8 build: Enable OpenMP by default, remove experimental warning (bug #42176)
Mike Miller <mtmiller@ieee.org>
parents: 19788
diff changeset
796 advantage of OpenMP if desired. This can be disabled when building
81078b0e39e8 build: Enable OpenMP by default, remove experimental warning (bug #42176)
Mike Miller <mtmiller@ieee.org>
parents: 19788
diff changeset
797 Octave with the configure option --disable-openmp.
81078b0e39e8 build: Enable OpenMP by default, remove experimental warning (bug #42176)
Mike Miller <mtmiller@ieee.org>
parents: 19788
diff changeset
798
21133
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
799 ** Octave now automatically truncates intermediate calculations done
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
800 with floating point values to 64 bits. Some hardware math
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
801 co-processors, such as the x87, maintain extra precision, but this
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
802 leads to disagreements in calculations when compared to reference
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
803 implementations in software using the IEEE standard for double
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
804 precision. There was no measurable performance impact to this
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
805 change, but it may be disabled with the configure option
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
806 --disable-float-truncate. MinGW and Cygwin platforms, as well as
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
807 GCC compilers >= 5.0 require this feature. Non-x87 hardware, or
31674b9d202b * NEWS: Refill text to 72 columns.
John W. Eaton <jwe@octave.org>
parents: 21101
diff changeset
808 hardware using SSE options exclusively, can disable float truncation
19965
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19958
diff changeset
809 if desired.
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19958
diff changeset
810
9352
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
811 ---------------------------------------------------------
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
812
7990
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
813 See NEWS.3 for old news.