pspp
10 years agoCROSSTABS: Add additional test case.
Ben Pfaff [Tue, 6 May 2014 06:54:52 +0000 (23:54 -0700)]
CROSSTABS: Add additional test case.

10 years agoCROSSTABS: Don't calculate ASE for symmetric Somers' d.
Ben Pfaff [Tue, 6 May 2014 06:35:44 +0000 (23:35 -0700)]
CROSSTABS: Don't calculate ASE for symmetric Somers' d.

I couldn't figure out how to get the formula to match the SPSS results.

Also, add several tests for Somers' D and other ordinal tests.

10 years agoCROSSTABS: Drop buggy ASE for asymmetric lambda; fix T for symmetric lambda.
Ben Pfaff [Tue, 6 May 2014 04:48:13 +0000 (21:48 -0700)]
CROSSTABS: Drop buggy ASE for asymmetric lambda; fix T for symmetric lambda.

I really can't figure out how SPSS calculates the ASE for asymmetric
lambda, despite hours of effort.

10 years agoCROSSTABS: Fix T values for Spearman's R and Pearson's R.
Ben Pfaff [Sun, 4 May 2014 20:03:38 +0000 (13:03 -0700)]
CROSSTABS: Fix T values for Spearman's R and Pearson's R.

I verified that the values are correct using this online calculator:
http://www.danielsoper.com/statcalc3/calc.aspx?id=61

10 years agoCROSSTABS: Add tests for Pearson's R, and update documentation.
Ben Pfaff [Sun, 4 May 2014 18:45:22 +0000 (11:45 -0700)]
CROSSTABS: Add tests for Pearson's R, and update documentation.

PSPP seems to calculate Pearson's R values correctly, despite the
documentation that said otherwise.  I don't have any remaining notes for
why the documentation said this, so I'm removing the claim that PSPP does
not calculate Pearson's R correctly.

10 years agoexpressions: Reword error message upon use of unimplemented function.
Ben Pfaff [Sun, 4 May 2014 17:35:04 +0000 (10:35 -0700)]
expressions: Reword error message upon use of unimplemented function.

Some users found the previous wording confusing.  This wording suggested
by John Darrington <john@darrington.wattle.id.au>.

See discussion at:
http://lists.gnu.org/archive/html/pspp-users/2014-05/msg00004.html

10 years agosyntax-gen: Include missing header file.
Ben Pfaff [Sun, 4 May 2014 17:31:37 +0000 (10:31 -0700)]
syntax-gen: Include missing header file.

10 years agodoc: Comment out documentation for functions that are not implemented.
Ben Pfaff [Sun, 4 May 2014 17:30:05 +0000 (10:30 -0700)]
doc: Comment out documentation for functions that are not implemented.

Reported by John Darrington <john@darrington.wattle.id.au>.

10 years agoAnnotate some more results as p-values and update the tests accordingly
John Darrington [Thu, 1 May 2014 09:08:56 +0000 (11:08 +0200)]
Annotate some more results as p-values and update the tests accordingly

10 years agoAdded result_class parameter to tab_double and updated all callers. Removed tab_fixed
John Darrington [Tue, 29 Apr 2014 13:32:35 +0000 (15:32 +0200)]
Added result_class parameter to tab_double and updated all callers. Removed tab_fixed

10 years agosyntax-gen.c : Allow conversion specifiers of the form %.20f
John Darrington [Thu, 24 Apr 2014 12:56:09 +0000 (14:56 +0200)]
syntax-gen.c : Allow conversion specifiers of the form %.20f

10 years agoFixed a bug where contrasts with negative T where incorrectly processed.
John Darrington [Sun, 27 Apr 2014 14:21:43 +0000 (16:21 +0200)]
Fixed a bug where contrasts with negative T where incorrectly processed.

Planned contrasts in the ONEWAY procedure reported p-values > 1 when
T was negative.  This change fixes this problem.

Thanks to Douglas Bonett <dgbonett@ucsc.edu> for reporting this.

10 years agosys-file-info: Add IBM850 and DIN_66003 encodings.
Ben Pfaff [Sat, 26 Apr 2014 20:54:20 +0000 (13:54 -0700)]
sys-file-info: Add IBM850 and DIN_66003 encodings.

Requested by Andre Müller:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2014-02/msg00036.html

10 years agoFREQUENCIES: Fixed crash showing histograms of limited range.
John Darrington [Sat, 26 Apr 2014 05:33:08 +0000 (07:33 +0200)]
FREQUENCIES: Fixed crash showing histograms of limited range.

We had been using Freedman-Diaconis rule to select the bin width.
According to the literature this is better than Sturges rule.
However it cannot work when the interquartile range is zero, which
will happen for datasets with small range.

This change uses the Freedman-Diaconis rule and falls back to
Sturges when the IQR is zero.

10 years agoFREQUENCIES: Replaced frequencies.q with frequencies.c
John Darrington [Mon, 21 Apr 2014 15:03:44 +0000 (17:03 +0200)]
FREQUENCIES: Replaced frequencies.q with frequencies.c

10 years agoFREQUENCIES: Added new test for bug which causes a crash
John Darrington [Mon, 21 Apr 2014 14:55:33 +0000 (16:55 +0200)]
FREQUENCIES: Added new test for bug which causes a crash

10 years agoNew test: test/ui/syntax-gen-test.c
John Darrington [Fri, 25 Apr 2014 04:20:27 +0000 (06:20 +0200)]
New test: test/ui/syntax-gen-test.c

Added a test to provide some confidence that the syntax generation
functions work.

10 years agosrc/ui/syntax-gen.c: Correct misleading comment
John Darrington [Fri, 25 Apr 2014 04:18:58 +0000 (06:18 +0200)]
src/ui/syntax-gen.c: Correct misleading comment

10 years agoUpdate version number to 0.8.3.
Ben Pfaff [Fri, 25 Apr 2014 04:49:22 +0000 (21:49 -0700)]
Update version number to 0.8.3.

10 years agopo: Update translations from translationproject.org.
Ben Pfaff [Fri, 25 Apr 2014 03:56:50 +0000 (20:56 -0700)]
po: Update translations from translationproject.org.

10 years agoAvoid crash in psppire-dialog-action-logistic.c
John Darrington [Thu, 24 Apr 2014 04:53:27 +0000 (06:53 +0200)]
Avoid crash in psppire-dialog-action-logistic.c

Commit 14f4522a17db23e67a6fa17876633cc6260cb42b introduced some
printf directives which syntax_gen_pspp did not support.  This
resulted in an assertion failure.

This change reverts the changes which caused the problem.

10 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sat, 5 Apr 2014 19:59:18 +0000 (12:59 -0700)]
po: Update translations from translationproject.org.

10 years agopage-first-line: Make the Text column expand as the window is resized.
Ben Pfaff [Sat, 5 Apr 2014 16:43:41 +0000 (09:43 -0700)]
page-first-line: Make the Text column expand as the window is resized.

Bug #41974.
Reported by Mindaugus.

10 years agoUpdated translations from translationproject.org
Ben Pfaff [Sat, 5 Apr 2014 16:11:30 +0000 (09:11 -0700)]
Updated translations from translationproject.org

10 years agoconfigure: Increase version to 0.8.2.1 to enable translations.
Ben Pfaff [Sat, 5 Apr 2014 16:02:41 +0000 (09:02 -0700)]
configure: Increase version to 0.8.2.1 to enable translations.

Requested by Harry Thijssen.

10 years agoDESCRIPTIVES: Fix treatment of FILTER in presence of Z scores.
Ben Pfaff [Fri, 4 Apr 2014 22:32:32 +0000 (15:32 -0700)]
DESCRIPTIVES: Fix treatment of FILTER in presence of Z scores.

Bug #42012.
Reported by Mindaugus.

10 years agoline-reader: Fix null derefe in line_reader_for_fd() with null encoding.
Ben Pfaff [Fri, 4 Apr 2014 05:12:49 +0000 (22:12 -0700)]
line-reader: Fix null derefe in line_reader_for_fd() with null encoding.

This function is supposed to treat NULL and "Auto" the same way, but it
tried to xstrdup NULL, which doesn't work.

This is easy to reproduce by attempting to use File|Import Data to read
a short file whose contents are all ASCII.

Bug #41971.
Reported by Mindaugus.

10 years agopsppire-syntax-window: Recode file from final encoding, not original one.
Ben Pfaff [Fri, 4 Apr 2014 04:59:47 +0000 (21:59 -0700)]
psppire-syntax-window: Recode file from final encoding, not original one.

When syntax_load() reads a syntax file, it can guess the correct encoding
using encoding_guess_whole_file().  When it does that, it's supposed to
use the guessed encoding to recode the file data into UTF-8.  In fact, it
was using the original (NULL or "") encoding, which didn't work out well.
This commit makes it use the guessed encoding.

Bug #41975.
Reported by Mindaugas.

10 years agoUpdated translations from translationproject.org
John Darrington [Sat, 29 Mar 2014 09:33:35 +0000 (10:33 +0100)]
Updated translations from translationproject.org

10 years agoT-TEST: Fixed a bug in reporting the independent samples std err of the difference
John Darrington [Sat, 29 Mar 2014 07:12:43 +0000 (08:12 +0100)]
T-TEST: Fixed a bug in reporting the independent samples std err of the difference

The standard error of the difference and the confidence interval
for the unequal variances case was reported where the equal variances
case should have been.  This change fixes that.

Reported by: Michael Schneider <m-schneider.klh@uni-wuerzburg.de>

10 years agoGET DATA - corrected documentation
John Darrington [Mon, 24 Mar 2014 19:42:40 +0000 (20:42 +0100)]
GET DATA - corrected documentation

The manual incorrectly documented the /ASSUMEDSTRWIDTH subcommand as
/ASSUMEDVARWIDTH  This change fixes it.

Thanks to Ward Rommel for reporting this.

10 years agoCartesian Graphs: use circular marker instead of square one.
John Darrington [Sun, 23 Mar 2014 10:34:07 +0000 (11:34 +0100)]
Cartesian Graphs: use circular marker instead of square one.

Also slightly smaller.  This I think is a bit more aesthetically
pleasing.

10 years agopspp-dump-sav: Dump labels longer than 255 bytes.
Ben Pfaff [Wed, 19 Mar 2014 03:49:35 +0000 (20:49 -0700)]
pspp-dump-sav: Dump labels longer than 255 bytes.

10 years agosys-file-reader: Raise maximum number of bytes in variable label to 65536.
Ben Pfaff [Wed, 19 Mar 2014 03:49:17 +0000 (20:49 -0700)]
sys-file-reader: Raise maximum number of bytes in variable label to 65536.

Reported by Andre Müller.
Bug #41863.

10 years agoAdded display sort feature to PsppireDictView
John Darrington [Mon, 17 Mar 2014 20:03:27 +0000 (21:03 +0100)]
Added display sort feature to PsppireDictView

Added a feature to the dialog boxes where the user can choose
the sort order in which to display the variables.

10 years agoodt: Format newlines in table cells as Open Document Format line breaks.
Ben Pfaff [Tue, 18 Mar 2014 06:05:26 +0000 (23:05 -0700)]
odt: Format newlines in table cells as Open Document Format line breaks.

Otherwise separate lines run together in the table cells, even though they
are represented as new-lines in the XML.

10 years agocsv-file-writer: Write all line breaks in system-specific format.
Ben Pfaff [Sun, 16 Mar 2014 18:47:54 +0000 (11:47 -0700)]
csv-file-writer: Write all line breaks in system-specific format.

Reported by Andre Müller.
Bug #41852.

10 years agoAllow variable labels longer than 255 bytes.
Ben Pfaff [Sun, 16 Mar 2014 17:22:34 +0000 (10:22 -0700)]
Allow variable labels longer than 255 bytes.

Reported by Andre Müller.
Bug #41863.

10 years agoFix warnings about casts between pointers and differently sized integers.
Ben Pfaff [Sun, 9 Mar 2014 23:02:10 +0000 (16:02 -0700)]
Fix warnings about casts between pointers and differently sized integers.

Doesn't seem to fix any real problems, but GCC on x86-64 complained.

10 years agoline-reader: Fix bad math when size_t is bigger than off_t.
Ben Pfaff [Sun, 9 Mar 2014 23:01:25 +0000 (16:01 -0700)]
line-reader: Fix bad math when size_t is bigger than off_t.

When size_t is bigger than off_t, pos - r->length will end up very large,
instead of negative, when r->length > pos, so the MAX didn't help to get
rid of negative values.  I'm not sure that this should really happen in
practice, but it's better to avoid it.

Reported by GCC on x86-64.

10 years agosys-file-reader: Fix bad printf format specifiers.
Ben Pfaff [Sun, 9 Mar 2014 23:00:04 +0000 (16:00 -0700)]
sys-file-reader: Fix bad printf format specifiers.

Found by GCC on x86-64.

10 years agoAdded some accelerator keys to the menu items. 20140308030511/pspp
John Darrington [Fri, 7 Mar 2014 08:00:25 +0000 (09:00 +0100)]
Added some accelerator keys to the menu items.

Thanks to Dr. Soumalya Ray for reporting this deficiency.

10 years agosrc/libpspp/zip-reader.c: Possible fix for windoze ODS reading issues. 20140227030508/pspp 20140228030505/pspp 20140301030504/pspp 20140302030505/pspp 20140303030503/pspp 20140304030518/pspp 20140305030503/pspp 20140306030505/pspp
John Darrington [Wed, 26 Feb 2014 08:07:47 +0000 (09:07 +0100)]
src/libpspp/zip-reader.c: Possible fix for windoze ODS reading issues.

Problems unzipping ODS files have been reported on windows.  This change
might fix them.

10 years agoFix issue reported on macos where the toolbar icons were not displayed. 20140223030508/pspp 20140224030519/pspp 20140225030507/pspp 20140226030518/pspp
John Darrington [Sat, 22 Feb 2014 19:02:34 +0000 (20:02 +0100)]
Fix issue reported on macos where the toolbar icons were not displayed.

This was caused because we set a default icon size when some icons at
that size did not exist.

10 years agoReplace syntactical keywords in error/warning messages by printf directives
John Darrington [Sat, 22 Feb 2014 17:20:20 +0000 (18:20 +0100)]
Replace syntactical keywords in error/warning messages by printf directives

Continuing the effort started in commit eb06da6a334bc37108cdce9bfc7f26cfcb2003ee

10 years agoFixed bug importing ODS files.
John Darrington [Sat, 22 Feb 2014 14:07:31 +0000 (15:07 +0100)]
Fixed bug importing ODS files.

There was a typo which caused the import of ODS files in the gui to
not properly function.  This change fixes the typo, but also re-arranges
the code such that similar errors are less likely to go unnoticed in the
future.  It also brings the code more in concord with the GNU Coding
Standards (which were written that way exactly to prevent these errors).

Fixes bug #41657

10 years agoReplace syntactical keywords in error/warning messages by printf directives. 20140222030507/pspp
John Darrington [Fri, 21 Feb 2014 09:06:00 +0000 (10:06 +0100)]
Replace syntactical keywords in error/warning messages by printf directives.

A number of translators are still making the mistake of translating syntax
keywords in messages (such as "REPEAT") into thier literal equivalents in
the target language.  This change avoids the posibility of that mistake,
by removing the keywords from the translatable string.

10 years agosys-file-reader: Don't skip "too many value labels" test anymore. 20140221030518/pspp
Ben Pfaff [Thu, 20 Feb 2014 16:33:21 +0000 (08:33 -0800)]
sys-file-reader: Don't skip "too many value labels" test anymore.

Previously the maximum number of value labels depended on the size of
size_t, so that it was impossible to have too many on 64-bit systems, but
a recent change made the maximum number of value labels depend on the
size of unsigned int instead, so now 32- and 64-bit systems are the same.
This commit reverts the code that skips the test.

10 years agoi18n: Fix typo in test.
Ben Pfaff [Thu, 20 Feb 2014 16:25:13 +0000 (08:25 -0800)]
i18n: Fix typo in test.

UTF8 is written UTF-8 elsewhere.  It looks like Mac OS X only accepts the
latter spelling.

Reported by Jeremy Lavergne.

10 years agoMeans Dialog: Fix issue where the wrong syntax was generated. 20140220030511/pspp
John Darrington [Thu, 6 Feb 2014 20:50:11 +0000 (21:50 +0100)]
Means Dialog:  Fix issue where the wrong syntax was generated.

Addresses Bug #41433

10 years agopsppire-var-view.c: Allow multiple selections
John Darrington [Sun, 16 Feb 2014 10:11:45 +0000 (11:11 +0100)]
psppire-var-view.c: Allow multiple selections

10 years agodata-out: Avoid excessive spaces in data_out_stretchy() output. 20140219030512/pspp
Ben Pfaff [Mon, 17 Feb 2014 05:28:26 +0000 (21:28 -0800)]
data-out: Avoid excessive spaces in data_out_stretchy() output.

By formatting all numbers with width 40, the output almost always began
with a long string of spaces.  That tended to stretch out table cells.
This commit fixes the problem.

10 years agodialog: Avoid assumption that enum val_type can have negative value. 20140218030509/pspp
Ben Pfaff [Tue, 18 Feb 2014 01:57:46 +0000 (17:57 -0800)]
dialog: Avoid assumption that enum val_type can have negative value.

Reported by Clang.

10 years agopsppire-var-sheet: Remove unneeded and useless check of unsigned for >= 0.
Ben Pfaff [Tue, 18 Feb 2014 01:55:51 +0000 (17:55 -0800)]
psppire-var-sheet: Remove unneeded and useless check of unsigned for >= 0.

Reported by Clang.

10 years agopspp-widget-facade: Remove odd statement "xalign = xalign;".
Ben Pfaff [Mon, 17 Feb 2014 23:48:43 +0000 (15:48 -0800)]
pspp-widget-facade: Remove odd statement "xalign = xalign;".

Reported by Clang.

10 years agoFix printf() format specifiers.
Ben Pfaff [Mon, 17 Feb 2014 23:39:29 +0000 (15:39 -0800)]
Fix printf() format specifiers.

My main development machine is 32-bit, so I didn't see these.

10 years agonumeric: Avoid using invalid FMT_* as special value.
Ben Pfaff [Mon, 17 Feb 2014 23:38:01 +0000 (15:38 -0800)]
numeric: Avoid using invalid FMT_* as special value.

Clang reported that "f.type != -1" is always true, so I guess it treats
enum fmt_type as unsigned.  This commit fixes the problem.

10 years agosys-file-reader: Fix confusion of types between size_t and unsigned int.
Ben Pfaff [Mon, 17 Feb 2014 23:28:29 +0000 (15:28 -0800)]
sys-file-reader: Fix confusion of types between size_t and unsigned int.

Reported by Clang.

10 years agomessage: Add prototype for vmsg() function.
Ben Pfaff [Mon, 17 Feb 2014 23:23:09 +0000 (15:23 -0800)]
message: Add prototype for vmsg() function.

Reported by Clang.

10 years agoFix memory fault reading ODS file.
John Darrington [Mon, 17 Feb 2014 19:36:00 +0000 (20:36 +0100)]
Fix memory fault reading ODS file.

Partial fix for bug #41620

10 years agocairo: Let xr_layout_cell() assume its parameters are nonnull. 20140217030517/pspp
Ben Pfaff [Wed, 2 Oct 2013 05:20:12 +0000 (22:20 -0700)]
cairo: Let xr_layout_cell() assume its parameters are nonnull.

This slightly simplifies the logic and all the callers appear to satisfy
this requirement.

10 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sun, 16 Feb 2014 23:24:16 +0000 (15:24 -0800)]
po: Update translations from translationproject.org.

10 years agoMake SYSFILE INFO able to analyze valid encodings for a system file.
Ben Pfaff [Sun, 16 Feb 2014 22:59:54 +0000 (14:59 -0800)]
Make SYSFILE INFO able to analyze valid encodings for a system file.

Also, warn when opening a system file that does not identify its encoding.

10 years agosys-file-reader: Add character encoding record to all the tests.
Ben Pfaff [Sun, 16 Feb 2014 22:46:27 +0000 (14:46 -0800)]
sys-file-reader: Add character encoding record to all the tests.

This will avoid a warning added in a later commit when reading a system
file with no encoding record and no specific encoding specified.

10 years agosack: Drop md5sum generation and checking.
Ben Pfaff [Sun, 16 Feb 2014 22:43:53 +0000 (14:43 -0800)]
sack: Drop md5sum generation and checking.

md5sums made it hard to update the tests, and I don't recall the md5sums
every actually helping to make sure that the test input was correct.

10 years agosys-file-reader: Break multiple response set decoding into two stages. 20140216030518/pspp
Ben Pfaff [Sat, 15 Feb 2014 23:46:23 +0000 (15:46 -0800)]
sys-file-reader: Break multiple response set decoding into two stages.

This allows the multiple response set names to be obtained before
the encoding used for their names has been determined.

10 years agosys-file-reader: Break reading a system file into two stages.
Ben Pfaff [Sun, 9 Feb 2014 21:26:32 +0000 (13:26 -0800)]
sys-file-reader: Break reading a system file into two stages.

This paves the way to add a way to obtain strings from the system file, to
allow to more intelligently offer users a choice of encodings, by allowing
a client to open a system file before deciding what encoding should be
used to decode it.

10 years agosys-file-reader: Get rid of longjmp().
Ben Pfaff [Sun, 16 Feb 2014 07:11:56 +0000 (23:11 -0800)]
sys-file-reader: Get rid of longjmp().

longjmp() makes code harder to understand, and I was finding its
usage here was making it harder for me to make reasonable changes
to the system file reader.

10 years agopspp-dump-sav: Print variable sets.
Ben Pfaff [Sun, 16 Feb 2014 03:22:07 +0000 (19:22 -0800)]
pspp-dump-sav: Print variable sets.

I'm thinking about implementing these, and it's easier to understand the
format if pspp-dump-sav prints the contents.

10 years agopspp-dump-sav: More gracefully handle empty multiple response sets.
Ben Pfaff [Sun, 16 Feb 2014 07:06:13 +0000 (23:06 -0800)]
pspp-dump-sav: More gracefully handle empty multiple response sets.

Some multiple response sets have no variables, although I don't know why,
and pspp-dump-sav is more useful if it doesn't stop reading when it arrives
at one.

10 years agosys-file-reader: Handle multiple response sets with extra line feeds.
Ben Pfaff [Sun, 16 Feb 2014 03:19:58 +0000 (19:19 -0800)]
sys-file-reader: Handle multiple response sets with extra line feeds.

Some system files have these, although I don't know why.

10 years agosys-file-reader: Ignore string weighting variable instead of aborting.
Ben Pfaff [Sun, 9 Feb 2014 06:07:58 +0000 (22:07 -0800)]
sys-file-reader: Ignore string weighting variable instead of aborting.

10 years agoi18n: Correctly recode windows-1258 and others with combining diacritics. 20140212030512/pspp 20140213030508/pspp 20140215030505/pspp
Ben Pfaff [Tue, 11 Feb 2014 04:59:49 +0000 (20:59 -0800)]
i18n: Correctly recode windows-1258 and others with combining diacritics.

Without this change, recoding a string from windows-1258 often drops the
last character.

10 years agoRemove old changelogs from tree. 20140209030510/pspp 20140210030519/pspp
Ben Pfaff [Sat, 8 Feb 2014 21:45:15 +0000 (13:45 -0800)]
Remove old changelogs from tree.

They tend to result in false positive "grep" hits and are too old to help
most queries.  They are still available in the Git history, of course.

10 years agodoc: Add files generated by TeX to gitignore.
Ben Pfaff [Sat, 8 Feb 2014 16:57:08 +0000 (08:57 -0800)]
doc: Add files generated by TeX to gitignore.

10 years agosys-file-reader: Successfully read files with duplicate names.
Ben Pfaff [Sat, 8 Feb 2014 16:56:45 +0000 (08:56 -0800)]
sys-file-reader: Successfully read files with duplicate names.

This allows PSPP to read some files written by SPSS.

Bug #41475.

10 years agogui: Allow File|Open to select an encoding for system files. 20140204030509/pspp 20140205030510/pspp 20140206030503/pspp 20140207030506/pspp 20140208030509/pspp
Ben Pfaff [Tue, 4 Feb 2014 06:56:00 +0000 (22:56 -0800)]
gui: Allow File|Open to select an encoding for system files.

This should allow old files in unexpected encodings to be more easily read.

Problem reported by Przemek Powalko <pp.alter.ego@gmail.com>.

10 years agoSYSFILE INFO: Add ENCODING subcommand.
Ben Pfaff [Tue, 4 Feb 2014 06:53:10 +0000 (22:53 -0800)]
SYSFILE INFO: Add ENCODING subcommand.

10 years agoChange many %g format specifiers to %.*g with precision DBL_DIG + 1.
Ben Pfaff [Tue, 4 Feb 2014 05:37:53 +0000 (21:37 -0800)]
Change many %g format specifiers to %.*g with precision DBL_DIG + 1.

The high precision should ensure that in most cases the value is formatted
with enough digits to fully express the internal precision.  Without this
change, %g by itself only expresses 6 digits of precision, so that an
integer value like 99999999 is formatted as 1e8.  This fixes the problem.

This commit adds a test to MISSING VALUES because this was in particular
reported as a problem.

Thanks to Andre Müller <Andre.Mueller@gesis.org> for reporting this issue.

10 years agoUpdated translations from TP 20140131030509/pspp 20140201030505/pspp 20140202030504/pspp 20140203030504/pspp
John Darrington [Thu, 30 Jan 2014 19:45:59 +0000 (20:45 +0100)]
Updated translations from TP

10 years agoRemove Gtk-2.22 bug workaround.
John Darrington [Thu, 30 Jan 2014 08:23:51 +0000 (09:23 +0100)]
Remove Gtk-2.22 bug workaround.

Since we now depend on Gtk+2.24, this workaround is no longer relevant

10 years agoFix broken build with ./configure --without-cairo 20140129030505/pspp 20140130030504/pspp
John Darrington [Tue, 28 Jan 2014 18:52:52 +0000 (19:52 +0100)]
Fix broken build with ./configure --without-cairo

10 years agopo: Update translations from translationproject.org. 20140123030505/pspp 20140124030511/pspp 20140125030504/pspp 20140126030503/pspp 20140127030505/pspp 20140128030505/pspp
Ben Pfaff [Wed, 22 Jan 2014 15:35:14 +0000 (07:35 -0800)]
po: Update translations from translationproject.org.

10 years agoPass LIBREADLINE arguments to those autoconf tests which need it. 20140121030503/pspp 20140122030510/pspp
John Darrington [Mon, 20 Jan 2014 17:59:35 +0000 (18:59 +0100)]
Pass LIBREADLINE arguments to those autoconf tests which need it.

This should hopefully resolve problems on some systems which incorrectly
detected readline library attributes.

10 years agoPulled German translation from TP 20140120030503/pspp
John Darrington [Sun, 19 Jan 2014 13:50:05 +0000 (14:50 +0100)]
Pulled German translation from TP

10 years agoPulled translations from TP 20140119030505/pspp
John Darrington [Sun, 19 Jan 2014 09:19:05 +0000 (10:19 +0100)]
Pulled translations from TP

10 years agoREGRESSION: Show tooltips for Statistics items in sub-dialog.
John Darrington [Sun, 19 Jan 2014 09:13:33 +0000 (10:13 +0100)]
REGRESSION: Show tooltips for Statistics items in sub-dialog.

This should make it easier for GUI users who don't read user manuals.

10 years agoDo not attempt to replace rl_echo_signal_char if no readline is in use
John Darrington [Sat, 18 Jan 2014 17:38:20 +0000 (18:38 +0100)]
Do not attempt to replace rl_echo_signal_char if no readline is in use

10 years agoSmake: add --copy flag to libtoolize
John Darrington [Sat, 18 Jan 2014 09:36:25 +0000 (10:36 +0100)]
Smake: add --copy flag to libtoolize

10 years agoLOGISTIC REGRESSION: Allow fractional confidence interval
John Darrington [Thu, 16 Jan 2014 11:45:54 +0000 (12:45 +0100)]
LOGISTIC REGRESSION: Allow fractional confidence interval

10 years agoREGRESSION: Add gui option for the confidence interval 20140116030505/pspp 20140117030507/pspp 20140118030505/pspp
John Darrington [Wed, 15 Jan 2014 18:19:13 +0000 (19:19 +0100)]
REGRESSION: Add gui option for the confidence interval

10 years agoREGRESSION: Added calculation of the coefficients' confidence interval. 20140115030506/pspp
John Darrington [Mon, 13 Jan 2014 09:32:59 +0000 (10:32 +0100)]
REGRESSION: Added calculation of the coefficients' confidence interval.

10 years agoREGRESSION: Add parser framework for confidence interval
John Darrington [Mon, 13 Jan 2014 08:34:41 +0000 (09:34 +0100)]
REGRESSION: Add parser framework for confidence interval

10 years agoconfigure: Update version number to 0.8.2. 20140114030509/pspp
Ben Pfaff [Tue, 14 Jan 2014 05:41:40 +0000 (21:41 -0800)]
configure: Update version number to 0.8.2.

10 years agopspp-convert: Fix Mac OS build by eliminating redundant linking. 20140110030510/pspp 20140111030505/pspp 20140112030503/pspp 20140113030503/pspp
Ben Pfaff [Fri, 10 Jan 2014 05:08:10 +0000 (21:08 -0800)]
pspp-convert: Fix Mac OS build by eliminating redundant linking.

The Mach-O object format used on Mac OS handles redundant linking against
a shared object badly, whereas ELF doesn't have a problem, so this commit
fixes a crash on Mac OS.

Reported by Jeremy Lavergne.

10 years agopo: Update translations from translationproject.org. 20140109030509/pspp
Ben Pfaff [Thu, 9 Jan 2014 06:20:32 +0000 (22:20 -0800)]
po: Update translations from translationproject.org.

10 years agoT-Test indendendent variable test: Add vertical line to seperate variable name
John Darrington [Wed, 8 Jan 2014 13:52:43 +0000 (14:52 +0100)]
T-Test indendendent variable test: Add vertical line to seperate variable name
from group values.

Reported-By: Douglas Bonett <dgbonett@ucsc.edu>
10 years agoChange "Significance" to "Sig." in linear regression and one-way ANOVA
John Darrington [Wed, 8 Jan 2014 11:54:52 +0000 (12:54 +0100)]
Change "Significance" to "Sig." in linear regression and one-way ANOVA
output to be consistent with other PSPP analyses and with other software.

Reported-By: Douglas Bonett <dgbonett@ucsc.edu>
10 years agoPaired T-Test: Label first pair as 'Pair 1' instead of 'Pair 0'.
John Darrington [Wed, 8 Jan 2014 08:49:17 +0000 (09:49 +0100)]
Paired T-Test: Label first pair as 'Pair 1' instead of 'Pair 0'.

Reported-By: Douglas Bonett <dgbonett@ucsc.edu>
10 years agodoc/tutorial.texi: Correct the text describing intepretation of the Levene test. 20140103030503/pspp 20140104030504/pspp 20140105030502/pspp 20140106030503/pspp 20140107030503/pspp 20140108030513/pspp
John Darrington [Fri, 3 Jan 2014 06:22:19 +0000 (07:22 +0100)]
doc/tutorial.texi: Correct the text describing intepretation of the Levene test.

The text which described the interpretation of the Levene test, in the
independent samples T-TEST output erroneously inverted the sense of the conclusion.
This change corrects the text.

Reported-by: Jernej Pleteršek <jernej.pletersek@gmail.com>