pspp-builds.git
13 years agocairo: Draw table titles in xr_rendering_draw() too.
Ben Pfaff [Wed, 27 Oct 2010 04:56:37 +0000 (21:56 -0700)]
cairo: Draw table titles in xr_rendering_draw() too.

xr_rendering_draw() didn't draw table titles.  It seems that this was just
an oversight, so this commit fixes the problem.

xr_rendering_draw() is used by the GUI output viewer window, so this makes
the GUI output viewer display table titles now.

Bug #30554.

13 years agocairo: Always save output item in xr_rendering_create().
Ben Pfaff [Wed, 27 Oct 2010 04:53:53 +0000 (21:53 -0700)]
cairo: Always save output item in xr_rendering_create().

Currently xr_rendering_create() only saves the output item passed in if it
is a chart.  However an upcoming commit will have a need for table output
items too, so this commit always saves them.

13 years agocase: Add support for debugging case reference count leaks.
Ben Pfaff [Tue, 26 Oct 2010 14:34:45 +0000 (07:34 -0700)]
case: Add support for debugging case reference count leaks.

13 years agoSmake: Add a rule to update the gl directory without doing all the other stuff
John Darrington [Wed, 27 Oct 2010 12:58:02 +0000 (14:58 +0200)]
Smake: Add a rule to update the gl directory without doing all the other stuff

13 years agoMake ascii driver's length and width parameters fit the terminal.
John Darrington [Wed, 27 Oct 2010 11:13:19 +0000 (13:13 +0200)]
Make ascii driver's length and width parameters fit the terminal.

If the driver's output is a tty, then handle SIGWINCH to adjust
the length and width according to the size of the terminal.

13 years agoAllow perl module to enter non-ascii data
John Darrington [Tue, 26 Oct 2010 15:11:04 +0000 (17:11 +0200)]
Allow perl module to enter non-ascii data

13 years agoINSTALL: Add note about (non)installation of the perl module
John Darrington [Tue, 26 Oct 2010 14:07:54 +0000 (16:07 +0200)]
INSTALL: Add note about (non)installation of the perl module

13 years agoAdded a test for the mann-whitney test
John Darrington [Tue, 26 Oct 2010 07:53:39 +0000 (09:53 +0200)]
Added a test for the mann-whitney test

13 years agoMann-Whitney: Use value names in rank table.
John Darrington [Tue, 26 Oct 2010 07:28:55 +0000 (09:28 +0200)]
Mann-Whitney: Use value names in rank table.

Use the values or labels of the groups instead of
a literal "group1" or "group2".

13 years agoCROSSTABS: Handle case where all cases in a crosstabulation are missing.
Ben Pfaff [Tue, 26 Oct 2010 05:52:10 +0000 (22:52 -0700)]
CROSSTABS: Handle case where all cases in a crosstabulation are missing.

Thanks to Michel Boaventura for reporting the problem.
Bug #31260.

13 years agodata-reader: Correct spelling.
Ben Pfaff [Tue, 26 Oct 2010 04:49:10 +0000 (21:49 -0700)]
data-reader: Correct spelling.

13 years agorender: Fix cells spanning otherwise completely empty rows/columns.
Ben Pfaff [Tue, 26 Oct 2010 04:45:42 +0000 (21:45 -0700)]
render: Fix cells spanning otherwise completely empty rows/columns.

When adjacent rows or columns contain only spanned cells and no rules give
the rows or columns a natural minimum height or width, this triggers a
special case in distribute_spanned_width().  This special case had not been
tested and (therefore) was broken.  This commit fixes the problem and adds
test cases to prevent it from recurring.

Bug #31346.

13 years agotests: Add keywords to render tests.
Ben Pfaff [Tue, 26 Oct 2010 03:50:05 +0000 (20:50 -0700)]
tests: Add keywords to render tests.

This makes it easy to run just the rendering tests with:
    make check TESTSUITEFLAGS='-k render'

13 years agoAdded manual entry for the Mann-Whitney test
John Darrington [Mon, 25 Oct 2010 19:25:16 +0000 (21:25 +0200)]
Added manual entry for the Mann-Whitney test

13 years agoMann-Whitney: Change the rank sum used for Wilcoxon W
John Darrington [Mon, 25 Oct 2010 18:54:54 +0000 (20:54 +0200)]
Mann-Whitney: Change the rank sum used for Wilcoxon W

13 years agoFirst attempt at Mann-Whitney U test.
John Darrington [Mon, 25 Oct 2010 18:40:14 +0000 (20:40 +0200)]
First attempt at Mann-Whitney U test.

Currently only assymptotic significance is calculated.

13 years agoCROSSTABS: (Re)implemented the format=DVALUE option.
John Darrington [Mon, 25 Oct 2010 11:24:31 +0000 (13:24 +0200)]
CROSSTABS: (Re)implemented the format=DVALUE option.

This was documented as implemented but in fact, wasn't.

13 years agoEnsure tests have unique names
John Darrington [Mon, 25 Oct 2010 09:50:08 +0000 (11:50 +0200)]
Ensure tests have unique names

13 years agoRemove various duplicated #include directives
John Darrington [Mon, 25 Oct 2010 09:30:28 +0000 (11:30 +0200)]
Remove various duplicated #include directives

13 years agoUse sort instead of qsort thus avoiding compiler warning
John Darrington [Mon, 25 Oct 2010 08:55:11 +0000 (10:55 +0200)]
Use sort instead of qsort thus avoiding compiler warning

13 years agoAvoid compiler warnings
John Darrington [Mon, 25 Oct 2010 08:23:04 +0000 (10:23 +0200)]
Avoid compiler warnings

13 years agoDocumentation: Make subsection order alphabetical
John Darrington [Sat, 23 Oct 2010 12:06:05 +0000 (14:06 +0200)]
Documentation: Make subsection order alphabetical

13 years agoProperly handle weights in Friedman test
John Darrington [Sat, 23 Oct 2010 09:51:13 +0000 (11:51 +0200)]
Properly handle  weights in Friedman test

13 years agoAdd test for friedman test and fix problem with missing values
John Darrington [Sat, 23 Oct 2010 09:43:06 +0000 (11:43 +0200)]
Add test for friedman test and fix problem with missing values

13 years agoremove unused variable
John Darrington [Sat, 23 Oct 2010 09:25:40 +0000 (11:25 +0200)]
remove unused variable

13 years agofix memory leak
John Darrington [Sat, 23 Oct 2010 09:25:19 +0000 (11:25 +0200)]
fix memory leak

13 years agoDocumentation for the Friedman test
John Darrington [Sat, 23 Oct 2010 09:16:30 +0000 (11:16 +0200)]
Documentation for the Friedman test

13 years agoen_GB.po: Fix fuzzy translation
John Darrington [Sat, 23 Oct 2010 09:00:15 +0000 (11:00 +0200)]
en_GB.po: Fix fuzzy translation

13 years agoFirst attempt at the Friedman test
John Darrington [Sat, 23 Oct 2010 08:58:40 +0000 (10:58 +0200)]
First attempt at the Friedman test

13 years agoWhitespace changes only
John Darrington [Sat, 23 Oct 2010 08:56:14 +0000 (10:56 +0200)]
Whitespace changes only

13 years agoRemove redundant whitespace
John Darrington [Sat, 23 Oct 2010 08:54:48 +0000 (10:54 +0200)]
Remove redundant whitespace

13 years agoFix memory deallocation bug
John Darrington [Thu, 21 Oct 2010 20:01:34 +0000 (22:01 +0200)]
Fix memory deallocation bug

13 years agoImplemented the /RUNS subcommand for NPAR TESTS.
John Darrington [Thu, 21 Oct 2010 18:34:25 +0000 (20:34 +0200)]
Implemented the /RUNS subcommand for NPAR TESTS.

13 years agostr: Remove unused functions.
Ben Pfaff [Mon, 18 Oct 2010 03:31:02 +0000 (20:31 -0700)]
str: Remove unused functions.

13 years agoformat-parser: Fix parse_format_specifier() failure case.
Ben Pfaff [Sun, 17 Oct 2010 17:08:53 +0000 (10:08 -0700)]
format-parser: Fix parse_format_specifier() failure case.

When the current token is an identifier that takes the abstract syntax
of a format specifier, but its "name" part is not a valid format name,
parse_format_specifier() returned false but still consumed the token.
This is a potential issue for callers that want to report an error that
mentions the identifier, e.g. parse_primary(), although the current lexer
tends to retain the same identifier when the new token is not an
identifier.

13 years agoUpdate en_GB.po
John Darrington [Sun, 17 Oct 2010 20:30:10 +0000 (22:30 +0200)]
Update en_GB.po

13 years agoFix typos in printed strings
John Darrington [Sun, 17 Oct 2010 20:12:48 +0000 (22:12 +0200)]
Fix typos in printed strings

13 years agoUpdate en_GB.po and remerge
John Darrington [Sun, 17 Oct 2010 14:55:43 +0000 (16:55 +0200)]
Update en_GB.po and remerge

13 years agoFix test failures on T-TEST command.
John Darrington [Sun, 17 Oct 2010 14:50:47 +0000 (16:50 +0200)]
Fix test failures on T-TEST command.

The t-test command is documented to ignore cases
which are not in a valid group.
The new levene function does not have any awareness
of the group criteria.  Therefore we must remove any
values which are not in a valid group.

13 years agoRe-implemented the levene calculation
John Darrington [Sun, 17 Oct 2010 12:03:41 +0000 (14:03 +0200)]
Re-implemented the levene calculation

13 years agopo: Update Dutch translation from translation-project.org.
Ben Pfaff [Sun, 17 Oct 2010 14:00:08 +0000 (07:00 -0700)]
po: Update Dutch translation from translation-project.org.

13 years agoFixed bug in oneway /descriptives subcommand vs. weights.
John Darrington [Sun, 17 Oct 2010 13:04:26 +0000 (15:04 +0200)]
Fixed bug in oneway /descriptives subcommand vs. weights.

The descriptives option was misinterpreting the weight
value when calculating max and min.  This change fixes
the bug and adds a test to check for it.

13 years agoIncrement version number to 0.7.6 for translationproject.org. v0.7.6
Ben Pfaff [Sat, 16 Oct 2010 20:49:57 +0000 (13:49 -0700)]
Increment version number to 0.7.6 for translationproject.org.

13 years agodoc: Always build ni.texi, tut.texi in source directory.
Ben Pfaff [Sat, 16 Oct 2010 20:49:37 +0000 (13:49 -0700)]
doc: Always build ni.texi, tut.texi in source directory.

When the source and build directories are different, ni.texi and tut.texi
were being built in the build directory.  This meant that, since
$(builddir)/doc is not in the TeX search path, but $(builddir) is (because
it is the working directory when TeX is invoked), the @include commands
that include ni.texi and tut.texi had to specify doc/ explicitly.
However, doing that broke the case where the source and build directories
were different but ni.texi or tut.texi were in the source directory (which
happens when building from a tarball or, similarly, running "make
distcheck"), because $(top_srcdir) is not in the TeX search path (only
$(top_srcdir)/doc is).

The easiest solution appears to be to always make sure that ni.texi and
tut.texi are in the source directory.  Then they are always in the TeX
search path (as long as we drop the doc/ prefix) and everything should
work out OK.

Reported by Michel Boaventura <michel@michelboaventura.com>.

13 years agotests: Avoid reading $HOME/.pspprc inside the testsuite.
Ben Pfaff [Sat, 16 Oct 2010 20:02:18 +0000 (13:02 -0700)]
tests: Avoid reading $HOME/.pspprc inside the testsuite.

This solution was suggested by John Darrington.

13 years agotests: Put atlocal.in in a logical order.
Ben Pfaff [Sat, 16 Oct 2010 20:01:50 +0000 (13:01 -0700)]
tests: Put atlocal.in in a logical order.

This is intended to have no semantic change.

13 years agopo: Update Spanish translation from translation-project.org.
Ben Pfaff [Sat, 16 Oct 2010 19:09:23 +0000 (12:09 -0700)]
po: Update Spanish translation from translation-project.org.

13 years agoInclude hash-functions.h instead of hash.h
John Darrington [Sat, 16 Oct 2010 10:44:49 +0000 (12:44 +0200)]
Include hash-functions.h instead of hash.h

13 years agoNPAR: use hmapx instead of hash.h
John Darrington [Sat, 16 Oct 2010 10:41:44 +0000 (12:41 +0200)]
NPAR: use hmapx instead of hash.h

13 years agotests: Remove file and Makefile contents that are no longer necessary.
Ben Pfaff [Fri, 15 Oct 2010 05:20:08 +0000 (22:20 -0700)]
tests: Remove file and Makefile contents that are no longer necessary.

All of the tests have been converted to Autotest so this commit removes
variable assignments that are specific to the Automake TESTS-based
testsuite.

13 years agotests: Convert tests for binary and 360 data I/O to Autotest framework.
Ben Pfaff [Fri, 15 Oct 2010 05:17:02 +0000 (22:17 -0700)]
tests: Convert tests for binary and 360 data I/O to Autotest framework.

13 years agodata-in: Convert tests for time input formats to Autotest framework.
Ben Pfaff [Fri, 15 Oct 2010 04:15:37 +0000 (21:15 -0700)]
data-in: Convert tests for time input formats to Autotest framework.

13 years agodata-out: Convert tests for numeric output formats to Autotest framework.
Ben Pfaff [Fri, 15 Oct 2010 04:01:56 +0000 (21:01 -0700)]
data-out: Convert tests for numeric output formats to Autotest framework.

13 years agodata-in: Convert tests for date formats to Autotest framework.
Ben Pfaff [Thu, 14 Oct 2010 03:59:45 +0000 (20:59 -0700)]
data-in: Convert tests for date formats to Autotest framework.

13 years agodata-in: Convert test for numeric input formats to Autotest framework.
Ben Pfaff [Thu, 14 Oct 2010 03:26:42 +0000 (20:26 -0700)]
data-in: Convert test for numeric input formats to Autotest framework.

13 years agodata-in: Convert test for MONTH format to Autotest framework.
Ben Pfaff [Thu, 14 Oct 2010 01:48:14 +0000 (18:48 -0700)]
data-in: Convert test for MONTH format to Autotest framework.

13 years agodata-in: Convert test for WKDAY format to Autotest framework.
Ben Pfaff [Thu, 14 Oct 2010 01:43:43 +0000 (18:43 -0700)]
data-in: Convert test for WKDAY format to Autotest framework.

13 years agodata-in: Convert tests for binary and hexadecimal formats to Autotest.
Ben Pfaff [Thu, 14 Oct 2010 01:39:31 +0000 (18:39 -0700)]
data-in: Convert tests for binary and hexadecimal formats to Autotest.

13 years agodata-in: Convert tests for N and Z formats to Autotest framework.
Ben Pfaff [Thu, 14 Oct 2010 01:32:39 +0000 (18:32 -0700)]
data-in: Convert tests for N and Z formats to Autotest framework.

13 years agotests: Fix "make dist" by correcting typo in EXTRA_DIST.
Ben Pfaff [Wed, 13 Oct 2010 18:21:21 +0000 (11:21 -0700)]
tests: Fix "make dist" by correcting typo in EXTRA_DIST.

13 years agoUpdated NEWS file
John Darrington [Wed, 13 Oct 2010 07:37:45 +0000 (09:37 +0200)]
Updated NEWS file

13 years agoAdd some comments where needed
John Darrington [Wed, 13 Oct 2010 07:20:45 +0000 (09:20 +0200)]
Add some comments where needed

13 years agoUpdate Catalan translation from translation-project.org
John Darrington [Wed, 13 Oct 2010 07:12:17 +0000 (09:12 +0200)]
Update Catalan translation from translation-project.org

13 years agoAvoid compiler warnings
John Darrington [Tue, 12 Oct 2010 17:50:10 +0000 (19:50 +0200)]
Avoid compiler warnings

13 years agodata-out: Convert test for WKDAY format to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 04:54:53 +0000 (21:54 -0700)]
data-out: Convert test for WKDAY format to Autotest framework.

13 years agodata-out: Convert test for time output formats to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 04:50:47 +0000 (21:50 -0700)]
data-out: Convert test for time output formats to Autotest framework.

13 years agodata-out: Convert test for MONTH format to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 04:47:54 +0000 (21:47 -0700)]
data-out: Convert test for MONTH format to Autotest framework.

13 years agoformat-guesser: Convert test to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 04:38:30 +0000 (21:38 -0700)]
format-guesser: Convert test to Autotest framework.

13 years agofloat-format: Convert tests to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 04:19:35 +0000 (21:19 -0700)]
float-format: Convert tests to Autotest framework.

13 years agodata-out: Convert tests for date formats to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 03:49:50 +0000 (20:49 -0700)]
data-out: Convert tests for date formats to Autotest framework.

13 years agodata-out: Convert tests for binary and hex formats to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 03:49:15 +0000 (20:49 -0700)]
data-out: Convert tests for binary and hex formats to Autotest framework.

13 years agodata-in: Convert BCD input tests to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 03:31:48 +0000 (20:31 -0700)]
data-in: Convert BCD input tests to Autotest framework.

13 years agoAdd documentation for the Kruskal-Wallis subcommand
John Darrington [Tue, 12 Oct 2010 09:03:32 +0000 (11:03 +0200)]
Add documentation for the Kruskal-Wallis subcommand

13 years agoFix memory leaks in Kruskal-Wallis test
John Darrington [Tue, 12 Oct 2010 08:22:07 +0000 (10:22 +0200)]
Fix memory leaks in Kruskal-Wallis test

13 years agoAdded tests for the Kruskal Wallis test
John Darrington [Tue, 12 Oct 2010 08:09:51 +0000 (10:09 +0200)]
Added tests for the Kruskal Wallis test

13 years agotests: Convert test for vectors in expressions to Autotest framework.
Ben Pfaff [Tue, 12 Oct 2010 05:35:09 +0000 (22:35 -0700)]
tests: Convert test for vectors in expressions to Autotest framework.

13 years agotests: Convert test for variables in expressions to Autotest.
Ben Pfaff [Tue, 12 Oct 2010 05:33:03 +0000 (22:33 -0700)]
tests: Convert test for variables in expressions to Autotest.

13 years agotests: Convert test for VALUELABEL expression function to Autotest.
Ben Pfaff [Tue, 12 Oct 2010 05:30:27 +0000 (22:30 -0700)]
tests: Convert test for VALUELABEL expression function to Autotest.

13 years agotests: Convert random distribution tests to Autotest framework.
Ben Pfaff [Tue, 12 Oct 2010 05:24:03 +0000 (22:24 -0700)]
tests: Convert random distribution tests to Autotest framework.

13 years agooutput: Convert paper size tests to Autotest framework.
Ben Pfaff [Tue, 12 Oct 2010 03:25:09 +0000 (20:25 -0700)]
output: Convert paper size tests to Autotest framework.

13 years agoInitial implementation of the Kruskal-Wallis test.
John Darrington [Mon, 11 Oct 2010 18:02:54 +0000 (20:02 +0200)]
Initial implementation of the Kruskal-Wallis test.

13 years agoUse conventional search for gsl if pkg-config fails
John Darrington [Sat, 9 Oct 2010 19:12:42 +0000 (21:12 +0200)]
Use conventional search for gsl if pkg-config fails

13 years agoUse cast macros
John Darrington [Sat, 9 Oct 2010 19:07:48 +0000 (21:07 +0200)]
Use cast macros

13 years agoRemove some duplicated #includes
John Darrington [Sat, 9 Oct 2010 14:20:11 +0000 (16:20 +0200)]
Remove some duplicated #includes

13 years agoNPAR TESTS: Implement parser for kruskal wallis test
John Darrington [Sat, 9 Oct 2010 10:56:45 +0000 (12:56 +0200)]
NPAR TESTS: Implement parser for kruskal wallis test

13 years agoNPAR TESTS: Add framework for n sample independent variable tests.
John Darrington [Sat, 9 Oct 2010 10:51:50 +0000 (12:51 +0200)]
NPAR TESTS: Add framework for n sample independent variable tests.

Upcomming commits will rely on this functionaly.

13 years agoNPAR TESTS: reformat and use cast macros
John Darrington [Sat, 9 Oct 2010 10:46:45 +0000 (12:46 +0200)]
NPAR TESTS: reformat and use cast macros

13 years agotests: Fix typo in "write to same system file being read" test.
Ben Pfaff [Mon, 11 Oct 2010 14:19:24 +0000 (07:19 -0700)]
tests: Fix typo in "write to same system file being read" test.

13 years agosparse-xarray: Convert tests to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 05:18:10 +0000 (22:18 -0700)]
sparse-xarray: Convert tests to Autotest framework.

13 years agodatasheet: Convert tests to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 05:16:44 +0000 (22:16 -0700)]
datasheet: Convert tests to Autotest framework.

13 years agotests: Remove some files that are no longer used.
Ben Pfaff [Mon, 11 Oct 2010 04:40:18 +0000 (21:40 -0700)]
tests: Remove some files that are no longer used.

13 years agotests: Convert tests for SAVE /KEEP=ALL to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:39:45 +0000 (21:39 -0700)]
tests: Convert tests for SAVE /KEEP=ALL to Autotest framework.

13 years agoVALUE LABELS: Convert tests to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:34:23 +0000 (21:34 -0700)]
VALUE LABELS: Convert tests to Autotest framework.

13 years agotests: Convert tests for unwritable output dirs to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:28:35 +0000 (21:28 -0700)]
tests: Convert tests for unwritable output dirs to Autotest framework.

13 years agoTEMPORARY: Convert test to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:21:35 +0000 (21:21 -0700)]
TEMPORARY: Convert test to Autotest framework.

13 years agopspp: Get rid of clean_up() function now that it has only one caller.
Ben Pfaff [Mon, 11 Oct 2010 04:15:19 +0000 (21:15 -0700)]
pspp: Get rid of clean_up() function now that it has only one caller.

13 years agotests: Convert tests for signal handling to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 21:19:28 +0000 (14:19 -0700)]
tests: Convert tests for signal handling to Autotest framework.

13 years agopspp: Don't attempt fancy clean-up upon receiving a fatal signal.
Ben Pfaff [Mon, 11 Oct 2010 04:13:21 +0000 (21:13 -0700)]
pspp: Don't attempt fancy clean-up upon receiving a fatal signal.

Otherwise PSPP often assert-fails on Control+C.

In the long run it is probably friendlier to return to the command prompt
upon Control+C, but simply deleting temporary files and exiting cleanly
is preferable to an assert-fail.

See bug #20626 for more information.

13 years agotests: Convert test for #! support to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 21:09:06 +0000 (14:09 -0700)]
tests: Convert test for #! support to Autotest framework.

13 years agotests: Convert test for overwriting a special file to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 21:03:33 +0000 (14:03 -0700)]
tests: Convert test for overwriting a special file to Autotest framework.