comparison NEWS @ 18538:fcd87f68af4f

Deprecate nfields and replace with numfields. * NEWS: Announce deprecation of nfields and addition of new function numfields. * container.txi: Add numfields to the manual. * oct-map.cc (octave_map::cat): Change %!tests to use numfields. * ov-struct.cc (Fnumfields): Function renamed from nfields. * scripts/deprecated/nfields.m: Add m-file which warns about nfields deprecation. * scripts/deprecated/module.mk: Add nfields.m to build system. * fieldnames.m: Change seealso link to point to numfields. * __isequal__.m: Use numfields to simplify code. * imwrite.m: Replace 'isempty (fieldnames (fmt))' with 'numfields (fmt) > 0' for clarity. * imageIO.m: Replace 'isempty (fieldnames (fmt))' with 'numfields (fmt) > 0' for clarity. * importdata.m: Use numfields to simplify code. * assert.m: Use numfields to simplify code.
author Rik <rik@octave.org>
date Sun, 02 Mar 2014 12:56:11 -0800
parents c7b68a11074b
children cd83730e5e38
comparison
equal deleted inserted replaced
18537:f958e8cd6348 18538:fcd87f68af4f
2 --------------------------------------------------------- 2 ---------------------------------------------------------
3 3
4 ** Other new functions added in 4.2: 4 ** Other new functions added in 4.2:
5 5
6 dir_in_loadpath 6 dir_in_loadpath
7 numfields
7 8
8 ** Deprecated functions. 9 ** Deprecated functions.
10
11 The following functions have been deprecated in Octave 4.2 and will
12 be removed from Octave 4.6 (or whatever version is the second major
13 release after 4.2):
14
15 find_dir_in_path
16 nfields
9 17
10 The following functions were deprecated in Octave 3.8 and have been 18 The following functions were deprecated in Octave 3.8 and have been
11 removed from Octave 4.2. 19 removed from Octave 4.2.
12 20
13 default_save_options java_new 21 default_save_options java_new
16 isequalwithequalnans javafields 24 isequalwithequalnans javafields
17 java_convert_matrix javamethods 25 java_convert_matrix javamethods
18 java_debug re_read_readline_init_file 26 java_debug re_read_readline_init_file
19 java_get read_readline_init_file 27 java_get read_readline_init_file
20 java_invoke saving_history 28 java_invoke saving_history
21
22
23 The following functions have been deprecated in Octave 4.2 and will
24 be removed from Octave 4.6 (or whatever version is the second major
25 release after 4.2):
26
27 find_dir_in_path
28
29 29
30 The following keywords were deprecated in Octave 3.8 and have been 30 The following keywords were deprecated in Octave 3.8 and have been
31 removed from Octave 4.2 31 removed from Octave 4.2
32 32
33 static 33 static