annotate src/ChangeLog @ 3305:f1c5658772cf

[project @ 1999-10-20 19:40:10 by jwe]
author jwe
date Wed, 20 Oct 1999 19:40:11 +0000
parents 02866242d3ae
children b6c74a0772b5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3305
f1c5658772cf [project @ 1999-10-20 19:40:10 by jwe]
jwe
parents: 3301
diff changeset
1 1999-10-20 John W. Eaton <jwe@bevo.che.wisc.edu>
f1c5658772cf [project @ 1999-10-20 19:40:10 by jwe]
jwe
parents: 3301
diff changeset
2
f1c5658772cf [project @ 1999-10-20 19:40:10 by jwe]
jwe
parents: 3301
diff changeset
3 * Makefile.in (DISTFILES): Add mkgendoc to the list.
f1c5658772cf [project @ 1999-10-20 19:40:10 by jwe]
jwe
parents: 3301
diff changeset
4
3296
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
5 1999-10-19 John W. Eaton <jwe@bevo.che.wisc.edu>
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
6
3301
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
7 * Makefile.in (stmp-pic): New target.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
8 ($(PICOBJS)): Depend on stmp-pic, not pic.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
9
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
10 * ov.h (get_rep): New function.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
11
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
12 * help.cc (display_help_text): Pass definitions for VERSION,
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
13 OCTAVE_HOME, and TARGETHOSTTYPE to makeinfo.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
14
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
15 * DLD-FUNCTIONS/getgrent.cc: Texinfoize all doc strings.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
16 * DLD-FUNCTIONS/getpwent.cc: Ditto.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
17 * DLD-FUNCTIONS/getrusage.cc: Ditto.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
18 * DLD-FUNCTIONS/time.cc: Ditto.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
19
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
20 * defaults.cc (EXEC_PATH, OCTAVE_VERSION): Texinfoize doc strings.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
21 * dirfns.cc (Fcd, Fls, Fpwd, Freaddir, Fmkdir, Frmdir, Frename,
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
22 Fglob, Ffnmatch): Ditto.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
23 * file-io.cc (Fpopen, Fpclose, Fumask): Ditto.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
24 * sysdep.cc (Fgetenv, Fputenv, Fpause, Fsleep, Fusleep, Fisieee,
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
25 Ftilde_expand): Ditto.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
26 * toplev.cc (Fcomputer, Fsystem, Foctave_config_info): Ditto.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
27 * utils.cc (Ffile_in_path): Ditto.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
28 * syscalls.cc (Fdup2, Fexec, Ffcntl, Ffork, Fgetpgrp, Fgetpid,
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
29 Fgetppid, Fgetegid, Fgetgid, Fgeteuid, Fgetuid, Fmkfifo, Fpipe,
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
30 Fstat, Funlink, Fwaitpid, F): Ditto.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
31 (Flstat): Refer to stat for doc.
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
32
02866242d3ae [project @ 1999-10-20 04:10:46 by jwe]
jwe
parents: 3296
diff changeset
33
3296
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
34 * help.cc (looks_like_texinfo): New function.
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
35 (display_help_text): Use it to see if the doc string looks like
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
36 Texinfo source. If so, use makeinfo to format the text before
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
37 displaying it.
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
38
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
39 * mkgendoc: New script.
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
40 * Makefile.in: Use it to create gendoc.cc, which is compiled and
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
41 run to create DOCSTRINGS file from sources.
7d60704b2cbe [project @ 1999-10-19 10:23:04 by jwe]
jwe
parents: 3295
diff changeset
42
3295
35a6d027772c [project @ 1999-10-19 10:13:02 by jwe]
jwe
parents: 3292
diff changeset
43 1999-10-18 John W. Eaton <jwe@bevo.che.wisc.edu>
35a6d027772c [project @ 1999-10-19 10:13:02 by jwe]
jwe
parents: 3292
diff changeset
44
35a6d027772c [project @ 1999-10-19 10:13:02 by jwe]
jwe
parents: 3292
diff changeset
45 * help.cc (help_from_info): Print `unable to find info' message if
35a6d027772c [project @ 1999-10-19 10:13:02 by jwe]
jwe
parents: 3292
diff changeset
46 try_info returns 127; otherwise, print `not indexed' message.
35a6d027772c [project @ 1999-10-19 10:13:02 by jwe]
jwe
parents: 3292
diff changeset
47 Don't sleep after printing `not indexed' message.
35a6d027772c [project @ 1999-10-19 10:13:02 by jwe]
jwe
parents: 3292
diff changeset
48
3292
ad0d250ebd7e [project @ 1999-10-14 22:52:28 by jwe]
jwe
parents: 3288
diff changeset
49 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu>
ad0d250ebd7e [project @ 1999-10-14 22:52:28 by jwe]
jwe
parents: 3288
diff changeset
50
ad0d250ebd7e [project @ 1999-10-14 22:52:28 by jwe]
jwe
parents: 3288
diff changeset
51 * parse.y (fold (tree_unary_expression *)): New function.
ad0d250ebd7e [project @ 1999-10-14 22:52:28 by jwe]
jwe
parents: 3288
diff changeset
52 (make_prefix_op, make_postfix_op): Use it.
ad0d250ebd7e [project @ 1999-10-14 22:52:28 by jwe]
jwe
parents: 3288
diff changeset
53
3281
aaaa20d31a5f [project @ 1999-10-13 07:02:46 by jwe]
jwe
parents: 3273
diff changeset
54 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu>
aaaa20d31a5f [project @ 1999-10-13 07:02:46 by jwe]
jwe
parents: 3273
diff changeset
55
3288
0ffee63a4669 [project @ 1999-10-14 01:50:57 by jwe]
jwe
parents: 3281
diff changeset
56 * Makefile.in (oct-gperf.h): Ask for ANSI-C output from gperf
0ffee63a4669 [project @ 1999-10-14 01:50:57 by jwe]
jwe
parents: 3281
diff changeset
57 (requires gperf-2.7 or later).
0ffee63a4669 [project @ 1999-10-14 01:50:57 by jwe]
jwe
parents: 3281
diff changeset
58
3281
aaaa20d31a5f [project @ 1999-10-13 07:02:46 by jwe]
jwe
parents: 3273
diff changeset
59 * sighandlers.cc (sigwinch_handler): New function.
aaaa20d31a5f [project @ 1999-10-13 07:02:46 by jwe]
jwe
parents: 3273
diff changeset
60 (install_signal_handlers): Install it.
aaaa20d31a5f [project @ 1999-10-13 07:02:46 by jwe]
jwe
parents: 3273
diff changeset
61
3273
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3268
diff changeset
62 Thu Sep 23 19:49:36 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3268
diff changeset
63
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3268
diff changeset
64 * toplev.cc (Fsystem): For async case, use execl instead of
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3268
diff changeset
65 system, avoiding the need to exit after executing the subprocess.
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3268
diff changeset
66
3268
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
67 Thu Sep 9 17:09:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
68
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
69 * oct-stream.cc (get_size): Allow zero values.
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
70 (get_size): New arg, one_elt_size_spec.
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
71 (do_scanf_conv): New arg, `conv_count'. Change instantiation
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
72 requests and all callers.
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
73 (octave_base_stream::do_scanf): Improve scanning of strings.
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
74 (octave_base_stream::do_oscanf): Remove size limit on %s conversions.
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
75
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
76 * oct-stream.cc (scanf_format_list::all_character_conversions):
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
77 Don't count %p as a character conversion.
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
78
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
79 Tue Sep 7 08:31:04 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
80
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
81 * pr-output.cc (set_real_matrix_format, set_complex_matrix_format):
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
82 Move check for fixed_point_format ahead of check for
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
83 int_or_inf_or_nan.
fdc7dd08cd85 [project @ 1999-09-10 05:16:49 by jwe]
jwe
parents: 3264
diff changeset
84
3264
973c81fbe144 [project @ 1999-09-02 17:47:15 by jwe]
jwe
parents: 3263
diff changeset
85 Thu Sep 2 11:54:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
973c81fbe144 [project @ 1999-09-02 17:47:15 by jwe]
jwe
parents: 3263
diff changeset
86
973c81fbe144 [project @ 1999-09-02 17:47:15 by jwe]
jwe
parents: 3263
diff changeset
87 * oct-obj.cc (make_argv): Correctly handle empty strings as args.
973c81fbe144 [project @ 1999-09-02 17:47:15 by jwe]
jwe
parents: 3263
diff changeset
88
3263
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
89 Fri Aug 20 08:17:52 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
90
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
91 * DLD-FUNCTIONS/quad.cc (quad): Delete unused label.
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
92
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
93 * unwind-prot.cc (saved_variable::~saved_variable): Don't try to
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
94 delete gen_ptr_value here.
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
95
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
96 Mon Aug 16 21:34:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
97
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
98 * lex.l (next_token_is_sep_op): New function.
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
99 (handle_close_brace, maybe_unput_comma): Use it.
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
100 (have_continuation): Also handle CRLF here.
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
101
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
102 Wed Aug 11 16:06:57 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
103
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
104 * file-io.cc (Ffopen): Make fopen ("filename") work and imply that
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
105 MODE = "r".
7d80b56e0dc8 [project @ 1999-08-20 19:10:09 by jwe]
jwe
parents: 3259
diff changeset
106
3258
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
107 Wed Jul 21 15:38:52 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
108
3259
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
109 * help.cc (display_names_from_help_list): Sort names before
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
110 listing them.
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
111 (print_symbol_type, Ftype): Also handle built-in constants.
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
112 (LIST_SYMBOLS): Correct call to symbol_table::name_list.
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
113 (simple_help): List constants here too. List constants and
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
114 variables before functions, not after. Sort names before listing
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
115 them.
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
116
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
117 * variables.cc (do_who): Display built-in constants in a separate
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
118 section.
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
119
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
120 * error.cc (bind_global_error_variable, clear_global_error_variable):
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
121 Call bind_builtin_constant, not bind_builtin_variable to set
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
122 __error_text__.
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
123 * octave.cc (intern_argv): Likewise, for argv and __argv__.
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
124
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
125 * defun.cc (install_builtin_constant): Move function guts to
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
126 bind_builtin_constant in variables.cc.
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
127 * variables.cc (bind_builtin_constant): New function.
fa345875edea [project @ 1999-07-22 04:30:18 by jwe]
jwe
parents: 3258
diff changeset
128
3258
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
129 * symtab.cc (symbol_record::define, symbol_record::variable_reference):
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
130 Handle constants the same as functions.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
131 (symbol_record::link_to_builtin_variable): New function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
132 (symbol_record::define_builtin_const): New function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
133 (symbol_record::define_as_fcn): Delete unused function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
134 (symbol_record::read_only_error):
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
135 Handle constants the same as variables.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
136 * symtab.h (symbol_record::BUILTIN_CONSTANT): New enum value.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
137 (symbol_record::symbol_type): Increase width to 7 bits.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
138 (symbol_record::symbol_def::is_constant): New function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
139 (symbol_record::symbol_def::is_builtin_constant): New function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
140 (symbol_record::is_constant): New function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
141 (symbol_record::is_builtin_constant): New function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
142 (SYMTAB_ALL_TYPES): Add symbol_record::BUILTIN_CONSTANT.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
143 * variables.cc (link_to_builtin_variable): Delete unused function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
144 (link_to_builtin_or_function): Handle built-in constants here too.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
145
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
146 * defun.cc (install_builtin_variable): Delete inst_as_fcn arg.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
147 (install_builtin_constant): New function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
148 (install_builtin_variable_as_function): Delete unused function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
149 * defun.h (DEFVAR_INTERNAL): Delete inst_as_fcn arg.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
150 (DEFCONST_INTERNAL): New macro.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
151 * defun.h (DEFVAR): Delete inst_as_fcn arg.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
152 (DEFCONST, DEFCONSTX): Define using DEFCONST_INTERNAL instead of
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
153 DEFVAR_INTERNAL.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
154 * data.cc, defaults.cc, error.cc, help.cc, input.cc, lex.l,
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
155 load-save.cc, oct-hist.cc, oct-procbuf.cc, ov-fcn.h,
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
156 ov-usr-fcn.cc, ov.cc, pager.cc, parse.y, pr-output.cc,
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
157 pt-assign.cc, pt-decl.cc, pt-mat.cc, pt-plot.cc, pt-stmt.cc,
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
158 toplev.cc, variables.cc:
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
159 Change all invocations of DEFVAR to match new definition.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
160
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
161 * data.cc (symbols_of_data): Add DEFCONSTs for true and false.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
162
3255
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
163 Thu Jul 15 10:59:42 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
164
3258
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
165 * data.cc (Fis_bool, Fis_complex, Fisempty, Fisnumeric, Fis_list,
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
166 Fis_map, Fis_struct): Return bool object.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
167 (Fisreal): New function.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
168
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
169 * ov-str-mat.h (octave_char_matrix_str): Only return true if
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
170 Vimplicit_str_to_num_ok is also true.
4964d5391acc [project @ 1999-07-21 21:51:33 by jwe]
jwe
parents: 3255
diff changeset
171
3255
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
172 * DLD-FUNCTIONS/time.cc (Ftime): Print usage message if any
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
173 arguments are supplied.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
174
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
175 * variables.cc (symbol_out_of_date): Call octave_time for time stamps.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
176
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
177 * fn-cache.h (octave_fcn_file_name_cache::timestamp):
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
178 Now octave_time object.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
179
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
180 * strftime.c: Move to liboctave directory.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
181 * Makefile.in (DIST_SRC): Delete from list.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
182
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
183 * ov-usr-fcn.h (octave_user_function::t_parsed,
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
184 octave_user_function::t_checked): Now octave_time objects.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
185 (octave_user_function::time_parsed,
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
186 (octave_user_function::time_checked):
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
187 Return value is now octave_time object.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
188 (octave_user_function::mark_fcn_file_up_to_date)):
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
189 Arg is now octave_time object.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
190
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
191 * ov-fcn.h (octave_function::mark_fcn_file_up_to_date)):
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
192 Arg is now octave_time object.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
193 (octave_function::time_parsed, octave_function::time_checked):
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
194 Return value is now octave_time object.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
195
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
196 * input.cc (Vlast_prompt_time): Now an octave_time object.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
197 (octave_gets): Call octave_time::stamp() to set Vlast_prompt_time.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
198
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
199 * DLD-FUNCTIONS/time.cc (mk_tm_map, extract_tm, Ftime, Fgmtime,
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
200 Flocaltime, Fmktime, Fstrftime): Use new classes defined in
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
201 liboctave/oct-time.cc instead of accessing C functions directly.
4d33b1e56bff [project @ 1999-07-15 20:54:14 by jwe]
jwe
parents: 3252
diff changeset
202
3252
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
203 Wed Jul 14 17:38:46 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
204
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
205 * systime.h: Move to liboctave directory.
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
206 * Makefile.in (INCLUDES): Delete it from the list
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
207
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
208 Tue Jul 13 14:34:57 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
209
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
210 * sighandlers.cc (sigchld_handler): Only wait for processes in
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
211 octave_child_list.
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
212 * toplev.cc (cmd_status): Delete unused static variable.
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
213 (cmd_death_handler): Delete unused function.
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
214 (run_command_and_return_output): Don't add cmd_death_handler to
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
215 octave_child_list. Simply extract command exit status from
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
216 calling close() on the procstream object.
9c784bd18858 [project @ 1999-07-15 00:33:12 by jwe]
jwe
parents: 3249
diff changeset
217
3249
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
218 Mon Jul 12 22:38:50 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
219
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
220 * defun.h (DEFUN_MAPPER): Handle new args, d_b_map and c_b_map.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
221 * defun-int.h (DEFUN_MAPPER_INTERNAL): Likewise.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
222 * mappers.cc (install_mapper_functions): Supply new args to
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
223 all uses of DEFUN_MAPPER.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
224 * ov-mapper.cc (octave_mapper::apply): Handle mapper functions
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
225 that return bool objects.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
226 * ov-mapper.h (octave_mapper::d_b_mapper, octave_mapper::c_b_mapper):
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
227 New typedefs.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
228 (octave_mapper::octave_mapper): Handle new mapper function types.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
229
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
230 * DLD-FUNCTIONS/minmax.cc: Do a better job of handling NaNs.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
231
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
232 Sun Jul 11 13:15:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
233
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
234 * pr-output.cc (do_plus_format (ostream&, double)): New function.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
235 (octave_print_internal (ostream&, double, bool)): Use it.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
236 (octave_print_internal (ostream&, const Matrix&, bool, int)): Ditto.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
237
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
238 * pr-output.cc (do_plus_format (ostream&, const Complex&)):
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
239 New function.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
240 (octave_print_internal (ostream&, const Complex&, bool)): Use it.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
241 (octave_print_internal (ostream&, const ComplexMatrix&, bool, int)):
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
242 Ditto.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
243
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
244 Sun Jun 20 23:04:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
245
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
246 * sysdep.cc: Include sys/ioctl.h if available.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
247
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
248 Sat Jun 19 12:07:16 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
249
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
250 * variables.cc (do_who): Make pattern and multiple non-option
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
251 arguments work.
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3246
diff changeset
252
3246
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
253 Mon Jun 7 09:54:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
254
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
255 * lex.l (next_token_is_bin_op, next_token_is_postfix_unary_op,
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
256 handle_number): Delete yytext arg. Change all callers.
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
257 (next_token_is_postfix_unary_op): Check the first character
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
258 obtained from yyinput before calling it again.
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
259 (next_token_is_bin_op): Do a more thorough check.
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
260 (handle_identifier): Also enter token in local symbol table if the
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
261 following token is a dot and it looks like a binary operator.
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
262 (whitespace_in_literal_matrix): Now static.
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
263
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
264 * lex.l: Always use unput, not yyunput.
a41cc560087a [project @ 1999-06-19 06:46:20 by jwe]
jwe
parents: 3244
diff changeset
265
3244
7f8827f4040a [project @ 1999-05-29 14:01:55 by jwe]
jwe
parents: 3243
diff changeset
266 Fri May 28 11:02:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
7f8827f4040a [project @ 1999-05-29 14:01:55 by jwe]
jwe
parents: 3243
diff changeset
267
7f8827f4040a [project @ 1999-05-29 14:01:55 by jwe]
jwe
parents: 3243
diff changeset
268 * DLD-FUNCTIONS/chol.cc (Fchol): If two output arguments, never
7f8827f4040a [project @ 1999-05-29 14:01:55 by jwe]
jwe
parents: 3243
diff changeset
269 produce error message.
7f8827f4040a [project @ 1999-05-29 14:01:55 by jwe]
jwe
parents: 3243
diff changeset
270
3243
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
271 Thu May 27 18:28:35 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
272
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
273 * DLD-FUNCTIONS/chol.cc (Fchol): Also return info as second output.
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
274
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
275 * DLD-FUNCTIONS/minmax.cc (max (const ComplexMatrix&, const
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
276 ComplexMatrix&)): Correct test for real columns only.
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
277 (min (const ComplexMatrix&, const ComplexMatrix&)): Likewise.
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
278
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
279 Wed Apr 14 12:54:25 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
280
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
281 * DLD-FUNCTIONS/dassl.cc (Fdassl): Prevent recursive calls.
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
282 * DLD-FUNCTIONS/fsolve.cc (Ffsolve): Likewise.
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
283 * DLD-FUNCTIONS/lsode.cc (Flsode): Likewise.
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
284 * DLD-FUNCTIONS/quad.cc (Fquad): Likewise.
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
285
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
286 * file-io.cc (Fsscanf, Ffscanf): Doc fix.
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3239
diff changeset
287
3239
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
288 Sat Mar 27 11:07:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
289
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
290 * ov.h (octave_value::count): New function.
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
291 * symtab.cc (symbol_record::dump_symbol_info): New function.
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
292 * symtab.cc (symbol_record::symbol_def::dump_symbol_info): Ditto.
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
293 * variables.cc (F__dump_symbol_info__): Ditto.
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
294
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
295 * pt-misc.cc (tree_parameter_list::clear): New function.
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
296 * ov-usr-fcn.h (octave_user_function::clear_args_passed): Ditto.
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
297 * ov-usr-fcn.cc (clear_param_list): New function.
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
298 (clear_args_passed): New function.
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
299 (octave_user_function::do_index_op): Use them to decrement
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
300 reference counts on local variables.
d54ef0aa6e82 [project @ 1999-03-27 17:40:45 by jwe]
jwe
parents: 3238
diff changeset
301
3238
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
302 Fri Mar 26 00:51:53 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
303
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
304 * Makefile.in (libraries): Use the libfoo.a(objects) method of
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
305 creating static libs.
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
306
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
307 * defaults.cc (symbols_of_defaults): Initialize LOADPATH to
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
308 Vload_path, not ":".
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
309
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
310 Thu Mar 18 12:09:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
311
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
312 * data.cc (Fisnumeric): Fix typo.
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
313
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
314 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au>
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
315
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
316 * file-io.cc (Ffread, Ffwrite): Add uint16 and uint32 data types
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
317 to doc string.
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
318
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
319 Wed Mar 3 11:55:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
320
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
321 * lex.l (handle_string): Allow "" to pass through unchanged if
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
322 working on a gset command.
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
323
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
324 Tue Mar 2 01:36:29 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
325
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
326 * variables.cc (Fexist): If a variable isn't defined, only go on
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
327 to look for a global by the same name if we are at the top level.
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
328
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
329 Fri Jan 29 02:18:36 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
330
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
331 * version.h (OCTAVE_NAME_AND_VERSION): Say `GNU Octave', not just
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
332 Octave.
041ea33fbbf4 [project @ 1999-03-26 17:48:16 by jwe]
jwe
parents: 3234
diff changeset
333
3234
be8e0ba13644 [project @ 1999-01-29 03:52:30 by jwe]
jwe
parents: 3233
diff changeset
334 Thu Jan 28 21:29:16 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
be8e0ba13644 [project @ 1999-01-29 03:52:30 by jwe]
jwe
parents: 3233
diff changeset
335
be8e0ba13644 [project @ 1999-01-29 03:52:30 by jwe]
jwe
parents: 3233
diff changeset
336 * toplev.cc (Fcomputer): Use CANONICAL_HOST_TYPE, not TARGET_HOST_TYPE.
be8e0ba13644 [project @ 1999-01-29 03:52:30 by jwe]
jwe
parents: 3233
diff changeset
337 (octave_config_info): Likewise.
be8e0ba13644 [project @ 1999-01-29 03:52:30 by jwe]
jwe
parents: 3233
diff changeset
338 * version.h: Ditto.
be8e0ba13644 [project @ 1999-01-29 03:52:30 by jwe]
jwe
parents: 3233
diff changeset
339
be8e0ba13644 [project @ 1999-01-29 03:52:30 by jwe]
jwe
parents: 3233
diff changeset
340 * sysdep.cc (Fpause): Flush output before getting user input.
be8e0ba13644 [project @ 1999-01-29 03:52:30 by jwe]
jwe
parents: 3233
diff changeset
341
3233
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
342 Wed Jan 27 14:18:29 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
343
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
344 * Makefile.in (DEFFUN_PATTERN, DEFVAR_PATTERN): Use egrep again.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
345 Make the patterns work with stupid egreps that don't like empty
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
346 elements in alternation patterns.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
347
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
348 Fri Jan 22 04:41:48 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
349
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
350 * load-save.cc (save_ascii_data): Check for string type first,
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
351 then range, then the rest.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
352 (save_binary_data): Ditto.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
353
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
354 * pager.cc (more_than_a_screenful): Accept length as second arg.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
355 Handle long lines properly, assuming the terminal wraps long lines.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
356 (octave_pager_buf::do_sync): Accept length of data as second arg.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
357 Use write instead of << to put characters on output stream.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
358 (octave_pager_buf::sync): Don't assume data ends at first NUL.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
359 (octave_diary_buf::sync): Ditto.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
360
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
361 Thu Jan 21 22:15:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
362
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
363 * load-save.cc (save_mat_binary_data): Check for string type
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
364 first, then range, then the rest.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
365
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
366 Wed Jan 20 12:01:14 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
367
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
368 * oct-stream.cc (octave_base_stream::do_scanf): Handle short and
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
369 long ints correctly.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
370
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
371 Fri Jan 15 13:04:58 1999 John W. Eaton <jwe@bevo.che.wisc.edu>
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
372
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
373 * parse.y (end_error): Handle case of endswitch too.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
374
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
375 * Makefile.in: Use basic regular expressions and grep instead of
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
376 egrep to find files that contain DEFVAR, DEFCONST, or DEFUN.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
377
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
378 Wed Dec 9 14:14:11 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
379
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
380 * Makefile.in (octave): Add $(RDYNAMIC_FLAG) to link command.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
381
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
382 Fri Dec 4 20:26:33 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
383
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
384 * DLD-FUNCTIONS/time.cc (Fstrftime): Make it work even when not
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
385 using the GNU version of strftime, which allows passing NULL for
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
386 the buffer to determine the required size of the buffer.
98d0ee053ba4 [project @ 1999-01-27 20:23:40 by jwe]
jwe
parents: 3225
diff changeset
387
3225
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
388 Wed Dec 2 22:38:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
389
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
390 * utils.cc (file_in_loadpath): Expect argc == 2, not 3.
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
391
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
392 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca>
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
393
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
394 * mkbuiltins: Also strip off leading `./' from file names.
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
395 * mkops: Ditto.
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
396
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
397 Tue Nov 24 23:24:26 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
398
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
399 * strftime.c: Surround everything with #ifdef HAVE_STRFTIME / #endif.
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
400
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
401 * lex.h (YY_FATAL_ERROR): Call yy_falta_error after
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
402 jump_to_top_level to avoid gcc warning.
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
403
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
404 Fri Nov 20 13:34:47 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
405
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
406 * ov-bool.h, ov-bool.cc (class octave_bool): Derive from
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
407 octave_base_scalar and get common functions via derivation.
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
408 * ov-scalar.h, ov-scalar.cc (class octave_scalar): Ditto.
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
409 * ov-complex.h, ov-complex.cc (class octave_complex): Ditto.
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
410
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
411 * ov-base-scalar.h, ov-base-scalar.cc (class octave_base_scalar):
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
412 New files for new class definition. Put common scalar data type
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
413 stuff here.
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
414 * Makefile.in (OV_INCLUDES, OV_SRC): Add them to the lists.
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
415
3221
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
416 Thu Nov 19 14:30:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
3225
7aae2c3636a7 [project @ 1998-12-04 23:20:12 by jwe]
jwe
parents: 3222
diff changeset
417
3222
dae85431bade [project @ 1998-11-19 22:14:06 by jwe]
jwe
parents: 3221
diff changeset
418 * dynamic-ld.cc (octave_dynamic_loader::mangle_name):
dae85431bade [project @ 1998-11-19 22:14:06 by jwe]
jwe
parents: 3221
diff changeset
419 Prepend underscore here.
dae85431bade [project @ 1998-11-19 22:14:06 by jwe]
jwe
parents: 3221
diff changeset
420 (octave_dynamic_loader::load_fcn_from_dot_oct_file): Not here.
dae85431bade [project @ 1998-11-19 22:14:06 by jwe]
jwe
parents: 3221
diff changeset
421
3221
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
422 * ov-re-mat.h (octave_matrix_value): Delete experimental code for
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
423 handling structure references for things like .rows, .cols, etc.
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
424
3220
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
425 Wed Nov 18 01:18:46 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
426
3221
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
427 * Makefile.in (VAR_FILES): Be more careful about matching.
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
428 (DEF_FILES): Likewise.
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
429
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
430 * ov-base-mat.h, ov-base-mat.cc, ov-bool-mat.h, ov-bool-mat.cc,
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
431 ov-ch-mat.h, ov-ch-mat.cc, ov-cx-mat.h, ov-cx-mat.cc,
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
432 ov-re-mat.h, ov-re-mat.cc: Move default definition of all, any,
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
433 is_matrix_type, is_numeric_type, valid_as_zero_index, and
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
434 do_index_op to base class.
eba59b8c64dc [project @ 1998-11-19 20:31:46 by jwe]
jwe
parents: 3220
diff changeset
435 Provide definitions that override the defaults where necessary.
3220
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
436
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
437 * mappers.cc: Don't include lo-specfun.h.
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
438
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
439 Tue Nov 17 14:35:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
440
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
441 * besselj.cc (Fbesselh, Fairy); New functions.
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
442 (Fbesselj, Fbessely, Fbesselk, Fbesseli): Update doc strings.
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
443 (do_bessel): Handle additional args.
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
444
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
445 Fri Nov 13 14:47:11 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
446
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
447 * lex.l (NUMBER): Allow hexadecimal constants.
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
448 (looks_like_hex): New function.
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
449 (handle_number): Check for hexadecimal constants and convert them
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
450 to unsigned integer values.
3deb1105fbc1 [project @ 1998-11-19 00:06:30 by jwe]
jwe
parents: 3219
diff changeset
451
3219
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
452 Thu Nov 12 11:13:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
453
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
454 * input.cc (gnu_readline): Check for EOF from command_editor::readline.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
455
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
456 * ov-str-mat.h, ov-str-mat.cc (class octave_char_matrix_str):
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
457 Get common functions via new derivation scheme.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
458
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
459 * ov-bool-mat.h, ov-bool-mat.cc (class octave_bool_matrix):
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
460 Derive from octave_base_matrix and get common functions via derivation.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
461 * ov-ch-mat.h, ov-ch-mat.cc (class octave_char_matrix): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
462 * ov-cx-mat.h, ov-cx-mat.cc (class octave_complex_matrix): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
463 * ov-re-mat.h, ov-re-mat.cc (class octave_real_matrix): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
464
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
465 * ov-base-mat.h, ov-base-mat.cc (class octave_base_matrix): New
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
466 files for new class definition. Put common matrix data type
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
467 stuff here.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
468
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
469 * ov-list.cc (Fnth): New function.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
470
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
471 * ov-list.cc (octave_list::do_index_op): Allow more complex indexing.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
472
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
473 * oct-obj.cc (octave_value_list::index): New function.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
474 (octave_value_list::octve_value_list (Array<octave_value>)):
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
475 New private constructor.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
476
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
477 * ov-list.cc (Fsplice): Fix docstring to match.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
478 * oct-obj.cc (octave_value_list::splice): Allow special case
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
479 splice (x, length(x)+1, 0, y) to be equivalent to append (x, y).
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
480
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
481 * ov-list.cc (Fappend): If an arg is a list, concatenate the lists
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
482 instead of appending arg as a single element.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
483
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
484 Wed Nov 11 14:07:27 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
485
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
486 * load-save.cc (get_mat_data_input_line): New function.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
487 (get_lines_and_columns): Use it here.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
488 (read_mat_ascii_data): And here and do our own reading instead of
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
489 using Matrix::operator<<.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
490
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
491 Tue Nov 10 16:12:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
492
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
493 * parse.y (make_constant): Initialize retval to 0.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
494
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
495 * toplev.h (clean_up_and_exit (void)): Delete declaration.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
496 * toplev.cc (do_octave_atexit): Move guts of clean_up_for_exit
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
497 here, but ensure that the actions are only executed once.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
498 * octave.cc (main): Don't register cleanup_tmp_files with atexit.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
499
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
500 * ov.h, ov.cc (class octave_value): Use DECLARE_OCTAVE_ALLOCATOR
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
501 and DEFINE_OCTAVE_ALLOCATOR for uniform declaration and definition
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
502 of allocator functions. Use DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
503 and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA for uniform declaration
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
504 and definition of type id functions and data.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
505 * ov-usr-fcn.h, ov-usr-fcn.cc (class octave_user_function): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
506 * ov-scalar.h, ov-scalar.cc (class octave_scalar): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
507 * ov-re-mat.h ov-re-mat.cc (class octave_matrix): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
508 * ov-range.h, ov-range.cc (class octave_range): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
509 * ov-mapper.h, ov-mapper.cc (class octave_mapper): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
510 * ov-list.h, ov-list.cc (class octave_list): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
511 * ov-file.h, ov-file.cc (class octave_file): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
512 * ov-fcn.h, ov-fcn.cc (class octave_function): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
513 * ov-cx-mat.h, ov-cx-mat.cc (class octave_complex_matrix): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
514 * ov-complex.h, ov-complex.cc (class octave_complex): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
515 * ov-ch-mat.h, ov-ch-mat.cc (octave_char_matrix): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
516 * ov-builtin.h, ov-builtin.cc (class octave_builtin): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
517 * ov-bool.h, ov-bool.cc (class octave_bool): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
518 * ov-bool-mat.h, ov-bool-mat.cc (octave_bool_matrix): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
519
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
520 * ov.h (DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA): New macro.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
521 (DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA): Ditto.
30770ba4457a [project @ 1998-11-13 03:44:31 by jwe]
jwe
parents: 3215
diff changeset
522
3215
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
523 Mon Nov 9 16:12:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
524
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
525 * pr-output.cc (octave_print_internal): Reorder default args for
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
526 charMatrix version.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
527 (octave_print_internal): New function for boolMatrix.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
528
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
529 * version.h (OCTAVE_STARTUP_MESSAGE): Note that this is a
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
530 development release.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
531
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
532 * toplev.cc (do_octave_atexit): Call flush_octave_stdout here.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
533 (clean_up_for_exit): And here.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
534
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
535 Mon Nov 9 15:20:53 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
536
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
537 * input.cc (get_user_input): Check retval.length(), not retval.length.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
538
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
539 Sun Nov 8 19:30:33 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
540
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
541 * pt-assign.cc (tree_simple_assignment::rvalue): If etype is
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
542 asn_eq, don't evaluate ult again because retval is just rhs value.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
543 (tree_multi_assignment::rvalue): Likewise.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
544
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
545 Fri Nov 6 12:14:29 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
546
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
547 * pt-loop.cc (tree_for_command::eval): Move code for string RHS
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
548 outside if clause for matrix types.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
549
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
550 * pt-idx.cc: Don't forget to define arg_nm.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
551 Move contstructor here.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
552 * pt-idx.h: From here.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
553
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
554 * data.cc (Fisempty): Also return true for empty strings.
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 3212
diff changeset
555
3212
bf61c443a366 [project @ 1998-11-05 04:24:45 by jwe]
jwe
parents: 3209
diff changeset
556 Wed Nov 4 17:21:41 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bf61c443a366 [project @ 1998-11-05 04:24:45 by jwe]
jwe
parents: 3209
diff changeset
557
bf61c443a366 [project @ 1998-11-05 04:24:45 by jwe]
jwe
parents: 3209
diff changeset
558 * ov-base.cc (octave_base_value::rows, octave_base_value::columns,
bf61c443a366 [project @ 1998-11-05 04:24:45 by jwe]
jwe
parents: 3209
diff changeset
559 octave_base_value::length): Delete.
bf61c443a366 [project @ 1998-11-05 04:24:45 by jwe]
jwe
parents: 3209
diff changeset
560 * ov-base.h (octave_base_value::rows, octave_base_value::columns,
bf61c443a366 [project @ 1998-11-05 04:24:45 by jwe]
jwe
parents: 3209
diff changeset
561 octave_base_value::length): Define here. All return -1 if not
bf61c443a366 [project @ 1998-11-05 04:24:45 by jwe]
jwe
parents: 3209
diff changeset
562 defined in a derived class.
bf61c443a366 [project @ 1998-11-05 04:24:45 by jwe]
jwe
parents: 3209
diff changeset
563
bf61c443a366 [project @ 1998-11-05 04:24:45 by jwe]
jwe
parents: 3209
diff changeset
564 * data.cc (Fis_matrix): Also return true if the arg is a range.
bf61c443a366 [project @ 1998-11-05 04:24:45 by jwe]
jwe
parents: 3209
diff changeset
565
3209
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3208
diff changeset
566 Tue Nov 3 09:40:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3208
diff changeset
567
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3208
diff changeset
568 * data.cc (Fis_bool): New function.
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3208
diff changeset
569 Also add alias for islogical.
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3208
diff changeset
570
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3208
diff changeset
571 * ov.h (octave_value::is_bool_type): New function.
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3208
diff changeset
572 * ov-base.h (octave_base_value::is_bool_type): Likewise.
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3208
diff changeset
573 * ov-bool.h (octave_bool::is_bool_type): Likewise.
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3208
diff changeset
574 * ov-bool-mat.h (octave_bool_matrix::is_bool_type): Likewise.
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3208
diff changeset
575
3206
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
576 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
577
3208
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
578 * lex.l (handle_close_brace): Also handle case of ']' followed by
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
579 other assignment ops (+=, -=, ...).
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
580
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
581 * pt-assign.cc (tree_simple_assignment::rvalue): Correctly handle
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
582 return value and printing for operators other than `='.
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
583 (tree_multi_assignment::rvalue): Likewise.
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
584
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
585 * pt-assign.h (tree_multi_assignment::etype): New data member.
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
586 * pt-assign.cc (tree_multi_assignment::rvalue): Use it instead of
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
587 assuming `='.
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
588 (tree_multi_assignment::oper): New function.
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
589 * pt-pr-code.cc (tree_print_code::visit_multi_assignment): Use
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
590 it instead of always printing `='.
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
591 * parse.y (make_assign_op): Pass expression type to
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
592 tree_multi_assignment constructor.
e8a7163701be [project @ 1998-11-03 05:12:47 by jwe]
jwe
parents: 3206
diff changeset
593
3206
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
594 * Makefile.in (stmp-pic): New target.
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
595 ($(PICOBJ)): Depend on stmp-pic, not pic.
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
596 (clean): Delete stmp-pic.
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
597
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
598 Sun Nov 1 23:24:55 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
599
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
600 * mappers.cc (install_mapper_functions): Add alias for isfinite.
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
601
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
602 Sat Oct 31 08:46:55 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
603
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
604 * data.cc (Fisnumeric): New function.
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3205
diff changeset
605
3203
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
606 Fri Oct 30 08:39:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
607
3205
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3204
diff changeset
608 * oct-lvalue.cc (octave_lvalue::do_unary_op): Make it work for
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3204
diff changeset
609 indexed ops too.
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3204
diff changeset
610 * ov.cc (octave_value::unary_op_to_assign_op): New function.
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3204
diff changeset
611 (octave_value::do_non_const_unary_op): New function for indexed ops.
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3204
diff changeset
612
3204
81738e630f57 [project @ 1998-10-30 23:28:29 by jwe]
jwe
parents: 3203
diff changeset
613 * parse.y (LEFTDIV_EQ, ELEFTDIV_EQ): New tokens.
81738e630f57 [project @ 1998-10-30 23:28:29 by jwe]
jwe
parents: 3203
diff changeset
614 (assign_expr): Add rules for them.
81738e630f57 [project @ 1998-10-30 23:28:29 by jwe]
jwe
parents: 3203
diff changeset
615 (make_assign_op): Handle them here too.
81738e630f57 [project @ 1998-10-30 23:28:29 by jwe]
jwe
parents: 3203
diff changeset
616 * lex.l: Recognize them.
81738e630f57 [project @ 1998-10-30 23:28:29 by jwe]
jwe
parents: 3203
diff changeset
617 * ov.h (octave_value::assign_op): Add ldiv_eq and el_ldiv_eq.
81738e630f57 [project @ 1998-10-30 23:28:29 by jwe]
jwe
parents: 3203
diff changeset
618 * ov.cc (octave_value::assign_op_as_string): Ditto.
81738e630f57 [project @ 1998-10-30 23:28:29 by jwe]
jwe
parents: 3203
diff changeset
619 (octave_value::op_eq_to_binary_op): Ditto.
81738e630f57 [project @ 1998-10-30 23:28:29 by jwe]
jwe
parents: 3203
diff changeset
620 (octave_value::assign): Handle OP= style operators with brute force.
81738e630f57 [project @ 1998-10-30 23:28:29 by jwe]
jwe
parents: 3203
diff changeset
621 (octave_value::simple_assign): New function.
81738e630f57 [project @ 1998-10-30 23:28:29 by jwe]
jwe
parents: 3203
diff changeset
622
3203
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
623 * parse.y (matrix): Dont' forget to reset
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
624 lexer_flags.looking_at_matrix_or_assign_lhs.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
625
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
626 * oct-lvalue.cc (octave_lvalue::assign): Don't call change
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
627 function if error occurs.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
628 (octave_lvalue::do_unary_op): If we have an index, fail with message.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
629
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
630 Thu Oct 29 09:27:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
631
3203
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
632 * ov.cc (do_binary_op): Protect against invalid type conversions.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
633 (try_assignment_with_conversion): Likewise.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
634 (do_unary_op): Likewise.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
635
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
636 * ov.h (OV_UNOP_FN, OV_UNOP_OP, OV_UNOP_FN_OP): New macros.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
637 Use them to define not, uminus, transpose, hermitian functions
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
638 and operators ! and -.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
639 (OV_BINOP_FN, OV_BINOP_OP, OV_BINOP_FN_OP): New macros.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
640 Use them to define add, sub, mul, div, pow, ldiv, lshift, rshift,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
641 lt, le, eq, ge, gt, ne, el_mul, el_div, el_pow, el_ldiv, el_and,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
642 el_or, struct_ref, functions and operators <, <=, ==, >=, >, !=,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
643 +, -, *, and /.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
644
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
645 * ops.h (CONVDECLX): New macro.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
646 * ov-base.cc (matrix_conv, complex_matrix_conv, string_conv):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
647 Use it to declare these functions.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
648
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
649 * ops.h (CONVDECL, INSTALL_WIDENOP):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
650 Prefix function name with `oct_conv_'.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
651 (INSTALL_BINOP, BINOPDECL): Prefix function name with `oct_binop_'.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
652 (INSTALL_ASSIGNOP, INSTALL_ASSIGNANYOP, ASSIGNOPDECL):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
653 Prefix function name with `oct_assignop_'.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
654 (UNOPDECL, DEFNCUNOP_METHOD, INSTALL_UNOP, INSTALL_NCUNOP):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
655 Prefix function name with `oct_unop_'.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
656
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
657 * ov-str-mat.cc (default_numeric_conversion_function):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
658 Return 0 if conversion fails.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
659
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
660 * parse.y (make_prefix_op, make_postfix_op): Use
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
661 octave_value::unary_op enum.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
662
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
663 * pt-unop.cc (tree_prefix_expression::rvalue): Use new unary_op
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
664 functions from octave_value and octave_lvalue classes.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
665 (tree_prefix_expression::rvalue): Likewise.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
666
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
667 * pt-unop.cc (tree_unary_expression::oper): Move here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
668 (tree_prefix_expression::oper, tree_postfix_expression): From here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
669
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
670 * pt-unop.h (tree_prefix_expression, tree_postfix_expression):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
671 Delete enums.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
672 (tree_unary_expression): Use octave_value::unary_op enum.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
673 * parse.y (make_prefix_op, make_postfix_op): Likewise.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
674
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
675 * oct-lvalue.h (octave_lvalue::do_unary_op): New function.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
676 (octave_lvalue::increment, octave_lvalue::decrement): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
677
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
678 * ov-typeinfo.h (octave_value_typeinfo::non_const_unary_ops):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
679 New data member.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
680 * ov-typeinfo.h (octave_value_typeinfo::lookup_non_const_unary_op):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
681 New function.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
682 * ov-typeinfo.cc (octave_value_typeinfo::register_non_const_unary_op):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
683 New function.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
684 (octave_value_typeinfo::do_register_non_const_unary_op): Ditto.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
685 (octave_value_typeinfo::do_lookup_non_const_unary_op): Ditto.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
686
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
687 * ov.cc (octave_value::do_non_const_unary_op): New function.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
688
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
689 * Makefile.in (OP_XSRC): Add op-chm.cc and op-range.cc to the list.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
690
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
691 * OPERATORS/op-str-str.cc: Define string matrix unary operators here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
692 (install_str_str_ops): Install them here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
693 * ov-bool-mat.h (octave_bool_matrix::transpose,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
694 octave_bool_matrix_value::hermitian): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
695
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
696 * OPERATORS/op-chm.cc: New file. Define char matrix unary operators.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
697 (install_chm_ops): Install them here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
698 * ov-ch-mat.h (octave_char_matrix::transpose,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
699 octave_char_matrix_value::hermitian): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
700 * ops.cc (install_ops): Call install_chm_ops.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
701
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
702 * OPERATORS/op-bm-bm.cc: Define bool matrix unary operators here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
703 (install_bm_bm_ops): Install them here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
704 * ov-bool-mat.h (octave_bool_matrix::transpose,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
705 octave_bool_matrix_value::hermitian): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
706
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
707 * ov-bool.h (octave_bool::not, octave_bool::uminus,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
708 octave_bool::transpose, octave_bool::hermitian): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
709
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
710 * OPERATORS/op-cs-cs.cc: Define complex scalar unary operators here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
711 (install_cs_cs_ops): Install them here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
712 * ov-complex.h (octave_complex::not, octave_complex::uminus,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
713 octave_complex::transpose, octave_complex::hermitian): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
714
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
715 * OPERATORS/op-cm-cm.cc: Define complex matrix unary operators here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
716 (install_cm_cm_ops): Install them here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
717 * ov-cx-mat.h (octave_complex_matrix::not,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
718 octave_complex_matrix::uminus, octave_complex_matrix::transpose,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
719 octave_complex_matrix::hermitian): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
720
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
721 * OPERATORS/op-m-m.cc: Define matrix unary operators here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
722 (install_m_m_ops): Install them here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
723 * ov-re-mat.h (octave_matrix::not, octave_matrix::uminus,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
724 octave_matrix::transpose, octave_matrix::hermitian): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
725
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
726 * OPERATORS/op-range.cc: New file. Define range unary operators.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
727 (install_range_ops): Install them here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
728 * ov-range.h (octave_range::not, octave_range::uminus,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
729 octave_range::transpose, octave_range::hermitian): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
730 * ops.cc (install_ops): Call install_range_ops.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
731
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
732 * OPERATORS/op-s-s.cc: Define scalar unary operators here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
733 (install_s_s_ops): Install them here.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
734 * ov-scalar.h (octave_scalar::not, octave_scalar::uminus,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
735 octave_scalar::transpose, octave_scalar::hermitian): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
736
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
737 * ops.h (INSTALL_UNOP, CAST_UNOP_ARG, UNOPDECL, DEFUNOPX, DEFUNOP,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
738 DEFUNOP_OP, DEFUNOP_FN): New macros.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
739
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
740 * ov.h (unary_op_fcn): New typedef.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
741 (octave_value::unary_op): New enum.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
742 * ov.cc (octave_value::octave_value): New function.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
743
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
744 * ov.h (octave_value::not, octave_value::uminus,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
745 octave_value::transpose, octave_value::hermitian,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
746 octave_value::increment, octave_value::decrement): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
747
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
748 * ov-base.cc (octave_base_value::not, octave_base_value::uminus,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
749 octave_base_value::transpose, octave_base_value::hermitian,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
750 octave_base_value::increment, octave_base_value::decrement): Delete.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
751
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
752 * ov.cc (gripe_unary_op): New function.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
753 (do_unary_op): New function.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
754 * ov-typeinfo.h (octave_value_typeinfo::unary_ops):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
755 New data member.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
756 * ov-typeinfo.cc (octave_value_info::register_unary_op,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
757 octave_value_info::do_register_unary_op,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
758 octave_value_info::lookup_unary_op,
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
759 octave_value_info::do_lookup_unary_op):
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
760 New functions.
bc61b0e8d60e [project @ 1998-10-30 20:26:27 by jwe]
jwe
parents: 3202
diff changeset
761
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
762 * ov-list.cc (Fsplice): Use new octave_value::int_value function here.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
763 (octave_list::do_index_op): Likewise.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
764 (octave_list::assign): Likewise.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
765 * toplev.cc (Fquit): Likewise.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
766 * syscalls.cc (Fwaitpid): Likewise.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
767 (Ffcntl): Likewise.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
768 * file-io.cc (do_fread): Likewise.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
769 (do_fwrite): Likewise.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
770 * data.cc (make_diag): Likewise.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
771 (Fsize): Likewise.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
772 (get_dimensions): Likewise.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
773 (Flinspace):
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
774
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
775 * ov-base.cc (octave_base_value::int_value): New function.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
776 (octave_base_value::nint_value): Ditto.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
777 * ov.h (octave_value::int_value): Ditto.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
778 (octave_value::nint_value): Ditto.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
779
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
780 * ov-list.cc (octave_list::assign): Fix off-by-one error.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
781
3196
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
782 Wed Oct 28 11:01:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
783
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
784 * load-save.cc (read_mat_ascii_data): Try harder to convert file
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
785 name to valid variable name.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
786
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
787 * data.cc (Fisempty, Fis_matrix): New functions.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
788
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
789 * ov-str-mat.h (octave_char_matrix_str::is_matrix_type): New function.
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
790
3196
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
791 * OPERATORS/op-list.cc: New file.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
792 * Makefile.in (OP_XSRC): Add it to the list.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
793
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
794 * ov-list.cc (octave_list::assign): New function.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
795
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
796 * ov-typeinfo.h (octave_value_typeinfo::assignany_ops):
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
797 New data member.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
798 * ov-typeinfo.cc (octave_value_info::register_assignany_op,
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
799 octave_value_info::do_register_assignany_op,
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
800 octave_value_info::lookup_assignany_op,
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
801 octave_value_info::do_lookup_assignany_op):
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
802 New functions.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
803 * ov.cc (octave_value::try_assignment (octave_value::assign_op,
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
804 const octave_value_list&, const octave_value&)): If no assignment
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
805 operator for particular RHS type exists, try finding one for
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
806 generic octave_value as RHS type.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
807 * ops.h (DEFASSIGNANYOP_FN): New macro.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
808
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
809 * ov-list.cc (Fsplice): New function.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
810 * oct-obj.cc (octave_value_list::splice): New function.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
811
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
812 * ov.cc (Vresize_on_range_error): No longer static.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
813 * ov.h (Vresize_on_range_error): Provide extern declaration.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
814
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
815 * oct-procbuf.cc (symbols_of_oct_procbuf): Don't declare static.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
816
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
817 * data.cc (Flength): New function.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
818 * ov.h (octave_value::length): New virtual function.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
819 * ov-base.cc (octave_base_value::length): New function.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
820 (octave_base_value::rows, octave_base_value::columns): Move
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
821 definitions here, from ov-base.h. Don't return -1. Instead,
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
822 gripe about wrong argument type.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
823 * ov-bool-mat.h (octave_bool_matrix::length): New function.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
824 * ov-bool.h (octave_bool::length): Ditto.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
825 * ov-ch-mat.h (octave_char_matrix::length): Ditto.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
826 * ov-complex.h (octave_complex::length): Ditto.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
827 * ov-cx-mat.h (octave_complex_matrix::length): Ditto.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
828 * ov-list.h (octave_list::length): Ditto.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
829 * ov-range.h (octave_range::length): Ditto.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
830 * ov-re-mat.h (octave_matrix::length): Ditto.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
831 * ov-scalar.h (octave_scalar::length): Ditto.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
832
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
833 Tue Oct 27 22:19:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
834
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
835 * ov-list.cc (octave_list::print_raw): Handle case of empty list.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
836 (octave_list::print_name_tag): Likewise.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
837
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
838 * octave.cc (intern_argv): Built-in variable argv is now a list of
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
839 strings instead of a string vector.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
840 Always bind argv, making it an empty list if there are no args.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
841
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
842 Mon Oct 26 08:41:46 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
843
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
844 * xdiv.cc (mx_leftdiv_conform): Explicitly declare args to be
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
845 passed as references to const objects. Fix explicit instantiation
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
846 requests to match.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
847 (mx_div_conform): Likewise.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
848
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
849 * pt-unop.h (tree_prefix_expression): Reorder constructor args to
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
850 put those with default values last.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
851 (tree_postfix_expression): Likewise.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
852 * parse.y: Change all callers.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
853
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
854 Fri Oct 23 12:07:32 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
855
3196
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
856 * utils.cc (Ffile_in_loadpath): New function.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
857
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
858 * defaults.cc (Vload_path, Vdefault_load_path): Now static.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
859
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
860 * help.cc (simple_help): Use Vload_path_dir_path here instead of
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
861 trying to reconstruct it from Vload_path.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
862 * fn-cache.cc (octave_fcn_file_name_cache::do_list): Likewise.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
863 (octave_fcn_file_name_cache::update): Likewise.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
864
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
865 * defaults.cc (octave_loadpath): Construct Vload_path_dir_path
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
866 using Vdefault_load_path.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
867 (set_default_path): Likewise.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
868
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
869 * defaults.h, defaults.cc (maybe_add_default_load_path): Delete.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
870
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
871 * defaults.cc (Vdefault_load_path): New static variable.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
872 (set_default_path): Set it.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
873 (maybe_add_default_load_path): Use it.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
874 (symbols_of_defaults): Add DEFCONST for DEFAULT_LOADPATH.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
875 Thanks to Rafael Laboissiere <rafael@icp.inpg.fr>.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
876
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
877 * defaults.cc (set_default_path): If OCTAVE_PATH is set in the
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
878 environment, call maybe_add_default_load_path on it.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
879
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
880 Tue Oct 20 20:58:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
881
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
882 * defaults.cc (maybe_add_default_load_path): If LOADPATH contains
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
883 an embedded "::", insert the default path there too.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
884
3189
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
885 Fri Oct 16 00:52:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
886
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
887 * parse.y (in_matrix_or_assign_lhs): New subroutine for lexical
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
888 feedback.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
889 (matrix): Use it.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
890 (assign_lhs): Ditto.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
891 * lex.h (lexical_feedback::looking_at_matrix_or_assign_lhs): New
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
892 data member.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
893 * lex.l (handle_identifier): Use it to handle keywords like `cd'
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
894 as variables in contexts like [ab, cd] = foo ().
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
895
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
896 * ov-str-mat.h
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
897 (octave_char_matrix_str::octave_char_matrix_str (char c)):
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
898 New constructor.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
899 * ov-ch-mat.h (octave_char_matrix::octave_char_matrix (char c)):
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
900 New constructor.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
901 * ov.cc (octave_value::octave_value (char c): New constructor.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
902
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
903 * pt-loop.cc (tree_simple_for_command::eval): Handle case of RHS
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
904 as string.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
905
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
906 Thu Oct 15 00:56:47 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
907
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
908 * DLD-FUNCTIONS/rand.cc: Declare Fortran subroutines as returning
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
909 int, not int*.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
910
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
911 Wed Oct 14 23:51:31 1998 Georg Thimm <thimm@idiap.ch>
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
912
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
913 * load-save.cc (Vcrash_dumps_octave_core): New static variable.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
914 (save_user_variables): Only save variables if
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
915 Vcrash_dumps_octave_core is true.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
916 (symbols_of_load_save): Add DEFVAR for it here.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
917 (crash_dumps_octave_core): New function.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
918 * octave.cc (maximum_braindamage): Bind crash_dumps_octave_core to
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
919 0.0 here.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
920
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
921 Tue Oct 13 22:05:55 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
922
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
923 * input.cc (read_readline_init_file): New function.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
924
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
925 Thu Oct 8 13:47:55 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
926
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
927 * oct-procbuf.h (octave_procbuf::wstatus): New data member.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
928 Initialize in constructors.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
929 (octave_procbuf::wait_status): New member function.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
930 * oct-procbuf.cc (octave_procbuf::sys_close): Use class data
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
931 member wstatus, not local variable.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
932 * procstream.cc (procstreambase::close): Don't call sys_close directly.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
933 Get subprocess exit status by calling wait_status for our procbuf.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
934 * pt-plot.cc (close_plot_stream): Send "quit" command to gnuplot
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
935 before deleting plot_stream.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
936
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
937
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
938 Thu Oct 1 22:39:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
939
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
940 * data.cc (Fis_complex): New function.
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3185
diff changeset
941
3185
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
942 Fri Sep 25 11:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
943
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
944 * load-save.cc (write_header): Rename from write_binary_header.
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
945 Also write header for Octave ASCII files.
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
946
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
947 * load-save.cc (Fsave): Implement -append option.
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
948
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
949 * defaults.cc (Frehash): New function.
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
950
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
951 Fri Sep 25 11:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
952
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
953 * help.cc (help_from_info): Improve error message in case that
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
954 info doesn't work.
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
955
3180
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
956 Thu Sep 24 10:48:12 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
957
3185
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
958 * Makefile.in (DLD_XSRC): Replace qzval.cc with qz.cc
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
959
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
960 * DLD-FUNCTIONS/balance.cc: Update from A. S. Hodel
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
961 <scotte@eng.auburn.edu>.
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
962
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
963 * DLD-FUNCTIONS/qz.cc: New file.
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
964
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
965 * DLD-FUNCTIONS/qzval.cc: Delete.
9580887dd160 [project @ 1998-09-26 02:45:55 by jwe]
jwe
parents: 3180
diff changeset
966
3180
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
967 * parse.y (plot_command1): Don't allow it to be empty.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
968 (plot_command): Handle simple `PLOT' and `PLOT ranges' as special
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
969 cases here.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
970
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
971 Wed Sep 23 21:10:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
972
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
973 * lex.l: Change <MATRIX>{SNLCMT}*\n{SNLCMT}* pattern
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
974 to <MATRIX>{S}*{COMMENT}{SNLCMT}* | <MATRIX>{S}*{NL}{SNLCMT}*.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
975
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
976 Fri Sep 4 10:50:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
977
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
978 * file-io.cc (Ffwrite): Fix doc string.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
979
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
980 Wed Sep 2 16:22:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
981
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
982 * input.cc (match_sans_spaces): Make it work.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
983
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
984 * toplev.cc (quit): Require nargout == 0.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
985
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
986 * input.cc (get_user_input): Only try matching "exit", "quit", and
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
987 "return" if debugging.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
988
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
989 Tue Sep 1 12:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
990
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
991 * octave.cc: Use -H as single character equivalent of --no-history.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
992
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
993 Sat Aug 29 12:23:12 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
994
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
995 * oct-obj.cc (octave_value_list::make_argv): If some values are
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
996 string vectors, insert all the elements, not just the first.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
997
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
998 Tue Aug 18 16:39:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
999
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1000 * oct-stream.cc (octave_base_stream::do_gets): Accept last line of
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1001 file even if it doesn't end in a newline character.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1002
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1003 Tue Aug 18 16:25:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1004
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1005 * xdiv.cc (mx_leftdiv_conform, mx_div_conform): Instantiate correct
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1006 templates.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1007
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1008 Thu Jul 30 00:37:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1009
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1010 * pt-loop.cc (tree_for_command::eval): Check for range first.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1011 If error occurs when extracting matrix value, return early.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1012 Don't bother to check for string type.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1013
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1014 * ov-ch-mat.h (octave_char_matrix::is_real_matrix): New function.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1015
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1016 Tue Jun 23 15:09:54 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1017
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1018 * parse.y (clear_current_script_file_name): New function.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1019 (parse_fcn_file): Bind current_script_file_name while script is
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1020 executing. Use unwind_protect to clear it once the script is
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1021 finished.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1022
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1023 * pt-plot.cc (Fgraw): New function.
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3178
diff changeset
1024
3178
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1025 Mon Jun 22 22:13:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1026
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1027 * variables.cc (is_valid_function): Provide version that takes
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1028 function name as string.
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1029
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1030 * parse.y (binary_expr): Fix thinko that resulted in incorrect
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1031 evaluation of -x^y. Thanks to Richard Allan Holcombe
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1032 <raholcom@unity.ncsu.edu>.
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1033 (feval): Don't attempt to copy nonexistent arg names.
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1034
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1035 Mon Jun 22 21:35:50 1998 Richard Allan Holcombe <raholcom@unity.ncsu.edu>
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1036
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1037 * xpow.cc (xpow): Improve efficiency for matrix^(scalar int) case.
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1038
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1039 Thu Jun 4 12:42:46 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1040
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1041 * ov-usr-fcn.cc (octave_user_function::octave_all_va_args):
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1042 If num_args_passed < num_named_args, create zero length list.
09a3064a3a17 [project @ 1998-06-23 03:46:42 by jwe]
jwe
parents: 3176
diff changeset
1043
3176
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1044 Thu May 14 16:23:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1045
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1046 * DLD-FUNCTIONS/getrusage.cc: Include sys/types.h too.
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1047
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1048 Mon May 11 00:38:45 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1049
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1050 * pager.cc (Fdiary): Don't forget to set write_to_diary file if
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1051 just given a file name.
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1052
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1053 * input.cc (octave_gets): Only send new line character to
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1054 octave_diary if current_input_line is empty or doesn't already end
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1055 with a new line character..
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1056 Don't send input from function files or scripts to octave_diary.
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3174
diff changeset
1057
3174
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1058 Sun May 3 19:54:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1059
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1060 * lex.l (reset_parser): Also call yyrestart if forced_interactive
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1061 is true, but not if input_from_startup_file is true.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1062
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1063 Tue Apr 28 14:06:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1064
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1065 * oct-procbuf.cc (Vkluge_procbuf_delay): New static variable.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1066 (kluge_procbuf_delay): New function.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1067 (symbols_of_oct_procbuf): New function.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1068 (octave_procbuf::open): Delay Vkluge_procbuf_delay microseconds
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1069 after forking.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1070
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1071 Thu Apr 23 15:41:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1072
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1073 * defaults.cc (Vload_path_dir_path): New variable.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1074 * utils.cc (file_in_path): Use it.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1075
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1076 * utils.cc (search_path_for_file): Undo previous change.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1077 (file_in_path): Undo previous change.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1078 * defaults.cc (loadpath): Undo previous change. Tilde expansion
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1079 is once again handled correctly by the code in
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1080 liboctave/pathsearch.cc.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1081
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1082 Mon Apr 20 21:50:34 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1083
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1084 * data.cc (get_dimensions): Allow zeros ([], 3) to work, for
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1085 compatibility with Matlab.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1086
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1087 * dynamic-ld.cc [WITH_DL && ! HAVE_DLFCN_H]: Add declarations for
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1088 dlopen, dlerror, dlsym, and dlclose.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1089
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1090 * octave.gperf: Handle __FILE__ and __LINE__.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1091 * lex.l (is_keyword): Likewise.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1092 * Makefile.in (oct-gperf.h): Pass -D option to gperf.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1093 Postprocess output of gperf to convert name of static variable
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1094 from lookup to gperf_lookup, to avoid conflict with our function
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1095 of the same name defined in variables.cc.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3168
diff changeset
1096
3168
1c267910655d [project @ 1998-04-19 01:22:38 by jwe]
jwe
parents: 3167
diff changeset
1097 Sat Apr 18 20:17:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
1c267910655d [project @ 1998-04-19 01:22:38 by jwe]
jwe
parents: 3167
diff changeset
1098
1c267910655d [project @ 1998-04-19 01:22:38 by jwe]
jwe
parents: 3167
diff changeset
1099 * help.cc (USE_GNU_INFO): Delete uses of this macro.
1c267910655d [project @ 1998-04-19 01:22:38 by jwe]
jwe
parents: 3167
diff changeset
1100
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3166
diff changeset
1101 Thu Apr 16 01:00:12 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3166
diff changeset
1102
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3166
diff changeset
1103 * dynamic-ld.cc: Only include dlfcn.h if HAVE_DLFCN_H.
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3166
diff changeset
1104
3165
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1105 Wed Apr 15 01:03:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1106
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1107 * input.cc (Vlast_prompt_time): New global variable.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1108 (octave_gets): Set it.
3166
c3409a0cafa8 [project @ 1998-04-16 03:12:19 by jwe]
jwe
parents: 3165
diff changeset
1109 * ov-fcn.h (octave_function::time_checked): New virtual function
c3409a0cafa8 [project @ 1998-04-16 03:12:19 by jwe]
jwe
parents: 3165
diff changeset
1110 (octave_function::mark_fcn_file_up_to_date): Ditto.
3165
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1111 * ov-usr-fcn.h (octave_user_function::time_checked): New function.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1112 (octave_user_function::mark_fcn_file_up_to_date): Ditto.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1113 (octave_user_function::t_checked): New data member.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1114 * variables.cc (symbol_out_of_date): Only check file time stamp if
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1115 a prompt has been printed since the last time check.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1116
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1117 * pt-plot.h, pt-plot.cc (subplot_axes): New class.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1118 (subplot): Handle axes.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1119 (Vgnuplot_command_axes): New static variable.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1120 (gnuplot_command_axes): New function.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1121 (symbols_of_pt_plot): DEFVAR gnuplot_command_axes.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1122 * pt-walk.h (tree_walker::visit_subplot_axes): New virtual function.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1123 * parse.y (plot_options): Handle axes.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1124 * lex.l (plot_axes_token): New function.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1125 (is_keyword): Use it.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1126 (is_plot_keyword): Recognize "axes" and "axis".
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1127 * lex.h (class lexical_feedback): New field, in_plot_axes.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1128 (lexical_feedback::init): Reset it.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1129
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1130 Tue Apr 14 23:32:27 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1131
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1132 * parse.y (parse_fcn_file): New arg, force_script. Change callers.
e4bbfc196e53 [project @ 1998-04-16 03:01:47 by jwe]
jwe
parents: 3164
diff changeset
1133
3164
45490c020e47 [project @ 1998-04-14 20:56:48 by jwe]
jwe
parents: 3162
diff changeset
1134 Fri Apr 10 11:01:27 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
45490c020e47 [project @ 1998-04-14 20:56:48 by jwe]
jwe
parents: 3162
diff changeset
1135
45490c020e47 [project @ 1998-04-14 20:56:48 by jwe]
jwe
parents: 3162
diff changeset
1136 * help.cc (type): Also print values of variables.
45490c020e47 [project @ 1998-04-14 20:56:48 by jwe]
jwe
parents: 3162
diff changeset
1137
3162
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1138 Wed Apr 8 01:00:58 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1139
3164
45490c020e47 [project @ 1998-04-14 20:56:48 by jwe]
jwe
parents: 3162
diff changeset
1140 * pr-output.cc (set_format): Set scale to 1.0 if all elements are
45490c020e47 [project @ 1998-04-14 20:56:48 by jwe]
jwe
parents: 3162
diff changeset
1141 int or inf or nan.
45490c020e47 [project @ 1998-04-14 20:56:48 by jwe]
jwe
parents: 3162
diff changeset
1142
3162
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1143 * parse.y (Vwarn_future_time_stamp): New variable.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1144 (symbols_of_parse): Add DEFVAR for it.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1145 (warn_future_time_stamp): New function.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1146 (frob_function_def): Maybe warn about files with future time stamps.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1147
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1148 Thu Apr 2 20:43:45 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1149
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1150 * pt-arg-list.cc (tree_argument_list::convert_to_const_vector): In
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1151 error messages, print element numbers starting with 1, not 0.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1152
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1153 Sat Mar 28 15:25:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1154
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1155 * toplev.cc (clean_up_for_exit): New function.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1156 (clean_up_and_exit): Use it.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1157 * sighandlers.cc (my_friendly_exit): Call it instead of
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1158 clean_up_and_exit, then do default action for signal.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1159
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1160 * sighandlers.cc (octave_new_handler): Call my_friendly_exit with
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1161 signal set to SIGABRT if it is defined, or -1 otherwise.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1162
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1163 * error.cc (verror): Fix thinko in attempt to skip `error: ' tag
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1164 when buffering error messages.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1165 * pt-except.cc (tree_try_catch::eval): Reset buffer_error_messages
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1166 here if just discarding unwind_protect frame.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1167
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1168 Wed Mar 18 12:35:18 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1169
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1170 * xpow.cc (elem_xpow): For real-scalar .^ matrix case, result is
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1171 complex only if real-scalar is negative and matrix has some
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1172 non-integer values.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1173
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1174 Tue Mar 17 17:47:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1175
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1176 * pt-plot.cc (Vgnuplot_command_plot, Vgnuplot_command_replot,
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1177 Vgnuplot_command_splot, Vgnuplot_command_using,
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1178 Vgnuplot_command_with, Vgnuplot_command_title,
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1179 Vgnuplot_command_end): New static variables.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1180 (symbols_of_pt_plot): DEFVAR them.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1181 (gnuplot_command_plot, gnuplot_command_replot,
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1182 gnuplot_command_splot, gnuplot_command_using,
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1183 gnuplot_command_with, gnuplot_command_title,
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1184 gnuplot_command_end): New functions.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1185 (open_plot_stream, send_to_plot_stream, tree_plot_command::eval,
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1186 subplot_using::print, subplot_style::print, subplot::print,
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1187 do_external_plotter_cd, Fgset, Fgshow): Use them instead of the
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1188 GPLOT_CMD_PLOT, GPLOT_CMD_REPLOT, GPLOT_CMD_SPLOT,
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1189 GPLOT_CMD_USING, GPLOT_CMD_WITH, GPLOT_CMD_TITLE, and
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1190 GPLOT_CMD_END macros.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3160
diff changeset
1191
3160
4696773a14b1 [project @ 1998-03-02 06:18:12 by jwe]
jwe
parents: 3156
diff changeset
1192 Fri Feb 27 12:25:27 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
4696773a14b1 [project @ 1998-03-02 06:18:12 by jwe]
jwe
parents: 3156
diff changeset
1193
4696773a14b1 [project @ 1998-03-02 06:18:12 by jwe]
jwe
parents: 3156
diff changeset
1194 * help.cc (additional_help_message): Fix www address.
4696773a14b1 [project @ 1998-03-02 06:18:12 by jwe]
jwe
parents: 3156
diff changeset
1195
4696773a14b1 [project @ 1998-03-02 06:18:12 by jwe]
jwe
parents: 3156
diff changeset
1196 Tue Feb 24 00:42:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
4696773a14b1 [project @ 1998-03-02 06:18:12 by jwe]
jwe
parents: 3156
diff changeset
1197
4696773a14b1 [project @ 1998-03-02 06:18:12 by jwe]
jwe
parents: 3156
diff changeset
1198 * help.cc (simple_help): Put additional help message first.
4696773a14b1 [project @ 1998-03-02 06:18:12 by jwe]
jwe
parents: 3156
diff changeset
1199 (additional_help_message): Add information about web site and
4696773a14b1 [project @ 1998-03-02 06:18:12 by jwe]
jwe
parents: 3156
diff changeset
1200 mailing list.
4696773a14b1 [project @ 1998-03-02 06:18:12 by jwe]
jwe
parents: 3156
diff changeset
1201
3156
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1202 Fri Feb 20 00:41:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1203
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1204 * pt-plot.cc (GPLOT_CMD_REPLOT): Clear before replot.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1205
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1206 * Makefile.in: Better handling of lib flags for linking.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1207
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1208 Thu Feb 19 21:14:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1209
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1210 * pt-decl.cc (Vinitialize_global_values): New static variable.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1211 (initialize_global_variables): New function.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1212 (symbols_of_pt_decl): New function.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1213 DEFVAR Vinitialize_global_values and initialize_global_variables.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1214 (tree_global_command::do_init): If initialize_global_variables is
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1215 not true and the variable doesn't have an explicit initializer, don't
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1216 initialize it. If we are giving it a default value, use the value
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1217 of the variable defualt_global_variable_value.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1218 * octave.cc (maximum_braindamage): Set default_global_variable_value
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1219 and initialize_global_variables to Matlab-compatible values.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1220
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1221 Wed Feb 18 04:35:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1222
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1223 * DLD-FUNCTIONS/besselj.cc: Rename from bessel.cc.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1224 * Makefile.in (DLD_XSRC): Likewise.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1225
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1226 * syscalls.cc (Fvfork): Delete.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1227
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1228 * oct-procbuf.cc: Just use fork.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1229
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1230 * parse.y (feval): Provide version that takes function name
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1231 separate from other args.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1232 * parse.h: Declare it.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1233
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1234 * oct-procbuf.cc (octave_procbuf::open): Move declaration of
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1235 child_std_end outside of child scope and declare volatile.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1236
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1237 Mon Feb 16 15:04:28 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1238
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1239 * parse.y: Include cstdio, for SEEK_SET.
a494f93e60ff [project @ 1998-02-20 07:47:48 by jwe]
jwe
parents: 3153
diff changeset
1240
3153
94fc53d82561 [project @ 1998-02-13 04:08:17 by jwe]
jwe
parents: 3148
diff changeset
1241 Thu Feb 12 22:07:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
94fc53d82561 [project @ 1998-02-13 04:08:17 by jwe]
jwe
parents: 3148
diff changeset
1242
94fc53d82561 [project @ 1998-02-13 04:08:17 by jwe]
jwe
parents: 3148
diff changeset
1243 * system.c: New file.
94fc53d82561 [project @ 1998-02-13 04:08:17 by jwe]
jwe
parents: 3148
diff changeset
1244 * Makefile.in (SOURCES): Add it to the list.
94fc53d82561 [project @ 1998-02-13 04:08:17 by jwe]
jwe
parents: 3148
diff changeset
1245
3148
8cdcb8945695 [project @ 1998-02-06 21:25:11 by jwe]
jwe
parents: 3147
diff changeset
1246 Fri Feb 6 01:23:18 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
8cdcb8945695 [project @ 1998-02-06 21:25:11 by jwe]
jwe
parents: 3147
diff changeset
1247
8cdcb8945695 [project @ 1998-02-06 21:25:11 by jwe]
jwe
parents: 3147
diff changeset
1248 * oct-stream.cc (octave_base_stream::file_number): Rename from fileno.
8cdcb8945695 [project @ 1998-02-06 21:25:11 by jwe]
jwe
parents: 3147
diff changeset
1249 Change all uses.
8cdcb8945695 [project @ 1998-02-06 21:25:11 by jwe]
jwe
parents: 3147
diff changeset
1250
8cdcb8945695 [project @ 1998-02-06 21:25:11 by jwe]
jwe
parents: 3147
diff changeset
1251 * fsolve.cc (fsolve_option_table): Add missing & to function names.
8cdcb8945695 [project @ 1998-02-06 21:25:11 by jwe]
jwe
parents: 3147
diff changeset
1252
3145
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1253 Thu Feb 5 02:27:18 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1254
3147
894d516b4a00 [project @ 1998-02-06 06:00:08 by jwe]
jwe
parents: 3145
diff changeset
1255 * dirfns.cc (Fls): If first attempt at reading process output
894d516b4a00 [project @ 1998-02-06 06:00:08 by jwe]
jwe
parents: 3145
diff changeset
1256 fails, sleep once and try again.
894d516b4a00 [project @ 1998-02-06 06:00:08 by jwe]
jwe
parents: 3145
diff changeset
1257 * toplev.cc (run_command_and_return_output): Likewise.
894d516b4a00 [project @ 1998-02-06 06:00:08 by jwe]
jwe
parents: 3145
diff changeset
1258
894d516b4a00 [project @ 1998-02-06 06:00:08 by jwe]
jwe
parents: 3145
diff changeset
1259 * oct-procbuf.cc (octave_procbuf::open): Use vfork if it is available.
894d516b4a00 [project @ 1998-02-06 06:00:08 by jwe]
jwe
parents: 3145
diff changeset
1260
894d516b4a00 [project @ 1998-02-06 06:00:08 by jwe]
jwe
parents: 3145
diff changeset
1261 * syscalls.cc (Fvfork): New function.
894d516b4a00 [project @ 1998-02-06 06:00:08 by jwe]
jwe
parents: 3145
diff changeset
1262
3145
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1263 * ov-bool-mat.cc: Only declare assign function if
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1264 CXX_NEW_FRIEND_TEMPLATE_DECL is not defined.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1265
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1266 * ov-base.h, ov-bool-mat.h, ov-bool.h, ov-ch-mat.h, ov-complex.h,
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1267 ov-cx-mat.h, ov-range.h, ov-re-mat.h, ov-scalar.h: Handle default
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1268 args for *_value functions consistently.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1269
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1270 * symtab.cc (maybe_list_cmp_fcn): Declare args as void*, not
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1271 void**, then use X_CAST.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1272
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1273 * OPERATORS/op-s-cm.cc: Include mx-cm-s.h.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1274
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1275 * defun-int.h: Include ov-builtin.h, ov-mapper.h, and symtab.h.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1276 (install_builtin_mapper, install_builtin_function,
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1277 install_builtin_variable) Use specific types rather than void * in
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1278 declaration.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1279 * defun.cc (install_builtin_mapper, install_builtin_function,
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1280 install_builtin_variable): Likewise. Eliminate casts.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1281
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1282 * load-save.cc (read_binary_data, read_mat_file_header,
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1283 save_binary_data): Use X_CAST, not static_cast.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1284 * unwind-prot.h (unwind_protect::save_ptr): Likewise.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1285 * Map.cc (goodCHptr, index_to_CHptr, CHptr_to_index): Likewise.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1286 * dynamic-ld.cc (octave_dlopen_dynamic_loder::resolve_reference):
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1287 Likewise.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1288
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1289 * pt-mat.cc (tm_const::operator bool ()):
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1290 (tm_row_const::operator bool ()): Likewise.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1291 * oct-stream.cc (printf_value_cache::operator bool ()): Likewise.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1292 (scanf_format_list::operator bool ()): Likewise.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1293 (printf_format_list::operator bool ()): Likewise.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1294 (octave_stream::operator bool ()): Likewise.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1295
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1296 Wed Feb 4 13:08:29 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1297
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1298 * DLD-FUNCTIONS/minmax.cc: Include cmath, not oct-math.h.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1299
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1300 * syscalls.cc (Fdup2): Convert stream to actual system file id.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1301
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1302 * oct-stream.cc (octave_base_stream::fileno, octave_stream::fileno):
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1303 New functions.
0d640dc625c7 [project @ 1998-02-05 08:44:59 by jwe]
jwe
parents: 3141
diff changeset
1304
3141
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1305 Tue Feb 3 00:24:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1306
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1307 * defaults.cc (exec_path): Append Vbin_dir to std_path.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1308
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1309 * octave.cc (initialize_pathsearch): Set TEXMFDBS, not TEXMF.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1310 Look for OCTAVE_DB_PATH in environment.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1311 Simplify using Vdata_dir and Vlibexec_dir.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1312
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1313 * defaults.h.in (Vdata_dir, Vlibexecdir): Declare new vars.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1314 defaults.cc: Define them.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1315 (set_default_data_dir, set_default_libexecdir): New functions.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1316 (install_defaults): Call them.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1317
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1318 * defaults.h.in (OCTAVE_LIBEXECDIR): Define.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1319
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1320 Mon Feb 2 02:43:16 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1321
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1322 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir).
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1323 Use mk-libdir-link.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1324
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1325 * defaults.h.in (OCTAVE_OCTLIBDIR): Substitute value.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1326 (Vlib_dir): Delete declaration.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1327 * defaults.cc (Vlib_dir): Delete.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1328 (set_default_lib_dir): Delete.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1329 (install_defaults): Don't call set_default_lib_dir.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1330 (set_default_info_prog): If oct_info_prog is empty, set default to
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1331 "info" -- we expect it to be somewhere in the user's path.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1332
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1333 * defun.h (DEFCONST, DEFCONSTX): Eliminate inst_as_fcn and chg_fcn
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1334 args. Always pass true for inst_as_fcn and 0 for chg_fcn to
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1335 DEFVAR when creating built-in values like `e' or `stderr' that can
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1336 be redefined. Change all uses.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1337
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1338 * help.cc (Ftype): Handle script files too.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1339 (Fwhich): Likewise.
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3136
diff changeset
1340
3136
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1341 Sat Jan 31 00:00:26 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1342
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1343 * ov-ch-mat.cc (octave_char_matrix::is_true): Make it work.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1344 * ov-str-mat.h, ov-str-mat.cc (octave_char_matrix_str::is_true):
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1345 Delete.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1346
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1347 * load-save.cc (read_ascii_data): Allow strings of length 0.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1348 If we don't find data on the first call, fail with error message.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1349 (do_load): Pass count of items read to read_ascii_data.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1350 Allow `load foo xyz' to work when foo contains only numbers.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1351
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1352 Fri Jan 30 23:46:42 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1353
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1354 * ov-str-mat.h (octave_char_matrix_str::all): Delete.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1355 (octave_char_matrix_str::any): Delete.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1356 * ov-ch-mat.h (octave_char_matrix::all, octave_char_matrix::any):
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1357 Call charMatrix::all, charMatrix::any.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1358
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1359 Thu Jan 29 16:25:46 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1360
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1361 * load-save.cc (read_mat_binary_data): Handle third digit of MOPT
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1362 as flag indicating row or column major ordering.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3131
diff changeset
1363
3131
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1364 Wed Jan 28 00:18:17 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1365
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1366 * DLD-FUNCTIONS/dassl.cc (lsode_option_table):
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1367 Add missing & to function names.
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1368 * DLD-FUNCTIONS/lsode.cc (lsode_option_table): Likewise.
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1369 * DLD-FUNCTIONS/quad.cc (quad_option_table): Likewise.
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1370
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1371 * Makefile.in (oct-gperf.h): Add -G option to gperf.
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1372
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1373 * load-save.cc (get_save_type): Add `UL' and `L' suffixes to large
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1374 constant values. For LS_INT, use <= and >= for comparison.
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1375
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1376 Mon Jan 26 13:17:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1377
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1378 * ov-usr-fcn.cc (Vmax_recursion_depth): New static variable.
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1379 (max_recursion_depth): New fucnction
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1380 (symbols_of_ov_usr_fcn): DEFVAR max_recursion_depth.
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1381 (octave_user_function::do_index_op): Check Vmax_recursion_depth.
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3130
diff changeset
1382
3130
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1383 Thu Jan 22 13:45:26 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1384
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1385 * dynamic-ld.cc (make_dynamic_loader): Fix typo.
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1386
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1387 Tue Jan 20 17:02:19 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1388
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1389 * variables.cc (Fexist): If local symbol is undefined, check
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1390 global table.
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1391
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1392 * pr-output.cc (pr_max_internal): Initial value for result is
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1393 -DBL_MAX, not DBL_MIN.
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
1394
3125
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1395 Thu Jan 8 11:54:33 1998 John W. Eaton <jwe@bevo.che.wisc.edu>
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1396
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1397 * xpow.cc (elem_xpow): If second arg of pow is complex, make sure
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1398 first arg is also complex.
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1399
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1400 * symtab.cc (symbol_table::rename): Properly insert new item at
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1401 the front of the list to avoid losing the rest of the items.
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1402
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1403 Thu Dec 11 23:30:03 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1404
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1405 * variables.cc (Fclear): Increment index to skip -x arg.
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3124
diff changeset
1406
3124
38684be52a3e [project @ 1997-12-12 04:01:51 by jwe]
jwe
parents: 3119
diff changeset
1407 Tue Dec 9 02:45:35 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
38684be52a3e [project @ 1997-12-12 04:01:51 by jwe]
jwe
parents: 3119
diff changeset
1408
38684be52a3e [project @ 1997-12-12 04:01:51 by jwe]
jwe
parents: 3119
diff changeset
1409 * Makefile.in (INCLUDES): Don't forget Pix.h.
38684be52a3e [project @ 1997-12-12 04:01:51 by jwe]
jwe
parents: 3119
diff changeset
1410
38684be52a3e [project @ 1997-12-12 04:01:51 by jwe]
jwe
parents: 3119
diff changeset
1411 * BaseSLList.cc: Don't include nonstandard libg++ header files.
38684be52a3e [project @ 1997-12-12 04:01:51 by jwe]
jwe
parents: 3119
diff changeset
1412
3119
f3e1da120048 [project @ 1997-11-30 21:13:58 by jwe]
jwe
parents: 3113
diff changeset
1413 Sun Nov 30 14:58:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f3e1da120048 [project @ 1997-11-30 21:13:58 by jwe]
jwe
parents: 3113
diff changeset
1414
3124
38684be52a3e [project @ 1997-12-12 04:01:51 by jwe]
jwe
parents: 3119
diff changeset
1415 * pr-output.cc: Include cmath, not oct-math.
38684be52a3e [project @ 1997-12-12 04:01:51 by jwe]
jwe
parents: 3119
diff changeset
1416 * sysdep.cc: Likewise.
38684be52a3e [project @ 1997-12-12 04:01:51 by jwe]
jwe
parents: 3119
diff changeset
1417
3119
f3e1da120048 [project @ 1997-11-30 21:13:58 by jwe]
jwe
parents: 3113
diff changeset
1418 * DLD-FUNCTIONS/bessel.cc: New file.
f3e1da120048 [project @ 1997-11-30 21:13:58 by jwe]
jwe
parents: 3113
diff changeset
1419 * Makefile.in (DLD_XSRC): Add it to the list.
f3e1da120048 [project @ 1997-11-30 21:13:58 by jwe]
jwe
parents: 3113
diff changeset
1420
3113
61bb314b2c3d [project @ 1997-11-28 05:32:41 by jwe]
jwe
parents: 3111
diff changeset
1421 Thu Nov 27 23:28:59 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
61bb314b2c3d [project @ 1997-11-28 05:32:41 by jwe]
jwe
parents: 3111
diff changeset
1422
61bb314b2c3d [project @ 1997-11-28 05:32:41 by jwe]
jwe
parents: 3111
diff changeset
1423 * lex.l (handle_string): Constructor for string class takes
61bb314b2c3d [project @ 1997-11-28 05:32:41 by jwe]
jwe
parents: 3111
diff changeset
1424 (size_t, char) args, not (char, size_t).
61bb314b2c3d [project @ 1997-11-28 05:32:41 by jwe]
jwe
parents: 3111
diff changeset
1425
3111
fe6f9bd9d0e6 [project @ 1997-11-26 07:52:06 by jwe]
jwe
parents: 3110
diff changeset
1426 Wed Nov 26 00:39:34 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
fe6f9bd9d0e6 [project @ 1997-11-26 07:52:06 by jwe]
jwe
parents: 3110
diff changeset
1427
fe6f9bd9d0e6 [project @ 1997-11-26 07:52:06 by jwe]
jwe
parents: 3110
diff changeset
1428 * Makefile.in (OCTAVE_LIBS): Include $(SPECIAL_MATH_LIB) just
fe6f9bd9d0e6 [project @ 1997-11-26 07:52:06 by jwe]
jwe
parents: 3110
diff changeset
1429 ahead of -lcruft.
fe6f9bd9d0e6 [project @ 1997-11-26 07:52:06 by jwe]
jwe
parents: 3110
diff changeset
1430
3110
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1431 Thu Nov 20 15:16:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1432
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1433 * octave.cc (maximum_braindamage): Bind implicit_num_to_str_ok to 1.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1434 * pt-mat.cc (Vimplicit_num_to_str_ok): New static variable.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1435 (implicit_num_to_str_ok): New function.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1436 (symbols_of_pt_mat): DEFVAR implicit_num_to_str_ok.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1437 (tm_row_const::some_str): New data member.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1438 (tm_row_const::some_strings_p): New function.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1439 (tm_row_const::init): Set some_str.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1440 (tm_const::some_str): New data member.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1441 (tm_const::some_strings_p): New function.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1442 (tm_const::init): Set some_str.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1443 (tree_matrix::eval): If Vimplicit_num_to_str_ok is true and some
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1444 of the elements are strings, force a string conversion before
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1445 returning.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1446
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1447 * parse.y (fold, finish_colon_expression, finish_matrix):
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1448 If an error occurs, return the original expression.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1449 Use unwind_protect to restore error_state.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1450
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1451 * ov-ch-mat.h (octave_char_matrix::convert_to_str): Result is
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1452 char_matrix_str, not just char_matrix.
fe2d1ae8926b [project @ 1997-11-21 02:11:19 by jwe]
jwe
parents: 3109
diff changeset
1453
3107
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1454 Wed Nov 19 02:05:40 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu>
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1455
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1456 * DLD-FUNCTIONS/filter.cc: Don't include extern template decls if
3109
fcb2f5063e7f [project @ 1997-11-20 08:52:42 by jwe]
jwe
parents: 3107
diff changeset
1457 CXX_NEW_FRIEND_TEMPLATE_DECL is defined.
3107
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1458 * ov-cx-mat.cc: Likewise.
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1459 * ov-re-mat.cc: Likewise.
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1460 * ov-str-mat.cc: Likewise.
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1461
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1462 * ov-cx-mat.h (octave_complex_matrix::decrement,
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1463 octave_complex_matrix): Use explicit Complex constructor.
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1464
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1465 Wed Nov 19 00:08:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1466
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1467 * pt-decl.cc (tree_global_command::do_init): Initialize global
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1468 values to `[]'. Only perform explicit initialization once.
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
1469
3103
98d862e12945 [project @ 1997-11-18 10:46:30 by jwe]
jwe
parents: 3100
diff changeset
1470 Tue Nov 18 04:27:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
98d862e12945 [project @ 1997-11-18 10:46:30 by jwe]
jwe
parents: 3100
diff changeset
1471
3105
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1472 * pr-output.cc (Vfixed_point_format): New variable.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1473 (fixed_point_format): New fucntion.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1474 (symbols_of_pr_output): Add DEFVAR for fixed_point_format.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1475 (set_real_matrix_format): Handle fixed point format
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1476 (set_complex_matrix_format): Handle fixed point format
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1477 (set_format): New arg, scale in Matrix, ComplexMatrix, Range versions.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1478 (pr_scale_header): New function.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1479 (octave_print_internal): Handle fixed point format in Matrix,
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1480 ComplexMatrix, and Range versions.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1481 * octave.cc (maximum_braindamage): Set fixed_point_format to 1.0.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1482
3103
98d862e12945 [project @ 1997-11-18 10:46:30 by jwe]
jwe
parents: 3100
diff changeset
1483 * utils.cc (do_string_escapes): Move here, from lex.l.
98d862e12945 [project @ 1997-11-18 10:46:30 by jwe]
jwe
parents: 3100
diff changeset
1484 Arg is now const string& instead of char*.
98d862e12945 [project @ 1997-11-18 10:46:30 by jwe]
jwe
parents: 3100
diff changeset
1485 Return new string object instead of modifying arg in place.
98d862e12945 [project @ 1997-11-18 10:46:30 by jwe]
jwe
parents: 3100
diff changeset
1486 (Fdo_string_escapes): New function.
98d862e12945 [project @ 1997-11-18 10:46:30 by jwe]
jwe
parents: 3100
diff changeset
1487 * lex.l (handle_string): Use new version of do_string_escapes.
3105
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1488
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1489 * lex.l (Vbackslash_escapes): Delete.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1490 (backslash_escapes): Delete.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1491 (do_string_escapes): Undo previous change.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1492 (eat_whitespace, eat_continuation): Undo previous change.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1493 (handle_string): Undo previous change.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1494 (symbols_of_lex): Undo previous change.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3103
diff changeset
1495 * octave.cc (maximum_braindamage): Undo previous change.
3103
98d862e12945 [project @ 1997-11-18 10:46:30 by jwe]
jwe
parents: 3100
diff changeset
1496
3096
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1497 Fri Nov 14 01:53:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1498
3100
bea2f5be3eab [project @ 1997-11-14 10:07:50 by jwe]
jwe
parents: 3098
diff changeset
1499 * parse.y (eval_string (const string&, bool, int&, int)): No
bea2f5be3eab [project @ 1997-11-14 10:07:50 by jwe]
jwe
parents: 3098
diff changeset
1500 longer static.
bea2f5be3eab [project @ 1997-11-14 10:07:50 by jwe]
jwe
parents: 3098
diff changeset
1501 * parse.h: Provide declaration.
bea2f5be3eab [project @ 1997-11-14 10:07:50 by jwe]
jwe
parents: 3098
diff changeset
1502 * input.cc (get_user_input (const octave_value_list&, bool, int)):
bea2f5be3eab [project @ 1997-11-14 10:07:50 by jwe]
jwe
parents: 3098
diff changeset
1503 New arg, nargout. Pass it to eval_string.
bea2f5be3eab [project @ 1997-11-14 10:07:50 by jwe]
jwe
parents: 3098
diff changeset
1504 (keyboard): Pass nargout = 0 to get_user_input.
bea2f5be3eab [project @ 1997-11-14 10:07:50 by jwe]
jwe
parents: 3098
diff changeset
1505 (input): Pass nargout to get_user_input.
bea2f5be3eab [project @ 1997-11-14 10:07:50 by jwe]
jwe
parents: 3098
diff changeset
1506
3098
f4acdc9a77cc [project @ 1997-11-14 09:30:20 by jwe]
jwe
parents: 3096
diff changeset
1507 * input.cc (get_user_input (const octave_value_list&, bool)):
3100
bea2f5be3eab [project @ 1997-11-14 10:07:50 by jwe]
jwe
parents: 3098
diff changeset
1508 Return octave_value_list() if user enters `quit', `exit', or `return'.
3098
f4acdc9a77cc [project @ 1997-11-14 09:30:20 by jwe]
jwe
parents: 3096
diff changeset
1509 If debugging, let eval_string handle the printing chores and
f4acdc9a77cc [project @ 1997-11-14 09:30:20 by jwe]
jwe
parents: 3096
diff changeset
1510 reset error_state before asking for more input.
f4acdc9a77cc [project @ 1997-11-14 09:30:20 by jwe]
jwe
parents: 3096
diff changeset
1511
f4acdc9a77cc [project @ 1997-11-14 09:30:20 by jwe]
jwe
parents: 3096
diff changeset
1512 * input.cc (Fkeyboard): Unconditionally turn on history here.
f4acdc9a77cc [project @ 1997-11-14 09:30:20 by jwe]
jwe
parents: 3096
diff changeset
1513
3096
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1514 * lex.l (have_continuation, have_ellipsis_continuation): Declare
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1515 arg as bool, not int. Change callers.
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1516
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1517 * lex.l (Vbackslash_escapes): New static variable.
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1518 (backslash_escapes): New function.
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1519 (do_string_escapes): Return immediately if ! Vbackslash_escapes.
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1520 (eat_whitespace, eat_continuation): Only call have_continuation if
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1521 Vbackslash_escapes.
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1522 (handle_string): Backslash is only special if Vbackslash_escapes.
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1523 (symbols_of_lex): Add DEFVAR for backslash_escapes.
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1524 * octave.cc (maximum_braindamage): Set backslash_escapes to 0.
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1525
3095
528f4270e904 [project @ 1997-11-14 03:58:45 by jwe]
jwe
parents: 3092
diff changeset
1526 Thu Nov 13 16:20:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
528f4270e904 [project @ 1997-11-14 03:58:45 by jwe]
jwe
parents: 3092
diff changeset
1527
3096
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1528 * variables.cc (Fexist): Also return 2 if NAME is a regular file
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1529 somewhere in the LOADPATH.
ff8b4d6371b3 [project @ 1997-11-14 07:59:14 by jwe]
jwe
parents: 3095
diff changeset
1530
3095
528f4270e904 [project @ 1997-11-14 03:58:45 by jwe]
jwe
parents: 3092
diff changeset
1531 * data.cc (sumsq): Fix doc string.
528f4270e904 [project @ 1997-11-14 03:58:45 by jwe]
jwe
parents: 3092
diff changeset
1532
528f4270e904 [project @ 1997-11-14 03:58:45 by jwe]
jwe
parents: 3092
diff changeset
1533 * parse.y (Fsource): Call parse_fcn_file, not parse_and_execute.
528f4270e904 [project @ 1997-11-14 03:58:45 by jwe]
jwe
parents: 3092
diff changeset
1534
3092
4bb976b250bf [project @ 1997-10-17 07:48:48 by jwe]
jwe
parents: 3088
diff changeset
1535 Tue Oct 7 16:51:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
4bb976b250bf [project @ 1997-10-17 07:48:48 by jwe]
jwe
parents: 3088
diff changeset
1536
4bb976b250bf [project @ 1997-10-17 07:48:48 by jwe]
jwe
parents: 3088
diff changeset
1537 * defun-int.h (DEFINE_FUN_INSTALLER_FUN): Set installed to true
4bb976b250bf [project @ 1997-10-17 07:48:48 by jwe]
jwe
parents: 3088
diff changeset
1538 after installing the function.
4bb976b250bf [project @ 1997-10-17 07:48:48 by jwe]
jwe
parents: 3088
diff changeset
1539
3088
f33738510eb2 [project @ 1997-10-02 06:38:36 by jwe]
jwe
parents: 3086
diff changeset
1540 Thu Sep 25 10:17:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f33738510eb2 [project @ 1997-10-02 06:38:36 by jwe]
jwe
parents: 3086
diff changeset
1541
f33738510eb2 [project @ 1997-10-02 06:38:36 by jwe]
jwe
parents: 3086
diff changeset
1542 * DLD-FUNCTIONS/filter.cc (Ffilter): Return second output value
f33738510eb2 [project @ 1997-10-02 06:38:36 by jwe]
jwe
parents: 3086
diff changeset
1543 even when called with only 3 arguments.
f33738510eb2 [project @ 1997-10-02 06:38:36 by jwe]
jwe
parents: 3086
diff changeset
1544
3086
5cbbecce1fd9 [project @ 1997-09-22 21:46:28 by jwe]
jwe
parents: 3081
diff changeset
1545 Mon Sep 22 16:44:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
5cbbecce1fd9 [project @ 1997-09-22 21:46:28 by jwe]
jwe
parents: 3081
diff changeset
1546
5cbbecce1fd9 [project @ 1997-09-22 21:46:28 by jwe]
jwe
parents: 3081
diff changeset
1547 * DLD-FUNCTIONS/rand.cc (do_rand): Print error if first of two
5cbbecce1fd9 [project @ 1997-09-22 21:46:28 by jwe]
jwe
parents: 3081
diff changeset
1548 args is a string but doesn't match "seed".
3088
f33738510eb2 [project @ 1997-10-02 06:38:36 by jwe]
jwe
parents: 3086
diff changeset
1549 (Frand, Frandn): Fix doc string.
3086
5cbbecce1fd9 [project @ 1997-09-22 21:46:28 by jwe]
jwe
parents: 3081
diff changeset
1550
3081
8c779ed7979b [project @ 1997-08-25 15:51:20 by jwe]
jwe
parents: 3079
diff changeset
1551 Mon Aug 25 10:42:07 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
8c779ed7979b [project @ 1997-08-25 15:51:20 by jwe]
jwe
parents: 3079
diff changeset
1552
8c779ed7979b [project @ 1997-08-25 15:51:20 by jwe]
jwe
parents: 3079
diff changeset
1553 * input.cc (get_user_input): Return an empty string if the user
8c779ed7979b [project @ 1997-08-25 15:51:20 by jwe]
jwe
parents: 3079
diff changeset
1554 just types RET.
8c779ed7979b [project @ 1997-08-25 15:51:20 by jwe]
jwe
parents: 3079
diff changeset
1555
3079
eb827eb9b8ff [project @ 1997-08-03 20:44:07 by jwe]
jwe
parents: 3074
diff changeset
1556 Thu Jul 31 22:59:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
eb827eb9b8ff [project @ 1997-08-03 20:44:07 by jwe]
jwe
parents: 3074
diff changeset
1557
eb827eb9b8ff [project @ 1997-08-03 20:44:07 by jwe]
jwe
parents: 3074
diff changeset
1558 * lex.l <TEXT_FCN>: Ensure that we handle words that begin with
eb827eb9b8ff [project @ 1997-08-03 20:44:07 by jwe]
jwe
parents: 3074
diff changeset
1559 single or double quotes as strings.
eb827eb9b8ff [project @ 1997-08-03 20:44:07 by jwe]
jwe
parents: 3074
diff changeset
1560
3074
42975c59d2a0 [project @ 1997-07-24 19:33:35 by jwe]
jwe
parents: 3072
diff changeset
1561 Thu Jul 17 13:06:48 1997 Klaus Gebhardt <gebhardt@crunch.ikp.physik.th-darmstadt.de>
42975c59d2a0 [project @ 1997-07-24 19:33:35 by jwe]
jwe
parents: 3072
diff changeset
1562
42975c59d2a0 [project @ 1997-07-24 19:33:35 by jwe]
jwe
parents: 3072
diff changeset
1563 * DLD-FUNCTIONS/rand.cc (Frand): Use F77_XFCN to call getsd,
42975c59d2a0 [project @ 1997-07-24 19:33:35 by jwe]
jwe
parents: 3072
diff changeset
1564 setsd, setall, setcgn, dgenunf, and dgennor since they can call
42975c59d2a0 [project @ 1997-07-24 19:33:35 by jwe]
jwe
parents: 3072
diff changeset
1565 XSTOPX.
42975c59d2a0 [project @ 1997-07-24 19:33:35 by jwe]
jwe
parents: 3072
diff changeset
1566
3072
ca9677cdb62e [project @ 1997-07-15 02:45:42 by jwe]
jwe
parents: 3068
diff changeset
1567 Mon Jul 14 12:54:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
ca9677cdb62e [project @ 1997-07-15 02:45:42 by jwe]
jwe
parents: 3068
diff changeset
1568
ca9677cdb62e [project @ 1997-07-15 02:45:42 by jwe]
jwe
parents: 3068
diff changeset
1569 * dynamic-ld.cc (octave_dynamic_loader::load_fcn_from_dot_oct_file):
ca9677cdb62e [project @ 1997-07-15 02:45:42 by jwe]
jwe
parents: 3068
diff changeset
1570 If first attempt to load function fails, prepend and underscore
ca9677cdb62e [project @ 1997-07-15 02:45:42 by jwe]
jwe
parents: 3068
diff changeset
1571 and try again.
ca9677cdb62e [project @ 1997-07-15 02:45:42 by jwe]
jwe
parents: 3068
diff changeset
1572
ca9677cdb62e [project @ 1997-07-15 02:45:42 by jwe]
jwe
parents: 3068
diff changeset
1573 * Makefile.in (install-inc): If defaults.h, oct-conf.h, or
ca9677cdb62e [project @ 1997-07-15 02:45:42 by jwe]
jwe
parents: 3068
diff changeset
1574 oct-gperf.h don't exist in the current directory, look in $(srcdir).
ca9677cdb62e [project @ 1997-07-15 02:45:42 by jwe]
jwe
parents: 3068
diff changeset
1575
3068
17e2f90e0d3b [project @ 1997-07-08 02:17:36 by jwe]
jwe
parents: 3067
diff changeset
1576 Mon Jul 7 21:14:07 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
17e2f90e0d3b [project @ 1997-07-08 02:17:36 by jwe]
jwe
parents: 3067
diff changeset
1577
17e2f90e0d3b [project @ 1997-07-08 02:17:36 by jwe]
jwe
parents: 3067
diff changeset
1578 * DLD-FUNCTIONS/qr.cc (Fqr): Correctly handle nargout == 0.
17e2f90e0d3b [project @ 1997-07-08 02:17:36 by jwe]
jwe
parents: 3067
diff changeset
1579
3067
aa76250a5b87 [project @ 1997-07-02 21:54:12 by jwe]
jwe
parents: 3065
diff changeset
1580 Wed Jul 2 16:47:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
aa76250a5b87 [project @ 1997-07-02 21:54:12 by jwe]
jwe
parents: 3065
diff changeset
1581
aa76250a5b87 [project @ 1997-07-02 21:54:12 by jwe]
jwe
parents: 3065
diff changeset
1582 * matherr.c: New file. Move matherr function here.
aa76250a5b87 [project @ 1997-07-02 21:54:12 by jwe]
jwe
parents: 3065
diff changeset
1583 * sysdep.cc: From here.
aa76250a5b87 [project @ 1997-07-02 21:54:12 by jwe]
jwe
parents: 3065
diff changeset
1584 * Makefile.in (DIST_SRC): Add matherr.c to the list.
aa76250a5b87 [project @ 1997-07-02 21:54:12 by jwe]
jwe
parents: 3065
diff changeset
1585
aa76250a5b87 [project @ 1997-07-02 21:54:12 by jwe]
jwe
parents: 3065
diff changeset
1586 * error.cc (handle_message): Avoid bug in g++ snapshot.
aa76250a5b87 [project @ 1997-07-02 21:54:12 by jwe]
jwe
parents: 3065
diff changeset
1587
3065
2280158c4449 [project @ 1997-06-27 03:19:27 by jwe]
jwe
parents: 3060
diff changeset
1588 Thu Jun 26 22:04:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2280158c4449 [project @ 1997-06-27 03:19:27 by jwe]
jwe
parents: 3060
diff changeset
1589
2280158c4449 [project @ 1997-06-27 03:19:27 by jwe]
jwe
parents: 3060
diff changeset
1590 * utils.cc (file_in_path): Add default load path to PATH arg if
2280158c4449 [project @ 1997-06-27 03:19:27 by jwe]
jwe
parents: 3060
diff changeset
1591 it begins or ends with a colon.
2280158c4449 [project @ 1997-06-27 03:19:27 by jwe]
jwe
parents: 3060
diff changeset
1592
3060
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1593 Wed Jun 25 13:31:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1594
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1595 * oct-lvalue.h (octave_lvalue::struct_elt_ref): Ensure val is unique.
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1596
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1597 Fri Jun 20 12:33:35 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1598
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1599 * toplev.cc (cmd_death_handler): New function.
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1600 (run_command_and_return_output): Insert pid of command in
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1601 octave_child_list along with pointer to cmd_death_handler so we
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1602 can get the exit status without having to block SIGCHLD.
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1603 (cleanup_iprocstream): Remove pid of command from octave_child_list.
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3054
diff changeset
1604
3053
f05a02fbe3c9 [project @ 1997-06-15 21:25:33 by jwe]
jwe
parents: 3042
diff changeset
1605 Sun Jun 15 16:11:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f05a02fbe3c9 [project @ 1997-06-15 21:25:33 by jwe]
jwe
parents: 3042
diff changeset
1606
3054
788799701ecb [project @ 1997-06-15 21:29:31 by jwe]
jwe
parents: 3053
diff changeset
1607 * OPERATORS/op-cs-s.cc (ldiv): Doh, v1 is complex, v2 is real.
788799701ecb [project @ 1997-06-15 21:29:31 by jwe]
jwe
parents: 3053
diff changeset
1608
3053
f05a02fbe3c9 [project @ 1997-06-15 21:25:33 by jwe]
jwe
parents: 3042
diff changeset
1609 * Makefile.in (DISTFILES): Add mkops to the list.
f05a02fbe3c9 [project @ 1997-06-15 21:25:33 by jwe]
jwe
parents: 3042
diff changeset
1610 (dist): Correctly link files in DLD-FUNCTIONS, OPERATORS, and
f05a02fbe3c9 [project @ 1997-06-15 21:25:33 by jwe]
jwe
parents: 3042
diff changeset
1611 TEMPLATE-INST subdirectories.
f05a02fbe3c9 [project @ 1997-06-15 21:25:33 by jwe]
jwe
parents: 3042
diff changeset
1612
3040
443851377f3f [project @ 1997-06-06 09:29:28 by jwe]
jwe
parents: 3036
diff changeset
1613 Fri Jun 6 04:30:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
443851377f3f [project @ 1997-06-06 09:29:28 by jwe]
jwe
parents: 3036
diff changeset
1614
3042
e70400e133d0 [project @ 1997-06-06 21:33:29 by jwe]
jwe
parents: 3040
diff changeset
1615 * DLD-FUNCTIONS/npsol.cc, DLD-FUNCTIONS/qpsol.cc,
e70400e133d0 [project @ 1997-06-06 21:33:29 by jwe]
jwe
parents: 3040
diff changeset
1616 DLD-FUNCTIONS/fsqp.cc: Delete.
e70400e133d0 [project @ 1997-06-06 21:33:29 by jwe]
jwe
parents: 3040
diff changeset
1617 * Makefile.in (DLD_XSRC): Remove them from the list.
e70400e133d0 [project @ 1997-06-06 21:33:29 by jwe]
jwe
parents: 3040
diff changeset
1618
3040
443851377f3f [project @ 1997-06-06 09:29:28 by jwe]
jwe
parents: 3036
diff changeset
1619 * utils.cc (search_path_for_file): New arg, do_tilde_expansion.
443851377f3f [project @ 1997-06-06 09:29:28 by jwe]
jwe
parents: 3036
diff changeset
1620 If TRUE, perform tilde expansion on path before searching.
443851377f3f [project @ 1997-06-06 09:29:28 by jwe]
jwe
parents: 3036
diff changeset
1621 (file_in_path): Call search_path_for_file with do_tilde_expansion
443851377f3f [project @ 1997-06-06 09:29:28 by jwe]
jwe
parents: 3036
diff changeset
1622 set to false, since we've already performed tilde expansion on the
443851377f3f [project @ 1997-06-06 09:29:28 by jwe]
jwe
parents: 3036
diff changeset
1623 load path.
443851377f3f [project @ 1997-06-06 09:29:28 by jwe]
jwe
parents: 3036
diff changeset
1624
443851377f3f [project @ 1997-06-06 09:29:28 by jwe]
jwe
parents: 3036
diff changeset
1625 * defaults.cc (loadpath): Perform tilde expansion here.
443851377f3f [project @ 1997-06-06 09:29:28 by jwe]
jwe
parents: 3036
diff changeset
1626
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 3024
diff changeset
1627 Thu Jun 5 01:42:39 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 3024
diff changeset
1628
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3033
diff changeset
1629 * Makefile.in: Make building of static library optional.
3036
b8c5ded2751f [project @ 1997-06-05 21:44:19 by jwe]
jwe
parents: 3034
diff changeset
1630 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command.
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3033
diff changeset
1631
3033
968e85a82e25 [project @ 1997-06-05 16:50:05 by jwe]
jwe
parents: 3029
diff changeset
1632 * dynamic-ld.cc (octave_shl_load_dynamic_loader::resolve_reference):
968e85a82e25 [project @ 1997-06-05 16:50:05 by jwe]
jwe
parents: 3029
diff changeset
1633 Call shl_findsym with type set to TYPE_UNDEFINED.
968e85a82e25 [project @ 1997-06-05 16:50:05 by jwe]
jwe
parents: 3029
diff changeset
1634
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 3024
diff changeset
1635 * Makefile.in (stamp-picdir): Delete.
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 3024
diff changeset
1636 (pic): New target. Don't worry so much about creating pic
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 3024
diff changeset
1637 directory only when it is really needed.
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 3024
diff changeset
1638 (stamp-interp): Delete.
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 3024
diff changeset
1639 (libraries): New target. Depend on shared library directly.
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 3024
diff changeset
1640
3024
95e8b5c4824a [project @ 1997-06-04 05:06:26 by jwe]
jwe
parents: 3022
diff changeset
1641 Wed Jun 4 00:09:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
95e8b5c4824a [project @ 1997-06-04 05:06:26 by jwe]
jwe
parents: 3022
diff changeset
1642
95e8b5c4824a [project @ 1997-06-04 05:06:26 by jwe]
jwe
parents: 3022
diff changeset
1643 * octave.cc (main): Call dir_path::set_program_name here.
95e8b5c4824a [project @ 1997-06-04 05:06:26 by jwe]
jwe
parents: 3022
diff changeset
1644
3021
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1645 Tue Jun 3 16:47:34 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1646
3022
0e458bbb1859 [project @ 1997-06-03 23:08:04 by jwe]
jwe
parents: 3021
diff changeset
1647 * variables.cc (symbol_out_of_date): Make it work again.
0e458bbb1859 [project @ 1997-06-03 23:08:04 by jwe]
jwe
parents: 3021
diff changeset
1648
3021
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1649 * parse.y (parse_and_execute): Move here from toplev.cc
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1650 (default_eval_print_flag): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1651 (safe_fclose): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1652 (eval_string): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1653 (Fsource): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1654 (Ffeval): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1655 (feval): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1656 (Feval): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1657 (symbols_of_parse): Define default_eval_print_flag here instead of
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1658 in varaibles.cc.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1659 (looks_like_octave_copyright): Move here from variables.cc
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1660 (gobble_leading_whitespace): Likeiwse.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1661 (is_function_file): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1662 (restore_input_stream): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1663 (parse_fcn_file): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1664 (load_fcn_from_file): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1665 (get_help_from_file): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1666
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1667 * toplev.cc (syms_of_toplev): Define argv, program_name, and
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1668 program_invocation_name here instead of in variables.cc.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1669
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1670 * parse.h (line_editing): Move here from toplev.h. Now bool, not int.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1671 (reading_startup_message_printed) Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1672 (input_from_startup_file): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1673 (input_from_command_line_file): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1674
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1675 * load-save.cc: Use bool instead of int where appropriate.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1676
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1677 * input.h (enum echo_state): Move here from variables.h.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1678 (Vecho_executing_commands): Likewise. Now bool, not int.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1679 * input.cc (echo_executing_commands): Move here from variables.cc.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1680 (symbols_of_input): Define echo_executing_commands here instead of
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1681 in variables.cc.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1682
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1683 * octave.cc (program_invocation_name): Don't define.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1684 (intern_argv): Don't set program_invocation_name here.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1685 (main): Call octave_env::set_program_name here, not in intern_argv.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1686
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1687 * toplev.cc (quitting_gracefully): Move here from octave.h and
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1688 make static bool instead of extern int.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1689
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1690 * error.cc (bind_global_error_variable, clear_global_error_variable):
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1691 Move here from variables.cc.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1692 (symbols_of_error): Define error_text here instead of in variables.cc.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1693
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1694 * pager.cc (write_to_diary_file): Now bool, not int.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1695 (really_flush_to_pager): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1696 (flushing_to_pager): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1697 * sighandlers.h (can_interrupt): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1698 * error.h (buffer_error_messages): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1699 * oct-hist.h (input_from_tmp_history_file, Vsaving_history): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1700 * input.h (forced_interactive): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1701 (get_input_from_eval_string): Likeiwse.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1702 (reading_script_file): Likeiwse.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1703 (reading_fcn_file): Likeiwse.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1704 (interactive): Likewise.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1705
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1706 * unwind-prot.cc (saved_variable::saved_variable (bool *, bool)):
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1707 Set type_tag to boolean, not int.
18d64612e67a [project @ 1997-06-03 22:18:56 by jwe]
jwe
parents: 3016
diff changeset
1708
3016
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1709 Mon Jun 2 00:40:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1710
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1711 * variables.h (Octave_builtin_fcn): Delete typedef.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1712
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1713 * help.cc (make_name_list): Move here from variables.cc.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1714 (keyword_help, names): Now static.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1715 (struct help_list): Move declaration here from help.h.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1716
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1717 * oct-hist.cc (Vhistory_file, Vhistory_size, Vsaving_history):
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1718 Move here from variables.cc.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1719 (symbols_of_oct_hist): New function.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1720
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1721 * version.h: Protect against multiple inclusion.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1722
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1723 * defun.cc (check_version): New function.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1724 * defun-int.h (DEFINE_FUN_INSTALLER_FUN): Use it.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1725
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1726 * help.h, help.cc (additional_help_message): Now extern.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1727 (operator_help): Now static.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1728
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1729 * defun.cc (print_usage): Move here from help.cc
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1730 * DLD-FUNCTIONS/*.cc, data.cc, dirfns.cc, file-io.cc, input.cc,
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1731 load-save.cc, octave.cc, ov-list.cc, ov-typeinfo.cc,
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1732 ov-usr-fcn.cc, pager.cc, pr-output.cc, pt-plot.cc, strfns.cc,
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1733 syscalls.cc, sysdep.cc, utils.cc, toplev.cc:
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1734 Don't include help.h.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1735
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1736 * TEMPLATE-INST/Array-sym.cc: New file.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1737
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1738 * load-save.cc (do_load): Don't use ostream::form.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1739 * pr-output.cc: Likewise, at least where it is easy to do so.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1740 * oct-stream.cc: Ditto.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1741
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1742 * symtab.h (symbol_record::symbol_def::rows): New function.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1743 (symbol_record::symbol_def::columns): Ditto.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1744 (symbol_record::symbol_def::type_name): Ditto.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1745 (symbol_record::rows): Ditto
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1746 (symbol_record::columns): Ditto
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1747 (symbol_record::type_name): Ditto
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1748
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1749 * symtab.h, symtab.cc (symbol_record::hides_fcn): New function.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1750 (symbol_record::hides_builtin): Ditto.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1751 (symbol_record::print_symbol_info_line): Ditto.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1752 (symbol_table::long_list): Delete.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1753 (symbol_table::symbol_list): New function.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1754 (symbol_table::maybe_list): Delete argc arg.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1755 (symbol_table::name_list): Rename from symbol_table::list.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1756 Change all callers.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1757
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1758 * symtab.h, symtab.cc (class symbol_record_info): Delete.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1759
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1760 * symtab.cc (matches_patterns): Use vector form of glob_match.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1761
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1762 Sun Jun 1 14:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1763
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1764 * pt-check.h, pt-check.cc: New files, for semantic checking of
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1765 parse trees.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1766
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1767 * symtab.h (class symbol_def): Now nested in symbol_record class.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1768 (enum TYPE): Move from symbol_def to symbol record class. Change
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1769 all uses.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1770
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1771 * symtab.h, symtab.cc (symbol_table::maybe_list): New function,
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1772 from variables.cc. Change all uses.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1773
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1774 * pt-idx.h (tree_identifier::lvalue_ok): New function.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1775 * pt-id.h (tree_index_expression::lvalue_ok): Likewise.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1776 * pt-indir.h (tree_indirect_ref::lvalue_ok): Likewise.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1777
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1778 * pt-pr-code.h, pt-pr-code.cc (tree_print_code::visit_oct_obj): Delete.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1779 * pt-walk.h (tree_walker::visit_oct_obj): Delete declaration.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1780
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1781 * lex.h (class lexical_feedback): Delete maybe_screwed_again.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1782 * lex.l (lexical_feedback::init): Don't set it.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1783
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1784 Fri May 30 16:07:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1785
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1786 * mappers.cc: Include <cfloat> here.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1787
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1788 Tue May 27 10:08:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1789
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1790 * toplev.cc (eval_string): Don't index tmp if it is empty.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1791
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1792 Sat May 24 00:18:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1793
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1794 * load-save.cc (valid_identifier): Move here and make static.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1795 * symtab.h, symtab.cc (valid_identifier): Delete declaration and
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1796 definition.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1797
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1798 Fri May 23 22:54:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1799
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1800 * symtab.h (symbol_def::symbol_def): Use initializer list instead
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1801 of calling init_state.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1802 (symbol_def::init_state): Delete.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1803
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1804 * symtab.cc (symbol_table::print_stats): New function.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1805 * variables.cc (F__dump_symtab_info__): New function.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1806
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1807 * symtab.h, symtab.cc (symbol_table::hash): Return masked value.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1808 (symbol_table::table_size): New data member.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1809 (symbol_table::symbol_table): Set size of table in constructor.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1810 (HASH_TABLE_SIZE): Replace uses with table_size.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1811 (HASH_MASK): Delete.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1812 * variables.cc (initialize_symbol_tables): Set top-level and
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1813 global symbol table sizes here.
f512c16826d1 [project @ 1997-06-03 03:16:13 by jwe]
jwe
parents: 2994
diff changeset
1814
2994
b7c0d83d105c [project @ 1997-05-22 18:45:32 by jwe]
jwe
parents: 2993
diff changeset
1815 Thu May 22 13:32:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
b7c0d83d105c [project @ 1997-05-22 18:45:32 by jwe]
jwe
parents: 2993
diff changeset
1816
b7c0d83d105c [project @ 1997-05-22 18:45:32 by jwe]
jwe
parents: 2993
diff changeset
1817 * dynamic-ld.cc (octave_shl_load_dynamic_loader::resolve_reference):
b7c0d83d105c [project @ 1997-05-22 18:45:32 by jwe]
jwe
parents: 2993
diff changeset
1818 Call shl_findsym with type set to TYPE_PROCEDURE. Pass the
b7c0d83d105c [project @ 1997-05-22 18:45:32 by jwe]
jwe
parents: 2993
diff changeset
1819 address of the pointer we want to define.
b7c0d83d105c [project @ 1997-05-22 18:45:32 by jwe]
jwe
parents: 2993
diff changeset
1820
2993
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1821 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1822
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1823 * DLD-FUNCTIONS/time.cc (extract_tm): Avoid memory leak in dealing
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1824 with time zone.
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1825
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1826 * Makefile.in (install-in): Use new mk-includedir-link macro.
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1827 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro.
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1828
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1829 Tue May 20 01:24:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1830
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1831 * ov-list.cc (Flist): Rename from Fmake_list.
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1832
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1833 Mon May 19 14:45:58 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1834
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1835 * octave.cc (maximum_braindamage): Set default_eval_print_flag to 0.
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1836
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1837 Sat May 17 16:32:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1838
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1839 * defaults.cc (set_default_editor): Default is now Emacs, not vi.
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2991
diff changeset
1840
2984
84c33881d0bc [project @ 1997-05-16 05:14:33 by jwe]
jwe
parents: 2983
diff changeset
1841 Fri May 16 00:07:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
84c33881d0bc [project @ 1997-05-16 05:14:33 by jwe]
jwe
parents: 2983
diff changeset
1842
2991
fc751d2a99fd [project @ 1997-05-16 21:00:48 by jwe]
jwe
parents: 2990
diff changeset
1843 * pt-idx.cc (tree_index_expression::name): New function.
fc751d2a99fd [project @ 1997-05-16 21:00:48 by jwe]
jwe
parents: 2990
diff changeset
1844
fc751d2a99fd [project @ 1997-05-16 21:00:48 by jwe]
jwe
parents: 2990
diff changeset
1845 * pt.cc (tree::str_print_code): New file, new convenience function.
fc751d2a99fd [project @ 1997-05-16 21:00:48 by jwe]
jwe
parents: 2990
diff changeset
1846 * pt-arg-list.cc (tree_argument_list::get_arg_names): Use it.
fc751d2a99fd [project @ 1997-05-16 21:00:48 by jwe]
jwe
parents: 2990
diff changeset
1847 * pt-assign.cc (tree_simple_assignment::rvalue): Likewise.
fc751d2a99fd [project @ 1997-05-16 21:00:48 by jwe]
jwe
parents: 2990
diff changeset
1848 (tree_multi_assignment::rvalue): Likewise.
fc751d2a99fd [project @ 1997-05-16 21:00:48 by jwe]
jwe
parents: 2990
diff changeset
1849
2990
35bd1b05cfbe [project @ 1997-05-16 09:19:11 by jwe]
jwe
parents: 2987
diff changeset
1850 * pt-colon.h (tree_colon_expression::save_base): New data memmber.
35bd1b05cfbe [project @ 1997-05-16 09:19:11 by jwe]
jwe
parents: 2987
diff changeset
1851 (tree_colon_expression::preserve_base): New function.
35bd1b05cfbe [project @ 1997-05-16 09:19:11 by jwe]
jwe
parents: 2987
diff changeset
1852 * parse.y (finish_colon_expression): When converting to a simple
35bd1b05cfbe [project @ 1997-05-16 09:19:11 by jwe]
jwe
parents: 2987
diff changeset
1853 expression, be sure to delete the original colon expression but
35bd1b05cfbe [project @ 1997-05-16 09:19:11 by jwe]
jwe
parents: 2987
diff changeset
1854 not the base value.
35bd1b05cfbe [project @ 1997-05-16 09:19:11 by jwe]
jwe
parents: 2987
diff changeset
1855
35bd1b05cfbe [project @ 1997-05-16 09:19:11 by jwe]
jwe
parents: 2987
diff changeset
1856 * pt-mat.cc (tree_matrix::~tree_matrix): Actually do something.
35bd1b05cfbe [project @ 1997-05-16 09:19:11 by jwe]
jwe
parents: 2987
diff changeset
1857
2987
ae20b3f37f5e [project @ 1997-05-16 07:05:15 by jwe]
jwe
parents: 2985
diff changeset
1858 * pt-all.h: New file.
ae20b3f37f5e [project @ 1997-05-16 07:05:15 by jwe]
jwe
parents: 2985
diff changeset
1859 * parse.y, lex.l, pt-pr-code.cc: Use it.
ae20b3f37f5e [project @ 1997-05-16 07:05:15 by jwe]
jwe
parents: 2985
diff changeset
1860
ae20b3f37f5e [project @ 1997-05-16 07:05:15 by jwe]
jwe
parents: 2985
diff changeset
1861 * pt.h: Rename from pt-base.h.
ae20b3f37f5e [project @ 1997-05-16 07:05:15 by jwe]
jwe
parents: 2985
diff changeset
1862
ae20b3f37f5e [project @ 1997-05-16 07:05:15 by jwe]
jwe
parents: 2985
diff changeset
1863 * All parse tree classes: Add private copy constructors and
ae20b3f37f5e [project @ 1997-05-16 07:05:15 by jwe]
jwe
parents: 2985
diff changeset
1864 assignment operators to prevent copying.
ae20b3f37f5e [project @ 1997-05-16 07:05:15 by jwe]
jwe
parents: 2985
diff changeset
1865
ae20b3f37f5e [project @ 1997-05-16 07:05:15 by jwe]
jwe
parents: 2985
diff changeset
1866 * pt-base.cc: Delete.
ae20b3f37f5e [project @ 1997-05-16 07:05:15 by jwe]
jwe
parents: 2985
diff changeset
1867
2985
aa9d0c0e0458 [project @ 1997-05-16 06:54:18 by jwe]
jwe
parents: 2984
diff changeset
1868 * unwind-prot.h, unwind-prot.cc: Make a bit more object-oriented.
aa9d0c0e0458 [project @ 1997-05-16 06:54:18 by jwe]
jwe
parents: 2984
diff changeset
1869 Change all uses of unwind_protect stuff to match.
aa9d0c0e0458 [project @ 1997-05-16 06:54:18 by jwe]
jwe
parents: 2984
diff changeset
1870
aa9d0c0e0458 [project @ 1997-05-16 06:54:18 by jwe]
jwe
parents: 2984
diff changeset
1871 * pt-jump.h, pt-jump.cc (breaking, continuing, returning):
aa9d0c0e0458 [project @ 1997-05-16 06:54:18 by jwe]
jwe
parents: 2984
diff changeset
1872 Make these flags static members of the corresponding class.
aa9d0c0e0458 [project @ 1997-05-16 06:54:18 by jwe]
jwe
parents: 2984
diff changeset
1873 Change all uses.
aa9d0c0e0458 [project @ 1997-05-16 06:54:18 by jwe]
jwe
parents: 2984
diff changeset
1874
2984
84c33881d0bc [project @ 1997-05-16 05:14:33 by jwe]
jwe
parents: 2983
diff changeset
1875 * pt-assign.cc (tree_simple_assignment_expression::eval,
84c33881d0bc [project @ 1997-05-16 05:14:33 by jwe]
jwe
parents: 2983
diff changeset
1876 tree_multi_assignment_expression::eval): Clear lvalue index here.
84c33881d0bc [project @ 1997-05-16 05:14:33 by jwe]
jwe
parents: 2983
diff changeset
1877
84c33881d0bc [project @ 1997-05-16 05:14:33 by jwe]
jwe
parents: 2983
diff changeset
1878 * oct-lvalue.cc (octave_lvalue::assign): Don't clear index here.
84c33881d0bc [project @ 1997-05-16 05:14:33 by jwe]
jwe
parents: 2983
diff changeset
1879 * oct-lvalue.h (octave_lvalue::clear_index): New function.
84c33881d0bc [project @ 1997-05-16 05:14:33 by jwe]
jwe
parents: 2983
diff changeset
1880 (octave_lvalue::set_index): Rename from octave_lvalue::index.
84c33881d0bc [project @ 1997-05-16 05:14:33 by jwe]
jwe
parents: 2983
diff changeset
1881 Change all callers.
84c33881d0bc [project @ 1997-05-16 05:14:33 by jwe]
jwe
parents: 2983
diff changeset
1882
2976
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1883 Thu May 15 11:48:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1884
2983
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1885 * pt-select.h, pt-select.cc (class tree_if_command_list,
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1886 class tree_if_clause, class tree_switch_case_list,
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1887 class tree_switch_case): Move here from pt-misc.h, pt-misc.cc.
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1888 * pt-decl.h, pt-decl.cc (class tree_decl_init_list,
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1889 class tree_decl_elt): Move here from pt-mist.h, pt-misc.cc
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1890
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1891 * pt-arg-list.h, pt-stmt.h: New files, extracted from pt-misc.h.
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1892 * pt-arg-list.cc, pt-stmt.cc: New files, extracted from pt-misc.cc.
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1893
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1894 * pt-decl.h, pt-except.h, pt-jump.h, pt-loop.h, pt-select.h:
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1895 New files, extraced from pt-cmd.h.
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1896 * pt-decl.cc, pt-except.cc, pt-jump.cc, pt-loop.cc, pt-select.cc:
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1897 New files, extraced from pt-cmd.cc.
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2980
diff changeset
1898
2980
cd5ad3fd8049 [project @ 1997-05-16 01:12:13 by jwe]
jwe
parents: 2979
diff changeset
1899 * pt-unop.h, pt-binop.h, pt-colon.h, pt-idx.h, pt-assign.h:
cd5ad3fd8049 [project @ 1997-05-16 01:12:13 by jwe]
jwe
parents: 2979
diff changeset
1900 New files, extracted from pt-exp.h
cd5ad3fd8049 [project @ 1997-05-16 01:12:13 by jwe]
jwe
parents: 2979
diff changeset
1901 * pt-unop.cc, pt-binop.cc, pt-colon.cc, pt-idx.cc, pt-assign.cc:
cd5ad3fd8049 [project @ 1997-05-16 01:12:13 by jwe]
jwe
parents: 2979
diff changeset
1902 New files, extracted from pt-exp.cc
cd5ad3fd8049 [project @ 1997-05-16 01:12:13 by jwe]
jwe
parents: 2979
diff changeset
1903 * pt-exp.h, pt-exp.cc: Rename from pt-exp-base.h, pt-exp-base.cc.
cd5ad3fd8049 [project @ 1997-05-16 01:12:13 by jwe]
jwe
parents: 2979
diff changeset
1904
2979
a3556d2adec9 [project @ 1997-05-15 22:35:37 by jwe]
jwe
parents: 2978
diff changeset
1905 * oct-lvalue.h: Rename from oct-var-ref.h. Rename class from
a3556d2adec9 [project @ 1997-05-15 22:35:37 by jwe]
jwe
parents: 2978
diff changeset
1906 octave_variable_reference to octave_lvalue. Change all uses.
a3556d2adec9 [project @ 1997-05-15 22:35:37 by jwe]
jwe
parents: 2978
diff changeset
1907 * oct-lvalue.cc: Rename from oct-var-ref.cc.
a3556d2adec9 [project @ 1997-05-15 22:35:37 by jwe]
jwe
parents: 2978
diff changeset
1908
2978
49de01238638 [project @ 1997-05-15 21:13:42 by jwe]
jwe
parents: 2976
diff changeset
1909 * variables.cc (bind_ans): Only bind ans and print result if value
49de01238638 [project @ 1997-05-15 21:13:42 by jwe]
jwe
parents: 2976
diff changeset
1910 is defined.
49de01238638 [project @ 1997-05-15 21:13:42 by jwe]
jwe
parents: 2976
diff changeset
1911
2976
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1912 * defun.cc: New file. Move functions for installing objects in
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1913 the symbol table here from variables.cc.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1914
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1915 * oct-obj.h, oct-obj.cc: Add custom allocator, fwiw.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1916
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1917 * toplev.cc (main_loop): Correctly increment command number.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1918
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1919 * TEMPLATE-INST/SLList-tm.cc: Don't instantiate lists of pointers
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1920 to tree_matrix_row objects.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1921 * TEMPLATE-INST/SLList-misc.cc: Do instantiate lists of pointers
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1922 to tree_argument_list objects.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1923
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1924 * DLD-FUNCTIONS/dassl.cc: Update to use new octave_function
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1925 interface to user-supplied functions.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1926 * DLD-FUNCTIONS/fsolve.cc: Likewise.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1927 * DLD-FUNCTIONS/lsode.cc: Likewise.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1928 * DLD-FUNCTIONS/npsol.cc: Likewise.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1929 * DLD-FUNCTIONS/quad.cc: Likewise.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1930
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1931 * dynamic-ld.h, dynamic-ld.cc (builtin_fcn_installer typedef):
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1932 Rename from builtin_fcn.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1933 (octave_dynamic_loader::load_fcn_from_dot_oct_file):
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1934 Simplify by using new installer function defined by DEFUN_DLD.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1935
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1936 * defun-dld.h (DEFUN_DLD): Use DEFINE_FUN_INSTALLER_FUN instead of
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1937 DEFINE_FUN_STRUCT_FUN.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1938 * defun.h (DEFUN_MAPPER): Use DEFUN_MAPPER_INTERNAL.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1939 * defun-int.h (DEFVAR_INTERNAL): Rename from DEFVAR_INT and move
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1940 here from defun.h. Change all uses.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1941 (DEFUN_MAPPER_INTERNAL): New macro.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1942 (DEFINE_FUN_INSTALLER_FUN): New macro to define function that the
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1943 dynamic loader calls to do all the work of installing a new function.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1944 (DEFINE_FUN_STRUCT_FUN): Delete.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1945
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1946 * parse.y: Rewrite to handle more general expressions.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1947 * lex.l: Corresponding changes.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1948
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1949 * pt-walk.h, pt-pr-code.h, pt-pr-code.cc: Cope with new parse tree
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1950 object structure.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1951
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1952 * pt-misc.cc (class tree_for_command): Split into
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1953 tree_simple_for_command and tree_complex_for_command classes.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1954
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1955 * pt-misc.h, pt-misc.cc (tree_statement::eval): Handle identifier
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1956 lookup and printing and binding ans here.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1957 (tree_statement_list::eval): Simplify.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1958 (tree_argument_list::all_elements_are_constant): New function.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1959 (class tree_decl_elt): Now contains id and expr, not an assignment
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1960 expression.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1961
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1962 * pt-exp-base.h pt-exp.h pt-id.h pt-indir.h pt-mat.h pt-const.h,
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1963 pt-exp-base.cc pt-exp.cc pt-id.cc pt-indir.cc pt-mat.cc pt-const.cc:
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1964 Replace eval functions with rvalue and lvalue functions.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1965 Change all uses.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1966 (lvalue_ok, rvalue_ok): New functions, for future compile-time
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1967 semantic checks.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1968
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1969 * oct-var-ref.h (is_defined, is_map): New functions.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1970
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1971 * pt-exp.h (class tree_oct_obj): Delete.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1972
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1973 * variables.cc (extract_function, is_valid_function): Return
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1974 pointer to octave_function, not octave_symbol.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1975 (link_to_global_variable): Rewrite. Handle errors in
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1976 symbol_record::mark_as_linked_to_global.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1977
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1978 * symtab.h, symtab.cc (class symbol_def, class symbol_record):
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1979 Symbols are now stored as octave_value objects only.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1980
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1981 * ov.cc (install_types): Register function types here.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1982 * ov-fcn.h, ov-fcn.cc, ov-builtin.h, ov-builtin.cc, ov-mapper.h,
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1983 ov-mapper.cc, ov-usr-fcn.h, ov-usr-fcn.cc: New classes for
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1984 functions as values.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1985 * ov.h (class octave_value): Don't derive from octave_symbol.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1986 * oct-fcn.h, oct-fcn.cc, oct-builtin.h, oct-builtin.cc,
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1987 oct-mapper.h, oct-mapper.cc, oct-usr-fcn.h, oct-usr-fcn.cc,
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1988 oct-sym.h, oct-sym.cc: Delete.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
1989
2963
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
1990 Sun May 11 17:51:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
1991
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
1992 * help.cc (Ftype): Make it work again for functions.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
1993
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
1994 * pt-pr-code.cc (tree_print_code::print_parens): New function.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
1995 Use it in other tree_print_code functions to handle printing all
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
1996 the parens that we found when parsing the expression, not just one
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
1997 pair.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
1998 * pt-exp-base.h (tree_expression::paren_count): Rename from
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
1999 is_in_parens.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2000 * parse.y (maybe_warn_assign_as_truth_value): Use new name.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2001
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2002 * parse.y (constant): New non-terminal.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2003 (simple_expr1): Use it.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2004
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2005 * parse.y (make_unary_op): Delete.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2006 (simple_expr1): Where appropriate, use make_prefix_op and
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2007 make_postfix_op instead of make_unary_op. Allow increment and
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2008 decrement ops to work on expressions, not just identifiers.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2009 (make_prefix_op, make_postfix_op): Arg is expression, not identifier.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2010 Handle old unary_op cases too.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2011 (fold (tree_unary_expression *)): Delete.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2012 * pt-exp.h, pt-exp.cc (tree_prefix_expression::eval): Handle unary
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2013 minus and not here.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2014 (tree_postfix_expression::eval): Likewise, for transpose and hermitian.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2015 (class tree_prefix_expression, class tree_postfix_expression):
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2016 Derive from tree_unary_expression. Delete identifier member.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2017 Delete ident member function.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2018 (tree_unary_expression): Don't handle evaluation here.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2019 * pt-exp-base.h (mark_in_parens): No longer virtual. Return this.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2020 (reference): New virtual function.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2021 (class tree_expression): Don't handle expression type here.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2022 * pt-mvr-base.h (tree_multi_val_ret::tree_multi_val_ret): Likewise.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2023 * pt-mvr.h, pt-mvr.cc (tree_multi_assignment_expression): Likewise.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2024 * pt-walk.h (visit_unary_expression): Delete declaration.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2025 * pt-pr-code.h, pt-pr-code.cc (visit_unary_expression): Delete.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2026 (visit_prefix_expression): Use operand(), not ident().
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2027 new, visit_postfix_expression):
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2028 * pt-id.h, pt-id.cc (increment, decrement): Delete.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2029
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2030 * pt-misc.cc (tree_parameter_list::define_from_arg_vector): Get a
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2031 reference to each element and use the assignment operator instead
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2032 of tree_identifier::define.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2033 * pt-id.h, pt-id.cc (tree_identifier::define): Delete versions
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2034 that take octave_value and octave_symbol args.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2035
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2036 Sat May 10 23:32:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2037
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2038 * pt-indir.h, pt-indir.cc (tree_indirect_reference::value): Delete.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2039
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2040 * oct-var-ref.cc (octave_variable_ref::assign): Clear idx after
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2041 assignment.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2042
2976
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
2043 * octave_value classes: Add is_constant, is_function, and
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
2044 function_value functions.
641689f67673 [project @ 1997-05-15 20:27:04 by jwe]
jwe
parents: 2963
diff changeset
2045
2963
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2046 * ov.h, ov.cc (assign): Return void, not reference to octave_value.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2047 (do_index_op): Rename, from index.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2048 (do_struct_elt_index_op): Rename, from struct_elt_val.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2049 Add version that accepts index arg.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2050 Change all uses and derived classes to match.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2051 * pt-const.h (index): Delete.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2052 * oct-var-ref.h, oct-var-ref.cc (value): Handle indexed structure
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2053 ops here too.
c0c280cda856 [project @ 1997-05-12 03:25:07 by jwe]
jwe
parents: 2958
diff changeset
2054
2949
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2055 Fri May 9 07:40:59 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2056
2958
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2956
diff changeset
2057 * pt-exp.cc (print_rhs_assign_val, symbols_of_pt_exp): New functions.
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2956
diff changeset
2058 (Vprint_rhs_assign_val): New static variable.
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2956
diff changeset
2059 (tree_simple_assignment_expression::eval): Use it to optionally
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2956
diff changeset
2060 allow the rhs (which is the result) of an assignment to be printed
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2956
diff changeset
2061 instead of the left.
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2956
diff changeset
2062
2955
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2063 * pt-exp.cc (tree_simple_assignment_expression::eval): Use new
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2064 octave_variabl_reference::index function to handle indexing.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2065
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2066 * oct-var-ref.h, oct-var-ref.cc (idx): New data member.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2067 (octave_variable_reference::index): Set it.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2068 (octave_variable_reference::assign): Handle indexing here.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2069 Delete version of this function htat takes index arg.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2070
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2071 * variables.h (struct builtin_varaible): Delete.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2072 * variables.cc (install_builtin_variable): Take all elts of
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2073 builtin_variable struct directly.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2074 * defun.h (DEFVAR_INT): Call install_builtin_variable directly.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2075
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2076 * symtab.h, defun-int.h: Don't include variables.h.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2077
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2078 * symtab.h (symbol_record::sv_function): Move typedef here.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2079 * variables.h: From here.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2080
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2081 * oct-var-ref.h, oct-var-ref.cc: New files for
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2082 octave_variable_reference class, extracted from variables.h and
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2083 variables.cc
2956
c41e4dca98b9 [project @ 1997-05-09 17:17:43 by jwe]
jwe
parents: 2955
diff changeset
2084 * Makefile.in: Add them to the appropriate lists.
2955
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2085
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2086 * oct-obj.h (octave_value_list::empty): New function.
dfffbf305468 [project @ 1997-05-09 15:15:18 by jwe]
jwe
parents: 2949
diff changeset
2087
2949
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2088 * variables.h (class octave_variable_reference): Rewrite to work
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2089 as a proxy class to store a pointer to octave_value and,
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2090 optionally, the change function to call and the name of the
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2091 structure element we are referencing. Handle assignment,
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2092 increment, decrement, and value operations.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2093
2956
c41e4dca98b9 [project @ 1997-05-09 17:17:43 by jwe]
jwe
parents: 2955
diff changeset
2094 Thu May 8 23:40:59 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
c41e4dca98b9 [project @ 1997-05-09 17:17:43 by jwe]
jwe
parents: 2955
diff changeset
2095
2949
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2096 * ov-re-mat.h, ov-re-mat.cc (struct_elt_ref, struct_elt_val,
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2097 assign_struct_elt): Provide functions for looking up and setting
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2098 matrix dimensions.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2099
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2100 * symtab.cc (symbol_record::define): Don't call sv_fcn here.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2101 Don't save and restore value here.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2102 (symbol_record::define_builtin_var): Do call sv_fcn here.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2103 (symbol_record::variable_reference): Don't make value unique here.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2104 Return pointer to sv_fcn in octave_variable_reference.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2105
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2106 * pt-misc.cc (tree_parameter_list::initialize_undefined_elements):
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2107 Simplify.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2108
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2109 * pt-id.h, pt-id.cc (tree_identifier::reference): Return
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2110 octave_variable_reference, not octave_value&.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2111 * symtab.h, symtab.cc (symbol_record::variable_reference): Ditto.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2112 * pt-indir.h, pt-indir.cc (tree_indirect_ref::reference): Ditto.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2113 Simplify too.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2114
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2115 * pt-const.h (tree_constant::reference, tree_constant::value,
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2116 tree_constant::assign): Delete unnecessary functions.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2117 * pt-id.h, pt-id.cc (tree_identifier::assign): Ditto.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2118
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2119 * pt-cmd.cc (tree_for_command::do_for_loop_once): Simplify.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2120
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2121 * ov.h, ov.cc, ov-base.h, ov-base.cc, ov-struct.h, ov-struct.cc
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2122 (struct_elt_ref): New arg, octave_value* parent.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2123 Allow deferred lookup. Return octave_variable_reference, not
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2124 octave_value&.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2125
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2126 * ov.h, ov.cc, ov-re-mat.h, ov-re-mat.cc (assign_struct_elt):
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2127 New virtual functions.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2128
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2129 * ov.h, ov.cc (Vresize_on_range_error): Now static.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2130
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2131 * pt-mvr.cc (tree_index_expression::eval): Delete redundant check
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2132 of error_state.
49b42be38aa1 [project @ 1997-05-09 13:54:29 by jwe]
jwe
parents: 2944
diff changeset
2133
2944
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2134 Wed May 7 21:17:00 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2135
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2136 * input.cc (generate_completion): Rename from command_generator.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2137 Use string objects instead of char*.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2138 (generate_possible_completions): Let qsort also make matches unique.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2139 (initialize_command_input): Register generate_completion with the
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2140 command_editor class.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2141 (completion_matches): Simplify using generate_completion.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2142
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2143 * pt-pr-code.cc (tree_print_code::visit_constant): For val, call
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2144 print_raw, not print.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2145
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2146 * oct-usr-fcn.h (octave_user_function::argn_sr): New data member.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2147 (octave_user_function::install_automatic_vars): Rename from
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2148 install_nargin_and_nargout.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2149 (octave_user_function::bind_automatic_vars): Rename from
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2150 bind_nargin_and_nargout.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2151 * oct-usr-fcn.cc (octave_user_function::eval): Extract arg names
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2152 from args vector and bind them to argn.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2153 * oct-obj.h (octave_value_list::names): New data member.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2154 * oct-obj.cc (octave_value_list::stash_name_tags): New function.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2155 (octave_value_list::name_tags): Ditto.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2156 * pt-const.h, pt-const.cc (tree_constant::print_raw): New function.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2157 * pt-misc.h, pt-misc.cc (tree_argument_list::get_arg_names):
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2158 New function.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2159 * pt-mvr.h, pt-mvr.cc (class index_expression): Cache arg names.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2160 * toplev.cc (feval): Now static. Handle arg names.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2161
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2162 * mkops: Cope with moving files defining operators to OPERATORS
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2163 subdirectory.
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2937
diff changeset
2164
2937
9d26524e2869 [project @ 1997-05-06 05:49:53 by jwe]
jwe
parents: 2933
diff changeset
2165 Tue May 6 00:48:59 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
9d26524e2869 [project @ 1997-05-06 05:49:53 by jwe]
jwe
parents: 2933
diff changeset
2166
9d26524e2869 [project @ 1997-05-06 05:49:53 by jwe]
jwe
parents: 2933
diff changeset
2167 * DLD-FUNCTIONS/getgrent.cc: Use new octave_group class.
9d26524e2869 [project @ 1997-05-06 05:49:53 by jwe]
jwe
parents: 2933
diff changeset
2168 * DLD-FUNCTIONS/getpwent.cc: Use new octave_passwd class.
9d26524e2869 [project @ 1997-05-06 05:49:53 by jwe]
jwe
parents: 2933
diff changeset
2169
9d26524e2869 [project @ 1997-05-06 05:49:53 by jwe]
jwe
parents: 2933
diff changeset
2170 * syscalls.cc: Simplify by using new functions defined in
9d26524e2869 [project @ 1997-05-06 05:49:53 by jwe]
jwe
parents: 2933
diff changeset
2171 liboctave/oct-syscalls.cc.
9d26524e2869 [project @ 1997-05-06 05:49:53 by jwe]
jwe
parents: 2933
diff changeset
2172
9d26524e2869 [project @ 1997-05-06 05:49:53 by jwe]
jwe
parents: 2933
diff changeset
2173 * file-io.cc (Ftmpnam): Accept DIR and PREFIX args.
9d26524e2869 [project @ 1997-05-06 05:49:53 by jwe]
jwe
parents: 2933
diff changeset
2174
2929
32186c902016 [project @ 1997-05-05 05:56:55 by jwe]
jwe
parents: 2927
diff changeset
2175 Mon May 5 00:54:03 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
32186c902016 [project @ 1997-05-05 05:56:55 by jwe]
jwe
parents: 2927
diff changeset
2176
2932
0f33c19e5f10 [project @ 1997-05-05 22:50:22 by jwe]
jwe
parents: 2929
diff changeset
2177 * ov-str-mat.cc (octave_char_matrix_str::print_name_tag): Print
0f33c19e5f10 [project @ 1997-05-05 22:50:22 by jwe]
jwe
parents: 2929
diff changeset
2178 empty strings on one line.
0f33c19e5f10 [project @ 1997-05-05 22:50:22 by jwe]
jwe
parents: 2929
diff changeset
2179
2929
32186c902016 [project @ 1997-05-05 05:56:55 by jwe]
jwe
parents: 2927
diff changeset
2180 * DLD-FUNCTIONS, OPERATORS, and TEMPLATE-INST: New subdirectories.
32186c902016 [project @ 1997-05-05 05:56:55 by jwe]
jwe
parents: 2927
diff changeset
2181 Move appropriate files to new directories.
32186c902016 [project @ 1997-05-05 05:56:55 by jwe]
jwe
parents: 2927
diff changeset
2182 * Makefile.in: Add DLD-FUNCTIONS, OPERATORS, and TEMPLATE-INST
32186c902016 [project @ 1997-05-05 05:56:55 by jwe]
jwe
parents: 2927
diff changeset
2183 directories to VPATH. Fix rules to work with new directory
32186c902016 [project @ 1997-05-05 05:56:55 by jwe]
jwe
parents: 2927
diff changeset
2184 structure.
32186c902016 [project @ 1997-05-05 05:56:55 by jwe]
jwe
parents: 2927
diff changeset
2185
2927
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2186 Sun May 4 22:40:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2187
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2188 * input.cc (initialize_command_input): Rename from
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2189 initialize_readline.
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2190 (gnu_readline, octave_gets, get_user_input): Simplify, return
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2191 string, not char *.
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2192
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2193 * Many of other files: Miscellaneous changes to go along with the
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2194 changes described in the liboctave/ChangeLog for May 4. More code
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2195 moved from here to liboctave.
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2196
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2197 Fri May 2 19:50:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2198
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2199 * pathlen.h: Move to ../liboctave.
8722c6284b72 [project @ 1997-05-05 03:44:04 by jwe]
jwe
parents: 2921
diff changeset
2200
2921
64dd86522a1d [project @ 1997-05-02 02:52:54 by jwe]
jwe
parents: 2916
diff changeset
2201 Thu May 1 21:50:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
64dd86522a1d [project @ 1997-05-02 02:52:54 by jwe]
jwe
parents: 2916
diff changeset
2202
64dd86522a1d [project @ 1997-05-02 02:52:54 by jwe]
jwe
parents: 2916
diff changeset
2203 * variables.cc (get_struct_elts): New fucntion.
64dd86522a1d [project @ 1997-05-02 02:52:54 by jwe]
jwe
parents: 2916
diff changeset
2204 (looks_like_struct, generate_struct_completions): Move here from
64dd86522a1d [project @ 1997-05-02 02:52:54 by jwe]
jwe
parents: 2916
diff changeset
2205 input.cc, rewrite, and make work again.
64dd86522a1d [project @ 1997-05-02 02:52:54 by jwe]
jwe
parents: 2916
diff changeset
2206
2916
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2207 Wed Apr 30 00:24:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2208
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2209 * ov-base.h, ov-bool-mat.cc, ov-bool-mat.h, ov-bool.cc, ov-bool.h,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2210 ov-ch-mat.cc, ov-ch-mat.h, ov-complex.cc, ov-complex.h,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2211 ov-cx-mat.cc, ov-cx-mat.h, ov-file.cc, ov-file.h, ov-list.cc,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2212 ov-range.cc, ov-range.h, ov-re-mat.cc, ov-re-mat.h, ov-scalar.cc,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2213 ov-scalar.h, ov-str-mat.cc, ov-struct.cc, ov.h (scalar_value):
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2214 New function. Same as double_value, but name is consistent with
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2215 octave_scalar class.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2216
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2217 * op-fil-b.cc, op-fil-cm.cc, op-fil-lis.cc, op-fil-rec.cc,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2218 op-fil-str.cc, op-fil-bm.cc, op-fil-cs.cc, op-fil-m.cc,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2219 op-fil-s.cc: New files.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2220
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2221 * ops.h (ASSIGNOPDECL, DEFASSIGNOP, DEFASSIGNOP_FN, CONVDECL,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2222 DEFCONV, BINOPDECL, DEFBINOPX, DEFBINOP, DEFBINOP_OP, DEFBINOP_FN,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2223 BINOP_NONCONFORMANT): New macros.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2224 * op-b-b.cc, op-bm-bm.cc, op-cm-cm.cc, op-cm-cs.cc, op-cm-m.cc,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2225 op-cm-s.cc, op-cs-cm.cc, op-cs-cs.cc, op-cs-m.cc, op-cs-s.cc,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2226 op-m-cm.cc, op-m-cs.cc, op-m-m.cc, op-m-s.cc, op-s-cm.cc,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2227 op-s-cs.cc, op-s-m.cc, op-s-s.cc, op-str-str.cc: Use them.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2228
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2229 * Makefile.in (octave): Also depend on ops.o.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2230
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2231 * builtins.h: Delete.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2232 * octave.cc: Add extern declaration here.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2233
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2234 * mappers.h: Delete.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2235 * Makefile.in (INCLUDES): Delete from list.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2236 * mkbuiltins: Add extern declaration in builtins.cc.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2237
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2238 * mkops: New file.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2239 * ops.cc: Delete.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2240 * Makefile.in (SOURCES): Delete from the list.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2241 (ops.cc): New target.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2242 (OP_SOURCES): New list. Move all op-*.cc files here from SOURCES.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2243 Add $(OP_SOURCES) to SOURCES list.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2244
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2245 * variables.cc (symbols_of_variables): No longer static.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2246 * ov.cc (symbols_of_ov): Rename from symbols_of_value.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2247
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2248 * ov-base.h: Delete declaration for install_base_type_conversions.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2249 * op-b-b.h, op-bm-bm.h, op-cm-cm.h, op-cm-cs.h, op-cm-m.h,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2250 op-cm-s.h, op-cs-cm.h, op-cs-cs.h, op-cs-m.h, op-cs-s.h,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2251 op-m-cm.h, op-m-cs.h, op-m-m.h, op-m-s.h, op-s-cm.h, op-s-cs.h,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2252 op-s-m.h, op-s-s.h, op-str-str.h: Delete.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2253 * Makefile.in (INCLUDES): Delete them from the list.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2254
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2255 Tue Apr 29 22:27:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2256
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2257 * variables.h, variables.cc (install_builtin_variables): Delete.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2258 * mkbuiltins: Also generate install_builtin_variables function.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2259 * Makefile.in: Fix rule to call mkbuiltins with correct args.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2260 (clean): Also delete def-files and var-files.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2261 * defaults.h.in, dirfns.h, error.h, file-io.h, help.h, input.h,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2262 lex.h, load-save.h, oct-usr-fcn.h, pager.h, parse.h, pr-output.cc,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2263 pr-output.h, pt-mat.h, pt-misc.h, pt-plot.h, toplev.h:
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2264 Delete declarations of symbols_of_* functions.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2265 * data.h, syscalls.h: Delete.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2266
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2267 * pr-output.cc (octave_print_internal): Leave printing of final
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2268 new line up to the caller.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2269
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2270 * ov.h, ov.cc (reset_indent_level, increment_indent_level,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2271 decrement_indent_level, newline, indent, reset,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2272 curr_print_indent_level, beginning_of_line):
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2273 New functions and static data to manage indent level for printing.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2274 (print_as_scalar): Delete.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2275 (print, print_with_name): Always require stream arg.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2276 Change all callers.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2277
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2278 * oct-stream.h (octave_stream::input_stream): Make publicly available.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2279 (octave_stream::output_stream): Likewise.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2280
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2281 * ov-base.h, ov-base.cc, ov.h, ov.cc, ov-file.h ov-base.h
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2282 (is_file, stream_value, stream_number): New functions.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2283 * ov-file.h, ov-file.cc: New files for value class to manage files.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2284 * file-io.cc (symbols_of_file_io): Define stdin, stdout, and
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2285 stderr as octve_file objects, not just integers.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2286 (Ffopen, Fpopen): Return octave_file objects, not integer file ids.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2287 * syscalls.cc (Fpipe): Likewise.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2288 * oct-stream.h, oct-stream.cc (octave_stream_list::insert):
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2289 Return octave_file object, not integer file id.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2290
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2291 * ov-base.cc, ov-bool-mat.cc, ov-bool.cc, ov-ch-mat.cc,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2292 ov-complex.cc, ov-cx-mat.cc, ov-file.cc, ov-list.cc, ov-range.cc,
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2293 ov-re-mat.cc, ov-scalar.cc, ov-str-mat.cc, ov-struct.cc, ov.cc
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2294 (print_name_tag, print_raw): New functions.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2295
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2296 * help.cc (Ftype): Don't cast symbol definition to tree_constant *.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2297
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2298 * variables.cc (link_to_global_variable): Don't try to define
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2299 symbol with tree_constant objects.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2300 (bind_ans): Call symbol_record::define directly and then
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2301 octave_value::print_with_name instead of creating a temporary
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2302 assignment expression.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2303
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2304 * pt-pr-code.cc (tree_print_code::indent): Don't use ostream::form.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2305
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2306 * pt-exp-base.h, pt-exp.h, pt-exp.cc (oper): Return string, not
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2307 char *. Change all where necessary.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2308
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2309 Mon Apr 28 16:33:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2310
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2311 * ov.h (octave_value binary_op enum): Add lshift and rshift.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2312 (octave_value assign_op enum): Add lshift_eq and rshift_eq.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2313 * ov.cc (assign_op_as_string, binary_op_as_string): Include them.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2314 * parse.y (LSHIFT_EQ RSHIFT_EQ LSHIFT RSHIFT): New tokens.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2315 Add them to the precedence list.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2316 (simple_expr): Add new operators.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2317 (make_assign_op, make_binary_op): Handle new operators.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2318 * lex.l: Recognize new operators.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2319
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2320 * lex.l: Recognize them.
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2321
4e7bea116f24 [project @ 1997-04-30 20:56:31 by jwe]
jwe
parents: 2898
diff changeset
2322 Sun Apr 27 20:17:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2898
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2323
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2324 * pt-misc.cc (Vsilent_functions, silent_functions):
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2325 Move here from oct-usr-fcn.cc.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2326 (symbols_of_pt_misc): New function. DEFVAR silent_functions.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2327 (tree_statement_list::eval): Handle Vsilent_functions here instead
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2328 of in octave_user_function::eval.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2329 (tree_statement::eval): New functions.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2330 (tree_statement_list::eval): Use them.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2331 Change print flag arg to silent flag. Change all callers.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2332 * variables.cc (install_builtin_variables): Call symbols_of_pt_misc.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2333 * toplev.cc (parse_and_execute): Delete print arg. Change all callers.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2334 (eval_string): Change print flag arg to silent flag. Change callers.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2335
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2336 * dynamic-ld.h, dynamic-ld.cc: Rewrite to use singleton class.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2337 * variables.cc (load_fcn_from_file): Use new dynamic linking class.
8303749672be [project @ 1997-04-28 20:50:36 by jwe]
jwe
parents: 2893
diff changeset
2338
2893
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2339 * dynamic-ld.h (Octave_builtin_fcn): Delete typedef.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2340 * dynamic-ld.cc: Simplify via the magic of function pointers.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2341
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2342 * pt-fcn.h pt-fcn.cc pt-fvc.h pt-fvc.cc pt-fvc-base.h pt-fvc-base.cc:
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2343 Delete obsolete files.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2344 * Makefile.in: Remove them from various lists.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2345
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2346 * pt-walk.h (visit_octave_user_function): Rename from visit_function.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2347 (visit_builtin): Delete.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2348 * pt-pr-code.h, pt-pr-code.cc (visit_octave_user_function):
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2349 Rename from visit_function.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2350 (visit_octave_user_function_header): Rename from visit_function_header.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2351 (visit_octave_user_function_trailer): Rename from
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2352 visit_function_trailer.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2353
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2354 * ov.h, ov.cc (eval): New functions.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2355
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2356 * dassl.cc, fsolve.cc, lsode.cc, npsol.cc, qpsol.cc, quad.cc:
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2357 Declare user-defined functions as a pointer to an octave_symbol
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2358 object, not as a pointer to a tree_fvc object.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2359
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2360 * symtab.h, symtab.cc: Use new octave_symbol class.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2361 * variables.cc (install_builtin_function, install_builtin_mapper,
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2362 install_builtin_variable, install_builtin_variable_as_function):
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2363 Make work with new octave_symbol class and symbol table structure.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2364
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2365 * variables.h: Delete declaration of builtin_function struct.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2366 * defun-dld.h (DEFUN_DLD): Simplify.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2367 * defun-int.h (DEFINE_FUN_STRUCT): Delete.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2368 (DEFINE_FUN_STRUCT_FUN): Rewrite to not use static builtin_function
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2369 object.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2370
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2371 * mappers.h: Delete declaration of builtin_mapper_function struct.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2372 * mappers.cc: Declare wrapper functions static.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2373 * defun.h (DEFUN_MAPPER): Simplify.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2374
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2375 * oct-sym.h: New file. Declare base class for Octave symbols.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2376 * ov.h: Derive octave_value class from octave_symbol.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2377 * oct-fcn.h, oct-fcn.cc: New files to declare and define
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2378 base class for functions.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2379 * oct-builtin.h, oct-builtin.cc: New files to declare and define
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2380 class for built-in functions.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2381 * oct-mapper.h, oct-mapper.cc: New files to declare and define
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2382 class for mapper functions.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2383 * oct-usr-fcn.h, oct-usr-fcn.cc: New files to declare and define
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2384 base class for user-defined functions.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2385 * Makefile.in: Add new files to appropriate lists.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2386
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2387 * pt-id.h, pt-id.cc: Move tree_identifier class here.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2388 * pt-fvc.h, pt-fvc.cc: From here.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2389
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2390 * pt-indir.h, pt-indir.cc: Move tree_indirect_ref class here.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2391 * pt-fvc.h, pt-fvc.cc: From here.
9fd1df4b464a [project @ 1997-04-28 02:07:38 by jwe]
jwe
parents: 2884
diff changeset
2392
2881
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2393 Thu Apr 24 03:58:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2394
2884
d500989072eb [project @ 1997-04-24 21:54:40 by jwe]
jwe
parents: 2883
diff changeset
2395 * parse.y (magic_colon): New nonterminal.
d500989072eb [project @ 1997-04-24 21:54:40 by jwe]
jwe
parents: 2883
diff changeset
2396 (arg_list): Simplify using magic_colon.
d500989072eb [project @ 1997-04-24 21:54:40 by jwe]
jwe
parents: 2883
diff changeset
2397
2883
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2398 * lex.h (class lexical_feedback): Delete maybe_screwed field.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2399 New field, parsed_function name.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2400 * lex.l (lexical_feedback::init): Initialize it.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2401 (handle_identifier): Don't return SCREW. Handle switching
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2402 symbol table context properly for `function f ()' vs `function x ='.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2403 (is_keyword): If looking at function keyword, don't set current
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2404 symbol table to point to the local table.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2405 * parse.y (recover_from_parsing_function): New function.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2406 (finish_function_def): Use identifier, not token.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2407 Simplify parsing of functions.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2408
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2409 * ov-list.h, ov-list.cc: New files to implement generic list type.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2410 * ov.cc (list_indent): New global variable.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2411 (increment_list_indent, decrement_list_indent): New functions.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2412 (install_types): Register octave_list type.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2413 * ov-base.cc (octave_base_value::is_list): New function.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2414
2881
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2415 * oct-sym.h: New file.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2416 * ov.h (class octave_value): Derive from octave_symbol class.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2417
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2418 * pt-const.h, pt-const.cc: Delete lots of old useless cruft.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2419
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2420 * pt-exp.h, pt-exp.cc (tree_binary_expression): Use type codes for
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2421 operators from octave_value instead of repeating them here.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2422
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2423 * pt-fvc-base.cc (tree_fvc::increment, tree_fvc::decrement): Delete.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2424 * pt-fvc.cc (tree_identifier::increment): Get reference to value
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2425 and increment that instead of using virutal tree_fvc::increment
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2426 function.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2427
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2428 * lex.l: Handle +=, -=, *=, /=, .+=, .-=, .*=, ./=, &=, and |= ops.
2883
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2429 * parse.y (make_assign_op): Rename from make_simple_assignment and
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2430 handle different op types.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2431 (simple_expr1): Do new ops.
2881
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2432 * pt-misc.cc (initialize_undefined_elements): Pass op to assign.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2433 * pt-cmd.cc (tree_for_command::do_for_command_once): Likewise.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2434 * pt-fvc.cc (tree_identifier::assign): Pass op.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2435 * pt-exp.cc (tree_simple_assignment_expression): Handle new ops.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2436 * variables.cc (octave_variable_reference::assign): Likewise.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2437 * ov.h (class octave_value): Likewise.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2438 * ov.cc (octave_value::assign_op_as_string): New function.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2439 (octave_value::assign, octave_value::convert_and_assign,
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2440 octave_value::try_assignment_with_conversion,
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2441 octave_value::try_assignment): Pass op.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2442 * pt-pr-code.cc (tree_print_code::visit_simple_assignment_expression):
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2443 Use expr.oper() instead of printing "=".
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2444 * op-cm-cm.cc, op-cm-cs.cc, op-cm-m.cc, op-cm-s.cc, op-m-m.cc,
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2445 op-m-s.cc, op-str-str.cc: Pass op to INSTALL_ASSIGNOP.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2446 * ops.h (INSTALL_ASSIGNOP): Pass op.
2883
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2447 * ov-typeinfo.cc (do_register_assign_op): Include op type in table.
0b3954110c77 [project @ 1997-04-24 09:57:05 by jwe]
jwe
parents: 2881
diff changeset
2448 (do_lookup_assign_op): Use op in lookup.
2881
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2449
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2450 * ops.h (INSTALL_UNOP): Delete.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2451
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2452 * input.cc (generate_struct_completions, looks_like_struct):
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2453 Disable, since they don't work now anyway.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2454
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2455 * help.cc (Ftype): Work with octave_value instead of a pointer to
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2456 tree_constant.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2457 * symtab.cc (symbol_record_info::symbol_record_info): Likewise.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2458
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2459
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2460 Tue Apr 22 22:59:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2461
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2462 * file-io.cc (Ffprintf): If first arg is a string, assume FID = 1.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2463
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2464 Fri Apr 18 20:16:34 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2465
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2466 * oct-obj.h, oct-obj.cc: Implement octave_value_list with
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2467 Array<octave_value> as a data member, not as a class derived from
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2468 Array<octave_value>.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2469 (octave_value_list::length, octave_value_list::resize,
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2470 octave_value_list::prepend, octave_value_list::append,
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2471 octave_value_list::reverse): New functions.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2472
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2473 * op-cm-cm.cc, op-cm-cs.cc, op-cm-m.cc, op-cm-s.cc, op-cs-cm.cc,
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2474 op-cs-m.cc, op-m-cm.cc, op-m-cs.cc, op-m-m.cc, op-m-s.cc,
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2475 op-s-cm.cc, op-s-m.cc: Use new bool ops from liboctave instead of
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2476 the macros defined in ops.h.
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2477
2865
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2478 Thu Apr 17 13:12:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2479
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2480 * parse.y (ABORT_PARSE): Handle forced_interactive the same as
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2481 interactive.
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2482
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2483 Mon Apr 14 01:46:50 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2484
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2485 * input.cc (octave_read): Don't forget to free input buffer if it
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2486 exists and has zero length.
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2487 (gnu_readline): Free buf if fgets returns 0.
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2488
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2489 Wed Apr 9 00:03:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2490
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2491 * time.cc (mk_tm_map): Only set zone field if HAVE_TM_ZONE or
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2492 HAVE_TZNAME are defined.
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2493
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2494 Tue Apr 8 12:39:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2495
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2496 * time.cc (extract_tm): Set tm.tm_zone if HAVE_TM_ZONE is defined,
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2497 not if HAVE_TMZONE is defined.
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2498
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2499 * Makefile.in (%.oct : %.o): Use $(SH_LD), not $(CXX).
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2500
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2501 Wed Apr 2 21:32:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2502
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2503 * dynamic-ld.cc, dynamic-ld.h (init_dynamic_linker): Delete
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2504 function and declaration.
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2505 * octave.cc (main): Don't call it.
2d9047854387 [project @ 1997-04-17 18:13:10 by jwe]
jwe
parents: 2859
diff changeset
2506
2856
8c516da3c1f7 [project @ 1997-03-31 06:37:21 by jwe]
jwe
parents: 2852
diff changeset
2507 Mon Mar 31 00:37:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
8c516da3c1f7 [project @ 1997-03-31 06:37:21 by jwe]
jwe
parents: 2852
diff changeset
2508
2859
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2509 * pt-base-exp.h (tree_expression::eval): Give arg a default value.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2510 * pt-const.h (tree_constant::eval): Likewise.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2511 * pt-exp.h (tree_prefix_expression::eval, tree_colon_expression::eval,
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2512 tree_postfix_expression::eval, tree_unary_expression::eval,
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2513 tree_binary_expression::eval, tree_boolean_expression::eval,
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2514 tree_simple_assignment_expression::eval): Likewise.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2515 * pt-fcn.h (tree_function::eval): Likewise.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2516 * pt-fvc.h (tree_identifier::eval, tree_indirect_ref::eval,
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2517 tree_builtin::eval): Likewise.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2518 * pt-mat.h (tree_matrix::eval): Likewise.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2519 * pt-misc.h (tree_statement_list::eval): Likewise.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2520 * pt-mvr-base.h (tree_multi_val_ret::eval): Likewise.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2521 * pt-mvr.h (tree_oct_obj::eval, tree_index_expression::eval,
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2522 tree_multi_assignment_expression::eval): Likewise.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2523 * dassl.cc, fsolve.cc, load-save.cc, lsode.cc, npsol.cc, parse.y,
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2524 pt-cmd.cc, pt-exp-base.cc, pt-exp.cc, pt-fvc.cc, pt-mat.cc,
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2525 pt-misc.cc, pt-mvr.cc, pt-plot.cc, quad.cc, toplev.cc, variables.cc:
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2526 Change callers of eval() to use bool instead of int and to make
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2527 use of default argument value.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2528
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2529 * toplev.h, toplev.cc (parse_and_execute, eval_string): Flag args
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2530 are now bool instead of int.
00c0cd0f2ee7 [project @ 1997-03-31 19:02:32 by jwe]
jwe
parents: 2857
diff changeset
2531
2856
8c516da3c1f7 [project @ 1997-03-31 06:37:21 by jwe]
jwe
parents: 2852
diff changeset
2532 * symtab.h, symtab.cc: Use bool instead of int in more places.
8c516da3c1f7 [project @ 1997-03-31 06:37:21 by jwe]
jwe
parents: 2852
diff changeset
2533 * variables.h, variables.cc: Likewise.
2857
5448c8cba402 [project @ 1997-03-31 07:06:10 by jwe]
jwe
parents: 2856
diff changeset
2534 * lex.h, lex.l: Likewise.
5448c8cba402 [project @ 1997-03-31 07:06:10 by jwe]
jwe
parents: 2856
diff changeset
2535 * parse.y: Likewise.
2856
8c516da3c1f7 [project @ 1997-03-31 06:37:21 by jwe]
jwe
parents: 2852
diff changeset
2536 * help.cc, input.cc, lex.l, load-save.cc, parse.y, pt-fcn.cc:
8c516da3c1f7 [project @ 1997-03-31 06:37:21 by jwe]
jwe
parents: 2852
diff changeset
2537 Change callers of symbol_table::lookup to use bool instead of int,
8c516da3c1f7 [project @ 1997-03-31 06:37:21 by jwe]
jwe
parents: 2852
diff changeset
2538 and to make use of default arguments.
8c516da3c1f7 [project @ 1997-03-31 06:37:21 by jwe]
jwe
parents: 2852
diff changeset
2539
2850
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2540 Fri Mar 28 15:33:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2541
2852
2284b2652028 [project @ 1997-03-28 22:04:30 by jwe]
jwe
parents: 2850
diff changeset
2542 * parse.y (Vwarn_comma_in_declaration): Delete.
2284b2652028 [project @ 1997-03-28 22:04:30 by jwe]
jwe
parents: 2850
diff changeset
2543 (symbols_of_parse): Delete DEFVAR for warn_comma_in_declaration.
2284b2652028 [project @ 1997-03-28 22:04:30 by jwe]
jwe
parents: 2850
diff changeset
2544 (decl1): Don't allow commas in declarations.
2284b2652028 [project @ 1997-03-28 22:04:30 by jwe]
jwe
parents: 2850
diff changeset
2545
2850
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2546 * lsode.cc (struct LSODE_OPTIONS): Handle integer options.
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2547 (print_lsode_option_list, set_lsode_option, show_lsode_option): Ditto.
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2548 (lsode_option_table): Add element for step limit.
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2549 (lsode_user_jacobian): New function.
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2550 (Flsode): Allow function name arg to be a 2-element string array
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2551 specifying the function and jacobian function.
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2552
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2553 * variables.cc (get_global_value, set_global_value): New functions.
b7f43611d1e8 [project @ 1997-03-28 21:36:35 by jwe]
jwe
parents: 2846
diff changeset
2554
2846
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2555 Wed Mar 26 17:08:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2556
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2557 Implement static variable declaration:
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2558
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2559 * lex.l (is_keyword): Handle static.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2560 * octave.gperf: Likewise.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2561 * parse.y (Vwarn_comma_in_declaration): Rename from
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2562 Vwarn_comma_in_global_decl.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2563 Handle new static command.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2564 * pt-cmd.h, pt-cmd.cc (class tree_decl_command): New base class
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2565 for static and global declaration commands.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2566 (class tree_global_command): Derive from tree_decl_command.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2567 (class tree_static_command): New class, derived from tree_decl_command.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2568 * pt-fvc.cc, pt-fvc.h (tree_identifier::mark_as_static): New function.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2569 * pt-misc.h, pt-misc.h (class tree_decl_elt): Rename from tree_global.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2570 (class tree_decl_init_list): Rename from tree_global_init_list.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2571 * pt-pr-code.cc, pt-pr-code.h (tree_print_code::visit_decl_command):
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2572 Rename from visit_global_command.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2573 (tree_print_code::visit_decl_elt): Rename from visit_global.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2574 (tree_print_code::visit_decl_init_list): Rename from
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2575 visit_global_init_list.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2576 * pt-walk.h (tree_walker::visit_decl_command): Rename from
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2577 visit_global_command.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2578 (tree_walker::visit_decl_elt): Rename from visit_tree_global.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2579 (tree_walker::visit_decl_init_list): Rename from
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2580 visit_global_init_list.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2581 * variables.cc (link_to_global_variable): Trying to make a static
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2582 variable global is an error.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2583 * SLList-misc.cc: Instantiate lists of pointers to tree_decl_elt
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2584 objects, not tree_global objects.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2585 * symtab.h, symtab.cc (symbol_record::tagged_static): New field.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2586 (symbol_record::mark_as_static, symbol_record::is_static):
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2587 New functions.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2588 * symtab.cc (symbol_record::init_state): Initialize tagged_static.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2589 (symbol_record::clear): Don't clear static variables.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2590 * symtab.cc (push_context): Don't do anything for static variables.
52e7c4509983 [project @ 1997-03-26 23:27:35 by jwe]
jwe
parents: 2832
diff changeset
2591
2825
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2592 Tue Mar 25 17:17:17 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2593
2881
b99a6a2619aa [project @ 1997-04-24 09:48:55 by jwe]
jwe
parents: 2865
diff changeset
2594 * ov-bool-mat.cc, ov-bool-mat.h, ov-bool.cc, ov-bool.h: New files.
2832
4dff308e9acc [project @ 1997-03-26 05:16:58 by jwe]
jwe
parents: 2831
diff changeset
2595
2831
19c45d29f177 [project @ 1997-03-26 04:17:16 by jwe]
jwe
parents: 2830
diff changeset
2596 * defaults.cc (symbols_of_defaults): DEFCONST OCTAVE_HOME.
19c45d29f177 [project @ 1997-03-26 04:17:16 by jwe]
jwe
parents: 2830
diff changeset
2597
19c45d29f177 [project @ 1997-03-26 04:17:16 by jwe]
jwe
parents: 2830
diff changeset
2598 * toplev.cc (octave_config_info): Delete use of CXXLIBS.
19c45d29f177 [project @ 1997-03-26 04:17:16 by jwe]
jwe
parents: 2830
diff changeset
2599 * oct-conf.h.in: Ditto.
19c45d29f177 [project @ 1997-03-26 04:17:16 by jwe]
jwe
parents: 2830
diff changeset
2600
2830
10a8198b1733 [project @ 1997-03-26 00:12:41 by jwe]
jwe
parents: 2825
diff changeset
2601 * octave.cc (maximum_braindamage): Don't bind prefer_zero_one_indexing.
10a8198b1733 [project @ 1997-03-26 00:12:41 by jwe]
jwe
parents: 2825
diff changeset
2602 * ov.h: Don't declare Vprefer_zero_one_indexing.
10a8198b1733 [project @ 1997-03-26 00:12:41 by jwe]
jwe
parents: 2825
diff changeset
2603 * ov.cc: Don't define Vprefer_zero_one_indexing.
10a8198b1733 [project @ 1997-03-26 00:12:41 by jwe]
jwe
parents: 2825
diff changeset
2604 (prefer_zero_one_indexing): Delete.
10a8198b1733 [project @ 1997-03-26 00:12:41 by jwe]
jwe
parents: 2825
diff changeset
2605 (symbols_of_value): Delete DEFVAR for prefer_zero_one_indexing.
10a8198b1733 [project @ 1997-03-26 00:12:41 by jwe]
jwe
parents: 2825
diff changeset
2606
2825
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2607 * ov.h, ov.cc, ov-base.h, ov-base.cc: Add constructors and
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2608 extractors for bool and boolMatrix types.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2609
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2610 * ov.cc (install_types): Register octave_bool and
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2611 octave_bool_matrix types.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2612
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2613 * op-cm-cm.cc, op-cm-cs.cc, op-cm-m.cc, op-cm-s.cc, op-cs-cm.cc,
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2614 op-cs-m.cc, op-m-cm.cc, op-m-cs.cc, op-m-m.cc, op-m-s.cc,
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2615 op-s-cm.cc, op-s-m.cc, op-s-s.cc, ov-re-mat.cc:
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2616 Return boolMatrix instead of Matrix object.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2617 * ops.h (BOOL_OP3, MX_MX_BOOL_OP): Likewise.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2618
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2619 * op-b-b.h, op-b-b.cc, op-bm-bm.h, op-bm-bm.cc: New files.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2620 * Makefile.in: Add them to the lists.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2621 * ops.cc: Include header files here.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2622 (install_ops): Call install_b_b_ops() and install_bm_bm_ops() here.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2623
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2624 * variables.cc (symbols_of_variables): Don't rely on default
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2625 conversion from int to double for value returned from
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2626 default_history_size().
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2627
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2628 * pr-output.cc: Include cstdio.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2629
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2630 * parse.y (param_list_end): Fix typo in last change.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2631
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2632 * quad.cc (quad): Cast integer return values to double.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2633 * npsol.cc (show_npsol_option): Likewise.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2634 * qpsol.cc (show_qpsol_option): Likewise.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2635 * file-io.cc (Fsprintf, Ffwrite): Likewise.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2636
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2637 Mon Mar 24 13:11:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2638
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2639 * ov-typeinfo.cc (typeinfo): If invoked with an argument, return
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2640 the type of the argument as a string. Fix doc string.
60ae49e1284f [project @ 1997-03-25 23:17:36 by jwe]
jwe
parents: 2821
diff changeset
2641
2821
044d25a60ea1 [project @ 1997-03-20 20:48:23 by jwe]
jwe
parents: 2819
diff changeset
2642 Thu Mar 20 14:47:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
044d25a60ea1 [project @ 1997-03-20 20:48:23 by jwe]
jwe
parents: 2819
diff changeset
2643
044d25a60ea1 [project @ 1997-03-20 20:48:23 by jwe]
jwe
parents: 2819
diff changeset
2644 * mk-oct-links (links_dir): Don't use -h option for grep. It's
044d25a60ea1 [project @ 1997-03-20 20:48:23 by jwe]
jwe
parents: 2819
diff changeset
2645 not needed since we are working on one file at a time anyway.
044d25a60ea1 [project @ 1997-03-20 20:48:23 by jwe]
jwe
parents: 2819
diff changeset
2646
2819
ae3cce876a8e [project @ 1997-03-17 23:27:45 by jwe]
jwe
parents: 2811
diff changeset
2647 Mon Mar 17 10:53:29 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
ae3cce876a8e [project @ 1997-03-17 23:27:45 by jwe]
jwe
parents: 2811
diff changeset
2648
ae3cce876a8e [project @ 1997-03-17 23:27:45 by jwe]
jwe
parents: 2811
diff changeset
2649 * lex.l (handle_identifier): When handling indirect_ref, set
ae3cce876a8e [project @ 1997-03-17 23:27:45 by jwe]
jwe
parents: 2811
diff changeset
2650 lexer_flags.quote_is_transpose to 1 so that a.b' to work as
ae3cce876a8e [project @ 1997-03-17 23:27:45 by jwe]
jwe
parents: 2811
diff changeset
2651 expected.
ae3cce876a8e [project @ 1997-03-17 23:27:45 by jwe]
jwe
parents: 2811
diff changeset
2652
ae3cce876a8e [project @ 1997-03-17 23:27:45 by jwe]
jwe
parents: 2811
diff changeset
2653 * parse.y (param_list_beg, param_list_end): New nonterminals.
ae3cce876a8e [project @ 1997-03-17 23:27:45 by jwe]
jwe
parents: 2811
diff changeset
2654 (param_list, param_list1): Use them.
ae3cce876a8e [project @ 1997-03-17 23:27:45 by jwe]
jwe
parents: 2811
diff changeset
2655
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2806
diff changeset
2656 Wed Mar 12 16:57:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2806
diff changeset
2657
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2806
diff changeset
2658 * Makefile.in (install-strip): New target.
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2806
diff changeset
2659
2806
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2660 Mon Mar 10 22:38:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2661
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2662 * Makefile.in (clean): Delete .oct files too.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2663
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2664 * toplev.cc (Vdefault_eval_print_flag): New static variable.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2665 (eval_string): New arg, print.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2666 (Feval): Pass Vdefault_eval_print_flag to eval_string.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2667 (default_eval_print_flag): New function.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2668 (symbols_of_toplev): New function.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2669
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2670 * variables.cc (install_builtin_variables): Call it.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2671
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2672 * pt-exp.h, pt-exp.cc (class tree_boolean_expression): Rename enum
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2673 fields `and' and `or' to `bool_and' and `bool_or'.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2674 (tree_unary_expression): Rename enum field `not' to `unot'.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2675 (class tree_binary_expression): Rename enum fields `and' and `or'
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2676 to `el_and' and `el_or'.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2677 * parse.y: Change all uses.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2678
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2679 * time.cc (extract_tm): Truncate field values instead of rounding.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2680 (gmtime, localtime): Likewise, for timeval.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2681
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2682 * ov.h (class octave_value): Delete unused variable freeptr.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2683
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2684 * mappers.cc: Delete functions that are already in
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2685 liboctave/lo-mappers.cc.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2686
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2687 * oct-strstrm.cc (octave_base_strstream::tell): Use const_cast,
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2688 not static_cast.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2689
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2690 * help.cc (help_from_list): Add missing const qualifiers.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2691 * help.h (struct help_list): Likewise.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2692 * lex.l (match_any, plot_style_token): Likewise.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2693 * load-save.cc (extract_keyword, ascii_save_type): Likewise.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2694 * oct-hist.cc (mk_tmp_hist_file): Likewise.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2695 * octave.cc (execute_startup_files): Likewise.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2696 * octave.gperf (struct octave_kw): Likewise.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2697 * pr-output.cc (pr_any_float): Likewise.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2698 * pt-mvr.cc (tree_index_expression::eval_error): Likewise.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2699 * pt-exp-base.h, pt-exp.h, pt-exp.cc: Likewise.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2700 * parse.y: Likewise.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2701
2800
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2799
diff changeset
2702 Sun Mar 9 03:46:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2799
diff changeset
2703
2806
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2704 * pt-exp-base.h (tree_expression): Delete extra comma at end of list.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2705
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2706 * dirfns.cc error.cc file-io.cc fsolve.cc input.cc load-save.cc
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2707 npsol.cc pt-fcn.cc qpsol.cc quad.cc syscalls.cc toplev.cc
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2708 variables.cc: Eliminate embedded newlines in string constants.
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2709
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2710 * Map.cc, data.cc, dirfns.cc, dynamic-ld.cc, file-io.cc,
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2711 fsolve.cc, getgrent.cc, getpwent.cc, getrusage.cc, help.cc,
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2712 input.cc, load-save.cc, mappers.cc, minmax.cc, npsol.cc,
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2713 oct-fstrm.cc, oct-procbuf.h, oct-stdstrm.cc, oct-stdstrm.h,
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2714 oct-stream.cc, oct-stream.h, oct-strstrm.cc, octave.cc,
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2715 ov-base.h, ov-range.cc, ov-typeinfo.cc, ov.cc, pr-output.cc,
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2716 pt-cmd.cc, pt-exp.cc, pt-fcn.cc, pt-fvc.cc, pt-mat.cc,
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2717 pt-misc.cc, pt-plot.cc, qpsol.cc, quad.cc, sort.cc, strfns.cc,
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2718 symtab.cc, syscalls.cc, sysdep.cc, time.cc, toplev.cc,
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2719 unwind-prot.cc, unwind-prot.h, variables.cc, xpow.cc:
187d5321cfa3 [project @ 1997-03-11 05:13:15 by jwe]
jwe
parents: 2800
diff changeset
2720 Use `static_cast<T> (val)' instead of old C-style `(T) val' casts.
2800
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2799
diff changeset
2721
2799
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2722 Sat Mar 8 02:35:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2723
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2724 * load-save.cc (save_ascii_data, save_three_d): Where appropriate,
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2725 use bool instead of int.
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2726 (save_binary_data, save_mat_binary_data, save_ascii_data):
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2727 Print warning instead of error for wrong type arg.
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2728
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2729 * gripes.cc (gripe_wrong_type_arg): New arg, is_error.
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2730
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2731 * pt-plot.cc (save_in_tmp_file): Call save_ascii_data with bool
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2732 arg, not int.
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2797
diff changeset
2733
2797
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2734 Fri Mar 7 00:56:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2735
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2736 * dassl.cc (show_dassl_option): For values that are determined
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2737 automatically, return a string instead of a magic value (-1.0).
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2738 * fsolve.cc (show_fsolve_option): Likewise.
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2739 * lsode.cc (show_lsode_option): Likewise.
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2740 * npsol.cc (show_npsol_option): Likewise.
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2741 * qpsol.cc (show_qpsol_option): Likewise.
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2742
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2743 * variables.cc (extract_function): New function.
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2744 * dassl.cc (Fdassl): Use it instead of is_valid_function.
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2745 * fsolve.cc (Ffsolve): Likewise.
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2746 * npsol.cc (Fnpsol): Likewise.
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2747 * qpsol.cc (Fqpsol): Likewise.
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2748 * quad.cc (Fquad): Likewise.
f81117f4754d [project @ 1997-03-07 07:01:08 by jwe]
jwe
parents: 2795
diff changeset
2749
2795
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2750 Thu Mar 6 20:07:24 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2751
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2752 * sighandlers.cc (my_friendly_exit, octave_new_handler,
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2753 sigfpe_handler, sigpipe_handler): Don't all error() or warning().
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2754
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2755 * pager.cc (pager_death_handler): Don't try to clear pager, just
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2756 print message to cerr.
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2757 (do_sync): If the status of the pager is bad or it looks like it
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2758 is dead, restore the interrupt handler.
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2759
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2760 * load-save.cc (extract_keyword (istream&, char*, int&)):
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2761 Move declaration of buf inside loop, to avoid deleting its guts
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2762 and then trying to reuse it.
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2763 (extract_keyword (istream&, char*)): Likewise.
14d07e4a0265 [project @ 1997-03-07 02:18:49 by jwe]
jwe
parents: 2791
diff changeset
2764
2790
ecc1a12678de [project @ 1997-03-05 02:47:54 by jwe]
jwe
parents: 2779
diff changeset
2765 Tue Mar 4 20:36:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
ecc1a12678de [project @ 1997-03-05 02:47:54 by jwe]
jwe
parents: 2779
diff changeset
2766
2791
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2767 * pt-fcn.cc (tree_function::eval): Protect function from being
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2768 redefined while it is being evaluated.
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2769 (unprotect_function): New function, for use with unwind_protect stuff.
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2770 * pt-fcn.h (tree_function::symtab_entry): New data member.
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2771 (tree_function::init): Initialize it to 0.
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2772 (tree_function::stash_symtab_ptr): New function.
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2773 * parse.y (frob_function_def): Stash pointer to function's
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2774 symbol_record in the function definition.
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2775
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2776 * symtab.cc (symbol_record::read_only_error): New argument,
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2777 action. Change all callers.
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2778 (symbol_record::rename): Don't allow read-only symbols to be renamed.
ef422e6f6138 [project @ 1997-03-05 04:53:36 by jwe]
jwe
parents: 2790
diff changeset
2779
2790
ecc1a12678de [project @ 1997-03-05 02:47:54 by jwe]
jwe
parents: 2779
diff changeset
2780 * variables.cc (Fexist): Don't let files with `.' in their names
ecc1a12678de [project @ 1997-03-05 02:47:54 by jwe]
jwe
parents: 2779
diff changeset
2781 confuse us.
ecc1a12678de [project @ 1997-03-05 02:47:54 by jwe]
jwe
parents: 2779
diff changeset
2782
ecc1a12678de [project @ 1997-03-05 02:47:54 by jwe]
jwe
parents: 2779
diff changeset
2783 * symtab.cc (valid_identifier (const string&)): New function.
ecc1a12678de [project @ 1997-03-05 02:47:54 by jwe]
jwe
parents: 2779
diff changeset
2784
2779
50b31bb6b959 [project @ 1997-03-01 21:24:58 by jwe]
jwe
parents: 2777
diff changeset
2785 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2775
c80d72d52385 [project @ 1997-03-01 07:37:31 by jwe]
jwe
parents: 2774
diff changeset
2786
c80d72d52385 [project @ 1997-03-01 07:37:31 by jwe]
jwe
parents: 2774
diff changeset
2787 * Version 2.0.5 released.
c80d72d52385 [project @ 1997-03-01 07:37:31 by jwe]
jwe
parents: 2774
diff changeset
2788
2779
50b31bb6b959 [project @ 1997-03-01 21:24:58 by jwe]
jwe
parents: 2777
diff changeset
2789 Sat Mar 1 01:34:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
50b31bb6b959 [project @ 1997-03-01 21:24:58 by jwe]
jwe
parents: 2777
diff changeset
2790
50b31bb6b959 [project @ 1997-03-01 21:24:58 by jwe]
jwe
parents: 2777
diff changeset
2791 * Makefile.in (stamp-oct-links): New target. Make links in build
50b31bb6b959 [project @ 1997-03-01 21:24:58 by jwe]
jwe
parents: 2777
diff changeset
2792 directory too, so that the tests will work.
50b31bb6b959 [project @ 1997-03-01 21:24:58 by jwe]
jwe
parents: 2777
diff changeset
2793
2777
d741b18efb63 [project @ 1997-03-01 21:09:32 by jwe]
jwe
parents: 2775
diff changeset
2794 * quad.cc: If quad is defined, undefine it.
d741b18efb63 [project @ 1997-03-01 21:09:32 by jwe]
jwe
parents: 2775
diff changeset
2795
2775
c80d72d52385 [project @ 1997-03-01 07:37:31 by jwe]
jwe
parents: 2774
diff changeset
2796 * octave.cc: If WITH_KPATHSEARCH is defined, don't define
c80d72d52385 [project @ 1997-03-01 07:37:31 by jwe]
jwe
parents: 2774
diff changeset
2797 program_invocation_name or program_invocation_short_name.
2774
5ea69876b258 [project @ 1997-03-01 07:29:02 by jwe]
jwe
parents: 2764
diff changeset
2798
5ea69876b258 [project @ 1997-03-01 07:29:02 by jwe]
jwe
parents: 2764
diff changeset
2799 * strftime.c: Update to current version from FSF.
5ea69876b258 [project @ 1997-03-01 07:29:02 by jwe]
jwe
parents: 2764
diff changeset
2800 * time.cc (Fstrftime): Call strftime with buf = 0 to get buffer
5ea69876b258 [project @ 1997-03-01 07:29:02 by jwe]
jwe
parents: 2764
diff changeset
2801 size, then call again to actually format the time struct.
5ea69876b258 [project @ 1997-03-01 07:29:02 by jwe]
jwe
parents: 2764
diff changeset
2802
2762
ac1427f5c9e6 [project @ 1997-02-28 08:26:30 by jwe]
jwe
parents: 2759
diff changeset
2803 Fri Feb 28 01:49:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
ac1427f5c9e6 [project @ 1997-02-28 08:26:30 by jwe]
jwe
parents: 2759
diff changeset
2804
2764
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2805 Implement switch statement:
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2806
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2807 * parse.y (Vwarn_variable_switch_label): New static variable.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2808 (warn_variable_switch_label): New function.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2809 (symbols_of_parse): Provide warn_variable_switch_label as Octave
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2810 variable here.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2811 (make_switch_case, finish_switch_command): New functions.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2812 (maybe_warn_variable_switch_label): New function.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2813 (end_error): Handle endswitch.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2814 (switch_command, case_list, case_list1, switch_case, default_case):
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2815 New nonterminals.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2816 (command): Add switch_command here.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2817 * lex.l (is_keyword): Handle switch, case, otherwise, and endswitch.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2818 * octave_gperf: Recognize switch, case, otherwise, and endswitch.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2819 * token.h (end_tok_type): New item, switch_end.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2820 * pt-cmd.cc (tree_switch_command): New class.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2821 * pt-misc.cc (tree_switch_case, tree_switch_case_list): New classes.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2822 * pt-pr-code.cc (tree_print_code::visit_switch_case,
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2823 tree_print_code::visit_switch_case_list,
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2824 tree_print_code::visit_switch_command): New functions.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2825 * pt-walk.h (tree_walker::visit_switch_case,
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2826 tree_walker::visit_switch_case_list,
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2827 tree_walker::visit_switch_command): New pure virtual declarations.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2828 Implement new switch statement.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2829 * SLList-misc.cc: Instantiate lists of pointers to
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2830 tree_switch_case objects too.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2831
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2832 * lex.h, lex.l, parse.y: Delete all references to lexer_flags::iffing.
2c0f259cf83d [project @ 1997-03-01 02:30:26 by jwe]
jwe
parents: 2762
diff changeset
2833
2762
ac1427f5c9e6 [project @ 1997-02-28 08:26:30 by jwe]
jwe
parents: 2759
diff changeset
2834 * syswait.h: Include sys/wait.h on NeXT systems, but don't use the
ac1427f5c9e6 [project @ 1997-02-28 08:26:30 by jwe]
jwe
parents: 2759
diff changeset
2835 WIFEXTED, WEXITSTATUS, and WIFSIGNALLED macros defined there.
ac1427f5c9e6 [project @ 1997-02-28 08:26:30 by jwe]
jwe
parents: 2759
diff changeset
2836 Also define waitpid in terms of wait4. From Rex A. Dieter
ac1427f5c9e6 [project @ 1997-02-28 08:26:30 by jwe]
jwe
parents: 2759
diff changeset
2837 <rdieter@math.unl.edu>.
ac1427f5c9e6 [project @ 1997-02-28 08:26:30 by jwe]
jwe
parents: 2759
diff changeset
2838
2759
99dd10f4eaaf [project @ 1997-02-27 08:59:55 by jwe]
jwe
parents: 2745
diff changeset
2839 Wed Feb 26 16:43:31 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
99dd10f4eaaf [project @ 1997-02-27 08:59:55 by jwe]
jwe
parents: 2745
diff changeset
2840
99dd10f4eaaf [project @ 1997-02-27 08:59:55 by jwe]
jwe
parents: 2745
diff changeset
2841 * oct-stream.cc (octave_base_stream::do_scanf): Don't report an
99dd10f4eaaf [project @ 1997-02-27 08:59:55 by jwe]
jwe
parents: 2745
diff changeset
2842 error if a conversion fails or we reach EOF.
99dd10f4eaaf [project @ 1997-02-27 08:59:55 by jwe]
jwe
parents: 2745
diff changeset
2843
2745
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2844 Tue Feb 25 22:21:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2845
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2846 * time.cc (strftime): increase initial buffer size.
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2847
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2848 Mon Feb 24 17:49:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2849
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2850 * pt-fvc.cc (tree_builtin::eval): Enable checking for max number
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2851 of arguments.
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2852
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2853 * error.cc (handle_message): Don't fail if args is empty.
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2854
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2855 Sun Feb 23 22:42:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2856
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2857 * lex.h (lexical_feedback::looking_at_return_list): New field.
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2858 (lexical_feedback::looking_at_parameter_list): Ditto.
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2859 * lex.l (lexical_feedback::init): Initialize them.
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2860 (handle_identifier): Use them.
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2861 * parse.y: Likewise.
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2716
diff changeset
2862
2712
2ff2b536cc9d [project @ 1997-02-21 21:38:21 by jwe]
jwe
parents: 2709
diff changeset
2863 Fri Feb 21 15:35:18 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2ff2b536cc9d [project @ 1997-02-21 21:38:21 by jwe]
jwe
parents: 2709
diff changeset
2864
2716
2b5c27299cde [project @ 1997-02-22 08:40:55 by jwe]
jwe
parents: 2712
diff changeset
2865 * lex.l: Require flex 2.5 or later (we really want 2.5.4 or later,
2b5c27299cde [project @ 1997-02-22 08:40:55 by jwe]
jwe
parents: 2712
diff changeset
2866 but there seems to be no good way to check the patchlevel).
2b5c27299cde [project @ 1997-02-22 08:40:55 by jwe]
jwe
parents: 2712
diff changeset
2867
2712
2ff2b536cc9d [project @ 1997-02-21 21:38:21 by jwe]
jwe
parents: 2709
diff changeset
2868 * oct-stream.cc (octave_base_stream::oscanf): Instead of returning
2ff2b536cc9d [project @ 1997-02-21 21:38:21 by jwe]
jwe
parents: 2709
diff changeset
2869 an error, just quit processing after a conversion fails.
2ff2b536cc9d [project @ 1997-02-21 21:38:21 by jwe]
jwe
parents: 2709
diff changeset
2870
2709
0f72b0462b51 [project @ 1997-02-20 17:55:40 by jwe]
jwe
parents: 2706
diff changeset
2871 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2702
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2693
diff changeset
2872
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2693
diff changeset
2873 * Version 2.0.4 released.
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2693
diff changeset
2874
2706
5dd7d7e947b2 [project @ 1997-02-20 05:02:43 by jwe]
jwe
parents: 2705
diff changeset
2875 Wed Feb 19 10:30:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
5dd7d7e947b2 [project @ 1997-02-20 05:02:43 by jwe]
jwe
parents: 2705
diff changeset
2876
2705
18395aaeafb7 [project @ 1997-02-20 04:56:43 by jwe]
jwe
parents: 2702
diff changeset
2877 * sighandlers.cc (octave_ignore_interrupts,
18395aaeafb7 [project @ 1997-02-20 04:56:43 by jwe]
jwe
parents: 2702
diff changeset
2878 octave_catch_interrupts, octave_set_interrupt_handler):
18395aaeafb7 [project @ 1997-02-20 04:56:43 by jwe]
jwe
parents: 2702
diff changeset
2879 Return old value, not pointer to static data. Fix all uses.
18395aaeafb7 [project @ 1997-02-20 04:56:43 by jwe]
jwe
parents: 2702
diff changeset
2880
18395aaeafb7 [project @ 1997-02-20 04:56:43 by jwe]
jwe
parents: 2702
diff changeset
2881 * sighandlers.h (octave_interrupt_handler): Move declaration here.
18395aaeafb7 [project @ 1997-02-20 04:56:43 by jwe]
jwe
parents: 2702
diff changeset
2882 * sighandlers.cc: From here.
18395aaeafb7 [project @ 1997-02-20 04:56:43 by jwe]
jwe
parents: 2702
diff changeset
2883
18395aaeafb7 [project @ 1997-02-20 04:56:43 by jwe]
jwe
parents: 2702
diff changeset
2884 * toplev.cc: Undo previous change.
18395aaeafb7 [project @ 1997-02-20 04:56:43 by jwe]
jwe
parents: 2702
diff changeset
2885
2702
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2693
diff changeset
2886 * lex.l (handle_identifier): Allow commands like ls, save, etc. to
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2693
diff changeset
2887 also be used as simple variable names. Also make it possible to
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2693
diff changeset
2888 use the normal function call syntax to invoke them.
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2693
diff changeset
2889
2693
f4d0604cbcc4 [project @ 1997-02-18 15:25:21 by jwe]
jwe
parents: 2692
diff changeset
2890 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
2689
8c7955a8d49f [project @ 1997-02-18 09:06:10 by jwe]
jwe
parents: 2687
diff changeset
2891
2702
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2693
diff changeset
2892 * Makefile.in (%.oct:%.o, %.oct:pic/%.o): Use $(SH_LDFLAGS) here.
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2693
diff changeset
2893
2690
b91b72e856ce [project @ 1997-02-18 09:22:47 by jwe]
jwe
parents: 2689
diff changeset
2894 * Version 2.0.3 released.
b91b72e856ce [project @ 1997-02-18 09:22:47 by jwe]
jwe
parents: 2689
diff changeset
2895
2693
f4d0604cbcc4 [project @ 1997-02-18 15:25:21 by jwe]
jwe
parents: 2692
diff changeset
2896 Tue Feb 18 00:27:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
f4d0604cbcc4 [project @ 1997-02-18 15:25:21 by jwe]
jwe
parents: 2692
diff changeset
2897
f4d0604cbcc4 [project @ 1997-02-18 15:25:21 by jwe]
jwe
parents: 2692
diff changeset
2898 * toplev.cc (run_command_and_return_output):
f4d0604cbcc4 [project @ 1997-02-18 15:25:21 by jwe]
jwe
parents: 2692
diff changeset
2899 Block SIGCHLD while running subprocess.
f4d0604cbcc4 [project @ 1997-02-18 15:25:21 by jwe]
jwe
parents: 2692
diff changeset
2900 (cleanup_iprocstream): Unblock it here.
f4d0604cbcc4 [project @ 1997-02-18 15:25:21 by jwe]
jwe
parents: 2692
diff changeset
2901
f4d0604cbcc4 [project @ 1997-02-18 15:25:21 by jwe]
jwe
parents: 2692
diff changeset
2902 * sighandlers.h (BLOCK_SIGNAL, BLOCK_CHILD, UNBLOCK_CHILD): Move here.
f4d0604cbcc4 [project @ 1997-02-18 15:25:21 by jwe]
jwe
parents: 2692
diff changeset
2903 * sighandlers.cc: From here.
f4d0604cbcc4 [project @ 1997-02-18 15:25:21 by jwe]
jwe
parents: 2692
diff changeset
2904
2692
25fbbe6074e9 [project @ 1997-02-18 09:49:11 by jwe]
jwe
parents: 2690
diff changeset
2905 * toplev.cc (system): Shift then mask exit status.
25fbbe6074e9 [project @ 1997-02-18 09:49:11 by jwe]
jwe
parents: 2690
diff changeset
2906
25fbbe6074e9 [project @ 1997-02-18 09:49:11 by jwe]
jwe
parents: 2690
diff changeset
2907 * help.cc (try_info): Shift first, then mask exit status.
25fbbe6074e9 [project @ 1997-02-18 09:49:11 by jwe]
jwe
parents: 2690
diff changeset
2908
2689
8c7955a8d49f [project @ 1997-02-18 09:06:10 by jwe]
jwe
parents: 2687
diff changeset
2909 * toplev.cc (octave_config_info): Handle option argument.
8c7955a8d49f [project @ 1997-02-18 09:06:10 by jwe]
jwe
parents: 2687
diff changeset
2910
2686
6d0a6fc92f06 [project @ 1997-02-14 22:31:36 by jwe]
jwe
parents: 2676
diff changeset
2911 Fri Feb 14 16:23:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
6d0a6fc92f06 [project @ 1997-02-14 22:31:36 by jwe]
jwe
parents: 2676
diff changeset
2912
2687
3e611118ce15 [project @ 1997-02-14 23:37:36 by jwe]
jwe
parents: 2686
diff changeset
2913 * oct-stream.cc (octave_base_stream::do_scanf): Don't forget to
3e611118ce15 [project @ 1997-02-14 23:37:36 by jwe]
jwe
parents: 2686
diff changeset
2914 check to see if the result matrix needs resizing!
3e611118ce15 [project @ 1997-02-14 23:37:36 by jwe]
jwe
parents: 2686
diff changeset
2915
2686
6d0a6fc92f06 [project @ 1997-02-14 22:31:36 by jwe]
jwe
parents: 2676
diff changeset
2916 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES.
6d0a6fc92f06 [project @ 1997-02-14 22:31:36 by jwe]
jwe
parents: 2676
diff changeset
2917
2669
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2918 Thu Feb 13 03:02:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2919
2676
a5a300c61159 [project @ 1997-02-14 03:16:06 by jwe]
jwe
parents: 2675
diff changeset
2920 * Makefile.in (stamp-prereq): Depend on stamp-picdir.
a5a300c61159 [project @ 1997-02-14 03:16:06 by jwe]
jwe
parents: 2675
diff changeset
2921 (all): Don't depend on stamp-prereq or stamp-picdir.
a5a300c61159 [project @ 1997-02-14 03:16:06 by jwe]
jwe
parents: 2675
diff changeset
2922 (stamp-tinst, stamp-interp, libtinst.a, liboctinterp.a):
a5a300c61159 [project @ 1997-02-14 03:16:06 by jwe]
jwe
parents: 2675
diff changeset
2923 Do depend on stamp-prereq.
a5a300c61159 [project @ 1997-02-14 03:16:06 by jwe]
jwe
parents: 2675
diff changeset
2924 (stamp-picdir): Silence noise about making pic.
a5a300c61159 [project @ 1997-02-14 03:16:06 by jwe]
jwe
parents: 2675
diff changeset
2925 (stamp-tinst, stamp-interp): Use $(SH_LD) $(SH_LDFLAGS) instead of
a5a300c61159 [project @ 1997-02-14 03:16:06 by jwe]
jwe
parents: 2675
diff changeset
2926 $(CXX) -shared.
a5a300c61159 [project @ 1997-02-14 03:16:06 by jwe]
jwe
parents: 2675
diff changeset
2927
2675
5b13fb88db90 [project @ 1997-02-13 22:34:18 by jwe]
jwe
parents: 2672
diff changeset
2928 * oct-conf.h.in: Reinstate RLD_FLAG.
5b13fb88db90 [project @ 1997-02-13 22:34:18 by jwe]
jwe
parents: 2672
diff changeset
2929 * toplev.cc (octave_config_info): Likewise.
5b13fb88db90 [project @ 1997-02-13 22:34:18 by jwe]
jwe
parents: 2672
diff changeset
2930
2672
e93b4c32457b [project @ 1997-02-13 20:34:48 by jwe]
jwe
parents: 2669
diff changeset
2931 * data.cc (map_d_m, map_m_d, map_m_m): Rename from map.
e93b4c32457b [project @ 1997-02-13 20:34:48 by jwe]
jwe
parents: 2669
diff changeset
2932 (Fatan2): Use new function names.
e93b4c32457b [project @ 1997-02-13 20:34:48 by jwe]
jwe
parents: 2669
diff changeset
2933
e93b4c32457b [project @ 1997-02-13 20:34:48 by jwe]
jwe
parents: 2669
diff changeset
2934 * pt-fvc.cc (apply_mapper_fcn): Use member function map() instead
e93b4c32457b [project @ 1997-02-13 20:34:48 by jwe]
jwe
parents: 2669
diff changeset
2935 of friend function.
e93b4c32457b [project @ 1997-02-13 20:34:48 by jwe]
jwe
parents: 2669
diff changeset
2936
2669
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2937 * gripes.cc (gripe_wrong_type_arg (const char*, const string&)):
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2938 New function.
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2939
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2940 Wed Feb 12 17:27:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2941
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2942 * syscalls.cc (symbols_of_syscalls): Add O_ASYNC and O_SYNC.
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2943
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2944 Mon Feb 10 01:22:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2945
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2946 * dirfns.cc (Freaddir, Fmkdir, Frmdir, Frename):
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2947 Also return status and error message.
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2948
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2949 * syscalls.cc (Fdup2, Fexec, Ffork, Ffcntl, Funlink, Fmkfifo,
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2950 Fpipe, Fwaitpid): Also return error message.
c821858188b6 [project @ 1997-02-13 18:25:39 by jwe]
jwe
parents: 2665
diff changeset
2951
2664
9ccca1037db3 [project @ 1997-02-08 23:17:04 by jwe]
jwe
parents: 2663
diff changeset
2952 Sat Feb 8 17:16:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
9ccca1037db3 [project @ 1997-02-08 23:17:04 by jwe]
jwe
parents: 2663
diff changeset
2953
2665
02f298ddf9f6 [project @ 1997-02-08 23:47:34 by jwe]
jwe
parents: 2664
diff changeset
2954 * pt-exp.cc (tree_simple_assignment_expression::eval): Return
02f298ddf9f6 [project @ 1997-02-08 23:47:34 by jwe]
jwe
parents: 2664
diff changeset
2955 value of RHS, but (if printing) print complete value of LHS.
02f298ddf9f6 [project @ 1997-02-08 23:47:34 by jwe]
jwe
parents: 2664
diff changeset
2956
2664
9ccca1037db3 [project @ 1997-02-08 23:17:04 by jwe]
jwe
parents: 2663
diff changeset
2957 * pr-output.cc (octave_print_internal): Print a new line for empty
9ccca1037db3 [project @ 1997-02-08 23:17:04 by jwe]
jwe
parents: 2663
diff changeset
2958 string matrices.
9ccca1037db3 [project @ 1997-02-08 23:17:04 by jwe]
jwe
parents: 2663
diff changeset
2959
2663
00b2eff19bf5 [project @ 1997-02-08 21:58:49 by jwe]
jwe
parents: 2652
diff changeset
2960 Wed Feb 5 14:30:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
00b2eff19bf5 [project @ 1997-02-08 21:58:49 by jwe]
jwe
parents: 2652
diff changeset
2961
00b2eff19bf5 [project @ 1997-02-08 21:58:49 by jwe]
jwe
parents: 2652
diff changeset
2962 * oct-stream.cc (scanf_format_list::process_conversion): Accept
00b2eff19bf5 [project @ 1997-02-08 21:58:49 by jwe]
jwe
parents: 2652
diff changeset
2963 but don't actually use h, l, and L modifiers. Always insert l
00b2eff19bf5 [project @ 1997-02-08 21:58:49 by jwe]
jwe
parents: 2652
diff changeset
2964 modifier for floating point conversions.
00b2eff19bf5 [project @ 1997-02-08 21:58:49 by jwe]
jwe
parents: 2652
diff changeset
2965
2652
69613a17f51a [project @ 1997-01-31 20:30:22 by jwe]
jwe
parents: 2648
diff changeset
2966 Fri Jan 31 13:55:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
69613a17f51a [project @ 1997-01-31 20:30:22 by jwe]
jwe
parents: 2648
diff changeset
2967
69613a17f51a [project @ 1997-01-31 20:30:22 by jwe]
jwe
parents: 2648
diff changeset
2968 * pager.cc (do_sync): Always flush the cout stream after writing.
69613a17f51a [project @ 1997-01-31 20:30:22 by jwe]
jwe
parents: 2648
diff changeset
2969
2643
c69a267054d1 [project @ 1997-01-29 14:25:57 by jwe]
jwe
parents: 2638
diff changeset
2970 Wed Jan 29 08:25:29 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
c69a267054d1 [project @ 1997-01-29 14:25:57 by jwe]
jwe
parents: 2638
diff changeset
2971
2648
024f4068ecaf [project @ 1997-01-29 20:26:49 by jwe]
jwe
parents: 2646
diff changeset
2972 * defaults.cc (exec_path): Don't include bin_dir in std_path.
024f4068ecaf [project @ 1997-01-29 20:26:49 by jwe]
jwe
parents: 2646
diff changeset
2973
2646
5adf5280858c [project @ 1997-01-29 18:59:41 by jwe]
jwe
parents: 2643
diff changeset
2974 * pager.cc (do_sync): Flush the cout stream after writing if
5adf5280858c [project @ 1997-01-29 18:59:41 by jwe]
jwe
parents: 2643
diff changeset
2975 running in interactive or forced_interactive mode.
5adf5280858c [project @ 1997-01-29 18:59:41 by jwe]
jwe
parents: 2643
diff changeset
2976
5adf5280858c [project @ 1997-01-29 18:59:41 by jwe]
jwe
parents: 2643
diff changeset
2977 * mk-oct-links: Rename from mk-oct-links.in.
5adf5280858c [project @ 1997-01-29 18:59:41 by jwe]
jwe
parents: 2643
diff changeset
2978 Don't use symbolic links.
5adf5280858c [project @ 1997-01-29 18:59:41 by jwe]
jwe
parents: 2643
diff changeset
2979 * Makefile.in: Distribute mk-oct-links, not mk-oct-links.in
5adf5280858c [project @ 1997-01-29 18:59:41 by jwe]
jwe
parents: 2643
diff changeset
2980 (mk-oct-links): Delete target.
5adf5280858c [project @ 1997-01-29 18:59:41 by jwe]
jwe
parents: 2643
diff changeset
2981 (install-oct, bin-dist): Don't depend on mk-oct-links.
5adf5280858c [project @ 1997-01-29 18:59:41 by jwe]
jwe
parents: 2643
diff changeset
2982 Run $(srcdir)/mk-oct-links, not ./mk-oct-links.
5adf5280858c [project @ 1997-01-29 18:59:41 by jwe]
jwe
parents: 2643
diff changeset
2983
2643
c69a267054d1 [project @ 1997-01-29 14:25:57 by jwe]
jwe
parents: 2638
diff changeset
2984 * qr.cc (qr): Doc fix.
c69a267054d1 [project @ 1997-01-29 14:25:57 by jwe]
jwe
parents: 2638
diff changeset
2985
2638
652a14bff36b [project @ 1997-01-28 16:52:00 by jwe]
jwe
parents: 2634
diff changeset
2986 Tue Jan 28 10:48:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
652a14bff36b [project @ 1997-01-28 16:52:00 by jwe]
jwe
parents: 2634
diff changeset
2987
652a14bff36b [project @ 1997-01-28 16:52:00 by jwe]
jwe
parents: 2634
diff changeset
2988 * Makefile.in (install-inc): Create a relative symbolic link.
652a14bff36b [project @ 1997-01-28 16:52:00 by jwe]
jwe
parents: 2634
diff changeset
2989 (install-bin): Create a relative symbolic link.
652a14bff36b [project @ 1997-01-28 16:52:00 by jwe]
jwe
parents: 2634
diff changeset
2990
2630
fdee6fe3e73b [project @ 1997-01-27 19:08:47 by jwe]
jwe
parents: 2626
diff changeset
2991 Mon Jan 27 12:12:03 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
fdee6fe3e73b [project @ 1997-01-27 19:08:47 by jwe]
jwe
parents: 2626
diff changeset
2992
2634
eebc31f84a4d [project @ 1997-01-27 21:53:18 by jwe]
jwe
parents: 2630
diff changeset
2993 * Version 2.0.2 released.
eebc31f84a4d [project @ 1997-01-27 21:53:18 by jwe]
jwe
parents: 2630
diff changeset
2994
eebc31f84a4d [project @ 1997-01-27 21:53:18 by jwe]
jwe
parents: 2630
diff changeset
2995 * Makefile.in (CXXFLAGS_NO_PT_FLAGS): Rename from XALL_CXXFLAGS.
eebc31f84a4d [project @ 1997-01-27 21:53:18 by jwe]
jwe
parents: 2630
diff changeset
2996 Substitute bsd_gcc_kluge_targets_frag.
eebc31f84a4d [project @ 1997-01-27 21:53:18 by jwe]
jwe
parents: 2630
diff changeset
2997
2630
fdee6fe3e73b [project @ 1997-01-27 19:08:47 by jwe]
jwe
parents: 2626
diff changeset
2998 * sysdep.cc (Fsleep): New function.
fdee6fe3e73b [project @ 1997-01-27 19:08:47 by jwe]
jwe
parents: 2626
diff changeset
2999 (Fusleep): New function.
fdee6fe3e73b [project @ 1997-01-27 19:08:47 by jwe]
jwe
parents: 2626
diff changeset
3000
fdee6fe3e73b [project @ 1997-01-27 19:08:47 by jwe]
jwe
parents: 2626
diff changeset
3001 * toplev.cc (octave_config_info): Don't include RLD_FLAG.
fdee6fe3e73b [project @ 1997-01-27 19:08:47 by jwe]
jwe
parents: 2626
diff changeset
3002 * oct-conf.h.in: Don't define RLD_FLAG
fdee6fe3e73b [project @ 1997-01-27 19:08:47 by jwe]
jwe
parents: 2626
diff changeset
3003
2626
b35a5cd8107f [project @ 1997-01-27 01:41:30 by jwe]
jwe
parents: 2624
diff changeset
3004 Sun Jan 26 19:41:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
b35a5cd8107f [project @ 1997-01-27 01:41:30 by jwe]
jwe
parents: 2624
diff changeset
3005
b35a5cd8107f [project @ 1997-01-27 01:41:30 by jwe]
jwe
parents: 2624
diff changeset
3006 * sighandlers.cc (sigchld_handler): Block SIGCHLD while
b35a5cd8107f [project @ 1997-01-27 01:41:30 by jwe]
jwe
parents: 2624
diff changeset
3007 sigchld_hander is running.
b35a5cd8107f [project @ 1997-01-27 01:41:30 by jwe]
jwe
parents: 2624
diff changeset
3008
2624
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2621
diff changeset
3009 Sat Jan 25 22:36:39 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2621
diff changeset
3010
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2621
diff changeset
3011 * Makefile.in (bin-dist): Update for 2.x.
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2621
diff changeset
3012
2621
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2620
diff changeset
3013 Fri Jan 24 10:05:00 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2620
diff changeset
3014
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2620
diff changeset
3015 * mk-oct-links.in: New arg, -p, to just print list of files to link.
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2620
diff changeset
3016
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2620
diff changeset
3017 * lex.l (handle_number): Convert `D' or `d' exponents to `e'
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2620
diff changeset
3018 before scanning.
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2620
diff changeset
3019
2620
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3020 Thu Jan 23 10:00:00 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3021
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3022 * pt-pr-code.h, pt-pr-code.cc (tree_print_code::visit_no_op_command):
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3023 New function.
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3024 * pt-cmd.h, pt-cmd.cc (tree_no_op_command): New class.
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3025 * parse.y (make_break_command, make_continue_command,
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3026 make_return_command): Where they don't really make sense, turn
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3027 these commands into no-ops. Accept return and break if reading a
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3028 script file.
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3029 * toplev.cc (parse_and_execute): Handle return and break in script
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3030 files. Quit executing commands if an error occurs when reading a
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3031 script file. Set global_command to 0 after deleting it.
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3032 (main_loop): If not interactive or forced_interactive, handle
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3033 break and return, and quit executing commands if an error occurs.
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3034 Set global_command to 0 after deleting it.
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3035 * error.cc (Ferror): Doc fix.
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3036 * pt-walk.h (tree_walker): Add declaration for visit_no_op_command.
5c773d4745d6 [project @ 1997-01-23 16:26:25 by jwe]
jwe
parents: 2618
diff changeset
3037
2618
aa667ac18d12 [project @ 1997-01-23 03:16:28 by jwe]
jwe
parents: 2616
diff changeset
3038 Wed Jan 22 20:54:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
aa667ac18d12 [project @ 1997-01-23 03:16:28 by jwe]
jwe
parents: 2616
diff changeset
3039
aa667ac18d12 [project @ 1997-01-23 03:16:28 by jwe]
jwe
parents: 2616
diff changeset
3040 * input.cc (gnu_readline): If not using readline, flush
aa667ac18d12 [project @ 1997-01-23 03:16:28 by jwe]
jwe
parents: 2616
diff changeset
3041 rl_outstream after printing prompt.
aa667ac18d12 [project @ 1997-01-23 03:16:28 by jwe]
jwe
parents: 2616
diff changeset
3042 (octave_gets): Also call flush_octave_stdout() if
aa667ac18d12 [project @ 1997-01-23 03:16:28 by jwe]
jwe
parents: 2616
diff changeset
3043 forced_interactive, not just if interactive.
aa667ac18d12 [project @ 1997-01-23 03:16:28 by jwe]
jwe
parents: 2616
diff changeset
3044 (do_input_echo): If forced_interactive, only echo prompt and
aa667ac18d12 [project @ 1997-01-23 03:16:28 by jwe]
jwe
parents: 2616
diff changeset
3045 command line if also reading a script file.
aa667ac18d12 [project @ 1997-01-23 03:16:28 by jwe]
jwe
parents: 2616
diff changeset
3046
2616
4cd6d8d8ac29 [project @ 1997-01-22 05:03:26 by jwe]
jwe
parents: 2614
diff changeset
3047 Tue Jan 21 23:02:34 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
4cd6d8d8ac29 [project @ 1997-01-22 05:03:26 by jwe]
jwe
parents: 2614
diff changeset
3048
4cd6d8d8ac29 [project @ 1997-01-22 05:03:26 by jwe]
jwe
parents: 2614
diff changeset
3049 * SLList.h: Include "BaseSLList.h", not <BaseSLList.h>.
4cd6d8d8ac29 [project @ 1997-01-22 05:03:26 by jwe]
jwe
parents: 2614
diff changeset
3050
2610
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3051 Mon Jan 20 11:11:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3052
2614
ae47b0911863 [project @ 1997-01-21 03:57:46 by jwe]
jwe
parents: 2613
diff changeset
3053 * lex.l (token_stack): Don't declare static.
ae47b0911863 [project @ 1997-01-21 03:57:46 by jwe]
jwe
parents: 2613
diff changeset
3054 * pt-plot.cc (tmp_files): Likewise.
ae47b0911863 [project @ 1997-01-21 03:57:46 by jwe]
jwe
parents: 2613
diff changeset
3055 * toplev.cc (octave_atexit_functions): Likewise.
ae47b0911863 [project @ 1997-01-21 03:57:46 by jwe]
jwe
parents: 2613
diff changeset
3056 * unwind-prot.cc (unwind_protect_list): Likewise.
ae47b0911863 [project @ 1997-01-21 03:57:46 by jwe]
jwe
parents: 2613
diff changeset
3057
2613
5bcee07be597 [project @ 1997-01-21 03:52:08 by jwe]
jwe
parents: 2610
diff changeset
3058 * ops.h (MX_MX_BOOL_OP): Correctly handle case of one or both
5bcee07be597 [project @ 1997-01-21 03:52:08 by jwe]
jwe
parents: 2610
diff changeset
3059 arguments being empty. Change all callers.
5bcee07be597 [project @ 1997-01-21 03:52:08 by jwe]
jwe
parents: 2610
diff changeset
3060
5bcee07be597 [project @ 1997-01-21 03:52:08 by jwe]
jwe
parents: 2610
diff changeset
3061 * oct-stream.cc (printf_value_cache::looking_at_string):
5bcee07be597 [project @ 1997-01-21 03:52:08 by jwe]
jwe
parents: 2610
diff changeset
3062 Handle empty strings correctly now that they are 0x0.
5bcee07be597 [project @ 1997-01-21 03:52:08 by jwe]
jwe
parents: 2610
diff changeset
3063
2610
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3064 * file-io.cc: Don't include "syswait.h" here.
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3065
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3066 Sun Jan 19 22:38:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3067
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3068 * oct-stream.h (octave_base_stream::seek): Declare offset arg as
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3069 streamoff, not streampos.
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3070 (octave_stream::seek): Likewise.
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3071 * oct-strstrm.h (octave_base_strstream::seek): Likewise.
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3072 * oct-stdstrm.h (octave_base_stdiostream::seek): Likewise.
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3073 * oct-iostrm.h (octave_base_iostream::seek): Likewise.
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3074 * oct-fstrm.h (octave_fstream::seek): Likewise.
8125b6f9c134 [project @ 1997-01-20 17:23:44 by jwe]
jwe
parents: 2609
diff changeset
3075
2609
12bc9d0a50b5 [project @ 1997-01-18 00:17:36 by jwe]
jwe
parents: 2608
diff changeset
3076 Fri Jan 17 18:13:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
12bc9d0a50b5 [project @ 1997-01-18 00:17:36 by jwe]
jwe
parents: 2608
diff changeset
3077
12bc9d0a50b5 [project @ 1997-01-18 00:17:36 by jwe]
jwe
parents: 2608
diff changeset
3078 * file-io.cc (Ffflush): Handle stdout as a special case.
12bc9d0a50b5 [project @ 1997-01-18 00:17:36 by jwe]
jwe
parents: 2608
diff changeset
3079
12bc9d0a50b5 [project @ 1997-01-18 00:17:36 by jwe]
jwe
parents: 2608
diff changeset
3080 * oct-stream.cc (octave_stream_list::do_get_file_number):
12bc9d0a50b5 [project @ 1997-01-18 00:17:36 by jwe]
jwe
parents: 2608
diff changeset
3081 Do the work for octave_stream::get_file_number.
12bc9d0a50b5 [project @ 1997-01-18 00:17:36 by jwe]
jwe
parents: 2608
diff changeset
3082 (octave_stream_list::get_file_number): Convert to static function.
12bc9d0a50b5 [project @ 1997-01-18 00:17:36 by jwe]
jwe
parents: 2608
diff changeset
3083
2608
bac14003d9bb [project @ 1997-01-18 00:11:48 by jwe]
jwe
parents: 2602
diff changeset
3084 Wed Jan 8 11:42:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
bac14003d9bb [project @ 1997-01-18 00:11:48 by jwe]
jwe
parents: 2602
diff changeset
3085
bac14003d9bb [project @ 1997-01-18 00:11:48 by jwe]
jwe
parents: 2602
diff changeset
3086 * log.cc (sqrtm): For complex arg case, compute sqrt, not log.
bac14003d9bb [project @ 1997-01-18 00:11:48 by jwe]
jwe
parents: 2602
diff changeset
3087
2602
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3088 Tue Jan 7 00:16:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3089
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3090 * Version 2.0.1 released.
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3091
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3092 Mon Jan 6 00:00:07 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3093
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3094 * pt-mat.cc (tm_row_const_rep::all_mt): New variable.
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3095 (tm_row_const::all_empty): New function.
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3096 (tm_row_const::tm_row_const_rep::init): Set all_mt here.
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3097 (tm_const::all_mt): New variable.
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3098 (tm_const::all_emtpy): New function.
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3099 (tm_const::init): Set all_mt here.
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3100 (tree_matrix::eval): Return an empty matrix if the list contains
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3101 only empty elements. If it contains only empty strings, return an
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3102 empty string.
9cbbbcf5b6f5 [project @ 1997-01-07 06:18:23 by jwe]
jwe
parents: 2601
diff changeset
3103
2601
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3104 Sun Jan 5 12:50:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3105
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3106 * ops.h (SC_MX_BOOL_OP, MX_SC_BOOL_OP): New arg, empty_result.
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3107 * op-cm-cm.cc, op-cm-cs.cc, op-cm-m.cc, op-cm-s.cc, op-cs-cm.cc,
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3108 op-cs-m.cc, op-m-cm.cc, op-m-cs.cc, op-m-m.cc, op-m-s.cc,
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3109 op-s-cm.cc, op-s-m.cc, op-str-str.cc: Change all uses of
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3110 SC_MX_BOOL_OP and MX_SC_BOOL_OP macros. Return correct results
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3111 for empty matrix cases.
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3112
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3113 * pt-fcn.cc (tree_function::eval): If Vdefine_all_return_values is
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3114 true, initialize return values before evaluating function, for
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3115 compatibility with Matlab.
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3116
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3117 * oct-stream.cc (get_size): Correctly set size when arg is scalar.
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3118
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3119 Thu Jan 2 12:40:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu>
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3120
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3121 * Makefile.in (install-oct): Quote $(OCT_FILES) in for loop to
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3122 avoid syntax error from ksh.
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3123
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3124 * pr-output.cc (octave_print_internal): Avoid unused parameter
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3125 warning from gcc.
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2600
diff changeset
3126
2600
c454cd888ada [project @ 1996-12-19 22:35:54 by jwe]
jwe
parents: 2599
diff changeset
3127 Thu Dec 19 12:13:42 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
c454cd888ada [project @ 1996-12-19 22:35:54 by jwe]
jwe
parents: 2599
diff changeset
3128
c454cd888ada [project @ 1996-12-19 22:35:54 by jwe]
jwe
parents: 2599
diff changeset
3129 * oct-stream.cc (octave_base_stream::do_scanf):
c454cd888ada [project @ 1996-12-19 22:35:54 by jwe]
jwe
parents: 2599
diff changeset
3130 Don't treat %l{e,f,g} differently from %{e,f,g}.
c454cd888ada [project @ 1996-12-19 22:35:54 by jwe]
jwe
parents: 2599
diff changeset
3131 (octave_base_stream::do_oscanf): Likewise.
c454cd888ada [project @ 1996-12-19 22:35:54 by jwe]
jwe
parents: 2599
diff changeset
3132
c454cd888ada [project @ 1996-12-19 22:35:54 by jwe]
jwe
parents: 2599
diff changeset
3133 * sighandlers.cc (sigchld_handler): Fix typos.
c454cd888ada [project @ 1996-12-19 22:35:54 by jwe]
jwe
parents: 2599
diff changeset
3134
2598
36a4daa9e3c7 [project @ 1996-12-19 02:27:21 by jwe]
jwe
parents: 2589
diff changeset
3135 Wed Dec 18 20:17:23 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
36a4daa9e3c7 [project @ 1996-12-19 02:27:21 by jwe]
jwe
parents: 2589
diff changeset
3136
2599
9705ea40f0a2 [project @ 1996-12-19 04:49:09 by jwe]
jwe
parents: 2598
diff changeset
3137 * file-io.cc (Ffgetl, Ffgets): Also return number of characters read.
9705ea40f0a2 [project @ 1996-12-19 04:49:09 by jwe]
jwe
parents: 2598
diff changeset
3138
9705ea40f0a2 [project @ 1996-12-19 04:49:09 by jwe]
jwe
parents: 2598
diff changeset
3139 * ov-range.cc (octave_range::not): New function.
9705ea40f0a2 [project @ 1996-12-19 04:49:09 by jwe]
jwe
parents: 2598
diff changeset
3140 * ov-range.h (octave_range::uminus): New function.
9705ea40f0a2 [project @ 1996-12-19 04:49:09 by jwe]
jwe
parents: 2598
diff changeset
3141
2598
36a4daa9e3c7 [project @ 1996-12-19 02:27:21 by jwe]
jwe
parents: 2589
diff changeset
3142 * BaseSLList.cc: Include error.h.
36a4daa9e3c7 [project @ 1996-12-19 02:27:21 by jwe]
jwe
parents: 2589
diff changeset
3143 (BaseSLList::error): Call ::error() to process error message.
36a4daa9e3c7 [project @ 1996-12-19 02:27:21 by jwe]
jwe
parents: 2589
diff changeset
3144
2589
49ae0d992eea [project @ 1996-12-13 08:41:43 by jwe]
jwe
parents: 2586
diff changeset
3145 Fri Dec 13 02:38:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
49ae0d992eea [project @ 1996-12-13 08:41:43 by jwe]
jwe
parents: 2586
diff changeset
3146
49ae0d992eea [project @ 1996-12-13 08:41:43 by jwe]
jwe
parents: 2586
diff changeset
3147 * ov.cc (octave_value::convert_and_assign): Preserve lhs value if
49ae0d992eea [project @ 1996-12-13 08:41:43 by jwe]
jwe
parents: 2586
diff changeset
3148 assignment fails.
49ae0d992eea [project @ 1996-12-13 08:41:43 by jwe]
jwe
parents: 2586
diff changeset
3149
2586
00163160cf66 [project @ 1996-12-11 18:34:57 by jwe]
jwe
parents: 2584
diff changeset
3150 Wed Dec 11 12:33:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
00163160cf66 [project @ 1996-12-11 18:34:57 by jwe]
jwe
parents: 2584
diff changeset
3151
00163160cf66 [project @ 1996-12-11 18:34:57 by jwe]
jwe
parents: 2584
diff changeset
3152 * pt-plot.cc (GPLOT_CMD_END): Don't put semicolons at the end of
00163160cf66 [project @ 1996-12-11 18:34:57 by jwe]
jwe
parents: 2584
diff changeset
3153 each plot command; it causes trouble with gnuplot 3.5.
00163160cf66 [project @ 1996-12-11 18:34:57 by jwe]
jwe
parents: 2584
diff changeset
3154
2580
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3155 Tue Dec 10 00:31:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3156
2583
df3124e46963 [project @ 1996-12-10 07:45:00 by jwe]
jwe
parents: 2580
diff changeset
3157 * Version 2.0 released.
df3124e46963 [project @ 1996-12-10 07:45:00 by jwe]
jwe
parents: 2580
diff changeset
3158
2584
5e41d9c42283 [project @ 1996-12-10 09:39:44 by jwe]
jwe
parents: 2583
diff changeset
3159 * pr-output.cc (set_format_style): Don't try to access argv unless
5e41d9c42283 [project @ 1996-12-10 09:39:44 by jwe]
jwe
parents: 2583
diff changeset
3160 argc > 1.
5e41d9c42283 [project @ 1996-12-10 09:39:44 by jwe]
jwe
parents: 2583
diff changeset
3161
2580
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3162 * SLList-expr.cc SLList-misc.cc SLList-plot.cc SLList-str.cc
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3163 SLList-tc.cc SLList-tm.cc SLList.h SLStack-i.cc SLStack-pc.cc
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3164 SLStack-str.cc SLStack-sym.cc SLStack-tok.cc SLStack-ue.cc
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3165 SLStack-ui.cc, pt-mat.cc: Include Stack.h, Stack.cc, SLStack.cc,
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3166 and SLList.cc as necessary.
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3167
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3168 * Stack.cc, SLStack.cc, SLList.cc: New files.
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3169 * Makefile.in (SOURCES): Add them to the list.
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2577
diff changeset
3170
2575
e57847e2de87 [project @ 1996-12-09 18:05:37 by jwe]
jwe
parents: 2572
diff changeset
3171 Mon Dec 9 12:03:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
e57847e2de87 [project @ 1996-12-09 18:05:37 by jwe]
jwe
parents: 2572
diff changeset
3172
2577
2f0ea8b0db0e [project @ 1996-12-09 20:28:13 by jwe]
jwe
parents: 2575
diff changeset
3173 * Makefile.in (install-bin): Use $(EXE) suffix so install will
2f0ea8b0db0e [project @ 1996-12-09 20:28:13 by jwe]
jwe
parents: 2575
diff changeset
3174 find the right file on cygwin32 systems.
2f0ea8b0db0e [project @ 1996-12-09 20:28:13 by jwe]
jwe
parents: 2575
diff changeset
3175
2575
e57847e2de87 [project @ 1996-12-09 18:05:37 by jwe]
jwe
parents: 2572
diff changeset
3176 * ov.h: Declare proper form of do_binary_op as friend to
e57847e2de87 [project @ 1996-12-09 18:05:37 by jwe]
jwe
parents: 2572
diff changeset
3177 octave_value class.
e57847e2de87 [project @ 1996-12-09 18:05:37 by jwe]
jwe
parents: 2572
diff changeset
3178
2572
5c2be7c820ed [project @ 1996-12-08 04:02:46 by jwe]
jwe
parents: 2571
diff changeset
3179 Sat Dec 7 22:00:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
5c2be7c820ed [project @ 1996-12-08 04:02:46 by jwe]
jwe
parents: 2571
diff changeset
3180
5c2be7c820ed [project @ 1996-12-08 04:02:46 by jwe]
jwe
parents: 2571
diff changeset
3181 * oct-stream.cc (do_printf_conv, do_scanf_conv,
5c2be7c820ed [project @ 1996-12-08 04:02:46 by jwe]
jwe
parents: 2571
diff changeset
3182 do_oscanf_num_conv, do_oscanf_str_conv): Convert to real
5c2be7c820ed [project @ 1996-12-08 04:02:46 by jwe]
jwe
parents: 2571
diff changeset
3183 functions instead of CPP macros, using templates where necessary.
5c2be7c820ed [project @ 1996-12-08 04:02:46 by jwe]
jwe
parents: 2571
diff changeset
3184 (do_oscanf_num_conv, do_oscanf_str_conv): Correctly handle
5c2be7c820ed [project @ 1996-12-08 04:02:46 by jwe]
jwe
parents: 2571
diff changeset
3185 discarded values.
5c2be7c820ed [project @ 1996-12-08 04:02:46 by jwe]
jwe
parents: 2571
diff changeset
3186
2569
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3187 Fri Dec 6 00:20:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3188
2572
5c2be7c820ed [project @ 1996-12-08 04:02:46 by jwe]
jwe
parents: 2571
diff changeset
3189 * Version 1.94.
5c2be7c820ed [project @ 1996-12-08 04:02:46 by jwe]
jwe
parents: 2571
diff changeset
3190
2571
2480ef198c46 [project @ 1996-12-06 21:18:39 by jwe]
jwe
parents: 2569
diff changeset
3191 * Map-*.cc, SLList-*.cc, SLStack-*.cc: Include config.h.
2480ef198c46 [project @ 1996-12-06 21:18:39 by jwe]
jwe
parents: 2569
diff changeset
3192
2480ef198c46 [project @ 1996-12-06 21:18:39 by jwe]
jwe
parents: 2569
diff changeset
3193 * ov.h: Don't include SLList.h.
2480ef198c46 [project @ 1996-12-06 21:18:39 by jwe]
jwe
parents: 2569
diff changeset
3194
2480ef198c46 [project @ 1996-12-06 21:18:39 by jwe]
jwe
parents: 2569
diff changeset
3195 * SLStack.cc: Delete. Move everything to SLStack.h.
2480ef198c46 [project @ 1996-12-06 21:18:39 by jwe]
jwe
parents: 2569
diff changeset
3196
2480ef198c46 [project @ 1996-12-06 21:18:39 by jwe]
jwe
parents: 2569
diff changeset
3197 * BaseSLList.h, BaseSLList.cc: New files. Split out the
2480ef198c46 [project @ 1996-12-06 21:18:39 by jwe]
jwe
parents: 2569
diff changeset
3198 non-template base class parts of SLList.
2480ef198c46 [project @ 1996-12-06 21:18:39 by jwe]
jwe
parents: 2569
diff changeset
3199
2569
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3200 * Makefile.in (TEMPLATE_SRC): Delete. Move files to SOURCES.
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3201 * Map.h, Map.cc: Add #pragma interface/implementation.
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3202 * SLStack.h, SLStack.cc: Add #pragma interface/implementation.
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3203
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3204 * SLList.h, SLList.cc: New files, from libg++, but with #pragma
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3205 interface/implementation.
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3206 * Makefile.in (SOURCES): Add SLList.cc.
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3207 (INCLUDES): Add SLList.h.
5e0c65023ba5 [project @ 1996-12-06 07:36:46 by jwe]
jwe
parents: 2566
diff changeset
3208
2566
bcdd6bf533ea [project @ 1996-12-06 00:51:31 by jwe]
jwe
parents: 2563
diff changeset
3209 Thu Dec 5 18:36:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
bcdd6bf533ea [project @ 1996-12-06 00:51:31 by jwe]
jwe
parents: 2563
diff changeset
3210
bcdd6bf533ea [project @ 1996-12-06 00:51:31 by jwe]
jwe
parents: 2563
diff changeset
3211 * octave.cc: Don't include sun-utils.h.
bcdd6bf533ea [project @ 1996-12-06 00:51:31 by jwe]
jwe
parents: 2563
diff changeset
3212
2563
8b0911d576bf [project @ 1996-12-05 19:06:58 by jwe]
jwe
parents: 2555
diff changeset
3213 Tue Dec 3 23:47:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
8b0911d576bf [project @ 1996-12-05 19:06:58 by jwe]
jwe
parents: 2555
diff changeset
3214
8b0911d576bf [project @ 1996-12-05 19:06:58 by jwe]
jwe
parents: 2555
diff changeset
3215 * op-str-str.cc (eq, ne): Handle operations with scalars.
8b0911d576bf [project @ 1996-12-05 19:06:58 by jwe]
jwe
parents: 2555
diff changeset
3216
2555
97abf5d72929 [project @ 1996-11-21 18:31:31 by jwe]
jwe
parents: 2554
diff changeset
3217 Thu Nov 21 12:30:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
97abf5d72929 [project @ 1996-11-21 18:31:31 by jwe]
jwe
parents: 2554
diff changeset
3218
97abf5d72929 [project @ 1996-11-21 18:31:31 by jwe]
jwe
parents: 2554
diff changeset
3219 * ov-str-mat.h (octave_char_matrix_str): Provide transpose and
97abf5d72929 [project @ 1996-11-21 18:31:31 by jwe]
jwe
parents: 2554
diff changeset
3220 hermitian operators.
97abf5d72929 [project @ 1996-11-21 18:31:31 by jwe]
jwe
parents: 2554
diff changeset
3221 * ov-ch-mat.h (octave_char_matrix): Likewise.
97abf5d72929 [project @ 1996-11-21 18:31:31 by jwe]
jwe
parents: 2554
diff changeset
3222
2548
b50cc31aa0cd [project @ 1996-11-20 06:43:26 by jwe]
jwe
parents: 2546
diff changeset
3223 Wed Nov 20 00:35:57 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
b50cc31aa0cd [project @ 1996-11-20 06:43:26 by jwe]
jwe
parents: 2546
diff changeset
3224
2554
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3225 * sighandlers.h (struct octave_interrupt_handler): Provide
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3226 forward declaration here.
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3227 * sighandlers.cc (octave_interrupt_handler): New struct.
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3228 (octave_catch_interrupts): Rename from catch_interrupts.
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3229 (octave_ignore_interrupts, octave_set_interrupt_handler):
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3230 New functions.
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3231 * help.cc, oct-hist.cc, pager.cc, toplev.cc: Use new functions for
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3232 handling interrupts so that we can hide the details of whether or
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3233 not we have to deal with SIGBREAK.
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3234
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3235 * pt-plot.cc [! HAVE_POSIX_SIGNALS] (open_plot_stream):
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3236 Simply ignore and restore the interrupt handler here.
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3237
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3238 * sighandlers.cc (MAYBE_REINSTALL_SIGHANDLER): New macro. Use it
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3239 instead of always checking MUST_REINSTALL_SIGHANDLERS everywhere.
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3240 (sigchld_handler): If octave_child_list is empty, wait for any
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3241 child, but don't hang, and don't collect status info.
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3242 [__EMX__] (sigchld_handler): Save and restore handlers for SIGINT,
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3243 SIGBREAK, and SIGCHLD. Ignore them while waiting on children.
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3244 (install_signal_handlers): If SIGBREAK exists, handle it like SIGINT.
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2552
diff changeset
3245
2552
b9f178af9281 [project @ 1996-11-20 23:20:09 by jwe]
jwe
parents: 2549
diff changeset
3246 * toplev.cc [USE_READLINE] (clean_up_and_exit):
b9f178af9281 [project @ 1996-11-20 23:20:09 by jwe]
jwe
parents: 2549
diff changeset
3247 Call rl_deprep_terminal() to restore terminal settings.
b9f178af9281 [project @ 1996-11-20 23:20:09 by jwe]
jwe
parents: 2549
diff changeset
3248
b9f178af9281 [project @ 1996-11-20 23:20:09 by jwe]
jwe
parents: 2549
diff changeset
3249 * sysdep.cc [__EMX__ && OS2] (Fextproc): New command.
b9f178af9281 [project @ 1996-11-20 23:20:09 by jwe]
jwe
parents: 2549
diff changeset
3250 [__EMX__ && OS2] (FEXTPROC): Alias for Fextproc.
b9f178af9281 [project @ 1996-11-20 23:20:09 by jwe]
jwe
parents: 2549
diff changeset
3251
b9f178af9281 [project @ 1996-11-20 23:20:09 by jwe]
jwe
parents: 2549
diff changeset
3252 * Version 1.93.
b9f178af9281 [project @ 1996-11-20 23:20:09 by jwe]
jwe
parents: 2549
diff changeset
3253
2549
6551a8230ded [project @ 1996-11-20 06:58:51 by jwe]
jwe
parents: 2548
diff changeset
3254 * sysdep.cc (octave_chdir): [__EMX__]: Make copy of string before
6551a8230ded [project @ 1996-11-20 06:58:51 by jwe]
jwe
parents: 2548
diff changeset
3255 converting to upper case.
6551a8230ded [project @ 1996-11-20 06:58:51 by jwe]
jwe
parents: 2548
diff changeset
3256
2548
b50cc31aa0cd [project @ 1996-11-20 06:43:26 by jwe]
jwe
parents: 2546
diff changeset
3257 * getgrent.cc (mk_gr_map): Only set the passwd field if
b50cc31aa0cd [project @ 1996-11-20 06:43:26 by jwe]
jwe
parents: 2546
diff changeset
3258 HAVE_GR_PASSWD is defined.
b50cc31aa0cd [project @ 1996-11-20 06:43:26 by jwe]
jwe
parents: 2546
diff changeset
3259
2533
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3260 Tue Nov 19 12:01:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3261
2546
9b7cd3ff8891 [project @ 1996-11-20 05:15:56 by jwe]
jwe
parents: 2543
diff changeset
3262 * sysdep.cc (OS2_init): New function.
9b7cd3ff8891 [project @ 1996-11-20 05:15:56 by jwe]
jwe
parents: 2543
diff changeset
3263 [__EMX__] (sysdep_init): Call it.
9b7cd3ff8891 [project @ 1996-11-20 05:15:56 by jwe]
jwe
parents: 2543
diff changeset
3264
2542
484977eb65ad [project @ 1996-11-20 02:17:08 by jwe]
jwe
parents: 2536
diff changeset
3265 * lex.l (plot_style_token): Add new plot styles for gnuplot 3.6.
2543
050924aee81a [project @ 1996-11-20 03:03:01 by jwe]
jwe
parents: 2542
diff changeset
3266 * pt-plot.cc (subplot_style::columns_ok): Rename from
050924aee81a [project @ 1996-11-20 03:03:01 by jwe]
jwe
parents: 2542
diff changeset
3267 subplot_style::errorbars. Recognize more styles and do a better
050924aee81a [project @ 1996-11-20 03:03:01 by jwe]
jwe
parents: 2542
diff changeset
3268 job of diagnosing column number/style mismatches.
2542
484977eb65ad [project @ 1996-11-20 02:17:08 by jwe]
jwe
parents: 2536
diff changeset
3269
2536
1d63e820ee13 [project @ 1996-11-19 20:34:29 by jwe]
jwe
parents: 2534
diff changeset
3270 * sighandlers.cc (my_friendly_exit): If we are called twice, try
1d63e820ee13 [project @ 1996-11-19 20:34:29 by jwe]
jwe
parents: 2534
diff changeset
3271 to remove the signal handler for SIGABRT and the call abort ().
1d63e820ee13 [project @ 1996-11-19 20:34:29 by jwe]
jwe
parents: 2534
diff changeset
3272
2534
c0770352f562 [project @ 1996-11-19 19:06:29 by jwe]
jwe
parents: 2533
diff changeset
3273 * help.cc (Ftype): If a function is defined from a file and
c0770352f562 [project @ 1996-11-19 19:06:29 by jwe]
jwe
parents: 2533
diff changeset
3274 transformed text has not been requested, just print the contents
c0770352f562 [project @ 1996-11-19 19:06:29 by jwe]
jwe
parents: 2533
diff changeset
3275 of the file.
c0770352f562 [project @ 1996-11-19 19:06:29 by jwe]
jwe
parents: 2533
diff changeset
3276
2533
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3277 * parse.y (fold): New functions for constant folding for binary
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3278 and unary expressions. Keep track of original text even when
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3279 transformations occur.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3280 (make_binary_op, make_boolean_op, make_unary_op): Use them.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3281 (finish_colon_expression, finish_matrix): Keep track of original
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3282 text even when transformations occur.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3283
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3284 * help.cc (Ftype): Don't mess with Vps4.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3285 Handle new option `-transformed'.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3286
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3287 * pt-const.h, pt-const.cc (tree_constant::print):
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3288 New arg, pr_orig_text.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3289
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3290 * pt-exp.h, pt-exp.cc (tree_colon_expression::is_range_constant):
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3291 Delete.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3292
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3293 * pt-exp-base.h (tree_expression::original_text): New virtual function.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3294 pt-exp-base.cc (tree_expression::original_text): Default version.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3295
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3296 * pt-pr-code.h (tree_print_code::print_original_text,
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3297 tree_print_code::prefix): New fields.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3298 * pt-pr-code.cc (tree_print_code::visit_constant): Pass
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3299 print_original_text to tree_constant::print().
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3300 (tree_print_code::indent): Use prefix instead of Vps4.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3301 * pt-fcn.cc (tree_function::print_function_header,
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3302 tree_function::print_function_trailer): Pass Vps4 to
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3303 tree_print_code_constructor for prefix.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3304 * pt-misc.cc (tree_statement::maybe_echo_code): Pass Vps4 to
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3305 tree_print_code_constructor for prefix.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3306
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3307 * pt-mat.h, pt-mat.cc (tree_matrix::all_elements_are_constant):
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3308 Rename from is_matrix_constant.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3309 (tree_matrix_row::all_elements_are_constant): Likewise.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3310 Change all callers.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3311
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3312 Mon Nov 18 14:13:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3313
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3314 * Makefile.in (install-inc): Try harder to create the link from
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3315 include/octave to include/octave-VERSION.
987e934bbb8c [project @ 1996-11-19 18:21:23 by jwe]
jwe
parents: 2527
diff changeset
3316
2524
7dc71ca5d092 [project @ 1996-11-17 20:16:08 by jwe]
jwe
parents: 2523
diff changeset
3317 Sun Nov 17 14:14:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
7dc71ca5d092 [project @ 1996-11-17 20:16:08 by jwe]
jwe
parents: 2523
diff changeset
3318
2527
e2a7c830472c [project @ 1996-11-17 21:42:37 by jwe]
jwe
parents: 2526
diff changeset
3319 * Makefile.in (parse.cc): Expect 13 shift/reduce conflicts.
2526
aad9cc70dfb2 [project @ 1996-11-17 21:34:03 by jwe]
jwe
parents: 2525
diff changeset
3320
2525
8561d88be5f2 [project @ 1996-11-17 21:23:31 by jwe]
jwe
parents: 2524
diff changeset
3321 * parse.y (set_stmt_print_flag): New function.
8561d88be5f2 [project @ 1996-11-17 21:23:31 by jwe]
jwe
parents: 2524
diff changeset
3322 (sep_type): New member for bison %union declaration.
8561d88be5f2 [project @ 1996-11-17 21:23:31 by jwe]
jwe
parents: 2524
diff changeset
3323 Simplify rules for statement lists keeping track of the type of
8561d88be5f2 [project @ 1996-11-17 21:23:31 by jwe]
jwe
parents: 2524
diff changeset
3324 the first separator in the values associated with the
8561d88be5f2 [project @ 1996-11-17 21:23:31 by jwe]
jwe
parents: 2524
diff changeset
3325 nonterminals for the separators.
8561d88be5f2 [project @ 1996-11-17 21:23:31 by jwe]
jwe
parents: 2524
diff changeset
3326
2524
7dc71ca5d092 [project @ 1996-11-17 20:16:08 by jwe]
jwe
parents: 2523
diff changeset
3327 * lex.l (handle_identifier): Set lexer_flags.doing_set if the
7dc71ca5d092 [project @ 1996-11-17 20:16:08 by jwe]
jwe
parents: 2523
diff changeset
3328 token is "gset", not "set".
7dc71ca5d092 [project @ 1996-11-17 20:16:08 by jwe]
jwe
parents: 2523
diff changeset
3329
7dc71ca5d092 [project @ 1996-11-17 20:16:08 by jwe]
jwe
parents: 2523
diff changeset
3330 Sat Nov 16 21:41:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
7dc71ca5d092 [project @ 1996-11-17 20:16:08 by jwe]
jwe
parents: 2523
diff changeset
3331
7dc71ca5d092 [project @ 1996-11-17 20:16:08 by jwe]
jwe
parents: 2523
diff changeset
3332 * Makefile.in (parse.cc, lex.cc): Add special rules for these files.
7dc71ca5d092 [project @ 1996-11-17 20:16:08 by jwe]
jwe
parents: 2523
diff changeset
3333 Delete pattern rules for .y and .l files.
7dc71ca5d092 [project @ 1996-11-17 20:16:08 by jwe]
jwe
parents: 2523
diff changeset
3334
2522
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3335 Fri Nov 15 13:48:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3336
2523
007e977442b8 [project @ 1996-11-16 00:33:22 by jwe]
jwe
parents: 2522
diff changeset
3337 * pt-plot.cc: Put semicolons at the ends of all plot commands.
007e977442b8 [project @ 1996-11-16 00:33:22 by jwe]
jwe
parents: 2522
diff changeset
3338
2522
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3339 * defaults.cc (subst_octave_home): Start subsequent searchs from
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3340 the end of the replaced text.
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3341
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3342 * pr-output.cc (pr_any_float): Kluge for SCO systems.
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3343
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3344 * pr-output.cc (pr_any_float, pr_complex): Don't declare inline.
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3345
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3346 * mappers.cc: Include lo-ieee.h, for isinf and isnan on SCO
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3347 systems.
4f095783ee43 [project @ 1996-11-15 20:00:59 by jwe]
jwe
parents: 2520
diff changeset
3348
2512
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3349 Thu Nov 14 00:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3350
2520
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2517
diff changeset
3351 * pt-plot.cc (Fgset, Fgshow): New commands.
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2517
diff changeset
3352 (Fshow): Print warning and call gshow.
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2517
diff changeset
3353 (Fset): Print warning and call gset.
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2517
diff changeset
3354
2517
0c5e671499ed [project @ 1996-11-14 20:24:02 by jwe]
jwe
parents: 2516
diff changeset
3355 * variables.cc (parse_fcn_file): Add unwind-protect for file
0c5e671499ed [project @ 1996-11-14 20:24:02 by jwe]
jwe
parents: 2516
diff changeset
3356 pointer, so the file is always closed.
0c5e671499ed [project @ 1996-11-14 20:24:02 by jwe]
jwe
parents: 2516
diff changeset
3357 (get_help_from_file): Likewise.
0c5e671499ed [project @ 1996-11-14 20:24:02 by jwe]
jwe
parents: 2516
diff changeset
3358 * toplev.cc (parse_and_execute): Likewise.
0c5e671499ed [project @ 1996-11-14 20:24:02 by jwe]
jwe
parents: 2516
diff changeset
3359
2516
70cad7ffd946 [project @ 1996-11-14 18:46:18 by jwe]
jwe
parents: 2512
diff changeset
3360 * Makefile.in (install-oct): Depend on mk-oct-links.
70cad7ffd946 [project @ 1996-11-14 18:46:18 by jwe]
jwe
parents: 2512
diff changeset
3361 (mk-oct-links): New target.
70cad7ffd946 [project @ 1996-11-14 18:46:18 by jwe]
jwe
parents: 2512
diff changeset
3362
2512
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3363 * Version 1.92.
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3364
2508
f8d5dbbbc50a [project @ 1996-11-13 17:21:07 by jwe]
jwe
parents: 2499
diff changeset
3365 Wed Nov 13 11:13:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
f8d5dbbbc50a [project @ 1996-11-13 17:21:07 by jwe]
jwe
parents: 2499
diff changeset
3366
2512
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3367 * sighandlers.cc (sys_siglist): [__EMX__]: Add definitions.
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3368
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3369 * octave.cc (execute_startup_files): Allow init file name ot be
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3370 specified by an environment variable.
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3371
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3372 * dirfns.cc (make_absolute): [__EMX__]: Path is already absolute
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3373 if it begins with any character followed by a colon.
fda09c1e787e [project @ 1996-11-14 08:39:41 by jwe]
jwe
parents: 2511
diff changeset
3374
2511
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2508
diff changeset
3375 * load-save.cc (read_mat_ascii_matrix, get_lines_and_columns,
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2508
diff changeset
3376 get_complete_line): New functions, for reading headless text files.
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2508
diff changeset
3377 (load_save_format): Add LS_MAT_ASCII, for headless text files.
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2508
diff changeset
3378 (do_load): Handle LS_MAT_ASCII files.
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2508
diff changeset
3379 Thanks to Mel Melchner <mjm@research.att.com> for initial version
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2508
diff changeset
3380 of this code.
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2508
diff changeset
3381
2508
f8d5dbbbc50a [project @ 1996-11-13 17:21:07 by jwe]
jwe
parents: 2499
diff changeset
3382 * sysdep.cc: Conditionally include ieeefp.h.
f8d5dbbbc50a [project @ 1996-11-13 17:21:07 by jwe]
jwe
parents: 2499
diff changeset
3383 (BSD_init, SCO_init): New functions.
f8d5dbbbc50a [project @ 1996-11-13 17:21:07 by jwe]
jwe
parents: 2499
diff changeset
3384 (sysdep_init): Conditionally call them here.
f8d5dbbbc50a [project @ 1996-11-13 17:21:07 by jwe]
jwe
parents: 2499
diff changeset
3385
2499
20db7604d5c6 [project @ 1996-11-12 06:16:21 by jwe]
jwe
parents: 2497
diff changeset
3386 Tue Nov 12 00:14:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
20db7604d5c6 [project @ 1996-11-12 06:16:21 by jwe]
jwe
parents: 2497
diff changeset
3387
2508
f8d5dbbbc50a [project @ 1996-11-13 17:21:07 by jwe]
jwe
parents: 2499
diff changeset
3388 * pt-plot.cc (open_plot_stream): Don't block SIGCHLD.
f8d5dbbbc50a [project @ 1996-11-13 17:21:07 by jwe]
jwe
parents: 2499
diff changeset
3389
2499
20db7604d5c6 [project @ 1996-11-12 06:16:21 by jwe]
jwe
parents: 2497
diff changeset
3390 * load-save.cc (read_binary_data): When reading string arrays, be
20db7604d5c6 [project @ 1996-11-12 06:16:21 by jwe]
jwe
parents: 2497
diff changeset
3391 sure to create an octave_char_matrix_str object, not just an
20db7604d5c6 [project @ 1996-11-12 06:16:21 by jwe]
jwe
parents: 2497
diff changeset
3392 octave_char_matrix object.
20db7604d5c6 [project @ 1996-11-12 06:16:21 by jwe]
jwe
parents: 2497
diff changeset
3393 (read_ascii_data): Likewise.
20db7604d5c6 [project @ 1996-11-12 06:16:21 by jwe]
jwe
parents: 2497
diff changeset
3394
2497
6f7bb8b60579 [project @ 1996-11-12 05:58:39 by jwe]
jwe
parents: 2496
diff changeset
3395 Mon Nov 11 22:52:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
6f7bb8b60579 [project @ 1996-11-12 05:58:39 by jwe]
jwe
parents: 2496
diff changeset
3396
6f7bb8b60579 [project @ 1996-11-12 05:58:39 by jwe]
jwe
parents: 2496
diff changeset
3397 * load-save.cc (read_binary_data): Don't forget teminating NUL for
6f7bb8b60579 [project @ 1996-11-12 05:58:39 by jwe]
jwe
parents: 2496
diff changeset
3398 string that we plan to insert.
6f7bb8b60579 [project @ 1996-11-12 05:58:39 by jwe]
jwe
parents: 2496
diff changeset
3399 (read_ascii_data): Likewise.
6f7bb8b60579 [project @ 1996-11-12 05:58:39 by jwe]
jwe
parents: 2496
diff changeset
3400
2495
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3401 Sun Nov 10 16:58:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3402
2496
9823f8bfd1a5 [project @ 1996-11-11 03:17:10 by jwe]
jwe
parents: 2495
diff changeset
3403 * dirfns.cc (Ffnmatch): New function.
9823f8bfd1a5 [project @ 1996-11-11 03:17:10 by jwe]
jwe
parents: 2495
diff changeset
3404
2495
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3405 * octave.cc (intern_argv): Use new string_vector constructor.
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3406
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3407 * ov-str-mat.cc (octave_char_matrix_str::all_strings): Have
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3408 charMatrix::row_as_string() strip trailing whitespace.
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3409
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3410 * dirfns.cc (Fglob): new function.
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3411
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3412 * sysdep.cc (oct_tilde_expand): Provide version that works on
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3413 string vectors too.
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3414 (Ftilde_expand): Work on string vector args.
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3415
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3416 * load-save.cc (save_binary_data): Call char_matrix_value() to
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3417 extract charMatrix from octave_value object, not all_strings().
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3418 (save_ascii_data): Likewise.
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3419 * pt-mat.cc (tree_matrix::eval): Likewise.
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3420
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3421 * ov.h (octave_value::all_strings): Return string_vector, not
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3422 charMatrix.
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3423 * ov-base.cc (octave_base_value::all_strings): Likewise.
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3424 * ov-str-mat.h, ov-str-mat.cc (octave_char_matrix_str::all_strings):
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3425 Likewise.
29cd3862a9dc [project @ 1996-11-11 02:39:49 by jwe]
jwe
parents: 2492
diff changeset
3426
2487
8c6e9535cbda [project @ 1996-11-08 15:58:52 by jwe]
jwe
parents: 2482
diff changeset
3427 Fri Nov 8 09:54:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
8c6e9535cbda [project @ 1996-11-08 15:58:52 by jwe]
jwe
parents: 2482
diff changeset
3428
2492
06595bc7f2d0 [project @ 1996-11-09 00:13:50 by jwe]
jwe
parents: 2488
diff changeset
3429 * defaults.cc, dynamic-ld.cc, fn-cache.cc, help.cc, oct-hist.cc,
06595bc7f2d0 [project @ 1996-11-09 00:13:50 by jwe]
jwe
parents: 2488
diff changeset
3430 octave.cc, pager.cc, pt-fcn.cc, toplev.cc, utils.cc, variables.cc,
06595bc7f2d0 [project @ 1996-11-09 00:13:50 by jwe]
jwe
parents: 2488
diff changeset
3431 lex.l: Change #include "" to #include <> for defaults.h,
06595bc7f2d0 [project @ 1996-11-09 00:13:50 by jwe]
jwe
parents: 2488
diff changeset
3432 oct-conf.h, oct-gperf.h, y.tab.h, and version.h, to avoid getting
06595bc7f2d0 [project @ 1996-11-09 00:13:50 by jwe]
jwe
parents: 2488
diff changeset
3433 them from $srcdir when we really want the version from the build
06595bc7f2d0 [project @ 1996-11-09 00:13:50 by jwe]
jwe
parents: 2488
diff changeset
3434 directory. (Maybe this should be done for all the include files,
06595bc7f2d0 [project @ 1996-11-09 00:13:50 by jwe]
jwe
parents: 2488
diff changeset
3435 not just those that are auto-generated? Hmm.)
06595bc7f2d0 [project @ 1996-11-09 00:13:50 by jwe]
jwe
parents: 2488
diff changeset
3436
2488
d4eb39779b88 [project @ 1996-11-08 22:35:59 by jwe]
jwe
parents: 2487
diff changeset
3437 * defaults.h.in (CXXLIB_LIST, CXXLIB_PATH, FLIB_LIST, FLIB_PATH):
d4eb39779b88 [project @ 1996-11-08 22:35:59 by jwe]
jwe
parents: 2487
diff changeset
3438 Delete.
d4eb39779b88 [project @ 1996-11-08 22:35:59 by jwe]
jwe
parents: 2487
diff changeset
3439
2487
8c6e9535cbda [project @ 1996-11-08 15:58:52 by jwe]
jwe
parents: 2482
diff changeset
3440 * Makefile.in (install-oct): Use $(INSTALL_PROGRAM) for .oct files.
8c6e9535cbda [project @ 1996-11-08 15:58:52 by jwe]
jwe
parents: 2482
diff changeset
3441
2477
3d905d3820a4 [project @ 1996-11-07 16:46:11 by jwe]
jwe
parents: 2476
diff changeset
3442 Thu Nov 7 07:59:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
3d905d3820a4 [project @ 1996-11-07 16:46:11 by jwe]
jwe
parents: 2476
diff changeset
3443
2487
8c6e9535cbda [project @ 1996-11-08 15:58:52 by jwe]
jwe
parents: 2482
diff changeset
3444 * variables.cc (gobble_leading_white_space): New arg, update_pos.
8c6e9535cbda [project @ 1996-11-08 15:58:52 by jwe]
jwe
parents: 2482
diff changeset
3445 * (is_function_file): Don't update file position information here.
8c6e9535cbda [project @ 1996-11-08 15:58:52 by jwe]
jwe
parents: 2482
diff changeset
3446
2482
c89bce1baba3 [project @ 1996-11-07 18:48:29 by jwe]
jwe
parents: 2479
diff changeset
3447 * Version 1.91.
c89bce1baba3 [project @ 1996-11-07 18:48:29 by jwe]
jwe
parents: 2479
diff changeset
3448
2479
26e9ee533d87 [project @ 1996-11-07 17:46:14 by jwe]
jwe
parents: 2477
diff changeset
3449 * pt-fvc.cc (tree_indirect_ref::reference): If the lhs object is
26e9ee533d87 [project @ 1996-11-07 17:46:14 by jwe]
jwe
parents: 2477
diff changeset
3450 not a map, convert it to one.
26e9ee533d87 [project @ 1996-11-07 17:46:14 by jwe]
jwe
parents: 2477
diff changeset
3451
26e9ee533d87 [project @ 1996-11-07 17:46:14 by jwe]
jwe
parents: 2477
diff changeset
3452 * ov-typeinfo.h (init_tab_sz): New static member.
26e9ee533d87 [project @ 1996-11-07 17:46:14 by jwe]
jwe
parents: 2477
diff changeset
3453
2477
3d905d3820a4 [project @ 1996-11-07 16:46:11 by jwe]
jwe
parents: 2476
diff changeset
3454 * ov-struct.cc, ov-struct.h: Add hooks for custom memory management.
3d905d3820a4 [project @ 1996-11-07 16:46:11 by jwe]
jwe
parents: 2476
diff changeset
3455 * ov-scalar.cc, ov-scalar.h: Likewise.
3d905d3820a4 [project @ 1996-11-07 16:46:11 by jwe]
jwe
parents: 2476
diff changeset
3456 * ov-re-mat.cc, ov-re-mat.h: Likewise.
3d905d3820a4 [project @ 1996-11-07 16:46:11 by jwe]
jwe
parents: 2476
diff changeset
3457 * ov-range.cc, ov-range.h: Likewise.
3d905d3820a4 [project @ 1996-11-07 16:46:11 by jwe]
jwe
parents: 2476
diff changeset
3458 * ov-cx-mat.cc, ov-cx-mat.h: Likewise.
3d905d3820a4 [project @ 1996-11-07 16:46:11 by jwe]
jwe
parents: 2476
diff changeset
3459 * ov-complex.cc, ov-complex.h: Likewise.
3d905d3820a4 [project @ 1996-11-07 16:46:11 by jwe]
jwe
parents: 2476
diff changeset
3460 * ov-ch-mat.cc, ov-ch-mat.h: Likewise.
3d905d3820a4 [project @ 1996-11-07 16:46:11 by jwe]
jwe
parents: 2476
diff changeset
3461
2474
b8c53143581b [project @ 1996-11-06 19:16:07 by jwe]
jwe
parents: 2472
diff changeset
3462 Wed Nov 6 12:32:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
b8c53143581b [project @ 1996-11-06 19:16:07 by jwe]
jwe
parents: 2472
diff changeset
3463
2482
c89bce1baba3 [project @ 1996-11-07 18:48:29 by jwe]
jwe
parents: 2479
diff changeset
3464 * pager.cc (do_sync): Don't call clear_external_pager() here.
2476
4de4cebed088 [project @ 1996-11-07 05:16:19 by jwe]
jwe
parents: 2475
diff changeset
3465
2475
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3466 * pt-const.h (tree_constant::allocator) New static member.
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3467 (tree_constant::operator new, tree_constant::operator delete):
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3468 Implement with custom allocator.
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3469
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3470 * syscalls.cc (Fgetgid, Fgetegid): New functions.
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3471
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3472 * sighandlers.cc (sigchld_handler): If necessary, reinstall
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3473 handler after call to waitpid().
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3474
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3475 * pager.cc (pager_death_handler): Don't use warning() to print
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3476 message.
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3477
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3478 * getgrent.cc: New file.
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3479 * Makefile.in (DLD_SRC): Add it.
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3480
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3481 * ov.cc (octave_value::print_with_name): Call is_map() instead of
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3482 print_as_structure().
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3483 * ov-struct.cc (octave_struct::print): Likewise.
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3484
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3485 * ov.h, ov.cc, pt-const.h: Delete force_numeric(), make_numeric(),
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3486 convert_to_matrix_type(), print_as_structure() member functions.
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2474
diff changeset
3487
2474
b8c53143581b [project @ 1996-11-06 19:16:07 by jwe]
jwe
parents: 2472
diff changeset
3488 * variables.cc (is_function_file): Call gobble_leading_whitespace
b8c53143581b [project @ 1996-11-06 19:16:07 by jwe]
jwe
parents: 2472
diff changeset
3489 here to strip all leading whitespace and comments.
b8c53143581b [project @ 1996-11-06 19:16:07 by jwe]
jwe
parents: 2472
diff changeset
3490 (parse_fcn_file): If reading a function file, call
b8c53143581b [project @ 1996-11-06 19:16:07 by jwe]
jwe
parents: 2472
diff changeset
3491 gobble_leading_whitespace again after resetting parser state to
b8c53143581b [project @ 1996-11-06 19:16:07 by jwe]
jwe
parents: 2472
diff changeset
3492 grab help text.
b8c53143581b [project @ 1996-11-06 19:16:07 by jwe]
jwe
parents: 2472
diff changeset
3493
2469
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3494 Tue Nov 5 13:00:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3495
2472
0c788e9b53b8 [project @ 1996-11-06 04:10:07 by jwe]
jwe
parents: 2470
diff changeset
3496 * syscalls.cc (Fgeteuid, Fgetuid): New functions.
0c788e9b53b8 [project @ 1996-11-06 04:10:07 by jwe]
jwe
parents: 2470
diff changeset
3497
0c788e9b53b8 [project @ 1996-11-06 04:10:07 by jwe]
jwe
parents: 2470
diff changeset
3498 * getpwent.cc: Use gripe_not_supported from gripes.cc, instead of
0c788e9b53b8 [project @ 1996-11-06 04:10:07 by jwe]
jwe
parents: 2470
diff changeset
3499 local gripe_not_implemented function.
0c788e9b53b8 [project @ 1996-11-06 04:10:07 by jwe]
jwe
parents: 2470
diff changeset
3500
2470
1e673f0648b5 [project @ 1996-11-05 21:46:06 by jwe]
jwe
parents: 2469
diff changeset
3501 * input.cc, sysdep.cc, variables.cc: Only include readline.h and
1e673f0648b5 [project @ 1996-11-05 21:46:06 by jwe]
jwe
parents: 2469
diff changeset
3502 history.h if USE_READLINE is defined.
1e673f0648b5 [project @ 1996-11-05 21:46:06 by jwe]
jwe
parents: 2469
diff changeset
3503
1e673f0648b5 [project @ 1996-11-05 21:46:06 by jwe]
jwe
parents: 2469
diff changeset
3504 * help.cc: Make it compile without warnings even if USE_GNU_INFO
1e673f0648b5 [project @ 1996-11-05 21:46:06 by jwe]
jwe
parents: 2469
diff changeset
3505 is not defined.
1e673f0648b5 [project @ 1996-11-05 21:46:06 by jwe]
jwe
parents: 2469
diff changeset
3506
2469
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3507 * sighandlers.h (octave_child_list): Don't define
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3508 HAVE_POSIX_SIGNALS HERE.
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3509
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3510 * sighandlers.cc (SIGHANDLER_RETURN): New macro.
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3511 (generic_sig_handler, sigchld_handler, sigfpe_handler,
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3512 sigint_handler, sigpipe_handler): Use it.
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3513 (sigchld_handler, sigfpe_handler, sigint_handler, sigpipe_handler):
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3514 Only reinstall signal handler if MUST_REINSTALL_SIGHANDLER is defined.
f201716926bb [project @ 1996-11-05 19:39:33 by jwe]
jwe
parents: 2466
diff changeset
3515
2463
4516c3b75851 [project @ 1996-11-03 06:48:26 by jwe]
jwe
parents: 2458
diff changeset
3516 Sun Nov 3 00:45:30 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
4516c3b75851 [project @ 1996-11-03 06:48:26 by jwe]
jwe
parents: 2458
diff changeset
3517
2466
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3518 * pt-const.cc (tree_constant::print): Just call val.print().
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3519 * ov-base.cc, ov-ch-mat.cc, ov-colon.cc, ov-complex.cc,
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3520 ov-cx-mat.cc, ov-range.cc, ov-re-mat.cc, ov-scalar.cc,
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3521 ov-str-mat.cc, ov-struct.cc ov-va-args.cc, ov.cc (print):
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3522 Handle pr_as_read_syntax arg.
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3523
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3524 * defaults.cc (subst_octave_home): Search for prefix repeatedly in
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3525 retval, not s.
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3526
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3527 * gripes.h: Make declaration of gripes_not_supported match
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3528 definition.
1573640a9994 [project @ 1996-11-04 03:56:11 by jwe]
jwe
parents: 2465
diff changeset
3529
2465
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3530 * mk-oct-links.in: In sed command, match "DEFUN_DLD *( *", not
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3531 "DEFUN_DLD_BUILTIN *( *".
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3532
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3533 * chol.cc, colloc.cc, dassl.cc, det.cc, eig.cc, expm.cc, fft.cc,
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3534 fft2.cc, filter.cc, find.cc, fsolve.cc, fsqp.cc, getpwent.cc,
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3535 getrusage.cc, givens.cc, hess.cc, ifft.cc, ifft2.cc, inv.cc,
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3536 log.cc, lpsolve.cc, lsode.cc, lu.cc, minmax.cc, npsol.cc, pinv.cc,
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3537 qpsol.cc, qr.cc, quad.cc, qzval.cc, rand.cc, schur.cc, sort.cc,
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3538 svd.cc, syl.cc, time.cc: Change all uses of DEFUN_DLD_BUILTIN to
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3539 be just DEFUN_DLD.
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3540
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3541 * defun-dld.h: Eliminate DEFUN_DLD_BUILTIN.
7ee42ff6536a [project @ 1996-11-03 08:54:14 by jwe]
jwe
parents: 2464
diff changeset
3542
2464
76078d0868e9 [project @ 1996-11-03 07:46:20 by jwe]
jwe
parents: 2463
diff changeset
3543 * syswait.h: Use #ifdef HAVE_SYS_WAIT_H, not #if HAVE_SYS_WAIT_H
76078d0868e9 [project @ 1996-11-03 07:46:20 by jwe]
jwe
parents: 2463
diff changeset
3544 to decide whether to include sys/wait.h.
76078d0868e9 [project @ 1996-11-03 07:46:20 by jwe]
jwe
parents: 2463
diff changeset
3545
76078d0868e9 [project @ 1996-11-03 07:46:20 by jwe]
jwe
parents: 2463
diff changeset
3546 * pt-exp-base.h (tree_expression): Declare oper() here as a
76078d0868e9 [project @ 1996-11-03 07:46:20 by jwe]
jwe
parents: 2463
diff changeset
3547 virtual member function.
76078d0868e9 [project @ 1996-11-03 07:46:20 by jwe]
jwe
parents: 2463
diff changeset
3548
2463
4516c3b75851 [project @ 1996-11-03 06:48:26 by jwe]
jwe
parents: 2458
diff changeset
3549 * pt-pr-code.cc (tree_print_code::visit_constant): Check for
4516c3b75851 [project @ 1996-11-03 06:48:26 by jwe]
jwe
parents: 2458
diff changeset
3550 string before checking for char_matrix.
4516c3b75851 [project @ 1996-11-03 06:48:26 by jwe]
jwe
parents: 2458
diff changeset
3551
4516c3b75851 [project @ 1996-11-03 06:48:26 by jwe]
jwe
parents: 2458
diff changeset
3552 * ov-ch-mat.cc (octave_char_matrix::print): Supply correct number
4516c3b75851 [project @ 1996-11-03 06:48:26 by jwe]
jwe
parents: 2458
diff changeset
3553 of args to octave_print_internal().
4516c3b75851 [project @ 1996-11-03 06:48:26 by jwe]
jwe
parents: 2458
diff changeset
3554
2457
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3555 Sat Nov 2 20:44:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3556
2458
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2457
diff changeset
3557 * file-io.cc (Ftmpnam): Rename from Foctave_temp_file_name.
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2457
diff changeset
3558
2457
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3559 * Makefile.in (DLD_SRC): Move time.cc and getrusage.cc here from
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3560 SOURCES. Add getpwent.cc.
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3561
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3562 * getrusage.cc: Rename from resource.cc. Make getrusage a
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3563 loadable function.
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3564
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3565 * time.cc: Rename from timefns.cc. Make time functions loadable.
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3566
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3567 * getpwent.cc: New file.
5be3f6f5986a [project @ 1996-11-03 02:54:44 by jwe]
jwe
parents: 2452
diff changeset
3568
2439
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2437
diff changeset
3569 Wed Oct 30 01:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2437
diff changeset
3570
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents: 2449
diff changeset
3571 * Version 1.90.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents: 2449
diff changeset
3572
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents: 2449
diff changeset
3573 * Makefile.in (DISTFILES): Add ChangeLog.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents: 2449
diff changeset
3574
2449
31d5588dbb61 [project @ 1996-10-30 22:58:44 by jwe]
jwe
parents: 2448
diff changeset
3575 * ov-range.cc (octave_range::convert_to_str): New function.
31d5588dbb61 [project @ 1996-10-30 22:58:44 by jwe]
jwe
parents: 2448
diff changeset
3576
31d5588dbb61 [project @ 1996-10-30 22:58:44 by jwe]
jwe
parents: 2448
diff changeset
3577 * ov-str-mat.h (octave_char_matrix_str::char_matrix_value):
31d5588dbb61 [project @ 1996-10-30 22:58:44 by jwe]
jwe
parents: 2448
diff changeset
3578 Delete function. Already handled by octave_char_matrix class.
31d5588dbb61 [project @ 1996-10-30 22:58:44 by jwe]
jwe
parents: 2448
diff changeset
3579
31d5588dbb61 [project @ 1996-10-30 22:58:44 by jwe]
jwe
parents: 2448
diff changeset
3580 * ov-ch-mat.h (octave_char_matrix::convert_to_str): New function.
31d5588dbb61 [project @ 1996-10-30 22:58:44 by jwe]
jwe
parents: 2448
diff changeset
3581
2448
00998e1442ae [project @ 1996-10-30 22:27:18 by jwe]
jwe
parents: 2447
diff changeset
3582 * pager.cc (Fmore): Set page_screen_output to 1.0 or 0.0, not
00998e1442ae [project @ 1996-10-30 22:27:18 by jwe]
jwe
parents: 2447
diff changeset
3583 "true" or "false".
00998e1442ae [project @ 1996-10-30 22:27:18 by jwe]
jwe
parents: 2447
diff changeset
3584
2447
e46137c06781 [project @ 1996-10-30 19:39:03 by jwe]
jwe
parents: 2445
diff changeset
3585 * ov-ch-mat.cc, ov-struct.cc, ov-struct.h, pr-output.cc,
e46137c06781 [project @ 1996-10-30 19:39:03 by jwe]
jwe
parents: 2445
diff changeset
3586 pt-cmd.cc, pt-const.cc, pt-const.h, pt-fcn.cc, pt-fvc-base.cc,
e46137c06781 [project @ 1996-10-30 19:39:03 by jwe]
jwe
parents: 2445
diff changeset
3587 pt-fvc-base.h, pt-fvc.cc, pt-fvc.h, rand.cc, sighandlers.cc,
e46137c06781 [project @ 1996-10-30 19:39:03 by jwe]
jwe
parents: 2445
diff changeset
3588 variables.cc, variables.h: Delete unused code.
e46137c06781 [project @ 1996-10-30 19:39:03 by jwe]
jwe
parents: 2445
diff changeset
3589
2445
6577af9f7504 [project @ 1996-10-30 19:01:57 by jwe]
jwe
parents: 2442
diff changeset
3590 * octave.cc: Only include pwd.h if HAVE_PWD_H.
6577af9f7504 [project @ 1996-10-30 19:01:57 by jwe]
jwe
parents: 2442
diff changeset
3591
6577af9f7504 [project @ 1996-10-30 19:01:57 by jwe]
jwe
parents: 2442
diff changeset
3592 * oct-strstrm.h: Include <string>, not <string.h>.
6577af9f7504 [project @ 1996-10-30 19:01:57 by jwe]
jwe
parents: 2442
diff changeset
3593
2442
f667d7ec08b9 [project @ 1996-10-30 18:46:22 by jwe]
jwe
parents: 2440
diff changeset
3594 * defaults.cc, dirfns.cc, file-io.cc, help.cc, input.cc,
f667d7ec08b9 [project @ 1996-10-30 18:46:22 by jwe]
jwe
parents: 2440
diff changeset
3595 oct-hist.cc, oct-procbuf.cc, oct-procbuf.h, octave.cc, pager.h,
f667d7ec08b9 [project @ 1996-10-30 18:46:22 by jwe]
jwe
parents: 2440
diff changeset
3596 procstream.h, pt-misc.cc, pt-plot.cc, sighandlers.cc, strftime.c,
f667d7ec08b9 [project @ 1996-10-30 18:46:22 by jwe]
jwe
parents: 2440
diff changeset
3597 syscalls.cc, sysdep.cc, syswait.h, toplev.cc, utils.cc,
f667d7ec08b9 [project @ 1996-10-30 18:46:22 by jwe]
jwe
parents: 2440
diff changeset
3598 variables.cc: Only include sys/types.h if HAVE_SYS_TYPES_H.
f667d7ec08b9 [project @ 1996-10-30 18:46:22 by jwe]
jwe
parents: 2440
diff changeset
3599
2440
d95b5eb82e22 [project @ 1996-10-30 17:53:42 by jwe]
jwe
parents: 2439
diff changeset
3600 * error.h (panic): Use GCC_ATTR_NORETURN macro, not NORETURN.
d95b5eb82e22 [project @ 1996-10-30 17:53:42 by jwe]
jwe
parents: 2439
diff changeset
3601 * toplev.h (clean_up_and_exit): Likewise.
d95b5eb82e22 [project @ 1996-10-30 17:53:42 by jwe]
jwe
parents: 2439
diff changeset
3602 * utils.h (jump_to_top_level): Likewise.
d95b5eb82e22 [project @ 1996-10-30 17:53:42 by jwe]
jwe
parents: 2439
diff changeset
3603
2439
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2437
diff changeset
3604 * derfaults.h.in, defaults.cc (local_arch_lib_dir): New variable.
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2437
diff changeset
3605 * defaults.cc (set_default_local_arch_lib_dir): New function.
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2437
diff changeset
3606 (install_defaults): Call it.
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2437
diff changeset
3607 (exec_path): Use Vlocal_arch_lib_dir here.
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2437
diff changeset
3608 * toplev.cc (octave_config_info): Add localarchlibdir to structure.
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2437
diff changeset
3609
2436
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3610 Tue Oct 29 15:54:27 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3611
2437
61306ea5f870 [project @ 1996-10-29 23:34:45 by jwe]
jwe
parents: 2436
diff changeset
3612 * Makefile.in (install-oct): Don't do anything if $(OCT_FILES) is
61306ea5f870 [project @ 1996-10-29 23:34:45 by jwe]
jwe
parents: 2436
diff changeset
3613 empty.
61306ea5f870 [project @ 1996-10-29 23:34:45 by jwe]
jwe
parents: 2436
diff changeset
3614
2436
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3615 * ov-range.cc (octave_range::index): New Function.
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3616 (octave_range::all, octave_range::any, octave_range::is_true):
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3617 Make these functions work.
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3618
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3619 * ov.cc (octave_value::try_assignment_with_conversion): Remove
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3620 left over debugging print statements.
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3621
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3622 Mon Oct 28 10:49:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3623
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3624 * strftime.c: Add missing #endif for previous change.
a628e881be66 [project @ 1996-10-29 22:08:28 by jwe]
jwe
parents: 2435
diff changeset
3625
2435
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3626 Sun Oct 27 14:06:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3627
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3628 * oct-hist.cc (do_history): Rewite option parsing to avoid
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3629 (probably bogus) errors from g++ on cygwin32 system.
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3630
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3631 * strftime.c: Use autoconf macros TIME_WITH_SYS_TIME and
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3632 HAVE_SYS_TIME_H to decide which time.h files to include.
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3633
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3634 * oct-stream.h, oct-stream.cc (octave_stream::error,
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3635 octave_base_stream::error): Rename errno => err_num.
3be97fe02051 [project @ 1996-10-27 21:31:29 by jwe]
jwe
parents: 2434
diff changeset
3636
2432
874f758eade5 [project @ 1996-10-26 16:37:36 by jwe]
jwe
parents: 2431
diff changeset
3637 Sat Oct 26 10:40:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
874f758eade5 [project @ 1996-10-26 16:37:36 by jwe]
jwe
parents: 2431
diff changeset
3638
2434
ced642d8ba6a [project @ 1996-10-27 04:42:08 by jwe]
jwe
parents: 2432
diff changeset
3639 * oct-hist.cc (do_history): Move declaration of file inside
ced642d8ba6a [project @ 1996-10-27 04:42:08 by jwe]
jwe
parents: 2432
diff changeset
3640 conditional.
ced642d8ba6a [project @ 1996-10-27 04:42:08 by jwe]
jwe
parents: 2432
diff changeset
3641
2432
874f758eade5 [project @ 1996-10-26 16:37:36 by jwe]
jwe
parents: 2431
diff changeset
3642 * defun.h (DEFVAR_INT): Set eternal flag with (svc_fcn != 0)
874f758eade5 [project @ 1996-10-26 16:37:36 by jwe]
jwe
parents: 2431
diff changeset
3643 instead of (sv_fcn ? 1 : 0)
874f758eade5 [project @ 1996-10-26 16:37:36 by jwe]
jwe
parents: 2431
diff changeset
3644
2427
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3645 Fri Oct 25 01:10:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3646
2431
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3647 * ov-ch-mat.h (octave_char_matrix::any): Return 0.0 instead of false.
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3648 (octave_char_matrix::all): Likewise.
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3649
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3650 * input.cc (Fecho): When binding value of echo_executing_commands,
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3651 cast ECHO_* to double.
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3652
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3653 * sighandlers.cc (octave_child_list::do_remove): Delete unused
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3654 variable `enlarge'.
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3655
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3656 * pt-const.h (tree_constant::tree_constant (const tree_constant&)):
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3657 Don't pass arg to tree_fvc constructor.
8426659cd60e [project @ 1996-10-26 04:37:45 by jwe]
jwe
parents: 2427
diff changeset
3658
2427
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3659 * resource.cc (getrusage): [HAVE_GETRUSAGE && RUSAGE_TIMES_ONLY]:
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3660 Only fill in time values.
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3661
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3662 Thu Oct 24 20:37:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3663
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3664 * parse.y: Comment out the %expect declaration so byacc can
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3665 compile this file.
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3666 (if_cmd_list): Add missing semicolon.
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3667 Include <cstdlib> for getenv if using byacc.
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3668
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3669 * ov.h: Move typedefs outside of octave_value class scope to avoid
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3670 problem with cygwin32 beta16 compiler.
2f50b24ce84f [project @ 1996-10-25 06:15:28 by jwe]
jwe
parents: 2423
diff changeset
3671
2421
d64502c62840 [project @ 1996-10-18 18:45:26 by jwe]
jwe
parents: 2420
diff changeset
3672 Fri Oct 18 13:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
d64502c62840 [project @ 1996-10-18 18:45:26 by jwe]
jwe
parents: 2420
diff changeset
3673
2423
de430cdd9234 [project @ 1996-10-18 20:39:41 by jwe]
jwe
parents: 2421
diff changeset
3674 * ov.h (octave_value::index): Undo previous change.
de430cdd9234 [project @ 1996-10-18 20:39:41 by jwe]
jwe
parents: 2421
diff changeset
3675 * ov.cc (octave_value constructors): Call maybe_mutate() in most
de430cdd9234 [project @ 1996-10-18 20:39:41 by jwe]
jwe
parents: 2421
diff changeset
3676 cases.
de430cdd9234 [project @ 1996-10-18 20:39:41 by jwe]
jwe
parents: 2421
diff changeset
3677
de430cdd9234 [project @ 1996-10-18 20:39:41 by jwe]
jwe
parents: 2421
diff changeset
3678 * ov-complex.cc (octave_complex::index): Avoid implicit type
de430cdd9234 [project @ 1996-10-18 20:39:41 by jwe]
jwe
parents: 2421
diff changeset
3679 conversion back to scalar type.
de430cdd9234 [project @ 1996-10-18 20:39:41 by jwe]
jwe
parents: 2421
diff changeset
3680 * ov-scalar.cc (octave_scalar::index): Likewise.
de430cdd9234 [project @ 1996-10-18 20:39:41 by jwe]
jwe
parents: 2421
diff changeset
3681
2421
d64502c62840 [project @ 1996-10-18 18:45:26 by jwe]
jwe
parents: 2420
diff changeset
3682 * ov.h (octave_value::index): Call maybe_mutate() on retval before
d64502c62840 [project @ 1996-10-18 18:45:26 by jwe]
jwe
parents: 2420
diff changeset
3683 returning it.
d64502c62840 [project @ 1996-10-18 18:45:26 by jwe]
jwe
parents: 2420
diff changeset
3684
2418
25a26fe3f1d4 [project @ 1996-10-16 17:02:16 by jwe]
jwe
parents: 2412
diff changeset
3685 Wed Oct 16 12:00:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
25a26fe3f1d4 [project @ 1996-10-16 17:02:16 by jwe]
jwe
parents: 2412
diff changeset
3686
2420
449f35baba49 [project @ 1996-10-16 18:46:25 by jwe]
jwe
parents: 2419
diff changeset
3687 * ov.h (octave_value::struct_elt_val): New optional arg, silent.
449f35baba49 [project @ 1996-10-16 18:46:25 by jwe]
jwe
parents: 2419
diff changeset
3688 * ov-base.h, ov-base.cc, ov-struct.h, ov-struct.cc: Likewise, but
449f35baba49 [project @ 1996-10-16 18:46:25 by jwe]
jwe
parents: 2419
diff changeset
3689 for the derived classes the arg is required.
449f35baba49 [project @ 1996-10-16 18:46:25 by jwe]
jwe
parents: 2419
diff changeset
3690
449f35baba49 [project @ 1996-10-16 18:46:25 by jwe]
jwe
parents: 2419
diff changeset
3691 * data.cc (Fstruct_contains): Require arguments to be struct and
449f35baba49 [project @ 1996-10-16 18:46:25 by jwe]
jwe
parents: 2419
diff changeset
3692 string, respectively. Call octave_value::struct_elt_val with
449f35baba49 [project @ 1996-10-16 18:46:25 by jwe]
jwe
parents: 2419
diff changeset
3693 silent flag set.
449f35baba49 [project @ 1996-10-16 18:46:25 by jwe]
jwe
parents: 2419
diff changeset
3694
2419
015cbef2b75f [project @ 1996-10-16 17:46:12 by jwe]
jwe
parents: 2418
diff changeset
3695 * pt-mat.cc (tm_row_const::tm_row_const_rep::eval_error,
015cbef2b75f [project @ 1996-10-16 17:46:12 by jwe]
jwe
parents: 2418
diff changeset
3696 tm_row_const::tm_row_const_rep::eval_warning): New functions.
015cbef2b75f [project @ 1996-10-16 17:46:12 by jwe]
jwe
parents: 2418
diff changeset
3697 (tm_row_const::tm_row_const (const tree_matrix_row&): Use them to
015cbef2b75f [project @ 1996-10-16 17:46:12 by jwe]
jwe
parents: 2418
diff changeset
3698 give better error messages.
015cbef2b75f [project @ 1996-10-16 17:46:12 by jwe]
jwe
parents: 2418
diff changeset
3699
2418
25a26fe3f1d4 [project @ 1996-10-16 17:02:16 by jwe]
jwe
parents: 2412
diff changeset
3700 * pt-fvc.cc (tree_identifier::eval): Avoid dereferencing null
25a26fe3f1d4 [project @ 1996-10-16 17:02:16 by jwe]
jwe
parents: 2412
diff changeset
3701 object_to_eval.
25a26fe3f1d4 [project @ 1996-10-16 17:02:16 by jwe]
jwe
parents: 2412
diff changeset
3702
2412
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3703 Tue Oct 15 11:35:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3704
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3705 * op-cs-cm.cc, op-cs-cs.cc, op-cs-m.cc, op-cs-s.cc
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3706 (complex_matrix_conv): New functions.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3707 Install preferred assignment conversion and widening ops.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3708
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3709 * op-s-cm.cc, op-s-cs.cc (complex_matrix_conv): New functions.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3710 Install preferred assignment conversion and widening ops.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3711
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3712 * op-s-m.cc, op-s-s.cc (matrix_conv): New functions.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3713 Install preferred assignment conversion and widening ops.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3714
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3715 * ov.cc (octave_value::try_assignment_with_conversion,
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3716 octave_value::convert_and_assign, octave_value::try_assignment):
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3717 New functions.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3718 (octave_value::assign): Use them to implement twisted logic for
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3719 type conversions in assigments.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3720
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3721 * pt-const.h (tree_constant::maybe_mutate): New function.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3722 * ov.h (octave_value::maybe_mutate): New function.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3723 (octave_value::try_narrowing_conversion): New function.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3724 Use just one typedef for widening_op_fcn and numeric_conv_fcn.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3725 Change all uses.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3726 * ov-base.h, ov-complex.h, ov-complex.cc, ov-cx-mat.h,
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3727 ov-cx-mat.cc, ov-range.h, ov-range.cc, ov-re-mat.h, ov-re-mat.cc,
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3728 Provide derived class versions of try try_narrowing_conversion().
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3729
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3730 * pr-output.cc (octave_print_internal): Don't bother handing off
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3731 to scalar/real versions, even when it would seem appropriate.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3732
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3733 * symtab.cc (symbol_def::define (tree_constant *)): Call
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3734 maybe_mutate on constants here.
1a1901564492 [project @ 1996-10-15 16:51:13 by jwe]
jwe
parents: 2407
diff changeset
3735
2405
e6adec89527e [project @ 1996-10-14 16:23:48 by jwe]
jwe
parents: 2404
diff changeset
3736 Mon Oct 14 11:05:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
e6adec89527e [project @ 1996-10-14 16:23:48 by jwe]
jwe
parents: 2404
diff changeset
3737
2407
4f55dc039a7e [project @ 1996-10-14 19:48:50 by jwe]
jwe
parents: 2406
diff changeset
3738 * pt-fvc.cc (tree_identifier::eval): If retval is undefined and
4f55dc039a7e [project @ 1996-10-14 19:48:50 by jwe]
jwe
parents: 2406
diff changeset
3739 the object to eval is a constant, print error message.
2406
13b3c87b192e [project @ 1996-10-14 18:20:55 by jwe]
jwe
parents: 2405
diff changeset
3740
2405
e6adec89527e [project @ 1996-10-14 16:23:48 by jwe]
jwe
parents: 2404
diff changeset
3741 * Makefile (distclean): Remove *.oct too.
e6adec89527e [project @ 1996-10-14 16:23:48 by jwe]
jwe
parents: 2404
diff changeset
3742
e6adec89527e [project @ 1996-10-14 16:23:48 by jwe]
jwe
parents: 2404
diff changeset
3743 * defun-int.h: Include variables.h here.
e6adec89527e [project @ 1996-10-14 16:23:48 by jwe]
jwe
parents: 2404
diff changeset
3744
2403
3a413ee50517 [project @ 1996-10-13 16:52:12 by jwe]
jwe
parents: 2399
diff changeset
3745 Sun Oct 13 10:52:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
3a413ee50517 [project @ 1996-10-13 16:52:12 by jwe]
jwe
parents: 2399
diff changeset
3746
2404
68c5868dbe83 [project @ 1996-10-13 18:39:19 by jwe]
jwe
parents: 2403
diff changeset
3747 * variables.cc (print_symbol_info_line): Never print negative
68c5868dbe83 [project @ 1996-10-13 18:39:19 by jwe]
jwe
parents: 2403
diff changeset
3748 diminsions.
68c5868dbe83 [project @ 1996-10-13 18:39:19 by jwe]
jwe
parents: 2403
diff changeset
3749
68c5868dbe83 [project @ 1996-10-13 18:39:19 by jwe]
jwe
parents: 2403
diff changeset
3750 * symtab.h (octave_symbol_record_info): Store const_type as string.
68c5868dbe83 [project @ 1996-10-13 18:39:19 by jwe]
jwe
parents: 2403
diff changeset
3751 (octave_symbol_record_info::init): Delete. Fix constructors.
68c5868dbe83 [project @ 1996-10-13 18:39:19 by jwe]
jwe
parents: 2403
diff changeset
3752 (octave_symbol_record_info::type_name): Handle const_type as string.
68c5868dbe83 [project @ 1996-10-13 18:39:19 by jwe]
jwe
parents: 2403
diff changeset
3753
2403
3a413ee50517 [project @ 1996-10-13 16:52:12 by jwe]
jwe
parents: 2399
diff changeset
3754 * octave.cc (maximum_braindamage): Replace "true" with 1.0 and
3a413ee50517 [project @ 1996-10-13 16:52:12 by jwe]
jwe
parents: 2399
diff changeset
3755 "false" with 0.0 in calls to bind_builtin_variable().
3a413ee50517 [project @ 1996-10-13 16:52:12 by jwe]
jwe
parents: 2399
diff changeset
3756 Include sun-utils.h here.
2404
68c5868dbe83 [project @ 1996-10-13 18:39:19 by jwe]
jwe
parents: 2403
diff changeset
3757 (intern_argv): Also bind __argv__.
2403
3a413ee50517 [project @ 1996-10-13 16:52:12 by jwe]
jwe
parents: 2399
diff changeset
3758
2391
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3759 Sat Oct 12 13:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3760
2399
96abb5c4568d [project @ 1996-10-13 05:03:02 by jwe]
jwe
parents: 2391
diff changeset
3761 * Makefile.in (distclean): Also delete mk-oct-links.
96abb5c4568d [project @ 1996-10-13 05:03:02 by jwe]
jwe
parents: 2391
diff changeset
3762
96abb5c4568d [project @ 1996-10-13 05:03:02 by jwe]
jwe
parents: 2391
diff changeset
3763 Fri Oct 11 13:13:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
96abb5c4568d [project @ 1996-10-13 05:03:02 by jwe]
jwe
parents: 2391
diff changeset
3764
2391
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3765 Changes for Octave's new type system:
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3766
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3767 * arith-ops.cc: Delete.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3768 * pt-const.h, pt-const.cc: Massive changes. Most functionality
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3769 moved to ov.h, ov.cc, and derived classes.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3770
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3771 * variables.h, variables.cc (octave_variable_reference): New class
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3772 for getting references to variables and structure elements used in
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3773 assignments or value contexts.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3774
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3775 * symtab.h, symtab.cc (symbol_record::define (const octave_value&),
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3776 symbol_record::variable_value, symbol_record::variable_reference):
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3777 New functions.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3778 (symbol_record_info::type_name): Rename from type_as_string.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3779
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3780 * pt-fvc-base.h, pt-fvc-base.cc (tree_fvc::increment,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3781 tree_fvc::decrement): New functions to replace
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3782 tree_fvc::bump_value.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3783 #if 0 assign and lookup_map_element functions.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3784
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3785 * pt-mvr.cc (tree_multi_assignment_expression::eval):
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3786 Generated RHS value is now a tree_constant.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3787
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3788 * pt-exp.h, pt-exp.cc (tree_boolean_expression): New class.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3789 (tree_unary_expression, tree_binary_expression,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3790 tree_boolean_expression): Move codes here from tree_expression.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3791 (tree_simple_assignment_expression): Cope with changes to way of
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3792 doing assignments.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3793
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3794 * pt-exp-base.h, pt-exp-base.cc (enum type): Delete codes for
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3795 unary and binary ops.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3796 (tree_expression::expression_type): Delete.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3797 (tree_expression::is_logically_true): Hand off to
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3798 octave_value::is_true to do real work.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3799
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3800 * pr-output.h, pr-output.cc (any_element_is_inf_or_nan,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3801 all_elements_are_ints): Delete. Call member new functions for
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3802 these operations.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3803 (free_format, plus_format, bank_format, hex_format,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3804 compact_format, print_e, print_big_e): Use bool, not int.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3805 (octave_print_internal): Hand off to scalar/real versions when
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3806 appropriate.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3807
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3808 * octave.cc (main): Call initialize_types() and install_ops().
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3809 (verbose_usage): Add WWW address to output.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3810
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3811 * parse.y (indirect_ref): Handle by making a tree instead of a
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3812 list using new version of tree_indirect_ref class.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3813
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3814 * parse.y (make_boolean_op): New function. Use it instead of
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3815 make_binary_op to create trees for && and || ops.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3816 (make_binary_op): Codes come from tree_binary_expression now,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3817 instead of tree_expression.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3818 (make_unary_op): Codes come from tree_unary_expression now,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3819 instead of tree_expression.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3820 (make_boolean_op): Codes come from tree_boolean_expression.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3821
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3822 *parse.y (tree_constant_type): Change type to tree_constant* from
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3823 octave_value*, and rename from octave_value_type. Change uses.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3824
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3825 * defun.h (DEFVAR_INT): Pass octave_value not pointer to
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3826 octave_value for defn when creating builtin_variable.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3827
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3828 * gripes.h, gripes.cc (gripe_invalid_conversion): Args are
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3829 strings, not char*.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3830 (gripe_implicit_conversion, gripe_divide_by_zero): New extern
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3831 gripe functions.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3832
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3833 * mkbuiltins: For each file, create a separate static function to
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3834 install builtins, then create another single extern function to
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3835 call all of them.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3836
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3837 * pt-fcn.cc (tree_function::bind_nargin_and_nargout):
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3838 Just pass doubles and let symbol_record::define handle creating
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3839 new value.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3840
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3841 * pt-pr-code.cc, pt-pr-code.h (visit_constant): Renamed from
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3842 visit_octave_value.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3843 (visit_unary_expression): Use tree_expression::is_prefix_op()
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3844 instead of switch on op types.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3845
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3846 * pt-walk.h (visit_constant): Renamed from visit_octave_value.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3847
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3848 * pt-misc.cc (initialize_undefined_elements): Get reference to
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3849 tmp, then assign.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3850 * pt-cmd.cc (do_for_loop_once): Likewise, for loop identifier.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3851
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3852 * input.cc (generate_struct_completions, looks_like_struct): Cast
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3853 tmp_fvc to tree_constant*, not octave_value*.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3854 (get_user_input): Call print() on retval, not eval(1).
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3855
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3856 * help.cc (Ftype): Cast defn to tree_constant*, not octave_value*.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3857
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3858 * balance.cc: Fix docstring.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3859
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3860 * dassl.cc, fsolve.cc, load-save.cc, lsode.cc, npsol.cc, qpsol.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3861 quad.cc:
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3862 Include pt-fvc.h.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3863
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3864 * data.cc (Fstruct_contains): call octave_value::struct_elt_val,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3865 not octave_value::lookup_map_element.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3866
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3867 * dirfns.cc (Fcd): Pass directory name as string directly to
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3868 bind_builtin_variable instead of creating new octave_value.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3869
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3870 * toplev.cc: Include pt-fvc.h and lo-mappers.h
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3871
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3872 * data.cc, error.cc, file-io.cc, load-save.cc, pager.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3873 pt-mat.cc, pt-plot.cc, syscalls.cc, toplev.cc:
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3874 Include variables.h.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3875
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3876 * Array-tc.cc, Map-tc.cc, SLList-misc.cc SLList-tc.cc, data.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3877 defaults.cc, dynamic-ld.cc, error.cc, gripes.cc, lex.l, octave.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3878 oct-map.h, oct-map.cc, oct-obj.h, pt-cmd.cc, pt-exp.cc, pt-fcn.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3879 pt-fvc-base.cc, pt-mat.cc, pt-misc.cc, pt-mvr-base.cc, pt-mvr.h,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3880 resource.cc, strfns.cc, sysdep.cc, timefns.cc, toplev.cc:
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3881 Include ov.h instead of pt-const.h.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3882
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3883 * xpow.cc (any_element_is_negative): Delete.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3884 (xpow and elem_xpow functions): Check conformance here.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3885
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3886 * xdiv.cc (mx_leftdiv_conform, mx_div_conform):
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3887 Now template-based, taking Matrices instead of dimensions as args.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3888 Change all callers.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3889
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3890 * op-cm-cm.cc, op-cm-cm.h, op-cm-cs.cc, op-cm-cs.h, op-cm-m.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3891 op-cm-m.h, op-cm-s.cc, op-cm-s.h, op-cs-cm.cc, op-cs-cm.h,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3892 op-cs-cs.cc, op-cs-cs.h, op-cs-m.cc, op-cs-m.h, op-cs-s.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3893 op-cs-s.h, op-m-cm.cc, op-m-cm.h, op-m-cs.cc, op-m-cs.h, op-m-m.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3894 op-m-m.h, op-m-s.cc, op-m-s.h, op-s-cm.cc, op-s-cm.h, op-s-cs.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3895 op-s-cs.h, op-s-m.cc, op-s-m.h, op-s-s.cc, op-s-s.h,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3896 op-str-str.cc, op-str-str.h, ops.cc, ops.h, ov-base.cc, ov-base.h,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3897 ov-ch-mat.cc, ov-ch-mat.h, ov-colon.cc, ov-colon.h, ov-complex.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3898 ov-complex.h, ov-cx-mat.cc, ov-cx-mat.h, ov-range.cc, ov-range.h,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3899 ov-re-mat.cc, ov-re-mat.h, ov-scalar.cc, ov-scalar.h, ov-str-mat.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3900 ov-str-mat.h, ov-struct.cc, ov-struct.h, ov-typeinfo.cc,
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3901 ov-typeinfo.h, ov-va-args.cc, ov-va-args.h, ov.cc, ov.h:
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3902 New files for Octave's new type system.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3903 * Makefile.in: Add them to the appropriate lists.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3904
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3905 Sat Sep 14 21:58:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3906
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3907 * mkbuiltins: Use .df instead of .def.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3908 Write one function for each .df file, then call them
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3909 all in install_builtin_functions().
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3910 * Makefile.in: Handle .df instead of .def.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3911
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3912 * balance.cc (balance): Fix typo in doc string.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3913
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3914 Wed Aug 28 21:01:49 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3915
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3916 * octave.cc (verbose_usage): Include WWW address and bug-octave
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3917 mailing list address.
b12625d6fbcd [project @ 1996-10-12 19:35:37 by jwe]
jwe
parents: 2358
diff changeset
3918
2354
2ce6e1ec9b53 [project @ 1996-08-20 22:44:25 by jwe]
jwe
parents: 2348
diff changeset
3919 Tue Aug 20 17:41:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
2ce6e1ec9b53 [project @ 1996-08-20 22:44:25 by jwe]
jwe
parents: 2348
diff changeset
3920
2358
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2354
diff changeset
3921 * Makefile.in: Only define pattern rules for making .oct files if
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2354
diff changeset
3922 OCTAVE_LITE is true.
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2354
diff changeset
3923 Only add pic/ to $(TI_OBJ) if $(SHARED_LIBS) is true.
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2354
diff changeset
3924 (stamp-picdir): Only create a pic subdirectory if SHARED_LIBS or
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2354
diff changeset
3925 OCTAVE_LITE is true AND CPICFLAG or CXXPICFLAG is not empty.
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2354
diff changeset
3926
2354
2ce6e1ec9b53 [project @ 1996-08-20 22:44:25 by jwe]
jwe
parents: 2348
diff changeset
3927 * minmax.cc (Fmin, Fmax): Deal with changes to Matrix class
2ce6e1ec9b53 [project @ 1996-08-20 22:44:25 by jwe]
jwe
parents: 2348
diff changeset
3928 min/max methods.
2ce6e1ec9b53 [project @ 1996-08-20 22:44:25 by jwe]
jwe
parents: 2348
diff changeset
3929
2345
0f441b4fefdb [project @ 1996-07-25 06:51:03 by jwe]
jwe
parents: 2344
diff changeset
3930 Thu Jul 25 01:42:38 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
0f441b4fefdb [project @ 1996-07-25 06:51:03 by jwe]
jwe
parents: 2344
diff changeset
3931
2348
a88c5cc51f62 [project @ 1996-07-25 09:54:40 by jwe]
jwe
parents: 2345
diff changeset
3932 * input.cc (generate_possible_completions): Force the names to be
a88c5cc51f62 [project @ 1996-07-25 09:54:40 by jwe]
jwe
parents: 2345
diff changeset
3933 unique.
a88c5cc51f62 [project @ 1996-07-25 09:54:40 by jwe]
jwe
parents: 2345
diff changeset
3934
2345
0f441b4fefdb [project @ 1996-07-25 06:51:03 by jwe]
jwe
parents: 2344
diff changeset
3935 * load-save.cc (read_mat_binary_data): Expect to read terminating
0f441b4fefdb [project @ 1996-07-25 06:51:03 by jwe]
jwe
parents: 2344
diff changeset
3936 NUL character in the variable name.
0f441b4fefdb [project @ 1996-07-25 06:51:03 by jwe]
jwe
parents: 2344
diff changeset
3937 (save_mat_binary_data): Likewise, save it here.
0f441b4fefdb [project @ 1996-07-25 06:51:03 by jwe]
jwe
parents: 2344
diff changeset
3938
2341
6ee55c0f25a9 [project @ 1996-07-24 10:33:09 by jwe]
jwe
parents: 2338
diff changeset
3939 Wed Jul 24 05:08:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
6ee55c0f25a9 [project @ 1996-07-24 10:33:09 by jwe]
jwe
parents: 2338
diff changeset
3940
2343
d7592de300ea [project @ 1996-07-24 21:42:44 by jwe]
jwe
parents: 2341
diff changeset
3941 * lsode.cc (Flsode): Don't set the return value if an error
d7592de300ea [project @ 1996-07-24 21:42:44 by jwe]
jwe
parents: 2341
diff changeset
3942 occurred during integration.
2344
968a33af8b3d [project @ 1996-07-24 21:49:32 by jwe]
jwe
parents: 2343
diff changeset
3943 * dassl.cc (Fdassl): Likewise.
2343
d7592de300ea [project @ 1996-07-24 21:42:44 by jwe]
jwe
parents: 2341
diff changeset
3944
2341
6ee55c0f25a9 [project @ 1996-07-24 10:33:09 by jwe]
jwe
parents: 2338
diff changeset
3945 * file-io.cc (symbols_of_file_io): Redefine values of SEEK_SET,
6ee55c0f25a9 [project @ 1996-07-24 10:33:09 by jwe]
jwe
parents: 2338
diff changeset
3946 SEEK_CUR, and SEEK_END for Matlab compatibility.
6ee55c0f25a9 [project @ 1996-07-24 10:33:09 by jwe]
jwe
parents: 2338
diff changeset
3947 * oct-stream.cc (seek): Check for compatible values of ORIGIN arg.
6ee55c0f25a9 [project @ 1996-07-24 10:33:09 by jwe]
jwe
parents: 2338
diff changeset
3948 Also handle "bof", "cof", and "eof".
6ee55c0f25a9 [project @ 1996-07-24 10:33:09 by jwe]
jwe
parents: 2338
diff changeset
3949
2338
18953de8c308 [project @ 1996-07-19 20:28:11 by jwe]
jwe
parents: 2330
diff changeset
3950 Fri Jul 19 15:24:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
18953de8c308 [project @ 1996-07-19 20:28:11 by jwe]
jwe
parents: 2330
diff changeset
3951
18953de8c308 [project @ 1996-07-19 20:28:11 by jwe]
jwe
parents: 2330
diff changeset
3952 * pt-const.cc: When creating octave_value_reps from ComplexMatrix
18953de8c308 [project @ 1996-07-19 20:28:11 by jwe]
jwe
parents: 2330
diff changeset
3953 values, check to see if all the elements are actually real.
18953de8c308 [project @ 1996-07-19 20:28:11 by jwe]
jwe
parents: 2330
diff changeset
3954
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3955 Tue Jul 16 10:53:42 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3956
2341
6ee55c0f25a9 [project @ 1996-07-24 10:33:09 by jwe]
jwe
parents: 2338
diff changeset
3957 * input.cc (decode_prompt_string): Swap meanings of \h and \H.
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3958
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3959 Mon Jul 15 16:01:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3960
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3961 * toplev.cc (run_command_and_return_output): Renamed from do_system.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3962 (Fsystem): Make `system ("emacs")' work as one would expect.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3963
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3964 Sun Jul 14 17:34:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3965
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3966 * file-io.cc (Ffopen, Ffread, Ffwrite): Update doc strings,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3967 correctly handle default architecture and precision args.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3968
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3969 * load-save.cc (mopt_digit_to_float_format): Rename from
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3970 get_floating_point_format.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3971 (float_format_to_mopt_digit): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3972
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3973 * oct-stream.cc (octave_base_stream::read, octave_base_stream::write):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3974 Simplify by calling Matrix::read and Matrix::write to do real work
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3975 of reading, writing, and format conversion.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3976
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3977 * oct-stream.h (octave_base_stream): Move data_type enum to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3978 liboctave/data-conv.h. Use float_format from
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3979 liboctave/mach-info.h instead of arch_type enum.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3980
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3981 * sysdep.h, sysdep.cc (octave_words_big_endian, ten_little_endians):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3982 Delete. Now part of oct_mach_info class in liboctave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3983
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3984 Tue Jul 9 11:18:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3985
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3986 * arith-ops.cc, balance.cc, dassl.cc, data.cc, filter.cc, find.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3987 fsolve.cc, load-save.cc, log.cc, lsode.cc, minmax.cc, npsol.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3988 oct-obj.cc, oct-stream.cc, pr-output.cc, pt-cmd.cc, pt-const.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3989 pt-fvc.cc, pt-plot.cc, quad.cc, rand.cc, sighandlers.cc, sort.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3990 syscalls.cc, unwind-prot.cc, xdiv.cc, xpow.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3991 When indexing arrays, use operator() instead of elem() so that
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3992 bounds checking can be done consistently.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3993
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3994 Mon Jun 24 02:13:27 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3995
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3996 * Makefile.in (install-oct): Use INSTALL_PROGRAM, instead of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3997 INSTALL_DATA for installing shared libraries.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3998
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3999 * lex.l (grab_help_text): Ignore all initial comment characters,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4000 not just the first.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4001 * variables.cc (gobble_leading_white_space): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4002
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4003 Sat Jun 22 22:43:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4004
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4005 * input.h, input.cc (octave_completion_matches_called): New varaible.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4006 (Fcompletion_matches): Set it to true on a successful call.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4007 * toplev.cc (main_loop): If octave_completion_matches_called is
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4008 true, don't increment current_command_number.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4009
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4010 Thu Jun 13 03:52:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4011
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4012 * variables.cc (is_mapper_function_name,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4013 is_builtin_function_name): New functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4014 (Fdocument): Use them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4015 Define as regular function, not a text style function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4016
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4017 Thu Jun 6 00:09:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4018
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4019 * pt-plot.cc: Handle new built-in variable `gnuplot_has_frames'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4020
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4021 Wed Jun 5 14:45:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4022
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4023 * input.cc (decode_prompt_string): \h now means the whole host
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4024 name and \H is the host name up to the first `.'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4025
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4026 Thu May 30 23:41:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4027
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4028 * fn-cache.cc (octave_fcn_file_name_cache::do_list): Always
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4029 recompute the lists of function files instead of trying to cache
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4030 them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4031
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4032 Tue May 28 12:05:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4033
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4034 * utils.cc (warn_old_style_preference): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4035 (check_preference): Use it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4036
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4037 * fn-cache.h: Include <ctime> here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4038
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4039 Fri May 24 00:57:14 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4040
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4041 * input.cc (completion_matches): Don't return empty string_vectors.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4042
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4043 * octave.cc (long_opts): Add braindead.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4044
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4045 Thu May 23 01:49:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4046
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4047 * input.cc (gnu_readline): New optional arg, force_readline.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4048 (get_user_input): Use it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4049
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4050 * pt-const.cc (OCT_VAL_REP::assign): If converting the rhs to a
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4051 numeric value, convert a copy, not the actual object.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4052 (OCT_VAL_REP::do_index): Prevent s([]) from resulting in a string
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4053 with zero rows.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4054
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4055 * mappers.cc: Handle toascii here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4056 * strfns.cc: Not here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4057
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4058 * mappers.cc: Handle tolower and toupper here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4059 * mappers.h: Rename can_return_complex_for_real to flag and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4060 overload meaning for ch_mapper.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4061 * pt-fvc.cc (apply_mapper_fcn): Handle overloaded meaning.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4062
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4063 * syscalls.cc (stat): Return 3 values instead of just 1.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4064 (lstat): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4065
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4066 Wed May 22 02:34:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4067
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4068 * pt-const.cc (OCT_VAL_REP::make_numeric): For string to number
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4069 conversions, correctly set type tag before calling force_numeric.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4070 (do_binary_op): Force string to number conversion if both args are
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4071 strings and we are doing some sort of comparison operation.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4072
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4073 * Makefile.in (stamp-tinst, stamp-interp): Use SH_TERMLIBS and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4074 SH_LIBS instead of TERMLIBS and LIBS.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4075
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4076 * pt-const.cc (do_unary_op): Add special case to handle
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4077 transposing strings.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4078
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4079 * pt-mat.cc (Vstring_fill_char): New variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4080 (symbols_of_pt_mat): DEFVAR it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4081
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4082 * input.cc (generate_struct_completions,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4083 generate_possible_completions): Return string_vector, not char **.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4084 Change all callers.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4085
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4086 * pt-const.cc (lookup_map_element): Use substr() correctly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4087
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4088 Tue May 21 21:37:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4089
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4090 * oct.h: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4091 * Makefile.in (INCLUDES): Add it to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4092
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4093 * octave.cc: New args --no-site-file and --no-init-file. Delete
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4094 --ignore-init-file. The flag --norc (-f) implies both
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4095 --no-site-file and --no-init-file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4096
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4097 Fri May 17 01:54:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4098
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4099 * input.cc (Fcompletion_matches): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4100
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4101 * utils.cc (get_fcn_file_names): Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4102 * help.cc (simple_help): Use new file name cache instead of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4103 calling get_fcn_file_names.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4104 * variables.cc (make_name_list): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4105
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4106 * fn-cache.h, fn-cache.cc, Map-fnc.cc: New files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4107 * Makefile.in: Add them to the lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4108
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4109 * Makefile.in (uninstall): Install in octincludedir, not includedir.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4110
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4111 * pt-plot.h: Include <csignal> here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4112
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4113 Thu May 16 10:52:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4114
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4115 * oct-stream.cc (octave_stream::oscanf, octave_base_stream::oscanf,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4116 octave_base_stream::do_oscanf): New functions for backward
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4117 compatibility with older versions of Octave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4118 (scanf_format_elt, scanf_format_list): Keep track of width specifier.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4119 * file-io.cc (Fscanf): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4120 (Fscanf, Ffscanf, Fsscanf): Handle compatibility arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4121
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4122 Wed May 15 01:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4123
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4124 * oct-stream.cc (do_scanf): If doing '%c' conversion, unset
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4125 ios::skipws on input stream.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4126
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4127 * sighandlers.h, sighandlers.cc (octave_child, octave_child_list):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4128 New classes for keeping track of the child processes we create.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4129 (sigchld_handler): Check in octave_child_list to see if there is
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4130 anything we can do for the child that died.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4131 * pager.cc: Register child pager process.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4132 * pt-plot.cc: Likewise, for the plotter.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4133 * Array-oc.cc: New file
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4134 * Makefile.in (TI_SRC): Add it to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4135
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4136 * pager.cc (do_sync): Don't check error_state.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4137 (flushing_output_to_pager): New static variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4138 (flush_octave_stdout): Use it to avoid doing anything if already
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4139 flushing output.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4140
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4141 * sighandlers.cc (sigchld_handler): Call warning instead of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4142 writing directly to cerr.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4143 (sigpipe_handler): Call warning instead of message.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4144
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4145 * octave.cc (main): Call install_signal_handlers,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4146 initialize_file_io, initialize_symbol_tables, and install_builtins
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4147 before parsing command line options.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4148
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4149 * user-prefs.h, user-prefs.cc: Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4150
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4151 * utils.cc (check_preference): Move here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4152 * user-prefs.cc: From here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4153
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4154 * defaults.cc: New file. Move initialization stuff from
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4155 variables.cc. Move DEFVARS for EDITOR, EXEC_PATH, LOADPATH,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4156 IMAGEPATH, and OCTAVE_VERSION here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4157
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4158 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4159 INFO_FILE and INFO_PROGRAM.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4160 * help.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4161 (symbols_of_help): Add DEFVARS for INFO_FILE and INFO_PROGRAM.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4162
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4163 Tue May 14 00:23:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4164
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4165 * pager.cc (do_sync): Be more defensive about sending stuff to the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4166 external pager.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4167 * sighandlers.cc (sigchld_handler): For now, only wait for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4168 octave_pager_pid. Don't call error(). Do set octave_pager_pid to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4169 -1 if the pager process no longer exists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4170
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4171 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4172 PWD.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4173 * dirfns.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4174 (symbols_of_dirfns): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4175 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4176
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4177 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4178 default_save_format and save_precision.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4179 * load-save.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4180 (symbols_of_load_save): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4181 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4182
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4183 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4184 warn_divide_by_zero.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4185 * arith-ops.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4186 (symbols_of_arith_ops): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4187 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4188
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4189 * mappers.cc: Add wrappers for ctype is* functions so that they
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4190 will work on systems that only define them as macros.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4191
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4192 Mon May 13 00:27:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4193
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4194 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4195 suppress_verbose_help_message.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4196 * help.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4197 (symbols_of_help): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4198 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4199
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4200 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4201 treat_neg_dim_as_zero.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4202 * pt-const.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4203
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4204 * pager.cc (octave_pager_stream::do_sync): Don't return early if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4205 not interactive.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4206
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4207 * data.h: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4208 * Makefile.in (INCLUDES): Add it to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4209 * data.cc (symbols_of_data): New function. Move definition of I,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4210 Inf, J, NaN, e, eps, i, inf, j, nan, pi, realmin, and realmax here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4211 * variables.cc: From here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4212 (install_builtin_variables): Call symbols_of_data.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4213
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4214 * file-io.cc (symbols_of_file_io): New function. Move definition
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4215 of SEEK_CUR, SEEK_END, SEEK_SET, stdin, stdout, stderr here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4216 * variables.cc: From here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4217 (install_builtin_variables): Call symbols_of_file_io.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4218
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4219 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4220 do_fortran_indexing, implicit_str_to_num_ok,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4221 ok_to_lose_imaginary_part, prefer_column_vectors,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4222 prefer_zero_one_indexing, print_answer_id_name,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4223 propagate_empty_matrices, resize_on_range_error, and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4224 struct_levels_to_print.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4225 * pt-const.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4226 (symbols_of_pt_const): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4227 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4228 * pt-fvc.cc (tree_identifier::assign): Use Vresize_on_range_error
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4229 instead of user_pref.resize_on_range_error here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4230 * load-save.cc (save_mat_binary_data): Use Vimplicit_str_to_num_ok
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4231 instead of user_pref.implicit_str_to_num_ok here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4232 * utils.cc (empty_arg): Use Vpropagate_empty_matrices instead of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4233 user_pref.propagate_empty_matrices here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4234 * pt-exp-base.cc (tree_expression::is_logically_true): Likewise..
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4235
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4236 * pt-fcn.cc (symbols_of_pt_fcn): Also move DEFVAR for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4237 default_return_value here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4238
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4239 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4240 ps1, ps2, ps4, and completion_append_char.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4241 * input.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4242 (symbols_of_input): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4243 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4244 * pt-pr-code.cc (indent): Use Vps4 instead of user_pref.ps4 here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4245 * help.cc (Ftype): Also here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4246
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4247 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4248 automatic_replot, gnuplot_binary, and gnuplot_has_multiplot.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4249 * pt-plot.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4250 (symbols_of_pt_plot): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4251 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4252
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4253 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4254 beep_on_error.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4255 * error.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4256 (symbols_of_error): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4257 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4258
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4259 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4260 empty_list_elements_ok.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4261 * pt-mat.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4262 (symbols_of_pt_mat): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4263 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4264
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4265 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4266 define_all_return_values, return_last_computed_value, and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4267 silent_functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4268 * pt-fcn.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4269 (symbols_of_pt_fcn): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4270 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4271
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4272 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4273 whitespace_in_literal_matrix.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4274 * lex.l: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4275 (symbols_of_lex): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4276 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4277
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4278 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4279 warn_assign_as_truth_value, warn_comma_in_global_decl,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4280 warn_function_name_clash, and warn_missing_semicolon.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4281 * parse.y: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4282 (symbols_of_parse): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4283 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4284
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4285 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4286 output_precision, output_max_field_width, print_empty_dimensions,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4287 and split_long_rows.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4288 * pr-output.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4289 (symbols_of_pr_output): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4290 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4291
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4292 * user-prefs.h, user-prefs.cc: Delete all stuff related to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4293 page_screen_output, page_output_immediately, and pager_binary.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4294 * pager.cc: Move all of that here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4295
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4296 * user-prefs.h (check_preference): Provide declaration.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4297 * user-prefs.cc (check_preference): Make external.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4298
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4299 * toplev.cc (Foctave_config_info): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4300
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4301 * oct-conf.h.in: New file
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4302 * Makefile.in (oct-conf.h): New target.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4303 Add it to the appropriate lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4304
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4305 * sighandlers.cc (sigchld_handler): Don't complain about wait
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4306 returning a negative value.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4307
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4308 * file-io.cc (Fsscanf, Fsprintf): Pass true for second arg of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4309 octave_stream constructor.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4310
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4311 * oct-stream.h (octave_stream): New field, preserve.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4312 (octave_stream::~octave_stream): If preserve, don't delete rep.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4313
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4314 * pager.cc (symbols_of_pager): Set default for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4315 page_output_immediately to 0.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4316
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4317 * toplev.cc (do_system): Correctly handle return_output.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4318 Append ends to output_buf before calling str().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4319
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4320 * variables.cc: If M_PI and M_E are available, use them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4321
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4322 * mk-oct-links.in (links_dir): If old link exists, delete it first.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4323
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4324 Sun May 12 01:46:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4325
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4326 * Makefile.in (DISTFILES): List defaults.h.in and oct-gperf.h here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4327 (INCLUDES): Not here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4328 (install-inc): New target.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4329 (uninstall): Also delete libraries and include files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4330 (install-inc): If linkdir is a directory, leave it alone.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4331 (TERMLIBS, LIBPLPLOT, LIBDLFCN): Don't substitute here (now in
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4332 Makeconf).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4333
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4334 * oct-stream.cc (octave_base_stream::do_read): Provide initial
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4335 value for tmp var.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4336
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4337 * pt-walk.h, pt-pr-code.h, pt-pr-code.cc: New tree-walking classes.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4338 * Makefile.in: Add them to the appropriate lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4339 * pt-fvc-base.h, pt-exp-base.cc, pt-fvc-base.cc, pt-mvr-base.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4340 pt-base.cc, pt-mvr.cc, pt-mat.h, pt-mat.cc, pt-fvc.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4341 pt-const.cc, pt-cmd.cc, pt-const.h, pt-misc.cc, pt-plot.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4342 pt-fcn.cc, pt-plot.h, pt-mvr.h, pt-mvr-base.h, pt-misc.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4343 pt-fcn.h, pt-exp.h, pt-exp.cc, pt-exp-base.h, pt-fvc.h, pt-cmd.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4344 pt-base.h:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4345 Replace print_code stuff with accept() functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4346 Add member access functions where necessary.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4347 * help.cc (Ftype): Update to use new method of walking trees to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4348 print text representation of user-defined functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4349
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4350 * file-io.cc (Ffscanf): Update doc string.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4351 (Fsscanf): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4352
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4353 * oct-stream.cc (octave_base_stream::do_read): Correctly set max_size.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4354 Pad mval with zeros on final resize.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4355 (octave_base_stream::do_scanf): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4356 (do_scanf_conv): Correctly resize mval.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4357
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4358 Sat May 11 05:14:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4359
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4360 * pager.cc (octave_pager_buf::sync): Correctly set bypass_pager.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4361
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4362 * lex.l (<MATRIX>{SNLCMT}*\]{S}*): Match SNLCMT, not just SNL.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4363
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4364 Fri May 3 11:05:30 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4365
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4366 * pt-const.cc (OCT_VAL_REP::set_index): Complain if type can't be
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4367 indexed.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4368
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4369 * input.cc (get_user_input): Don't increment input line number if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4370 input is coming from eval string.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4371
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4372 * user-prefs.cc: Allow empty strings for prompts.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4373
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4374 Thu May 2 10:50:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4375
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4376 * pt-mvr.h (class tree_oct_obj): Declare values data member const.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4377
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4378 Sun Apr 28 03:16:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4379
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4380 * user-prefs.h (user_preferences): New field,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4381 `page_output_immediately'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4382 * user-prefs.cc (init_user_prefs): Initialize it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4383 (page_output_immediately): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4384 * pager.cc (syms_of_pager): Add DEFVAR.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4385 (really_flush_to_pager): New file-scope variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4386 (flush_octave_stdout): Set and restore it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4387 (octave_pager_buf::sync): Check it, user_pref.page_screen_output,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4388 and user_pref.page_output_immediately to decide when to really
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4389 flush output.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4390 (more_than_a_screenful): New function. If paging but not
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4391 immediately, then check this too.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4392
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4393 * pager.cc (default_pager): Move here from variables.cc. If pager
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4394 is less and LESS is not in the environment, append useful flags.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4395 (symbols_of_pager): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4396 * variables.cc (install_builtin_variables): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4397 Delete pager-related DEFVARs.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4398
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4399 * syswait.h (WIFSIGNALLED): Define if sys/wait.h doesn't.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4400
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4401 * sighandlers.cc: Handle SIGCHLD.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4402
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4403 * pager.cc, pager.h: Rewrite.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4404 * pt-mvr.cc, pt-misc.cc, pt-fcn.cc, pt-const.cc, oct-hist.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4405 file-io.cc, help.cc, variables.cc, qpsol.cc, dassl.cc, quad.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4406 npsol.cc, lsode.cc, fsolve.cc, load-save.cc, dirfns.cc, octave.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4407 toplev.cc, error.cc, input.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4408 Write to octave_stdout and octave_diary instead of calling
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4409 maybe_page_output() or maybe_write_to_diary_file().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4410
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4411 * oct-procbuf.h, oct-procbuf.cc: New files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4412 * procstream.h (class procstreambase): Use octave_procbuf instead
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4413 of procbuf from libg++, so we can get pids of subprocesses.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4414
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4415 Fri Apr 26 01:21:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4416
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4417 * pt-const.cc (OCT_VAL_REP::do_index): Call maybe_mutate() before
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4418 returning.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4419
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4420 * mappers.h (struct Mapper_fcn): Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4421 (struct builtin_mapper_function): New field ch_mapper.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4422 * pt-fvc.h (tree_builtin): Convert type of mapper_fcn from
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4423 Mapper_fcn to builtin_mapper_function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4424 * variables.cc (install_builtin_mapper): Likewise, for arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4425 Simplify, since we don't have to do the copying ourselves now.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4426 * pt-fvc.cc (apply_mapper_function): Handle ch_mapper case.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4427 * defun.h (DEFUN_MAPPER): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4428 * mappers.cc (install_builtin_mappers): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4429 Add ctype is* functions here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4430
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4431 Thu Apr 25 00:57:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4432
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4433 * arith-ops.h, defun-int.h, defun.h, dynamic-ld.h, gripes.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4434 load-save.h, oct-map.h, oct-obj.h, oct-stream.h, pt-cmd.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4435 pt-const.h, pt-exp-base.h, pt-exp.h, pt-fcn.h, pt-fvc-base.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4436 pt-fvc.h, pt-mat.h, pt-misc.h, pt-mvr-base.h, pt-mvr.h, pt-plot.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4437 symtab.h, toplev.h, utils.h, variables.h, xpow.h, Array-tc.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4438 Map-i.cc, Map-tc.cc, SLList-tc.cc, arith-ops.cc, balance.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4439 bogus.cc, chol.cc, colloc.cc, dassl.cc, data.cc, det.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4440 dirfns.cc, eig.cc, error.cc, expm.cc, fft.cc, fft2.cc, file-io.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4441 filter.cc, find.cc, fsolve.cc, fsqp.cc, givens.cc, gripes.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4442 help.cc, hess.cc, ifft.cc, ifft2.cc, input.cc, inv.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4443 load-save.cc, log.cc, lpsolve.cc, lsode.cc, lu.cc, minmax.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4444 npsol.cc, oct-hist.cc, oct-obj.cc, oct-stream.cc, pager.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4445 pinv.cc, pr-output.cc, pt-cmd.cc, pt-const.cc, pt-exp-base.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4446 pt-exp.cc, pt-fcn.cc, pt-fvc-base.cc, pt-fvc.cc, pt-mat.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4447 pt-misc.cc, pt-mvr-base.cc, pt-mvr.cc, pt-plot.cc, qpsol.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4448 qr.cc, quad.cc, qzval.cc, rand.cc, resource.cc, schur.cc, sort.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4449 strfns.cc, svd.cc, syl.cc, symtab.cc, syscalls.cc, sysdep.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4450 timefns.cc, toplev.cc, utils.cc, variables.cc, xpow.cc, parse.y:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4451 Rename tree_constant -> octave_value.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4452 Rename Octave_object -> octave_value_list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4453
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4454 Wed Apr 24 22:15:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4455
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4456 * toplev.cc (Fsystem): Merge functionality of async_system and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4457 sync_system.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4458
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4459 * oct-fstrm.h, oct-iostrm.h, oct-prcstrm.h, oct-stdstrm.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4460 oct-stream.h, oct-strstrm.h, oct-fstrm.cc, oct-iostrm.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4461 oct-prcstrm.cc, oct-stdstrm.cc, oct-stream.cc, oct-strstrm.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4462 Array-os.cc: New files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4463 * Makefile.in: Add them to the appropriate lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4464 * file-io.cc: Rewrite to use new stream classes.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4465
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4466 Tue Apr 23 18:59:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4467
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4468 * gripes.cc (gripe_not_supported): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4469
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4470 * toplev.cc (do_octave_atexit, Fatexit): New functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4471 (octave_atexit_functions): New file-scope variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4472 * octave.cc (main): Register do_octave_atexit with atexit.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4473
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4474 * variables.cc (install_builtin_variables): Call
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4475 symbols_of_syscalls here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4476
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4477 * syscalls.h, syscalls.cc: New files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4478
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4479 Mon Apr 22 21:14:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4480
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4481 * syscalls.cc: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4482 (Flstat, Fmkfifo, Fstat, Funlink, Fwait, Fwaitpid): Move here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4483 * file-io.cc: From here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4484 * Makefile.in (SOURCES): Add syscalls.cc to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4485
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4486 Wed Apr 17 18:34:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4487
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4488 * file-info.h, file-info.cc: Delete files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4489 * Makefile.in: Remove from lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4490
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4491 * toplev.cc (Fquit): Accept exit status argument.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4492 (Fflops): Delete (now a function file).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4493
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4494 Thu Apr 11 16:20:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4495
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4496 * lex.l: Recognize `.'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4497 Update current_input_column even for unrecognized characters.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4498 Return LEXICAL_ERROR for unrecognized characters.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4499
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4500 Mon Apr 8 19:59:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4501
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4502 * variables.cc (install_builtin_variables): Split into several
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4503 functions to make compiling with g++ go faster and consume less
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4504 memory.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4505
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4506 Sun Apr 7 16:25:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4507
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4508 * load-save.cc (Fsave): Print usage if i == argc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4509 (Fload): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4510
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4511 Sat Apr 6 21:26:49 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4512
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4513 * Makefile.in (clean): Also delete pic/*.o
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4514 (maintainer-clean, distclean): Also remove stamp-picdir,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4515 stamp-tinst, stamp-interp, and pic directory.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4516 (stamp-prereq): New target.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4517
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4518 Wed Apr 3 11:19:30 1996 Rick Niles <niles@axp745.gsfc.nasa.gov>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4519
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4520 * resource.cc: Don't make including sys/resource.h and sys/times.h
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4521 mutually exclusive.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4522
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4523 Fri Mar 29 13:43:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4524
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4525 * Makefile.in (distclean): Delete so_locations, which is created
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4526 on DEC Alpha systems.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4527
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4528 Thu Mar 28 02:53:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4529
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4530 * utils.h (undo_string_escape): Provide extern declaration here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4531
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4532 * lex.l (NL): Allow \r\n as new line character.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4533 (.): Complain if invalid character is found on input
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4534
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4535 Fri Mar 22 03:47:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4536
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4537 * resource.cc (getrusage): If getrusage is missing, try using
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4538 times to at least fill in the cpu time values. If neither one is
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4539 available, return 0 for cpu times instead of NaN.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4540
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4541 * sighandlers.cc (octave_signal_mask): New file-scope variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4542 (octave_save_signal_mask, octave_restore_signal_mask): New functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4543 * toplev.cc (main_loop): Use them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4544
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4545 Wed Mar 20 01:21:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4546
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4547 * utils.cc (get_fcn_file_names (const string&, int)): Resize
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4548 retval to value of k, not i.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4549 (get_fcn_file_names (int)): In loop for copying names to retval,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4550 don't increment j twice.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4551
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4552 Mon Mar 18 22:27:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4553
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4554 * Makefile.in ($(MAKEDEPS)): Depend on oct-gperf.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4555
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4556 Fri Mar 1 18:15:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4557
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4558 * fsolve.cc (fsolve_options): Delete unused argument nargout.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4559
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4560 * filter.cc: Use MArray instead of Array so that automatic
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4561 conversions will work again.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4562
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4563 Tue Feb 27 04:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4564
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4565 * variables.cc (looks_like_octave_copyright): Make the strings
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4566 that we are trying to match both have length 29.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4567
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4568 * Makefile.in (install-bin): Use $(INSTALL_PROGRAM), not $(INSTALL).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4569
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4570 * load-save.cc (read_mat_binary_data): Make sure name is
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4571 NUL terminated.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4572
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4573 Mon Feb 26 18:18:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4574
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4575 * variables.cc (whos): Make argv from tmp_args, not args.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4576
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4577 * defun.h (DEFCONSTX): Don't stringify name.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4578
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4579 Sat Feb 24 01:12:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4580
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4581 * Makefile.in (install-oct): Make mk-oct-links executable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4582 * mk-oct-links.in (links_dir): Update to match new format of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4583 DEFUN_DLD_BUILTIN macro. Use LN_S, not just LN.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4584 (links_dir):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4585
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4586 * pr-output.cc (octave_print_internal): New arg, extra_indent, for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4587 versions of this function that take matrices and ranges.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4588 * pt-const.cc (TC_REP::print (ostream&)): Fix printing of structures.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4589 Pass struct_indent to octave_print_internal as appropriate.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4590 (print_with_name (ostream&, const string&, bool)): Handle spacing
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4591 around `=' differently for structures.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4592
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4593 Fri Feb 23 04:51:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4594
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4595 * token.cc (token (double, const string&, int, int)): Store orig_text.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4596
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4597 Tue Feb 20 20:36:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4598
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4599 * variables.cc (Fclear): Fix off-by-one error.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4600
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4601 Sat Feb 17 16:54:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4602
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4603 * oct-hist.cc (default_history_file): Append "/.octave_hist" to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4604 return value, not to home_directory.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4605
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4606 Fri Feb 16 18:10:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4607
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4608 * utils.cc: (NINT, D_NINT): Move to liboctave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4609
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4610 * sysdep.cc (octave_ieee_init): Move to liboctave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4611
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4612 * procstream.h, procstream.cc: Rewrite.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4613
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4614 * pager.cc (cleanup_oprocstream): New static function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4615 * toplev.cc (cleanup_iprocstream): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4616 * dirfns.cc (cleanup_iprocstream): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4617
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4618 * unwind-prot.cc (matrix_cleanup, complex_matrix_cleanup): Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4619
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4620 Thu Feb 15 22:03:28 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4621
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4622 * oct-obj.cc, oct-obj.h: Move most code to the header.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4623
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4624 * oct-obj.cc (make_argv, all_strings): New member functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4625 * utils.cc: Moved from here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4626
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4627 * load-save.cc: Move byte swapping stuff to liboctave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4628 Move float format conversion stuff to liboctave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4629 (all_parts_int, too_large_for_float): Move to liboctave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4630
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4631 * symtab.cc (valid_identifier): Move here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4632 * load-save.cc: From here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4633
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4634 * sysdep.cc: Move floating-point format stuff to liboctave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4635 * pr-output.cc: Include float-fmt.h here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4636
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4637 Wed Feb 14 01:49:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4638
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4639 * defun.h, defun-dld.h, defun-int.h: Simplify interface for DEFUN,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4640 DEFUN_DLD, DEFVAR, and DEFCONST macros. Change all uses.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4641
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4642 * qzval.cc: Move guts to liboctave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4643
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4644 Tue Feb 13 10:28:27 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4645
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4646 * variables.cc (parse_fcn_file): Also avoid saving history if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4647 input is from a script file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4648
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4649 * help.cc (Ftype): Call unwind_protect_str for user_pref.ps4.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4650
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4651 * npsol.cc (nonlinear_constraints_ok): Now static.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4652
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4653 * npsol.cc (linear_constraints_ok): Now static.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4654 * qpsol.cc (linear_constraints_ok): Duplicate here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4655
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4656 * data.cc (Flinspace): Don't print usage message if nargin == 2.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4657
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4658 Sun Feb 11 14:20:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4659
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4660 * mk-oct-links.in: Rename from mk-oct-links.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4661 (LN_S): Use this variable instead of ln.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4662 Set -e option for shell.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4663 Exit with status of last command.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4664 Print message when making link.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4665 * Makefile.in (DISTFILES): Add mk-oct-links.in to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4666 (install-oct): Run ./mk-oct-links, not $(srcdir)/mk-oct-links.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4667
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4668 * variables.cc (install_builtin_variables): Restore accidentally
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4669 deleted DEFVAR for save_precision.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4670
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4671 Fri Feb 9 11:24:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4672
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4673 * Makefile.in (INCLUDES): Delete statdefs.h from the list (it's
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4674 now in the liboctave directory).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4675
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4676 * toplev.cc (toplevel): Define here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4677 * octave.cc (toplevel): Not here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4678
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4679 * toplev.cc (main_loop): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4680 * octave.cc (main): Call it here instead of doing main loop
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4681 actions here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4682
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4683 * user-prefs.cc (do_fortran_indexing): Also set liboctave_dfi_flag.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4684 (prefer_column_vectors): Also set liboctave_pcv_flag.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4685 (prefer_zero_one_indexing): Also set liboctave_pzo_flag.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4686 (resize_on_range_error): Also set liboctave_rre_flag.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4687
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4688 * variables.cc (restore_command_history): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4689 (parse_fcn_file): Use it here in unwind_protect.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4690
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4691 * dynamic-ld.cc (load_octave_oct_file): Reverse sense of test.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4692 (load_octave_builtin): Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4693 (mangle_octave_oct_file_name): Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4694
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4695 * pt-fvc.cc (tree_builtin::eval): Don't try to dynamically load
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4696 functions here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4697
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4698 * pr-output.cc (set_format_style): Decrement argc for first arg too.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4699
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4700 * input.cc (gnu_readline): If readline returns an empty string,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4701 convert it to a string containing a single newline character.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4702
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4703 * octave.cc (octave_argv): Now a static string_vector.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4704 (intern_argv): Use string_vector ops, not charMatrix ops.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4705 * toplev.cc (octave_argv): Delete definition.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4706 * toplev.h (octave_argv): Delete declaration.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4707
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4708 Thu Feb 8 10:58:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4709
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4710 * Makefile.in (conf-dist): New target.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4711
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4712 Tue Feb 6 10:59:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4713
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4714 * help.cc (Ftype): Correctly handle structure names.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4715
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4716 Sun Feb 4 02:02:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4717
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4718 * qpsol.cc (Fqpsol): Call set_options(), not copy() to set
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4719 options for QPSOL objects.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4720
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4721 * npsol.cc (Fnpsol): Call set_options(), not copy() to set
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4722 options for NPSOL objects.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4723
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4724 * quad.cc (Fquad): Call set_options(), not copy() to set
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4725 options for Quad objects.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4726
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4727 * dynamic-ld.cc (load_octave_builtin): Don't call destructor on string.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4728 (load_octave_oct_file): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4729 Check oct_file.empty(), not just oct_file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4730
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4731 * fsolve.cc (Ffsolve): Call set_options(), not copy() to set
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4732 options for NLEqn object.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4733
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4734 * variables.cc (do_who): Properly set match patterns from argument
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4735 vector for call to maybe_list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4736
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4737 Sat Feb 3 03:29:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4738
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4739 * octave.cc (long_opts): Properly set second field using new enum.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4740
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4741 * lsode.cc: Change ODE to LSODE where appropriate.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4742 Use LSODE_options, not ODE_options.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4743
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4744 * dassl.cc: Change DAE to DASSL where appropriate.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4745 Use DASSL_options, not ODE_options.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4746
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4747 Fri Feb 2 01:41:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4748
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4749 * dirfns.cc: Include unistd.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4750
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4751 * parse.y, lex.l: Handle matrix lists without ml or mlnm stacks.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4752 * pt-mat.h, pt-mat.cc (tree_matrix):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4753 Rewrite to use SLList instead of home brew list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4754 * SLList-tm.cc: New file
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4755 * Makefile.in: Add it to the lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4756 * SLStack-tm.cc: Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4757 * Makefile.in: Delete it from the lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4758
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4759 * All pt-* files: Use bool instead of int where appropriate.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4760
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4761 * Makefile.in (DEP_SOURCES_3): Add octave.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4762
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4763 * pt-const.h (class tree_constant::tree_constant_rep): Make
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4764 everything in this class public, then it doesn't need to declare
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4765 the tree_constant class as a friend.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4766
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4767 Thu Feb 1 01:42:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4768
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4769 * lex.h, lex.l, parse.h, parse.y (class lexical_feedback): New
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4770 class for lexer flags. Replace lots of global vars with members
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4771 of this class.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4772
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4773 * lex.l (class brace_paren_nesting_level): New class to replace
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4774 nesting_level stack. nesting_level is now an instance of this
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4775 class.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4776
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4777 * lex.l (yum_yum): New typedef.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4778 (ATE_NOTHING): New global var.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4779 (ATE_SPACE_OR_TAB, ATE_NEWLINE): Don't #define these, declare them
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4780 as const yum_yum.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4781 (eat_whitespace, eat_continuation): Return yum_yum, not int.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4782
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4783 * lex.l (SHORT_CIRCUIT_LOGICALS): Delete. Always do this for ||
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4784 and && tokens.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4785 (yy_flex_alloc, yy_flex_realloc, yy_flex_free, next_char_is_space):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4786 Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4787
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4788 * toplev.cc (verbose_flag): Delete definition.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4789 * toplev.h (verbose_flag): And declaration.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4790 * octave.cc (verbose_flag): Now static.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4791
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4792 * lex.l (lookup_identifier): Arg is now string, not char*.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4793 (handle_identifier, is_plot_keyword, is_keyword): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4794 (strip_trailing_whitespace): Return value is now string, not char*.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4795 (plot_style_token): Likewise, for both arg and return value.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4796
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4797 * input.cc (octave_gets_line): Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4798 (gnu_readline, octave_gets, octave_read):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4799 Properly handle input when using_readline is either true or false.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4800 Don't limit length of input lines to flex buffer size.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4801 (get_user_input): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4802
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4803 * octave.cc (main): Handle --no-line-editing.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4804 * toplev.h (using_readline): Provide external declaration here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4805 * input.h: Not here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4806 * toplev.cc (using_readline): Define here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4807 * input.cc: Not here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4808
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4809 * toplev.h (no_line_editing): Delete declaration.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4810 * input.cc (no_line_editing): Delete definition.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4811
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4812 Wed Jan 31 05:28:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4813
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4814 * input.cc (DEFAULT_ARRAY_SIZE, PROMPT_GROWTH): Delete definitions
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4815 of unused macros.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4816 (read_octal): Now static.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4817
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4818 * givens.cc (Fgivens): Use new functions from matrix classes
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4819 instead of calling Fortran functions directly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4820 * syl.cc (Fsyl): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4821 * expm.cc (Fexpm): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4822
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4823 Mon Jan 29 00:00:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4824
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4825 * octave.cc: Use new prog_args class instead of calling getopt
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4826 directly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4827
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4828 * getopt.h, getopt.c, getopt1.c: Move to liboctave directory.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4829 * Makefile: Remove from lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4830
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4831 * utils.cc (strconcat, read_until, discard_until): Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4832
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4833 * pager.cc (terminal_columns, terminal_rows): Move to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4834 liboctave/oct-term.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4835 * pager.cc, pr-output.cc: Include oct-term.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4836
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4837 * utils.cc (list_in_columns): Moved to liboctave/str-vec.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4838 Change all callers to use new member function syntax.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4839
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4840 * dirfns.cc (absolute_program): Now static.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4841 (absolute_pathname): Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4842
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4843 * pt-plot.cc (save_in_tmp_file): Call oct_tempnam, not
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4844 octave_tmp_file_name. Include file-ops.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4845 * file-io.cc (do_scanf, Foctave_tmp_file_name): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4846 * oct-hist.cc (mk_tmp_hist_file): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4847
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4848 * file-io.cc (Foctave_tmp_file_name): Move here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4849 * utils.cc: From here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4850
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4851 * utils.cc (octave_tmp_file_name): Move to liboctave/file-ops.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4852
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4853 * tempname.c, tempnam.c: Move to liboctave directory.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4854 * Makefile.in: Remove from lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4855
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4856 Sun Jan 28 19:00:52 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4857
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4858 * xdiv.cc (all xdiv functions): Return Matrix or ComplexMatrix,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4859 not tree_constant.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4860
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4861 * oct-hist.h, oct-hist.cc, toplev.cc, octave.cc, input.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4862 file-io.cc, user-prefs.cc: Rewrite to use new command_history
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4863 class instead of calling readline history functions directly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4864
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4865 * utils.cc (get_fcn_file_names): Delete num arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4866
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4867 Thu Jan 25 20:33:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4868
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4869 * load-save.cc (matches_patterns): Use new glob_match class
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4870 instead of calling fnmatch directly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4871 * symtab.cc (matches_patterns, symbol_table::glob): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4872 * variables.cc (Fclear): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4873
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4874 Wed Jan 24 02:05:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4875
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4876 * fnmatch.h fnmatch.c: Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4877 * Makefile.in: Add glob stuff in the appropriate places, remove
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4878 fnmatch.h and fnmatch.c from lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4879
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4880 * octave.cc (program_invocation_name, program_invocation_short_name):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4881 Maybe declare.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4882 (initialize_globals): Maybe initialize them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4883
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4884 * octave.cc (initialize_pathsearch): Define here, not in pathsearch.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4885 * pathsearch.h, pathsearch.cc: Remove files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4886 * Makefile.in: Remove them from the lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4887
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4888 * help.cc (simple_help): Ignore directories that don't have any .m
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4889 or .oct files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4890
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4891 * utils.cc (search_path_for_file): Use new dir_path class instead
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4892 of calling kpathsea routines directly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4893 (get_fcn_file_names): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4894 * help.cc (simple_help): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4895
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4896 * dirfns.cc (make_absolute): Don't convert empty arg to "./".
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4897
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4898 * sysdir.h: Move to liboctave directory.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4899 * Makefile.in: Remove from lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4900
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4901 * dirfns.cc (Freaddir): Use new dir_entry class instead of calling
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4902 readdir directly. Include dir-ops.h, not sysdir.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4903 * utils.cc (get_fcn_file_names): Likewise. Delete unnecessary
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4904 first arg, change all callers.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4905
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4906 Tue Jan 23 00:43:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4907
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4908 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4909 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4910 Files moved to liboctave directory.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4911 * Makefile.in: Remove them from lists. Move appropriate rules.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4912
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4913 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4914 Files moved to liboctave directory.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4915 * Makefile.in: Remove them from lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4916 * missing-math.h: Deleted.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4917 * pr-output.cc, sysdep.cc, minmax.cc, mappers.cc, expm.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4918 arith-ops.cc: Include oct-math.h, not cmath or missing-math.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4919
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4920 Mon Jan 22 19:33:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4921
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4922 * variables.cc (Fexist): Use file_stat instead of calling stat
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4923 directly. Include file-ops.h, not statdefs.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4924 * octave.cc (execute_startup_files): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4925 * file-io.cc (file_io_get_file, fopen_internal, popen_internal, Fstat):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4926 Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4927 (mk_stat_map): Likewise, use file_stat object, not struct stat.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4928 * oct-hist.cc (do_history): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4929
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4930 * file-ops.h, file-stat.cc: New files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4931 * Makefile.in: Include them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4932 * dirfns.cc: Delete is_newer. Don't include statdefs.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4933 * toplev.cc: Don't include statdefs.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4934
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4935 Sun Jan 21 22:48:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4936
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4937 * pt-mvr.h, pt-fvc.h, Map.cc, Map.h, dynamic-ld.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4938 pt-fvc-base.cc, SLList-str.cc, pt-fcn.h, pt-fvc-base.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4939 SLStack-str.cc, pt-mvr.cc, pt-exp.cc, token.h, token.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4940 user-prefs.h, pt-base.cc, user-prefs.cc, dirfns.h, sysdep.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4941 sysdep.cc, input.h, parse.h, lex.l, parse.y, defun.h, mappers.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4942 pt-fvc.cc, pt-plot.h, load-save.h, octave.cc, defun-int.h, help.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4943 variables.h, oct-map.h, oct-obj.h, oct-obj.cc, pt-const.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4944 oct-map.cc, input.cc, symtab.h, pt-const.h, pathsearch.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4945 pr-output.h, pr-output.cc, toplev.h, timefns.cc, schur.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4946 pt-plot.cc, pager.cc, load-save.cc, dynamic-ld.cc, dirfns.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4947 data.cc, file-info.h, file-info.cc, colloc.cc, utils.h, qpsol.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4948 quad.cc, npsol.cc, lsode.cc, fsolve.cc, dassl.cc, file-io.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4949 help.cc, utils.cc, oct-hist.h, oct-hist.cc, symtab.cc, toplev.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4950 pt-fcn.cc, unwind-prot.h, unwind-prot.cc, variables.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4951 Most functions in these files that deal with character strings
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4952 have been converted to use the string class insatead of char*. If
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4953 you want more detailed information, you'll have to figure it out
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4954 for yourself.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4955
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4956 Sat Jan 20 18:19:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4957
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4958 * dynamic-ld.cc [WITH_DL]: Define RTLD_LAZY to be 1 if it is not
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4959 already defined.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4960
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4961 Sun Jan 14 07:48:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4962
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4963 * pt-const.cc (print_as_scalar, print_as_structure):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4964 Make these member functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4965 (tree_constant::print_with_name): New function, moved here from
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4966 old tree-expr.cc file (where it was called print_constant) and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4967 converted to member function. Change all callers.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4968
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4969 Fri Jan 12 01:54:49 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4970
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4971 * octave.cc (initialize_globals): Don't do kpathsearch stuff here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4972 (main): Call initialize_pathsearch() here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4973
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4974 * pathsearch.cc: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4975 * Makefile.in (SOURCES): Add it to the list
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4976
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4977 * oct-hist.h: Rename from octave-hist.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4978 * oct-hist.cc: Rename from octave-hist.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4979 * Makefile.in, parse.y, other .cc files: Cope with it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4980
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4981 * dynamic-ld.cc: Avoid warnings if !WITH_DYNAMIC_LINKING.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4982
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4983 * load-save.cc (save_ascii_data): string::data() returns const char*.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4984
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4985 * utils.h: Don't provide forward declaration for tree_constant.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4986
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4987 * oct-obj.h: Don't include mx-base.h or provide forward
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4988 declarations for Matrix and Range types.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4989
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4990 * file-info.h: Don't include oct-obj.h. Do include cstdio.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4991
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4992 * symtab.h: Don't provide forward declaration for ostream.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4993
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4994 * variables.h: Don't provide forward declarations for istream,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4995 ostrstream, tree, builtin_function, or builtin_variable objects.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4996
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4997 * balance.cc, chol.cc, colloc.cc, dassl.cc, det.cc, eig.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4998 expm.cc, fft.cc, fft2.cc, filter.cc, find.cc, fsolve.cc, fsqp.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4999 givens.cc, hess.cc, ifft.cc, ifft2.cc, inv.cc, log.cc, lpsolve.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5000 lsode.cc, lu.cc, minmax.cc, npsol.cc, pinv.cc, qpsol.cc, qr.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5001 quad.cc, qzval.cc, rand.cc, schur.cc, sort.cc, svd.cc, syl.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5002 Clean up #include statements.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5003
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5004 * pt-const.h: Don't include oct-obj.h or tree-base.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5005 Provide forward declaration of Octave_object here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5006 * pt-const.cc: Include oct-obj.h here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5007
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5008 * pt-mat.h, pt-fcn.h, pt-const.h, pt-misc.h, pt-plot.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5009 pt-exp-base.h, pt-cmd.h, pt-fvc-base.h, pt-mvr-base.h, pt-exp.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5010 pt-mvr.h, pt-fvc.h: New files, split from tree-expr.h and/or
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5011 renamed from other tree-*.h files (pt == parse tree).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5012 * pt-base.cc, pt-const.cc, pt-exp.cc, pt-fvc-base.cc, pt-mat.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5013 pt-mvr-base.cc, pt-plot.cc, pt-cmd.cc, pt-exp-base.cc, pt-fcn.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5014 pt-fvc.cc, pt-misc.cc, pt-mvr.cc: Likewse, split from tree-expr.cc
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5015 and/or other tree-*.cc files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5016 * Makefile.in: Include them in the appropriate lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5017 * All: Fix #include statements to match.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5018
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5019 * Array-tc.cc: Don't instantiate ArrayRep objects.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5020
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5021 Thu Jan 11 02:35:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5022
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5023 * tree-const.cc (tree_constant::eval (int, int, const Octave_object&)):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5024 Define here instead of in tree-const.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5025
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5026 Wed Jan 10 04:34:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5027
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5028 * tree-const.h (tree_constant::tree_constant (const string&):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5029 * tree-const.cc (TC_REP::tree_constant_rep (const string&)):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5030 New constructor.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5031
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5032 Tue Jan 9 04:10:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5033
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5034 * rand.cc (do_rand): Use string_value() result directly instead of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5035 c_str() conversion.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5036 * balance.cc (Fbalance): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5037
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5038 * tree-const.cc (TC_REP::string_value()):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5039 Handle new definition of charMatrix::row_as_string()
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5040 * load-save.cc (save_ascii_data): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5041 (save_binary_data): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5042 * pr-output.cc (octave_print_internal): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5043
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5044 * balance.cc (Fbalance):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5045 Handle new definition of TC_REP::string_value()
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5046 * colloc.cc (Fcolloc): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5047 * dassl.cc (Fdassl_options): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5048 * data.cc (Fstruct_contains): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5049 * dirfns.cc (Fmkdir): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5050 (Freaddir): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5051 (Frmdir): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5052 (Frename): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5053 * error.cc (handle_message): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5054 * file-io.cc (process_printf_format): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5055 (fopen_internal): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5056 (file_io_get_file): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5057 (return_valid_file): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5058 (Flstat): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5059 (Fstat): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5060 (unlink_internal): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5061 (mkfifo_internal): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5062 (async_system_internal): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5063 (sync_system_internal): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5064 (execute_internal): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5065 (popen_internal): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5066 (fwrite_internal): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5067 (fread_internal): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5068 (do_printf): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5069 (do_scanf): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5070 * input.cc (get_user_input): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5071 * lsode.cc (Flsode_options): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5072 * npsol.cc (Fnpsol_options):Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5073 * qpsol.cc (Fqpsol_options):Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5074 * quad.cc (Fquad_options): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5075 * rand.cc (do_rand): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5076 * schur.cc (Fschur): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5077 * sysdep.cc (Fputenv): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5078 (Fgetenv): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5079 * timefns.cc (extract_tm): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5080 (Fstrftime): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5081 * toplev.cc (Fsource): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5082 (eval_string): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5083 (Fsystem): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5084 * tree-plot.cc (subplot::handle_plot_data): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5085 * variables.cc (is_valid_function): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5086 (Fis_global): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5087 (Fexist): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5088 (builtin_string_variable): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5089 * utils.cc (make_argv): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5090 (Fundo_string_escapes): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5091
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5092 Mon Jan 8 01:54:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5093
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5094 * Makefile.in (install-bin): Use $(LN_S), not just ln.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5095
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5096 * variables.cc (octave_fcn_file_dir): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5097 * tree-expr.cc (mark_as_system_fcn_file): Use it instead of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5098 octave_lib_dir.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5099
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5100 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5101
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5102 * pr-output.cc (set_format (const ComplexMatrix&, int&, int&)):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5103 Unconditionally call all_elements_are_int_or_inf_or_nan().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5104 (set_format (const Matrix&, int&, int&)): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5105
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5106 Sun Jan 7 19:12:39 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5107
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5108 * utils.cc (oct_putenv): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5109 * sysdep.cc (Fputenv): Use oct_putenv.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5110 * octave.cc (initialize_globals): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5111
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5112 Sat Jan 6 23:22:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5113
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5114 * sysdep.cc (Fputenv): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5115
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5116 * input.cc (initialize_readline): Call rl_initialize() here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5117
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5118 * octave.cc: Conditionally define atexit to be on_exit here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5119 * toplev.cc: Not here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5120
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5121 Fri Jan 5 14:01:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5122
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5123 * toplev.cc: Don't include <pwd.h> here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5124
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5125 * octave-hist.cc, tree-plot.cc, utils.cc: Do include "sysdep.h".
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5126
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5127 * dirfns.cc, file-io.cc, help.cc, load-save.cc, octave.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5128 octave-hist.cc, tree-plot.cc, utils.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5129 Don't include <readline/tilde.h>.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5130 * sysdep.h: Do include it here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5131
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5132 * tree-const.cc (TC_REP::assign (tree_constant&, Octave_object&)):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5133 If we have a matrix or range, call maybe_mutate before returning.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5134
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5135 Sun Dec 31 15:56:18 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5136
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5137 * npsol.cc (Fnpsol): Improve doc string.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5138 * qpsol.cc (Fqpsol): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5139
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5140 Fri Dec 29 21:46:58 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5141
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5142 * defun-dld.h: Make work again for OCTAVE_LITE and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5143 WITH_DYNAMIC_LINKING.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5144
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5145 * Makefile.in: Handle shared libraries.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5146
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5147 Wed Dec 27 17:47:51 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5148
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5149 * mk-oct-links: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5150 * Makefile.in (install-oct): Use it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5151 * f-*.cc: Rename to *.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5152
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5153 * Makefile.in (install-bin, install-lib, install-oct): New targets.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5154 (install): Use them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5155
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5156 Tue Dec 26 21:38:22 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5157
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5158 * toplev.cc (reading_startup_message_printed): Move initialization
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5159 here and make extern.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5160
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5161 * dirfns.cc, dynamic-ld.cc, help.cc, input.cc, octave-hist.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5162 octave.cc, sighandlers.cc, sysdep.cc, tree-expr.cc, tree-misc.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5163 utils.cc, variables.cc, parse.y, lex.l: Include toplev.h instead
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5164 of octave.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5165 * toplev.h: rename from octave.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5166
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5167 * octave.cc (main): Delete unused variable saved_sigint_handler.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5168
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5169 Sun Dec 24 00:26:54 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5170
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5171 * dynamic-ld.cc: Massive re-write to handle dlopen/dlsym and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5172 shl_load/shl_findsym methods of dynamic linking.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5173
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5174 * utils.cc (get_fcn_file_names): Check for .oct files if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5175 WITH_DYNAMIC_LINKING, not WITH_DLD.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5176
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5177 * Makefile.in (LIB, TERMLIBS): Substitute values.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5178 (octave): Add $(LIBS) to link command and use $(TERMLIBS) instead
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5179 of -ltermcap.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5180
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5181 Sat Dec 23 21:56:12 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5182
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5183 * dynamic-ld.h, dynamic-ld.cc: Remove old unused code.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5184
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5185 * variables.cc (load_fcn_from_file):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5186 Always call load_octave_oct_file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5187
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5188 Wed Dec 20 00:56:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5189
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5190 * pr-output.cc (set_real_format, set_real_matrix_format,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5191 set_complex_format, set_complex_matrix_format, set_range_format):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5192 New functions. Ensure the count of the digits to the right of the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5193 decimal point is positive.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5194
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5195 * xpow.cc (xpow (const Matrix&, double)): Print warning if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5196 inverting singular matrix (but return value anyway, in the name of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5197 compatibility).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5198 xpow (const ComplexMatrix&, double)): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5199
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5200 * f-inv.cc (Finv): If matrix is singular, return result anyway, in
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5201 the name of compatibility.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5202
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5203 * symtab.cc (symbol_record::pop_context):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5204 Don't assert (! context.empty ()).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5205
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5206 * tree-const.cc (TC_REP::char_matrix_value): Don't complain about
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5207 type conversion if object is an empty matrix.f
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5208 (TC_REP::assign): If rhs is a string, don't convert to numeric
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5209 type if rhs is empty or "".
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5210 Only widen if rhs is not empty.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5211 Don't return 0x0 char_matrix if it is supposed to be a string.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5212
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5213 * arith-ops.h, mappers.h, pr-output.h, xdiv.h, xpow.h: Include
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5214 oct-cmplx.h in place of forward declaration for class Complex.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5215
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5216 * pr-output.cc, mappers.cc, arith-ops.cc, xdiv.cc, xpow.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5217 utils.cc: Include "oct-cmplx.h" instead of <Complex.h>.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5218
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5219 * octave.cc (initialize_error_handlers): Don't call
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5220 set_Complex_error_handler().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5221 (octave_Complex_error_handler): Delete unused function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5222 Delete declaration for set_Complex_error_handler().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5223
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5224 * sighandlers.cc (catch_interrupts): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5225 * octave.cc (main): Call catch_interrupts() instead of calling
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5226 octave_set_signal_handler() directly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5227
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5228 Tue Dec 19 03:22:37 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5229
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5230 * variables.cc (looks_like_octave_copyright): Also recognize the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5231 string " This program is free software".
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5232
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5233 Thu Dec 14 01:54:06 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5234
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5235 * octave-hist.cc (clean_up_history): Only write history file if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5236 user_pref.saving_history.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5237
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5238 * octave-hist.cc (initialize_history, clean_up_history,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5239 do_history): Perform tilde expansion on history file name.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5240
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5241 * octave.cc (main): Check `defined (HAVE_ON_EXIT)' not just
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5242 `(HAVE_ON_EXIT)'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5243
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5244 * user-prefs.h (user_preferences): New fields, `history_file' and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5245 `history_size'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5246 * user-prefs.cc (init_user_prefs): Initialize them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5247 (sv_history_file, history_size): New functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5248 * variables.cc (install_builtin_variables): Initialize user-level
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5249 variables history_file and history_size.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5250 * octave-hist.cc (default_history_size): Now extern.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5251 (default_history_file): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5252 (octave_hist_size, octave_hist_file): Use user preference
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5253 variables instead.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5254 * octave.cc (main): Call initialize_history after
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5255 execute_startup_files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5256
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5257 Fri Dec 8 15:53:59 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5258
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5259 * user-prefs.h (user_preferences): New field, `saving_history'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5260 * user-prefs.cc (init_user_prefs): Initialize it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5261 (saving_history): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5262 * variables.cc (install_builtin_variables): Initialize user-level
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5263 variable saving_history.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5264 * octave.cc (parse_and_execute): Don't reset value of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5265 saving_history here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5266 (main) Use user_pref.saving_history instead of saving_history.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5267 * variables.cc (parse_fcn_file): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5268 * octave-hist.cc (maybe_save_history): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5269 Don't save history if input_from_startup_file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5270
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5271 Mon Nov 27 23:05:52 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5272
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5273 * resource.cc: Include systime.h before <sys/resource.h>.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5274
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5275 Tue Nov 14 14:09:40 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5276
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5277 * error.cc: Include cstring.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5278
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5279 * tree-expr.cc (print_code): Decrement indent level after printing
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5280 function body.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5281
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5282 * Makefile.in: Remove references to oct-str.cc, oct-str.h, and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5283 Array-string.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5284
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5285 * tree-const.h: Don't include oct-str.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5286
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5287 Mon Nov 6 11:16:49 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5288
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5289 * parse.y (make_plot_command, finish_colon_expression,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5290 make_unwind_protect, make_try_command, make_for_command,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5291 make_break_command, make_continue_command, make_return_command,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5292 start_if_command, finish_if_command, make_elseif_clause,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5293 make_simple_assignment, make_multi_val_ret, start_function_def,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5294 frob_function_def, finish_function_def, start_matrix,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5295 finish_matrix): New functions. Use them in the grammar to clean
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5296 things up a bit. Possibly convert matrix lists, colon
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5297 expressions, binary expressions, and unary expressions to constant
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5298 values.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5299 (tree_matrix_type): Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5300 (simple_expr1): Handle all expression stuff here, including
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5301 assignments.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5302 (simple_expr): Just check to see that simple_expr1 produced
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5303 something useful.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5304
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5305 * tree-plot.cc, tree-plot.h: Move most simple constructors to the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5306 header file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5307
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5308 * tree-expr.h (tree_expression::is_constant): Move virtual
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5309 function definition here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5310 (tree_fvc::is_constant): From here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5311 (tree_expression::is_matrix_constant): New virtual function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5312 (tree_expression::is_range_constant): New virtual function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5313 * tree-expr.cc (tree_matrix::is_matrix_constant): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5314 * tree-expr.cc (tree_colon_expression::is_range_constant): New
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5315 function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5316
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5317 Fri Nov 3 03:42:04 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5318
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5319 * utils.cc, utils.h (jump_to_top_level): Declare as extern "C".
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5320
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5321 * tree-const.h (tree_constant::eval ()): Only mutate if printing.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5322
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5323 * tree-const.cc (TC_REP::tree_constant_rep (const Complex&),
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5324 TC_REP::tree_constant_rep (const ComplexMatrix&),
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5325 TC_REP::tree_constant_rep (const ComplexDiagMatrix&),
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5326 TC_REP::tree_constant_rep (const ComplexRowVector&),
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5327 TC_REP::tree_constant_rep (const ComplexColumnVector&)):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5328 Also check to see if we can convert to scalar_constant, not just
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5329 complex_scalar_constant.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5331 * user-prefs.h (user_preferences): New field, `exec_path'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5332 * user-prefs.cc (init_user_prefs): Initialize it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5333 (sv_exec_path): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5334 * variables.cc (install_builtin_variables): Add DEFUN for EXEC_PATH.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5335 (default_exec_path): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5336 * octave.cc (exec_path): New global variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5337 Don't set and putenv() exec path here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5338 (long_opts): Add --exec-path option.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5339 (main): Handle it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5340 (initialize_globals): Set default value here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5341
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5342 * user-prefs.h (user_preferences): New field, `info_prog'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5343 * user-prefs.cc (init_user_prefs): Initialize it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5344 (sv_info_prog): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5345 * variables.cc (install_builtin_variables): Add DEFUN for INFO_PROGRAM.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5346 (default_info_prog): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5347 * octave.cc (info_prog): New global variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5348 (initialize_globals): Set default value here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5349 (long_opts): Add --info-prog option.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5350 (main): Handle it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5351 * help.cc (try_info): Use user_pref.info_prog here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5352
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5353 * octave.cc (initialize_globals): Put arch_dir and bin_dir ahead
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5354 of shell_path when resetting PATH.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5355
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5356 Thu Nov 2 04:30:13 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5357
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5358 * f-rand.cc (Frandn): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5359 (do_initialization): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5360 (do_rand): New function for doing the real work.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5361 (Frand): Use it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5362
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5363 * octave.cc (parse_and_execute): New arg, warn_for. If given,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5364 print message if file cannot be opened.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5365 Set curr_fcn_file_full_name here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5366 (Fsource): Pass extra arg to parse_and_execute to get warning message.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5367
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5368 * tree-const.h: Handle line and column info for double, Complex,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5369 and char* constants.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5370
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5371 * parse.y (maybe_convert_to_ans_assign): Pass along line and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5372 column info from expression.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5373
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5374 * parse.y (make_constant): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5375 (simple_expr1, word_list): Use it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5376
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5377 * input.cc, input.h (curr_fcn_file_full_name): New global.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5378 * variables.cc (load_fcn_from_file): Set it here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5379 * parse.y (func_def2, yyerror, maybe_warn_missing_semi): Use it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5380 (func_def2): If !reading_fcn_file, don't call strcmp if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5381 curr_fcn_file_name is 0.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5382
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5383 * octave.cc (Fsource): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5384 (parse_and_execute): Declare file name const char *.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5385 * input.cc (get_input_from_file): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5386
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5387 Wed Nov 1 13:54:34 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5388
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5389 * f-filter.cc: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5390 * Makefile.in (DLD_SRC): Add it to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5391
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5392 * sysdep.h (gethostname): Change declaration to match definition
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5393 in sysdep.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5394
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5395 * resource.cc: Include sysdep.h here, for octave_NaN.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5396
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5397 Tue Oct 31 02:12:18 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5398
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5399 * tree-const.cc (TC_REP::assign): After converting rhs to a
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5400 numeric type, use the converted value, not the original.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5401
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5402 * dirfns.cc (Fpwd): If nargout == 0, print the directory name
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5403 instead of returning it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5404
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5405 * pager.cc (maybe_page_output): Call maybe_write_to_diary_file here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5406 (flush_output_to_pager): Not here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5407
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5408 Mon Oct 30 23:39:43 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5409
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5410 * variables.cc (install_builtin_commands): Add DEFVAR for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5411 echo_executing_commands.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5412
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5413 * octave-hist.cc (do_edit_history): Handle new echo stuff.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5414 * variables.cc (parse_fcn_file): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5415 * octave.cc (parse_and_execute): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5416 (main): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5417 * input.cc (do_input_echo):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5418 (Fecho): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5419
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5420 * tree-expr.cc (tree_function::print_code_function_header,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5421 tree_function::print_code_function_trailer): New functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5422 (tree_function::print_code): Use them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5423 (tree_function::eval): Likewise, if echoing commands.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5424 * tree-misc.cc (tree_statement::maybe_echo_code): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5425
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5426 * user-prefs.h (user_preferences): New field, echo_executing_commands.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5427 (echo_state): New enum, for various types of echoing we do.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5428 * user-prefs.cc (echo_executing_commands): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5429
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5430 * tree-base.cc (print_code_indent): Print PS4 as line prefix.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5431 * help.cc (Ftype): Add unwind_protect for ps4 and set it to ""
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5432 before printing code.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5433
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5434 * tree-misc.h (tree_statement_list): New field, function_body.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5435 (tree_statement_list::mark_as_function_body): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5436 * parse.y (func_def3): Mark function bodies.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5437
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5438 * pr-output.cc (octave_print_internal): Undo string escapes when
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5439 printing charMatrix as strings.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5440
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5441 Sat Oct 28 17:38:29 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5442
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5443 * utils.h (undo_string_escapes): Add missing const in declaration.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5444
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5445 Fri Oct 27 03:49:44 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5446
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5447 * file-io.cc (next_available_file_number): New stack for keeping
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5448 track of next available file number.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5449 (get_next_avail_file_num): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5450 (fopen_file_for_user, fopen_internal, popen_internal,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5451 execute_internal): Use it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5452
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5453 Mon Oct 23 07:00:09 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5454
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5455 * tree-const.cc (TC_REP::convert_to_matrix_type,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5456 tree_constant::convert_to_matrix_type): New arg, make_complex.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5457 (TC_REP::set_index): New arg, rhs_is_complex. Pass it to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5458 convert_to_matrix_type.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5459 (TC_REP::assign): Pass rhs.is_complex_type() to set_index.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5460
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5461 Thu Oct 19 00:38:38 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5462
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5463 * xpow.cc: Include <climits>.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5464
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5465 * sysdep.cc (Fpause): Do pause even if not interactive.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5466
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5467 * tree-const.cc (TC_REP::assign): Don't make RHS numeric if both
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5468 RHS and LHS are strings.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5469
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5470 Wed Oct 18 22:19:16 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5471
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5472 * f-expm.cc (Fexpm): Avoid taking log of negative number. Also,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5473 don't unnecessarily divide the input matrix by 1.0.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5474
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5475 * input.cc (decode_prompt_string): Recognize \[ and \] too.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5476 (initialize_readline): Bind M-p to history-search-backward and M-n
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5477 to history-search-forward.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5478
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5479 Tue Oct 17 04:31:06 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5480
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5481 * xpow.cc (xpow): Handle integer powers better for complex^double.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5482 (elem_xpow): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5483
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5484 * lex.l ({CCHAR}): If nesting_level.top() is BRACE, return ';',
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5485 not '\n'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5486
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5487 Mon Oct 16 19:03:45 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5488
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5489 * help.cc (Fwhich): Fix doc string.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5490
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5491 * variables.cc (Fexist): Update doc string.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5492
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5493 Sun Oct 15 22:19:16 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5494
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5495 * Another massive set of changes to support character matrices
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5496 with indexing. The Octave_str_object class is no longer used.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5497 Anything having to do with Octave_str_object in the following
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5498 files has been changed to use charMatrix instead: octave.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5499 load-save.cc, octave.cc, strfns.cc, data.cc, pr-output.h,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5500 pr-output.cc, tree-const.h, dirfns.cc, tree-const.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5501 tree-expr.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5502
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5503 Sat Oct 14 22:28:18 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5504
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5505 * f-sort.cc (mx_sort): Don't attempt to sort vectors that have
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5506 only one element, or matrices that have only one row.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5507
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5508 Thu Oct 12 02:16:58 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5509
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5510 * mappers.cc (install_mapper_functions): Add gammaln as an alias
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5511 for lgamma.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5512
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5513 * tree-const.h, tree-const.cc: Massive overhaul of indexing and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5514 indexed assignment functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5515 * tc-inlines.h, tc-rep.h: Remove files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5516 * Makefile.in: Remove mention of them here too.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5517
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5518 * Makefile.in: Include $(TI_SRC) in DEP_SOURCES_3, not
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5519 $(TI_SOURCES).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5520 Include $(DLD_SRC) in DEP_SOURCES_3.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5521 Include $(TI_SRC) in DEF_FILES_5.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5522
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5523 Wed Oct 11 01:26:18 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5524
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5525 * Makefile.in (INCLUDES): Remove tc-inlines.h and tc-rep.h from
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5526 the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5527
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5528 Mon Oct 9 08:31:04 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5529
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5530 * lex.l (next_token_is_bin_op): Do match `.+', `.*', etc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5531
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5532 Sun Oct 8 18:19:56 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5533
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5534 * idx-vector.h, idx-vector.cc: Delete files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5535 * Makefile.in (SOURCES, INCLUDES): Remove them from lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5536
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5537 Fri Oct 6 00:52:06 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5538
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5539 * f-svd.cc (Fsvd): If nargout == 0 or nargout == 1, don't ask for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5540 U and V.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5541
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5542 Wed Oct 4 00:04:57 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5543
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5544 * f-npsol.cc (Fnpsol, Fnpsol_options): Avoid unused variable
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5545 warnings if NPSOL_MISSING.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5546 * f-qpsol.cc (Fqpsol, Fqpsol_options): Likewise for QPSOL_MISSING.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5547
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5548 * Makefile.in (DISTFILES): Add octave.gperf.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5549
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5550 * lex.l (next_token_is_bin_op): Don't ever return true for `.'
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5551 since that causes problems with things like [ .1 .1 ].
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5552
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5553 Tue Oct 3 05:30:24 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5554
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5555 * variables.cc (is_valid_function): Avoid setting error_state if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5556 argument is not a string.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5557
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5558 * parse.y (maybe_warn_missing_semi): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5559 (list1, list): Call it if statement not terminated by semicolon.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5560 * tree-misc.h (tree_statement::line, tree_statement::column):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5561 New functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5562 * octave.cc (input_from_command_line_file): New global variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5563 (main): Set it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5564 (parse_and_execute): Unwind-protect it and set it to zero.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5565 (eval_string): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5566 * variables.cc (parse_fcn_file): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5567
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5568 * user-prefs.cc (warn_missing_semicolon): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5569 * user-prefs.h (user_preferences): New field, warn_missing_semicolon.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5570 * variables.cc (install_builtin_variables): DEFVAR it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5571
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5572 * tree-expr.cc (tree_expression::is_logically_true): Actually use
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5573 argument.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5574
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5575 Mon Oct 2 19:55:48 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5576
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5577 * variables.cc (install_builtin_variables): Reduce the default
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5578 value of save_precision to 15.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5579
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5580 * variables.cc (builtin_real_scalar_variable): Return 1 for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5581 success, 0 for failure.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5582
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5583 * user-prefs.cc (struct_levels_to_print, set_save_precision,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5584 set_output_max_field_width, set_output_precision):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5585 Change sense of test for builtin_real_scalar_variable return value.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5586 (check_preference): Rename from check_str_pref. Change all callers.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5587 Accept value of 0 to be the same as "false" and nonzero to be the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5588 same as "true".
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5589 Delete val to avoid memory leak.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5590 * variables.cc (install_builtin_variables): Change initial values
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5591 from "true" to 1, "false" to 0.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5592
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5593 * variables.cc (install_builtin_variables): Add DEFVAR for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5594 gnuplot_has_multiplot.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5595
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5596 * user-prefs.h (user_preferences): New field,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5597 `gnuplot_has_multiplot'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5598 * user-prefs.cc (init_user_prefs): Initialize it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5599 (gnuplot_has_multiplot): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5600
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5601 Sat Sep 30 16:52:57 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5602
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5603 * oct-gperf.h, octave.gperf: Newfiles.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5604 * Makefile.in (DISTFILES): Add octave.gperf.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5605 (INCLUDES): Add oct-gperf.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5606 (oct-gperf.h): New rule.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5607 (local-dist, dist): Depend on oct-gperf.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5608 * lex.l (is_keyword): Use perfect hash function to lookup
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5609 keywords.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5610
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5611 Fri Sep 29 04:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5612
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5613 * version.h (OCTAVE_NAME_AND_VERSION): Add TARGET_HOST_TYPE to this.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5614
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5615 Thu Sep 28 00:03:51 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5616
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5617 * tree-expr.cc (tree_expression::is_logically_true): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5618 * tree-cmd.cc (tree_while_command::eval): Use it instead of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5619 handling the test directly here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5620 * tree-misc.cc (tree_if_clause::eval): Likewise
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5621
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5622 * tree-const.cc (TC_REP::force_numeric): Don't try to print value
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5623 of str_obj with %s.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5624
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5625 * error.cc (buffer_error_messages): Rename from
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5626 suppress_octave_error_messages.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5627 (error_message_buffer): New global variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5628 (verror): Handle buffering of messages.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5629 (handle_message): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5630 (Ferror, Fwarning, Fusage): Use it instead of duplicating code.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5631
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5632 * octave.cc (Feval): Buffer error messages instead of supressing them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5633
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5634 * lex.l (is_keyword): Recognize `try', `catch', and `end_try_catch'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5635 * parse.y (TRY, CATCH): New tokens.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5636 (command): Recognize try-catch block.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5637 (end_error): Add cases for unwind_protect_end and try_catch_end.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5638 * token.h (end_tok_type): New field, try_catch_end.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5639 * tree-cmd.h, tree-cmd.cc (tree_try_catch): New class.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5640 * variables.cc (bind_global_error_variable): New Function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5641 (clear_global_error_variable): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5642 (install_builtin_variables): Add DEFCONST for __error_text__.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5643 * help.cc (keywords): Add `try', `catch', and `end_try_catch'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5644
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5645 * tree-cmd.cc (tree_unwind_protect::eval): Undo previous change.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5646
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5647 * dirfns.cc (Freaddir, Fmkdir, Frmdir):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5648 Do tilde expansion on the argument.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5649
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5650 Tue Sep 26 00:10:29 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5651
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5652 * f-dassl.cc, f-fsolve.cc, f-lsode.cc, f-npsol.cc, f-quad.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5653 Don't try to figure out if the user-supplied functions take the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5654 correct number of arguments. Simply let the call fail.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5655 * variables.cc (takes_correct_nargs): Delete unused function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5656 * tree-expr.cc (tree_builtin::eval): Don't complain for too many
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5657 arguments to mapper functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5658 * tree-expr.h, tree-expr.cc (tree_builtin, tree_function, tree_fvc):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5659 Delete unused function max_expected_args.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5660
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5661 * defun.h (DEFUN): Delete unnecessary args nargin_min and nargout_max.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5662 New arg unused_arg_flags.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5663 (DEFUN_TEXT): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5664 * defun-dld.h (DEFUN_DLD_BUILTIN): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5665 * defun-int.h (DEFUN_INTERNAL, DECLARE_FUN, DEFINE_FUN_STRUCT):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5666 Do the real work.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5667
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5668 * data.cc, dirfns.cc, dynamic-ld.cc, error.cc, f-balance.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5669 f-chol.cc, f-colloc.cc, f-dassl.cc, f-det.cc, f-eig.cc, f-expm.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5670 f-fft.cc, f-fft2.cc, f-find.cc, f-fsolve.cc, f-fsqp.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5671 f-givens.cc, f-hess.cc, f-ifft.cc, f-ifft2.cc, f-inv.cc, f-log.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5672 f-lpsolve.cc, f-lsode.cc, f-lu.cc, f-minmax.cc, f-npsol.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5673 f-pinv.cc, f-qpsol.cc, f-qr.cc, f-quad.cc, f-qzval.cc, f-rand.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5674 f-schur.cc, f-sort.cc, f-svd.cc, f-syl.cc, file-io.cc, help.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5675 input.cc, lex.l, load-save.cc, mappers.cc, octave-hist.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5676 octave.cc, octave.h, pager.cc, pr-output.cc, resource.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5677 sighandlers.cc, strfns.cc, sysdep.cc, timefns.cc, token.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5678 tree-const.cc, tree-expr.cc, tree-expr.h, tree-plot.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5679 unwind-prot.cc, unwind-prot.h, utils.cc, variables.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5680 variables.h, version.h, xdiv.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5681 Avoid unused variable warnings.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5682
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5683 * tree-expr.h (tree_oct_obj::print_value (ostream&)):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5684 Delete name of unused arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5685 (tree_fvc::save (ostream&, int, int): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5686
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5687 * tree-const.h (tree_constant::tree_constant (magic_colon)):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5688 Delete name of unused arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5689 (tree_constant::tree_constant (all_va_args)): Likewise
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5690 (ColumnVector vector_value (int, int)): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5691 (ComplexColumnVector vector_value (int, int)): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5692 (Octave_object::eval (int, int, const Octave_object&): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5693
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5694 * octave.cc (execute_startup_files): Look for octaverc first in
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5695 site/m, then in $(version)/m.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5696 * variables.cc (get_local_site_defaults): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5697 * defaults.h.in (OCTAVE_LOCALFCNFILEDIR, OCTAVE_LOCALSTARTUPFILEDIR):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5698 New macros.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5699 * Makefile.in (defaults.h): Also substitute ${localfcndir}.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5700
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5701 Mon Sep 25 17:01:03 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5702
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5703 * variables.cc (install_builtin_variables): Add DEFCONST for "e".
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5704
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5705 Fri Sep 22 02:18:45 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5706
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5707 * dirfns.cc (Fls): Delete ls_command after using it, not before.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5708
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5709 * input.h, input.cc (gnu_readline): Don't declare gnu_readline
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5710 `extern "C"'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5711
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5712 * sysdep.h: Only declare gethostname if it is missing, then don't
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5713 declare it `extern "C"'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5714
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5715 * dirfns.cc: Don't declare strerror().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5716
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5717 * input.cc (command_generator): Use malloc, not xmalloc. Don't
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5718 declare xmalloc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5719 (gnu_readline): Don't declare this `extern "C"'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5720
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5721 * octave-hist.cc: Don't declare history_get(). It is now in
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5722 readline/history.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5723
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5724 * input.cc: Don't declare history_get(). It is now in
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5725 readline/readline.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5726
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5727 * resource.cc: Don't surround include of sys/resource.h in
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5728 `extern "C" { }'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5729
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5730 * fnmatch.h [__cplusplus]: Surround contents in `extern "C" { }'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5731 * load-save.cc, symtab.cc, variables.cc: Don't surround
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5732 fnmatch.h include in `extern "C" { }'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5733
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5734 * help.cc: Don't #undef __FUNCTION_DEF before including
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5735 readline/tilde.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5736
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5737 * dirfuns.cc, file-io.cc, help.cc, load-save.cc, octave-hist.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5738 sysdep.cc, tree-plot.cc, utils.cc, variables.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5739 Don't surround readline includes in `extern "C" { }'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5740
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5741 * sysdep.cc: Move all include statements to top of file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5742
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5743 Tue Sep 19 01:58:21 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5744
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5745 * octave.cc (Fsystem): Use iprocstream *, and unwind_protect it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5746 * pager.cc (flush_output_to_pager): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5747 * dirfns.cc (Fls): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5748 * tree-plot.cc (plot_stream): Now a pointer.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5749 (open_plot_stream): Deal with it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5750 (send_to_plot_stream, cleanup_tmp_files, do_external_plotter_cd):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5751 Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5752
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5753 * procstream.cc (cleanup_iprocstream, cleanup_oprocstream):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5754 New functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5755
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5756 * procstream.h, procstream.cc (class iprocstream, class oprocstream):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5757 Keep track of pbuf. Initialize it to 0 in default constructors,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5758 delete it in destructor. Don't call close in destructor.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5759
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5760 * sighandlers.cc (octave_set_signal_handler): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5761 Use this name instead of signal everywhere.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5762 * help.cc (try_info): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5763 * pager.cc (flush_output_to_pager): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5764 * octave.cc (main): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5765 * octave-hist.cc (do_edit_history): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5766
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5767 * input.cc (initialize_readline): Set rl_paren_string_delimiters
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5768 to avoid treating single quotes as string delimiters when doing
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5769 paren matching.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5770
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5771 * Makefile.in (SOURCES): Don't list Map.cc or SLStack.cc here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5772
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5773 * tree-const.cc: Do include utils.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5774
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5775 * sysdep.cc: Don't surround terminal includes in extern "C".
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5776 Include them before readline.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5777
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5778 * Map.h: Don't include utils.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5779 (CHNode::CHNode (const char*, const C&, CHNode *t):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5780 Do strsave() inline.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5781
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5782 * input.cc (generate_possible_completions): Generate name list
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5783 even when text == 0.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5784 (operate_and_get_next): Don't declare history_stifled, call
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5785 history_is_stifled () instead.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5786 Don't declare history_length, or max_input_history either.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5787 Check (where >= history_length - 1) too, as in recent versions of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5788 bash.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5789
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5790 * user-prefs.h (user_prefs): New field, `completion_append_char'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5791 * user-prefs.cc (init_user_prefs): Initialize it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5792 (sv_completion_append_char): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5793 * variables.cc (install_builtin_variables): Install
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5794 completion_append_char.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5795 * input.cc (command_generator): Use it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5796
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5797 * SLList-expr.cc, SLList-misc.cc, SLList-plot.cc, SLList-tc.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5798 DLList-fi.cc: Include config.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5799 * DLList-fi.cc: Include file-info.h, not file-io.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5800
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5801 Mon Sep 18 11:01:24 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5802
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5803 * octave.h (clean_up_and_exit): Tag with NORETURN instead of using
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5804 typedef trick.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5805 * error.h (panic): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5806 * utils.h (jump_to_top_level): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5807
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5808 * file-io.h: Protect from multiple includes with octave_file_io,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5809 not octave_files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5810
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5811 * file-info.h (class file_info): Convert to using std C++ string
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5812 class from char *.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5813 * file-info.cc: Likewise. Don't include utils.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5814 * file-io.cc (return_valid_file, fopen_file_for_user,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5815 fflush_internal, do_scanf): Use operator ==, not strcmp.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5816 (close_files): Call error with file.name ().data (),
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5817 not file.name ().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5818 (freport_internal): Call form with file.mode ().data () and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5819 file.name ().data ().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5820
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5821 * file-io.cc, file-io.h: Extract file_info class.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5822 * file-info.cc, file-info.h: New files for file_info class.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5823
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5824 * user-prefs.h (user_prefs): New field, `beep_on_error'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5825 * user-prefs.cc (init_user_prefs): Initialize it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5826 (beep_on_error): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5827 * variables.cc (install_builtin_variables): Install beep_on_error.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5828 * octave.cc (maximum_braindamage): Set beep_on_error to "true".
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5829 * error.cc (verror): Conditionally beep.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5830 (error): Don't reset error_state until after verror is called.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5831
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5832 Sun Sep 17 16:41:25 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5833
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5834 * load-save.cc (read_mat_binary_data, read_ascii_data,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5835 save_ascii_data, read_binary_data, save_binary_data):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5836 Handle string arrays.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5837
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5838 Fri Sep 15 00:24:19 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5839
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5840 * user-prefs.cc (struct_levels_to_print,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5841 set_output_max_field_width, set_output_precision,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5842 set_save_precision): Eliminate unecessary kludge variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5843
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5844 * variables.cc (gobble_leading_white_space): New arg,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5845 in_parts. Change all callers.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5846
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5847 * lex.l (HELP_FCN): Delete start state. The `help' command is now
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5848 handled the same as any other text-style function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5849
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5850 * gripes.cc (gripe_invalid_value_specified): New function
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5851 * user-prefs.cc: Use it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5852
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5853 * sysdep.cc (octave_words_big_endian): New global variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5854 (ten_little_endians): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5855 (sysdep_init): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5856 * load-save.cc (words_big_endian): Use this at run-time instead of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5857 depending on WORDS_BIGENDIAN at compile-time.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5858
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5859 * symtab.h (SYMTAB_VARIABLES): New macro.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5860 * variables.cc (Fclear): Use it instead of just
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5861 symbol_def::USER_VARIABLE when looking for variables.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5862
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5863 * octave.cc (main): If there is a file to execute, set
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5864 program_invocation_name and program_name to the name of the file
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5865 and argv to the remaining args.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5866 (intern_argv): Only define argv if there are some remaining
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5867 arguments.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5868
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5869 * defun.h (DEFVAR_INT): New macro.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5870 (DEFVAR): Define in terms of DEFVAR_INT. Delete args protect and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5871 eternal.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5872 (DEFCONST): New macro.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5873 * variables.cc (install_builtin_variables): Use DEFCONST where
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5874 appropriate, change uses of DEFVAR to match new definition.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5875
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5876 * variables.cc (bind_builtin_variable): New variant that accepts
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5877 const tree_constant& value.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5878 (install_builtin_variables): Properly alphabetize DEFVAR for this.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5879
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5880 * octave.cc (short_opts): Prefix with `+' to prevent argv
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5881 permutation.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5882 (main): Don't use readline if forced_interactive.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5883 (traditional): New file-scope variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5884 (long_opts, usage_string, verbose_usage): Add `--traditional'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5885 (maximum_braindamage): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5886 (main): Call it if --traditional.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5887
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5888 * input.cc (do_input_echo): Print prompt correctly when
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5889 forced_interactive is either true or false.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5890
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5891 Thu Sep 14 00:54:06 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5892
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5893 * data.cc (Fstruct_elements): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5894
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5895 * file-io.cc (Fumask): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5896
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5897 * dirfns.cc (Fmkdir, Frmdir, Frename): New functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5898
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5899 * Makefile.in: Add rules and dependencies for building safe-stat.o
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5900 and safe-lstat.o.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5901
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5902 * mkdir.c, rename.c, rmdir.c: New files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5903 * Makefile.in (SOURCES): Include them in the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5904
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5905 * safe-xstat.hin, safe-xstat.cin: New files
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5906 * Makefile.in (DISTFILES): Include them in the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5907
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5908 * sighandlers.cc (octave_new_handler): Try to continue on memory
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5909 exhausted errors.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5910 (sigfpe_handler): Improve error message.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5911
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5912 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5913
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5914 * dirfns.cc (Freaddir): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5915
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5916 * f-sort.cc: Complete rewrite. Now uses stable sort algorithm and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5917 correctly handles complex matrices containing columns of all real
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5918 numbers.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5919
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5920 Wed Sep 13 03:16:40 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5921
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5922 * arith-ops.cc: Unconditionally #define DIVIDE_BY_ZERO_ERROR.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5923
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5924 * variables.cc (install_builtin_variables): Unconditionally
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5925 install NaN and nan.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5926
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5927 * mappers.cc (xisinf): Don't do bogus things if isinf, isnan, or
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5928 finite are missing.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5929 (xfinite): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5930
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5931 * sysdep.cc (octave_ieee_init): Don't set octave_NaN and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5932 octave_Inf if values are not available.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5933
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5934 * resource.cc (mk_ru_map): Don't use ru_ or tv_ as prefixes to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5935 Octave names for the structure members.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5936
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5937 Tue Sep 12 02:04:16 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5938
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5939 * procstream.h, procstream.cc: Rewrite.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5940
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5941 Mon Sep 11 18:42:05 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5942
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5943 * filemode.c: New file, from Emacs.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5944 * Makefile.in (SOURCES): Add it to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5945
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5946 * file-io.cc (Fstat, Flstat, mk_stat_map): New functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5947
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5948 * timefns.cc (mk_tm_map): Don't use tm_ as prefix to Octave names
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5949 for these structure members.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5950 (extract_tm): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5951 (Flocaltime): Fix doc string to match.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5952
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5953 Thu Sep 7 02:04:27 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5954
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5955 * load-save.cc (save_user_variables): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5956 * sighandlers.cc (my_friendly_exit): Call it before exiting.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5957 (sigfpe_handler): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5958 (install_signal_handlers) [__alpha__]: Install it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5959
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5960 Wed Sep 6 14:35:10 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5961
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5962 * tree-cmd.cc (tree_unwind_protect::eval): Ignore errors and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5963 suppress error messages while executing first block of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5964 unwind_protect commands.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5965
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5966 * parse.y (end_error): Add missing case for unwind_protect_end.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5967
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5968 * tree-expr.cc (tree_builtin::eval): Complain if no arguments
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5969 given for mapper functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5970 (tree_fvc::lookup_map_element): Print error message for invalid
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5971 structure reference.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5972
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5973 Tue Sep 5 02:04:12 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5974
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5975 * file-io.cc, input.cc, load-save.cc, octave.cc, sysdep.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5976 variables.cc, octave-hist.cc, utils.cc, f-schur.cc, f-rand.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5977 f-quad.cc, f-qpsol.cc, f-npsol.cc, f-lsode.cc, f-fsolve.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5978 f-dassl.cc, f-colloc.cc, f-balance.cc, error.cc, data.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5979 Add const qualifiers where appropriate.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5980
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5981 * dirfns.h: Include <ctime>, for time_t.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5982
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5983 * tempname.c, file-io.cc, help.cc, input.cc, octave-hist.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5984 octave.cc, sighandlers.cc, sysdep.cc, tree-expr.cc, tree-misc.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5985 tree-plot.cc, utils.cc, variables.cc, sysdir.h:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5986 Move #include <sys/type.h> inside #ifdef HAVE_UNISTD_H.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5987
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5988 * syswait.h: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5989 * Makefile.in (INCLUDES): Add it to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5990 * file-io.cc, sighandlers.cc: Use it instead of including
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5991 sys/wait.h directly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5992
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5993 * octave.cc: Include statdefs.h, not sys/stat.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5994
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5995 * sysdir.h: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5996 * Makefile.in (INCLUDES): Add it to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5997 * dirfns.cc, utils.cc: Use it instead of including the headers
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5998 directly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5999
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6000 * pathlen.h: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6001 * Makefile.in (INCLUDES): Add it to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6002 * dirfns.cc, input.cc: Use it instead of including sys/param.h
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6003 directly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6004 * utils.cc: Don't include sys/param.h
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6005
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6006 Sun Sep 3 18:52:59 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6007
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6008 * tree-const.cc (TC_REP::string_value): Return const char*, not
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6009 char *.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6010
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6011 * All .cc, .y, .l, .y files: Include <cctype>, not <ctype.h>, and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6012 so on for all new C++ versions of these standard C headers.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6013
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6014 Thu Aug 31 17:09:38 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6015
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6016 * pathsearch.h: Also hide `string'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6017
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6018 * oct-str.cc, oct-str.h: New files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6019 * Makefile.in: Add to the appropriate lists.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6020 * tc-rep.h: Change char* to Octave_string* in anonymous union.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6021 * tree-expr.cc (tree_matrix::eval): Handle multiple element strings.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6022 * strfns.cc (toascii): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6023 * tree-const.cc (print_as_string): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6024 (TC_REP::force_numeric, TC_REP::rows, TC_REP::columns,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6025 TC_REP::double_value, TC_REP::complex_value, TC_REP::matrix_value,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6026 TC_REP::complex_matrix_value, TC_REP::convert_to_str): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6027 (TC_REP::print): Call octave_print_internal for string case.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6028 (all_strings): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6029 Fix constructors to use new data structure.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6030 * pr-output.cc (octave_print_internal): Add version for strings.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6031 * Array-string.cc: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6032
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6033 * octave.cc (octave_argv): New global variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6034 (intern_argv): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6035 (main): Fix argument parsing to do the right thing for arguments
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6036 to executable scripts.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6037 * variables.cc: Add DEFUNs for argv, program_invocation_name, and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6038 program_name.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6039
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6040 * defun.h (DEFVAR): Fix comment.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6041
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6042 Thu Aug 24 00:02:00 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6043
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6044 * file-io.cc (fgets_internal): Make second arg optional. Add
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6045 optional arg `strip_final_newline'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6046 (Ffgets): Change to match new definition of fgets_internal.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6047 (Ffgetl): Implement using the new fgets_internal.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6048
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6049 * f-rand.cc (Frand): Update code for sizing return value to match
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6050 that used by ones, zeros, and eye.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6051
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6052 Wed Aug 23 19:52:45 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6053
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6054 * tree-const.cc (do_vector_assign): Don't crash for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6055 A(range) = scalar, or A(matrix) = scalar.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6056
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6057 * f-dassl.cc (set_dassl_option): Rename from do_dassl_option.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6058 (show_dassl_option): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6059 (Fdassl_options): Handle single arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6060 * f-fsolve.cc (set_fsolve_option): Rename from do_fsolve_option.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6061 (show_fsolve_option): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6062 (Ffsolve_options): Handle single arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6063 * f-fsqp.cc (set_fsqp_option): Rename from do_fsqp_option.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6064 (show_fsqp_option): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6065 (Ffsqp_options): Handle single arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6066 * f-lpsolve.cc (set_lpsolve_option): Rename from do_lpsolve_option.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6067 (show_lpsolve_option): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6068 (Flpsolve_options): Handle single arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6069 * f-lsode.cc (set_lsode_option): Rename from do_lsode_option.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6070 (show_lsode_option): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6071 (Flsode_options): Handle single arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6072 * f-npsol.cc (set_npsol_option): Rename from do_npsol_option.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6073 (show_npsol_option): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6074 (Fnpsol_options): Handle single arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6075 * f-qpsol.cc (set_qpsol_option): Rename from do_qpsol_option.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6076 (show_qpsol_option): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6077 (Fqpsol_options): Handle single arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6078 * f-quad.cc: (set_quad_option): Rename from do_quad_option.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6079 (show_quad_option): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6080 (Fquad_options): Handle single arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6081 (Fquad): Doc fix.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6082
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6083 Tue Aug 22 00:38:05 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6084
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6085 * tree-plot.cc (do_external_plotter_cd): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6086 * dirfns.cc (octave_change_to_directory): New function. If cd is
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6087 successful, also call do_external_plotter_cd().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6088 (Fcd): Call octave_change_to_directory(), not change_to_directory().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6089
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6090 * pr-output.cc (pr_any_float): Change declaration of counter to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6091 size_t to avoid gcc warnings.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6092
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6093 * idx-vector.cc, octave-hist.cc, tree-const.cc, tree-expr.cc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6094 tree-misc.cc, utils.cc, xpow.cc, Map.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6095 Update for change in for loop variable scope for gcc 2.7.0.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6096
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6097 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6098
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6099 * tree-const.cc (fortran_style_matrix_assignment): Properly handle
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6100 case of complex LHS, real RHS.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6101
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6102 * Makefile.in: Only include dependency files if $(omit_deps) is
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6103 not set.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6104
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6105 Wed Jul 5 00:03:58 1995 John Eaton <jwe@bevo.che.wisc.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6106
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6107 * sysdep.cc: Explicitly include string.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6108
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6109 Sun Jun 25 00:18:10 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6110
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6111 * load-save.cc (too_large_for_float (const Matrix&)):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6112 Extract elements as doubles, not Complex.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6113
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6114 Sat Jun 24 22:59:15 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6115
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6116 * pr-output.cc (any_element_is_inf_or_nan): Declare extern, not static.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6117 * f-svd.cc (Fsvd): Call here to avoid trying to take SVD of matrix
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6118 containing Inf or NaN values.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6119
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6120 * pr-output.cc (bit_format): New file-scope variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6121 (set_format, pr_any_float): Handle bit_format.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6122 (octave_print_internal): Handle bit_format like bank_format.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6123 (init_format_state): Initialize bit_format.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6124 (set_format_style): Allow `format bit' and `format native-bit'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6125
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6126 Thu Jun 8 15:20:26 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6127
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6128 * mappers.cc (arg, imag, signum): If arg is NaN, return NaN.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6129
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6130 Mon May 15 14:47:04 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6131
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6132 * pager.cc (Fdiary): Initialize diary_file here, not in the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6133 file-scope declaration.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6134
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6135 * tree-expr.cc (tree_index_expression::eval):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6136 Handle nargin == 0 the same as other cases.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6137
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6138 Tue May 2 10:02:23 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6139
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6140 * load-save.cc (do_double_format_conversion): Add missing breaks.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6141 (do_float_format_conversion): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6142
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6143 Mon May 1 13:50:24 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6144
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6145 * Makefile.in (OCTAVE_LIBS): Add @LIBPLPLOT@ to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6146
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6147 * timefns.cc (Ftime): Handle GETTIMEOFDAY_NO_TZ.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6148
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6149 * Makefile.in (SOURCES): Delete tc-rep.cc, tc-rep-ass.cc, and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6150 tc-rep-idx.cc from the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6151
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6152 * tree-const.h: Add #pragma interface.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6153 * tree-const.cc: Add contents of tc-rep.cc, tc-rep-ass.cc, and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6154 tc-idx.cc to this file. Add #pragma implementation. This makes
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6155 tree-const.cc large, but makes the final binary smaller.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6156
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6157 * unwind-prot.h unwind-prot.cc token.cc token.h procstream.cc
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6158 procstream.h idx-vector.cc idx-vector.h symtab.cc symtab.h
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6159 oct-map.cc oct-map.h oct-obj.cc oct-obj.h tree-plot.h tree-plot.cc
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6160 tree-misc.cc tree-misc.h tree-expr.cc tree-expr.h tree-cmd.cc
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6161 tree-cmd.h tree-base.cc tree-base.h:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6162 Add #pragma interface/implementation.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6163
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6164 * Makefile.in (OCTAVE_LIBS): Delete @LIBINFO@ from list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6165 * help.cc: Don't include info headers or extern declarations for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6166 functions from info.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6167 (try_info): Call info as a subprocess. Delete second arg.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6168 Handle SIGINT here, not in help_from_info().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6169 (help_from_info): Complain if info doesn't work.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6170
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6171 * defun-dld.h (DEFUN_DLD_BUILTIN) [OCTAVE_LITE && MAKE_BUILTINS]:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6172 If ! WITH_DLD, simply emit a character string constant.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6173
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6174 Fri Apr 28 15:23:06 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6175
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6176 * lex.l ({IDENT}{S}*): Don't delete tok. That's handled by
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6177 strip_trailing_whitespace() now.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6178 (<HELP_FCN>[^ \t\n]*{S}*|<TEXT_FCN>[^ \t\n\;\,]*{S}*): Ditto.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6179
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6180 * pathsearch.h: Include kpathsea/progname.h.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6181 * octave.cc (initialize_globals): Call kpse_set_progname().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6182
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6183 * token.h: Declare copy constructor and operator = private.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6184 * token.cc: Abort if copy constructor or operator = is used.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6185
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6186 Thu Apr 27 13:54:39 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6187
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6188 * tree-expr.cc (lookup_map_element): Don't list default argument
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6189 values here too.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6190
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6191 * pr-output.cc (hex_format): New file-scope variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6192 (set_format, pr_any_float): Handle hex_format.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6193 (octave_print_internal): Handle hex_format like bank_format.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6194 (init_format_state): Initialize hex_format.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6195 (set_format_style): Allow `format hex' and `format native-hex'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6196
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6197 * variables.cc (bind_ans): Create ans_id each time with new and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6198 ask tree_simple_assignment_expression to handle cleaning it up.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6199 This apparently plugs a memory leak.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6200
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6201 * help.cc (Ftype): Don't try to print map constants. Handle
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6202 references to structure members.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6203
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6204 Wed Apr 26 12:40:59 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6205
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6206 * input.cc (generate_struct_completions): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6207 (generate_possible_completions): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6208 (looks_like_struct): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6209 (command_generator): Handle completion of struct variables.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6210
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6211 * tree-expr.h, tree-expr.cc (tree_fvc::lookup_map_element):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6212 Add insert and silent args.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6213
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6214 * oct-map.cc: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6215 * Makefile.in (SOURCES): Add it to the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6216
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6217 Mon Apr 24 09:41:02 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6218
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6219 * variables.cc (Fexist): Handle structure references too.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6220
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6221 * tree-const.cc (lookup_map_element (const char*, int, int):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6222 New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6223 (lookup_map_element (SLList<char*>&, int, int): New arg, silent.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6224 * tc-rep.cc (lookup_map_element): New arg, silent. If nonzero,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6225 don't call error().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6226
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6227 * tc-rep.h (is_empty): Define here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6228 * tree-const.h (is_empty): Hand off to TC_REP::is_empty().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6229
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6230 * data.cc (Fstruct_contains): Call lookup_map_element on args(0)
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6231 instead of extracting the map and calling contains() on it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6232
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6233 * parse.y (EPLUS, EMINUS): New tokens.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6234 (simple_expr): Handle EPLUS, EMINUS the same as `+' and `-'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6235 * lex.l (".+", ".-"): New patterns. Match these separately to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6236 disallow using them as unary operators.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6237
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6238 * lex.l (next_token_is_bin_op): Simplify by noting that spacing
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6239 only matters for those tokens that can also be unary ops.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6240
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6241 Fri Apr 21 14:34:45 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6242
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6243 * load-save.cc (read_ascii_data): Allow reading of empty
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6244 matrices.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6245
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6246 * tc-rep-ass.cc (vector_assignment): Only assert that we are not
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6247 doing fortran-style indexing and that nr <= 1 || nc <= 1.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6248 (do_vector_assign): Handle assignment of [] when one dimension is
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6249 zero and the other is anything.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6250
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6251 Thu Apr 20 13:56:21 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6252
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6253 * tc-rep-ass.cc (delete_rows, delete_columns): Simply return if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6254 num_to_delete is 0.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6255
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6256 * lex.l (handle_identifier): Don't match plot option keywords
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6257 inside parentheses or braces.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6258
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6259 * variables.cc (parse_fcn_file): Also delete tmp_help_txt if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6260 running a script.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6261
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6262 * tree-cmd.h (tree_command): Add destructor.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6263
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6264 * tree-expr.h tree_simple_assignment_expression (lhs_idx_expr):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6265 Hang on to idx_expr, not just its parts so it can be deleted.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6266 (init): Initialize it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6267 * tree-expr.cc (~tree_simple_assignment_expression): Delete it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6268
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6269 * tree-expr.h (tree_multi_val_ret, tree_oct_obj, tree_fvc,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6270 tree_identifier, tree_builtin, tree_function): Add destructors.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6271 * tree-expr.cc (tree_function::~tree_function): Delete some stuff.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6272
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6273 * tree-misc.h (tree_va_return_list): Add destructor.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6274
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6275 * octave.cc (__builtin_new, __builtin_delete): Provide our own,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6276 for debugging.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6277
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6278 * utils.cc (strconcat): Don't depend on the return value from
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6279 strcat.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6280 (file_in_path): Simplify logic.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6281
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6282 * parse.y (maybe_convert_to_ans_assign): Create ans_id each time
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6283 with new and ask tree_simple_assignment_expression to handle
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6284 cleaning it up. This apparently plugs a memory leak.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6285
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6286 * lex.l (strip_trailing_whitespace): Declare retval static.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6287 Delete it before saving next string.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6288
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6289 * error.cc (Ferror): Do call error() for empty string args.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6290 (error_1): Don't print anything if fmt is "" or "\n", but do set
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6291 the error state appropriately.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6292
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6293 * tree-cmd.cc (tree_unwind_protect::eval): Handle return and break
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6294 in the `try' part of the statement.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6295
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6296 Mon Apr 10 19:29:44 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6297
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6298 * f-expm.cc, f-givens.cc, f-qzval.cc, f-syl.cc, f-rand.cc:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6299 Where appropriate, declare Fortran functions to take reference
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6300 instead of pointer args. Change callers.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6301
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6302 * mappers.cc: Declare Fortran functions to take reference instead
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6303 of pointer args. Change callers.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6304
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6305 * gamma.c, lgamma.c, erfc.c, erf.c, atanh.c, asinh.c, acosh.c:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6306 Declare Fortran functions to take reference instead of pointer
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6307 args.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6308
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6309 Sun Apr 9 19:38:53 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6310
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6311 * file-io.cc (Fpopen, Fpclose, Fexecute, Fsync_system,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6312 Fasync_system, Fwaitpid, Fmkfifo, Funlink): New functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6313
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6314 * sighandlers.cc (sigchld_handler): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6315 (install_signal_handlers): Add call to install
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6316 sigchld_handler. (This is #if 0'd out, waiting for code to help
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6317 determine which child exited and what to do about it).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6318
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6319 * tree-expr.h (tree_oct_obj): New class.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6320
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6321 * tree-expr.h (tree_multi_assignment_expression::preserve): New
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6322 data member. Add arg with default value to constructors. Change
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6323 callers as necessary.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6324 * tree-expr.cc (~tree_multi_assignment_expression): Conditionally
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6325 delete lhs.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6326
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6327 * parse.y (make_multi_val_ret): Pass matrix instead of getting it
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6328 from the global matrix list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6329 (expression): Extract matrix from matrix list before calling
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6330 make_multi_val_ret().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6331
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6332 * parse.y (command): Handle new for loop syntax for structures.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6333
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6334 * tree-plot.h (subplot_list): Include tree_print_code() in
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6335 initializer lists for constructors.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6336 * tree-expr.h (tree_statement_list, tree_argument_list,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6337 tree_parameter_list, tree_return_list, tree_global_init_list,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6338 tree_if_command_list, ): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6339
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6340 * tree-cmd.h (tree_for_command::id_list): New data member.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6341 (tree_for_command (tree_return_list*, tree_expression*,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6342 tree_statement_list*, int, int)): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6343 * tree-cmd.cc (tree_for_command::eval): Handle for loops with
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6344 structures.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6345 (do_for_loop_once (tree_return_list*, Octave_object&, int&)):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6346 New form for handling for loops with structures.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6347
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6348 * sysdep.cc (octave_ieee_init): Determine floating point format
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6349 here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6350 (native_float_format): New global variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6351 (Fisieee): Compute return value from native_float_format, not by
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6352 using preprocessor macros.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6353 * sysdep.h (enum floating_point_format): Move declaration here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6354 * load-save.cc: From here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6355 Always define all floating point format conversion routines.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6356 (do_double_format_conversion, do_float_format_conversion):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6357 Use native_float_format instead of preprocessor macros.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6358
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6359 Sat Apr 8 15:41:35 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6360
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6361 * Makefile (TEMPLATE_SRC): New variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6362 (DISTFILES): Add $(TEMPLATE_SRC).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6363 (SOURCES): Delete Map.cc and SLStack.cc from here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6364
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6365 * variables.cc (install_builtin_variables): Use OCTAVE_VERSION
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6366 instead of version_string to initialize OCTAVE_VERSION.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6367 * version.h (version_string): Delete.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6368
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6369 * getopt.c (_getopt_internal): Initialize indfound to avoid warning.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6370
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6371 Fri Apr 7 15:29:41 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6372
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6373 * tc-inlines.h (REP_RHS_MATRIX): Just check to see if tc is real
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6374 or complex. If conversion fails, return.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6375
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6376 Thu Apr 6 00:10:47 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6377
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6378 * data.cc (Fstruct_contains): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6379
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6380 * tc-rep.cc (print_code): Add extra parens around while condition
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6381 to avoid warning.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6382 * utils.cc (undo_string_escapes): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6383 * input.cc (decode_prompt_string): Likewise. Also rewrite if
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6384 statement to avoid warning.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6385
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6386 Tue Apr 4 22:54:17 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6387
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6388 * tree-expr.cc (tree_multi_assignment_expression::eval,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6389 tree_simple_assignment_expression::eval): Call print_constant
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6390 even if user_pref.print_answer_id_name is false.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6391
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6392 Mon Apr 3 17:57:14 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6393
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6394 * tc-inlines.h (TC_REP): Avoid redefinition.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6395
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6396 * tree-const.h (do_binary_op, do_unary_op): Declare as friends of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6397 tree_constant class too.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6398
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6399 * tree-plot.h (subplot_using::have_values): Delete data member.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6400 * tree-plot.cc (subplot_using::eval): Always recompute values.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6401
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6402 Fri Mar 31 10:18:32 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6403
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6404 * tc-rep.cc (print): Print open brace for structures here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6405 * tree-expr.cc (print_constant): Not here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6406
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6407 * symtab.cc (define): Don't delete arg if sv_fcn fails.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6408
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6409 * tree-const.cc (print): New function. Create ostrstream buffer
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6410 and pass it to rep->print().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6411 * tree-const.h (eval (int)): Call print(), not rep->print().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6412 * tc-rep.cc (structure_indent_level): New file-scope variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6413 (print): New arg, output_buf, is stream to print to.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6414 Print values of structure elements too.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6415
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6416 * user-prefs.h (user_preferences): New field, struct_levels_to_print.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6417 * user-prefs.cc (struct_levels_to_print): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6418 * variables.cc (install_builtin_variables): Add DEFVAR for new
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6419 variable struct_levels_to_print.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6420
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6421 * tree-const.cc (print_as_scalar, print_as_structure): Move here
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6422 from tree-expr.cc and make extern.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6423
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6424 * tree-expr.cc (print_as_structure): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6425 (print_constant): Use it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6426
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6427 * tree-expr.cc (print_constant): New arg, print_padding.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6428 (tree_simple_assignment_expression::eval): Use print_constant
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6429 instead of duplicating code here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6430 (tree_multi_assignment_expression::eval): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6431
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6432 Thu Mar 30 13:24:11 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6433
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6434 * Makefile.in (SOURCES): Add resource.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6435 * resource.cc: New file, extracted from timefns.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6436 (Fgetrusage): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6437 * timefns.cc (cputime): Delete (now implemented in a function file
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6438 using new getrusage function).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6439
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6440 Wed Mar 29 22:52:42 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6441
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6442 * Makefile.in (SOURCES): Add strftime.c.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6443 * strftime.c: New file, from sh-utils distribution.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6444
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6445 * timefns.cc (mk_tm_map, extract_tm, Ftime, Fgmtime, Flocaltime,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6446 Fmktime, Fstrftime): New basic time functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6447 (Fclock, Fdate): Delete (now implemented in function files using new
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6448 time functions).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6449
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6450 Tue Mar 28 17:51:51 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6451
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6452 * file-io.cc (return_valid_file, do_printf, do_scanf,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6453 fclose_internal, feof_internal, ferror_internal, fflush_internal,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6454 fgets_internal, fopen_internal, fread_internal, freport_internal,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6455 frewind_internal, fseek_internal, ftell_internal,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6456 fwrite_internal): Declare static.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6457 * file-io.h: Delete extern declarations for them.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6458
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6459 Fri Mar 24 09:52:50 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6460
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6461 * pr-output.cc (pr_col_num_header): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6462 (compact_format): New file-scope variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6463 (set_format_style): Handle loose and compact formats.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6464 (octave_print_internal (ostream&, const ComplexMatrix&, int)):
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6465 Replace duplicate code with call to pr_col_num_header().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6466 (octave_print_internal (ostream&, const Matrix&, int): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6467 (octave_print_internal (ostream&, const Range&, int): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6468
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6469 Tue Mar 21 08:44:48 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6470
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6471 * mappers.cc (xgamma): Always use Slatec library function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6472 * (xlgamma): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6473 * Makefile.in (SOURCES): Don't include lgamma.c.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6474
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6475 Fri Mar 17 22:38:39 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6476
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6477 * tc-rep.cc (TC_REP::new): Don't try to keep track of newlist_tail.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6478 Explicitly initialize newlist to zero.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6479 * tree-const.cc (tree_constant::operator new): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6480
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6481 Fri Mar 10 12:40:24 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6482
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6483 * tree-cmd.cc (quit_loop_now): Declare inline.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6484 (tree_for_command::do_for_loop_once): Split into two versions, one
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6485 for the general case and one for when the loop variable is a
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6486 simple identifier.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6487 (DO_LOOP): New macro. Move tests outside of loop.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6488 (tree_for_command::eval): Speed up by checking to see if loop
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6489 variable is a simple identifier and by using DO_LOOP.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6490
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6491 * tree-const.h: New union of rep and freeptr. The freeptr element
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6492 is used for our custom memory management functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6493
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6494 * tc-rep.h: Add freeptr element to anonymous union (for our custom
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6495 memory management functions).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6496
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6497 * tree-const.cc (newlist, newlist_grow_size, newlist_tail): New
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6498 static variables.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6499 (tree_constant::operator new): Always define to allow more
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6500 efficient allocation of single tree_constants.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6501 (tree_constant::operator delete): Likewise, handle deletion of the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6502 memory we allocate.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6503
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6504 * tc-rep.cc (newlist, newlist_grow_size, newlist_tail): New static
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6505 variables.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6506 (tree_constant::operator new): Always define to allow more
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6507 efficient allocation of single tree_constants.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6508 (tree_constant::operator delete): Likewise, handle deletion of the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6509 memory we allocate.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6510
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6511 Fri Mar 3 14:00:08 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6512
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6513 * error.cc (verror): Terminate output_buf with ends.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6514
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6515 * statdefs.h: Use C-style comment in first line instead of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6516 C++-style comment.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6517
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6518 Mon Feb 27 10:11:18 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6519
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6520 * parse.y (maybe_convert_to_ans_assign): Only lookup ans once.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6521 * variables.cc (bind_ans): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6522 * tree-expr.cc (tree_identifier::eval (int)): Use it here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6523 (tree_identifier::eval (int, int, const Octave_object&): And here.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6524
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6525 * tree-expr.cc (install_nargin_and_nargout): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6526 * tree-expr.h (tree_function::tree_function (tree_statement_list *,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6527 symbol_table *, int, int)): Call it.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6528
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6529 * tree-expr.cc (tree_function::bind_nargin_and_nargout): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6530 (tree_function::eval): Call it insead of the one from variables.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6531
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6532 * variables.cc (bind_nargin_and_nargout): #if 0 out.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6533
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6534 Sun Feb 26 00:17:06 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6535
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6536 * load-save.cc (Fload, Fsave): Free fname returned by tilde_expand().
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6537 * dirfns.cc (Fls): Likewise.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6538
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6539 * tree-expr.cc (tree_multi_assignment_expression::eval (int, int,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6540 const Octave_object&)): Call tree_return_list::operator () (Pix)
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6541 explicitly.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6542
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6543 * octave.cc (initialize_globals): Put TEXMF in the environment for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6544 kpthsea.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6545
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6546 * Makefile.in (OCTAVE_LIBS): Use @LIBINFO@ and @LIBREADLINE@,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6547 substituted by configure. Use kpathsea.a, not libkpathsea, so we
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6548 don't have to modify the kpathsea Makefile.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6549
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6550 Sat Feb 25 18:59:26 1995 John Eaton <jwe@schoch.che.utexas.edu>
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6551
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6552 * pathsearch.cc: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6553 * pathsearch.h: New file.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6554 * Makefile.in (INCLUDES): Include it in the list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6555 * dynamic-ld.cc, help.cc, utils.cc: Use it instead of repeating
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6556 identical code multiple times.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6557
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6558 * variables.cc (install_builtin_variables): Only DEFVAR
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6559 suppress_verbose_help_message if USE_GNU_INFO.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6560
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6561 * help.cc (Fhelp): Only handle -i if USE_GNU_INFO.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6562 (additional_help_message): Only print message if USE_GNU_INFO.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6563 (builtin_help): New function.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6564 (help_from_info): New function. Print warning if not USE_GNU_INFO.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6565
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6566 See ChangeLog.1 in the top level directory for earlier changes.