pspp
7 years agoImport Assistant: Remove struct column which is now unused
John Darrington [Sun, 21 May 2017 16:05:22 +0000 (18:05 +0200)]
Import Assistant: Remove struct column which is now unused

7 years agoRemove some unused code
John Darrington [Sun, 21 May 2017 04:53:33 +0000 (06:53 +0200)]
Remove some unused code

7 years agoImport assistant: Re-enable automatic inference of the separators
John Darrington [Sat, 20 May 2017 17:37:30 +0000 (19:37 +0200)]
Import assistant: Re-enable automatic inference of the separators

7 years agoImport Assistant: Fix generation of /DELIMITERS subcommand
John Darrington [Sat, 20 May 2017 13:24:38 +0000 (15:24 +0200)]
Import Assistant: Fix generation of /DELIMITERS subcommand

7 years agoRemove some unused code
John Darrington [Sat, 20 May 2017 11:53:31 +0000 (13:53 +0200)]
Remove some unused code

7 years agoImport Assistant: Re-add the format guesser feature
John Darrington [Sat, 20 May 2017 11:46:18 +0000 (13:46 +0200)]
Import Assistant: Re-add the format guesser feature

7 years agoImportAssistant: Set the GtkPaned slider to half way
John Darrington [Fri, 19 May 2017 15:51:23 +0000 (17:51 +0200)]
ImportAssistant: Set the GtkPaned slider to half way

7 years agoImportAssistant: make division between var and data sheets clearer
John Darrington [Fri, 19 May 2017 15:28:01 +0000 (17:28 +0200)]
ImportAssistant: make division between var and data sheets clearer

7 years agoconstness
John Darrington [Fri, 19 May 2017 15:16:25 +0000 (17:16 +0200)]
constness

7 years agoRemove some unused variables
John Darrington [Fri, 19 May 2017 15:07:56 +0000 (17:07 +0200)]
Remove some unused variables

7 years agoPsppireImportAssistant: Remove the "transient-for" property.
John Darrington [Fri, 19 May 2017 06:52:32 +0000 (08:52 +0200)]
PsppireImportAssistant: Remove the "transient-for" property.

7 years agoAdd a callback when variables change
John Darrington [Fri, 19 May 2017 05:36:00 +0000 (07:36 +0200)]
Add a callback when variables change

7 years agoPopulate the data sheet in the import assistant
John Darrington [Thu, 18 May 2017 17:14:43 +0000 (19:14 +0200)]
Populate the data sheet in the import assistant

7 years agoMerge remote-tracking branch 'origin/master' into sheet
John Darrington [Thu, 18 May 2017 16:28:21 +0000 (18:28 +0200)]
Merge remote-tracking branch 'origin/master' into sheet

7 years agoUpdated the Dutch translation from translationproject.org
John Darrington [Thu, 18 May 2017 16:25:32 +0000 (18:25 +0200)]
Updated the Dutch translation from translationproject.org

7 years agoRemove commented out code
John Darrington [Tue, 16 May 2017 12:00:55 +0000 (14:00 +0200)]
Remove commented out code

7 years agoFix potential crash if matrix file variables are of unexpected types
John Darrington [Tue, 16 May 2017 12:00:39 +0000 (14:00 +0200)]
Fix potential crash if matrix file variables are of unexpected types

7 years agoFix buffer overflow which could occur if the matrix reader encounters a badly formed...
John Darrington [Tue, 16 May 2017 10:53:35 +0000 (12:53 +0200)]
Fix buffer overflow which could occur if the matrix reader encounters a badly formed file.

7 years agoRemove unreachable code
John Darrington [Tue, 16 May 2017 10:54:03 +0000 (12:54 +0200)]
Remove unreachable code

7 years agomatrix-reader: Use strcpy() on char arrays, in next_matrix_from_reader().
Ben Pfaff [Tue, 16 May 2017 04:04:58 +0000 (21:04 -0700)]
matrix-reader: Use strcpy() on char arrays, in next_matrix_from_reader().

Fixes GCC warning "pointer targets in passing argument 1 of 'strcpy'
differ in signedness".

7 years agofactor: Fix return type of do_factor_by_matrix().
Ben Pfaff [Tue, 16 May 2017 04:00:56 +0000 (21:00 -0700)]
factor: Fix return type of do_factor_by_matrix().

This function had a "bool" return type but nothing used it.

Fixes GCC warning "'return' with no value, in function returning non-void".

Reported by Jeremy Lavergne.

7 years agoNew Dialog: Non Parametric | K Indepdendent Samples
John Darrington [Sat, 13 May 2017 17:26:17 +0000 (19:26 +0200)]
New Dialog: Non Parametric | K Indepdendent Samples

7 years agoPsppireValueEntry: Use a more reliable way to override parent property.
John Darrington [Mon, 15 May 2017 07:00:45 +0000 (09:00 +0200)]
PsppireValueEntry: Use a more reliable way to override parent property.

Setting the property in the _new function doesn't work if the object is constructed
via GtkBuilder for example.

7 years agoZip Reader: initialise error string earlier.
John Darrington [Sat, 13 May 2017 09:19:58 +0000 (11:19 +0200)]
Zip Reader: initialise error string earlier.

Fixed a bug which could have caused a crash if pspp were presented
with a corrupt zip file.

7 years agoFixed bug which caused a crash in GET DATA
John Darrington [Fri, 12 May 2017 15:03:06 +0000 (17:03 +0200)]
Fixed bug which caused a crash in GET DATA

7 years agoMEANS: Prevent parser from entering infinite loop.
John Darrington [Fri, 12 May 2017 10:25:55 +0000 (12:25 +0200)]
MEANS: Prevent parser from entering infinite loop.

Fixes bug #51008
.

7 years agosrc/math/linreg.c: Don't calculate the intercept for regression through the origin
John Darrington [Fri, 12 May 2017 09:35:09 +0000 (11:35 +0200)]
src/math/linreg.c: Don't calculate the intercept for regression through the origin

7 years agosrc/math/linreg.c: Encapsulate this object better.
John Darrington [Fri, 12 May 2017 06:36:56 +0000 (08:36 +0200)]
src/math/linreg.c: Encapsulate this object better.

7 years agoREGRESSION: Implement /ORIGIN subcommand.
John Darrington [Fri, 12 May 2017 05:42:55 +0000 (07:42 +0200)]
REGRESSION: Implement /ORIGIN subcommand.

7 years agoDESCRIPTIVES: Fix a bug where the parser could enter an infinite loop
John Darrington [Thu, 11 May 2017 14:38:11 +0000 (16:38 +0200)]
DESCRIPTIVES: Fix a bug where the parser could enter an infinite loop

7 years agoFACTOR: Don't try to perform analysis if there are no variables.
John Darrington [Thu, 11 May 2017 12:01:50 +0000 (14:01 +0200)]
FACTOR: Don't try to perform analysis if there are no variables.

7 years agoFACTOR: Do not try to run an analysis if no matrix is present
John Darrington [Thu, 11 May 2017 11:48:31 +0000 (13:48 +0200)]
FACTOR: Do not try to run an analysis if no matrix is present

7 years agoFACTOR: Fix a crash when bad input was presented
John Darrington [Thu, 11 May 2017 11:22:37 +0000 (13:22 +0200)]
FACTOR: Fix a crash when bad input was presented

7 years agoFACTOR: Make idata parameters const where they can be.
John Darrington [Thu, 11 May 2017 10:42:10 +0000 (12:42 +0200)]
FACTOR: Make idata parameters const where they can be.

7 years agoDATA MATRIX: Avoid crash on invalid input
John Darrington [Thu, 11 May 2017 08:40:51 +0000 (10:40 +0200)]
DATA MATRIX: Avoid crash on invalid input

7 years agoFix memory leaks in FACTOR/MATRIX
John Darrington [Wed, 10 May 2017 14:43:39 +0000 (16:43 +0200)]
Fix memory leaks in FACTOR/MATRIX

7 years agoRemove unused variable
John Darrington [Wed, 10 May 2017 10:59:11 +0000 (12:59 +0200)]
Remove unused variable

7 years agoFACTOR: Use consistent indexing when displaying matrices.
John Darrington [Wed, 10 May 2017 10:48:17 +0000 (12:48 +0200)]
FACTOR: Use consistent indexing when displaying matrices.

In any sane use case this will make no difference, since
all covariance and correlation matrices are symetrical.
However for correctness and ease of debugging this helps.

7 years agomatrix reader: Fix bug which incorrectly read in matrix material.
John Darrington [Wed, 10 May 2017 10:41:40 +0000 (12:41 +0200)]
matrix reader: Fix bug which incorrectly read in matrix material.

7 years agoMATRIX DATA: Allow non-symetric matrices if /FORMAT = FULL.
John Darrington [Wed, 10 May 2017 08:50:12 +0000 (10:50 +0200)]
MATRIX DATA: Allow non-symetric matrices if /FORMAT = FULL.

7 years agoMatrix reader, fix comment to reflect reality.
John Darrington [Wed, 10 May 2017 05:54:02 +0000 (07:54 +0200)]
Matrix reader, fix comment to reflect reality.

7 years agoMATRIX DATA: Cope with long variable names
John Darrington [Tue, 9 May 2017 14:41:08 +0000 (16:41 +0200)]
MATRIX DATA: Cope with long variable names

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