59d9a7bd1e58509f8fd2b91b703ecc1adecc639b
[pspp-builds.git] / src / data / ChangeLog
1 Fri May  5 21:34:02 2006  Ben Pfaff  <blp@gnu.org>
2
3         Get rid of unused member.
4
5         * procedure.c: (struct write_case_data) Remove `cases_analyzed'
6         member.
7         (write_case) Don't increment cases_analyzed.
8
9 Thu May  4 21:50:11 2006  Ben Pfaff  <blp@gnu.org>
10
11         Continue reforming procedure execution.  In this phase, move
12         procedure.c and procedure.h from src to src/data.  Update
13         makefiles and #includes accordingly.
14
15         * procedure.c: Moved here from src/.
16
17         * procedure.h: Moved here from src/.
18
19 Wed May  3 22:42:12 2006  Ben Pfaff  <blp@gnu.org>
20
21         Continue reforming procedure execution.  In this phase, get rid of
22         many global variables, consolidating procedure execution in
23         procedure.c.  Encapsulate transformations in new "struct
24         trns_chain".  Also, change implementation of N OF CASES, FILTER,
25         and PROCESS IF from special cases to transformations.
26          
27         * automake.mk: (src_data_libdata_a_SOURCES) Add transformations.c,
28         transformations.h.
29
30         * dictionary.c: (global variable default_dict) Move to
31         src/procedure.c.
32
33         * variable.h: (TRNS_*) Move to transformations.h.
34         (struct transformation) Move to transformations.c.
35
36 Thu May  4 13:47:06 WST 2006 John Darrington <john@darrington.wattle.id.au>
37
38         * sys-file-reader.c: Fixed invalid read problems.
39
40 Tue May  2 15:57:10 2006  Ben Pfaff  <blp@gnu.org>
41
42         * storage-stream.c: Add missing function comments.
43
44 Tue May  2 15:50:21 2006  Ben Pfaff  <blp@gnu.org>
45
46         Continue reforming procedure execution.  In this phase, add some
47         new, needed functionality to storage-stream.
48
49         * storage-stream.c: (storage_source_decapsulate) New function.
50
51 Tue May  2 15:43:36 2006  Ben Pfaff  <blp@gnu.org>
52
53         * variable.c (width_to_bytes): Declarations must precede
54         statements for C90 compliance.
55
56 Tue May  2 10:42:05 WST 2006 John Darrington <john@darrington.wattle.id.au>
57
58         * data-out.c, data-in.c, variable.c, variable.h: New functions 
59         copy_mangle and copy_demangle for reading/writing cases; emulates the 
60         way SPSS deals with strings > 255 bytes.
61
62         * sys-file-reader.c sys-file-writer.c: Added support for Record 7, 
63         subtype 14 needed for strings longer than 255 bytes.
64
65         * dictionary.c, format.def, value.c : Updated to use MAX_STRING 
66         instead of literal values. Also fixed some constness issues.
67
68         * format.h: Constness
69
70         * sfm-private.h: Renamed the case_size identifier, since I discovered 
71         that SPSS's respect for this variable is very nominal.
72
73 Mon May  1 15:45:42 2006  Ben Pfaff  <blp@gnu.org>
74
75         Change case limit type from int to size_t.
76
77         * dictionary.c: (struct dictionary) Change type of case_limit
78         member.
79         (dict_get_case_limit) Change return type.
80         (dict_set_case_limit) Change parameter type.
81
82 Wed Apr 26 20:01:19 2006  Ben Pfaff  <blp@gnu.org>
83
84         * variable.h: (struct variable) Rename `reinit' member as `leave'
85         and invert sense.  Fix up all references.
86
87 Wed Apr 26 19:39:28 2006  Ben Pfaff  <blp@gnu.org>
88
89         Continue reforming procedure execution.  In this phase, break
90         procedure.c into multiple files.
91         
92         * automake.mk: (src_data_libdata_a_SOURCES) Add all the new files.
93
94         * case-sink.c: New file.
95
96         * case-sink.h: New file.
97         
98         * case-source.c: New file.
99
100         * case-source.h: New file.
101         
102         * storage-stream.c: New file.
103
104         * storage-stream.h: New file.
105
106 Wed Apr 26 14:55:19 2006  Ben Pfaff  <blp@gnu.org>
107
108         * variable.h: (struct variable) Remove `init' member and all
109         references to it from other files.  It was initialized in several
110         places, but nothing really ever used it for anything worthwhile.
111         Thanks to Jason Stover for pointing out how confusing this
112         member is.
113
114 Sun Apr 23 22:04:45 2006  Ben Pfaff  <blp@gnu.org>
115
116         Continue reforming error message support.  In this phase, get rid
117         of message "titles" and put the message text in `struct error'.
118         Now `struct error' encapsulates a message more properly.
119         
120         * casefile.c: (io_error) Use err_msg() instead of err_vmsg().
121         Format message ourselves.
122
123         * data-in.c: (vdls_error) Ditto.
124
125         * por-file-reader.c: (error) Ditto.
126
127         * sys-file-reader.c: (corrupt_msg) Ditto.
128
129 Sun Apr 16 18:49:51 2006  Ben Pfaff  <blp@gnu.org>
130
131         GNU standards require "file name" instead of "filename" in
132         documentation.  It's nice for our code to follow the convention
133         too.
134         
135         * casefile.c: (struct casefile) Rename `filename' member to
136         `file_name'.  Updated all references.
137
138         * file-name.c: [!unix] (struct file_identity) Rename
139         normalized_filename member to normalized_file_name.  Updated all
140         references.
141
142 Sun Apr 16 18:35:33 2006  Ben Pfaff  <blp@gnu.org>
143
144         We don't really support anything but Unix-like environments well,
145         so we might as well de-obfuscate by writing directory and path
146         separators explicitly.
147
148         * file-name.h: (macro DIR_SEPARATOR) Removed.  Changed all usages
149         to just '/'.
150         (macro PATH_SEPARATOR) Removed.  Changed all usages to just ':'.
151         (macro DIR_SEPARATOR_STRING) Removed.  Changed all usages to just
152         "/".
153         (macro PATH_SEPARATOR_STRING) Removed.  Changed all usages to just
154         ":"
155
156 Sun Apr 16 18:28:35 2006  Ben Pfaff  <blp@gnu.org>
157
158         GNU standards require "file name" instead of "filename" in
159         documentation.  It's nice for our code to follow the convention
160         too.
161         
162         * filename.c: Rename to file-name.c.
163
164         * filename.h: Rename to file-name.h.  Update all inclusions.
165         Update header guards.
166
167         * automake.mk: Update file names.
168
169 Sun Apr 16 16:42:47 2006  Ben Pfaff  <blp@gnu.org>
170
171         * filename.c: (fn_dirname) Renamed fn_dir_name(), all references
172         updated.
173         (fn_basename) Removed (dead code).
174         (fn_absolute_p) Renamed fn_is_absolute(), all references updated.
175         (fn_special_p) Renamed fn_is_special(), all references updated.
176         (fn_exists_p) Renamed fn_exists(), all references updated.
177
178 Sun Apr 16 16:33:58 2006  Ben Pfaff  <blp@gnu.org>
179
180         * filename.c: (fn_tilde_expand) Rewrite for cleaner code.  
181         Also, now it only tilde-expands file names, not paths.
182         (fn_search_path) Tilde-expand one directory at a time.
183
184 Sun Apr 16 16:28:06 2006  Ben Pfaff  <blp@gnu.org>
185
186         * filename.c: (fn_search_path) rewrite for cleaner code.  Also,
187         get rid of non-Unixlike version of the code, which has probably
188         never been tested.
189         (fn_prepend_dir) Removed (dead code).
190
191         * filename.h: (macro DIR_SEPARATOR_STRING) New.
192         (macro PATH_SEPARATOR_STRING) New.
193 Sun Apr 16 16:05:28 2006  Ben Pfaff  <blp@gnu.org>
194
195         Continue reforming error message support.  In this phase, we get
196         rid of VM() and the other msg() support for "verbosity", replacing
197         it by a new function verbose_msg().
198
199         * filename.c: (fn_search_path) Use verbose_msg() instead of
200         msg(VM(), ...).  
201
202 Sat Apr 15 19:53:19 2006  Ben Pfaff  <blp@gnu.org>
203
204         * sfm-private.h: Get rid of #defines after #error, which makes no
205         sense.
206
207 Sat Apr 15 19:48:57 2006  Ben Pfaff  <blp@gnu.org>
208
209         Get rid of our own int32 type in favor of the standard int32_t
210         type.
211         
212         * sfm-private.h: (int32 macro) Don't define this anymore.  Do
213         include <stdint.h>.
214
215         * sys-file-reader.c: Use int32_t instead of int32 throughout.
216         
217         * sys-file-writer.c: Use int32_t instead of int32 throughout.
218
219 Sat Apr 15 19:36:47 2006  Ben Pfaff  <blp@gnu.org>
220
221         Remove ill-considered file routines that are no longer used.
222         
223         * filename.c: (fn_open_ext) Removed.
224         (fn_close_ext) Removed.
225
226         * filename.h: (struct file_ext) Removed.
227
228 Mon Apr  3 13:22:39 2006  Ben Pfaff  <blp@gnu.org>
229
230         * variable.c (var_is_valid_name): Move declarations before code
231         for C90 compliance.
232
233 Tue Apr  4 15:28:40 WST 2006 John Darrington <john@darrington.wattle.id.au>
234
235         * filename.ch (fn_interp_vars): Fixed small buglet.
236
237 Tue Mar 28 13:47:16 WST 2006 John Darrington <john@darrington.wattle.id.au>
238         
239         * filename.[ch] (fn_interp_vars): Changed the signature and semantics
240         so as to modify the string inline.   Thus makeing it easier to
241         destroy the results when no longer needed.
242         
243 2006-03-25  Jason Stover  <jhs@math.gcsu.edu>
244
245         * category.c (cat_stored_values_destroy): Fixed memory leak.
246
247 Fri Mar 24 18:15:41 2006  Ben Pfaff  <blp@gnu.org>
248
249         Add some missing frees.  Thanks to John Darrington for reporting
250         these.
251
252         * any-writer.c (any_writer_close): Free writer.
253
254         * any-reader.c (any_reader_close): Free reader.
255
256 Mon Mar 20 16:33:53 2006  Ben Pfaff  <blp@gnu.org>
257
258         * por-file-reader.c: (error) Mark as NO_RETURN.
259
260 Sat Mar 11 15:06:07 WST 2006 John Darrington <john@darrington.wattle.id.au>
261
262         * settings.c: Changed default value of scompress to true.
263
264 Sat Mar  4 13:22:51 2006  Ben Pfaff  <blp@gnu.org>
265
266         * sfm-private.h: Include variable.h, to get SHORT_NAME_LEN.
267
268         * value.h: Remove check on MAX_SHORT_STRING, which I don't think
269         really applies.
270
271         * variable.h: Move definition of SHORT_NAME_LEN, LONG_NAME_LEN
272         here from pref.h.orig.
273
274 Sat Mar  4 12:50:48 WST 2006 John Darrington <john@darrington.wattle.id.au>
275
276         * sys-file-reader.c: Fixed bug reading compressed files.
277
278 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
279
280         * Numerous renames.  See src/ChangeLog for details.
281         
282         * Moved files from src directory