comparison src/ChangeLog @ 5189:85b315ad5f7d

[project @ 2005-03-04 02:46:08 by jwe]
author jwe
date Fri, 04 Mar 2005 02:46:08 +0000
parents fd90c6df7d52
children 40d1282dda33
comparison
equal deleted inserted replaced
5188:fd90c6df7d52 5189:85b315ad5f7d
1 2005-03-03 John W. Eaton <jwe@octave.org> 1 2005-03-03 John W. Eaton <jwe@octave.org>
2
3 * input.cc (input_from_command_line_file): Move definition here.
4 * parse.y: From here.
5 * input.h (input_from_command_line_file): Move decl here.
6 * parse.h: From here.
7
8 * input.cc (octave_gets):
9 Don't save history if input is from command line file.
10
11 * parse.y (parse_and_execute, parse_fcn_file, eval_string):
12 Don't alter value of input_from_command_line_file here.
13 (input_from_command_line_file): Default value is false.
14 (eval_string): Turn off line editing here.
15
16 * toplev.cc, toplev.h (main_loop): Delete fun_to_call arg and all uses.
17
18 * octave.cc (fun_to_call): Delete static variable.
19 (persist, code_to_eval): New static variables.
20 (long_opts): Delete --funcall, add --eval and --persist.
21 (usage_string, verbose_usage, octave_main): Likewise.
22 (FUNCALL_OPTION): Delete.
23 (EVAL_OPTION, PERSIST_OPTION): New macros.
24 (maximum_braindamage): Set persist to true.
25 (execute_eval_option_code): New function.
26 (restore_program_name): New function.
27 (execute_command_line_file): New function.
28 (octave_main): Call execute_eval_option code and
29 execute_command_line file. If persist, go interactive even after
30 evaluating --eval code and/or command-line file.
2 31
3 * ov-bool-sparse.h, ov-bool-sparse.cc 32 * ov-bool-sparse.h, ov-bool-sparse.cc
4 (octave_sparse_bool_matrix::sparse_matrix_value, 33 (octave_sparse_bool_matrix::sparse_matrix_value,
5 octave_sparse_bool_matrix::sparse_complex_matrix_value): 34 octave_sparse_bool_matrix::sparse_complex_matrix_value):
6 Accept bool arg. 35 Accept bool arg.