pspp
13 years agoAdded use-underline and mnemonic-widget properties to PsppireScanf
John Darrington [Sat, 30 Jul 2011 12:01:29 +0000 (14:01 +0200)]
Added use-underline and mnemonic-widget properties to PsppireScanf

13 years agoReplaced the function widget_scanf with a new widget psppire_scanf
John Darrington [Sat, 30 Jul 2011 10:18:21 +0000 (12:18 +0200)]
Replaced the function widget_scanf with a new widget psppire_scanf

13 years agoReliability Dialog: Fix broken mnemonics
John Darrington [Fri, 29 Jul 2011 15:59:48 +0000 (17:59 +0200)]
Reliability Dialog: Fix broken mnemonics

13 years agoPsppireKeypad: Correct the parent class declaration
John Darrington [Fri, 29 Jul 2011 09:54:38 +0000 (11:54 +0200)]
PsppireKeypad: Correct the parent class declaration

13 years agoFix problem building under Gtk+2.18
John Darrington [Fri, 29 Jul 2011 14:12:38 +0000 (16:12 +0200)]
Fix problem building under Gtk+2.18

13 years agoMakefile.am: update location of gitlog-to-changelog script
John Darrington [Thu, 28 Jul 2011 19:39:23 +0000 (21:39 +0200)]
Makefile.am: update location of gitlog-to-changelog script

13 years agoChi-square Dialog: Cosmetic changes
John Darrington [Thu, 28 Jul 2011 17:50:12 +0000 (19:50 +0200)]
Chi-square Dialog: Cosmetic changes

13 years agoFrequencies Dialog: Cosmetic changes
John Darrington [Thu, 28 Jul 2011 17:25:28 +0000 (19:25 +0200)]
Frequencies Dialog: Cosmetic changes

13 years agoCrosstabs Dialog: Cosmetic changes
John Darrington [Thu, 28 Jul 2011 17:04:58 +0000 (19:04 +0200)]
Crosstabs Dialog: Cosmetic changes

13 years agoFix crash in Correlations 20110729030502/pspp 20110730030502/pspp
John Darrington [Thu, 28 Jul 2011 10:16:14 +0000 (12:16 +0200)]
Fix crash in Correlations

13 years agoFix memory leak 20110727030501/pspp 20110728030503/pspp
John Darrington [Sun, 24 Jul 2011 09:11:20 +0000 (11:11 +0200)]
Fix memory leak

13 years agoglm.c: new function design_full to create default interactions
John Darrington [Sat, 23 Jul 2011 11:39:33 +0000 (13:39 +0200)]
glm.c: new function design_full to create default interactions

13 years agoFixed crash when interactions have no instances
John Darrington [Fri, 22 Jul 2011 17:35:43 +0000 (19:35 +0200)]
Fixed crash when interactions have no instances

13 years agoConstness
John Darrington [Fri, 22 Jul 2011 17:01:05 +0000 (19:01 +0200)]
Constness

13 years agoMade GLM as well as ONEWAY work
John Darrington [Fri, 22 Jul 2011 13:39:36 +0000 (15:39 +0200)]
Made GLM as well as ONEWAY work

13 years agoMove call to categoricals_done earlier in the covariance code
John Darrington [Fri, 22 Jul 2011 13:03:10 +0000 (15:03 +0200)]
Move call to categoricals_done earlier in the covariance code

13 years agoConstness
John Darrington [Fri, 15 Jul 2011 10:34:51 +0000 (12:34 +0200)]
Constness

13 years agoExtended the glm command to accept interactions. Unfortunately the ssqs are wrong
John Darrington [Thu, 14 Jul 2011 21:43:11 +0000 (23:43 +0200)]
Extended the glm command to accept interactions.  Unfortunately the ssqs are wrong

13 years agocategoricals.c: Fixed part of the dump function
John Darrington [Tue, 12 Jul 2011 09:29:35 +0000 (11:29 +0200)]
categoricals.c: Fixed part of the dump function

13 years agocategoricals.c: Rename var_params to interact_params
John Darrington [Tue, 12 Jul 2011 09:09:46 +0000 (11:09 +0200)]
categoricals.c: Rename var_params to interact_params

13 years agoRemove unused function
John Darrington [Mon, 11 Jul 2011 15:38:22 +0000 (17:38 +0200)]
Remove unused function

13 years agoFix ssq for interactions
John Darrington [Mon, 11 Jul 2011 14:47:18 +0000 (16:47 +0200)]
Fix ssq for interactions

13 years agoGLM: get_ssq: replace hardcoded 1 with cmd->n_dep_vars
John Darrington [Mon, 11 Jul 2011 06:58:46 +0000 (08:58 +0200)]
GLM: get_ssq: replace hardcoded 1 with cmd->n_dep_vars

13 years agoGLM: remove design_vars which are now superseeded by interactions
John Darrington [Thu, 7 Jul 2011 10:25:48 +0000 (12:25 +0200)]
GLM: remove design_vars which are now superseeded by interactions

13 years agoGLM: Fix memory leaks
John Darrington [Thu, 7 Jul 2011 10:14:29 +0000 (12:14 +0200)]
GLM: Fix memory leaks

13 years agoCategoricals: remove var member which is no longer required
John Darrington [Thu, 7 Jul 2011 09:39:21 +0000 (11:39 +0200)]
Categoricals: remove var member which is no longer required

13 years agoCategoricals: Replace single value by a case, so that interactions can be supported
John Darrington [Wed, 6 Jul 2011 18:56:42 +0000 (20:56 +0200)]
Categoricals: Replace single value by a case, so that interactions can be supported

13 years agoChange interaction functions to use cases rather than value arrays
John Darrington [Wed, 6 Jul 2011 15:54:32 +0000 (17:54 +0200)]
Change interaction functions to use cases rather than value arrays

13 years agoCategoricals to take interactions instead of variables.
John Darrington [Tue, 5 Jul 2011 17:45:31 +0000 (19:45 +0200)]
Categoricals to take interactions instead of variables.

This change alters the API of categoricals_create, so as to
accept an array of interactions instead of an array of variables.
Currently, however only interactions which contain exactly one
variable will run correctly.

13 years agoGLM: Rewrite interactions module and update glm.c to use it in some places
John Darrington [Tue, 5 Jul 2011 13:14:18 +0000 (15:14 +0200)]
GLM: Rewrite interactions module and update glm.c to use it in some places

13 years agoGLM: Prepare the lexer to accept nested variables
John Darrington [Mon, 4 Jul 2011 15:03:26 +0000 (17:03 +0200)]
GLM: Prepare the lexer to accept nested variables

13 years agoAdded dialog for the NPAR RUNS subcommand
John Darrington [Mon, 25 Jul 2011 19:40:27 +0000 (21:40 +0200)]
Added dialog for the NPAR RUNS subcommand

13 years agoK-means dialog only should accept numeric variables
John Darrington [Mon, 25 Jul 2011 17:15:20 +0000 (19:15 +0200)]
K-means dialog only should accept numeric variables

13 years agoAdd some "mnemonic_widget" refs which had been forgotten
John Darrington [Mon, 25 Jul 2011 14:01:48 +0000 (16:01 +0200)]
Add some  "mnemonic_widget" refs which had been forgotten

13 years agoAdded dialog box for quick cluster command
John Darrington [Mon, 25 Jul 2011 12:38:42 +0000 (14:38 +0200)]
Added dialog box for quick cluster command

13 years agoUpdated the Lithuanian translation from http://translationproject.org. 20110724030502/pspp 20110725030501/pspp 20110726030507/pspp
Ben Pfaff [Sun, 24 Jul 2011 04:38:53 +0000 (21:38 -0700)]
Updated the Lithuanian translation from translationproject.org.

13 years agovariable: Simplify var_set_display_width(). 20110714030505/pspp 20110715030503/pspp 20110716030503/pspp 20110717030505/pspp 20110718030502/pspp 20110719030503/pspp 20110720030502/pspp 20110721030503/pspp 20110722030508/pspp 20110723030508/pspp
Ben Pfaff [Mon, 4 Jul 2011 21:49:22 +0000 (14:49 -0700)]
variable: Simplify var_set_display_width().

I don't see a reason to keep old_width or to call
dict_var_changed() if nothing changed.

13 years agoformat: Use max width for over-max decimals in fmt_fix().
Ben Pfaff [Mon, 4 Jul 2011 21:47:35 +0000 (14:47 -0700)]
format: Use max width for over-max decimals in fmt_fix().

In fmt_fix(), requesting more decimals than are possible did
not increase the width at all.  It makes better sense to use
the maximum width and maximum decimals for this case, so this
commit makes that change.

13 years agoformat: Honor width step in fmt_fix().
Ben Pfaff [Mon, 4 Jul 2011 21:12:42 +0000 (14:12 -0700)]
format: Honor width step in fmt_fix().

This ensures that hexadecimal format widths will be a multiple
of 2 after fmt_fix() finishes with them.

This function is used only by the GUI, which doesn't generally
work with hexadecimal formats, so it might not fix a real bug
in practice.

13 years agoGLM: Allow +/- .001 for Corrected Total Type III Sum of Squares. 20110713030502/pspp
Ben Pfaff [Wed, 13 Jul 2011 05:06:37 +0000 (22:06 -0700)]
GLM: Allow +/- .001 for Corrected Total Type III Sum of Squares.

Jeremy Lavergne <jeremy@lavergne.gotdns.org> reported that on
Mac OS X this value is calculated as 329.628 instead of
329.627.  John Darrington said that he's seen the same on
GNU/Linux depending on compiler optimization flags.

13 years agotests: Avoid nonportable "mktemp" usage.
Ben Pfaff [Sun, 10 Jul 2011 22:51:13 +0000 (15:51 -0700)]
tests: Avoid nonportable "mktemp" usage.

Jeremy Lavergne <jeremy@lavergne.gotdns.org> reported that
mktemp on Mac OS X does not have a -p option.  But I don't see
a reason to use mktemp at all here, so this commit uses a fixed
name instead.

13 years agotests: Fix Perl module tests on Mac OS X. 20110711030504/pspp 20110712030504/pspp
Ben Pfaff [Sun, 10 Jul 2011 22:24:45 +0000 (15:24 -0700)]
tests: Fix Perl module tests on Mac OS X.

Tested by Jeremy Lavergne <jeremy@lavergne.gotdns.org>.

13 years agoQUICK CLUSTER: Add documentation 20110709030504/pspp 20110710030504/pspp
John Darrington [Sat, 9 Jul 2011 07:54:15 +0000 (09:54 +0200)]
QUICK CLUSTER: Add documentation

13 years agoQUICK CLUSTER: Add MISSING=EXCLUDE for consistency with other commands
John Darrington [Sat, 9 Jul 2011 07:53:53 +0000 (09:53 +0200)]
QUICK CLUSTER: Add MISSING=EXCLUDE for consistency with other commands

13 years agoQUICK CLUSTER: Implement pairwise missing option
John Darrington [Fri, 8 Jul 2011 14:32:30 +0000 (16:32 +0200)]
QUICK CLUSTER: Implement pairwise missing option

13 years agoMerge remote branch 'savannah/master'
John Darrington [Fri, 8 Jul 2011 13:53:37 +0000 (15:53 +0200)]
Merge remote branch 'savannah/master'

13 years agoRemove redundant files in test sources, that apparently caused link problems 20110706030501/pspp 20110707030503/pspp 20110708030504/pspp
John Darrington [Wed, 6 Jul 2011 09:55:11 +0000 (11:55 +0200)]
Remove redundant files in test sources, that apparently caused link problems

13 years agoFix compiler warnings
John Darrington [Wed, 6 Jul 2011 08:47:19 +0000 (10:47 +0200)]
Fix compiler warnings

13 years agoAdded dialog box for the AUTORECODE command. Closes bug #30009 20110704030504/pspp 20110705030501/pspp
John Darrington [Sun, 3 Jul 2011 13:54:27 +0000 (15:54 +0200)]
Added dialog box for the AUTORECODE command.  Closes bug #30009

13 years agoQuick Cluster: Avoid crash when presented with missing values
John Darrington [Sat, 2 Jul 2011 15:32:16 +0000 (17:32 +0200)]
Quick Cluster: Avoid crash when presented with missing values

13 years agoQUICK-CLUSTER: Seperate const from non-const data and make it handle splits 20110703030504/pspp
John Darrington [Sat, 2 Jul 2011 14:12:57 +0000 (16:12 +0200)]
QUICK-CLUSTER: Seperate const from non-const data and make it handle splits

13 years agoFor consistency with other files use <> instead of ""
John Darrington [Sat, 2 Jul 2011 12:01:09 +0000 (14:01 +0200)]
For consistency with other files use <> instead of ""

13 years agoRemove some gnulib modules whichare being flagges as obsolete
John Darrington [Sat, 2 Jul 2011 12:00:17 +0000 (14:00 +0200)]
Remove some gnulib modules whichare being flagges as obsolete

13 years agoUse PACKAGE_URL from config.h instead of literal string 20110702030505/pspp
John Darrington [Sat, 2 Jul 2011 09:05:16 +0000 (11:05 +0200)]
Use PACKAGE_URL from config.h instead of literal string

13 years agodoc: Fix order of NUMERIC and MRSETS sections.
Ben Pfaff [Tue, 28 Jun 2011 05:13:35 +0000 (22:13 -0700)]
doc: Fix order of NUMERIC and MRSETS sections.

The sections were out of alphabetical order.

Found by texi2html.

13 years agoUpdate NEWS file
John Darrington [Fri, 1 Jul 2011 18:05:20 +0000 (20:05 +0200)]
Update NEWS file

13 years agoImplemented the POSTHOC subcommand for the ONEWAY command.
John Darrington [Fri, 1 Jul 2011 18:04:58 +0000 (20:04 +0200)]
Implemented the POSTHOC subcommand for the ONEWAY command.

Currently, only LSD, Tukey, Bonferroni, Scheffe, Games-Howell
and Sidak are supported. These are presented as Multiple
Comparisons - the Homogeneous Subsets are not yet implemented.

13 years agoFix bug where recent data files were not added
John Darrington [Fri, 1 Jul 2011 16:43:58 +0000 (18:43 +0200)]
Fix bug where recent data files were not added

13 years agoReplace the t-test paired options dialog with a simpler implementation.
John Darrington [Fri, 1 Jul 2011 16:41:05 +0000 (18:41 +0200)]
Replace the t-test paired options dialog with a simpler implementation.

This makes use of some commonality with the npar 2 sample related dialog.

13 years agoAdd the /BLANK subcommand to AUTORECODE
John Darrington [Fri, 1 Jul 2011 16:40:30 +0000 (18:40 +0200)]
Add the /BLANK subcommand to AUTORECODE

13 years agoImplement dialog box for the non-parametric 2-related-samples tests
John Darrington [Fri, 1 Jul 2011 16:39:55 +0000 (18:39 +0200)]
Implement dialog box for the non-parametric 2-related-samples tests

13 years agoMove the glade definition for the paired samples dialog box to its own file
John Darrington [Fri, 1 Jul 2011 16:39:40 +0000 (18:39 +0200)]
Move the glade definition for the paired samples dialog box to its own file

13 years agoAdded COUNT dialog box. Addresses one part of bug #29869
John Darrington [Fri, 1 Jul 2011 16:39:25 +0000 (18:39 +0200)]
Added COUNT dialog box. Addresses one part of bug #29869

13 years agoNew widget PsppireValChooser.
John Darrington [Fri, 1 Jul 2011 16:39:10 +0000 (18:39 +0200)]
New widget PsppireValChooser.

This widget provides a user interface allowing the user to input the
a value, or range of values.  This was previously done "by hand" in
the recode dialog, but was awkward to maintain, and clumsy.  Upcoming
dialogs will need something very similar. So now seemed like a good
time to encapsulate it.

13 years agoUse variable labels in DESCRIPTIVES output. Fixes bug #31565
John Darrington [Fri, 1 Jul 2011 16:38:56 +0000 (18:38 +0200)]
Use variable labels in DESCRIPTIVES output.  Fixes bug #31565

13 years agoAvoid GtkCritical in recode dialog
John Darrington [Fri, 1 Jul 2011 16:38:05 +0000 (18:38 +0200)]
Avoid GtkCritical in recode dialog

13 years agoFix incorrect conditional
John Darrington [Fri, 1 Jul 2011 16:37:51 +0000 (18:37 +0200)]
Fix incorrect conditional

13 years agoFix GUI issues in K-Related NPAR dialog box.
John Darrington [Fri, 1 Jul 2011 16:37:39 +0000 (18:37 +0200)]
Fix GUI issues in K-Related NPAR dialog box.

13 years agoMark get_rule function as inline.
John Darrington [Fri, 1 Jul 2011 16:21:47 +0000 (18:21 +0200)]
Mark get_rule function as inline.

13 years agoUse greater-than-or-equal to sign instead of '>='.
John Darrington [Fri, 1 Jul 2011 16:21:32 +0000 (18:21 +0200)]
Use greater-than-or-equal to sign instead of '>='.

Now that the "ascii" driver supports non-ascii, we can use these
unicode characters to give more elegent output.

13 years agoImplemented the McNemar test. Closes bug #33242
John Darrington [Fri, 1 Jul 2011 16:21:13 +0000 (18:21 +0200)]
Implemented the McNemar test.  Closes bug #33242

13 years agoFix bugs deleting temporary files and their containing directory.
John Darrington [Fri, 1 Jul 2011 16:20:42 +0000 (18:20 +0200)]
Fix bugs deleting temporary files and their containing directory.

The clean_temp module provided by gnulib doesn't cleanup on program
exit.  We must do that ourselves.  Secondly, the close_temp_file function
was supposed to remove the file, but didn't do that.  Thirdly, files
were not being registered with the clean_temp module on creation.
This change fixes these problems.

13 years agoMake the value labels dialog resizable
John Darrington [Fri, 1 Jul 2011 16:19:39 +0000 (18:19 +0200)]
Make the value labels dialog resizable

13 years agoReplace deprecated function call
John Darrington [Fri, 1 Jul 2011 16:19:16 +0000 (18:19 +0200)]
Replace deprecated function call

13 years agoRemove action member from PsppireSelector
John Darrington [Fri, 1 Jul 2011 16:18:59 +0000 (18:18 +0200)]
Remove action member from PsppireSelector

13 years agoReplace some deprecated GTK macros
John Darrington [Fri, 1 Jul 2011 16:18:45 +0000 (18:18 +0200)]
Replace some deprecated GTK macros

13 years agoChange the order of the reported NPAR values in two sample related tests.
John Darrington [Fri, 1 Jul 2011 16:18:27 +0000 (18:18 +0200)]
Change the order of the reported NPAR values in two sample related tests.

This change makes the order of the reported values follow the order in
which they were entered in the syntax.  The changes to the tests affect
only the order.  The numbers are unchanged.

13 years agoRemove duplicated functions
John Darrington [Fri, 1 Jul 2011 16:01:27 +0000 (18:01 +0200)]
Remove duplicated functions

13 years agoRemove unused functions
John Darrington [Fri, 1 Jul 2011 16:01:11 +0000 (18:01 +0200)]
Remove unused functions

13 years agoFilter the data file list by mime type instead of file extension
John Darrington [Fri, 1 Jul 2011 16:00:49 +0000 (18:00 +0200)]
Filter the data file list by mime type instead of file extension

13 years agoSet the show-tips property on the recent chooser menus
John Darrington [Fri, 1 Jul 2011 16:00:32 +0000 (18:00 +0200)]
Set the show-tips property on the recent chooser menus

13 years agoUse local include paths instead of relative to $top_builddir/src
John Darrington [Fri, 1 Jul 2011 16:00:14 +0000 (18:00 +0200)]
Use local include paths instead of relative to $top_builddir/src

The old method appeared not to work with some gcc versions.

13 years agoReplace some obsolete Gtk macro calls
John Darrington [Fri, 1 Jul 2011 15:59:10 +0000 (17:59 +0200)]
Replace some obsolete Gtk macro calls

13 years agoFix building when readline library is not present
John Darrington [Fri, 1 Jul 2011 15:58:33 +0000 (17:58 +0200)]
Fix building when readline library is not present

13 years agoAdded support to read OpenDocument spreadsheet files
John Darrington [Fri, 1 Jul 2011 15:27:26 +0000 (17:27 +0200)]
Added support to read OpenDocument spreadsheet files

13 years agoImplemented a zip-writer to correspond to zip-reader
John Darrington [Fri, 1 Jul 2011 15:22:02 +0000 (17:22 +0200)]
Implemented a zip-writer to correspond to zip-reader

13 years agoPerl Module - Add function to count cases in a reader.
John Darrington [Fri, 1 Jul 2011 15:04:50 +0000 (17:04 +0200)]
Perl Module - Add function to count cases in a reader.

Closes bug #33381

13 years agoRemove some files which are no longer used
John Darrington [Fri, 1 Jul 2011 14:48:32 +0000 (16:48 +0200)]
Remove some files which are no longer used

13 years agoFix bug parsing T-TEST
John Darrington [Fri, 1 Jul 2011 14:48:19 +0000 (16:48 +0200)]
Fix bug parsing T-TEST

13 years agoRe-implemented the T-TEST command and the levene calculation.
John Darrington [Fri, 1 Jul 2011 14:47:33 +0000 (16:47 +0200)]
Re-implemented the T-TEST command and the levene calculation.

Also updated the ONEWAY command to use the new levene test.
The changes to t-test.at in this changeset affect only whitespace
or the order of reported significance.  The numbers remain unchanged.

13 years agoFixed the categoricals such that now both GLM and ONEWAY work
John Darrington [Mon, 27 Jun 2011 10:58:48 +0000 (12:58 +0200)]
Fixed the categoricals such that now both GLM and ONEWAY work

13 years agoGLM: Add unimplemented subcommands, and add a test.
John Darrington [Mon, 27 Jun 2011 07:13:11 +0000 (09:13 +0200)]
GLM: Add unimplemented subcommands, and add a test.

This change adds a basic GLM test for the "Latin Square" use case.
It also implements the more common subcommands that might occur in
a real life example of such usage.  The /DESIGN subcommand differs
slightly from spss.  In spss, it is optional, and if given can be
empty.  In this change, /DESIGN is mandatory and may not be empty.
The rational for that, is that spss's default is to include interactions
for all the factors.  We don't (yet) support interactions, so it's
better to refuse to run a syntax which relies upon the default
rather than to run it with different semantics.

13 years agoFirst working GLM command
John Darrington [Sun, 26 Jun 2011 20:25:55 +0000 (22:25 +0200)]
First working GLM command

13 years agoAdded type 3 sums of squares to GLM 20110625030504/pspp 20110626030505/pspp 20110627030508/pspp 20110628030505/pspp 20110629030502/pspp 20110630030506/pspp 20110701030505/pspp
Jason H Stover [Fri, 24 Jun 2011 14:05:51 +0000 (10:05 -0400)]
Added type 3 sums of squares to GLM

13 years agogui: Move some formatting functions into PSPP core. 20110624030506/pspp
Ben Pfaff [Tue, 21 Jun 2011 14:00:33 +0000 (07:00 -0700)]
gui: Move some formatting functions into PSPP core.

13 years agogui: Strip numerics and strings differently in value_to_text().
Ben Pfaff [Tue, 14 Jun 2011 02:17:27 +0000 (19:17 -0700)]
gui: Strip numerics and strings differently in value_to_text().

Otherwise a long string value that only contains a few
characters followed by all spaces is hard to read.

13 years agogui: Eliminate some dependencies on the dictionary.
Ben Pfaff [Sat, 11 Jun 2011 17:40:43 +0000 (10:40 -0700)]
gui: Eliminate some dependencies on the dictionary.

Previously all of the dialog boxes used by the variable sheet
kept around a pointer to the dictionary solely to obtain the
dictionary's encoding.  Previous commits have eliminated that
use, so this commit gets rid of the dictionary members.

13 years agogui: Simplify value_to_text() parameters.
Ben Pfaff [Tue, 21 Jun 2011 02:06:11 +0000 (19:06 -0700)]
gui: Simplify value_to_text() parameters.

Both the format and the dictionary can be inferred from the
variable being formatted in every case in the tree but one, so
use that as the calling convention.  In the one remaining case,
it's just as easy to call data_out() directly.

13 years agogui: Consistently use print format instead of write format.
Ben Pfaff [Sat, 11 Jun 2011 16:42:22 +0000 (09:42 -0700)]
gui: Consistently use print format instead of write format.

In syntax, only the WRITE command uses write formats.  Other
commands all use print formats.  I don't see why the GUI should
act differently.

13 years agogui: Drop 'dict' parameter from text_to_value().
Ben Pfaff [Sat, 11 Jun 2011 04:55:47 +0000 (21:55 -0700)]
gui: Drop 'dict' parameter from text_to_value().

This parameter is used only to obtain the dictionary's
encoding, which may also be obtained through the variable.