+ * var-display.c: New file.
+
+ * format.h var.h sfm-read.c sfm-write.c dictionary.c : Added
+ display_width, measure and alignment parameters to variables.
+
+ * aggregate.c command.def compute.c count.c data-list.c descript.c
+ dictionary.c dictionary.h expr-prs.c file-type.c flip.c get.c lexer.c
+ lexer.h loop.c modify-vars.c pfm-read.c recode.c repeat.c sfm-read.c
+ sfm-write.c sfm-write.h sfmP.h val-labs.c val.h var.h vars-prs.c
+ vector.c :
+ - Replaced literal constants representing maximum variable name
+ length with macro definitions.
+ - Added support for long variable names.
+ - Changed lexer such that it no longer makes tokens upper case, but
+ relies upon case insensitive behaviour of commands.
+
+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).
+ Also, fix double free error.
+
+Sat Mar 19 23:06:02 2005 Ben Pfaff <blp@gnu.org>
+
+ * aggregate.c: (parse_aggregate_functions) Fix N_NO_VARS format.
+ (accumulate_aggregate_info) Set int1 to 1 for SUM.
+ (dump_aggregate_info) Only make SUM non-missing if there was at
+ least one variate.
+
+Sat Mar 19 14:48:19 2005 Ben Pfaff <blp@gnu.org>
+
+ * aggregate.c: (dump_aggregate_info) Properly test whether the
+ destination variable is numeric, when making the result
+ system-missing for columnwise missing values.
+
+Mon Mar 14 21:52:34 2005 Ben Pfaff <blp@gnu.org>
+
+ * misc.h: Remove GCC specializations.
+
+Mon Mar 14 21:07:23 2005 Ben Pfaff <blp@gnu.org>
+
+ Make sort stable (PR 12313).
+
+ * sort.c: Don't need to include some headers anymore.
+ (static var min_buffers) New variable.
+ (static var max_buffers) New variable.
+ (static var allow_internal_sort) New variable.
+ (cmd_sort_cases) Add test mode.
+ (sort_execute) Rephrase.
+ (do_internal_sort) Don't try internal sorting if
+ allow_internal_sort is set.
+ (struct external_sort) Renamed `initial_runs' to `runs' and
+ updated all references.
+ (macro MIN_BUFFER_TOTAL_SIZE_RECS) Removed.
+ (macro MIN_BUFFER_SIZE_BYTES) Removed.
+ (macro MIN_BUFFER_SIZE_RECS) Removed.
+ (compare_initial_runs) Removed.
+ (struct record_run) Add member `idx'.
+ (write_initial_runs) Pass increasing values to process_case() as
+ index.
+ (process_case) Add `idx' parameter and use it to initialize new
+ `idx' member.
+ (allocate_cases) Limit allocated buffers to max_buffers.
+ (compare_record_run) Use new `idx' member for last resort
+ comparison, for stability.
+ (end_run) Call casefile_sleep() on irs->casefile, to prevent
+ running out of file descriptors.
+ (struct merge_state) Removed.
+ (merge) Don't need to allocate cases. Always use MAX_MERGE_ORDER
+ unless we have fewer runs left. Always merge consecutive runs,
+ for stability. Return the final run.
+ (mod) Removed.
+ (choose_merge) New function.
+ (merge_once) Rewritten.
+
+Mon Mar 14 21:05:42 2005 Ben Pfaff <blp@gnu.org>
+
+ * cmdline.c: (static var testing_mode) Move into
+ parse_command_line().
+
+Mon Mar 14 21:05:13 2005 Ben Pfaff <blp@gnu.org>
+
+ * algorithm.c: (remove_range) New function.
+ (remove_element) New function.
+
+ * dictionary.c: (dict_delete_var) Use remove_element().
+
+ * flip.c: (cmd_flip) Ditto.
+
+>>>>>>> 1.161
Sun Mar 13 22:52:05 2005 Ben Pfaff <blp@gnu.org>
* file-handle.q: (struct file_handle) `open_mode' should not be
Sun Mar 13 22:40:54 2005 Ben Pfaff <blp@gnu.org>
- First phase of making SORT CASES stable (PR 12035).
+ First phase of making SORT CASES stable (PR 12313).
* sort.c: (struct indexed_case) New structure.
(do_internal_sort) Rewrite to make internal sorting stable.
(initialize_aggregate_info) Fix initialization for MIN, MAX for
strings.
+>>>>>>> 1.160
Sat Mar 12 23:26:21 2005 Ben Pfaff <blp@gnu.org>
Start work on testing and debugging AGGREGATE.
Sun Mar 6 19:52:22 2005 Ben Pfaff <blp@gnu.org>
DATA LIST with free-field formats should not have implied decimal
- places (bug #12035). Also clean up data-in.c a bit.
+ places (PR 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 Bug #11955.
+ Fix PR 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 Bug #11916, which was confusing a variable's `index' member
+ Fix PR 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 Bug #11483.
+ v->aux, which is no longer needed. Fixes PR 11483.
Sat Jan 1 19:01:16 WST 2005 John Darrington <john@darrington.wattle.id.au>