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