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