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