Ben Pfaff [Tue, 5 Apr 2005 05:29:58 +0000 (05:29 +0000)]
(parse_aggregate_functions) If dict_create_var() fails, don't
dereference the resulting null pointer (PR 12427). Also, fix double
free error.
Ben Pfaff [Wed, 23 Mar 2005 00:51:15 +0000 (00:51 +0000)]
Do cleanup before exit.
Ben Pfaff [Sun, 20 Mar 2005 22:17:30 +0000 (22:17 +0000)]
Rewrite AGGREGATE test.
Ben Pfaff [Sun, 20 Mar 2005 07:08:32 +0000 (07:08 +0000)]
* aggregate.c: (parse_aggregate_functions) Fix N_NO_VARS format.
(accumulate_aggregate_info) Set int1 to 1 for SUM.
(dump_aggregate_info) Only make SUM non-missing if there was at least
one variate.
Ben Pfaff [Sat, 19 Mar 2005 22:50:59 +0000 (22:50 +0000)]
(dump_aggregate_info) Properly test whether the destination variable
is numeric, when making the result system-missing for columnwise
missing values.
Ben Pfaff [Sat, 19 Mar 2005 22:22:44 +0000 (22:22 +0000)]
Comment.
Ben Pfaff [Sat, 19 Mar 2005 21:05:10 +0000 (21:05 +0000)]
AGGREGATE's sort is stable.
Ben Pfaff [Tue, 15 Mar 2005 06:04:10 +0000 (06:04 +0000)]
Make sort stable (PR 12313).
Ben Pfaff [Mon, 14 Mar 2005 06:54:40 +0000 (06:54 +0000)]
First phase of making SORT CASES stable (PR 12035).
Clean-ups.
More AGGREGATE fixes.
Ben Pfaff [Mon, 14 Mar 2005 03:06:34 +0000 (03:06 +0000)]
Clarify FLIP.
Ben Pfaff [Mon, 14 Mar 2005 03:05:09 +0000 (03:05 +0000)]
Clarify FLIP.
Ben Pfaff [Sun, 13 Mar 2005 20:41:31 +0000 (20:41 +0000)]
Clarify AGGREGATE.
Ben Pfaff [Sun, 13 Mar 2005 07:31:53 +0000 (07:31 +0000)]
Start work on testing and debugging AGGREGATE.
Ben Pfaff [Sun, 13 Mar 2005 07:21:14 +0000 (07:21 +0000)]
Clarify AGGREGATE.
John Darrington [Sun, 13 Mar 2005 06:59:38 +0000 (06:59 +0000)]
Fixed logic error in t-test.q (compare_group_binary)
John Darrington [Sun, 13 Mar 2005 01:04:36 +0000 (01:04 +0000)]
Corrected typo in doc/data-selection.texi
Ben Pfaff [Sat, 12 Mar 2005 21:30:18 +0000 (21:30 +0000)]
Fix PR 11628.
Ben Pfaff [Sat, 12 Mar 2005 21:19:53 +0000 (21:19 +0000)]
Fix PR 11492.
Ben Pfaff [Sat, 12 Mar 2005 20:22:18 +0000 (20:22 +0000)]
Fix a couple of bugs reported by Ben Kujala
<bkujala@oregonchildcare.org>.
Ben Pfaff [Sat, 12 Mar 2005 01:12:16 +0000 (01:12 +0000)]
Fix const-correctness in error().
Ben Pfaff [Sat, 12 Mar 2005 01:08:33 +0000 (01:08 +0000)]
Rewrite portable file reader code and incidentally clean up code for
variable formats.
Ben Pfaff [Fri, 11 Mar 2005 18:39:25 +0000 (18:39 +0000)]
FORMATS, PRINT FORMATS, WRITE FORMATS can only change the format of
numeric variables.
Ben Pfaff [Thu, 10 Mar 2005 04:07:30 +0000 (04:07 +0000)]
Fix copyright notices.
Ben Pfaff [Thu, 10 Mar 2005 01:42:21 +0000 (01:42 +0000)]
Add README to EXTRA_DIST.
Ben Pfaff [Thu, 10 Mar 2005 00:10:18 +0000 (00:10 +0000)]
Add README to comply with GNU maintainer manual.
Ben Pfaff [Wed, 9 Mar 2005 18:02:15 +0000 (18:02 +0000)]
Implement some more transformation functions using code from Jason
Stover. Thanks Jason!
Ben Pfaff [Tue, 8 Mar 2005 06:33:07 +0000 (06:33 +0000)]
Oops--got to have 0.3.1 in NEWS or distcheck fails.
Ben Pfaff [Tue, 8 Mar 2005 05:17:12 +0000 (05:17 +0000)]
Update.
John Darrington [Tue, 8 Mar 2005 04:56:43 +0000 (04:56 +0000)]
Made DEBUG commands only available in testing mode.
Adjusted the relevant tests accordingly.
Ben Pfaff [Mon, 7 Mar 2005 15:36:28 +0000 (15:36 +0000)]
Remove julcal.
Ben Pfaff [Mon, 7 Mar 2005 15:30:39 +0000 (15:30 +0000)]
Use `bool' throughout, where relevant.
Ben Pfaff [Mon, 7 Mar 2005 07:26:13 +0000 (07:26 +0000)]
Use `bool' throughout, where relevant.
Ben Pfaff [Mon, 7 Mar 2005 07:06:05 +0000 (07:06 +0000)]
Update.
Ben Pfaff [Mon, 7 Mar 2005 06:25:36 +0000 (06:25 +0000)]
DATA LIST with free-field formats should not have implied decimal
places (bug #12035). Also clean up data-in.c a bit.
Ben Pfaff [Mon, 7 Mar 2005 03:34:47 +0000 (03:34 +0000)]
Add yet another expression test and fix the bugs it found.
Ben Pfaff [Mon, 7 Mar 2005 03:12:12 +0000 (03:12 +0000)]
Fix typo.
Ben Pfaff [Mon, 7 Mar 2005 03:05:51 +0000 (03:05 +0000)]
Update.
Ben Pfaff [Mon, 7 Mar 2005 03:04:50 +0000 (03:04 +0000)]
Add even more expression tests and fix the bugs they found.
John Darrington [Sun, 6 Mar 2005 22:38:31 +0000 (22:38 +0000)]
Added the beginnings of an emacs pspp-mode for editing pspp files.
Ben Pfaff [Sun, 6 Mar 2005 19:08:40 +0000 (19:08 +0000)]
Update.
Ben Pfaff [Sun, 6 Mar 2005 19:06:30 +0000 (19:06 +0000)]
Add another expression test and fix the bugs it found.
Ben Pfaff [Fri, 4 Mar 2005 08:32:54 +0000 (08:32 +0000)]
Renamed PSPP_expressions.pm back to generate.pl but fixed the real
problem that was preventing the build from a separate directory. I
liked it my way better ;-)
Ben Pfaff [Fri, 4 Mar 2005 07:57:30 +0000 (07:57 +0000)]
Renamed PSPP_expressions.pm back to generate.pl but fixed the real
problem that was preventing the build from a separate directory. I
liked it my way better ;-)
Ben Pfaff [Fri, 4 Mar 2005 07:18:56 +0000 (07:18 +0000)]
Fix arg type for expr_parse.
Ben Pfaff [Fri, 4 Mar 2005 07:12:41 +0000 (07:12 +0000)]
Revise TODO.
John Darrington [Thu, 3 Mar 2005 14:21:00 +0000 (14:21 +0000)]
Tweaked some things so that make distcheck passes
Ben Pfaff [Tue, 1 Mar 2005 08:28:06 +0000 (08:28 +0000)]
Update.
Ben Pfaff [Tue, 1 Mar 2005 08:16:15 +0000 (08:16 +0000)]
Rewrite expression code.
Ben Pfaff [Sat, 26 Feb 2005 05:47:43 +0000 (05:47 +0000)]
Talk about implied decimal places in FORTRAN style for DATA LIST
FIXED.
John Darrington [Fri, 25 Feb 2005 13:14:29 +0000 (13:14 +0000)]
Fixed a bug which caused a crash when reading non-existent files.
John Darrington [Mon, 21 Feb 2005 07:13:35 +0000 (07:13 +0000)]
Added a --without-valgrind option to configure
to cope with broken valgrind implementations
John Darrington [Tue, 15 Feb 2005 13:29:08 +0000 (13:29 +0000)]
Omitted src/version.c from po/POTFILES.in, since it's a generated file and contains no
translatable strings anyway.
John Darrington [Mon, 14 Feb 2005 12:36:01 +0000 (12:36 +0000)]
Made pspp fail a little more gracefully on drivers where charts are unsupported.
Ben Pfaff [Mon, 14 Feb 2005 00:15:56 +0000 (00:15 +0000)]
Fix Bug #11955.
Ben Pfaff [Mon, 14 Feb 2005 00:09:20 +0000 (00:09 +0000)]
Improve AGGREGATE description.
John Darrington [Sun, 13 Feb 2005 07:50:02 +0000 (07:50 +0000)]
removed src/version.c from pspp_SOURCES, as it is generated by autoconf,
and should not be distributed.
Ben Pfaff [Sat, 12 Feb 2005 07:28:49 +0000 (07:28 +0000)]
Add test for bug #11916.
Ben Pfaff [Fri, 11 Feb 2005 08:22:05 +0000 (08:22 +0000)]
Fri Feb 11 00:08:36 2005 Ben Pfaff <blp@gnu.org>
Fix Bug #11916, which was confusing a variable's `index' member
with the variable's position in a var_set. Although these are
usually the same, they are not for array `var_set's.
Took advantage of this bug as an opportunity to clean up and
rewrite parse_var_set_vars().
* vars-prs.c: (parse_vs_variable_idx) New function.
(parse_vs_variable) Reimplement in terms of
parse_vs_variable_idx().
(parse_var_idx_class) New function.
(add_variable) New function.
(add_variables) New function.
(parse_var_set_vars) Rewritten.
(struct var_set) Change `lookup_var' member that returns a
variable into `lookup_var_idx' member that returns an int.
Updated the var set implementations in obvious corresponding ways.
Used compare_var_ptr_names(), hash_var_ptr_name() just added.
Fri Feb 11 00:06:03 2005 Ben Pfaff <blp@gnu.org>
Use our global variable compare & hash functions and give them
better names. Add similar functions for dealing with double
pointers to variables.
* vars-atr.c: (compare_variables) Renamed compare_var_names().
(hash_variable) Renamed hash_var_name().
(compare_var_ptr_names) New function.
(hash_var_ptr_name) New function.
* t-test.q: (cmd_t_test) Use global compare_var_names(),
hash_var_name().
(compare_var_name) Removed.
(hash_var_name) Removed.
Fri Feb 11 00:04:39 2005 Ben Pfaff <blp@gnu.org>
Fix dictionary bug.
* dictionary.c: (compare_variable_dblptrs) Rename
compare_var_ptrs() and fix it to properly dereference the double
pointers.
John Darrington [Thu, 10 Feb 2005 00:42:03 +0000 (00:42 +0000)]
Fixed problem which caused the test to abort if the system had no pspp
config directory installed.
Ben Pfaff [Mon, 7 Feb 2005 05:49:44 +0000 (05:49 +0000)]
Clarify LOOP.
John Darrington [Mon, 7 Feb 2005 02:12:01 +0000 (02:12 +0000)]
Fixed bug #11843
John Darrington [Sat, 5 Feb 2005 12:42:56 +0000 (12:42 +0000)]
Added very rudimentatry support for commmand line completion
John Darrington [Mon, 31 Jan 2005 01:54:57 +0000 (01:54 +0000)]
Fixed some more memory problems revealed by valgrind.
John Darrington [Thu, 27 Jan 2005 23:45:58 +0000 (23:45 +0000)]
Fixed some tests that were failing under cygwin
John Darrington [Wed, 26 Jan 2005 03:48:01 +0000 (03:48 +0000)]
Patched the previous patch. Everything should be OK now both in the case
where PAGER is set and where it is not.
John Darrington [Wed, 26 Jan 2005 01:41:51 +0000 (01:41 +0000)]
Fixed bugs #11722 and #11676
John Darrington [Tue, 25 Jan 2005 13:04:46 +0000 (13:04 +0000)]
Fixed bug #11675
Ben Pfaff [Mon, 24 Jan 2005 07:05:36 +0000 (07:05 +0000)]
(print_trns_free) Close the dfm writer if there is one, fixing a
memory leak.
John Darrington [Mon, 24 Jan 2005 04:29:53 +0000 (04:29 +0000)]
Fixed a whole lot more memory leaks.
John Darrington [Fri, 21 Jan 2005 11:59:39 +0000 (11:59 +0000)]
Added linked-list.[ch] --- a general purpose linked list module.
Fixed numerous memory leaks.
Canonicalised the test output file names.
John Darrington [Tue, 18 Jan 2005 15:15:12 +0000 (15:15 +0000)]
More memory leaks fixed.
John Darrington [Tue, 18 Jan 2005 11:31:45 +0000 (11:31 +0000)]
Fixed numerous memory leaks. Changed many of the test cases to use a canonical
format for the temporary test file names.
John Darrington [Fri, 14 Jan 2005 04:05:47 +0000 (04:05 +0000)]
Integrated the charts into the HTML stream.
John Darrington [Thu, 13 Jan 2005 13:02:26 +0000 (13:02 +0000)]
Moved the SIGINT handler from casefile.c to main.c
John Darrington [Mon, 10 Jan 2005 06:50:45 +0000 (06:50 +0000)]
Added a signal handler to delete temp casefiles on SIGINT and SIGQUIT.
Inhibited the PERMISSIONS command when SAFER is on.
command.def: Added a lot more unimplemented commands.
Moved --version information to copyleft.c
John Darrington [Sun, 9 Jan 2005 08:54:04 +0000 (08:54 +0000)]
Changed the generation of the test data, so that it's a lot faster.
Ben Pfaff [Sun, 9 Jan 2005 07:59:48 +0000 (07:59 +0000)]
Sat Jan 8 23:58:34 2005 Ben Pfaff <blp@gnu.org>
* sort.c: (compare_initial_runs) Needed additional level of
dereferencing.
(merge_once) Fix plenty of stupid mistakes.
Sat Jan 8 23:55:27 2005 Ben Pfaff <blp@gnu.org>
* casefile.c: (casefile_sleep) Need to flush_buffer() after
calling casefile_to_disk() or we will lose the last block in the
file if the casefile started out as disk-based.
(casefile_get_reader) Initialize reader->destructive to 0.
(cmd_debug_casefile) Add new test pattern.
(test_casefile) Define new test pattern to make sure
casefile_sleep() works properly.
Ben Pfaff [Sun, 9 Jan 2005 00:47:44 +0000 (00:47 +0000)]
* credits.texi: Removed.
* bugs.texi: Rewrote. Moved known bugs to savannah website.
* not-implemented.texi: AGGREGATE and AUTORECODE are implemented.
John Darrington [Fri, 7 Jan 2005 00:17:19 +0000 (00:17 +0000)]
Added an optional --without-libplot flag to configure
John Darrington [Thu, 6 Jan 2005 12:55:44 +0000 (12:55 +0000)]
Added a signal handler for SIGFPE
(Re)Fixed an assertion in sort.c
Added a test for sorting with ENORMOUS input files.
Added a test to ensure that fatal errors are reported properly.
Tidied up a few other tests.
Ben Pfaff [Thu, 6 Jan 2005 05:29:46 +0000 (05:29 +0000)]
Fix assertion for proper Huffman merge pattern: 0 == 1 modulo 1.
John Darrington [Wed, 5 Jan 2005 14:45:54 +0000 (14:45 +0000)]
Fixed bug #11307
John Darrington [Wed, 5 Jan 2005 00:32:16 +0000 (00:32 +0000)]
Added a test for reading/writing of portable files.
Fixed a bug which crashed PSPP if VALUE LABELS had a trailing slash.
Ben Pfaff [Tue, 4 Jan 2005 01:46:48 +0000 (01:46 +0000)]
* pfm-read.c: (read_variables) Remove direct manipulation of v->aux,
which is no longer needed. Fixes Bug #11483.
John Darrington [Sat, 1 Jan 2005 11:03:45 +0000 (11:03 +0000)]
Various bug fixes.
John Darrington [Fri, 31 Dec 2004 08:51:06 +0000 (08:51 +0000)]
Added Boxplots to the EXAMINE subcommand repertoire
Fixed a few bugs in percentiles calculations
John Darrington [Wed, 29 Dec 2004 01:19:57 +0000 (01:19 +0000)]
Implemented calculation of percentiles and Tukey hinges
John Darrington [Fri, 24 Dec 2004 07:22:14 +0000 (07:22 +0000)]
Fixed bug #11227 (T-Test not working with alpha independent variable )
John Darrington [Sat, 11 Dec 2004 03:45:40 +0000 (03:45 +0000)]
Fixed the trimmed mean calculation under various special cases.
John Darrington [Sat, 4 Dec 2004 09:20:59 +0000 (09:20 +0000)]
Added code to calculate the histogram limits
John Darrington [Thu, 2 Dec 2004 05:52:51 +0000 (05:52 +0000)]
Added histograms into examine.
Revised the histogram API.
Revised the piechart API.
Ben Pfaff [Wed, 1 Dec 2004 07:03:42 +0000 (07:03 +0000)]
Update TODO.
Ben Pfaff [Wed, 1 Dec 2004 05:40:23 +0000 (05:40 +0000)]
Use AC_TYPE_OFF_T/HAVE_OFF_T to check for off_t.
Ben Pfaff [Tue, 30 Nov 2004 16:54:03 +0000 (16:54 +0000)]
If seeko() is not available use long int for off_t.
John Darrington [Tue, 30 Nov 2004 08:59:50 +0000 (08:59 +0000)]
Fixed a bug which crept into the npplot function
John Darrington [Mon, 29 Nov 2004 04:26:59 +0000 (04:26 +0000)]
Fixed conflict with stdio.h
Ben Pfaff [Mon, 29 Nov 2004 03:30:09 +0000 (03:30 +0000)]
Change -a to -pR in cp invocations for SUSv3 compliance.
John Darrington [Thu, 25 Nov 2004 11:02:53 +0000 (11:02 +0000)]
Added the skewness and kurtosis calculations to the EXAMINE command.
Added an option to configure to build without the termcap library.
John Darrington [Tue, 23 Nov 2004 05:54:57 +0000 (05:54 +0000)]
Fixed some memory leaks.
John Darrington [Sun, 21 Nov 2004 02:43:46 +0000 (02:43 +0000)]
Documented the EXAMINE subcommands. Fixed up the examine test. Fixed a problem with the totals.