1 Fri Dec 22 19:22:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
3 * frequencies.q : Fixed bug #17420, where the table bounds were overun
4 when /FORMAT=nolabels was given.
6 Wed Dec 20 18:45:31 WST 2006 John Darrington <john@darrington.wattle.id.au>
8 * binomial.c binomial.h : New files. Thanks to Jason Stover
9 for assistance with these.
11 * chisquare.c chisquare.h freq.c freq.h npar-summary.c npar-summary.h
12 npar.h npar.q: New files. Implementing NPAR TESTS.
14 * frequencies.q : Moved structure definitions into freq.[ch]
16 Sat Dec 16 22:26:44 2006 Ben Pfaff <blp@gnu.org>
18 Make it possible to pull cases from the active file with a
19 function call, instead of requiring indirection through a callback
22 * aggregate.c (cmd_aggregate): Take advantage of new procedure
24 (agr_to_active_file): Removed.
25 (presorted_agr_to_sysfile): Removed.
27 * autorecode.c (cmd_autorecode): Take advantage of new procedure
29 (autorecode_proc_func): Removed.
31 * flip.c (struct flip_pgm): New members to allow conformance with
32 new case_source_class interface.
33 (cmd_flip): Adapt to new case_source_class interface.
34 (flip_source_read): Ditto.
35 (flip_source_destroy): Ditto.
37 Sat Dec 16 12:54:27 2006 Ben Pfaff <blp@gnu.org>
39 * rank.q (rank_custom_variables): Allow grouping variables to be
40 strings. Fixes bug #18533. Thanks to John Darrington for review.
42 Sat Dec 9 18:47:51 2006 Ben Pfaff <blp@gnu.org>
44 * regression.q (is_depvar): Compare variable pointers instead of
47 Thu Dec 7 15:26:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
49 * examine.q: Allocated the categorical values for the dependent and
50 independent variables, on the heap. Hence they can be of any width.
52 Wed Dec 6 21:14:26 2006 Ben Pfaff <blp@gnu.org>
54 * regression.q (reg_inserted): Compare variable pointers instead
57 Mon Dec 4 22:33:46 2006 Ben Pfaff <blp@gnu.org>
59 * crosstabs.q (insert_summary): Use var_to_string for labeling.
60 (output_pivot_table) Ditto.
63 * frequencies.q (setup_z_trns): Ditto.
65 (dump_condensed) Ditto.
66 (dump_statistics) Ditto.
69 Sun Nov 5 08:31:42 WST 2006 John Darrington <john@darrington.wattle.id.au>
71 * t-test.q, oneway.q: Changed to use the new casefilter structure.
73 Sat Oct 14 16:52:28 2006 Ben Pfaff <blp@gnu.org>
75 * rank.q: (rank_sorted_casefile) Add some missing case_destroy()
76 calls to fix a memory leak.
78 Sun Oct 8 09:45:40 WST 2006 John Darrington <john@darrington.wattle.id.au>
80 * rank.q: Plugged a small memory leak which occurred under error
83 Sat Oct 7 11:06:01 WST 2006 John Darrington <john@darrington.wattle.id.au>
85 * rank.q: Implemented most of the RANK command.
87 2006-07-14 Jason Stover <jhs@math.gcsu.edu>
89 * regression.q (run_regression): New function to move knowledge of
90 pspp_linreg_cache out of math/coefficient.[ch].
92 Sat Jul 1 17:41:46 2006 Ben Pfaff <blp@gnu.org>
94 Fix bug #11612, "q2c documentation does not agree with code".
96 * examine.q: Audit use of q2c "+" prefixes that indicate that a
97 command may appear multiple times.
99 * frequencies.q: Ditto.
103 * regression.q: Ditto.
107 Fri Jun 23 14:18:22 2006 Ben Pfaff <blp@gnu.org>
109 Support long string variables on FREQUENCIES, as
110 an extension when in enhanced algorithms mode. For Greg Hunt
111 <greg@firmansyah.com>.
113 * frequencies.q: (struct freq) Change `v' member from union value
114 to union value *. Update all references.
115 (struct var_freqs) Add width, print members to represent effective
116 variable width and display format.
117 (calc) Copy entire long string value into the hash table.
118 (frq_custom_variables) Set new width, print members.
119 (hash_value_alpha) Get width from var_freqs.
120 (compare_value_alpha_a) Ditto.
121 (compare_freq_alpha_a) Ditto.
122 (compare_freq_alpha_d) Ditto.
123 (dump_full) Get display format from var_freqs.
124 (dump_condensed) Ditto.
126 Mon Jun 19 22:07:13 2006 Ben Pfaff <blp@gnu.org>
128 * frequencies.q: (dump_full) Only put the first MAX_SHORT_STRING
129 bytes of string variables into the output cells, seeing as we only
131 (dump_condensed) Ditto.
133 Mon Jun 19 21:52:05 2006 Ben Pfaff <blp@gnu.org>
135 Fixes a bug reported by Greg Hunt <greg@firmansyah.com>.
137 * frequencies.q: (hsh_hash_bytes) We only copy the first
138 MAX_SHORT_STRING bytes of string variables, so we must only
139 compare that many bytes, even if the string variable is longer.
140 (compare_value_alpha_a) Ditto.
141 (compare_freq_alpha_a) Ditto.
142 (compare_freq_alpha_d) Ditto.
144 2006-05-11 Jason Stover <jhs@math.gcsu.edu>
146 * regression.q: Adjusted code to account for cache->coeff being a
147 pspp_linreg_coeff **.
149 Sun May 7 18:31:25 2006 Ben Pfaff <blp@gnu.org>
153 * aggregate.c (cmd_aggregate): Free default_dict before replacing
156 Sun May 7 17:09:19 2006 Ben Pfaff <blp@gnu.org>
158 * flip.c (flip_file): Check return value of pool_fclose().
160 Sat May 6 16:00:13 2006 Ben Pfaff <blp@gnu.org>
162 Get rid of `char *c' member in union value, for cleanliness.
164 * aggregate.c: (union agr_argument) New union.
165 (struct agr_var) Change element type of arg[] from union value to
167 (parse_aggregate_functions) Change local variable types likewise.
169 * autorecode.c: (union arc_value) New union.
170 (struct arc_item) Change "from" from union value to union
172 (recode) Change local variable from union value to union
174 (autorecode_trns_proc) Ditto.
175 (compare_alpha_value) Ditto.
176 (hash_alpha_value) Ditto.
177 (compare_numeric_value) Ditto.
178 (hash_numeric_value) Ditto.
179 (autorecode_proc_func) Ditto.
181 Sat May 6 10:43:33 2006 Ben Pfaff <blp@gnu.org>
183 Continue reforming procedure execution. In this phase, get rid of
184 the output code for SPLIT FILE groups in procedure.c, which really
185 shouldn't be doing any output. Move it into the individual
186 procedures instead. This also adds some flexibility.
188 * crosstabs.q (precalc): Call output_split_file_values().
190 * descriptives.c (calc_descriptives): Ditto.
192 * examine.q (run_examine): Ditto.
194 * frequencies.q (precalc): Ditto.
196 * oneway.q (run_oneway): Ditto.
198 * regression.q (run_regression): Ditto.
200 * t-test.q (calculate): Ditto.
202 Wed May 3 23:05:31 2006 Ben Pfaff <blp@gnu.org>
204 Continue reforming procedure execution. In this phase, get rid of
205 many global variables, consolidating procedure execution in
206 procedure.c. Encapsulate transformations in new "struct
207 trns_chain". Also, change implementation of N OF CASES, FILTER,
208 and PROCESS IF from special cases to transformations.
210 * aggregate.c (cmd_aggregate) Use discard_variables().
212 2006-04-28 Jason Stover <jhs@math.gcsu.edu>
214 * regression.q (regression_trns_resid_proc): Pass only the
215 variables used in the model to (*model->residual)().
217 * regression.q (regression_trns_pred_proc): Pass only the
218 variables used in the model to (*model->pred)().
220 2006-04-26 Jason Stover <jhs@math.gcsu.edu>
222 * regression.q: Added support for multiple transformations.
224 * regression.q (regression_trns_resid_proc): New function.
226 * regression.q (regression_trns_pred_proc): New function.
228 * regression.q (subcommand_save): Added support for saving
231 * regression.q (regression_trns_free): New function.
233 * regression.q (reg_get_name): New function.
235 * regression.q (reg_save_var): New function.
237 Tue Apr 25 13:18:56 2006 Ben Pfaff <blp@gnu.org>
239 * rank.q (parse_rank_function): Use SE instead of ME for parse
242 Tue Apr 25 13:16:28 2006 Ben Pfaff <blp@gnu.org>
244 * flip.c (flip_sink_write): Use snprintf() to simplify a bit of
247 2006-04-21 Jason Stover <jhs@math.gcsu.edu>
249 * regression.q (try_name): New function. (Partly copied from
250 try_name in descriptives.c.)
252 * regression.q (subcommand_save): Choose residual variable names
255 2006-04-20 Jason Stover <jhs@math.gcsu.edu>
257 * regression.q (cmd_regression): Moved call to subcommand_save()
258 outside multipass_procedure_with_splits().
260 * regression.q (regression_trns_proc): Fixed value counter n_vals
261 before calling *model->residual().
263 2006-04-19 Jason Stover <jhs@math.gcsu.edu>
265 * regression.q (regression_trns_proc): Fixed the look-up of the
268 2006-04-18 Jason Stover <jhs@math.gcsu.edu>
270 * regression.q (regression_trns_proc): Look up the residual
271 variable in the linear regression cache.
273 * regression.q (subcommand_save): Set the residual variable in the
274 linear regression cache.
276 2006-04-17 Jason Stover <jason@wonko.gcsu.edu>
278 * regression.q (regression_trns_proc): Accept case_idx as an int
279 to match the definition of trns_proc_func.
281 2006-04-17 Jason Stover <jhs@math.gcsu.edu>
283 * regression.q (regression_trns_proc): New function.
285 * regression.q (subcommand_save): Create variable residuals and
286 add a transformation to assign values to them. Also free the
287 linreg_cache if the SAVE command was not called. Removed the
288 casereading loop. Placed actual computation of residuals in
289 regression_trns_proc.
291 * regression.q (run_regression): Moved call to free
292 pspp_linreg_cache to subcommand_save.
294 Sat Apr 15 18:01:03 2006 Ben Pfaff <blp@gnu.org>
296 * examine.q (output_examine): Add casts to fix warnings.
298 2006-04-07 Jason Stover <jhs@math.gcsu.edu>
300 * regression.q (subcommand_save): New function.
302 2006-04-04 Jason Stover <jhs@math.gcsu.edu>
304 * regression.q: New function reg_has_categorical () to tell
305 whether a pspp_linreg_struct was made with any variables of type
308 * regression.q: (subcommand_export): Call
309 reg_print_categorical_encoding() only if the model uses any
310 categorical variables.
312 Mon Mar 27 16:00:42 2006 Ben Pfaff <blp@gnu.org>
314 * crosstabs.q: (output_pivot_table) Drop spurious space from
317 2006-03-15 Jason Stover <jhs@math.gcsu.edu>
319 * regression.q: Added custom syntax parser for VARIABLES subcommand
321 * regression.q: Moved most instructions for run_regression ()
322 inside the loop over dependent variables.
324 Thu Mar 2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
326 * Moved files from src directory