1 Sat Dec 16 22:26:44 2006 Ben Pfaff <blp@gnu.org>
3 Make it possible to pull cases from the active file with a
4 function call, instead of requiring indirection through a callback
7 * aggregate.c (cmd_aggregate): Take advantage of new procedure
9 (agr_to_active_file): Removed.
10 (presorted_agr_to_sysfile): Removed.
12 * autorecode.c (cmd_autorecode): Take advantage of new procedure
14 (autorecode_proc_func): Removed.
16 * flip.c (struct flip_pgm): New members to allow conformance with
17 new case_source_class interface.
18 (cmd_flip): Adapt to new case_source_class interface.
19 (flip_source_read): Ditto.
20 (flip_source_destroy): Ditto.
22 Sat Dec 16 12:54:27 2006 Ben Pfaff <blp@gnu.org>
24 * rank.q (rank_custom_variables): Allow grouping variables to be
25 strings. Fixes bug #18533. Thanks to John Darrington for review.
27 Sat Dec 9 18:47:51 2006 Ben Pfaff <blp@gnu.org>
29 * regression.q (is_depvar): Compare variable pointers instead of
32 Thu Dec 7 15:26:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
34 * examine.q: Allocated the categorical values for the dependent and
35 independent variables, on the heap. Hence they can be of any width.
37 Wed Dec 6 21:14:26 2006 Ben Pfaff <blp@gnu.org>
39 * regression.q (reg_inserted): Compare variable pointers instead
42 Mon Dec 4 22:33:46 2006 Ben Pfaff <blp@gnu.org>
44 * crosstabs.q (insert_summary): Use var_to_string for labeling.
45 (output_pivot_table) Ditto.
48 * frequencies.q (setup_z_trns): Ditto.
50 (dump_condensed) Ditto.
51 (dump_statistics) Ditto.
54 Sun Nov 5 08:31:42 WST 2006 John Darrington <john@darrington.wattle.id.au>
56 * t-test.q, oneway.q: Changed to use the new casefilter structure.
58 Sat Oct 14 16:52:28 2006 Ben Pfaff <blp@gnu.org>
60 * rank.q: (rank_sorted_casefile) Add some missing case_destroy()
61 calls to fix a memory leak.
63 Sun Oct 8 09:45:40 WST 2006 John Darrington <john@darrington.wattle.id.au>
65 * rank.q: Plugged a small memory leak which occurred under error
68 Sat Oct 7 11:06:01 WST 2006 John Darrington <john@darrington.wattle.id.au>
70 * rank.q: Implemented most of the RANK command.
72 2006-07-14 Jason Stover <jhs@math.gcsu.edu>
74 * regression.q (run_regression): New function to move knowledge of
75 pspp_linreg_cache out of math/coefficient.[ch].
77 Sat Jul 1 17:41:46 2006 Ben Pfaff <blp@gnu.org>
79 Fix bug #11612, "q2c documentation does not agree with code".
81 * examine.q: Audit use of q2c "+" prefixes that indicate that a
82 command may appear multiple times.
84 * frequencies.q: Ditto.
88 * regression.q: Ditto.
92 Fri Jun 23 14:18:22 2006 Ben Pfaff <blp@gnu.org>
94 Support long string variables on FREQUENCIES, as
95 an extension when in enhanced algorithms mode. For Greg Hunt
96 <greg@firmansyah.com>.
98 * frequencies.q: (struct freq) Change `v' member from union value
99 to union value *. Update all references.
100 (struct var_freqs) Add width, print members to represent effective
101 variable width and display format.
102 (calc) Copy entire long string value into the hash table.
103 (frq_custom_variables) Set new width, print members.
104 (hash_value_alpha) Get width from var_freqs.
105 (compare_value_alpha_a) Ditto.
106 (compare_freq_alpha_a) Ditto.
107 (compare_freq_alpha_d) Ditto.
108 (dump_full) Get display format from var_freqs.
109 (dump_condensed) Ditto.
111 Mon Jun 19 22:07:13 2006 Ben Pfaff <blp@gnu.org>
113 * frequencies.q: (dump_full) Only put the first MAX_SHORT_STRING
114 bytes of string variables into the output cells, seeing as we only
116 (dump_condensed) Ditto.
118 Mon Jun 19 21:52:05 2006 Ben Pfaff <blp@gnu.org>
120 Fixes a bug reported by Greg Hunt <greg@firmansyah.com>.
122 * frequencies.q: (hsh_hash_bytes) We only copy the first
123 MAX_SHORT_STRING bytes of string variables, so we must only
124 compare that many bytes, even if the string variable is longer.
125 (compare_value_alpha_a) Ditto.
126 (compare_freq_alpha_a) Ditto.
127 (compare_freq_alpha_d) Ditto.
129 2006-05-11 Jason Stover <jhs@math.gcsu.edu>
131 * regression.q: Adjusted code to account for cache->coeff being a
132 pspp_linreg_coeff **.
134 Sun May 7 18:31:25 2006 Ben Pfaff <blp@gnu.org>
138 * aggregate.c (cmd_aggregate): Free default_dict before replacing
141 Sun May 7 17:09:19 2006 Ben Pfaff <blp@gnu.org>
143 * flip.c (flip_file): Check return value of pool_fclose().
145 Sat May 6 16:00:13 2006 Ben Pfaff <blp@gnu.org>
147 Get rid of `char *c' member in union value, for cleanliness.
149 * aggregate.c: (union agr_argument) New union.
150 (struct agr_var) Change element type of arg[] from union value to
152 (parse_aggregate_functions) Change local variable types likewise.
154 * autorecode.c: (union arc_value) New union.
155 (struct arc_item) Change "from" from union value to union
157 (recode) Change local variable from union value to union
159 (autorecode_trns_proc) Ditto.
160 (compare_alpha_value) Ditto.
161 (hash_alpha_value) Ditto.
162 (compare_numeric_value) Ditto.
163 (hash_numeric_value) Ditto.
164 (autorecode_proc_func) Ditto.
166 Sat May 6 10:43:33 2006 Ben Pfaff <blp@gnu.org>
168 Continue reforming procedure execution. In this phase, get rid of
169 the output code for SPLIT FILE groups in procedure.c, which really
170 shouldn't be doing any output. Move it into the individual
171 procedures instead. This also adds some flexibility.
173 * crosstabs.q (precalc): Call output_split_file_values().
175 * descriptives.c (calc_descriptives): Ditto.
177 * examine.q (run_examine): Ditto.
179 * frequencies.q (precalc): Ditto.
181 * oneway.q (run_oneway): Ditto.
183 * regression.q (run_regression): Ditto.
185 * t-test.q (calculate): Ditto.
187 Wed May 3 23:05:31 2006 Ben Pfaff <blp@gnu.org>
189 Continue reforming procedure execution. In this phase, get rid of
190 many global variables, consolidating procedure execution in
191 procedure.c. Encapsulate transformations in new "struct
192 trns_chain". Also, change implementation of N OF CASES, FILTER,
193 and PROCESS IF from special cases to transformations.
195 * aggregate.c (cmd_aggregate) Use discard_variables().
197 2006-04-28 Jason Stover <jhs@math.gcsu.edu>
199 * regression.q (regression_trns_resid_proc): Pass only the
200 variables used in the model to (*model->residual)().
202 * regression.q (regression_trns_pred_proc): Pass only the
203 variables used in the model to (*model->pred)().
205 2006-04-26 Jason Stover <jhs@math.gcsu.edu>
207 * regression.q: Added support for multiple transformations.
209 * regression.q (regression_trns_resid_proc): New function.
211 * regression.q (regression_trns_pred_proc): New function.
213 * regression.q (subcommand_save): Added support for saving
216 * regression.q (regression_trns_free): New function.
218 * regression.q (reg_get_name): New function.
220 * regression.q (reg_save_var): New function.
222 Tue Apr 25 13:18:56 2006 Ben Pfaff <blp@gnu.org>
224 * rank.q (parse_rank_function): Use SE instead of ME for parse
227 Tue Apr 25 13:16:28 2006 Ben Pfaff <blp@gnu.org>
229 * flip.c (flip_sink_write): Use snprintf() to simplify a bit of
232 2006-04-21 Jason Stover <jhs@math.gcsu.edu>
234 * regression.q (try_name): New function. (Partly copied from
235 try_name in descriptives.c.)
237 * regression.q (subcommand_save): Choose residual variable names
240 2006-04-20 Jason Stover <jhs@math.gcsu.edu>
242 * regression.q (cmd_regression): Moved call to subcommand_save()
243 outside multipass_procedure_with_splits().
245 * regression.q (regression_trns_proc): Fixed value counter n_vals
246 before calling *model->residual().
248 2006-04-19 Jason Stover <jhs@math.gcsu.edu>
250 * regression.q (regression_trns_proc): Fixed the look-up of the
253 2006-04-18 Jason Stover <jhs@math.gcsu.edu>
255 * regression.q (regression_trns_proc): Look up the residual
256 variable in the linear regression cache.
258 * regression.q (subcommand_save): Set the residual variable in the
259 linear regression cache.
261 2006-04-17 Jason Stover <jason@wonko.gcsu.edu>
263 * regression.q (regression_trns_proc): Accept case_idx as an int
264 to match the definition of trns_proc_func.
266 2006-04-17 Jason Stover <jhs@math.gcsu.edu>
268 * regression.q (regression_trns_proc): New function.
270 * regression.q (subcommand_save): Create variable residuals and
271 add a transformation to assign values to them. Also free the
272 linreg_cache if the SAVE command was not called. Removed the
273 casereading loop. Placed actual computation of residuals in
274 regression_trns_proc.
276 * regression.q (run_regression): Moved call to free
277 pspp_linreg_cache to subcommand_save.
279 Sat Apr 15 18:01:03 2006 Ben Pfaff <blp@gnu.org>
281 * examine.q (output_examine): Add casts to fix warnings.
283 2006-04-07 Jason Stover <jhs@math.gcsu.edu>
285 * regression.q (subcommand_save): New function.
287 2006-04-04 Jason Stover <jhs@math.gcsu.edu>
289 * regression.q: New function reg_has_categorical () to tell
290 whether a pspp_linreg_struct was made with any variables of type
293 * regression.q: (subcommand_export): Call
294 reg_print_categorical_encoding() only if the model uses any
295 categorical variables.
297 Mon Mar 27 16:00:42 2006 Ben Pfaff <blp@gnu.org>
299 * crosstabs.q: (output_pivot_table) Drop spurious space from
302 2006-03-15 Jason Stover <jhs@math.gcsu.edu>
304 * regression.q: Added custom syntax parser for VARIABLES subcommand
306 * regression.q: Moved most instructions for run_regression ()
307 inside the loop over dependent variables.
309 Thu Mar 2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
311 * Moved files from src directory