Sat May 6 16:00:13 2006 Ben Pfaff Get rid of `char *c' member in union value, for cleanliness. * aggregate.c: (union agr_argument) New union. (struct agr_var) Change element type of arg[] from union value to union agr_argument. (parse_aggregate_functions) Change local variable types likewise. * autorecode.c: (union arc_value) New union. (struct arc_item) Change "from" from union value to union arc_value. (recode) Change local variable from union value to union arc_value. (autorecode_trns_proc) Ditto. (compare_alpha_value) Ditto. (hash_alpha_value) Ditto. (compare_numeric_value) Ditto. (hash_numeric_value) Ditto. (autorecode_proc_func) Ditto. Sat May 6 10:43:33 2006 Ben Pfaff Continue reforming procedure execution. In this phase, get rid of the output code for SPLIT FILE groups in procedure.c, which really shouldn't be doing any output. Move it into the individual procedures instead. This also adds some flexibility. * crosstabs.q (precalc): Call output_split_file_values(). * descriptives.c (calc_descriptives): Ditto. * examine.q (run_examine): Ditto. * frequencies.q (precalc): Ditto. * oneway.q (run_oneway): Ditto. * regression.q (run_regression): Ditto. * t-test.q (calculate): Ditto. Wed May 3 23:05:31 2006 Ben Pfaff Continue reforming procedure execution. In this phase, get rid of many global variables, consolidating procedure execution in procedure.c. Encapsulate transformations in new "struct trns_chain". Also, change implementation of N OF CASES, FILTER, and PROCESS IF from special cases to transformations. * aggregate.c (cmd_aggregate) Use discard_variables(). 2006-04-28 Jason Stover * regression.q (regression_trns_resid_proc): Pass only the variables used in the model to (*model->residual)(). * regression.q (regression_trns_pred_proc): Pass only the variables used in the model to (*model->pred)(). 2006-04-26 Jason Stover * regression.q: Added support for multiple transformations. * regression.q (regression_trns_resid_proc): New function. * regression.q (regression_trns_pred_proc): New function. * regression.q (subcommand_save): Added support for saving predicted values. * regression.q (regression_trns_free): New function. * regression.q (reg_get_name): New function. * regression.q (reg_save_var): New function. Tue Apr 25 13:18:56 2006 Ben Pfaff * rank.q (parse_rank_function): Use SE instead of ME for parse errors. Tue Apr 25 13:16:28 2006 Ben Pfaff * flip.c (flip_sink_write): Use snprintf() to simplify a bit of code. 2006-04-21 Jason Stover * regression.q (try_name): New function. (Partly copied from try_name in descriptives.c.) * regression.q (subcommand_save): Choose residual variable names correctly. 2006-04-20 Jason Stover * regression.q (cmd_regression): Moved call to subcommand_save() outside multipass_procedure_with_splits(). * regression.q (regression_trns_proc): Fixed value counter n_vals before calling *model->residual(). 2006-04-19 Jason Stover * regression.q (regression_trns_proc): Fixed the look-up of the number of variables. 2006-04-18 Jason Stover * regression.q (regression_trns_proc): Look up the residual variable in the linear regression cache. * regression.q (subcommand_save): Set the residual variable in the linear regression cache. 2006-04-17 Jason Stover * regression.q (regression_trns_proc): Accept case_idx as an int to match the definition of trns_proc_func. 2006-04-17 Jason Stover * regression.q (regression_trns_proc): New function. * regression.q (subcommand_save): Create variable residuals and add a transformation to assign values to them. Also free the linreg_cache if the SAVE command was not called. Removed the casereading loop. Placed actual computation of residuals in regression_trns_proc. * regression.q (run_regression): Moved call to free pspp_linreg_cache to subcommand_save. Sat Apr 15 18:01:03 2006 Ben Pfaff * examine.q (output_examine): Add casts to fix warnings. 2006-04-07 Jason Stover * regression.q (subcommand_save): New function. 2006-04-04 Jason Stover * regression.q: New function reg_has_categorical () to tell whether a pspp_linreg_struct was made with any variables of type ALPHA. * regression.q: (subcommand_export): Call reg_print_categorical_encoding() only if the model uses any categorical variables. Mon Mar 27 16:00:42 2006 Ben Pfaff * crosstabs.q: (output_pivot_table) Drop spurious space from message. 2006-03-15 Jason Stover * regression.q: Added custom syntax parser for VARIABLES subcommand * regression.q: Moved most instructions for run_regression () inside the loop over dependent variables. Thu Mar 2 08:40:33 WST 2006 John Darrington * Moved files from src directory