1 Wed Dec 6 21:14:26 2006 Ben Pfaff <blp@gnu.org>
3 * regression.q (reg_inserted): Compare variable pointers instead
6 Mon Dec 4 22:33:46 2006 Ben Pfaff <blp@gnu.org>
8 * crosstabs.q (insert_summary): Use var_to_string for labeling.
9 (output_pivot_table) Ditto.
12 * frequencies.q (setup_z_trns): Ditto.
14 (dump_condensed) Ditto.
15 (dump_statistics) Ditto.
18 Sun Nov 5 08:31:42 WST 2006 John Darrington <john@darrington.wattle.id.au>
20 * t-test.q, oneway.q: Changed to use the new casefilter structure.
22 Sat Oct 14 16:52:28 2006 Ben Pfaff <blp@gnu.org>
24 * rank.q: (rank_sorted_casefile) Add some missing case_destroy()
25 calls to fix a memory leak.
27 Sun Oct 8 09:45:40 WST 2006 John Darrington <john@darrington.wattle.id.au>
29 * rank.q: Plugged a small memory leak which occurred under error
32 Sat Oct 7 11:06:01 WST 2006 John Darrington <john@darrington.wattle.id.au>
34 * rank.q: Implemented most of the RANK command.
36 2006-07-14 Jason Stover <jhs@math.gcsu.edu>
38 * regression.q (run_regression): New function to move knowledge of
39 pspp_linreg_cache out of math/coefficient.[ch].
41 Sat Jul 1 17:41:46 2006 Ben Pfaff <blp@gnu.org>
43 Fix bug #11612, "q2c documentation does not agree with code".
45 * examine.q: Audit use of q2c "+" prefixes that indicate that a
46 command may appear multiple times.
48 * frequencies.q: Ditto.
52 * regression.q: Ditto.
56 Fri Jun 23 14:18:22 2006 Ben Pfaff <blp@gnu.org>
58 Support long string variables on FREQUENCIES, as
59 an extension when in enhanced algorithms mode. For Greg Hunt
60 <greg@firmansyah.com>.
62 * frequencies.q: (struct freq) Change `v' member from union value
63 to union value *. Update all references.
64 (struct var_freqs) Add width, print members to represent effective
65 variable width and display format.
66 (calc) Copy entire long string value into the hash table.
67 (frq_custom_variables) Set new width, print members.
68 (hash_value_alpha) Get width from var_freqs.
69 (compare_value_alpha_a) Ditto.
70 (compare_freq_alpha_a) Ditto.
71 (compare_freq_alpha_d) Ditto.
72 (dump_full) Get display format from var_freqs.
73 (dump_condensed) Ditto.
75 Mon Jun 19 22:07:13 2006 Ben Pfaff <blp@gnu.org>
77 * frequencies.q: (dump_full) Only put the first MAX_SHORT_STRING
78 bytes of string variables into the output cells, seeing as we only
80 (dump_condensed) Ditto.
82 Mon Jun 19 21:52:05 2006 Ben Pfaff <blp@gnu.org>
84 Fixes a bug reported by Greg Hunt <greg@firmansyah.com>.
86 * frequencies.q: (hsh_hash_bytes) We only copy the first
87 MAX_SHORT_STRING bytes of string variables, so we must only
88 compare that many bytes, even if the string variable is longer.
89 (compare_value_alpha_a) Ditto.
90 (compare_freq_alpha_a) Ditto.
91 (compare_freq_alpha_d) Ditto.
93 2006-05-11 Jason Stover <jhs@math.gcsu.edu>
95 * regression.q: Adjusted code to account for cache->coeff being a
98 Sun May 7 18:31:25 2006 Ben Pfaff <blp@gnu.org>
102 * aggregate.c (cmd_aggregate): Free default_dict before replacing
105 Sun May 7 17:09:19 2006 Ben Pfaff <blp@gnu.org>
107 * flip.c (flip_file): Check return value of pool_fclose().
109 Sat May 6 16:00:13 2006 Ben Pfaff <blp@gnu.org>
111 Get rid of `char *c' member in union value, for cleanliness.
113 * aggregate.c: (union agr_argument) New union.
114 (struct agr_var) Change element type of arg[] from union value to
116 (parse_aggregate_functions) Change local variable types likewise.
118 * autorecode.c: (union arc_value) New union.
119 (struct arc_item) Change "from" from union value to union
121 (recode) Change local variable from union value to union
123 (autorecode_trns_proc) Ditto.
124 (compare_alpha_value) Ditto.
125 (hash_alpha_value) Ditto.
126 (compare_numeric_value) Ditto.
127 (hash_numeric_value) Ditto.
128 (autorecode_proc_func) Ditto.
130 Sat May 6 10:43:33 2006 Ben Pfaff <blp@gnu.org>
132 Continue reforming procedure execution. In this phase, get rid of
133 the output code for SPLIT FILE groups in procedure.c, which really
134 shouldn't be doing any output. Move it into the individual
135 procedures instead. This also adds some flexibility.
137 * crosstabs.q (precalc): Call output_split_file_values().
139 * descriptives.c (calc_descriptives): Ditto.
141 * examine.q (run_examine): Ditto.
143 * frequencies.q (precalc): Ditto.
145 * oneway.q (run_oneway): Ditto.
147 * regression.q (run_regression): Ditto.
149 * t-test.q (calculate): Ditto.
151 Wed May 3 23:05:31 2006 Ben Pfaff <blp@gnu.org>
153 Continue reforming procedure execution. In this phase, get rid of
154 many global variables, consolidating procedure execution in
155 procedure.c. Encapsulate transformations in new "struct
156 trns_chain". Also, change implementation of N OF CASES, FILTER,
157 and PROCESS IF from special cases to transformations.
159 * aggregate.c (cmd_aggregate) Use discard_variables().
161 2006-04-28 Jason Stover <jhs@math.gcsu.edu>
163 * regression.q (regression_trns_resid_proc): Pass only the
164 variables used in the model to (*model->residual)().
166 * regression.q (regression_trns_pred_proc): Pass only the
167 variables used in the model to (*model->pred)().
169 2006-04-26 Jason Stover <jhs@math.gcsu.edu>
171 * regression.q: Added support for multiple transformations.
173 * regression.q (regression_trns_resid_proc): New function.
175 * regression.q (regression_trns_pred_proc): New function.
177 * regression.q (subcommand_save): Added support for saving
180 * regression.q (regression_trns_free): New function.
182 * regression.q (reg_get_name): New function.
184 * regression.q (reg_save_var): New function.
186 Tue Apr 25 13:18:56 2006 Ben Pfaff <blp@gnu.org>
188 * rank.q (parse_rank_function): Use SE instead of ME for parse
191 Tue Apr 25 13:16:28 2006 Ben Pfaff <blp@gnu.org>
193 * flip.c (flip_sink_write): Use snprintf() to simplify a bit of
196 2006-04-21 Jason Stover <jhs@math.gcsu.edu>
198 * regression.q (try_name): New function. (Partly copied from
199 try_name in descriptives.c.)
201 * regression.q (subcommand_save): Choose residual variable names
204 2006-04-20 Jason Stover <jhs@math.gcsu.edu>
206 * regression.q (cmd_regression): Moved call to subcommand_save()
207 outside multipass_procedure_with_splits().
209 * regression.q (regression_trns_proc): Fixed value counter n_vals
210 before calling *model->residual().
212 2006-04-19 Jason Stover <jhs@math.gcsu.edu>
214 * regression.q (regression_trns_proc): Fixed the look-up of the
217 2006-04-18 Jason Stover <jhs@math.gcsu.edu>
219 * regression.q (regression_trns_proc): Look up the residual
220 variable in the linear regression cache.
222 * regression.q (subcommand_save): Set the residual variable in the
223 linear regression cache.
225 2006-04-17 Jason Stover <jason@wonko.gcsu.edu>
227 * regression.q (regression_trns_proc): Accept case_idx as an int
228 to match the definition of trns_proc_func.
230 2006-04-17 Jason Stover <jhs@math.gcsu.edu>
232 * regression.q (regression_trns_proc): New function.
234 * regression.q (subcommand_save): Create variable residuals and
235 add a transformation to assign values to them. Also free the
236 linreg_cache if the SAVE command was not called. Removed the
237 casereading loop. Placed actual computation of residuals in
238 regression_trns_proc.
240 * regression.q (run_regression): Moved call to free
241 pspp_linreg_cache to subcommand_save.
243 Sat Apr 15 18:01:03 2006 Ben Pfaff <blp@gnu.org>
245 * examine.q (output_examine): Add casts to fix warnings.
247 2006-04-07 Jason Stover <jhs@math.gcsu.edu>
249 * regression.q (subcommand_save): New function.
251 2006-04-04 Jason Stover <jhs@math.gcsu.edu>
253 * regression.q: New function reg_has_categorical () to tell
254 whether a pspp_linreg_struct was made with any variables of type
257 * regression.q: (subcommand_export): Call
258 reg_print_categorical_encoding() only if the model uses any
259 categorical variables.
261 Mon Mar 27 16:00:42 2006 Ben Pfaff <blp@gnu.org>
263 * crosstabs.q: (output_pivot_table) Drop spurious space from
266 2006-03-15 Jason Stover <jhs@math.gcsu.edu>
268 * regression.q: Added custom syntax parser for VARIABLES subcommand
270 * regression.q: Moved most instructions for run_regression ()
271 inside the loop over dependent variables.
273 Thu Mar 2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
275 * Moved files from src directory