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