Remove vestiges of REPEATING DATA support.
[pspp-builds.git] / src / language / data-io / ChangeLog
1 Mon May  1 16:06:30 2006  Ben Pfaff  <blp@gnu.org>
2
3         Remove vestiges of REPEATING DATA support.
4         
5         * data-list.c: (struct rpd_num_or_var) Removed.
6         (struct repeating_data_trns) Removed.
7         (cmd_repeating_data) Removed.
8         (find_variable_input_spec) Removed.
9         (parse_num_or_var) Removed.
10         (parse_repeating_data) Removed.
11         (realize_value) Removed.
12         (struct rpd_parse_info) Removed.
13         (rpd_parse_record) Removed.
14         (repeating_data_trns_proc) Removed.
15         (repeating_data_trns_free) Removed.
16         (repeating_data_set_write_case) Removed.
17         (rpd_msg) Removed.
18
19         * inpt-pgm.c: (input_program_source_read) Don't deal with
20         REPEATING DATA.
21
22 Mon May  1 15:58:28 2006  Ben Pfaff  <blp@gnu.org>
23
24         Remove vestiges of FILE TYPE support. 
25         
26         * data-list.c: (cmd_data_list) Don't check for FILE TYPE.
27         (cmd_repeating_data) Ditto.
28         
29         * automake.mk (src_language_data_io_libdata_io_a_SOURCES): Remove
30         file-type.c, file-type.h.
31
32         * file-type.c: Removed.
33         
34         * file-type.h: Removed.
35
36 Wed Apr 26 13:16:28 2006  Ben Pfaff  <blp@gnu.org>
37
38         Improve the way we handle the various parsing "states".  Until now
39         we've hard-coded the state transitions in the command definition
40         file, but that's error-prone and, worse, it's redundant--we can
41         figure out what state we're in anyhow.  We can cleanly handle
42         INPUT PROGRAM and FILE TYPE with a nested command-processing loop.
43         
44         * data-list.c: (cmd_data_list) Use in_file_type() or
45         in_input_program() in place of case_source_is_class() or
46         case_source_is_complex().
47
48         * file-type.c: NB: Not really fixed except minimally to compile,
49         because it doesn't work anyway.
50         (in_file_type) New function.
51         (cmd_record_type) No need to check that we're in FILE TYPE.
52         (cmd_end_file_type) Ditto.
53         (var file_type_source_class) Make static.
54
55         * get.c: (cmd_match_files) Check vfm_source instead of pgm_state.
56
57         * inpt-pgm.c: (in_input_program) New function.
58         (cmd_input_program) Rewrite to include nested command processing
59         loop.
60         (cmd_end_input_program) Just return CMD_END_SUBLOOP.
61         (var input_program_source_class) Make static.
62         (cmd_end_case) No need to check that we're in INPUT PROGRAM.
63         (cmd_end_file) Ditto.
64         
65         * automake.mk (src_language_data_io_libdata_io_a_SOURCES): Add
66         file-type.h, inpt-pgm.h.
67
68         * file-type.h: New file.
69
70         * inpt-pgm.h: New file.
71
72 Tue Apr 25 13:11:55 2006  Ben Pfaff  <blp@gnu.org>
73
74         * print.c: Don't special-case MS-DOS line terminators.
75         (macro LINE_END_WIDTH) Removed.
76         (alloc_line) Line ends are 1 byte.
77         (print_trns_proc) Just output \n for line end.
78
79 Sun Apr 23 22:05:58 2006  Ben Pfaff  <blp@gnu.org>
80
81         Continue reforming error message support.  In this phase, get rid
82         of message "titles" and put the message text in `struct error'.
83         Now `struct error' encapsulates a message more properly.
84         
85         * data-list.c: (macro RPD_ERR) Removed.
86         (rpd_msg) New function.  Updated all references to tmsg() to call
87         this function instead.
88
89 Sat Apr 15 19:38:13 2006  Ben Pfaff  <blp@gnu.org>
90
91         Remove last users of struct file_ext so we can get rid of it
92         entirely.
93         
94         * data-reader.c: (struct dfm_reader) Change file member from
95         struct file_ext to FILE *.  Updated all references.
96         (dfm_close_reader) Close file with fn_close() instead of
97         fn_close_ext().  Also, make a copy of the file name from the file
98         handle before closing it, because we can't extract it after we
99         close the file.
100         (dfm_open_reader) Open file with fn_open() instead of
101         fn_open_ext().
102
103         * data-writer.c: (struct dfm_writer) Change file member 
104         struct file_ext to FILE *.  Updated all references.
105         (dfm_close_writer) Close file with fn_close() instead of
106         fn_close_ext().  Also, make a copy of the file name from the file
107         handle before closing it, because we can't extract it after we
108         close the file.
109         (dfm_open_writer) Open file with fn_open() instead of
110         fn_open_ext().
111
112 Sat Apr 15 18:00:32 2006  Ben Pfaff  <blp@gnu.org>
113
114         * data-list.c: Add prototype to suppress warning for
115         cmd_repeating_data().
116         
117 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
118         
119         * Moved files from src directory