comparison NEWS @ 8747:86cfcf133a19

NEWS update
author John W. Eaton <jwe@octave.org>
date Mon, 16 Feb 2009 00:09:44 -0500
parents c32e710407ee
children 5a7494ee68a3
comparison
equal deleted inserted replaced
8746:5dd06f19e9be 8747:86cfcf133a19
20 stem-series, bar-series, etc. objects for better Matlab 20 stem-series, bar-series, etc. objects for better Matlab
21 compatibility. 21 compatibility.
22 22
23 ** New graphics functions: 23 ** New graphics functions:
24 24
25 addlistener dellistener ezsurf ishghandle 25 addlistener diffuse ezsurfc plotmatrix
26 addproperty ezcontour ezsurfc linkprop 26 addproperty ezcontour findall refresh
27 allchild ezcontourf findall plotmatrix 27 allchild ezcontourf gcbf refreshdata
28 available_backends ezmesh gcbf refresh 28 available_backends ezmesh gcbo specular
29 backend ezmeshc gcbo refreshdata 29 backend ezmeshc ginput surfl
30 cla ezplot ginput surfl 30 cla ezplot gtext waitforbuttonpress
31 clabel ezplot3 gtext waitforbuttonpress 31 clabel ezplot3 intwarning
32 comet ezpolar intwarning 32 comet ezpolar ishghandle
33 33 dellistener ezsurf linkprop
34 ** Improvements to the debugger. 34
35 ** Improvements to the debugger.
35 36
36 The interactive debugging features have been improved. Stopping 37 The interactive debugging features have been improved. Stopping
37 on statements with dbstop should work correctly now. Stepping 38 on statements with dbstop should work correctly now. Stepping
38 into and over functions, and stepping one statement at a time 39 into and over functions, and stepping one statement at a time
39 (with dbstep) now works. Moving up and down the call stack with 40 (with dbstep) now works. Moving up and down the call stack with
86 87
87 class inferiorto isobject loadobj methods superiorto 88 class inferiorto isobject loadobj methods superiorto
88 89
89 See the Octave manual for more details. 90 See the Octave manual for more details.
90 91
92 ** Parsing of Command-style Functions.
93
94 Octave now parses command-style functions without needing to first
95 declare them with "mark_as_command". The rules for recognizing a
96 command-style function calls are
97
98 * A command must appear as the first word in a statement,
99 followed by a space.
100
101 * The first character after the space must not be '=' or '('
102
103 * The next token after the space must not look like a binary
104 operator.
105
106 These rules should be mostly compatible with the way Matlab parses
107 command-style function calls and allow users to define commands in
108 .m files without having to mark them as commands.
109
110 Note that previous versions of Octave allowed expressions like
111
112 x = load -text foo.dat
113
114 but an expression like this will now generate a parse error. In
115 order to assign the value returned by a function to a variable,
116 you must use the normal function call syntax:
117
118 x = load ("-text", "foo.dat");
119
91 ** Block comments. 120 ** Block comments.
92 121
93 Commented code can be between matching "%{" and "%}" markers, even 122 Commented code can be between matching "#{" and "#}" or "%{" and
94 if the commented code spans several line. This allows blocks code 123 "%}" markers, even if the commented code spans several line. This
95 to be commented, without needing to comment each line. For 124 allows blocks code to be commented, without needing to comment
96 example, 125 each line. For example,
97 126
98 function y = func (x) 127 function [s, t] = func (x, y)
99 y = 2 * x; 128 s = 2 * x;
100 %{ 129 #{
101 y += 1; 130 s *= y;
102 %} 131 t = y + x;
132 #}
103 endfunction 133 endfunction
104 134
105 the line "y += 1;" will not be executed. 135 the lines "s *= y;" and "t = y + x" will not be executed.
106 136
107 ** The Control, Finance and Quaternion functions have been removed. 137 ** The Control, Finance and Quaternion functions have been removed.
108 138
109 These functions are now available as separate packages from 139 These functions are now available as separate packages from
110 140
224 254
225 dblquad quadgk quadv triplequad 255 dblquad quadgk quadv triplequad
226 256
227 ** Other miscellaneous new functions. 257 ** Other miscellaneous new functions.
228 258
229 addtodate interp1q rectint 259 addtodate info realpow
230 bicgstab isdebugmode regexptranslate 260 bicgstab interp1q realsqrt
231 cgs isfloat restoredefaultpath 261 cgs isdebugmode rectint
232 command_line_path isstrprop roundb 262 command_line_path isfloat regexptranslate
233 contrast log1p rundemos 263 contrast isstrprop restoredefaultpath
234 convn lsqnonneg runlength 264 convn log1p roundb
235 datetick matlabroot saveobj 265 datetick lsqnonneg rundemos
236 display namelengthmax spaugment 266 display matlabroot runlength
237 expm1 nargoutchk strchr 267 expm1 namelengthmax saveobj
238 filemarker pathdef strvcat 268 filemarker nargoutchk spaugment
239 fstat perl subspace 269 fstat pathdef strchr
240 full prctile symvar 270 full perl strvcat
241 fzero quantile treelayout 271 fzero prctile subspace
242 genvarname re_read_readline_init_file validatestring 272 genvarname quantile symvar
243 hypot reallog which 273 hypot re_read_readline_init_file treelayout
244 idivide realpow 274 idivide reallog validatestring
245 info realsqrt
246 275
247 See NEWS.3 for old news. 276 See NEWS.3 for old news.