pspp
7 years agoFACTOR: Allow an option '=' after MATRIX
John Darrington [Tue, 9 May 2017 13:13:32 +0000 (15:13 +0200)]
FACTOR: Allow an option '=' after MATRIX

7 years agoREGRESSION: Allow independent variables to be specified on the ENTER subcommand.
John Darrington [Tue, 9 May 2017 07:46:29 +0000 (09:46 +0200)]
REGRESSION: Allow independent variables to be specified on the ENTER subcommand.

This is more typical of the syntax that third party software generates.

7 years agoCope with new location of upstream files
John Darrington [Mon, 8 May 2017 09:40:34 +0000 (11:40 +0200)]
Cope with new location of upstream files

7 years agoEnable reordering of variables by drag and drop
John Darrington [Mon, 8 May 2017 08:49:39 +0000 (10:49 +0200)]
Enable reordering of variables by drag and drop

7 years ago(Re)enable the pasting of the importer syntax
John Darrington [Sun, 7 May 2017 13:24:43 +0000 (15:24 +0200)]
(Re)enable the pasting of the importer syntax

7 years agoPsppireImportAssistant: Clear the dictionary before re-adding the variables
John Darrington [Sun, 7 May 2017 10:59:01 +0000 (12:59 +0200)]
PsppireImportAssistant: Clear the dictionary before re-adding the variables

7 years agoPsppireDataEditor: Automatically set the dictionary as hmodel when the data store...
John Darrington [Sun, 7 May 2017 10:51:22 +0000 (12:51 +0200)]
PsppireDataEditor: Automatically set the dictionary as hmodel when the data store changes

7 years agoPsppireImportAssistant: Set the variables of the varsheet
John Darrington [Sun, 7 May 2017 08:22:23 +0000 (10:22 +0200)]
PsppireImportAssistant: Set the variables of the varsheet

7 years agoPsppireDelimitedText: Declare psppire_delimited_text_new to return a GtkTreeModel...
John Darrington [Sun, 7 May 2017 08:16:38 +0000 (10:16 +0200)]
PsppireDelimitedText: Declare psppire_delimited_text_new to return a GtkTreeModel* instead of PsppireDelimitedText*

7 years agoPsppireDelimitedText: reset all cache starts
John Darrington [Sun, 7 May 2017 07:31:41 +0000 (09:31 +0200)]
PsppireDelimitedText: reset all cache starts

7 years agoPsppireDelimitedText: Remove a useless member variable
John Darrington [Sat, 6 May 2017 22:25:11 +0000 (00:25 +0200)]
PsppireDelimitedText: Remove a useless member variable

7 years agoAdd an (empty) datasheet to the import assistant
John Darrington [Sat, 6 May 2017 06:59:56 +0000 (08:59 +0200)]
Add an (empty) datasheet to the import assistant

7 years agoAdd (empty) variable sheet for import assistant
John Darrington [Sat, 6 May 2017 06:26:23 +0000 (08:26 +0200)]
Add (empty) variable sheet for import assistant

7 years agoInitialise parent class in sheets
John Darrington [Fri, 5 May 2017 18:36:39 +0000 (20:36 +0200)]
Initialise parent class in sheets

7 years agoNew module: psppire_data_sheet.c
John Darrington [Fri, 5 May 2017 13:21:00 +0000 (15:21 +0200)]
New module: psppire_data_sheet.c

7 years agoNew module: psppire_variable_sheet.c
John Darrington [Fri, 5 May 2017 07:12:35 +0000 (09:12 +0200)]
New module: psppire_variable_sheet.c

7 years agoFACTOR: Add printout of the covariance matrix and add a test
John Darrington [Thu, 4 May 2017 16:17:11 +0000 (18:17 +0200)]
FACTOR: Add printout of the covariance matrix and add a test

7 years agoFACTOR: New subcommand: MATRIX IN
John Darrington [Thu, 4 May 2017 15:31:37 +0000 (17:31 +0200)]
FACTOR: New subcommand: MATRIX IN

7 years agoNew function covariance_from_correlation
John Darrington [Thu, 4 May 2017 15:27:31 +0000 (17:27 +0200)]
New function covariance_from_correlation

7 years agoNew module matrix-reader
John Darrington [Thu, 4 May 2017 15:25:49 +0000 (17:25 +0200)]
New module matrix-reader

Added a new module to help read the files created by MATRIX DATA

7 years agoMATRIX DATA: Fix crash when duplicate variables are specified
John Darrington [Mon, 1 May 2017 19:02:22 +0000 (21:02 +0200)]
MATRIX DATA: Fix crash when duplicate variables are specified

7 years agoMATRIX DATA: Handle multiple splits properly
John Darrington [Mon, 1 May 2017 18:30:45 +0000 (20:30 +0200)]
MATRIX DATA: Handle multiple splits properly

7 years agoMATRIX DATA: Rewrite to canonical rowtype values
John Darrington [Sun, 30 Apr 2017 18:35:55 +0000 (20:35 +0200)]
MATRIX DATA: Rewrite to canonical rowtype values

7 years agoUpdated the French translation from translationproject.org
John Darrington [Sun, 30 Apr 2017 07:59:16 +0000 (09:59 +0200)]
Updated the French translation from translationproject.org

7 years agoAdded the MATRIX DATA procedure.
John Darrington [Wed, 26 Apr 2017 17:06:53 +0000 (19:06 +0200)]
Added the MATRIX DATA procedure.

7 years agoparse_DATA_LIST_vars: Reduce scope of variable 'name2'
John Darrington [Wed, 26 Apr 2017 12:47:10 +0000 (14:47 +0200)]
parse_DATA_LIST_vars: Reduce scope of variable 'name2'

7 years agoWhitespace changes only. Remove trailing whitespace.
John Darrington [Sun, 23 Apr 2017 07:35:58 +0000 (09:35 +0200)]
Whitespace changes only.  Remove trailing whitespace.

7 years agoImport Assistant: Re-enable the setting of header titles
John Darrington [Sun, 23 Apr 2017 07:35:22 +0000 (09:35 +0200)]
Import Assistant: Re-enable the setting of header titles

7 years agoMerge remote-tracking branch 'origin/master' into sheet
John Darrington [Sat, 22 Apr 2017 18:56:00 +0000 (20:56 +0200)]
Merge remote-tracking branch 'origin/master' into sheet

7 years agoNew objects PsppireTextFile and PsppireDelimitedText.
John Darrington [Thu, 20 Apr 2017 14:29:56 +0000 (16:29 +0200)]
New objects PsppireTextFile and PsppireDelimitedText.

These objects take care of the spliting of delimited text data
and allow the Import assistant to just do the job of presenting
dialog boxes.

7 years agoWhitespace changes only: Remove trailing whitespace
John Darrington [Sat, 22 Apr 2017 18:20:24 +0000 (20:20 +0200)]
Whitespace changes only: Remove trailing whitespace

7 years agoDo not allow value labels dialog to enter a label for an invalid value.
John Darrington [Wed, 19 Apr 2017 16:48:51 +0000 (18:48 +0200)]
Do not allow value labels dialog to enter a label for an invalid value.

Fixes bug #45429

7 years agoDon't crash when attempting to enter data in a column without a variable
John Darrington [Wed, 19 Apr 2017 13:14:41 +0000 (15:14 +0200)]
Don't crash when attempting to enter data in a column without a variable

7 years agoMake warning message a little more severe.
John Darrington [Wed, 19 Apr 2017 12:32:13 +0000 (14:32 +0200)]
Make warning message a little more severe.

This warning should not happen any more.

7 years agoUpdate the datum entry when the selection changes
John Darrington [Wed, 19 Apr 2017 12:29:21 +0000 (14:29 +0200)]
Update the datum entry when the selection changes

7 years agoPsppireDataEditor: unref objects on dispose
John Darrington [Wed, 19 Apr 2017 11:59:02 +0000 (13:59 +0200)]
PsppireDataEditor: unref objects on dispose

7 years agoEnable setting of variable type from var sheet
John Darrington [Wed, 19 Apr 2017 11:45:32 +0000 (13:45 +0200)]
Enable setting of variable type from var sheet

7 years agoVar type dialog: Add a return value
John Darrington [Wed, 19 Apr 2017 11:45:03 +0000 (13:45 +0200)]
Var type dialog: Add a return value

7 years agoPass the top level window to dialog creation functions
John Darrington [Wed, 19 Apr 2017 10:12:33 +0000 (12:12 +0200)]
Pass the top level window to dialog creation functions

7 years agoEnable changing of missing values from the variable sheet
John Darrington [Wed, 19 Apr 2017 10:06:39 +0000 (12:06 +0200)]
Enable changing of missing values from the variable sheet

7 years agoMake missing-value-dialog return a status
John Darrington [Wed, 19 Apr 2017 10:05:31 +0000 (12:05 +0200)]
Make missing-value-dialog return a status

7 years agoRemove inappropriate single selection-mode properties from dialog actions.
John Darrington [Tue, 18 Apr 2017 16:31:50 +0000 (18:31 +0200)]
Remove inappropriate single selection-mode properties from dialog actions.

Closes bug #50029

7 years agoRemove unused variable
John Darrington [Mon, 17 Apr 2017 15:56:08 +0000 (17:56 +0200)]
Remove unused variable

7 years agoEnable the value_labels popup dialog
John Darrington [Mon, 17 Apr 2017 13:25:13 +0000 (15:25 +0200)]
Enable the value_labels popup dialog

7 years agoDon't try to use TIOCGWINSZ if termios.h is not available.
John Darrington [Sun, 16 Apr 2017 12:18:29 +0000 (14:18 +0200)]
Don't try to use TIOCGWINSZ if termios.h is not available.

7 years agoEnable changing of width and decimals from var sheet
John Darrington [Sun, 16 Apr 2017 05:59:51 +0000 (07:59 +0200)]
Enable changing of width and decimals from var sheet

7 years agoFix grammatical error in NEWS
John Darrington [Tue, 28 Mar 2017 05:25:56 +0000 (07:25 +0200)]
Fix grammatical error in NEWS

7 years agotests: Do not delete testsuite on distclean.
Ben Pfaff [Sat, 15 Apr 2017 20:51:37 +0000 (13:51 -0700)]
tests: Do not delete testsuite on distclean.

The testsuite is distributed, so distclean must not delete it.

Thanks to Harry Thijssen <pspp4windows@gmail.com> for reporting the problem.

7 years agoRemove diagnostic message
John Darrington [Fri, 14 Apr 2017 10:18:53 +0000 (12:18 +0200)]
Remove diagnostic message

7 years agoMake the split window menuitem apply to the var sheet as well as the data sheet
John Darrington [Sun, 9 Apr 2017 06:38:27 +0000 (08:38 +0200)]
Make the split window menuitem apply to the var sheet as well as the data sheet

7 years agoVariable Sheet: Display 'None' for value labels if the count is zero
John Darrington [Sat, 8 Apr 2017 12:40:08 +0000 (14:40 +0200)]
Variable Sheet: Display 'None' for value labels if the count is zero

7 years agochange_var_property: Make parameter const
John Darrington [Fri, 7 Apr 2017 15:00:59 +0000 (17:00 +0200)]
change_var_property: Make parameter const

7 years agoRemove reduntant #include
John Darrington [Fri, 7 Apr 2017 12:13:41 +0000 (14:13 +0200)]
Remove reduntant #include

7 years agoChange the signature of myreversefunc to return bool
John Darrington [Fri, 7 Apr 2017 11:47:09 +0000 (13:47 +0200)]
Change the signature of myreversefunc to return bool

7 years agoMove paste related code from PsppireDataWindow to PsppireDataEditor
John Darrington [Fri, 7 Apr 2017 07:36:54 +0000 (09:36 +0200)]
Move paste related code from PsppireDataWindow to PsppireDataEditor

7 years agoDon't update the cell entry ref if there is no active cell
John Darrington [Fri, 7 Apr 2017 07:18:02 +0000 (09:18 +0200)]
Don't update the cell entry ref if there is no active cell

7 years agoUse g_object_set rather than obsolete setter function
John Darrington [Thu, 6 Apr 2017 08:50:36 +0000 (10:50 +0200)]
Use g_object_set rather than obsolete setter function

7 years agoFix some compiler warnings
John Darrington [Thu, 6 Apr 2017 07:32:10 +0000 (09:32 +0200)]
Fix some compiler warnings

7 years agoRemove call to property which no longer exists
John Darrington [Thu, 6 Apr 2017 06:48:44 +0000 (08:48 +0200)]
Remove call to property which no longer exists

7 years agoEnable Edit Menuitems
John Darrington [Wed, 5 Apr 2017 16:25:54 +0000 (18:25 +0200)]
Enable Edit Menuitems

7 years agoRemove obsolete file psppire.gtkrc
John Darrington [Wed, 5 Apr 2017 13:54:59 +0000 (15:54 +0200)]
Remove obsolete file psppire.gtkrc

7 years agoRename myconvfunc --> psppire_data_store_value_to_string
John Darrington [Wed, 5 Apr 2017 10:27:29 +0000 (12:27 +0200)]
Rename myconvfunc --> psppire_data_store_value_to_string

7 years agoFix pasting from data sheet
John Darrington [Wed, 5 Apr 2017 09:58:59 +0000 (11:58 +0200)]
Fix pasting from data sheet

7 years agoAdd comments to value-variant implementation
John Darrington [Wed, 5 Apr 2017 07:27:39 +0000 (09:27 +0200)]
Add comments to value-variant implementation

7 years agoMake the combo boxes in the variable sheet work properly
John Darrington [Tue, 4 Apr 2017 17:03:34 +0000 (19:03 +0200)]
Make the combo boxes in the variable sheet work properly

7 years agoMake the split window feature work again
John Darrington [Tue, 4 Apr 2017 10:48:56 +0000 (12:48 +0200)]
Make the split window feature work again

7 years agoMake the goto variable feature work again
John Darrington [Tue, 4 Apr 2017 09:24:22 +0000 (11:24 +0200)]
Make the goto variable feature work again

7 years agoDisplay data in the var sheet properly
John Darrington [Tue, 4 Apr 2017 08:30:40 +0000 (10:30 +0200)]
Display data in the var sheet properly

7 years agoRemove some variables from global scope
John Darrington [Mon, 3 Apr 2017 14:22:12 +0000 (16:22 +0200)]
Remove some variables from global scope

7 years agoAllow adding new variables in the var sheet
John Darrington [Fri, 31 Mar 2017 12:41:51 +0000 (14:41 +0200)]
Allow adding new variables in the var sheet

7 years agoFix typo in comment
John Darrington [Fri, 31 Mar 2017 12:40:11 +0000 (14:40 +0200)]
Fix typo in comment

7 years agoEnable deletion of variables from var sheet
John Darrington [Fri, 31 Mar 2017 10:50:26 +0000 (12:50 +0200)]
Enable deletion of variables from var sheet

7 years agoAdd popup menu on var sheet row header
John Darrington [Fri, 31 Mar 2017 10:14:52 +0000 (12:14 +0200)]
Add popup menu on var sheet row header

7 years agoEnable sorting of cases
John Darrington [Fri, 31 Mar 2017 08:57:23 +0000 (10:57 +0200)]
Enable sorting of cases

7 years agoEnable the deletion of variables from the data sheet
John Darrington [Fri, 31 Mar 2017 08:03:36 +0000 (10:03 +0200)]
Enable the deletion of variables from the data sheet

7 years agoAdd popup menu to insert a variable
John Darrington [Thu, 30 Mar 2017 18:14:06 +0000 (20:14 +0200)]
Add popup menu to insert a variable

7 years agoAdd popup menu for variables in data sheet
John Darrington [Thu, 30 Mar 2017 12:31:37 +0000 (14:31 +0200)]
Add popup menu for variables in data sheet

7 years agoUse the "items-changed" signal instead of "changed"
John Darrington [Thu, 30 Mar 2017 11:36:03 +0000 (13:36 +0200)]
Use the "items-changed" signal instead of "changed"

7 years agoNew popup menu for cases
John Darrington [Thu, 30 Mar 2017 10:10:35 +0000 (12:10 +0200)]
New popup menu for cases

7 years agoremove case-inserted signal
John Darrington [Thu, 30 Mar 2017 10:09:08 +0000 (12:09 +0200)]
remove case-inserted signal

7 years agoMerge remote-tracking branch 'origin/master' into sheet
John Darrington [Tue, 28 Mar 2017 15:36:16 +0000 (17:36 +0200)]
Merge remote-tracking branch 'origin/master' into sheet

7 years agoEdit|Options: Add fields to change behaviour of output window.
John Darrington [Mon, 27 Mar 2017 17:30:28 +0000 (19:30 +0200)]
Edit|Options: Add fields to change behaviour of output window.

7 years agoNew menu: Edit|Options
John Darrington [Sat, 25 Mar 2017 21:47:27 +0000 (22:47 +0100)]
New menu: Edit|Options

Add a new menu to set global options.  Currently it only affects the display
of variables in Dictionary Views.

7 years agoHtml Driver: Fix bug when rendering small cells.
John Darrington [Fri, 24 Mar 2017 16:40:39 +0000 (17:40 +0100)]
Html Driver: Fix bug when rendering small cells.

This fix avoids a bug where the driver would enter a tight loop when rendering cells
with zero height or width.

7 years agoUpdated NEWS file.
John Darrington [Fri, 24 Mar 2017 10:38:58 +0000 (11:38 +0100)]
Updated NEWS file.

7 years agoTerminal interface: Remove support for the ncurses library.
John Darrington [Fri, 24 Mar 2017 07:29:31 +0000 (08:29 +0100)]
Terminal interface: Remove support for the ncurses library.

This library was supported for trivial reasons.  It always gave rise
to portability issues and was a pain to support.  Furthermore there
is a simpler way to do what we used it for.  So now we use that way
instead.

7 years agoMann Whitney: Remove unused variable
John Darrington [Wed, 15 Mar 2017 07:52:28 +0000 (08:52 +0100)]
Mann Whitney: Remove unused variable

7 years agoFixed a bug in the Mann-Whitney test vs. missing=analysis.
John Darrington [Tue, 7 Mar 2017 05:31:49 +0000 (06:31 +0100)]
Fixed a bug in the Mann-Whitney test vs. missing=analysis.

When missing values were deleted from the dataset, they were deleted after the
ranks for the U value had been inserted, - thus the wrong rank sum would be
calculated.  This change deletes missing values *before* the ranks are inserted.

The issue this fixes is described at
http://lists.gnu.org/archive/html/pspp-users/2017-03/msg00009.html

7 years agoFREQUENCIES: fixed VARIANCE output - fixes bug #50366
Friedrich Beckmann [Tue, 21 Feb 2017 14:52:41 +0000 (15:52 +0100)]
FREQUENCIES: fixed VARIANCE output - fixes bug #50366

The FREQUENCIES command output the mean instead of variance result when
variance was requested. The bug and a patch was reported on savannah.
I added a test to identify the problem and the proposed patch.

fixes bug #50366

7 years agotests: Avoid infinite loop in test.
John Darrington [Sat, 14 Jan 2017 11:22:13 +0000 (12:22 +0100)]
tests: Avoid infinite loop in test.

7 years agotests: Ensure that the testsuite is of non-zero size
John Darrington [Sat, 14 Jan 2017 10:15:12 +0000 (11:15 +0100)]
tests: Ensure that the testsuite is of non-zero size

7 years agopsppire-import-assistant: Use maximised window instead of full_screen.
John Darrington [Sat, 14 Jan 2017 06:51:18 +0000 (07:51 +0100)]
psppire-import-assistant: Use maximised window instead of full_screen.

A number of users had complained about the full screen window.
Fixes bug #48230

7 years agopo: Add new variable LOCALPOFILES to hold locally managed .po files
John Darrington [Sat, 14 Jan 2017 06:28:52 +0000 (07:28 +0100)]
po: Add new variable LOCALPOFILES to hold locally managed .po files

This variable holds .po files not managed by translationproject.org

7 years agoEnsure that help page manifest is not empty.
John Darrington [Sun, 21 Aug 2016 12:29:21 +0000 (14:29 +0200)]
Ensure that help page manifest is not empty.

For some reason I have found that sometimes doc/help-pages-list
is zero bytes long.   I don't know how this happens, but this
change should catch it and allow us to find out why.

7 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sat, 24 Dec 2016 00:49:15 +0000 (16:49 -0800)]
po: Update translations from translationproject.org.

7 years agoUpdate all translations using "make po-update".
Ben Pfaff [Sun, 4 Dec 2016 21:31:44 +0000 (13:31 -0800)]
Update all translations using "make po-update".

This only adds an "X-Bugs:" line to the translations, which were otherwise
up-to-date except that cs.po and en_GB.po aren't actually in
translationproject.  I'll have to ask John Darrington about that.

7 years agopo: Add po-update rule for updating all translations.
Ben Pfaff [Sun, 4 Dec 2016 21:29:57 +0000 (13:29 -0800)]
po: Add po-update rule for updating all translations.

7 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sun, 4 Dec 2016 21:17:57 +0000 (13:17 -0800)]
po: Update translations from translationproject.org.

7 years agoFix misleadingly indented statements.
Ben Pfaff [Sat, 3 Dec 2016 06:24:06 +0000 (22:24 -0800)]
Fix misleadingly indented statements.

GCC 6.2.1 reported {}-braced blocks that looked like they were guarded by
preceding "if" statements but really weren't.  This fixes the misleading
indentation.

7 years agogui: Remove unused static variables.
Ben Pfaff [Sat, 3 Dec 2016 06:23:12 +0000 (22:23 -0800)]
gui: Remove unused static variables.

Reported by GCC 6.2.1.