Ben Pfaff [Tue, 16 Nov 2004 06:18:00 +0000 (06:18 +0000)]
Fix XDATE.JDAY formula.
John Darrington [Tue, 16 Nov 2004 05:25:48 +0000 (05:25 +0000)]
Added the permissions command.
Ben Pfaff [Mon, 15 Nov 2004 09:51:22 +0000 (09:51 +0000)]
Instead of making system or portable file readers responsible for
dropping and reordering variables, make them read full cases and
let the caller take care of any changes.
Instead of providing a system or portable file writer with a raw
case in the format needed for output, provide it with a regular
case. The writer takes care of any needed translation.
Instead of treating `struct file_handle' as a class to subclass
into data files, system files, and portable files, instead use it
as a helper that coordinates access. Now it is opaque, too.
Break dictionary functions into separate header file.
Get rid of procedure-specific union in struct variable, using
instead a void * pointer and a destructor function.
John Darrington [Fri, 12 Nov 2004 03:35:20 +0000 (03:35 +0000)]
Fixed some problems with value labels not reporting correctly.
John Darrington [Thu, 11 Nov 2004 13:23:44 +0000 (13:23 +0000)]
Added npplot and detrended np plots
John Darrington [Thu, 11 Nov 2004 00:33:46 +0000 (00:33 +0000)]
Fixed bug in the levene calculation. It hadn't been initialised properly,
and the test had been gratiutously pasted from buggy output.
Ben Pfaff [Tue, 9 Nov 2004 06:22:19 +0000 (06:22 +0000)]
Fix comment.
Ben Pfaff [Tue, 9 Nov 2004 05:47:54 +0000 (05:47 +0000)]
Fix a few formatting mistakes.
John Darrington [Tue, 9 Nov 2004 01:50:09 +0000 (01:50 +0000)]
Made makefile aware of texinfo dependencies
John Darrington [Sun, 7 Nov 2004 09:31:05 +0000 (09:31 +0000)]
Added (some of the) calculations for the examine command.
John Darrington [Sat, 6 Nov 2004 13:30:14 +0000 (13:30 +0000)]
Changed the definition of factors to be self referential.
John Darrington [Sat, 6 Nov 2004 12:45:30 +0000 (12:45 +0000)]
Made EXAMINE cope properly with splits.
John Darrington [Sat, 6 Nov 2004 06:57:35 +0000 (06:57 +0000)]
Fixed problem where oneway didn't deal properly with splits.
John Darrington [Fri, 5 Nov 2004 09:50:34 +0000 (09:50 +0000)]
Added a note about SPLIT requiring adjacent cases.
John Darrington [Thu, 4 Nov 2004 03:17:32 +0000 (03:17 +0000)]
Fixed the parsing of subcommands, such that the (n) setting is optional
Added prototypes for the va*_to_string functions
John Darrington [Wed, 3 Nov 2004 03:26:34 +0000 (03:26 +0000)]
Added framework for the EXAMINE command
John Darrington [Mon, 1 Nov 2004 04:51:21 +0000 (04:51 +0000)]
Added test for ntiles. Fixed q2c parsing of integer/double subcommands
John Darrington [Sun, 31 Oct 2004 08:17:08 +0000 (08:17 +0000)]
Updated the documentation and fixed a couple of the test scripts
John Darrington [Sat, 30 Oct 2004 10:14:05 +0000 (10:14 +0000)]
Split pspp.texi into one texi file per chapter
John Darrington [Sat, 30 Oct 2004 04:46:38 +0000 (04:46 +0000)]
Fixed behaviour of oneway when presented with missing values
John Darrington [Sat, 30 Oct 2004 01:21:21 +0000 (01:21 +0000)]
Fixed a bug in the levene test, and added the levene test to the oneway cmd
John Darrington [Fri, 29 Oct 2004 12:07:54 +0000 (12:07 +0000)]
Fixed the t-test model to be consistent with the anova model.
John Darrington [Fri, 29 Oct 2004 06:02:44 +0000 (06:02 +0000)]
Added framework for charts
John Darrington [Tue, 26 Oct 2004 10:45:42 +0000 (10:45 +0000)]
Amalgamated t-test.h and oneway.h into a single group_proc.h file
John Darrington [Mon, 25 Oct 2004 12:54:42 +0000 (12:54 +0000)]
Added remaining calculations for the separate variance contrast tests
John Darrington [Mon, 25 Oct 2004 04:09:51 +0000 (04:09 +0000)]
Fixed namespace clash (stderr)
John Darrington [Mon, 25 Oct 2004 03:47:35 +0000 (03:47 +0000)]
Added this file which I forgot.
John Darrington [Sun, 24 Oct 2004 06:25:14 +0000 (06:25 +0000)]
Added most of the calculations for the ONEWAY command.
John Darrington [Fri, 22 Oct 2004 08:13:13 +0000 (08:13 +0000)]
Updated AUTHORS to reflect JMD's work
John Darrington [Fri, 22 Oct 2004 08:00:39 +0000 (08:00 +0000)]
Added infrastructure for the ONEWAY command.
John Darrington [Fri, 22 Oct 2004 07:59:34 +0000 (07:59 +0000)]
Added framework for the ONEWAY command.
Ben Pfaff [Mon, 7 Jun 2004 06:07:14 +0000 (06:07 +0000)]
(cmd_descriptives) Remove harmless but bogus test in STATISTICS
parsing.
Ben Pfaff [Tue, 1 Jun 2004 04:57:11 +0000 (04:57 +0000)]
Fix memory leaks.
Generalize casefiles to the extent that we can use them for sorting
and other kinds of data transformations. Change cases to be
copy-on-write to improve memory efficiency in common cases. Every
access to a member of a `struct ccase' was changed to be a call to a
case_*() function, especially case_data(), case_num(), case_str(), or
case_data_rw(). Many instances of a local variable named "case_num"
were changed to "case_idx" as a consequence. Many `struct ccase *'
were changed to actual `struct ccase' because of copying semantics of
cases. In several places there was a choice between updating debug
code to work with the new ADTs or just deleting it because it was
useless; I chose to delete it.
The workspace idea didn't work out.
Ben Pfaff [Mon, 31 May 2004 05:50:10 +0000 (05:50 +0000)]
Fully implement arbitrary delimiters on DATA LIST, extending the half
implementation that was already there.
Update our string ADTs, struct string and struct len_string. Get rid
of pool support, which was largely unused. Rename lots of functions
to have more obvious or consistent names.
Fix a few miscellaneous bugs.
pjk [Thu, 13 May 2004 18:57:57 +0000 (18:57 +0000)]
Do not kill trailing spaces - breaks data list list where the last variable(s) on a line are empty
pjk [Thu, 13 May 2004 18:31:13 +0000 (18:31 +0000)]
Adjusted code for DATA LIST (free/list) to be more consistent with SPSS in
the instance where delimiters are explicitly set. In particular, if a delim.
is explicitly set, we treat quotes / apostrophes as normal chars:
From SPSS Syntax Base manual:
For data with explicitly specified value delimiters (for example, DATA LIST FREE (","):
· Multiple delimiters without any intervening space can be used to specify missing data.
· The specified delimiters cannot occur within a data value, even if you enclose the value
in quotation marks or apostrophes.
pjk [Thu, 13 May 2004 17:51:22 +0000 (17:51 +0000)]
Add support for (TAB) to DATA LIST FREE/LIST
pjk [Tue, 4 May 2004 15:27:24 +0000 (15:27 +0000)]
Fix segfault in recode (recode with an int src, string dest, where the src
is SYSMIS
Ben Pfaff [Mon, 3 May 2004 06:10:44 +0000 (06:10 +0000)]
Fix typo.
pjk [Wed, 28 Apr 2004 20:59:26 +0000 (20:59 +0000)]
configure.ac: check for presence / add libgnugetopt to support
getopt_long on FreeBSD
algorithm.c, alloc.h: Wrap includes of alloca.h with #ifdef
HAVE_ALLOCA_H. Some platforms (FreeBSD for example) have alloca in
stdlib.h... Autoconf detects this in AC_FUNC_ALLOCA
pjk [Wed, 28 Apr 2004 16:03:45 +0000 (16:03 +0000)]
- Add test for compute heap munching bug (compute a=upcase(a)) where a is a
large string
pjk [Tue, 27 Apr 2004 22:41:19 +0000 (22:41 +0000)]
- Fixed bug in pool (free_all_gizmos) where gizmos pointer wasn't being
NULLed after we freed all of the gizmos
- Fixed bug in vfm (cancel_transformations) where we didn't NULL t_trns after
freeing it
- Updated routines around variable labels to allow 255 char. variable labels
(this is supported by SPSS 11.0 at least...) This doesn't appear to break
backward compat. Let me know if it does.
Ben Pfaff [Tue, 27 Apr 2004 05:54:31 +0000 (05:54 +0000)]
We're abusing the current ASCII driver by telling it to allocate a
9999-line, 9999-character page in the tests. This causes some systems
to curl up and die because it allocates 20 MB of contiguous RAM. This
change alleviates at least part of the problem. It is mostly a
stop-gap until the new output system is ready.
Also, get rid of unused matrix.[ch].
pjk [Fri, 23 Apr 2004 19:25:53 +0000 (19:25 +0000)]
Fix broken check-in
pjk [Fri, 23 Apr 2004 18:44:42 +0000 (18:44 +0000)]
Add test for bug fixed recently in recode
pjk [Fri, 23 Apr 2004 18:41:02 +0000 (18:41 +0000)]
Fix bug where a copy dest spec would cause a failed assertion in strdup
Fix bug where a copy dest spec would cause the wrong member of the union
to be copied
Ben Pfaff [Thu, 22 Apr 2004 00:30:53 +0000 (00:30 +0000)]
Fix @node line.
Ben Pfaff [Tue, 20 Apr 2004 05:56:02 +0000 (05:56 +0000)]
Done with updating portable file description in docs.
Ben Pfaff [Tue, 20 Apr 2004 05:52:11 +0000 (05:52 +0000)]
Minor updates to data file and portable file descriptions based on
emails from Aapi Hämäläinen <aapi@soho.joensuu.fi>.
Ben Pfaff [Tue, 20 Apr 2004 03:52:33 +0000 (03:52 +0000)]
Update.
Ben Pfaff [Sat, 17 Apr 2004 07:02:10 +0000 (07:02 +0000)]
Contrary to what I'd always understood, there is an efficient
algorithm for deletion from a hash table populated via linear probing.
This change implements it.
Ben Pfaff [Wed, 14 Apr 2004 02:26:37 +0000 (02:26 +0000)]
Adjust calculation of kurtosis to avoid subtracting huge numbers from
huge numbers, on Michael Kiefte's advice.
Ben Pfaff [Sun, 11 Apr 2004 21:32:00 +0000 (21:32 +0000)]
Rework moments routines for improved numerical stability based on
Michael Kiefte's advice. Any bugs or remaining numerical problems are
still mine though.
There is now a struct moments1 for use with one-pass moments. It uses
a provisional means algorithm as an attempt to improve accuracy of
higher moments. The older struct moments now only handles two-pass
moments.
Ben Pfaff [Sat, 10 Apr 2004 03:06:45 +0000 (03:06 +0000)]
Fix assert failure when only MOMENT_MEAN is needed on DESCRIPTIVES.
Michael Kiefte [Fri, 9 Apr 2004 10:01:56 +0000 (10:01 +0000)]
*** empty log message ***
Michael Kiefte [Fri, 9 Apr 2004 09:58:47 +0000 (09:58 +0000)]
* descript.c:
fixed problem with parsing in match_statistic() causing "DESCRIPTIVE
STAT=MEAN." to barf.
"MEAN" is now default if "SORT" given without specification.
fixed infinite loop with "DESCRIPT GIBBERISH=ALL."
parsing is generally less forgiving of syntax errors: better to have
it do nothing and type it in again then to not know what it actually did instead
(problem also related to infinite loop problem above).
z-score transformation now check score for user-missing values and ch
ecks std_dev for SYSMIS.
Ben Pfaff [Wed, 7 Apr 2004 04:57:18 +0000 (04:57 +0000)]
Update what I'm working on.
Michael Kiefte [Tue, 6 Apr 2004 18:50:26 +0000 (18:50 +0000)]
Updated ChangeLog.
Michael Kiefte [Tue, 6 Apr 2004 18:14:36 +0000 (18:14 +0000)]
* Changed dict_get_case_weight() to accept an additional int * flag to complain about system-missing, user-missing, zero, or negative weights.
* Updated existing functions to pass int * to dict_get_case_weight().
John Darrington [Mon, 5 Apr 2004 09:58:14 +0000 (09:58 +0000)]
Fixed configuration problems with gsl
John Darrington [Mon, 5 Apr 2004 00:09:15 +0000 (00:09 +0000)]
Fixed some problems encountered when compiling under Cygwin
Ben Pfaff [Sat, 3 Apr 2004 19:45:09 +0000 (19:45 +0000)]
Fix infinite loop on comment at end of file, add test.
John Darrington [Sat, 3 Apr 2004 07:10:55 +0000 (07:10 +0000)]
Fixed the calculation of percentiles and added --syntax and --algorithm options
John Darrington [Fri, 2 Apr 2004 03:21:08 +0000 (03:21 +0000)]
Converted the t-test to use multipass_with_split.... mechanism
Ben Pfaff [Thu, 1 Apr 2004 06:38:35 +0000 (06:38 +0000)]
Use moments data structure on FREQUENCIES.
Ben Pfaff [Wed, 31 Mar 2004 06:11:10 +0000 (06:11 +0000)]
Add test for multipass procedure bug.
Ben Pfaff [Wed, 31 Mar 2004 06:07:03 +0000 (06:07 +0000)]
Had to get last call to multipass_split_output() inside
open_active_file()/close_active_file() pairing.
Ben Pfaff [Wed, 31 Mar 2004 06:04:16 +0000 (06:04 +0000)]
Remove descript.c from .cvsignore.
Ben Pfaff [Wed, 31 Mar 2004 06:04:11 +0000 (06:04 +0000)]
Fix DESCRIPTIVES memory leak.
Ben Pfaff [Tue, 30 Mar 2004 01:05:15 +0000 (01:05 +0000)]
Update.
Ben Pfaff [Tue, 30 Mar 2004 00:56:59 +0000 (00:56 +0000)]
Update.
Ben Pfaff [Tue, 30 Mar 2004 00:52:36 +0000 (00:52 +0000)]
Add multipass procedures. Add two-pass moments calculation. Rewrite
DESCRIPTIVES as a multipass procedure to use two-pass moments. Fix
some memory leaks.
Ben Pfaff [Tue, 30 Mar 2004 00:42:46 +0000 (00:42 +0000)]
Add multipass procedures. Add two-pass moments calculation. Rewrite
DESCRIPTIVES as a multipass procedure to use two-pass moments. Fix
some memory leaks.
Ben Pfaff [Mon, 29 Mar 2004 23:24:50 +0000 (23:24 +0000)]
Check for posix_fadvise, update TODO.
Ben Pfaff [Fri, 26 Mar 2004 22:22:45 +0000 (22:22 +0000)]
Compacted values need to start off from 0.
Ben Pfaff [Fri, 26 Mar 2004 09:13:09 +0000 (09:13 +0000)]
Add TODO item.
Ben Pfaff [Fri, 26 Mar 2004 09:03:02 +0000 (09:03 +0000)]
Make the expression code a little nicer and fix bugs found
in testing.
Ben Pfaff [Thu, 25 Mar 2004 03:53:20 +0000 (03:53 +0000)]
Add a list of what I'm working on now.
John Darrington [Wed, 24 Mar 2004 08:39:35 +0000 (08:39 +0000)]
Added a configure error message in the event that libgsl is not installed
John Darrington [Tue, 23 Mar 2004 06:27:36 +0000 (06:27 +0000)]
Removed libdcdflib and replaced it with a dependency on the GNU Scientific Library
John Darrington [Tue, 23 Mar 2004 00:07:36 +0000 (00:07 +0000)]
Added missing call to close_temp_file and improved the way the viewport is set
John Darrington [Sun, 21 Mar 2004 08:41:19 +0000 (08:41 +0000)]
Added custom assert(); Fixed bugs in T-TEST and VALUE LABELS
Ben Pfaff [Sun, 21 Mar 2004 06:22:20 +0000 (06:22 +0000)]
Fix table function assertions to respect offsets.
Ben Pfaff [Sun, 21 Mar 2004 04:23:49 +0000 (04:23 +0000)]
Oops, add initial version.
Ben Pfaff [Sun, 21 Mar 2004 03:17:32 +0000 (03:17 +0000)]
Add stub for USE ALL.
Ben Pfaff [Sun, 21 Mar 2004 03:06:11 +0000 (03:06 +0000)]
Changed DFM from open-at-first-access to explicit-open. Before,
calling dfm_get_record() or dfm_put_record() would automatically
open the file. Now, you have to call dfm_open_for_reading() or
dfm_open_for_writing() explicitly. This makes it possible to
check permissions, file existence, etc. earlier.
Also made struct file_handle more opaque, and clean up in general.
Fixed cmd_parse() so that it always skips past a full command
name. A few special commands for which this would be bad get
special treatment. This lets us drop code for skipping past the
end of a command name in most cmd_*() functions. It's not worth
listing all the commands affected.
Start work on better test framework.
Fix memory leaks.
Misc other changes.
Ben Pfaff [Sat, 20 Mar 2004 21:56:16 +0000 (21:56 +0000)]
Update TODO.
John Darrington [Fri, 19 Mar 2004 16:58:57 +0000 (16:58 +0000)]
Implemented the SHOW command and massaged the SET command to fit
Ben Pfaff [Thu, 18 Mar 2004 19:10:15 +0000 (19:10 +0000)]
Fix EXPORT problem with string variables. From Andreas Streichardt
<streichardt@globalpark.de>.
Ben Pfaff [Tue, 16 Mar 2004 04:55:38 +0000 (04:55 +0000)]
Get rid of static and global (!) vars in matrix-data.c.
Ben Pfaff [Tue, 16 Mar 2004 04:10:54 +0000 (04:10 +0000)]
Get rid of static vars in autorecode.c.
Ben Pfaff [Mon, 15 Mar 2004 08:26:43 +0000 (08:26 +0000)]
Get rid of static, global vars in recode.c. Remove debug code.
Ben Pfaff [Mon, 15 Mar 2004 08:16:35 +0000 (08:16 +0000)]
Get rid of static vars in expr-opt.c.
Ben Pfaff [Mon, 15 Mar 2004 08:04:29 +0000 (08:04 +0000)]
Get rid of static var in COUNT.
Ben Pfaff [Mon, 15 Mar 2004 07:58:57 +0000 (07:58 +0000)]
Get rid of static vars in VALUE LABELS, ADD VALUE LABELS.
Ben Pfaff [Mon, 15 Mar 2004 07:36:41 +0000 (07:36 +0000)]
Get rid of static vars in MATCH FILES.
Ben Pfaff [Mon, 15 Mar 2004 07:09:38 +0000 (07:09 +0000)]
Redo VFM interface. Get rid of compaction_necessary, compaction_nval,
compaction_case. Replace disk_sink and memory_sink by storage_sink,
disk_source and memory_source by storage_source.
Ben Pfaff [Mon, 15 Mar 2004 05:58:31 +0000 (05:58 +0000)]
Update TODO.
Ben Pfaff [Mon, 15 Mar 2004 05:58:21 +0000 (05:58 +0000)]
Add details on how various features interact.
John Darrington [Sat, 13 Mar 2004 06:22:50 +0000 (06:22 +0000)]
Fixed the handling of MISSING values in t-test