1 Tue Jan 9 19:16:11 2007 Ben Pfaff <blp@gnu.org>
5 * aggregate.c (parse_aggregate_functions) Initialize
8 Fri Dec 22 14:04:09 2006 Ben Pfaff <blp@gnu.org>
10 Simplify missing value handling.
12 * aggregate.c (struct agr_var): Remove `bool include_missing', add
13 `enum mv_class exclude'. Remove `int missing', add `bool
14 saw_missing'. Update users.
16 * descriptives.c (struct dsc_trns): Removed `int
17 include_user_missing', add `enum mv_class exclude'. Update users.
18 (struct dsc_proc): Ditto.
20 * examine.q: (static var value_is_missing): Rename
21 `exclude_values', change type to `enum mv_class'. Update users.
25 Fri Dec 22 19:22:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
27 * frequencies.q : Fixed bug #17420, where the table bounds were overun
28 when /FORMAT=nolabels was given.
30 Wed Dec 20 18:45:31 WST 2006 John Darrington <john@darrington.wattle.id.au>
32 * binomial.c binomial.h : New files. Thanks to Jason Stover
33 for assistance with these.
35 * chisquare.c chisquare.h freq.c freq.h npar-summary.c npar-summary.h
36 npar.h npar.q: New files. Implementing NPAR TESTS.
38 * frequencies.q : Moved structure definitions into freq.[ch]
40 Sat Dec 16 22:26:44 2006 Ben Pfaff <blp@gnu.org>
42 Make it possible to pull cases from the active file with a
43 function call, instead of requiring indirection through a callback
46 * aggregate.c (cmd_aggregate): Take advantage of new procedure
48 (agr_to_active_file): Removed.
49 (presorted_agr_to_sysfile): Removed.
51 * autorecode.c (cmd_autorecode): Take advantage of new procedure
53 (autorecode_proc_func): Removed.
55 * flip.c (struct flip_pgm): New members to allow conformance with
56 new case_source_class interface.
57 (cmd_flip): Adapt to new case_source_class interface.
58 (flip_source_read): Ditto.
59 (flip_source_destroy): Ditto.
61 Sat Dec 16 12:54:27 2006 Ben Pfaff <blp@gnu.org>
63 * rank.q (rank_custom_variables): Allow grouping variables to be
64 strings. Fixes bug #18533. Thanks to John Darrington for review.
66 Sat Dec 9 18:47:51 2006 Ben Pfaff <blp@gnu.org>
68 * regression.q (is_depvar): Compare variable pointers instead of
71 Thu Dec 7 15:26:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
73 * examine.q: Allocated the categorical values for the dependent and
74 independent variables, on the heap. Hence they can be of any width.
76 Wed Dec 6 21:14:26 2006 Ben Pfaff <blp@gnu.org>
78 * regression.q (reg_inserted): Compare variable pointers instead
81 Mon Dec 4 22:33:46 2006 Ben Pfaff <blp@gnu.org>
83 * crosstabs.q (insert_summary): Use var_to_string for labeling.
84 (output_pivot_table) Ditto.
87 * frequencies.q (setup_z_trns): Ditto.
89 (dump_condensed) Ditto.
90 (dump_statistics) Ditto.
93 Sun Nov 5 08:31:42 WST 2006 John Darrington <john@darrington.wattle.id.au>
95 * t-test.q, oneway.q: Changed to use the new casefilter structure.
97 Sat Oct 14 16:52:28 2006 Ben Pfaff <blp@gnu.org>
99 * rank.q: (rank_sorted_casefile) Add some missing case_destroy()
100 calls to fix a memory leak.
102 Sun Oct 8 09:45:40 WST 2006 John Darrington <john@darrington.wattle.id.au>
104 * rank.q: Plugged a small memory leak which occurred under error
107 Sat Oct 7 11:06:01 WST 2006 John Darrington <john@darrington.wattle.id.au>
109 * rank.q: Implemented most of the RANK command.
111 2006-07-14 Jason Stover <jhs@math.gcsu.edu>
113 * regression.q (run_regression): New function to move knowledge of
114 pspp_linreg_cache out of math/coefficient.[ch].
116 Sat Jul 1 17:41:46 2006 Ben Pfaff <blp@gnu.org>
118 Fix bug #11612, "q2c documentation does not agree with code".
120 * examine.q: Audit use of q2c "+" prefixes that indicate that a
121 command may appear multiple times.
123 * frequencies.q: Ditto.
127 * regression.q: Ditto.
131 Fri Jun 23 14:18:22 2006 Ben Pfaff <blp@gnu.org>
133 Support long string variables on FREQUENCIES, as
134 an extension when in enhanced algorithms mode. For Greg Hunt
135 <greg@firmansyah.com>.
137 * frequencies.q: (struct freq) Change `v' member from union value
138 to union value *. Update all references.
139 (struct var_freqs) Add width, print members to represent effective
140 variable width and display format.
141 (calc) Copy entire long string value into the hash table.
142 (frq_custom_variables) Set new width, print members.
143 (hash_value_alpha) Get width from var_freqs.
144 (compare_value_alpha_a) Ditto.
145 (compare_freq_alpha_a) Ditto.
146 (compare_freq_alpha_d) Ditto.
147 (dump_full) Get display format from var_freqs.
148 (dump_condensed) Ditto.
150 Mon Jun 19 22:07:13 2006 Ben Pfaff <blp@gnu.org>
152 * frequencies.q: (dump_full) Only put the first MAX_SHORT_STRING
153 bytes of string variables into the output cells, seeing as we only
155 (dump_condensed) Ditto.
157 Mon Jun 19 21:52:05 2006 Ben Pfaff <blp@gnu.org>
159 Fixes a bug reported by Greg Hunt <greg@firmansyah.com>.
161 * frequencies.q: (hsh_hash_bytes) We only copy the first
162 MAX_SHORT_STRING bytes of string variables, so we must only
163 compare that many bytes, even if the string variable is longer.
164 (compare_value_alpha_a) Ditto.
165 (compare_freq_alpha_a) Ditto.
166 (compare_freq_alpha_d) Ditto.
168 2006-05-11 Jason Stover <jhs@math.gcsu.edu>
170 * regression.q: Adjusted code to account for cache->coeff being a
171 pspp_linreg_coeff **.
173 Sun May 7 18:31:25 2006 Ben Pfaff <blp@gnu.org>
177 * aggregate.c (cmd_aggregate): Free default_dict before replacing
180 Sun May 7 17:09:19 2006 Ben Pfaff <blp@gnu.org>
182 * flip.c (flip_file): Check return value of pool_fclose().
184 Sat May 6 16:00:13 2006 Ben Pfaff <blp@gnu.org>
186 Get rid of `char *c' member in union value, for cleanliness.
188 * aggregate.c: (union agr_argument) New union.
189 (struct agr_var) Change element type of arg[] from union value to
191 (parse_aggregate_functions) Change local variable types likewise.
193 * autorecode.c: (union arc_value) New union.
194 (struct arc_item) Change "from" from union value to union
196 (recode) Change local variable from union value to union
198 (autorecode_trns_proc) Ditto.
199 (compare_alpha_value) Ditto.
200 (hash_alpha_value) Ditto.
201 (compare_numeric_value) Ditto.
202 (hash_numeric_value) Ditto.
203 (autorecode_proc_func) Ditto.
205 Sat May 6 10:43:33 2006 Ben Pfaff <blp@gnu.org>
207 Continue reforming procedure execution. In this phase, get rid of
208 the output code for SPLIT FILE groups in procedure.c, which really
209 shouldn't be doing any output. Move it into the individual
210 procedures instead. This also adds some flexibility.
212 * crosstabs.q (precalc): Call output_split_file_values().
214 * descriptives.c (calc_descriptives): Ditto.
216 * examine.q (run_examine): Ditto.
218 * frequencies.q (precalc): Ditto.
220 * oneway.q (run_oneway): Ditto.
222 * regression.q (run_regression): Ditto.
224 * t-test.q (calculate): Ditto.
226 Wed May 3 23:05:31 2006 Ben Pfaff <blp@gnu.org>
228 Continue reforming procedure execution. In this phase, get rid of
229 many global variables, consolidating procedure execution in
230 procedure.c. Encapsulate transformations in new "struct
231 trns_chain". Also, change implementation of N OF CASES, FILTER,
232 and PROCESS IF from special cases to transformations.
234 * aggregate.c (cmd_aggregate) Use discard_variables().
236 2006-04-28 Jason Stover <jhs@math.gcsu.edu>
238 * regression.q (regression_trns_resid_proc): Pass only the
239 variables used in the model to (*model->residual)().
241 * regression.q (regression_trns_pred_proc): Pass only the
242 variables used in the model to (*model->pred)().
244 2006-04-26 Jason Stover <jhs@math.gcsu.edu>
246 * regression.q: Added support for multiple transformations.
248 * regression.q (regression_trns_resid_proc): New function.
250 * regression.q (regression_trns_pred_proc): New function.
252 * regression.q (subcommand_save): Added support for saving
255 * regression.q (regression_trns_free): New function.
257 * regression.q (reg_get_name): New function.
259 * regression.q (reg_save_var): New function.
261 Tue Apr 25 13:18:56 2006 Ben Pfaff <blp@gnu.org>
263 * rank.q (parse_rank_function): Use SE instead of ME for parse
266 Tue Apr 25 13:16:28 2006 Ben Pfaff <blp@gnu.org>
268 * flip.c (flip_sink_write): Use snprintf() to simplify a bit of
271 2006-04-21 Jason Stover <jhs@math.gcsu.edu>
273 * regression.q (try_name): New function. (Partly copied from
274 try_name in descriptives.c.)
276 * regression.q (subcommand_save): Choose residual variable names
279 2006-04-20 Jason Stover <jhs@math.gcsu.edu>
281 * regression.q (cmd_regression): Moved call to subcommand_save()
282 outside multipass_procedure_with_splits().
284 * regression.q (regression_trns_proc): Fixed value counter n_vals
285 before calling *model->residual().
287 2006-04-19 Jason Stover <jhs@math.gcsu.edu>
289 * regression.q (regression_trns_proc): Fixed the look-up of the
292 2006-04-18 Jason Stover <jhs@math.gcsu.edu>
294 * regression.q (regression_trns_proc): Look up the residual
295 variable in the linear regression cache.
297 * regression.q (subcommand_save): Set the residual variable in the
298 linear regression cache.
300 2006-04-17 Jason Stover <jason@wonko.gcsu.edu>
302 * regression.q (regression_trns_proc): Accept case_idx as an int
303 to match the definition of trns_proc_func.
305 2006-04-17 Jason Stover <jhs@math.gcsu.edu>
307 * regression.q (regression_trns_proc): New function.
309 * regression.q (subcommand_save): Create variable residuals and
310 add a transformation to assign values to them. Also free the
311 linreg_cache if the SAVE command was not called. Removed the
312 casereading loop. Placed actual computation of residuals in
313 regression_trns_proc.
315 * regression.q (run_regression): Moved call to free
316 pspp_linreg_cache to subcommand_save.
318 Sat Apr 15 18:01:03 2006 Ben Pfaff <blp@gnu.org>
320 * examine.q (output_examine): Add casts to fix warnings.
322 2006-04-07 Jason Stover <jhs@math.gcsu.edu>
324 * regression.q (subcommand_save): New function.
326 2006-04-04 Jason Stover <jhs@math.gcsu.edu>
328 * regression.q: New function reg_has_categorical () to tell
329 whether a pspp_linreg_struct was made with any variables of type
332 * regression.q: (subcommand_export): Call
333 reg_print_categorical_encoding() only if the model uses any
334 categorical variables.
336 Mon Mar 27 16:00:42 2006 Ben Pfaff <blp@gnu.org>
338 * crosstabs.q: (output_pivot_table) Drop spurious space from
341 2006-03-15 Jason Stover <jhs@math.gcsu.edu>
343 * regression.q: Added custom syntax parser for VARIABLES subcommand
345 * regression.q: Moved most instructions for run_regression ()
346 inside the loop over dependent variables.
348 Thu Mar 2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
350 * Moved files from src directory