Check return value of pool_fclose().
[pspp-builds.git] / src / language / stats / ChangeLog
1 Sun May  7 17:09:19 2006  Ben Pfaff  <blp@gnu.org>
2
3         * flip.c (flip_file): Check return value of pool_fclose().
4
5 Sat May  6 16:00:13 2006  Ben Pfaff  <blp@gnu.org>
6
7         Get rid of `char *c' member in union value, for cleanliness.
8         
9         * aggregate.c: (union agr_argument) New union.
10         (struct agr_var) Change element type of arg[] from union value to
11         union agr_argument.
12         (parse_aggregate_functions) Change local variable types likewise.
13
14         * autorecode.c: (union arc_value) New union.
15         (struct arc_item) Change "from" from union value to union
16         arc_value.
17         (recode) Change local variable from union value to union
18         arc_value.
19         (autorecode_trns_proc) Ditto.
20         (compare_alpha_value) Ditto.
21         (hash_alpha_value) Ditto.
22         (compare_numeric_value) Ditto.
23         (hash_numeric_value) Ditto.
24         (autorecode_proc_func) Ditto.
25
26 Sat May  6 10:43:33 2006  Ben Pfaff  <blp@gnu.org>
27
28         Continue reforming procedure execution.  In this phase, get rid of
29         the output code for SPLIT FILE groups in procedure.c, which really
30         shouldn't be doing any output.  Move it into the individual
31         procedures instead.  This also adds some flexibility.
32
33         * crosstabs.q (precalc): Call output_split_file_values().
34
35         * descriptives.c (calc_descriptives): Ditto.
36
37         * examine.q (run_examine): Ditto.
38         
39         * frequencies.q (precalc): Ditto.
40
41         * oneway.q (run_oneway): Ditto.
42
43         * regression.q (run_regression): Ditto.
44
45         * t-test.q (calculate): Ditto.
46
47 Wed May  3 23:05:31 2006  Ben Pfaff  <blp@gnu.org>
48
49         Continue reforming procedure execution.  In this phase, get rid of
50         many global variables, consolidating procedure execution in
51         procedure.c.  Encapsulate transformations in new "struct
52         trns_chain".  Also, change implementation of N OF CASES, FILTER,
53         and PROCESS IF from special cases to transformations.
54          
55         * aggregate.c (cmd_aggregate) Use discard_variables().
56         
57 2006-04-28  Jason Stover  <jhs@math.gcsu.edu>
58
59         * regression.q (regression_trns_resid_proc): Pass only the
60         variables used in the model to (*model->residual)().
61
62         * regression.q (regression_trns_pred_proc): Pass only the
63         variables used in the model to (*model->pred)().
64
65 2006-04-26  Jason Stover  <jhs@math.gcsu.edu>
66
67         * regression.q: Added support for multiple transformations.
68         
69         * regression.q (regression_trns_resid_proc): New function.
70
71         * regression.q (regression_trns_pred_proc): New function.
72
73         * regression.q (subcommand_save): Added support for saving
74         predicted values.
75
76         * regression.q (regression_trns_free): New function. 
77
78         * regression.q (reg_get_name): New function.
79
80         * regression.q (reg_save_var): New function.
81
82 Tue Apr 25 13:18:56 2006  Ben Pfaff  <blp@gnu.org>
83
84         * rank.q (parse_rank_function): Use SE instead of ME for parse
85         errors.
86
87 Tue Apr 25 13:16:28 2006  Ben Pfaff  <blp@gnu.org>
88
89         * flip.c (flip_sink_write): Use snprintf() to simplify a bit of
90         code.
91
92 2006-04-21  Jason Stover  <jhs@math.gcsu.edu>
93
94         * regression.q (try_name): New function. (Partly copied from
95         try_name in descriptives.c.)
96
97         * regression.q (subcommand_save): Choose residual variable names
98         correctly. 
99
100 2006-04-20  Jason Stover  <jhs@math.gcsu.edu>
101
102         * regression.q (cmd_regression): Moved call to subcommand_save()
103         outside multipass_procedure_with_splits().
104         
105         * regression.q (regression_trns_proc): Fixed value counter n_vals
106         before calling *model->residual().
107
108 2006-04-19  Jason Stover  <jhs@math.gcsu.edu>
109
110         * regression.q (regression_trns_proc): Fixed the look-up of the
111         number of variables.
112
113 2006-04-18  Jason Stover  <jhs@math.gcsu.edu>
114
115         * regression.q (regression_trns_proc): Look up the residual
116         variable in the linear regression cache.
117
118         * regression.q (subcommand_save): Set the residual variable in the
119         linear regression cache.
120
121 2006-04-17  Jason Stover  <jason@wonko.gcsu.edu>
122
123         * regression.q (regression_trns_proc): Accept case_idx as an int
124         to match the definition of trns_proc_func.
125
126 2006-04-17  Jason Stover  <jhs@math.gcsu.edu>
127
128         * regression.q (regression_trns_proc): New function.
129
130         * regression.q (subcommand_save): Create variable residuals and
131         add a transformation to assign values to them. Also free the
132         linreg_cache if the SAVE command was not called. Removed the
133         casereading loop. Placed actual computation of residuals in
134         regression_trns_proc.
135
136         * regression.q (run_regression): Moved call to free
137         pspp_linreg_cache to subcommand_save.
138
139 Sat Apr 15 18:01:03 2006  Ben Pfaff  <blp@gnu.org>
140
141         * examine.q (output_examine): Add casts to fix warnings.
142
143 2006-04-07  Jason Stover  <jhs@math.gcsu.edu>
144
145         * regression.q (subcommand_save): New function.
146
147 2006-04-04  Jason Stover  <jhs@math.gcsu.edu>
148
149         * regression.q: New function reg_has_categorical () to tell
150         whether a pspp_linreg_struct was made with any variables of type
151         ALPHA.
152
153         * regression.q: (subcommand_export): Call
154         reg_print_categorical_encoding() only if the model uses any
155         categorical variables.
156
157 Mon Mar 27 16:00:42 2006  Ben Pfaff  <blp@gnu.org>
158
159         * crosstabs.q: (output_pivot_table) Drop spurious space from
160         message.
161
162 2006-03-15  Jason Stover  <jhs@math.gcsu.edu>
163
164         * regression.q: Added custom syntax parser for VARIABLES subcommand
165
166         * regression.q: Moved most instructions for run_regression ()
167         inside the loop over dependent variables.
168
169 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
170         
171         * Moved files from src directory