2330
|
1 Thu Feb 23 09:32:01 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2 |
|
3 * Version 1.1.1 released. |
|
4 |
|
5 * src/idx-vector.cc (idx_vector (const Range&)): Always initialize |
|
6 data to 0. |
|
7 (idx_vector (const Matrix&, int, const char *, int)): Likewise. |
|
8 (idx_vector (const idx_vector&): Likewise, do it first. |
|
9 * src/idx-vector.h (~idx_vector): Simply delete data. |
|
10 |
|
11 * octMakefile.in: Combine libcruft, liboctave,dld, info, readline, |
|
12 kpathsea, src, scripts, and doc targets into just one. |
|
13 (all): Depend on $(SUBDIRS). |
|
14 * libcruft/Makefile.in (make-objects): Change to $(SUBDIRS) |
|
15 target that doesn't use a loop. |
|
16 (all): Depend on $(SUBDIRS). |
|
17 |
|
18 Wed Feb 22 07:27:18 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
19 |
|
20 * Don't leave @LIBDLD@ on a line by itself. |
|
21 |
|
22 * src/tc-rep-idx.cc (fortran_style_matrix_index): Handle zero-one |
|
23 indexing as a separate case. |
|
24 (fortran_style_matrix_index): Check for out-of-bounds index. |
|
25 |
|
26 * src/idx-vector.cc (init_state): Don't forget len, num_zeros, and |
|
27 the one_zero flag for vectors of all zero elements. |
|
28 (convert_one_zero_to_idx): Set data to zero after deleting it. |
|
29 |
|
30 * src/data.cc (check_dimensions): |
|
31 Handle case of treat_neg_dim_as_zero = "warn". |
|
32 |
|
33 Tue Feb 21 08:18:19 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
34 |
|
35 * src/tree-misc.cc (initialize_undefined_elements): Don't declare |
|
36 arg const. |
|
37 |
|
38 * src/sysdepl.cc (octave_getcwd): Declare arg as char *, not |
|
39 const char *. |
|
40 |
|
41 * src/input.cc (match_sans_spaces): Initialize ep from copy of |
|
42 arg, not arg itself. |
|
43 |
|
44 * octMakefile.in (snapshot-version): Look for OCTAVE_VERSION, |
|
45 not just VERSION. Don't end #define with a semicolon. |
|
46 |
|
47 Mon Feb 20 15:57:17 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
48 |
|
49 * scripts/image/Makefile.in (clean): Delete octtopnm.o and octtopnm. |
|
50 |
|
51 Fri Feb 17 08:12:09 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
52 |
|
53 * src/variables.cc (maybe_add_default_load_path): New function, |
|
54 extracted from default_path(), which no longer needs it. |
|
55 * src/user-prefs.cc (sv_loadpath): Call it here. |
|
56 |
|
57 Wed Feb 15 15:13:22 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
58 |
|
59 * src/octave.cc (verbose_usage): Format help message more like |
|
60 the help messages of other GNU programs. |
|
61 |
|
62 * src/variables.cc (install_builtin_variables): New builtin |
|
63 variable, suppress_verbose_help_message. |
|
64 * src/user-prefs.cc (user_prefs): New field, |
|
65 suppress_verbose_help_message. |
|
66 * src/user-prefs.cc (suppress_verbose_help_message): New function. |
|
67 * src/help.cc (additional_help_message): Check |
|
68 user_pref.suppress_verbose_help_message before printing message. |
|
69 |
|
70 Tue Feb 14 15:36:01 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
71 |
|
72 * src/sysdep.cc (octave_chdir): New function. |
|
73 * src/dirfns.cc (change_to_directory): Use it. |
|
74 |
|
75 * src/sysdep.cc (octave_getcwd): New function. |
|
76 * src/dirfns.cc (get_working_directory, Fpwd): Use it. |
|
77 * src/input.cc (decode_prompt_string): Likewise. |
|
78 |
|
79 * src/version.h (VERSION): New #define. |
|
80 (version_string): Use it. |
|
81 (OCTAVE_COPYRIGHT): New #define. |
|
82 (OCTAVE_NAME_AND_VERSION): New #define. |
|
83 (OCTAVE_NAME_VERSION_AND_COPYRIGHT): New #define. |
|
84 (OCTAVE_STARTUP_MESSAGE): New #define. |
|
85 * src/octave.cc (main): Use new macros from version.h |
|
86 (print_version_and_exit): Likewise. |
|
87 (verbose_usage): Likewise. |
|
88 (Fwarranty): Likewise. |
|
89 |
|
90 * Makeconf.in (version): Make work with new version.h. |
|
91 * octMakefile.in (snapshot-version): Likewise. |
|
92 |
|
93 * src/variables.cc (default_path): Use SEPCHAR instead of literal ':'. |
|
94 * src/utils.cc (pathstring_to_vector): Likewise. |
|
95 * src/octave.cc (initialize_globals): Likewise, use SEPCHAR_STR to |
|
96 construct format string instead of using literal `:'. |
|
97 |
|
98 * configure.in: Call AC_DEFINE for SEPCHAR and SEPCHAR_STR. |
|
99 * acconfig.h: Add #undefs for SEPCHAR and SEPCHAR_STR. |
|
100 |
|
101 * src/dynamic-ld.cc: Don't include dld.h unless WITH_DLD. |
|
102 |
|
103 * src/octave.cc (parse_and_execute): Close file. |
|
104 |
|
105 Mon Feb 13 19:39:12 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) |
|
106 |
|
107 * scripts/general/linspace.m: Delete. |
|
108 * src/data.cc (Flinspace): New function. |
|
109 * liboctave/dRowVector.cc (linspace): New function. |
|
110 * liboctave/CRowVector.cc (linspace): New function. |
|
111 |
|
112 Sun Feb 12 21:23:54 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
113 |
|
114 * src/load-save.cc (read_mat_binary_data): Only convert to string |
|
115 if the number of rows is 1. |
|
116 |
|
117 * scripts/image/saveimage.m: Force ASCII save. |
|
118 |
|
119 Thu Feb 9 08:46:09 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
120 |
|
121 * scripts/elfun/sec.m: Returned variable is `w', not `y'. |
|
122 * scripts/elfun/sech.m: Likewise. |
|
123 |
|
124 Wed Feb 8 10:51:33 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
125 |
|
126 * src/f-find.cc (find_nonzero_elem_idx): Increment i, j indices by |
|
127 1 before stashing them. |
|
128 |
|
129 Fri Feb 3 15:44:03 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
130 |
|
131 * src/tree-misc.cc |
|
132 (tree_parameter_list::initialize_undefined_elements): New function. |
|
133 * src/tree-expr.cc (tree_function::eval): Use it to define return |
|
134 values. |
|
135 (tree_simple_assignment_expression:eval): Complain if RHS is undefined. |
|
136 (tree_multi_assignment_expression:eval): Complain if any of the |
|
137 RHS values are undefined. |
|
138 * src/user-prefs.h (init_user_prefs): New structure element, |
|
139 define_all_return_values. |
|
140 * src/user-prefs.cc (define_all_return_values): New function. |
|
141 * src/variables.cc (install_builtin_variables): Add DEFVARs for |
|
142 default_return_value and define_all_return_values. |
|
143 (builtin_any_variable): New function. |
|
144 |
|
145 Wed Feb 1 08:02:28 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
146 |
|
147 * src/parse.y (parse_error): Call yyerror() here. |
|
148 (input): Not here. |
|
149 |
|
150 * src/lex.l (handle_string): Call have_continuation and |
|
151 have_ellipsis_continuation with 0 arg, to disallow comments after |
|
152 continuation characters inside strings. |
|
153 (have_continuation): New arg, trailing_comments_ok with default |
|
154 value of 1. If !trailing_comments_ok, don't allow comments to |
|
155 follow continuation token. |
|
156 (have_ellipsis_continuation): New arg, trailing_comments_ok, with |
|
157 default value of 1. Pass it along to have_continuation. |
|
158 |
|
159 * src/parse.y (yyerror): Call parse_error with first arg == "%s", |
|
160 since msg might contain format specifiers. |
|
161 |
|
162 * src/tree-expr.cc (tree_index_expression::eval (int)): Detect |
|
163 undefined elements in argument list and print error message. |
|
164 (tree_index_expression::eval (int, int, const Octave_object&)): |
|
165 Likewise. |
|
166 |
|
167 * configure.in: Only set CFLAGS, CXXFLAGS, LDFLAGS, FFLAGS, and |
|
168 F2CFLAGS if they are not already set in the environment. |
|
169 |
|
170 * doinstall.sh: Add -print to find commands. |
|
171 |
|
172 Tue Jan 31 13:26:53 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
173 |
|
174 * src/lex.l (<MATRIX>{S}*\,{S}*): Eat any trailing continuation |
|
175 here. Use value returned from eat_continuation to decide whether |
|
176 to insert a row separator. |
|
177 (<MATRIX>{S}+): Likewise. |
|
178 (<MATRIX>{SNLCMT}*\n{SNLCMT}*): Eat any trailing whitespace here. |
|
179 |
|
180 * lex.l (ATE_SPACE_OR_TAB, ATE_NEWLINE): New macros. |
|
181 (eat_whitespace): Use them to set return value. |
|
182 |
|
183 Mon Jan 30 14:02:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
184 |
|
185 * src/user-prefs.cc (set_output_precision): Don't pass NaN to NINT. |
|
186 (set_output_max_field_width): Likewise. |
|
187 (set_save_precision): Likewise. |
|
188 * src/file-io.cc (return_valid_file): Likewise. |
|
189 (fgets_internal): Likewise. |
|
190 (fseek_internal): Likewise. |
|
191 (process_printf_format): Likewise. |
|
192 (fread_internal): Likewise. |
|
193 * src/f-colloc.cc (Fcolloc): Likewise. |
|
194 * src/f-fft.cc (Ffft): Likewise. |
|
195 * src/f-fft2.cc (Ffft2): Likewise. |
|
196 * src/f-ifft.cc (Fifft): Likewise. |
|
197 * src/f-ifft2.cc (Fifft2): Likewise. |
|
198 * src/f-npsol.cc (do_npsol_option): Likewise. |
|
199 * src/f-qpsol.cc (do_qpsol_option): Likewise. |
|
200 * src/f-rand.cc (Frand): Likewise. |
|
201 * src/pr-output.cc (all_elements_are_ints): Likewise. |
|
202 * src/tree-plot.cc (subplot_using::eval): Likewise. |
|
203 (subplot_style::print): Likewise. |
|
204 * src/sysdep.cc (Fpause): Likewise. |
|
205 * src/tc-rep.cc (TC_REP::valid_as_scalar_index): Likewise. |
|
206 (TC_REP::valid_as_zero_index): Likewise. |
|
207 (TC_REP::convert_to_str): Likewise. |
|
208 * src/tc-rep-idx.cc (TC_REP::do_scalar_index): Likewise. |
|
209 (TC_REP::fortran_style_matrix_index): Likewise. |
|
210 * src/tc-rep-ass.cc (TC_REP::fortran_style_matrix_assignment): |
|
211 Likewise. |
|
212 |
|
213 Sat Jan 28 13:09:44 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
214 |
|
215 * scripts/general/tril.m: Allow the k == nc for k > 0 and |
|
216 -k == nr for k < 0. Make faster by eliminating nested loops. |
|
217 * scripts/general/triu.m: Likewise. |
|
218 |
|
219 Fri Jan 27 08:32:10 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
220 |
|
221 * libcruft/lapack: Update with files from LAPACK 2.0. |
|
222 |
|
223 * src/lex.l (\[{S}*): Don't call fixup_column_count() here. |
|
224 Don't use TOK_RETURN here, since we call eat_whitespace(). |
|
225 (eat_whitespace): Decrement current_input_column when calling |
|
226 yyunput(). |
|
227 (<MATRIX>{SNLCMT}*\n{SNLCMT}): Always call fixup_column_count(). |
|
228 |
|
229 * src/parse.y (rows): Don't accept repeated semicolons. |
|
230 (matrix_row): Likewise, for commas. |
|
231 |
|
232 * src/Makefile.in (LIBOBJS): Delete. |
|
233 |
|
234 * liboctave/f77-uscore.h: Don't use C++ style comments. |
|
235 |
|
236 * octMakefile.in (DISTDIRS): Don't include bsd-math. |
|
237 * src/Makefile.in (VPATH): Don't include bsd-math directory. |
|
238 (SOURCES): Include acosh.c, asinh.c, atanh.c, erf.c erfc.c, and |
|
239 lgamma.c. |
|
240 * configure.in: Create libcruft/slatec-fn/Makefile. |
|
241 Use AC_CHECK_FUNCS to look for acosh, asinh, atanh. |
|
242 Don't do anything special if they are missing. |
|
243 * src/acosh.c, src/asinh.c, src/atanh.c, src/erf.c, src/erfc.c, |
|
244 src/lgamma.c: New files. |
|
245 * acconfig.h: Delete #undefs for ACOSH_MISSING, ASINH_MISSING, |
|
246 and ATANH_MISSING. |
|
247 * libcruft/Makefile.in (CRUFT_DIRS): Add slatec-fn. |
|
248 * libcruft/slatec-fn: New directory. |
|
249 |
|
250 * configure.in: Don't try to use IEEE floating point on m68k HP |
|
251 systems. |
|
252 |
|
253 Thu Jan 26 12:57:05 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
254 |
|
255 * src/lex.l (maybe_unput_comma): New function, extracted from |
|
256 handle_identifier(). Correctly handle the dot in things like |
|
257 `a.b' inside matrix lists. |
|
258 (handle_identifier): Use it. Don't allow things like [a .1] or |
|
259 [a.b .1] to fool us. |
|
260 |
|
261 Wed Jan 25 08:04:16 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
262 |
|
263 * scripts/Makefile.in (realclean): Don't depend on distclean. Do |
|
264 delete Makefile here. |
|
265 |
|
266 * flibs.sh: Also check for /*values-*.o, for Sun Fortran 2.x. |
|
267 * configure.in (FLIB_LIST, CXXLIB_LIST, FLIB_PATH, CXXLIB_PATH): |
|
268 Delete any .o files found here. |
|
269 When checking for -lm, also append -lc on Linux systems. |
|
270 |
|
271 * mkinstalldirs: Create directories with mode 0755, to avoid |
|
272 problems because the installers umask is too restrictive. |
|
273 |
|
274 * octave-bug.in: Don't use rmail, it crashes on Ultrix systems if |
|
275 the message file isn't just right. Use nested if statements |
|
276 instead of ||, for Ultrix /bin/sh. Avoid Ultrix awk crash. |
|
277 |
|
278 * scripts/linear-algebra/trace.m: Handle row and column vectors as |
|
279 a special case. |
|
280 * scripts/linear-algebra/null.m: Likewise. |
|
281 * scripts/linear-algebra/orth.m: Likewise. |
|
282 |
|
283 Tue Jan 24 08:11:51 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
284 |
|
285 * octave-bug.in: Add F2C, F2CFLAGS, FLIBS, and LDFLAGS to report. |
|
286 * Makefile.in (octave-bug): Substitute them. |
|
287 |
|
288 Mon Jan 23 20:42:55 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
289 |
|
290 * src/tree-misc.cc (tree_if_clause::is_else_clause): New function. |
|
291 (tree_if_command_list::print_code): Use it to decide whether to |
|
292 print "else" or "elseif" here. |
|
293 (tree_if_clause::print_code): Don't print "else" here. |
|
294 |
|
295 * scripts/image/colormap.m: Fix logic for initializing default |
|
296 colormap and handling subsequent calls with no arguments. |
|
297 |
|
298 * src/lex.h (TOK_PUSH_AND_RETURN): Correct last change. |
|
299 |
|
300 Sun Jan 22 18:02:37 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
301 |
|
302 * src/lex.l (handle_identifier): Handle incrementing |
|
303 current_input_column here. |
|
304 ({IDENT}{S}*): Not here. |
|
305 |
|
306 * src/lex.h (TOK_PUSH_AND_RETURN): New macro. |
|
307 * src/lex.l: Use it. |
|
308 |
|
309 * src/parse.y (yyerror): If printing input line, always print `^' |
|
310 error marker too. |
|
311 |
|
312 * src/parse.y (command [BREAK]): Allow break to occur in function |
|
313 bodies too. |
|
314 * src/tree-expr.cc (tree_function::eval): Also check to see if |
|
315 function exited because of a break statement. |
|
316 |
|
317 Fri Jan 20 10:48:18 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
318 |
|
319 * config.guess: Replace with current version from FSF. |
|
320 * config.sub: Likewise. |
|
321 |
|
322 * src/tempname.c: Include statdefs.h. |
|
323 |
|
324 * src/tree-expr.cc (eval): Improve error messages. |
|
325 |
|
326 Thu Jan 19 08:33:50 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
327 |
|
328 * src/lex.l (handle_string): Properly handle pending escapes. |
|
329 Call error() for unterminated string constants. |
|
330 * src/parse.y (input): For parse errors, call yyerror(). |
|
331 |
|
332 * test/config/unix-octave.exp (octave_start): Correctly set OSPATH |
|
333 from $OCTAVE_SCRIPT_PATH, not to the string OCTAVE_SCRIPT_PATH. |
|
334 |
|
335 * test/Makefile.in (OCTAVE_SCRIPT_PATH): Delete surrounding quotes |
|
336 in definition. |
|
337 |
|
338 * doc/texinfo.tex: Move to version 2.140. |
|
339 |
|
340 * src/f-rand.cc (Frand): Use different method for generating |
|
341 initial seed so that it varies more each time Octave starts. |
|
342 |
|
343 * src/file-io.cc (feof_internal): Use args(0), not args(1). |
|
344 |
|
345 * src/Makefile.in (SOURCES): Use tempnam.c, not tmpnam.c. |
|
346 * src/tempnam.c: New file, from the GNU C library. |
|
347 |
|
348 Wed Jan 18 08:10:31 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
349 |
|
350 * src/user-prefs.h (user_prefs): New field, read_only_constants. |
|
351 * src/user-prefs.cc (read_only_constants): New function. |
|
352 * src/variables.cc (install_builtin_variables): Add DEFVAR for |
|
353 read_only_constants, but leave it #if 0'd out since we're not |
|
354 really ready for it yet.. |
|
355 * src/symtab.cc (symbol_record::read_only_error): Check |
|
356 user_prefs.read_only_constants to see if it is ok to redefine |
|
357 constants that are marked as read-only. |
|
358 |
|
359 * src/user-prefs.h (user_prefs): New field, ps4. |
|
360 * src/user-prefs.cc (sv_ps4): New function. |
|
361 * src/variables.cc (install_builtin_variables): Add DEFVAR for PS4. |
|
362 * src/input.cc (do_input_echo): New function. Use PS4 variable as |
|
363 prefix of echoed input. Send echoed input through the pager. |
|
364 |
|
365 * flibs.sh: Ignore -lang* options. |
|
366 |
|
367 * src/load-save.cc (Fsave): Send `save - ...' output through the |
|
368 pager. |
|
369 |
|
370 * doc/Makefile.in: Create and distribute refcards of various sizes. |
|
371 Delete rules for making refcard.tex from refcard.tex.in. |
|
372 Don't make or distribute refcard-local. |
|
373 * doc/refcard.tex: Handle setting paper size with \refcardsize. |
|
374 * doc/refcard-a4.tex, doc/refcard-legal.tex, doc/refcard-letter.tex: |
|
375 New files. |
|
376 |
|
377 Mon Jan 16 13:19:29 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
378 |
|
379 * src/tc-rep-ass.cc (TC_REP::do_scalar_assignment): Handle |
|
380 assignments like a(0) = []. |
|
381 * src/tc-inlines.h (valid_zero_index): New function. |
|
382 * src/tc-rep.cc (valid_as_zero_index): New function. |
|
383 * src/tree-const.h (valid_as_zero_index): New function. |
|
384 |
|
385 * src/parse.y (func_def2): Check user_prefs before warning about |
|
386 function name and function file name conflict. |
|
387 * src/user-prefs.h (user_prefs): New field, warn_function_name_clash. |
|
388 * src/user-prefs.cc (warn_function_name_clash): New function. |
|
389 * src/variables.cc (install_builtin_variables): Add DEFVAR for |
|
390 warn_function_name_clash. |
|
391 |
|
392 * scripts/image/octtopnm.c: Include stdlib.h instead of malloc.h. |
|
393 |
|
394 Sun Jan 15 15:08:04 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
395 |
|
396 * readline/rldefs.h: Use new #defines for directory headers now |
|
397 that we are using autoconf 2. |
|
398 |
|
399 * scripts/special-matrix/hankel.m: Use .', instead of '. |
|
400 |
|
401 * src/input.cc (match_sans_spaces): Use strcmp, not strncmp. |
|
402 |
|
403 * src/tc-rep-ass.cc (TC_REP::fortran_style_matrix_assignment): |
|
404 For scalar index, don't do assignment if RHS and LHS are both empty. |
|
405 |
|
406 * src/data.cc (Fsize): Handle optional second arg. |
|
407 |
|
408 * src/tree-expr.cc (tree_function::eval (int)): Correctly set |
|
409 nargin and nargout to zero when evaluating function. |
|
410 |
|
411 * src/lex.l (handle_string): Correct handling of string escapes. |
|
412 |
|
413 Thu Jan 12 15:25:34 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
414 |
|
415 * Version 1.1.0 released. |
|
416 |
|
417 * octMakefile.in (bin-dist-tar): Ignore errors on strip commands. |
|
418 |
|
419 * src/tree-expr.cc (tree_builtin::eval (int)): Set nargout to 0 |
|
420 when calling function. |
|
421 |
|
422 * doc/Makefile.in (FORMATTED): Add refcard.dvi and refcard.ps so |
|
423 that they are distributed along with the other docs. |
|
424 * octMakefile.in (clean-doc-dist-tar): Delete target. |
|
425 (doc-dist): Depend on doc-dist-tar, not clean-doc-dist-tar. |
|
426 |
|
427 Tue Jan 10 14:29:43 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
428 |
|
429 * src/help.cc (print_usage): Print warning if symbol isn't found. |
|
430 |
|
431 * src/utils.cc (Fundo_string_escapes): Fix typo in call to |
|
432 print_usage(). |
|
433 |
|
434 * src/octave.cc (Fsystem): Correctly compute exit code. |
|
435 |
|
436 * scripts/miscellaneous/etime.m: Complain if args are not the |
|
437 right length, not if they are. Reverse sense of test for years. |
|
438 Duh. |
|
439 |
|
440 * src/f-find.cc (find_to_fortran_idx): For the case of one output |
|
441 argument, return a row vector if the original argument to find was |
|
442 a row vector. |
|
443 |
|
444 Mon Jan 9 12:57:27 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
445 |
|
446 * src/lex.l (grab_help_text): Always overwrite help_buf. |
|
447 ({CCHAR}): Don't call grab_help_text() if there is already |
|
448 something in help_buf. |
|
449 |
|
450 Sat Jan 7 12:28:35 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
451 |
|
452 * configure.in (HOST_CXXFLAGS): New variable to substitute. |
|
453 * Makeconf.in (ALL_CXXFLAGS, UGLY_ALL_CXXFLAGS, BUG_CXXFLAGS): |
|
454 Add $(HOST_CXXFLAGS). |
|
455 |
|
456 Fri Jan 6 13:07:09 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
457 |
|
458 * scripts/special-matrix/toeplitz.m: Use .' instead of '. |
|
459 |
|
460 Tue Jan 3 18:14:33 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
461 |
|
462 * test: Rewrite many tests to not run Octave interactively. This |
|
463 makes the log files much more readable. |
|
464 |
|
465 * octMakefile.in (clean-tar): Delete octave-test/npsol directory, |
|
466 not just test/octave.test/npsol.exp. Likewise, add a command for |
|
467 deleting qpsol tests. |
|
468 |
|
469 Mon Jan 2 20:02:10 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
470 |
|
471 * src/octave.cc (main): Return 0 if error_state is not set. |
|
472 |
|
473 * src/error.cc (error_1): New function. |
|
474 (error): Use it. |
|
475 (parse_error): New function. |
|
476 * src/parse.y: Never call error and yyerror; just use yyerror. |
|
477 (yyerror): Improve logic. Use new parse_error() function so that |
|
478 error_state is always set for a parse error. Don't use |
|
479 ostream::form(). |
|
480 (ABORT_PARSE): Don't call reset parser here. |
|
481 (colon_expr): Don't call yyerror here. An error message is |
|
482 printed by tree_colon_expression::chain() if it fails. |
|
483 |
|
484 Mon Dec 26 20:11:01 1994 John Eaton <jwe@schoch.che.utexas.edu> |
|
485 |
|
486 * src/tree-expr.cc (eval): Only call multi-arg form of eval for |
|
487 object_to_eval if necessary. |
|
488 |
|
489 Fri Dec 23 00:08:08 1994 John Eaton <jwe@schoch.che.utexas.edu> |
|
490 |
|
491 * src/lex.l: Don't increment promptflag anywhere. |
|
492 (eat_continuation): New function. |
|
493 (eat_whitespace): Handle embedded continuations. Return nonzero |
|
494 if whitespace consumed. |
|
495 (handle_close_brace): Don't pass yytext. Do pass flag indicating |
|
496 whether whitespace follows brace. |
|
497 (handle_identifier): Check for next token being `=' here. Pass |
|
498 flag indicating whether whitespace follows identifier. |
|
499 (<MATRIX>{SNLCMT}*;{SNLCMT}*): Call eat_whitespace() here. |
|
500 ({IDENT}{S}*): Call eat_continuation() here. |
|
501 (do_comma_insert_check): And here, but put a space back if |
|
502 whitespace is gobbled. |
|
503 (have_continuation, have_ellipsis_continuation): Decrement |
|
504 promptflag here. |
|
505 |
|
506 Wed Dec 21 09:56:49 1994 John Eaton <jwe@schoch.che.utexas.edu> |
|
507 |
|
508 * src/tree-plot.cc (Fclearplot): Send "set nolabel" too. |
|
509 |
|
510 Mon Dec 19 17:50:15 1994 John Eaton <jwe@schoch.che.utexas.edu> |
|
511 |
|
512 * src/tree-plot.h, src/tree-plot.cc (subplot): Rename using to |
|
513 using_clause to avoid new C++ keyword. Rename title and style to |
|
514 match. |
|
515 |
|
516 Fri Dec 16 00:09:01 1994 John Eaton <jwe@schoch.che.utexas.edu> |
|
517 |
|
518 * configure.in: Don't check for fpsetmask. |
|
519 * src/sysdep.cc (sysdep_init): Don't check HAVE_FPSETMASK |
|
520 |
|
521 Thu Dec 15 00:28:52 1994 John Eaton <jwe@schoch.che.utexas.edu> |
|
522 |
|
523 * src/variables.cc (install_builtin_variables) [default_save_format]: |
|
524 Fix doc string. |
|
525 |
|
526 * configure.in: Rework DEFAULT_DOT_O_FROM_DOT_F and |
|
527 DEFAULT_DOT_C_FROM_DOT_F to avoid embedded newlines. |
|
528 * Makeconf.in: Likewise. |
|
529 |
|
530 * src/pager.cc (flush_output_to_pager): Close stream before |
|
531 resetting signal handler. |
|
532 |
|
533 * src/help.cc (Fhelp): Call fcn_file_in_path here. Delete it too. |
|
534 Print file name before help message. |
|
535 * src/variables.cc (get_help_from_file): Don't call |
|
536 fcn_file_in_path here. |
|
537 (gobble_leading_white_space): Correctly grab only first set of |
|
538 comments. |
|
539 |
|
540 Wed Dec 14 11:42:13 1994 John Eaton <jwe@schoch.che.utexas.edu> |
|
541 |
|
542 * src/parse.y (pager_buf): Don't make it a fixed-size array. |
|
543 * src/variables.cc (get_help_from_file): New function. |
|
544 (gobble_leading_white_space): Return first block of comments for |
|
545 later use as help string. |
|
546 (looks_like_octave_copyright): New function. |
|
547 (parse_fcn_file): Stash help from gobble_leading_white_space in |
|
548 global help_buf. |
|
549 * src/lex.l (grab_help_text): Don't overwrite help found by |
|
550 gobble_leading_white_space. |
|
551 (reset_parser): Delete help_buf. |
|
552 * src/help.cc (Fhelp): Only try to get help from symbol records |
|
553 that are defined. If all else fails, try get_help_from_file. |
|
554 |
|
555 * src/pager.cc (flush_output_to_pager): Re-initialize pager_buf |
|
556 immediately after extracting message. Delete message immediately |
|
557 after sending it to the output stream. Ignore interrupts while |
|
558 running pager. |
|
559 |
|
560 * octMakefile.in (clean-tar): Delete npsol.exp and any .m files |
|
561 that are in the test/octave.test directory. |
|
562 (install): Use $(INSTALL), not just install. |
|
563 |
|
564 * src/lex.l (reset_parser): Don't reset input column or line |
|
565 number if reading from a script file or a function file. |
|
566 (is_keyword): Don't set line number to 1 if reading function file |
|
567 or script file. |
|
568 * src/variables.cc (gobble_leading_whitespace): Count lines. |
|
569 * src/octave.cc (main): If reading file, set reading_script_file |
|
570 and curr_fcn_file_name before calling get_input_from_file(). |
|
571 |
|
572 * src/tc-rep.cc (TC_REP::matrix_value): If implicit_str_to_num_ok, |
|
573 convert empty string to empty matrix. |
|
574 |
|
575 Tue Dec 13 20:25:34 1994 Frederick (Rick) A Niles <niles@axp745.gsfc.nasa.gov> |
|
576 |
|
577 * liboctave/dbleQR.cc, liboctave/dbleQRP.cc, liboctave/CmplxQR.cc, |
|
578 liboctave/CmplxQRP.cc: Get economy-sized dimensions correct. |
|
579 |
|
580 * libcruft/misc/i1mach.f, libcruft/misc/gen-d1mach.c, |
|
581 libcruft/ranlib/ignuin.f: Prevent warnings about variable may be |
|
582 used before defined. |
|
583 |
|
584 Tue Dec 13 11:07:34 1994 John Eaton <jwe@schoch.che.utexas.edu> |
|
585 |
|
586 * src/variables.cc: Change commas_in_literal_matrix to |
|
587 whitespace_in_literal_matrix. |
|
588 * src/user-prefs.h (user_preferences): Likewise. |
|
589 * src/user-prefs.cc (init_user_prefs): Likewise. |
|
590 (whitespace_in_literal_matrix): Likewise, rename function. |
|
591 * src/lex.l: Likewise. |
|
592 (nesting_level): Rename from in_brace_or_paren. |
|
593 (<MATRIX>{SNLCMT}*\n{SNLCMT}*): Make separate case from |
|
594 <MATRIX>{SNLCMT}*;{SNLCMT}. Check nesting level to decide whether |
|
595 to convert newline to semicolon. |
|
596 ({NL}, {CCHAR}): Check nesting level to decide whether to eat |
|
597 or return newline. |
|
598 ("("): Decrement promptflag. |
|
599 (")"): Increment promptflag. |
|
600 |
|
601 Mon Dec 12 00:02:51 1994 John Eaton <jwe@schoch.che.utexas.edu> |
|
602 |
|
603 * scripts/Makefile.in, scripts/*/Makefile.in (install): Don't |
|
604 depend on all. |
|
605 |
|
606 * octMakefile.in: Put doc dir last. |
|
607 * doc/Makefile.in (dir): New file. |
|
608 (DISTFILES): Distribute dir. |
|
609 (install): Install dir if it does not already exist in $(infodir). |
|
610 Otherwise, print message. |
|
611 |
|
612 * src/lex.l: Handle {IDENT}{S}*/= with yyinput() instead of |
|
613 trailing context. |
|
614 (handle_close_brace): New function. |
|
615 (handle_number): New function. |
|
616 (have_continuation, handle_ellipsis_continuation, handle_string): |
|
617 New functions for handling strings and continuation lines in |
|
618 string constants. |
|
619 (eat_whitespace): New function eliminates need for NEW_MATRIX |
|
620 start state. |
|
621 |
|