X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2FChangeLog;h=4f65c2f99315861df46858190c25a3fdd25063bf;hb=e35ff8ccb29404f2098e6f2fccace1c99c61b7be;hp=6073c81b355d1d35a4eaf681ec993612a4e89f1e;hpb=53a77fc6d950849af8fa98e89a6e9cb6d1281891;p=pspp diff --git a/src/ChangeLog b/src/ChangeLog index 6073c81b35..4f65c2f993 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,253 @@ +Wed Apr 27 07:43:50 WST 2005 John Darrington + + * command.def echo.c: Added the ECHO command. + +Mon Apr 25 22:55:59 2005 Ben Pfaff + + Finish fixing MATCH FILES (PR 11677). + + * get.c: (trim_dictionary) Rewrite in terms of drop_variables(), + keep_variables(), rename_variables(). + (drop_variables) New function. + (keep_variables) New function. + (struct mtf_file) Rename `in' to `in_name'. Add `in_var'. + (cmd_match_files) Deal with in_var. Use drop_variables(), + keep_variables(). When IN is specified, require BY. Set master + variables after master dictionary is complete. Add IN variables + after master dictionary is complete. + (mtf_free_file) Free `in_name'. + (mtf_delete_file_in_place) Set in_var value to 0. + (mtf_read_nonactive_records) Rephrase. + (mtf_processing) Support IN. Rephrase. Fix bugs. + (mtf_merge_dictionary) Don't set master variables; we do that + later now. + (get_master) Don't insist that there's a master variable. + +Mon Apr 25 22:55:22 2005 Ben Pfaff + + Kluge to make some variable renaming sort of work. + Needs real fix. + + * dictionary.c: (dict_rename_var) Call dict_add_longvar_entry(). + +Mon Apr 25 22:52:28 2005 Ben Pfaff + + Add functions for comparing sets of variables between cases. + Use the functions. + + * case.c: (case_compare) New function. + (case_compare_2dict) New function. + + * aggregate.c: (struct agr_proc) Remove `prev_break' member. Add + `break_case'. + (cmd_aggregate) Nullify break_case. Don't call + initialize_aggregate_info(). + (agr_destroy) Destroy break_case. + (aggregate_single_case) Rewrite. Use case_compare(). + (dump_aggregate_info) Copy from break_case into output. + (initialize_aggregate_info) Copy break_case from input. + + * get.c: (mtf_compare_BY_values) Use case_compare_2dict(). + + * vfm.c: (equal_splits) Use case_compare(). + +Sat Apr 23 17:01:04 WST 2005 John Darrington + + * dictionary.c vars-prs.c sfm-write.c: Fixed some memory leaks + +Sun Apr 17 23:08:15 2005 Ben Pfaff + + Start work on fixing MATCH FILES. + + * get.c: (enum operation) Remove OP_MATCH. + (trim_dictionary) Change return value to bool. Don't support + OP_MATCH. + (struct mtf_file) Remove `first', `last' members. + (struct mtf_proc) Add `first', `last' members. Change mtf_case + from `struct ccase *' to `struct ccase'. Remove `by' member. + (cmd_match_files) Essentially rewrite. + (mtf_free) Don't free `by' member. Destroy `mtf_case' member. + (mtf_read_nonactive_records) mtf_ parameter is not unused. + (mtf_processing) Ditto. Also rephrase some code. + (mtf_merge_dictionary) Rewrite for easy comprehension. + +Sun Apr 17 23:06:00 2005 Ben Pfaff + + * matrix-data.c: (wr_output_data) [DEBUGGING] Fix compilation + error. + + * q2c.c: (dump_token) [DEBUGGING] Fix compilation error. + +Thu Apr 14 2005 John Darrington + + * 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 + + * 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 + + * 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 + + * 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 + + * misc.h: Remove GCC specializations. + +Mon Mar 14 21:07:23 2005 Ben Pfaff + + 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 + + * cmdline.c: (static var testing_mode) Move into + parse_command_line(). + +Mon Mar 14 21:05:13 2005 Ben Pfaff + + * 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 + + * file-handle.q: (struct file_handle) `open_mode' should not be + const. + +Sun Mar 13 22:40:54 2005 Ben Pfaff + + 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. + (compare_case_dblptrs) Removed. + (compare_indexed_cases) New function. + +Sun Mar 13 22:38:40 2005 Ben Pfaff + + Clean-ups. + + * casefile.c: (casereader_read_xfer_assert) New function. + + * dictionary.c: (dict_compact_case) New function. + + * flip.c: (struct flip_pgm) New member idx_to_fv. + (cmd_flip) Initialize idx_to_fv member. + (destroy_flip_pgm) Free idx_to_fv member. + (flip_sink_write) Use struct flip_pgm member instead of case_sink + member. + (flip_sink_write) Ditto. + + * vfm.c: (write_case) Use dict_compact_case() instead of + compact_case(). + (compact_case) Removed. + (storage_source_create) Removed `dict' parameter. All references + updated. + + * vfm.h: (struct case_source) Removed `value_cnt' member. All + references removed. + (struct case_sink) Removed `dict', `idx_to_fv' members. All + references removed. + +Sun Mar 13 22:35:55 2005 Ben Pfaff + + More AGGREGATE fixes. + + * aggregate.c: (accumulate_aggregate_info) Implement NMISS and + NUMISS for strings. Fix FOUT, POUT, FGT, FLT, FIN, FOUT for + strings. + (initialize_aggregate_info) Fix initialization for MIN, MAX for + strings. + +>>>>>>> 1.160 +Sat Mar 12 23:26:21 2005 Ben Pfaff + + Start work on testing and debugging AGGREGATE. + + * aggregate.c: (cmd_aggregate) Use discrete bool variables instead + of a bit-map. Require proper subcommand ordering. Make OUTFILE + subcommand mandatory. + (parse_aggregate_functions) Check that PIN, POUT, FIN, FOUT + functions' arguments are in the correct order and swap them if + not. + (accumulate_aggregate_info) Make SUM include weights. Add various + string functions. + (dump_aggregate_info) Add various string functions. + (initialize_aggregate_info) Initialize int1 for MIN, MAX. + + * sort.c: (sort_parse_criteria) Add parameter for returning + whether any directions were specified. All callers updated. + +Sun Mar 13 14:54:27 WST 2005 John Darrington + + * t-test.q: Fixed erroneous logic in compare_group_binary. + +Sat Mar 12 13:29:21 2005 Ben Pfaff + + * split-file.c: (cmd_split_file) Ignore LAYERED and SEPARATE + keywords (PR 11628). + Sat Mar 12 13:17:12 2005 Ben Pfaff * vfm.c: (procedure_with_splits) Fix PR 11492: end_func() must be @@ -84,7 +334,7 @@ Sun Mar 6 23:25:40 2005 Ben Pfaff Sun Mar 6 19:52:22 2005 Ben Pfaff 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. @@ -289,7 +539,7 @@ Fri Feb 25 21:11:35 WST 2005 John Darrington Sun Feb 13 16:11:13 2005 Ben Pfaff - Fix Bug #11955. + Fix PR 11955. * aggregate.c: (parse_aggregate_functions) Code cleanup. Important part: get rid of spurious copying of function->format to @@ -297,7 +547,7 @@ Sun Feb 13 16:11:13 2005 Ben Pfaff Fri Feb 11 00:08:36 2005 Ben Pfaff - 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. @@ -490,7 +740,7 @@ Wed Jan 5 08:30:48 WST 2005 John Darrington Mon Jan 3 17:44:37 2005 Ben Pfaff * 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