+Sat Jul 30 22:50:57 2005 Ben Pfaff <blp@gnu.org>
+
+ * histogram.c: Include <config.h>.
+
+Sat Jul 30 22:48:50 2005 Ben Pfaff <blp@gnu.org>
+
+ * get.c: (cmd_match_files) Fix msg() bug found by -Wformat.
+
+Sat Jul 30 22:46:10 2005 Ben Pfaff <blp@gnu.org>
+
+ * format.c: (check_common_specifier) Fix msg() bug found by
+ -Wformat.
+ (check_output_specifier) Ditto.
+
+Sat Jul 30 22:43:57 2005 Ben Pfaff <blp@gnu.org>
+
+ * file-handle.q: (cmd_file_handle) Fix msg() bug found by
+ -Wformat.
+
+Sat Jul 30 22:41:44 2005 Ben Pfaff <blp@gnu.org>
+
+ * data-in.c: (parse_Z) [WORDS_BIGENDIAN] Don't declare buf[], to
+ avoid "unused variable" warning.
+
+Sat Jul 30 22:38:46 2005 Ben Pfaff <blp@gnu.org>
+
+ * command.c: (find_word) Cast `char' to `unsigned char' before
+ passing to isspace().
+
+Sat Jul 30 22:36:29 2005 Ben Pfaff <blp@gnu.org>
+
+ * case.c: (case_compare) Implement as delegating to
+ case_compare_2dict().
+
+Sat Jul 30 22:34:18 2005 Ben Pfaff <blp@gnu.org>
+
+ * algorithm.c: Inclusion of <alloca.h> is unneeded.
+
+Sat Jul 30 22:01:32 2005 Ben Pfaff <blp@gnu.org>
+
+ * Make.build: Don't append -ansi to AM_CFLAGS for GCC. Using
+ -ansi changes the behavior of header files significantly. It
+ causes __STRICT_ANSI__ to be defined, and some headers interpret
+ that as cause to e.g. not use `long long' or __attribute__. The
+ former example is bad when off_t is supposed to be `long long',
+ and the latter prevents -Wformat from working.
+
+Sun Jul 24 20:26:59 2005 Ben Pfaff <blp@gnu.org>
+
+ Get rid of dependency on libgmp by writing our own routine for
+ floating-point base conversion.
+
+ * pfm-write.c: (write_float) Rewrote.
+ (write_int) Rewrote.
+ (pow30_nonnegative) New function.
+ (pow30) New function.
+ (trig_to_char) New function.
+ (format_trig_digits) New function.
+ (recurse_format_trig_int) New function.
+ (format_trig_int) New function.
+ (should_round_up) New function.
+ (try_round_up) New function.
+ (format_trig_double) New function.
+
+Sun Jul 24 18:49:20 2005 Ben Pfaff <blp@gnu.org>
+
+ * data-in.c: (parse_numeric) Allow "1+23" even for F format, for
+ compatibility.
+
+Sun Jul 24 18:47:37 2005 Ben Pfaff <blp@gnu.org>
+
+ * pfm-read.c: (read_version_data) Read and ignore author field.
+
+Wed Jul 6 20:44:27 2005 Ben Pfaff <blp@gnu.org>
+
+ * get.c: (mtf_processing) Don't assume that
+ mtf_compare_BY_values() always returns -1, 0, or 1. Actually, it
+ returns a negative, zero, or positive result. Fixes MATCH FILES
+ bug on Mac OS X reported by "Marshall DeBerry" <mdb@radix.net>.
+
+Mon Jul 4 18:01:15 2005 Ben Pfaff <blp@gnu.org>
+
+ * flip.c: [HAVE_SYS_TYPES_H] Really include <sys/types.h>. The
+ preprocessor test for sys/types.h was accidentally inverted. This
+ was bug 12789.
+
+Sun Jul 3 22:47:39 2005 Ben Pfaff <blp@gnu.org>
+
+ * get.c: (cmd_match_files) Fix memory leak on `by' and on
+ `vfm_source'.
+
+ * getline.c: [HAVE_LIBREADLINE] (read_console) Fix memory leak on
+ `line'.
+
+ * vfm.c: (close_active_file) Remove unnecessary test.
+
+Sun Jul 3 21:45:32 2005 Ben Pfaff <blp@gnu.org>
+
+ Fix NDEBUG compile errors.
+
+ * hash.h: Needed explicit #include <assert.h>.
+
+ * linked-list.c: (ll_next) First arg is UNUSED when NDEBUG is
+ defined.
+
+Sun Jun 12 23:44:38 2005 Ben Pfaff <blp@gnu.org>
+
+ Implement embedding for PostScript driver. Fixes bug 12970.
+
+ * ascii.c: Fix compiler warnings.
+
+ * html.c: Ditto.
+
+ * chart.h: Add `file' member.
+
+ * output.h: (struct outp_class) initialise_chart, finalise_chart
+ should take outp_driver *, not outp_class *. Update all
+ references.
+
+ * plot-chart.c: (chart_create) Fix segfault when there are no
+ output drivers at all.
+ (chart_submit) Call d->class->finalise_chart.
+
+ * postscript.c: (ps_open_page) Set cp_y to 0.
+ (ps_submit) New function.
+ (ps_chart_initialise) Implement.
+ (ps_chart_finalise) Implement.
+ (static var postscript_class) Add ps_submit.
+ (static var epsf_class) Add ps_submit.
+
+
+Sun Jun 12 14:54:40 2005 Ben Pfaff <blp@gnu.org>
+
+ Did some more work on bug 12859 and then realized that a *good*
+ solution would require some fundamental restructuring. For now,
+ I'm marking REPEATING DATA unimplemented, and then we can revisit
+ it post-0.4.0.
+
+ * command.def: Make REPEATING DATA unimplemented.
+
+ * data-list.c: (cmd_repeating_data) Assume inline file is 80
+ characters wide.
+ (realize_value) Revert previous changes; no longer needed.
+ Updated all callers.
+
+ * error.c: (err_hcf) Set nfile_loc, mfile_loc to 0 after freeing
+ file_loc, to avoid bad references later.
+
+ * str.c: Fix typo.
+
+Tue Jun 7 00:14:09 2005 Ben Pfaff <blp@gnu.org>
+
+ Make some code tolerant of reentry. Should not be needed if other
+ code is correct but it is good to be generally tolerant.
+
+ * error.c: (err_hcf) Set file_loc to null after free().
+
+ * output.c: (outp_done) Similar changes.
+
+ * str.c: (ds_destroy) Ditto.
+
+Tue Jun 7 00:10:20 2005 Ben Pfaff <blp@gnu.org>
+
+ Continue work on bug 12859, plus some code cleanup.
+
+ * data-list.c: (cmd_repeating_data) Replace `seen' bitmap by
+ boolean variables. Don't try to compute starts_end, cont_end for
+ inline file. Calculate length only after parsing variable
+ specifications. Add proper transformation to list.
+ (realize_value) If the rpd_num_or_var has no value, return new
+ DEFAULT_MEMBER argument (for use with inline file).
+ (repeating_data_trns_proc) Pass default values.
+
+ * dfm-read.c: (dfm_close_reader) Only skip data if *not* still
+ open, and only if we actually started reading data.
+
+Sun Jun 5 18:39:36 2005 Ben Pfaff <blp@gnu.org>
+
+ Fix bug 11894.
+
+ * output.c: (outp_read_devices) Fix message.
+
+Fri May 27 12:34:43 WST 2005 John Darrington <john@darrington.wattle.id.au>
+
+ * sort-prs.[ch] (newfiles), aggregate.c, sort.[ch]: Separated the guts
+ of the sort algorithm from the parser for the SORT command.
+
+ * rank.q: Added the parser for the RANK command.
+
+Thu May 26 12:29:21 2005 Ben Pfaff <blp@gnu.org>
+
+ Fix bug 13192.
+
+ * sort.c: (sort_parse_criteria) Only set *saw_direction if
+ saw_direction is non-null. Thanks to John Darrington for
+ reporting this bug.
+
+Tue May 24 21:52:55 2005 Ben Pfaff <blp@gnu.org>
+
+ * get.c: (mtf_processing) Handle case of a lookup table as the
+ active file. Thanks to John Darrington for reporting this bug.
+
+Wed May 25 10:27:02 WST 2005 John Darrington <john@darrington.wattle.id.au>
+
+ * alloc.c alloc.h: (xcalloc) changed signature to imitate the
+ POSIX calloc function.
+
+ * crosstabs.q get.c vars-prs.c: Updated calls to xcalloc to
+ reflect new signature.
+
+ * sfm-read.c: Now much more robust in the face of badly formed
+ system files.
+
+Mon May 23 11:57:31 WST 2005 John Darrington <john@darrington.wattle.id.au>
+
+ *sfm-read.c: Fixed some bugs regarding long string continuation
+ records, which the previous fix uncovered.
+
+Sat May 21 12:48:34 WST 2005 John Darrington <john@darrington.wattle.id.au>
+
+ * sfm-read.c, sfmP.h: Allow reading of system files when the
+ case_size value in the header is -1. Also changed some Errors to
+ Warnings when reading system files.
+
Tue May 17 21:00:57 2005 Ben Pfaff <blp@gnu.org>
* data-list.c: (data_list_trns_free) Don't free the argument
Tue May 17 00:06:43 2005 Ben Pfaff <blp@gnu.org>
- Fix PR 11119.
+ Fix bug 11119.
* som.c: (output_encodings) If some cell in the table won't fit
with the horizontal or vertical headers, cancel those headers.
Mon May 16 22:34:06 2005 Ben Pfaff <blp@gnu.org>
- Fix rest of PR 13054.
+ Fix rest of bug 13054.
* format.def: Fix EDATE, SDATE, ADATE, JDATE, QYR, MOYR, WKYR,
DATETIME, TIME system/portable file values.
Sun May 15 23:38:10 2005 Ben Pfaff <blp@gnu.org>
- Fix more of PR 13054.
+ Fix more of bug 13054.
* format.def: FMT_A should allow 255-character output. FMT_AHEX
should allow 510-character input and output.
Tue May 10 19:56:35 2005 Ben Pfaff <blp@gnu.org>
- Start to fix PR 13054.
+ Start to fix bug 13054.
* format.c: (check_input_specifier) Improve error message.
(check_input_specifier) Check F, COMMA, and DOLLAR formats for
Sun May 8 13:52:12 2005 Ben Pfaff <blp@gnu.org>
- "Fix" PR 13021 by disabling FILE TYPE. Eventually, we should
+ "Fix" bug 13021 by disabling FILE TYPE. Eventually, we should
actually implement it.
* command.c: (FILE_TYPE_okay) Always return 1.
Wed May 4 23:54:02 2005 Ben Pfaff <blp@gnu.org>
- Fix PR 12948. See also new test in
+ Fix bug 12948. See also new test in
tests/bugs/match-file-scratch.sh.
* get.c: (mtf_merge_dictionary) Don't compact dictionary because
Mon May 2 23:37:19 2005 Ben Pfaff <blp@gnu.org>
- Partial fix for PR 12859.
+ Partial fix for bug 12859.
* data-list.c: (cmd_data_list) Add transformation properly in
vfm_source == NULL case.
Mon May 2 22:28:17 2005 Ben Pfaff <blp@gnu.org>
* get.c: (cmd_match_files) Check token type before trying to match
- tokid. Fixes PR 12923.
+ tokid. Fixes bug 12923.
Mon May 2 22:16:51 2005 Ben Pfaff <blp@gnu.org>
- * flip.c: [HAVE_SYS_TYPES_H] Include <sys/types.h>. Fixes PR
+ * flip.c: [HAVE_SYS_TYPES_H] Include <sys/types.h>. Fixes bug
12789.
Mon May 2 22:02:52 2005 Ben Pfaff <blp@gnu.org>
Thu Apr 28 18:52:06 2005 Ben Pfaff <blp@gnu.org>
- * expressions/parse.c: Improve previous fix for PR 12858 (LAG).
+ * expressions/parse.c: Improve previous fix for bug 12858 (LAG).
Fri Apr 29 09:28:00 WST 2005 John Darrington <john@darrington.wattle.id.au>
Mon Apr 25 22:55:59 2005 Ben Pfaff <blp@gnu.org>
- Finish fixing MATCH FILES (PR 11677).
+ Finish fixing MATCH FILES (bug 11677).
* get.c: (trim_dictionary) Rewrite in terms of drop_variables(),
keep_variables(), rename_variables().
Mon Apr 4 22:27:34 2005 Ben Pfaff <blp@gnu.org>
* aggregate.c: (parse_aggregate_functions) If dict_create_var()
- fails, don't dereference the resulting null pointer (PR 12427).
+ fails, don't dereference the resulting null pointer (bug 12427).
Also, fix double free error.
Sat Mar 19 23:06:02 2005 Ben Pfaff <blp@gnu.org>
Mon Mar 14 21:07:23 2005 Ben Pfaff <blp@gnu.org>
- Make sort stable (PR 12313).
+ Make sort stable (bug 12313).
* sort.c: Don't need to include some headers anymore.
(static var min_buffers) New variable.
Sun Mar 13 22:40:54 2005 Ben Pfaff <blp@gnu.org>
- First phase of making SORT CASES stable (PR 12313).
+ First phase of making SORT CASES stable (bug 12313).
* sort.c: (struct indexed_case) New structure.
(do_internal_sort) Rewrite to make internal sorting stable.
Sat Mar 12 13:29:21 2005 Ben Pfaff <blp@gnu.org>
* split-file.c: (cmd_split_file) Ignore LAYERED and SEPARATE
- keywords (PR 11628).
+ keywords (bug 11628).
Sat Mar 12 13:17:12 2005 Ben Pfaff <blp@gnu.org>
- * vfm.c: (procedure_with_splits) Fix PR 11492: end_func() must be
+ * vfm.c: (procedure_with_splits) Fix bug 11492: end_func() must be
called *before* close_active_file().
Sat Mar 12 12:20:57 2005 Ben Pfaff <blp@gnu.org>
Sun Mar 6 19:52:22 2005 Ben Pfaff <blp@gnu.org>
DATA LIST with free-field formats should not have implied decimal
- places (PR 12035). Also clean up data-in.c a bit.
+ places (bug 12035). Also clean up data-in.c a bit.
* data-in.h: (enum) Add DI_IMPLIED_DECIMALS.
Sun Feb 13 16:11:13 2005 Ben Pfaff <blp@gnu.org>
- Fix PR 11955.
+ Fix bug 11955.
* aggregate.c: (parse_aggregate_functions) Code cleanup.
Important part: get rid of spurious copying of function->format to
Fri Feb 11 00:08:36 2005 Ben Pfaff <blp@gnu.org>
- Fix PR 11916, which was confusing a variable's `index' member
+ Fix bug 11916, which was confusing a variable's `index' member
with the variable's position in a var_set. Although these are
usually the same, they are not for array `var_set's.
Mon Jan 3 17:44:37 2005 Ben Pfaff <blp@gnu.org>
* pfm-read.c: (read_variables) Remove direct manipulation of
- v->aux, which is no longer needed. Fixes PR 11483.
+ v->aux, which is no longer needed. Fixes bug 11483.
Sat Jan 1 19:01:16 WST 2005 John Darrington <john@darrington.wattle.id.au>