pspp
8 years agoREGRESSION: Warn when REGRESSION with SAVE runs with a filter configured.
Ben Pfaff [Sun, 3 Jan 2016 06:28:12 +0000 (22:28 -0800)]
REGRESSION: Warn when REGRESSION with SAVE runs with a filter configured.

Reported by elias tsolis.
Bug #46727.

8 years agoval-labs-dialog: Improve keyboard interface.
Ben Pfaff [Sun, 3 Jan 2016 06:05:00 +0000 (22:05 -0800)]
val-labs-dialog: Improve keyboard interface.

Before, hitting Enter in the value label dialog did nothing.  With this
commit, Enter in the value entry moves to the label entry, and Enter in
the label entry adds or changes the value label and jumps back to the
value entry.

Requested by dr soumalya ray.

8 years agoQUICK CLUSTER: Correct typo in documentation of PRINT subcommand.
Ben Pfaff [Sun, 3 Jan 2016 05:34:13 +0000 (21:34 -0800)]
QUICK CLUSTER: Correct typo in documentation of PRINT subcommand.

The PRINT subcommand has a setting CLUSTER (not CLUSTERS).

Reported by Andy King.
Fix from Alan Mead.

8 years agosys-file-reader: Disallow system and scratch long variable names too.
Ben Pfaff [Sun, 3 Jan 2016 04:44:22 +0000 (20:44 -0800)]
sys-file-reader: Disallow system and scratch long variable names too.

Before this commit, the system file reader disallowed system and
scratch short variable names (e.g. names beginning with $ or #)
but not as long variable names.  This fixes the problem.

Bug #46783.

8 years agoRANK: Issue syntax error in case where it was omitted before.
Ben Pfaff [Sun, 3 Jan 2016 04:42:41 +0000 (20:42 -0800)]
RANK: Issue syntax error in case where it was omitted before.

Bug #46783.

8 years agoLIST: Allow a subset of the CASES settings to be specified.
Ben Pfaff [Sun, 3 Jan 2016 04:19:32 +0000 (20:19 -0800)]
LIST: Allow a subset of the CASES settings to be specified.

The LIST documentation said that any subset of the FROM, TO, and BY
settings could be used on the CASES subcommand, but until now the command
as implemented required all of them to be present.  This commit fixes
the implementation.

Also updates the documentation to reflect the current implementation.

8 years agopsppire-dialog-action: Fix compilation error.
Ben Pfaff [Sun, 3 Jan 2016 04:18:29 +0000 (20:18 -0800)]
psppire-dialog-action: Fix compilation error.

8 years agoSelect Cases Dialog: Convert to PsppireDialogAction
John Darrington [Thu, 31 Dec 2015 13:59:49 +0000 (14:59 +0100)]
Select Cases Dialog: Convert to PsppireDialogAction

8 years agoSelect Cases Dialog: minor refactor.
John Darrington [Wed, 30 Dec 2015 07:38:40 +0000 (08:38 +0100)]
Select Cases Dialog: minor refactor.

Encapsulate pointers to widgets in the dialog structure instead of retreiving
them from the GtkBuilder on each usage.

8 years agoRearange widget registration into a table.
John Darrington [Tue, 29 Dec 2015 17:02:24 +0000 (18:02 +0100)]
Rearange widget registration into a table.

I think this will make things easier with Gtk3

8 years agoSplit File Dialog: Convert to PsppireDialogAction
John Darrington [Tue, 29 Dec 2015 14:17:21 +0000 (15:17 +0100)]
Split File Dialog: Convert to PsppireDialogAction

8 years agoAdd an appropriate help page for the Variable Info dialog box
John Darrington [Tue, 29 Dec 2015 12:17:13 +0000 (13:17 +0100)]
Add an appropriate help page for the Variable Info dialog box

8 years agoexamples/physiology.sav: Add a DOCUMENT comment to explain that the file contains...
John Darrington [Tue, 29 Dec 2015 11:33:02 +0000 (12:33 +0100)]
examples/physiology.sav:  Add a DOCUMENT comment to explain that the file contains "deliberate" data entry errors.

Occasionally this is the subject of bug reports.

8 years agoComments dialog: convert to PsppireDialogAction
John Darrington [Tue, 29 Dec 2015 11:31:46 +0000 (12:31 +0100)]
Comments dialog: convert to PsppireDialogAction

8 years agoWeight cases dialog: Convert from add hoc to PsppireDialogAction
John Darrington [Tue, 29 Dec 2015 10:00:01 +0000 (11:00 +0100)]
Weight cases dialog: Convert from add hoc to PsppireDialogAction

8 years agoPsppireKeypad: Correct the attachment of buttons to the grid.
John Darrington [Mon, 28 Dec 2015 11:26:43 +0000 (12:26 +0100)]
PsppireKeypad: Correct the  attachment of buttons to the grid.

This buglet appears to have crept in during the GtkTable -> GtkGrid transition.

8 years agoChange some instances of GtkAction to PsppireDialogAction
John Darrington [Sun, 27 Dec 2015 09:10:49 +0000 (10:10 +0100)]
Change some instances of GtkAction to PsppireDialogAction

8 years agoRewrite Import Dialog.
John Darrington [Sat, 26 Dec 2015 10:15:15 +0000 (11:15 +0100)]
Rewrite Import Dialog.

This is a major rewrite of the text/spreadsheet import assistant.
Hopefully there are less bugs and it will be easier to maintain.

8 years agoWhitespace changes only
John Darrington [Tue, 22 Dec 2015 23:10:24 +0000 (00:10 +0100)]
Whitespace changes only

8 years agoRemove deprecated widgets
John Darrington [Tue, 22 Dec 2015 23:08:01 +0000 (00:08 +0100)]
Remove deprecated widgets

8 years agoRemove stray quotation marks and angle brackets
John Darrington [Tue, 22 Dec 2015 19:26:09 +0000 (20:26 +0100)]
Remove stray quotation marks and angle brackets

8 years agoImproved the autoconf test for xmllint
John Darrington [Mon, 21 Dec 2015 09:58:51 +0000 (10:58 +0100)]
Improved the autoconf test for xmllint

8 years agoRemove string stat_version
John Darrington [Thu, 17 Dec 2015 06:16:58 +0000 (07:16 +0100)]
Remove string stat_version

This string contained a timestamp indicating when ./configure had
been run.  This makes for reproducibility issues and possibly
privacy issues too.

8 years agoAutorecode Dialog: Convert from add hoc to PsppireDialogAction
John Darrington [Wed, 16 Dec 2015 07:32:56 +0000 (08:32 +0100)]
Autorecode Dialog: Convert from add hoc to PsppireDialogAction

8 years agoGRAPH scatterplot - fixed missing BY variable rendering
Friedrich Beckmann [Tue, 15 Dec 2015 23:35:11 +0000 (00:35 +0100)]
GRAPH scatterplot - fixed missing BY variable rendering

scatterplot with GRAPH /SCATTERPLOT x WITH y BY z did not use the by z
grouping of the cases. This patch fixes this.

8 years agoPsppSheetViewColumn: Replace some deprecated functions
John Darrington [Tue, 15 Dec 2015 17:08:05 +0000 (18:08 +0100)]
PsppSheetViewColumn: Replace some deprecated functions

8 years agoPsppSheetViewColumn: Replace GtkAlignment with a GtkBin
John Darrington [Tue, 15 Dec 2015 11:31:06 +0000 (12:31 +0100)]
PsppSheetViewColumn: Replace GtkAlignment with a GtkBin

GtkAlignment is deprecated

8 years agoPsppSheetViewColumn: Remove GtkArrow
John Darrington [Tue, 15 Dec 2015 06:43:21 +0000 (07:43 +0100)]
PsppSheetViewColumn: Remove GtkArrow

This widget is deprecated and we don't use this feature anyway.

8 years agoRecode Dialog: Remove deprecated widgets
John Darrington [Tue, 15 Dec 2015 19:34:35 +0000 (20:34 +0100)]
Recode Dialog: Remove deprecated widgets

8 years agoFix crash calling RINDEX with a zero needle length
John Darrington [Mon, 14 Dec 2015 10:42:26 +0000 (11:42 +0100)]
Fix crash calling RINDEX with a zero needle length

Also add a test and correct the documentation.

8 years agoKolmogorov Smironov Dialog: Add help_page property
John Darrington [Mon, 14 Dec 2015 15:26:48 +0000 (16:26 +0100)]
Kolmogorov Smironov Dialog: Add help_page property

8 years agoFix compiler warnings
John Darrington [Sun, 13 Dec 2015 15:13:28 +0000 (16:13 +0100)]
Fix compiler warnings

8 years agoSelect Cases Dialog: Replace obsolete widgets
John Darrington [Sun, 13 Dec 2015 14:03:25 +0000 (15:03 +0100)]
Select Cases Dialog: Replace obsolete widgets

8 years agoPsppireSheetView: Remove code marked with GTK3_TRANSITION
John Darrington [Sun, 13 Dec 2015 13:06:45 +0000 (14:06 +0100)]
PsppireSheetView: Remove code marked with GTK3_TRANSITION

8 years agoDocumentation add subsections for each GRAPH type
John Darrington [Sat, 12 Dec 2015 14:26:31 +0000 (15:26 +0100)]
Documentation add subsections for each GRAPH type

8 years agoAggregate Dialog: Convert from old fashioned method to PsppireDialogAction paradigm
John Darrington [Sat, 12 Dec 2015 13:03:37 +0000 (14:03 +0100)]
Aggregate Dialog: Convert from old fashioned method to PsppireDialogAction paradigm

8 years agoRename psppire_dialog_action_get_pointer -> psppire_dialog_action_get_hash_table
John Darrington [Fri, 11 Dec 2015 07:18:20 +0000 (08:18 +0100)]
Rename psppire_dialog_action_get_pointer -> psppire_dialog_action_get_hash_table

Also add a comment explaining what it is for.

8 years agochanged a character in po/pl.po that was reported as illegal in sed on MacOS
Friedrich Beckmann [Fri, 11 Dec 2015 15:54:51 +0000 (16:54 +0100)]
changed a character in po/pl.po that was reported as illegal in sed on MacOS

build failed on MacOS because sed complained about an illegal character
in the po file. The build failed after the introduction of the sed script
that removes the build time stamp.

8 years agoReplace "sed" with "$(SED)" in Makefiles
John Darrington [Thu, 10 Dec 2015 11:13:11 +0000 (12:13 +0100)]
Replace "sed" with "$(SED)" in Makefiles

8 years agoMake rule for src/libpspp/version.c atomic
John Darrington [Thu, 10 Dec 2015 10:51:08 +0000 (11:51 +0100)]
Make rule for src/libpspp/version.c atomic

This rule could have resulted in a half constructed target if it failed
half way through for any reason.  Now it is all or nothing.

8 years agoCompute dialog: Avoid double population
John Darrington [Wed, 9 Dec 2015 07:14:56 +0000 (08:14 +0100)]
Compute dialog: Avoid double population

8 years agoFix generate-changelog rule when building from outside of the source repository
John Darrington [Wed, 9 Dec 2015 06:47:18 +0000 (07:47 +0100)]
Fix generate-changelog rule when building from outside of the source repository

The "make dist" target depends upon a phony target "generate-changelog" which
generates the ChangeLog file.  Unfortunately, this was failing if the current
directory was not the source directory.  Worse, this failure was not detected,
but would erroneously generate an empty ChangeLog.

This change fixes both these problems.

8 years agoAggregate Dialog: Replace deprecated widgets
John Darrington [Tue, 8 Dec 2015 20:23:36 +0000 (21:23 +0100)]
Aggregate Dialog: Replace deprecated widgets

8 years agoCompute Dialog: Replace deprecated widgets
John Darrington [Tue, 8 Dec 2015 17:54:44 +0000 (18:54 +0100)]
Compute Dialog: Replace deprecated widgets

8 years agoFix generation of help-pages-list file
John Darrington [Tue, 8 Dec 2015 14:56:13 +0000 (15:56 +0100)]
Fix generation of help-pages-list file

8 years agoUpdate selector widgets on dialog activation.
John Darrington [Tue, 8 Dec 2015 12:41:09 +0000 (13:41 +0100)]
Update selector widgets on dialog activation.

When a dialog is activated, call update_subjects on
any PsppireSelector widgets that the dialog contains.

This ensures that the subjects (typically lists of
variables) are in a consistent state if the dialog
is reactivated after having changed a list.

8 years agoFix minor grammatical error in documentation
John Darrington [Tue, 8 Dec 2015 07:44:23 +0000 (08:44 +0100)]
Fix minor grammatical error in documentation

8 years agoRemove POT-Creation-Date from pspp.pot and from .po files
John Darrington [Tue, 8 Dec 2015 06:56:11 +0000 (07:56 +0100)]
Remove POT-Creation-Date from pspp.pot and from .po files

The modern trend is in favour of byte-for-byte reproducible
builds.  The use of timestamps in generated files breaks this.

8 years agoT-Test Dialog: remove deprecated widgets
John Darrington [Mon, 7 Dec 2015 22:17:04 +0000 (23:17 +0100)]
T-Test Dialog: remove deprecated widgets

8 years agoWeight Dialog: Cosmetic improvements
John Darrington [Mon, 7 Dec 2015 21:37:09 +0000 (22:37 +0100)]
Weight Dialog: Cosmetic improvements

8 years agoBarchart Dialog: Cosmetic improvements
John Darrington [Mon, 7 Dec 2015 21:16:53 +0000 (22:16 +0100)]
Barchart Dialog: Cosmetic improvements

8 years agoPaired Samples Dialog: Fix broken logic
John Darrington [Mon, 7 Dec 2015 21:08:14 +0000 (22:08 +0100)]
Paired Samples Dialog: Fix broken logic

8 years agoChi Square Dialog: Cosmetic improvements
John Darrington [Mon, 7 Dec 2015 20:09:35 +0000 (21:09 +0100)]
Chi Square Dialog: Cosmetic improvements

8 years agoTranspose Dialog: Add margin
John Darrington [Mon, 7 Dec 2015 19:53:49 +0000 (20:53 +0100)]
Transpose Dialog: Add margin

8 years agoCrosstabs Dialog: Avoid populating dialog more than once
John Darrington [Mon, 7 Dec 2015 18:52:54 +0000 (19:52 +0100)]
Crosstabs Dialog: Avoid populating dialog more than once

8 years agoFactor Dialog: Avoid populating dialog more than once
John Darrington [Mon, 7 Dec 2015 18:44:21 +0000 (19:44 +0100)]
Factor Dialog: Avoid populating dialog more than once

8 years agoK Means Dialog: Correct order of widgets
John Darrington [Mon, 7 Dec 2015 18:40:34 +0000 (19:40 +0100)]
K Means Dialog: Correct order of widgets

8 years agoBarchart Dialog: Avoid initialising multiple times
John Darrington [Mon, 7 Dec 2015 18:16:15 +0000 (19:16 +0100)]
Barchart Dialog: Avoid initialising multiple times

8 years agoFrequencies Dialog: Avoid initialising things more than once per dialog
John Darrington [Mon, 7 Dec 2015 18:04:00 +0000 (19:04 +0100)]
Frequencies Dialog: Avoid initialising things more than once per dialog

8 years agoFix bug rendering margin in output viewer.
John Darrington [Mon, 7 Dec 2015 17:25:29 +0000 (18:25 +0100)]
Fix bug rendering margin in output viewer.

commit 7b1373b8bded55eedc2328c1afd3eece6d259c34 tried to add an
offset to the output viewer rendering.  However the implementation
was somewhat naive.  The result was that the desired rendering was
not observed until an expose or resize event occured.  This change
improves the implementation.

8 years agoDescriptives Dialog: Avoid multiple appendages to the statistics list box
John Darrington [Mon, 7 Dec 2015 15:21:52 +0000 (16:21 +0100)]
Descriptives Dialog: Avoid multiple appendages to the statistics list box

8 years agoRemove destroy signal handler for dialogs.
John Darrington [Mon, 7 Dec 2015 15:14:11 +0000 (16:14 +0100)]
Remove destroy signal handler for dialogs.

Now (since the dialog persistance feature) dialog boxes survive their associated datasets,
it is no longer necessary or desireable for the destroy callback to remove the notification
callback.

8 years agoAutorecode Dialog: replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 21:18:03 +0000 (22:18 +0100)]
Autorecode Dialog: replace deprecated widgets

8 years agoMissing Values Dialog: replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 20:55:38 +0000 (21:55 +0100)]
Missing Values Dialog: replace deprecated widgets

8 years agoexamples/repairs.sav: Update sav file version
John Darrington [Sun, 6 Dec 2015 20:33:38 +0000 (21:33 +0100)]
examples/repairs.sav: Update sav file version

The repairs.sav example provoked a warning when loaded.  This change replaces it with a version
which does not.

8 years agoKolmogorov Smirnof One Sample Dialog: replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 20:01:17 +0000 (21:01 +0100)]
Kolmogorov Smirnof One Sample Dialog: replace deprecated widgets

8 years agoChi Square Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 19:42:30 +0000 (20:42 +0100)]
Chi Square Dialog: Replace deprecated widgets

8 years agoVariable Type Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 19:00:15 +0000 (20:00 +0100)]
Variable Type Dialog: Replace deprecated widgets

8 years agoMeans Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 18:45:47 +0000 (19:45 +0100)]
Means Dialog: Replace deprecated widgets

8 years agoUnivariate Dialog: replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 18:26:07 +0000 (19:26 +0100)]
Univariate Dialog: replace deprecated widgets

8 years agoCount Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 15:05:45 +0000 (16:05 +0100)]
Count Dialog: Replace deprecated widgets

8 years agoRank Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 14:42:35 +0000 (15:42 +0100)]
Rank Dialog: Replace deprecated widgets

8 years agoRuns Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 14:23:39 +0000 (15:23 +0100)]
Runs Dialog: Replace deprecated widgets

8 years agoSplit File Dialog: Remove deprecated widgets
John Darrington [Sun, 6 Dec 2015 14:07:32 +0000 (15:07 +0100)]
Split File Dialog: Remove deprecated widgets

8 years agoIndependent Samples Dialog: Remove GtkAlignment widgets
John Darrington [Sun, 6 Dec 2015 12:01:23 +0000 (13:01 +0100)]
Independent Samples Dialog: Remove GtkAlignment widgets

8 years agoPaired Samples Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 11:31:11 +0000 (12:31 +0100)]
Paired Samples Dialog: Replace deprecated widgets

8 years agoReliability Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 11:02:12 +0000 (12:02 +0100)]
Reliability Dialog: Replace deprecated widgets

8 years agoK Related Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 10:49:38 +0000 (11:49 +0100)]
K Related Dialog: Replace deprecated widgets

8 years agoQUICK CLUSTER Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 10:34:16 +0000 (11:34 +0100)]
QUICK CLUSTER Dialog: Replace deprecated widgets

8 years agoFactor Analysis Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 09:56:48 +0000 (10:56 +0100)]
Factor Analysis Dialog: Replace deprecated widgets

8 years agoLinear Regression Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 09:33:29 +0000 (10:33 +0100)]
Linear Regression Dialog: Replace deprecated widgets

8 years agoLogistic Regression Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 09:23:25 +0000 (10:23 +0100)]
Logistic Regression Dialog: Replace deprecated widgets

8 years agoRoc Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 08:51:14 +0000 (09:51 +0100)]
Roc Dialog: Replace deprecated widgets

8 years agoAdd a silent zone "gutter" to the output viewer.
John Darrington [Sun, 6 Dec 2015 07:02:22 +0000 (08:02 +0100)]
Add a silent zone "gutter" to the output viewer.

This makes things somewhat easier to read.

Closes bug #46612

8 years agoExamine Dialog: Replace deprecated widgets
John Darrington [Sat, 5 Dec 2015 19:26:02 +0000 (20:26 +0100)]
Examine Dialog: Replace deprecated widgets

8 years agoCorrelation Dialog: Replace deprecated widgets
John Darrington [Sat, 5 Dec 2015 19:08:57 +0000 (20:08 +0100)]
Correlation Dialog: Replace deprecated widgets

8 years agoIndependent Samples Dialog: Replace GtkTable with GtkGrid
John Darrington [Sat, 5 Dec 2015 18:55:29 +0000 (19:55 +0100)]
Independent Samples Dialog: Replace GtkTable with GtkGrid

8 years agoDescriptives Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 18:41:42 +0000 (19:41 +0100)]
Descriptives Dialog: Remove deprecated widgets

8 years agoFrequencies Dialog: Remove final GtkAlignment widgets
John Darrington [Sat, 5 Dec 2015 18:26:38 +0000 (19:26 +0100)]
Frequencies Dialog: Remove final GtkAlignment widgets

8 years agoFind Dialog: Replace deprecated widgets
John Darrington [Sat, 5 Dec 2015 18:13:51 +0000 (19:13 +0100)]
Find Dialog: Replace deprecated widgets

8 years agoFrequencies Dialog: Replace deprecated widgets
John Darrington [Sat, 5 Dec 2015 18:08:02 +0000 (19:08 +0100)]
Frequencies Dialog: Replace deprecated widgets

8 years agoBar Chart Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 16:49:38 +0000 (17:49 +0100)]
Bar Chart Dialog: Remove deprecated widgets

8 years agoCrosstabs Dialog: Remove final deprecated widgets
John Darrington [Sat, 5 Dec 2015 16:44:05 +0000 (17:44 +0100)]
Crosstabs Dialog: Remove final deprecated widgets

8 years agoScatterplot Dialog: Remove the last of the deprecated widgets
John Darrington [Sat, 5 Dec 2015 16:32:00 +0000 (17:32 +0100)]
Scatterplot Dialog: Remove the last of the deprecated widgets

8 years agoScatterplot Dialog: Remove GtkAlignment widgets
John Darrington [Sat, 5 Dec 2015 16:19:34 +0000 (17:19 +0100)]
Scatterplot Dialog: Remove GtkAlignment widgets

8 years agoScatterplot Dialog: fix spacing
John Darrington [Sat, 5 Dec 2015 16:15:52 +0000 (17:15 +0100)]
Scatterplot Dialog: fix spacing

8 years agoScatterplot Dialog: Replace GtkTable with GtkGrid
John Darrington [Sat, 5 Dec 2015 16:13:47 +0000 (17:13 +0100)]
Scatterplot Dialog: Replace GtkTable with GtkGrid

8 years agoScatterplot Dialog: Remove GtkVBox and GtkHBox widgets
John Darrington [Sat, 5 Dec 2015 16:08:14 +0000 (17:08 +0100)]
Scatterplot Dialog: Remove GtkVBox and GtkHBox widgets

8 years agoCrosstabs Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 15:47:41 +0000 (16:47 +0100)]
Crosstabs Dialog: Remove deprecated widgets

8 years agoCrosstabs Dialog: Remove GtkAlignment widgets
John Darrington [Sat, 5 Dec 2015 15:31:18 +0000 (16:31 +0100)]
Crosstabs Dialog: Remove GtkAlignment widgets