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