Rewrite formatted data input routines to conform to SPSS data formats
[pspp-builds.git] / src / data / ChangeLog
1 Sat Nov 18 20:46:35 2006  Ben Pfaff  <blp@gnu.org>
2
3         * format.c: (fmt_date_template) Distinguish characters for which a
4         space is output and any date delimiter is allowed on input, from
5         those for which a space is output and only a space is allowed on
6         input.  The former is represented by X, the latter by a space.
7         Also, drop distinction between h and H, changing the former to the
8         latter.
9
10         * data-in.c: Completely rewrite internals to conform to SPSS input
11         formats as closely as possible.
12         (data_in) Changed external interface by replacing the structure
13         that was used as a single argument by a set of arguments.  Updated
14         all callers.
15         (data_in_finite_line) Removed.  Converted all callers to use plain
16         data_in.
17         (data_in_get_integer_format) New function.
18         (data_in_set_integer_format) New function.
19         (data_in_get_float_format) New function.
20         (data_in_set_float_format) New function.
21
22         * data-in.h: (enums DI_IGNORE_ERROR, DI_IMPLIED_DECIMALS) Removed.
23         (struct data_in) Removed.
24
25         * data-out.c: (output_date) Drop each component from the input as
26         it is output, to allow us to drop the distinction between h (a
27         count of hours) and H (the hour of day) template characters.
28         Also, handle new X template character.
29         (output_scientific) Follow more rational rule on when to drop
30         fraction introduced between SPSS 13 and 15.  Updated test case to
31         match new behavior.
32
33 Sat Nov 11 11:41:26 2006  Ben Pfaff  <blp@gnu.org>
34
35         Fix buffer overflow reported by John Darrington.
36
37         * data-out.c (output_bcd_integer): In case of SYSMIS, etc.,
38         realize that DIGITS is a count of nibbles, not of bytes.
39
40 Sat Nov  4 15:59:56 2006  Ben Pfaff  <blp@gnu.org>
41
42         * calendar.c (calendar_offset_to_gregorian) Also return the
43         year-of-day.  Change callers to new interface.
44
45         * data-out.c: Completely rewrite internals to conform to SPSS
46         output formats as completely as possible.
47         (data_out) Change interface to put input parameters before output
48         parameters, for consistency with the style I now prefer.  Update
49         all callers.
50         (data_out_get_integer_format) New public function.
51         (data_out_set_integer_format) New public function.
52         (data_out_get_float_format) New public function.
53         (data_out_set_float_format) New public function.
54
55         * data-out.h: New file.  Move prototype for data_out here, from
56         format.h.
57
58         * format.c: (fmt_step_width) Use equality comparison instead of
59         bitwise and, for clarity.
60         (fmt_is_string) Ditto.
61         (fmt_input_to_output) Fix categories that are translated to F
62         format.
63
64 Sun Nov  5 08:29:34 WST 2006 John Darrington <john@darrington.wattle.id.au>
65
66         * casefilter.c casefilter.h (new files), casefile.c casefile.h 
67         casefile-private.h: Added casefilter to assist commands with missing 
68         values.
69
70 Sat Nov  4 11:47:09 2006  Ben Pfaff  <blp@gnu.org>
71
72         Implement SET ERRORS, SHOW ERRORS.  Fixes bug #17609.
73         
74         * settings.c: (route_errors_to_terminal) New variable.
75         (route_errors_to_listing) New variable. 
76         (get_error_routing_to_terminal) New function.
77         (set_error_routing_to_terminal) New function.
78         (get_error_routing_to_listing) New function.
79         (set_error_routing_to_listing) New function.
80
81         * settings.h: (SET_ROUTE_* enums) Removed, because unused.
82
83 Tue Oct 31 19:58:27 2006  Ben Pfaff  <blp@gnu.org>
84
85         * format.c: Completely rewrite, to achieve better abstraction.
86         Rewrite all references to formats in other files.
87         
88         * format.def: Rewrite and reorganize.
89
90         * settings.c: Move everything related to custom currency formats
91         into format.[ch], changing them in form, so as to group related
92         code and definitions better.  Changed all references to use the
93         new functions.
94         (static var decimal) Removed.
95         (static var grouping) Removed.
96         (static var cc) Removed.
97         (get_decimal) Removed.
98         (set_decimal) Removed.
99         (get_grouping) Removed.
100         (set_grouping) Removed.
101         (get_cc) Removed.
102         (set_cc) Removed.
103
104         * settings.h: (macro CC_CNT) Removed.
105         (macro CC_WIDTH) Removed.
106         (struct custom_currency) Removed.
107
108 Tue Oct 31 19:56:19 2006  Ben Pfaff  <blp@gnu.org>
109
110         * data-in.c (data_in): Use switch statement instead of table, to
111         avoid dependence on the order of the FMT_* enums.
112
113 Tue Oct 31 19:35:36 2006  Ben Pfaff  <blp@gnu.org>
114
115         * data-out.c: (num_to_string) Removed, because it was dead code.
116
117 Tue Oct 31 18:09:24 2006  Ben Pfaff  <blp@gnu.org>
118
119         * data-in.c (parse_trailer): Fix error message.
120
121 Sat Oct 28 11:56:50 2006  Ben Pfaff  <blp@gnu.org>
122
123         * format.c (fmt_is_binary): New function.
124
125 Thu Oct 19 22:59:56 WST 2006 John Darrington <john@darrington.wattle.id.au>
126
127         * procedure.c procedure.h: Encapsulated the static data into a single
128         struct.  
129
130 Sat Oct 14 16:56:44 2006  Ben Pfaff  <blp@gnu.org>
131
132         * casefile.c (casereader_read_xfer): Always initialize the case,
133         even on an error condition.
134
135 Wed Sep 27 09:37:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
136
137         * procedure.c (case_limit_trns_proc): Fixed buglet which rendered the 
138         entire function useless.
139
140 Mon Sep 25 17:11:46 WST 2006 John Darrington <john@darrington.wattle.id.au>
141
142         * casefile-private.h casefile.c casefile.h fastfile.c: Created new
143         casereader method casereader_clone.   
144         
145         * procedure.c pransformations.h: Introduced new type casenum_t
146
147 Thu Sep 21 07:00:30 2006  Ben Pfaff  <blp@gnu.org>
148
149         * variable.c: (width_to_bytes) Rephrase code for clarify.
150
151 Sun Jul 16 19:52:03 2006  Ben Pfaff  <blp@gnu.org>
152
153         * format.c: (fmt_type_from_string) New function.
154         (fmt_to_string) Include decimals in output if the format has
155         decimals, even if the format type does not.  This way, we can
156         accurately reproduce incorrect formats in user output.
157         (check_common_specifier) Make the check for a bad format type an
158         assertion, so we get bug reports if they show up.  Fix message.
159         Check for decimal places with a format type that doesn't allow
160         them.
161         (check_input_specifier) Remove check for FMT_X, which has been
162         deleted.
163         (check_output_specifier) Ditto. 
164
165         * format.def: Remove FMT_T, FMT_X, FMT_DESCEND, FMT_NEWREC.
166
167         * format.h: (macro FMT_TYPE_LEN_MAX) New macro.
168         (struct fmt_desc) Use FMT_TYPE_LEN_MAX in definition.
169         (enum fmt_parse_flags) Removed.
170
171 Mon Jul 17 18:26:21 WST 2006 John Darrington <john@darrington.wattle.id.au>
172
173         * casefile.c casefile.h: Converted to  an abstract base class.
174         * casefile-private.h fastfile.c fastfile.h: New files.
175         * automake.mk procedure.c scratch-writer.c storage-stream.c
176
177 Wed Jul 12 21:02:26 2006  Ben Pfaff  <blp@gnu.org>
178
179         * procedure.c (internal_procedure): Create sink_case with only as
180         many values as the compacted dictionary.
181
182 Wed Jul 12 21:01:00 2006  Ben Pfaff  <blp@gnu.org>
183
184         Remove "debugging" code that caused plenty of false positives and
185         no true positives.
186         
187         * case.h (struct ccase): [DEBUGGING] Remove `this' member.
188
189         * case.c: Remove all references to `this' member.
190
191 Thu Jul  6 19:09:53 2006  Ben Pfaff  <blp@gnu.org>
192
193         Fix link error noted by Jason Stover.
194         
195         * storage-stream.c: Include <assert.h>.
196
197 Tue Jul  4 08:47:35 2006  Ben Pfaff  <blp@gnu.org>
198
199         Fix bug #15766 (/KEEP subcommand on SAVE doesn't fully support
200         ALL) and additional underlying system file issues.
201
202         Thanks to John Darrington for review.
203
204         First problem: var_hash points to variables not owned by the
205         sys-file-reader, which the caller may free or modify.  Use an
206         array of sfm_vars instead, as done earlier (e.g. CVS version
207         1.12).
208         
209         * sys-file-reader.c (struct sfm_reader): Remove var_hash, svars
210         members and remove all code that references it.  Add vars, var_cnt
211         members.  Remove fix_specials member, which was unused.
212         (struct sfm_var) Remove name member, which was unused.
213         (sfm_close_reader) Free vars member instead of var_hash.
214         (compare_var_shortnames) Removed.
215         (hash_var_shortname) Removed.
216         (sfm_open_reader) Fill out vars array.
217         (compare_var_index) Removed.
218         (sfm_read_case) Use vars instead of var_hash.
219         
220         Second problem: we're confused about when we actually have very
221         long strings, causing us to choose incorrectly between slow path
222         and fast path in sfm_read_case.
223
224         * sys-file-reader.c: (sfm_open_reader) Only mark has_vls if we
225         have very long strings, not when we have long variable names,
226         which is an unrelated feature.
227
228 Tue Jun 27 12:06:49 2006  Ben Pfaff  <blp@gnu.org>
229
230         * variable.h: Move var_set and variable parsing declarations to
231         new header, src/language/lexer/variable-parser.h.  Modified lots
232         of files to include the new header.
233
234 Sun Jun 25 22:39:32 2006  Ben Pfaff  <blp@gnu.org>
235
236         * value-labels.c (value_to_string): When there's no value label,
237         format the variable according to its print format, instead of
238         always effectively using A or F format.
239
240 Mon Jun 19 18:05:42 WST 2006 John Darrington <john@darrington.wattle.id.au>
241
242         * casefile.c (casefile_get_random_reader): Nasty hack to get around 
243         the mode assertion.
244
245         * format.c: Removed tortological assertion.
246
247 Fri Jun  9 12:20:09 2006  Ben Pfaff  <blp@gnu.org>
248
249         Reform string library.
250         
251         * file-name.c (fn_interp_vars): Change interface to take a
252         substring as input.  Updated all users.
253         
254 Fri Jun  9 12:11:24 2006  Ben Pfaff  <blp@gnu.org>
255
256         * format.c (measure_is_valid): Really return false when m >=
257         n_MEASURES.
258
259 Tue Jun  6 18:46:26 2006  Ben Pfaff  <blp@gnu.org>
260
261         Implement random access to casefiles, for use in GUI.
262         
263         * casefile.c: (struct casereader) Add `random', `file_ofs',
264         `buffer_ofs' members.
265         (casefile_get_random_reader) New function.
266         (read_open_file) Break part into new function
267         seek_and_fill_buffer().
268         (fill_buffer) Update buffer_ofs, file_ofs.
269         (casereader_seek) New function.
270
271 Tue May 30 19:52:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
272
273         * settings.c: Added call to i18n{done, init}.
274
275 Tue May  9 21:09:17 2006  Ben Pfaff  <blp@gnu.org>
276
277         * procedure.h: Add WARN_UNUSED_RESULT to procedure function
278         prototypes.
279
280 Tue May  9 21:08:05 2006  Ben Pfaff  <blp@gnu.org>
281
282         * casefile.c: Convert many uses of `int' to `bool'.
283
284 Sat May  6 22:49:43 2006  Ben Pfaff  <blp@gnu.org>
285
286         * transformations.c (trns_chain_destroy): Destroy chain's trns
287         member, to fix memory leak.
288
289 Sat May  6 22:48:30 2006  Ben Pfaff  <blp@gnu.org>
290
291         * storage-stream.c (storage_source_decapsulate): Destroy case
292         source to fix memory leak.
293
294 Sat May  6 22:46:47 2006  Ben Pfaff  <blp@gnu.org>
295
296         * scratch-reader.c (scratch_reader_read_case): Copy into existing
297         case passed as argument instead of initializing the argument as a
298         case.  Fixes memory leak that showed up in
299         tests/command/aggregate.sh with scratch files.
300
301 Sat May  6 22:45:55 2006  Ben Pfaff  <blp@gnu.org>
302
303         * procedure.c (proc_done): Destroy default_dict, to fix memory
304         leak.
305
306 Sat May  6 22:44:44 2006  Ben Pfaff  <blp@gnu.org>
307
308         Simplify procedure_with_splits().
309         
310         * procedure.c (struct split_aux_data): Removed case_count member.
311         (procedure_with_splits) Don't initialize case_count.
312         (split_procedure_case_func) Check whether prev_case is null
313         instead of case_count.
314         (split_procedure_end_func) Ditto.
315
316 Sat May  6 22:42:23 2006  Ben Pfaff  <blp@gnu.org>
317
318         * case.c (case_move): Do nothing if dst and src are the same
319         object.
320         (case_try_create) Merge two similar cases.
321         (case_copy) Unshare only if data must be actually copied.
322
323 Sun May  7 10:04:06 WST 2006 John Darrington <john@darrington.wattle.id.au>
324
325         * data-in.c data-out.c dictionary.c sys-file-reader.c
326         sys-file-writer.c variable.c variable.h:  Reworked very long string
327         support for better encapsulation.
328
329 Sat May  6 19:02:00 2006  Ben Pfaff  <blp@gnu.org>
330
331         * value-labels.c (val_labs_can_set_width): New function.
332         (val_labs_set_width) Clear labels if increasing width to long
333         string.
334         (val_labs_destroy) Remove unneeded test for null.
335         
336 Sat May  6 16:14:08 2006  Ben Pfaff  <blp@gnu.org>
337
338         * value-labels.h: Remove unneeded dependency on variable.h.
339
340 Sat May  6 15:58:36 2006  Ben Pfaff  <blp@gnu.org>
341
342         Get rid of `char *c' member in union value, for cleanliness.
343         
344         * value.h: (union value) Remove `c' member.
345
346 Sat May  6 15:36:59 2006  Ben Pfaff  <blp@gnu.org>
347
348         Make dictionary compacting functions a little more general.
349         
350         * sys-file-writer.c (sfm_open_writer): Use
351         dict_compacting_would_change().
352         (does_dict_need_translation) Removed.
353
354 Sat May  6 15:35:42 2006  Ben Pfaff  <blp@gnu.org>
355
356         Make dictionary compacting functions a little more general.
357         
358         * dictionary.c (dict_needs_compaction): Rename
359         dict_compacting_would_shrink().  Update all callers.
360         (dict_compacting_would_change) New function.
361         
362 Sat May  6 14:25:49 2006  Ben Pfaff  <blp@gnu.org>
363
364         * sys-file-writer.c: (does_dict_need_translation) Fix bug:
365         inverted return value (!).
366
367 Sat May  6 13:37:52 2006  Ben Pfaff  <blp@gnu.org>
368
369         Continue reforming procedure execution.  
370
371         * procedure.c: Search and replace "vfm" by "proc".  Notably:
372         (static var vfm_source) Rename proc_source.  Update all
373         references.
374         (static var vfm_sink) Rename proc_sink.  Update all references.
375         
376 Sat May  6 12:38:55 2006  Ben Pfaff  <blp@gnu.org>
377
378         Continue reforming procedure execution.  In this phase, remove
379         PROCESS IF, which was deprecated anyway and can be easily
380         simulated with TEMPORARY followed by SELECT IF.
381
382         * procedure.c: (open_active_file) Don't call
383         add_process_if_trns().
384         (discard_variables) Get rid of redundant call to
385         proc_cancel_all_transformations().
386         (add_process_if_trns) Removed.
387         (process_if_trns_proc) Removed.
388         (process_if_trns_free) Removed.
389
390 Sat May  6 10:58:05 2006  Ben Pfaff  <blp@gnu.org>
391
392         Continue reforming procedure execution.  In this phase, add
393         `const' to the case passed to procedure()'s callback.
394
395         Updated all users of procedure() as well.
396         
397         * procedure.c: (struct write_case_data) Add "const" to ccase
398         parameter for case_func member.
399         (procedure) Add "const" to ccase parameter for proc_func
400         parameter.
401         (multipass_case_func) Make ccase parameter const.
402         (internal_procedure) Add "const" to ccase parameter for case_func
403         parameter.
404         (split_procedure_case_func) Make ccase parameter const.
405         (multipass_split_case_func) Make ccase parameter const.
406         
407 Sat May  6 10:30:33 2006  Ben Pfaff  <blp@gnu.org>
408
409         Continue reforming procedure execution.  In this phase, get rid of
410         the output code for SPLIT FILE groups in procedure.c, which really
411         shouldn't be doing any output.  Move it into the individual
412         procedures instead.  This also adds some flexibility.
413
414         Updated many users of procedure_with_splits() and
415         multipass_procedure_with_splits() to call
416         output_split_file_values() and to deal with increased use of
417         const.
418
419         * procedure.c: (struct split_aux_data) Add "const struct ccase *"
420         parameter to begin_func member.
421         (procedure_with_splits) Add "const struct ccase *" parameter to
422         begin_func parameter.  Make ccase parameter const in proc_func
423         parameter.
424         (split_procedure_case_func) Don't dump split file group.  Pass
425         case to begin_func.
426         (dump_splits) Moved to language/dictionary/split-file.c as
427         output_split_file_values().
428         (struct multipass_split_aux_data) Add "const struct ccase *"
429         parameter to split_func member.
430         (multipass_procedure_with_splits) Add "const struct ccase *"
431         parameter to split_func parameter.
432         (multipass_split_case_func) Save new SPLIT FILE case before
433         outputting case.
434         (multipass_split_output) Pass saved SPLIT FILE case to split_func.
435         
436 Fri May  5 22:48:50 2006  Ben Pfaff  <blp@gnu.org>
437
438         Continue reforming procedure execution.  Change
439         internal_procedure() so that it calls open_active_file() and
440         close_active_file(), which isolates most of the actual procedure
441         functionality.
442
443         * procedure.c: (struct write_case_data) Rename `proc_func' member
444         to `case_func' and update all references.
445         (procedure) Rewrite as one-line wrapper around
446         internal_procedure().
447         (struct multipass_aux_data) New.
448         (multipass_callback) Renamed multipass_case_func().  Use struct
449         multipass_aux_data as auxiliary data.
450         (multipass_end_func) New function.
451         (multipass_procedure) Rewrite as wrapper for internal_procedure()
452         that uses multipass_case_func, multipass_end_func.
453         (internal_procedure) Add `end_func' argument.  Move optimization
454         of trivial case in here.  Move call to open_active_file() and
455         close_active_file() in here.  Now assert that vfm_source is
456         non-null.
457         (procedure_with_splits_callback) Rename
458         split_procedure_case_func().
459         (split_procedure_end_func) New function.
460         (multipass_split_callback) Rename multipass_split_case_func.
461         (multipass_split_end_func) New function.
462         (discard_variables) No need to test for nonnull vfm_source.
463
464 Fri May  5 21:34:02 2006  Ben Pfaff  <blp@gnu.org>
465
466         Continue reforming procedure execution.  Get rid of unused member.
467
468         * procedure.c: (struct write_case_data) Remove `cases_analyzed'
469         member.
470         (write_case) Don't increment cases_analyzed.
471
472 Thu May  4 21:50:11 2006  Ben Pfaff  <blp@gnu.org>
473
474         Continue reforming procedure execution.  In this phase, move
475         procedure.c and procedure.h from src to src/data.  Update
476         makefiles and #includes accordingly.
477
478         * procedure.c: Moved here from src/.
479
480         * procedure.h: Moved here from src/.
481
482 Wed May  3 22:42:12 2006  Ben Pfaff  <blp@gnu.org>
483
484         Continue reforming procedure execution.  In this phase, get rid of
485         many global variables, consolidating procedure execution in
486         procedure.c.  Encapsulate transformations in new "struct
487         trns_chain".  Also, change implementation of N OF CASES, FILTER,
488         and PROCESS IF from special cases to transformations.
489          
490         * automake.mk: (src_data_libdata_a_SOURCES) Add transformations.c,
491         transformations.h.
492
493         * dictionary.c: (global variable default_dict) Move to
494         src/procedure.c.
495
496         * variable.h: (TRNS_*) Move to transformations.h.
497         (struct transformation) Move to transformations.c.
498
499 Thu May  4 13:47:06 WST 2006 John Darrington <john@darrington.wattle.id.au>
500
501         * sys-file-reader.c: Fixed invalid read problems.
502
503 Tue May  2 15:57:10 2006  Ben Pfaff  <blp@gnu.org>
504
505         * storage-stream.c: Add missing function comments.
506
507 Tue May  2 15:50:21 2006  Ben Pfaff  <blp@gnu.org>
508
509         Continue reforming procedure execution.  In this phase, add some
510         new, needed functionality to storage-stream.
511
512         * storage-stream.c: (storage_source_decapsulate) New function.
513
514 Tue May  2 15:43:36 2006  Ben Pfaff  <blp@gnu.org>
515
516         * variable.c (width_to_bytes): Declarations must precede
517         statements for C90 compliance.
518
519 Tue May  2 10:42:05 WST 2006 John Darrington <john@darrington.wattle.id.au>
520
521         * data-out.c, data-in.c, variable.c, variable.h: New functions 
522         copy_mangle and copy_demangle for reading/writing cases; emulates the 
523         way SPSS deals with strings > 255 bytes.
524
525         * sys-file-reader.c sys-file-writer.c: Added support for Record 7, 
526         subtype 14 needed for strings longer than 255 bytes.
527
528         * dictionary.c, format.def, value.c : Updated to use MAX_STRING 
529         instead of literal values. Also fixed some constness issues.
530
531         * format.h: Constness
532
533         * sfm-private.h: Renamed the case_size identifier, since I discovered 
534         that SPSS's respect for this variable is very nominal.
535
536 Mon May  1 15:45:42 2006  Ben Pfaff  <blp@gnu.org>
537
538         Change case limit type from int to size_t.
539
540         * dictionary.c: (struct dictionary) Change type of case_limit
541         member.
542         (dict_get_case_limit) Change return type.
543         (dict_set_case_limit) Change parameter type.
544
545 Wed Apr 26 20:01:19 2006  Ben Pfaff  <blp@gnu.org>
546
547         * variable.h: (struct variable) Rename `reinit' member as `leave'
548         and invert sense.  Fix up all references.
549
550 Wed Apr 26 19:39:28 2006  Ben Pfaff  <blp@gnu.org>
551
552         Continue reforming procedure execution.  In this phase, break
553         procedure.c into multiple files.
554         
555         * automake.mk: (src_data_libdata_a_SOURCES) Add all the new files.
556
557         * case-sink.c: New file.
558
559         * case-sink.h: New file.
560         
561         * case-source.c: New file.
562
563         * case-source.h: New file.
564         
565         * storage-stream.c: New file.
566
567         * storage-stream.h: New file.
568
569 Wed Apr 26 14:55:19 2006  Ben Pfaff  <blp@gnu.org>
570
571         * variable.h: (struct variable) Remove `init' member and all
572         references to it from other files.  It was initialized in several
573         places, but nothing really ever used it for anything worthwhile.
574         Thanks to Jason Stover for pointing out how confusing this
575         member is.
576
577 Sun Apr 23 22:04:45 2006  Ben Pfaff  <blp@gnu.org>
578
579         Continue reforming error message support.  In this phase, get rid
580         of message "titles" and put the message text in `struct error'.
581         Now `struct error' encapsulates a message more properly.
582         
583         * casefile.c: (io_error) Use err_msg() instead of err_vmsg().
584         Format message ourselves.
585
586         * data-in.c: (vdls_error) Ditto.
587
588         * por-file-reader.c: (error) Ditto.
589
590         * sys-file-reader.c: (corrupt_msg) Ditto.
591
592 Sun Apr 16 18:49:51 2006  Ben Pfaff  <blp@gnu.org>
593
594         GNU standards require "file name" instead of "filename" in
595         documentation.  It's nice for our code to follow the convention
596         too.
597         
598         * casefile.c: (struct casefile) Rename `filename' member to
599         `file_name'.  Updated all references.
600
601         * file-name.c: [!unix] (struct file_identity) Rename
602         normalized_filename member to normalized_file_name.  Updated all
603         references.
604
605 Sun Apr 16 18:35:33 2006  Ben Pfaff  <blp@gnu.org>
606
607         We don't really support anything but Unix-like environments well,
608         so we might as well de-obfuscate by writing directory and path
609         separators explicitly.
610
611         * file-name.h: (macro DIR_SEPARATOR) Removed.  Changed all usages
612         to just '/'.
613         (macro PATH_SEPARATOR) Removed.  Changed all usages to just ':'.
614         (macro DIR_SEPARATOR_STRING) Removed.  Changed all usages to just
615         "/".
616         (macro PATH_SEPARATOR_STRING) Removed.  Changed all usages to just
617         ":"
618
619 Sun Apr 16 18:28:35 2006  Ben Pfaff  <blp@gnu.org>
620
621         GNU standards require "file name" instead of "filename" in
622         documentation.  It's nice for our code to follow the convention
623         too.
624         
625         * filename.c: Rename to file-name.c.
626
627         * filename.h: Rename to file-name.h.  Update all inclusions.
628         Update header guards.
629
630         * automake.mk: Update file names.
631
632 Sun Apr 16 16:42:47 2006  Ben Pfaff  <blp@gnu.org>
633
634         * filename.c: (fn_dirname) Renamed fn_dir_name(), all references
635         updated.
636         (fn_basename) Removed (dead code).
637         (fn_absolute_p) Renamed fn_is_absolute(), all references updated.
638         (fn_special_p) Renamed fn_is_special(), all references updated.
639         (fn_exists_p) Renamed fn_exists(), all references updated.
640
641 Sun Apr 16 16:33:58 2006  Ben Pfaff  <blp@gnu.org>
642
643         * filename.c: (fn_tilde_expand) Rewrite for cleaner code.  
644         Also, now it only tilde-expands file names, not paths.
645         (fn_search_path) Tilde-expand one directory at a time.
646
647 Sun Apr 16 16:28:06 2006  Ben Pfaff  <blp@gnu.org>
648
649         * filename.c: (fn_search_path) rewrite for cleaner code.  Also,
650         get rid of non-Unixlike version of the code, which has probably
651         never been tested.
652         (fn_prepend_dir) Removed (dead code).
653
654         * filename.h: (macro DIR_SEPARATOR_STRING) New.
655         (macro PATH_SEPARATOR_STRING) New.
656 Sun Apr 16 16:05:28 2006  Ben Pfaff  <blp@gnu.org>
657
658         Continue reforming error message support.  In this phase, we get
659         rid of VM() and the other msg() support for "verbosity", replacing
660         it by a new function verbose_msg().
661
662         * filename.c: (fn_search_path) Use verbose_msg() instead of
663         msg(VM(), ...).  
664
665 Sat Apr 15 19:53:19 2006  Ben Pfaff  <blp@gnu.org>
666
667         * sfm-private.h: Get rid of #defines after #error, which makes no
668         sense.
669
670 Sat Apr 15 19:48:57 2006  Ben Pfaff  <blp@gnu.org>
671
672         Get rid of our own int32 type in favor of the standard int32_t
673         type.
674         
675         * sfm-private.h: (int32 macro) Don't define this anymore.  Do
676         include <stdint.h>.
677
678         * sys-file-reader.c: Use int32_t instead of int32 throughout.
679         
680         * sys-file-writer.c: Use int32_t instead of int32 throughout.
681
682 Sat Apr 15 19:36:47 2006  Ben Pfaff  <blp@gnu.org>
683
684         Remove ill-considered file routines that are no longer used.
685         
686         * filename.c: (fn_open_ext) Removed.
687         (fn_close_ext) Removed.
688
689         * filename.h: (struct file_ext) Removed.
690
691 Mon Apr  3 13:22:39 2006  Ben Pfaff  <blp@gnu.org>
692
693         * variable.c (var_is_valid_name): Move declarations before code
694         for C90 compliance.
695
696 Tue Apr  4 15:28:40 WST 2006 John Darrington <john@darrington.wattle.id.au>
697
698         * filename.ch (fn_interp_vars): Fixed small buglet.
699
700 Tue Mar 28 13:47:16 WST 2006 John Darrington <john@darrington.wattle.id.au>
701         
702         * filename.[ch] (fn_interp_vars): Changed the signature and semantics
703         so as to modify the string inline.   Thus makeing it easier to
704         destroy the results when no longer needed.
705         
706 2006-03-25  Jason Stover  <jhs@math.gcsu.edu>
707
708         * category.c (cat_stored_values_destroy): Fixed memory leak.
709
710 Fri Mar 24 18:15:41 2006  Ben Pfaff  <blp@gnu.org>
711
712         Add some missing frees.  Thanks to John Darrington for reporting
713         these.
714
715         * any-writer.c (any_writer_close): Free writer.
716
717         * any-reader.c (any_reader_close): Free reader.
718
719 Mon Mar 20 16:33:53 2006  Ben Pfaff  <blp@gnu.org>
720
721         * por-file-reader.c: (error) Mark as NO_RETURN.
722
723 Sat Mar 11 15:06:07 WST 2006 John Darrington <john@darrington.wattle.id.au>
724
725         * settings.c: Changed default value of scompress to true.
726
727 Sat Mar  4 13:22:51 2006  Ben Pfaff  <blp@gnu.org>
728
729         * sfm-private.h: Include variable.h, to get SHORT_NAME_LEN.
730
731         * value.h: Remove check on MAX_SHORT_STRING, which I don't think
732         really applies.
733
734         * variable.h: Move definition of SHORT_NAME_LEN, LONG_NAME_LEN
735         here from pref.h.orig.
736
737 Sat Mar  4 12:50:48 WST 2006 John Darrington <john@darrington.wattle.id.au>
738
739         * sys-file-reader.c: Fixed bug reading compressed files.
740
741 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
742
743         * Numerous renames.  See src/ChangeLog for details.
744         
745         * Moved files from src directory