2477
|
1 Thu Nov 7 07:59:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2 |
2482
|
3 * Version 1.91. |
|
4 |
2479
|
5 * pt-fvc.cc (tree_indirect_ref::reference): If the lhs object is |
|
6 not a map, convert it to one. |
|
7 |
|
8 * ov-typeinfo.h (init_tab_sz): New static member. |
|
9 |
2477
|
10 * ov-struct.cc, ov-struct.h: Add hooks for custom memory management. |
|
11 * ov-scalar.cc, ov-scalar.h: Likewise. |
|
12 * ov-re-mat.cc, ov-re-mat.h: Likewise. |
|
13 * ov-range.cc, ov-range.h: Likewise. |
|
14 * ov-cx-mat.cc, ov-cx-mat.h: Likewise. |
|
15 * ov-complex.cc, ov-complex.h: Likewise. |
|
16 * ov-ch-mat.cc, ov-ch-mat.h: Likewise. |
|
17 |
2474
|
18 Wed Nov 6 12:32:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
19 |
2482
|
20 * pager.cc (do_sync): Don't call clear_external_pager() here. |
2476
|
21 |
2475
|
22 * pt-const.h (tree_constant::allocator) New static member. |
|
23 (tree_constant::operator new, tree_constant::operator delete): |
|
24 Implement with custom allocator. |
|
25 |
|
26 * syscalls.cc (Fgetgid, Fgetegid): New functions. |
|
27 |
|
28 * sighandlers.cc (sigchld_handler): If necessary, reinstall |
|
29 handler after call to waitpid(). |
|
30 |
|
31 * pager.cc (pager_death_handler): Don't use warning() to print |
|
32 message. |
|
33 |
|
34 * getgrent.cc: New file. |
|
35 * Makefile.in (DLD_SRC): Add it. |
|
36 |
|
37 * ov.cc (octave_value::print_with_name): Call is_map() instead of |
|
38 print_as_structure(). |
|
39 * ov-struct.cc (octave_struct::print): Likewise. |
|
40 |
|
41 * ov.h, ov.cc, pt-const.h: Delete force_numeric(), make_numeric(), |
|
42 convert_to_matrix_type(), print_as_structure() member functions. |
|
43 |
2474
|
44 * variables.cc (is_function_file): Call gobble_leading_whitespace |
|
45 here to strip all leading whitespace and comments. |
|
46 (parse_fcn_file): If reading a function file, call |
|
47 gobble_leading_whitespace again after resetting parser state to |
|
48 grab help text. |
|
49 |
2469
|
50 Tue Nov 5 13:00:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
51 |
2472
|
52 * syscalls.cc (Fgeteuid, Fgetuid): New functions. |
|
53 |
|
54 * getpwent.cc: Use gripe_not_supported from gripes.cc, instead of |
|
55 local gripe_not_implemented function. |
|
56 |
2470
|
57 * input.cc, sysdep.cc, variables.cc: Only include readline.h and |
|
58 history.h if USE_READLINE is defined. |
|
59 |
|
60 * help.cc: Make it compile without warnings even if USE_GNU_INFO |
|
61 is not defined. |
|
62 |
2469
|
63 * sighandlers.h (octave_child_list): Don't define |
|
64 HAVE_POSIX_SIGNALS HERE. |
|
65 |
|
66 * sighandlers.cc (SIGHANDLER_RETURN): New macro. |
|
67 (generic_sig_handler, sigchld_handler, sigfpe_handler, |
|
68 sigint_handler, sigpipe_handler): Use it. |
|
69 (sigchld_handler, sigfpe_handler, sigint_handler, sigpipe_handler): |
|
70 Only reinstall signal handler if MUST_REINSTALL_SIGHANDLER is defined. |
|
71 |
2463
|
72 Sun Nov 3 00:45:30 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
73 |
2466
|
74 * pt-const.cc (tree_constant::print): Just call val.print(). |
|
75 * ov-base.cc, ov-ch-mat.cc, ov-colon.cc, ov-complex.cc, |
|
76 ov-cx-mat.cc, ov-range.cc, ov-re-mat.cc, ov-scalar.cc, |
|
77 ov-str-mat.cc, ov-struct.cc ov-va-args.cc, ov.cc (print): |
|
78 Handle pr_as_read_syntax arg. |
|
79 |
|
80 * defaults.cc (subst_octave_home): Search for prefix repeatedly in |
|
81 retval, not s. |
|
82 |
|
83 * gripes.h: Make declaration of gripes_not_supported match |
|
84 definition. |
|
85 |
2465
|
86 * mk-oct-links.in: In sed command, match "DEFUN_DLD *( *", not |
|
87 "DEFUN_DLD_BUILTIN *( *". |
|
88 |
|
89 * chol.cc, colloc.cc, dassl.cc, det.cc, eig.cc, expm.cc, fft.cc, |
|
90 fft2.cc, filter.cc, find.cc, fsolve.cc, fsqp.cc, getpwent.cc, |
|
91 getrusage.cc, givens.cc, hess.cc, ifft.cc, ifft2.cc, inv.cc, |
|
92 log.cc, lpsolve.cc, lsode.cc, lu.cc, minmax.cc, npsol.cc, pinv.cc, |
|
93 qpsol.cc, qr.cc, quad.cc, qzval.cc, rand.cc, schur.cc, sort.cc, |
|
94 svd.cc, syl.cc, time.cc: Change all uses of DEFUN_DLD_BUILTIN to |
|
95 be just DEFUN_DLD. |
|
96 |
|
97 * defun-dld.h: Eliminate DEFUN_DLD_BUILTIN. |
|
98 |
2464
|
99 * syswait.h: Use #ifdef HAVE_SYS_WAIT_H, not #if HAVE_SYS_WAIT_H |
|
100 to decide whether to include sys/wait.h. |
|
101 |
|
102 * pt-exp-base.h (tree_expression): Declare oper() here as a |
|
103 virtual member function. |
|
104 |
2463
|
105 * pt-pr-code.cc (tree_print_code::visit_constant): Check for |
|
106 string before checking for char_matrix. |
|
107 |
|
108 * ov-ch-mat.cc (octave_char_matrix::print): Supply correct number |
|
109 of args to octave_print_internal(). |
|
110 |
2457
|
111 Sat Nov 2 20:44:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
112 |
2458
|
113 * file-io.cc (Ftmpnam): Rename from Foctave_temp_file_name. |
|
114 |
2457
|
115 * Makefile.in (DLD_SRC): Move time.cc and getrusage.cc here from |
|
116 SOURCES. Add getpwent.cc. |
|
117 |
|
118 * getrusage.cc: Rename from resource.cc. Make getrusage a |
|
119 loadable function. |
|
120 |
|
121 * time.cc: Rename from timefns.cc. Make time functions loadable. |
|
122 |
|
123 * getpwent.cc: New file. |
|
124 |
2439
|
125 Wed Oct 30 01:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
126 |
2452
|
127 * Version 1.90. |
|
128 |
|
129 * Makefile.in (DISTFILES): Add ChangeLog. |
|
130 |
2449
|
131 * ov-range.cc (octave_range::convert_to_str): New function. |
|
132 |
|
133 * ov-str-mat.h (octave_char_matrix_str::char_matrix_value): |
|
134 Delete function. Already handled by octave_char_matrix class. |
|
135 |
|
136 * ov-ch-mat.h (octave_char_matrix::convert_to_str): New function. |
|
137 |
2448
|
138 * pager.cc (Fmore): Set page_screen_output to 1.0 or 0.0, not |
|
139 "true" or "false". |
|
140 |
2447
|
141 * ov-ch-mat.cc, ov-struct.cc, ov-struct.h, pr-output.cc, |
|
142 pt-cmd.cc, pt-const.cc, pt-const.h, pt-fcn.cc, pt-fvc-base.cc, |
|
143 pt-fvc-base.h, pt-fvc.cc, pt-fvc.h, rand.cc, sighandlers.cc, |
|
144 variables.cc, variables.h: Delete unused code. |
|
145 |
2445
|
146 * octave.cc: Only include pwd.h if HAVE_PWD_H. |
|
147 |
|
148 * oct-strstrm.h: Include <string>, not <string.h>. |
|
149 |
2442
|
150 * defaults.cc, dirfns.cc, file-io.cc, help.cc, input.cc, |
|
151 oct-hist.cc, oct-procbuf.cc, oct-procbuf.h, octave.cc, pager.h, |
|
152 procstream.h, pt-misc.cc, pt-plot.cc, sighandlers.cc, strftime.c, |
|
153 syscalls.cc, sysdep.cc, syswait.h, toplev.cc, utils.cc, |
|
154 variables.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. |
|
155 |
2440
|
156 * error.h (panic): Use GCC_ATTR_NORETURN macro, not NORETURN. |
|
157 * toplev.h (clean_up_and_exit): Likewise. |
|
158 * utils.h (jump_to_top_level): Likewise. |
|
159 |
2439
|
160 * derfaults.h.in, defaults.cc (local_arch_lib_dir): New variable. |
|
161 * defaults.cc (set_default_local_arch_lib_dir): New function. |
|
162 (install_defaults): Call it. |
|
163 (exec_path): Use Vlocal_arch_lib_dir here. |
|
164 * toplev.cc (octave_config_info): Add localarchlibdir to structure. |
|
165 |
2436
|
166 Tue Oct 29 15:54:27 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
167 |
2437
|
168 * Makefile.in (install-oct): Don't do anything if $(OCT_FILES) is |
|
169 empty. |
|
170 |
2436
|
171 * ov-range.cc (octave_range::index): New Function. |
|
172 (octave_range::all, octave_range::any, octave_range::is_true): |
|
173 Make these functions work. |
|
174 |
|
175 * ov.cc (octave_value::try_assignment_with_conversion): Remove |
|
176 left over debugging print statements. |
|
177 |
|
178 Mon Oct 28 10:49:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
179 |
|
180 * strftime.c: Add missing #endif for previous change. |
|
181 |
2435
|
182 Sun Oct 27 14:06:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
183 |
|
184 * oct-hist.cc (do_history): Rewite option parsing to avoid |
|
185 (probably bogus) errors from g++ on cygwin32 system. |
|
186 |
|
187 * strftime.c: Use autoconf macros TIME_WITH_SYS_TIME and |
|
188 HAVE_SYS_TIME_H to decide which time.h files to include. |
|
189 |
|
190 * oct-stream.h, oct-stream.cc (octave_stream::error, |
|
191 octave_base_stream::error): Rename errno => err_num. |
|
192 |
2432
|
193 Sat Oct 26 10:40:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
194 |
2434
|
195 * oct-hist.cc (do_history): Move declaration of file inside |
|
196 conditional. |
|
197 |
2432
|
198 * defun.h (DEFVAR_INT): Set eternal flag with (svc_fcn != 0) |
|
199 instead of (sv_fcn ? 1 : 0) |
|
200 |
2427
|
201 Fri Oct 25 01:10:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
202 |
2431
|
203 * ov-ch-mat.h (octave_char_matrix::any): Return 0.0 instead of false. |
|
204 (octave_char_matrix::all): Likewise. |
|
205 |
|
206 * input.cc (Fecho): When binding value of echo_executing_commands, |
|
207 cast ECHO_* to double. |
|
208 |
|
209 * sighandlers.cc (octave_child_list::do_remove): Delete unused |
|
210 variable `enlarge'. |
|
211 |
|
212 * pt-const.h (tree_constant::tree_constant (const tree_constant&)): |
|
213 Don't pass arg to tree_fvc constructor. |
|
214 |
2427
|
215 * resource.cc (getrusage): [HAVE_GETRUSAGE && RUSAGE_TIMES_ONLY]: |
|
216 Only fill in time values. |
|
217 |
|
218 Thu Oct 24 20:37:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
219 |
|
220 * parse.y: Comment out the %expect declaration so byacc can |
|
221 compile this file. |
|
222 (if_cmd_list): Add missing semicolon. |
|
223 Include <cstdlib> for getenv if using byacc. |
|
224 |
|
225 * ov.h: Move typedefs outside of octave_value class scope to avoid |
|
226 problem with cygwin32 beta16 compiler. |
|
227 |
2421
|
228 Fri Oct 18 13:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
229 |
2423
|
230 * ov.h (octave_value::index): Undo previous change. |
|
231 * ov.cc (octave_value constructors): Call maybe_mutate() in most |
|
232 cases. |
|
233 |
|
234 * ov-complex.cc (octave_complex::index): Avoid implicit type |
|
235 conversion back to scalar type. |
|
236 * ov-scalar.cc (octave_scalar::index): Likewise. |
|
237 |
2421
|
238 * ov.h (octave_value::index): Call maybe_mutate() on retval before |
|
239 returning it. |
|
240 |
2418
|
241 Wed Oct 16 12:00:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
242 |
2420
|
243 * ov.h (octave_value::struct_elt_val): New optional arg, silent. |
|
244 * ov-base.h, ov-base.cc, ov-struct.h, ov-struct.cc: Likewise, but |
|
245 for the derived classes the arg is required. |
|
246 |
|
247 * data.cc (Fstruct_contains): Require arguments to be struct and |
|
248 string, respectively. Call octave_value::struct_elt_val with |
|
249 silent flag set. |
|
250 |
2419
|
251 * pt-mat.cc (tm_row_const::tm_row_const_rep::eval_error, |
|
252 tm_row_const::tm_row_const_rep::eval_warning): New functions. |
|
253 (tm_row_const::tm_row_const (const tree_matrix_row&): Use them to |
|
254 give better error messages. |
|
255 |
2418
|
256 * pt-fvc.cc (tree_identifier::eval): Avoid dereferencing null |
|
257 object_to_eval. |
|
258 |
2412
|
259 Tue Oct 15 11:35:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
260 |
|
261 * op-cs-cm.cc, op-cs-cs.cc, op-cs-m.cc, op-cs-s.cc |
|
262 (complex_matrix_conv): New functions. |
|
263 Install preferred assignment conversion and widening ops. |
|
264 |
|
265 * op-s-cm.cc, op-s-cs.cc (complex_matrix_conv): New functions. |
|
266 Install preferred assignment conversion and widening ops. |
|
267 |
|
268 * op-s-m.cc, op-s-s.cc (matrix_conv): New functions. |
|
269 Install preferred assignment conversion and widening ops. |
|
270 |
|
271 * ov.cc (octave_value::try_assignment_with_conversion, |
|
272 octave_value::convert_and_assign, octave_value::try_assignment): |
|
273 New functions. |
|
274 (octave_value::assign): Use them to implement twisted logic for |
|
275 type conversions in assigments. |
|
276 |
|
277 * pt-const.h (tree_constant::maybe_mutate): New function. |
|
278 * ov.h (octave_value::maybe_mutate): New function. |
|
279 (octave_value::try_narrowing_conversion): New function. |
|
280 Use just one typedef for widening_op_fcn and numeric_conv_fcn. |
|
281 Change all uses. |
|
282 * ov-base.h, ov-complex.h, ov-complex.cc, ov-cx-mat.h, |
|
283 ov-cx-mat.cc, ov-range.h, ov-range.cc, ov-re-mat.h, ov-re-mat.cc, |
|
284 Provide derived class versions of try try_narrowing_conversion(). |
|
285 |
|
286 * pr-output.cc (octave_print_internal): Don't bother handing off |
|
287 to scalar/real versions, even when it would seem appropriate. |
|
288 |
|
289 * symtab.cc (symbol_def::define (tree_constant *)): Call |
|
290 maybe_mutate on constants here. |
|
291 |
2405
|
292 Mon Oct 14 11:05:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
293 |
2407
|
294 * pt-fvc.cc (tree_identifier::eval): If retval is undefined and |
|
295 the object to eval is a constant, print error message. |
2406
|
296 |
2405
|
297 * Makefile (distclean): Remove *.oct too. |
|
298 |
|
299 * defun-int.h: Include variables.h here. |
|
300 |
2403
|
301 Sun Oct 13 10:52:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
302 |
2404
|
303 * variables.cc (print_symbol_info_line): Never print negative |
|
304 diminsions. |
|
305 |
|
306 * symtab.h (octave_symbol_record_info): Store const_type as string. |
|
307 (octave_symbol_record_info::init): Delete. Fix constructors. |
|
308 (octave_symbol_record_info::type_name): Handle const_type as string. |
|
309 |
2403
|
310 * octave.cc (maximum_braindamage): Replace "true" with 1.0 and |
|
311 "false" with 0.0 in calls to bind_builtin_variable(). |
|
312 Include sun-utils.h here. |
2404
|
313 (intern_argv): Also bind __argv__. |
2403
|
314 |
2391
|
315 Sat Oct 12 13:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
316 |
2399
|
317 * Makefile.in (distclean): Also delete mk-oct-links. |
|
318 |
|
319 Fri Oct 11 13:13:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
320 |
2391
|
321 Changes for Octave's new type system: |
|
322 |
|
323 * arith-ops.cc: Delete. |
|
324 * pt-const.h, pt-const.cc: Massive changes. Most functionality |
|
325 moved to ov.h, ov.cc, and derived classes. |
|
326 |
|
327 * variables.h, variables.cc (octave_variable_reference): New class |
|
328 for getting references to variables and structure elements used in |
|
329 assignments or value contexts. |
|
330 |
|
331 * symtab.h, symtab.cc (symbol_record::define (const octave_value&), |
|
332 symbol_record::variable_value, symbol_record::variable_reference): |
|
333 New functions. |
|
334 (symbol_record_info::type_name): Rename from type_as_string. |
|
335 |
|
336 * pt-fvc-base.h, pt-fvc-base.cc (tree_fvc::increment, |
|
337 tree_fvc::decrement): New functions to replace |
|
338 tree_fvc::bump_value. |
|
339 #if 0 assign and lookup_map_element functions. |
|
340 |
|
341 * pt-mvr.cc (tree_multi_assignment_expression::eval): |
|
342 Generated RHS value is now a tree_constant. |
|
343 |
|
344 * pt-exp.h, pt-exp.cc (tree_boolean_expression): New class. |
|
345 (tree_unary_expression, tree_binary_expression, |
|
346 tree_boolean_expression): Move codes here from tree_expression. |
|
347 (tree_simple_assignment_expression): Cope with changes to way of |
|
348 doing assignments. |
|
349 |
|
350 * pt-exp-base.h, pt-exp-base.cc (enum type): Delete codes for |
|
351 unary and binary ops. |
|
352 (tree_expression::expression_type): Delete. |
|
353 (tree_expression::is_logically_true): Hand off to |
|
354 octave_value::is_true to do real work. |
|
355 |
|
356 * pr-output.h, pr-output.cc (any_element_is_inf_or_nan, |
|
357 all_elements_are_ints): Delete. Call member new functions for |
|
358 these operations. |
|
359 (free_format, plus_format, bank_format, hex_format, |
|
360 compact_format, print_e, print_big_e): Use bool, not int. |
|
361 (octave_print_internal): Hand off to scalar/real versions when |
|
362 appropriate. |
|
363 |
|
364 * octave.cc (main): Call initialize_types() and install_ops(). |
|
365 (verbose_usage): Add WWW address to output. |
|
366 |
|
367 * parse.y (indirect_ref): Handle by making a tree instead of a |
|
368 list using new version of tree_indirect_ref class. |
|
369 |
|
370 * parse.y (make_boolean_op): New function. Use it instead of |
|
371 make_binary_op to create trees for && and || ops. |
|
372 (make_binary_op): Codes come from tree_binary_expression now, |
|
373 instead of tree_expression. |
|
374 (make_unary_op): Codes come from tree_unary_expression now, |
|
375 instead of tree_expression. |
|
376 (make_boolean_op): Codes come from tree_boolean_expression. |
|
377 |
|
378 *parse.y (tree_constant_type): Change type to tree_constant* from |
|
379 octave_value*, and rename from octave_value_type. Change uses. |
|
380 |
|
381 * defun.h (DEFVAR_INT): Pass octave_value not pointer to |
|
382 octave_value for defn when creating builtin_variable. |
|
383 |
|
384 * gripes.h, gripes.cc (gripe_invalid_conversion): Args are |
|
385 strings, not char*. |
|
386 (gripe_implicit_conversion, gripe_divide_by_zero): New extern |
|
387 gripe functions. |
|
388 |
|
389 * mkbuiltins: For each file, create a separate static function to |
|
390 install builtins, then create another single extern function to |
|
391 call all of them. |
|
392 |
|
393 * pt-fcn.cc (tree_function::bind_nargin_and_nargout): |
|
394 Just pass doubles and let symbol_record::define handle creating |
|
395 new value. |
|
396 |
|
397 * pt-pr-code.cc, pt-pr-code.h (visit_constant): Renamed from |
|
398 visit_octave_value. |
|
399 (visit_unary_expression): Use tree_expression::is_prefix_op() |
|
400 instead of switch on op types. |
|
401 |
|
402 * pt-walk.h (visit_constant): Renamed from visit_octave_value. |
|
403 |
|
404 * pt-misc.cc (initialize_undefined_elements): Get reference to |
|
405 tmp, then assign. |
|
406 * pt-cmd.cc (do_for_loop_once): Likewise, for loop identifier. |
|
407 |
|
408 * input.cc (generate_struct_completions, looks_like_struct): Cast |
|
409 tmp_fvc to tree_constant*, not octave_value*. |
|
410 (get_user_input): Call print() on retval, not eval(1). |
|
411 |
|
412 * help.cc (Ftype): Cast defn to tree_constant*, not octave_value*. |
|
413 |
|
414 * balance.cc: Fix docstring. |
|
415 |
|
416 * dassl.cc, fsolve.cc, load-save.cc, lsode.cc, npsol.cc, qpsol.cc, |
|
417 quad.cc: |
|
418 Include pt-fvc.h. |
|
419 |
|
420 * data.cc (Fstruct_contains): call octave_value::struct_elt_val, |
|
421 not octave_value::lookup_map_element. |
|
422 |
|
423 * dirfns.cc (Fcd): Pass directory name as string directly to |
|
424 bind_builtin_variable instead of creating new octave_value. |
|
425 |
|
426 * toplev.cc: Include pt-fvc.h and lo-mappers.h |
|
427 |
|
428 * data.cc, error.cc, file-io.cc, load-save.cc, pager.cc, |
|
429 pt-mat.cc, pt-plot.cc, syscalls.cc, toplev.cc: |
|
430 Include variables.h. |
|
431 |
|
432 * Array-tc.cc, Map-tc.cc, SLList-misc.cc SLList-tc.cc, data.cc, |
|
433 defaults.cc, dynamic-ld.cc, error.cc, gripes.cc, lex.l, octave.cc, |
|
434 oct-map.h, oct-map.cc, oct-obj.h, pt-cmd.cc, pt-exp.cc, pt-fcn.cc, |
|
435 pt-fvc-base.cc, pt-mat.cc, pt-misc.cc, pt-mvr-base.cc, pt-mvr.h, |
|
436 resource.cc, strfns.cc, sysdep.cc, timefns.cc, toplev.cc: |
|
437 Include ov.h instead of pt-const.h. |
|
438 |
|
439 * xpow.cc (any_element_is_negative): Delete. |
|
440 (xpow and elem_xpow functions): Check conformance here. |
|
441 |
|
442 * xdiv.cc (mx_leftdiv_conform, mx_div_conform): |
|
443 Now template-based, taking Matrices instead of dimensions as args. |
|
444 Change all callers. |
|
445 |
|
446 * op-cm-cm.cc, op-cm-cm.h, op-cm-cs.cc, op-cm-cs.h, op-cm-m.cc, |
|
447 op-cm-m.h, op-cm-s.cc, op-cm-s.h, op-cs-cm.cc, op-cs-cm.h, |
|
448 op-cs-cs.cc, op-cs-cs.h, op-cs-m.cc, op-cs-m.h, op-cs-s.cc, |
|
449 op-cs-s.h, op-m-cm.cc, op-m-cm.h, op-m-cs.cc, op-m-cs.h, op-m-m.cc, |
|
450 op-m-m.h, op-m-s.cc, op-m-s.h, op-s-cm.cc, op-s-cm.h, op-s-cs.cc, |
|
451 op-s-cs.h, op-s-m.cc, op-s-m.h, op-s-s.cc, op-s-s.h, |
|
452 op-str-str.cc, op-str-str.h, ops.cc, ops.h, ov-base.cc, ov-base.h, |
|
453 ov-ch-mat.cc, ov-ch-mat.h, ov-colon.cc, ov-colon.h, ov-complex.cc, |
|
454 ov-complex.h, ov-cx-mat.cc, ov-cx-mat.h, ov-range.cc, ov-range.h, |
|
455 ov-re-mat.cc, ov-re-mat.h, ov-scalar.cc, ov-scalar.h, ov-str-mat.cc, |
|
456 ov-str-mat.h, ov-struct.cc, ov-struct.h, ov-typeinfo.cc, |
|
457 ov-typeinfo.h, ov-va-args.cc, ov-va-args.h, ov.cc, ov.h: |
|
458 New files for Octave's new type system. |
|
459 * Makefile.in: Add them to the appropriate lists. |
|
460 |
|
461 Sat Sep 14 21:58:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
462 |
|
463 * mkbuiltins: Use .df instead of .def. |
|
464 Write one function for each .df file, then call them |
|
465 all in install_builtin_functions(). |
|
466 * Makefile.in: Handle .df instead of .def. |
|
467 |
|
468 * balance.cc (balance): Fix typo in doc string. |
|
469 |
|
470 Wed Aug 28 21:01:49 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
471 |
|
472 * octave.cc (verbose_usage): Include WWW address and bug-octave |
|
473 mailing list address. |
|
474 |
2354
|
475 Tue Aug 20 17:41:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
476 |
2358
|
477 * Makefile.in: Only define pattern rules for making .oct files if |
|
478 OCTAVE_LITE is true. |
|
479 Only add pic/ to $(TI_OBJ) if $(SHARED_LIBS) is true. |
|
480 (stamp-picdir): Only create a pic subdirectory if SHARED_LIBS or |
|
481 OCTAVE_LITE is true AND CPICFLAG or CXXPICFLAG is not empty. |
|
482 |
2354
|
483 * minmax.cc (Fmin, Fmax): Deal with changes to Matrix class |
|
484 min/max methods. |
|
485 |
2345
|
486 Thu Jul 25 01:42:38 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
487 |
2348
|
488 * input.cc (generate_possible_completions): Force the names to be |
|
489 unique. |
|
490 |
2345
|
491 * load-save.cc (read_mat_binary_data): Expect to read terminating |
|
492 NUL character in the variable name. |
|
493 (save_mat_binary_data): Likewise, save it here. |
|
494 |
2341
|
495 Wed Jul 24 05:08:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
496 |
2343
|
497 * lsode.cc (Flsode): Don't set the return value if an error |
|
498 occurred during integration. |
2344
|
499 * dassl.cc (Fdassl): Likewise. |
2343
|
500 |
2341
|
501 * file-io.cc (symbols_of_file_io): Redefine values of SEEK_SET, |
|
502 SEEK_CUR, and SEEK_END for Matlab compatibility. |
|
503 * oct-stream.cc (seek): Check for compatible values of ORIGIN arg. |
|
504 Also handle "bof", "cof", and "eof". |
|
505 |
2338
|
506 Fri Jul 19 15:24:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
507 |
|
508 * pt-const.cc: When creating octave_value_reps from ComplexMatrix |
|
509 values, check to see if all the elements are actually real. |
|
510 |
2330
|
511 Tue Jul 16 10:53:42 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
512 |
2341
|
513 * input.cc (decode_prompt_string): Swap meanings of \h and \H. |
2330
|
514 |
|
515 Mon Jul 15 16:01:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
516 |
|
517 * toplev.cc (run_command_and_return_output): Renamed from do_system. |
|
518 (Fsystem): Make `system ("emacs")' work as one would expect. |
|
519 |
|
520 Sun Jul 14 17:34:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
521 |
|
522 * file-io.cc (Ffopen, Ffread, Ffwrite): Update doc strings, |
|
523 correctly handle default architecture and precision args. |
|
524 |
|
525 * load-save.cc (mopt_digit_to_float_format): Rename from |
|
526 get_floating_point_format. |
|
527 (float_format_to_mopt_digit): New function. |
|
528 |
|
529 * oct-stream.cc (octave_base_stream::read, octave_base_stream::write): |
|
530 Simplify by calling Matrix::read and Matrix::write to do real work |
|
531 of reading, writing, and format conversion. |
|
532 |
|
533 * oct-stream.h (octave_base_stream): Move data_type enum to |
|
534 liboctave/data-conv.h. Use float_format from |
|
535 liboctave/mach-info.h instead of arch_type enum. |
|
536 |
|
537 * sysdep.h, sysdep.cc (octave_words_big_endian, ten_little_endians): |
|
538 Delete. Now part of oct_mach_info class in liboctave. |
|
539 |
|
540 Tue Jul 9 11:18:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
541 |
|
542 * arith-ops.cc, balance.cc, dassl.cc, data.cc, filter.cc, find.cc, |
|
543 fsolve.cc, load-save.cc, log.cc, lsode.cc, minmax.cc, npsol.cc, |
|
544 oct-obj.cc, oct-stream.cc, pr-output.cc, pt-cmd.cc, pt-const.cc, |
|
545 pt-fvc.cc, pt-plot.cc, quad.cc, rand.cc, sighandlers.cc, sort.cc, |
|
546 syscalls.cc, unwind-prot.cc, xdiv.cc, xpow.cc: |
|
547 When indexing arrays, use operator() instead of elem() so that |
|
548 bounds checking can be done consistently. |
|
549 |
|
550 Mon Jun 24 02:13:27 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
551 |
|
552 * Makefile.in (install-oct): Use INSTALL_PROGRAM, instead of |
|
553 INSTALL_DATA for installing shared libraries. |
|
554 |
|
555 * lex.l (grab_help_text): Ignore all initial comment characters, |
|
556 not just the first. |
|
557 * variables.cc (gobble_leading_white_space): Likewise. |
|
558 |
|
559 Sat Jun 22 22:43:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
560 |
|
561 * input.h, input.cc (octave_completion_matches_called): New varaible. |
|
562 (Fcompletion_matches): Set it to true on a successful call. |
|
563 * toplev.cc (main_loop): If octave_completion_matches_called is |
|
564 true, don't increment current_command_number. |
|
565 |
|
566 Thu Jun 13 03:52:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
567 |
|
568 * variables.cc (is_mapper_function_name, |
|
569 is_builtin_function_name): New functions. |
|
570 (Fdocument): Use them. |
|
571 Define as regular function, not a text style function. |
|
572 |
|
573 Thu Jun 6 00:09:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
574 |
|
575 * pt-plot.cc: Handle new built-in variable `gnuplot_has_frames'. |
|
576 |
|
577 Wed Jun 5 14:45:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
578 |
|
579 * input.cc (decode_prompt_string): \h now means the whole host |
|
580 name and \H is the host name up to the first `.'. |
|
581 |
|
582 Thu May 30 23:41:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
583 |
|
584 * fn-cache.cc (octave_fcn_file_name_cache::do_list): Always |
|
585 recompute the lists of function files instead of trying to cache |
|
586 them. |
|
587 |
|
588 Tue May 28 12:05:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
589 |
|
590 * utils.cc (warn_old_style_preference): New function. |
|
591 (check_preference): Use it. |
|
592 |
|
593 * fn-cache.h: Include <ctime> here. |
|
594 |
|
595 Fri May 24 00:57:14 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
596 |
|
597 * input.cc (completion_matches): Don't return empty string_vectors. |
|
598 |
|
599 * octave.cc (long_opts): Add braindead. |
|
600 |
|
601 Thu May 23 01:49:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
602 |
|
603 * input.cc (gnu_readline): New optional arg, force_readline. |
|
604 (get_user_input): Use it. |
|
605 |
|
606 * pt-const.cc (OCT_VAL_REP::assign): If converting the rhs to a |
|
607 numeric value, convert a copy, not the actual object. |
|
608 (OCT_VAL_REP::do_index): Prevent s([]) from resulting in a string |
|
609 with zero rows. |
|
610 |
|
611 * mappers.cc: Handle toascii here. |
|
612 * strfns.cc: Not here. |
|
613 |
|
614 * mappers.cc: Handle tolower and toupper here. |
|
615 * mappers.h: Rename can_return_complex_for_real to flag and |
|
616 overload meaning for ch_mapper. |
|
617 * pt-fvc.cc (apply_mapper_fcn): Handle overloaded meaning. |
|
618 |
|
619 * syscalls.cc (stat): Return 3 values instead of just 1. |
|
620 (lstat): Likewise. |
|
621 |
|
622 Wed May 22 02:34:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
623 |
|
624 * pt-const.cc (OCT_VAL_REP::make_numeric): For string to number |
|
625 conversions, correctly set type tag before calling force_numeric. |
|
626 (do_binary_op): Force string to number conversion if both args are |
|
627 strings and we are doing some sort of comparison operation. |
|
628 |
|
629 * Makefile.in (stamp-tinst, stamp-interp): Use SH_TERMLIBS and |
|
630 SH_LIBS instead of TERMLIBS and LIBS. |
|
631 |
|
632 * pt-const.cc (do_unary_op): Add special case to handle |
|
633 transposing strings. |
|
634 |
|
635 * pt-mat.cc (Vstring_fill_char): New variable. |
|
636 (symbols_of_pt_mat): DEFVAR it. |
|
637 |
|
638 * input.cc (generate_struct_completions, |
|
639 generate_possible_completions): Return string_vector, not char **. |
|
640 Change all callers. |
|
641 |
|
642 * pt-const.cc (lookup_map_element): Use substr() correctly. |
|
643 |
|
644 Tue May 21 21:37:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
645 |
|
646 * oct.h: New file. |
|
647 * Makefile.in (INCLUDES): Add it to the list. |
|
648 |
|
649 * octave.cc: New args --no-site-file and --no-init-file. Delete |
|
650 --ignore-init-file. The flag --norc (-f) implies both |
|
651 --no-site-file and --no-init-file. |
|
652 |
|
653 Fri May 17 01:54:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
654 |
|
655 * input.cc (Fcompletion_matches): New function. |
|
656 |
|
657 * utils.cc (get_fcn_file_names): Delete. |
|
658 * help.cc (simple_help): Use new file name cache instead of |
|
659 calling get_fcn_file_names. |
|
660 * variables.cc (make_name_list): Likewise. |
|
661 |
|
662 * fn-cache.h, fn-cache.cc, Map-fnc.cc: New files. |
|
663 * Makefile.in: Add them to the lists. |
|
664 |
|
665 * Makefile.in (uninstall): Install in octincludedir, not includedir. |
|
666 |
|
667 * pt-plot.h: Include <csignal> here. |
|
668 |
|
669 Thu May 16 10:52:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
670 |
|
671 * oct-stream.cc (octave_stream::oscanf, octave_base_stream::oscanf, |
|
672 octave_base_stream::do_oscanf): New functions for backward |
|
673 compatibility with older versions of Octave. |
|
674 (scanf_format_elt, scanf_format_list): Keep track of width specifier. |
|
675 * file-io.cc (Fscanf): New function. |
|
676 (Fscanf, Ffscanf, Fsscanf): Handle compatibility arg. |
|
677 |
|
678 Wed May 15 01:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
679 |
|
680 * oct-stream.cc (do_scanf): If doing '%c' conversion, unset |
|
681 ios::skipws on input stream. |
|
682 |
|
683 * sighandlers.h, sighandlers.cc (octave_child, octave_child_list): |
|
684 New classes for keeping track of the child processes we create. |
|
685 (sigchld_handler): Check in octave_child_list to see if there is |
|
686 anything we can do for the child that died. |
|
687 * pager.cc: Register child pager process. |
|
688 * pt-plot.cc: Likewise, for the plotter. |
|
689 * Array-oc.cc: New file |
|
690 * Makefile.in (TI_SRC): Add it to the list. |
|
691 |
|
692 * pager.cc (do_sync): Don't check error_state. |
|
693 (flushing_output_to_pager): New static variable. |
|
694 (flush_octave_stdout): Use it to avoid doing anything if already |
|
695 flushing output. |
|
696 |
|
697 * sighandlers.cc (sigchld_handler): Call warning instead of |
|
698 writing directly to cerr. |
|
699 (sigpipe_handler): Call warning instead of message. |
|
700 |
|
701 * octave.cc (main): Call install_signal_handlers, |
|
702 initialize_file_io, initialize_symbol_tables, and install_builtins |
|
703 before parsing command line options. |
|
704 |
|
705 * user-prefs.h, user-prefs.cc: Delete. |
|
706 |
|
707 * utils.cc (check_preference): Move here. |
|
708 * user-prefs.cc: From here. |
|
709 |
|
710 * defaults.cc: New file. Move initialization stuff from |
|
711 variables.cc. Move DEFVARS for EDITOR, EXEC_PATH, LOADPATH, |
|
712 IMAGEPATH, and OCTAVE_VERSION here. |
|
713 |
|
714 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
715 INFO_FILE and INFO_PROGRAM. |
|
716 * help.cc: Move all of that here. |
|
717 (symbols_of_help): Add DEFVARS for INFO_FILE and INFO_PROGRAM. |
|
718 |
|
719 Tue May 14 00:23:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
720 |
|
721 * pager.cc (do_sync): Be more defensive about sending stuff to the |
|
722 external pager. |
|
723 * sighandlers.cc (sigchld_handler): For now, only wait for |
|
724 octave_pager_pid. Don't call error(). Do set octave_pager_pid to |
|
725 -1 if the pager process no longer exists. |
|
726 |
|
727 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
728 PWD. |
|
729 * dirfns.cc: Move all of that here. |
|
730 (symbols_of_dirfns): New function. |
|
731 * variables.cc (install_builtin_variables): Call it. |
|
732 |
|
733 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
734 default_save_format and save_precision. |
|
735 * load-save.cc: Move all of that here. |
|
736 (symbols_of_load_save): New function. |
|
737 * variables.cc (install_builtin_variables): Call it. |
|
738 |
|
739 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
740 warn_divide_by_zero. |
|
741 * arith-ops.cc: Move all of that here. |
|
742 (symbols_of_arith_ops): New function. |
|
743 * variables.cc (install_builtin_variables): Call it. |
|
744 |
|
745 * mappers.cc: Add wrappers for ctype is* functions so that they |
|
746 will work on systems that only define them as macros. |
|
747 |
|
748 Mon May 13 00:27:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
749 |
|
750 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
751 suppress_verbose_help_message. |
|
752 * help.cc: Move all of that here. |
|
753 (symbols_of_help): New function. |
|
754 * variables.cc (install_builtin_variables): Call it. |
|
755 |
|
756 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
757 treat_neg_dim_as_zero. |
|
758 * pt-const.cc: Move all of that here. |
|
759 |
|
760 * pager.cc (octave_pager_stream::do_sync): Don't return early if |
|
761 not interactive. |
|
762 |
|
763 * data.h: New file. |
|
764 * Makefile.in (INCLUDES): Add it to the list. |
|
765 * data.cc (symbols_of_data): New function. Move definition of I, |
|
766 Inf, J, NaN, e, eps, i, inf, j, nan, pi, realmin, and realmax here. |
|
767 * variables.cc: From here. |
|
768 (install_builtin_variables): Call symbols_of_data. |
|
769 |
|
770 * file-io.cc (symbols_of_file_io): New function. Move definition |
|
771 of SEEK_CUR, SEEK_END, SEEK_SET, stdin, stdout, stderr here. |
|
772 * variables.cc: From here. |
|
773 (install_builtin_variables): Call symbols_of_file_io. |
|
774 |
|
775 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
776 do_fortran_indexing, implicit_str_to_num_ok, |
|
777 ok_to_lose_imaginary_part, prefer_column_vectors, |
|
778 prefer_zero_one_indexing, print_answer_id_name, |
|
779 propagate_empty_matrices, resize_on_range_error, and |
|
780 struct_levels_to_print. |
|
781 * pt-const.cc: Move all of that here. |
|
782 (symbols_of_pt_const): New function. |
|
783 * variables.cc (install_builtin_variables): Call it. |
|
784 * pt-fvc.cc (tree_identifier::assign): Use Vresize_on_range_error |
|
785 instead of user_pref.resize_on_range_error here. |
|
786 * load-save.cc (save_mat_binary_data): Use Vimplicit_str_to_num_ok |
|
787 instead of user_pref.implicit_str_to_num_ok here. |
|
788 * utils.cc (empty_arg): Use Vpropagate_empty_matrices instead of |
|
789 user_pref.propagate_empty_matrices here. |
|
790 * pt-exp-base.cc (tree_expression::is_logically_true): Likewise.. |
|
791 |
|
792 * pt-fcn.cc (symbols_of_pt_fcn): Also move DEFVAR for |
|
793 default_return_value here. |
|
794 |
|
795 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
796 ps1, ps2, ps4, and completion_append_char. |
|
797 * input.cc: Move all of that here. |
|
798 (symbols_of_input): New function. |
|
799 * variables.cc (install_builtin_variables): Call it. |
|
800 * pt-pr-code.cc (indent): Use Vps4 instead of user_pref.ps4 here. |
|
801 * help.cc (Ftype): Also here. |
|
802 |
|
803 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
804 automatic_replot, gnuplot_binary, and gnuplot_has_multiplot. |
|
805 * pt-plot.cc: Move all of that here. |
|
806 (symbols_of_pt_plot): New function. |
|
807 * variables.cc (install_builtin_variables): Call it. |
|
808 |
|
809 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
810 beep_on_error. |
|
811 * error.cc: Move all of that here. |
|
812 (symbols_of_error): New function. |
|
813 * variables.cc (install_builtin_variables): Call it. |
|
814 |
|
815 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
816 empty_list_elements_ok. |
|
817 * pt-mat.cc: Move all of that here. |
|
818 (symbols_of_pt_mat): New function. |
|
819 * variables.cc (install_builtin_variables): Call it. |
|
820 |
|
821 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
822 define_all_return_values, return_last_computed_value, and |
|
823 silent_functions. |
|
824 * pt-fcn.cc: Move all of that here. |
|
825 (symbols_of_pt_fcn): New function. |
|
826 * variables.cc (install_builtin_variables): Call it. |
|
827 |
|
828 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
829 whitespace_in_literal_matrix. |
|
830 * lex.l: Move all of that here. |
|
831 (symbols_of_lex): New function. |
|
832 * variables.cc (install_builtin_variables): Call it. |
|
833 |
|
834 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
835 warn_assign_as_truth_value, warn_comma_in_global_decl, |
|
836 warn_function_name_clash, and warn_missing_semicolon. |
|
837 * parse.y: Move all of that here. |
|
838 (symbols_of_parse): New function. |
|
839 * variables.cc (install_builtin_variables): Call it. |
|
840 |
|
841 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
842 output_precision, output_max_field_width, print_empty_dimensions, |
|
843 and split_long_rows. |
|
844 * pr-output.cc: Move all of that here. |
|
845 (symbols_of_pr_output): New function. |
|
846 * variables.cc (install_builtin_variables): Call it. |
|
847 |
|
848 * user-prefs.h, user-prefs.cc: Delete all stuff related to |
|
849 page_screen_output, page_output_immediately, and pager_binary. |
|
850 * pager.cc: Move all of that here. |
|
851 |
|
852 * user-prefs.h (check_preference): Provide declaration. |
|
853 * user-prefs.cc (check_preference): Make external. |
|
854 |
|
855 * toplev.cc (Foctave_config_info): New function. |
|
856 |
|
857 * oct-conf.h.in: New file |
|
858 * Makefile.in (oct-conf.h): New target. |
|
859 Add it to the appropriate lists. |
|
860 |
|
861 * sighandlers.cc (sigchld_handler): Don't complain about wait |
|
862 returning a negative value. |
|
863 |
|
864 * file-io.cc (Fsscanf, Fsprintf): Pass true for second arg of |
|
865 octave_stream constructor. |
|
866 |
|
867 * oct-stream.h (octave_stream): New field, preserve. |
|
868 (octave_stream::~octave_stream): If preserve, don't delete rep. |
|
869 |
|
870 * pager.cc (symbols_of_pager): Set default for |
|
871 page_output_immediately to 0. |
|
872 |
|
873 * toplev.cc (do_system): Correctly handle return_output. |
|
874 Append ends to output_buf before calling str(). |
|
875 |
|
876 * variables.cc: If M_PI and M_E are available, use them. |
|
877 |
|
878 * mk-oct-links.in (links_dir): If old link exists, delete it first. |
|
879 |
|
880 Sun May 12 01:46:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
881 |
|
882 * Makefile.in (DISTFILES): List defaults.h.in and oct-gperf.h here. |
|
883 (INCLUDES): Not here. |
|
884 (install-inc): New target. |
|
885 (uninstall): Also delete libraries and include files. |
|
886 (install-inc): If linkdir is a directory, leave it alone. |
|
887 (TERMLIBS, LIBPLPLOT, LIBDLFCN): Don't substitute here (now in |
|
888 Makeconf). |
|
889 |
|
890 * oct-stream.cc (octave_base_stream::do_read): Provide initial |
|
891 value for tmp var. |
|
892 |
|
893 * pt-walk.h, pt-pr-code.h, pt-pr-code.cc: New tree-walking classes. |
|
894 * Makefile.in: Add them to the appropriate lists. |
|
895 * pt-fvc-base.h, pt-exp-base.cc, pt-fvc-base.cc, pt-mvr-base.cc, |
|
896 pt-base.cc, pt-mvr.cc, pt-mat.h, pt-mat.cc, pt-fvc.cc, |
|
897 pt-const.cc, pt-cmd.cc, pt-const.h, pt-misc.cc, pt-plot.cc, |
|
898 pt-fcn.cc, pt-plot.h, pt-mvr.h, pt-mvr-base.h, pt-misc.h, |
|
899 pt-fcn.h, pt-exp.h, pt-exp.cc, pt-exp-base.h, pt-fvc.h, pt-cmd.h, |
|
900 pt-base.h: |
|
901 Replace print_code stuff with accept() functions. |
|
902 Add member access functions where necessary. |
|
903 * help.cc (Ftype): Update to use new method of walking trees to |
|
904 print text representation of user-defined functions. |
|
905 |
|
906 * file-io.cc (Ffscanf): Update doc string. |
|
907 (Fsscanf): Likewise. |
|
908 |
|
909 * oct-stream.cc (octave_base_stream::do_read): Correctly set max_size. |
|
910 Pad mval with zeros on final resize. |
|
911 (octave_base_stream::do_scanf): Likewise. |
|
912 (do_scanf_conv): Correctly resize mval. |
|
913 |
|
914 Sat May 11 05:14:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
915 |
|
916 * pager.cc (octave_pager_buf::sync): Correctly set bypass_pager. |
|
917 |
|
918 * lex.l (<MATRIX>{SNLCMT}*\]{S}*): Match SNLCMT, not just SNL. |
|
919 |
|
920 Fri May 3 11:05:30 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
921 |
|
922 * pt-const.cc (OCT_VAL_REP::set_index): Complain if type can't be |
|
923 indexed. |
|
924 |
|
925 * input.cc (get_user_input): Don't increment input line number if |
|
926 input is coming from eval string. |
|
927 |
|
928 * user-prefs.cc: Allow empty strings for prompts. |
|
929 |
|
930 Thu May 2 10:50:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
931 |
|
932 * pt-mvr.h (class tree_oct_obj): Declare values data member const. |
|
933 |
|
934 Sun Apr 28 03:16:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
935 |
|
936 * user-prefs.h (user_preferences): New field, |
|
937 `page_output_immediately'. |
|
938 * user-prefs.cc (init_user_prefs): Initialize it. |
|
939 (page_output_immediately): New function. |
|
940 * pager.cc (syms_of_pager): Add DEFVAR. |
|
941 (really_flush_to_pager): New file-scope variable. |
|
942 (flush_octave_stdout): Set and restore it. |
|
943 (octave_pager_buf::sync): Check it, user_pref.page_screen_output, |
|
944 and user_pref.page_output_immediately to decide when to really |
|
945 flush output. |
|
946 (more_than_a_screenful): New function. If paging but not |
|
947 immediately, then check this too. |
|
948 |
|
949 * pager.cc (default_pager): Move here from variables.cc. If pager |
|
950 is less and LESS is not in the environment, append useful flags. |
|
951 (symbols_of_pager): New function. |
|
952 * variables.cc (install_builtin_variables): Call it. |
|
953 Delete pager-related DEFVARs. |
|
954 |
|
955 * syswait.h (WIFSIGNALLED): Define if sys/wait.h doesn't. |
|
956 |
|
957 * sighandlers.cc: Handle SIGCHLD. |
|
958 |
|
959 * pager.cc, pager.h: Rewrite. |
|
960 * pt-mvr.cc, pt-misc.cc, pt-fcn.cc, pt-const.cc, oct-hist.cc, |
|
961 file-io.cc, help.cc, variables.cc, qpsol.cc, dassl.cc, quad.cc, |
|
962 npsol.cc, lsode.cc, fsolve.cc, load-save.cc, dirfns.cc, octave.cc, |
|
963 toplev.cc, error.cc, input.cc: |
|
964 Write to octave_stdout and octave_diary instead of calling |
|
965 maybe_page_output() or maybe_write_to_diary_file(). |
|
966 |
|
967 * oct-procbuf.h, oct-procbuf.cc: New files. |
|
968 * procstream.h (class procstreambase): Use octave_procbuf instead |
|
969 of procbuf from libg++, so we can get pids of subprocesses. |
|
970 |
|
971 Fri Apr 26 01:21:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
972 |
|
973 * pt-const.cc (OCT_VAL_REP::do_index): Call maybe_mutate() before |
|
974 returning. |
|
975 |
|
976 * mappers.h (struct Mapper_fcn): Delete. |
|
977 (struct builtin_mapper_function): New field ch_mapper. |
|
978 * pt-fvc.h (tree_builtin): Convert type of mapper_fcn from |
|
979 Mapper_fcn to builtin_mapper_function. |
|
980 * variables.cc (install_builtin_mapper): Likewise, for arg. |
|
981 Simplify, since we don't have to do the copying ourselves now. |
|
982 * pt-fvc.cc (apply_mapper_function): Handle ch_mapper case. |
|
983 * defun.h (DEFUN_MAPPER): Likewise. |
|
984 * mappers.cc (install_builtin_mappers): Likewise. |
|
985 Add ctype is* functions here. |
|
986 |
|
987 Thu Apr 25 00:57:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
988 |
|
989 * arith-ops.h, defun-int.h, defun.h, dynamic-ld.h, gripes.h, |
|
990 load-save.h, oct-map.h, oct-obj.h, oct-stream.h, pt-cmd.h, |
|
991 pt-const.h, pt-exp-base.h, pt-exp.h, pt-fcn.h, pt-fvc-base.h, |
|
992 pt-fvc.h, pt-mat.h, pt-misc.h, pt-mvr-base.h, pt-mvr.h, pt-plot.h, |
|
993 symtab.h, toplev.h, utils.h, variables.h, xpow.h, Array-tc.cc, |
|
994 Map-i.cc, Map-tc.cc, SLList-tc.cc, arith-ops.cc, balance.cc, |
|
995 bogus.cc, chol.cc, colloc.cc, dassl.cc, data.cc, det.cc, |
|
996 dirfns.cc, eig.cc, error.cc, expm.cc, fft.cc, fft2.cc, file-io.cc, |
|
997 filter.cc, find.cc, fsolve.cc, fsqp.cc, givens.cc, gripes.cc, |
|
998 help.cc, hess.cc, ifft.cc, ifft2.cc, input.cc, inv.cc, |
|
999 load-save.cc, log.cc, lpsolve.cc, lsode.cc, lu.cc, minmax.cc, |
|
1000 npsol.cc, oct-hist.cc, oct-obj.cc, oct-stream.cc, pager.cc, |
|
1001 pinv.cc, pr-output.cc, pt-cmd.cc, pt-const.cc, pt-exp-base.cc, |
|
1002 pt-exp.cc, pt-fcn.cc, pt-fvc-base.cc, pt-fvc.cc, pt-mat.cc, |
|
1003 pt-misc.cc, pt-mvr-base.cc, pt-mvr.cc, pt-plot.cc, qpsol.cc, |
|
1004 qr.cc, quad.cc, qzval.cc, rand.cc, resource.cc, schur.cc, sort.cc, |
|
1005 strfns.cc, svd.cc, syl.cc, symtab.cc, syscalls.cc, sysdep.cc, |
|
1006 timefns.cc, toplev.cc, utils.cc, variables.cc, xpow.cc, parse.y: |
|
1007 Rename tree_constant -> octave_value. |
|
1008 Rename Octave_object -> octave_value_list. |
|
1009 |
|
1010 Wed Apr 24 22:15:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1011 |
|
1012 * toplev.cc (Fsystem): Merge functionality of async_system and |
|
1013 sync_system. |
|
1014 |
|
1015 * oct-fstrm.h, oct-iostrm.h, oct-prcstrm.h, oct-stdstrm.h, |
|
1016 oct-stream.h, oct-strstrm.h, oct-fstrm.cc, oct-iostrm.cc, |
|
1017 oct-prcstrm.cc, oct-stdstrm.cc, oct-stream.cc, oct-strstrm.cc, |
|
1018 Array-os.cc: New files. |
|
1019 * Makefile.in: Add them to the appropriate lists. |
|
1020 * file-io.cc: Rewrite to use new stream classes. |
|
1021 |
|
1022 Tue Apr 23 18:59:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1023 |
|
1024 * gripes.cc (gripe_not_supported): New function. |
|
1025 |
|
1026 * toplev.cc (do_octave_atexit, Fatexit): New functions. |
|
1027 (octave_atexit_functions): New file-scope variable. |
|
1028 * octave.cc (main): Register do_octave_atexit with atexit. |
|
1029 |
|
1030 * variables.cc (install_builtin_variables): Call |
|
1031 symbols_of_syscalls here. |
|
1032 |
|
1033 * syscalls.h, syscalls.cc: New files. |
|
1034 |
|
1035 Mon Apr 22 21:14:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1036 |
|
1037 * syscalls.cc: New file. |
|
1038 (Flstat, Fmkfifo, Fstat, Funlink, Fwait, Fwaitpid): Move here. |
|
1039 * file-io.cc: From here. |
|
1040 * Makefile.in (SOURCES): Add syscalls.cc to the list. |
|
1041 |
|
1042 Wed Apr 17 18:34:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1043 |
|
1044 * file-info.h, file-info.cc: Delete files. |
|
1045 * Makefile.in: Remove from lists. |
|
1046 |
|
1047 * toplev.cc (Fquit): Accept exit status argument. |
|
1048 (Fflops): Delete (now a function file). |
|
1049 |
|
1050 Thu Apr 11 16:20:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1051 |
|
1052 * lex.l: Recognize `.'. |
|
1053 Update current_input_column even for unrecognized characters. |
|
1054 Return LEXICAL_ERROR for unrecognized characters. |
|
1055 |
|
1056 Mon Apr 8 19:59:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1057 |
|
1058 * variables.cc (install_builtin_variables): Split into several |
|
1059 functions to make compiling with g++ go faster and consume less |
|
1060 memory. |
|
1061 |
|
1062 Sun Apr 7 16:25:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1063 |
|
1064 * load-save.cc (Fsave): Print usage if i == argc. |
|
1065 (Fload): Likewise. |
|
1066 |
|
1067 Sat Apr 6 21:26:49 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1068 |
|
1069 * Makefile.in (clean): Also delete pic/*.o |
|
1070 (maintainer-clean, distclean): Also remove stamp-picdir, |
|
1071 stamp-tinst, stamp-interp, and pic directory. |
|
1072 (stamp-prereq): New target. |
|
1073 |
|
1074 Wed Apr 3 11:19:30 1996 Rick Niles <niles@axp745.gsfc.nasa.gov> |
|
1075 |
|
1076 * resource.cc: Don't make including sys/resource.h and sys/times.h |
|
1077 mutually exclusive. |
|
1078 |
|
1079 Fri Mar 29 13:43:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1080 |
|
1081 * Makefile.in (distclean): Delete so_locations, which is created |
|
1082 on DEC Alpha systems. |
|
1083 |
|
1084 Thu Mar 28 02:53:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1085 |
|
1086 * utils.h (undo_string_escape): Provide extern declaration here. |
|
1087 |
|
1088 * lex.l (NL): Allow \r\n as new line character. |
|
1089 (.): Complain if invalid character is found on input |
|
1090 |
|
1091 Fri Mar 22 03:47:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1092 |
|
1093 * resource.cc (getrusage): If getrusage is missing, try using |
|
1094 times to at least fill in the cpu time values. If neither one is |
|
1095 available, return 0 for cpu times instead of NaN. |
|
1096 |
|
1097 * sighandlers.cc (octave_signal_mask): New file-scope variable. |
|
1098 (octave_save_signal_mask, octave_restore_signal_mask): New functions. |
|
1099 * toplev.cc (main_loop): Use them. |
|
1100 |
|
1101 Wed Mar 20 01:21:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1102 |
|
1103 * utils.cc (get_fcn_file_names (const string&, int)): Resize |
|
1104 retval to value of k, not i. |
|
1105 (get_fcn_file_names (int)): In loop for copying names to retval, |
|
1106 don't increment j twice. |
|
1107 |
|
1108 Mon Mar 18 22:27:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1109 |
|
1110 * Makefile.in ($(MAKEDEPS)): Depend on oct-gperf.h. |
|
1111 |
|
1112 Fri Mar 1 18:15:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1113 |
|
1114 * fsolve.cc (fsolve_options): Delete unused argument nargout. |
|
1115 |
|
1116 * filter.cc: Use MArray instead of Array so that automatic |
|
1117 conversions will work again. |
|
1118 |
|
1119 Tue Feb 27 04:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1120 |
|
1121 * variables.cc (looks_like_octave_copyright): Make the strings |
|
1122 that we are trying to match both have length 29. |
|
1123 |
|
1124 * Makefile.in (install-bin): Use $(INSTALL_PROGRAM), not $(INSTALL). |
|
1125 |
|
1126 * load-save.cc (read_mat_binary_data): Make sure name is |
|
1127 NUL terminated. |
|
1128 |
|
1129 Mon Feb 26 18:18:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1130 |
|
1131 * variables.cc (whos): Make argv from tmp_args, not args. |
|
1132 |
|
1133 * defun.h (DEFCONSTX): Don't stringify name. |
|
1134 |
|
1135 Sat Feb 24 01:12:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1136 |
|
1137 * Makefile.in (install-oct): Make mk-oct-links executable. |
|
1138 * mk-oct-links.in (links_dir): Update to match new format of |
|
1139 DEFUN_DLD_BUILTIN macro. Use LN_S, not just LN. |
|
1140 (links_dir): |
|
1141 |
|
1142 * pr-output.cc (octave_print_internal): New arg, extra_indent, for |
|
1143 versions of this function that take matrices and ranges. |
|
1144 * pt-const.cc (TC_REP::print (ostream&)): Fix printing of structures. |
|
1145 Pass struct_indent to octave_print_internal as appropriate. |
|
1146 (print_with_name (ostream&, const string&, bool)): Handle spacing |
|
1147 around `=' differently for structures. |
|
1148 |
|
1149 Fri Feb 23 04:51:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1150 |
|
1151 * token.cc (token (double, const string&, int, int)): Store orig_text. |
|
1152 |
|
1153 Tue Feb 20 20:36:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1154 |
|
1155 * variables.cc (Fclear): Fix off-by-one error. |
|
1156 |
|
1157 Sat Feb 17 16:54:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1158 |
|
1159 * oct-hist.cc (default_history_file): Append "/.octave_hist" to |
|
1160 return value, not to home_directory. |
|
1161 |
|
1162 Fri Feb 16 18:10:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1163 |
|
1164 * utils.cc: (NINT, D_NINT): Move to liboctave. |
|
1165 |
|
1166 * sysdep.cc (octave_ieee_init): Move to liboctave. |
|
1167 |
|
1168 * procstream.h, procstream.cc: Rewrite. |
|
1169 |
|
1170 * pager.cc (cleanup_oprocstream): New static function. |
|
1171 * toplev.cc (cleanup_iprocstream): Likewise. |
|
1172 * dirfns.cc (cleanup_iprocstream): Likewise. |
|
1173 |
|
1174 * unwind-prot.cc (matrix_cleanup, complex_matrix_cleanup): Delete. |
|
1175 |
|
1176 Thu Feb 15 22:03:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1177 |
|
1178 * oct-obj.cc, oct-obj.h: Move most code to the header. |
|
1179 |
|
1180 * oct-obj.cc (make_argv, all_strings): New member functions. |
|
1181 * utils.cc: Moved from here. |
|
1182 |
|
1183 * load-save.cc: Move byte swapping stuff to liboctave. |
|
1184 Move float format conversion stuff to liboctave. |
|
1185 (all_parts_int, too_large_for_float): Move to liboctave. |
|
1186 |
|
1187 * symtab.cc (valid_identifier): Move here. |
|
1188 * load-save.cc: From here. |
|
1189 |
|
1190 * sysdep.cc: Move floating-point format stuff to liboctave. |
|
1191 * pr-output.cc: Include float-fmt.h here. |
|
1192 |
|
1193 Wed Feb 14 01:49:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1194 |
|
1195 * defun.h, defun-dld.h, defun-int.h: Simplify interface for DEFUN, |
|
1196 DEFUN_DLD, DEFVAR, and DEFCONST macros. Change all uses. |
|
1197 |
|
1198 * qzval.cc: Move guts to liboctave. |
|
1199 |
|
1200 Tue Feb 13 10:28:27 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1201 |
|
1202 * variables.cc (parse_fcn_file): Also avoid saving history if |
|
1203 input is from a script file. |
|
1204 |
|
1205 * help.cc (Ftype): Call unwind_protect_str for user_pref.ps4. |
|
1206 |
|
1207 * npsol.cc (nonlinear_constraints_ok): Now static. |
|
1208 |
|
1209 * npsol.cc (linear_constraints_ok): Now static. |
|
1210 * qpsol.cc (linear_constraints_ok): Duplicate here. |
|
1211 |
|
1212 * data.cc (Flinspace): Don't print usage message if nargin == 2. |
|
1213 |
|
1214 Sun Feb 11 14:20:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1215 |
|
1216 * mk-oct-links.in: Rename from mk-oct-links. |
|
1217 (LN_S): Use this variable instead of ln. |
|
1218 Set -e option for shell. |
|
1219 Exit with status of last command. |
|
1220 Print message when making link. |
|
1221 * Makefile.in (DISTFILES): Add mk-oct-links.in to the list. |
|
1222 (install-oct): Run ./mk-oct-links, not $(srcdir)/mk-oct-links. |
|
1223 |
|
1224 * variables.cc (install_builtin_variables): Restore accidentally |
|
1225 deleted DEFVAR for save_precision. |
|
1226 |
|
1227 Fri Feb 9 11:24:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1228 |
|
1229 * Makefile.in (INCLUDES): Delete statdefs.h from the list (it's |
|
1230 now in the liboctave directory). |
|
1231 |
|
1232 * toplev.cc (toplevel): Define here. |
|
1233 * octave.cc (toplevel): Not here. |
|
1234 |
|
1235 * toplev.cc (main_loop): New function. |
|
1236 * octave.cc (main): Call it here instead of doing main loop |
|
1237 actions here. |
|
1238 |
|
1239 * user-prefs.cc (do_fortran_indexing): Also set liboctave_dfi_flag. |
|
1240 (prefer_column_vectors): Also set liboctave_pcv_flag. |
|
1241 (prefer_zero_one_indexing): Also set liboctave_pzo_flag. |
|
1242 (resize_on_range_error): Also set liboctave_rre_flag. |
|
1243 |
|
1244 * variables.cc (restore_command_history): New function. |
|
1245 (parse_fcn_file): Use it here in unwind_protect. |
|
1246 |
|
1247 * dynamic-ld.cc (load_octave_oct_file): Reverse sense of test. |
|
1248 (load_octave_builtin): Delete. |
|
1249 (mangle_octave_oct_file_name): Delete. |
|
1250 |
|
1251 * pt-fvc.cc (tree_builtin::eval): Don't try to dynamically load |
|
1252 functions here. |
|
1253 |
|
1254 * pr-output.cc (set_format_style): Decrement argc for first arg too. |
|
1255 |
|
1256 * input.cc (gnu_readline): If readline returns an empty string, |
|
1257 convert it to a string containing a single newline character. |
|
1258 |
|
1259 * octave.cc (octave_argv): Now a static string_vector. |
|
1260 (intern_argv): Use string_vector ops, not charMatrix ops. |
|
1261 * toplev.cc (octave_argv): Delete definition. |
|
1262 * toplev.h (octave_argv): Delete declaration. |
|
1263 |
|
1264 Thu Feb 8 10:58:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1265 |
|
1266 * Makefile.in (conf-dist): New target. |
|
1267 |
|
1268 Tue Feb 6 10:59:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1269 |
|
1270 * help.cc (Ftype): Correctly handle structure names. |
|
1271 |
|
1272 Sun Feb 4 02:02:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1273 |
|
1274 * qpsol.cc (Fqpsol): Call set_options(), not copy() to set |
|
1275 options for QPSOL objects. |
|
1276 |
|
1277 * npsol.cc (Fnpsol): Call set_options(), not copy() to set |
|
1278 options for NPSOL objects. |
|
1279 |
|
1280 * quad.cc (Fquad): Call set_options(), not copy() to set |
|
1281 options for Quad objects. |
|
1282 |
|
1283 * dynamic-ld.cc (load_octave_builtin): Don't call destructor on string. |
|
1284 (load_octave_oct_file): Likewise. |
|
1285 Check oct_file.empty(), not just oct_file. |
|
1286 |
|
1287 * fsolve.cc (Ffsolve): Call set_options(), not copy() to set |
|
1288 options for NLEqn object. |
|
1289 |
|
1290 * variables.cc (do_who): Properly set match patterns from argument |
|
1291 vector for call to maybe_list. |
|
1292 |
|
1293 Sat Feb 3 03:29:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1294 |
|
1295 * octave.cc (long_opts): Properly set second field using new enum. |
|
1296 |
|
1297 * lsode.cc: Change ODE to LSODE where appropriate. |
|
1298 Use LSODE_options, not ODE_options. |
|
1299 |
|
1300 * dassl.cc: Change DAE to DASSL where appropriate. |
|
1301 Use DASSL_options, not ODE_options. |
|
1302 |
|
1303 Fri Feb 2 01:41:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1304 |
|
1305 * dirfns.cc: Include unistd.h. |
|
1306 |
|
1307 * parse.y, lex.l: Handle matrix lists without ml or mlnm stacks. |
|
1308 * pt-mat.h, pt-mat.cc (tree_matrix): |
|
1309 Rewrite to use SLList instead of home brew list. |
|
1310 * SLList-tm.cc: New file |
|
1311 * Makefile.in: Add it to the lists. |
|
1312 * SLStack-tm.cc: Delete. |
|
1313 * Makefile.in: Delete it from the lists. |
|
1314 |
|
1315 * All pt-* files: Use bool instead of int where appropriate. |
|
1316 |
|
1317 * Makefile.in (DEP_SOURCES_3): Add octave.cc. |
|
1318 |
|
1319 * pt-const.h (class tree_constant::tree_constant_rep): Make |
|
1320 everything in this class public, then it doesn't need to declare |
|
1321 the tree_constant class as a friend. |
|
1322 |
|
1323 Thu Feb 1 01:42:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1324 |
|
1325 * lex.h, lex.l, parse.h, parse.y (class lexical_feedback): New |
|
1326 class for lexer flags. Replace lots of global vars with members |
|
1327 of this class. |
|
1328 |
|
1329 * lex.l (class brace_paren_nesting_level): New class to replace |
|
1330 nesting_level stack. nesting_level is now an instance of this |
|
1331 class. |
|
1332 |
|
1333 * lex.l (yum_yum): New typedef. |
|
1334 (ATE_NOTHING): New global var. |
|
1335 (ATE_SPACE_OR_TAB, ATE_NEWLINE): Don't #define these, declare them |
|
1336 as const yum_yum. |
|
1337 (eat_whitespace, eat_continuation): Return yum_yum, not int. |
|
1338 |
|
1339 * lex.l (SHORT_CIRCUIT_LOGICALS): Delete. Always do this for || |
|
1340 and && tokens. |
|
1341 (yy_flex_alloc, yy_flex_realloc, yy_flex_free, next_char_is_space): |
|
1342 Delete. |
|
1343 |
|
1344 * toplev.cc (verbose_flag): Delete definition. |
|
1345 * toplev.h (verbose_flag): And declaration. |
|
1346 * octave.cc (verbose_flag): Now static. |
|
1347 |
|
1348 * lex.l (lookup_identifier): Arg is now string, not char*. |
|
1349 (handle_identifier, is_plot_keyword, is_keyword): Likewise. |
|
1350 (strip_trailing_whitespace): Return value is now string, not char*. |
|
1351 (plot_style_token): Likewise, for both arg and return value. |
|
1352 |
|
1353 * input.cc (octave_gets_line): Delete. |
|
1354 (gnu_readline, octave_gets, octave_read): |
|
1355 Properly handle input when using_readline is either true or false. |
|
1356 Don't limit length of input lines to flex buffer size. |
|
1357 (get_user_input): New function. |
|
1358 |
|
1359 * octave.cc (main): Handle --no-line-editing. |
|
1360 * toplev.h (using_readline): Provide external declaration here. |
|
1361 * input.h: Not here. |
|
1362 * toplev.cc (using_readline): Define here. |
|
1363 * input.cc: Not here. |
|
1364 |
|
1365 * toplev.h (no_line_editing): Delete declaration. |
|
1366 * input.cc (no_line_editing): Delete definition. |
|
1367 |
|
1368 Wed Jan 31 05:28:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1369 |
|
1370 * input.cc (DEFAULT_ARRAY_SIZE, PROMPT_GROWTH): Delete definitions |
|
1371 of unused macros. |
|
1372 (read_octal): Now static. |
|
1373 |
|
1374 * givens.cc (Fgivens): Use new functions from matrix classes |
|
1375 instead of calling Fortran functions directly. |
|
1376 * syl.cc (Fsyl): Likewise. |
|
1377 * expm.cc (Fexpm): Likewise. |
|
1378 |
|
1379 Mon Jan 29 00:00:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1380 |
|
1381 * octave.cc: Use new prog_args class instead of calling getopt |
|
1382 directly. |
|
1383 |
|
1384 * getopt.h, getopt.c, getopt1.c: Move to liboctave directory. |
|
1385 * Makefile: Remove from lists. |
|
1386 |
|
1387 * utils.cc (strconcat, read_until, discard_until): Delete. |
|
1388 |
|
1389 * pager.cc (terminal_columns, terminal_rows): Move to |
|
1390 liboctave/oct-term.cc. |
|
1391 * pager.cc, pr-output.cc: Include oct-term.h. |
|
1392 |
|
1393 * utils.cc (list_in_columns): Moved to liboctave/str-vec.cc. |
|
1394 Change all callers to use new member function syntax. |
|
1395 |
|
1396 * dirfns.cc (absolute_program): Now static. |
|
1397 (absolute_pathname): Delete. |
|
1398 |
|
1399 * pt-plot.cc (save_in_tmp_file): Call oct_tempnam, not |
|
1400 octave_tmp_file_name. Include file-ops.h. |
|
1401 * file-io.cc (do_scanf, Foctave_tmp_file_name): Likewise. |
|
1402 * oct-hist.cc (mk_tmp_hist_file): Likewise. |
|
1403 |
|
1404 * file-io.cc (Foctave_tmp_file_name): Move here. |
|
1405 * utils.cc: From here. |
|
1406 |
|
1407 * utils.cc (octave_tmp_file_name): Move to liboctave/file-ops.cc. |
|
1408 |
|
1409 * tempname.c, tempnam.c: Move to liboctave directory. |
|
1410 * Makefile.in: Remove from lists. |
|
1411 |
|
1412 Sun Jan 28 19:00:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1413 |
|
1414 * xdiv.cc (all xdiv functions): Return Matrix or ComplexMatrix, |
|
1415 not tree_constant. |
|
1416 |
|
1417 * oct-hist.h, oct-hist.cc, toplev.cc, octave.cc, input.cc, |
|
1418 file-io.cc, user-prefs.cc: Rewrite to use new command_history |
|
1419 class instead of calling readline history functions directly. |
|
1420 |
|
1421 * utils.cc (get_fcn_file_names): Delete num arg. |
|
1422 |
|
1423 Thu Jan 25 20:33:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1424 |
|
1425 * load-save.cc (matches_patterns): Use new glob_match class |
|
1426 instead of calling fnmatch directly. |
|
1427 * symtab.cc (matches_patterns, symbol_table::glob): Likewise. |
|
1428 * variables.cc (Fclear): Likewise. |
|
1429 |
|
1430 Wed Jan 24 02:05:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1431 |
|
1432 * fnmatch.h fnmatch.c: Delete. |
|
1433 * Makefile.in: Add glob stuff in the appropriate places, remove |
|
1434 fnmatch.h and fnmatch.c from lists. |
|
1435 |
|
1436 * octave.cc (program_invocation_name, program_invocation_short_name): |
|
1437 Maybe declare. |
|
1438 (initialize_globals): Maybe initialize them. |
|
1439 |
|
1440 * octave.cc (initialize_pathsearch): Define here, not in pathsearch.cc. |
|
1441 * pathsearch.h, pathsearch.cc: Remove files. |
|
1442 * Makefile.in: Remove them from the lists. |
|
1443 |
|
1444 * help.cc (simple_help): Ignore directories that don't have any .m |
|
1445 or .oct files. |
|
1446 |
|
1447 * utils.cc (search_path_for_file): Use new dir_path class instead |
|
1448 of calling kpathsea routines directly. |
|
1449 (get_fcn_file_names): Likewise. |
|
1450 * help.cc (simple_help): Likewise. |
|
1451 |
|
1452 * dirfns.cc (make_absolute): Don't convert empty arg to "./". |
|
1453 |
|
1454 * sysdir.h: Move to liboctave directory. |
|
1455 * Makefile.in: Remove from lists. |
|
1456 |
|
1457 * dirfns.cc (Freaddir): Use new dir_entry class instead of calling |
|
1458 readdir directly. Include dir-ops.h, not sysdir.h. |
|
1459 * utils.cc (get_fcn_file_names): Likewise. Delete unnecessary |
|
1460 first arg, change all callers. |
|
1461 |
|
1462 Tue Jan 23 00:43:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1463 |
|
1464 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, |
|
1465 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: |
|
1466 Files moved to liboctave directory. |
|
1467 * Makefile.in: Remove them from lists. Move appropriate rules. |
|
1468 |
|
1469 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
1470 Files moved to liboctave directory. |
|
1471 * Makefile.in: Remove them from lists. |
|
1472 * missing-math.h: Deleted. |
|
1473 * pr-output.cc, sysdep.cc, minmax.cc, mappers.cc, expm.cc, |
|
1474 arith-ops.cc: Include oct-math.h, not cmath or missing-math.h. |
|
1475 |
|
1476 Mon Jan 22 19:33:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1477 |
|
1478 * variables.cc (Fexist): Use file_stat instead of calling stat |
|
1479 directly. Include file-ops.h, not statdefs.h. |
|
1480 * octave.cc (execute_startup_files): Likewise. |
|
1481 * file-io.cc (file_io_get_file, fopen_internal, popen_internal, Fstat): |
|
1482 Likewise. |
|
1483 (mk_stat_map): Likewise, use file_stat object, not struct stat. |
|
1484 * oct-hist.cc (do_history): Likewise. |
|
1485 |
|
1486 * file-ops.h, file-stat.cc: New files. |
|
1487 * Makefile.in: Include them. |
|
1488 * dirfns.cc: Delete is_newer. Don't include statdefs.h. |
|
1489 * toplev.cc: Don't include statdefs.h. |
|
1490 |
|
1491 Sun Jan 21 22:48:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1492 |
|
1493 * pt-mvr.h, pt-fvc.h, Map.cc, Map.h, dynamic-ld.h, |
|
1494 pt-fvc-base.cc, SLList-str.cc, pt-fcn.h, pt-fvc-base.h, |
|
1495 SLStack-str.cc, pt-mvr.cc, pt-exp.cc, token.h, token.cc, |
|
1496 user-prefs.h, pt-base.cc, user-prefs.cc, dirfns.h, sysdep.h, |
|
1497 sysdep.cc, input.h, parse.h, lex.l, parse.y, defun.h, mappers.h, |
|
1498 pt-fvc.cc, pt-plot.h, load-save.h, octave.cc, defun-int.h, help.h, |
|
1499 variables.h, oct-map.h, oct-obj.h, oct-obj.cc, pt-const.cc, |
|
1500 oct-map.cc, input.cc, symtab.h, pt-const.h, pathsearch.cc, |
|
1501 pr-output.h, pr-output.cc, toplev.h, timefns.cc, schur.cc, |
|
1502 pt-plot.cc, pager.cc, load-save.cc, dynamic-ld.cc, dirfns.cc, |
|
1503 data.cc, file-info.h, file-info.cc, colloc.cc, utils.h, qpsol.cc, |
|
1504 quad.cc, npsol.cc, lsode.cc, fsolve.cc, dassl.cc, file-io.cc, |
|
1505 help.cc, utils.cc, oct-hist.h, oct-hist.cc, symtab.cc, toplev.cc, |
|
1506 pt-fcn.cc, unwind-prot.h, unwind-prot.cc, variables.cc: |
|
1507 Most functions in these files that deal with character strings |
|
1508 have been converted to use the string class insatead of char*. If |
|
1509 you want more detailed information, you'll have to figure it out |
|
1510 for yourself. |
|
1511 |
|
1512 Sat Jan 20 18:19:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1513 |
|
1514 * dynamic-ld.cc [WITH_DL]: Define RTLD_LAZY to be 1 if it is not |
|
1515 already defined. |
|
1516 |
|
1517 Sun Jan 14 07:48:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1518 |
|
1519 * pt-const.cc (print_as_scalar, print_as_structure): |
|
1520 Make these member functions. |
|
1521 (tree_constant::print_with_name): New function, moved here from |
|
1522 old tree-expr.cc file (where it was called print_constant) and |
|
1523 converted to member function. Change all callers. |
|
1524 |
|
1525 Fri Jan 12 01:54:49 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1526 |
|
1527 * octave.cc (initialize_globals): Don't do kpathsearch stuff here. |
|
1528 (main): Call initialize_pathsearch() here. |
|
1529 |
|
1530 * pathsearch.cc: New file. |
|
1531 * Makefile.in (SOURCES): Add it to the list |
|
1532 |
|
1533 * oct-hist.h: Rename from octave-hist.h. |
|
1534 * oct-hist.cc: Rename from octave-hist.cc. |
|
1535 * Makefile.in, parse.y, other .cc files: Cope with it. |
|
1536 |
|
1537 * dynamic-ld.cc: Avoid warnings if !WITH_DYNAMIC_LINKING. |
|
1538 |
|
1539 * load-save.cc (save_ascii_data): string::data() returns const char*. |
|
1540 |
|
1541 * utils.h: Don't provide forward declaration for tree_constant. |
|
1542 |
|
1543 * oct-obj.h: Don't include mx-base.h or provide forward |
|
1544 declarations for Matrix and Range types. |
|
1545 |
|
1546 * file-info.h: Don't include oct-obj.h. Do include cstdio. |
|
1547 |
|
1548 * symtab.h: Don't provide forward declaration for ostream. |
|
1549 |
|
1550 * variables.h: Don't provide forward declarations for istream, |
|
1551 ostrstream, tree, builtin_function, or builtin_variable objects. |
|
1552 |
|
1553 * balance.cc, chol.cc, colloc.cc, dassl.cc, det.cc, eig.cc, |
|
1554 expm.cc, fft.cc, fft2.cc, filter.cc, find.cc, fsolve.cc, fsqp.cc, |
|
1555 givens.cc, hess.cc, ifft.cc, ifft2.cc, inv.cc, log.cc, lpsolve.cc, |
|
1556 lsode.cc, lu.cc, minmax.cc, npsol.cc, pinv.cc, qpsol.cc, qr.cc, |
|
1557 quad.cc, qzval.cc, rand.cc, schur.cc, sort.cc, svd.cc, syl.cc: |
|
1558 Clean up #include statements. |
|
1559 |
|
1560 * pt-const.h: Don't include oct-obj.h or tree-base.h. |
|
1561 Provide forward declaration of Octave_object here. |
|
1562 * pt-const.cc: Include oct-obj.h here. |
|
1563 |
|
1564 * pt-mat.h, pt-fcn.h, pt-const.h, pt-misc.h, pt-plot.h, |
|
1565 pt-exp-base.h, pt-cmd.h, pt-fvc-base.h, pt-mvr-base.h, pt-exp.h, |
|
1566 pt-mvr.h, pt-fvc.h: New files, split from tree-expr.h and/or |
|
1567 renamed from other tree-*.h files (pt == parse tree). |
|
1568 * pt-base.cc, pt-const.cc, pt-exp.cc, pt-fvc-base.cc, pt-mat.cc, |
|
1569 pt-mvr-base.cc, pt-plot.cc, pt-cmd.cc, pt-exp-base.cc, pt-fcn.cc, |
|
1570 pt-fvc.cc, pt-misc.cc, pt-mvr.cc: Likewse, split from tree-expr.cc |
|
1571 and/or other tree-*.cc files. |
|
1572 * Makefile.in: Include them in the appropriate lists. |
|
1573 * All: Fix #include statements to match. |
|
1574 |
|
1575 * Array-tc.cc: Don't instantiate ArrayRep objects. |
|
1576 |
|
1577 Thu Jan 11 02:35:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1578 |
|
1579 * tree-const.cc (tree_constant::eval (int, int, const Octave_object&)): |
|
1580 Define here instead of in tree-const.h. |
|
1581 |
|
1582 Wed Jan 10 04:34:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1583 |
|
1584 * tree-const.h (tree_constant::tree_constant (const string&): |
|
1585 * tree-const.cc (TC_REP::tree_constant_rep (const string&)): |
|
1586 New constructor. |
|
1587 |
|
1588 Tue Jan 9 04:10:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1589 |
|
1590 * rand.cc (do_rand): Use string_value() result directly instead of |
|
1591 c_str() conversion. |
|
1592 * balance.cc (Fbalance): Likewise. |
|
1593 |
|
1594 * tree-const.cc (TC_REP::string_value()): |
|
1595 Handle new definition of charMatrix::row_as_string() |
|
1596 * load-save.cc (save_ascii_data): Ditto. |
|
1597 (save_binary_data): Ditto. |
|
1598 * pr-output.cc (octave_print_internal): Ditto. |
|
1599 |
|
1600 * balance.cc (Fbalance): |
|
1601 Handle new definition of TC_REP::string_value() |
|
1602 * colloc.cc (Fcolloc): Ditto. |
|
1603 * dassl.cc (Fdassl_options): Ditto. |
|
1604 * data.cc (Fstruct_contains): Ditto. |
|
1605 * dirfns.cc (Fmkdir): Ditto. |
|
1606 (Freaddir): Ditto. |
|
1607 (Frmdir): Ditto. |
|
1608 (Frename): Ditto. |
|
1609 * error.cc (handle_message): Ditto. |
|
1610 * file-io.cc (process_printf_format): Ditto. |
|
1611 (fopen_internal): Ditto. |
|
1612 (file_io_get_file): Ditto. |
|
1613 (return_valid_file): Ditto. |
|
1614 (Flstat): Ditto. |
|
1615 (Fstat): Ditto. |
|
1616 (unlink_internal): Ditto. |
|
1617 (mkfifo_internal): Ditto. |
|
1618 (async_system_internal): Ditto. |
|
1619 (sync_system_internal): Ditto. |
|
1620 (execute_internal): Ditto. |
|
1621 (popen_internal): Ditto. |
|
1622 (fwrite_internal): Ditto. |
|
1623 (fread_internal): Ditto. |
|
1624 (do_printf): Ditto. |
|
1625 (do_scanf): Ditto. |
|
1626 * input.cc (get_user_input): Ditto. |
|
1627 * lsode.cc (Flsode_options): Ditto. |
|
1628 * npsol.cc (Fnpsol_options):Ditto. |
|
1629 * qpsol.cc (Fqpsol_options):Ditto. |
|
1630 * quad.cc (Fquad_options): Ditto. |
|
1631 * rand.cc (do_rand): Ditto. |
|
1632 * schur.cc (Fschur): Ditto. |
|
1633 * sysdep.cc (Fputenv): Ditto. |
|
1634 (Fgetenv): Ditto. |
|
1635 * timefns.cc (extract_tm): Ditto. |
|
1636 (Fstrftime): Ditto. |
|
1637 * toplev.cc (Fsource): Ditto. |
|
1638 (eval_string): Ditto. |
|
1639 (Fsystem): Ditto. |
|
1640 * tree-plot.cc (subplot::handle_plot_data): Ditto. |
|
1641 * variables.cc (is_valid_function): Ditto. |
|
1642 (Fis_global): Ditto. |
|
1643 (Fexist): Ditto. |
|
1644 (builtin_string_variable): Ditto. |
|
1645 * utils.cc (make_argv): Ditto. |
|
1646 (Fundo_string_escapes): Ditto. |
|
1647 |
|
1648 Mon Jan 8 01:54:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1649 |
|
1650 * Makefile.in (install-bin): Use $(LN_S), not just ln. |
|
1651 |
|
1652 * variables.cc (octave_fcn_file_dir): New function. |
|
1653 * tree-expr.cc (mark_as_system_fcn_file): Use it instead of |
|
1654 octave_lib_dir. |
|
1655 |
|
1656 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. |
|
1657 |
|
1658 * pr-output.cc (set_format (const ComplexMatrix&, int&, int&)): |
|
1659 Unconditionally call all_elements_are_int_or_inf_or_nan(). |
|
1660 (set_format (const Matrix&, int&, int&)): Likewise. |
|
1661 |
|
1662 Sun Jan 7 19:12:39 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1663 |
|
1664 * utils.cc (oct_putenv): New function. |
|
1665 * sysdep.cc (Fputenv): Use oct_putenv. |
|
1666 * octave.cc (initialize_globals): Likewise. |
|
1667 |
|
1668 Sat Jan 6 23:22:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1669 |
|
1670 * sysdep.cc (Fputenv): New function. |
|
1671 |
|
1672 * input.cc (initialize_readline): Call rl_initialize() here. |
|
1673 |
|
1674 * octave.cc: Conditionally define atexit to be on_exit here. |
|
1675 * toplev.cc: Not here. |
|
1676 |
|
1677 Fri Jan 5 14:01:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1678 |
|
1679 * toplev.cc: Don't include <pwd.h> here. |
|
1680 |
|
1681 * octave-hist.cc, tree-plot.cc, utils.cc: Do include "sysdep.h". |
|
1682 |
|
1683 * dirfns.cc, file-io.cc, help.cc, load-save.cc, octave.cc, |
|
1684 octave-hist.cc, tree-plot.cc, utils.cc: |
|
1685 Don't include <readline/tilde.h>. |
|
1686 * sysdep.h: Do include it here. |
|
1687 |
|
1688 * tree-const.cc (TC_REP::assign (tree_constant&, Octave_object&)): |
|
1689 If we have a matrix or range, call maybe_mutate before returning. |
|
1690 |
|
1691 Sun Dec 31 15:56:18 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1692 |
|
1693 * npsol.cc (Fnpsol): Improve doc string. |
|
1694 * qpsol.cc (Fqpsol): Likewise. |
|
1695 |
|
1696 Fri Dec 29 21:46:58 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1697 |
|
1698 * defun-dld.h: Make work again for OCTAVE_LITE and |
|
1699 WITH_DYNAMIC_LINKING. |
|
1700 |
|
1701 * Makefile.in: Handle shared libraries. |
|
1702 |
|
1703 Wed Dec 27 17:47:51 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1704 |
|
1705 * mk-oct-links: New file. |
|
1706 * Makefile.in (install-oct): Use it. |
|
1707 * f-*.cc: Rename to *.cc. |
|
1708 |
|
1709 * Makefile.in (install-bin, install-lib, install-oct): New targets. |
|
1710 (install): Use them. |
|
1711 |
|
1712 Tue Dec 26 21:38:22 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1713 |
|
1714 * toplev.cc (reading_startup_message_printed): Move initialization |
|
1715 here and make extern. |
|
1716 |
|
1717 * dirfns.cc, dynamic-ld.cc, help.cc, input.cc, octave-hist.cc, |
|
1718 octave.cc, sighandlers.cc, sysdep.cc, tree-expr.cc, tree-misc.cc, |
|
1719 utils.cc, variables.cc, parse.y, lex.l: Include toplev.h instead |
|
1720 of octave.h. |
|
1721 * toplev.h: rename from octave.h. |
|
1722 |
|
1723 * octave.cc (main): Delete unused variable saved_sigint_handler. |
|
1724 |
|
1725 Sun Dec 24 00:26:54 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1726 |
|
1727 * dynamic-ld.cc: Massive re-write to handle dlopen/dlsym and |
|
1728 shl_load/shl_findsym methods of dynamic linking. |
|
1729 |
|
1730 * utils.cc (get_fcn_file_names): Check for .oct files if |
|
1731 WITH_DYNAMIC_LINKING, not WITH_DLD. |
|
1732 |
|
1733 * Makefile.in (LIB, TERMLIBS): Substitute values. |
|
1734 (octave): Add $(LIBS) to link command and use $(TERMLIBS) instead |
|
1735 of -ltermcap. |
|
1736 |
|
1737 Sat Dec 23 21:56:12 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1738 |
|
1739 * dynamic-ld.h, dynamic-ld.cc: Remove old unused code. |
|
1740 |
|
1741 * variables.cc (load_fcn_from_file): |
|
1742 Always call load_octave_oct_file. |
|
1743 |
|
1744 Wed Dec 20 00:56:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1745 |
|
1746 * pr-output.cc (set_real_format, set_real_matrix_format, |
|
1747 set_complex_format, set_complex_matrix_format, set_range_format): |
|
1748 New functions. Ensure the count of the digits to the right of the |
|
1749 decimal point is positive. |
|
1750 |
|
1751 * xpow.cc (xpow (const Matrix&, double)): Print warning if |
|
1752 inverting singular matrix (but return value anyway, in the name of |
|
1753 compatibility). |
|
1754 xpow (const ComplexMatrix&, double)): Likewise. |
|
1755 |
|
1756 * f-inv.cc (Finv): If matrix is singular, return result anyway, in |
|
1757 the name of compatibility. |
|
1758 |
|
1759 * symtab.cc (symbol_record::pop_context): |
|
1760 Don't assert (! context.empty ()). |
|
1761 |
|
1762 * tree-const.cc (TC_REP::char_matrix_value): Don't complain about |
|
1763 type conversion if object is an empty matrix.f |
|
1764 (TC_REP::assign): If rhs is a string, don't convert to numeric |
|
1765 type if rhs is empty or "". |
|
1766 Only widen if rhs is not empty. |
|
1767 Don't return 0x0 char_matrix if it is supposed to be a string. |
|
1768 |
|
1769 * arith-ops.h, mappers.h, pr-output.h, xdiv.h, xpow.h: Include |
|
1770 oct-cmplx.h in place of forward declaration for class Complex. |
|
1771 |
|
1772 * pr-output.cc, mappers.cc, arith-ops.cc, xdiv.cc, xpow.cc, |
|
1773 utils.cc: Include "oct-cmplx.h" instead of <Complex.h>. |
|
1774 |
|
1775 * octave.cc (initialize_error_handlers): Don't call |
|
1776 set_Complex_error_handler(). |
|
1777 (octave_Complex_error_handler): Delete unused function. |
|
1778 Delete declaration for set_Complex_error_handler(). |
|
1779 |
|
1780 * sighandlers.cc (catch_interrupts): New function. |
|
1781 * octave.cc (main): Call catch_interrupts() instead of calling |
|
1782 octave_set_signal_handler() directly. |
|
1783 |
|
1784 Tue Dec 19 03:22:37 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1785 |
|
1786 * variables.cc (looks_like_octave_copyright): Also recognize the |
|
1787 string " This program is free software". |
|
1788 |
|
1789 Thu Dec 14 01:54:06 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1790 |
|
1791 * octave-hist.cc (clean_up_history): Only write history file if |
|
1792 user_pref.saving_history. |
|
1793 |
|
1794 * octave-hist.cc (initialize_history, clean_up_history, |
|
1795 do_history): Perform tilde expansion on history file name. |
|
1796 |
|
1797 * octave.cc (main): Check `defined (HAVE_ON_EXIT)' not just |
|
1798 `(HAVE_ON_EXIT)'. |
|
1799 |
|
1800 * user-prefs.h (user_preferences): New fields, `history_file' and |
|
1801 `history_size'. |
|
1802 * user-prefs.cc (init_user_prefs): Initialize them. |
|
1803 (sv_history_file, history_size): New functions. |
|
1804 * variables.cc (install_builtin_variables): Initialize user-level |
|
1805 variables history_file and history_size. |
|
1806 * octave-hist.cc (default_history_size): Now extern. |
|
1807 (default_history_file): Likewise. |
|
1808 (octave_hist_size, octave_hist_file): Use user preference |
|
1809 variables instead. |
|
1810 * octave.cc (main): Call initialize_history after |
|
1811 execute_startup_files. |
|
1812 |
|
1813 Fri Dec 8 15:53:59 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1814 |
|
1815 * user-prefs.h (user_preferences): New field, `saving_history'. |
|
1816 * user-prefs.cc (init_user_prefs): Initialize it. |
|
1817 (saving_history): New function. |
|
1818 * variables.cc (install_builtin_variables): Initialize user-level |
|
1819 variable saving_history. |
|
1820 * octave.cc (parse_and_execute): Don't reset value of |
|
1821 saving_history here. |
|
1822 (main) Use user_pref.saving_history instead of saving_history. |
|
1823 * variables.cc (parse_fcn_file): Likewise. |
|
1824 * octave-hist.cc (maybe_save_history): Likewise. |
|
1825 Don't save history if input_from_startup_file. |
|
1826 |
|
1827 Mon Nov 27 23:05:52 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1828 |
|
1829 * resource.cc: Include systime.h before <sys/resource.h>. |
|
1830 |
|
1831 Tue Nov 14 14:09:40 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
1832 |
|
1833 * error.cc: Include cstring. |
|
1834 |
|
1835 * tree-expr.cc (print_code): Decrement indent level after printing |
|
1836 function body. |
|
1837 |
|
1838 * Makefile.in: Remove references to oct-str.cc, oct-str.h, and |
|
1839 Array-string.cc. |
|
1840 |
|
1841 * tree-const.h: Don't include oct-str.h. |
|
1842 |
|
1843 Mon Nov 6 11:16:49 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
1844 |
|
1845 * parse.y (make_plot_command, finish_colon_expression, |
|
1846 make_unwind_protect, make_try_command, make_for_command, |
|
1847 make_break_command, make_continue_command, make_return_command, |
|
1848 start_if_command, finish_if_command, make_elseif_clause, |
|
1849 make_simple_assignment, make_multi_val_ret, start_function_def, |
|
1850 frob_function_def, finish_function_def, start_matrix, |
|
1851 finish_matrix): New functions. Use them in the grammar to clean |
|
1852 things up a bit. Possibly convert matrix lists, colon |
|
1853 expressions, binary expressions, and unary expressions to constant |
|
1854 values. |
|
1855 (tree_matrix_type): Delete. |
|
1856 (simple_expr1): Handle all expression stuff here, including |
|
1857 assignments. |
|
1858 (simple_expr): Just check to see that simple_expr1 produced |
|
1859 something useful. |
|
1860 |
|
1861 * tree-plot.cc, tree-plot.h: Move most simple constructors to the |
|
1862 header file. |
|
1863 |
|
1864 * tree-expr.h (tree_expression::is_constant): Move virtual |
|
1865 function definition here. |
|
1866 (tree_fvc::is_constant): From here. |
|
1867 (tree_expression::is_matrix_constant): New virtual function. |
|
1868 (tree_expression::is_range_constant): New virtual function. |
|
1869 * tree-expr.cc (tree_matrix::is_matrix_constant): New function. |
|
1870 * tree-expr.cc (tree_colon_expression::is_range_constant): New |
|
1871 function. |
|
1872 |
|
1873 Fri Nov 3 03:42:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
1874 |
|
1875 * utils.cc, utils.h (jump_to_top_level): Declare as extern "C". |
|
1876 |
|
1877 * tree-const.h (tree_constant::eval ()): Only mutate if printing. |
|
1878 |
|
1879 * tree-const.cc (TC_REP::tree_constant_rep (const Complex&), |
|
1880 TC_REP::tree_constant_rep (const ComplexMatrix&), |
|
1881 TC_REP::tree_constant_rep (const ComplexDiagMatrix&), |
|
1882 TC_REP::tree_constant_rep (const ComplexRowVector&), |
|
1883 TC_REP::tree_constant_rep (const ComplexColumnVector&)): |
|
1884 Also check to see if we can convert to scalar_constant, not just |
|
1885 complex_scalar_constant. |
|
1886 |
|
1887 * user-prefs.h (user_preferences): New field, `exec_path'. |
|
1888 * user-prefs.cc (init_user_prefs): Initialize it. |
|
1889 (sv_exec_path): New function. |
|
1890 * variables.cc (install_builtin_variables): Add DEFUN for EXEC_PATH. |
|
1891 (default_exec_path): New function. |
|
1892 * octave.cc (exec_path): New global variable. |
|
1893 Don't set and putenv() exec path here. |
|
1894 (long_opts): Add --exec-path option. |
|
1895 (main): Handle it. |
|
1896 (initialize_globals): Set default value here. |
|
1897 |
|
1898 * user-prefs.h (user_preferences): New field, `info_prog'. |
|
1899 * user-prefs.cc (init_user_prefs): Initialize it. |
|
1900 (sv_info_prog): New function. |
|
1901 * variables.cc (install_builtin_variables): Add DEFUN for INFO_PROGRAM. |
|
1902 (default_info_prog): New function. |
|
1903 * octave.cc (info_prog): New global variable. |
|
1904 (initialize_globals): Set default value here. |
|
1905 (long_opts): Add --info-prog option. |
|
1906 (main): Handle it. |
|
1907 * help.cc (try_info): Use user_pref.info_prog here. |
|
1908 |
|
1909 * octave.cc (initialize_globals): Put arch_dir and bin_dir ahead |
|
1910 of shell_path when resetting PATH. |
|
1911 |
|
1912 Thu Nov 2 04:30:13 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
1913 |
|
1914 * f-rand.cc (Frandn): New function. |
|
1915 (do_initialization): New function. |
|
1916 (do_rand): New function for doing the real work. |
|
1917 (Frand): Use it. |
|
1918 |
|
1919 * octave.cc (parse_and_execute): New arg, warn_for. If given, |
|
1920 print message if file cannot be opened. |
|
1921 Set curr_fcn_file_full_name here. |
|
1922 (Fsource): Pass extra arg to parse_and_execute to get warning message. |
|
1923 |
|
1924 * tree-const.h: Handle line and column info for double, Complex, |
|
1925 and char* constants. |
|
1926 |
|
1927 * parse.y (maybe_convert_to_ans_assign): Pass along line and |
|
1928 column info from expression. |
|
1929 |
|
1930 * parse.y (make_constant): New function. |
|
1931 (simple_expr1, word_list): Use it. |
|
1932 |
|
1933 * input.cc, input.h (curr_fcn_file_full_name): New global. |
|
1934 * variables.cc (load_fcn_from_file): Set it here. |
|
1935 * parse.y (func_def2, yyerror, maybe_warn_missing_semi): Use it. |
|
1936 (func_def2): If !reading_fcn_file, don't call strcmp if |
|
1937 curr_fcn_file_name is 0. |
|
1938 |
|
1939 * octave.cc (Fsource): New function. |
|
1940 (parse_and_execute): Declare file name const char *. |
|
1941 * input.cc (get_input_from_file): Likewise. |
|
1942 |
|
1943 Wed Nov 1 13:54:34 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
1944 |
|
1945 * f-filter.cc: New file. |
|
1946 * Makefile.in (DLD_SRC): Add it to the list. |
|
1947 |
|
1948 * sysdep.h (gethostname): Change declaration to match definition |
|
1949 in sysdep.cc. |
|
1950 |
|
1951 * resource.cc: Include sysdep.h here, for octave_NaN. |
|
1952 |
|
1953 Tue Oct 31 02:12:18 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
1954 |
|
1955 * tree-const.cc (TC_REP::assign): After converting rhs to a |
|
1956 numeric type, use the converted value, not the original. |
|
1957 |
|
1958 * dirfns.cc (Fpwd): If nargout == 0, print the directory name |
|
1959 instead of returning it. |
|
1960 |
|
1961 * pager.cc (maybe_page_output): Call maybe_write_to_diary_file here. |
|
1962 (flush_output_to_pager): Not here. |
|
1963 |
|
1964 Mon Oct 30 23:39:43 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
1965 |
|
1966 * variables.cc (install_builtin_commands): Add DEFVAR for |
|
1967 echo_executing_commands. |
|
1968 |
|
1969 * octave-hist.cc (do_edit_history): Handle new echo stuff. |
|
1970 * variables.cc (parse_fcn_file): Likewise. |
|
1971 * octave.cc (parse_and_execute): Likewise. |
|
1972 (main): Likewise. |
|
1973 * input.cc (do_input_echo): |
|
1974 (Fecho): New function. |
|
1975 |
|
1976 * tree-expr.cc (tree_function::print_code_function_header, |
|
1977 tree_function::print_code_function_trailer): New functions. |
|
1978 (tree_function::print_code): Use them. |
|
1979 (tree_function::eval): Likewise, if echoing commands. |
|
1980 * tree-misc.cc (tree_statement::maybe_echo_code): New function. |
|
1981 |
|
1982 * user-prefs.h (user_preferences): New field, echo_executing_commands. |
|
1983 (echo_state): New enum, for various types of echoing we do. |
|
1984 * user-prefs.cc (echo_executing_commands): New function. |
|
1985 |
|
1986 * tree-base.cc (print_code_indent): Print PS4 as line prefix. |
|
1987 * help.cc (Ftype): Add unwind_protect for ps4 and set it to "" |
|
1988 before printing code. |
|
1989 |
|
1990 * tree-misc.h (tree_statement_list): New field, function_body. |
|
1991 (tree_statement_list::mark_as_function_body): New function. |
|
1992 * parse.y (func_def3): Mark function bodies. |
|
1993 |
|
1994 * pr-output.cc (octave_print_internal): Undo string escapes when |
|
1995 printing charMatrix as strings. |
|
1996 |
|
1997 Sat Oct 28 17:38:29 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
1998 |
|
1999 * utils.h (undo_string_escapes): Add missing const in declaration. |
|
2000 |
|
2001 Fri Oct 27 03:49:44 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2002 |
|
2003 * file-io.cc (next_available_file_number): New stack for keeping |
|
2004 track of next available file number. |
|
2005 (get_next_avail_file_num): New function. |
|
2006 (fopen_file_for_user, fopen_internal, popen_internal, |
|
2007 execute_internal): Use it. |
|
2008 |
|
2009 Mon Oct 23 07:00:09 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2010 |
|
2011 * tree-const.cc (TC_REP::convert_to_matrix_type, |
|
2012 tree_constant::convert_to_matrix_type): New arg, make_complex. |
|
2013 (TC_REP::set_index): New arg, rhs_is_complex. Pass it to |
|
2014 convert_to_matrix_type. |
|
2015 (TC_REP::assign): Pass rhs.is_complex_type() to set_index. |
|
2016 |
|
2017 Thu Oct 19 00:38:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2018 |
|
2019 * xpow.cc: Include <climits>. |
|
2020 |
|
2021 * sysdep.cc (Fpause): Do pause even if not interactive. |
|
2022 |
|
2023 * tree-const.cc (TC_REP::assign): Don't make RHS numeric if both |
|
2024 RHS and LHS are strings. |
|
2025 |
|
2026 Wed Oct 18 22:19:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2027 |
|
2028 * f-expm.cc (Fexpm): Avoid taking log of negative number. Also, |
|
2029 don't unnecessarily divide the input matrix by 1.0. |
|
2030 |
|
2031 * input.cc (decode_prompt_string): Recognize \[ and \] too. |
|
2032 (initialize_readline): Bind M-p to history-search-backward and M-n |
|
2033 to history-search-forward. |
|
2034 |
|
2035 Tue Oct 17 04:31:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2036 |
|
2037 * xpow.cc (xpow): Handle integer powers better for complex^double. |
|
2038 (elem_xpow): Likewise. |
|
2039 |
|
2040 * lex.l ({CCHAR}): If nesting_level.top() is BRACE, return ';', |
|
2041 not '\n'. |
|
2042 |
|
2043 Mon Oct 16 19:03:45 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2044 |
|
2045 * help.cc (Fwhich): Fix doc string. |
|
2046 |
|
2047 * variables.cc (Fexist): Update doc string. |
|
2048 |
|
2049 Sun Oct 15 22:19:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2050 |
|
2051 * Another massive set of changes to support character matrices |
|
2052 with indexing. The Octave_str_object class is no longer used. |
|
2053 Anything having to do with Octave_str_object in the following |
|
2054 files has been changed to use charMatrix instead: octave.h, |
|
2055 load-save.cc, octave.cc, strfns.cc, data.cc, pr-output.h, |
|
2056 pr-output.cc, tree-const.h, dirfns.cc, tree-const.cc, |
|
2057 tree-expr.cc. |
|
2058 |
|
2059 Sat Oct 14 22:28:18 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2060 |
|
2061 * f-sort.cc (mx_sort): Don't attempt to sort vectors that have |
|
2062 only one element, or matrices that have only one row. |
|
2063 |
|
2064 Thu Oct 12 02:16:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2065 |
|
2066 * mappers.cc (install_mapper_functions): Add gammaln as an alias |
|
2067 for lgamma. |
|
2068 |
|
2069 * tree-const.h, tree-const.cc: Massive overhaul of indexing and |
|
2070 indexed assignment functions. |
|
2071 * tc-inlines.h, tc-rep.h: Remove files. |
|
2072 * Makefile.in: Remove mention of them here too. |
|
2073 |
|
2074 * Makefile.in: Include $(TI_SRC) in DEP_SOURCES_3, not |
|
2075 $(TI_SOURCES). |
|
2076 Include $(DLD_SRC) in DEP_SOURCES_3. |
|
2077 Include $(TI_SRC) in DEF_FILES_5. |
|
2078 |
|
2079 Wed Oct 11 01:26:18 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2080 |
|
2081 * Makefile.in (INCLUDES): Remove tc-inlines.h and tc-rep.h from |
|
2082 the list. |
|
2083 |
|
2084 Mon Oct 9 08:31:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2085 |
|
2086 * lex.l (next_token_is_bin_op): Do match `.+', `.*', etc. |
|
2087 |
|
2088 Sun Oct 8 18:19:56 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2089 |
|
2090 * idx-vector.h, idx-vector.cc: Delete files. |
|
2091 * Makefile.in (SOURCES, INCLUDES): Remove them from lists. |
|
2092 |
|
2093 Fri Oct 6 00:52:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2094 |
|
2095 * f-svd.cc (Fsvd): If nargout == 0 or nargout == 1, don't ask for |
|
2096 U and V. |
|
2097 |
|
2098 Wed Oct 4 00:04:57 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2099 |
|
2100 * f-npsol.cc (Fnpsol, Fnpsol_options): Avoid unused variable |
|
2101 warnings if NPSOL_MISSING. |
|
2102 * f-qpsol.cc (Fqpsol, Fqpsol_options): Likewise for QPSOL_MISSING. |
|
2103 |
|
2104 * Makefile.in (DISTFILES): Add octave.gperf. |
|
2105 |
|
2106 * lex.l (next_token_is_bin_op): Don't ever return true for `.' |
|
2107 since that causes problems with things like [ .1 .1 ]. |
|
2108 |
|
2109 Tue Oct 3 05:30:24 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2110 |
|
2111 * variables.cc (is_valid_function): Avoid setting error_state if |
|
2112 argument is not a string. |
|
2113 |
|
2114 * parse.y (maybe_warn_missing_semi): New function. |
|
2115 (list1, list): Call it if statement not terminated by semicolon. |
|
2116 * tree-misc.h (tree_statement::line, tree_statement::column): |
|
2117 New functions. |
|
2118 * octave.cc (input_from_command_line_file): New global variable. |
|
2119 (main): Set it. |
|
2120 (parse_and_execute): Unwind-protect it and set it to zero. |
|
2121 (eval_string): Likewise. |
|
2122 * variables.cc (parse_fcn_file): Likewise. |
|
2123 |
|
2124 * user-prefs.cc (warn_missing_semicolon): New function. |
|
2125 * user-prefs.h (user_preferences): New field, warn_missing_semicolon. |
|
2126 * variables.cc (install_builtin_variables): DEFVAR it. |
|
2127 |
|
2128 * tree-expr.cc (tree_expression::is_logically_true): Actually use |
|
2129 argument. |
|
2130 |
|
2131 Mon Oct 2 19:55:48 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2132 |
|
2133 * variables.cc (install_builtin_variables): Reduce the default |
|
2134 value of save_precision to 15. |
|
2135 |
|
2136 * variables.cc (builtin_real_scalar_variable): Return 1 for |
|
2137 success, 0 for failure. |
|
2138 |
|
2139 * user-prefs.cc (struct_levels_to_print, set_save_precision, |
|
2140 set_output_max_field_width, set_output_precision): |
|
2141 Change sense of test for builtin_real_scalar_variable return value. |
|
2142 (check_preference): Rename from check_str_pref. Change all callers. |
|
2143 Accept value of 0 to be the same as "false" and nonzero to be the |
|
2144 same as "true". |
|
2145 Delete val to avoid memory leak. |
|
2146 * variables.cc (install_builtin_variables): Change initial values |
|
2147 from "true" to 1, "false" to 0. |
|
2148 |
|
2149 * variables.cc (install_builtin_variables): Add DEFVAR for |
|
2150 gnuplot_has_multiplot. |
|
2151 |
|
2152 * user-prefs.h (user_preferences): New field, |
|
2153 `gnuplot_has_multiplot'. |
|
2154 * user-prefs.cc (init_user_prefs): Initialize it. |
|
2155 (gnuplot_has_multiplot): New function. |
|
2156 |
|
2157 Sat Sep 30 16:52:57 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2158 |
|
2159 * oct-gperf.h, octave.gperf: Newfiles. |
|
2160 * Makefile.in (DISTFILES): Add octave.gperf. |
|
2161 (INCLUDES): Add oct-gperf.h. |
|
2162 (oct-gperf.h): New rule. |
|
2163 (local-dist, dist): Depend on oct-gperf.h. |
|
2164 * lex.l (is_keyword): Use perfect hash function to lookup |
|
2165 keywords. |
|
2166 |
|
2167 Fri Sep 29 04:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2168 |
|
2169 * version.h (OCTAVE_NAME_AND_VERSION): Add TARGET_HOST_TYPE to this. |
|
2170 |
|
2171 Thu Sep 28 00:03:51 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2172 |
|
2173 * tree-expr.cc (tree_expression::is_logically_true): New function. |
|
2174 * tree-cmd.cc (tree_while_command::eval): Use it instead of |
|
2175 handling the test directly here. |
|
2176 * tree-misc.cc (tree_if_clause::eval): Likewise |
|
2177 |
|
2178 * tree-const.cc (TC_REP::force_numeric): Don't try to print value |
|
2179 of str_obj with %s. |
|
2180 |
|
2181 * error.cc (buffer_error_messages): Rename from |
|
2182 suppress_octave_error_messages. |
|
2183 (error_message_buffer): New global variable. |
|
2184 (verror): Handle buffering of messages. |
|
2185 (handle_message): New function. |
|
2186 (Ferror, Fwarning, Fusage): Use it instead of duplicating code. |
|
2187 |
|
2188 * octave.cc (Feval): Buffer error messages instead of supressing them. |
|
2189 |
|
2190 * lex.l (is_keyword): Recognize `try', `catch', and `end_try_catch'. |
|
2191 * parse.y (TRY, CATCH): New tokens. |
|
2192 (command): Recognize try-catch block. |
|
2193 (end_error): Add cases for unwind_protect_end and try_catch_end. |
|
2194 * token.h (end_tok_type): New field, try_catch_end. |
|
2195 * tree-cmd.h, tree-cmd.cc (tree_try_catch): New class. |
|
2196 * variables.cc (bind_global_error_variable): New Function. |
|
2197 (clear_global_error_variable): Likewise. |
|
2198 (install_builtin_variables): Add DEFCONST for __error_text__. |
|
2199 * help.cc (keywords): Add `try', `catch', and `end_try_catch'. |
|
2200 |
|
2201 * tree-cmd.cc (tree_unwind_protect::eval): Undo previous change. |
|
2202 |
|
2203 * dirfns.cc (Freaddir, Fmkdir, Frmdir): |
|
2204 Do tilde expansion on the argument. |
|
2205 |
|
2206 Tue Sep 26 00:10:29 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2207 |
|
2208 * f-dassl.cc, f-fsolve.cc, f-lsode.cc, f-npsol.cc, f-quad.cc: |
|
2209 Don't try to figure out if the user-supplied functions take the |
|
2210 correct number of arguments. Simply let the call fail. |
|
2211 * variables.cc (takes_correct_nargs): Delete unused function. |
|
2212 * tree-expr.cc (tree_builtin::eval): Don't complain for too many |
|
2213 arguments to mapper functions. |
|
2214 * tree-expr.h, tree-expr.cc (tree_builtin, tree_function, tree_fvc): |
|
2215 Delete unused function max_expected_args. |
|
2216 |
|
2217 * defun.h (DEFUN): Delete unnecessary args nargin_min and nargout_max. |
|
2218 New arg unused_arg_flags. |
|
2219 (DEFUN_TEXT): Likewise. |
|
2220 * defun-dld.h (DEFUN_DLD_BUILTIN): Likewise. |
|
2221 * defun-int.h (DEFUN_INTERNAL, DECLARE_FUN, DEFINE_FUN_STRUCT): |
|
2222 Do the real work. |
|
2223 |
|
2224 * data.cc, dirfns.cc, dynamic-ld.cc, error.cc, f-balance.cc, |
|
2225 f-chol.cc, f-colloc.cc, f-dassl.cc, f-det.cc, f-eig.cc, f-expm.cc, |
|
2226 f-fft.cc, f-fft2.cc, f-find.cc, f-fsolve.cc, f-fsqp.cc, |
|
2227 f-givens.cc, f-hess.cc, f-ifft.cc, f-ifft2.cc, f-inv.cc, f-log.cc, |
|
2228 f-lpsolve.cc, f-lsode.cc, f-lu.cc, f-minmax.cc, f-npsol.cc, |
|
2229 f-pinv.cc, f-qpsol.cc, f-qr.cc, f-quad.cc, f-qzval.cc, f-rand.cc, |
|
2230 f-schur.cc, f-sort.cc, f-svd.cc, f-syl.cc, file-io.cc, help.cc, |
|
2231 input.cc, lex.l, load-save.cc, mappers.cc, octave-hist.cc, |
|
2232 octave.cc, octave.h, pager.cc, pr-output.cc, resource.cc, |
|
2233 sighandlers.cc, strfns.cc, sysdep.cc, timefns.cc, token.cc, |
|
2234 tree-const.cc, tree-expr.cc, tree-expr.h, tree-plot.cc, |
|
2235 unwind-prot.cc, unwind-prot.h, utils.cc, variables.cc, |
|
2236 variables.h, version.h, xdiv.cc: |
|
2237 Avoid unused variable warnings. |
|
2238 |
|
2239 * tree-expr.h (tree_oct_obj::print_value (ostream&)): |
|
2240 Delete name of unused arg. |
|
2241 (tree_fvc::save (ostream&, int, int): Likewise. |
|
2242 |
|
2243 * tree-const.h (tree_constant::tree_constant (magic_colon)): |
|
2244 Delete name of unused arg. |
|
2245 (tree_constant::tree_constant (all_va_args)): Likewise |
|
2246 (ColumnVector vector_value (int, int)): Likewise. |
|
2247 (ComplexColumnVector vector_value (int, int)): Likewise. |
|
2248 (Octave_object::eval (int, int, const Octave_object&): Likewise. |
|
2249 |
|
2250 * octave.cc (execute_startup_files): Look for octaverc first in |
|
2251 site/m, then in $(version)/m. |
|
2252 * variables.cc (get_local_site_defaults): New function. |
|
2253 * defaults.h.in (OCTAVE_LOCALFCNFILEDIR, OCTAVE_LOCALSTARTUPFILEDIR): |
|
2254 New macros. |
|
2255 * Makefile.in (defaults.h): Also substitute ${localfcndir}. |
|
2256 |
|
2257 Mon Sep 25 17:01:03 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2258 |
|
2259 * variables.cc (install_builtin_variables): Add DEFCONST for "e". |
|
2260 |
|
2261 Fri Sep 22 02:18:45 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2262 |
|
2263 * dirfns.cc (Fls): Delete ls_command after using it, not before. |
|
2264 |
|
2265 * input.h, input.cc (gnu_readline): Don't declare gnu_readline |
|
2266 `extern "C"'. |
|
2267 |
|
2268 * sysdep.h: Only declare gethostname if it is missing, then don't |
|
2269 declare it `extern "C"'. |
|
2270 |
|
2271 * dirfns.cc: Don't declare strerror(). |
|
2272 |
|
2273 * input.cc (command_generator): Use malloc, not xmalloc. Don't |
|
2274 declare xmalloc. |
|
2275 (gnu_readline): Don't declare this `extern "C"'. |
|
2276 |
|
2277 * octave-hist.cc: Don't declare history_get(). It is now in |
|
2278 readline/history.h. |
|
2279 |
|
2280 * input.cc: Don't declare history_get(). It is now in |
|
2281 readline/readline.h. |
|
2282 |
|
2283 * resource.cc: Don't surround include of sys/resource.h in |
|
2284 `extern "C" { }'. |
|
2285 |
|
2286 * fnmatch.h [__cplusplus]: Surround contents in `extern "C" { }'. |
|
2287 * load-save.cc, symtab.cc, variables.cc: Don't surround |
|
2288 fnmatch.h include in `extern "C" { }'. |
|
2289 |
|
2290 * help.cc: Don't #undef __FUNCTION_DEF before including |
|
2291 readline/tilde.h. |
|
2292 |
|
2293 * dirfuns.cc, file-io.cc, help.cc, load-save.cc, octave-hist.cc, |
|
2294 sysdep.cc, tree-plot.cc, utils.cc, variables.cc: |
|
2295 Don't surround readline includes in `extern "C" { }'. |
|
2296 |
|
2297 * sysdep.cc: Move all include statements to top of file. |
|
2298 |
|
2299 Tue Sep 19 01:58:21 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2300 |
|
2301 * octave.cc (Fsystem): Use iprocstream *, and unwind_protect it. |
|
2302 * pager.cc (flush_output_to_pager): Likewise. |
|
2303 * dirfns.cc (Fls): Likewise. |
|
2304 * tree-plot.cc (plot_stream): Now a pointer. |
|
2305 (open_plot_stream): Deal with it. |
|
2306 (send_to_plot_stream, cleanup_tmp_files, do_external_plotter_cd): |
|
2307 Likewise. |
|
2308 |
|
2309 * procstream.cc (cleanup_iprocstream, cleanup_oprocstream): |
|
2310 New functions. |
|
2311 |
|
2312 * procstream.h, procstream.cc (class iprocstream, class oprocstream): |
|
2313 Keep track of pbuf. Initialize it to 0 in default constructors, |
|
2314 delete it in destructor. Don't call close in destructor. |
|
2315 |
|
2316 * sighandlers.cc (octave_set_signal_handler): New function. |
|
2317 Use this name instead of signal everywhere. |
|
2318 * help.cc (try_info): Likewise. |
|
2319 * pager.cc (flush_output_to_pager): Likewise. |
|
2320 * octave.cc (main): Likewise. |
|
2321 * octave-hist.cc (do_edit_history): Likewise. |
|
2322 |
|
2323 * input.cc (initialize_readline): Set rl_paren_string_delimiters |
|
2324 to avoid treating single quotes as string delimiters when doing |
|
2325 paren matching. |
|
2326 |
|
2327 * Makefile.in (SOURCES): Don't list Map.cc or SLStack.cc here. |
|
2328 |
|
2329 * tree-const.cc: Do include utils.h. |
|
2330 |
|
2331 * sysdep.cc: Don't surround terminal includes in extern "C". |
|
2332 Include them before readline.h. |
|
2333 |
|
2334 * Map.h: Don't include utils.h. |
|
2335 (CHNode::CHNode (const char*, const C&, CHNode *t): |
|
2336 Do strsave() inline. |
|
2337 |
|
2338 * input.cc (generate_possible_completions): Generate name list |
|
2339 even when text == 0. |
|
2340 (operate_and_get_next): Don't declare history_stifled, call |
|
2341 history_is_stifled () instead. |
|
2342 Don't declare history_length, or max_input_history either. |
|
2343 Check (where >= history_length - 1) too, as in recent versions of |
|
2344 bash. |
|
2345 |
|
2346 * user-prefs.h (user_prefs): New field, `completion_append_char'. |
|
2347 * user-prefs.cc (init_user_prefs): Initialize it. |
|
2348 (sv_completion_append_char): New function. |
|
2349 * variables.cc (install_builtin_variables): Install |
|
2350 completion_append_char. |
|
2351 * input.cc (command_generator): Use it. |
|
2352 |
|
2353 * SLList-expr.cc, SLList-misc.cc, SLList-plot.cc, SLList-tc.cc, |
|
2354 DLList-fi.cc: Include config.h. |
|
2355 * DLList-fi.cc: Include file-info.h, not file-io.h. |
|
2356 |
|
2357 Mon Sep 18 11:01:24 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2358 |
|
2359 * octave.h (clean_up_and_exit): Tag with NORETURN instead of using |
|
2360 typedef trick. |
|
2361 * error.h (panic): Likewise. |
|
2362 * utils.h (jump_to_top_level): Likewise. |
|
2363 |
|
2364 * file-io.h: Protect from multiple includes with octave_file_io, |
|
2365 not octave_files. |
|
2366 |
|
2367 * file-info.h (class file_info): Convert to using std C++ string |
|
2368 class from char *. |
|
2369 * file-info.cc: Likewise. Don't include utils.h. |
|
2370 * file-io.cc (return_valid_file, fopen_file_for_user, |
|
2371 fflush_internal, do_scanf): Use operator ==, not strcmp. |
|
2372 (close_files): Call error with file.name ().data (), |
|
2373 not file.name (). |
|
2374 (freport_internal): Call form with file.mode ().data () and |
|
2375 file.name ().data (). |
|
2376 |
|
2377 * file-io.cc, file-io.h: Extract file_info class. |
|
2378 * file-info.cc, file-info.h: New files for file_info class. |
|
2379 |
|
2380 * user-prefs.h (user_prefs): New field, `beep_on_error'. |
|
2381 * user-prefs.cc (init_user_prefs): Initialize it. |
|
2382 (beep_on_error): New function. |
|
2383 * variables.cc (install_builtin_variables): Install beep_on_error. |
|
2384 * octave.cc (maximum_braindamage): Set beep_on_error to "true". |
|
2385 * error.cc (verror): Conditionally beep. |
|
2386 (error): Don't reset error_state until after verror is called. |
|
2387 |
|
2388 Sun Sep 17 16:41:25 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2389 |
|
2390 * load-save.cc (read_mat_binary_data, read_ascii_data, |
|
2391 save_ascii_data, read_binary_data, save_binary_data): |
|
2392 Handle string arrays. |
|
2393 |
|
2394 Fri Sep 15 00:24:19 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2395 |
|
2396 * user-prefs.cc (struct_levels_to_print, |
|
2397 set_output_max_field_width, set_output_precision, |
|
2398 set_save_precision): Eliminate unecessary kludge variable. |
|
2399 |
|
2400 * variables.cc (gobble_leading_white_space): New arg, |
|
2401 in_parts. Change all callers. |
|
2402 |
|
2403 * lex.l (HELP_FCN): Delete start state. The `help' command is now |
|
2404 handled the same as any other text-style function. |
|
2405 |
|
2406 * gripes.cc (gripe_invalid_value_specified): New function |
|
2407 * user-prefs.cc: Use it. |
|
2408 |
|
2409 * sysdep.cc (octave_words_big_endian): New global variable. |
|
2410 (ten_little_endians): New function. |
|
2411 (sysdep_init): Call it. |
|
2412 * load-save.cc (words_big_endian): Use this at run-time instead of |
|
2413 depending on WORDS_BIGENDIAN at compile-time. |
|
2414 |
|
2415 * symtab.h (SYMTAB_VARIABLES): New macro. |
|
2416 * variables.cc (Fclear): Use it instead of just |
|
2417 symbol_def::USER_VARIABLE when looking for variables. |
|
2418 |
|
2419 * octave.cc (main): If there is a file to execute, set |
|
2420 program_invocation_name and program_name to the name of the file |
|
2421 and argv to the remaining args. |
|
2422 (intern_argv): Only define argv if there are some remaining |
|
2423 arguments. |
|
2424 |
|
2425 * defun.h (DEFVAR_INT): New macro. |
|
2426 (DEFVAR): Define in terms of DEFVAR_INT. Delete args protect and |
|
2427 eternal. |
|
2428 (DEFCONST): New macro. |
|
2429 * variables.cc (install_builtin_variables): Use DEFCONST where |
|
2430 appropriate, change uses of DEFVAR to match new definition. |
|
2431 |
|
2432 * variables.cc (bind_builtin_variable): New variant that accepts |
|
2433 const tree_constant& value. |
|
2434 (install_builtin_variables): Properly alphabetize DEFVAR for this. |
|
2435 |
|
2436 * octave.cc (short_opts): Prefix with `+' to prevent argv |
|
2437 permutation. |
|
2438 (main): Don't use readline if forced_interactive. |
|
2439 (traditional): New file-scope variable. |
|
2440 (long_opts, usage_string, verbose_usage): Add `--traditional'. |
|
2441 (maximum_braindamage): New function. |
|
2442 (main): Call it if --traditional. |
|
2443 |
|
2444 * input.cc (do_input_echo): Print prompt correctly when |
|
2445 forced_interactive is either true or false. |
|
2446 |
|
2447 Thu Sep 14 00:54:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2448 |
|
2449 * data.cc (Fstruct_elements): New function. |
|
2450 |
|
2451 * file-io.cc (Fumask): New function. |
|
2452 |
|
2453 * dirfns.cc (Fmkdir, Frmdir, Frename): New functions. |
|
2454 |
|
2455 * Makefile.in: Add rules and dependencies for building safe-stat.o |
|
2456 and safe-lstat.o. |
|
2457 |
|
2458 * mkdir.c, rename.c, rmdir.c: New files. |
|
2459 * Makefile.in (SOURCES): Include them in the list. |
|
2460 |
|
2461 * safe-xstat.hin, safe-xstat.cin: New files |
|
2462 * Makefile.in (DISTFILES): Include them in the list. |
|
2463 |
|
2464 * sighandlers.cc (octave_new_handler): Try to continue on memory |
|
2465 exhausted errors. |
|
2466 (sigfpe_handler): Improve error message. |
|
2467 |
|
2468 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. |
|
2469 |
|
2470 * dirfns.cc (Freaddir): New function. |
|
2471 |
|
2472 * f-sort.cc: Complete rewrite. Now uses stable sort algorithm and |
|
2473 correctly handles complex matrices containing columns of all real |
|
2474 numbers. |
|
2475 |
|
2476 Wed Sep 13 03:16:40 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2477 |
|
2478 * arith-ops.cc: Unconditionally #define DIVIDE_BY_ZERO_ERROR. |
|
2479 |
|
2480 * variables.cc (install_builtin_variables): Unconditionally |
|
2481 install NaN and nan. |
|
2482 |
|
2483 * mappers.cc (xisinf): Don't do bogus things if isinf, isnan, or |
|
2484 finite are missing. |
|
2485 (xfinite): Likewise. |
|
2486 |
|
2487 * sysdep.cc (octave_ieee_init): Don't set octave_NaN and |
|
2488 octave_Inf if values are not available. |
|
2489 |
|
2490 * resource.cc (mk_ru_map): Don't use ru_ or tv_ as prefixes to |
|
2491 Octave names for the structure members. |
|
2492 |
|
2493 Tue Sep 12 02:04:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2494 |
|
2495 * procstream.h, procstream.cc: Rewrite. |
|
2496 |
|
2497 Mon Sep 11 18:42:05 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2498 |
|
2499 * filemode.c: New file, from Emacs. |
|
2500 * Makefile.in (SOURCES): Add it to the list. |
|
2501 |
|
2502 * file-io.cc (Fstat, Flstat, mk_stat_map): New functions. |
|
2503 |
|
2504 * timefns.cc (mk_tm_map): Don't use tm_ as prefix to Octave names |
|
2505 for these structure members. |
|
2506 (extract_tm): Likewise. |
|
2507 (Flocaltime): Fix doc string to match. |
|
2508 |
|
2509 Thu Sep 7 02:04:27 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2510 |
|
2511 * load-save.cc (save_user_variables): New function. |
|
2512 * sighandlers.cc (my_friendly_exit): Call it before exiting. |
|
2513 (sigfpe_handler): New function. |
|
2514 (install_signal_handlers) [__alpha__]: Install it. |
|
2515 |
|
2516 Wed Sep 6 14:35:10 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2517 |
|
2518 * tree-cmd.cc (tree_unwind_protect::eval): Ignore errors and |
|
2519 suppress error messages while executing first block of |
|
2520 unwind_protect commands. |
|
2521 |
|
2522 * parse.y (end_error): Add missing case for unwind_protect_end. |
|
2523 |
|
2524 * tree-expr.cc (tree_builtin::eval): Complain if no arguments |
|
2525 given for mapper functions. |
|
2526 (tree_fvc::lookup_map_element): Print error message for invalid |
|
2527 structure reference. |
|
2528 |
|
2529 Tue Sep 5 02:04:12 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2530 |
|
2531 * file-io.cc, input.cc, load-save.cc, octave.cc, sysdep.cc, |
|
2532 variables.cc, octave-hist.cc, utils.cc, f-schur.cc, f-rand.cc, |
|
2533 f-quad.cc, f-qpsol.cc, f-npsol.cc, f-lsode.cc, f-fsolve.cc, |
|
2534 f-dassl.cc, f-colloc.cc, f-balance.cc, error.cc, data.cc: |
|
2535 Add const qualifiers where appropriate. |
|
2536 |
|
2537 * dirfns.h: Include <ctime>, for time_t. |
|
2538 |
|
2539 * tempname.c, file-io.cc, help.cc, input.cc, octave-hist.cc, |
|
2540 octave.cc, sighandlers.cc, sysdep.cc, tree-expr.cc, tree-misc.cc, |
|
2541 tree-plot.cc, utils.cc, variables.cc, sysdir.h: |
|
2542 Move #include <sys/type.h> inside #ifdef HAVE_UNISTD_H. |
|
2543 |
|
2544 * syswait.h: New file. |
|
2545 * Makefile.in (INCLUDES): Add it to the list. |
|
2546 * file-io.cc, sighandlers.cc: Use it instead of including |
|
2547 sys/wait.h directly. |
|
2548 |
|
2549 * octave.cc: Include statdefs.h, not sys/stat.h. |
|
2550 |
|
2551 * sysdir.h: New file. |
|
2552 * Makefile.in (INCLUDES): Add it to the list. |
|
2553 * dirfns.cc, utils.cc: Use it instead of including the headers |
|
2554 directly. |
|
2555 |
|
2556 * pathlen.h: New file. |
|
2557 * Makefile.in (INCLUDES): Add it to the list. |
|
2558 * dirfns.cc, input.cc: Use it instead of including sys/param.h |
|
2559 directly. |
|
2560 * utils.cc: Don't include sys/param.h |
|
2561 |
|
2562 Sun Sep 3 18:52:59 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2563 |
|
2564 * tree-const.cc (TC_REP::string_value): Return const char*, not |
|
2565 char *. |
|
2566 |
|
2567 * All .cc, .y, .l, .y files: Include <cctype>, not <ctype.h>, and |
|
2568 so on for all new C++ versions of these standard C headers. |
|
2569 |
|
2570 Thu Aug 31 17:09:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2571 |
|
2572 * pathsearch.h: Also hide `string'. |
|
2573 |
|
2574 * oct-str.cc, oct-str.h: New files. |
|
2575 * Makefile.in: Add to the appropriate lists. |
|
2576 * tc-rep.h: Change char* to Octave_string* in anonymous union. |
|
2577 * tree-expr.cc (tree_matrix::eval): Handle multiple element strings. |
|
2578 * strfns.cc (toascii): Likewise. |
|
2579 * tree-const.cc (print_as_string): Likewise. |
|
2580 (TC_REP::force_numeric, TC_REP::rows, TC_REP::columns, |
|
2581 TC_REP::double_value, TC_REP::complex_value, TC_REP::matrix_value, |
|
2582 TC_REP::complex_matrix_value, TC_REP::convert_to_str): Likewise. |
|
2583 (TC_REP::print): Call octave_print_internal for string case. |
|
2584 (all_strings): New function. |
|
2585 Fix constructors to use new data structure. |
|
2586 * pr-output.cc (octave_print_internal): Add version for strings. |
|
2587 * Array-string.cc: New file. |
|
2588 |
|
2589 * octave.cc (octave_argv): New global variable. |
|
2590 (intern_argv): New function. |
|
2591 (main): Fix argument parsing to do the right thing for arguments |
|
2592 to executable scripts. |
|
2593 * variables.cc: Add DEFUNs for argv, program_invocation_name, and |
|
2594 program_name. |
|
2595 |
|
2596 * defun.h (DEFVAR): Fix comment. |
|
2597 |
|
2598 Thu Aug 24 00:02:00 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2599 |
|
2600 * file-io.cc (fgets_internal): Make second arg optional. Add |
|
2601 optional arg `strip_final_newline'. |
|
2602 (Ffgets): Change to match new definition of fgets_internal. |
|
2603 (Ffgetl): Implement using the new fgets_internal. |
|
2604 |
|
2605 * f-rand.cc (Frand): Update code for sizing return value to match |
|
2606 that used by ones, zeros, and eye. |
|
2607 |
|
2608 Wed Aug 23 19:52:45 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2609 |
|
2610 * tree-const.cc (do_vector_assign): Don't crash for |
|
2611 A(range) = scalar, or A(matrix) = scalar. |
|
2612 |
|
2613 * f-dassl.cc (set_dassl_option): Rename from do_dassl_option. |
|
2614 (show_dassl_option): New function. |
|
2615 (Fdassl_options): Handle single arg. |
|
2616 * f-fsolve.cc (set_fsolve_option): Rename from do_fsolve_option. |
|
2617 (show_fsolve_option): New function. |
|
2618 (Ffsolve_options): Handle single arg. |
|
2619 * f-fsqp.cc (set_fsqp_option): Rename from do_fsqp_option. |
|
2620 (show_fsqp_option): New function. |
|
2621 (Ffsqp_options): Handle single arg. |
|
2622 * f-lpsolve.cc (set_lpsolve_option): Rename from do_lpsolve_option. |
|
2623 (show_lpsolve_option): New function. |
|
2624 (Flpsolve_options): Handle single arg. |
|
2625 * f-lsode.cc (set_lsode_option): Rename from do_lsode_option. |
|
2626 (show_lsode_option): New function. |
|
2627 (Flsode_options): Handle single arg. |
|
2628 * f-npsol.cc (set_npsol_option): Rename from do_npsol_option. |
|
2629 (show_npsol_option): New function. |
|
2630 (Fnpsol_options): Handle single arg. |
|
2631 * f-qpsol.cc (set_qpsol_option): Rename from do_qpsol_option. |
|
2632 (show_qpsol_option): New function. |
|
2633 (Fqpsol_options): Handle single arg. |
|
2634 * f-quad.cc: (set_quad_option): Rename from do_quad_option. |
|
2635 (show_quad_option): New function. |
|
2636 (Fquad_options): Handle single arg. |
|
2637 (Fquad): Doc fix. |
|
2638 |
|
2639 Tue Aug 22 00:38:05 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2640 |
|
2641 * tree-plot.cc (do_external_plotter_cd): New function. |
|
2642 * dirfns.cc (octave_change_to_directory): New function. If cd is |
|
2643 successful, also call do_external_plotter_cd(). |
|
2644 (Fcd): Call octave_change_to_directory(), not change_to_directory(). |
|
2645 |
|
2646 * pr-output.cc (pr_any_float): Change declaration of counter to |
|
2647 size_t to avoid gcc warnings. |
|
2648 |
|
2649 * idx-vector.cc, octave-hist.cc, tree-const.cc, tree-expr.cc, |
|
2650 tree-misc.cc, utils.cc, xpow.cc, Map.cc: |
|
2651 Update for change in for loop variable scope for gcc 2.7.0. |
|
2652 |
|
2653 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2654 |
|
2655 * tree-const.cc (fortran_style_matrix_assignment): Properly handle |
|
2656 case of complex LHS, real RHS. |
|
2657 |
|
2658 * Makefile.in: Only include dependency files if $(omit_deps) is |
|
2659 not set. |
|
2660 |
|
2661 Wed Jul 5 00:03:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2662 |
|
2663 * sysdep.cc: Explicitly include string.h. |
|
2664 |
|
2665 Sun Jun 25 00:18:10 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2666 |
|
2667 * load-save.cc (too_large_for_float (const Matrix&)): |
|
2668 Extract elements as doubles, not Complex. |
|
2669 |
|
2670 Sat Jun 24 22:59:15 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2671 |
|
2672 * pr-output.cc (any_element_is_inf_or_nan): Declare extern, not static. |
|
2673 * f-svd.cc (Fsvd): Call here to avoid trying to take SVD of matrix |
|
2674 containing Inf or NaN values. |
|
2675 |
|
2676 * pr-output.cc (bit_format): New file-scope variable. |
|
2677 (set_format, pr_any_float): Handle bit_format. |
|
2678 (octave_print_internal): Handle bit_format like bank_format. |
|
2679 (init_format_state): Initialize bit_format. |
|
2680 (set_format_style): Allow `format bit' and `format native-bit'. |
|
2681 |
|
2682 Thu Jun 8 15:20:26 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2683 |
|
2684 * mappers.cc (arg, imag, signum): If arg is NaN, return NaN. |
|
2685 |
|
2686 Mon May 15 14:47:04 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2687 |
|
2688 * pager.cc (Fdiary): Initialize diary_file here, not in the |
|
2689 file-scope declaration. |
|
2690 |
|
2691 * tree-expr.cc (tree_index_expression::eval): |
|
2692 Handle nargin == 0 the same as other cases. |
|
2693 |
|
2694 Tue May 2 10:02:23 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2695 |
|
2696 * load-save.cc (do_double_format_conversion): Add missing breaks. |
|
2697 (do_float_format_conversion): Likewise. |
|
2698 |
|
2699 Mon May 1 13:50:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2700 |
|
2701 * Makefile.in (OCTAVE_LIBS): Add @LIBPLPLOT@ to the list. |
|
2702 |
|
2703 * timefns.cc (Ftime): Handle GETTIMEOFDAY_NO_TZ. |
|
2704 |
|
2705 * Makefile.in (SOURCES): Delete tc-rep.cc, tc-rep-ass.cc, and |
|
2706 tc-rep-idx.cc from the list. |
|
2707 |
|
2708 * tree-const.h: Add #pragma interface. |
|
2709 * tree-const.cc: Add contents of tc-rep.cc, tc-rep-ass.cc, and |
|
2710 tc-idx.cc to this file. Add #pragma implementation. This makes |
|
2711 tree-const.cc large, but makes the final binary smaller. |
|
2712 |
|
2713 * unwind-prot.h unwind-prot.cc token.cc token.h procstream.cc |
|
2714 procstream.h idx-vector.cc idx-vector.h symtab.cc symtab.h |
|
2715 oct-map.cc oct-map.h oct-obj.cc oct-obj.h tree-plot.h tree-plot.cc |
|
2716 tree-misc.cc tree-misc.h tree-expr.cc tree-expr.h tree-cmd.cc |
|
2717 tree-cmd.h tree-base.cc tree-base.h: |
|
2718 Add #pragma interface/implementation. |
|
2719 |
|
2720 * Makefile.in (OCTAVE_LIBS): Delete @LIBINFO@ from list. |
|
2721 * help.cc: Don't include info headers or extern declarations for |
|
2722 functions from info. |
|
2723 (try_info): Call info as a subprocess. Delete second arg. |
|
2724 Handle SIGINT here, not in help_from_info(). |
|
2725 (help_from_info): Complain if info doesn't work. |
|
2726 |
|
2727 * defun-dld.h (DEFUN_DLD_BUILTIN) [OCTAVE_LITE && MAKE_BUILTINS]: |
|
2728 If ! WITH_DLD, simply emit a character string constant. |
|
2729 |
|
2730 Fri Apr 28 15:23:06 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2731 |
|
2732 * lex.l ({IDENT}{S}*): Don't delete tok. That's handled by |
|
2733 strip_trailing_whitespace() now. |
|
2734 (<HELP_FCN>[^ \t\n]*{S}*|<TEXT_FCN>[^ \t\n\;\,]*{S}*): Ditto. |
|
2735 |
|
2736 * pathsearch.h: Include kpathsea/progname.h. |
|
2737 * octave.cc (initialize_globals): Call kpse_set_progname(). |
|
2738 |
|
2739 * token.h: Declare copy constructor and operator = private. |
|
2740 * token.cc: Abort if copy constructor or operator = is used. |
|
2741 |
|
2742 Thu Apr 27 13:54:39 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2743 |
|
2744 * tree-expr.cc (lookup_map_element): Don't list default argument |
|
2745 values here too. |
|
2746 |
|
2747 * pr-output.cc (hex_format): New file-scope variable. |
|
2748 (set_format, pr_any_float): Handle hex_format. |
|
2749 (octave_print_internal): Handle hex_format like bank_format. |
|
2750 (init_format_state): Initialize hex_format. |
|
2751 (set_format_style): Allow `format hex' and `format native-hex'. |
|
2752 |
|
2753 * variables.cc (bind_ans): Create ans_id each time with new and |
|
2754 ask tree_simple_assignment_expression to handle cleaning it up. |
|
2755 This apparently plugs a memory leak. |
|
2756 |
|
2757 * help.cc (Ftype): Don't try to print map constants. Handle |
|
2758 references to structure members. |
|
2759 |
|
2760 Wed Apr 26 12:40:59 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2761 |
|
2762 * input.cc (generate_struct_completions): New function. |
|
2763 (generate_possible_completions): Likewise. |
|
2764 (looks_like_struct): Likewise. |
|
2765 (command_generator): Handle completion of struct variables. |
|
2766 |
|
2767 * tree-expr.h, tree-expr.cc (tree_fvc::lookup_map_element): |
|
2768 Add insert and silent args. |
|
2769 |
|
2770 * oct-map.cc: New file. |
|
2771 * Makefile.in (SOURCES): Add it to the list. |
|
2772 |
|
2773 Mon Apr 24 09:41:02 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2774 |
|
2775 * variables.cc (Fexist): Handle structure references too. |
|
2776 |
|
2777 * tree-const.cc (lookup_map_element (const char*, int, int): |
|
2778 New function. |
|
2779 (lookup_map_element (SLList<char*>&, int, int): New arg, silent. |
|
2780 * tc-rep.cc (lookup_map_element): New arg, silent. If nonzero, |
|
2781 don't call error(). |
|
2782 |
|
2783 * tc-rep.h (is_empty): Define here. |
|
2784 * tree-const.h (is_empty): Hand off to TC_REP::is_empty(). |
|
2785 |
|
2786 * data.cc (Fstruct_contains): Call lookup_map_element on args(0) |
|
2787 instead of extracting the map and calling contains() on it. |
|
2788 |
|
2789 * parse.y (EPLUS, EMINUS): New tokens. |
|
2790 (simple_expr): Handle EPLUS, EMINUS the same as `+' and `-'. |
|
2791 * lex.l (".+", ".-"): New patterns. Match these separately to |
|
2792 disallow using them as unary operators. |
|
2793 |
|
2794 * lex.l (next_token_is_bin_op): Simplify by noting that spacing |
|
2795 only matters for those tokens that can also be unary ops. |
|
2796 |
|
2797 Fri Apr 21 14:34:45 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2798 |
|
2799 * load-save.cc (read_ascii_data): Allow reading of empty |
|
2800 matrices. |
|
2801 |
|
2802 * tc-rep-ass.cc (vector_assignment): Only assert that we are not |
|
2803 doing fortran-style indexing and that nr <= 1 || nc <= 1. |
|
2804 (do_vector_assign): Handle assignment of [] when one dimension is |
|
2805 zero and the other is anything. |
|
2806 |
|
2807 Thu Apr 20 13:56:21 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2808 |
|
2809 * tc-rep-ass.cc (delete_rows, delete_columns): Simply return if |
|
2810 num_to_delete is 0. |
|
2811 |
|
2812 * lex.l (handle_identifier): Don't match plot option keywords |
|
2813 inside parentheses or braces. |
|
2814 |
|
2815 * variables.cc (parse_fcn_file): Also delete tmp_help_txt if |
|
2816 running a script. |
|
2817 |
|
2818 * tree-cmd.h (tree_command): Add destructor. |
|
2819 |
|
2820 * tree-expr.h tree_simple_assignment_expression (lhs_idx_expr): |
|
2821 Hang on to idx_expr, not just its parts so it can be deleted. |
|
2822 (init): Initialize it. |
|
2823 * tree-expr.cc (~tree_simple_assignment_expression): Delete it. |
|
2824 |
|
2825 * tree-expr.h (tree_multi_val_ret, tree_oct_obj, tree_fvc, |
|
2826 tree_identifier, tree_builtin, tree_function): Add destructors. |
|
2827 * tree-expr.cc (tree_function::~tree_function): Delete some stuff. |
|
2828 |
|
2829 * tree-misc.h (tree_va_return_list): Add destructor. |
|
2830 |
|
2831 * octave.cc (__builtin_new, __builtin_delete): Provide our own, |
|
2832 for debugging. |
|
2833 |
|
2834 * utils.cc (strconcat): Don't depend on the return value from |
|
2835 strcat. |
|
2836 (file_in_path): Simplify logic. |
|
2837 |
|
2838 * parse.y (maybe_convert_to_ans_assign): Create ans_id each time |
|
2839 with new and ask tree_simple_assignment_expression to handle |
|
2840 cleaning it up. This apparently plugs a memory leak. |
|
2841 |
|
2842 * lex.l (strip_trailing_whitespace): Declare retval static. |
|
2843 Delete it before saving next string. |
|
2844 |
|
2845 * error.cc (Ferror): Do call error() for empty string args. |
|
2846 (error_1): Don't print anything if fmt is "" or "\n", but do set |
|
2847 the error state appropriately. |
|
2848 |
|
2849 * tree-cmd.cc (tree_unwind_protect::eval): Handle return and break |
|
2850 in the `try' part of the statement. |
|
2851 |
|
2852 Mon Apr 10 19:29:44 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2853 |
|
2854 * f-expm.cc, f-givens.cc, f-qzval.cc, f-syl.cc, f-rand.cc: |
|
2855 Where appropriate, declare Fortran functions to take reference |
|
2856 instead of pointer args. Change callers. |
|
2857 |
|
2858 * mappers.cc: Declare Fortran functions to take reference instead |
|
2859 of pointer args. Change callers. |
|
2860 |
|
2861 * gamma.c, lgamma.c, erfc.c, erf.c, atanh.c, asinh.c, acosh.c: |
|
2862 Declare Fortran functions to take reference instead of pointer |
|
2863 args. |
|
2864 |
|
2865 Sun Apr 9 19:38:53 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2866 |
|
2867 * file-io.cc (Fpopen, Fpclose, Fexecute, Fsync_system, |
|
2868 Fasync_system, Fwaitpid, Fmkfifo, Funlink): New functions. |
|
2869 |
|
2870 * sighandlers.cc (sigchld_handler): New function. |
|
2871 (install_signal_handlers): Add call to install |
|
2872 sigchld_handler. (This is #if 0'd out, waiting for code to help |
|
2873 determine which child exited and what to do about it). |
|
2874 |
|
2875 * tree-expr.h (tree_oct_obj): New class. |
|
2876 |
|
2877 * tree-expr.h (tree_multi_assignment_expression::preserve): New |
|
2878 data member. Add arg with default value to constructors. Change |
|
2879 callers as necessary. |
|
2880 * tree-expr.cc (~tree_multi_assignment_expression): Conditionally |
|
2881 delete lhs. |
|
2882 |
|
2883 * parse.y (make_multi_val_ret): Pass matrix instead of getting it |
|
2884 from the global matrix list. |
|
2885 (expression): Extract matrix from matrix list before calling |
|
2886 make_multi_val_ret(). |
|
2887 |
|
2888 * parse.y (command): Handle new for loop syntax for structures. |
|
2889 |
|
2890 * tree-plot.h (subplot_list): Include tree_print_code() in |
|
2891 initializer lists for constructors. |
|
2892 * tree-expr.h (tree_statement_list, tree_argument_list, |
|
2893 tree_parameter_list, tree_return_list, tree_global_init_list, |
|
2894 tree_if_command_list, ): Likewise. |
|
2895 |
|
2896 * tree-cmd.h (tree_for_command::id_list): New data member. |
|
2897 (tree_for_command (tree_return_list*, tree_expression*, |
|
2898 tree_statement_list*, int, int)): Likewise. |
|
2899 * tree-cmd.cc (tree_for_command::eval): Handle for loops with |
|
2900 structures. |
|
2901 (do_for_loop_once (tree_return_list*, Octave_object&, int&)): |
|
2902 New form for handling for loops with structures. |
|
2903 |
|
2904 * sysdep.cc (octave_ieee_init): Determine floating point format |
|
2905 here. |
|
2906 (native_float_format): New global variable. |
|
2907 (Fisieee): Compute return value from native_float_format, not by |
|
2908 using preprocessor macros. |
|
2909 * sysdep.h (enum floating_point_format): Move declaration here. |
|
2910 * load-save.cc: From here. |
|
2911 Always define all floating point format conversion routines. |
|
2912 (do_double_format_conversion, do_float_format_conversion): |
|
2913 Use native_float_format instead of preprocessor macros. |
|
2914 |
|
2915 Sat Apr 8 15:41:35 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2916 |
|
2917 * Makefile (TEMPLATE_SRC): New variable. |
|
2918 (DISTFILES): Add $(TEMPLATE_SRC). |
|
2919 (SOURCES): Delete Map.cc and SLStack.cc from here. |
|
2920 |
|
2921 * variables.cc (install_builtin_variables): Use OCTAVE_VERSION |
|
2922 instead of version_string to initialize OCTAVE_VERSION. |
|
2923 * version.h (version_string): Delete. |
|
2924 |
|
2925 * getopt.c (_getopt_internal): Initialize indfound to avoid warning. |
|
2926 |
|
2927 Fri Apr 7 15:29:41 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2928 |
|
2929 * tc-inlines.h (REP_RHS_MATRIX): Just check to see if tc is real |
|
2930 or complex. If conversion fails, return. |
|
2931 |
|
2932 Thu Apr 6 00:10:47 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2933 |
|
2934 * data.cc (Fstruct_contains): New function. |
|
2935 |
|
2936 * tc-rep.cc (print_code): Add extra parens around while condition |
|
2937 to avoid warning. |
|
2938 * utils.cc (undo_string_escapes): Likewise. |
|
2939 * input.cc (decode_prompt_string): Likewise. Also rewrite if |
|
2940 statement to avoid warning. |
|
2941 |
|
2942 Tue Apr 4 22:54:17 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2943 |
|
2944 * tree-expr.cc (tree_multi_assignment_expression::eval, |
|
2945 tree_simple_assignment_expression::eval): Call print_constant |
|
2946 even if user_pref.print_answer_id_name is false. |
|
2947 |
|
2948 Mon Apr 3 17:57:14 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2949 |
|
2950 * tc-inlines.h (TC_REP): Avoid redefinition. |
|
2951 |
|
2952 * tree-const.h (do_binary_op, do_unary_op): Declare as friends of |
|
2953 tree_constant class too. |
|
2954 |
|
2955 * tree-plot.h (subplot_using::have_values): Delete data member. |
|
2956 * tree-plot.cc (subplot_using::eval): Always recompute values. |
|
2957 |
|
2958 Fri Mar 31 10:18:32 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2959 |
|
2960 * tc-rep.cc (print): Print open brace for structures here. |
|
2961 * tree-expr.cc (print_constant): Not here. |
|
2962 |
|
2963 * symtab.cc (define): Don't delete arg if sv_fcn fails. |
|
2964 |
|
2965 * tree-const.cc (print): New function. Create ostrstream buffer |
|
2966 and pass it to rep->print(). |
|
2967 * tree-const.h (eval (int)): Call print(), not rep->print(). |
|
2968 * tc-rep.cc (structure_indent_level): New file-scope variable. |
|
2969 (print): New arg, output_buf, is stream to print to. |
|
2970 Print values of structure elements too. |
|
2971 |
|
2972 * user-prefs.h (user_preferences): New field, struct_levels_to_print. |
|
2973 * user-prefs.cc (struct_levels_to_print): New function. |
|
2974 * variables.cc (install_builtin_variables): Add DEFVAR for new |
|
2975 variable struct_levels_to_print. |
|
2976 |
|
2977 * tree-const.cc (print_as_scalar, print_as_structure): Move here |
|
2978 from tree-expr.cc and make extern. |
|
2979 |
|
2980 * tree-expr.cc (print_as_structure): New function. |
|
2981 (print_constant): Use it. |
|
2982 |
|
2983 * tree-expr.cc (print_constant): New arg, print_padding. |
|
2984 (tree_simple_assignment_expression::eval): Use print_constant |
|
2985 instead of duplicating code here. |
|
2986 (tree_multi_assignment_expression::eval): Likewise. |
|
2987 |
|
2988 Thu Mar 30 13:24:11 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2989 |
|
2990 * Makefile.in (SOURCES): Add resource.cc. |
|
2991 * resource.cc: New file, extracted from timefns.cc. |
|
2992 (Fgetrusage): New function. |
|
2993 * timefns.cc (cputime): Delete (now implemented in a function file |
|
2994 using new getrusage function). |
|
2995 |
|
2996 Wed Mar 29 22:52:42 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
2997 |
|
2998 * Makefile.in (SOURCES): Add strftime.c. |
|
2999 * strftime.c: New file, from sh-utils distribution. |
|
3000 |
|
3001 * timefns.cc (mk_tm_map, extract_tm, Ftime, Fgmtime, Flocaltime, |
|
3002 Fmktime, Fstrftime): New basic time functions. |
|
3003 (Fclock, Fdate): Delete (now implemented in function files using new |
|
3004 time functions). |
|
3005 |
|
3006 Tue Mar 28 17:51:51 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3007 |
|
3008 * file-io.cc (return_valid_file, do_printf, do_scanf, |
|
3009 fclose_internal, feof_internal, ferror_internal, fflush_internal, |
|
3010 fgets_internal, fopen_internal, fread_internal, freport_internal, |
|
3011 frewind_internal, fseek_internal, ftell_internal, |
|
3012 fwrite_internal): Declare static. |
|
3013 * file-io.h: Delete extern declarations for them. |
|
3014 |
|
3015 Fri Mar 24 09:52:50 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3016 |
|
3017 * pr-output.cc (pr_col_num_header): New function. |
|
3018 (compact_format): New file-scope variable. |
|
3019 (set_format_style): Handle loose and compact formats. |
|
3020 (octave_print_internal (ostream&, const ComplexMatrix&, int)): |
|
3021 Replace duplicate code with call to pr_col_num_header(). |
|
3022 (octave_print_internal (ostream&, const Matrix&, int): Likewise. |
|
3023 (octave_print_internal (ostream&, const Range&, int): Likewise. |
|
3024 |
|
3025 Tue Mar 21 08:44:48 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3026 |
|
3027 * mappers.cc (xgamma): Always use Slatec library function. |
|
3028 * (xlgamma): Likewise. |
|
3029 * Makefile.in (SOURCES): Don't include lgamma.c. |
|
3030 |
|
3031 Fri Mar 17 22:38:39 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3032 |
|
3033 * tc-rep.cc (TC_REP::new): Don't try to keep track of newlist_tail. |
|
3034 Explicitly initialize newlist to zero. |
|
3035 * tree-const.cc (tree_constant::operator new): Likewise. |
|
3036 |
|
3037 Fri Mar 10 12:40:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3038 |
|
3039 * tree-cmd.cc (quit_loop_now): Declare inline. |
|
3040 (tree_for_command::do_for_loop_once): Split into two versions, one |
|
3041 for the general case and one for when the loop variable is a |
|
3042 simple identifier. |
|
3043 (DO_LOOP): New macro. Move tests outside of loop. |
|
3044 (tree_for_command::eval): Speed up by checking to see if loop |
|
3045 variable is a simple identifier and by using DO_LOOP. |
|
3046 |
|
3047 * tree-const.h: New union of rep and freeptr. The freeptr element |
|
3048 is used for our custom memory management functions. |
|
3049 |
|
3050 * tc-rep.h: Add freeptr element to anonymous union (for our custom |
|
3051 memory management functions). |
|
3052 |
|
3053 * tree-const.cc (newlist, newlist_grow_size, newlist_tail): New |
|
3054 static variables. |
|
3055 (tree_constant::operator new): Always define to allow more |
|
3056 efficient allocation of single tree_constants. |
|
3057 (tree_constant::operator delete): Likewise, handle deletion of the |
|
3058 memory we allocate. |
|
3059 |
|
3060 * tc-rep.cc (newlist, newlist_grow_size, newlist_tail): New static |
|
3061 variables. |
|
3062 (tree_constant::operator new): Always define to allow more |
|
3063 efficient allocation of single tree_constants. |
|
3064 (tree_constant::operator delete): Likewise, handle deletion of the |
|
3065 memory we allocate. |
|
3066 |
|
3067 Fri Mar 3 14:00:08 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3068 |
|
3069 * error.cc (verror): Terminate output_buf with ends. |
|
3070 |
|
3071 * statdefs.h: Use C-style comment in first line instead of |
|
3072 C++-style comment. |
|
3073 |
|
3074 Mon Feb 27 10:11:18 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3075 |
|
3076 * parse.y (maybe_convert_to_ans_assign): Only lookup ans once. |
|
3077 * variables.cc (bind_ans): New function. |
|
3078 * tree-expr.cc (tree_identifier::eval (int)): Use it here. |
|
3079 (tree_identifier::eval (int, int, const Octave_object&): And here. |
|
3080 |
|
3081 * tree-expr.cc (install_nargin_and_nargout): New function. |
|
3082 * tree-expr.h (tree_function::tree_function (tree_statement_list *, |
|
3083 symbol_table *, int, int)): Call it. |
|
3084 |
|
3085 * tree-expr.cc (tree_function::bind_nargin_and_nargout): New function. |
|
3086 (tree_function::eval): Call it insead of the one from variables.cc. |
|
3087 |
|
3088 * variables.cc (bind_nargin_and_nargout): #if 0 out. |
|
3089 |
|
3090 Sun Feb 26 00:17:06 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3091 |
|
3092 * load-save.cc (Fload, Fsave): Free fname returned by tilde_expand(). |
|
3093 * dirfns.cc (Fls): Likewise. |
|
3094 |
|
3095 * tree-expr.cc (tree_multi_assignment_expression::eval (int, int, |
|
3096 const Octave_object&)): Call tree_return_list::operator () (Pix) |
|
3097 explicitly. |
|
3098 |
|
3099 * octave.cc (initialize_globals): Put TEXMF in the environment for |
|
3100 kpthsea. |
|
3101 |
|
3102 * Makefile.in (OCTAVE_LIBS): Use @LIBINFO@ and @LIBREADLINE@, |
|
3103 substituted by configure. Use kpathsea.a, not libkpathsea, so we |
|
3104 don't have to modify the kpathsea Makefile. |
|
3105 |
|
3106 Sat Feb 25 18:59:26 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3107 |
|
3108 * pathsearch.cc: New file. |
|
3109 * pathsearch.h: New file. |
|
3110 * Makefile.in (INCLUDES): Include it in the list. |
|
3111 * dynamic-ld.cc, help.cc, utils.cc: Use it instead of repeating |
|
3112 identical code multiple times. |
|
3113 |
|
3114 * variables.cc (install_builtin_variables): Only DEFVAR |
|
3115 suppress_verbose_help_message if USE_GNU_INFO. |
|
3116 |
|
3117 * help.cc (Fhelp): Only handle -i if USE_GNU_INFO. |
|
3118 (additional_help_message): Only print message if USE_GNU_INFO. |
|
3119 (builtin_help): New function. |
|
3120 (help_from_info): New function. Print warning if not USE_GNU_INFO. |
|
3121 |
|
3122 See ChangeLog.1 in the top level directory for earlier changes. |