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