pspp
12 years agoImprove the way in which histogram bin ranges are chosen 20120323030502/pspp
John Darrington [Thu, 22 Mar 2012 21:00:01 +0000 (22:00 +0100)]
Improve the way in which histogram bin ranges are chosen

12 years agoEXAMINE: Allow the /ID subcommand to take a non-numeric variable
John Darrington [Thu, 22 Mar 2012 09:56:01 +0000 (10:56 +0100)]
EXAMINE: Allow the /ID subcommand to take a non-numeric variable

12 years agoCorrect geometrical error plotting histograms
John Darrington [Tue, 20 Mar 2012 18:49:05 +0000 (19:49 +0100)]
Correct geometrical error plotting histograms

12 years agohistogram.c: histogram_create now takes bin width instead of the number of bins
John Darrington [Tue, 20 Mar 2012 18:03:09 +0000 (19:03 +0100)]
histogram.c: histogram_create now takes bin width instead of the number of bins

12 years agoNEWS: Mention changes to EXAMINE
John Darrington [Tue, 20 Mar 2012 17:33:13 +0000 (18:33 +0100)]
NEWS: Mention changes to EXAMINE

12 years agosort: Allocate space for sort buffers on demand, not in advance. 20120319030503/pspp 20120320030503/pspp 20120321030502/pspp 20120322030503/pspp
Ben Pfaff [Mon, 19 Mar 2012 04:40:49 +0000 (21:40 -0700)]
sort: Allocate space for sort buffers on demand, not in advance.

Each call to sort_create_writer() was allocating possibly a very
large amount of memory when in many cases only a small fraction of
that memory would actually be used.  This commit switches to
allocating a small amount of memory and gradually increasing the
allocation on demand.

Reported by John Darrington.
Bug #35887.

12 years agoRelax NPAR SIGN test
John Darrington [Sun, 18 Mar 2012 21:20:11 +0000 (22:20 +0100)]
Relax NPAR SIGN test

12 years agoImprove translator comments.
John Darrington [Sun, 18 Mar 2012 21:03:33 +0000 (22:03 +0100)]
Improve translator comments.

Apparently some of the TRANSLATOR comments were not clear enough. This
change makes it less easy for translators to become confused.

12 years agoFix compiler warnings 20120318030502/pspp
John Darrington [Sun, 18 Mar 2012 07:56:10 +0000 (08:56 +0100)]
Fix compiler warnings

12 years agoWhitespace changes only
John Darrington [Sun, 18 Mar 2012 07:32:58 +0000 (08:32 +0100)]
Whitespace changes only

12 years agoexamine.c: Rename xxx0 and xxx1 to something more sensible
John Darrington [Sun, 18 Mar 2012 07:28:57 +0000 (08:28 +0100)]
examine.c: Rename xxx0 and xxx1 to something more sensible

12 years agoods-reader: Fix memory leak.
Ben Pfaff [Sat, 17 Mar 2012 19:07:53 +0000 (12:07 -0700)]
ods-reader: Fix memory leak.

Found by valgrind.

12 years agoFix memory leaks in the new EXAMINE implementation.
John Darrington [Sat, 17 Mar 2012 12:09:50 +0000 (13:09 +0100)]
Fix memory leaks in the new EXAMINE implementation.

12 years agoEXAMINE: Complete re-implementation 20120317030502/pspp
John Darrington [Fri, 16 Mar 2012 19:37:21 +0000 (20:37 +0100)]
EXAMINE: Complete re-implementation

This change is a complete re-implementation of the EXAMINE command.
It includes a few minor changes to the tests, to accommodate slight
changes in semantics (to bring it in line with other software).
Closes bug #30732

12 years agoorder_stats: New function order_state_accumulate_idx
John Darrington [Fri, 16 Mar 2012 18:00:22 +0000 (19:00 +0100)]
order_stats: New function order_state_accumulate_idx

12 years agoCategoricals: Dont crash when getting non-existant user data
John Darrington [Fri, 16 Mar 2012 13:43:06 +0000 (14:43 +0100)]
Categoricals: Dont crash when getting non-existant user data

12 years agoods-reader: Fix write beyond end of buffer. 20120316030503/pspp
Ben Pfaff [Thu, 15 Mar 2012 05:05:54 +0000 (22:05 -0700)]
ods-reader: Fix write beyond end of buffer.

The compiler multiplies by sizeof *var_spec for us here, so doing
it ourselves writes past the end of the allocated space.

Tracked down with valgrind.

Reported-by: bojo42 <bojo42@gmail.com>
12 years agomath/np.c: Change np_create to take 3 doubles rather than a struct moment1*
John Darrington [Tue, 13 Mar 2012 09:40:51 +0000 (10:40 +0100)]
math/np.c: Change np_create to take 3 doubles rather than a struct moment1*

12 years agoRecode Dialog: Stringify the variable label
John Darrington [Wed, 14 Mar 2012 18:56:30 +0000 (19:56 +0100)]
Recode Dialog: Stringify the variable label

Ensure that the generated syntax has quotes around the variable label,
in case the label happens to contain spaces or other metacharacters.

12 years agoFix GtkCritical in recode dialog.
John Darrington [Wed, 14 Mar 2012 18:42:49 +0000 (19:42 +0100)]
Fix GtkCritical in recode dialog.

Commit 2b4fb7e846d62f1a70656bb42a0f769363ed0832 changed the internals of PsppireVarView.
Unfortunately recode-dialog.c was directly accessing the implementation instead of
using the interface.  This change fixes that.

Reported-by: kai hansen <kaiowesen@gmail.com>
12 years agopo: Update French translation from http://translationproject.org. 20120314030501/pspp
Ben Pfaff [Wed, 14 Mar 2012 05:11:49 +0000 (22:11 -0700)]
po: Update French translation from translationproject.org.

12 years agoRegression: Fix bug where missing values in the dependent variable were not getting... 20120312030502/pspp 20120313030502/pspp
John Darrington [Sun, 11 Mar 2012 18:00:18 +0000 (19:00 +0100)]
Regression: Fix bug where missing values in the dependent variable were not getting ignored.

Fixes bug #35758

12 years agopsppire-output-window: Use fallback PATH_MAX on GNU/Hurd. 20120311030503/pspp
Ben Pfaff [Sun, 11 Mar 2012 00:40:53 +0000 (16:40 -0800)]
psppire-output-window: Use fallback PATH_MAX on GNU/Hurd.

This fallback is from lib/clean-temp.c in Gnulib.

12 years agointeraction.c: interaction_dump: don't crash on empty interactions (ie those with... 20120304030503/pspp 20120305030502/pspp 20120306030503/pspp 20120307030505/pspp 20120308030501/pspp 20120309030503/pspp 20120310030505/pspp
John Darrington [Sat, 3 Mar 2012 11:20:45 +0000 (12:20 +0100)]
interaction.c: interaction_dump: don't crash on empty interactions (ie those with no variables)

12 years agoRemove unnecessary #include
John Darrington [Sat, 3 Mar 2012 11:12:54 +0000 (12:12 +0100)]
Remove unnecessary #include

12 years agomoments.c: Implement calc_semean.
John Darrington [Sat, 3 Mar 2012 11:05:17 +0000 (12:05 +0100)]
moments.c: Implement calc_semean.

This function was always declared, but never implemented.  It's fairly
trivial, but for consistency it makes sense to have here.

12 years agooneway.c: Set destroy pointer to NULL, since it is unused here
John Darrington [Sat, 3 Mar 2012 10:56:47 +0000 (11:56 +0100)]
oneway.c: Set destroy pointer to NULL, since it is unused here

12 years agoCategoricals.c: Call payload->destroy inside categoricals_done
John Darrington [Sat, 3 Mar 2012 10:49:22 +0000 (11:49 +0100)]
Categoricals.c: Call payload->destroy inside categoricals_done

12 years agocategoricals.c: Delete redundant function dump_interaction
John Darrington [Sat, 3 Mar 2012 10:40:44 +0000 (11:40 +0100)]
categoricals.c: Delete redundant function dump_interaction

 Remove dump_interaction, since there is such a function in interaction.c

12 years agoExamine tests: Remove leading slash from factor variables.
John Darrington [Sat, 3 Mar 2012 10:33:38 +0000 (11:33 +0100)]
Examine tests: Remove leading slash from factor variables.

I haven't seen any examples of syntax which does this, and it leads to
ambiguities: Does /STATISTICS refer to the STATISTICS subcommand or to
a factor variable named "STATISTICS".  I think it's better therefore to
disallow a slash here.

12 years agopool: Use 16-byte alignment on 64-bit architectures. 20120303030503/pspp
Ben Pfaff [Sat, 3 Mar 2012 05:22:16 +0000 (21:22 -0800)]
pool: Use 16-byte alignment on 64-bit architectures.

glibc jmp_buf needs 16-byte alignment on ia64.  PSPP allocates
jmp_buf inside a pool in a few places, so this change should fix
many tests on ia64.

Found by Debian autobuilder.

12 years agoSort attributes by name for display, to make order arch-independent. 20120302030501/pspp
Ben Pfaff [Fri, 2 Mar 2012 07:11:22 +0000 (23:11 -0800)]
Sort attributes by name for display, to make order arch-independent.

When data file attributes or variable attributes were displayed by
e.g. DISPLAY ATTRIBUTES or SYSFILE INFO, they were sorted in hash
order, which varies by architecture.  Therefore, the tests that
depended on this order failed on big-endian machines such as mips.
This commit fixes the problem by displaying attributes in sorted
order.

This fixes a failure in the "Perl copying system files" reported
by Debian buildds.

12 years agoidentifier: Apply isdigit() only to values in valid range.
Ben Pfaff [Fri, 2 Mar 2012 06:32:42 +0000 (22:32 -0800)]
identifier: Apply isdigit() only to values in valid range.

Applying isdigit() to a value that is not EOF or in the range
0...UCHAR_MAX yields undefined behavior and in fact caused a
segfault on several Debian architectures for U+FFFD.

Found by "lexer properly reports scan errors" test on Debian buildds.

12 years agozip-writer: Add missing #include <byteswap.h>.
Ben Pfaff [Fri, 2 Mar 2012 06:12:15 +0000 (22:12 -0800)]
zip-writer: Add missing #include <byteswap.h>.

Fixes a broken build on Debian GNU/Linux, mips architecture.

12 years agoencoding-guesser: Fall back to windows-1252 when UTF-8 can't be right.
Ben Pfaff [Thu, 1 Mar 2012 06:43:22 +0000 (22:43 -0800)]
encoding-guesser: Fall back to windows-1252 when UTF-8 can't be right.

Until now the encoding-guesser code has used UTF-8 as a fallback in
situations where we can tell that the file is not valid UTF-8.  In
this kind of situation having a single-byte character set as a
fallback makes more sense.  This commit hard-codes windows-1252 as
that fallback, since it is a widely encountered encoding (and
compatible with ISO-8859-1 as well).

John Darrington originally suggested this, if I recall correctly.

The bug report that spurred this work was from Harry Thijssen.  With
this commit, PSPP properly reads his windows-1252 file when the
system locale uses UTF-8 encoding.

12 years agoencoding-guesser: Remove spurious blank line.
Ben Pfaff [Mon, 27 Feb 2012 00:14:05 +0000 (16:14 -0800)]
encoding-guesser: Remove spurious blank line.

12 years agozip-writer.c: Fix incorrect big-endian handling.
John Darrington [Thu, 1 Mar 2012 20:48:09 +0000 (21:48 +0100)]
zip-writer.c: Fix incorrect big-endian handling.

12 years agoDon't update the icon cache if DESTDIR is non-empty.
John Darrington [Thu, 1 Mar 2012 20:21:44 +0000 (21:21 +0100)]
Don't update the icon cache if DESTDIR is non-empty.

Packagers generally use "make install DESTDIR=xxx" to generate their install
files, which are then copied in place to the target filesystem.  In such a
scenario, it's inappropriate to copy the icon.cache files.  This change
therefore does not update the icon cache if a DESTDIR has been specified.
Instead it's left to the packager to make his own arrangements for updating
the icon cache on the target filesystem.

12 years agoUpdated the German translation from http://translationproject.org. 20120301030501/pspp
Ben Pfaff [Thu, 1 Mar 2012 06:46:40 +0000 (22:46 -0800)]
Updated the German translation from translationproject.org.

12 years agoUpdated the Lithuanian translation from http://translationproject.org.
Ben Pfaff [Thu, 1 Mar 2012 06:46:03 +0000 (22:46 -0800)]
Updated the Lithuanian translation from translationproject.org.

12 years agoPostgres test: Create socket in /tmp instead of current directory
John Darrington [Tue, 28 Feb 2012 20:47:09 +0000 (21:47 +0100)]
Postgres test: Create socket in /tmp instead of current directory

It seems that some systems do not allow unix domain sockets with long
pathnames.  This change therefore creates a directory in /tmp using
the mktemp command.

12 years agoKruskal-Wallis: Sort grouped ranks before displaying them.
John Darrington [Wed, 29 Feb 2012 17:32:20 +0000 (18:32 +0100)]
Kruskal-Wallis: Sort grouped ranks before displaying them.

Debian's autobuilder showed that the KW tests were failing because the
hash which holds the rank entries was being iterated in arbitrary order.
This change sorts the entries before displaying them, so they should
always appear in the same order.

12 years agozip-test.c: More thorough error messages
John Darrington [Tue, 28 Feb 2012 21:50:25 +0000 (22:50 +0100)]
zip-test.c: More thorough error messages

12 years agoGenerate pspp.desktop 20120227030505/pspp 20120228030501/pspp 20120229030501/pspp
John Darrington [Sun, 26 Feb 2012 17:11:43 +0000 (18:11 +0100)]
Generate pspp.desktop

This change autogenerates the pspp.desktop file instead of simply including it.
This allows us to have the translations updated from the po files instead of
someone having to manually enter the strings directly in the file.

12 years agoRemove translator credits from AUTHORS file.
John Darrington [Sun, 26 Feb 2012 17:17:13 +0000 (18:17 +0100)]
Remove translator credits from AUTHORS file.

This was getting hard to maintain, and is redundant, since there is
a "translator-credits" string in each translation.

12 years agoascii.c: Reallocate the lines after the page is resized
John Darrington [Sat, 25 Feb 2012 13:59:14 +0000 (14:59 +0100)]
ascii.c: Reallocate the lines after the page is resized

12 years agoRemove redundant assignment
John Darrington [Sat, 25 Feb 2012 13:28:20 +0000 (14:28 +0100)]
Remove redundant assignment

12 years agoascii.c: Move auto out of the #if HAVE_DECL_SIGWINCH condtional
John Darrington [Sat, 25 Feb 2012 11:22:32 +0000 (12:22 +0100)]
ascii.c: Move auto out of the #if HAVE_DECL_SIGWINCH condtional

Whether or not the width/length should be automatic should depend only on whether the
output is a terminal, and not upon the existance of SIGWINCH

12 years agoascii.c (ascii_reserve) Added assertion.
John Darrington [Sat, 25 Feb 2012 11:15:03 +0000 (12:15 +0100)]
ascii.c (ascii_reserve) Added assertion.

Added this assertion to catch a yet-to-be fixed array bounds bug.

12 years agopo: Update Dutch translation from translationproject.org.
Ben Pfaff [Sun, 26 Feb 2012 18:01:26 +0000 (10:01 -0800)]
po: Update Dutch translation from translationproject.org.

12 years agoAdded SHOW options DIRECTORY, ENVIRONMENT, TEMPDIR and VERSION 20120225030502/pspp 20120226030503/pspp
John Darrington [Sat, 25 Feb 2012 10:57:06 +0000 (11:57 +0100)]
Added SHOW options DIRECTORY, ENVIRONMENT, TEMPDIR and VERSION

12 years agoFix bug #35532: Error setting PsppireDict predicate
John Darrington [Thu, 23 Feb 2012 19:07:27 +0000 (20:07 +0100)]
Fix bug #35532: Error setting PsppireDict predicate

12 years agoMEANS: plug memory leaks 20120222030502/pspp 20120223030501/pspp 20120224030501/pspp
John Darrington [Mon, 20 Feb 2012 08:14:13 +0000 (09:14 +0100)]
MEANS: plug memory leaks

12 years agoAttempt to cope with endian issues in zip reader. 20120220030501/pspp 20120221030502/pspp
John Darrington [Sun, 19 Feb 2012 18:26:23 +0000 (19:26 +0100)]
Attempt to cope with endian issues in zip reader.

12 years agoODS Reader: fix uninitialised variables 20120219030503/pspp
John Darrington [Sun, 19 Feb 2012 08:48:31 +0000 (09:48 +0100)]
ODS Reader: fix uninitialised variables

12 years agostr: Skip only up to one-past-the-end in ss_tokenize().
Ben Pfaff [Sat, 18 Feb 2012 19:03:01 +0000 (11:03 -0800)]
str: Skip only up to one-past-the-end in ss_tokenize().

If ss_tokenize() was called with '*save_idx' positioned at
one-past-the-end of a string, it would continue to advance it past
that point, which is surprising.  This avoids doing that.

Found by Valgrind.
Reported-by: John Darrington <john@darrington.wattle.id.au>
12 years agosys-file-reader: Avoid read past end of buffer.
Ben Pfaff [Sat, 18 Feb 2012 19:01:11 +0000 (11:01 -0800)]
sys-file-reader: Avoid read past end of buffer.

The "unexpected label source in mrsets" test caused a read past the
end of the input buffer in text_parse_counted_string().  This fixes
the problem.

Found by Valgrind.
Reported-by: John Darrington <john@darrington.wattle.id.au>
12 years agotests: Avoid failure due to race to mkdir tests/valgrind.
Ben Pfaff [Sat, 18 Feb 2012 18:59:08 +0000 (10:59 -0800)]
tests: Avoid failure due to race to mkdir tests/valgrind.

12 years agocategoricals: Mark dump_interaction() and categoricals_dump() UNUSED.
Ben Pfaff [Sat, 18 Feb 2012 17:54:58 +0000 (09:54 -0800)]
categoricals: Mark dump_interaction() and categoricals_dump() UNUSED.

This avoids warnings that they are unused.

It might be better to just remove them, since they would still be
present in the Git history.

12 years agoRevert "Mark separator names for translation"
John Darrington [Sat, 18 Feb 2012 18:05:41 +0000 (19:05 +0100)]
Revert "Mark separator names for translation"

This reverts commit 02c89b93ff0b5942e66fdfbb7562641a0ff29d2c.
Ben pointed out that this change was incorrect.

12 years agoRemove erroneous case_unrefs. Found by valgrind
John Darrington [Sat, 18 Feb 2012 13:36:23 +0000 (14:36 +0100)]
Remove erroneous case_unrefs. Found by valgrind

12 years agoUse if(0) instead of #if 0
John Darrington [Sat, 18 Feb 2012 11:18:23 +0000 (12:18 +0100)]
Use if(0) instead of #if 0

The Gnu Coding Standards recommend run time conditionals instead of preprocessor
conditionals.  I think this makes sense too, since #if 0'd code becomes obsolete
without anyone noticing.

12 years agocategoricals.c: Fix memory access problems on empty interactions.
John Darrington [Sat, 18 Feb 2012 11:12:46 +0000 (12:12 +0100)]
categoricals.c: Fix memory access problems on empty interactions.

Make sure the categoricals behave correctly when passed
an interaction which contains no variables (ie, no catagories).

12 years agofix warnings 20120217030503/pspp 20120218030508/pspp
John Darrington [Thu, 16 Feb 2012 19:00:58 +0000 (20:00 +0100)]
fix warnings

12 years agoMEANS: Correct position of double vertical rule
John Darrington [Thu, 16 Feb 2012 17:18:12 +0000 (18:18 +0100)]
MEANS: Correct position of double vertical rule

12 years agoMeans: Report totals as well as catagories
John Darrington [Thu, 16 Feb 2012 14:05:07 +0000 (15:05 +0100)]
Means: Report totals as well as catagories

12 years agoPsppire: Allow syntax files to be provided as an argument 20120216030502/pspp
John Darrington [Wed, 15 Feb 2012 10:08:58 +0000 (11:08 +0100)]
Psppire: Allow syntax files to be provided as an argument

12 years agoReliability Test: Do not allow splits greater than the number of variables. 20120215030501/pspp
John Darrington [Tue, 14 Feb 2012 10:13:15 +0000 (11:13 +0100)]
Reliability Test: Do not allow splits greater than the number of variables.

It's not meaningful to have a split point which is greater than the number
of variables (and not useful when they are equal).  And the system was
exhaughsting its memory when such a test was run.  This change therefore
disallows such a combination and updates the behaviour of the GUI accordingly.

12 years agoAdd missing translation markup 20120214030503/pspp
John Darrington [Mon, 13 Feb 2012 20:04:11 +0000 (21:04 +0100)]
Add missing translation markup

12 years agoUse ButtonBox Mask nick field for it's correct purpose.
John Darrington [Mon, 13 Feb 2012 18:16:37 +0000 (19:16 +0100)]
Use ButtonBox Mask nick field for it's correct purpose.

It seems that the GFlagsValue nick field was mistakenly being used as if
it was a translatable label.  Not only was this wrong, but it also created
unnecessary work for translators.  This change provides descriptions of the
flags and removes them from the translatable strings.

12 years agoMark separator names for translation
John Darrington [Mon, 13 Feb 2012 17:35:53 +0000 (18:35 +0100)]
Mark separator names for translation

12 years agoAdded a dialog box for the MEANS command 20120213030503/pspp
John Darrington [Sun, 12 Feb 2012 10:25:31 +0000 (11:25 +0100)]
Added a dialog box for the MEANS command

12 years agoexamples: Change extensions from .stat to .sps. 20120212030502/pspp
Ben Pfaff [Sat, 11 Feb 2012 18:22:17 +0000 (10:22 -0800)]
examples: Change extensions from .stat to .sps.

.sps makes a lot more sense.

Reported-by: Harry Thijssen <pspp@sjpaes.nl>
12 years agotests: Improve test for supported encodings.
Ben Pfaff [Sat, 11 Feb 2012 18:16:25 +0000 (10:16 -0800)]
tests: Improve test for supported encodings.

I misunderstood the purpose for the config.charset script.  I had a
notion that it was supposed to print all of the character sets that
are supported by the operating system.  It doesn't (it prints
character set names that need translation for the operating system).

This change switches to using the same code that will be used at
PSPP runtime to determine whether an encoding is supported, for
determining during the tests whether an encoding is supported.

This should cause fewer tests to be skipped on Mac OS.

Reported-by: Jeremy Lavergne <jeremy@lavergne.gotdns.org>
12 years agoperl-module: use $(MAKE) directly in rules that call make.
Ben Pfaff [Sat, 11 Feb 2012 18:09:28 +0000 (10:09 -0800)]
perl-module: use $(MAKE) directly in rules that call make.

The GNU make manual says that $(MAKE) must appear directly in a rule
rather than through recursive expansion to work properly.  (This
change fixes a GNU make warning about an unavailable jobserver.)

12 years agoFixed bug #35494 - Levene test crash on no valid values. 20120211030508/pspp
John Darrington [Fri, 10 Feb 2012 12:40:06 +0000 (13:40 +0100)]
Fixed bug #35494 - Levene test crash on no valid values.

12 years agoCorrected typo in documentation 20120210030503/pspp
John Darrington [Thu, 9 Feb 2012 20:35:53 +0000 (21:35 +0100)]
Corrected typo in documentation

12 years agopo: Update Slovenian translation from translationproject.org. 20120209030502/pspp
Ben Pfaff [Thu, 9 Feb 2012 06:30:38 +0000 (22:30 -0800)]
po: Update Slovenian translation from translationproject.org.

12 years agoGET: Add an ENCODING subcommand. 20120208030501/pspp
Ben Pfaff [Wed, 8 Feb 2012 06:58:09 +0000 (22:58 -0800)]
GET: Add an ENCODING subcommand.

For example, this allows a Swedish EBCDIC file that doesn't contain
any indication of its codepage to be read with "ENCODING='IBM278'".

12 years agosys-file: Support EBCDIC magic number in system files.
Ben Pfaff [Wed, 8 Feb 2012 06:20:28 +0000 (22:20 -0800)]
sys-file: Support EBCDIC magic number in system files.

This makes PSPP able to read the 1980s EBCDIC-encoded system file
provided by Chris Muller <chris.muller@mullermedia.com>.

12 years agosys-file: Recode string fields in file header also.
Ben Pfaff [Wed, 8 Feb 2012 06:08:41 +0000 (22:08 -0800)]
sys-file: Recode string fields in file header also.

Chris Muller <chris.muller@mullermedia.com> provided an example
EBCDIC-encoded mainframe system file from the 1980s.  This commit
goes one step toward being able to read and write these files in
PSPP, by recoding most of the string fields in the file header.

12 years agodictionary: Truncate file label in dictionary encoding, not UTF-8.
Ben Pfaff [Wed, 8 Feb 2012 05:18:08 +0000 (21:18 -0800)]
dictionary: Truncate file label in dictionary encoding, not UTF-8.

The limiting factor is bytes in the on-disk format and so there's
no point in truncating in terms of the in-memory format.

12 years agopor-file-writer: Avoid infinite loop with value labels. 20120207030502/pspp
Ben Pfaff [Tue, 7 Feb 2012 06:23:44 +0000 (22:23 -0800)]
por-file-writer: Avoid infinite loop with value labels.

Bug report and fix by Kent Nassen <knassen@umich.edu>.

12 years agogui: Fix warnings due to missing GObject type conversions.
Ben Pfaff [Tue, 7 Feb 2012 06:13:01 +0000 (22:13 -0800)]
gui: Fix warnings due to missing GObject type conversions.

12 years agojonckheere-terpstra: Declare variables at beginning of block.
Ben Pfaff [Tue, 7 Feb 2012 06:11:19 +0000 (22:11 -0800)]
jonckheere-terpstra: Declare variables at beginning of block.

12 years agoNPAR /J-T correct significance calculation when test statistic is greater than zero 20120206030503/pspp
John Darrington [Sun, 5 Feb 2012 17:41:53 +0000 (18:41 +0100)]
NPAR /J-T correct significance calculation when test statistic is greater than zero

12 years agogui: Fix grammar in user message in psppire-data-window.c
Ben Pfaff [Sun, 5 Feb 2012 19:20:55 +0000 (11:20 -0800)]
gui: Fix grammar in user message in psppire-data-window.c

Reported-by: Harry Thijssen <pspp@sjpaes.nl>
12 years agonpar.c: Added some missing initialisers.
John Darrington [Sun, 5 Feb 2012 16:32:17 +0000 (17:32 +0100)]
npar.c: Added some missing initialisers.

Also reorder the initialisers to the same order as their declarations

12 years agoAdded an implementation of the Jonckheere-Terpstra test
John Darrington [Sun, 5 Feb 2012 16:15:02 +0000 (17:15 +0100)]
Added an implementation of the Jonckheere-Terpstra test

12 years agoAdd Slovenian translation from translationproject.org. 20120205030502/pspp
Ben Pfaff [Sun, 5 Feb 2012 03:31:25 +0000 (19:31 -0800)]
Add Slovenian translation from translationproject.org.

This translation is by Matej Urbančič <matej.urban@gmail.com> and
the Slovenian translation team.

12 years agopo: Update Dutch translation from translationproject.org.
Ben Pfaff [Sun, 5 Feb 2012 03:26:22 +0000 (19:26 -0800)]
po: Update Dutch translation from translationproject.org.

12 years agopo: Update German translation from translationproject.org.
Ben Pfaff [Sun, 5 Feb 2012 03:26:04 +0000 (19:26 -0800)]
po: Update German translation from translationproject.org.

12 years agoLogo rework.
John Darrington [Sat, 4 Feb 2012 12:46:31 +0000 (13:46 +0100)]
Logo rework.

From work contributed by bojo42: Reworked the transparent part of the logo.
Also "harmonised" the fonts used in the logo and the splash screen.

12 years agoNew abstract base class: PsppireWindowBase 20120204030502/pspp
John Darrington [Sat, 4 Feb 2012 07:44:05 +0000 (08:44 +0100)]
New abstract base class: PsppireWindowBase

Created a new abstract base class for windows/dialogs and moved the
psppire_conf manipulation to there.  Should fix problems reported by bojo42
where the window geometry wasn't always correctly saved.

12 years agoIncrement version to 0.7.9 to send to Translation Project.
Ben Pfaff [Sat, 4 Feb 2012 03:11:32 +0000 (19:11 -0800)]
Increment version to 0.7.9 to send to Translation Project.

12 years agoError with g_critical instead of g_assert on invalid variable types. 20120203030502/pspp
John Darrington [Thu, 2 Feb 2012 20:46:39 +0000 (21:46 +0100)]
Error with g_critical instead of g_assert on invalid variable types.

12 years agoRewrite documentation for the RECODE command. 20120201030502/pspp 20120202030501/pspp
John Darrington [Tue, 31 Jan 2012 21:37:49 +0000 (22:37 +0100)]
Rewrite documentation for the RECODE command.

Reviewed-by: Ben Pfaff
12 years agoConverted Sort dialog to a PsppireDialogAction object
John Darrington [Tue, 31 Jan 2012 20:19:41 +0000 (21:19 +0100)]
Converted Sort dialog to a PsppireDialogAction object

12 years agopo: Update German translation from translation-project.org. 20120131030501/pspp
Ben Pfaff [Tue, 31 Jan 2012 06:01:39 +0000 (22:01 -0800)]
po: Update German translation from translation-project.org.

12 years agoConverted reliability dialog to a PsppireDialogAction object
John Darrington [Mon, 30 Jan 2012 20:40:33 +0000 (21:40 +0100)]
Converted reliability dialog to a PsppireDialogAction object