John Darrington [Wed, 17 Dec 2003 05:39:14 +0000 (05:39 +0000)]
Added a test for the compute command.
John Darrington [Wed, 17 Dec 2003 04:58:49 +0000 (04:58 +0000)]
Added a --enable-debug option to configure and
moved (un)def of DEBUGGING from src files to config.h
John Darrington [Wed, 17 Dec 2003 01:28:10 +0000 (01:28 +0000)]
Added a test for the LIST command
John Darrington [Wed, 17 Dec 2003 01:09:47 +0000 (01:09 +0000)]
Added a test for the FILE LABEL and DOCUMENT commands
John Darrington [Wed, 17 Dec 2003 01:08:29 +0000 (01:08 +0000)]
Added a couple more tests
John Darrington [Wed, 17 Dec 2003 00:30:15 +0000 (00:30 +0000)]
Added tests for LOOP and SAMPLE commands
John Darrington [Tue, 16 Dec 2003 23:44:28 +0000 (23:44 +0000)]
Fixed a problem with some tests
Ben Pfaff [Tue, 16 Dec 2003 17:53:07 +0000 (17:53 +0000)]
Sample proportion is only approximate.
John Darrington [Tue, 16 Dec 2003 11:19:51 +0000 (11:19 +0000)]
Fixed another problem with print.sh
John Darrington [Tue, 16 Dec 2003 10:48:34 +0000 (10:48 +0000)]
Fixed up the PRINT test
John Darrington [Tue, 16 Dec 2003 08:59:04 +0000 (08:59 +0000)]
Added new tests
John Darrington [Tue, 16 Dec 2003 08:57:10 +0000 (08:57 +0000)]
Added a test to ensure that tabs can be input into strings
John Darrington [Tue, 16 Dec 2003 08:30:11 +0000 (08:30 +0000)]
Added a test for the lag command and started on the sample command
John Darrington [Tue, 16 Dec 2003 06:54:44 +0000 (06:54 +0000)]
Added test for a bug in crosstab.q which caused a crash
John Darrington [Tue, 16 Dec 2003 06:45:03 +0000 (06:45 +0000)]
Fixed bug in crosstabs.q which caused a system crash
Ben Pfaff [Tue, 16 Dec 2003 05:43:49 +0000 (05:43 +0000)]
Fix spacing.
Ben Pfaff [Tue, 16 Dec 2003 05:43:20 +0000 (05:43 +0000)]
* groff-font.c: (add_kern) Fix indentation.
(add_kern) Use & instead of % to take power-of-2 modulus.
(font_get_kern_adjust) Likewise.
John Darrington [Tue, 16 Dec 2003 05:20:36 +0000 (05:20 +0000)]
Altered return status to be non zero if there are errors parsing data
John Darrington [Tue, 16 Dec 2003 05:14:54 +0000 (05:14 +0000)]
Added a test for the PRINT command
John Darrington [Tue, 16 Dec 2003 02:57:32 +0000 (02:57 +0000)]
Added tests for descriptives and flip
John Darrington [Tue, 16 Dec 2003 01:08:35 +0000 (01:08 +0000)]
Added tests for count and sort
John Darrington [Tue, 16 Dec 2003 00:14:24 +0000 (00:14 +0000)]
Fixed up the test for big numbers
John Darrington [Mon, 15 Dec 2003 23:56:49 +0000 (23:56 +0000)]
Fixed some changes, which didn't work with certain versions of diff
John Darrington [Mon, 15 Dec 2003 13:48:52 +0000 (13:48 +0000)]
Started converting the make check target to aegis style tests
John Darrington [Mon, 15 Dec 2003 07:35:06 +0000 (07:35 +0000)]
Patched bug(s) in postscipt driver
John Darrington [Mon, 15 Dec 2003 05:51:56 +0000 (05:51 +0000)]
Fixed buglet building under cygwin
John Darrington [Mon, 15 Dec 2003 03:06:15 +0000 (03:06 +0000)]
Fixed bug initialising termcap
John Darrington [Sat, 13 Dec 2003 11:25:09 +0000 (11:25 +0000)]
Re adding files in intl, which I forgot
John Darrington [Sat, 13 Dec 2003 11:18:31 +0000 (11:18 +0000)]
Fixed intl/ and some tests, so that the project can be built and tested
from outside of the source tree (or at least it will when some bugs are
squashed)
John Darrington [Sat, 13 Dec 2003 08:48:54 +0000 (08:48 +0000)]
Fixed up the tests, so that make check now works
Ben Pfaff [Sat, 13 Dec 2003 08:13:10 +0000 (08:13 +0000)]
* syntax: Run a diff when there's no expected output, too.
Ben Pfaff [Sat, 13 Dec 2003 08:11:55 +0000 (08:11 +0000)]
Fri Dec 12 23:54:37 2003 Ben Pfaff <blp@gnu.org>
* autorecode.c: (recode) Replace stupid use of memcpy() by
memberwise copy.
(hash_alpha_value) Use hsh_hash_bytes(). Get rid of nasty casts.
(hash_numeric_value) Ditto.
(autorecode_proc_func) pool_strdup() was wrong here because the
source string was not null-terminated. Use new pool_strndup()
instead.
* crosstabs.q: (enum_var_values) Remove superfluous and bizarre
use of hsh_iterator_init().
* data-in.c: (parse_N) Initialize i->v->f.
* flip.c: (cmd_flip) Use memmove(), not memcpy(), to copy
overlapping arrays.
* groff-font.c: Use power-of-2 hash table sizes, not prime.
(groff_read_font) Don't call hsh_next_prime(). Don't call
fclose(NULL).
(static var hash) Remove `size_p', `max_used' members.
(font_char_name_to_index) Don't call hsh_next_prime(). Use
hsh_hash_string() instead of hashpjw(), & instead of %.
(default_font) Don't call hsh_next_prime().
* pool.c: (pool_strndup) New function.
(pool_strdup) Reimplement in terms of pool_strndup.
* postscript.c: (hash_font_entry) Use hsh_hash_string(). Get rid
of nasty casts.
(hash_ps_encoding) Use hsh_hash_string().
(hash_ps_combo) Use hsh_hash_string(), hsh_hash_int().
(hash_filename2font) Use hsh_hash_string().
* som.c: Add #include <stdlib.h>.
* tab.c: (tab_destroy) Don't set t->container after freeing `t'
(by destroying its pool).
Fri Dec 12 23:18:59 2003 Ben Pfaff <blp@gnu.org>
Miscellaneous hash table code cleanup:
* hash.h: (struct hsh_table) Moved into hash.c.
(hsh_count) Ditto, and transformed into function.
(hsh_compare_func) New typedef, used for defining otherwise-long
function types here and in hash.c
(hsh_hash_func) Ditto.
(hsh_free_func) Ditto.
* hash.c: (struct hsh_table) Renamed `n' to `used', `m' to `size',
`table' to `entries'. Removed `mp'. All references updated.
(hsh_clear) Don't shrink entries array; if the hash was this big
once, it probably will be again.
(hsh_rehash) Made static.
(force_hsh_insert) Renamed hsh_force_insert.
(force_hsh_find) Renamed hsh_force_find.
Made hash table sizes powers of 2, because that's fine with any
reasonable hash function and because taking a power-of-2 modulus
is faster than any other:
(hsh_prime_tab) Removed;
(hsh_next_prime) Ditto.
(next_power_of_2) New function.
(hsh_create) Use next_power_of_2.
(hsh_rehash) Use & instead of %.
Cleaned up hsh_sort:
(internal_comparison_fn) Removed.
(sort_nulls_last) New function.
(hsh_sort) Removed second parameter, switched to using the new
quicksort() function from quicksort.h to avoid using nasty need
for static variables with qsort(). All references updated.
Changed the hash functions offered, because there are better hash
functions than the ones we had, and cleaned up the names to boot:
* hash.c: (hashpjw_d) Removed.
(hashpjw) Ditto.
(hsh_hash_bytes) New function.
(hsh_hash_string) New function.
(hsh_hash_int) New function.
Improved the hash table iteration interface:
* hash.h: (hsh_iterator_init) Removed.
(struct hsh_iterator) Removed `init' member, change `next' to
size_t.
* hash.c: (hsh_foreach) Removed. All references updated to use
hsh_first/hsh_next instead.
(hsh_first) New function. Notably, unlike hsh_foreach() it does
not treat a null pointer as an empty hash table.
(hsh_next) New function.
Made deletion possible, though slow:
* hash.c: (locate_matching_entry) New function.
(hsh_find) Use locate_matching_entry().
(hsh_delete) New function also using locate_matching_entry().
(hsh_force_delete) New function.
Fri Dec 12 23:16:10 2003 Ben Pfaff <blp@gnu.org>
* quicksort.c: New file implementing a sort routine with a
interface better than qsort() because it passes a user-provided
parameter to the sort routine.
* Makefile.am: Add quicksort.c, quicksort.h.
Ben Pfaff [Sat, 13 Dec 2003 07:17:25 +0000 (07:17 +0000)]
* qsort.c: Removed because it was unused.
* Makefile.am: Revised accordingly, and simplified because
Automake 1.7 is smarter than 1.4 was.
Ben Pfaff [Sat, 13 Dec 2003 06:56:11 +0000 (06:56 +0000)]
Add lots of files that should be ignored.
Ben Pfaff [Fri, 12 Dec 2003 21:39:53 +0000 (21:39 +0000)]
* All source files: Get rid of nasty special cases for
Checker, which is pretty obsolete now.
John Darrington [Fri, 12 Dec 2003 08:38:56 +0000 (08:38 +0000)]
Fixed my immediately preceeding error
John Darrington [Fri, 12 Dec 2003 08:32:08 +0000 (08:32 +0000)]
Put back a bug fix which accidently got reverted.
John Darrington [Fri, 12 Dec 2003 08:25:45 +0000 (08:25 +0000)]
Removed reconfigure from the EXTRA_dist target, cos it doesn't exist any
more
John Darrington [Fri, 12 Dec 2003 08:24:42 +0000 (08:24 +0000)]
Fixed buglet where the default config path was getting set wrong
Ben Pfaff [Fri, 12 Dec 2003 04:07:41 +0000 (04:07 +0000)]
#include "common.h" should be #include "alloc.h" (again).
John Darrington [Fri, 12 Dec 2003 03:36:19 +0000 (03:36 +0000)]
Fixed some problems building under cygwin
Ben Pfaff [Fri, 12 Dec 2003 03:18:53 +0000 (03:18 +0000)]
Not needed anymore.
John Darrington [Thu, 11 Dec 2003 13:40:08 +0000 (13:40 +0000)]
Fixed a bug apparent when using the FREQUENCIES command with the html driver
John Darrington [Thu, 11 Dec 2003 11:37:52 +0000 (11:37 +0000)]
Added a READMe.developer file
John Darrington [Thu, 11 Dec 2003 11:32:27 +0000 (11:32 +0000)]
Removed auto generated files from the repository
Ben Pfaff [Thu, 11 Dec 2003 08:31:25 +0000 (08:31 +0000)]
GNU_PACKAGE no longer exists; use "GNU @PACKAGE@" instead.
Ben Pfaff [Thu, 11 Dec 2003 08:26:16 +0000 (08:26 +0000)]
Update build system to Autoconf 2.58, Automake 1.7, gettext 0.12.1.
Ben Pfaff [Thu, 11 Dec 2003 08:17:58 +0000 (08:17 +0000)]
Update build system to Autoconf 2.58, Automake 1.7, gettext 0.12.1.
Ben Pfaff [Thu, 11 Dec 2003 07:40:52 +0000 (07:40 +0000)]
Wed Dec 10 23:36:16 2003 Ben Pfaff <blp@gnu.org>
* lib/gmp/: Removed, because it no longer compiles with recent GCC
versions.
Ben Pfaff [Thu, 11 Dec 2003 07:37:23 +0000 (07:37 +0000)]
Wed Dec 10 23:32:47 2003 Ben Pfaff <blp@gnu.org>
* sysdeps/: Removed, because everything was too old to be useful
anymore.
John Darrington [Thu, 11 Dec 2003 07:16:50 +0000 (07:16 +0000)]
Fixed bug where pspp would crash if no startup files could be found.
John Darrington [Thu, 11 Dec 2003 07:16:07 +0000 (07:16 +0000)]
*** empty log message ***
John Darrington [Thu, 11 Dec 2003 07:11:03 +0000 (07:11 +0000)]
added a changelog entr ywhich I\'d forgotten'
John Darrington [Thu, 11 Dec 2003 06:58:56 +0000 (06:58 +0000)]
Fixed memory problem in frequencies.q
Ben Pfaff [Thu, 11 Dec 2003 06:17:20 +0000 (06:17 +0000)]
* glob.c: Add #include <stdio.h> the readline.h #include, which
fixes problems for some readline versions that refer to FILE but
don't #include <stdio.h> themselves.
Ben Pfaff [Thu, 11 Dec 2003 06:06:01 +0000 (06:06 +0000)]
* getdelim.c, alloca.c: common.h is no longer, but alloc.h
declares the allocation functions.
John Darrington [Wed, 10 Dec 2003 23:56:04 +0000 (23:56 +0000)]
checkin of 0.3.0
John Darrington [Wed, 10 Dec 2003 23:27:28 +0000 (23:27 +0000)]
checkin of 0.3.0