Mercurial > octave
annotate NEWS @ 25764:826b45c1c427
textread.m: Make m-file a legacy function.
* NEWS: Announce change.
* scripts/legacy/module.mk, scripts/io/module.mk: Move findstr.m
from io/ dir to legacy/ dir.
* textread.m: Add Octave:legacy-function warning at top of function.
Change docstring to note that this function is obsolete. Add an initial
BIST test to trigger legacy-function warning which is then suppressed.
* dlmread.cc (Fdlmread): Remove textread from @seealso list.
* csvread.m, fileread.m: Remove textread from @seealso list.
* debug.cc (Fdbstop): Change documentation to use an example in axis.m rather
than textread.m
author | Rik <rik@octave.org> |
---|---|
date | Thu, 09 Aug 2018 16:33:09 -0700 |
parents | 8dc8edbffa17 |
children | 7c5956c45a29 |
rev | line source |
---|---|
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
1 Summary of important user-visible changes for version 5.0 (yyyy-mm-dd): |
23277
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 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
4 ** The functions issymmetric and ishermitian accept an option "nonskew" |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
5 or "skew" to calculate the symmetric or skew-symmetric property |
25259
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
6 of a matrix. Performance has also been increased. |
24691
b658e0fa0cb3
maint: Remove trailing whitespace from files.
Rik <rik@octave.org>
parents:
24664
diff
changeset
|
7 |
25484
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
8 ** The issorted function now uses a direction option of "ascend" or |
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
9 "descend" to make it compatible with both the sort function and |
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
10 with Matlab. Change all uses of "ascending" and "descending" in |
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
11 existing code to the new options. |
b7db401e1a99
Use "ascend"/"descend" for issorted direction (bug #54147).
Rik <rik@octave.org>
parents:
25333
diff
changeset
|
12 |
25698
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
13 ** The strncmp and strncmpi functions now return true if the two input |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
14 strings match, even though the number of characters specified by N |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
15 exceeds the string length. This behavior more closely matches |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
16 common sense and is Matlab compatible. Example: |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
17 |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
18 Octave 5.0 : strncmp ("abc", "abc", 100) => true |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
19 Previously : strncmp ("abc", "abc", 100) => false |
ac386820f2b6
Return true when strncmp matches, but number of characters exceeds strlen (bug #54373)
Rik <rik@octave.org>
parents:
25627
diff
changeset
|
20 |
25738
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
21 ** The fsolve function has been tweaked to use larger step sizes when |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
22 calculating the Jacobian of a function with finite differences. |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
23 This leads to faster convergence. The default solver options have |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
24 also changed to be Matlab compatible. This *may* result in existing |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
25 code producing different results. |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
26 |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
27 Option | New Default | Old Default |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
28 ------------------------------------------------ |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
29 FinDiffType | "forward" | "central" |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
30 MaxFunEvals | 100*length(x0) | Inf |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
31 TolFun | 1e-6 | 1e-7 |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
32 TolX | 1e-6 | 1e-7 |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
33 Updating | "off" | "on" |
8cdaef4c6d44
NEWS: Announce changes to default fsolve options.
Rik <rik@octave.org>
parents:
25734
diff
changeset
|
34 |
25740
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
35 ** The fminsearch function has changed default solver options for |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
36 Matlab compatibility. The accuracy option TolFun is now 1e-4 rather |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
37 than 1e-7. This *may* result in existing code producing different |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
38 results. |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
39 |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
40 ** The fminbnd function has changed defaults for Matlab compatibility. |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
41 This *may* result in existing code producing different results. |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
42 |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
43 Option | New Default | Old Default |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
44 ------------------------------------------------ |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
45 MaxFunEvals | 500 | Inf |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
46 MaxIter | 500 | Inf |
b1e0e58971f9
fminbnd.m: Update solver options to be Matlab compatible.
Rik <rik@octave.org>
parents:
25739
diff
changeset
|
47 TolX | 1e-4 | 1e-8 |
25739
8eec0403a370
fminsearch.m: Update default TolFun to 1e-4 for Matlab compatibility.
Rik <rik@octave.org>
parents:
25738
diff
changeset
|
48 |
25273
ac6ba9f2fa41
Add new Figure graphic property "Number" (bug #53343).
Rik <rik@octave.org>
parents:
25259
diff
changeset
|
49 ** Figure graphic objects have a new property "Number" which is |
ac6ba9f2fa41
Add new Figure graphic property "Number" (bug #53343).
Rik <rik@octave.org>
parents:
25259
diff
changeset
|
50 read-only and will return the handle (number) of the figure. |
ac6ba9f2fa41
Add new Figure graphic property "Number" (bug #53343).
Rik <rik@octave.org>
parents:
25259
diff
changeset
|
51 However, if the property "IntegerHandle" has been set to "off" then |
ac6ba9f2fa41
Add new Figure graphic property "Number" (bug #53343).
Rik <rik@octave.org>
parents:
25259
diff
changeset
|
52 the property will return an empty matrix ([]). |
22586
d0e972e74851
maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents:
22573
diff
changeset
|
53 |
25627
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
54 ** Printing using the -dtiff output device will now create compressed |
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
55 images using lzw compression. This change was made for Matlab |
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
56 compatibility. To produce uncompressed images use the -dtiffn |
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
57 device. |
45bd3edcbbcf
NEWS: Announce that -dtiff images will now be compressed (bug #54290).
Rik <rik@octave.org>
parents:
25589
diff
changeset
|
58 |
25589
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
59 ** The FFTW library is now required to perform FFT calculations. The |
25586 | 60 FFTPACK sources have been removed from Octave. |
61 | |
25589
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
62 ** The OSMesa library is no longer used. To print invisible figures |
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
63 when using OpenGL graphics, the Qt QOFFSCREENSURFACE feature must be |
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
64 available and you must use the qt graphics toolkit. |
c21edcb90cbf
support for osmesa removed (bug #50479)
John W. Eaton <jwe@octave.org>
parents:
25586
diff
changeset
|
65 |
25734
c7095a755185
New function "ordeig" (patch #9670)
Sébastien Villemot <sebastien@debian.org>
parents:
25698
diff
changeset
|
66 ** New functions added in 5.0: |
c7095a755185
New function "ordeig" (patch #9670)
Sébastien Villemot <sebastien@debian.org>
parents:
25698
diff
changeset
|
67 |
c7095a755185
New function "ordeig" (patch #9670)
Sébastien Villemot <sebastien@debian.org>
parents:
25698
diff
changeset
|
68 ordeig |
c7095a755185
New function "ordeig" (patch #9670)
Sébastien Villemot <sebastien@debian.org>
parents:
25698
diff
changeset
|
69 |
25756
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
70 ** Legacy functions. |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
71 |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
72 The following functions have been declared legacy functions which |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
73 means they are obsolete and should not be used in any new code. |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
74 Unlike deprecated functions, however, their removal from Octave has |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
75 not yet been scheduled. |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
76 |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
77 Function | Replacement |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
78 ---------------------|------------------ |
25760
2ccad4396afc
findstr.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25759
diff
changeset
|
79 findstr | strfind |
25759
ecdced9fe445
flipdim.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25756
diff
changeset
|
80 flipdim | flip |
25756
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
81 isequalwithequalnans | isequaln |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
82 isstr | ischar |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
83 setstr | char |
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
84 strmatch | strncmp or strcmp |
25763
8dc8edbffa17
strread.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25760
diff
changeset
|
85 strread | textscan |
25764
826b45c1c427
textread.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25763
diff
changeset
|
86 textread | textscan |
25756
134939b92d86
strmatch.m: Make m-file a legacy function.
Rik <rik@octave.org>
parents:
25740
diff
changeset
|
87 |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
88 ** Deprecated functions. |
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
89 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
90 The following functions have been deprecated in Octave 5.0 and will |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
91 be removed from Octave 7 (or whatever version is the second major |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
92 release after 5.0): |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
93 |
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
94 Function | Replacement |
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
95 ---------------------|------------------ |
25259
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
96 | |
24867
b2b1ada9a7f1
* NEWS: Update for 4.2.2 release.
John W. Eaton <jwe@octave.org>
parents:
23225
diff
changeset
|
97 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
98 ** The following functions were deprecated in Octave 4.2 and have been |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
99 removed from Octave 5.0. |
20484 | 100 |
101 Function | Replacement | |
102 ---------------------|------------------ | |
20486 | 103 bitmax | flintmax |
20502 | 104 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
|
105 md5sum | hash |
23138 | 106 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
|
107 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
|
108 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
|
109 usleep | pause |
20484 | 110 wavread | audioread |
111 wavwrite | audiowrite | |
112 | |
23569
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
113 ** Deprecated graphics properties. |
19398
9e5b64b3c1fe
Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents:
19386
diff
changeset
|
114 |
23569
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
115 The following properties or allowed corresponding values have been |
25259
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
116 deprecated in Octave 5.0 and will be removed from Octave 7 (or whatever |
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
117 version is the second major release after 5.0): |
18606
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18580
diff
changeset
|
118 |
23569
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
119 Object | Property | Value |
112676e86ea3
NEWS: Re-order announcements for 4.4 release for clarity.
Rik <rik@octave.org>
parents:
23563
diff
changeset
|
120 ---------------------|-------------------------|------------------- |
25259
7e0be1b2ccf5
NEWS: Update news file with list of functions deprecated and removed in Octave 5.
Rik <rik@octave.org>
parents:
25258
diff
changeset
|
121 | | |
19974
72ccbd36e23c
Return a column vector by default for Matlab compatibility (bug #44425, bug #44453).
Rik <rik@octave.org>
parents:
19965
diff
changeset
|
122 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
123 ** The following properties or allowed corresponding values were |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
124 deprecated in Octave 4.2 and have been removed from Octave 5.0: |
19122
c43223245085
doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents:
19119
diff
changeset
|
125 |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
126 Object | Property | Value |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
127 ---------------------|-------------------------|------------------- |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
128 axes | xaxislocation | "zero" |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
129 | yaxislocation | "zero" |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
130 patch | normalmode | |
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
131 surface | normalmode | |
19965
d20dd211cc89
Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents:
19958
diff
changeset
|
132 |
9352 | 133 --------------------------------------------------------- |
134 | |
25226
ef521f780839
NEWS: Update for version 5 and move old file to NEWS.4.
Rik <rik@octave.org>
parents:
25173
diff
changeset
|
135 See NEWS.4 for old news. |