Mercurial > octave-nkf
comparison liboctave/ChangeLog @ 11486:a1deab9a6e71
bash-like history control
author | Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 12 Jan 2011 03:40:19 -0500 |
parents | 5eb10763069f |
children | 49368dbf0822 |
comparison
equal
deleted
inserted
replaced
11485:571bfa4fc295 | 11486:a1deab9a6e71 |
---|---|
1 2011-01-12 Pascal Dupuis <Pascal.Dupuis@worldonline.be> | |
2 John W. Eaton <jwe@octave.org> | |
3 | |
4 * cmd-hist.cc (command_history::process_histcontrol, | |
5 command_history::hist_control, command_history::process_histcontrol, | |
6 command_history::hist_control): New functions. | |
7 (command_history::initialize, command_history::do_initialize): | |
8 New arg, control_arg. | |
9 * cmd-hist.cc (gnu_history::do_add): Pass history_control to | |
10 octave_add_history. | |
11 * cmd-hist.h (command_history::process_histcontrol, | |
12 command_history::hist_control, command_history::process_histcontrol, | |
13 command_history::hist_control): Provide decls. | |
14 (command_history::history_control): New data member. | |
15 | |
16 * oct-rl-hist.c (octave_add_history): New arg, history_control. | |
17 Return int, not void. | |
18 (check_history_control, hc_erasedups): New static functions | |
19 borrowed from Bash. | |
20 * oct-rl-hist.h (octave_add_history): Fix decl. | |
21 (HC_IGNSPACE, HC_IGNDUPS, HC_ERASEDUPS): New #defined constants. | |
22 | |
1 2011-01-06 John W. Eaton <jwe@octave.org> | 23 2011-01-06 John W. Eaton <jwe@octave.org> |
2 | 24 |
3 * oct-md5.cc (oct_md5_file): Tag call to fclose with gnulib::. | 25 * oct-md5.cc (oct_md5_file): Tag call to fclose with gnulib::. |
4 * Range.cc (tfloor): Tag calls to floor with gnulib::. | 26 * Range.cc (tfloor): Tag calls to floor with gnulib::. |
5 * lo-mappers.h (xfloor): Tag call to floor with gnulib:: | 27 * lo-mappers.h (xfloor): Tag call to floor with gnulib:: |