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