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