3627
|
1 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2 |
3639
|
3 * oct-stream.cc (OCTAVE_SCAN_0, OCTAVE_SCAN_1): New macros. |
|
4 (do_scanf_conv, BEGIN_S_CONVERSION, BEGIN_CHAR_CLASS_CONVERSION, |
|
5 do_scanf, scanf, do_oscanf, do_oscanf, oscanf): Use them instead |
|
6 of calling istream::scan directly. |
|
7 (octave_scan): New function. |
|
8 (do_scanf_conv): Second arg is now scanf_format_elt instead of char*. |
|
9 Change all callers. |
|
10 |
3631
|
11 * oct-procbuf.h, oct-procbuf.cc (octave_procbuf): |
|
12 Derive from c_file_ptr_buf instead of filebuf. |
|
13 |
3627
|
14 * oct-stream.cc (octave_base_stream::printf): Use octave_format |
|
15 instead of ostream::form. Return number of characters written. |
|
16 |
3618
|
17 2000-03-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
18 |
3620
|
19 * oct-stream.cc (do_printf_conv): Use octave_format instead of |
|
20 ostream::form. Return number of characters written. |
|
21 (octave_base_stream::do_printf): Return number of characters written. |
|
22 |
|
23 * error.cc (verror, vwarning): Use octave_format instead of |
|
24 ostream::vform. |
|
25 |
|
26 * utils.cc (octave_format, octave_vformat): New functions. |
|
27 * cutils.c (octave_snprintf, octave_vsnprintf): New functions. |
|
28 |
3618
|
29 * oct-lvalue.h (dummy_val): New static variable. |
|
30 (octave_lvalue::octave_lvalue): Use it to initialize val. |
|
31 |
|
32 * variables.cc (is_valid_function): Look in the global symbol |
|
33 table for functions. |
|
34 |
3615
|
35 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
36 |
|
37 * src/Makefile.in (LIBRARIES): Conditionally define. |
|
38 (libraries): Depend on $(LIBRARIES). |
|
39 (octave): Depend on $(LIBRARIES), not libraries. Also depend on |
|
40 stamp-prereq and stamp-oct-links. |
|
41 (all): Don't depend on stamp-prereq or stamp-oct-links. |
|
42 (liboctinterp.$(LIBEXT), liboctinterp.$(SHELXT)): Delete target |
|
43 before rebuilding. |
|
44 |
|
45 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
|
46 |
|
47 * src/Makefile.in (libraries): Depend only on library targets, not |
|
48 archive members. |
|
49 |
3611
|
50 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
51 |
3613
|
52 * Makefile.in (objects): New target |
|
53 |
3611
|
54 * c_file_ptr_stream.h, c_file_ptr_stream.cc: New files. |
|
55 * oct-stdstrm.h, oct-stdstrm.cc, oct-prcstrm.cc: |
|
56 Use c_file_ptr_buf, i_c_file_ptr_stream, and o_c_fie_ptr_stream |
|
57 instead of stdiobuf, istdiostream, and ostdiostream. |
|
58 |
|
59 * pr-output.cc (set_real_format, set_real_matrix_format, |
|
60 set_complex_format, set_complex_matrix_format, set_range_format): |
|
61 Do the right thing again for int, NaN, and Inf values. |
|
62 |
3608
|
63 2000-03-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
64 |
|
65 * pr-output.cc (pr_plus_format): Rename from do_plus_format. |
|
66 Change all callers. |
|
67 (pr_float, pr_complex): New arg, scale. Handle scaling here. |
|
68 (float_format): New class for managing details of formatting |
|
69 floats. Use it instead of character string formats and the |
|
70 nonstandard form() function from the GNU iostream library. |
|
71 |
3601
|
72 2000-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
73 |
|
74 * Makefile.in (clean): Also delete gendoc. |
|
75 |
3598
|
76 2000-02-18 James R. Van Zandt <jrv@vanzandt.mv.com> |
|
77 |
|
78 * load-save.cc (Vcrash_dumps_octave_core): Fix comment for this var. |
|
79 |
|
80 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
81 |
|
82 * lex.l (handle_number): Don't transorm `[Dd]' to `e' if reading |
|
83 hex. |
|
84 |
3597
|
85 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
86 |
|
87 * Makefile.in (install-inc): Install files in |
|
88 $(octincludedir)/octave. |
|
89 (uninstall): Remove them from the correct directory too. |
|
90 |
|
91 * defaults.h, defaults.cc (Vlocal_ver_arch_lib_dir): New variable. |
|
92 * defaults.cc (set_default_local_ver_arch_lib_dir): New function. |
|
93 (install_defaults): Call it. |
|
94 (exec_path): Prepend the versioned form of the local arch lib |
|
95 directory to the standard path. |
|
96 * defaults.h.in (OCTAVE_LOCALVERARCHLIBDIR, |
|
97 OCTAVE_LOCALVERFCNFILEDIR, OCTAVE_LOCALVEROCTFILEDIR): |
|
98 Substitute these too. |
|
99 * toplev.cc (Foctave_config_info): Add them to the struct. |
|
100 |
3591
|
101 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
102 |
3597
|
103 * toplev.cc (Foctave_config_info): Add MKOCTFILE_INCFLAGS to the |
|
104 struct. |
3591
|
105 * oct-conf.h.in (OCTAVE_CONF_MKOCTFILE_INCFLAGS): Define. |
|
106 |
3584
|
107 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
108 |
3587
|
109 * DLD-FUNCTIONS/balance.cc (Fbalance): Explicitly request |
|
110 conversion from Matrix to ComplexMatrix. |
|
111 * DLD-FUNCTIONS/qz.cc (Fqz): Likewise. |
|
112 |
|
113 * ov-re-mat.h (octave_matrix::complex_matrix_value): Explicitly |
|
114 request conversion from Matrix type. |
|
115 |
|
116 * ov-ch-mat.h (octave_char_matrix::matrix_value): Explicitly |
|
117 request conversion from charMatrix type. |
|
118 (octave_char_matrix::complex_matrix_value): Likewise. |
|
119 * ov-bool-mat.h (octave_bool_matrix::matrix_value): Likewise. |
|
120 (octave_bool_matrix::complex_matrix_value): Likewise. |
|
121 |
|
122 * ov-range.h (octave_range::complex_matrix_value): Explicitly |
|
123 request conversion from Matrix type. |
|
124 |
|
125 * ov-cx-mat.h, ov-re-mat.h: Explicitly request conversions from |
|
126 diagonal matrix types in constructors. |
|
127 |
3586
|
128 * mappers.cc (ximag, xreal): Return double, not Complex. |
|
129 |
3585
|
130 * error.cc (panic): Turn off buffering of error messages. |
|
131 Don't call flush_octave_stdout here, verror will do it for us. |
|
132 (verror): Don't call flush_octave_stdout if buffering error messages. |
|
133 |
3584
|
134 * pt-except.cc (tree_try_catch_command::eval): Only restore |
|
135 buffer_error_message value (by running the unwind_protect element |
|
136 for it) if it has been saved. |
|
137 |
|
138 * help.cc (Ftype): Return value if nargout is NOT equal to zero. |
|
139 Delete unnecessary unwind_protect::begin_frame(). |
|
140 |
|
141 * toplev.cc (octave_config_info): Stuff lots of new config info in |
|
142 the struct. |
|
143 |
|
144 * oct-conf.h.in: Delete TARGET_HOST_TYPE. |
|
145 |
3574
|
146 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
147 |
3579
|
148 * siglist.c: Include <signal.h>. |
|
149 |
3575
|
150 * lex.l (is_plot_keyword): Add minimum match length in call to |
|
151 almost_match. |
|
152 |
3574
|
153 * Makefile.in (%.df : %.cc): Don't pass -c to compiler. |
|
154 |
3564
|
155 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
156 |
3572
|
157 * ov-base-mat.cc: Include pr-output.h here. |
|
158 |
3571
|
159 * DLD-FUNCTIONS/rand.cc (curr_rand_dist): Return const char * |
|
160 instead of char *. |
|
161 |
3570
|
162 * oct-fstrm.cc (octave_fstream::seek, octave_fstream::tell): |
|
163 Call pubseekoff instead of seekoff. |
|
164 |
3568
|
165 * DLD-FUNCTIONS/dassl.cc (print_dassl_option_list): Use stream |
|
166 manipulators instead of GNU iostream-specific form function. |
|
167 * DLD-FUNCTIONS/fsolve.cc (print_fsolve_option_list): Ditto. |
|
168 * DLD-FUNCTIONS/lsode.cc (print_lsode_option_list): Ditto. |
|
169 * DLD-FUNCTIONS/quad.cc (print_quad_option_list): Ditto. |
|
170 * pr-output.cc (pr_scale_header): Ditto. |
|
171 |
3566
|
172 * sighandlers.h: Include signal.h here. |
|
173 * sighandlers.cc: Not here. |
|
174 |
|
175 * utils.cc: Include setjmp.h, not csetjmp. |
|
176 * toplev.cc: Ditto. |
|
177 |
|
178 * sighandlers.cc: Include signal.h, not csignal. |
|
179 |
|
180 * pt-plot.h: Don't include csignal. |
|
181 * toplev.cc: Ditto. |
|
182 * oct-hist.cc: Ditto. |
|
183 * octave.cc: Ditto. |
|
184 * pager.cc: Ditto. |
|
185 * input.cc: Ditto. |
|
186 * help.cc: Ditto. |
|
187 |
3565
|
188 * pt-plot.cc (send_to_plot_stream): Use operator== and substr |
|
189 method to do limited-length string comparison. |
|
190 * input.cc (generate_completion): Likewise. |
|
191 * ov-dld-fcn.cc (octave_dld_function::octave_dld_function): Likewise. |
|
192 * ov-usr-fcn.cc (octave_user_function::mark_as_system_fcn_file): |
|
193 Likewise. |
|
194 |
|
195 * utils.cc (check_preference): Expect exact string matches. |
|
196 * variables.cc (ignore_function_time_stamp): Likewise. |
|
197 * lex.l (whitespace_in_literal_matrix): Likewise. |
|
198 |
3564
|
199 * mappers.cc (xconj, ximag, xreal): New functions. Use them in |
|
200 DEFUN_MAPPER calls. |
|
201 |
|
202 * defun-int.h (DEFUN_MAPPER_INTERNAL): Cast function pointer args |
|
203 to octave_mapper constructor. |
|
204 |
3523
|
205 2000-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
206 |
3564
|
207 * procstream.cc (procstreambase::procstreambase, |
|
208 procstreambase::open, procstreambase::close): |
|
209 Call std::ios::setstate, not set. |
|
210 |
3561
|
211 * lex.l (plot_axes_token): Declare plot_axes as const char *. |
|
212 Declare tmp const char **. |
|
213 |
3560
|
214 * oct-procbuf.h: Include fstream, not streambuf.h. |
|
215 |
3570
|
216 * load-save.cc (Fsave): Call pubseekoff instead of seekoff. |
3558
|
217 * oct-strstrm.cc (octave_base_strstream::tell): Likewise. |
|
218 (octave_base_strstream::seek): Likewise. |
|
219 |
3553
|
220 * oct-stream.cc (octave_base_stream::read): Rename count to char_count. |
|
221 (octave_base_stream::do_gets): Likewise. |
|
222 |
|
223 * octave-stream.cc (octave_base_stream::write): Rename flt_fmt to ffmt. |
|
224 (octave_base_stream::read): Likewise. |
|
225 |
3552
|
226 * TEMPLATE-INST/SLStack-sym.cc: Delete meaningless `extern |
|
227 template' declarations. |
|
228 * TEMPLATE-INST/Array-tc.cc: Ditto. |
|
229 |
|
230 * TEMPLATE-INST/Map-fnc.cc: Don't try to instantiate goodCHptr or |
|
231 CHptr_to_index here. |
|
232 * TEMPLATE-INST/Map-tc.cc: Likewise. |
3554
|
233 * Map.h (CHNode::goodCHptr, CHNode::CHptr_to_index): Now member |
|
234 functions. Change all callers. |
3552
|
235 |
|
236 * load-save.cc (read_binary_file_header): Declare magic_len `const'. |
|
237 |
|
238 * token.h (token::token (const token&), token::operator=): |
|
239 Delete unnecessary definitions. |
|
240 |
|
241 * oct-stream.cc (octave_stream::mode_as_string): Use |
|
242 std::ios::binary, not std::ios::bin. |
|
243 * load-save.cc (Fsave, Fload, save_user_variables): Likewise. |
|
244 |
3550
|
245 * DLD-FUNCTIONS/qz.cc (Fqz): Use Array<int> class instead of |
|
246 trying to create automatic int array with variable size. |
|
247 |
3548
|
248 * variables.cc (F__dump_symbol_info__): Fix continuation char. |
3552
|
249 * mappers.cc (Ftoupper): Likewise. |
3548
|
250 * DLD-FUNCTIONS/besselj.cc (Fairy, Fbesselj): Likewise. |
|
251 * DLD-FUNCTIONS/chol.cc (Fchol): Likewise. |
|
252 * DLD-FUNCTIONS/det.cc (Fdet): Likewise. |
|
253 * DLD-FUNCTIONS/eig.cc (Feig): Likewise. |
|
254 * DLD-FUNCTIONS/gammainc.cc (gammainc): Likewise. |
|
255 * DLD-FUNCTIONS/givens.cc (givens): Likewise. |
|
256 * DLD-FUNCTIONS/hess.cc (hess): Likewise. |
|
257 * DLD-FUNCTIONS/inv.cc (inv): Likewise. |
|
258 * DLD-FUNCTIONS/log.cc (logm): Likewise. |
|
259 * DLD-FUNCTIONS/lu.cc (lu): Likewise. |
|
260 * DLD-FUNCTIONS/qr.cc (qr): Likewise. |
|
261 * DLD-FUNCTIONS/schur.cc (schur): Likewise. |
|
262 * DLD-FUNCTIONS/balance.cc (balance): Likewise. |
|
263 * DLD-FUNCTIONS/svd.cc (svd): Likewise. |
|
264 * DLD-FUNCTIONS/syl.cc (syl): Likewise. |
|
265 * DLD-FUNCTIONS/expm.cc (Fexpm): Likewise. |
|
266 |
|
267 * token.h (token::token_type, token::end_tok_type, |
|
268 token::plot_tok_type): Delete extraneous comma from enum decls. |
3552
|
269 * load-save.cc (load_save_format): Likewise. |
3548
|
270 |
3546
|
271 * pt-idx.cc (tree_index_expression::tree_index_expression): |
|
272 Delete default arg values. |
3552
|
273 * oct-fstrm.cc (octave_fstream::octave_fstream): Likewise. |
|
274 * oct-stream.cc (octave_stream::octave_stream): Likewise. |
3546
|
275 |
|
276 * siglist.h, siglist.c: New files. |
|
277 * Makefile.in: Add them to the appropriate lists. |
|
278 * siglist.c (sys_siglist): Move definition here from sighandlers.cc. |
|
279 * siglist.h (sys_siglist): Move declaration here from sighandlers.h. |
|
280 |
3545
|
281 * ov.h, ov-bool.h, ov-bool-mat.h (bool_matrix_value): |
|
282 Delete unnecessary arg. |
|
283 |
3544
|
284 * ov.h (octave_value::do_multi_index_op): Rename from do_index_op. |
|
285 |
|
286 * ov-fcn.h (octave_function::is_system_fcn_file): Now const. |
|
287 |
3529
|
288 * Map.cc (index_to_CHptr): Now a macro. |
3530
|
289 (CHMap<C>::hash): Now a member function. |
3529
|
290 |
3528
|
291 * defun-int.h (UNDERSCORIFY): New macro. |
|
292 (DEFCONST_INTERNAL, DEFCONSTX_INTERNAL): Use it. |
|
293 |
3526
|
294 * data.cc (Fis_list): Fix continuation char. |
3532
|
295 * defaults.cc (IMAGEPATH): Likewise. |
3526
|
296 |
|
297 * Map.cc (CHptr_to_index, goodCHptr): Delete static decl. |
|
298 |
3525
|
299 * ov.h (unary_op, binary_op, assign_op): Prepend `op_' to elts. |
|
300 Change all usses |
|
301 |
3523
|
302 * All source files: Sprinkle with std:: qualifier as needed. |
|
303 |
3503
|
304 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
305 |
|
306 * sighandlers.cc (install_signal_handlers): Add std:: qualifier |
|
307 for set_net_handler. |
|
308 |
|
309 * All source files: Include iostream, fstream, strstream, |
|
310 etc. as needed instead of using forward declarations for these |
|
311 classes. |
|
312 |
3498
|
313 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
314 |
|
315 * input.cc (input_event_hook, Finput_event_hook): New functions. |
|
316 (hook_fcn, user_data): New static variables. |
|
317 |
3489
|
318 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
319 |
3491
|
320 * pt-except.cc (do_catch_code): Don't do anything special for |
|
321 tree_return_command::returning, or tree_break_command::breaking. |
|
322 |
|
323 * error.cc (vwarning): New function. |
|
324 (warning): Use it instead of calling verror. |
|
325 |
|
326 * oct-stream.cc (octave_base_stream::oscanf): |
|
327 Result is now always nconv+1 elements. Return count of successful |
|
328 conversions in last element. |
|
329 * file-io.cc (Ffscanf, Fsscanf, Fscanf): Fix doc string. |
|
330 |
3490
|
331 * pt-except.cc (do_catch_code): Unwind-protect buffer_error_messages. |
|
332 Be sure to run all unwind-protects before returning. |
|
333 (tree_try_catch_command::eval): Add do_catch_code cleanup function |
|
334 to unwind-protect stack before resetting buffer_error_messages. |
|
335 Use unwind-protect to save and restore buffer_error_messages. |
|
336 If there is no catch code, discard the cleanup function and run |
|
337 the unwind-protect for buffer_error_messages. |
|
338 |
|
339 * error.cc (bind_global_error_variable): Avoid dereferencing |
|
340 error_message_buffer if it is NULL. |
|
341 |
3489
|
342 * parse.y (evaluating_function_body): New global flag. |
|
343 * ov-usr-fcn.cc (octave_user_function::do_index_op): |
|
344 Protect and set it here. |
|
345 * parse.y (make_break_command, make_return_command): Check it here. |
|
346 |
|
347 * error.cc (warning_state): New global flag. |
|
348 (warning): Set it here. |
|
349 * lex.l (reset_parser): Clear it here. |
|
350 * parse.y (fold): Check it here. |
|
351 |
3484
|
352 2000-01-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
353 |
3485
|
354 * pt-walk.h (tree_walker::visit_do_until_command): New pure virtual. |
|
355 * pt-pr-code.cc (tree_print_code::visit_do_until_command): |
3484
|
356 New function. |
3485
|
357 * pt-loop.h (tree_do_until_command): New class. |
3484
|
358 (tree_while_command::expr, tree_while_command::list): |
|
359 Now protected instead of private. |
3485
|
360 * parse.y (make_do_until_command): New function. |
|
361 (loop_command): Recognize do-until statement. |
3484
|
362 (DO, UNTIL): New tokens. |
|
363 |
|
364 * input.cc (match_sans_spaces): Require non-blank part of test |
|
365 string to match standard string exactly. |
|
366 |
3483
|
367 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
368 |
|
369 * oct-stream.h (scanf_format_elt::char_class): New struct elt. |
|
370 Add arg to constructor. |
|
371 (scanf_format_elt::special_conversion): New enum. |
|
372 * oct-stream.cc (scanf_format_list::add_elt_to_list): New arg, |
|
373 char_class. Pass it to scanf_format_elt constructor. |
|
374 (scanf_format_list::scanf_format_list): Create separate list |
|
375 elements for whitespace and literal conversions. |
|
376 (expand_char_class): New function. |
|
377 (scanf_format_list::finish_conversion): Extract character class |
|
378 (not including the delimiting brackets) and expand the list of |
|
379 characters. Pass the result to add_elt_to_list. |
|
380 (scanf_format_list::all_character_conversions): Also accept '^', |
|
381 scanf_format_elt::literal_conversion, and |
|
382 scanf_format_elt::whitespace_conversion types too. |
|
383 (DO_WHITESPACE_CONVERSION, BEGIN_CHAR_CLASS_CONVERSION, |
|
384 BEGIN_C_CONVERSION, BEGIN_S_CONVERSION, DO_LITERAL_CONVERSION): |
|
385 New macros. |
|
386 (octave_base_stream::do_scanf, octave_base_stream::do_oscanf): |
|
387 Use them to avoid code duplication. |
|
388 Handle whitespace, literal text, and character class conversions. |
|
389 (octave_base_stream::oscanf): Loop over all format list elements, |
|
390 not just the first nconv elements. Clear status flags on is for |
|
391 all streams. |
|
392 |
3476
|
393 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
394 |
3480
|
395 * xdiv.cc (result_ok): Just check value of info. |
|
396 (solve_singularity_warning): New function. |
|
397 (xleftdiv, xdiv): Pass pointer to solve_singularity_warning to |
|
398 solve function. |
|
399 |
|
400 * lex.l (handle_identifier): Set next_tok_is_eq if we are looking |
|
401 at `=', but not if we are looking at `=='. |
|
402 |
3478
|
403 * pt-pr-code.cc (tree_print_code::visit_unwind_protect_command): |
|
404 Print `unwind_protect_cleanup', not `cleanup_code'. |
|
405 |
3477
|
406 * pager.cc (octave_pager_buf::flush_current_contents_to_diary): |
|
407 New function. |
|
408 (octave_pager_stream::flush_current_contents_to_diary): |
|
409 Ditto. |
|
410 (close_diary_file): Use the new octave_pager_stream function to |
|
411 try to flush the current buffer to the diary when it is closed. |
|
412 |
3476
|
413 * variables.cc (Fexist): Return 6 for built-in constants. |
|
414 |
|
415 * pt-plot.cc (Fgshow): Don't append " " after last arg. |
|
416 (Fgset): Likewise. |
|
417 |
3472
|
418 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
419 |
|
420 * ov-base-mat.h (octave_base_matrix::length): Return 0 for empty |
|
421 arrays. |
|
422 |
3465
|
423 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
424 |
|
425 * DLD-FUNCTIONS/time.cc (Fstrptime): New function. |
|
426 |
|
427 * load-save.cc (Fsave): Add missing else. |
|
428 |
3442
|
429 2000-01-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
430 |
3444
|
431 * DLD-FUNCTIONS/gammainc.cc (Fgammainc): Texinfoize doc string. |
3445
|
432 * ov-typeinfo.cc (Ftypeinfo): Ditto. |
3446
|
433 * parse.y (Vwarn_future_time_stamp): Ditto. |
|
434 * DLD-FUNCTIONS/minmax.cc (Fmax, Fmin): Ditto. |
3445
|
435 * ov-usr-fcn.cc (Fva_arg, Fva_start, Fvr_val): Ditto. |
3446
|
436 * defaults.cc (VOCTAVE_HOME, Frehash): Ditto. |
|
437 * toplev.cc (Fwarranty, Fcasesen): Ditto. |
|
438 * utils.cc (Fdo_string_escapes, Ffile_in_loadpath): Ditto. |
|
439 * variables.cc (F__dump_symtab_info__, F__dump_symbol_info__): Ditto. |
3447
|
440 * ov-list.cc (Flist, Fappend, Fnth, Freverse, Fsplice): Ditto. |
3448
|
441 * input.cc (Fread_readline_init_file): Ditto. |
|
442 * file-io.cc (Fis_stream): Ditto. |
|
443 * ov-cell.cc (Fiscell, Fcell): Ditto. |
|
444 * pt-assign.cc (Vprint_rhs_assign_val): Ditto. |
|
445 * pt-decl.cc (Vinitialize_global_variables): Ditto. |
|
446 * symtab.cc (Vvariables_can_hide_functions): Ditto. |
3443
|
447 |
3442
|
448 * pt-plot.cc (Fgraw, Fgset, Fgshow, Vgnuplot_command_plot, |
|
449 Vgnuplot_command_replot, Vgnuplot_command_splot, |
|
450 Vgnuplot_command_using, Vgnuplot_command_with, |
|
451 Vgnuplot_command_axes, Vgnuplot_command_title, |
|
452 Vgnuplot_command_end): Texinfoize doc strings. |
|
453 |
3447
|
454 * oct-procbuf.cc (__kluge_procbuf_delay__): Rename from |
|
455 kluge_procbuf_delay. Texinfoize doc string. |
|
456 |
3427
|
457 2000-01-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
458 |
|
459 * parse.y (gobble_leading_whitespace): Discard first space character |
|
460 after consecutive comment characters. |
|
461 * lex.l (grab_help_text): Ditto. |
|
462 |
3428
|
463 * lex.l (Vwhitespace_in_literal_matrix, Vwarn_separator_insert, |
|
464 Vwarn_single_quote_string): Texinfoize doc string. |
|
465 |
3418
|
466 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
467 |
3419
|
468 * ov.h, ov.cc (octave_value::column_vector_value, |
|
469 octave_value::row_vector_value, |
|
470 octave_value::complex_column_vector_value, |
|
471 octave_value::complex_row_vector_value): New functions. |
|
472 (octave_value::vector_value): Now returns Array<double>. |
|
473 (octave_value::complex_vector_value): Now returns Array<Complex>. |
|
474 Sprinkle conversions where necessary. |
|
475 |
3418
|
476 * ov.cc (Vprefer_column_vectors): Now static. |
|
477 * ov.h (octave_value (const ComplexRowVector&), |
|
478 octave_value (const ComplexColumnVector&), |
|
479 octave_value (const RowVector&), octave_value (const ColumnVector&)): |
|
480 Delete second arg. Change all callers. |
3419
|
481 |
3418
|
482 * oct-obj.h (octave_value_list (const RowVector&), |
|
483 octave_value_list (const ColumnVector&), |
|
484 octave_value_list (const ComplexRowVector&), |
|
485 octave_value_list (const ComplexColumnVector&)): Likewise. |
|
486 * ov-cx-mat.h, ov-cx-mat.cc |
|
487 (octave_complex_matrix (const ComplexRowVector&), |
|
488 (octave_complex_matrix (const ComplexColumnVector&)): |
|
489 Delete second arg, simply create object with orientation |
|
490 corresponding to vector arg. Move constructors to class decl. |
|
491 * ov-re-mat.h, ov-re-mat.cc (octave_matrix (const RowVector&), |
|
492 (octave_matrix (const ColumnVector&)): |
|
493 Delete second arg, simply create object with orientation |
|
494 corresponding to vector arg. Move constructors to class decl. |
|
495 |
3411
|
496 2000-01-07 Ben Sapp <bsapp@nua.lampf.lanl.gov> |
|
497 |
|
498 * mappers.cc (Fconj, Ferf, Ferfc, Fgamma, Fimag, Flgamma, Flog10, |
|
499 Freal, Fround): Add @seealso{...} to doc strings. |
|
500 |
3408
|
501 2000-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
502 |
3410
|
503 * oct-stream.cc (do_scanf): Do the right thing again for character |
|
504 conversions. |
|
505 |
3408
|
506 * help.cc (display_help_text): Also strip out leading spaces |
|
507 before Texinfo @-commands before sending doc string to makeinfo. |
|
508 (display_help_text): Improve format of `See also' string. |
|
509 |
3405
|
510 2000-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
511 |
|
512 * help.cc (display_help_text): Pass a definition for @seealso |
|
513 through the filter. |
|
514 |
3400
|
515 1999-12-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
516 |
|
517 * lex.l (Vwarn_single_quote_string): New variable. |
|
518 (syms_of_lex): DEFVAR it. |
|
519 (warn_single_quote_string): New function. |
|
520 (gripe_single_quote_string): New function. |
|
521 Use new stuff to allow warnings for code that uses single quote |
|
522 characters to introduce string constants. |
|
523 |
3399
|
524 1999-12-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
525 |
|
526 * mkbuiltins: Add #undef quad to generated file. |
|
527 |
3388
|
528 1999-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
529 |
|
530 * lex.l (Vwarn_separator_insert): New variable. |
|
531 (syms_of_lex): DEFVAR it. |
|
532 (warn_separator_insert): New function. |
|
533 (maybe_warn_separator_insert): New function. |
|
534 Use new stuff to allow warnings for code that might result in |
|
535 auto-insertion of commas or semicolons, depending on the value of |
|
536 whitespace_in_literal_matrix. |
|
537 |
|
538 * parse.y (Fsource): Record function file name here too. |
|
539 |
3377
|
540 1999-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
541 |
|
542 * variables.cc (link_to_global_variable): If the local symbol is |
|
543 not a variable, don't bother to clear it. Instead, just redefine |
|
544 it by aliasing to the global symbol. |
|
545 |
3372
|
546 1999-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
547 |
3373
|
548 * DLD-FUNCTIONS/balance.cc (Fbalance): Texinfoize doc string. |
|
549 * DLD-FUNCTIONS/det.cc (Fdet): Ditto. |
|
550 * DLD-FUNCTIONS/eig.cc (Feig): Ditto. |
|
551 * DLD-FUNCTIONS/givens.cc (Fgivens): Ditto. |
|
552 * DLD-FUNCTIONS/inv.cc (Finv): Ditto. |
|
553 * DLD-FUNCTIONS/chol.cc (Fchol): Ditto. |
|
554 * DLD-FUNCTIONS/hess.cc (Fhess): Ditto. |
|
555 * DLD-FUNCTIONS/lu.cc (Flu): Ditto. |
|
556 * DLD-FUNCTIONS/qr.cc (Fqr): Ditto. |
|
557 * DLD-FUNCTIONS/schur.cc (Fschur): Ditto. |
|
558 * DLD-FUNCTIONS/svd.cc (Fsvd): Ditto. |
|
559 * DLD-FUNCTIONS/expm.cc (Fexpm): Ditto. |
|
560 * DLD-FUNCTIONS/log.cc (Flogm, Fsqrtm): Ditto. |
|
561 * DLD-FUNCTIONS/syl.cc (Fsyl): Ditto. |
|
562 * DLD-FUNCTIONS/pinv.cc (Fpinv): Ditto. |
|
563 * DLD-FUNCTIONS/qz.cc (Fqz): Ditto. |
|
564 * DLD-FUNCTIONS/dassl.cc (Fdassl, Fdassl_options): Ditto. |
|
565 * DLD-FUNCTIONS/lsode.cc (Flsode, Flsode_options): Ditto. |
|
566 * data.cc (Flength, Fsize, Fisempty): Ditto. |
3372
|
567 * sysdep.cc (Fkbhit): Ditto. |
|
568 * input.cc (Fkeyboard, Finput): Ditto. |
|
569 * variables.cc (ans): Ditto. |
|
570 * pr-output.cc (Fdisp, Fformat): Ditto. |
|
571 * ov.cc (Vprint_answer_id_name): Ditto. |
3373
|
572 * defaults.cc (IMAGEPATH): Ditto. |
|
573 * error.cc (Ferror, Fwarning, Fusage, error_text, beep_on_error): |
|
574 Ditto. |
3372
|
575 * load-save.cc (Fload, Fsave, Vdefault_save_format, |
|
576 Vsave_precision): Ditto. |
|
577 * file-io.cc (Ffflush, Ffopen, Ffclose, Ffputs, Ffgetl, Ffgets, |
|
578 Ffprintf, Fsprintf, Fscanf, Ffscanf, Fsscanf, Ffread, Ffwrite, |
|
579 Ffseek, Fftell, Ffeof, Fferror, Ffreport, Ftmpnam, Vstdin_file, |
|
580 Vstdout_file, Vstderr_file, SEEK_SET, SEEK_CUR, SEEK_END): Ditto. |
|
581 * pager.cc (Vpager_binary, Vpage_output_immediately, |
|
582 Vpage_screen_output, Fmore): Ditto. |
|
583 |
3369
|
584 1999-11-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
585 |
|
586 * utils.cc (Vtreat_neg_dim_as_zero): Texinfoize doc string. |
|
587 * DLD-FUNCTIONS/find.cc (Ffind): Ditto. |
|
588 * DLD-FUNCTIONS/rand.cc (Frand, Frandn): Ditto. |
|
589 * DLD-FUNCTIONS/sort.cc (Fsort): Ditto. |
|
590 * mappers.cc (Fisinf, Fisnan, Ffinite): Ditto. |
|
591 * data.cc (Fall, Fany, Fdiag, Fones, Fzeros, Feye, Flinspace): Ditto. |
3371
|
592 * defaults.cc (Vloadpath, Vdefault_loadpath): Ditto. |
|
593 * parse.y (Feval, Ffeval, Vdefault_eval_print_flag, |
|
594 Vwarn_missing_semicolon, Vwarn_function_name_clash, Fsource): Ditto. |
|
595 * ov-usr-fcn.cc (Vmax_recursion_depth, Vdefault_return_value, |
|
596 Vdefine_all_return_values, Vreturn_last_computed_value): Ditto. |
|
597 * ov.cc (Vok_to_lose_imaginary_part, Vdo_fortran_indexing, |
|
598 Vprefer_column_vectors, Vresize_on_range_error, |
|
599 Vwarn_divide_by_zero): Ditto. |
|
600 * pt-stmt.cc (Vsilent_functions): Ditto. |
|
601 * variables.cc (Vignore_function_time_stamp): Ditto. |
|
602 * dynamic-ld.cc (Vwarn_reload_forces_clear): Ditto. |
3369
|
603 |
3367
|
604 1999-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
605 |
3368
|
606 * DLD-FUNCTIONS/fft.cc (Ffft): Texinfoize doc string. |
|
607 * DLD-FUNCTIONS/ifft.cc (Fifft): Ditto. |
|
608 * DLD-FUNCTIONS/fft2.cc (Ffft2): Ditto. |
|
609 * DLD-FUNCTIONS/ifft2.cc (Fifft2): Ditto. |
|
610 * DLD-FUNCTIONS/filter.cc (Ffilter): Ditto. |
|
611 * DLD-FUNCTIONS/quad.cc (Fquad, Fquad_options): Ditto. |
|
612 * DLD-FUNCTIONS/colloc.cc (Fcolloc): Ditto. |
|
613 * DLD-FUNCTIONS/fsolve.cc (Ffsolve, Ffsolve_options): Ditto. |
|
614 * defaults.cc (Veditor): Ditto. |
|
615 * pt-plot.cc (Vautomatic_replot, Vgnuplot_binary, |
|
616 Vgnuplot_has_frames, Vgnuplot_has_multiplot, Fclearplot, |
|
617 Fcloseplot, Fpurge_tmp_files, Fishold, Fhold): |
3367
|
618 |
|
619 * Makefile.in (parse.cc): Expect 11 shift/reduce conflicts now. |
|
620 |
3361
|
621 1999-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
622 |
3366
|
623 * parse.y (Vwarn_assign_as_truth_value, Vwarn_variable_switch_label): |
|
624 Texinfoize doc strings. |
|
625 |
3365
|
626 * DLD-FUNCTIONS/pinv.cc (Fpinv): Texinfoize doc string. |
|
627 |
3364
|
628 * defun-int.h (DEFUN_DLD_INTERNAL): New macro. |
|
629 * defun-dld.h [MAKE_BUILTINS] (DEFUN_DLD): Simply expand to |
|
630 DEFUN_DLD_INTERNAL. |
|
631 * mkbuiltins: Generate code to define DEFUN_DLD_INTERNAL. |
|
632 * mkgendoc: Likewise. |
|
633 |
3363
|
634 * Makefile.in (gendoc.o): Don't optimize when creating gendoc. |
3364
|
635 (%.dc : %.cc): Delete rule. |
3363
|
636 |
3361
|
637 * pt-decl.cc (Vdefault_global_variable_value): Texinofize doc string. |
|
638 * variables.cc (Fclear, Fdocument, Fexist, Fis_global, Fwho): Ditto. |
|
639 * help.cc (Ftype, Fwhich): Ditto. |
|
640 * ov.cc (Vstruct_levels_to_print, Vimplicit_str_to_num_ok): Ditto. |
|
641 * data.cc (Fis_struct, Fstruct_elements, Fstruct_constains): Ditto. |
|
642 * strfns.cc (Fisstr, Fsetstr): Ditto. |
|
643 * pt-mat.cc: (Fimplicit_num_to_str_ok, Fstring_fill_char): Ditto. |
|
644 * utils.cc (Fundo_string_escapes): Ditto. |
|
645 * mappers.cc: (Fisalnum, Fisalpha, Fisascii, Fiscntrl, Fisdigit, |
|
646 Fisgraph, Fislower, Fisprint, Fispunct, Fisspace, Fisupper, |
|
647 Fisxdigit, Ftoascii, Ftolower, Ftoupper): Ditto. |
|
648 |
3357
|
649 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
650 |
3360
|
651 * syscalls.cc (symbols_of_syscalls): Use DEFCONSTX to define |
|
652 Octave constants for C macros like O_WRONLY. |
|
653 |
3357
|
654 * oct-lvalue.cc (octave_lvalue::set_index): Disallow expressions |
|
655 like x(i)(j) = rhs. |
|
656 |
3355
|
657 1999-11-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
658 |
3356
|
659 * symtab.cc (symbol_record::type_as_string): New function. |
3355
|
660 |
|
661 * symtab.cc (symbol_record::which): New functions. |
|
662 * help.cc (do_which): New functions. |
|
663 (Fwhich): Use them. |
|
664 |
|
665 * help.cc (help_from_symbol_table, help_from_file): New functions. |
|
666 (builtin_help): Use them. |
|
667 |
|
668 * help.cc (do_type): New function. |
3356
|
669 (symbol_record::type): New function. |
3355
|
670 (Ftype): Use them. |
|
671 |
|
672 * help.cc (print_symbol_type): Delete. |
|
673 |
|
674 * symtab.cc (symbol_table::name_list): Delete count arg. |
|
675 (symbol_table::symbol_list): Likewise. |
|
676 (symbol_table::glob): Likewise. Also return Array<symbol_record *> |
|
677 instead of symbol_record **. |
|
678 Change all callers. |
|
679 * help.cc (names, display_symtab_names): Delete count arg. |
|
680 |
|
681 * help.cc (print_symbol_type, Ftype): No longer need to look up |
|
682 fcn_file_name in the loadpath. |
|
683 |
|
684 * help.cc (print_symbol_type): Handle dld functions. |
|
685 (help_from_symbol_table, help_from_file): New functions. |
|
686 (builtin_help): Use them. |
|
687 |
3354
|
688 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
689 |
|
690 * ov-cell.cc (Fiscell, Fcell): New Functions. |
|
691 (octave_cell::do_index_op): New function. |
|
692 |
|
693 * utils.cc (get_dimensions): Move here from data.cc and make extern. |
|
694 (Vtreat_neg_dim_as_zero, treat_neg_dim_as_zero): Likewise. |
|
695 (symbols_of_utils): New function. |
|
696 |
|
697 * data.cc (fill_matrix (const octave_value_list&, double, |
|
698 const char*)): New function. |
|
699 (Fones, Fzeros): Use it to avoid some code duplication. |
|
700 |
3352
|
701 1999-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
702 |
|
703 * pt-cell.h, pt-cell.cc, ov-cell.h, ov-cell.cc, Cell.h, Cell.cc: |
|
704 New files. |
|
705 * Makefile.in: Add them to the appropriate lists. |
|
706 * pt-walk.h (visit_cell (tree_cell&): New pure virtual. |
|
707 * pt-pr-code.cc (tree_print_code::visit_cell (tree_cell&)): New |
|
708 function. |
|
709 * TEMPLATE-INST/Array-tc.cc: Instantiate 2D arrays of octave_value |
|
710 objects. |
|
711 * pt-all.h: Include pt-cell.h. |
|
712 * ov.h, ov.cc (octave_value::is_cell, octave_value::cell_value): |
|
713 New functions. |
|
714 * ov-base.h, ov-base.cc (octave_value::is_cell, |
|
715 octave_value::cell_value): Provide defaults. |
|
716 * lex.h, lex.l: Handle `{' and `}' tokens (for cell arrays). |
|
717 (bracketflag): Rename from braceflag. |
|
718 (handle_close_bracket): Rename from handle_close_brace. |
|
719 (class bracket_brace_paren_nesting_level): Rename from |
|
720 brace_paren_nesting_level. |
|
721 (bracket_brace_paren_nesting_level::bracket, |
|
722 bracket_brace_paren_nesting_level::is_bracket): New functions to |
|
723 keep count of nesting level for `[' and `]'. |
|
724 (bracket_brace_paren_nesting_level::brace, |
|
725 bracket_brace_paren_nesting_level::is_brace): Now keeps count of |
|
726 nesting level for `{' and `}'. |
|
727 * parse.y (tree_cell_type): New type. |
|
728 Give '{' the same precedence and associativity as '(' and '.' |
|
729 (matrix_rows, matrix_rows1): Rename from rows, rows1. |
|
730 (cell, cell_rows, cell_rows1): New non-terminals. |
|
731 (cell_or_matrix_row): Rename from matrix_row. |
|
732 (primary_expr): Accept cell here. |
|
733 (postfix_expr): Allow indexing using '{' arg_list '}'. |
|
734 (finish_cell): New function. |
|
735 |
3350
|
736 1999-11-12 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
737 |
|
738 * utils.cc (jump_to_top_level): No longer declared extern "C". |
|
739 |
|
740 * cutils.c (octave_strcasecmp, octave_strncasecmp): New functions. |
|
741 * utils.cc (almost_match): Call octave_strncasecmp instead of |
|
742 calling strncasecmp directly. |
|
743 |
3347
|
744 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
745 |
|
746 * parse.y: Don't define warn_reload_forces_clear here. |
|
747 |
|
748 * Makefile.in (DISTFILES): Include DOCSTRINGS. |
|
749 |
3340
|
750 1999-11-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
751 |
3343
|
752 * sighandlers.cc (install_signal_handlers): Don't install |
|
753 sigwinch_handler. |
|
754 |
3342
|
755 * oct-iostrm.h (octave_istream::eof, octave_ostream::eof): Provide |
|
756 implementation for these. |
|
757 |
|
758 * oct-stream.cc (octave_base_stream::do_scanf): |
|
759 The stdin stream is only special if we are interactive. |
|
760 (octave_base_stream::scanf): Ditto. |
|
761 (octave_base_stream::do_oscanf): Ditto. |
|
762 (octave_base_stream::oscanf): Ditto. |
|
763 |
3340
|
764 * ov.h (octave_value::is_stream): New predicate. |
|
765 * ov-file.h (octave_file::is_stream): Return true. |
|
766 * file-io.cc (Fis_stream): New function. |
|
767 |
|
768 * ov-file.h (class octave_file): stream is now an object instead |
|
769 of pointer. |
|
770 * ov-file.cc (octave_file::print_raw): Handle stream as object |
|
771 instead of pointer. Also print stream status. |
|
772 |
|
773 * ov-base.cc (octave_base_value::stream_value): Return object |
|
774 instead of pointer. |
|
775 |
|
776 * ov.cc (octave_value::stream_value): Return object instead of pointer. |
|
777 (octave_value::octave_value (const octave_stream&)): Take const |
|
778 reference instead of pointer arg. |
|
779 |
|
780 * TEMPLATE-INST/Array-os.cc: Instantiate Arrays of octave_stream |
|
781 objects, not pointers to them. |
|
782 |
|
783 * OPERATORS/op-fil-b.cc: Cope with octave_stream class changes. |
|
784 * OPERATORS/op-fil-bm.cc: Likewise. |
|
785 * OPERATORS/op-fil-cm.cc: Likewise. |
|
786 * OPERATORS/op-fil-cs.cc: Likewise. |
|
787 * OPERATORS/op-fil-lis.cc: Likewise. |
|
788 * OPERATORS/op-fil-m.cc: Likewise. |
|
789 * OPERATORS/op-fil-rec.cc: Likewise. |
|
790 * OPERATORS/op-fil-s.cc: Likewise. |
|
791 * OPERATORS/op-fil-str.cc: Likewise. |
|
792 * file-io.cc: Likewise. |
|
793 * syscalls.cc (Fdup): Likewise. |
|
794 |
|
795 * oct-fstrm.cc, oct-fstrm.h, oct-iostrm.cc, oct-iostrm.h, |
|
796 oct-prcstrm.cc, oct-prcstrm.h, oct-stdstrm.cc, oct-stdstrm.h, |
|
797 oct-stream.cc, oct-stream.h, oct-strstrm.cc, oct-strstrm.h: |
|
798 Rewrite to allow octave_stream objects to be used like values |
|
799 instead of having to use pointers. |
|
800 |
3337
|
801 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
802 |
|
803 * oct-stream.cc (octave_base_stream::do_scanf): If it looks like |
|
804 we have a matching failure, then reset the failbit in the stream |
|
805 state. |
|
806 (octave_base_stream::do_oscanf): Likewise. |
|
807 |
3332
|
808 1999-11-02 Ben Sapp <bsapp@nua.lampf.lanl.gov> |
|
809 |
3361
|
810 * help.cc (Fhelp): Texinfoize doc string. |
|
811 * input.cc (Fecho, Fcompletion_matches): Ditto. |
|
812 * oct-hist.cc (Fedit_history, Fhistory, Frun_history): Ditto. |
|
813 * pager.cc (Fdiary): Ditto. |
|
814 * sysdep.cc (Fclc): Ditto. |
|
815 * toplev.cc (Fquit, Fatexit): Ditto. |
3332
|
816 |
|
817 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
818 |
|
819 * lex.l (yywrap): No longer static. |
|
820 (have_continuation): Declare input character as int, not char, so |
|
821 comparison to EOF will work. |
|
822 |
3330
|
823 1999-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
824 |
|
825 * defun.cc (print_usage): Use display_help_text instead of sending |
|
826 help message directly to octave_stdout. |
|
827 |
3325
|
828 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
829 |
|
830 * defun-dld.h (INSTALL_DLD_FCNS, INSTALL_DLD_FCN): Delete definitions. |
|
831 * DLD-FUNCTIONS/dassl.cc: Don't use INSTALL_DLD_FCN or |
|
832 INSTALL_DLD_FCNS macros. They are not necessary with the new code |
|
833 in dynamic-ld.cc. |
|
834 * DLD-FUNCTIONS/lsode.cc: Ditto. |
|
835 * DLD-FUNCTIONS/fsolve.cc: Ditto. |
|
836 * DLD-FUNCTIONS/quad.cc: Ditto. |
|
837 * DLD-FUNCTIONS/time.cc: Ditto. |
|
838 * DLD-FUNCTIONS/besselj.cc: Ditto. |
|
839 * DLD-FUNCTIONS/getgrent.cc: Ditto. |
|
840 * DLD-FUNCTIONS/getpwent.cc: Ditto. |
|
841 * DLD-FUNCTIONS/inv.cc: Ditto. |
|
842 * DLD-FUNCTIONS/log.cc: Ditto. |
|
843 * DLD-FUNCTIONS/minmax.cc: Ditto. |
|
844 * DLD-FUNCTIONS/rand.cc: Ditto. |
|
845 |
|
846 * dynamic-ld.cc, dynamic-ld.h: Major rewrite to allow reloading of |
|
847 dynamically linked functions. |
|
848 |
|
849 * symtab.cc (symbol_record::replace_all_defs): Don't allow top |
|
850 definition to be NULL. |
|
851 (symbol_table::clear): Allow dynamically linked functions to be |
|
852 cleared. |
|
853 |
|
854 * symtab.h (TYPE): New enum value, DLD_FUCTION. |
|
855 (symbol_type): Now 8 bits wide. |
|
856 (SYMTAB_ALL_TYPES): Include DLD_FUNCTION. |
|
857 (symbol_record::symbol_def::is_function): Also recognize dld functions. |
|
858 (symbol_record::symbol_def::is_dld_function): New function. |
|
859 (symbol_record::is_dld_function): Ditto. |
|
860 |
|
861 * defun.cc (install_dld_function): New function. |
|
862 * defun-int.h: Provide declaration here. |
|
863 (octave_dld_fcn_installer): New typedef. |
|
864 (DEFINE_FUN_INSTALLER_FUN): Installer function now takes an |
|
865 oct_shlib object as an arg. Allow installation of a function to |
|
866 happen more than once. |
|
867 |
|
868 * octave.cc (initialize_error_handlers): Call |
|
869 set_liboctave_warning_handler here too. |
|
870 |
|
871 * ov-builtin.h (is_builtin_function): Return true. |
|
872 Data member is now protected, not private. |
|
873 |
|
874 * ov-fcn.h (is_dynamically_loaded_function): New predicate. |
|
875 (unload): New function. |
|
876 Data members are now protected, not private. |
|
877 |
|
878 * ov.h (is_builtin_function, is_dld_function): New predicates. |
|
879 * ov-base.h (is_builtin_function, is_dld_function): Ditto. |
|
880 |
|
881 * parse.y (Vwarn_reload_forces_clear): New static flag. |
|
882 (warn_reload_forces_clear): New function. |
|
883 (symbols_of_parse): DEFVAR warn_reload_forces_clear. |
|
884 |
|
885 * variables.cc (Fclear): Look for dld functions too. |
|
886 |
|
887 * ov-dld-fcn.cc, src/ov-dld-fcn.h: New files. |
|
888 * Makefile.in (OV_INCLUDES, OV_SRC): Add them to the lists. |
|
889 |
|
890 * Makefile.in (DEFVAR_PATTERN): Also match DEFCONSTX. |
|
891 |
3321
|
892 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
893 |
3325
|
894 * DLList.h, DLList.cc: New files. |
|
895 * Makefile.in (INCLUDES, DIST_SRC): Add them to the lists. |
|
896 |
3323
|
897 * DLD-FUNCTIONS/lsode.cc (Flsode): Be sure to call |
|
898 unwind_protect::run_frame before returning. |
|
899 * DLD-FUNCTIONS/quad.cc (Fquad): Likewise. |
|
900 * DLD-FUNCTIONS/fsolve.cc (Ffsolve): Likewise. |
|
901 * DLD-FUNCTIONS/dassl.cc (Fdassl): Likewise. |
|
902 |
|
903 * load-save.cc (read_mat_ascii_data): When reading from |
|
904 tmp_stream, check its state, not the state of is. |
|
905 |
|
906 * defun-dld.h (INSTALL_DLD_FCN, INSTALL_DLD_FCNS): New macros. |
|
907 * DLD-FUNCTIONS/dassl.cc: Use them. |
|
908 * DLD-FUNCTIONS/lsode.cc: Ditto. |
|
909 * DLD-FUNCTIONS/fsolve.cc: Ditto. |
|
910 * DLD-FUNCTIONS/quad.cc: Ditto. |
|
911 * DLD-FUNCTIONS/time.cc: Ditto. |
|
912 * DLD-FUNCTIONS/besselj.cc: Ditto. |
|
913 * DLD-FUNCTIONS/getgrent.cc: Ditto. |
|
914 * DLD-FUNCTIONS/getpwent.cc: Ditto. |
|
915 * DLD-FUNCTIONS/inv.cc: Ditto. |
|
916 * DLD-FUNCTIONS/log.cc: Ditto. |
|
917 * DLD-FUNCTIONS/minmax.cc: Ditto. |
|
918 * DLD-FUNCTIONS/rand.cc: Ditto. |
|
919 |
3322
|
920 * data.cc (Flinspace): Let linspace functions handle errors. |
|
921 |
3321
|
922 * mkgendoc (print_doc_string): Handle quoted names. |
|
923 |
|
924 * file-io.cc (symbols_of_file_io): Use DEFCONSTX for SEEK_SET, |
|
925 SEEK_CUR, and SEEK_END. |
|
926 |
|
927 * defun.h (DEFCONST): Just pass name, defn, and doc to |
|
928 DEFCONST_INTERNAL. |
|
929 (DEFCONSTX): Likewise, pass name, defn, and doc to DEFCONSTX_INTERNAL. |
|
930 * defun-int.h [MKBUILTINS] (DEFCONST_INTERNAL): Likewise, pass |
|
931 name, defn, and doc to XDEFCONST_INTERNAL. |
|
932 [MKBUILTINS] (DEFCONSTX_INTERNAL): New macro. |
|
933 (INSTALL_CONST): New macro. |
|
934 [! MKBUILTINS] (DEFCONST_INTERNAL): Use it to handle details here. |
|
935 [! MKBUILTINS] (DEFCONSTX_INTERNAL): Ditto. |
|
936 * mkgendoc: Fix definition of XDEFCONST_INTERNAL to match. |
|
937 * mkbuiltins: Ditto. |
|
938 |
|
939 * mkdefs: Match spaces before BEGIN_INSTALL_BUILTIN. |
|
940 |
|
941 * Makefile.in (DEFUN_PATTERN): Also match DEFUN_MAPPER. |
|
942 |
|
943 1999-10-26 Ben Sapp <bsapp@nua.lampf.lanl.gov> |
|
944 |
|
945 * data.cc (VI, VInf, VJ, VNaN, Ve, Veps, Vfalse, Vi, Vinf, Vj, |
|
946 Vnan, Vpi, Vrealmax, Vrealmin): Texinfoize doc strings. |
|
947 * mappers.cc (Fabs, Facos, Facosh, Fangle, Farg, Fasin, Fasinh, |
|
948 Fatan, Fatanh, Fceil, Fconj, Fcos, Fcosh, Ferf, Ferfc, Fexp, |
|
949 Ffinite, Ffix, Ffloor, Fgamma, Fimag, Flgamma, Flog, Flog10, |
|
950 Freal, Fround, Fsign, Fsin, Fsinh, Fsqrt, Ftan, Ftanh): Ditto. |
|
951 |
|
952 1999-10-23 Ben Sapp <bsapp@nua.lampf.lanl.gov> |
|
953 |
3361
|
954 * data.cc (Fis_matrix): Texinfoize doc string. |
|
955 * ov.cc (Vpropagate_empty_matrices): Ditto. |
|
956 * pt-mat.cc: (Vempty_list_elements_ok): Ditto. |
|
957 * pr-output.cc (Vfixed_point_format, Voutput_max_field_width, |
|
958 Voutput_precision, Vprint_empty_dimensions, Vsplit_long_rows): |
|
959 Ditto. |
3321
|
960 |
|
961 1999-10-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
962 |
3323
|
963 * ov-usr-fcn.cc (octave_user_function::do_index_op): If |
|
964 Vmax_recursion_depth is exceeded, call unwind_protect::run_frame |
|
965 before returning. |
3321
|
966 |
3308
|
967 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
968 |
3317
|
969 * cutils.c (do_octave_usleep): Handle useconds > 1e6. |
|
970 |
3308
|
971 * variables.h (is_valid_function): Provide default values for the |
|
972 string argument. |
|
973 |
|
974 * symtab.cc (variable_reference): Maybe print warning (or error) |
|
975 about variables that hide functions of the same name. |
|
976 (symbol_record::define (const octave_value&, unsigned int)): Ditto. |
|
977 (Vvariables_can_hide_functions): New static variable. |
|
978 (variables_can_hide_functions, symbols_of_symtab): New functions. |
|
979 |
|
980 * cutils.c: New file. |
|
981 * Makefile.in (SOURCES): Add it to the list. |
|
982 * utils.h: Declare octave_usleep here. |
|
983 * dirfns.cc (Fls): Simply all octave_usleep. |
|
984 * oct-procbuf.cc (octave_procbuf::open): Ditto. |
|
985 * sysdep.cc (Fusleep): Ditto. |
|
986 * toplev.cc (run_command_and_return_output): Ditto. |
|
987 |
3305
|
988 1999-10-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
989 |
3307
|
990 * data.cc (make_diag (const octave_value&, const octave_value&)): |
|
991 Delete special cases for scalars and simply attempt conversion of |
|
992 first arg to a matrix value. If that fails, we will still see an |
|
993 error message. |
|
994 |
3305
|
995 * Makefile.in (DISTFILES): Add mkgendoc to the list. |
|
996 |
3296
|
997 1999-10-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
998 |
3301
|
999 * Makefile.in (stmp-pic): New target. |
|
1000 ($(PICOBJS)): Depend on stmp-pic, not pic. |
|
1001 |
|
1002 * ov.h (get_rep): New function. |
|
1003 |
|
1004 * help.cc (display_help_text): Pass definitions for VERSION, |
|
1005 OCTAVE_HOME, and TARGETHOSTTYPE to makeinfo. |
|
1006 |
|
1007 * DLD-FUNCTIONS/getgrent.cc: Texinfoize all doc strings. |
|
1008 * DLD-FUNCTIONS/getpwent.cc: Ditto. |
|
1009 * DLD-FUNCTIONS/getrusage.cc: Ditto. |
|
1010 * DLD-FUNCTIONS/time.cc: Ditto. |
|
1011 |
|
1012 * defaults.cc (EXEC_PATH, OCTAVE_VERSION): Texinfoize doc strings. |
|
1013 * dirfns.cc (Fcd, Fls, Fpwd, Freaddir, Fmkdir, Frmdir, Frename, |
|
1014 Fglob, Ffnmatch): Ditto. |
|
1015 * file-io.cc (Fpopen, Fpclose, Fumask): Ditto. |
|
1016 * sysdep.cc (Fgetenv, Fputenv, Fpause, Fsleep, Fusleep, Fisieee, |
|
1017 Ftilde_expand): Ditto. |
|
1018 * toplev.cc (Fcomputer, Fsystem, Foctave_config_info): Ditto. |
|
1019 * utils.cc (Ffile_in_path): Ditto. |
|
1020 * syscalls.cc (Fdup2, Fexec, Ffcntl, Ffork, Fgetpgrp, Fgetpid, |
|
1021 Fgetppid, Fgetegid, Fgetgid, Fgeteuid, Fgetuid, Fmkfifo, Fpipe, |
|
1022 Fstat, Funlink, Fwaitpid, F): Ditto. |
|
1023 (Flstat): Refer to stat for doc. |
|
1024 |
|
1025 |
3296
|
1026 * help.cc (looks_like_texinfo): New function. |
|
1027 (display_help_text): Use it to see if the doc string looks like |
|
1028 Texinfo source. If so, use makeinfo to format the text before |
|
1029 displaying it. |
|
1030 |
|
1031 * mkgendoc: New script. |
|
1032 * Makefile.in: Use it to create gendoc.cc, which is compiled and |
|
1033 run to create DOCSTRINGS file from sources. |
|
1034 |
3295
|
1035 1999-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1036 |
|
1037 * help.cc (help_from_info): Print `unable to find info' message if |
|
1038 try_info returns 127; otherwise, print `not indexed' message. |
|
1039 Don't sleep after printing `not indexed' message. |
|
1040 |
3292
|
1041 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1042 |
|
1043 * parse.y (fold (tree_unary_expression *)): New function. |
|
1044 (make_prefix_op, make_postfix_op): Use it. |
|
1045 |
3281
|
1046 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1047 |
3288
|
1048 * Makefile.in (oct-gperf.h): Ask for ANSI-C output from gperf |
|
1049 (requires gperf-2.7 or later). |
|
1050 |
3281
|
1051 * sighandlers.cc (sigwinch_handler): New function. |
|
1052 (install_signal_handlers): Install it. |
|
1053 |
3273
|
1054 Thu Sep 23 19:49:36 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1055 |
|
1056 * toplev.cc (Fsystem): For async case, use execl instead of |
|
1057 system, avoiding the need to exit after executing the subprocess. |
|
1058 |
3268
|
1059 Thu Sep 9 17:09:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1060 |
|
1061 * oct-stream.cc (get_size): Allow zero values. |
|
1062 (get_size): New arg, one_elt_size_spec. |
|
1063 (do_scanf_conv): New arg, `conv_count'. Change instantiation |
|
1064 requests and all callers. |
|
1065 (octave_base_stream::do_scanf): Improve scanning of strings. |
|
1066 (octave_base_stream::do_oscanf): Remove size limit on %s conversions. |
|
1067 |
|
1068 * oct-stream.cc (scanf_format_list::all_character_conversions): |
|
1069 Don't count %p as a character conversion. |
|
1070 |
|
1071 Tue Sep 7 08:31:04 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1072 |
|
1073 * pr-output.cc (set_real_matrix_format, set_complex_matrix_format): |
|
1074 Move check for fixed_point_format ahead of check for |
|
1075 int_or_inf_or_nan. |
|
1076 |
3264
|
1077 Thu Sep 2 11:54:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1078 |
|
1079 * oct-obj.cc (make_argv): Correctly handle empty strings as args. |
|
1080 |
3263
|
1081 Fri Aug 20 08:17:52 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1082 |
|
1083 * DLD-FUNCTIONS/quad.cc (quad): Delete unused label. |
|
1084 |
|
1085 * unwind-prot.cc (saved_variable::~saved_variable): Don't try to |
|
1086 delete gen_ptr_value here. |
|
1087 |
|
1088 Mon Aug 16 21:34:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1089 |
|
1090 * lex.l (next_token_is_sep_op): New function. |
|
1091 (handle_close_brace, maybe_unput_comma): Use it. |
|
1092 (have_continuation): Also handle CRLF here. |
|
1093 |
|
1094 Wed Aug 11 16:06:57 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1095 |
|
1096 * file-io.cc (Ffopen): Make fopen ("filename") work and imply that |
|
1097 MODE = "r". |
|
1098 |
3258
|
1099 Wed Jul 21 15:38:52 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1100 |
3259
|
1101 * help.cc (display_names_from_help_list): Sort names before |
|
1102 listing them. |
|
1103 (print_symbol_type, Ftype): Also handle built-in constants. |
|
1104 (LIST_SYMBOLS): Correct call to symbol_table::name_list. |
|
1105 (simple_help): List constants here too. List constants and |
|
1106 variables before functions, not after. Sort names before listing |
|
1107 them. |
|
1108 |
|
1109 * variables.cc (do_who): Display built-in constants in a separate |
|
1110 section. |
|
1111 |
|
1112 * error.cc (bind_global_error_variable, clear_global_error_variable): |
|
1113 Call bind_builtin_constant, not bind_builtin_variable to set |
|
1114 __error_text__. |
|
1115 * octave.cc (intern_argv): Likewise, for argv and __argv__. |
|
1116 |
|
1117 * defun.cc (install_builtin_constant): Move function guts to |
|
1118 bind_builtin_constant in variables.cc. |
|
1119 * variables.cc (bind_builtin_constant): New function. |
|
1120 |
3258
|
1121 * symtab.cc (symbol_record::define, symbol_record::variable_reference): |
|
1122 Handle constants the same as functions. |
|
1123 (symbol_record::link_to_builtin_variable): New function. |
|
1124 (symbol_record::define_builtin_const): New function. |
|
1125 (symbol_record::define_as_fcn): Delete unused function. |
|
1126 (symbol_record::read_only_error): |
|
1127 Handle constants the same as variables. |
|
1128 * symtab.h (symbol_record::BUILTIN_CONSTANT): New enum value. |
|
1129 (symbol_record::symbol_type): Increase width to 7 bits. |
|
1130 (symbol_record::symbol_def::is_constant): New function. |
|
1131 (symbol_record::symbol_def::is_builtin_constant): New function. |
|
1132 (symbol_record::is_constant): New function. |
|
1133 (symbol_record::is_builtin_constant): New function. |
|
1134 (SYMTAB_ALL_TYPES): Add symbol_record::BUILTIN_CONSTANT. |
|
1135 * variables.cc (link_to_builtin_variable): Delete unused function. |
|
1136 (link_to_builtin_or_function): Handle built-in constants here too. |
|
1137 |
|
1138 * defun.cc (install_builtin_variable): Delete inst_as_fcn arg. |
|
1139 (install_builtin_constant): New function. |
|
1140 (install_builtin_variable_as_function): Delete unused function. |
|
1141 * defun.h (DEFVAR_INTERNAL): Delete inst_as_fcn arg. |
|
1142 (DEFCONST_INTERNAL): New macro. |
|
1143 * defun.h (DEFVAR): Delete inst_as_fcn arg. |
|
1144 (DEFCONST, DEFCONSTX): Define using DEFCONST_INTERNAL instead of |
|
1145 DEFVAR_INTERNAL. |
|
1146 * data.cc, defaults.cc, error.cc, help.cc, input.cc, lex.l, |
|
1147 load-save.cc, oct-hist.cc, oct-procbuf.cc, ov-fcn.h, |
|
1148 ov-usr-fcn.cc, ov.cc, pager.cc, parse.y, pr-output.cc, |
|
1149 pt-assign.cc, pt-decl.cc, pt-mat.cc, pt-plot.cc, pt-stmt.cc, |
|
1150 toplev.cc, variables.cc: |
|
1151 Change all invocations of DEFVAR to match new definition. |
|
1152 |
|
1153 * data.cc (symbols_of_data): Add DEFCONSTs for true and false. |
|
1154 |
3255
|
1155 Thu Jul 15 10:59:42 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1156 |
3258
|
1157 * data.cc (Fis_bool, Fis_complex, Fisempty, Fisnumeric, Fis_list, |
|
1158 Fis_map, Fis_struct): Return bool object. |
|
1159 (Fisreal): New function. |
|
1160 |
|
1161 * ov-str-mat.h (octave_char_matrix_str): Only return true if |
|
1162 Vimplicit_str_to_num_ok is also true. |
|
1163 |
3255
|
1164 * DLD-FUNCTIONS/time.cc (Ftime): Print usage message if any |
|
1165 arguments are supplied. |
|
1166 |
|
1167 * variables.cc (symbol_out_of_date): Call octave_time for time stamps. |
|
1168 |
|
1169 * fn-cache.h (octave_fcn_file_name_cache::timestamp): |
|
1170 Now octave_time object. |
|
1171 |
|
1172 * strftime.c: Move to liboctave directory. |
|
1173 * Makefile.in (DIST_SRC): Delete from list. |
|
1174 |
|
1175 * ov-usr-fcn.h (octave_user_function::t_parsed, |
|
1176 octave_user_function::t_checked): Now octave_time objects. |
|
1177 (octave_user_function::time_parsed, |
|
1178 (octave_user_function::time_checked): |
|
1179 Return value is now octave_time object. |
|
1180 (octave_user_function::mark_fcn_file_up_to_date)): |
|
1181 Arg is now octave_time object. |
|
1182 |
|
1183 * ov-fcn.h (octave_function::mark_fcn_file_up_to_date)): |
|
1184 Arg is now octave_time object. |
|
1185 (octave_function::time_parsed, octave_function::time_checked): |
|
1186 Return value is now octave_time object. |
|
1187 |
|
1188 * input.cc (Vlast_prompt_time): Now an octave_time object. |
|
1189 (octave_gets): Call octave_time::stamp() to set Vlast_prompt_time. |
|
1190 |
|
1191 * DLD-FUNCTIONS/time.cc (mk_tm_map, extract_tm, Ftime, Fgmtime, |
|
1192 Flocaltime, Fmktime, Fstrftime): Use new classes defined in |
|
1193 liboctave/oct-time.cc instead of accessing C functions directly. |
|
1194 |
3252
|
1195 Wed Jul 14 17:38:46 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1196 |
|
1197 * systime.h: Move to liboctave directory. |
|
1198 * Makefile.in (INCLUDES): Delete it from the list |
|
1199 |
|
1200 Tue Jul 13 14:34:57 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1201 |
|
1202 * sighandlers.cc (sigchld_handler): Only wait for processes in |
|
1203 octave_child_list. |
|
1204 * toplev.cc (cmd_status): Delete unused static variable. |
|
1205 (cmd_death_handler): Delete unused function. |
|
1206 (run_command_and_return_output): Don't add cmd_death_handler to |
|
1207 octave_child_list. Simply extract command exit status from |
|
1208 calling close() on the procstream object. |
|
1209 |
3249
|
1210 Mon Jul 12 22:38:50 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1211 |
|
1212 * defun.h (DEFUN_MAPPER): Handle new args, d_b_map and c_b_map. |
|
1213 * defun-int.h (DEFUN_MAPPER_INTERNAL): Likewise. |
|
1214 * mappers.cc (install_mapper_functions): Supply new args to |
|
1215 all uses of DEFUN_MAPPER. |
|
1216 * ov-mapper.cc (octave_mapper::apply): Handle mapper functions |
|
1217 that return bool objects. |
|
1218 * ov-mapper.h (octave_mapper::d_b_mapper, octave_mapper::c_b_mapper): |
|
1219 New typedefs. |
|
1220 (octave_mapper::octave_mapper): Handle new mapper function types. |
|
1221 |
|
1222 * DLD-FUNCTIONS/minmax.cc: Do a better job of handling NaNs. |
|
1223 |
|
1224 Sun Jul 11 13:15:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1225 |
|
1226 * pr-output.cc (do_plus_format (ostream&, double)): New function. |
|
1227 (octave_print_internal (ostream&, double, bool)): Use it. |
|
1228 (octave_print_internal (ostream&, const Matrix&, bool, int)): Ditto. |
|
1229 |
|
1230 * pr-output.cc (do_plus_format (ostream&, const Complex&)): |
|
1231 New function. |
|
1232 (octave_print_internal (ostream&, const Complex&, bool)): Use it. |
|
1233 (octave_print_internal (ostream&, const ComplexMatrix&, bool, int)): |
|
1234 Ditto. |
|
1235 |
|
1236 Sun Jun 20 23:04:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1237 |
|
1238 * sysdep.cc: Include sys/ioctl.h if available. |
|
1239 |
|
1240 Sat Jun 19 12:07:16 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1241 |
|
1242 * variables.cc (do_who): Make pattern and multiple non-option |
|
1243 arguments work. |
|
1244 |
3246
|
1245 Mon Jun 7 09:54:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1246 |
|
1247 * lex.l (next_token_is_bin_op, next_token_is_postfix_unary_op, |
|
1248 handle_number): Delete yytext arg. Change all callers. |
|
1249 (next_token_is_postfix_unary_op): Check the first character |
|
1250 obtained from yyinput before calling it again. |
|
1251 (next_token_is_bin_op): Do a more thorough check. |
|
1252 (handle_identifier): Also enter token in local symbol table if the |
|
1253 following token is a dot and it looks like a binary operator. |
|
1254 (whitespace_in_literal_matrix): Now static. |
|
1255 |
|
1256 * lex.l: Always use unput, not yyunput. |
|
1257 |
3244
|
1258 Fri May 28 11:02:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1259 |
|
1260 * DLD-FUNCTIONS/chol.cc (Fchol): If two output arguments, never |
|
1261 produce error message. |
|
1262 |
3243
|
1263 Thu May 27 18:28:35 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1264 |
|
1265 * DLD-FUNCTIONS/chol.cc (Fchol): Also return info as second output. |
|
1266 |
|
1267 * DLD-FUNCTIONS/minmax.cc (max (const ComplexMatrix&, const |
|
1268 ComplexMatrix&)): Correct test for real columns only. |
|
1269 (min (const ComplexMatrix&, const ComplexMatrix&)): Likewise. |
|
1270 |
|
1271 Wed Apr 14 12:54:25 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1272 |
|
1273 * DLD-FUNCTIONS/dassl.cc (Fdassl): Prevent recursive calls. |
|
1274 * DLD-FUNCTIONS/fsolve.cc (Ffsolve): Likewise. |
|
1275 * DLD-FUNCTIONS/lsode.cc (Flsode): Likewise. |
|
1276 * DLD-FUNCTIONS/quad.cc (Fquad): Likewise. |
|
1277 |
|
1278 * file-io.cc (Fsscanf, Ffscanf): Doc fix. |
|
1279 |
3239
|
1280 Sat Mar 27 11:07:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1281 |
|
1282 * ov.h (octave_value::count): New function. |
|
1283 * symtab.cc (symbol_record::dump_symbol_info): New function. |
|
1284 * symtab.cc (symbol_record::symbol_def::dump_symbol_info): Ditto. |
|
1285 * variables.cc (F__dump_symbol_info__): Ditto. |
|
1286 |
|
1287 * pt-misc.cc (tree_parameter_list::clear): New function. |
|
1288 * ov-usr-fcn.h (octave_user_function::clear_args_passed): Ditto. |
|
1289 * ov-usr-fcn.cc (clear_param_list): New function. |
|
1290 (clear_args_passed): New function. |
|
1291 (octave_user_function::do_index_op): Use them to decrement |
|
1292 reference counts on local variables. |
|
1293 |
3238
|
1294 Fri Mar 26 00:51:53 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1295 |
|
1296 * Makefile.in (libraries): Use the libfoo.a(objects) method of |
|
1297 creating static libs. |
|
1298 |
|
1299 * defaults.cc (symbols_of_defaults): Initialize LOADPATH to |
|
1300 Vload_path, not ":". |
|
1301 |
|
1302 Thu Mar 18 12:09:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1303 |
|
1304 * data.cc (Fisnumeric): Fix typo. |
|
1305 |
|
1306 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
|
1307 |
|
1308 * file-io.cc (Ffread, Ffwrite): Add uint16 and uint32 data types |
|
1309 to doc string. |
|
1310 |
|
1311 Wed Mar 3 11:55:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1312 |
|
1313 * lex.l (handle_string): Allow "" to pass through unchanged if |
|
1314 working on a gset command. |
|
1315 |
|
1316 Tue Mar 2 01:36:29 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1317 |
|
1318 * variables.cc (Fexist): If a variable isn't defined, only go on |
|
1319 to look for a global by the same name if we are at the top level. |
|
1320 |
|
1321 Fri Jan 29 02:18:36 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1322 |
|
1323 * version.h (OCTAVE_NAME_AND_VERSION): Say `GNU Octave', not just |
|
1324 Octave. |
|
1325 |
3234
|
1326 Thu Jan 28 21:29:16 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1327 |
|
1328 * toplev.cc (Fcomputer): Use CANONICAL_HOST_TYPE, not TARGET_HOST_TYPE. |
|
1329 (octave_config_info): Likewise. |
|
1330 * version.h: Ditto. |
|
1331 |
|
1332 * sysdep.cc (Fpause): Flush output before getting user input. |
|
1333 |
3233
|
1334 Wed Jan 27 14:18:29 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1335 |
|
1336 * Makefile.in (DEFFUN_PATTERN, DEFVAR_PATTERN): Use egrep again. |
|
1337 Make the patterns work with stupid egreps that don't like empty |
|
1338 elements in alternation patterns. |
|
1339 |
|
1340 Fri Jan 22 04:41:48 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1341 |
|
1342 * load-save.cc (save_ascii_data): Check for string type first, |
|
1343 then range, then the rest. |
|
1344 (save_binary_data): Ditto. |
|
1345 |
|
1346 * pager.cc (more_than_a_screenful): Accept length as second arg. |
|
1347 Handle long lines properly, assuming the terminal wraps long lines. |
|
1348 (octave_pager_buf::do_sync): Accept length of data as second arg. |
|
1349 Use write instead of << to put characters on output stream. |
|
1350 (octave_pager_buf::sync): Don't assume data ends at first NUL. |
|
1351 (octave_diary_buf::sync): Ditto. |
|
1352 |
|
1353 Thu Jan 21 22:15:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1354 |
|
1355 * load-save.cc (save_mat_binary_data): Check for string type |
|
1356 first, then range, then the rest. |
|
1357 |
|
1358 Wed Jan 20 12:01:14 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1359 |
|
1360 * oct-stream.cc (octave_base_stream::do_scanf): Handle short and |
|
1361 long ints correctly. |
|
1362 |
|
1363 Fri Jan 15 13:04:58 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1364 |
|
1365 * parse.y (end_error): Handle case of endswitch too. |
|
1366 |
|
1367 * Makefile.in: Use basic regular expressions and grep instead of |
|
1368 egrep to find files that contain DEFVAR, DEFCONST, or DEFUN. |
|
1369 |
|
1370 Wed Dec 9 14:14:11 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1371 |
|
1372 * Makefile.in (octave): Add $(RDYNAMIC_FLAG) to link command. |
|
1373 |
|
1374 Fri Dec 4 20:26:33 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1375 |
|
1376 * DLD-FUNCTIONS/time.cc (Fstrftime): Make it work even when not |
|
1377 using the GNU version of strftime, which allows passing NULL for |
|
1378 the buffer to determine the required size of the buffer. |
|
1379 |
3225
|
1380 Wed Dec 2 22:38:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1381 |
|
1382 * utils.cc (file_in_loadpath): Expect argc == 2, not 3. |
|
1383 |
|
1384 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
|
1385 |
|
1386 * mkbuiltins: Also strip off leading `./' from file names. |
|
1387 * mkops: Ditto. |
|
1388 |
|
1389 Tue Nov 24 23:24:26 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1390 |
|
1391 * strftime.c: Surround everything with #ifdef HAVE_STRFTIME / #endif. |
|
1392 |
|
1393 * lex.h (YY_FATAL_ERROR): Call yy_falta_error after |
|
1394 jump_to_top_level to avoid gcc warning. |
|
1395 |
|
1396 Fri Nov 20 13:34:47 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1397 |
|
1398 * ov-bool.h, ov-bool.cc (class octave_bool): Derive from |
|
1399 octave_base_scalar and get common functions via derivation. |
|
1400 * ov-scalar.h, ov-scalar.cc (class octave_scalar): Ditto. |
|
1401 * ov-complex.h, ov-complex.cc (class octave_complex): Ditto. |
|
1402 |
|
1403 * ov-base-scalar.h, ov-base-scalar.cc (class octave_base_scalar): |
|
1404 New files for new class definition. Put common scalar data type |
|
1405 stuff here. |
|
1406 * Makefile.in (OV_INCLUDES, OV_SRC): Add them to the lists. |
|
1407 |
3221
|
1408 Thu Nov 19 14:30:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
3225
|
1409 |
3222
|
1410 * dynamic-ld.cc (octave_dynamic_loader::mangle_name): |
|
1411 Prepend underscore here. |
|
1412 (octave_dynamic_loader::load_fcn_from_dot_oct_file): Not here. |
|
1413 |
3221
|
1414 * ov-re-mat.h (octave_matrix_value): Delete experimental code for |
|
1415 handling structure references for things like .rows, .cols, etc. |
|
1416 |
3220
|
1417 Wed Nov 18 01:18:46 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1418 |
3221
|
1419 * Makefile.in (VAR_FILES): Be more careful about matching. |
|
1420 (DEF_FILES): Likewise. |
|
1421 |
|
1422 * ov-base-mat.h, ov-base-mat.cc, ov-bool-mat.h, ov-bool-mat.cc, |
|
1423 ov-ch-mat.h, ov-ch-mat.cc, ov-cx-mat.h, ov-cx-mat.cc, |
|
1424 ov-re-mat.h, ov-re-mat.cc: Move default definition of all, any, |
|
1425 is_matrix_type, is_numeric_type, valid_as_zero_index, and |
|
1426 do_index_op to base class. |
|
1427 Provide definitions that override the defaults where necessary. |
3220
|
1428 |
|
1429 * mappers.cc: Don't include lo-specfun.h. |
|
1430 |
|
1431 Tue Nov 17 14:35:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1432 |
|
1433 * besselj.cc (Fbesselh, Fairy); New functions. |
|
1434 (Fbesselj, Fbessely, Fbesselk, Fbesseli): Update doc strings. |
|
1435 (do_bessel): Handle additional args. |
|
1436 |
|
1437 Fri Nov 13 14:47:11 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1438 |
|
1439 * lex.l (NUMBER): Allow hexadecimal constants. |
|
1440 (looks_like_hex): New function. |
|
1441 (handle_number): Check for hexadecimal constants and convert them |
|
1442 to unsigned integer values. |
|
1443 |
3219
|
1444 Thu Nov 12 11:13:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1445 |
|
1446 * input.cc (gnu_readline): Check for EOF from command_editor::readline. |
|
1447 |
|
1448 * ov-str-mat.h, ov-str-mat.cc (class octave_char_matrix_str): |
|
1449 Get common functions via new derivation scheme. |
|
1450 |
|
1451 * ov-bool-mat.h, ov-bool-mat.cc (class octave_bool_matrix): |
|
1452 Derive from octave_base_matrix and get common functions via derivation. |
|
1453 * ov-ch-mat.h, ov-ch-mat.cc (class octave_char_matrix): Ditto. |
|
1454 * ov-cx-mat.h, ov-cx-mat.cc (class octave_complex_matrix): Ditto. |
|
1455 * ov-re-mat.h, ov-re-mat.cc (class octave_real_matrix): Ditto. |
|
1456 |
|
1457 * ov-base-mat.h, ov-base-mat.cc (class octave_base_matrix): New |
|
1458 files for new class definition. Put common matrix data type |
|
1459 stuff here. |
|
1460 |
|
1461 * ov-list.cc (Fnth): New function. |
|
1462 |
|
1463 * ov-list.cc (octave_list::do_index_op): Allow more complex indexing. |
|
1464 |
|
1465 * oct-obj.cc (octave_value_list::index): New function. |
|
1466 (octave_value_list::octve_value_list (Array<octave_value>)): |
|
1467 New private constructor. |
|
1468 |
|
1469 * ov-list.cc (Fsplice): Fix docstring to match. |
|
1470 * oct-obj.cc (octave_value_list::splice): Allow special case |
|
1471 splice (x, length(x)+1, 0, y) to be equivalent to append (x, y). |
|
1472 |
|
1473 * ov-list.cc (Fappend): If an arg is a list, concatenate the lists |
|
1474 instead of appending arg as a single element. |
|
1475 |
|
1476 Wed Nov 11 14:07:27 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1477 |
|
1478 * load-save.cc (get_mat_data_input_line): New function. |
|
1479 (get_lines_and_columns): Use it here. |
|
1480 (read_mat_ascii_data): And here and do our own reading instead of |
|
1481 using Matrix::operator<<. |
|
1482 |
|
1483 Tue Nov 10 16:12:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1484 |
|
1485 * parse.y (make_constant): Initialize retval to 0. |
|
1486 |
|
1487 * toplev.h (clean_up_and_exit (void)): Delete declaration. |
|
1488 * toplev.cc (do_octave_atexit): Move guts of clean_up_for_exit |
|
1489 here, but ensure that the actions are only executed once. |
|
1490 * octave.cc (main): Don't register cleanup_tmp_files with atexit. |
|
1491 |
|
1492 * ov.h, ov.cc (class octave_value): Use DECLARE_OCTAVE_ALLOCATOR |
|
1493 and DEFINE_OCTAVE_ALLOCATOR for uniform declaration and definition |
|
1494 of allocator functions. Use DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA |
|
1495 and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA for uniform declaration |
|
1496 and definition of type id functions and data. |
|
1497 * ov-usr-fcn.h, ov-usr-fcn.cc (class octave_user_function): Ditto. |
|
1498 * ov-scalar.h, ov-scalar.cc (class octave_scalar): Ditto. |
|
1499 * ov-re-mat.h ov-re-mat.cc (class octave_matrix): Ditto. |
|
1500 * ov-range.h, ov-range.cc (class octave_range): Ditto. |
|
1501 * ov-mapper.h, ov-mapper.cc (class octave_mapper): Ditto. |
|
1502 * ov-list.h, ov-list.cc (class octave_list): Ditto. |
|
1503 * ov-file.h, ov-file.cc (class octave_file): Ditto. |
|
1504 * ov-fcn.h, ov-fcn.cc (class octave_function): Ditto. |
|
1505 * ov-cx-mat.h, ov-cx-mat.cc (class octave_complex_matrix): Ditto. |
|
1506 * ov-complex.h, ov-complex.cc (class octave_complex): Ditto. |
|
1507 * ov-ch-mat.h, ov-ch-mat.cc (octave_char_matrix): Ditto. |
|
1508 * ov-builtin.h, ov-builtin.cc (class octave_builtin): Ditto. |
|
1509 * ov-bool.h, ov-bool.cc (class octave_bool): Ditto. |
|
1510 * ov-bool-mat.h, ov-bool-mat.cc (octave_bool_matrix): Ditto. |
|
1511 |
|
1512 * ov.h (DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA): New macro. |
|
1513 (DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA): Ditto. |
|
1514 |
3215
|
1515 Mon Nov 9 16:12:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1516 |
|
1517 * pr-output.cc (octave_print_internal): Reorder default args for |
|
1518 charMatrix version. |
|
1519 (octave_print_internal): New function for boolMatrix. |
|
1520 |
|
1521 * version.h (OCTAVE_STARTUP_MESSAGE): Note that this is a |
|
1522 development release. |
|
1523 |
|
1524 * toplev.cc (do_octave_atexit): Call flush_octave_stdout here. |
|
1525 (clean_up_for_exit): And here. |
|
1526 |
|
1527 Mon Nov 9 15:20:53 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1528 |
|
1529 * input.cc (get_user_input): Check retval.length(), not retval.length. |
|
1530 |
|
1531 Sun Nov 8 19:30:33 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1532 |
|
1533 * pt-assign.cc (tree_simple_assignment::rvalue): If etype is |
|
1534 asn_eq, don't evaluate ult again because retval is just rhs value. |
|
1535 (tree_multi_assignment::rvalue): Likewise. |
|
1536 |
|
1537 Fri Nov 6 12:14:29 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1538 |
|
1539 * pt-loop.cc (tree_for_command::eval): Move code for string RHS |
|
1540 outside if clause for matrix types. |
|
1541 |
|
1542 * pt-idx.cc: Don't forget to define arg_nm. |
|
1543 Move contstructor here. |
|
1544 * pt-idx.h: From here. |
|
1545 |
|
1546 * data.cc (Fisempty): Also return true for empty strings. |
|
1547 |
3212
|
1548 Wed Nov 4 17:21:41 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1549 |
|
1550 * ov-base.cc (octave_base_value::rows, octave_base_value::columns, |
|
1551 octave_base_value::length): Delete. |
|
1552 * ov-base.h (octave_base_value::rows, octave_base_value::columns, |
|
1553 octave_base_value::length): Define here. All return -1 if not |
|
1554 defined in a derived class. |
|
1555 |
|
1556 * data.cc (Fis_matrix): Also return true if the arg is a range. |
|
1557 |
3209
|
1558 Tue Nov 3 09:40:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1559 |
|
1560 * data.cc (Fis_bool): New function. |
|
1561 Also add alias for islogical. |
|
1562 |
|
1563 * ov.h (octave_value::is_bool_type): New function. |
|
1564 * ov-base.h (octave_base_value::is_bool_type): Likewise. |
|
1565 * ov-bool.h (octave_bool::is_bool_type): Likewise. |
|
1566 * ov-bool-mat.h (octave_bool_matrix::is_bool_type): Likewise. |
|
1567 |
3206
|
1568 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1569 |
3208
|
1570 * lex.l (handle_close_brace): Also handle case of ']' followed by |
|
1571 other assignment ops (+=, -=, ...). |
|
1572 |
|
1573 * pt-assign.cc (tree_simple_assignment::rvalue): Correctly handle |
|
1574 return value and printing for operators other than `='. |
|
1575 (tree_multi_assignment::rvalue): Likewise. |
|
1576 |
|
1577 * pt-assign.h (tree_multi_assignment::etype): New data member. |
|
1578 * pt-assign.cc (tree_multi_assignment::rvalue): Use it instead of |
|
1579 assuming `='. |
|
1580 (tree_multi_assignment::oper): New function. |
|
1581 * pt-pr-code.cc (tree_print_code::visit_multi_assignment): Use |
|
1582 it instead of always printing `='. |
|
1583 * parse.y (make_assign_op): Pass expression type to |
|
1584 tree_multi_assignment constructor. |
|
1585 |
3206
|
1586 * Makefile.in (stmp-pic): New target. |
|
1587 ($(PICOBJ)): Depend on stmp-pic, not pic. |
|
1588 (clean): Delete stmp-pic. |
|
1589 |
|
1590 Sun Nov 1 23:24:55 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1591 |
|
1592 * mappers.cc (install_mapper_functions): Add alias for isfinite. |
|
1593 |
|
1594 Sat Oct 31 08:46:55 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1595 |
|
1596 * data.cc (Fisnumeric): New function. |
|
1597 |
3203
|
1598 Fri Oct 30 08:39:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1599 |
3205
|
1600 * oct-lvalue.cc (octave_lvalue::do_unary_op): Make it work for |
|
1601 indexed ops too. |
|
1602 * ov.cc (octave_value::unary_op_to_assign_op): New function. |
|
1603 (octave_value::do_non_const_unary_op): New function for indexed ops. |
|
1604 |
3204
|
1605 * parse.y (LEFTDIV_EQ, ELEFTDIV_EQ): New tokens. |
|
1606 (assign_expr): Add rules for them. |
|
1607 (make_assign_op): Handle them here too. |
|
1608 * lex.l: Recognize them. |
|
1609 * ov.h (octave_value::assign_op): Add ldiv_eq and el_ldiv_eq. |
|
1610 * ov.cc (octave_value::assign_op_as_string): Ditto. |
|
1611 (octave_value::op_eq_to_binary_op): Ditto. |
|
1612 (octave_value::assign): Handle OP= style operators with brute force. |
|
1613 (octave_value::simple_assign): New function. |
|
1614 |
3203
|
1615 * parse.y (matrix): Dont' forget to reset |
|
1616 lexer_flags.looking_at_matrix_or_assign_lhs. |
|
1617 |
|
1618 * oct-lvalue.cc (octave_lvalue::assign): Don't call change |
|
1619 function if error occurs. |
|
1620 (octave_lvalue::do_unary_op): If we have an index, fail with message. |
|
1621 |
3202
|
1622 Thu Oct 29 09:27:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1623 |
3203
|
1624 * ov.cc (do_binary_op): Protect against invalid type conversions. |
|
1625 (try_assignment_with_conversion): Likewise. |
|
1626 (do_unary_op): Likewise. |
|
1627 |
|
1628 * ov.h (OV_UNOP_FN, OV_UNOP_OP, OV_UNOP_FN_OP): New macros. |
|
1629 Use them to define not, uminus, transpose, hermitian functions |
|
1630 and operators ! and -. |
|
1631 (OV_BINOP_FN, OV_BINOP_OP, OV_BINOP_FN_OP): New macros. |
|
1632 Use them to define add, sub, mul, div, pow, ldiv, lshift, rshift, |
|
1633 lt, le, eq, ge, gt, ne, el_mul, el_div, el_pow, el_ldiv, el_and, |
|
1634 el_or, struct_ref, functions and operators <, <=, ==, >=, >, !=, |
|
1635 +, -, *, and /. |
|
1636 |
|
1637 * ops.h (CONVDECLX): New macro. |
|
1638 * ov-base.cc (matrix_conv, complex_matrix_conv, string_conv): |
|
1639 Use it to declare these functions. |
|
1640 |
|
1641 * ops.h (CONVDECL, INSTALL_WIDENOP): |
|
1642 Prefix function name with `oct_conv_'. |
|
1643 (INSTALL_BINOP, BINOPDECL): Prefix function name with `oct_binop_'. |
|
1644 (INSTALL_ASSIGNOP, INSTALL_ASSIGNANYOP, ASSIGNOPDECL): |
|
1645 Prefix function name with `oct_assignop_'. |
|
1646 (UNOPDECL, DEFNCUNOP_METHOD, INSTALL_UNOP, INSTALL_NCUNOP): |
|
1647 Prefix function name with `oct_unop_'. |
|
1648 |
|
1649 * ov-str-mat.cc (default_numeric_conversion_function): |
|
1650 Return 0 if conversion fails. |
|
1651 |
|
1652 * parse.y (make_prefix_op, make_postfix_op): Use |
|
1653 octave_value::unary_op enum. |
|
1654 |
|
1655 * pt-unop.cc (tree_prefix_expression::rvalue): Use new unary_op |
|
1656 functions from octave_value and octave_lvalue classes. |
|
1657 (tree_prefix_expression::rvalue): Likewise. |
|
1658 |
|
1659 * pt-unop.cc (tree_unary_expression::oper): Move here. |
|
1660 (tree_prefix_expression::oper, tree_postfix_expression): From here. |
|
1661 |
|
1662 * pt-unop.h (tree_prefix_expression, tree_postfix_expression): |
|
1663 Delete enums. |
|
1664 (tree_unary_expression): Use octave_value::unary_op enum. |
|
1665 * parse.y (make_prefix_op, make_postfix_op): Likewise. |
|
1666 |
|
1667 * oct-lvalue.h (octave_lvalue::do_unary_op): New function. |
|
1668 (octave_lvalue::increment, octave_lvalue::decrement): Delete. |
|
1669 |
|
1670 * ov-typeinfo.h (octave_value_typeinfo::non_const_unary_ops): |
|
1671 New data member. |
|
1672 * ov-typeinfo.h (octave_value_typeinfo::lookup_non_const_unary_op): |
|
1673 New function. |
|
1674 * ov-typeinfo.cc (octave_value_typeinfo::register_non_const_unary_op): |
|
1675 New function. |
|
1676 (octave_value_typeinfo::do_register_non_const_unary_op): Ditto. |
|
1677 (octave_value_typeinfo::do_lookup_non_const_unary_op): Ditto. |
|
1678 |
|
1679 * ov.cc (octave_value::do_non_const_unary_op): New function. |
|
1680 |
|
1681 * Makefile.in (OP_XSRC): Add op-chm.cc and op-range.cc to the list. |
|
1682 |
|
1683 * OPERATORS/op-str-str.cc: Define string matrix unary operators here. |
|
1684 (install_str_str_ops): Install them here. |
|
1685 * ov-bool-mat.h (octave_bool_matrix::transpose, |
|
1686 octave_bool_matrix_value::hermitian): Delete. |
|
1687 |
|
1688 * OPERATORS/op-chm.cc: New file. Define char matrix unary operators. |
|
1689 (install_chm_ops): Install them here. |
|
1690 * ov-ch-mat.h (octave_char_matrix::transpose, |
|
1691 octave_char_matrix_value::hermitian): Delete. |
|
1692 * ops.cc (install_ops): Call install_chm_ops. |
|
1693 |
|
1694 * OPERATORS/op-bm-bm.cc: Define bool matrix unary operators here. |
|
1695 (install_bm_bm_ops): Install them here. |
|
1696 * ov-bool-mat.h (octave_bool_matrix::transpose, |
|
1697 octave_bool_matrix_value::hermitian): Delete. |
|
1698 |
|
1699 * ov-bool.h (octave_bool::not, octave_bool::uminus, |
|
1700 octave_bool::transpose, octave_bool::hermitian): Delete. |
|
1701 |
|
1702 * OPERATORS/op-cs-cs.cc: Define complex scalar unary operators here. |
|
1703 (install_cs_cs_ops): Install them here. |
|
1704 * ov-complex.h (octave_complex::not, octave_complex::uminus, |
|
1705 octave_complex::transpose, octave_complex::hermitian): Delete. |
|
1706 |
|
1707 * OPERATORS/op-cm-cm.cc: Define complex matrix unary operators here. |
|
1708 (install_cm_cm_ops): Install them here. |
|
1709 * ov-cx-mat.h (octave_complex_matrix::not, |
|
1710 octave_complex_matrix::uminus, octave_complex_matrix::transpose, |
|
1711 octave_complex_matrix::hermitian): Delete. |
|
1712 |
|
1713 * OPERATORS/op-m-m.cc: Define matrix unary operators here. |
|
1714 (install_m_m_ops): Install them here. |
|
1715 * ov-re-mat.h (octave_matrix::not, octave_matrix::uminus, |
|
1716 octave_matrix::transpose, octave_matrix::hermitian): Delete. |
|
1717 |
|
1718 * OPERATORS/op-range.cc: New file. Define range unary operators. |
|
1719 (install_range_ops): Install them here. |
|
1720 * ov-range.h (octave_range::not, octave_range::uminus, |
|
1721 octave_range::transpose, octave_range::hermitian): Delete. |
|
1722 * ops.cc (install_ops): Call install_range_ops. |
|
1723 |
|
1724 * OPERATORS/op-s-s.cc: Define scalar unary operators here. |
|
1725 (install_s_s_ops): Install them here. |
|
1726 * ov-scalar.h (octave_scalar::not, octave_scalar::uminus, |
|
1727 octave_scalar::transpose, octave_scalar::hermitian): Delete. |
|
1728 |
|
1729 * ops.h (INSTALL_UNOP, CAST_UNOP_ARG, UNOPDECL, DEFUNOPX, DEFUNOP, |
|
1730 DEFUNOP_OP, DEFUNOP_FN): New macros. |
|
1731 |
|
1732 * ov.h (unary_op_fcn): New typedef. |
|
1733 (octave_value::unary_op): New enum. |
|
1734 * ov.cc (octave_value::octave_value): New function. |
|
1735 |
|
1736 * ov.h (octave_value::not, octave_value::uminus, |
|
1737 octave_value::transpose, octave_value::hermitian, |
|
1738 octave_value::increment, octave_value::decrement): Delete. |
|
1739 |
|
1740 * ov-base.cc (octave_base_value::not, octave_base_value::uminus, |
|
1741 octave_base_value::transpose, octave_base_value::hermitian, |
|
1742 octave_base_value::increment, octave_base_value::decrement): Delete. |
|
1743 |
|
1744 * ov.cc (gripe_unary_op): New function. |
|
1745 (do_unary_op): New function. |
|
1746 * ov-typeinfo.h (octave_value_typeinfo::unary_ops): |
|
1747 New data member. |
|
1748 * ov-typeinfo.cc (octave_value_info::register_unary_op, |
|
1749 octave_value_info::do_register_unary_op, |
|
1750 octave_value_info::lookup_unary_op, |
|
1751 octave_value_info::do_lookup_unary_op): |
|
1752 New functions. |
|
1753 |
3202
|
1754 * ov-list.cc (Fsplice): Use new octave_value::int_value function here. |
|
1755 (octave_list::do_index_op): Likewise. |
|
1756 (octave_list::assign): Likewise. |
|
1757 * toplev.cc (Fquit): Likewise. |
|
1758 * syscalls.cc (Fwaitpid): Likewise. |
|
1759 (Ffcntl): Likewise. |
|
1760 * file-io.cc (do_fread): Likewise. |
|
1761 (do_fwrite): Likewise. |
|
1762 * data.cc (make_diag): Likewise. |
|
1763 (Fsize): Likewise. |
|
1764 (get_dimensions): Likewise. |
|
1765 (Flinspace): |
|
1766 |
|
1767 * ov-base.cc (octave_base_value::int_value): New function. |
|
1768 (octave_base_value::nint_value): Ditto. |
|
1769 * ov.h (octave_value::int_value): Ditto. |
|
1770 (octave_value::nint_value): Ditto. |
|
1771 |
|
1772 * ov-list.cc (octave_list::assign): Fix off-by-one error. |
|
1773 |
3196
|
1774 Wed Oct 28 11:01:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1775 |
3202
|
1776 * load-save.cc (read_mat_ascii_data): Try harder to convert file |
|
1777 name to valid variable name. |
|
1778 |
|
1779 * data.cc (Fisempty, Fis_matrix): New functions. |
|
1780 |
|
1781 * ov-str-mat.h (octave_char_matrix_str::is_matrix_type): New function. |
|
1782 |
3196
|
1783 * OPERATORS/op-list.cc: New file. |
|
1784 * Makefile.in (OP_XSRC): Add it to the list. |
|
1785 |
|
1786 * ov-list.cc (octave_list::assign): New function. |
|
1787 |
|
1788 * ov-typeinfo.h (octave_value_typeinfo::assignany_ops): |
|
1789 New data member. |
|
1790 * ov-typeinfo.cc (octave_value_info::register_assignany_op, |
|
1791 octave_value_info::do_register_assignany_op, |
|
1792 octave_value_info::lookup_assignany_op, |
|
1793 octave_value_info::do_lookup_assignany_op): |
|
1794 New functions. |
|
1795 * ov.cc (octave_value::try_assignment (octave_value::assign_op, |
|
1796 const octave_value_list&, const octave_value&)): If no assignment |
|
1797 operator for particular RHS type exists, try finding one for |
|
1798 generic octave_value as RHS type. |
|
1799 * ops.h (DEFASSIGNANYOP_FN): New macro. |
|
1800 |
|
1801 * ov-list.cc (Fsplice): New function. |
|
1802 * oct-obj.cc (octave_value_list::splice): New function. |
|
1803 |
|
1804 * ov.cc (Vresize_on_range_error): No longer static. |
|
1805 * ov.h (Vresize_on_range_error): Provide extern declaration. |
|
1806 |
|
1807 * oct-procbuf.cc (symbols_of_oct_procbuf): Don't declare static. |
|
1808 |
|
1809 * data.cc (Flength): New function. |
|
1810 * ov.h (octave_value::length): New virtual function. |
|
1811 * ov-base.cc (octave_base_value::length): New function. |
|
1812 (octave_base_value::rows, octave_base_value::columns): Move |
|
1813 definitions here, from ov-base.h. Don't return -1. Instead, |
|
1814 gripe about wrong argument type. |
|
1815 * ov-bool-mat.h (octave_bool_matrix::length): New function. |
|
1816 * ov-bool.h (octave_bool::length): Ditto. |
|
1817 * ov-ch-mat.h (octave_char_matrix::length): Ditto. |
|
1818 * ov-complex.h (octave_complex::length): Ditto. |
|
1819 * ov-cx-mat.h (octave_complex_matrix::length): Ditto. |
|
1820 * ov-list.h (octave_list::length): Ditto. |
|
1821 * ov-range.h (octave_range::length): Ditto. |
|
1822 * ov-re-mat.h (octave_matrix::length): Ditto. |
|
1823 * ov-scalar.h (octave_scalar::length): Ditto. |
|
1824 |
|
1825 Tue Oct 27 22:19:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1826 |
|
1827 * ov-list.cc (octave_list::print_raw): Handle case of empty list. |
|
1828 (octave_list::print_name_tag): Likewise. |
|
1829 |
|
1830 * octave.cc (intern_argv): Built-in variable argv is now a list of |
|
1831 strings instead of a string vector. |
|
1832 Always bind argv, making it an empty list if there are no args. |
|
1833 |
|
1834 Mon Oct 26 08:41:46 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1835 |
|
1836 * xdiv.cc (mx_leftdiv_conform): Explicitly declare args to be |
|
1837 passed as references to const objects. Fix explicit instantiation |
|
1838 requests to match. |
|
1839 (mx_div_conform): Likewise. |
|
1840 |
|
1841 * pt-unop.h (tree_prefix_expression): Reorder constructor args to |
|
1842 put those with default values last. |
|
1843 (tree_postfix_expression): Likewise. |
|
1844 * parse.y: Change all callers. |
|
1845 |
3192
|
1846 Fri Oct 23 12:07:32 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1847 |
3196
|
1848 * utils.cc (Ffile_in_loadpath): New function. |
|
1849 |
|
1850 * defaults.cc (Vload_path, Vdefault_load_path): Now static. |
|
1851 |
|
1852 * help.cc (simple_help): Use Vload_path_dir_path here instead of |
|
1853 trying to reconstruct it from Vload_path. |
|
1854 * fn-cache.cc (octave_fcn_file_name_cache::do_list): Likewise. |
|
1855 (octave_fcn_file_name_cache::update): Likewise. |
|
1856 |
|
1857 * defaults.cc (octave_loadpath): Construct Vload_path_dir_path |
|
1858 using Vdefault_load_path. |
|
1859 (set_default_path): Likewise. |
|
1860 |
|
1861 * defaults.h, defaults.cc (maybe_add_default_load_path): Delete. |
|
1862 |
3192
|
1863 * defaults.cc (Vdefault_load_path): New static variable. |
|
1864 (set_default_path): Set it. |
|
1865 (maybe_add_default_load_path): Use it. |
|
1866 (symbols_of_defaults): Add DEFCONST for DEFAULT_LOADPATH. |
|
1867 Thanks to Rafael Laboissiere <rafael@icp.inpg.fr>. |
|
1868 |
|
1869 * defaults.cc (set_default_path): If OCTAVE_PATH is set in the |
|
1870 environment, call maybe_add_default_load_path on it. |
|
1871 |
|
1872 Tue Oct 20 20:58:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1873 |
|
1874 * defaults.cc (maybe_add_default_load_path): If LOADPATH contains |
|
1875 an embedded "::", insert the default path there too. |
|
1876 |
3189
|
1877 Fri Oct 16 00:52:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1878 |
|
1879 * parse.y (in_matrix_or_assign_lhs): New subroutine for lexical |
|
1880 feedback. |
|
1881 (matrix): Use it. |
|
1882 (assign_lhs): Ditto. |
|
1883 * lex.h (lexical_feedback::looking_at_matrix_or_assign_lhs): New |
|
1884 data member. |
|
1885 * lex.l (handle_identifier): Use it to handle keywords like `cd' |
|
1886 as variables in contexts like [ab, cd] = foo (). |
|
1887 |
|
1888 * ov-str-mat.h |
|
1889 (octave_char_matrix_str::octave_char_matrix_str (char c)): |
|
1890 New constructor. |
|
1891 * ov-ch-mat.h (octave_char_matrix::octave_char_matrix (char c)): |
|
1892 New constructor. |
|
1893 * ov.cc (octave_value::octave_value (char c): New constructor. |
|
1894 |
|
1895 * pt-loop.cc (tree_simple_for_command::eval): Handle case of RHS |
|
1896 as string. |
|
1897 |
|
1898 Thu Oct 15 00:56:47 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1899 |
|
1900 * DLD-FUNCTIONS/rand.cc: Declare Fortran subroutines as returning |
|
1901 int, not int*. |
|
1902 |
|
1903 Wed Oct 14 23:51:31 1998 Georg Thimm <thimm@idiap.ch> |
|
1904 |
|
1905 * load-save.cc (Vcrash_dumps_octave_core): New static variable. |
|
1906 (save_user_variables): Only save variables if |
|
1907 Vcrash_dumps_octave_core is true. |
|
1908 (symbols_of_load_save): Add DEFVAR for it here. |
|
1909 (crash_dumps_octave_core): New function. |
|
1910 * octave.cc (maximum_braindamage): Bind crash_dumps_octave_core to |
|
1911 0.0 here. |
|
1912 |
|
1913 Tue Oct 13 22:05:55 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1914 |
|
1915 * input.cc (read_readline_init_file): New function. |
|
1916 |
|
1917 Thu Oct 8 13:47:55 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1918 |
|
1919 * oct-procbuf.h (octave_procbuf::wstatus): New data member. |
|
1920 Initialize in constructors. |
|
1921 (octave_procbuf::wait_status): New member function. |
|
1922 * oct-procbuf.cc (octave_procbuf::sys_close): Use class data |
|
1923 member wstatus, not local variable. |
|
1924 * procstream.cc (procstreambase::close): Don't call sys_close directly. |
|
1925 Get subprocess exit status by calling wait_status for our procbuf. |
|
1926 * pt-plot.cc (close_plot_stream): Send "quit" command to gnuplot |
|
1927 before deleting plot_stream. |
|
1928 |
|
1929 |
|
1930 Thu Oct 1 22:39:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1931 |
|
1932 * data.cc (Fis_complex): New function. |
|
1933 |
3185
|
1934 Fri Sep 25 11:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1935 |
|
1936 * load-save.cc (write_header): Rename from write_binary_header. |
|
1937 Also write header for Octave ASCII files. |
|
1938 |
|
1939 * load-save.cc (Fsave): Implement -append option. |
|
1940 |
|
1941 * defaults.cc (Frehash): New function. |
|
1942 |
|
1943 Fri Sep 25 11:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1944 |
|
1945 * help.cc (help_from_info): Improve error message in case that |
|
1946 info doesn't work. |
|
1947 |
3180
|
1948 Thu Sep 24 10:48:12 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1949 |
3185
|
1950 * Makefile.in (DLD_XSRC): Replace qzval.cc with qz.cc |
|
1951 |
|
1952 * DLD-FUNCTIONS/balance.cc: Update from A. S. Hodel |
|
1953 <scotte@eng.auburn.edu>. |
|
1954 |
|
1955 * DLD-FUNCTIONS/qz.cc: New file. |
|
1956 |
|
1957 * DLD-FUNCTIONS/qzval.cc: Delete. |
|
1958 |
3180
|
1959 * parse.y (plot_command1): Don't allow it to be empty. |
|
1960 (plot_command): Handle simple `PLOT' and `PLOT ranges' as special |
|
1961 cases here. |
|
1962 |
|
1963 Wed Sep 23 21:10:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1964 |
|
1965 * lex.l: Change <MATRIX>{SNLCMT}*\n{SNLCMT}* pattern |
|
1966 to <MATRIX>{S}*{COMMENT}{SNLCMT}* | <MATRIX>{S}*{NL}{SNLCMT}*. |
|
1967 |
|
1968 Fri Sep 4 10:50:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1969 |
|
1970 * file-io.cc (Ffwrite): Fix doc string. |
|
1971 |
|
1972 Wed Sep 2 16:22:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1973 |
|
1974 * input.cc (match_sans_spaces): Make it work. |
|
1975 |
|
1976 * toplev.cc (quit): Require nargout == 0. |
|
1977 |
|
1978 * input.cc (get_user_input): Only try matching "exit", "quit", and |
|
1979 "return" if debugging. |
|
1980 |
|
1981 Tue Sep 1 12:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1982 |
|
1983 * octave.cc: Use -H as single character equivalent of --no-history. |
|
1984 |
|
1985 Sat Aug 29 12:23:12 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1986 |
|
1987 * oct-obj.cc (octave_value_list::make_argv): If some values are |
|
1988 string vectors, insert all the elements, not just the first. |
|
1989 |
|
1990 Tue Aug 18 16:39:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1991 |
|
1992 * oct-stream.cc (octave_base_stream::do_gets): Accept last line of |
|
1993 file even if it doesn't end in a newline character. |
|
1994 |
|
1995 Tue Aug 18 16:25:49 1998 Mumit Khan <khan@xraylith.wisc.edu> |
|
1996 |
|
1997 * xdiv.cc (mx_leftdiv_conform, mx_div_conform): Instantiate correct |
|
1998 templates. |
|
1999 |
|
2000 Thu Jul 30 00:37:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2001 |
|
2002 * pt-loop.cc (tree_for_command::eval): Check for range first. |
|
2003 If error occurs when extracting matrix value, return early. |
|
2004 Don't bother to check for string type. |
|
2005 |
|
2006 * ov-ch-mat.h (octave_char_matrix::is_real_matrix): New function. |
|
2007 |
|
2008 Tue Jun 23 15:09:54 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2009 |
|
2010 * parse.y (clear_current_script_file_name): New function. |
|
2011 (parse_fcn_file): Bind current_script_file_name while script is |
|
2012 executing. Use unwind_protect to clear it once the script is |
|
2013 finished. |
|
2014 |
|
2015 * pt-plot.cc (Fgraw): New function. |
|
2016 |
3178
|
2017 Mon Jun 22 22:13:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2018 |
|
2019 * variables.cc (is_valid_function): Provide version that takes |
|
2020 function name as string. |
|
2021 |
|
2022 * parse.y (binary_expr): Fix thinko that resulted in incorrect |
|
2023 evaluation of -x^y. Thanks to Richard Allan Holcombe |
|
2024 <raholcom@unity.ncsu.edu>. |
|
2025 (feval): Don't attempt to copy nonexistent arg names. |
|
2026 |
|
2027 Mon Jun 22 21:35:50 1998 Richard Allan Holcombe <raholcom@unity.ncsu.edu> |
|
2028 |
|
2029 * xpow.cc (xpow): Improve efficiency for matrix^(scalar int) case. |
|
2030 |
|
2031 Thu Jun 4 12:42:46 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2032 |
|
2033 * ov-usr-fcn.cc (octave_user_function::octave_all_va_args): |
|
2034 If num_args_passed < num_named_args, create zero length list. |
|
2035 |
3176
|
2036 Thu May 14 16:23:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2037 |
|
2038 * DLD-FUNCTIONS/getrusage.cc: Include sys/types.h too. |
|
2039 |
|
2040 Mon May 11 00:38:45 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2041 |
|
2042 * pager.cc (Fdiary): Don't forget to set write_to_diary file if |
|
2043 just given a file name. |
|
2044 |
|
2045 * input.cc (octave_gets): Only send new line character to |
|
2046 octave_diary if current_input_line is empty or doesn't already end |
|
2047 with a new line character.. |
|
2048 Don't send input from function files or scripts to octave_diary. |
|
2049 |
3174
|
2050 Sun May 3 19:54:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2051 |
|
2052 * lex.l (reset_parser): Also call yyrestart if forced_interactive |
|
2053 is true, but not if input_from_startup_file is true. |
|
2054 |
|
2055 Tue Apr 28 14:06:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2056 |
|
2057 * oct-procbuf.cc (Vkluge_procbuf_delay): New static variable. |
|
2058 (kluge_procbuf_delay): New function. |
|
2059 (symbols_of_oct_procbuf): New function. |
|
2060 (octave_procbuf::open): Delay Vkluge_procbuf_delay microseconds |
|
2061 after forking. |
|
2062 |
|
2063 Thu Apr 23 15:41:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2064 |
|
2065 * defaults.cc (Vload_path_dir_path): New variable. |
|
2066 * utils.cc (file_in_path): Use it. |
|
2067 |
|
2068 * utils.cc (search_path_for_file): Undo previous change. |
|
2069 (file_in_path): Undo previous change. |
|
2070 * defaults.cc (loadpath): Undo previous change. Tilde expansion |
|
2071 is once again handled correctly by the code in |
|
2072 liboctave/pathsearch.cc. |
|
2073 |
|
2074 Mon Apr 20 21:50:34 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2075 |
|
2076 * data.cc (get_dimensions): Allow zeros ([], 3) to work, for |
|
2077 compatibility with Matlab. |
|
2078 |
|
2079 * dynamic-ld.cc [WITH_DL && ! HAVE_DLFCN_H]: Add declarations for |
|
2080 dlopen, dlerror, dlsym, and dlclose. |
|
2081 |
|
2082 * octave.gperf: Handle __FILE__ and __LINE__. |
|
2083 * lex.l (is_keyword): Likewise. |
|
2084 * Makefile.in (oct-gperf.h): Pass -D option to gperf. |
|
2085 Postprocess output of gperf to convert name of static variable |
|
2086 from lookup to gperf_lookup, to avoid conflict with our function |
|
2087 of the same name defined in variables.cc. |
|
2088 |
3168
|
2089 Sat Apr 18 20:17:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2090 |
|
2091 * help.cc (USE_GNU_INFO): Delete uses of this macro. |
|
2092 |
3167
|
2093 Thu Apr 16 01:00:12 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2094 |
|
2095 * dynamic-ld.cc: Only include dlfcn.h if HAVE_DLFCN_H. |
|
2096 |
3165
|
2097 Wed Apr 15 01:03:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2098 |
|
2099 * input.cc (Vlast_prompt_time): New global variable. |
|
2100 (octave_gets): Set it. |
3166
|
2101 * ov-fcn.h (octave_function::time_checked): New virtual function |
|
2102 (octave_function::mark_fcn_file_up_to_date): Ditto. |
3165
|
2103 * ov-usr-fcn.h (octave_user_function::time_checked): New function. |
|
2104 (octave_user_function::mark_fcn_file_up_to_date): Ditto. |
|
2105 (octave_user_function::t_checked): New data member. |
|
2106 * variables.cc (symbol_out_of_date): Only check file time stamp if |
|
2107 a prompt has been printed since the last time check. |
|
2108 |
|
2109 * pt-plot.h, pt-plot.cc (subplot_axes): New class. |
|
2110 (subplot): Handle axes. |
|
2111 (Vgnuplot_command_axes): New static variable. |
|
2112 (gnuplot_command_axes): New function. |
|
2113 (symbols_of_pt_plot): DEFVAR gnuplot_command_axes. |
|
2114 * pt-walk.h (tree_walker::visit_subplot_axes): New virtual function. |
|
2115 * parse.y (plot_options): Handle axes. |
|
2116 * lex.l (plot_axes_token): New function. |
|
2117 (is_keyword): Use it. |
|
2118 (is_plot_keyword): Recognize "axes" and "axis". |
|
2119 * lex.h (class lexical_feedback): New field, in_plot_axes. |
|
2120 (lexical_feedback::init): Reset it. |
|
2121 |
|
2122 Tue Apr 14 23:32:27 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2123 |
|
2124 * parse.y (parse_fcn_file): New arg, force_script. Change callers. |
|
2125 |
3164
|
2126 Fri Apr 10 11:01:27 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2127 |
|
2128 * help.cc (type): Also print values of variables. |
|
2129 |
3162
|
2130 Wed Apr 8 01:00:58 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2131 |
3164
|
2132 * pr-output.cc (set_format): Set scale to 1.0 if all elements are |
|
2133 int or inf or nan. |
|
2134 |
3162
|
2135 * parse.y (Vwarn_future_time_stamp): New variable. |
|
2136 (symbols_of_parse): Add DEFVAR for it. |
|
2137 (warn_future_time_stamp): New function. |
|
2138 (frob_function_def): Maybe warn about files with future time stamps. |
|
2139 |
|
2140 Thu Apr 2 20:43:45 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2141 |
|
2142 * pt-arg-list.cc (tree_argument_list::convert_to_const_vector): In |
|
2143 error messages, print element numbers starting with 1, not 0. |
|
2144 |
|
2145 Sat Mar 28 15:25:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2146 |
|
2147 * toplev.cc (clean_up_for_exit): New function. |
|
2148 (clean_up_and_exit): Use it. |
|
2149 * sighandlers.cc (my_friendly_exit): Call it instead of |
|
2150 clean_up_and_exit, then do default action for signal. |
|
2151 |
|
2152 * sighandlers.cc (octave_new_handler): Call my_friendly_exit with |
|
2153 signal set to SIGABRT if it is defined, or -1 otherwise. |
|
2154 |
|
2155 * error.cc (verror): Fix thinko in attempt to skip `error: ' tag |
|
2156 when buffering error messages. |
|
2157 * pt-except.cc (tree_try_catch::eval): Reset buffer_error_messages |
|
2158 here if just discarding unwind_protect frame. |
|
2159 |
|
2160 Wed Mar 18 12:35:18 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2161 |
|
2162 * xpow.cc (elem_xpow): For real-scalar .^ matrix case, result is |
|
2163 complex only if real-scalar is negative and matrix has some |
|
2164 non-integer values. |
|
2165 |
|
2166 Tue Mar 17 17:47:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2167 |
|
2168 * pt-plot.cc (Vgnuplot_command_plot, Vgnuplot_command_replot, |
|
2169 Vgnuplot_command_splot, Vgnuplot_command_using, |
|
2170 Vgnuplot_command_with, Vgnuplot_command_title, |
|
2171 Vgnuplot_command_end): New static variables. |
|
2172 (symbols_of_pt_plot): DEFVAR them. |
|
2173 (gnuplot_command_plot, gnuplot_command_replot, |
|
2174 gnuplot_command_splot, gnuplot_command_using, |
|
2175 gnuplot_command_with, gnuplot_command_title, |
|
2176 gnuplot_command_end): New functions. |
|
2177 (open_plot_stream, send_to_plot_stream, tree_plot_command::eval, |
|
2178 subplot_using::print, subplot_style::print, subplot::print, |
|
2179 do_external_plotter_cd, Fgset, Fgshow): Use them instead of the |
|
2180 GPLOT_CMD_PLOT, GPLOT_CMD_REPLOT, GPLOT_CMD_SPLOT, |
|
2181 GPLOT_CMD_USING, GPLOT_CMD_WITH, GPLOT_CMD_TITLE, and |
|
2182 GPLOT_CMD_END macros. |
|
2183 |
3160
|
2184 Fri Feb 27 12:25:27 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2185 |
|
2186 * help.cc (additional_help_message): Fix www address. |
|
2187 |
|
2188 Tue Feb 24 00:42:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2189 |
|
2190 * help.cc (simple_help): Put additional help message first. |
|
2191 (additional_help_message): Add information about web site and |
|
2192 mailing list. |
|
2193 |
3156
|
2194 Fri Feb 20 00:41:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2195 |
|
2196 * pt-plot.cc (GPLOT_CMD_REPLOT): Clear before replot. |
|
2197 |
|
2198 * Makefile.in: Better handling of lib flags for linking. |
|
2199 |
|
2200 Thu Feb 19 21:14:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2201 |
|
2202 * pt-decl.cc (Vinitialize_global_values): New static variable. |
|
2203 (initialize_global_variables): New function. |
|
2204 (symbols_of_pt_decl): New function. |
|
2205 DEFVAR Vinitialize_global_values and initialize_global_variables. |
|
2206 (tree_global_command::do_init): If initialize_global_variables is |
|
2207 not true and the variable doesn't have an explicit initializer, don't |
|
2208 initialize it. If we are giving it a default value, use the value |
|
2209 of the variable defualt_global_variable_value. |
|
2210 * octave.cc (maximum_braindamage): Set default_global_variable_value |
|
2211 and initialize_global_variables to Matlab-compatible values. |
|
2212 |
|
2213 Wed Feb 18 04:35:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2214 |
|
2215 * DLD-FUNCTIONS/besselj.cc: Rename from bessel.cc. |
|
2216 * Makefile.in (DLD_XSRC): Likewise. |
|
2217 |
|
2218 * syscalls.cc (Fvfork): Delete. |
|
2219 |
|
2220 * oct-procbuf.cc: Just use fork. |
|
2221 |
|
2222 * parse.y (feval): Provide version that takes function name |
|
2223 separate from other args. |
|
2224 * parse.h: Declare it. |
|
2225 |
|
2226 * oct-procbuf.cc (octave_procbuf::open): Move declaration of |
|
2227 child_std_end outside of child scope and declare volatile. |
|
2228 |
|
2229 Mon Feb 16 15:04:28 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2230 |
|
2231 * parse.y: Include cstdio, for SEEK_SET. |
|
2232 |
3153
|
2233 Thu Feb 12 22:07:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2234 |
|
2235 * system.c: New file. |
|
2236 * Makefile.in (SOURCES): Add it to the list. |
|
2237 |
3148
|
2238 Fri Feb 6 01:23:18 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2239 |
|
2240 * oct-stream.cc (octave_base_stream::file_number): Rename from fileno. |
|
2241 Change all uses. |
|
2242 |
|
2243 * fsolve.cc (fsolve_option_table): Add missing & to function names. |
|
2244 |
3145
|
2245 Thu Feb 5 02:27:18 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2246 |
3147
|
2247 * dirfns.cc (Fls): If first attempt at reading process output |
|
2248 fails, sleep once and try again. |
|
2249 * toplev.cc (run_command_and_return_output): Likewise. |
|
2250 |
|
2251 * oct-procbuf.cc (octave_procbuf::open): Use vfork if it is available. |
|
2252 |
|
2253 * syscalls.cc (Fvfork): New function. |
|
2254 |
3145
|
2255 * ov-bool-mat.cc: Only declare assign function if |
|
2256 CXX_NEW_FRIEND_TEMPLATE_DECL is not defined. |
|
2257 |
|
2258 * ov-base.h, ov-bool-mat.h, ov-bool.h, ov-ch-mat.h, ov-complex.h, |
|
2259 ov-cx-mat.h, ov-range.h, ov-re-mat.h, ov-scalar.h: Handle default |
|
2260 args for *_value functions consistently. |
|
2261 |
|
2262 * symtab.cc (maybe_list_cmp_fcn): Declare args as void*, not |
|
2263 void**, then use X_CAST. |
|
2264 |
|
2265 * OPERATORS/op-s-cm.cc: Include mx-cm-s.h. |
|
2266 |
|
2267 * defun-int.h: Include ov-builtin.h, ov-mapper.h, and symtab.h. |
|
2268 (install_builtin_mapper, install_builtin_function, |
|
2269 install_builtin_variable) Use specific types rather than void * in |
|
2270 declaration. |
|
2271 * defun.cc (install_builtin_mapper, install_builtin_function, |
|
2272 install_builtin_variable): Likewise. Eliminate casts. |
|
2273 |
|
2274 * load-save.cc (read_binary_data, read_mat_file_header, |
|
2275 save_binary_data): Use X_CAST, not static_cast. |
|
2276 * unwind-prot.h (unwind_protect::save_ptr): Likewise. |
|
2277 * Map.cc (goodCHptr, index_to_CHptr, CHptr_to_index): Likewise. |
|
2278 * dynamic-ld.cc (octave_dlopen_dynamic_loder::resolve_reference): |
|
2279 Likewise. |
|
2280 |
|
2281 * pt-mat.cc (tm_const::operator bool ()): |
|
2282 (tm_row_const::operator bool ()): Likewise. |
|
2283 * oct-stream.cc (printf_value_cache::operator bool ()): Likewise. |
|
2284 (scanf_format_list::operator bool ()): Likewise. |
|
2285 (printf_format_list::operator bool ()): Likewise. |
|
2286 (octave_stream::operator bool ()): Likewise. |
|
2287 |
|
2288 Wed Feb 4 13:08:29 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2289 |
|
2290 * DLD-FUNCTIONS/minmax.cc: Include cmath, not oct-math.h. |
|
2291 |
|
2292 * syscalls.cc (Fdup2): Convert stream to actual system file id. |
|
2293 |
|
2294 * oct-stream.cc (octave_base_stream::fileno, octave_stream::fileno): |
|
2295 New functions. |
|
2296 |
3141
|
2297 Tue Feb 3 00:24:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2298 |
|
2299 * defaults.cc (exec_path): Append Vbin_dir to std_path. |
|
2300 |
|
2301 * octave.cc (initialize_pathsearch): Set TEXMFDBS, not TEXMF. |
|
2302 Look for OCTAVE_DB_PATH in environment. |
|
2303 Simplify using Vdata_dir and Vlibexec_dir. |
|
2304 |
|
2305 * defaults.h.in (Vdata_dir, Vlibexecdir): Declare new vars. |
|
2306 defaults.cc: Define them. |
|
2307 (set_default_data_dir, set_default_libexecdir): New functions. |
|
2308 (install_defaults): Call them. |
|
2309 |
|
2310 * defaults.h.in (OCTAVE_LIBEXECDIR): Define. |
|
2311 |
|
2312 Mon Feb 2 02:43:16 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2313 |
|
2314 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). |
|
2315 Use mk-libdir-link. |
|
2316 |
|
2317 * defaults.h.in (OCTAVE_OCTLIBDIR): Substitute value. |
|
2318 (Vlib_dir): Delete declaration. |
|
2319 * defaults.cc (Vlib_dir): Delete. |
|
2320 (set_default_lib_dir): Delete. |
|
2321 (install_defaults): Don't call set_default_lib_dir. |
|
2322 (set_default_info_prog): If oct_info_prog is empty, set default to |
|
2323 "info" -- we expect it to be somewhere in the user's path. |
|
2324 |
|
2325 * defun.h (DEFCONST, DEFCONSTX): Eliminate inst_as_fcn and chg_fcn |
|
2326 args. Always pass true for inst_as_fcn and 0 for chg_fcn to |
|
2327 DEFVAR when creating built-in values like `e' or `stderr' that can |
|
2328 be redefined. Change all uses. |
|
2329 |
|
2330 * help.cc (Ftype): Handle script files too. |
|
2331 (Fwhich): Likewise. |
|
2332 |
3136
|
2333 Sat Jan 31 00:00:26 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2334 |
|
2335 * ov-ch-mat.cc (octave_char_matrix::is_true): Make it work. |
|
2336 * ov-str-mat.h, ov-str-mat.cc (octave_char_matrix_str::is_true): |
|
2337 Delete. |
|
2338 |
|
2339 * load-save.cc (read_ascii_data): Allow strings of length 0. |
|
2340 If we don't find data on the first call, fail with error message. |
|
2341 (do_load): Pass count of items read to read_ascii_data. |
|
2342 Allow `load foo xyz' to work when foo contains only numbers. |
|
2343 |
|
2344 Fri Jan 30 23:46:42 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2345 |
|
2346 * ov-str-mat.h (octave_char_matrix_str::all): Delete. |
|
2347 (octave_char_matrix_str::any): Delete. |
|
2348 * ov-ch-mat.h (octave_char_matrix::all, octave_char_matrix::any): |
|
2349 Call charMatrix::all, charMatrix::any. |
|
2350 |
|
2351 Thu Jan 29 16:25:46 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2352 |
|
2353 * load-save.cc (read_mat_binary_data): Handle third digit of MOPT |
|
2354 as flag indicating row or column major ordering. |
|
2355 |
3131
|
2356 Wed Jan 28 00:18:17 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2357 |
|
2358 * DLD-FUNCTIONS/dassl.cc (lsode_option_table): |
|
2359 Add missing & to function names. |
|
2360 * DLD-FUNCTIONS/lsode.cc (lsode_option_table): Likewise. |
|
2361 * DLD-FUNCTIONS/quad.cc (quad_option_table): Likewise. |
|
2362 |
|
2363 * Makefile.in (oct-gperf.h): Add -G option to gperf. |
|
2364 |
|
2365 * load-save.cc (get_save_type): Add `UL' and `L' suffixes to large |
|
2366 constant values. For LS_INT, use <= and >= for comparison. |
|
2367 |
|
2368 Mon Jan 26 13:17:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2369 |
|
2370 * ov-usr-fcn.cc (Vmax_recursion_depth): New static variable. |
|
2371 (max_recursion_depth): New fucnction |
|
2372 (symbols_of_ov_usr_fcn): DEFVAR max_recursion_depth. |
|
2373 (octave_user_function::do_index_op): Check Vmax_recursion_depth. |
|
2374 |
3130
|
2375 Thu Jan 22 13:45:26 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2376 |
|
2377 * dynamic-ld.cc (make_dynamic_loader): Fix typo. |
|
2378 |
|
2379 Tue Jan 20 17:02:19 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2380 |
|
2381 * variables.cc (Fexist): If local symbol is undefined, check |
|
2382 global table. |
|
2383 |
|
2384 * pr-output.cc (pr_max_internal): Initial value for result is |
|
2385 -DBL_MAX, not DBL_MIN. |
|
2386 |
3125
|
2387 Thu Jan 8 11:54:33 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2388 |
|
2389 * xpow.cc (elem_xpow): If second arg of pow is complex, make sure |
|
2390 first arg is also complex. |
|
2391 |
|
2392 * symtab.cc (symbol_table::rename): Properly insert new item at |
|
2393 the front of the list to avoid losing the rest of the items. |
|
2394 |
|
2395 Thu Dec 11 23:30:03 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2396 |
|
2397 * variables.cc (Fclear): Increment index to skip -x arg. |
|
2398 |
3124
|
2399 Tue Dec 9 02:45:35 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2400 |
|
2401 * Makefile.in (INCLUDES): Don't forget Pix.h. |
|
2402 |
|
2403 * BaseSLList.cc: Don't include nonstandard libg++ header files. |
|
2404 |
3119
|
2405 Sun Nov 30 14:58:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2406 |
3124
|
2407 * pr-output.cc: Include cmath, not oct-math. |
|
2408 * sysdep.cc: Likewise. |
|
2409 |
3119
|
2410 * DLD-FUNCTIONS/bessel.cc: New file. |
|
2411 * Makefile.in (DLD_XSRC): Add it to the list. |
|
2412 |
3113
|
2413 Thu Nov 27 23:28:59 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2414 |
|
2415 * lex.l (handle_string): Constructor for string class takes |
|
2416 (size_t, char) args, not (char, size_t). |
|
2417 |
3111
|
2418 Wed Nov 26 00:39:34 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2419 |
|
2420 * Makefile.in (OCTAVE_LIBS): Include $(SPECIAL_MATH_LIB) just |
|
2421 ahead of -lcruft. |
|
2422 |
3110
|
2423 Thu Nov 20 15:16:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2424 |
|
2425 * octave.cc (maximum_braindamage): Bind implicit_num_to_str_ok to 1. |
|
2426 * pt-mat.cc (Vimplicit_num_to_str_ok): New static variable. |
|
2427 (implicit_num_to_str_ok): New function. |
|
2428 (symbols_of_pt_mat): DEFVAR implicit_num_to_str_ok. |
|
2429 (tm_row_const::some_str): New data member. |
|
2430 (tm_row_const::some_strings_p): New function. |
|
2431 (tm_row_const::init): Set some_str. |
|
2432 (tm_const::some_str): New data member. |
|
2433 (tm_const::some_strings_p): New function. |
|
2434 (tm_const::init): Set some_str. |
|
2435 (tree_matrix::eval): If Vimplicit_num_to_str_ok is true and some |
|
2436 of the elements are strings, force a string conversion before |
|
2437 returning. |
|
2438 |
|
2439 * parse.y (fold, finish_colon_expression, finish_matrix): |
|
2440 If an error occurs, return the original expression. |
|
2441 Use unwind_protect to restore error_state. |
|
2442 |
|
2443 * ov-ch-mat.h (octave_char_matrix::convert_to_str): Result is |
|
2444 char_matrix_str, not just char_matrix. |
|
2445 |
3107
|
2446 Wed Nov 19 02:05:40 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
2447 |
|
2448 * DLD-FUNCTIONS/filter.cc: Don't include extern template decls if |
3109
|
2449 CXX_NEW_FRIEND_TEMPLATE_DECL is defined. |
3107
|
2450 * ov-cx-mat.cc: Likewise. |
|
2451 * ov-re-mat.cc: Likewise. |
|
2452 * ov-str-mat.cc: Likewise. |
|
2453 |
|
2454 * ov-cx-mat.h (octave_complex_matrix::decrement, |
|
2455 octave_complex_matrix): Use explicit Complex constructor. |
|
2456 |
|
2457 Wed Nov 19 00:08:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2458 |
|
2459 * pt-decl.cc (tree_global_command::do_init): Initialize global |
|
2460 values to `[]'. Only perform explicit initialization once. |
|
2461 |
3103
|
2462 Tue Nov 18 04:27:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2463 |
3105
|
2464 * pr-output.cc (Vfixed_point_format): New variable. |
|
2465 (fixed_point_format): New fucntion. |
|
2466 (symbols_of_pr_output): Add DEFVAR for fixed_point_format. |
|
2467 (set_real_matrix_format): Handle fixed point format |
|
2468 (set_complex_matrix_format): Handle fixed point format |
|
2469 (set_format): New arg, scale in Matrix, ComplexMatrix, Range versions. |
|
2470 (pr_scale_header): New function. |
|
2471 (octave_print_internal): Handle fixed point format in Matrix, |
|
2472 ComplexMatrix, and Range versions. |
|
2473 * octave.cc (maximum_braindamage): Set fixed_point_format to 1.0. |
|
2474 |
3103
|
2475 * utils.cc (do_string_escapes): Move here, from lex.l. |
|
2476 Arg is now const string& instead of char*. |
|
2477 Return new string object instead of modifying arg in place. |
|
2478 (Fdo_string_escapes): New function. |
|
2479 * lex.l (handle_string): Use new version of do_string_escapes. |
3105
|
2480 |
|
2481 * lex.l (Vbackslash_escapes): Delete. |
|
2482 (backslash_escapes): Delete. |
|
2483 (do_string_escapes): Undo previous change. |
|
2484 (eat_whitespace, eat_continuation): Undo previous change. |
|
2485 (handle_string): Undo previous change. |
|
2486 (symbols_of_lex): Undo previous change. |
|
2487 * octave.cc (maximum_braindamage): Undo previous change. |
3103
|
2488 |
3096
|
2489 Fri Nov 14 01:53:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2490 |
3100
|
2491 * parse.y (eval_string (const string&, bool, int&, int)): No |
|
2492 longer static. |
|
2493 * parse.h: Provide declaration. |
|
2494 * input.cc (get_user_input (const octave_value_list&, bool, int)): |
|
2495 New arg, nargout. Pass it to eval_string. |
|
2496 (keyboard): Pass nargout = 0 to get_user_input. |
|
2497 (input): Pass nargout to get_user_input. |
|
2498 |
3098
|
2499 * input.cc (get_user_input (const octave_value_list&, bool)): |
3100
|
2500 Return octave_value_list() if user enters `quit', `exit', or `return'. |
3098
|
2501 If debugging, let eval_string handle the printing chores and |
|
2502 reset error_state before asking for more input. |
|
2503 |
|
2504 * input.cc (Fkeyboard): Unconditionally turn on history here. |
|
2505 |
3096
|
2506 * lex.l (have_continuation, have_ellipsis_continuation): Declare |
|
2507 arg as bool, not int. Change callers. |
|
2508 |
|
2509 * lex.l (Vbackslash_escapes): New static variable. |
|
2510 (backslash_escapes): New function. |
|
2511 (do_string_escapes): Return immediately if ! Vbackslash_escapes. |
|
2512 (eat_whitespace, eat_continuation): Only call have_continuation if |
|
2513 Vbackslash_escapes. |
|
2514 (handle_string): Backslash is only special if Vbackslash_escapes. |
|
2515 (symbols_of_lex): Add DEFVAR for backslash_escapes. |
|
2516 * octave.cc (maximum_braindamage): Set backslash_escapes to 0. |
|
2517 |
3095
|
2518 Thu Nov 13 16:20:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2519 |
3096
|
2520 * variables.cc (Fexist): Also return 2 if NAME is a regular file |
|
2521 somewhere in the LOADPATH. |
|
2522 |
3095
|
2523 * data.cc (sumsq): Fix doc string. |
|
2524 |
|
2525 * parse.y (Fsource): Call parse_fcn_file, not parse_and_execute. |
|
2526 |
3092
|
2527 Tue Oct 7 16:51:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2528 |
|
2529 * defun-int.h (DEFINE_FUN_INSTALLER_FUN): Set installed to true |
|
2530 after installing the function. |
|
2531 |
3088
|
2532 Thu Sep 25 10:17:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2533 |
|
2534 * DLD-FUNCTIONS/filter.cc (Ffilter): Return second output value |
|
2535 even when called with only 3 arguments. |
|
2536 |
3086
|
2537 Mon Sep 22 16:44:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2538 |
|
2539 * DLD-FUNCTIONS/rand.cc (do_rand): Print error if first of two |
|
2540 args is a string but doesn't match "seed". |
3088
|
2541 (Frand, Frandn): Fix doc string. |
3086
|
2542 |
3081
|
2543 Mon Aug 25 10:42:07 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2544 |
|
2545 * input.cc (get_user_input): Return an empty string if the user |
|
2546 just types RET. |
|
2547 |
3079
|
2548 Thu Jul 31 22:59:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2549 |
|
2550 * lex.l <TEXT_FCN>: Ensure that we handle words that begin with |
|
2551 single or double quotes as strings. |
|
2552 |
3074
|
2553 Thu Jul 17 13:06:48 1997 Klaus Gebhardt <gebhardt@crunch.ikp.physik.th-darmstadt.de> |
|
2554 |
|
2555 * DLD-FUNCTIONS/rand.cc (Frand): Use F77_XFCN to call getsd, |
|
2556 setsd, setall, setcgn, dgenunf, and dgennor since they can call |
|
2557 XSTOPX. |
|
2558 |
3072
|
2559 Mon Jul 14 12:54:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2560 |
|
2561 * dynamic-ld.cc (octave_dynamic_loader::load_fcn_from_dot_oct_file): |
|
2562 If first attempt to load function fails, prepend and underscore |
|
2563 and try again. |
|
2564 |
|
2565 * Makefile.in (install-inc): If defaults.h, oct-conf.h, or |
|
2566 oct-gperf.h don't exist in the current directory, look in $(srcdir). |
|
2567 |
3068
|
2568 Mon Jul 7 21:14:07 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2569 |
|
2570 * DLD-FUNCTIONS/qr.cc (Fqr): Correctly handle nargout == 0. |
|
2571 |
3067
|
2572 Wed Jul 2 16:47:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2573 |
|
2574 * matherr.c: New file. Move matherr function here. |
|
2575 * sysdep.cc: From here. |
|
2576 * Makefile.in (DIST_SRC): Add matherr.c to the list. |
|
2577 |
|
2578 * error.cc (handle_message): Avoid bug in g++ snapshot. |
|
2579 |
3065
|
2580 Thu Jun 26 22:04:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2581 |
|
2582 * utils.cc (file_in_path): Add default load path to PATH arg if |
|
2583 it begins or ends with a colon. |
|
2584 |
3060
|
2585 Wed Jun 25 13:31:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2586 |
|
2587 * oct-lvalue.h (octave_lvalue::struct_elt_ref): Ensure val is unique. |
|
2588 |
|
2589 Fri Jun 20 12:33:35 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2590 |
|
2591 * toplev.cc (cmd_death_handler): New function. |
|
2592 (run_command_and_return_output): Insert pid of command in |
|
2593 octave_child_list along with pointer to cmd_death_handler so we |
|
2594 can get the exit status without having to block SIGCHLD. |
|
2595 (cleanup_iprocstream): Remove pid of command from octave_child_list. |
|
2596 |
3053
|
2597 Sun Jun 15 16:11:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2598 |
3054
|
2599 * OPERATORS/op-cs-s.cc (ldiv): Doh, v1 is complex, v2 is real. |
|
2600 |
3053
|
2601 * Makefile.in (DISTFILES): Add mkops to the list. |
|
2602 (dist): Correctly link files in DLD-FUNCTIONS, OPERATORS, and |
|
2603 TEMPLATE-INST subdirectories. |
|
2604 |
3040
|
2605 Fri Jun 6 04:30:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2606 |
3042
|
2607 * DLD-FUNCTIONS/npsol.cc, DLD-FUNCTIONS/qpsol.cc, |
|
2608 DLD-FUNCTIONS/fsqp.cc: Delete. |
|
2609 * Makefile.in (DLD_XSRC): Remove them from the list. |
|
2610 |
3040
|
2611 * utils.cc (search_path_for_file): New arg, do_tilde_expansion. |
|
2612 If TRUE, perform tilde expansion on path before searching. |
|
2613 (file_in_path): Call search_path_for_file with do_tilde_expansion |
|
2614 set to false, since we've already performed tilde expansion on the |
|
2615 load path. |
|
2616 |
|
2617 * defaults.cc (loadpath): Perform tilde expansion here. |
|
2618 |
3029
|
2619 Thu Jun 5 01:42:39 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2620 |
3034
|
2621 * Makefile.in: Make building of static library optional. |
3036
|
2622 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034
|
2623 |
3033
|
2624 * dynamic-ld.cc (octave_shl_load_dynamic_loader::resolve_reference): |
|
2625 Call shl_findsym with type set to TYPE_UNDEFINED. |
|
2626 |
3029
|
2627 * Makefile.in (stamp-picdir): Delete. |
|
2628 (pic): New target. Don't worry so much about creating pic |
|
2629 directory only when it is really needed. |
|
2630 (stamp-interp): Delete. |
|
2631 (libraries): New target. Depend on shared library directly. |
|
2632 |
3024
|
2633 Wed Jun 4 00:09:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2634 |
|
2635 * octave.cc (main): Call dir_path::set_program_name here. |
|
2636 |
3021
|
2637 Tue Jun 3 16:47:34 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2638 |
3022
|
2639 * variables.cc (symbol_out_of_date): Make it work again. |
|
2640 |
3021
|
2641 * parse.y (parse_and_execute): Move here from toplev.cc |
|
2642 (default_eval_print_flag): Likewise. |
|
2643 (safe_fclose): Likewise. |
|
2644 (eval_string): Likewise. |
|
2645 (Fsource): Likewise. |
|
2646 (Ffeval): Likewise. |
|
2647 (feval): Likewise. |
|
2648 (Feval): Likewise. |
|
2649 (symbols_of_parse): Define default_eval_print_flag here instead of |
|
2650 in varaibles.cc. |
|
2651 (looks_like_octave_copyright): Move here from variables.cc |
|
2652 (gobble_leading_whitespace): Likeiwse. |
|
2653 (is_function_file): Likewise. |
|
2654 (restore_input_stream): Likewise. |
|
2655 (parse_fcn_file): Likewise. |
|
2656 (load_fcn_from_file): Likewise. |
|
2657 (get_help_from_file): Likewise. |
|
2658 |
|
2659 * toplev.cc (syms_of_toplev): Define argv, program_name, and |
|
2660 program_invocation_name here instead of in variables.cc. |
|
2661 |
|
2662 * parse.h (line_editing): Move here from toplev.h. Now bool, not int. |
|
2663 (reading_startup_message_printed) Likewise. |
|
2664 (input_from_startup_file): Likewise. |
|
2665 (input_from_command_line_file): Likewise. |
|
2666 |
|
2667 * load-save.cc: Use bool instead of int where appropriate. |
|
2668 |
|
2669 * input.h (enum echo_state): Move here from variables.h. |
|
2670 (Vecho_executing_commands): Likewise. Now bool, not int. |
|
2671 * input.cc (echo_executing_commands): Move here from variables.cc. |
|
2672 (symbols_of_input): Define echo_executing_commands here instead of |
|
2673 in variables.cc. |
|
2674 |
|
2675 * octave.cc (program_invocation_name): Don't define. |
|
2676 (intern_argv): Don't set program_invocation_name here. |
|
2677 (main): Call octave_env::set_program_name here, not in intern_argv. |
|
2678 |
|
2679 * toplev.cc (quitting_gracefully): Move here from octave.h and |
|
2680 make static bool instead of extern int. |
|
2681 |
|
2682 * error.cc (bind_global_error_variable, clear_global_error_variable): |
|
2683 Move here from variables.cc. |
|
2684 (symbols_of_error): Define error_text here instead of in variables.cc. |
|
2685 |
|
2686 * pager.cc (write_to_diary_file): Now bool, not int. |
|
2687 (really_flush_to_pager): Likewise. |
|
2688 (flushing_to_pager): Likewise. |
|
2689 * sighandlers.h (can_interrupt): Likewise. |
|
2690 * error.h (buffer_error_messages): Likewise. |
|
2691 * oct-hist.h (input_from_tmp_history_file, Vsaving_history): Likewise. |
|
2692 * input.h (forced_interactive): Likewise. |
|
2693 (get_input_from_eval_string): Likeiwse. |
|
2694 (reading_script_file): Likeiwse. |
|
2695 (reading_fcn_file): Likeiwse. |
|
2696 (interactive): Likewise. |
|
2697 |
|
2698 * unwind-prot.cc (saved_variable::saved_variable (bool *, bool)): |
|
2699 Set type_tag to boolean, not int. |
|
2700 |
3016
|
2701 Mon Jun 2 00:40:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2702 |
|
2703 * variables.h (Octave_builtin_fcn): Delete typedef. |
|
2704 |
|
2705 * help.cc (make_name_list): Move here from variables.cc. |
|
2706 (keyword_help, names): Now static. |
|
2707 (struct help_list): Move declaration here from help.h. |
|
2708 |
|
2709 * oct-hist.cc (Vhistory_file, Vhistory_size, Vsaving_history): |
|
2710 Move here from variables.cc. |
|
2711 (symbols_of_oct_hist): New function. |
|
2712 |
|
2713 * version.h: Protect against multiple inclusion. |
|
2714 |
|
2715 * defun.cc (check_version): New function. |
|
2716 * defun-int.h (DEFINE_FUN_INSTALLER_FUN): Use it. |
|
2717 |
|
2718 * help.h, help.cc (additional_help_message): Now extern. |
|
2719 (operator_help): Now static. |
|
2720 |
|
2721 * defun.cc (print_usage): Move here from help.cc |
|
2722 * DLD-FUNCTIONS/*.cc, data.cc, dirfns.cc, file-io.cc, input.cc, |
|
2723 load-save.cc, octave.cc, ov-list.cc, ov-typeinfo.cc, |
|
2724 ov-usr-fcn.cc, pager.cc, pr-output.cc, pt-plot.cc, strfns.cc, |
|
2725 syscalls.cc, sysdep.cc, utils.cc, toplev.cc: |
|
2726 Don't include help.h. |
|
2727 |
|
2728 * TEMPLATE-INST/Array-sym.cc: New file. |
|
2729 |
|
2730 * load-save.cc (do_load): Don't use ostream::form. |
|
2731 * pr-output.cc: Likewise, at least where it is easy to do so. |
|
2732 * oct-stream.cc: Ditto. |
|
2733 |
|
2734 * symtab.h (symbol_record::symbol_def::rows): New function. |
|
2735 (symbol_record::symbol_def::columns): Ditto. |
|
2736 (symbol_record::symbol_def::type_name): Ditto. |
|
2737 (symbol_record::rows): Ditto |
|
2738 (symbol_record::columns): Ditto |
|
2739 (symbol_record::type_name): Ditto |
|
2740 |
|
2741 * symtab.h, symtab.cc (symbol_record::hides_fcn): New function. |
|
2742 (symbol_record::hides_builtin): Ditto. |
|
2743 (symbol_record::print_symbol_info_line): Ditto. |
|
2744 (symbol_table::long_list): Delete. |
|
2745 (symbol_table::symbol_list): New function. |
|
2746 (symbol_table::maybe_list): Delete argc arg. |
|
2747 (symbol_table::name_list): Rename from symbol_table::list. |
|
2748 Change all callers. |
|
2749 |
|
2750 * symtab.h, symtab.cc (class symbol_record_info): Delete. |
|
2751 |
|
2752 * symtab.cc (matches_patterns): Use vector form of glob_match. |
|
2753 |
|
2754 Sun Jun 1 14:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2755 |
|
2756 * pt-check.h, pt-check.cc: New files, for semantic checking of |
|
2757 parse trees. |
|
2758 |
|
2759 * symtab.h (class symbol_def): Now nested in symbol_record class. |
|
2760 (enum TYPE): Move from symbol_def to symbol record class. Change |
|
2761 all uses. |
|
2762 |
|
2763 * symtab.h, symtab.cc (symbol_table::maybe_list): New function, |
|
2764 from variables.cc. Change all uses. |
|
2765 |
|
2766 * pt-idx.h (tree_identifier::lvalue_ok): New function. |
|
2767 * pt-id.h (tree_index_expression::lvalue_ok): Likewise. |
|
2768 * pt-indir.h (tree_indirect_ref::lvalue_ok): Likewise. |
|
2769 |
|
2770 * pt-pr-code.h, pt-pr-code.cc (tree_print_code::visit_oct_obj): Delete. |
|
2771 * pt-walk.h (tree_walker::visit_oct_obj): Delete declaration. |
|
2772 |
|
2773 * lex.h (class lexical_feedback): Delete maybe_screwed_again. |
|
2774 * lex.l (lexical_feedback::init): Don't set it. |
|
2775 |
|
2776 Fri May 30 16:07:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2777 |
|
2778 * mappers.cc: Include <cfloat> here. |
|
2779 |
|
2780 Tue May 27 10:08:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2781 |
|
2782 * toplev.cc (eval_string): Don't index tmp if it is empty. |
|
2783 |
|
2784 Sat May 24 00:18:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2785 |
|
2786 * load-save.cc (valid_identifier): Move here and make static. |
|
2787 * symtab.h, symtab.cc (valid_identifier): Delete declaration and |
|
2788 definition. |
|
2789 |
|
2790 Fri May 23 22:54:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2791 |
|
2792 * symtab.h (symbol_def::symbol_def): Use initializer list instead |
|
2793 of calling init_state. |
|
2794 (symbol_def::init_state): Delete. |
|
2795 |
|
2796 * symtab.cc (symbol_table::print_stats): New function. |
|
2797 * variables.cc (F__dump_symtab_info__): New function. |
|
2798 |
|
2799 * symtab.h, symtab.cc (symbol_table::hash): Return masked value. |
|
2800 (symbol_table::table_size): New data member. |
|
2801 (symbol_table::symbol_table): Set size of table in constructor. |
|
2802 (HASH_TABLE_SIZE): Replace uses with table_size. |
|
2803 (HASH_MASK): Delete. |
|
2804 * variables.cc (initialize_symbol_tables): Set top-level and |
|
2805 global symbol table sizes here. |
|
2806 |
2994
|
2807 Thu May 22 13:32:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2808 |
|
2809 * dynamic-ld.cc (octave_shl_load_dynamic_loader::resolve_reference): |
|
2810 Call shl_findsym with type set to TYPE_PROCEDURE. Pass the |
|
2811 address of the pointer we want to define. |
|
2812 |
2993
|
2813 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2814 |
|
2815 * DLD-FUNCTIONS/time.cc (extract_tm): Avoid memory leak in dealing |
|
2816 with time zone. |
|
2817 |
|
2818 * Makefile.in (install-in): Use new mk-includedir-link macro. |
|
2819 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. |
|
2820 |
|
2821 Tue May 20 01:24:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2822 |
|
2823 * ov-list.cc (Flist): Rename from Fmake_list. |
|
2824 |
|
2825 Mon May 19 14:45:58 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2826 |
|
2827 * octave.cc (maximum_braindamage): Set default_eval_print_flag to 0. |
|
2828 |
|
2829 Sat May 17 16:32:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2830 |
|
2831 * defaults.cc (set_default_editor): Default is now Emacs, not vi. |
|
2832 |
2984
|
2833 Fri May 16 00:07:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2834 |
2991
|
2835 * pt-idx.cc (tree_index_expression::name): New function. |
|
2836 |
|
2837 * pt.cc (tree::str_print_code): New file, new convenience function. |
|
2838 * pt-arg-list.cc (tree_argument_list::get_arg_names): Use it. |
|
2839 * pt-assign.cc (tree_simple_assignment::rvalue): Likewise. |
|
2840 (tree_multi_assignment::rvalue): Likewise. |
|
2841 |
2990
|
2842 * pt-colon.h (tree_colon_expression::save_base): New data memmber. |
|
2843 (tree_colon_expression::preserve_base): New function. |
|
2844 * parse.y (finish_colon_expression): When converting to a simple |
|
2845 expression, be sure to delete the original colon expression but |
|
2846 not the base value. |
|
2847 |
|
2848 * pt-mat.cc (tree_matrix::~tree_matrix): Actually do something. |
|
2849 |
2987
|
2850 * pt-all.h: New file. |
|
2851 * parse.y, lex.l, pt-pr-code.cc: Use it. |
|
2852 |
|
2853 * pt.h: Rename from pt-base.h. |
|
2854 |
|
2855 * All parse tree classes: Add private copy constructors and |
|
2856 assignment operators to prevent copying. |
|
2857 |
|
2858 * pt-base.cc: Delete. |
|
2859 |
2985
|
2860 * unwind-prot.h, unwind-prot.cc: Make a bit more object-oriented. |
|
2861 Change all uses of unwind_protect stuff to match. |
|
2862 |
|
2863 * pt-jump.h, pt-jump.cc (breaking, continuing, returning): |
|
2864 Make these flags static members of the corresponding class. |
|
2865 Change all uses. |
|
2866 |
2984
|
2867 * pt-assign.cc (tree_simple_assignment_expression::eval, |
|
2868 tree_multi_assignment_expression::eval): Clear lvalue index here. |
|
2869 |
|
2870 * oct-lvalue.cc (octave_lvalue::assign): Don't clear index here. |
|
2871 * oct-lvalue.h (octave_lvalue::clear_index): New function. |
|
2872 (octave_lvalue::set_index): Rename from octave_lvalue::index. |
|
2873 Change all callers. |
|
2874 |
2976
|
2875 Thu May 15 11:48:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2876 |
2983
|
2877 * pt-select.h, pt-select.cc (class tree_if_command_list, |
|
2878 class tree_if_clause, class tree_switch_case_list, |
|
2879 class tree_switch_case): Move here from pt-misc.h, pt-misc.cc. |
|
2880 * pt-decl.h, pt-decl.cc (class tree_decl_init_list, |
|
2881 class tree_decl_elt): Move here from pt-mist.h, pt-misc.cc |
|
2882 |
|
2883 * pt-arg-list.h, pt-stmt.h: New files, extracted from pt-misc.h. |
|
2884 * pt-arg-list.cc, pt-stmt.cc: New files, extracted from pt-misc.cc. |
|
2885 |
|
2886 * pt-decl.h, pt-except.h, pt-jump.h, pt-loop.h, pt-select.h: |
|
2887 New files, extraced from pt-cmd.h. |
|
2888 * pt-decl.cc, pt-except.cc, pt-jump.cc, pt-loop.cc, pt-select.cc: |
|
2889 New files, extraced from pt-cmd.cc. |
|
2890 |
2980
|
2891 * pt-unop.h, pt-binop.h, pt-colon.h, pt-idx.h, pt-assign.h: |
|
2892 New files, extracted from pt-exp.h |
|
2893 * pt-unop.cc, pt-binop.cc, pt-colon.cc, pt-idx.cc, pt-assign.cc: |
|
2894 New files, extracted from pt-exp.cc |
|
2895 * pt-exp.h, pt-exp.cc: Rename from pt-exp-base.h, pt-exp-base.cc. |
|
2896 |
2979
|
2897 * oct-lvalue.h: Rename from oct-var-ref.h. Rename class from |
|
2898 octave_variable_reference to octave_lvalue. Change all uses. |
|
2899 * oct-lvalue.cc: Rename from oct-var-ref.cc. |
|
2900 |
2978
|
2901 * variables.cc (bind_ans): Only bind ans and print result if value |
|
2902 is defined. |
|
2903 |
2976
|
2904 * defun.cc: New file. Move functions for installing objects in |
|
2905 the symbol table here from variables.cc. |
|
2906 |
|
2907 * oct-obj.h, oct-obj.cc: Add custom allocator, fwiw. |
|
2908 |
|
2909 * toplev.cc (main_loop): Correctly increment command number. |
|
2910 |
|
2911 * TEMPLATE-INST/SLList-tm.cc: Don't instantiate lists of pointers |
|
2912 to tree_matrix_row objects. |
|
2913 * TEMPLATE-INST/SLList-misc.cc: Do instantiate lists of pointers |
|
2914 to tree_argument_list objects. |
|
2915 |
|
2916 * DLD-FUNCTIONS/dassl.cc: Update to use new octave_function |
|
2917 interface to user-supplied functions. |
|
2918 * DLD-FUNCTIONS/fsolve.cc: Likewise. |
|
2919 * DLD-FUNCTIONS/lsode.cc: Likewise. |
|
2920 * DLD-FUNCTIONS/npsol.cc: Likewise. |
|
2921 * DLD-FUNCTIONS/quad.cc: Likewise. |
|
2922 |
|
2923 * dynamic-ld.h, dynamic-ld.cc (builtin_fcn_installer typedef): |
|
2924 Rename from builtin_fcn. |
|
2925 (octave_dynamic_loader::load_fcn_from_dot_oct_file): |
|
2926 Simplify by using new installer function defined by DEFUN_DLD. |
|
2927 |
|
2928 * defun-dld.h (DEFUN_DLD): Use DEFINE_FUN_INSTALLER_FUN instead of |
|
2929 DEFINE_FUN_STRUCT_FUN. |
|
2930 * defun.h (DEFUN_MAPPER): Use DEFUN_MAPPER_INTERNAL. |
|
2931 * defun-int.h (DEFVAR_INTERNAL): Rename from DEFVAR_INT and move |
|
2932 here from defun.h. Change all uses. |
|
2933 (DEFUN_MAPPER_INTERNAL): New macro. |
|
2934 (DEFINE_FUN_INSTALLER_FUN): New macro to define function that the |
|
2935 dynamic loader calls to do all the work of installing a new function. |
|
2936 (DEFINE_FUN_STRUCT_FUN): Delete. |
|
2937 |
|
2938 * parse.y: Rewrite to handle more general expressions. |
|
2939 * lex.l: Corresponding changes. |
|
2940 |
|
2941 * pt-walk.h, pt-pr-code.h, pt-pr-code.cc: Cope with new parse tree |
|
2942 object structure. |
|
2943 |
|
2944 * pt-misc.cc (class tree_for_command): Split into |
|
2945 tree_simple_for_command and tree_complex_for_command classes. |
|
2946 |
|
2947 * pt-misc.h, pt-misc.cc (tree_statement::eval): Handle identifier |
|
2948 lookup and printing and binding ans here. |
|
2949 (tree_statement_list::eval): Simplify. |
|
2950 (tree_argument_list::all_elements_are_constant): New function. |
|
2951 (class tree_decl_elt): Now contains id and expr, not an assignment |
|
2952 expression. |
|
2953 |
|
2954 * pt-exp-base.h pt-exp.h pt-id.h pt-indir.h pt-mat.h pt-const.h, |
|
2955 pt-exp-base.cc pt-exp.cc pt-id.cc pt-indir.cc pt-mat.cc pt-const.cc: |
|
2956 Replace eval functions with rvalue and lvalue functions. |
|
2957 Change all uses. |
|
2958 (lvalue_ok, rvalue_ok): New functions, for future compile-time |
|
2959 semantic checks. |
|
2960 |
|
2961 * oct-var-ref.h (is_defined, is_map): New functions. |
|
2962 |
|
2963 * pt-exp.h (class tree_oct_obj): Delete. |
|
2964 |
|
2965 * variables.cc (extract_function, is_valid_function): Return |
|
2966 pointer to octave_function, not octave_symbol. |
|
2967 (link_to_global_variable): Rewrite. Handle errors in |
|
2968 symbol_record::mark_as_linked_to_global. |
|
2969 |
|
2970 * symtab.h, symtab.cc (class symbol_def, class symbol_record): |
|
2971 Symbols are now stored as octave_value objects only. |
|
2972 |
|
2973 * ov.cc (install_types): Register function types here. |
|
2974 * ov-fcn.h, ov-fcn.cc, ov-builtin.h, ov-builtin.cc, ov-mapper.h, |
|
2975 ov-mapper.cc, ov-usr-fcn.h, ov-usr-fcn.cc: New classes for |
|
2976 functions as values. |
|
2977 * ov.h (class octave_value): Don't derive from octave_symbol. |
|
2978 * oct-fcn.h, oct-fcn.cc, oct-builtin.h, oct-builtin.cc, |
|
2979 oct-mapper.h, oct-mapper.cc, oct-usr-fcn.h, oct-usr-fcn.cc, |
|
2980 oct-sym.h, oct-sym.cc: Delete. |
|
2981 |
2963
|
2982 Sun May 11 17:51:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2983 |
|
2984 * help.cc (Ftype): Make it work again for functions. |
|
2985 |
|
2986 * pt-pr-code.cc (tree_print_code::print_parens): New function. |
|
2987 Use it in other tree_print_code functions to handle printing all |
|
2988 the parens that we found when parsing the expression, not just one |
|
2989 pair. |
|
2990 * pt-exp-base.h (tree_expression::paren_count): Rename from |
|
2991 is_in_parens. |
|
2992 * parse.y (maybe_warn_assign_as_truth_value): Use new name. |
|
2993 |
|
2994 * parse.y (constant): New non-terminal. |
|
2995 (simple_expr1): Use it. |
|
2996 |
|
2997 * parse.y (make_unary_op): Delete. |
|
2998 (simple_expr1): Where appropriate, use make_prefix_op and |
|
2999 make_postfix_op instead of make_unary_op. Allow increment and |
|
3000 decrement ops to work on expressions, not just identifiers. |
|
3001 (make_prefix_op, make_postfix_op): Arg is expression, not identifier. |
|
3002 Handle old unary_op cases too. |
|
3003 (fold (tree_unary_expression *)): Delete. |
|
3004 * pt-exp.h, pt-exp.cc (tree_prefix_expression::eval): Handle unary |
|
3005 minus and not here. |
|
3006 (tree_postfix_expression::eval): Likewise, for transpose and hermitian. |
|
3007 (class tree_prefix_expression, class tree_postfix_expression): |
|
3008 Derive from tree_unary_expression. Delete identifier member. |
|
3009 Delete ident member function. |
|
3010 (tree_unary_expression): Don't handle evaluation here. |
|
3011 * pt-exp-base.h (mark_in_parens): No longer virtual. Return this. |
|
3012 (reference): New virtual function. |
|
3013 (class tree_expression): Don't handle expression type here. |
|
3014 * pt-mvr-base.h (tree_multi_val_ret::tree_multi_val_ret): Likewise. |
|
3015 * pt-mvr.h, pt-mvr.cc (tree_multi_assignment_expression): Likewise. |
|
3016 * pt-walk.h (visit_unary_expression): Delete declaration. |
|
3017 * pt-pr-code.h, pt-pr-code.cc (visit_unary_expression): Delete. |
|
3018 (visit_prefix_expression): Use operand(), not ident(). |
|
3019 new, visit_postfix_expression): |
|
3020 * pt-id.h, pt-id.cc (increment, decrement): Delete. |
|
3021 |
|
3022 * pt-misc.cc (tree_parameter_list::define_from_arg_vector): Get a |
|
3023 reference to each element and use the assignment operator instead |
|
3024 of tree_identifier::define. |
|
3025 * pt-id.h, pt-id.cc (tree_identifier::define): Delete versions |
|
3026 that take octave_value and octave_symbol args. |
|
3027 |
|
3028 Sat May 10 23:32:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3029 |
|
3030 * pt-indir.h, pt-indir.cc (tree_indirect_reference::value): Delete. |
|
3031 |
|
3032 * oct-var-ref.cc (octave_variable_ref::assign): Clear idx after |
|
3033 assignment. |
|
3034 |
2976
|
3035 * octave_value classes: Add is_constant, is_function, and |
|
3036 function_value functions. |
|
3037 |
2963
|
3038 * ov.h, ov.cc (assign): Return void, not reference to octave_value. |
|
3039 (do_index_op): Rename, from index. |
|
3040 (do_struct_elt_index_op): Rename, from struct_elt_val. |
|
3041 Add version that accepts index arg. |
|
3042 Change all uses and derived classes to match. |
|
3043 * pt-const.h (index): Delete. |
|
3044 * oct-var-ref.h, oct-var-ref.cc (value): Handle indexed structure |
|
3045 ops here too. |
|
3046 |
2949
|
3047 Fri May 9 07:40:59 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3048 |
2958
|
3049 * pt-exp.cc (print_rhs_assign_val, symbols_of_pt_exp): New functions. |
|
3050 (Vprint_rhs_assign_val): New static variable. |
|
3051 (tree_simple_assignment_expression::eval): Use it to optionally |
|
3052 allow the rhs (which is the result) of an assignment to be printed |
|
3053 instead of the left. |
|
3054 |
2955
|
3055 * pt-exp.cc (tree_simple_assignment_expression::eval): Use new |
|
3056 octave_variabl_reference::index function to handle indexing. |
|
3057 |
|
3058 * oct-var-ref.h, oct-var-ref.cc (idx): New data member. |
|
3059 (octave_variable_reference::index): Set it. |
|
3060 (octave_variable_reference::assign): Handle indexing here. |
|
3061 Delete version of this function htat takes index arg. |
|
3062 |
|
3063 * variables.h (struct builtin_varaible): Delete. |
|
3064 * variables.cc (install_builtin_variable): Take all elts of |
|
3065 builtin_variable struct directly. |
|
3066 * defun.h (DEFVAR_INT): Call install_builtin_variable directly. |
|
3067 |
|
3068 * symtab.h, defun-int.h: Don't include variables.h. |
|
3069 |
|
3070 * symtab.h (symbol_record::sv_function): Move typedef here. |
|
3071 * variables.h: From here. |
|
3072 |
|
3073 * oct-var-ref.h, oct-var-ref.cc: New files for |
|
3074 octave_variable_reference class, extracted from variables.h and |
|
3075 variables.cc |
2956
|
3076 * Makefile.in: Add them to the appropriate lists. |
2955
|
3077 |
|
3078 * oct-obj.h (octave_value_list::empty): New function. |
|
3079 |
2949
|
3080 * variables.h (class octave_variable_reference): Rewrite to work |
|
3081 as a proxy class to store a pointer to octave_value and, |
|
3082 optionally, the change function to call and the name of the |
|
3083 structure element we are referencing. Handle assignment, |
|
3084 increment, decrement, and value operations. |
|
3085 |
2956
|
3086 Thu May 8 23:40:59 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3087 |
2949
|
3088 * ov-re-mat.h, ov-re-mat.cc (struct_elt_ref, struct_elt_val, |
|
3089 assign_struct_elt): Provide functions for looking up and setting |
|
3090 matrix dimensions. |
|
3091 |
|
3092 * symtab.cc (symbol_record::define): Don't call sv_fcn here. |
|
3093 Don't save and restore value here. |
|
3094 (symbol_record::define_builtin_var): Do call sv_fcn here. |
|
3095 (symbol_record::variable_reference): Don't make value unique here. |
|
3096 Return pointer to sv_fcn in octave_variable_reference. |
|
3097 |
|
3098 * pt-misc.cc (tree_parameter_list::initialize_undefined_elements): |
|
3099 Simplify. |
|
3100 |
|
3101 * pt-id.h, pt-id.cc (tree_identifier::reference): Return |
|
3102 octave_variable_reference, not octave_value&. |
|
3103 * symtab.h, symtab.cc (symbol_record::variable_reference): Ditto. |
|
3104 * pt-indir.h, pt-indir.cc (tree_indirect_ref::reference): Ditto. |
|
3105 Simplify too. |
|
3106 |
|
3107 * pt-const.h (tree_constant::reference, tree_constant::value, |
|
3108 tree_constant::assign): Delete unnecessary functions. |
|
3109 * pt-id.h, pt-id.cc (tree_identifier::assign): Ditto. |
|
3110 |
|
3111 * pt-cmd.cc (tree_for_command::do_for_loop_once): Simplify. |
|
3112 |
|
3113 * ov.h, ov.cc, ov-base.h, ov-base.cc, ov-struct.h, ov-struct.cc |
|
3114 (struct_elt_ref): New arg, octave_value* parent. |
|
3115 Allow deferred lookup. Return octave_variable_reference, not |
|
3116 octave_value&. |
|
3117 |
|
3118 * ov.h, ov.cc, ov-re-mat.h, ov-re-mat.cc (assign_struct_elt): |
|
3119 New virtual functions. |
|
3120 |
|
3121 * ov.h, ov.cc (Vresize_on_range_error): Now static. |
|
3122 |
|
3123 * pt-mvr.cc (tree_index_expression::eval): Delete redundant check |
|
3124 of error_state. |
|
3125 |
2944
|
3126 Wed May 7 21:17:00 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3127 |
|
3128 * input.cc (generate_completion): Rename from command_generator. |
|
3129 Use string objects instead of char*. |
|
3130 (generate_possible_completions): Let qsort also make matches unique. |
|
3131 (initialize_command_input): Register generate_completion with the |
|
3132 command_editor class. |
|
3133 (completion_matches): Simplify using generate_completion. |
|
3134 |
|
3135 * pt-pr-code.cc (tree_print_code::visit_constant): For val, call |
|
3136 print_raw, not print. |
|
3137 |
|
3138 * oct-usr-fcn.h (octave_user_function::argn_sr): New data member. |
|
3139 (octave_user_function::install_automatic_vars): Rename from |
|
3140 install_nargin_and_nargout. |
|
3141 (octave_user_function::bind_automatic_vars): Rename from |
|
3142 bind_nargin_and_nargout. |
|
3143 * oct-usr-fcn.cc (octave_user_function::eval): Extract arg names |
|
3144 from args vector and bind them to argn. |
|
3145 * oct-obj.h (octave_value_list::names): New data member. |
|
3146 * oct-obj.cc (octave_value_list::stash_name_tags): New function. |
|
3147 (octave_value_list::name_tags): Ditto. |
|
3148 * pt-const.h, pt-const.cc (tree_constant::print_raw): New function. |
|
3149 * pt-misc.h, pt-misc.cc (tree_argument_list::get_arg_names): |
|
3150 New function. |
|
3151 * pt-mvr.h, pt-mvr.cc (class index_expression): Cache arg names. |
|
3152 * toplev.cc (feval): Now static. Handle arg names. |
|
3153 |
|
3154 * mkops: Cope with moving files defining operators to OPERATORS |
|
3155 subdirectory. |
|
3156 |
2937
|
3157 Tue May 6 00:48:59 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3158 |
|
3159 * DLD-FUNCTIONS/getgrent.cc: Use new octave_group class. |
|
3160 * DLD-FUNCTIONS/getpwent.cc: Use new octave_passwd class. |
|
3161 |
|
3162 * syscalls.cc: Simplify by using new functions defined in |
|
3163 liboctave/oct-syscalls.cc. |
|
3164 |
|
3165 * file-io.cc (Ftmpnam): Accept DIR and PREFIX args. |
|
3166 |
2929
|
3167 Mon May 5 00:54:03 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3168 |
2932
|
3169 * ov-str-mat.cc (octave_char_matrix_str::print_name_tag): Print |
|
3170 empty strings on one line. |
|
3171 |
2929
|
3172 * DLD-FUNCTIONS, OPERATORS, and TEMPLATE-INST: New subdirectories. |
|
3173 Move appropriate files to new directories. |
|
3174 * Makefile.in: Add DLD-FUNCTIONS, OPERATORS, and TEMPLATE-INST |
|
3175 directories to VPATH. Fix rules to work with new directory |
|
3176 structure. |
|
3177 |
2927
|
3178 Sun May 4 22:40:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3179 |
|
3180 * input.cc (initialize_command_input): Rename from |
|
3181 initialize_readline. |
|
3182 (gnu_readline, octave_gets, get_user_input): Simplify, return |
|
3183 string, not char *. |
|
3184 |
|
3185 * Many of other files: Miscellaneous changes to go along with the |
|
3186 changes described in the liboctave/ChangeLog for May 4. More code |
|
3187 moved from here to liboctave. |
|
3188 |
|
3189 Fri May 2 19:50:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3190 |
|
3191 * pathlen.h: Move to ../liboctave. |
|
3192 |
2921
|
3193 Thu May 1 21:50:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3194 |
|
3195 * variables.cc (get_struct_elts): New fucntion. |
|
3196 (looks_like_struct, generate_struct_completions): Move here from |
|
3197 input.cc, rewrite, and make work again. |
|
3198 |
2916
|
3199 Wed Apr 30 00:24:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3200 |
|
3201 * ov-base.h, ov-bool-mat.cc, ov-bool-mat.h, ov-bool.cc, ov-bool.h, |
|
3202 ov-ch-mat.cc, ov-ch-mat.h, ov-complex.cc, ov-complex.h, |
|
3203 ov-cx-mat.cc, ov-cx-mat.h, ov-file.cc, ov-file.h, ov-list.cc, |
|
3204 ov-range.cc, ov-range.h, ov-re-mat.cc, ov-re-mat.h, ov-scalar.cc, |
|
3205 ov-scalar.h, ov-str-mat.cc, ov-struct.cc, ov.h (scalar_value): |
|
3206 New function. Same as double_value, but name is consistent with |
|
3207 octave_scalar class. |
|
3208 |
|
3209 * op-fil-b.cc, op-fil-cm.cc, op-fil-lis.cc, op-fil-rec.cc, |
|
3210 op-fil-str.cc, op-fil-bm.cc, op-fil-cs.cc, op-fil-m.cc, |
|
3211 op-fil-s.cc: New files. |
|
3212 |
|
3213 * ops.h (ASSIGNOPDECL, DEFASSIGNOP, DEFASSIGNOP_FN, CONVDECL, |
|
3214 DEFCONV, BINOPDECL, DEFBINOPX, DEFBINOP, DEFBINOP_OP, DEFBINOP_FN, |
|
3215 BINOP_NONCONFORMANT): New macros. |
|
3216 * op-b-b.cc, op-bm-bm.cc, op-cm-cm.cc, op-cm-cs.cc, op-cm-m.cc, |
|
3217 op-cm-s.cc, op-cs-cm.cc, op-cs-cs.cc, op-cs-m.cc, op-cs-s.cc, |
|
3218 op-m-cm.cc, op-m-cs.cc, op-m-m.cc, op-m-s.cc, op-s-cm.cc, |
|
3219 op-s-cs.cc, op-s-m.cc, op-s-s.cc, op-str-str.cc: Use them. |
|
3220 |
|
3221 * Makefile.in (octave): Also depend on ops.o. |
|
3222 |
|
3223 * builtins.h: Delete. |
|
3224 * octave.cc: Add extern declaration here. |
|
3225 |
|
3226 * mappers.h: Delete. |
|
3227 * Makefile.in (INCLUDES): Delete from list. |
|
3228 * mkbuiltins: Add extern declaration in builtins.cc. |
|
3229 |
|
3230 * mkops: New file. |
|
3231 * ops.cc: Delete. |
|
3232 * Makefile.in (SOURCES): Delete from the list. |
|
3233 (ops.cc): New target. |
|
3234 (OP_SOURCES): New list. Move all op-*.cc files here from SOURCES. |
|
3235 Add $(OP_SOURCES) to SOURCES list. |
|
3236 |
|
3237 * variables.cc (symbols_of_variables): No longer static. |
|
3238 * ov.cc (symbols_of_ov): Rename from symbols_of_value. |
|
3239 |
|
3240 * ov-base.h: Delete declaration for install_base_type_conversions. |
|
3241 * op-b-b.h, op-bm-bm.h, op-cm-cm.h, op-cm-cs.h, op-cm-m.h, |
|
3242 op-cm-s.h, op-cs-cm.h, op-cs-cs.h, op-cs-m.h, op-cs-s.h, |
|
3243 op-m-cm.h, op-m-cs.h, op-m-m.h, op-m-s.h, op-s-cm.h, op-s-cs.h, |
|
3244 op-s-m.h, op-s-s.h, op-str-str.h: Delete. |
|
3245 * Makefile.in (INCLUDES): Delete them from the list. |
|
3246 |
|
3247 Tue Apr 29 22:27:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3248 |
|
3249 * variables.h, variables.cc (install_builtin_variables): Delete. |
|
3250 * mkbuiltins: Also generate install_builtin_variables function. |
|
3251 * Makefile.in: Fix rule to call mkbuiltins with correct args. |
|
3252 (clean): Also delete def-files and var-files. |
|
3253 * defaults.h.in, dirfns.h, error.h, file-io.h, help.h, input.h, |
|
3254 lex.h, load-save.h, oct-usr-fcn.h, pager.h, parse.h, pr-output.cc, |
|
3255 pr-output.h, pt-mat.h, pt-misc.h, pt-plot.h, toplev.h: |
|
3256 Delete declarations of symbols_of_* functions. |
|
3257 * data.h, syscalls.h: Delete. |
|
3258 |
|
3259 * pr-output.cc (octave_print_internal): Leave printing of final |
|
3260 new line up to the caller. |
|
3261 |
|
3262 * ov.h, ov.cc (reset_indent_level, increment_indent_level, |
|
3263 decrement_indent_level, newline, indent, reset, |
|
3264 curr_print_indent_level, beginning_of_line): |
|
3265 New functions and static data to manage indent level for printing. |
|
3266 (print_as_scalar): Delete. |
|
3267 (print, print_with_name): Always require stream arg. |
|
3268 Change all callers. |
|
3269 |
|
3270 * oct-stream.h (octave_stream::input_stream): Make publicly available. |
|
3271 (octave_stream::output_stream): Likewise. |
|
3272 |
|
3273 * ov-base.h, ov-base.cc, ov.h, ov.cc, ov-file.h ov-base.h |
|
3274 (is_file, stream_value, stream_number): New functions. |
|
3275 * ov-file.h, ov-file.cc: New files for value class to manage files. |
|
3276 * file-io.cc (symbols_of_file_io): Define stdin, stdout, and |
|
3277 stderr as octve_file objects, not just integers. |
|
3278 (Ffopen, Fpopen): Return octave_file objects, not integer file ids. |
|
3279 * syscalls.cc (Fpipe): Likewise. |
|
3280 * oct-stream.h, oct-stream.cc (octave_stream_list::insert): |
|
3281 Return octave_file object, not integer file id. |
|
3282 |
|
3283 * ov-base.cc, ov-bool-mat.cc, ov-bool.cc, ov-ch-mat.cc, |
|
3284 ov-complex.cc, ov-cx-mat.cc, ov-file.cc, ov-list.cc, ov-range.cc, |
|
3285 ov-re-mat.cc, ov-scalar.cc, ov-str-mat.cc, ov-struct.cc, ov.cc |
|
3286 (print_name_tag, print_raw): New functions. |
|
3287 |
|
3288 * help.cc (Ftype): Don't cast symbol definition to tree_constant *. |
|
3289 |
|
3290 * variables.cc (link_to_global_variable): Don't try to define |
|
3291 symbol with tree_constant objects. |
|
3292 (bind_ans): Call symbol_record::define directly and then |
|
3293 octave_value::print_with_name instead of creating a temporary |
|
3294 assignment expression. |
|
3295 |
|
3296 * pt-pr-code.cc (tree_print_code::indent): Don't use ostream::form. |
|
3297 |
|
3298 * pt-exp-base.h, pt-exp.h, pt-exp.cc (oper): Return string, not |
|
3299 char *. Change all where necessary. |
|
3300 |
|
3301 Mon Apr 28 16:33:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3302 |
|
3303 * ov.h (octave_value binary_op enum): Add lshift and rshift. |
|
3304 (octave_value assign_op enum): Add lshift_eq and rshift_eq. |
|
3305 * ov.cc (assign_op_as_string, binary_op_as_string): Include them. |
|
3306 * parse.y (LSHIFT_EQ RSHIFT_EQ LSHIFT RSHIFT): New tokens. |
|
3307 Add them to the precedence list. |
|
3308 (simple_expr): Add new operators. |
|
3309 (make_assign_op, make_binary_op): Handle new operators. |
|
3310 * lex.l: Recognize new operators. |
|
3311 |
|
3312 * lex.l: Recognize them. |
|
3313 |
|
3314 Sun Apr 27 20:17:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2898
|
3315 |
|
3316 * pt-misc.cc (Vsilent_functions, silent_functions): |
|
3317 Move here from oct-usr-fcn.cc. |
|
3318 (symbols_of_pt_misc): New function. DEFVAR silent_functions. |
|
3319 (tree_statement_list::eval): Handle Vsilent_functions here instead |
|
3320 of in octave_user_function::eval. |
|
3321 (tree_statement::eval): New functions. |
|
3322 (tree_statement_list::eval): Use them. |
|
3323 Change print flag arg to silent flag. Change all callers. |
|
3324 * variables.cc (install_builtin_variables): Call symbols_of_pt_misc. |
|
3325 * toplev.cc (parse_and_execute): Delete print arg. Change all callers. |
|
3326 (eval_string): Change print flag arg to silent flag. Change callers. |
|
3327 |
|
3328 * dynamic-ld.h, dynamic-ld.cc: Rewrite to use singleton class. |
|
3329 * variables.cc (load_fcn_from_file): Use new dynamic linking class. |
|
3330 |
2893
|
3331 * dynamic-ld.h (Octave_builtin_fcn): Delete typedef. |
|
3332 * dynamic-ld.cc: Simplify via the magic of function pointers. |
|
3333 |
|
3334 * pt-fcn.h pt-fcn.cc pt-fvc.h pt-fvc.cc pt-fvc-base.h pt-fvc-base.cc: |
|
3335 Delete obsolete files. |
|
3336 * Makefile.in: Remove them from various lists. |
|
3337 |
|
3338 * pt-walk.h (visit_octave_user_function): Rename from visit_function. |
|
3339 (visit_builtin): Delete. |
|
3340 * pt-pr-code.h, pt-pr-code.cc (visit_octave_user_function): |
|
3341 Rename from visit_function. |
|
3342 (visit_octave_user_function_header): Rename from visit_function_header. |
|
3343 (visit_octave_user_function_trailer): Rename from |
|
3344 visit_function_trailer. |
|
3345 |
|
3346 * ov.h, ov.cc (eval): New functions. |
|
3347 |
|
3348 * dassl.cc, fsolve.cc, lsode.cc, npsol.cc, qpsol.cc, quad.cc: |
|
3349 Declare user-defined functions as a pointer to an octave_symbol |
|
3350 object, not as a pointer to a tree_fvc object. |
|
3351 |
|
3352 * symtab.h, symtab.cc: Use new octave_symbol class. |
|
3353 * variables.cc (install_builtin_function, install_builtin_mapper, |
|
3354 install_builtin_variable, install_builtin_variable_as_function): |
|
3355 Make work with new octave_symbol class and symbol table structure. |
|
3356 |
|
3357 * variables.h: Delete declaration of builtin_function struct. |
|
3358 * defun-dld.h (DEFUN_DLD): Simplify. |
|
3359 * defun-int.h (DEFINE_FUN_STRUCT): Delete. |
|
3360 (DEFINE_FUN_STRUCT_FUN): Rewrite to not use static builtin_function |
|
3361 object. |
|
3362 |
|
3363 * mappers.h: Delete declaration of builtin_mapper_function struct. |
|
3364 * mappers.cc: Declare wrapper functions static. |
|
3365 * defun.h (DEFUN_MAPPER): Simplify. |
|
3366 |
|
3367 * oct-sym.h: New file. Declare base class for Octave symbols. |
|
3368 * ov.h: Derive octave_value class from octave_symbol. |
|
3369 * oct-fcn.h, oct-fcn.cc: New files to declare and define |
|
3370 base class for functions. |
|
3371 * oct-builtin.h, oct-builtin.cc: New files to declare and define |
|
3372 class for built-in functions. |
|
3373 * oct-mapper.h, oct-mapper.cc: New files to declare and define |
|
3374 class for mapper functions. |
|
3375 * oct-usr-fcn.h, oct-usr-fcn.cc: New files to declare and define |
|
3376 base class for user-defined functions. |
|
3377 * Makefile.in: Add new files to appropriate lists. |
|
3378 |
|
3379 * pt-id.h, pt-id.cc: Move tree_identifier class here. |
|
3380 * pt-fvc.h, pt-fvc.cc: From here. |
|
3381 |
|
3382 * pt-indir.h, pt-indir.cc: Move tree_indirect_ref class here. |
|
3383 * pt-fvc.h, pt-fvc.cc: From here. |
|
3384 |
2881
|
3385 Thu Apr 24 03:58:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3386 |
2884
|
3387 * parse.y (magic_colon): New nonterminal. |
|
3388 (arg_list): Simplify using magic_colon. |
|
3389 |
2883
|
3390 * lex.h (class lexical_feedback): Delete maybe_screwed field. |
|
3391 New field, parsed_function name. |
|
3392 * lex.l (lexical_feedback::init): Initialize it. |
|
3393 (handle_identifier): Don't return SCREW. Handle switching |
|
3394 symbol table context properly for `function f ()' vs `function x ='. |
|
3395 (is_keyword): If looking at function keyword, don't set current |
|
3396 symbol table to point to the local table. |
|
3397 * parse.y (recover_from_parsing_function): New function. |
|
3398 (finish_function_def): Use identifier, not token. |
|
3399 Simplify parsing of functions. |
|
3400 |
|
3401 * ov-list.h, ov-list.cc: New files to implement generic list type. |
|
3402 * ov.cc (list_indent): New global variable. |
|
3403 (increment_list_indent, decrement_list_indent): New functions. |
|
3404 (install_types): Register octave_list type. |
|
3405 * ov-base.cc (octave_base_value::is_list): New function. |
|
3406 |
2881
|
3407 * oct-sym.h: New file. |
|
3408 * ov.h (class octave_value): Derive from octave_symbol class. |
|
3409 |
|
3410 * pt-const.h, pt-const.cc: Delete lots of old useless cruft. |
|
3411 |
|
3412 * pt-exp.h, pt-exp.cc (tree_binary_expression): Use type codes for |
|
3413 operators from octave_value instead of repeating them here. |
|
3414 |
|
3415 * pt-fvc-base.cc (tree_fvc::increment, tree_fvc::decrement): Delete. |
|
3416 * pt-fvc.cc (tree_identifier::increment): Get reference to value |
|
3417 and increment that instead of using virutal tree_fvc::increment |
|
3418 function. |
|
3419 |
|
3420 * lex.l: Handle +=, -=, *=, /=, .+=, .-=, .*=, ./=, &=, and |= ops. |
2883
|
3421 * parse.y (make_assign_op): Rename from make_simple_assignment and |
|
3422 handle different op types. |
|
3423 (simple_expr1): Do new ops. |
2881
|
3424 * pt-misc.cc (initialize_undefined_elements): Pass op to assign. |
|
3425 * pt-cmd.cc (tree_for_command::do_for_command_once): Likewise. |
|
3426 * pt-fvc.cc (tree_identifier::assign): Pass op. |
|
3427 * pt-exp.cc (tree_simple_assignment_expression): Handle new ops. |
|
3428 * variables.cc (octave_variable_reference::assign): Likewise. |
|
3429 * ov.h (class octave_value): Likewise. |
|
3430 * ov.cc (octave_value::assign_op_as_string): New function. |
|
3431 (octave_value::assign, octave_value::convert_and_assign, |
|
3432 octave_value::try_assignment_with_conversion, |
|
3433 octave_value::try_assignment): Pass op. |
|
3434 * pt-pr-code.cc (tree_print_code::visit_simple_assignment_expression): |
|
3435 Use expr.oper() instead of printing "=". |
|
3436 * op-cm-cm.cc, op-cm-cs.cc, op-cm-m.cc, op-cm-s.cc, op-m-m.cc, |
|
3437 op-m-s.cc, op-str-str.cc: Pass op to INSTALL_ASSIGNOP. |
|
3438 * ops.h (INSTALL_ASSIGNOP): Pass op. |
2883
|
3439 * ov-typeinfo.cc (do_register_assign_op): Include op type in table. |
|
3440 (do_lookup_assign_op): Use op in lookup. |
2881
|
3441 |
|
3442 * ops.h (INSTALL_UNOP): Delete. |
|
3443 |
|
3444 * input.cc (generate_struct_completions, looks_like_struct): |
|
3445 Disable, since they don't work now anyway. |
|
3446 |
|
3447 * help.cc (Ftype): Work with octave_value instead of a pointer to |
|
3448 tree_constant. |
|
3449 * symtab.cc (symbol_record_info::symbol_record_info): Likewise. |
|
3450 |
|
3451 |
|
3452 Tue Apr 22 22:59:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3453 |
|
3454 * file-io.cc (Ffprintf): If first arg is a string, assume FID = 1. |
|
3455 |
|
3456 Fri Apr 18 20:16:34 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3457 |
|
3458 * oct-obj.h, oct-obj.cc: Implement octave_value_list with |
|
3459 Array<octave_value> as a data member, not as a class derived from |
|
3460 Array<octave_value>. |
|
3461 (octave_value_list::length, octave_value_list::resize, |
|
3462 octave_value_list::prepend, octave_value_list::append, |
|
3463 octave_value_list::reverse): New functions. |
|
3464 |
|
3465 * op-cm-cm.cc, op-cm-cs.cc, op-cm-m.cc, op-cm-s.cc, op-cs-cm.cc, |
|
3466 op-cs-m.cc, op-m-cm.cc, op-m-cs.cc, op-m-m.cc, op-m-s.cc, |
|
3467 op-s-cm.cc, op-s-m.cc: Use new bool ops from liboctave instead of |
|
3468 the macros defined in ops.h. |
|
3469 |
2865
|
3470 Thu Apr 17 13:12:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3471 |
|
3472 * parse.y (ABORT_PARSE): Handle forced_interactive the same as |
|
3473 interactive. |
|
3474 |
|
3475 Mon Apr 14 01:46:50 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3476 |
|
3477 * input.cc (octave_read): Don't forget to free input buffer if it |
|
3478 exists and has zero length. |
|
3479 (gnu_readline): Free buf if fgets returns 0. |
|
3480 |
|
3481 Wed Apr 9 00:03:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3482 |
|
3483 * time.cc (mk_tm_map): Only set zone field if HAVE_TM_ZONE or |
|
3484 HAVE_TZNAME are defined. |
|
3485 |
|
3486 Tue Apr 8 12:39:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3487 |
|
3488 * time.cc (extract_tm): Set tm.tm_zone if HAVE_TM_ZONE is defined, |
|
3489 not if HAVE_TMZONE is defined. |
|
3490 |
|
3491 * Makefile.in (%.oct : %.o): Use $(SH_LD), not $(CXX). |
|
3492 |
|
3493 Wed Apr 2 21:32:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3494 |
|
3495 * dynamic-ld.cc, dynamic-ld.h (init_dynamic_linker): Delete |
|
3496 function and declaration. |
|
3497 * octave.cc (main): Don't call it. |
|
3498 |
2856
|
3499 Mon Mar 31 00:37:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3500 |
2859
|
3501 * pt-base-exp.h (tree_expression::eval): Give arg a default value. |
|
3502 * pt-const.h (tree_constant::eval): Likewise. |
|
3503 * pt-exp.h (tree_prefix_expression::eval, tree_colon_expression::eval, |
|
3504 tree_postfix_expression::eval, tree_unary_expression::eval, |
|
3505 tree_binary_expression::eval, tree_boolean_expression::eval, |
|
3506 tree_simple_assignment_expression::eval): Likewise. |
|
3507 * pt-fcn.h (tree_function::eval): Likewise. |
|
3508 * pt-fvc.h (tree_identifier::eval, tree_indirect_ref::eval, |
|
3509 tree_builtin::eval): Likewise. |
|
3510 * pt-mat.h (tree_matrix::eval): Likewise. |
|
3511 * pt-misc.h (tree_statement_list::eval): Likewise. |
|
3512 * pt-mvr-base.h (tree_multi_val_ret::eval): Likewise. |
|
3513 * pt-mvr.h (tree_oct_obj::eval, tree_index_expression::eval, |
|
3514 tree_multi_assignment_expression::eval): Likewise. |
|
3515 * dassl.cc, fsolve.cc, load-save.cc, lsode.cc, npsol.cc, parse.y, |
|
3516 pt-cmd.cc, pt-exp-base.cc, pt-exp.cc, pt-fvc.cc, pt-mat.cc, |
|
3517 pt-misc.cc, pt-mvr.cc, pt-plot.cc, quad.cc, toplev.cc, variables.cc: |
|
3518 Change callers of eval() to use bool instead of int and to make |
|
3519 use of default argument value. |
|
3520 |
|
3521 * toplev.h, toplev.cc (parse_and_execute, eval_string): Flag args |
|
3522 are now bool instead of int. |
|
3523 |
2856
|
3524 * symtab.h, symtab.cc: Use bool instead of int in more places. |
|
3525 * variables.h, variables.cc: Likewise. |
2857
|
3526 * lex.h, lex.l: Likewise. |
|
3527 * parse.y: Likewise. |
2856
|
3528 * help.cc, input.cc, lex.l, load-save.cc, parse.y, pt-fcn.cc: |
|
3529 Change callers of symbol_table::lookup to use bool instead of int, |
|
3530 and to make use of default arguments. |
|
3531 |
2850
|
3532 Fri Mar 28 15:33:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3533 |
2852
|
3534 * parse.y (Vwarn_comma_in_declaration): Delete. |
|
3535 (symbols_of_parse): Delete DEFVAR for warn_comma_in_declaration. |
|
3536 (decl1): Don't allow commas in declarations. |
|
3537 |
2850
|
3538 * lsode.cc (struct LSODE_OPTIONS): Handle integer options. |
|
3539 (print_lsode_option_list, set_lsode_option, show_lsode_option): Ditto. |
|
3540 (lsode_option_table): Add element for step limit. |
|
3541 (lsode_user_jacobian): New function. |
|
3542 (Flsode): Allow function name arg to be a 2-element string array |
|
3543 specifying the function and jacobian function. |
|
3544 |
|
3545 * variables.cc (get_global_value, set_global_value): New functions. |
|
3546 |
2846
|
3547 Wed Mar 26 17:08:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3548 |
|
3549 Implement static variable declaration: |
|
3550 |
|
3551 * lex.l (is_keyword): Handle static. |
|
3552 * octave.gperf: Likewise. |
|
3553 * parse.y (Vwarn_comma_in_declaration): Rename from |
|
3554 Vwarn_comma_in_global_decl. |
|
3555 Handle new static command. |
|
3556 * pt-cmd.h, pt-cmd.cc (class tree_decl_command): New base class |
|
3557 for static and global declaration commands. |
|
3558 (class tree_global_command): Derive from tree_decl_command. |
|
3559 (class tree_static_command): New class, derived from tree_decl_command. |
|
3560 * pt-fvc.cc, pt-fvc.h (tree_identifier::mark_as_static): New function. |
|
3561 * pt-misc.h, pt-misc.h (class tree_decl_elt): Rename from tree_global. |
|
3562 (class tree_decl_init_list): Rename from tree_global_init_list. |
|
3563 * pt-pr-code.cc, pt-pr-code.h (tree_print_code::visit_decl_command): |
|
3564 Rename from visit_global_command. |
|
3565 (tree_print_code::visit_decl_elt): Rename from visit_global. |
|
3566 (tree_print_code::visit_decl_init_list): Rename from |
|
3567 visit_global_init_list. |
|
3568 * pt-walk.h (tree_walker::visit_decl_command): Rename from |
|
3569 visit_global_command. |
|
3570 (tree_walker::visit_decl_elt): Rename from visit_tree_global. |
|
3571 (tree_walker::visit_decl_init_list): Rename from |
|
3572 visit_global_init_list. |
|
3573 * variables.cc (link_to_global_variable): Trying to make a static |
|
3574 variable global is an error. |
|
3575 * SLList-misc.cc: Instantiate lists of pointers to tree_decl_elt |
|
3576 objects, not tree_global objects. |
|
3577 * symtab.h, symtab.cc (symbol_record::tagged_static): New field. |
|
3578 (symbol_record::mark_as_static, symbol_record::is_static): |
|
3579 New functions. |
|
3580 * symtab.cc (symbol_record::init_state): Initialize tagged_static. |
|
3581 (symbol_record::clear): Don't clear static variables. |
|
3582 * symtab.cc (push_context): Don't do anything for static variables. |
|
3583 |
2825
|
3584 Tue Mar 25 17:17:17 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3585 |
2881
|
3586 * ov-bool-mat.cc, ov-bool-mat.h, ov-bool.cc, ov-bool.h: New files. |
2832
|
3587 |
2831
|
3588 * defaults.cc (symbols_of_defaults): DEFCONST OCTAVE_HOME. |
|
3589 |
|
3590 * toplev.cc (octave_config_info): Delete use of CXXLIBS. |
|
3591 * oct-conf.h.in: Ditto. |
|
3592 |
2830
|
3593 * octave.cc (maximum_braindamage): Don't bind prefer_zero_one_indexing. |
|
3594 * ov.h: Don't declare Vprefer_zero_one_indexing. |
|
3595 * ov.cc: Don't define Vprefer_zero_one_indexing. |
|
3596 (prefer_zero_one_indexing): Delete. |
|
3597 (symbols_of_value): Delete DEFVAR for prefer_zero_one_indexing. |
|
3598 |
2825
|
3599 * ov.h, ov.cc, ov-base.h, ov-base.cc: Add constructors and |
|
3600 extractors for bool and boolMatrix types. |
|
3601 |
|
3602 * ov.cc (install_types): Register octave_bool and |
|
3603 octave_bool_matrix types. |
|
3604 |
|
3605 * op-cm-cm.cc, op-cm-cs.cc, op-cm-m.cc, op-cm-s.cc, op-cs-cm.cc, |
|
3606 op-cs-m.cc, op-m-cm.cc, op-m-cs.cc, op-m-m.cc, op-m-s.cc, |
|
3607 op-s-cm.cc, op-s-m.cc, op-s-s.cc, ov-re-mat.cc: |
|
3608 Return boolMatrix instead of Matrix object. |
|
3609 * ops.h (BOOL_OP3, MX_MX_BOOL_OP): Likewise. |
|
3610 |
|
3611 * op-b-b.h, op-b-b.cc, op-bm-bm.h, op-bm-bm.cc: New files. |
|
3612 * Makefile.in: Add them to the lists. |
|
3613 * ops.cc: Include header files here. |
|
3614 (install_ops): Call install_b_b_ops() and install_bm_bm_ops() here. |
|
3615 |
|
3616 * variables.cc (symbols_of_variables): Don't rely on default |
|
3617 conversion from int to double for value returned from |
|
3618 default_history_size(). |
|
3619 |
|
3620 * pr-output.cc: Include cstdio. |
|
3621 |
|
3622 * parse.y (param_list_end): Fix typo in last change. |
|
3623 |
|
3624 * quad.cc (quad): Cast integer return values to double. |
|
3625 * npsol.cc (show_npsol_option): Likewise. |
|
3626 * qpsol.cc (show_qpsol_option): Likewise. |
|
3627 * file-io.cc (Fsprintf, Ffwrite): Likewise. |
|
3628 |
|
3629 Mon Mar 24 13:11:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3630 |
|
3631 * ov-typeinfo.cc (typeinfo): If invoked with an argument, return |
|
3632 the type of the argument as a string. Fix doc string. |
|
3633 |
2821
|
3634 Thu Mar 20 14:47:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3635 |
|
3636 * mk-oct-links (links_dir): Don't use -h option for grep. It's |
|
3637 not needed since we are working on one file at a time anyway. |
|
3638 |
2819
|
3639 Mon Mar 17 10:53:29 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3640 |
|
3641 * lex.l (handle_identifier): When handling indirect_ref, set |
|
3642 lexer_flags.quote_is_transpose to 1 so that a.b' to work as |
|
3643 expected. |
|
3644 |
|
3645 * parse.y (param_list_beg, param_list_end): New nonterminals. |
|
3646 (param_list, param_list1): Use them. |
|
3647 |
2811
|
3648 Wed Mar 12 16:57:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3649 |
|
3650 * Makefile.in (install-strip): New target. |
|
3651 |
2806
|
3652 Mon Mar 10 22:38:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3653 |
|
3654 * Makefile.in (clean): Delete .oct files too. |
|
3655 |
|
3656 * toplev.cc (Vdefault_eval_print_flag): New static variable. |
|
3657 (eval_string): New arg, print. |
|
3658 (Feval): Pass Vdefault_eval_print_flag to eval_string. |
|
3659 (default_eval_print_flag): New function. |
|
3660 (symbols_of_toplev): New function. |
|
3661 |
|
3662 * variables.cc (install_builtin_variables): Call it. |
|
3663 |
|
3664 * pt-exp.h, pt-exp.cc (class tree_boolean_expression): Rename enum |
|
3665 fields `and' and `or' to `bool_and' and `bool_or'. |
|
3666 (tree_unary_expression): Rename enum field `not' to `unot'. |
|
3667 (class tree_binary_expression): Rename enum fields `and' and `or' |
|
3668 to `el_and' and `el_or'. |
|
3669 * parse.y: Change all uses. |
|
3670 |
|
3671 * time.cc (extract_tm): Truncate field values instead of rounding. |
|
3672 (gmtime, localtime): Likewise, for timeval. |
|
3673 |
|
3674 * ov.h (class octave_value): Delete unused variable freeptr. |
|
3675 |
|
3676 * mappers.cc: Delete functions that are already in |
|
3677 liboctave/lo-mappers.cc. |
|
3678 |
|
3679 * oct-strstrm.cc (octave_base_strstream::tell): Use const_cast, |
|
3680 not static_cast. |
|
3681 |
|
3682 * help.cc (help_from_list): Add missing const qualifiers. |
|
3683 * help.h (struct help_list): Likewise. |
|
3684 * lex.l (match_any, plot_style_token): Likewise. |
|
3685 * load-save.cc (extract_keyword, ascii_save_type): Likewise. |
|
3686 * oct-hist.cc (mk_tmp_hist_file): Likewise. |
|
3687 * octave.cc (execute_startup_files): Likewise. |
|
3688 * octave.gperf (struct octave_kw): Likewise. |
|
3689 * pr-output.cc (pr_any_float): Likewise. |
|
3690 * pt-mvr.cc (tree_index_expression::eval_error): Likewise. |
|
3691 * pt-exp-base.h, pt-exp.h, pt-exp.cc: Likewise. |
|
3692 * parse.y: Likewise. |
|
3693 |
2800
|
3694 Sun Mar 9 03:46:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3695 |
2806
|
3696 * pt-exp-base.h (tree_expression): Delete extra comma at end of list. |
|
3697 |
|
3698 * dirfns.cc error.cc file-io.cc fsolve.cc input.cc load-save.cc |
|
3699 npsol.cc pt-fcn.cc qpsol.cc quad.cc syscalls.cc toplev.cc |
|
3700 variables.cc: Eliminate embedded newlines in string constants. |
|
3701 |
|
3702 * Map.cc, data.cc, dirfns.cc, dynamic-ld.cc, file-io.cc, |
|
3703 fsolve.cc, getgrent.cc, getpwent.cc, getrusage.cc, help.cc, |
|
3704 input.cc, load-save.cc, mappers.cc, minmax.cc, npsol.cc, |
|
3705 oct-fstrm.cc, oct-procbuf.h, oct-stdstrm.cc, oct-stdstrm.h, |
|
3706 oct-stream.cc, oct-stream.h, oct-strstrm.cc, octave.cc, |
|
3707 ov-base.h, ov-range.cc, ov-typeinfo.cc, ov.cc, pr-output.cc, |
|
3708 pt-cmd.cc, pt-exp.cc, pt-fcn.cc, pt-fvc.cc, pt-mat.cc, |
|
3709 pt-misc.cc, pt-plot.cc, qpsol.cc, quad.cc, sort.cc, strfns.cc, |
|
3710 symtab.cc, syscalls.cc, sysdep.cc, time.cc, toplev.cc, |
|
3711 unwind-prot.cc, unwind-prot.h, variables.cc, xpow.cc: |
|
3712 Use `static_cast<T> (val)' instead of old C-style `(T) val' casts. |
2800
|
3713 |
2799
|
3714 Sat Mar 8 02:35:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3715 |
|
3716 * load-save.cc (save_ascii_data, save_three_d): Where appropriate, |
|
3717 use bool instead of int. |
|
3718 (save_binary_data, save_mat_binary_data, save_ascii_data): |
|
3719 Print warning instead of error for wrong type arg. |
|
3720 |
|
3721 * gripes.cc (gripe_wrong_type_arg): New arg, is_error. |
|
3722 |
|
3723 * pt-plot.cc (save_in_tmp_file): Call save_ascii_data with bool |
|
3724 arg, not int. |
|
3725 |
2797
|
3726 Fri Mar 7 00:56:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3727 |
|
3728 * dassl.cc (show_dassl_option): For values that are determined |
|
3729 automatically, return a string instead of a magic value (-1.0). |
|
3730 * fsolve.cc (show_fsolve_option): Likewise. |
|
3731 * lsode.cc (show_lsode_option): Likewise. |
|
3732 * npsol.cc (show_npsol_option): Likewise. |
|
3733 * qpsol.cc (show_qpsol_option): Likewise. |
|
3734 |
|
3735 * variables.cc (extract_function): New function. |
|
3736 * dassl.cc (Fdassl): Use it instead of is_valid_function. |
|
3737 * fsolve.cc (Ffsolve): Likewise. |
|
3738 * npsol.cc (Fnpsol): Likewise. |
|
3739 * qpsol.cc (Fqpsol): Likewise. |
|
3740 * quad.cc (Fquad): Likewise. |
|
3741 |
2795
|
3742 Thu Mar 6 20:07:24 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3743 |
|
3744 * sighandlers.cc (my_friendly_exit, octave_new_handler, |
|
3745 sigfpe_handler, sigpipe_handler): Don't all error() or warning(). |
|
3746 |
|
3747 * pager.cc (pager_death_handler): Don't try to clear pager, just |
|
3748 print message to cerr. |
|
3749 (do_sync): If the status of the pager is bad or it looks like it |
|
3750 is dead, restore the interrupt handler. |
|
3751 |
|
3752 * load-save.cc (extract_keyword (istream&, char*, int&)): |
|
3753 Move declaration of buf inside loop, to avoid deleting its guts |
|
3754 and then trying to reuse it. |
|
3755 (extract_keyword (istream&, char*)): Likewise. |
|
3756 |
2790
|
3757 Tue Mar 4 20:36:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3758 |
2791
|
3759 * pt-fcn.cc (tree_function::eval): Protect function from being |
|
3760 redefined while it is being evaluated. |
|
3761 (unprotect_function): New function, for use with unwind_protect stuff. |
|
3762 * pt-fcn.h (tree_function::symtab_entry): New data member. |
|
3763 (tree_function::init): Initialize it to 0. |
|
3764 (tree_function::stash_symtab_ptr): New function. |
|
3765 * parse.y (frob_function_def): Stash pointer to function's |
|
3766 symbol_record in the function definition. |
|
3767 |
|
3768 * symtab.cc (symbol_record::read_only_error): New argument, |
|
3769 action. Change all callers. |
|
3770 (symbol_record::rename): Don't allow read-only symbols to be renamed. |
|
3771 |
2790
|
3772 * variables.cc (Fexist): Don't let files with `.' in their names |
|
3773 confuse us. |
|
3774 |
|
3775 * symtab.cc (valid_identifier (const string&)): New function. |
|
3776 |
2779
|
3777 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775
|
3778 |
|
3779 * Version 2.0.5 released. |
|
3780 |
2779
|
3781 Sat Mar 1 01:34:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3782 |
|
3783 * Makefile.in (stamp-oct-links): New target. Make links in build |
|
3784 directory too, so that the tests will work. |
|
3785 |
2777
|
3786 * quad.cc: If quad is defined, undefine it. |
|
3787 |
2775
|
3788 * octave.cc: If WITH_KPATHSEARCH is defined, don't define |
|
3789 program_invocation_name or program_invocation_short_name. |
2774
|
3790 |
|
3791 * strftime.c: Update to current version from FSF. |
|
3792 * time.cc (Fstrftime): Call strftime with buf = 0 to get buffer |
|
3793 size, then call again to actually format the time struct. |
|
3794 |
2762
|
3795 Fri Feb 28 01:49:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3796 |
2764
|
3797 Implement switch statement: |
|
3798 |
|
3799 * parse.y (Vwarn_variable_switch_label): New static variable. |
|
3800 (warn_variable_switch_label): New function. |
|
3801 (symbols_of_parse): Provide warn_variable_switch_label as Octave |
|
3802 variable here. |
|
3803 (make_switch_case, finish_switch_command): New functions. |
|
3804 (maybe_warn_variable_switch_label): New function. |
|
3805 (end_error): Handle endswitch. |
|
3806 (switch_command, case_list, case_list1, switch_case, default_case): |
|
3807 New nonterminals. |
|
3808 (command): Add switch_command here. |
|
3809 * lex.l (is_keyword): Handle switch, case, otherwise, and endswitch. |
|
3810 * octave_gperf: Recognize switch, case, otherwise, and endswitch. |
|
3811 * token.h (end_tok_type): New item, switch_end. |
|
3812 * pt-cmd.cc (tree_switch_command): New class. |
|
3813 * pt-misc.cc (tree_switch_case, tree_switch_case_list): New classes. |
|
3814 * pt-pr-code.cc (tree_print_code::visit_switch_case, |
|
3815 tree_print_code::visit_switch_case_list, |
|
3816 tree_print_code::visit_switch_command): New functions. |
|
3817 * pt-walk.h (tree_walker::visit_switch_case, |
|
3818 tree_walker::visit_switch_case_list, |
|
3819 tree_walker::visit_switch_command): New pure virtual declarations. |
|
3820 Implement new switch statement. |
|
3821 * SLList-misc.cc: Instantiate lists of pointers to |
|
3822 tree_switch_case objects too. |
|
3823 |
|
3824 * lex.h, lex.l, parse.y: Delete all references to lexer_flags::iffing. |
|
3825 |
2762
|
3826 * syswait.h: Include sys/wait.h on NeXT systems, but don't use the |
|
3827 WIFEXTED, WEXITSTATUS, and WIFSIGNALLED macros defined there. |
|
3828 Also define waitpid in terms of wait4. From Rex A. Dieter |
|
3829 <rdieter@math.unl.edu>. |
|
3830 |
2759
|
3831 Wed Feb 26 16:43:31 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3832 |
|
3833 * oct-stream.cc (octave_base_stream::do_scanf): Don't report an |
|
3834 error if a conversion fails or we reach EOF. |
|
3835 |
2745
|
3836 Tue Feb 25 22:21:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3837 |
|
3838 * time.cc (strftime): increase initial buffer size. |
|
3839 |
|
3840 Mon Feb 24 17:49:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3841 |
|
3842 * pt-fvc.cc (tree_builtin::eval): Enable checking for max number |
|
3843 of arguments. |
|
3844 |
|
3845 * error.cc (handle_message): Don't fail if args is empty. |
|
3846 |
|
3847 Sun Feb 23 22:42:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3848 |
|
3849 * lex.h (lexical_feedback::looking_at_return_list): New field. |
|
3850 (lexical_feedback::looking_at_parameter_list): Ditto. |
|
3851 * lex.l (lexical_feedback::init): Initialize them. |
|
3852 (handle_identifier): Use them. |
|
3853 * parse.y: Likewise. |
|
3854 |
2712
|
3855 Fri Feb 21 15:35:18 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3856 |
2716
|
3857 * lex.l: Require flex 2.5 or later (we really want 2.5.4 or later, |
|
3858 but there seems to be no good way to check the patchlevel). |
|
3859 |
2712
|
3860 * oct-stream.cc (octave_base_stream::oscanf): Instead of returning |
|
3861 an error, just quit processing after a conversion fails. |
|
3862 |
2709
|
3863 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702
|
3864 |
|
3865 * Version 2.0.4 released. |
|
3866 |
2706
|
3867 Wed Feb 19 10:30:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3868 |
2705
|
3869 * sighandlers.cc (octave_ignore_interrupts, |
|
3870 octave_catch_interrupts, octave_set_interrupt_handler): |
|
3871 Return old value, not pointer to static data. Fix all uses. |
|
3872 |
|
3873 * sighandlers.h (octave_interrupt_handler): Move declaration here. |
|
3874 * sighandlers.cc: From here. |
|
3875 |
|
3876 * toplev.cc: Undo previous change. |
|
3877 |
2702
|
3878 * lex.l (handle_identifier): Allow commands like ls, save, etc. to |
|
3879 also be used as simple variable names. Also make it possible to |
|
3880 use the normal function call syntax to invoke them. |
|
3881 |
2693
|
3882 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2689
|
3883 |
2702
|
3884 * Makefile.in (%.oct:%.o, %.oct:pic/%.o): Use $(SH_LDFLAGS) here. |
|
3885 |
2690
|
3886 * Version 2.0.3 released. |
|
3887 |
2693
|
3888 Tue Feb 18 00:27:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3889 |
|
3890 * toplev.cc (run_command_and_return_output): |
|
3891 Block SIGCHLD while running subprocess. |
|
3892 (cleanup_iprocstream): Unblock it here. |
|
3893 |
|
3894 * sighandlers.h (BLOCK_SIGNAL, BLOCK_CHILD, UNBLOCK_CHILD): Move here. |
|
3895 * sighandlers.cc: From here. |
|
3896 |
2692
|
3897 * toplev.cc (system): Shift then mask exit status. |
|
3898 |
|
3899 * help.cc (try_info): Shift first, then mask exit status. |
|
3900 |
2689
|
3901 * toplev.cc (octave_config_info): Handle option argument. |
|
3902 |
2686
|
3903 Fri Feb 14 16:23:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3904 |
2687
|
3905 * oct-stream.cc (octave_base_stream::do_scanf): Don't forget to |
|
3906 check to see if the result matrix needs resizing! |
|
3907 |
2686
|
3908 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. |
|
3909 |
2669
|
3910 Thu Feb 13 03:02:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3911 |
2676
|
3912 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
|
3913 (all): Don't depend on stamp-prereq or stamp-picdir. |
|
3914 (stamp-tinst, stamp-interp, libtinst.a, liboctinterp.a): |
|
3915 Do depend on stamp-prereq. |
|
3916 (stamp-picdir): Silence noise about making pic. |
|
3917 (stamp-tinst, stamp-interp): Use $(SH_LD) $(SH_LDFLAGS) instead of |
|
3918 $(CXX) -shared. |
|
3919 |
2675
|
3920 * oct-conf.h.in: Reinstate RLD_FLAG. |
|
3921 * toplev.cc (octave_config_info): Likewise. |
|
3922 |
2672
|
3923 * data.cc (map_d_m, map_m_d, map_m_m): Rename from map. |
|
3924 (Fatan2): Use new function names. |
|
3925 |
|
3926 * pt-fvc.cc (apply_mapper_fcn): Use member function map() instead |
|
3927 of friend function. |
|
3928 |
2669
|
3929 * gripes.cc (gripe_wrong_type_arg (const char*, const string&)): |
|
3930 New function. |
|
3931 |
|
3932 Wed Feb 12 17:27:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3933 |
|
3934 * syscalls.cc (symbols_of_syscalls): Add O_ASYNC and O_SYNC. |
|
3935 |
|
3936 Mon Feb 10 01:22:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3937 |
|
3938 * dirfns.cc (Freaddir, Fmkdir, Frmdir, Frename): |
|
3939 Also return status and error message. |
|
3940 |
|
3941 * syscalls.cc (Fdup2, Fexec, Ffork, Ffcntl, Funlink, Fmkfifo, |
|
3942 Fpipe, Fwaitpid): Also return error message. |
|
3943 |
2664
|
3944 Sat Feb 8 17:16:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3945 |
2665
|
3946 * pt-exp.cc (tree_simple_assignment_expression::eval): Return |
|
3947 value of RHS, but (if printing) print complete value of LHS. |
|
3948 |
2664
|
3949 * pr-output.cc (octave_print_internal): Print a new line for empty |
|
3950 string matrices. |
|
3951 |
2663
|
3952 Wed Feb 5 14:30:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3953 |
|
3954 * oct-stream.cc (scanf_format_list::process_conversion): Accept |
|
3955 but don't actually use h, l, and L modifiers. Always insert l |
|
3956 modifier for floating point conversions. |
|
3957 |
2652
|
3958 Fri Jan 31 13:55:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3959 |
|
3960 * pager.cc (do_sync): Always flush the cout stream after writing. |
|
3961 |
2643
|
3962 Wed Jan 29 08:25:29 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3963 |
2648
|
3964 * defaults.cc (exec_path): Don't include bin_dir in std_path. |
|
3965 |
2646
|
3966 * pager.cc (do_sync): Flush the cout stream after writing if |
|
3967 running in interactive or forced_interactive mode. |
|
3968 |
|
3969 * mk-oct-links: Rename from mk-oct-links.in. |
|
3970 Don't use symbolic links. |
|
3971 * Makefile.in: Distribute mk-oct-links, not mk-oct-links.in |
|
3972 (mk-oct-links): Delete target. |
|
3973 (install-oct, bin-dist): Don't depend on mk-oct-links. |
|
3974 Run $(srcdir)/mk-oct-links, not ./mk-oct-links. |
|
3975 |
2643
|
3976 * qr.cc (qr): Doc fix. |
|
3977 |
2638
|
3978 Tue Jan 28 10:48:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3979 |
|
3980 * Makefile.in (install-inc): Create a relative symbolic link. |
|
3981 (install-bin): Create a relative symbolic link. |
|
3982 |
2630
|
3983 Mon Jan 27 12:12:03 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3984 |
2634
|
3985 * Version 2.0.2 released. |
|
3986 |
|
3987 * Makefile.in (CXXFLAGS_NO_PT_FLAGS): Rename from XALL_CXXFLAGS. |
|
3988 Substitute bsd_gcc_kluge_targets_frag. |
|
3989 |
2630
|
3990 * sysdep.cc (Fsleep): New function. |
|
3991 (Fusleep): New function. |
|
3992 |
|
3993 * toplev.cc (octave_config_info): Don't include RLD_FLAG. |
|
3994 * oct-conf.h.in: Don't define RLD_FLAG |
|
3995 |
2626
|
3996 Sun Jan 26 19:41:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3997 |
|
3998 * sighandlers.cc (sigchld_handler): Block SIGCHLD while |
|
3999 sigchld_hander is running. |
|
4000 |
2624
|
4001 Sat Jan 25 22:36:39 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4002 |
|
4003 * Makefile.in (bin-dist): Update for 2.x. |
|
4004 |
2621
|
4005 Fri Jan 24 10:05:00 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4006 |
|
4007 * mk-oct-links.in: New arg, -p, to just print list of files to link. |
|
4008 |
|
4009 * lex.l (handle_number): Convert `D' or `d' exponents to `e' |
|
4010 before scanning. |
|
4011 |
2620
|
4012 Thu Jan 23 10:00:00 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4013 |
|
4014 * pt-pr-code.h, pt-pr-code.cc (tree_print_code::visit_no_op_command): |
|
4015 New function. |
|
4016 * pt-cmd.h, pt-cmd.cc (tree_no_op_command): New class. |
|
4017 * parse.y (make_break_command, make_continue_command, |
|
4018 make_return_command): Where they don't really make sense, turn |
|
4019 these commands into no-ops. Accept return and break if reading a |
|
4020 script file. |
|
4021 * toplev.cc (parse_and_execute): Handle return and break in script |
|
4022 files. Quit executing commands if an error occurs when reading a |
|
4023 script file. Set global_command to 0 after deleting it. |
|
4024 (main_loop): If not interactive or forced_interactive, handle |
|
4025 break and return, and quit executing commands if an error occurs. |
|
4026 Set global_command to 0 after deleting it. |
|
4027 * error.cc (Ferror): Doc fix. |
|
4028 * pt-walk.h (tree_walker): Add declaration for visit_no_op_command. |
|
4029 |
2618
|
4030 Wed Jan 22 20:54:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4031 |
|
4032 * input.cc (gnu_readline): If not using readline, flush |
|
4033 rl_outstream after printing prompt. |
|
4034 (octave_gets): Also call flush_octave_stdout() if |
|
4035 forced_interactive, not just if interactive. |
|
4036 (do_input_echo): If forced_interactive, only echo prompt and |
|
4037 command line if also reading a script file. |
|
4038 |
2616
|
4039 Tue Jan 21 23:02:34 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4040 |
|
4041 * SLList.h: Include "BaseSLList.h", not <BaseSLList.h>. |
|
4042 |
2610
|
4043 Mon Jan 20 11:11:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4044 |
2614
|
4045 * lex.l (token_stack): Don't declare static. |
|
4046 * pt-plot.cc (tmp_files): Likewise. |
|
4047 * toplev.cc (octave_atexit_functions): Likewise. |
|
4048 * unwind-prot.cc (unwind_protect_list): Likewise. |
|
4049 |
2613
|
4050 * ops.h (MX_MX_BOOL_OP): Correctly handle case of one or both |
|
4051 arguments being empty. Change all callers. |
|
4052 |
|
4053 * oct-stream.cc (printf_value_cache::looking_at_string): |
|
4054 Handle empty strings correctly now that they are 0x0. |
|
4055 |
2610
|
4056 * file-io.cc: Don't include "syswait.h" here. |
|
4057 |
|
4058 Sun Jan 19 22:38:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4059 |
|
4060 * oct-stream.h (octave_base_stream::seek): Declare offset arg as |
|
4061 streamoff, not streampos. |
|
4062 (octave_stream::seek): Likewise. |
|
4063 * oct-strstrm.h (octave_base_strstream::seek): Likewise. |
|
4064 * oct-stdstrm.h (octave_base_stdiostream::seek): Likewise. |
|
4065 * oct-iostrm.h (octave_base_iostream::seek): Likewise. |
|
4066 * oct-fstrm.h (octave_fstream::seek): Likewise. |
|
4067 |
2609
|
4068 Fri Jan 17 18:13:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4069 |
|
4070 * file-io.cc (Ffflush): Handle stdout as a special case. |
|
4071 |
|
4072 * oct-stream.cc (octave_stream_list::do_get_file_number): |
|
4073 Do the work for octave_stream::get_file_number. |
|
4074 (octave_stream_list::get_file_number): Convert to static function. |
|
4075 |
2608
|
4076 Wed Jan 8 11:42:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4077 |
|
4078 * log.cc (sqrtm): For complex arg case, compute sqrt, not log. |
|
4079 |
2602
|
4080 Tue Jan 7 00:16:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4081 |
|
4082 * Version 2.0.1 released. |
|
4083 |
|
4084 Mon Jan 6 00:00:07 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4085 |
|
4086 * pt-mat.cc (tm_row_const_rep::all_mt): New variable. |
|
4087 (tm_row_const::all_empty): New function. |
|
4088 (tm_row_const::tm_row_const_rep::init): Set all_mt here. |
|
4089 (tm_const::all_mt): New variable. |
|
4090 (tm_const::all_emtpy): New function. |
|
4091 (tm_const::init): Set all_mt here. |
|
4092 (tree_matrix::eval): Return an empty matrix if the list contains |
|
4093 only empty elements. If it contains only empty strings, return an |
|
4094 empty string. |
|
4095 |
2601
|
4096 Sun Jan 5 12:50:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4097 |
|
4098 * ops.h (SC_MX_BOOL_OP, MX_SC_BOOL_OP): New arg, empty_result. |
|
4099 * op-cm-cm.cc, op-cm-cs.cc, op-cm-m.cc, op-cm-s.cc, op-cs-cm.cc, |
|
4100 op-cs-m.cc, op-m-cm.cc, op-m-cs.cc, op-m-m.cc, op-m-s.cc, |
|
4101 op-s-cm.cc, op-s-m.cc, op-str-str.cc: Change all uses of |
|
4102 SC_MX_BOOL_OP and MX_SC_BOOL_OP macros. Return correct results |
|
4103 for empty matrix cases. |
|
4104 |
|
4105 * pt-fcn.cc (tree_function::eval): If Vdefine_all_return_values is |
|
4106 true, initialize return values before evaluating function, for |
|
4107 compatibility with Matlab. |
|
4108 |
|
4109 * oct-stream.cc (get_size): Correctly set size when arg is scalar. |
|
4110 |
|
4111 Thu Jan 2 12:40:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4112 |
|
4113 * Makefile.in (install-oct): Quote $(OCT_FILES) in for loop to |
|
4114 avoid syntax error from ksh. |
|
4115 |
|
4116 * pr-output.cc (octave_print_internal): Avoid unused parameter |
|
4117 warning from gcc. |
|
4118 |
2600
|
4119 Thu Dec 19 12:13:42 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4120 |
|
4121 * oct-stream.cc (octave_base_stream::do_scanf): |
|
4122 Don't treat %l{e,f,g} differently from %{e,f,g}. |
|
4123 (octave_base_stream::do_oscanf): Likewise. |
|
4124 |
|
4125 * sighandlers.cc (sigchld_handler): Fix typos. |
|
4126 |
2598
|
4127 Wed Dec 18 20:17:23 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4128 |
2599
|
4129 * file-io.cc (Ffgetl, Ffgets): Also return number of characters read. |
|
4130 |
|
4131 * ov-range.cc (octave_range::not): New function. |
|
4132 * ov-range.h (octave_range::uminus): New function. |
|
4133 |
2598
|
4134 * BaseSLList.cc: Include error.h. |
|
4135 (BaseSLList::error): Call ::error() to process error message. |
|
4136 |
2589
|
4137 Fri Dec 13 02:38:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4138 |
|
4139 * ov.cc (octave_value::convert_and_assign): Preserve lhs value if |
|
4140 assignment fails. |
|
4141 |
2586
|
4142 Wed Dec 11 12:33:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4143 |
|
4144 * pt-plot.cc (GPLOT_CMD_END): Don't put semicolons at the end of |
|
4145 each plot command; it causes trouble with gnuplot 3.5. |
|
4146 |
2580
|
4147 Tue Dec 10 00:31:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4148 |
2583
|
4149 * Version 2.0 released. |
|
4150 |
2584
|
4151 * pr-output.cc (set_format_style): Don't try to access argv unless |
|
4152 argc > 1. |
|
4153 |
2580
|
4154 * SLList-expr.cc SLList-misc.cc SLList-plot.cc SLList-str.cc |
|
4155 SLList-tc.cc SLList-tm.cc SLList.h SLStack-i.cc SLStack-pc.cc |
|
4156 SLStack-str.cc SLStack-sym.cc SLStack-tok.cc SLStack-ue.cc |
|
4157 SLStack-ui.cc, pt-mat.cc: Include Stack.h, Stack.cc, SLStack.cc, |
|
4158 and SLList.cc as necessary. |
|
4159 |
|
4160 * Stack.cc, SLStack.cc, SLList.cc: New files. |
|
4161 * Makefile.in (SOURCES): Add them to the list. |
|
4162 |
2575
|
4163 Mon Dec 9 12:03:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4164 |
2577
|
4165 * Makefile.in (install-bin): Use $(EXE) suffix so install will |
|
4166 find the right file on cygwin32 systems. |
|
4167 |
2575
|
4168 * ov.h: Declare proper form of do_binary_op as friend to |
|
4169 octave_value class. |
|
4170 |
2572
|
4171 Sat Dec 7 22:00:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4172 |
|
4173 * oct-stream.cc (do_printf_conv, do_scanf_conv, |
|
4174 do_oscanf_num_conv, do_oscanf_str_conv): Convert to real |
|
4175 functions instead of CPP macros, using templates where necessary. |
|
4176 (do_oscanf_num_conv, do_oscanf_str_conv): Correctly handle |
|
4177 discarded values. |
|
4178 |
2569
|
4179 Fri Dec 6 00:20:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4180 |
2572
|
4181 * Version 1.94. |
|
4182 |
2571
|
4183 * Map-*.cc, SLList-*.cc, SLStack-*.cc: Include config.h. |
|
4184 |
|
4185 * ov.h: Don't include SLList.h. |
|
4186 |
|
4187 * SLStack.cc: Delete. Move everything to SLStack.h. |
|
4188 |
|
4189 * BaseSLList.h, BaseSLList.cc: New files. Split out the |
|
4190 non-template base class parts of SLList. |
|
4191 |
2569
|
4192 * Makefile.in (TEMPLATE_SRC): Delete. Move files to SOURCES. |
|
4193 * Map.h, Map.cc: Add #pragma interface/implementation. |
|
4194 * SLStack.h, SLStack.cc: Add #pragma interface/implementation. |
|
4195 |
|
4196 * SLList.h, SLList.cc: New files, from libg++, but with #pragma |
|
4197 interface/implementation. |
|
4198 * Makefile.in (SOURCES): Add SLList.cc. |
|
4199 (INCLUDES): Add SLList.h. |
|
4200 |
2566
|
4201 Thu Dec 5 18:36:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4202 |
|
4203 * octave.cc: Don't include sun-utils.h. |
|
4204 |
2563
|
4205 Tue Dec 3 23:47:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4206 |
|
4207 * op-str-str.cc (eq, ne): Handle operations with scalars. |
|
4208 |
2555
|
4209 Thu Nov 21 12:30:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4210 |
|
4211 * ov-str-mat.h (octave_char_matrix_str): Provide transpose and |
|
4212 hermitian operators. |
|
4213 * ov-ch-mat.h (octave_char_matrix): Likewise. |
|
4214 |
2548
|
4215 Wed Nov 20 00:35:57 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4216 |
2554
|
4217 * sighandlers.h (struct octave_interrupt_handler): Provide |
|
4218 forward declaration here. |
|
4219 * sighandlers.cc (octave_interrupt_handler): New struct. |
|
4220 (octave_catch_interrupts): Rename from catch_interrupts. |
|
4221 (octave_ignore_interrupts, octave_set_interrupt_handler): |
|
4222 New functions. |
|
4223 * help.cc, oct-hist.cc, pager.cc, toplev.cc: Use new functions for |
|
4224 handling interrupts so that we can hide the details of whether or |
|
4225 not we have to deal with SIGBREAK. |
|
4226 |
|
4227 * pt-plot.cc [! HAVE_POSIX_SIGNALS] (open_plot_stream): |
|
4228 Simply ignore and restore the interrupt handler here. |
|
4229 |
|
4230 * sighandlers.cc (MAYBE_REINSTALL_SIGHANDLER): New macro. Use it |
|
4231 instead of always checking MUST_REINSTALL_SIGHANDLERS everywhere. |
|
4232 (sigchld_handler): If octave_child_list is empty, wait for any |
|
4233 child, but don't hang, and don't collect status info. |
|
4234 [__EMX__] (sigchld_handler): Save and restore handlers for SIGINT, |
|
4235 SIGBREAK, and SIGCHLD. Ignore them while waiting on children. |
|
4236 (install_signal_handlers): If SIGBREAK exists, handle it like SIGINT. |
|
4237 |
2552
|
4238 * toplev.cc [USE_READLINE] (clean_up_and_exit): |
|
4239 Call rl_deprep_terminal() to restore terminal settings. |
|
4240 |
|
4241 * sysdep.cc [__EMX__ && OS2] (Fextproc): New command. |
|
4242 [__EMX__ && OS2] (FEXTPROC): Alias for Fextproc. |
|
4243 |
|
4244 * Version 1.93. |
|
4245 |
2549
|
4246 * sysdep.cc (octave_chdir): [__EMX__]: Make copy of string before |
|
4247 converting to upper case. |
|
4248 |
2548
|
4249 * getgrent.cc (mk_gr_map): Only set the passwd field if |
|
4250 HAVE_GR_PASSWD is defined. |
|
4251 |
2533
|
4252 Tue Nov 19 12:01:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4253 |
2546
|
4254 * sysdep.cc (OS2_init): New function. |
|
4255 [__EMX__] (sysdep_init): Call it. |
|
4256 |
2542
|
4257 * lex.l (plot_style_token): Add new plot styles for gnuplot 3.6. |
2543
|
4258 * pt-plot.cc (subplot_style::columns_ok): Rename from |
|
4259 subplot_style::errorbars. Recognize more styles and do a better |
|
4260 job of diagnosing column number/style mismatches. |
2542
|
4261 |
2536
|
4262 * sighandlers.cc (my_friendly_exit): If we are called twice, try |
|
4263 to remove the signal handler for SIGABRT and the call abort (). |
|
4264 |
2534
|
4265 * help.cc (Ftype): If a function is defined from a file and |
|
4266 transformed text has not been requested, just print the contents |
|
4267 of the file. |
|
4268 |
2533
|
4269 * parse.y (fold): New functions for constant folding for binary |
|
4270 and unary expressions. Keep track of original text even when |
|
4271 transformations occur. |
|
4272 (make_binary_op, make_boolean_op, make_unary_op): Use them. |
|
4273 (finish_colon_expression, finish_matrix): Keep track of original |
|
4274 text even when transformations occur. |
|
4275 |
|
4276 * help.cc (Ftype): Don't mess with Vps4. |
|
4277 Handle new option `-transformed'. |
|
4278 |
|
4279 * pt-const.h, pt-const.cc (tree_constant::print): |
|
4280 New arg, pr_orig_text. |
|
4281 |
|
4282 * pt-exp.h, pt-exp.cc (tree_colon_expression::is_range_constant): |
|
4283 Delete. |
|
4284 |
|
4285 * pt-exp-base.h (tree_expression::original_text): New virtual function. |
|
4286 pt-exp-base.cc (tree_expression::original_text): Default version. |
|
4287 |
|
4288 * pt-pr-code.h (tree_print_code::print_original_text, |
|
4289 tree_print_code::prefix): New fields. |
|
4290 * pt-pr-code.cc (tree_print_code::visit_constant): Pass |
|
4291 print_original_text to tree_constant::print(). |
|
4292 (tree_print_code::indent): Use prefix instead of Vps4. |
|
4293 * pt-fcn.cc (tree_function::print_function_header, |
|
4294 tree_function::print_function_trailer): Pass Vps4 to |
|
4295 tree_print_code_constructor for prefix. |
|
4296 * pt-misc.cc (tree_statement::maybe_echo_code): Pass Vps4 to |
|
4297 tree_print_code_constructor for prefix. |
|
4298 |
|
4299 * pt-mat.h, pt-mat.cc (tree_matrix::all_elements_are_constant): |
|
4300 Rename from is_matrix_constant. |
|
4301 (tree_matrix_row::all_elements_are_constant): Likewise. |
|
4302 Change all callers. |
|
4303 |
|
4304 Mon Nov 18 14:13:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4305 |
|
4306 * Makefile.in (install-inc): Try harder to create the link from |
|
4307 include/octave to include/octave-VERSION. |
|
4308 |
2524
|
4309 Sun Nov 17 14:14:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4310 |
2527
|
4311 * Makefile.in (parse.cc): Expect 13 shift/reduce conflicts. |
2526
|
4312 |
2525
|
4313 * parse.y (set_stmt_print_flag): New function. |
|
4314 (sep_type): New member for bison %union declaration. |
|
4315 Simplify rules for statement lists keeping track of the type of |
|
4316 the first separator in the values associated with the |
|
4317 nonterminals for the separators. |
|
4318 |
2524
|
4319 * lex.l (handle_identifier): Set lexer_flags.doing_set if the |
|
4320 token is "gset", not "set". |
|
4321 |
|
4322 Sat Nov 16 21:41:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4323 |
|
4324 * Makefile.in (parse.cc, lex.cc): Add special rules for these files. |
|
4325 Delete pattern rules for .y and .l files. |
|
4326 |
2522
|
4327 Fri Nov 15 13:48:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4328 |
2523
|
4329 * pt-plot.cc: Put semicolons at the ends of all plot commands. |
|
4330 |
2522
|
4331 * defaults.cc (subst_octave_home): Start subsequent searchs from |
|
4332 the end of the replaced text. |
|
4333 |
|
4334 * pr-output.cc (pr_any_float): Kluge for SCO systems. |
|
4335 |
|
4336 * pr-output.cc (pr_any_float, pr_complex): Don't declare inline. |
|
4337 |
|
4338 * mappers.cc: Include lo-ieee.h, for isinf and isnan on SCO |
|
4339 systems. |
|
4340 |
2512
|
4341 Thu Nov 14 00:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4342 |
2520
|
4343 * pt-plot.cc (Fgset, Fgshow): New commands. |
|
4344 (Fshow): Print warning and call gshow. |
|
4345 (Fset): Print warning and call gset. |
|
4346 |
2517
|
4347 * variables.cc (parse_fcn_file): Add unwind-protect for file |
|
4348 pointer, so the file is always closed. |
|
4349 (get_help_from_file): Likewise. |
|
4350 * toplev.cc (parse_and_execute): Likewise. |
|
4351 |
2516
|
4352 * Makefile.in (install-oct): Depend on mk-oct-links. |
|
4353 (mk-oct-links): New target. |
|
4354 |
2512
|
4355 * Version 1.92. |
|
4356 |
2508
|
4357 Wed Nov 13 11:13:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4358 |
2512
|
4359 * sighandlers.cc (sys_siglist): [__EMX__]: Add definitions. |
|
4360 |
|
4361 * octave.cc (execute_startup_files): Allow init file name ot be |
|
4362 specified by an environment variable. |
|
4363 |
|
4364 * dirfns.cc (make_absolute): [__EMX__]: Path is already absolute |
|
4365 if it begins with any character followed by a colon. |
|
4366 |
2511
|
4367 * load-save.cc (read_mat_ascii_matrix, get_lines_and_columns, |
|
4368 get_complete_line): New functions, for reading headless text files. |
|
4369 (load_save_format): Add LS_MAT_ASCII, for headless text files. |
|
4370 (do_load): Handle LS_MAT_ASCII files. |
|
4371 Thanks to Mel Melchner <mjm@research.att.com> for initial version |
|
4372 of this code. |
|
4373 |
2508
|
4374 * sysdep.cc: Conditionally include ieeefp.h. |
|
4375 (BSD_init, SCO_init): New functions. |
|
4376 (sysdep_init): Conditionally call them here. |
|
4377 |
2499
|
4378 Tue Nov 12 00:14:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4379 |
2508
|
4380 * pt-plot.cc (open_plot_stream): Don't block SIGCHLD. |
|
4381 |
2499
|
4382 * load-save.cc (read_binary_data): When reading string arrays, be |
|
4383 sure to create an octave_char_matrix_str object, not just an |
|
4384 octave_char_matrix object. |
|
4385 (read_ascii_data): Likewise. |
|
4386 |
2497
|
4387 Mon Nov 11 22:52:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4388 |
|
4389 * load-save.cc (read_binary_data): Don't forget teminating NUL for |
|
4390 string that we plan to insert. |
|
4391 (read_ascii_data): Likewise. |
|
4392 |
2495
|
4393 Sun Nov 10 16:58:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4394 |
2496
|
4395 * dirfns.cc (Ffnmatch): New function. |
|
4396 |
2495
|
4397 * octave.cc (intern_argv): Use new string_vector constructor. |
|
4398 |
|
4399 * ov-str-mat.cc (octave_char_matrix_str::all_strings): Have |
|
4400 charMatrix::row_as_string() strip trailing whitespace. |
|
4401 |
|
4402 * dirfns.cc (Fglob): new function. |
|
4403 |
|
4404 * sysdep.cc (oct_tilde_expand): Provide version that works on |
|
4405 string vectors too. |
|
4406 (Ftilde_expand): Work on string vector args. |
|
4407 |
|
4408 * load-save.cc (save_binary_data): Call char_matrix_value() to |
|
4409 extract charMatrix from octave_value object, not all_strings(). |
|
4410 (save_ascii_data): Likewise. |
|
4411 * pt-mat.cc (tree_matrix::eval): Likewise. |
|
4412 |
|
4413 * ov.h (octave_value::all_strings): Return string_vector, not |
|
4414 charMatrix. |
|
4415 * ov-base.cc (octave_base_value::all_strings): Likewise. |
|
4416 * ov-str-mat.h, ov-str-mat.cc (octave_char_matrix_str::all_strings): |
|
4417 Likewise. |
|
4418 |
2487
|
4419 Fri Nov 8 09:54:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4420 |
2492
|
4421 * defaults.cc, dynamic-ld.cc, fn-cache.cc, help.cc, oct-hist.cc, |
|
4422 octave.cc, pager.cc, pt-fcn.cc, toplev.cc, utils.cc, variables.cc, |
|
4423 lex.l: Change #include "" to #include <> for defaults.h, |
|
4424 oct-conf.h, oct-gperf.h, y.tab.h, and version.h, to avoid getting |
|
4425 them from $srcdir when we really want the version from the build |
|
4426 directory. (Maybe this should be done for all the include files, |
|
4427 not just those that are auto-generated? Hmm.) |
|
4428 |
2488
|
4429 * defaults.h.in (CXXLIB_LIST, CXXLIB_PATH, FLIB_LIST, FLIB_PATH): |
|
4430 Delete. |
|
4431 |
2487
|
4432 * Makefile.in (install-oct): Use $(INSTALL_PROGRAM) for .oct files. |
|
4433 |
2477
|
4434 Thu Nov 7 07:59:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4435 |
2487
|
4436 * variables.cc (gobble_leading_white_space): New arg, update_pos. |
|
4437 * (is_function_file): Don't update file position information here. |
|
4438 |
2482
|
4439 * Version 1.91. |
|
4440 |
2479
|
4441 * pt-fvc.cc (tree_indirect_ref::reference): If the lhs object is |
|
4442 not a map, convert it to one. |
|
4443 |
|
4444 * ov-typeinfo.h (init_tab_sz): New static member. |
|
4445 |
2477
|
4446 * ov-struct.cc, ov-struct.h: Add hooks for custom memory management. |
|
4447 * ov-scalar.cc, ov-scalar.h: Likewise. |
|
4448 * ov-re-mat.cc, ov-re-mat.h: Likewise. |
|
4449 * ov-range.cc, ov-range.h: Likewise. |
|
4450 * ov-cx-mat.cc, ov-cx-mat.h: Likewise. |
|
4451 * ov-complex.cc, ov-complex.h: Likewise. |
|
4452 * ov-ch-mat.cc, ov-ch-mat.h: Likewise. |
|
4453 |
2474
|
4454 Wed Nov 6 12:32:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4455 |
2482
|
4456 * pager.cc (do_sync): Don't call clear_external_pager() here. |
2476
|
4457 |
2475
|
4458 * pt-const.h (tree_constant::allocator) New static member. |
|
4459 (tree_constant::operator new, tree_constant::operator delete): |
|
4460 Implement with custom allocator. |
|
4461 |
|
4462 * syscalls.cc (Fgetgid, Fgetegid): New functions. |
|
4463 |
|
4464 * sighandlers.cc (sigchld_handler): If necessary, reinstall |
|
4465 handler after call to waitpid(). |
|
4466 |
|
4467 * pager.cc (pager_death_handler): Don't use warning() to print |
|
4468 message. |
|
4469 |
|
4470 * getgrent.cc: New file. |
|
4471 * Makefile.in (DLD_SRC): Add it. |
|
4472 |
|
4473 * ov.cc (octave_value::print_with_name): Call is_map() instead of |
|
4474 print_as_structure(). |
|
4475 * ov-struct.cc (octave_struct::print): Likewise. |
|
4476 |
|
4477 * ov.h, ov.cc, pt-const.h: Delete force_numeric(), make_numeric(), |
|
4478 convert_to_matrix_type(), print_as_structure() member functions. |
|
4479 |
2474
|
4480 * variables.cc (is_function_file): Call gobble_leading_whitespace |
|
4481 here to strip all leading whitespace and comments. |
|
4482 (parse_fcn_file): If reading a function file, call |
|
4483 gobble_leading_whitespace again after resetting parser state to |
|
4484 grab help text. |
|
4485 |
2469
|
4486 Tue Nov 5 13:00:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4487 |
2472
|
4488 * syscalls.cc (Fgeteuid, Fgetuid): New functions. |
|
4489 |
|
4490 * getpwent.cc: Use gripe_not_supported from gripes.cc, instead of |
|
4491 local gripe_not_implemented function. |
|
4492 |
2470
|
4493 * input.cc, sysdep.cc, variables.cc: Only include readline.h and |
|
4494 history.h if USE_READLINE is defined. |
|
4495 |
|
4496 * help.cc: Make it compile without warnings even if USE_GNU_INFO |
|
4497 is not defined. |
|
4498 |
2469
|
4499 * sighandlers.h (octave_child_list): Don't define |
|
4500 HAVE_POSIX_SIGNALS HERE. |
|
4501 |
|
4502 * sighandlers.cc (SIGHANDLER_RETURN): New macro. |
|
4503 (generic_sig_handler, sigchld_handler, sigfpe_handler, |
|
4504 sigint_handler, sigpipe_handler): Use it. |
|
4505 (sigchld_handler, sigfpe_handler, sigint_handler, sigpipe_handler): |
|
4506 Only reinstall signal handler if MUST_REINSTALL_SIGHANDLER is defined. |
|
4507 |
2463
|
4508 Sun Nov 3 00:45:30 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4509 |
2466
|
4510 * pt-const.cc (tree_constant::print): Just call val.print(). |
|
4511 * ov-base.cc, ov-ch-mat.cc, ov-colon.cc, ov-complex.cc, |
|
4512 ov-cx-mat.cc, ov-range.cc, ov-re-mat.cc, ov-scalar.cc, |
|
4513 ov-str-mat.cc, ov-struct.cc ov-va-args.cc, ov.cc (print): |
|
4514 Handle pr_as_read_syntax arg. |
|
4515 |
|
4516 * defaults.cc (subst_octave_home): Search for prefix repeatedly in |
|
4517 retval, not s. |
|
4518 |
|
4519 * gripes.h: Make declaration of gripes_not_supported match |
|
4520 definition. |
|
4521 |
2465
|
4522 * mk-oct-links.in: In sed command, match "DEFUN_DLD *( *", not |
|
4523 "DEFUN_DLD_BUILTIN *( *". |
|
4524 |
|
4525 * chol.cc, colloc.cc, dassl.cc, det.cc, eig.cc, expm.cc, fft.cc, |
|
4526 fft2.cc, filter.cc, find.cc, fsolve.cc, fsqp.cc, getpwent.cc, |
|
4527 getrusage.cc, givens.cc, hess.cc, ifft.cc, ifft2.cc, inv.cc, |
|
4528 log.cc, lpsolve.cc, lsode.cc, lu.cc, minmax.cc, npsol.cc, pinv.cc, |
|
4529 qpsol.cc, qr.cc, quad.cc, qzval.cc, rand.cc, schur.cc, sort.cc, |
|
4530 svd.cc, syl.cc, time.cc: Change all uses of DEFUN_DLD_BUILTIN to |
|
4531 be just DEFUN_DLD. |
|
4532 |
|
4533 * defun-dld.h: Eliminate DEFUN_DLD_BUILTIN. |
|
4534 |
2464
|
4535 * syswait.h: Use #ifdef HAVE_SYS_WAIT_H, not #if HAVE_SYS_WAIT_H |
|
4536 to decide whether to include sys/wait.h. |
|
4537 |
|
4538 * pt-exp-base.h (tree_expression): Declare oper() here as a |
|
4539 virtual member function. |
|
4540 |
2463
|
4541 * pt-pr-code.cc (tree_print_code::visit_constant): Check for |
|
4542 string before checking for char_matrix. |
|
4543 |
|
4544 * ov-ch-mat.cc (octave_char_matrix::print): Supply correct number |
|
4545 of args to octave_print_internal(). |
|
4546 |
2457
|
4547 Sat Nov 2 20:44:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4548 |
2458
|
4549 * file-io.cc (Ftmpnam): Rename from Foctave_temp_file_name. |
|
4550 |
2457
|
4551 * Makefile.in (DLD_SRC): Move time.cc and getrusage.cc here from |
|
4552 SOURCES. Add getpwent.cc. |
|
4553 |
|
4554 * getrusage.cc: Rename from resource.cc. Make getrusage a |
|
4555 loadable function. |
|
4556 |
|
4557 * time.cc: Rename from timefns.cc. Make time functions loadable. |
|
4558 |
|
4559 * getpwent.cc: New file. |
|
4560 |
2439
|
4561 Wed Oct 30 01:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4562 |
2452
|
4563 * Version 1.90. |
|
4564 |
|
4565 * Makefile.in (DISTFILES): Add ChangeLog. |
|
4566 |
2449
|
4567 * ov-range.cc (octave_range::convert_to_str): New function. |
|
4568 |
|
4569 * ov-str-mat.h (octave_char_matrix_str::char_matrix_value): |
|
4570 Delete function. Already handled by octave_char_matrix class. |
|
4571 |
|
4572 * ov-ch-mat.h (octave_char_matrix::convert_to_str): New function. |
|
4573 |
2448
|
4574 * pager.cc (Fmore): Set page_screen_output to 1.0 or 0.0, not |
|
4575 "true" or "false". |
|
4576 |
2447
|
4577 * ov-ch-mat.cc, ov-struct.cc, ov-struct.h, pr-output.cc, |
|
4578 pt-cmd.cc, pt-const.cc, pt-const.h, pt-fcn.cc, pt-fvc-base.cc, |
|
4579 pt-fvc-base.h, pt-fvc.cc, pt-fvc.h, rand.cc, sighandlers.cc, |
|
4580 variables.cc, variables.h: Delete unused code. |
|
4581 |
2445
|
4582 * octave.cc: Only include pwd.h if HAVE_PWD_H. |
|
4583 |
|
4584 * oct-strstrm.h: Include <string>, not <string.h>. |
|
4585 |
2442
|
4586 * defaults.cc, dirfns.cc, file-io.cc, help.cc, input.cc, |
|
4587 oct-hist.cc, oct-procbuf.cc, oct-procbuf.h, octave.cc, pager.h, |
|
4588 procstream.h, pt-misc.cc, pt-plot.cc, sighandlers.cc, strftime.c, |
|
4589 syscalls.cc, sysdep.cc, syswait.h, toplev.cc, utils.cc, |
|
4590 variables.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. |
|
4591 |
2440
|
4592 * error.h (panic): Use GCC_ATTR_NORETURN macro, not NORETURN. |
|
4593 * toplev.h (clean_up_and_exit): Likewise. |
|
4594 * utils.h (jump_to_top_level): Likewise. |
|
4595 |
2439
|
4596 * derfaults.h.in, defaults.cc (local_arch_lib_dir): New variable. |
|
4597 * defaults.cc (set_default_local_arch_lib_dir): New function. |
|
4598 (install_defaults): Call it. |
|
4599 (exec_path): Use Vlocal_arch_lib_dir here. |
|
4600 * toplev.cc (octave_config_info): Add localarchlibdir to structure. |
|
4601 |
2436
|
4602 Tue Oct 29 15:54:27 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4603 |
2437
|
4604 * Makefile.in (install-oct): Don't do anything if $(OCT_FILES) is |
|
4605 empty. |
|
4606 |
2436
|
4607 * ov-range.cc (octave_range::index): New Function. |
|
4608 (octave_range::all, octave_range::any, octave_range::is_true): |
|
4609 Make these functions work. |
|
4610 |
|
4611 * ov.cc (octave_value::try_assignment_with_conversion): Remove |
|
4612 left over debugging print statements. |
|
4613 |
|
4614 Mon Oct 28 10:49:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4615 |
|
4616 * strftime.c: Add missing #endif for previous change. |
|
4617 |
2435
|
4618 Sun Oct 27 14:06:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4619 |
|
4620 * oct-hist.cc (do_history): Rewite option parsing to avoid |
|
4621 (probably bogus) errors from g++ on cygwin32 system. |
|
4622 |
|
4623 * strftime.c: Use autoconf macros TIME_WITH_SYS_TIME and |
|
4624 HAVE_SYS_TIME_H to decide which time.h files to include. |
|
4625 |
|
4626 * oct-stream.h, oct-stream.cc (octave_stream::error, |
|
4627 octave_base_stream::error): Rename errno => err_num. |
|
4628 |
2432
|
4629 Sat Oct 26 10:40:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4630 |
2434
|
4631 * oct-hist.cc (do_history): Move declaration of file inside |
|
4632 conditional. |
|
4633 |
2432
|
4634 * defun.h (DEFVAR_INT): Set eternal flag with (svc_fcn != 0) |
|
4635 instead of (sv_fcn ? 1 : 0) |
|
4636 |
2427
|
4637 Fri Oct 25 01:10:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4638 |
2431
|
4639 * ov-ch-mat.h (octave_char_matrix::any): Return 0.0 instead of false. |
|
4640 (octave_char_matrix::all): Likewise. |
|
4641 |
|
4642 * input.cc (Fecho): When binding value of echo_executing_commands, |
|
4643 cast ECHO_* to double. |
|
4644 |
|
4645 * sighandlers.cc (octave_child_list::do_remove): Delete unused |
|
4646 variable `enlarge'. |
|
4647 |
|
4648 * pt-const.h (tree_constant::tree_constant (const tree_constant&)): |
|
4649 Don't pass arg to tree_fvc constructor. |
|
4650 |
2427
|
4651 * resource.cc (getrusage): [HAVE_GETRUSAGE && RUSAGE_TIMES_ONLY]: |
|
4652 Only fill in time values. |
|
4653 |
|
4654 Thu Oct 24 20:37:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4655 |
|
4656 * parse.y: Comment out the %expect declaration so byacc can |
|
4657 compile this file. |
|
4658 (if_cmd_list): Add missing semicolon. |
|
4659 Include <cstdlib> for getenv if using byacc. |
|
4660 |
|
4661 * ov.h: Move typedefs outside of octave_value class scope to avoid |
|
4662 problem with cygwin32 beta16 compiler. |
|
4663 |
2421
|
4664 Fri Oct 18 13:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4665 |
2423
|
4666 * ov.h (octave_value::index): Undo previous change. |
|
4667 * ov.cc (octave_value constructors): Call maybe_mutate() in most |
|
4668 cases. |
|
4669 |
|
4670 * ov-complex.cc (octave_complex::index): Avoid implicit type |
|
4671 conversion back to scalar type. |
|
4672 * ov-scalar.cc (octave_scalar::index): Likewise. |
|
4673 |
2421
|
4674 * ov.h (octave_value::index): Call maybe_mutate() on retval before |
|
4675 returning it. |
|
4676 |
2418
|
4677 Wed Oct 16 12:00:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4678 |
2420
|
4679 * ov.h (octave_value::struct_elt_val): New optional arg, silent. |
|
4680 * ov-base.h, ov-base.cc, ov-struct.h, ov-struct.cc: Likewise, but |
|
4681 for the derived classes the arg is required. |
|
4682 |
|
4683 * data.cc (Fstruct_contains): Require arguments to be struct and |
|
4684 string, respectively. Call octave_value::struct_elt_val with |
|
4685 silent flag set. |
|
4686 |
2419
|
4687 * pt-mat.cc (tm_row_const::tm_row_const_rep::eval_error, |
|
4688 tm_row_const::tm_row_const_rep::eval_warning): New functions. |
|
4689 (tm_row_const::tm_row_const (const tree_matrix_row&): Use them to |
|
4690 give better error messages. |
|
4691 |
2418
|
4692 * pt-fvc.cc (tree_identifier::eval): Avoid dereferencing null |
|
4693 object_to_eval. |
|
4694 |
2412
|
4695 Tue Oct 15 11:35:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4696 |
|
4697 * op-cs-cm.cc, op-cs-cs.cc, op-cs-m.cc, op-cs-s.cc |
|
4698 (complex_matrix_conv): New functions. |
|
4699 Install preferred assignment conversion and widening ops. |
|
4700 |
|
4701 * op-s-cm.cc, op-s-cs.cc (complex_matrix_conv): New functions. |
|
4702 Install preferred assignment conversion and widening ops. |
|
4703 |
|
4704 * op-s-m.cc, op-s-s.cc (matrix_conv): New functions. |
|
4705 Install preferred assignment conversion and widening ops. |
|
4706 |
|
4707 * ov.cc (octave_value::try_assignment_with_conversion, |
|
4708 octave_value::convert_and_assign, octave_value::try_assignment): |
|
4709 New functions. |
|
4710 (octave_value::assign): Use them to implement twisted logic for |
|
4711 type conversions in assigments. |
|
4712 |
|
4713 * pt-const.h (tree_constant::maybe_mutate): New function. |
|
4714 * ov.h (octave_value::maybe_mutate): New function. |
|
4715 (octave_value::try_narrowing_conversion): New function. |
|
4716 Use just one typedef for widening_op_fcn and numeric_conv_fcn. |
|
4717 Change all uses. |
|
4718 * ov-base.h, ov-complex.h, ov-complex.cc, ov-cx-mat.h, |
|
4719 ov-cx-mat.cc, ov-range.h, ov-range.cc, ov-re-mat.h, ov-re-mat.cc, |
|
4720 Provide derived class versions of try try_narrowing_conversion(). |
|
4721 |
|
4722 * pr-output.cc (octave_print_internal): Don't bother handing off |
|
4723 to scalar/real versions, even when it would seem appropriate. |
|
4724 |
|
4725 * symtab.cc (symbol_def::define (tree_constant *)): Call |
|
4726 maybe_mutate on constants here. |
|
4727 |
2405
|
4728 Mon Oct 14 11:05:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4729 |
2407
|
4730 * pt-fvc.cc (tree_identifier::eval): If retval is undefined and |
|
4731 the object to eval is a constant, print error message. |
2406
|
4732 |
2405
|
4733 * Makefile (distclean): Remove *.oct too. |
|
4734 |
|
4735 * defun-int.h: Include variables.h here. |
|
4736 |
2403
|
4737 Sun Oct 13 10:52:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4738 |
2404
|
4739 * variables.cc (print_symbol_info_line): Never print negative |
|
4740 diminsions. |
|
4741 |
|
4742 * symtab.h (octave_symbol_record_info): Store const_type as string. |
|
4743 (octave_symbol_record_info::init): Delete. Fix constructors. |
|
4744 (octave_symbol_record_info::type_name): Handle const_type as string. |
|
4745 |
2403
|
4746 * octave.cc (maximum_braindamage): Replace "true" with 1.0 and |
|
4747 "false" with 0.0 in calls to bind_builtin_variable(). |
|
4748 Include sun-utils.h here. |
2404
|
4749 (intern_argv): Also bind __argv__. |
2403
|
4750 |
2391
|
4751 Sat Oct 12 13:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4752 |
2399
|
4753 * Makefile.in (distclean): Also delete mk-oct-links. |
|
4754 |
|
4755 Fri Oct 11 13:13:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4756 |
2391
|
4757 Changes for Octave's new type system: |
|
4758 |
|
4759 * arith-ops.cc: Delete. |
|
4760 * pt-const.h, pt-const.cc: Massive changes. Most functionality |
|
4761 moved to ov.h, ov.cc, and derived classes. |
|
4762 |
|
4763 * variables.h, variables.cc (octave_variable_reference): New class |
|
4764 for getting references to variables and structure elements used in |
|
4765 assignments or value contexts. |
|
4766 |
|
4767 * symtab.h, symtab.cc (symbol_record::define (const octave_value&), |
|
4768 symbol_record::variable_value, symbol_record::variable_reference): |
|
4769 New functions. |
|
4770 (symbol_record_info::type_name): Rename from type_as_string. |
|
4771 |
|
4772 * pt-fvc-base.h, pt-fvc-base.cc (tree_fvc::increment, |
|
4773 tree_fvc::decrement): New functions to replace |
|
4774 tree_fvc::bump_value. |
|
4775 #if 0 assign and lookup_map_element functions. |
|
4776 |
|
4777 * pt-mvr.cc (tree_multi_assignment_expression::eval): |
|
4778 Generated RHS value is now a tree_constant. |
|
4779 |
|
4780 * pt-exp.h, pt-exp.cc (tree_boolean_expression): New class. |
|
4781 (tree_unary_expression, tree_binary_expression, |
|
4782 tree_boolean_expression): Move codes here from tree_expression. |
|
4783 (tree_simple_assignment_expression): Cope with changes to way of |
|
4784 doing assignments. |
|
4785 |
|
4786 * pt-exp-base.h, pt-exp-base.cc (enum type): Delete codes for |
|
4787 unary and binary ops. |
|
4788 (tree_expression::expression_type): Delete. |
|
4789 (tree_expression::is_logically_true): Hand off to |
|
4790 octave_value::is_true to do real work. |
|
4791 |
|
4792 * pr-output.h, pr-output.cc (any_element_is_inf_or_nan, |
|
4793 all_elements_are_ints): Delete. Call member new functions for |
|
4794 these operations. |
|
4795 (free_format, plus_format, bank_format, hex_format, |
|
4796 compact_format, print_e, print_big_e): Use bool, not int. |
|
4797 (octave_print_internal): Hand off to scalar/real versions when |
|
4798 appropriate. |
|
4799 |
|
4800 * octave.cc (main): Call initialize_types() and install_ops(). |
|
4801 (verbose_usage): Add WWW address to output. |
|
4802 |
|
4803 * parse.y (indirect_ref): Handle by making a tree instead of a |
|
4804 list using new version of tree_indirect_ref class. |
|
4805 |
|
4806 * parse.y (make_boolean_op): New function. Use it instead of |
|
4807 make_binary_op to create trees for && and || ops. |
|
4808 (make_binary_op): Codes come from tree_binary_expression now, |
|
4809 instead of tree_expression. |
|
4810 (make_unary_op): Codes come from tree_unary_expression now, |
|
4811 instead of tree_expression. |
|
4812 (make_boolean_op): Codes come from tree_boolean_expression. |
|
4813 |
|
4814 *parse.y (tree_constant_type): Change type to tree_constant* from |
|
4815 octave_value*, and rename from octave_value_type. Change uses. |
|
4816 |
|
4817 * defun.h (DEFVAR_INT): Pass octave_value not pointer to |
|
4818 octave_value for defn when creating builtin_variable. |
|
4819 |
|
4820 * gripes.h, gripes.cc (gripe_invalid_conversion): Args are |
|
4821 strings, not char*. |
|
4822 (gripe_implicit_conversion, gripe_divide_by_zero): New extern |
|
4823 gripe functions. |
|
4824 |
|
4825 * mkbuiltins: For each file, create a separate static function to |
|
4826 install builtins, then create another single extern function to |
|
4827 call all of them. |
|
4828 |
|
4829 * pt-fcn.cc (tree_function::bind_nargin_and_nargout): |
|
4830 Just pass doubles and let symbol_record::define handle creating |
|
4831 new value. |
|
4832 |
|
4833 * pt-pr-code.cc, pt-pr-code.h (visit_constant): Renamed from |
|
4834 visit_octave_value. |
|
4835 (visit_unary_expression): Use tree_expression::is_prefix_op() |
|
4836 instead of switch on op types. |
|
4837 |
|
4838 * pt-walk.h (visit_constant): Renamed from visit_octave_value. |
|
4839 |
|
4840 * pt-misc.cc (initialize_undefined_elements): Get reference to |
|
4841 tmp, then assign. |
|
4842 * pt-cmd.cc (do_for_loop_once): Likewise, for loop identifier. |
|
4843 |
|
4844 * input.cc (generate_struct_completions, looks_like_struct): Cast |
|
4845 tmp_fvc to tree_constant*, not octave_value*. |
|
4846 (get_user_input): Call print() on retval, not eval(1). |
|
4847 |
|
4848 * help.cc (Ftype): Cast defn to tree_constant*, not octave_value*. |
|
4849 |
|
4850 * balance.cc: Fix docstring. |
|
4851 |
|
4852 * dassl.cc, fsolve.cc, load-save.cc, lsode.cc, npsol.cc, qpsol.cc, |
|
4853 quad.cc: |
|
4854 Include pt-fvc.h. |
|
4855 |
|
4856 * data.cc (Fstruct_contains): call octave_value::struct_elt_val, |
|
4857 not octave_value::lookup_map_element. |
|
4858 |
|
4859 * dirfns.cc (Fcd): Pass directory name as string directly to |
|
4860 bind_builtin_variable instead of creating new octave_value. |
|
4861 |
|
4862 * toplev.cc: Include pt-fvc.h and lo-mappers.h |
|
4863 |
|
4864 * data.cc, error.cc, file-io.cc, load-save.cc, pager.cc, |
|
4865 pt-mat.cc, pt-plot.cc, syscalls.cc, toplev.cc: |
|
4866 Include variables.h. |
|
4867 |
|
4868 * Array-tc.cc, Map-tc.cc, SLList-misc.cc SLList-tc.cc, data.cc, |
|
4869 defaults.cc, dynamic-ld.cc, error.cc, gripes.cc, lex.l, octave.cc, |
|
4870 oct-map.h, oct-map.cc, oct-obj.h, pt-cmd.cc, pt-exp.cc, pt-fcn.cc, |
|
4871 pt-fvc-base.cc, pt-mat.cc, pt-misc.cc, pt-mvr-base.cc, pt-mvr.h, |
|
4872 resource.cc, strfns.cc, sysdep.cc, timefns.cc, toplev.cc: |
|
4873 Include ov.h instead of pt-const.h. |
|
4874 |
|
4875 * xpow.cc (any_element_is_negative): Delete. |
|
4876 (xpow and elem_xpow functions): Check conformance here. |
|
4877 |
|
4878 * xdiv.cc (mx_leftdiv_conform, mx_div_conform): |
|
4879 Now template-based, taking Matrices instead of dimensions as args. |
|
4880 Change all callers. |
|
4881 |
|
4882 * op-cm-cm.cc, op-cm-cm.h, op-cm-cs.cc, op-cm-cs.h, op-cm-m.cc, |
|
4883 op-cm-m.h, op-cm-s.cc, op-cm-s.h, op-cs-cm.cc, op-cs-cm.h, |
|
4884 op-cs-cs.cc, op-cs-cs.h, op-cs-m.cc, op-cs-m.h, op-cs-s.cc, |
|
4885 op-cs-s.h, op-m-cm.cc, op-m-cm.h, op-m-cs.cc, op-m-cs.h, op-m-m.cc, |
|
4886 op-m-m.h, op-m-s.cc, op-m-s.h, op-s-cm.cc, op-s-cm.h, op-s-cs.cc, |
|
4887 op-s-cs.h, op-s-m.cc, op-s-m.h, op-s-s.cc, op-s-s.h, |
|
4888 op-str-str.cc, op-str-str.h, ops.cc, ops.h, ov-base.cc, ov-base.h, |
|
4889 ov-ch-mat.cc, ov-ch-mat.h, ov-colon.cc, ov-colon.h, ov-complex.cc, |
|
4890 ov-complex.h, ov-cx-mat.cc, ov-cx-mat.h, ov-range.cc, ov-range.h, |
|
4891 ov-re-mat.cc, ov-re-mat.h, ov-scalar.cc, ov-scalar.h, ov-str-mat.cc, |
|
4892 ov-str-mat.h, ov-struct.cc, ov-struct.h, ov-typeinfo.cc, |
|
4893 ov-typeinfo.h, ov-va-args.cc, ov-va-args.h, ov.cc, ov.h: |
|
4894 New files for Octave's new type system. |
|
4895 * Makefile.in: Add them to the appropriate lists. |
|
4896 |
|
4897 Sat Sep 14 21:58:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4898 |
|
4899 * mkbuiltins: Use .df instead of .def. |
|
4900 Write one function for each .df file, then call them |
|
4901 all in install_builtin_functions(). |
|
4902 * Makefile.in: Handle .df instead of .def. |
|
4903 |
|
4904 * balance.cc (balance): Fix typo in doc string. |
|
4905 |
|
4906 Wed Aug 28 21:01:49 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4907 |
|
4908 * octave.cc (verbose_usage): Include WWW address and bug-octave |
|
4909 mailing list address. |
|
4910 |
2354
|
4911 Tue Aug 20 17:41:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4912 |
2358
|
4913 * Makefile.in: Only define pattern rules for making .oct files if |
|
4914 OCTAVE_LITE is true. |
|
4915 Only add pic/ to $(TI_OBJ) if $(SHARED_LIBS) is true. |
|
4916 (stamp-picdir): Only create a pic subdirectory if SHARED_LIBS or |
|
4917 OCTAVE_LITE is true AND CPICFLAG or CXXPICFLAG is not empty. |
|
4918 |
2354
|
4919 * minmax.cc (Fmin, Fmax): Deal with changes to Matrix class |
|
4920 min/max methods. |
|
4921 |
2345
|
4922 Thu Jul 25 01:42:38 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4923 |
2348
|
4924 * input.cc (generate_possible_completions): Force the names to be |
|
4925 unique. |
|
4926 |
2345
|
4927 * load-save.cc (read_mat_binary_data): Expect to read terminating |
|
4928 NUL character in the variable name. |
|
4929 (save_mat_binary_data): Likewise, save it here. |
|
4930 |
2341
|
4931 Wed Jul 24 05:08:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4932 |
2343
|
4933 * lsode.cc (Flsode): Don't set the return value if an error |
|
4934 occurred during integration. |
2344
|
4935 * dassl.cc (Fdassl): Likewise. |
2343
|
4936 |
2341
|
4937 * file-io.cc (symbols_of_file_io): Redefine values of SEEK_SET, |
|
4938 SEEK_CUR, and SEEK_END for Matlab compatibility. |
|
4939 * oct-stream.cc (seek): Check for compatible values of ORIGIN arg. |
|
4940 Also handle "bof", "cof", and "eof". |
|
4941 |
2338
|
4942 Fri Jul 19 15:24:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4943 |
|
4944 * pt-const.cc: When creating octave_value_reps from ComplexMatrix |
|
4945 values, check to see if all the elements are actually real. |
|
4946 |
2330
|
4947 Tue Jul 16 10:53:42 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4948 |
2341
|
4949 * input.cc (decode_prompt_string): Swap meanings of \h and \H. |
2330
|
4950 |
|
4951 Mon Jul 15 16:01:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4952 |
|
4953 * toplev.cc (run_command_and_return_output): Renamed from do_system. |
|
4954 (Fsystem): Make `system ("emacs")' work as one would expect. |
|
4955 |
|
4956 Sun Jul 14 17:34:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4957 |
|
4958 * file-io.cc (Ffopen, Ffread, Ffwrite): Update doc strings, |
|
4959 correctly handle default architecture and precision args. |
|
4960 |
|
4961 * load-save.cc (mopt_digit_to_float_format): Rename from |
|
4962 get_floating_point_format. |
|
4963 (float_format_to_mopt_digit): New function. |
|
4964 |
|
4965 * oct-stream.cc (octave_base_stream::read, octave_base_stream::write): |
|
4966 Simplify by calling Matrix::read and Matrix::write to do real work |
|
4967 of reading, writing, and format conversion. |
|
4968 |
|
4969 * oct-stream.h (octave_base_stream): Move data_type enum to |
|
4970 liboctave/data-conv.h. Use float_format from |
|
4971 liboctave/mach-info.h instead of arch_type enum. |
|
4972 |
|
4973 * sysdep.h, sysdep.cc (octave_words_big_endian, ten_little_endians): |
|
4974 Delete. Now part of oct_mach_info class in liboctave. |
|
4975 |
|
4976 Tue Jul 9 11:18:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4977 |
|
4978 * arith-ops.cc, balance.cc, dassl.cc, data.cc, filter.cc, find.cc, |
|
4979 fsolve.cc, load-save.cc, log.cc, lsode.cc, minmax.cc, npsol.cc, |
|
4980 oct-obj.cc, oct-stream.cc, pr-output.cc, pt-cmd.cc, pt-const.cc, |
|
4981 pt-fvc.cc, pt-plot.cc, quad.cc, rand.cc, sighandlers.cc, sort.cc, |
|
4982 syscalls.cc, unwind-prot.cc, xdiv.cc, xpow.cc: |
|
4983 When indexing arrays, use operator() instead of elem() so that |
|
4984 bounds checking can be done consistently. |
|
4985 |
|
4986 Mon Jun 24 02:13:27 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4987 |
|
4988 * Makefile.in (install-oct): Use INSTALL_PROGRAM, instead of |
|
4989 INSTALL_DATA for installing shared libraries. |
|
4990 |
|
4991 * lex.l (grab_help_text): Ignore all initial comment characters, |
|
4992 not just the first. |
|
4993 * variables.cc (gobble_leading_white_space): Likewise. |
|
4994 |
|
4995 Sat Jun 22 22:43:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4996 |
|
4997 * input.h, input.cc (octave_completion_matches_called): New varaible. |
|
4998 (Fcompletion_matches): Set it to true on a successful call. |
|
4999 * toplev.cc (main_loop): If octave_completion_matches_called is |
|
5000 true, don't increment current_command_number. |
|
5001 |
|
5002 Thu Jun 13 03:52:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5003 |
|
5004 * variables.cc (is_mapper_function_name, |
|
5005 is_builtin_function_name): New functions. |
|
5006 (Fdocument): Use them. |
|
5007 Define as regular function, not a text style function. |
|
5008 |
|
5009 Thu Jun 6 00:09:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5010 |
|
5011 * pt-plot.cc: Handle new built-in variable `gnuplot_has_frames'. |
|
5012 |
|
5013 Wed Jun 5 14:45:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5014 |
|
5015 * input.cc (decode_prompt_string): \h now means the whole host |
|
5016 name and \H is the host name up to the first `.'. |
|
5017 |
|
5018 Thu May 30 23:41:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5019 |
|
5020 * fn-cache.cc (octave_fcn_file_name_cache::do_list): Always |
|
5021 recompute the lists of function files instead of trying to cache |
|
5022 them. |
|
5023 |
|
5024 Tue May 28 12:05:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5025 |
|
5026 * utils.cc (warn_old_style_preference): New function. |
|
5027 (check_preference): Use it. |
|
5028 |
|
5029 * fn-cache.h: Include <ctime> here. |
|
5030 |
|
5031 Fri May 24 00:57:14 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5032 |
|
5033 * input.cc (completion_matches): Don't return empty string_vectors. |
|
5034 |
|
5035 * octave.cc (long_opts): Add braindead. |
|
5036 |
|
5037 Thu May 23 01:49:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5038 |
|
5039 * input.cc (gnu_readline): New optional arg, force_readline. |
|
5040 (get_user_input): Use it. |
|
5041 |
|
5042 * pt-const.cc (OCT_VAL_REP::assign): If converting the rhs to a |
|
5043 numeric value, convert a copy, not the actual object. |
|
5044 (OCT_VAL_REP::do_index): Prevent s([]) from resulting in a string |
|
5045 with zero rows. |
|
5046 |
|
5047 * mappers.cc: Handle toascii here. |
|
5048 * strfns.cc: Not here. |
|
5049 |
|
5050 * mappers.cc: Handle tolower and toupper here. |
|
5051 * mappers.h: Rename can_return_complex_for_real to flag and |
|
5052 overload meaning for ch_mapper. |
|
5053 * pt-fvc.cc (apply_mapper_fcn): Handle overloaded meaning. |
|
5054 |
|
5055 * syscalls.cc (stat): Return 3 values instead of just 1. |
|
5056 (lstat): Likewise. |
|
5057 |
|
5058 Wed May 22 02:34:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5059 |
|
5060 * pt-const.cc (OCT_VAL_REP::make_numeric): For string to number |
|
5061 conversions, correctly set type tag before calling force_numeric. |
|
5062 (do_binary_op): Force string to number conversion if both args are |
|
5063 strings and we are doing some sort of comparison operation. |
|
5064 |
|
5065 * Makefile.in (stamp-tinst, stamp-interp): Use SH_TERMLIBS and |
|
5066 SH_LIBS instead of TERMLIBS and LIBS. |
|
5067 |
|
5068 * pt-const.cc (do_unary_op): Add special case to handle |
|
5069 transposing strings. |
|
5070 |
|
5071 * pt-mat.cc (Vstring_fill_char): New variable. |
|
5072 (symbols_of_pt_mat): DEFVAR it. |
|
5073 |
|
5074 * input.cc (generate_struct_completions, |
|
5075 generate_possible_completions): Return string_vector, not char **. |
|
5076 Change all callers. |
|
5077 |
|
5078 * pt-const.cc (lookup_map_element): Use substr() correctly. |
|
5079 |
|
5080 Tue May 21 21:37:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5081 |
|
5082 * oct.h: New file. |
|
5083 * Makefile.in (INCLUDES): Add it to the list. |
|
5084 |
|
5085 * octave.cc: New args --no-site-file and --no-init-file. Delete |
|
5086 --ignore-init-file. The flag --norc (-f) implies both |
|
5087 --no-site-file and --no-init-file. |
|
5088 |
|
5089 Fri May 17 01:54:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5090 |
|
5091 * input.cc (Fcompletion_matches): New function. |
|
5092 |
|
5093 * utils.cc (get_fcn_file_names): Delete. |
|
5094 * help.cc (simple_help): Use new file name cache instead of |
|
5095 calling get_fcn_file_names. |
|
5096 * variables.cc (make_name_list): Likewise. |
|
5097 |
|
5098 * fn-cache.h, fn-cache.cc, Map-fnc.cc: New files. |
|
5099 * Makefile.in: Add them to the lists. |
|
5100 |
|
5101 * Makefile.in (uninstall): Install in octincludedir, not includedir. |
|
5102 |
|
5103 * pt-plot.h: Include <csignal> here. |
|
5104 |
|
5105 Thu May 16 10:52:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5106 |
|
5107 * oct-stream.cc (octave_stream::oscanf, octave_base_stream::oscanf, |
|
5108 octave_base_stream::do_oscanf): New functions for backward |
|
5109 compatibility with older versions of Octave. |
|
5110 (scanf_format_elt, scanf_format_list): Keep track of width specifier. |
|
5111 * file-io.cc (Fscanf): New function. |
|
5112 (Fscanf, Ffscanf, Fsscanf): Handle compatibility arg. |
|
5113 |
|
5114 Wed May 15 01:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5115 |
|
5116 * oct-stream.cc (do_scanf): If doing '%c' conversion, unset |
|
5117 ios::skipws on input stream. |
|
5118 |
|
5119 * sighandlers.h, sighandlers.cc (octave_child, octave_child_list): |
|
5120 New classes for keeping track of the child processes we create. |
|
5121 (sigchld_handler): Check in octave_child_list to see if there is |
|
5122 anything we can do for the child that died. |
|
5123 * pager.cc: Register child pager process. |
|
5124 * pt-plot.cc: Likewise, for the plotter. |
|
5125 * Array-oc.cc: New file |
|
5126 * Makefile.in (TI_SRC): Add it to the list. |
|
5127 |
|
5128 * pager.cc (do_sync): Don't check error_state. |
|
5129 (flushing_output_to_pager): New static variable. |
|
5130 (flush_octave_stdout): Use it to avoid doing anything if already |
|
5131 flushing output. |
|
5132 |
|
5133 * sighandlers.cc (sigchld_handler): Call warning instead of |
|
5134 writing directly to cerr. |
|
5135 (sigpipe_handler): Call warning instead of message. |
|
5136 |
|
5137 * octave.cc (main): Call install_signal_handlers, |
|
5138 initialize_file_io, initialize_symbol_tables, and install_builtins |
|
5139 before parsing command line options. |
|
5140 |
|
5141 * user-prefs.h, user-prefs.cc: Delete. |
|
5142 |
|
5143 * utils.cc (check_preference): Move here. |
|
5144 * user-prefs.cc: From here. |
|
5145 |
|
5146 * defaults.cc: New file. Move initialization stuff from |
|
5147 variables.cc. Move DEFVARS for EDITOR, EXEC_PATH, LOADPATH, |
|
5148 IMAGEPATH, and OCTAVE_VERSION here. |
|
5149 |
|
5150 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5151 INFO_FILE and INFO_PROGRAM. |
|
5152 * help.cc: Move all of that here. |
|
5153 (symbols_of_help): Add DEFVARS for INFO_FILE and INFO_PROGRAM. |
|
5154 |
|
5155 Tue May 14 00:23:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5156 |
|
5157 * pager.cc (do_sync): Be more defensive about sending stuff to the |
|
5158 external pager. |
|
5159 * sighandlers.cc (sigchld_handler): For now, only wait for |
|
5160 octave_pager_pid. Don't call error(). Do set octave_pager_pid to |
|
5161 -1 if the pager process no longer exists. |
|
5162 |
|
5163 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5164 PWD. |
|
5165 * dirfns.cc: Move all of that here. |
|
5166 (symbols_of_dirfns): New function. |
|
5167 * variables.cc (install_builtin_variables): Call it. |
|
5168 |
|
5169 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5170 default_save_format and save_precision. |
|
5171 * load-save.cc: Move all of that here. |
|
5172 (symbols_of_load_save): New function. |
|
5173 * variables.cc (install_builtin_variables): Call it. |
|
5174 |
|
5175 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5176 warn_divide_by_zero. |
|
5177 * arith-ops.cc: Move all of that here. |
|
5178 (symbols_of_arith_ops): New function. |
|
5179 * variables.cc (install_builtin_variables): Call it. |
|
5180 |
|
5181 * mappers.cc: Add wrappers for ctype is* functions so that they |
|
5182 will work on systems that only define them as macros. |
|
5183 |
|
5184 Mon May 13 00:27:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5185 |
|
5186 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5187 suppress_verbose_help_message. |
|
5188 * help.cc: Move all of that here. |
|
5189 (symbols_of_help): New function. |
|
5190 * variables.cc (install_builtin_variables): Call it. |
|
5191 |
|
5192 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5193 treat_neg_dim_as_zero. |
|
5194 * pt-const.cc: Move all of that here. |
|
5195 |
|
5196 * pager.cc (octave_pager_stream::do_sync): Don't return early if |
|
5197 not interactive. |
|
5198 |
|
5199 * data.h: New file. |
|
5200 * Makefile.in (INCLUDES): Add it to the list. |
|
5201 * data.cc (symbols_of_data): New function. Move definition of I, |
|
5202 Inf, J, NaN, e, eps, i, inf, j, nan, pi, realmin, and realmax here. |
|
5203 * variables.cc: From here. |
|
5204 (install_builtin_variables): Call symbols_of_data. |
|
5205 |
|
5206 * file-io.cc (symbols_of_file_io): New function. Move definition |
|
5207 of SEEK_CUR, SEEK_END, SEEK_SET, stdin, stdout, stderr here. |
|
5208 * variables.cc: From here. |
|
5209 (install_builtin_variables): Call symbols_of_file_io. |
|
5210 |
|
5211 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5212 do_fortran_indexing, implicit_str_to_num_ok, |
|
5213 ok_to_lose_imaginary_part, prefer_column_vectors, |
|
5214 prefer_zero_one_indexing, print_answer_id_name, |
|
5215 propagate_empty_matrices, resize_on_range_error, and |
|
5216 struct_levels_to_print. |
|
5217 * pt-const.cc: Move all of that here. |
|
5218 (symbols_of_pt_const): New function. |
|
5219 * variables.cc (install_builtin_variables): Call it. |
|
5220 * pt-fvc.cc (tree_identifier::assign): Use Vresize_on_range_error |
|
5221 instead of user_pref.resize_on_range_error here. |
|
5222 * load-save.cc (save_mat_binary_data): Use Vimplicit_str_to_num_ok |
|
5223 instead of user_pref.implicit_str_to_num_ok here. |
|
5224 * utils.cc (empty_arg): Use Vpropagate_empty_matrices instead of |
|
5225 user_pref.propagate_empty_matrices here. |
|
5226 * pt-exp-base.cc (tree_expression::is_logically_true): Likewise.. |
|
5227 |
|
5228 * pt-fcn.cc (symbols_of_pt_fcn): Also move DEFVAR for |
|
5229 default_return_value here. |
|
5230 |
|
5231 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5232 ps1, ps2, ps4, and completion_append_char. |
|
5233 * input.cc: Move all of that here. |
|
5234 (symbols_of_input): New function. |
|
5235 * variables.cc (install_builtin_variables): Call it. |
|
5236 * pt-pr-code.cc (indent): Use Vps4 instead of user_pref.ps4 here. |
|
5237 * help.cc (Ftype): Also here. |
|
5238 |
|
5239 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5240 automatic_replot, gnuplot_binary, and gnuplot_has_multiplot. |
|
5241 * pt-plot.cc: Move all of that here. |
|
5242 (symbols_of_pt_plot): New function. |
|
5243 * variables.cc (install_builtin_variables): Call it. |
|
5244 |
|
5245 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5246 beep_on_error. |
|
5247 * error.cc: Move all of that here. |
|
5248 (symbols_of_error): New function. |
|
5249 * variables.cc (install_builtin_variables): Call it. |
|
5250 |
|
5251 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5252 empty_list_elements_ok. |
|
5253 * pt-mat.cc: Move all of that here. |
|
5254 (symbols_of_pt_mat): New function. |
|
5255 * variables.cc (install_builtin_variables): Call it. |
|
5256 |
|
5257 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5258 define_all_return_values, return_last_computed_value, and |
|
5259 silent_functions. |
|
5260 * pt-fcn.cc: Move all of that here. |
|
5261 (symbols_of_pt_fcn): New function. |
|
5262 * variables.cc (install_builtin_variables): Call it. |
|
5263 |
|
5264 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5265 whitespace_in_literal_matrix. |
|
5266 * lex.l: Move all of that here. |
|
5267 (symbols_of_lex): New function. |
|
5268 * variables.cc (install_builtin_variables): Call it. |
|
5269 |
|
5270 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5271 warn_assign_as_truth_value, warn_comma_in_global_decl, |
|
5272 warn_function_name_clash, and warn_missing_semicolon. |
|
5273 * parse.y: Move all of that here. |
|
5274 (symbols_of_parse): New function. |
|
5275 * variables.cc (install_builtin_variables): Call it. |
|
5276 |
|
5277 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5278 output_precision, output_max_field_width, print_empty_dimensions, |
|
5279 and split_long_rows. |
|
5280 * pr-output.cc: Move all of that here. |
|
5281 (symbols_of_pr_output): New function. |
|
5282 * variables.cc (install_builtin_variables): Call it. |
|
5283 |
|
5284 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
5285 page_screen_output, page_output_immediately, and pager_binary. |
|
5286 * pager.cc: Move all of that here. |
|
5287 |
|
5288 * user-prefs.h (check_preference): Provide declaration. |
|
5289 * user-prefs.cc (check_preference): Make external. |
|
5290 |
|
5291 * toplev.cc (Foctave_config_info): New function. |
|
5292 |
|
5293 * oct-conf.h.in: New file |
|
5294 * Makefile.in (oct-conf.h): New target. |
|
5295 Add it to the appropriate lists. |
|
5296 |
|
5297 * sighandlers.cc (sigchld_handler): Don't complain about wait |
|
5298 returning a negative value. |
|
5299 |
|
5300 * file-io.cc (Fsscanf, Fsprintf): Pass true for second arg of |
|
5301 octave_stream constructor. |
|
5302 |
|
5303 * oct-stream.h (octave_stream): New field, preserve. |
|
5304 (octave_stream::~octave_stream): If preserve, don't delete rep. |
|
5305 |
|
5306 * pager.cc (symbols_of_pager): Set default for |
|
5307 page_output_immediately to 0. |
|
5308 |
|
5309 * toplev.cc (do_system): Correctly handle return_output. |
|
5310 Append ends to output_buf before calling str(). |
|
5311 |
|
5312 * variables.cc: If M_PI and M_E are available, use them. |
|
5313 |
|
5314 * mk-oct-links.in (links_dir): If old link exists, delete it first. |
|
5315 |
|
5316 Sun May 12 01:46:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5317 |
|
5318 * Makefile.in (DISTFILES): List defaults.h.in and oct-gperf.h here. |
|
5319 (INCLUDES): Not here. |
|
5320 (install-inc): New target. |
|
5321 (uninstall): Also delete libraries and include files. |
|
5322 (install-inc): If linkdir is a directory, leave it alone. |
|
5323 (TERMLIBS, LIBPLPLOT, LIBDLFCN): Don't substitute here (now in |
|
5324 Makeconf). |
|
5325 |
|
5326 * oct-stream.cc (octave_base_stream::do_read): Provide initial |
|
5327 value for tmp var. |
|
5328 |
|
5329 * pt-walk.h, pt-pr-code.h, pt-pr-code.cc: New tree-walking classes. |
|
5330 * Makefile.in: Add them to the appropriate lists. |
|
5331 * pt-fvc-base.h, pt-exp-base.cc, pt-fvc-base.cc, pt-mvr-base.cc, |
|
5332 pt-base.cc, pt-mvr.cc, pt-mat.h, pt-mat.cc, pt-fvc.cc, |
|
5333 pt-const.cc, pt-cmd.cc, pt-const.h, pt-misc.cc, pt-plot.cc, |
|
5334 pt-fcn.cc, pt-plot.h, pt-mvr.h, pt-mvr-base.h, pt-misc.h, |
|
5335 pt-fcn.h, pt-exp.h, pt-exp.cc, pt-exp-base.h, pt-fvc.h, pt-cmd.h, |
|
5336 pt-base.h: |
|
5337 Replace print_code stuff with accept() functions. |
|
5338 Add member access functions where necessary. |
|
5339 * help.cc (Ftype): Update to use new method of walking trees to |
|
5340 print text representation of user-defined functions. |
|
5341 |
|
5342 * file-io.cc (Ffscanf): Update doc string. |
|
5343 (Fsscanf): Likewise. |
|
5344 |
|
5345 * oct-stream.cc (octave_base_stream::do_read): Correctly set max_size. |
|
5346 Pad mval with zeros on final resize. |
|
5347 (octave_base_stream::do_scanf): Likewise. |
|
5348 (do_scanf_conv): Correctly resize mval. |
|
5349 |
|
5350 Sat May 11 05:14:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5351 |
|
5352 * pager.cc (octave_pager_buf::sync): Correctly set bypass_pager. |
|
5353 |
|
5354 * lex.l (<MATRIX>{SNLCMT}*\]{S}*): Match SNLCMT, not just SNL. |
|
5355 |
|
5356 Fri May 3 11:05:30 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5357 |
|
5358 * pt-const.cc (OCT_VAL_REP::set_index): Complain if type can't be |
|
5359 indexed. |
|
5360 |
|
5361 * input.cc (get_user_input): Don't increment input line number if |
|
5362 input is coming from eval string. |
|
5363 |
|
5364 * user-prefs.cc: Allow empty strings for prompts. |
|
5365 |
|
5366 Thu May 2 10:50:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5367 |
|
5368 * pt-mvr.h (class tree_oct_obj): Declare values data member const. |
|
5369 |
|
5370 Sun Apr 28 03:16:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5371 |
|
5372 * user-prefs.h (user_preferences): New field, |
|
5373 `page_output_immediately'. |
|
5374 * user-prefs.cc (init_user_prefs): Initialize it. |
|
5375 (page_output_immediately): New function. |
|
5376 * pager.cc (syms_of_pager): Add DEFVAR. |
|
5377 (really_flush_to_pager): New file-scope variable. |
|
5378 (flush_octave_stdout): Set and restore it. |
|
5379 (octave_pager_buf::sync): Check it, user_pref.page_screen_output, |
|
5380 and user_pref.page_output_immediately to decide when to really |
|
5381 flush output. |
|
5382 (more_than_a_screenful): New function. If paging but not |
|
5383 immediately, then check this too. |
|
5384 |
|
5385 * pager.cc (default_pager): Move here from variables.cc. If pager |
|
5386 is less and LESS is not in the environment, append useful flags. |
|
5387 (symbols_of_pager): New function. |
|
5388 * variables.cc (install_builtin_variables): Call it. |
|
5389 Delete pager-related DEFVARs. |
|
5390 |
|
5391 * syswait.h (WIFSIGNALLED): Define if sys/wait.h doesn't. |
|
5392 |
|
5393 * sighandlers.cc: Handle SIGCHLD. |
|
5394 |
|
5395 * pager.cc, pager.h: Rewrite. |
|
5396 * pt-mvr.cc, pt-misc.cc, pt-fcn.cc, pt-const.cc, oct-hist.cc, |
|
5397 file-io.cc, help.cc, variables.cc, qpsol.cc, dassl.cc, quad.cc, |
|
5398 npsol.cc, lsode.cc, fsolve.cc, load-save.cc, dirfns.cc, octave.cc, |
|
5399 toplev.cc, error.cc, input.cc: |
|
5400 Write to octave_stdout and octave_diary instead of calling |
|
5401 maybe_page_output() or maybe_write_to_diary_file(). |
|
5402 |
|
5403 * oct-procbuf.h, oct-procbuf.cc: New files. |
|
5404 * procstream.h (class procstreambase): Use octave_procbuf instead |
|
5405 of procbuf from libg++, so we can get pids of subprocesses. |
|
5406 |
|
5407 Fri Apr 26 01:21:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5408 |
|
5409 * pt-const.cc (OCT_VAL_REP::do_index): Call maybe_mutate() before |
|
5410 returning. |
|
5411 |
|
5412 * mappers.h (struct Mapper_fcn): Delete. |
|
5413 (struct builtin_mapper_function): New field ch_mapper. |
|
5414 * pt-fvc.h (tree_builtin): Convert type of mapper_fcn from |
|
5415 Mapper_fcn to builtin_mapper_function. |
|
5416 * variables.cc (install_builtin_mapper): Likewise, for arg. |
|
5417 Simplify, since we don't have to do the copying ourselves now. |
|
5418 * pt-fvc.cc (apply_mapper_function): Handle ch_mapper case. |
|
5419 * defun.h (DEFUN_MAPPER): Likewise. |
|
5420 * mappers.cc (install_builtin_mappers): Likewise. |
|
5421 Add ctype is* functions here. |
|
5422 |
|
5423 Thu Apr 25 00:57:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5424 |
|
5425 * arith-ops.h, defun-int.h, defun.h, dynamic-ld.h, gripes.h, |
|
5426 load-save.h, oct-map.h, oct-obj.h, oct-stream.h, pt-cmd.h, |
|
5427 pt-const.h, pt-exp-base.h, pt-exp.h, pt-fcn.h, pt-fvc-base.h, |
|
5428 pt-fvc.h, pt-mat.h, pt-misc.h, pt-mvr-base.h, pt-mvr.h, pt-plot.h, |
|
5429 symtab.h, toplev.h, utils.h, variables.h, xpow.h, Array-tc.cc, |
|
5430 Map-i.cc, Map-tc.cc, SLList-tc.cc, arith-ops.cc, balance.cc, |
|
5431 bogus.cc, chol.cc, colloc.cc, dassl.cc, data.cc, det.cc, |
|
5432 dirfns.cc, eig.cc, error.cc, expm.cc, fft.cc, fft2.cc, file-io.cc, |
|
5433 filter.cc, find.cc, fsolve.cc, fsqp.cc, givens.cc, gripes.cc, |
|
5434 help.cc, hess.cc, ifft.cc, ifft2.cc, input.cc, inv.cc, |
|
5435 load-save.cc, log.cc, lpsolve.cc, lsode.cc, lu.cc, minmax.cc, |
|
5436 npsol.cc, oct-hist.cc, oct-obj.cc, oct-stream.cc, pager.cc, |
|
5437 pinv.cc, pr-output.cc, pt-cmd.cc, pt-const.cc, pt-exp-base.cc, |
|
5438 pt-exp.cc, pt-fcn.cc, pt-fvc-base.cc, pt-fvc.cc, pt-mat.cc, |
|
5439 pt-misc.cc, pt-mvr-base.cc, pt-mvr.cc, pt-plot.cc, qpsol.cc, |
|
5440 qr.cc, quad.cc, qzval.cc, rand.cc, resource.cc, schur.cc, sort.cc, |
|
5441 strfns.cc, svd.cc, syl.cc, symtab.cc, syscalls.cc, sysdep.cc, |
|
5442 timefns.cc, toplev.cc, utils.cc, variables.cc, xpow.cc, parse.y: |
|
5443 Rename tree_constant -> octave_value. |
|
5444 Rename Octave_object -> octave_value_list. |
|
5445 |
|
5446 Wed Apr 24 22:15:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5447 |
|
5448 * toplev.cc (Fsystem): Merge functionality of async_system and |
|
5449 sync_system. |
|
5450 |
|
5451 * oct-fstrm.h, oct-iostrm.h, oct-prcstrm.h, oct-stdstrm.h, |
|
5452 oct-stream.h, oct-strstrm.h, oct-fstrm.cc, oct-iostrm.cc, |
|
5453 oct-prcstrm.cc, oct-stdstrm.cc, oct-stream.cc, oct-strstrm.cc, |
|
5454 Array-os.cc: New files. |
|
5455 * Makefile.in: Add them to the appropriate lists. |
|
5456 * file-io.cc: Rewrite to use new stream classes. |
|
5457 |
|
5458 Tue Apr 23 18:59:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5459 |
|
5460 * gripes.cc (gripe_not_supported): New function. |
|
5461 |
|
5462 * toplev.cc (do_octave_atexit, Fatexit): New functions. |
|
5463 (octave_atexit_functions): New file-scope variable. |
|
5464 * octave.cc (main): Register do_octave_atexit with atexit. |
|
5465 |
|
5466 * variables.cc (install_builtin_variables): Call |
|
5467 symbols_of_syscalls here. |
|
5468 |
|
5469 * syscalls.h, syscalls.cc: New files. |
|
5470 |
|
5471 Mon Apr 22 21:14:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5472 |
|
5473 * syscalls.cc: New file. |
|
5474 (Flstat, Fmkfifo, Fstat, Funlink, Fwait, Fwaitpid): Move here. |
|
5475 * file-io.cc: From here. |
|
5476 * Makefile.in (SOURCES): Add syscalls.cc to the list. |
|
5477 |
|
5478 Wed Apr 17 18:34:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5479 |
|
5480 * file-info.h, file-info.cc: Delete files. |
|
5481 * Makefile.in: Remove from lists. |
|
5482 |
|
5483 * toplev.cc (Fquit): Accept exit status argument. |
|
5484 (Fflops): Delete (now a function file). |
|
5485 |
|
5486 Thu Apr 11 16:20:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5487 |
|
5488 * lex.l: Recognize `.'. |
|
5489 Update current_input_column even for unrecognized characters. |
|
5490 Return LEXICAL_ERROR for unrecognized characters. |
|
5491 |
|
5492 Mon Apr 8 19:59:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5493 |
|
5494 * variables.cc (install_builtin_variables): Split into several |
|
5495 functions to make compiling with g++ go faster and consume less |
|
5496 memory. |
|
5497 |
|
5498 Sun Apr 7 16:25:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5499 |
|
5500 * load-save.cc (Fsave): Print usage if i == argc. |
|
5501 (Fload): Likewise. |
|
5502 |
|
5503 Sat Apr 6 21:26:49 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5504 |
|
5505 * Makefile.in (clean): Also delete pic/*.o |
|
5506 (maintainer-clean, distclean): Also remove stamp-picdir, |
|
5507 stamp-tinst, stamp-interp, and pic directory. |
|
5508 (stamp-prereq): New target. |
|
5509 |
|
5510 Wed Apr 3 11:19:30 1996 Rick Niles <niles@axp745.gsfc.nasa.gov> |
|
5511 |
|
5512 * resource.cc: Don't make including sys/resource.h and sys/times.h |
|
5513 mutually exclusive. |
|
5514 |
|
5515 Fri Mar 29 13:43:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5516 |
|
5517 * Makefile.in (distclean): Delete so_locations, which is created |
|
5518 on DEC Alpha systems. |
|
5519 |
|
5520 Thu Mar 28 02:53:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5521 |
|
5522 * utils.h (undo_string_escape): Provide extern declaration here. |
|
5523 |
|
5524 * lex.l (NL): Allow \r\n as new line character. |
|
5525 (.): Complain if invalid character is found on input |
|
5526 |
|
5527 Fri Mar 22 03:47:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5528 |
|
5529 * resource.cc (getrusage): If getrusage is missing, try using |
|
5530 times to at least fill in the cpu time values. If neither one is |
|
5531 available, return 0 for cpu times instead of NaN. |
|
5532 |
|
5533 * sighandlers.cc (octave_signal_mask): New file-scope variable. |
|
5534 (octave_save_signal_mask, octave_restore_signal_mask): New functions. |
|
5535 * toplev.cc (main_loop): Use them. |
|
5536 |
|
5537 Wed Mar 20 01:21:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5538 |
|
5539 * utils.cc (get_fcn_file_names (const string&, int)): Resize |
|
5540 retval to value of k, not i. |
|
5541 (get_fcn_file_names (int)): In loop for copying names to retval, |
|
5542 don't increment j twice. |
|
5543 |
|
5544 Mon Mar 18 22:27:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5545 |
|
5546 * Makefile.in ($(MAKEDEPS)): Depend on oct-gperf.h. |
|
5547 |
|
5548 Fri Mar 1 18:15:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5549 |
|
5550 * fsolve.cc (fsolve_options): Delete unused argument nargout. |
|
5551 |
|
5552 * filter.cc: Use MArray instead of Array so that automatic |
|
5553 conversions will work again. |
|
5554 |
|
5555 Tue Feb 27 04:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5556 |
|
5557 * variables.cc (looks_like_octave_copyright): Make the strings |
|
5558 that we are trying to match both have length 29. |
|
5559 |
|
5560 * Makefile.in (install-bin): Use $(INSTALL_PROGRAM), not $(INSTALL). |
|
5561 |
|
5562 * load-save.cc (read_mat_binary_data): Make sure name is |
|
5563 NUL terminated. |
|
5564 |
|
5565 Mon Feb 26 18:18:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5566 |
|
5567 * variables.cc (whos): Make argv from tmp_args, not args. |
|
5568 |
|
5569 * defun.h (DEFCONSTX): Don't stringify name. |
|
5570 |
|
5571 Sat Feb 24 01:12:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5572 |
|
5573 * Makefile.in (install-oct): Make mk-oct-links executable. |
|
5574 * mk-oct-links.in (links_dir): Update to match new format of |
|
5575 DEFUN_DLD_BUILTIN macro. Use LN_S, not just LN. |
|
5576 (links_dir): |
|
5577 |
|
5578 * pr-output.cc (octave_print_internal): New arg, extra_indent, for |
|
5579 versions of this function that take matrices and ranges. |
|
5580 * pt-const.cc (TC_REP::print (ostream&)): Fix printing of structures. |
|
5581 Pass struct_indent to octave_print_internal as appropriate. |
|
5582 (print_with_name (ostream&, const string&, bool)): Handle spacing |
|
5583 around `=' differently for structures. |
|
5584 |
|
5585 Fri Feb 23 04:51:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5586 |
|
5587 * token.cc (token (double, const string&, int, int)): Store orig_text. |
|
5588 |
|
5589 Tue Feb 20 20:36:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5590 |
|
5591 * variables.cc (Fclear): Fix off-by-one error. |
|
5592 |
|
5593 Sat Feb 17 16:54:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5594 |
|
5595 * oct-hist.cc (default_history_file): Append "/.octave_hist" to |
|
5596 return value, not to home_directory. |
|
5597 |
|
5598 Fri Feb 16 18:10:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5599 |
|
5600 * utils.cc: (NINT, D_NINT): Move to liboctave. |
|
5601 |
|
5602 * sysdep.cc (octave_ieee_init): Move to liboctave. |
|
5603 |
|
5604 * procstream.h, procstream.cc: Rewrite. |
|
5605 |
|
5606 * pager.cc (cleanup_oprocstream): New static function. |
|
5607 * toplev.cc (cleanup_iprocstream): Likewise. |
|
5608 * dirfns.cc (cleanup_iprocstream): Likewise. |
|
5609 |
|
5610 * unwind-prot.cc (matrix_cleanup, complex_matrix_cleanup): Delete. |
|
5611 |
|
5612 Thu Feb 15 22:03:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5613 |
|
5614 * oct-obj.cc, oct-obj.h: Move most code to the header. |
|
5615 |
|
5616 * oct-obj.cc (make_argv, all_strings): New member functions. |
|
5617 * utils.cc: Moved from here. |
|
5618 |
|
5619 * load-save.cc: Move byte swapping stuff to liboctave. |
|
5620 Move float format conversion stuff to liboctave. |
|
5621 (all_parts_int, too_large_for_float): Move to liboctave. |
|
5622 |
|
5623 * symtab.cc (valid_identifier): Move here. |
|
5624 * load-save.cc: From here. |
|
5625 |
|
5626 * sysdep.cc: Move floating-point format stuff to liboctave. |
|
5627 * pr-output.cc: Include float-fmt.h here. |
|
5628 |
|
5629 Wed Feb 14 01:49:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5630 |
|
5631 * defun.h, defun-dld.h, defun-int.h: Simplify interface for DEFUN, |
|
5632 DEFUN_DLD, DEFVAR, and DEFCONST macros. Change all uses. |
|
5633 |
|
5634 * qzval.cc: Move guts to liboctave. |
|
5635 |
|
5636 Tue Feb 13 10:28:27 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5637 |
|
5638 * variables.cc (parse_fcn_file): Also avoid saving history if |
|
5639 input is from a script file. |
|
5640 |
|
5641 * help.cc (Ftype): Call unwind_protect_str for user_pref.ps4. |
|
5642 |
|
5643 * npsol.cc (nonlinear_constraints_ok): Now static. |
|
5644 |
|
5645 * npsol.cc (linear_constraints_ok): Now static. |
|
5646 * qpsol.cc (linear_constraints_ok): Duplicate here. |
|
5647 |
|
5648 * data.cc (Flinspace): Don't print usage message if nargin == 2. |
|
5649 |
|
5650 Sun Feb 11 14:20:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5651 |
|
5652 * mk-oct-links.in: Rename from mk-oct-links. |
|
5653 (LN_S): Use this variable instead of ln. |
|
5654 Set -e option for shell. |
|
5655 Exit with status of last command. |
|
5656 Print message when making link. |
|
5657 * Makefile.in (DISTFILES): Add mk-oct-links.in to the list. |
|
5658 (install-oct): Run ./mk-oct-links, not $(srcdir)/mk-oct-links. |
|
5659 |
|
5660 * variables.cc (install_builtin_variables): Restore accidentally |
|
5661 deleted DEFVAR for save_precision. |
|
5662 |
|
5663 Fri Feb 9 11:24:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5664 |
|
5665 * Makefile.in (INCLUDES): Delete statdefs.h from the list (it's |
|
5666 now in the liboctave directory). |
|
5667 |
|
5668 * toplev.cc (toplevel): Define here. |
|
5669 * octave.cc (toplevel): Not here. |
|
5670 |
|
5671 * toplev.cc (main_loop): New function. |
|
5672 * octave.cc (main): Call it here instead of doing main loop |
|
5673 actions here. |
|
5674 |
|
5675 * user-prefs.cc (do_fortran_indexing): Also set liboctave_dfi_flag. |
|
5676 (prefer_column_vectors): Also set liboctave_pcv_flag. |
|
5677 (prefer_zero_one_indexing): Also set liboctave_pzo_flag. |
|
5678 (resize_on_range_error): Also set liboctave_rre_flag. |
|
5679 |
|
5680 * variables.cc (restore_command_history): New function. |
|
5681 (parse_fcn_file): Use it here in unwind_protect. |
|
5682 |
|
5683 * dynamic-ld.cc (load_octave_oct_file): Reverse sense of test. |
|
5684 (load_octave_builtin): Delete. |
|
5685 (mangle_octave_oct_file_name): Delete. |
|
5686 |
|
5687 * pt-fvc.cc (tree_builtin::eval): Don't try to dynamically load |
|
5688 functions here. |
|
5689 |
|
5690 * pr-output.cc (set_format_style): Decrement argc for first arg too. |
|
5691 |
|
5692 * input.cc (gnu_readline): If readline returns an empty string, |
|
5693 convert it to a string containing a single newline character. |
|
5694 |
|
5695 * octave.cc (octave_argv): Now a static string_vector. |
|
5696 (intern_argv): Use string_vector ops, not charMatrix ops. |
|
5697 * toplev.cc (octave_argv): Delete definition. |
|
5698 * toplev.h (octave_argv): Delete declaration. |
|
5699 |
|
5700 Thu Feb 8 10:58:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5701 |
|
5702 * Makefile.in (conf-dist): New target. |
|
5703 |
|
5704 Tue Feb 6 10:59:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5705 |
|
5706 * help.cc (Ftype): Correctly handle structure names. |
|
5707 |
|
5708 Sun Feb 4 02:02:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5709 |
|
5710 * qpsol.cc (Fqpsol): Call set_options(), not copy() to set |
|
5711 options for QPSOL objects. |
|
5712 |
|
5713 * npsol.cc (Fnpsol): Call set_options(), not copy() to set |
|
5714 options for NPSOL objects. |
|
5715 |
|
5716 * quad.cc (Fquad): Call set_options(), not copy() to set |
|
5717 options for Quad objects. |
|
5718 |
|
5719 * dynamic-ld.cc (load_octave_builtin): Don't call destructor on string. |
|
5720 (load_octave_oct_file): Likewise. |
|
5721 Check oct_file.empty(), not just oct_file. |
|
5722 |
|
5723 * fsolve.cc (Ffsolve): Call set_options(), not copy() to set |
|
5724 options for NLEqn object. |
|
5725 |
|
5726 * variables.cc (do_who): Properly set match patterns from argument |
|
5727 vector for call to maybe_list. |
|
5728 |
|
5729 Sat Feb 3 03:29:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5730 |
|
5731 * octave.cc (long_opts): Properly set second field using new enum. |
|
5732 |
|
5733 * lsode.cc: Change ODE to LSODE where appropriate. |
|
5734 Use LSODE_options, not ODE_options. |
|
5735 |
|
5736 * dassl.cc: Change DAE to DASSL where appropriate. |
|
5737 Use DASSL_options, not ODE_options. |
|
5738 |
|
5739 Fri Feb 2 01:41:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5740 |
|
5741 * dirfns.cc: Include unistd.h. |
|
5742 |
|
5743 * parse.y, lex.l: Handle matrix lists without ml or mlnm stacks. |
|
5744 * pt-mat.h, pt-mat.cc (tree_matrix): |
|
5745 Rewrite to use SLList instead of home brew list. |
|
5746 * SLList-tm.cc: New file |
|
5747 * Makefile.in: Add it to the lists. |
|
5748 * SLStack-tm.cc: Delete. |
|
5749 * Makefile.in: Delete it from the lists. |
|
5750 |
|
5751 * All pt-* files: Use bool instead of int where appropriate. |
|
5752 |
|
5753 * Makefile.in (DEP_SOURCES_3): Add octave.cc. |
|
5754 |
|
5755 * pt-const.h (class tree_constant::tree_constant_rep): Make |
|
5756 everything in this class public, then it doesn't need to declare |
|
5757 the tree_constant class as a friend. |
|
5758 |
|
5759 Thu Feb 1 01:42:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5760 |
|
5761 * lex.h, lex.l, parse.h, parse.y (class lexical_feedback): New |
|
5762 class for lexer flags. Replace lots of global vars with members |
|
5763 of this class. |
|
5764 |
|
5765 * lex.l (class brace_paren_nesting_level): New class to replace |
|
5766 nesting_level stack. nesting_level is now an instance of this |
|
5767 class. |
|
5768 |
|
5769 * lex.l (yum_yum): New typedef. |
|
5770 (ATE_NOTHING): New global var. |
|
5771 (ATE_SPACE_OR_TAB, ATE_NEWLINE): Don't #define these, declare them |
|
5772 as const yum_yum. |
|
5773 (eat_whitespace, eat_continuation): Return yum_yum, not int. |
|
5774 |
|
5775 * lex.l (SHORT_CIRCUIT_LOGICALS): Delete. Always do this for || |
|
5776 and && tokens. |
|
5777 (yy_flex_alloc, yy_flex_realloc, yy_flex_free, next_char_is_space): |
|
5778 Delete. |
|
5779 |
|
5780 * toplev.cc (verbose_flag): Delete definition. |
|
5781 * toplev.h (verbose_flag): And declaration. |
|
5782 * octave.cc (verbose_flag): Now static. |
|
5783 |
|
5784 * lex.l (lookup_identifier): Arg is now string, not char*. |
|
5785 (handle_identifier, is_plot_keyword, is_keyword): Likewise. |
|
5786 (strip_trailing_whitespace): Return value is now string, not char*. |
|
5787 (plot_style_token): Likewise, for both arg and return value. |
|
5788 |
|
5789 * input.cc (octave_gets_line): Delete. |
|
5790 (gnu_readline, octave_gets, octave_read): |
|
5791 Properly handle input when using_readline is either true or false. |
|
5792 Don't limit length of input lines to flex buffer size. |
|
5793 (get_user_input): New function. |
|
5794 |
|
5795 * octave.cc (main): Handle --no-line-editing. |
|
5796 * toplev.h (using_readline): Provide external declaration here. |
|
5797 * input.h: Not here. |
|
5798 * toplev.cc (using_readline): Define here. |
|
5799 * input.cc: Not here. |
|
5800 |
|
5801 * toplev.h (no_line_editing): Delete declaration. |
|
5802 * input.cc (no_line_editing): Delete definition. |
|
5803 |
|
5804 Wed Jan 31 05:28:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5805 |
|
5806 * input.cc (DEFAULT_ARRAY_SIZE, PROMPT_GROWTH): Delete definitions |
|
5807 of unused macros. |
|
5808 (read_octal): Now static. |
|
5809 |
|
5810 * givens.cc (Fgivens): Use new functions from matrix classes |
|
5811 instead of calling Fortran functions directly. |
|
5812 * syl.cc (Fsyl): Likewise. |
|
5813 * expm.cc (Fexpm): Likewise. |
|
5814 |
|
5815 Mon Jan 29 00:00:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5816 |
|
5817 * octave.cc: Use new prog_args class instead of calling getopt |
|
5818 directly. |
|
5819 |
|
5820 * getopt.h, getopt.c, getopt1.c: Move to liboctave directory. |
|
5821 * Makefile: Remove from lists. |
|
5822 |
|
5823 * utils.cc (strconcat, read_until, discard_until): Delete. |
|
5824 |
|
5825 * pager.cc (terminal_columns, terminal_rows): Move to |
|
5826 liboctave/oct-term.cc. |
|
5827 * pager.cc, pr-output.cc: Include oct-term.h. |
|
5828 |
|
5829 * utils.cc (list_in_columns): Moved to liboctave/str-vec.cc. |
|
5830 Change all callers to use new member function syntax. |
|
5831 |
|
5832 * dirfns.cc (absolute_program): Now static. |
|
5833 (absolute_pathname): Delete. |
|
5834 |
|
5835 * pt-plot.cc (save_in_tmp_file): Call oct_tempnam, not |
|
5836 octave_tmp_file_name. Include file-ops.h. |
|
5837 * file-io.cc (do_scanf, Foctave_tmp_file_name): Likewise. |
|
5838 * oct-hist.cc (mk_tmp_hist_file): Likewise. |
|
5839 |
|
5840 * file-io.cc (Foctave_tmp_file_name): Move here. |
|
5841 * utils.cc: From here. |
|
5842 |
|
5843 * utils.cc (octave_tmp_file_name): Move to liboctave/file-ops.cc. |
|
5844 |
|
5845 * tempname.c, tempnam.c: Move to liboctave directory. |
|
5846 * Makefile.in: Remove from lists. |
|
5847 |
|
5848 Sun Jan 28 19:00:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5849 |
|
5850 * xdiv.cc (all xdiv functions): Return Matrix or ComplexMatrix, |
|
5851 not tree_constant. |
|
5852 |
|
5853 * oct-hist.h, oct-hist.cc, toplev.cc, octave.cc, input.cc, |
|
5854 file-io.cc, user-prefs.cc: Rewrite to use new command_history |
|
5855 class instead of calling readline history functions directly. |
|
5856 |
|
5857 * utils.cc (get_fcn_file_names): Delete num arg. |
|
5858 |
|
5859 Thu Jan 25 20:33:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5860 |
|
5861 * load-save.cc (matches_patterns): Use new glob_match class |
|
5862 instead of calling fnmatch directly. |
|
5863 * symtab.cc (matches_patterns, symbol_table::glob): Likewise. |
|
5864 * variables.cc (Fclear): Likewise. |
|
5865 |
|
5866 Wed Jan 24 02:05:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5867 |
|
5868 * fnmatch.h fnmatch.c: Delete. |
|
5869 * Makefile.in: Add glob stuff in the appropriate places, remove |
|
5870 fnmatch.h and fnmatch.c from lists. |
|
5871 |
|
5872 * octave.cc (program_invocation_name, program_invocation_short_name): |
|
5873 Maybe declare. |
|
5874 (initialize_globals): Maybe initialize them. |
|
5875 |
|
5876 * octave.cc (initialize_pathsearch): Define here, not in pathsearch.cc. |
|
5877 * pathsearch.h, pathsearch.cc: Remove files. |
|
5878 * Makefile.in: Remove them from the lists. |
|
5879 |
|
5880 * help.cc (simple_help): Ignore directories that don't have any .m |
|
5881 or .oct files. |
|
5882 |
|
5883 * utils.cc (search_path_for_file): Use new dir_path class instead |
|
5884 of calling kpathsea routines directly. |
|
5885 (get_fcn_file_names): Likewise. |
|
5886 * help.cc (simple_help): Likewise. |
|
5887 |
|
5888 * dirfns.cc (make_absolute): Don't convert empty arg to "./". |
|
5889 |
|
5890 * sysdir.h: Move to liboctave directory. |
|
5891 * Makefile.in: Remove from lists. |
|
5892 |
|
5893 * dirfns.cc (Freaddir): Use new dir_entry class instead of calling |
|
5894 readdir directly. Include dir-ops.h, not sysdir.h. |
|
5895 * utils.cc (get_fcn_file_names): Likewise. Delete unnecessary |
|
5896 first arg, change all callers. |
|
5897 |
|
5898 Tue Jan 23 00:43:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5899 |
|
5900 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, |
|
5901 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: |
|
5902 Files moved to liboctave directory. |
|
5903 * Makefile.in: Remove them from lists. Move appropriate rules. |
|
5904 |
|
5905 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
5906 Files moved to liboctave directory. |
|
5907 * Makefile.in: Remove them from lists. |
|
5908 * missing-math.h: Deleted. |
|
5909 * pr-output.cc, sysdep.cc, minmax.cc, mappers.cc, expm.cc, |
|
5910 arith-ops.cc: Include oct-math.h, not cmath or missing-math.h. |
|
5911 |
|
5912 Mon Jan 22 19:33:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5913 |
|
5914 * variables.cc (Fexist): Use file_stat instead of calling stat |
|
5915 directly. Include file-ops.h, not statdefs.h. |
|
5916 * octave.cc (execute_startup_files): Likewise. |
|
5917 * file-io.cc (file_io_get_file, fopen_internal, popen_internal, Fstat): |
|
5918 Likewise. |
|
5919 (mk_stat_map): Likewise, use file_stat object, not struct stat. |
|
5920 * oct-hist.cc (do_history): Likewise. |
|
5921 |
|
5922 * file-ops.h, file-stat.cc: New files. |
|
5923 * Makefile.in: Include them. |
|
5924 * dirfns.cc: Delete is_newer. Don't include statdefs.h. |
|
5925 * toplev.cc: Don't include statdefs.h. |
|
5926 |
|
5927 Sun Jan 21 22:48:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5928 |
|
5929 * pt-mvr.h, pt-fvc.h, Map.cc, Map.h, dynamic-ld.h, |
|
5930 pt-fvc-base.cc, SLList-str.cc, pt-fcn.h, pt-fvc-base.h, |
|
5931 SLStack-str.cc, pt-mvr.cc, pt-exp.cc, token.h, token.cc, |
|
5932 user-prefs.h, pt-base.cc, user-prefs.cc, dirfns.h, sysdep.h, |
|
5933 sysdep.cc, input.h, parse.h, lex.l, parse.y, defun.h, mappers.h, |
|
5934 pt-fvc.cc, pt-plot.h, load-save.h, octave.cc, defun-int.h, help.h, |
|
5935 variables.h, oct-map.h, oct-obj.h, oct-obj.cc, pt-const.cc, |
|
5936 oct-map.cc, input.cc, symtab.h, pt-const.h, pathsearch.cc, |
|
5937 pr-output.h, pr-output.cc, toplev.h, timefns.cc, schur.cc, |
|
5938 pt-plot.cc, pager.cc, load-save.cc, dynamic-ld.cc, dirfns.cc, |
|
5939 data.cc, file-info.h, file-info.cc, colloc.cc, utils.h, qpsol.cc, |
|
5940 quad.cc, npsol.cc, lsode.cc, fsolve.cc, dassl.cc, file-io.cc, |
|
5941 help.cc, utils.cc, oct-hist.h, oct-hist.cc, symtab.cc, toplev.cc, |
|
5942 pt-fcn.cc, unwind-prot.h, unwind-prot.cc, variables.cc: |
|
5943 Most functions in these files that deal with character strings |
|
5944 have been converted to use the string class insatead of char*. If |
|
5945 you want more detailed information, you'll have to figure it out |
|
5946 for yourself. |
|
5947 |
|
5948 Sat Jan 20 18:19:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5949 |
|
5950 * dynamic-ld.cc [WITH_DL]: Define RTLD_LAZY to be 1 if it is not |
|
5951 already defined. |
|
5952 |
|
5953 Sun Jan 14 07:48:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5954 |
|
5955 * pt-const.cc (print_as_scalar, print_as_structure): |
|
5956 Make these member functions. |
|
5957 (tree_constant::print_with_name): New function, moved here from |
|
5958 old tree-expr.cc file (where it was called print_constant) and |
|
5959 converted to member function. Change all callers. |
|
5960 |
|
5961 Fri Jan 12 01:54:49 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5962 |
|
5963 * octave.cc (initialize_globals): Don't do kpathsearch stuff here. |
|
5964 (main): Call initialize_pathsearch() here. |
|
5965 |
|
5966 * pathsearch.cc: New file. |
|
5967 * Makefile.in (SOURCES): Add it to the list |
|
5968 |
|
5969 * oct-hist.h: Rename from octave-hist.h. |
|
5970 * oct-hist.cc: Rename from octave-hist.cc. |
|
5971 * Makefile.in, parse.y, other .cc files: Cope with it. |
|
5972 |
|
5973 * dynamic-ld.cc: Avoid warnings if !WITH_DYNAMIC_LINKING. |
|
5974 |
|
5975 * load-save.cc (save_ascii_data): string::data() returns const char*. |
|
5976 |
|
5977 * utils.h: Don't provide forward declaration for tree_constant. |
|
5978 |
|
5979 * oct-obj.h: Don't include mx-base.h or provide forward |
|
5980 declarations for Matrix and Range types. |
|
5981 |
|
5982 * file-info.h: Don't include oct-obj.h. Do include cstdio. |
|
5983 |
|
5984 * symtab.h: Don't provide forward declaration for ostream. |
|
5985 |
|
5986 * variables.h: Don't provide forward declarations for istream, |
|
5987 ostrstream, tree, builtin_function, or builtin_variable objects. |
|
5988 |
|
5989 * balance.cc, chol.cc, colloc.cc, dassl.cc, det.cc, eig.cc, |
|
5990 expm.cc, fft.cc, fft2.cc, filter.cc, find.cc, fsolve.cc, fsqp.cc, |
|
5991 givens.cc, hess.cc, ifft.cc, ifft2.cc, inv.cc, log.cc, lpsolve.cc, |
|
5992 lsode.cc, lu.cc, minmax.cc, npsol.cc, pinv.cc, qpsol.cc, qr.cc, |
|
5993 quad.cc, qzval.cc, rand.cc, schur.cc, sort.cc, svd.cc, syl.cc: |
|
5994 Clean up #include statements. |
|
5995 |
|
5996 * pt-const.h: Don't include oct-obj.h or tree-base.h. |
|
5997 Provide forward declaration of Octave_object here. |
|
5998 * pt-const.cc: Include oct-obj.h here. |
|
5999 |
|
6000 * pt-mat.h, pt-fcn.h, pt-const.h, pt-misc.h, pt-plot.h, |
|
6001 pt-exp-base.h, pt-cmd.h, pt-fvc-base.h, pt-mvr-base.h, pt-exp.h, |
|
6002 pt-mvr.h, pt-fvc.h: New files, split from tree-expr.h and/or |
|
6003 renamed from other tree-*.h files (pt == parse tree). |
|
6004 * pt-base.cc, pt-const.cc, pt-exp.cc, pt-fvc-base.cc, pt-mat.cc, |
|
6005 pt-mvr-base.cc, pt-plot.cc, pt-cmd.cc, pt-exp-base.cc, pt-fcn.cc, |
|
6006 pt-fvc.cc, pt-misc.cc, pt-mvr.cc: Likewse, split from tree-expr.cc |
|
6007 and/or other tree-*.cc files. |
|
6008 * Makefile.in: Include them in the appropriate lists. |
|
6009 * All: Fix #include statements to match. |
|
6010 |
|
6011 * Array-tc.cc: Don't instantiate ArrayRep objects. |
|
6012 |
|
6013 Thu Jan 11 02:35:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6014 |
|
6015 * tree-const.cc (tree_constant::eval (int, int, const Octave_object&)): |
|
6016 Define here instead of in tree-const.h. |
|
6017 |
|
6018 Wed Jan 10 04:34:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6019 |
|
6020 * tree-const.h (tree_constant::tree_constant (const string&): |
|
6021 * tree-const.cc (TC_REP::tree_constant_rep (const string&)): |
|
6022 New constructor. |
|
6023 |
|
6024 Tue Jan 9 04:10:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6025 |
|
6026 * rand.cc (do_rand): Use string_value() result directly instead of |
|
6027 c_str() conversion. |
|
6028 * balance.cc (Fbalance): Likewise. |
|
6029 |
|
6030 * tree-const.cc (TC_REP::string_value()): |
|
6031 Handle new definition of charMatrix::row_as_string() |
|
6032 * load-save.cc (save_ascii_data): Ditto. |
|
6033 (save_binary_data): Ditto. |
|
6034 * pr-output.cc (octave_print_internal): Ditto. |
|
6035 |
|
6036 * balance.cc (Fbalance): |
|
6037 Handle new definition of TC_REP::string_value() |
|
6038 * colloc.cc (Fcolloc): Ditto. |
|
6039 * dassl.cc (Fdassl_options): Ditto. |
|
6040 * data.cc (Fstruct_contains): Ditto. |
|
6041 * dirfns.cc (Fmkdir): Ditto. |
|
6042 (Freaddir): Ditto. |
|
6043 (Frmdir): Ditto. |
|
6044 (Frename): Ditto. |
|
6045 * error.cc (handle_message): Ditto. |
|
6046 * file-io.cc (process_printf_format): Ditto. |
|
6047 (fopen_internal): Ditto. |
|
6048 (file_io_get_file): Ditto. |
|
6049 (return_valid_file): Ditto. |
|
6050 (Flstat): Ditto. |
|
6051 (Fstat): Ditto. |
|
6052 (unlink_internal): Ditto. |
|
6053 (mkfifo_internal): Ditto. |
|
6054 (async_system_internal): Ditto. |
|
6055 (sync_system_internal): Ditto. |
|
6056 (execute_internal): Ditto. |
|
6057 (popen_internal): Ditto. |
|
6058 (fwrite_internal): Ditto. |
|
6059 (fread_internal): Ditto. |
|
6060 (do_printf): Ditto. |
|
6061 (do_scanf): Ditto. |
|
6062 * input.cc (get_user_input): Ditto. |
|
6063 * lsode.cc (Flsode_options): Ditto. |
|
6064 * npsol.cc (Fnpsol_options):Ditto. |
|
6065 * qpsol.cc (Fqpsol_options):Ditto. |
|
6066 * quad.cc (Fquad_options): Ditto. |
|
6067 * rand.cc (do_rand): Ditto. |
|
6068 * schur.cc (Fschur): Ditto. |
|
6069 * sysdep.cc (Fputenv): Ditto. |
|
6070 (Fgetenv): Ditto. |
|
6071 * timefns.cc (extract_tm): Ditto. |
|
6072 (Fstrftime): Ditto. |
|
6073 * toplev.cc (Fsource): Ditto. |
|
6074 (eval_string): Ditto. |
|
6075 (Fsystem): Ditto. |
|
6076 * tree-plot.cc (subplot::handle_plot_data): Ditto. |
|
6077 * variables.cc (is_valid_function): Ditto. |
|
6078 (Fis_global): Ditto. |
|
6079 (Fexist): Ditto. |
|
6080 (builtin_string_variable): Ditto. |
|
6081 * utils.cc (make_argv): Ditto. |
|
6082 (Fundo_string_escapes): Ditto. |
|
6083 |
|
6084 Mon Jan 8 01:54:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6085 |
|
6086 * Makefile.in (install-bin): Use $(LN_S), not just ln. |
|
6087 |
|
6088 * variables.cc (octave_fcn_file_dir): New function. |
|
6089 * tree-expr.cc (mark_as_system_fcn_file): Use it instead of |
|
6090 octave_lib_dir. |
|
6091 |
|
6092 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. |
|
6093 |
|
6094 * pr-output.cc (set_format (const ComplexMatrix&, int&, int&)): |
|
6095 Unconditionally call all_elements_are_int_or_inf_or_nan(). |
|
6096 (set_format (const Matrix&, int&, int&)): Likewise. |
|
6097 |
|
6098 Sun Jan 7 19:12:39 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6099 |
|
6100 * utils.cc (oct_putenv): New function. |
|
6101 * sysdep.cc (Fputenv): Use oct_putenv. |
|
6102 * octave.cc (initialize_globals): Likewise. |
|
6103 |
|
6104 Sat Jan 6 23:22:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6105 |
|
6106 * sysdep.cc (Fputenv): New function. |
|
6107 |
|
6108 * input.cc (initialize_readline): Call rl_initialize() here. |
|
6109 |
|
6110 * octave.cc: Conditionally define atexit to be on_exit here. |
|
6111 * toplev.cc: Not here. |
|
6112 |
|
6113 Fri Jan 5 14:01:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6114 |
|
6115 * toplev.cc: Don't include <pwd.h> here. |
|
6116 |
|
6117 * octave-hist.cc, tree-plot.cc, utils.cc: Do include "sysdep.h". |
|
6118 |
|
6119 * dirfns.cc, file-io.cc, help.cc, load-save.cc, octave.cc, |
|
6120 octave-hist.cc, tree-plot.cc, utils.cc: |
|
6121 Don't include <readline/tilde.h>. |
|
6122 * sysdep.h: Do include it here. |
|
6123 |
|
6124 * tree-const.cc (TC_REP::assign (tree_constant&, Octave_object&)): |
|
6125 If we have a matrix or range, call maybe_mutate before returning. |
|
6126 |
|
6127 Sun Dec 31 15:56:18 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6128 |
|
6129 * npsol.cc (Fnpsol): Improve doc string. |
|
6130 * qpsol.cc (Fqpsol): Likewise. |
|
6131 |
|
6132 Fri Dec 29 21:46:58 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6133 |
|
6134 * defun-dld.h: Make work again for OCTAVE_LITE and |
|
6135 WITH_DYNAMIC_LINKING. |
|
6136 |
|
6137 * Makefile.in: Handle shared libraries. |
|
6138 |
|
6139 Wed Dec 27 17:47:51 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6140 |
|
6141 * mk-oct-links: New file. |
|
6142 * Makefile.in (install-oct): Use it. |
|
6143 * f-*.cc: Rename to *.cc. |
|
6144 |
|
6145 * Makefile.in (install-bin, install-lib, install-oct): New targets. |
|
6146 (install): Use them. |
|
6147 |
|
6148 Tue Dec 26 21:38:22 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6149 |
|
6150 * toplev.cc (reading_startup_message_printed): Move initialization |
|
6151 here and make extern. |
|
6152 |
|
6153 * dirfns.cc, dynamic-ld.cc, help.cc, input.cc, octave-hist.cc, |
|
6154 octave.cc, sighandlers.cc, sysdep.cc, tree-expr.cc, tree-misc.cc, |
|
6155 utils.cc, variables.cc, parse.y, lex.l: Include toplev.h instead |
|
6156 of octave.h. |
|
6157 * toplev.h: rename from octave.h. |
|
6158 |
|
6159 * octave.cc (main): Delete unused variable saved_sigint_handler. |
|
6160 |
|
6161 Sun Dec 24 00:26:54 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6162 |
|
6163 * dynamic-ld.cc: Massive re-write to handle dlopen/dlsym and |
|
6164 shl_load/shl_findsym methods of dynamic linking. |
|
6165 |
|
6166 * utils.cc (get_fcn_file_names): Check for .oct files if |
|
6167 WITH_DYNAMIC_LINKING, not WITH_DLD. |
|
6168 |
|
6169 * Makefile.in (LIB, TERMLIBS): Substitute values. |
|
6170 (octave): Add $(LIBS) to link command and use $(TERMLIBS) instead |
|
6171 of -ltermcap. |
|
6172 |
|
6173 Sat Dec 23 21:56:12 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6174 |
|
6175 * dynamic-ld.h, dynamic-ld.cc: Remove old unused code. |
|
6176 |
|
6177 * variables.cc (load_fcn_from_file): |
|
6178 Always call load_octave_oct_file. |
|
6179 |
|
6180 Wed Dec 20 00:56:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6181 |
|
6182 * pr-output.cc (set_real_format, set_real_matrix_format, |
|
6183 set_complex_format, set_complex_matrix_format, set_range_format): |
|
6184 New functions. Ensure the count of the digits to the right of the |
|
6185 decimal point is positive. |
|
6186 |
|
6187 * xpow.cc (xpow (const Matrix&, double)): Print warning if |
|
6188 inverting singular matrix (but return value anyway, in the name of |
|
6189 compatibility). |
|
6190 xpow (const ComplexMatrix&, double)): Likewise. |
|
6191 |
|
6192 * f-inv.cc (Finv): If matrix is singular, return result anyway, in |
|
6193 the name of compatibility. |
|
6194 |
|
6195 * symtab.cc (symbol_record::pop_context): |
|
6196 Don't assert (! context.empty ()). |
|
6197 |
|
6198 * tree-const.cc (TC_REP::char_matrix_value): Don't complain about |
|
6199 type conversion if object is an empty matrix.f |
|
6200 (TC_REP::assign): If rhs is a string, don't convert to numeric |
|
6201 type if rhs is empty or "". |
|
6202 Only widen if rhs is not empty. |
|
6203 Don't return 0x0 char_matrix if it is supposed to be a string. |
|
6204 |
|
6205 * arith-ops.h, mappers.h, pr-output.h, xdiv.h, xpow.h: Include |
|
6206 oct-cmplx.h in place of forward declaration for class Complex. |
|
6207 |
|
6208 * pr-output.cc, mappers.cc, arith-ops.cc, xdiv.cc, xpow.cc, |
|
6209 utils.cc: Include "oct-cmplx.h" instead of <Complex.h>. |
|
6210 |
|
6211 * octave.cc (initialize_error_handlers): Don't call |
|
6212 set_Complex_error_handler(). |
|
6213 (octave_Complex_error_handler): Delete unused function. |
|
6214 Delete declaration for set_Complex_error_handler(). |
|
6215 |
|
6216 * sighandlers.cc (catch_interrupts): New function. |
|
6217 * octave.cc (main): Call catch_interrupts() instead of calling |
|
6218 octave_set_signal_handler() directly. |
|
6219 |
|
6220 Tue Dec 19 03:22:37 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6221 |
|
6222 * variables.cc (looks_like_octave_copyright): Also recognize the |
|
6223 string " This program is free software". |
|
6224 |
|
6225 Thu Dec 14 01:54:06 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6226 |
|
6227 * octave-hist.cc (clean_up_history): Only write history file if |
|
6228 user_pref.saving_history. |
|
6229 |
|
6230 * octave-hist.cc (initialize_history, clean_up_history, |
|
6231 do_history): Perform tilde expansion on history file name. |
|
6232 |
|
6233 * octave.cc (main): Check `defined (HAVE_ON_EXIT)' not just |
|
6234 `(HAVE_ON_EXIT)'. |
|
6235 |
|
6236 * user-prefs.h (user_preferences): New fields, `history_file' and |
|
6237 `history_size'. |
|
6238 * user-prefs.cc (init_user_prefs): Initialize them. |
|
6239 (sv_history_file, history_size): New functions. |
|
6240 * variables.cc (install_builtin_variables): Initialize user-level |
|
6241 variables history_file and history_size. |
|
6242 * octave-hist.cc (default_history_size): Now extern. |
|
6243 (default_history_file): Likewise. |
|
6244 (octave_hist_size, octave_hist_file): Use user preference |
|
6245 variables instead. |
|
6246 * octave.cc (main): Call initialize_history after |
|
6247 execute_startup_files. |
|
6248 |
|
6249 Fri Dec 8 15:53:59 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6250 |
|
6251 * user-prefs.h (user_preferences): New field, `saving_history'. |
|
6252 * user-prefs.cc (init_user_prefs): Initialize it. |
|
6253 (saving_history): New function. |
|
6254 * variables.cc (install_builtin_variables): Initialize user-level |
|
6255 variable saving_history. |
|
6256 * octave.cc (parse_and_execute): Don't reset value of |
|
6257 saving_history here. |
|
6258 (main) Use user_pref.saving_history instead of saving_history. |
|
6259 * variables.cc (parse_fcn_file): Likewise. |
|
6260 * octave-hist.cc (maybe_save_history): Likewise. |
|
6261 Don't save history if input_from_startup_file. |
|
6262 |
|
6263 Mon Nov 27 23:05:52 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6264 |
|
6265 * resource.cc: Include systime.h before <sys/resource.h>. |
|
6266 |
|
6267 Tue Nov 14 14:09:40 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6268 |
|
6269 * error.cc: Include cstring. |
|
6270 |
|
6271 * tree-expr.cc (print_code): Decrement indent level after printing |
|
6272 function body. |
|
6273 |
|
6274 * Makefile.in: Remove references to oct-str.cc, oct-str.h, and |
|
6275 Array-string.cc. |
|
6276 |
|
6277 * tree-const.h: Don't include oct-str.h. |
|
6278 |
|
6279 Mon Nov 6 11:16:49 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6280 |
|
6281 * parse.y (make_plot_command, finish_colon_expression, |
|
6282 make_unwind_protect, make_try_command, make_for_command, |
|
6283 make_break_command, make_continue_command, make_return_command, |
|
6284 start_if_command, finish_if_command, make_elseif_clause, |
|
6285 make_simple_assignment, make_multi_val_ret, start_function_def, |
|
6286 frob_function_def, finish_function_def, start_matrix, |
|
6287 finish_matrix): New functions. Use them in the grammar to clean |
|
6288 things up a bit. Possibly convert matrix lists, colon |
|
6289 expressions, binary expressions, and unary expressions to constant |
|
6290 values. |
|
6291 (tree_matrix_type): Delete. |
|
6292 (simple_expr1): Handle all expression stuff here, including |
|
6293 assignments. |
|
6294 (simple_expr): Just check to see that simple_expr1 produced |
|
6295 something useful. |
|
6296 |
|
6297 * tree-plot.cc, tree-plot.h: Move most simple constructors to the |
|
6298 header file. |
|
6299 |
|
6300 * tree-expr.h (tree_expression::is_constant): Move virtual |
|
6301 function definition here. |
|
6302 (tree_fvc::is_constant): From here. |
|
6303 (tree_expression::is_matrix_constant): New virtual function. |
|
6304 (tree_expression::is_range_constant): New virtual function. |
|
6305 * tree-expr.cc (tree_matrix::is_matrix_constant): New function. |
|
6306 * tree-expr.cc (tree_colon_expression::is_range_constant): New |
|
6307 function. |
|
6308 |
|
6309 Fri Nov 3 03:42:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6310 |
|
6311 * utils.cc, utils.h (jump_to_top_level): Declare as extern "C". |
|
6312 |
|
6313 * tree-const.h (tree_constant::eval ()): Only mutate if printing. |
|
6314 |
|
6315 * tree-const.cc (TC_REP::tree_constant_rep (const Complex&), |
|
6316 TC_REP::tree_constant_rep (const ComplexMatrix&), |
|
6317 TC_REP::tree_constant_rep (const ComplexDiagMatrix&), |
|
6318 TC_REP::tree_constant_rep (const ComplexRowVector&), |
|
6319 TC_REP::tree_constant_rep (const ComplexColumnVector&)): |
|
6320 Also check to see if we can convert to scalar_constant, not just |
|
6321 complex_scalar_constant. |
|
6322 |
|
6323 * user-prefs.h (user_preferences): New field, `exec_path'. |
|
6324 * user-prefs.cc (init_user_prefs): Initialize it. |
|
6325 (sv_exec_path): New function. |
|
6326 * variables.cc (install_builtin_variables): Add DEFUN for EXEC_PATH. |
|
6327 (default_exec_path): New function. |
|
6328 * octave.cc (exec_path): New global variable. |
|
6329 Don't set and putenv() exec path here. |
|
6330 (long_opts): Add --exec-path option. |
|
6331 (main): Handle it. |
|
6332 (initialize_globals): Set default value here. |
|
6333 |
|
6334 * user-prefs.h (user_preferences): New field, `info_prog'. |
|
6335 * user-prefs.cc (init_user_prefs): Initialize it. |
|
6336 (sv_info_prog): New function. |
|
6337 * variables.cc (install_builtin_variables): Add DEFUN for INFO_PROGRAM. |
|
6338 (default_info_prog): New function. |
|
6339 * octave.cc (info_prog): New global variable. |
|
6340 (initialize_globals): Set default value here. |
|
6341 (long_opts): Add --info-prog option. |
|
6342 (main): Handle it. |
|
6343 * help.cc (try_info): Use user_pref.info_prog here. |
|
6344 |
|
6345 * octave.cc (initialize_globals): Put arch_dir and bin_dir ahead |
|
6346 of shell_path when resetting PATH. |
|
6347 |
|
6348 Thu Nov 2 04:30:13 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6349 |
|
6350 * f-rand.cc (Frandn): New function. |
|
6351 (do_initialization): New function. |
|
6352 (do_rand): New function for doing the real work. |
|
6353 (Frand): Use it. |
|
6354 |
|
6355 * octave.cc (parse_and_execute): New arg, warn_for. If given, |
|
6356 print message if file cannot be opened. |
|
6357 Set curr_fcn_file_full_name here. |
|
6358 (Fsource): Pass extra arg to parse_and_execute to get warning message. |
|
6359 |
|
6360 * tree-const.h: Handle line and column info for double, Complex, |
|
6361 and char* constants. |
|
6362 |
|
6363 * parse.y (maybe_convert_to_ans_assign): Pass along line and |
|
6364 column info from expression. |
|
6365 |
|
6366 * parse.y (make_constant): New function. |
|
6367 (simple_expr1, word_list): Use it. |
|
6368 |
|
6369 * input.cc, input.h (curr_fcn_file_full_name): New global. |
|
6370 * variables.cc (load_fcn_from_file): Set it here. |
|
6371 * parse.y (func_def2, yyerror, maybe_warn_missing_semi): Use it. |
|
6372 (func_def2): If !reading_fcn_file, don't call strcmp if |
|
6373 curr_fcn_file_name is 0. |
|
6374 |
|
6375 * octave.cc (Fsource): New function. |
|
6376 (parse_and_execute): Declare file name const char *. |
|
6377 * input.cc (get_input_from_file): Likewise. |
|
6378 |
|
6379 Wed Nov 1 13:54:34 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6380 |
|
6381 * f-filter.cc: New file. |
|
6382 * Makefile.in (DLD_SRC): Add it to the list. |
|
6383 |
|
6384 * sysdep.h (gethostname): Change declaration to match definition |
|
6385 in sysdep.cc. |
|
6386 |
|
6387 * resource.cc: Include sysdep.h here, for octave_NaN. |
|
6388 |
|
6389 Tue Oct 31 02:12:18 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6390 |
|
6391 * tree-const.cc (TC_REP::assign): After converting rhs to a |
|
6392 numeric type, use the converted value, not the original. |
|
6393 |
|
6394 * dirfns.cc (Fpwd): If nargout == 0, print the directory name |
|
6395 instead of returning it. |
|
6396 |
|
6397 * pager.cc (maybe_page_output): Call maybe_write_to_diary_file here. |
|
6398 (flush_output_to_pager): Not here. |
|
6399 |
|
6400 Mon Oct 30 23:39:43 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6401 |
|
6402 * variables.cc (install_builtin_commands): Add DEFVAR for |
|
6403 echo_executing_commands. |
|
6404 |
|
6405 * octave-hist.cc (do_edit_history): Handle new echo stuff. |
|
6406 * variables.cc (parse_fcn_file): Likewise. |
|
6407 * octave.cc (parse_and_execute): Likewise. |
|
6408 (main): Likewise. |
|
6409 * input.cc (do_input_echo): |
|
6410 (Fecho): New function. |
|
6411 |
|
6412 * tree-expr.cc (tree_function::print_code_function_header, |
|
6413 tree_function::print_code_function_trailer): New functions. |
|
6414 (tree_function::print_code): Use them. |
|
6415 (tree_function::eval): Likewise, if echoing commands. |
|
6416 * tree-misc.cc (tree_statement::maybe_echo_code): New function. |
|
6417 |
|
6418 * user-prefs.h (user_preferences): New field, echo_executing_commands. |
|
6419 (echo_state): New enum, for various types of echoing we do. |
|
6420 * user-prefs.cc (echo_executing_commands): New function. |
|
6421 |
|
6422 * tree-base.cc (print_code_indent): Print PS4 as line prefix. |
|
6423 * help.cc (Ftype): Add unwind_protect for ps4 and set it to "" |
|
6424 before printing code. |
|
6425 |
|
6426 * tree-misc.h (tree_statement_list): New field, function_body. |
|
6427 (tree_statement_list::mark_as_function_body): New function. |
|
6428 * parse.y (func_def3): Mark function bodies. |
|
6429 |
|
6430 * pr-output.cc (octave_print_internal): Undo string escapes when |
|
6431 printing charMatrix as strings. |
|
6432 |
|
6433 Sat Oct 28 17:38:29 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6434 |
|
6435 * utils.h (undo_string_escapes): Add missing const in declaration. |
|
6436 |
|
6437 Fri Oct 27 03:49:44 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6438 |
|
6439 * file-io.cc (next_available_file_number): New stack for keeping |
|
6440 track of next available file number. |
|
6441 (get_next_avail_file_num): New function. |
|
6442 (fopen_file_for_user, fopen_internal, popen_internal, |
|
6443 execute_internal): Use it. |
|
6444 |
|
6445 Mon Oct 23 07:00:09 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6446 |
|
6447 * tree-const.cc (TC_REP::convert_to_matrix_type, |
|
6448 tree_constant::convert_to_matrix_type): New arg, make_complex. |
|
6449 (TC_REP::set_index): New arg, rhs_is_complex. Pass it to |
|
6450 convert_to_matrix_type. |
|
6451 (TC_REP::assign): Pass rhs.is_complex_type() to set_index. |
|
6452 |
|
6453 Thu Oct 19 00:38:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6454 |
|
6455 * xpow.cc: Include <climits>. |
|
6456 |
|
6457 * sysdep.cc (Fpause): Do pause even if not interactive. |
|
6458 |
|
6459 * tree-const.cc (TC_REP::assign): Don't make RHS numeric if both |
|
6460 RHS and LHS are strings. |
|
6461 |
|
6462 Wed Oct 18 22:19:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6463 |
|
6464 * f-expm.cc (Fexpm): Avoid taking log of negative number. Also, |
|
6465 don't unnecessarily divide the input matrix by 1.0. |
|
6466 |
|
6467 * input.cc (decode_prompt_string): Recognize \[ and \] too. |
|
6468 (initialize_readline): Bind M-p to history-search-backward and M-n |
|
6469 to history-search-forward. |
|
6470 |
|
6471 Tue Oct 17 04:31:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6472 |
|
6473 * xpow.cc (xpow): Handle integer powers better for complex^double. |
|
6474 (elem_xpow): Likewise. |
|
6475 |
|
6476 * lex.l ({CCHAR}): If nesting_level.top() is BRACE, return ';', |
|
6477 not '\n'. |
|
6478 |
|
6479 Mon Oct 16 19:03:45 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6480 |
|
6481 * help.cc (Fwhich): Fix doc string. |
|
6482 |
|
6483 * variables.cc (Fexist): Update doc string. |
|
6484 |
|
6485 Sun Oct 15 22:19:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6486 |
|
6487 * Another massive set of changes to support character matrices |
|
6488 with indexing. The Octave_str_object class is no longer used. |
|
6489 Anything having to do with Octave_str_object in the following |
|
6490 files has been changed to use charMatrix instead: octave.h, |
|
6491 load-save.cc, octave.cc, strfns.cc, data.cc, pr-output.h, |
|
6492 pr-output.cc, tree-const.h, dirfns.cc, tree-const.cc, |
|
6493 tree-expr.cc. |
|
6494 |
|
6495 Sat Oct 14 22:28:18 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6496 |
|
6497 * f-sort.cc (mx_sort): Don't attempt to sort vectors that have |
|
6498 only one element, or matrices that have only one row. |
|
6499 |
|
6500 Thu Oct 12 02:16:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6501 |
|
6502 * mappers.cc (install_mapper_functions): Add gammaln as an alias |
|
6503 for lgamma. |
|
6504 |
|
6505 * tree-const.h, tree-const.cc: Massive overhaul of indexing and |
|
6506 indexed assignment functions. |
|
6507 * tc-inlines.h, tc-rep.h: Remove files. |
|
6508 * Makefile.in: Remove mention of them here too. |
|
6509 |
|
6510 * Makefile.in: Include $(TI_SRC) in DEP_SOURCES_3, not |
|
6511 $(TI_SOURCES). |
|
6512 Include $(DLD_SRC) in DEP_SOURCES_3. |
|
6513 Include $(TI_SRC) in DEF_FILES_5. |
|
6514 |
|
6515 Wed Oct 11 01:26:18 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6516 |
|
6517 * Makefile.in (INCLUDES): Remove tc-inlines.h and tc-rep.h from |
|
6518 the list. |
|
6519 |
|
6520 Mon Oct 9 08:31:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6521 |
|
6522 * lex.l (next_token_is_bin_op): Do match `.+', `.*', etc. |
|
6523 |
|
6524 Sun Oct 8 18:19:56 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6525 |
|
6526 * idx-vector.h, idx-vector.cc: Delete files. |
|
6527 * Makefile.in (SOURCES, INCLUDES): Remove them from lists. |
|
6528 |
|
6529 Fri Oct 6 00:52:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6530 |
|
6531 * f-svd.cc (Fsvd): If nargout == 0 or nargout == 1, don't ask for |
|
6532 U and V. |
|
6533 |
|
6534 Wed Oct 4 00:04:57 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6535 |
|
6536 * f-npsol.cc (Fnpsol, Fnpsol_options): Avoid unused variable |
|
6537 warnings if NPSOL_MISSING. |
|
6538 * f-qpsol.cc (Fqpsol, Fqpsol_options): Likewise for QPSOL_MISSING. |
|
6539 |
|
6540 * Makefile.in (DISTFILES): Add octave.gperf. |
|
6541 |
|
6542 * lex.l (next_token_is_bin_op): Don't ever return true for `.' |
|
6543 since that causes problems with things like [ .1 .1 ]. |
|
6544 |
|
6545 Tue Oct 3 05:30:24 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6546 |
|
6547 * variables.cc (is_valid_function): Avoid setting error_state if |
|
6548 argument is not a string. |
|
6549 |
|
6550 * parse.y (maybe_warn_missing_semi): New function. |
|
6551 (list1, list): Call it if statement not terminated by semicolon. |
|
6552 * tree-misc.h (tree_statement::line, tree_statement::column): |
|
6553 New functions. |
|
6554 * octave.cc (input_from_command_line_file): New global variable. |
|
6555 (main): Set it. |
|
6556 (parse_and_execute): Unwind-protect it and set it to zero. |
|
6557 (eval_string): Likewise. |
|
6558 * variables.cc (parse_fcn_file): Likewise. |
|
6559 |
|
6560 * user-prefs.cc (warn_missing_semicolon): New function. |
|
6561 * user-prefs.h (user_preferences): New field, warn_missing_semicolon. |
|
6562 * variables.cc (install_builtin_variables): DEFVAR it. |
|
6563 |
|
6564 * tree-expr.cc (tree_expression::is_logically_true): Actually use |
|
6565 argument. |
|
6566 |
|
6567 Mon Oct 2 19:55:48 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6568 |
|
6569 * variables.cc (install_builtin_variables): Reduce the default |
|
6570 value of save_precision to 15. |
|
6571 |
|
6572 * variables.cc (builtin_real_scalar_variable): Return 1 for |
|
6573 success, 0 for failure. |
|
6574 |
|
6575 * user-prefs.cc (struct_levels_to_print, set_save_precision, |
|
6576 set_output_max_field_width, set_output_precision): |
|
6577 Change sense of test for builtin_real_scalar_variable return value. |
|
6578 (check_preference): Rename from check_str_pref. Change all callers. |
|
6579 Accept value of 0 to be the same as "false" and nonzero to be the |
|
6580 same as "true". |
|
6581 Delete val to avoid memory leak. |
|
6582 * variables.cc (install_builtin_variables): Change initial values |
|
6583 from "true" to 1, "false" to 0. |
|
6584 |
|
6585 * variables.cc (install_builtin_variables): Add DEFVAR for |
|
6586 gnuplot_has_multiplot. |
|
6587 |
|
6588 * user-prefs.h (user_preferences): New field, |
|
6589 `gnuplot_has_multiplot'. |
|
6590 * user-prefs.cc (init_user_prefs): Initialize it. |
|
6591 (gnuplot_has_multiplot): New function. |
|
6592 |
|
6593 Sat Sep 30 16:52:57 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6594 |
|
6595 * oct-gperf.h, octave.gperf: Newfiles. |
|
6596 * Makefile.in (DISTFILES): Add octave.gperf. |
|
6597 (INCLUDES): Add oct-gperf.h. |
|
6598 (oct-gperf.h): New rule. |
|
6599 (local-dist, dist): Depend on oct-gperf.h. |
|
6600 * lex.l (is_keyword): Use perfect hash function to lookup |
|
6601 keywords. |
|
6602 |
|
6603 Fri Sep 29 04:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6604 |
|
6605 * version.h (OCTAVE_NAME_AND_VERSION): Add TARGET_HOST_TYPE to this. |
|
6606 |
|
6607 Thu Sep 28 00:03:51 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6608 |
|
6609 * tree-expr.cc (tree_expression::is_logically_true): New function. |
|
6610 * tree-cmd.cc (tree_while_command::eval): Use it instead of |
|
6611 handling the test directly here. |
|
6612 * tree-misc.cc (tree_if_clause::eval): Likewise |
|
6613 |
|
6614 * tree-const.cc (TC_REP::force_numeric): Don't try to print value |
|
6615 of str_obj with %s. |
|
6616 |
|
6617 * error.cc (buffer_error_messages): Rename from |
|
6618 suppress_octave_error_messages. |
|
6619 (error_message_buffer): New global variable. |
|
6620 (verror): Handle buffering of messages. |
|
6621 (handle_message): New function. |
|
6622 (Ferror, Fwarning, Fusage): Use it instead of duplicating code. |
|
6623 |
|
6624 * octave.cc (Feval): Buffer error messages instead of supressing them. |
|
6625 |
|
6626 * lex.l (is_keyword): Recognize `try', `catch', and `end_try_catch'. |
|
6627 * parse.y (TRY, CATCH): New tokens. |
|
6628 (command): Recognize try-catch block. |
|
6629 (end_error): Add cases for unwind_protect_end and try_catch_end. |
|
6630 * token.h (end_tok_type): New field, try_catch_end. |
|
6631 * tree-cmd.h, tree-cmd.cc (tree_try_catch): New class. |
|
6632 * variables.cc (bind_global_error_variable): New Function. |
|
6633 (clear_global_error_variable): Likewise. |
|
6634 (install_builtin_variables): Add DEFCONST for __error_text__. |
|
6635 * help.cc (keywords): Add `try', `catch', and `end_try_catch'. |
|
6636 |
|
6637 * tree-cmd.cc (tree_unwind_protect::eval): Undo previous change. |
|
6638 |
|
6639 * dirfns.cc (Freaddir, Fmkdir, Frmdir): |
|
6640 Do tilde expansion on the argument. |
|
6641 |
|
6642 Tue Sep 26 00:10:29 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6643 |
|
6644 * f-dassl.cc, f-fsolve.cc, f-lsode.cc, f-npsol.cc, f-quad.cc: |
|
6645 Don't try to figure out if the user-supplied functions take the |
|
6646 correct number of arguments. Simply let the call fail. |
|
6647 * variables.cc (takes_correct_nargs): Delete unused function. |
|
6648 * tree-expr.cc (tree_builtin::eval): Don't complain for too many |
|
6649 arguments to mapper functions. |
|
6650 * tree-expr.h, tree-expr.cc (tree_builtin, tree_function, tree_fvc): |
|
6651 Delete unused function max_expected_args. |
|
6652 |
|
6653 * defun.h (DEFUN): Delete unnecessary args nargin_min and nargout_max. |
|
6654 New arg unused_arg_flags. |
|
6655 (DEFUN_TEXT): Likewise. |
|
6656 * defun-dld.h (DEFUN_DLD_BUILTIN): Likewise. |
|
6657 * defun-int.h (DEFUN_INTERNAL, DECLARE_FUN, DEFINE_FUN_STRUCT): |
|
6658 Do the real work. |
|
6659 |
|
6660 * data.cc, dirfns.cc, dynamic-ld.cc, error.cc, f-balance.cc, |
|
6661 f-chol.cc, f-colloc.cc, f-dassl.cc, f-det.cc, f-eig.cc, f-expm.cc, |
|
6662 f-fft.cc, f-fft2.cc, f-find.cc, f-fsolve.cc, f-fsqp.cc, |
|
6663 f-givens.cc, f-hess.cc, f-ifft.cc, f-ifft2.cc, f-inv.cc, f-log.cc, |
|
6664 f-lpsolve.cc, f-lsode.cc, f-lu.cc, f-minmax.cc, f-npsol.cc, |
|
6665 f-pinv.cc, f-qpsol.cc, f-qr.cc, f-quad.cc, f-qzval.cc, f-rand.cc, |
|
6666 f-schur.cc, f-sort.cc, f-svd.cc, f-syl.cc, file-io.cc, help.cc, |
|
6667 input.cc, lex.l, load-save.cc, mappers.cc, octave-hist.cc, |
|
6668 octave.cc, octave.h, pager.cc, pr-output.cc, resource.cc, |
|
6669 sighandlers.cc, strfns.cc, sysdep.cc, timefns.cc, token.cc, |
|
6670 tree-const.cc, tree-expr.cc, tree-expr.h, tree-plot.cc, |
|
6671 unwind-prot.cc, unwind-prot.h, utils.cc, variables.cc, |
|
6672 variables.h, version.h, xdiv.cc: |
|
6673 Avoid unused variable warnings. |
|
6674 |
|
6675 * tree-expr.h (tree_oct_obj::print_value (ostream&)): |
|
6676 Delete name of unused arg. |
|
6677 (tree_fvc::save (ostream&, int, int): Likewise. |
|
6678 |
|
6679 * tree-const.h (tree_constant::tree_constant (magic_colon)): |
|
6680 Delete name of unused arg. |
|
6681 (tree_constant::tree_constant (all_va_args)): Likewise |
|
6682 (ColumnVector vector_value (int, int)): Likewise. |
|
6683 (ComplexColumnVector vector_value (int, int)): Likewise. |
|
6684 (Octave_object::eval (int, int, const Octave_object&): Likewise. |
|
6685 |
|
6686 * octave.cc (execute_startup_files): Look for octaverc first in |
|
6687 site/m, then in $(version)/m. |
|
6688 * variables.cc (get_local_site_defaults): New function. |
|
6689 * defaults.h.in (OCTAVE_LOCALFCNFILEDIR, OCTAVE_LOCALSTARTUPFILEDIR): |
|
6690 New macros. |
|
6691 * Makefile.in (defaults.h): Also substitute ${localfcndir}. |
|
6692 |
|
6693 Mon Sep 25 17:01:03 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6694 |
|
6695 * variables.cc (install_builtin_variables): Add DEFCONST for "e". |
|
6696 |
|
6697 Fri Sep 22 02:18:45 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6698 |
|
6699 * dirfns.cc (Fls): Delete ls_command after using it, not before. |
|
6700 |
|
6701 * input.h, input.cc (gnu_readline): Don't declare gnu_readline |
|
6702 `extern "C"'. |
|
6703 |
|
6704 * sysdep.h: Only declare gethostname if it is missing, then don't |
|
6705 declare it `extern "C"'. |
|
6706 |
|
6707 * dirfns.cc: Don't declare strerror(). |
|
6708 |
|
6709 * input.cc (command_generator): Use malloc, not xmalloc. Don't |
|
6710 declare xmalloc. |
|
6711 (gnu_readline): Don't declare this `extern "C"'. |
|
6712 |
|
6713 * octave-hist.cc: Don't declare history_get(). It is now in |
|
6714 readline/history.h. |
|
6715 |
|
6716 * input.cc: Don't declare history_get(). It is now in |
|
6717 readline/readline.h. |
|
6718 |
|
6719 * resource.cc: Don't surround include of sys/resource.h in |
|
6720 `extern "C" { }'. |
|
6721 |
|
6722 * fnmatch.h [__cplusplus]: Surround contents in `extern "C" { }'. |
|
6723 * load-save.cc, symtab.cc, variables.cc: Don't surround |
|
6724 fnmatch.h include in `extern "C" { }'. |
|
6725 |
|
6726 * help.cc: Don't #undef __FUNCTION_DEF before including |
|
6727 readline/tilde.h. |
|
6728 |
|
6729 * dirfuns.cc, file-io.cc, help.cc, load-save.cc, octave-hist.cc, |
|
6730 sysdep.cc, tree-plot.cc, utils.cc, variables.cc: |
|
6731 Don't surround readline includes in `extern "C" { }'. |
|
6732 |
|
6733 * sysdep.cc: Move all include statements to top of file. |
|
6734 |
|
6735 Tue Sep 19 01:58:21 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6736 |
|
6737 * octave.cc (Fsystem): Use iprocstream *, and unwind_protect it. |
|
6738 * pager.cc (flush_output_to_pager): Likewise. |
|
6739 * dirfns.cc (Fls): Likewise. |
|
6740 * tree-plot.cc (plot_stream): Now a pointer. |
|
6741 (open_plot_stream): Deal with it. |
|
6742 (send_to_plot_stream, cleanup_tmp_files, do_external_plotter_cd): |
|
6743 Likewise. |
|
6744 |
|
6745 * procstream.cc (cleanup_iprocstream, cleanup_oprocstream): |
|
6746 New functions. |
|
6747 |
|
6748 * procstream.h, procstream.cc (class iprocstream, class oprocstream): |
|
6749 Keep track of pbuf. Initialize it to 0 in default constructors, |
|
6750 delete it in destructor. Don't call close in destructor. |
|
6751 |
|
6752 * sighandlers.cc (octave_set_signal_handler): New function. |
|
6753 Use this name instead of signal everywhere. |
|
6754 * help.cc (try_info): Likewise. |
|
6755 * pager.cc (flush_output_to_pager): Likewise. |
|
6756 * octave.cc (main): Likewise. |
|
6757 * octave-hist.cc (do_edit_history): Likewise. |
|
6758 |
|
6759 * input.cc (initialize_readline): Set rl_paren_string_delimiters |
|
6760 to avoid treating single quotes as string delimiters when doing |
|
6761 paren matching. |
|
6762 |
|
6763 * Makefile.in (SOURCES): Don't list Map.cc or SLStack.cc here. |
|
6764 |
|
6765 * tree-const.cc: Do include utils.h. |
|
6766 |
|
6767 * sysdep.cc: Don't surround terminal includes in extern "C". |
|
6768 Include them before readline.h. |
|
6769 |
|
6770 * Map.h: Don't include utils.h. |
|
6771 (CHNode::CHNode (const char*, const C&, CHNode *t): |
|
6772 Do strsave() inline. |
|
6773 |
|
6774 * input.cc (generate_possible_completions): Generate name list |
|
6775 even when text == 0. |
|
6776 (operate_and_get_next): Don't declare history_stifled, call |
|
6777 history_is_stifled () instead. |
|
6778 Don't declare history_length, or max_input_history either. |
|
6779 Check (where >= history_length - 1) too, as in recent versions of |
|
6780 bash. |
|
6781 |
|
6782 * user-prefs.h (user_prefs): New field, `completion_append_char'. |
|
6783 * user-prefs.cc (init_user_prefs): Initialize it. |
|
6784 (sv_completion_append_char): New function. |
|
6785 * variables.cc (install_builtin_variables): Install |
|
6786 completion_append_char. |
|
6787 * input.cc (command_generator): Use it. |
|
6788 |
|
6789 * SLList-expr.cc, SLList-misc.cc, SLList-plot.cc, SLList-tc.cc, |
|
6790 DLList-fi.cc: Include config.h. |
|
6791 * DLList-fi.cc: Include file-info.h, not file-io.h. |
|
6792 |
|
6793 Mon Sep 18 11:01:24 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6794 |
|
6795 * octave.h (clean_up_and_exit): Tag with NORETURN instead of using |
|
6796 typedef trick. |
|
6797 * error.h (panic): Likewise. |
|
6798 * utils.h (jump_to_top_level): Likewise. |
|
6799 |
|
6800 * file-io.h: Protect from multiple includes with octave_file_io, |
|
6801 not octave_files. |
|
6802 |
|
6803 * file-info.h (class file_info): Convert to using std C++ string |
|
6804 class from char *. |
|
6805 * file-info.cc: Likewise. Don't include utils.h. |
|
6806 * file-io.cc (return_valid_file, fopen_file_for_user, |
|
6807 fflush_internal, do_scanf): Use operator ==, not strcmp. |
|
6808 (close_files): Call error with file.name ().data (), |
|
6809 not file.name (). |
|
6810 (freport_internal): Call form with file.mode ().data () and |
|
6811 file.name ().data (). |
|
6812 |
|
6813 * file-io.cc, file-io.h: Extract file_info class. |
|
6814 * file-info.cc, file-info.h: New files for file_info class. |
|
6815 |
|
6816 * user-prefs.h (user_prefs): New field, `beep_on_error'. |
|
6817 * user-prefs.cc (init_user_prefs): Initialize it. |
|
6818 (beep_on_error): New function. |
|
6819 * variables.cc (install_builtin_variables): Install beep_on_error. |
|
6820 * octave.cc (maximum_braindamage): Set beep_on_error to "true". |
|
6821 * error.cc (verror): Conditionally beep. |
|
6822 (error): Don't reset error_state until after verror is called. |
|
6823 |
|
6824 Sun Sep 17 16:41:25 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6825 |
|
6826 * load-save.cc (read_mat_binary_data, read_ascii_data, |
|
6827 save_ascii_data, read_binary_data, save_binary_data): |
|
6828 Handle string arrays. |
|
6829 |
|
6830 Fri Sep 15 00:24:19 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6831 |
|
6832 * user-prefs.cc (struct_levels_to_print, |
|
6833 set_output_max_field_width, set_output_precision, |
|
6834 set_save_precision): Eliminate unecessary kludge variable. |
|
6835 |
|
6836 * variables.cc (gobble_leading_white_space): New arg, |
|
6837 in_parts. Change all callers. |
|
6838 |
|
6839 * lex.l (HELP_FCN): Delete start state. The `help' command is now |
|
6840 handled the same as any other text-style function. |
|
6841 |
|
6842 * gripes.cc (gripe_invalid_value_specified): New function |
|
6843 * user-prefs.cc: Use it. |
|
6844 |
|
6845 * sysdep.cc (octave_words_big_endian): New global variable. |
|
6846 (ten_little_endians): New function. |
|
6847 (sysdep_init): Call it. |
|
6848 * load-save.cc (words_big_endian): Use this at run-time instead of |
|
6849 depending on WORDS_BIGENDIAN at compile-time. |
|
6850 |
|
6851 * symtab.h (SYMTAB_VARIABLES): New macro. |
|
6852 * variables.cc (Fclear): Use it instead of just |
|
6853 symbol_def::USER_VARIABLE when looking for variables. |
|
6854 |
|
6855 * octave.cc (main): If there is a file to execute, set |
|
6856 program_invocation_name and program_name to the name of the file |
|
6857 and argv to the remaining args. |
|
6858 (intern_argv): Only define argv if there are some remaining |
|
6859 arguments. |
|
6860 |
|
6861 * defun.h (DEFVAR_INT): New macro. |
|
6862 (DEFVAR): Define in terms of DEFVAR_INT. Delete args protect and |
|
6863 eternal. |
|
6864 (DEFCONST): New macro. |
|
6865 * variables.cc (install_builtin_variables): Use DEFCONST where |
|
6866 appropriate, change uses of DEFVAR to match new definition. |
|
6867 |
|
6868 * variables.cc (bind_builtin_variable): New variant that accepts |
|
6869 const tree_constant& value. |
|
6870 (install_builtin_variables): Properly alphabetize DEFVAR for this. |
|
6871 |
|
6872 * octave.cc (short_opts): Prefix with `+' to prevent argv |
|
6873 permutation. |
|
6874 (main): Don't use readline if forced_interactive. |
|
6875 (traditional): New file-scope variable. |
|
6876 (long_opts, usage_string, verbose_usage): Add `--traditional'. |
|
6877 (maximum_braindamage): New function. |
|
6878 (main): Call it if --traditional. |
|
6879 |
|
6880 * input.cc (do_input_echo): Print prompt correctly when |
|
6881 forced_interactive is either true or false. |
|
6882 |
|
6883 Thu Sep 14 00:54:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6884 |
|
6885 * data.cc (Fstruct_elements): New function. |
|
6886 |
|
6887 * file-io.cc (Fumask): New function. |
|
6888 |
|
6889 * dirfns.cc (Fmkdir, Frmdir, Frename): New functions. |
|
6890 |
|
6891 * Makefile.in: Add rules and dependencies for building safe-stat.o |
|
6892 and safe-lstat.o. |
|
6893 |
|
6894 * mkdir.c, rename.c, rmdir.c: New files. |
|
6895 * Makefile.in (SOURCES): Include them in the list. |
|
6896 |
|
6897 * safe-xstat.hin, safe-xstat.cin: New files |
|
6898 * Makefile.in (DISTFILES): Include them in the list. |
|
6899 |
|
6900 * sighandlers.cc (octave_new_handler): Try to continue on memory |
|
6901 exhausted errors. |
|
6902 (sigfpe_handler): Improve error message. |
|
6903 |
|
6904 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. |
|
6905 |
|
6906 * dirfns.cc (Freaddir): New function. |
|
6907 |
|
6908 * f-sort.cc: Complete rewrite. Now uses stable sort algorithm and |
|
6909 correctly handles complex matrices containing columns of all real |
|
6910 numbers. |
|
6911 |
|
6912 Wed Sep 13 03:16:40 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6913 |
|
6914 * arith-ops.cc: Unconditionally #define DIVIDE_BY_ZERO_ERROR. |
|
6915 |
|
6916 * variables.cc (install_builtin_variables): Unconditionally |
|
6917 install NaN and nan. |
|
6918 |
|
6919 * mappers.cc (xisinf): Don't do bogus things if isinf, isnan, or |
|
6920 finite are missing. |
|
6921 (xfinite): Likewise. |
|
6922 |
|
6923 * sysdep.cc (octave_ieee_init): Don't set octave_NaN and |
|
6924 octave_Inf if values are not available. |
|
6925 |
|
6926 * resource.cc (mk_ru_map): Don't use ru_ or tv_ as prefixes to |
|
6927 Octave names for the structure members. |
|
6928 |
|
6929 Tue Sep 12 02:04:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6930 |
|
6931 * procstream.h, procstream.cc: Rewrite. |
|
6932 |
|
6933 Mon Sep 11 18:42:05 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6934 |
|
6935 * filemode.c: New file, from Emacs. |
|
6936 * Makefile.in (SOURCES): Add it to the list. |
|
6937 |
|
6938 * file-io.cc (Fstat, Flstat, mk_stat_map): New functions. |
|
6939 |
|
6940 * timefns.cc (mk_tm_map): Don't use tm_ as prefix to Octave names |
|
6941 for these structure members. |
|
6942 (extract_tm): Likewise. |
|
6943 (Flocaltime): Fix doc string to match. |
|
6944 |
|
6945 Thu Sep 7 02:04:27 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6946 |
|
6947 * load-save.cc (save_user_variables): New function. |
|
6948 * sighandlers.cc (my_friendly_exit): Call it before exiting. |
|
6949 (sigfpe_handler): New function. |
|
6950 (install_signal_handlers) [__alpha__]: Install it. |
|
6951 |
|
6952 Wed Sep 6 14:35:10 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6953 |
|
6954 * tree-cmd.cc (tree_unwind_protect::eval): Ignore errors and |
|
6955 suppress error messages while executing first block of |
|
6956 unwind_protect commands. |
|
6957 |
|
6958 * parse.y (end_error): Add missing case for unwind_protect_end. |
|
6959 |
|
6960 * tree-expr.cc (tree_builtin::eval): Complain if no arguments |
|
6961 given for mapper functions. |
|
6962 (tree_fvc::lookup_map_element): Print error message for invalid |
|
6963 structure reference. |
|
6964 |
|
6965 Tue Sep 5 02:04:12 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6966 |
|
6967 * file-io.cc, input.cc, load-save.cc, octave.cc, sysdep.cc, |
|
6968 variables.cc, octave-hist.cc, utils.cc, f-schur.cc, f-rand.cc, |
|
6969 f-quad.cc, f-qpsol.cc, f-npsol.cc, f-lsode.cc, f-fsolve.cc, |
|
6970 f-dassl.cc, f-colloc.cc, f-balance.cc, error.cc, data.cc: |
|
6971 Add const qualifiers where appropriate. |
|
6972 |
|
6973 * dirfns.h: Include <ctime>, for time_t. |
|
6974 |
|
6975 * tempname.c, file-io.cc, help.cc, input.cc, octave-hist.cc, |
|
6976 octave.cc, sighandlers.cc, sysdep.cc, tree-expr.cc, tree-misc.cc, |
|
6977 tree-plot.cc, utils.cc, variables.cc, sysdir.h: |
|
6978 Move #include <sys/type.h> inside #ifdef HAVE_UNISTD_H. |
|
6979 |
|
6980 * syswait.h: New file. |
|
6981 * Makefile.in (INCLUDES): Add it to the list. |
|
6982 * file-io.cc, sighandlers.cc: Use it instead of including |
|
6983 sys/wait.h directly. |
|
6984 |
|
6985 * octave.cc: Include statdefs.h, not sys/stat.h. |
|
6986 |
|
6987 * sysdir.h: New file. |
|
6988 * Makefile.in (INCLUDES): Add it to the list. |
|
6989 * dirfns.cc, utils.cc: Use it instead of including the headers |
|
6990 directly. |
|
6991 |
|
6992 * pathlen.h: New file. |
|
6993 * Makefile.in (INCLUDES): Add it to the list. |
|
6994 * dirfns.cc, input.cc: Use it instead of including sys/param.h |
|
6995 directly. |
|
6996 * utils.cc: Don't include sys/param.h |
|
6997 |
|
6998 Sun Sep 3 18:52:59 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6999 |
|
7000 * tree-const.cc (TC_REP::string_value): Return const char*, not |
|
7001 char *. |
|
7002 |
|
7003 * All .cc, .y, .l, .y files: Include <cctype>, not <ctype.h>, and |
|
7004 so on for all new C++ versions of these standard C headers. |
|
7005 |
|
7006 Thu Aug 31 17:09:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7007 |
|
7008 * pathsearch.h: Also hide `string'. |
|
7009 |
|
7010 * oct-str.cc, oct-str.h: New files. |
|
7011 * Makefile.in: Add to the appropriate lists. |
|
7012 * tc-rep.h: Change char* to Octave_string* in anonymous union. |
|
7013 * tree-expr.cc (tree_matrix::eval): Handle multiple element strings. |
|
7014 * strfns.cc (toascii): Likewise. |
|
7015 * tree-const.cc (print_as_string): Likewise. |
|
7016 (TC_REP::force_numeric, TC_REP::rows, TC_REP::columns, |
|
7017 TC_REP::double_value, TC_REP::complex_value, TC_REP::matrix_value, |
|
7018 TC_REP::complex_matrix_value, TC_REP::convert_to_str): Likewise. |
|
7019 (TC_REP::print): Call octave_print_internal for string case. |
|
7020 (all_strings): New function. |
|
7021 Fix constructors to use new data structure. |
|
7022 * pr-output.cc (octave_print_internal): Add version for strings. |
|
7023 * Array-string.cc: New file. |
|
7024 |
|
7025 * octave.cc (octave_argv): New global variable. |
|
7026 (intern_argv): New function. |
|
7027 (main): Fix argument parsing to do the right thing for arguments |
|
7028 to executable scripts. |
|
7029 * variables.cc: Add DEFUNs for argv, program_invocation_name, and |
|
7030 program_name. |
|
7031 |
|
7032 * defun.h (DEFVAR): Fix comment. |
|
7033 |
|
7034 Thu Aug 24 00:02:00 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7035 |
|
7036 * file-io.cc (fgets_internal): Make second arg optional. Add |
|
7037 optional arg `strip_final_newline'. |
|
7038 (Ffgets): Change to match new definition of fgets_internal. |
|
7039 (Ffgetl): Implement using the new fgets_internal. |
|
7040 |
|
7041 * f-rand.cc (Frand): Update code for sizing return value to match |
|
7042 that used by ones, zeros, and eye. |
|
7043 |
|
7044 Wed Aug 23 19:52:45 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7045 |
|
7046 * tree-const.cc (do_vector_assign): Don't crash for |
|
7047 A(range) = scalar, or A(matrix) = scalar. |
|
7048 |
|
7049 * f-dassl.cc (set_dassl_option): Rename from do_dassl_option. |
|
7050 (show_dassl_option): New function. |
|
7051 (Fdassl_options): Handle single arg. |
|
7052 * f-fsolve.cc (set_fsolve_option): Rename from do_fsolve_option. |
|
7053 (show_fsolve_option): New function. |
|
7054 (Ffsolve_options): Handle single arg. |
|
7055 * f-fsqp.cc (set_fsqp_option): Rename from do_fsqp_option. |
|
7056 (show_fsqp_option): New function. |
|
7057 (Ffsqp_options): Handle single arg. |
|
7058 * f-lpsolve.cc (set_lpsolve_option): Rename from do_lpsolve_option. |
|
7059 (show_lpsolve_option): New function. |
|
7060 (Flpsolve_options): Handle single arg. |
|
7061 * f-lsode.cc (set_lsode_option): Rename from do_lsode_option. |
|
7062 (show_lsode_option): New function. |
|
7063 (Flsode_options): Handle single arg. |
|
7064 * f-npsol.cc (set_npsol_option): Rename from do_npsol_option. |
|
7065 (show_npsol_option): New function. |
|
7066 (Fnpsol_options): Handle single arg. |
|
7067 * f-qpsol.cc (set_qpsol_option): Rename from do_qpsol_option. |
|
7068 (show_qpsol_option): New function. |
|
7069 (Fqpsol_options): Handle single arg. |
|
7070 * f-quad.cc: (set_quad_option): Rename from do_quad_option. |
|
7071 (show_quad_option): New function. |
|
7072 (Fquad_options): Handle single arg. |
|
7073 (Fquad): Doc fix. |
|
7074 |
|
7075 Tue Aug 22 00:38:05 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7076 |
|
7077 * tree-plot.cc (do_external_plotter_cd): New function. |
|
7078 * dirfns.cc (octave_change_to_directory): New function. If cd is |
|
7079 successful, also call do_external_plotter_cd(). |
|
7080 (Fcd): Call octave_change_to_directory(), not change_to_directory(). |
|
7081 |
|
7082 * pr-output.cc (pr_any_float): Change declaration of counter to |
|
7083 size_t to avoid gcc warnings. |
|
7084 |
|
7085 * idx-vector.cc, octave-hist.cc, tree-const.cc, tree-expr.cc, |
|
7086 tree-misc.cc, utils.cc, xpow.cc, Map.cc: |
|
7087 Update for change in for loop variable scope for gcc 2.7.0. |
|
7088 |
|
7089 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7090 |
|
7091 * tree-const.cc (fortran_style_matrix_assignment): Properly handle |
|
7092 case of complex LHS, real RHS. |
|
7093 |
|
7094 * Makefile.in: Only include dependency files if $(omit_deps) is |
|
7095 not set. |
|
7096 |
|
7097 Wed Jul 5 00:03:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7098 |
|
7099 * sysdep.cc: Explicitly include string.h. |
|
7100 |
|
7101 Sun Jun 25 00:18:10 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7102 |
|
7103 * load-save.cc (too_large_for_float (const Matrix&)): |
|
7104 Extract elements as doubles, not Complex. |
|
7105 |
|
7106 Sat Jun 24 22:59:15 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7107 |
|
7108 * pr-output.cc (any_element_is_inf_or_nan): Declare extern, not static. |
|
7109 * f-svd.cc (Fsvd): Call here to avoid trying to take SVD of matrix |
|
7110 containing Inf or NaN values. |
|
7111 |
|
7112 * pr-output.cc (bit_format): New file-scope variable. |
|
7113 (set_format, pr_any_float): Handle bit_format. |
|
7114 (octave_print_internal): Handle bit_format like bank_format. |
|
7115 (init_format_state): Initialize bit_format. |
|
7116 (set_format_style): Allow `format bit' and `format native-bit'. |
|
7117 |
|
7118 Thu Jun 8 15:20:26 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7119 |
|
7120 * mappers.cc (arg, imag, signum): If arg is NaN, return NaN. |
|
7121 |
|
7122 Mon May 15 14:47:04 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7123 |
|
7124 * pager.cc (Fdiary): Initialize diary_file here, not in the |
|
7125 file-scope declaration. |
|
7126 |
|
7127 * tree-expr.cc (tree_index_expression::eval): |
|
7128 Handle nargin == 0 the same as other cases. |
|
7129 |
|
7130 Tue May 2 10:02:23 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7131 |
|
7132 * load-save.cc (do_double_format_conversion): Add missing breaks. |
|
7133 (do_float_format_conversion): Likewise. |
|
7134 |
|
7135 Mon May 1 13:50:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7136 |
|
7137 * Makefile.in (OCTAVE_LIBS): Add @LIBPLPLOT@ to the list. |
|
7138 |
|
7139 * timefns.cc (Ftime): Handle GETTIMEOFDAY_NO_TZ. |
|
7140 |
|
7141 * Makefile.in (SOURCES): Delete tc-rep.cc, tc-rep-ass.cc, and |
|
7142 tc-rep-idx.cc from the list. |
|
7143 |
|
7144 * tree-const.h: Add #pragma interface. |
|
7145 * tree-const.cc: Add contents of tc-rep.cc, tc-rep-ass.cc, and |
|
7146 tc-idx.cc to this file. Add #pragma implementation. This makes |
|
7147 tree-const.cc large, but makes the final binary smaller. |
|
7148 |
|
7149 * unwind-prot.h unwind-prot.cc token.cc token.h procstream.cc |
|
7150 procstream.h idx-vector.cc idx-vector.h symtab.cc symtab.h |
|
7151 oct-map.cc oct-map.h oct-obj.cc oct-obj.h tree-plot.h tree-plot.cc |
|
7152 tree-misc.cc tree-misc.h tree-expr.cc tree-expr.h tree-cmd.cc |
|
7153 tree-cmd.h tree-base.cc tree-base.h: |
|
7154 Add #pragma interface/implementation. |
|
7155 |
|
7156 * Makefile.in (OCTAVE_LIBS): Delete @LIBINFO@ from list. |
|
7157 * help.cc: Don't include info headers or extern declarations for |
|
7158 functions from info. |
|
7159 (try_info): Call info as a subprocess. Delete second arg. |
|
7160 Handle SIGINT here, not in help_from_info(). |
|
7161 (help_from_info): Complain if info doesn't work. |
|
7162 |
|
7163 * defun-dld.h (DEFUN_DLD_BUILTIN) [OCTAVE_LITE && MAKE_BUILTINS]: |
|
7164 If ! WITH_DLD, simply emit a character string constant. |
|
7165 |
|
7166 Fri Apr 28 15:23:06 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7167 |
|
7168 * lex.l ({IDENT}{S}*): Don't delete tok. That's handled by |
|
7169 strip_trailing_whitespace() now. |
|
7170 (<HELP_FCN>[^ \t\n]*{S}*|<TEXT_FCN>[^ \t\n\;\,]*{S}*): Ditto. |
|
7171 |
|
7172 * pathsearch.h: Include kpathsea/progname.h. |
|
7173 * octave.cc (initialize_globals): Call kpse_set_progname(). |
|
7174 |
|
7175 * token.h: Declare copy constructor and operator = private. |
|
7176 * token.cc: Abort if copy constructor or operator = is used. |
|
7177 |
|
7178 Thu Apr 27 13:54:39 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7179 |
|
7180 * tree-expr.cc (lookup_map_element): Don't list default argument |
|
7181 values here too. |
|
7182 |
|
7183 * pr-output.cc (hex_format): New file-scope variable. |
|
7184 (set_format, pr_any_float): Handle hex_format. |
|
7185 (octave_print_internal): Handle hex_format like bank_format. |
|
7186 (init_format_state): Initialize hex_format. |
|
7187 (set_format_style): Allow `format hex' and `format native-hex'. |
|
7188 |
|
7189 * variables.cc (bind_ans): Create ans_id each time with new and |
|
7190 ask tree_simple_assignment_expression to handle cleaning it up. |
|
7191 This apparently plugs a memory leak. |
|
7192 |
|
7193 * help.cc (Ftype): Don't try to print map constants. Handle |
|
7194 references to structure members. |
|
7195 |
|
7196 Wed Apr 26 12:40:59 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7197 |
|
7198 * input.cc (generate_struct_completions): New function. |
|
7199 (generate_possible_completions): Likewise. |
|
7200 (looks_like_struct): Likewise. |
|
7201 (command_generator): Handle completion of struct variables. |
|
7202 |
|
7203 * tree-expr.h, tree-expr.cc (tree_fvc::lookup_map_element): |
|
7204 Add insert and silent args. |
|
7205 |
|
7206 * oct-map.cc: New file. |
|
7207 * Makefile.in (SOURCES): Add it to the list. |
|
7208 |
|
7209 Mon Apr 24 09:41:02 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7210 |
|
7211 * variables.cc (Fexist): Handle structure references too. |
|
7212 |
|
7213 * tree-const.cc (lookup_map_element (const char*, int, int): |
|
7214 New function. |
|
7215 (lookup_map_element (SLList<char*>&, int, int): New arg, silent. |
|
7216 * tc-rep.cc (lookup_map_element): New arg, silent. If nonzero, |
|
7217 don't call error(). |
|
7218 |
|
7219 * tc-rep.h (is_empty): Define here. |
|
7220 * tree-const.h (is_empty): Hand off to TC_REP::is_empty(). |
|
7221 |
|
7222 * data.cc (Fstruct_contains): Call lookup_map_element on args(0) |
|
7223 instead of extracting the map and calling contains() on it. |
|
7224 |
|
7225 * parse.y (EPLUS, EMINUS): New tokens. |
|
7226 (simple_expr): Handle EPLUS, EMINUS the same as `+' and `-'. |
|
7227 * lex.l (".+", ".-"): New patterns. Match these separately to |
|
7228 disallow using them as unary operators. |
|
7229 |
|
7230 * lex.l (next_token_is_bin_op): Simplify by noting that spacing |
|
7231 only matters for those tokens that can also be unary ops. |
|
7232 |
|
7233 Fri Apr 21 14:34:45 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7234 |
|
7235 * load-save.cc (read_ascii_data): Allow reading of empty |
|
7236 matrices. |
|
7237 |
|
7238 * tc-rep-ass.cc (vector_assignment): Only assert that we are not |
|
7239 doing fortran-style indexing and that nr <= 1 || nc <= 1. |
|
7240 (do_vector_assign): Handle assignment of [] when one dimension is |
|
7241 zero and the other is anything. |
|
7242 |
|
7243 Thu Apr 20 13:56:21 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7244 |
|
7245 * tc-rep-ass.cc (delete_rows, delete_columns): Simply return if |
|
7246 num_to_delete is 0. |
|
7247 |
|
7248 * lex.l (handle_identifier): Don't match plot option keywords |
|
7249 inside parentheses or braces. |
|
7250 |
|
7251 * variables.cc (parse_fcn_file): Also delete tmp_help_txt if |
|
7252 running a script. |
|
7253 |
|
7254 * tree-cmd.h (tree_command): Add destructor. |
|
7255 |
|
7256 * tree-expr.h tree_simple_assignment_expression (lhs_idx_expr): |
|
7257 Hang on to idx_expr, not just its parts so it can be deleted. |
|
7258 (init): Initialize it. |
|
7259 * tree-expr.cc (~tree_simple_assignment_expression): Delete it. |
|
7260 |
|
7261 * tree-expr.h (tree_multi_val_ret, tree_oct_obj, tree_fvc, |
|
7262 tree_identifier, tree_builtin, tree_function): Add destructors. |
|
7263 * tree-expr.cc (tree_function::~tree_function): Delete some stuff. |
|
7264 |
|
7265 * tree-misc.h (tree_va_return_list): Add destructor. |
|
7266 |
|
7267 * octave.cc (__builtin_new, __builtin_delete): Provide our own, |
|
7268 for debugging. |
|
7269 |
|
7270 * utils.cc (strconcat): Don't depend on the return value from |
|
7271 strcat. |
|
7272 (file_in_path): Simplify logic. |
|
7273 |
|
7274 * parse.y (maybe_convert_to_ans_assign): Create ans_id each time |
|
7275 with new and ask tree_simple_assignment_expression to handle |
|
7276 cleaning it up. This apparently plugs a memory leak. |
|
7277 |
|
7278 * lex.l (strip_trailing_whitespace): Declare retval static. |
|
7279 Delete it before saving next string. |
|
7280 |
|
7281 * error.cc (Ferror): Do call error() for empty string args. |
|
7282 (error_1): Don't print anything if fmt is "" or "\n", but do set |
|
7283 the error state appropriately. |
|
7284 |
|
7285 * tree-cmd.cc (tree_unwind_protect::eval): Handle return and break |
|
7286 in the `try' part of the statement. |
|
7287 |
|
7288 Mon Apr 10 19:29:44 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7289 |
|
7290 * f-expm.cc, f-givens.cc, f-qzval.cc, f-syl.cc, f-rand.cc: |
|
7291 Where appropriate, declare Fortran functions to take reference |
|
7292 instead of pointer args. Change callers. |
|
7293 |
|
7294 * mappers.cc: Declare Fortran functions to take reference instead |
|
7295 of pointer args. Change callers. |
|
7296 |
|
7297 * gamma.c, lgamma.c, erfc.c, erf.c, atanh.c, asinh.c, acosh.c: |
|
7298 Declare Fortran functions to take reference instead of pointer |
|
7299 args. |
|
7300 |
|
7301 Sun Apr 9 19:38:53 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7302 |
|
7303 * file-io.cc (Fpopen, Fpclose, Fexecute, Fsync_system, |
|
7304 Fasync_system, Fwaitpid, Fmkfifo, Funlink): New functions. |
|
7305 |
|
7306 * sighandlers.cc (sigchld_handler): New function. |
|
7307 (install_signal_handlers): Add call to install |
|
7308 sigchld_handler. (This is #if 0'd out, waiting for code to help |
|
7309 determine which child exited and what to do about it). |
|
7310 |
|
7311 * tree-expr.h (tree_oct_obj): New class. |
|
7312 |
|
7313 * tree-expr.h (tree_multi_assignment_expression::preserve): New |
|
7314 data member. Add arg with default value to constructors. Change |
|
7315 callers as necessary. |
|
7316 * tree-expr.cc (~tree_multi_assignment_expression): Conditionally |
|
7317 delete lhs. |
|
7318 |
|
7319 * parse.y (make_multi_val_ret): Pass matrix instead of getting it |
|
7320 from the global matrix list. |
|
7321 (expression): Extract matrix from matrix list before calling |
|
7322 make_multi_val_ret(). |
|
7323 |
|
7324 * parse.y (command): Handle new for loop syntax for structures. |
|
7325 |
|
7326 * tree-plot.h (subplot_list): Include tree_print_code() in |
|
7327 initializer lists for constructors. |
|
7328 * tree-expr.h (tree_statement_list, tree_argument_list, |
|
7329 tree_parameter_list, tree_return_list, tree_global_init_list, |
|
7330 tree_if_command_list, ): Likewise. |
|
7331 |
|
7332 * tree-cmd.h (tree_for_command::id_list): New data member. |
|
7333 (tree_for_command (tree_return_list*, tree_expression*, |
|
7334 tree_statement_list*, int, int)): Likewise. |
|
7335 * tree-cmd.cc (tree_for_command::eval): Handle for loops with |
|
7336 structures. |
|
7337 (do_for_loop_once (tree_return_list*, Octave_object&, int&)): |
|
7338 New form for handling for loops with structures. |
|
7339 |
|
7340 * sysdep.cc (octave_ieee_init): Determine floating point format |
|
7341 here. |
|
7342 (native_float_format): New global variable. |
|
7343 (Fisieee): Compute return value from native_float_format, not by |
|
7344 using preprocessor macros. |
|
7345 * sysdep.h (enum floating_point_format): Move declaration here. |
|
7346 * load-save.cc: From here. |
|
7347 Always define all floating point format conversion routines. |
|
7348 (do_double_format_conversion, do_float_format_conversion): |
|
7349 Use native_float_format instead of preprocessor macros. |
|
7350 |
|
7351 Sat Apr 8 15:41:35 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7352 |
|
7353 * Makefile (TEMPLATE_SRC): New variable. |
|
7354 (DISTFILES): Add $(TEMPLATE_SRC). |
|
7355 (SOURCES): Delete Map.cc and SLStack.cc from here. |
|
7356 |
|
7357 * variables.cc (install_builtin_variables): Use OCTAVE_VERSION |
|
7358 instead of version_string to initialize OCTAVE_VERSION. |
|
7359 * version.h (version_string): Delete. |
|
7360 |
|
7361 * getopt.c (_getopt_internal): Initialize indfound to avoid warning. |
|
7362 |
|
7363 Fri Apr 7 15:29:41 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7364 |
|
7365 * tc-inlines.h (REP_RHS_MATRIX): Just check to see if tc is real |
|
7366 or complex. If conversion fails, return. |
|
7367 |
|
7368 Thu Apr 6 00:10:47 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7369 |
|
7370 * data.cc (Fstruct_contains): New function. |
|
7371 |
|
7372 * tc-rep.cc (print_code): Add extra parens around while condition |
|
7373 to avoid warning. |
|
7374 * utils.cc (undo_string_escapes): Likewise. |
|
7375 * input.cc (decode_prompt_string): Likewise. Also rewrite if |
|
7376 statement to avoid warning. |
|
7377 |
|
7378 Tue Apr 4 22:54:17 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7379 |
|
7380 * tree-expr.cc (tree_multi_assignment_expression::eval, |
|
7381 tree_simple_assignment_expression::eval): Call print_constant |
|
7382 even if user_pref.print_answer_id_name is false. |
|
7383 |
|
7384 Mon Apr 3 17:57:14 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7385 |
|
7386 * tc-inlines.h (TC_REP): Avoid redefinition. |
|
7387 |
|
7388 * tree-const.h (do_binary_op, do_unary_op): Declare as friends of |
|
7389 tree_constant class too. |
|
7390 |
|
7391 * tree-plot.h (subplot_using::have_values): Delete data member. |
|
7392 * tree-plot.cc (subplot_using::eval): Always recompute values. |
|
7393 |
|
7394 Fri Mar 31 10:18:32 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7395 |
|
7396 * tc-rep.cc (print): Print open brace for structures here. |
|
7397 * tree-expr.cc (print_constant): Not here. |
|
7398 |
|
7399 * symtab.cc (define): Don't delete arg if sv_fcn fails. |
|
7400 |
|
7401 * tree-const.cc (print): New function. Create ostrstream buffer |
|
7402 and pass it to rep->print(). |
|
7403 * tree-const.h (eval (int)): Call print(), not rep->print(). |
|
7404 * tc-rep.cc (structure_indent_level): New file-scope variable. |
|
7405 (print): New arg, output_buf, is stream to print to. |
|
7406 Print values of structure elements too. |
|
7407 |
|
7408 * user-prefs.h (user_preferences): New field, struct_levels_to_print. |
|
7409 * user-prefs.cc (struct_levels_to_print): New function. |
|
7410 * variables.cc (install_builtin_variables): Add DEFVAR for new |
|
7411 variable struct_levels_to_print. |
|
7412 |
|
7413 * tree-const.cc (print_as_scalar, print_as_structure): Move here |
|
7414 from tree-expr.cc and make extern. |
|
7415 |
|
7416 * tree-expr.cc (print_as_structure): New function. |
|
7417 (print_constant): Use it. |
|
7418 |
|
7419 * tree-expr.cc (print_constant): New arg, print_padding. |
|
7420 (tree_simple_assignment_expression::eval): Use print_constant |
|
7421 instead of duplicating code here. |
|
7422 (tree_multi_assignment_expression::eval): Likewise. |
|
7423 |
|
7424 Thu Mar 30 13:24:11 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7425 |
|
7426 * Makefile.in (SOURCES): Add resource.cc. |
|
7427 * resource.cc: New file, extracted from timefns.cc. |
|
7428 (Fgetrusage): New function. |
|
7429 * timefns.cc (cputime): Delete (now implemented in a function file |
|
7430 using new getrusage function). |
|
7431 |
|
7432 Wed Mar 29 22:52:42 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7433 |
|
7434 * Makefile.in (SOURCES): Add strftime.c. |
|
7435 * strftime.c: New file, from sh-utils distribution. |
|
7436 |
|
7437 * timefns.cc (mk_tm_map, extract_tm, Ftime, Fgmtime, Flocaltime, |
|
7438 Fmktime, Fstrftime): New basic time functions. |
|
7439 (Fclock, Fdate): Delete (now implemented in function files using new |
|
7440 time functions). |
|
7441 |
|
7442 Tue Mar 28 17:51:51 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7443 |
|
7444 * file-io.cc (return_valid_file, do_printf, do_scanf, |
|
7445 fclose_internal, feof_internal, ferror_internal, fflush_internal, |
|
7446 fgets_internal, fopen_internal, fread_internal, freport_internal, |
|
7447 frewind_internal, fseek_internal, ftell_internal, |
|
7448 fwrite_internal): Declare static. |
|
7449 * file-io.h: Delete extern declarations for them. |
|
7450 |
|
7451 Fri Mar 24 09:52:50 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7452 |
|
7453 * pr-output.cc (pr_col_num_header): New function. |
|
7454 (compact_format): New file-scope variable. |
|
7455 (set_format_style): Handle loose and compact formats. |
|
7456 (octave_print_internal (ostream&, const ComplexMatrix&, int)): |
|
7457 Replace duplicate code with call to pr_col_num_header(). |
|
7458 (octave_print_internal (ostream&, const Matrix&, int): Likewise. |
|
7459 (octave_print_internal (ostream&, const Range&, int): Likewise. |
|
7460 |
|
7461 Tue Mar 21 08:44:48 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7462 |
|
7463 * mappers.cc (xgamma): Always use Slatec library function. |
|
7464 * (xlgamma): Likewise. |
|
7465 * Makefile.in (SOURCES): Don't include lgamma.c. |
|
7466 |
|
7467 Fri Mar 17 22:38:39 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7468 |
|
7469 * tc-rep.cc (TC_REP::new): Don't try to keep track of newlist_tail. |
|
7470 Explicitly initialize newlist to zero. |
|
7471 * tree-const.cc (tree_constant::operator new): Likewise. |
|
7472 |
|
7473 Fri Mar 10 12:40:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7474 |
|
7475 * tree-cmd.cc (quit_loop_now): Declare inline. |
|
7476 (tree_for_command::do_for_loop_once): Split into two versions, one |
|
7477 for the general case and one for when the loop variable is a |
|
7478 simple identifier. |
|
7479 (DO_LOOP): New macro. Move tests outside of loop. |
|
7480 (tree_for_command::eval): Speed up by checking to see if loop |
|
7481 variable is a simple identifier and by using DO_LOOP. |
|
7482 |
|
7483 * tree-const.h: New union of rep and freeptr. The freeptr element |
|
7484 is used for our custom memory management functions. |
|
7485 |
|
7486 * tc-rep.h: Add freeptr element to anonymous union (for our custom |
|
7487 memory management functions). |
|
7488 |
|
7489 * tree-const.cc (newlist, newlist_grow_size, newlist_tail): New |
|
7490 static variables. |
|
7491 (tree_constant::operator new): Always define to allow more |
|
7492 efficient allocation of single tree_constants. |
|
7493 (tree_constant::operator delete): Likewise, handle deletion of the |
|
7494 memory we allocate. |
|
7495 |
|
7496 * tc-rep.cc (newlist, newlist_grow_size, newlist_tail): New static |
|
7497 variables. |
|
7498 (tree_constant::operator new): Always define to allow more |
|
7499 efficient allocation of single tree_constants. |
|
7500 (tree_constant::operator delete): Likewise, handle deletion of the |
|
7501 memory we allocate. |
|
7502 |
|
7503 Fri Mar 3 14:00:08 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7504 |
|
7505 * error.cc (verror): Terminate output_buf with ends. |
|
7506 |
|
7507 * statdefs.h: Use C-style comment in first line instead of |
|
7508 C++-style comment. |
|
7509 |
|
7510 Mon Feb 27 10:11:18 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7511 |
|
7512 * parse.y (maybe_convert_to_ans_assign): Only lookup ans once. |
|
7513 * variables.cc (bind_ans): New function. |
|
7514 * tree-expr.cc (tree_identifier::eval (int)): Use it here. |
|
7515 (tree_identifier::eval (int, int, const Octave_object&): And here. |
|
7516 |
|
7517 * tree-expr.cc (install_nargin_and_nargout): New function. |
|
7518 * tree-expr.h (tree_function::tree_function (tree_statement_list *, |
|
7519 symbol_table *, int, int)): Call it. |
|
7520 |
|
7521 * tree-expr.cc (tree_function::bind_nargin_and_nargout): New function. |
|
7522 (tree_function::eval): Call it insead of the one from variables.cc. |
|
7523 |
|
7524 * variables.cc (bind_nargin_and_nargout): #if 0 out. |
|
7525 |
|
7526 Sun Feb 26 00:17:06 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7527 |
|
7528 * load-save.cc (Fload, Fsave): Free fname returned by tilde_expand(). |
|
7529 * dirfns.cc (Fls): Likewise. |
|
7530 |
|
7531 * tree-expr.cc (tree_multi_assignment_expression::eval (int, int, |
|
7532 const Octave_object&)): Call tree_return_list::operator () (Pix) |
|
7533 explicitly. |
|
7534 |
|
7535 * octave.cc (initialize_globals): Put TEXMF in the environment for |
|
7536 kpthsea. |
|
7537 |
|
7538 * Makefile.in (OCTAVE_LIBS): Use @LIBINFO@ and @LIBREADLINE@, |
|
7539 substituted by configure. Use kpathsea.a, not libkpathsea, so we |
|
7540 don't have to modify the kpathsea Makefile. |
|
7541 |
|
7542 Sat Feb 25 18:59:26 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7543 |
|
7544 * pathsearch.cc: New file. |
|
7545 * pathsearch.h: New file. |
|
7546 * Makefile.in (INCLUDES): Include it in the list. |
|
7547 * dynamic-ld.cc, help.cc, utils.cc: Use it instead of repeating |
|
7548 identical code multiple times. |
|
7549 |
|
7550 * variables.cc (install_builtin_variables): Only DEFVAR |
|
7551 suppress_verbose_help_message if USE_GNU_INFO. |
|
7552 |
|
7553 * help.cc (Fhelp): Only handle -i if USE_GNU_INFO. |
|
7554 (additional_help_message): Only print message if USE_GNU_INFO. |
|
7555 (builtin_help): New function. |
|
7556 (help_from_info): New function. Print warning if not USE_GNU_INFO. |
|
7557 |
|
7558 See ChangeLog.1 in the top level directory for earlier changes. |