pspp
5 weeks agosystem file cealnsups rust4
Ben Pfaff [Wed, 16 Jul 2025 14:54:21 +0000 (07:54 -0700)]
system file cealnsups

5 weeks agocleanup
Ben Pfaff [Wed, 16 Jul 2025 14:42:10 +0000 (07:42 -0700)]
cleanup

5 weeks agofix typo
Ben Pfaff [Wed, 16 Jul 2025 00:21:32 +0000 (17:21 -0700)]
fix typo

5 weeks agoadds ome advice
Ben Pfaff [Wed, 16 Jul 2025 00:20:52 +0000 (17:20 -0700)]
adds ome advice

5 weeks agocleanup sys module
Ben Pfaff [Wed, 16 Jul 2025 00:19:15 +0000 (17:19 -0700)]
cleanup sys module

5 weeks agoSeparate the file header from other records, since it's special
Ben Pfaff [Mon, 14 Jul 2025 22:00:30 +0000 (15:00 -0700)]
Separate the file header from other records, since it's special

5 weeks agointroduce SystemFile
Ben Pfaff [Mon, 14 Jul 2025 17:38:23 +0000 (10:38 -0700)]
introduce SystemFile

5 weeks agocleanup and docs
Ben Pfaff [Mon, 14 Jul 2025 16:10:10 +0000 (09:10 -0700)]
cleanup and docs

5 weeks agocleanup
Ben Pfaff [Mon, 14 Jul 2025 02:59:58 +0000 (19:59 -0700)]
cleanup

5 weeks agomore cleanup
Ben Pfaff [Sun, 13 Jul 2025 22:10:24 +0000 (15:10 -0700)]
more cleanup

5 weeks agocleanup
Ben Pfaff [Sun, 13 Jul 2025 21:15:55 +0000 (14:15 -0700)]
cleanup

5 weeks agocleanup
Ben Pfaff [Sun, 13 Jul 2025 21:13:53 +0000 (14:13 -0700)]
cleanup

5 weeks agoget rid of TBD errors
Ben Pfaff [Sun, 13 Jul 2025 20:44:30 +0000 (13:44 -0700)]
get rid of TBD errors

5 weeks agowarning improvements
Ben Pfaff [Sun, 13 Jul 2025 20:23:42 +0000 (13:23 -0700)]
warning improvements

5 weeks agoBreak out offsets from sysfile raw errors.
Ben Pfaff [Sun, 13 Jul 2025 19:31:13 +0000 (12:31 -0700)]
Break out offsets from sysfile raw errors.

5 weeks agomore cleanup
Ben Pfaff [Sun, 13 Jul 2025 15:37:55 +0000 (08:37 -0700)]
more cleanup

5 weeks agomore cleanup
Ben Pfaff [Sun, 13 Jul 2025 15:29:42 +0000 (08:29 -0700)]
more cleanup

5 weeks agomore cleanup
Ben Pfaff [Sun, 13 Jul 2025 00:17:53 +0000 (17:17 -0700)]
more cleanup

5 weeks agomore cleanup
Ben Pfaff [Sat, 12 Jul 2025 23:43:21 +0000 (16:43 -0700)]
more cleanup

5 weeks agowork on comments and cleanliness
Ben Pfaff [Sat, 12 Jul 2025 23:30:44 +0000 (16:30 -0700)]
work on comments and cleanliness

5 weeks agoClean up RawDatum a bit.
Ben Pfaff [Sat, 12 Jul 2025 22:48:53 +0000 (15:48 -0700)]
Clean up RawDatum a bit.

5 weeks agowork on comments
Ben Pfaff [Sat, 12 Jul 2025 22:31:22 +0000 (15:31 -0700)]
work on comments

6 weeks agorust: Remove `sack` standalone program.
Ben Pfaff [Sat, 12 Jul 2025 17:17:44 +0000 (10:17 -0700)]
rust: Remove `sack` standalone program.

It wasn't really useful and it didn't make sense to run it as a test.

6 weeks agoDocs for the `lex` module.
Ben Pfaff [Sat, 12 Jul 2025 17:13:32 +0000 (10:13 -0700)]
Docs for the `lex` module.

6 weeks agoWork on docs
Ben Pfaff [Sat, 12 Jul 2025 16:34:22 +0000 (09:34 -0700)]
Work on docs

6 weeks agowork on docs
Ben Pfaff [Sat, 12 Jul 2025 00:05:30 +0000 (17:05 -0700)]
work on docs

6 weeks agorust: Fix `cargo doc` warnings.
Ben Pfaff [Fri, 11 Jul 2025 23:53:49 +0000 (16:53 -0700)]
rust: Fix `cargo doc` warnings.

6 weeks agorust: Add support for decrypting encrypted SPSS files.
Ben Pfaff [Thu, 10 Jul 2025 00:48:13 +0000 (17:48 -0700)]
rust: Add support for decrypting encrypted SPSS files.

Also, fix a bug in the C implementation of password decoding.

6 weeks agoFix expected output for compressed data tests.
Ben Pfaff [Fri, 11 Jul 2025 00:23:02 +0000 (17:23 -0700)]
Fix expected output for compressed data tests.

6 weeks agoInitial work on Rust implementation of PSPP.
Ben Pfaff [Sun, 19 Mar 2023 00:50:19 +0000 (17:50 -0700)]
Initial work on Rust implementation of PSPP.

To run what's here, use `cargo run` inside the `rust` directory to run
it in place, or `cargo install` to install it to a local directory.  The
`convert` command is the only thing that really works so far.

Signed-off-by: Ben Pfaff <blp@cs.stanford.edu>
2 months agoext-array: Use fseeko64 instead of fseeko, if available.
Ben Pfaff [Thu, 5 Jun 2025 20:18:02 +0000 (13:18 -0700)]
ext-array: Use fseeko64 instead of fseeko, if available.

2 months agoDESCRIPTIVES: Fix calculation of Z-scores with listwise missing values.
Ben Pfaff [Wed, 4 Jun 2025 21:34:03 +0000 (14:34 -0700)]
DESCRIPTIVES: Fix calculation of Z-scores with listwise missing values.

2 months agoMacOS: Adapt Readme and initialization for bundle
Friedrich Beckmann [Fri, 30 May 2025 11:51:29 +0000 (13:51 +0200)]
MacOS: Adapt Readme and initialization for bundle

I changed the way the bundle is build to allow codesigning.
The binary is moved to Content/MacOS and therefore the location
of the resources like icons is changed with respect to the
binary location.

5 months agopo: Update 'sv' translation from translationproject.org.
Ben Pfaff [Fri, 7 Mar 2025 00:44:07 +0000 (16:44 -0800)]
po: Update 'sv' translation from translationproject.org.

6 months agoFix order of variables in error message.
Ben Pfaff [Mon, 17 Feb 2025 17:39:54 +0000 (09:39 -0800)]
Fix order of variables in error message.

Thanks to Frans Houweling for reporting the bug.

6 months agopo: Add sv (Swedish) translation from translationproject.org.
Ben Pfaff [Tue, 11 Feb 2025 16:40:24 +0000 (08:40 -0800)]
po: Add sv (Swedish) translation from translationproject.org.

6 months agoIndependent Samples T-Test Dialog: Fix Crash
John Darrington [Mon, 3 Feb 2025 16:27:05 +0000 (17:27 +0100)]
Independent Samples T-Test Dialog: Fix Crash

Only unref the existing grouping variable, if the new one is non-null.
Otherwise it gets unreffed too many times.

Fixes bug 66747

6 months agoQUICK CLUSTER: Use fixed format for cluster centers.
Ben Pfaff [Tue, 28 Jan 2025 22:22:51 +0000 (14:22 -0800)]
QUICK CLUSTER: Use fixed format for cluster centers.

This command used the variables' own formats for their centers.  This was
a bad idea for at least two reasons.  First, the variables might have a
format that does not show any decimal places, but clusters wouldn't
ordinarily have integer centers, so this is confusing.  Second, if a
cluster center happens to have a value label, it could be shown instead,
which is even more confusing.  This fixes the problem by using a fixed
format instead.

Thanks to Andreas Hammer for reporting the problem.

8 months agotests: Make it harder to run the testsuite outside of "make check".
Ben Pfaff [Wed, 4 Dec 2024 22:28:31 +0000 (14:28 -0800)]
tests: Make it harder to run the testsuite outside of "make check".

This confused a user.

8 months agopo: Update translations.
Ben Pfaff [Sun, 1 Dec 2024 23:33:55 +0000 (15:33 -0800)]
po: Update translations.

8 months agopo: Update translations.
Ben Pfaff [Tue, 26 Nov 2024 19:28:10 +0000 (11:28 -0800)]
po: Update translations.

9 months agoREADME.Git: More MacOS build and debug infos. Switch to brew
Friedrich Beckmann [Fri, 22 Nov 2024 13:50:43 +0000 (14:50 +0100)]
README.Git: More MacOS build and debug infos. Switch to brew

I modified the build instructions from macports to brew because
I use brew now. I added some instructions for debugging with lldb.

9 months agoREADME.Git: Just Whitespace
Friedrich Beckmann [Fri, 22 Nov 2024 13:35:16 +0000 (14:35 +0100)]
README.Git: Just Whitespace

9 months agomessage: check if location is present before accessing it
Friedrich Beckmann [Fri, 22 Nov 2024 13:21:27 +0000 (14:21 +0100)]
message: check if location is present before accessing it

The message location is accessed without checking if the
location is actually present. I added a check if the message
location is there. Thanks to Simon Jacobs for reporting the
bug!

Closes: https://savannah.gnu.org/bugs/?66239
9 months agoimport assistant: fix variable width after guesser with output constraints
Friedrich Beckmann [Thu, 21 Nov 2024 12:25:10 +0000 (13:25 +0100)]
import assistant: fix variable width after guesser with output constraints

The current code fixes the guessed variable width according to
input constraints. But the data output stages checks the
width against output constraints. The minimum width for FMT_E
is 1 for input and 6 for output. When the guesser proposes FMT_E
with width 5, then 5 is chosen. With this patch, the width is
fixed to 6.

Thanks to Fatemeh Ilkhani for reporting the bug and providing a
csv that triggers the crash.

Closes: https://savannah.gnu.org/bugs/?66456
10 months agoMATRIX: Fix test for very large matrix.
Ben Pfaff [Mon, 21 Oct 2024 17:49:00 +0000 (10:49 -0700)]
MATRIX: Fix test for very large matrix.

I kept getting processes killed as out-of-memory for the "MATRIX - very
large matrices" test.  Somehow, GSL was really trying to allocate a
matrix with 230,000,000,000 elements, which would require 1.84 PB of
memory, which I don't have.

This makes the matrix allocator report out-of-memory if a sequence would
have more than about 2 billion elements, fixing my OOM killer problem.

10 months agoAdd translation context for statistical "Error"
Theppitak Karoonboonyanan [Fri, 11 Oct 2024 09:46:06 +0000 (16:46 +0700)]
Add translation context for statistical "Error"

Since gnulib's gettext.h defines pgettext() as macro with string
catenation, it's impossible to add pgettext version API for
pivot_value_new_text().  Rather, the pivot_value creation part is
split into pivot_value_new_text_translate() and let's expand
pgettext() upon calling it.

With this, C_() and NC_() macros are defined for translation with
context.

Fixing bug #66244.

10 months agogui: Fix translatability of tip meant for non-free operating systems.
Ben Pfaff [Mon, 21 Oct 2024 16:42:52 +0000 (09:42 -0700)]
gui: Fix translatability of tip meant for non-free operating systems.

Thanks to Theppitak Karoonboonyanan for reporting this bug.

10 months agowindows: update spreadsheet build dependency from 0.8 to 0.10
Friedrich Beckmann [Sun, 13 Oct 2024 14:47:05 +0000 (16:47 +0200)]
windows: update spreadsheet build dependency from 0.8 to 0.10

The windows build on cais.etech.fh-augsburg.de failed because
the windows build dependencies script build spread-sheet 0.8
while pspp now insists on 0.10.

10 months agopo: Update translations from translationproject.org.
Ben Pfaff [Fri, 27 Sep 2024 14:49:21 +0000 (07:49 -0700)]
po: Update translations from translationproject.org.

12 months agodoc: Document FILTER on REGRESSION.
Ben Pfaff [Mon, 19 Aug 2024 22:08:01 +0000 (15:08 -0700)]
doc: Document FILTER on REGRESSION.

Thanks to Andreas Hammer for the suggestion.

14 months agoAvoid a crash when attempting to allocate very large matrices.
John Darrington [Sun, 9 Jun 2024 10:16:38 +0000 (12:16 +0200)]
Avoid a crash when attempting to allocate very large matrices.

Partial fix for bug #65545

14 months agoClipboard: psppire-output-view - Adapt advertised target formats
Friedrich Beckmann [Sun, 2 Jun 2024 17:45:01 +0000 (19:45 +0200)]
Clipboard: psppire-output-view - Adapt advertised target formats

When charts are copied to the clipboard, then also text formats
were advertised. This patch restricts the advertised clipboard
formats such that applications choose the correct format.

See: https://savannah.gnu.org/bugs/?65288

The preferred format for charts/images is svg or some image format
For tables no image format is advertised such that John can paste
html as editable table in libreoffice.

14 months agoFix a crash when attempting to add vectors whose names differed only in case.
John Darrington [Sun, 2 Jun 2024 15:11:36 +0000 (17:11 +0200)]
Fix a crash when attempting to add vectors whose names differed only in case.

Partial fix for bug #65545

14 months agoFix an assertion failure when running PERMISSIONS with the --safer option
John Darrington [Sun, 2 Jun 2024 09:43:27 +0000 (11:43 +0200)]
Fix an assertion failure  when running PERMISSIONS with the --safer option

Partial fix for bug #65545

14 months agoRecent ssw to 0.10
John Darrington [Sat, 14 Oct 2023 04:56:51 +0000 (06:56 +0200)]
Recent ssw to 0.10

15 months agodoc: set LC_ALL=C for building tutorial images
Friedrich Beckmann [Sat, 11 May 2024 15:20:46 +0000 (17:20 +0200)]
doc: set LC_ALL=C for building tutorial images

The previous commit to fix the "make install" problem in shells which
have a locale setting different from "US" did not work for Bernd on
archlinux. Thanks for reporting the problem!

Closes: https://savannah.gnu.org/bugs/?65124
15 months agoLOOP: Fix null pointer dereference for errors with index expressions.
Ben Pfaff [Sun, 5 May 2024 19:35:25 +0000 (12:35 -0700)]
LOOP: Fix null pointer dereference for errors with index expressions.

Thanks to Zhou Geng for reporting this bug as poc8 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

15 months agoNPAR: Fix order of arguments to xnmalloc().
Ben Pfaff [Sun, 5 May 2024 18:40:40 +0000 (11:40 -0700)]
NPAR: Fix order of arguments to xnmalloc().

15 months agopivot-output: Fix crash when layers axis has no leaves.
Ben Pfaff [Fri, 3 May 2024 21:45:11 +0000 (14:45 -0700)]
pivot-output: Fix crash when layers axis has no leaves.

Thanks to Zhou Geng for reporting this bug as poc6 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

15 months agoMCONVERT: Prevent from appearing inside DO IF or LOOP.
Ben Pfaff [Fri, 3 May 2024 16:25:10 +0000 (09:25 -0700)]
MCONVERT: Prevent from appearing inside DO IF or LOOP.

Also, fix a typo in a user string.

Thanks to Zhou Geng for reporting this bug as poc5 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

15 months agoMATRIX: Prevent from appearing inside DO IF or LOOP.
Ben Pfaff [Fri, 3 May 2024 16:21:05 +0000 (09:21 -0700)]
MATRIX: Prevent from appearing inside DO IF or LOOP.

Thanks to Zhou Geng for reporting this bug as poc3 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

15 months agoMATRIX: Avoid assertion failure when DO IF has multiple ELSEs.
Ben Pfaff [Fri, 3 May 2024 00:36:07 +0000 (17:36 -0700)]
MATRIX: Avoid assertion failure when DO IF has multiple ELSEs.

Thanks to Zhou Geng for reporting this bug as poc42 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

15 months agoexpressions: Fix crash on type mismatch corner case.
Ben Pfaff [Thu, 2 May 2024 19:59:12 +0000 (12:59 -0700)]
expressions: Fix crash on type mismatch corner case.

Thanks to Zhou Geng for reporting this bug as poc37 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

16 months agoascii: Avoid assertion failure on width underflow in text_draw().
Ben Pfaff [Fri, 19 Apr 2024 16:46:05 +0000 (09:46 -0700)]
ascii: Avoid assertion failure on width underflow in text_draw().

Thanks to Zhou Geng for reporting this bug as poc33 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

16 months agotransformations: Fix memory error in trns_chain_prepend().
Ben Pfaff [Fri, 19 Apr 2024 00:27:12 +0000 (17:27 -0700)]
transformations: Fix memory error in trns_chain_prepend().

This only worked if the transformation chain had one element.

Thanks to Zhou Geng for reporting this bug as poc30 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

16 months agoLIST: Fix bug listing duplicate variables.
Ben Pfaff [Sun, 14 Apr 2024 17:07:16 +0000 (10:07 -0700)]
LIST: Fix bug listing duplicate variables.

Thanks to Zhou Geng for reporting this bug as poc28 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

16 months agoSHOW: Fix memory leak on error path.
Ben Pfaff [Sun, 14 Apr 2024 16:51:58 +0000 (09:51 -0700)]
SHOW: Fix memory leak on error path.

16 months agoSHOW: Fix crash in SHOW TITLE and SHOW SUBTITLE if there is no (sub)title.
Ben Pfaff [Sun, 14 Apr 2024 16:48:23 +0000 (09:48 -0700)]
SHOW: Fix crash in SHOW TITLE and SHOW SUBTITLE if there is no (sub)title.

Thanks to Zhou Geng for reporting this bug as poc14 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

16 months agopo: Update translations from translationproject.org.
Ben Pfaff [Sun, 14 Apr 2024 16:44:44 +0000 (09:44 -0700)]
po: Update translations from translationproject.org.

16 months agou8-line: Fix handling of double-width characters in u8_line_reserve().
Ben Pfaff [Sun, 14 Apr 2024 16:14:43 +0000 (09:14 -0700)]
u8-line: Fix handling of double-width characters in u8_line_reserve().

This code was terribly confusing.  This adds a little redundancy but it is
easier to understand.

This is difficult logic and more bugs may lurk.

Thanks to Zhou Geng for reporting this bug as poc13 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

16 months agou8-line: Fix read past end of buffer in u8_line_find_pos().
Ben Pfaff [Sun, 14 Apr 2024 16:11:12 +0000 (09:11 -0700)]
u8-line: Fix read past end of buffer in u8_line_find_pos().

16 months agoFix bug found by fuzzer.
Ben Pfaff [Thu, 4 Apr 2024 20:53:36 +0000 (13:53 -0700)]
Fix bug found by fuzzer.

Thanks to Zhou Geng for reporting this bug as poc9 in the report here:
https://lists.gnu.org/archive/html/bug-gnu-pspp/2024-03/msg00015.html

16 months agopo: Update translations from translationproject.org.
Ben Pfaff [Wed, 3 Apr 2024 20:11:38 +0000 (13:11 -0700)]
po: Update translations from translationproject.org.

16 months agopo: Update translations from translationproject.org.
Ben Pfaff [Mon, 1 Apr 2024 17:38:23 +0000 (10:38 -0700)]
po: Update translations from translationproject.org.

16 months agopo: Update translations from translationproject.org.
Ben Pfaff [Fri, 29 Mar 2024 15:47:09 +0000 (08:47 -0700)]
po: Update translations from translationproject.org.

16 months agopo: Update translations from translationproject.org.
Ben Pfaff [Thu, 28 Mar 2024 17:17:11 +0000 (10:17 -0700)]
po: Update translations from translationproject.org.

16 months agopo: Update translations from translationproject.org.
Ben Pfaff [Mon, 25 Mar 2024 16:26:18 +0000 (09:26 -0700)]
po: Update translations from translationproject.org.

16 months agogui: Translate names of aggregation functions in bar chart dialog.
Ben Pfaff [Mon, 25 Mar 2024 16:24:25 +0000 (09:24 -0700)]
gui: Translate names of aggregation functions in bar chart dialog.

Thanks to Mindaugus for reporting the problem.

17 months agoRelease version 2.0.1.
Ben Pfaff [Thu, 21 Mar 2024 23:32:43 +0000 (16:32 -0700)]
Release version 2.0.1.

17 months agodoc: Document how to run command-line PSPP from the Flatpak.
Ben Pfaff [Thu, 21 Mar 2024 20:28:25 +0000 (13:28 -0700)]
doc: Document how to run command-line PSPP from the Flatpak.

17 months agoREADME.Git: Update to latest version of Gnulib branch stable-202307.
Ben Pfaff [Thu, 21 Mar 2024 14:01:04 +0000 (07:01 -0700)]
README.Git: Update to latest version of Gnulib branch stable-202307.

17 months agoREPEATING DATA: Remove documentation for unimplemented command.
Ben Pfaff [Thu, 21 Mar 2024 13:44:03 +0000 (06:44 -0700)]
REPEATING DATA: Remove documentation for unimplemented command.

This command once had a buggy implementation, which was removed, but the
documentation remained.

Thanks to Frans Houweling for reporting the inconsistency.

17 months agogui: Mark "Show tips at startup" for translation.
Ben Pfaff [Thu, 21 Mar 2024 13:40:39 +0000 (06:40 -0700)]
gui: Mark "Show tips at startup" for translation.

Thanks to Mindaugus for reporting that it was missing.

17 months agopo: Update translations from translationproject.org
Ben Pfaff [Thu, 21 Mar 2024 13:38:14 +0000 (06:38 -0700)]
po: Update translations from translationproject.org

17 months agoDO REPEAT: Accept duplicate names as substitution variables.
Ben Pfaff [Thu, 21 Mar 2024 13:32:56 +0000 (06:32 -0700)]
DO REPEAT: Accept duplicate names as substitution variables.

Thanks to Frans Houweling for reporting the bug.

17 months agoCROSSTABS: Fix tabular output when columns or rows are empty.
Ben Pfaff [Wed, 6 Mar 2024 22:32:41 +0000 (14:32 -0800)]
CROSSTABS: Fix tabular output when columns or rows are empty.

Thanks to Andreas Hammer for reporting the bug.

17 months agoAUTORECODE: Fix crash if scratch variables created before source variables.
Ben Pfaff [Sun, 3 Mar 2024 20:05:05 +0000 (12:05 -0800)]
AUTORECODE: Fix crash if scratch variables created before source variables.

Thanks to Frans Houweling for reporting this bug.

17 months agodictionary: Remove unused functions and prototypes.
Ben Pfaff [Sat, 2 Mar 2024 19:08:29 +0000 (11:08 -0800)]
dictionary: Remove unused functions and prototypes.

17 months agopsppire: Sort by name or label case-insensitively in dictionary view.
Ben Pfaff [Fri, 1 Mar 2024 19:20:38 +0000 (11:20 -0800)]
psppire: Sort by name or label case-insensitively in dictionary view.

Thanks to Elio Spinello for reporting the bug.

17 months agoSORT VARIABLES: Add test case for case sensitivity.
Ben Pfaff [Fri, 1 Mar 2024 18:45:23 +0000 (10:45 -0800)]
SORT VARIABLES: Add test case for case sensitivity.

17 months agoCTABLES: Fix crash with single nesting level, no label, and moving labels.
Ben Pfaff [Sat, 24 Feb 2024 18:50:02 +0000 (10:50 -0800)]
CTABLES: Fix crash with single nesting level, no label, and moving labels.

This fixes a crash for the following input:

DATA LIST LIST NOTABLE /year (F4.0).
BEGIN DATA
2020
2021
2022
2020
2020
END DATA.

CTABLES
  /VLABELS VARIABLES=year DISPLAY=NONE
  /TABLE year [C]
  /CLABELS ROWLABELS=OPPOSITE.

Thanks to Frans Houweling for reporting this bug and providing the test
case.

19 months agotests: Remove two tests that proved problematic cross-OS and cross-arch.
Ben Pfaff [Sun, 7 Jan 2024 19:09:07 +0000 (11:09 -0800)]
tests: Remove two tests that proved problematic cross-OS and cross-arch.

The test "journal enabled by default interactively" failed in Debian
testing on s390x, powerpc, and ppc64.  I can't reproduce the problem on
x86_64.  This commit removes it.

The test "interactive output appears immediately" failed in Debian testing
on s390x, hppa, powerpc, and ppc64.  It also previously failed on Mac OS.
I can reproduce the problem on x86_64 if readline isn't available, but not
if it is.  (I think it would always be available for Debian).  This commit
removes it.

Thanks to Friedrich Beckmann for reporting the Debian build problems.

19 months agodoc: set LANG=C for building the tutorial images
Friedrich Beckmann [Thu, 4 Jan 2024 11:04:15 +0000 (12:04 +0100)]
doc: set LANG=C for building the tutorial images

The build process fails if the shell has set a different language
setting the us. This patch sets the language during the generation
of the documentation images.

Closes: https://savannah.gnu.org/bugs/?65124
19 months agoUpdate releases in appstream metadata to make flathub happy.
Ben Pfaff [Mon, 1 Jan 2024 00:48:56 +0000 (16:48 -0800)]
Update releases in appstream metadata to make flathub happy.

19 months agoRelease version 2.0.0.
Ben Pfaff [Sun, 31 Dec 2023 23:13:35 +0000 (15:13 -0800)]
Release version 2.0.0.

21 months agoMacOS: Fix skipped test "convert invalid UTF-8 to ISO-8859-1"
Friedrich Beckmann [Sun, 5 Nov 2023 19:59:37 +0000 (20:59 +0100)]
MacOS: Fix skipped test "convert invalid UTF-8 to ISO-8859-1"

The skipping worked, but the non-skipped test failed on linux
systems.

21 months agoRevert "Revert "MacOS: skip test "convert invalid UTF-8 to ISO-8859-1"""
Ben Pfaff [Sun, 5 Nov 2023 19:12:18 +0000 (11:12 -0800)]
Revert "Revert "MacOS: skip test "convert invalid UTF-8 to ISO-8859-1"""

This reverts commit bcc19d9457129559b836a0cc6cd81e2c71d42bb5.
Just letting Mac OS crash on invalid conversions seems like the
most reasonable path for now.  Maybe Apple will fix their buggy
iconv.

21 months agoRevert "i18n.c: added EOPNOTSUPP error code for MacOS"
Ben Pfaff [Sun, 5 Nov 2023 19:11:41 +0000 (11:11 -0800)]
Revert "i18n.c: added EOPNOTSUPP error code for MacOS"

This reverts commit 1799abc8539bd1a49c72c5723d1fa89ff4463e3f.
Handling EOPNOTSUPP like EILSEQ produced a hang rather than
the expected results, so this was a failed experiment.

21 months agoUpgrade to stable Gnulib branch stable-202307.
Ben Pfaff [Sun, 5 Nov 2023 18:10:06 +0000 (10:10 -0800)]
Upgrade to stable Gnulib branch stable-202307.

Suggested by Bruno Haible.