Mercurial > octave-nkf
comparison src/ChangeLog @ 3640:d3b0ff09dda7
[project @ 2000-03-24 10:28:19 by jwe]
author | jwe |
---|---|
date | Fri, 24 Mar 2000 10:28:20 +0000 |
parents | fed1847dfd6c |
children | 3843aa0767c8 |
comparison
equal
deleted
inserted
replaced
3639:fed1847dfd6c | 3640:d3b0ff09dda7 |
---|---|
1 2000-03-24 John W. Eaton <jwe@bevo.che.wisc.edu> | |
2 | |
3 * oct-stream.cc (printf_format_list::add_elt_to_list, | |
4 printf_format_list::process_conversion, | |
5 printf_format_list::finish_conversion): New args, flags, fw, and prec. | |
6 (printf_format_list::printf_format_list): Save more complete info. | |
7 (printf_format_list::printme): Print flags, fw, and prec. | |
8 (octave_base_stream::printf): Simplify. | |
9 (do_printf_conv): Delete have_arg arg, since it is always true now. | |
10 (octave_base_stream::do_printf): Handle case of no args and % | |
11 directly instead of using do_printf_conv. | |
12 (printf_value_cache::exhausted): Rename from no_more_values. | |
13 (DO_PCT_CONVERSION): New macro | |
14 (octave_base_streain::do_scanf, octave_base_streain::do_oscanf): | |
15 Use it. | |
16 (scanf_format_list::finish_conversion): `%' counts as a conversion too. | |
17 Also don't forget to set type for it. | |
18 (OCTAVE_SCAN_0): Delete. | |
19 (OCTAVE_SCAN): Rename from OCTAVE_SCAN_1. | |
20 (octave_base_stream::scanf, octave_base_stream::oscanf): Don't | |
21 special-case number of conversions here. | |
22 (octave_base_stream::oscanf, octave_base_stream::do_oscanf): Only | |
23 cycle through fmt elements if the number of conversions is greater | |
24 than 0. | |
25 | |
26 * oct-stream.h (scanf_format_list::next): New arg, `cycle'. | |
27 (printf_format_list::next): New arg, `cycle'. | |
28 (printf_format_list::last_elt_p): New function. | |
29 (printf_format_elt): New fields fw, prec, and flags. | |
30 Define copy constructor and assignment operator. | |
31 (scanf_format_elt): Define copy constructor and assignment operator. | |
32 | |
1 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> | 33 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
2 | 34 |
3 * oct-stream.cc (OCTAVE_SCAN_0, OCTAVE_SCAN_1): New macros. | 35 * oct-stream.cc (OCTAVE_SCAN_0, OCTAVE_SCAN_1): New macros. |
4 (do_scanf_conv, BEGIN_S_CONVERSION, BEGIN_CHAR_CLASS_CONVERSION, | 36 (do_scanf_conv, BEGIN_S_CONVERSION, BEGIN_CHAR_CLASS_CONVERSION, |
5 do_scanf, scanf, do_oscanf, do_oscanf, oscanf): Use them instead | 37 do_scanf, scanf, do_oscanf, do_oscanf, oscanf): Use them instead |