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