pspp
8 years agoRemove unnecessary #include directives
John Darrington [Fri, 20 Nov 2015 19:55:18 +0000 (20:55 +0100)]
Remove unnecessary #include directives

8 years agofh_get_identity: Move to static scope
John Darrington [Sun, 15 Nov 2015 07:17:55 +0000 (08:17 +0100)]
fh_get_identity: Move to static scope

8 years agoQUICK CLUSTER: Remove sqrt from Euclidean distance calculations
John Darrington [Fri, 13 Nov 2015 12:57:38 +0000 (13:57 +0100)]
QUICK CLUSTER: Remove sqrt from Euclidean distance calculations

The Euclidean distance is used only for comparison with other Euclidean
distances.  Since it is invariant that (sqrt(x) < sqrt(y))  === (x < y)
for all non-negative x,y  it is a waste of effort calculating the sqrt.

8 years agofh_get_identity: Remove incorrect statement from comment.
John Darrington [Fri, 13 Nov 2015 13:02:17 +0000 (14:02 +0100)]
fh_get_identity: Remove incorrect statement from comment.

8 years agoMove fn_identity from file-name.c to file-handle-def.c
John Darrington [Wed, 11 Nov 2015 19:46:22 +0000 (20:46 +0100)]
Move fn_identity from file-name.c to file-handle-def.c

8 years agoNew top level menu for Graphs.
John Darrington [Wed, 11 Nov 2015 18:09:15 +0000 (19:09 +0100)]
New top level menu for Graphs.

Added a new top level menu to assist with the generation of graphics.
Currently it has only scatterplot, histogram and barchart.

8 years agoQuick Cluster: Reimplement clustering algorithm
John Darrington [Sat, 7 Nov 2015 11:16:13 +0000 (12:16 +0100)]
Quick Cluster:  Reimplement clustering algorithm

This change replaces the algorithm to be closer to that described by
SPSS Statistical Algorithms.  It results in better classification of
"real" data, and better seperated cluster centers.

It also provides a few subcommands which were previously not
implemented.

8 years agoQuick Cluster: Print an error instead of failing silently
John Darrington [Mon, 9 Nov 2015 17:23:19 +0000 (18:23 +0100)]
Quick Cluster: Print an error instead of failing silently
when bad syntax is given

8 years agoQuick Cluster: Add horizontal rule in cluster membership table.
John Darrington [Sat, 7 Nov 2015 10:06:20 +0000 (11:06 +0100)]
Quick Cluster: Add horizontal rule in cluster membership table.

This is consistent with other tables, and I think it looks better.

8 years agoAvoid possible overflow in fn_identity.
John Darrington [Fri, 6 Nov 2015 18:59:13 +0000 (19:59 +0100)]
Avoid possible overflow in fn_identity.

8 years agoFix crash on w32
John Darrington [Tue, 3 Nov 2015 20:45:52 +0000 (21:45 +0100)]
Fix crash on w32

8 years agoFix typo in NEWS file
John Darrington [Mon, 2 Nov 2015 17:57:08 +0000 (18:57 +0100)]
Fix typo in NEWS file

8 years agoUpdated version number to 0.9.0 ( 9 indicating unstable version )
John Darrington [Sat, 31 Oct 2015 15:50:19 +0000 (16:50 +0100)]
Updated version number to 0.9.0 ( 9 indicating unstable version )

We should have done this as soon as gtk3 was merged but we didn't

8 years agoget_default_paper_size: Use access instead of fn_exists
John Darrington [Sat, 31 Oct 2015 11:56:42 +0000 (12:56 +0100)]
get_default_paper_size: Use access instead of fn_exists

The latter has portability problems.  Also access checks that the file is readable not only
that it exists.

8 years agoFixed problem building documentation in absence of xmllint
John Darrington [Thu, 29 Oct 2015 19:11:36 +0000 (20:11 +0100)]
Fixed problem building documentation in absence of xmllint

This change fixes two problems:

1. XMLLINT was only checked in configure if --without-cairo was not given.   However,
the documentation (may) require it.

2. The file doc/help-pages-list needed to be shipped.  Otherwise the docs need to be rebuilt which
is not desired for users

8 years agoUse a better method of identifying files on w32
John Darrington [Sun, 25 Oct 2015 19:14:55 +0000 (20:14 +0100)]
Use a better method of identifying files on w32

8 years agoRemove unused functions fn_dir_name fn_getenv and fn_getenv_default
John Darrington [Tue, 27 Oct 2015 20:23:06 +0000 (21:23 +0100)]
Remove unused functions fn_dir_name fn_getenv and fn_getenv_default

8 years agodfm_writer_error: Correct comment
John Darrington [Sun, 25 Oct 2015 06:54:15 +0000 (07:54 +0100)]
dfm_writer_error: Correct comment

8 years agoRemove unused function fn_is_special
John Darrington [Sat, 24 Oct 2015 06:53:09 +0000 (08:53 +0200)]
Remove unused function fn_is_special

8 years agoAdd test to check that reading from a pipe works ok
John Darrington [Sat, 24 Oct 2015 09:10:26 +0000 (11:10 +0200)]
Add test to check that reading from a pipe works ok

8 years agoRemove obsolete prototype
John Darrington [Fri, 23 Oct 2015 21:27:43 +0000 (23:27 +0200)]
Remove obsolete prototype

8 years agoRemove unused function
John Darrington [Fri, 23 Oct 2015 18:57:44 +0000 (20:57 +0200)]
Remove unused function

8 years agoAvoid "definition without prototype" warnings
John Darrington [Fri, 23 Oct 2015 07:42:43 +0000 (09:42 +0200)]
Avoid "definition without prototype" warnings

8 years agoAvoid "definition without prototype" warnings
John Darrington [Thu, 22 Oct 2015 14:27:58 +0000 (16:27 +0200)]
Avoid "definition without prototype" warnings

8 years agocaseproto_ref: Append compiler directive WARN_UNUSED_RESULT
John Darrington [Thu, 22 Oct 2015 14:14:28 +0000 (16:14 +0200)]
caseproto_ref: Append compiler directive WARN_UNUSED_RESULT

8 years agomake-file.c: Behave better under windows operating systems
John Darrington [Sat, 17 Oct 2015 15:29:31 +0000 (17:29 +0200)]
make-file.c: Behave better under windows operating systems

Under w32 it is necessary to convert all file names to UTF-16 and prefix all
the file related system calls with "_w".  Otherwise, calls involving filenames
which contain non-ascii characters will not work properly.

8 years agoQUICK CLUSTER: Avoid "unused parameter" warning.
Ben Pfaff [Wed, 21 Oct 2015 15:04:33 +0000 (08:04 -0700)]
QUICK CLUSTER: Avoid "unused parameter" warning.

8 years agoQUICK CLUSTER: New subcommand: /PRINT
Alan Mead [Wed, 21 Oct 2015 09:30:36 +0000 (11:30 +0200)]
QUICK CLUSTER: New subcommand: /PRINT

This subcommand can be used to show the initial cluster centres and
the final cluster membership.

Closes bug #41019

8 years agoSkip fifo test for w32 hosted builds
John Darrington [Tue, 20 Oct 2015 13:55:52 +0000 (15:55 +0200)]
Skip fifo test for w32 hosted builds

8 years agoAppend the correct number of null bytes to the end of recoded strings
John Darrington [Tue, 20 Oct 2015 10:08:46 +0000 (12:08 +0200)]
Append the correct number of null bytes to the end of recoded strings

Previously the recode_string et al functions assumed that the correct way to
terminate a string was to append a single \0.  With encodings such as UTF-16
however, two \0 bytes are necessary and four with UTF-32.  This change fixes
the problem.

8 years agoChange pattern of tmpfiles from <name>.tmpXXXXXX to <name>tmpXXXXXX
John Darrington [Tue, 20 Oct 2015 09:19:23 +0000 (11:19 +0200)]
Change pattern of tmpfiles from <name>.tmpXXXXXX to <name>tmpXXXXXX

Under wine, and presumably certain windows systems, filenames with more than one dot are not allowed.

8 years agoMove definition of handler inside the #ifdef HAVE_READLINE
John Darrington [Mon, 19 Oct 2015 13:23:23 +0000 (15:23 +0200)]
Move definition of handler inside the #ifdef HAVE_READLINE

8 years agoProvide stubs for spreadsheet functions when no spreadsheet support is built
John Darrington [Sun, 18 Oct 2015 17:41:42 +0000 (19:41 +0200)]
Provide stubs for spreadsheet functions when no spreadsheet support is built

This prevents link errors when compiling with full optimisation.

8 years agoGnumeric Reader: Fix memory leak
John Darrington [Sun, 18 Oct 2015 11:14:47 +0000 (13:14 +0200)]
Gnumeric Reader: Fix memory leak

8 years agoAdd tests for cases exercising the atomic replacement mechanism
John Darrington [Sat, 17 Oct 2015 16:04:10 +0000 (18:04 +0200)]
Add tests for cases exercising the atomic replacement mechanism

Add a test case when writing to a fifo.
Add some test cases for situations where file creation fails.  Failure
to create a file should be reported gracefully.

8 years agoRemove unnecessary #include directive
John Darrington [Sat, 17 Oct 2015 13:47:03 +0000 (15:47 +0200)]
Remove unnecessary #include directive

8 years agostruct file_handle: Add new member file_name_encoding and an accessor function
John Darrington [Fri, 9 Oct 2015 19:54:57 +0000 (21:54 +0200)]
struct file_handle: Add new member file_name_encoding and an accessor function

8 years agoEnsure all lex_readers have the encoding parameter
John Darrington [Wed, 7 Oct 2015 17:06:21 +0000 (19:06 +0200)]
Ensure all lex_readers have the encoding parameter

8 years agoreplace_file_start: remove parameter TMP_FILE
John Darrington [Thu, 8 Oct 2015 16:15:42 +0000 (18:15 +0200)]
replace_file_start: remove parameter TMP_FILE

This parameter was never used (all callers passed NULL) and I cannot
imagine why anyone would be interested in it.

8 years agoreplace_file_start: Now takes a file handle instead of a file name
John Darrington [Wed, 7 Oct 2015 18:22:25 +0000 (20:22 +0200)]
replace_file_start: Now takes a file handle instead of a file name

8 years agolexer.c: Remove file_name member from lex_reader_file
John Darrington [Wed, 7 Oct 2015 12:03:38 +0000 (14:03 +0200)]
lexer.c: Remove file_name member from lex_reader_file

The parent class already has such a member so this is
redundant and complicates things.

8 years agoFix the INCLUDE /ENCODING subcommand and add a test for it.
John Darrington [Wed, 7 Oct 2015 09:28:35 +0000 (11:28 +0200)]
Fix the INCLUDE /ENCODING subcommand and add a test for it.

It seems that INCLUDE /ENCODING had never worked nor had been
tested.

8 years agoZip Reader: Avoid undefined behaviour when reading short files
John Darrington [Sun, 4 Oct 2015 20:54:48 +0000 (22:54 +0200)]
Zip Reader: Avoid undefined behaviour when reading short files

The zip reader makes many calls to fread.  However the return value was not checked.  This could
have had undefined consequences when reading short files.  This change checks all calls to fread.

8 years agotests: Distribute tests/data/test-encrypted.sps also.
Ben Pfaff [Fri, 2 Oct 2015 17:08:23 +0000 (10:08 -0700)]
tests: Distribute tests/data/test-encrypted.sps also.

Reported by John Darrington.

8 years agopo: Update translations from translationproject.org.
Ben Pfaff [Fri, 2 Oct 2015 12:48:52 +0000 (05:48 -0700)]
po: Update translations from translationproject.org.

8 years agopspp-convert: Support decrypting encrypted SPSS syntax files.
Ben Pfaff [Sat, 26 Sep 2015 23:42:13 +0000 (16:42 -0700)]
pspp-convert: Support decrypting encrypted SPSS syntax files.

Thanks to charlesjohnsont@outlook.com for providing an example.
Bug #45974.

8 years agoFix memory leak in initialization
John Darrington [Sun, 20 Sep 2015 06:48:55 +0000 (08:48 +0200)]
Fix memory leak in initialization

8 years agodoc: Add missing file to doc_pspp_dev_TEXINFOS.
Ben Pfaff [Sat, 19 Sep 2015 22:52:17 +0000 (15:52 -0700)]
doc: Add missing file to doc_pspp_dev_TEXINFOS.

Reported by John Darrington.

8 years agoPsppireSpreadsheetModel: Take reference to underlying model
John Darrington [Sat, 19 Sep 2015 18:02:03 +0000 (20:02 +0200)]
PsppireSpreadsheetModel: Take reference to underlying model

8 years agodoc: Document encrypted syntax file format.
Ben Pfaff [Wed, 16 Sep 2015 06:00:31 +0000 (23:00 -0700)]
doc: Document encrypted syntax file format.

Thanks to charlesjohnsont@outlook.com for providing an example.
Bug #45974.

8 years agoFix memory leak in PsppireVarSheet
John Darrington [Wed, 16 Sep 2015 05:34:27 +0000 (07:34 +0200)]
Fix memory leak in PsppireVarSheet

8 years agoFix memory leak in ODS reader
John Darrington [Wed, 16 Sep 2015 05:34:01 +0000 (07:34 +0200)]
Fix memory leak in ODS reader

8 years agoText file importer: Initialise the total_is_exact variable.
John Darrington [Wed, 16 Sep 2015 05:30:57 +0000 (07:30 +0200)]
Text file importer: Initialise the total_is_exact variable.

The text file importer was supposed to have a feature where the total number of lines
in the file was measured if the file was short, or estimated if it was long.  However
the variable which was supposed to hold this information was never initialised. This
change fixes that.

8 years agoRef count struct spreadsheet
John Darrington [Tue, 15 Sep 2015 16:17:19 +0000 (18:17 +0200)]
Ref count struct spreadsheet

struct spreadsheet is a base class for which all current derivations
are ref counted.  It makes sense then to have the base class refcounted
instead of the more derived ones

8 years agoany-reader: Add some comments on interface and implementation.
Ben Pfaff [Sat, 12 Sep 2015 18:43:14 +0000 (11:43 -0700)]
any-reader: Add some comments on interface and implementation.

Also, adjust pfm_detect() and sfm_detect() code to be consistent with
pcp_detect().  This should not cause a change in behavior.

8 years agopc+-file-reader: Fix handling of short files.
Ben Pfaff [Sat, 12 Sep 2015 18:42:26 +0000 (11:42 -0700)]
pc+-file-reader: Fix handling of short files.

The code failed to return an error properly when fread() read past end of
file.

The function comment didn't properly reflect what the function actually
returned, so this commit also updates the comment.

Reported by John Darrington.

8 years agogui: Mark print_startup_time() unused to avoid warning.
Ben Pfaff [Sat, 12 Sep 2015 18:31:38 +0000 (11:31 -0700)]
gui: Mark print_startup_time() unused to avoid warning.

8 years agoFix dereference to reallocated pointer in data-parser.c (parse_delimited_no_span...
John Darrington [Sat, 12 Sep 2015 10:38:50 +0000 (12:38 +0200)]
Fix dereference to reallocated pointer in data-parser.c (parse_delimited_no_span, parse_delimited_span)

The parse_delimited_span and parse_delimited_no_span functions were
accessing a pointer from within a loop, but the pointer had been
initialised outside the loop.  However the loop itself was deallocating
the memory referenced by that pointer.

This change initialises the pointer within the loop so as to avoid
a potential crash here.

8 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sun, 6 Sep 2015 19:27:46 +0000 (12:27 -0700)]
po: Update translations from translationproject.org.

8 years agoRemove some unnecessary #include directives
John Darrington [Sun, 6 Sep 2015 08:06:02 +0000 (10:06 +0200)]
Remove some unnecessary #include directives

8 years agoHave "make distcheck" run without errors
John Darrington [Sun, 6 Sep 2015 07:43:53 +0000 (09:43 +0200)]
Have "make distcheck" run without errors

8 years agoSplash screen: Flush display after drawing.
John Darrington [Sat, 5 Sep 2015 05:56:13 +0000 (07:56 +0200)]
Splash screen: Flush display after drawing.

This avoids a few milliseconds of black which some users have reported.

8 years agoEncoding selector: fix memory leak
John Darrington [Sun, 30 Aug 2015 15:06:15 +0000 (17:06 +0200)]
Encoding selector: fix memory leak

8 years agoPsppireEncodingSelector: Add comment
John Darrington [Sun, 30 Aug 2015 11:14:25 +0000 (13:14 +0200)]
PsppireEncodingSelector: Add comment

8 years agoDon't bother freeing import dialog memory. Thus avoid crashes.
John Darrington [Sat, 29 Aug 2015 12:42:29 +0000 (14:42 +0200)]
Don't bother freeing import dialog memory. Thus avoid crashes.

A number of users have complained that the import dialog assistant
crashes on exit.  This seems to be because some callback is accessing
the data after it has been freed.

This change "fixes" that by simply not ever freeing the data.  This
will cause a memory leak.  However during my investigations, I have
found that this dialog leaks so much anyway that these few bytes are
hardly significant.

A proper fix will hopefully be forthcoming.

Affects bug #45805

8 years agoTextImportDialog: Gtk[VH]Box --> GtkBox
John Darrington [Tue, 25 Aug 2015 05:27:37 +0000 (07:27 +0200)]
TextImportDialog: Gtk[VH]Box  --> GtkBox

8 years agoTextImportDialog: Remove unused struct definition
John Darrington [Sat, 22 Aug 2015 02:11:40 +0000 (04:11 +0200)]
TextImportDialog: Remove unused struct definition

8 years agoTextImportDialog: GtkVPaned --> GtkPaned
John Darrington [Sat, 22 Aug 2015 02:07:46 +0000 (04:07 +0200)]
TextImportDialog: GtkVPaned --> GtkPaned

8 years agoTextImportDialog: GtkTable --> GtkGrid
John Darrington [Sat, 22 Aug 2015 01:38:09 +0000 (03:38 +0200)]
TextImportDialog: GtkTable --> GtkGrid

8 years agoPulled the latest translations from translation-project.org
Ben Pfaff [Fri, 21 Aug 2015 14:14:55 +0000 (07:14 -0700)]
Pulled the latest translations from translation-project.org

8 years agoRestore the splash screen.
John Darrington [Mon, 17 Aug 2015 17:00:53 +0000 (19:00 +0200)]
Restore the splash screen.

Re-implementat the splash screen, using functinos which are not
deprecated under Gtk3.  Note:  This implementation does not
use the gtk functions which the Gtk devs recommend for splash screens.
What they forget, is that a primary purpose of a splash screen is
that it should appear with the minimum of delay.  gtk_init can
have significant delay - hence the recommended way of doing splash
screens in Gtk is self defeating.

8 years agoPulled the latest translations from translation-project.org
John Darrington [Tue, 11 Aug 2015 10:27:21 +0000 (12:27 +0200)]
Pulled the latest translations from translation-project.org

8 years agoRemove deprecation: gtk_misc_set_alignment -> gtk_widget_set_valign
John Darrington [Sun, 9 Aug 2015 07:52:36 +0000 (09:52 +0200)]
Remove deprecation: gtk_misc_set_alignment -> gtk_widget_set_valign

8 years agoRemoved superfluous #include directive
John Darrington [Sun, 2 Aug 2015 20:20:30 +0000 (22:20 +0200)]
Removed superfluous #include directive

8 years agosys-file-reader: Add PSPP version to messages that ask for files.
Ben Pfaff [Sun, 2 Aug 2015 19:26:39 +0000 (12:26 -0700)]
sys-file-reader: Add PSPP version to messages that ask for files.

This may make it easier to advise users.

Suggested by Harry Thijssen <pspp4windows@gmail.com>.

8 years agoREGRESSION: Relaxed the syntax parser slightly and include /METHO=ENTER in generated...
John Darrington [Sat, 1 Aug 2015 02:57:02 +0000 (04:57 +0200)]
REGRESSION: Relaxed the syntax parser slightly and include /METHO=ENTER in generated syntax.

This improves comparibility between PSPP and other software.

Addresses bug #45667

8 years agoT-TEST: Allow comma to be omitted in GROUPS subcommand.
Ben Pfaff [Fri, 31 Jul 2015 15:44:41 +0000 (08:44 -0700)]
T-TEST: Allow comma to be omitted in GROUPS subcommand.

Reported by Douglas Bonett and Friedrich Beckmann.

8 years agoT-TEST: Allow both CIN and CI on CRITERIA.
Ben Pfaff [Fri, 31 Jul 2015 15:35:04 +0000 (08:35 -0700)]
T-TEST: Allow both CIN and CI on CRITERIA.

Upon reading the bug report further, I see that it says that SPSS also
allows both forms.

Bug #45664.

8 years agoT-TEST: Use correct keyword CI (instead of CIN) on CRITERIA subcommand.
Ben Pfaff [Fri, 31 Jul 2015 15:30:59 +0000 (08:30 -0700)]
T-TEST: Use correct keyword CI (instead of CIN) on CRITERIA subcommand.

Reported by Douglas Bonett <dgbonett@ucsc.edu>.

8 years agopsppire_cell_renderer_button_render: Avoid deprecation warning
John Darrington [Tue, 28 Jul 2015 03:16:56 +0000 (05:16 +0200)]
psppire_cell_renderer_button_render: Avoid deprecation warning

8 years agoPsppireDataWindow (on_switch_page): Add comment and reformat
John Darrington [Mon, 27 Jul 2015 15:14:54 +0000 (17:14 +0200)]
PsppireDataWindow (on_switch_page): Add comment and reformat

8 years agoPsppireDataWindow: reduce scope of incidental
John Darrington [Mon, 27 Jul 2015 14:57:59 +0000 (16:57 +0200)]
PsppireDataWindow: reduce scope of incidental
variables. Add comments.

8 years agoReplace deprecated GtkHBox with GtkBox
John Darrington [Sun, 26 Jul 2015 17:56:12 +0000 (19:56 +0200)]
Replace deprecated GtkHBox with GtkBox

8 years agoData Editor: Remove the GtkHandleBox
John Darrington [Sun, 26 Jul 2015 17:43:19 +0000 (19:43 +0200)]
Data Editor: Remove the GtkHandleBox

This widget is deprecated, and I never saw the point of it anyway.

8 years agoPsppireDialogAction and subclasses - use function to set class activate and thus...
John Darrington [Sun, 26 Jul 2015 08:22:32 +0000 (10:22 +0200)]
PsppireDialogAction and subclasses - use function to set class activate and thus minimise deprecation warnings

All subclasses of PsppireDialogAction needed to use GtkActionClass.  This widget however
is deprecated in recent Gtk versions.  Meaning that all instances of PsppireDialogAction
implementations would provoke a deprecation warning at compile time.

This change avoids that by providing a common function to set GtkActionClass->activate.
Thus, there is now only a single warning instead of many.

8 years agosystem-file-format; Add a little more information gleaned from examples.
Ben Pfaff [Sun, 26 Jul 2015 04:57:38 +0000 (21:57 -0700)]
system-file-format; Add a little more information gleaned from examples.

8 years agoAdded notes about glade versions to src/ui/gui/memorandum.txt
John Darrington [Sun, 26 Jul 2015 02:06:54 +0000 (04:06 +0200)]
Added notes about glade versions to src/ui/gui/memorandum.txt

8 years agosys-file-reader: Change some errors to warnings.
Ben Pfaff [Sat, 25 Jul 2015 20:44:07 +0000 (13:44 -0700)]
sys-file-reader: Change some errors to warnings.

I encountered some system files with corrupt data in the long string
missing value record.  Until now, this entirely prevented the file from
being read.  This commit changes that to just a warning, enabling the file
to be read.

Also revises system file format documentation to better explain that
unknown or corrupted extension records should be ignored.

8 years agosys-file-reader: Avoid hanging forever if a system file has no variables.
Ben Pfaff [Sat, 25 Jul 2015 19:41:44 +0000 (12:41 -0700)]
sys-file-reader: Avoid hanging forever if a system file has no variables.

8 years agodictionary: Make dict_delete_var() much faster in common case.
Ben Pfaff [Sat, 25 Jul 2015 15:58:06 +0000 (08:58 -0700)]
dictionary: Make dict_delete_var() much faster in common case.

When a system file is opened, dict_delete_consecutive_vars() deletes lots
of variables if the system file has long string variables.  This was very
slow because of the O(n**2) behavior in dict_delete_var().  The biggest
cost of that O(n**2) behavior was in calling var_clone() on every variable
several times.  Fortunately, the var_clone() call is not necessary in this
case, because the cloned variable is only needed for callbacks, which
aren't set when a dictionary is being read.

This reduced the time to read the dictionary in a particular sample system
file from seconds to milliseconds.

8 years agoFix behaviour of the REGRESSION /STATISTICS subcommand.
John Darrington [Thu, 9 Jul 2015 15:46:00 +0000 (17:46 +0200)]
Fix behaviour of the REGRESSION /STATISTICS subcommand.

8 years agoGET DATA/TYPE=TXT: Remove ESCAPE subcommand and make its behavior default.
Ben Pfaff [Tue, 21 Jul 2015 03:43:00 +0000 (20:43 -0700)]
GET DATA/TYPE=TXT: Remove ESCAPE subcommand and make its behavior default.

Frans Houweling reported that this is the default and only behavior for
GET DATA/TYPE=TXT in SPSS 14, at:
http://lists.gnu.org/archive/html/pspp-users/2015-07/msg00027.html

Therefore, this commit makes this behavior the default and only behavior
in PSPP as well.  (In my opinion it's the only sensible behavior, but SPSS
didn't document it so I assumed that it didn't do it that way.)

8 years agoPsppireValueEntry: Enable can_focus in realize callback
John Darrington [Sun, 19 Jul 2015 12:12:28 +0000 (14:12 +0200)]
PsppireValueEntry: Enable can_focus in realize callback

8 years agoPsppireDialogActionIndepSamples: Replace GtkTable with GtkGrid
John Darrington [Sun, 19 Jul 2015 11:13:18 +0000 (13:13 +0200)]
PsppireDialogActionIndepSamples: Replace GtkTable with GtkGrid

8 years agoIndependent Samples T-Test dialog: Replace deprected GtkVBox and GtkHBox
John Darrington [Sun, 19 Jul 2015 10:42:01 +0000 (12:42 +0200)]
Independent Samples T-Test dialog: Replace deprected GtkVBox and GtkHBox

8 years agoGET DATA TXT: change syntax generation from /IMPORTCASES to IMPORTCASE
John Darrington [Sat, 18 Jul 2015 07:59:32 +0000 (09:59 +0200)]
GET DATA TXT: change syntax generation from /IMPORTCASES to IMPORTCASE

Apparently, spss only accepts IMPORTCASE (contrary to its documentation).

Reported by: Frans Houweling

8 years agoLinreg: Reduce scope of variables
John Darrington [Fri, 10 Jul 2015 08:38:54 +0000 (10:38 +0200)]
Linreg: Reduce scope of variables

8 years agoAvoid gtk_widget_reparent which is deprecated
John Darrington [Sat, 4 Jul 2015 17:28:33 +0000 (19:28 +0200)]
Avoid gtk_widget_reparent which is deprecated

8 years agoAvoid GtkArrow which is deprecated
John Darrington [Sat, 4 Jul 2015 17:12:02 +0000 (19:12 +0200)]
Avoid GtkArrow which is deprecated

8 years agoPsppireWindowRegister: Remove unused function
John Darrington [Thu, 2 Jul 2015 16:45:27 +0000 (18:45 +0200)]
PsppireWindowRegister: Remove unused function