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