comparison NEWS @ 19679:ebd27d8c63fd

update default branch to release as 4.0 Now that we plan to release default instead of the gui-release branch as 4.0, restore functions removed from the default branch. * java_new.m, default_save_options.m, gen_doc_cache.m, interp1q.m, isequalwithequalnans.m, java_convert_matrix.m, java_debug.m, java_invoke.m, java_unsigned_conversion.m, javafields.m, javamethods.m, re_read_readline_init_file.m, read_readline_init_file.m, saving_history.m: Restore deprecated functions. * scripts/deprecated/module.mk: Update. * NEWS: Update. * configure.ac (AC_INIT): Set version to 3.9.0+. (OCTAVE_MAJOR_VERSION): Now 3. (OCTAVE_MINOR_VERSION): Now 9.
author John W. Eaton <jwe@octave.org>
date Fri, 30 Jan 2015 11:51:45 -0500
parents 76478d2da117
children 0165d9607624
comparison
equal deleted inserted replaced
19678:a615049dde18 19679:ebd27d8c63fd
1 Summary of important user-visible changes for version 4.2: 1 Summary of important user-visible changes for version 4.0:
2 --------------------------------------------------------- 2 ---------------------------------------------------------
3 3
4 ** A new syntax for object oriented programming termed classdef has been 4 ** A new syntax for object oriented programming termed classdef has been
5 introduced. See the manual for more extensive documentation of the 5 introduced. See the manual for more extensive documentation of the
6 classdef interface. 6 classdef interface.
17 17
18 audiodevinfo audioread 18 audiodevinfo audioread
19 audioinfo audiorecorder 19 audioinfo audiorecorder
20 audioplayer audiowrite 20 audioplayer audiowrite
21 21
22 ** Other new classes in Octave 4.2: 22 ** Other new classes in Octave 4.0:
23 23
24 audioplayer inputParser 24 audioplayer inputParser
25 audiorecorder 25 audiorecorder
26 26
27 ** Optional stricter Matlab compatibility for ranges, diagonal matrices, 27 ** Optional stricter Matlab compatibility for ranges, diagonal matrices,
34 34
35 disable_range disable_diagonal_matrix disable_permutation_matrix 35 disable_range disable_diagonal_matrix disable_permutation_matrix
36 36
37 All three optimizations are disabled if Octave is started with the 37 All three optimizations are disabled if Octave is started with the
38 --braindead command line option. 38 --braindead command line option.
39
40 ** For compatibility with Matlab, the "backtrace" warning option is now
41 enabled by default.
42
43 ** The preference
44
45 do_braindead_shortcircuit_evaluation
46
47 is now enabled by default.
48
49 ** The preference
50
51 allow_noninteger_range_as_index
52
53 is now enabled by default and the warning ID
54
55 Octave:noninteger-range-as-index
56
57 is now set to "on" by default instead of "error" by default and "on"
58 for --traditional.
59
60 ** polyeig now returns a row vector of eigenvalues rather than a matrix
61 with the eigenvalues on the diagonal. This change was made for Matlab
62 compatibility.
39 63
40 ** Interpolation function changes for Matlab compatibility 64 ** Interpolation function changes for Matlab compatibility
41 65
42 The interpolation method 'cubic' is now equivalent to 'pchip' 66 The interpolation method 'cubic' is now equivalent to 'pchip'
43 for interp1, interp2, and interp3. Previously, 'cubic' was equivalent 67 for interp1, interp2, and interp3. Previously, 'cubic' was equivalent
120 144
121 ** The new warning ID "Octave:data-file-in-path" replaces the three 145 ** The new warning ID "Octave:data-file-in-path" replaces the three
122 previous separate warning IDs "Octave:fopen-file-in-path", 146 previous separate warning IDs "Octave:fopen-file-in-path",
123 "Octave:load-file-in-path", and "Octave:md5sum-file-in-path". 147 "Octave:load-file-in-path", and "Octave:md5sum-file-in-path".
124 148
125 ** Other new functions added in 4.2: 149 ** Other new functions added in 4.0:
126 150
127 bandwidth 151 bandwidth
128 cubehelix 152 cubehelix
129 dir_in_loadpath 153 dir_in_loadpath
130 flip 154 flip
144 numfields 168 numfields
145 qmr 169 qmr
146 rotate 170 rotate
147 sylvester 171 sylvester
148 unsetenv 172 unsetenv
173 validateattributes
149 zoom 174 zoom
150 175
151 ** inline() scheduled for eventual deprecation by Matlab 176 ** inline() scheduled for eventual deprecation by Matlab
152 177
153 Functions created through the use of inline are scheduled for deprecation 178 Functions created through the use of inline are scheduled for deprecation
155 functions for an indeterminate amount of time before also removing support. 180 functions for an indeterminate amount of time before also removing support.
156 All new code should use anonymous functions in place of inline functions. 181 All new code should use anonymous functions in place of inline functions.
157 182
158 ** Deprecated functions. 183 ** Deprecated functions.
159 184
160 The following functions have been deprecated in Octave 4.2 and will 185 The following functions have been deprecated in Octave 4.0 and will
161 be removed from Octave 4.6 (or whatever version is the second major 186 be removed from Octave 4.4 (or whatever version is the second major
162 release after 4.2): 187 release after 4.0):
163 188
164 Function | Replacement 189 Function | Replacement
165 ---------------------|------------------ 190 ---------------------|------------------
166 bicubic | interp2 191 bicubic | interp2
167 delaunay3 | delaunay 192 delaunay3 | delaunay
174 nfields | numfields 199 nfields | numfields
175 octave_tmp_file_name | tempname 200 octave_tmp_file_name | tempname
176 syl | sylvester 201 syl | sylvester
177 usage | print_usage 202 usage | print_usage
178 203
179 The following functions were deprecated in Octave 3.8 and have been 204 allow_noninteger_range_as_index
180 removed from Octave 4.2. 205 do_braindead_shortcircuit_evaluation
206
207 ** The following functions were deprecated in Octave 3.8 and will be
208 removed from Octave 4.2 (or whatever version is the second major
209 release after 3.8):
181 210
182 default_save_options java_new 211 default_save_options java_new
183 gen_doc_cache java_unsigned_conversion 212 gen_doc_cache java_unsigned_conversion
184 interp1q javafields 213 interp1q javafields
185 isequalwithequalnans javamethods 214 isequalwithequalnans javamethods
186 java_convert_matrix re_read_readline_init_file 215 java_convert_matrix re_read_readline_init_file
187 java_debug read_readline_init_file 216 java_debug read_readline_init_file
188 java_invoke saving_history 217 java_invoke saving_history
189 218
190 The following keywords were deprecated in Octave 3.8 and have been 219 ** The following functions were deprecated in Octave 3.6 and have been
191 removed from Octave 4.2 220 removed from Octave 4.0.
221
222 cut polyderiv
223 cor shell_cmd
224 corrcoef studentize
225 __error_text__ sylvester_matrix
226 error_text
227
228 ** The following keywords were deprecated in Octave 3.8 and have been
229 removed from Octave 4.0
192 230
193 static 231 static
194 232
195 The following configuration variables were deprecated in Octave 3.8 233 ** The following configuration variables were deprecated in Octave 3.8
196 and have been removed from Octave 4.2 234 and have been removed from Octave 4.0
197 235
198 CC_VERSION (now GCC_VERSION) 236 CC_VERSION (now GCC_VERSION)
199 CXX_VERSION (now GXX_VERSION) 237 CXX_VERSION (now GXX_VERSION)
200 238
201 The internal class <Octave_map> was deprecated in Octave 3.8 and has 239 ** The internal function atan2 of the sparse matrix class has been deprecated
202 been removed from Octave 4.2. Replacement classes are 240 in Octave 4.0 and will be removed from Octave 4.4 (or whatever version is
241 the second major release after 4.0). Use the Fatan2 function with sparse
242 inputs as a replacement.
243
244 ** The internal class <Octave_map> was deprecated in Octave 3.8 and has
245 been removed from Octave 4.0. Replacement classes are
203 <octave_map> (struct array) or <octave_scalar_map> for a single structure. 246 <octave_map> (struct array) or <octave_scalar_map> for a single structure.
204 247
205 ** The warning ID Octave:singular-matrix-div has been replaced by 248 ** The warning ID Octave:singular-matrix-div has been replaced by
206 Octave:nearly-singular-matrix and Octave:singular-matrix. 249 Octave:nearly-singular-matrix and Octave:singular-matrix.
207 250
210 been removed. The header remains, but is deprecated. The macros to 253 been removed. The header remains, but is deprecated. The macros to
211 access the class (DECLARE_OCTAVE_ALLOCATOR, DEFINE_OCTAVE_ALLOCATOR, 254 access the class (DECLARE_OCTAVE_ALLOCATOR, DEFINE_OCTAVE_ALLOCATOR,
212 and DEFINE_OCTAVE_ALLOCATOR2) are now unconditionally defined to be 255 and DEFINE_OCTAVE_ALLOCATOR2) are now unconditionally defined to be
213 empty. 256 empty.
214 257
215 Summary of important user-visible changes for version 4.0:
216 --------------------------------------------------------- 258 ---------------------------------------------------------
217 259
218 ** For compatibility with Matlab, the "backtrace" warning option is now
219 enabled by default.
220
221 ** The preference
222
223 do_braindead_shortcircuit_evaluation
224
225 is now enabled by default.
226
227 ** The preference
228
229 allow_noninteger_range_as_index
230
231 is now enabled by default and the warning ID
232
233 Octave:noninteger-range-as-index
234
235 is now set to "on" by default instead of "error" by default and "on"
236 for --traditional.
237
238 ** polyeig now returns a row vector of eigenvalues rather than a matrix
239 with the eigenvalues on the diagonal. This change was made for Matlab
240 compatibility.
241
242 ** Other new functions added in 4.0.0:
243
244 validateattributes
245
246 ** Deprecated functions.
247
248 The following functions were deprecated in Octave 3.6 and have been
249 removed from Octave 4.0.
250
251 cut polyderiv
252 cor shell_cmd
253 corrcoef studentize
254 __error_text__ sylvester_matrix
255 error_text
256
257 The following functions have been deprecated in Octave 4.0 and will
258 be removed from Octave 4.4 (or whatever version is the second major
259 release after 4.0):
260
261 allow_noninteger_range_as_index
262 do_braindead_shortcircuit_evaluation
263
264 The internal function atan2 of the sparse matrix class has been deprecated
265 in Octave 4.0 and will be removed from Octave 4.4 (or whatever version is
266 the second major release after 4.0). Use the Fatan2 function with sparse
267 inputs as a replacement.
268
269 ---------------------------------------------------------
270
271 See NEWS.3 for old news. 260 See NEWS.3 for old news.