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