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
John Darrington [Fri, 12 Mar 2004 08:42:03 +0000 (08:42 +0000)]
Added support for T-TEST where the group criteria is specified as a threshold
rather than two separate values.
Ben Pfaff [Thu, 11 Mar 2004 07:30:36 +0000 (07:30 +0000)]
Change explicit variable name checks into use of dict_class_from_id().
Ben Pfaff [Thu, 11 Mar 2004 05:27:57 +0000 (05:27 +0000)]
Add item.
Ben Pfaff [Thu, 11 Mar 2004 05:22:40 +0000 (05:22 +0000)]
Fix TEMPORARY bug and add regression test.
Ben Pfaff [Wed, 10 Mar 2004 07:45:16 +0000 (07:45 +0000)]
Fix brown-bag bug introduced in last check-in.
Ben Pfaff [Wed, 10 Mar 2004 07:40:03 +0000 (07:40 +0000)]
Eliminate temp_case, and a few other cleanups.
Ben Pfaff [Fri, 5 Mar 2004 02:03:10 +0000 (02:03 +0000)]
Note that FLIP causes string values to become system-missing.
Ben Pfaff [Thu, 4 Mar 2004 04:56:50 +0000 (04:56 +0000)]
Fix a lot of "possibly uninitialized variable" warnings. Some of them
were real bugs. A few of them make me wonder how the code ever
worked.
Ben Pfaff [Thu, 4 Mar 2004 03:57:16 +0000 (03:57 +0000)]
Start working to eliminate VFM dependence on static variables.
Ben Pfaff [Tue, 2 Mar 2004 20:03:47 +0000 (20:03 +0000)]
Oops - revert change that shouldn't have been applied.
Ben Pfaff [Tue, 2 Mar 2004 20:00:33 +0000 (20:00 +0000)]
Beginning of VFM cleanup.
John Darrington [Sun, 22 Feb 2004 08:08:40 +0000 (08:08 +0000)]
Improved method of generating POTFILES.in
John Darrington [Sat, 21 Feb 2004 09:41:53 +0000 (09:41 +0000)]
Added a trap on signal 11 requesting a bug report.
Ben Pfaff [Sat, 21 Feb 2004 07:23:59 +0000 (07:23 +0000)]
Fix root cause of bug worked around by previous check-in, and remove
workaround.
John Darrington [Sat, 21 Feb 2004 02:38:53 +0000 (02:38 +0000)]
Changed po/POTFILES.in to be a generated file.
Fixed some problems with the make distcheck target.
John Darrington [Fri, 20 Feb 2004 06:41:14 +0000 (06:41 +0000)]
Fixed a bug causing pspp to crash when computed variables had no format
defined, and were subsequently saved.
Ben Pfaff [Thu, 19 Feb 2004 06:27:22 +0000 (06:27 +0000)]
Got rid of approx.h and replaced all references to approx_eq() by ==,
approx_lt() by <, etc.
Ben Pfaff [Thu, 19 Feb 2004 05:33:11 +0000 (05:33 +0000)]
Prevent procedure() from being called recursively.
Ben Pfaff [Thu, 19 Feb 2004 02:16:10 +0000 (02:16 +0000)]
Improve CROSSTABS description
John Darrington [Wed, 18 Feb 2004 14:13:54 +0000 (14:13 +0000)]
Added Levene test. Added T-TEST section to pspp.texi
Ben Pfaff [Tue, 17 Feb 2004 07:21:16 +0000 (07:21 +0000)]
data-out.c clean ups.
Ben Pfaff [Tue, 17 Feb 2004 06:19:35 +0000 (06:19 +0000)]
Add an Emacs header line to output files that makes generated .c files
read-only by default, to make it difficult to accidentally change
generated files.
FREQUENCIES: Compare by frequency, not bogus a->v.c <=> b->v.c pointer
compare.
Changed data_out() to store string data directly into a `union
value''s s member, not indirectly into c.
Renamed some confusingly named member objects in crosstabs.q.
Ben Pfaff [Tue, 17 Feb 2004 05:38:31 +0000 (05:38 +0000)]
Prepend $SUPERVISOR to invocations of pspp so that we
can run valgrind or gdb easily with `make check'.
John Darrington [Tue, 17 Feb 2004 05:28:31 +0000 (05:28 +0000)]
Added test for T-TEST /GROUPS (Levene values come later).
John Darrington [Tue, 17 Feb 2004 03:47:43 +0000 (03:47 +0000)]
Added tests for the one sample and paired T-TEST commands
Ben Pfaff [Mon, 16 Feb 2004 20:54:17 +0000 (20:54 +0000)]
Clean up struct dictionary's value_cnt usage.
Ben Pfaff [Mon, 16 Feb 2004 08:23:49 +0000 (08:23 +0000)]
Fix comment.
Ben Pfaff [Mon, 16 Feb 2004 08:20:45 +0000 (08:20 +0000)]
Make vfm.c slightly less grotesque.
Ben Pfaff [Mon, 16 Feb 2004 08:17:26 +0000 (08:17 +0000)]
(struct variable) Update comments.