pspp-builds.git
14 years agoRemove unused declarations
John Darrington [Sun, 27 Dec 2009 10:40:46 +0000 (11:40 +0100)]
Remove unused declarations

14 years agoChange GTK_SIGNAL_FUNC to G_CALLBACK.
John Darrington [Sun, 27 Dec 2009 10:28:07 +0000 (11:28 +0100)]
Change GTK_SIGNAL_FUNC to G_CALLBACK.

These macros are identical, but for consistency I've changed them
all to the latter.

14 years agoAvoid warning about GtkAdjustments with non-zero page_size
John Darrington [Sun, 27 Dec 2009 10:12:24 +0000 (11:12 +0100)]
Avoid warning about GtkAdjustments with non-zero page_size

14 years agoAdded documentation for the FACTOR command fc11-i386-build65 fc11-x64-build62 lenny-x64-build86 sid-i386-build132
John Darrington [Sat, 26 Dec 2009 09:30:09 +0000 (10:30 +0100)]
Added documentation for the FACTOR command

14 years agoFix fault XML in documentation. fc11-i386-build63 fc11-x64-build60 lenny-x64-build84 sid-i386-build130
John Darrington [Thu, 24 Dec 2009 16:05:12 +0000 (17:05 +0100)]
Fix fault XML in documentation.

Avoid broken XML generated by Texinfo. Add a make rule
to check for this in the future.

14 years agoNew translations from http://translationproject.org fc11-i386-build62 fc11-x64-build59 lenny-x64-build83 sid-i386-build129
John Darrington [Thu, 24 Dec 2009 12:37:53 +0000 (13:37 +0100)]
New translations from translationproject.org

14 years agoFACTOR: Implemented the /PRINT=CORRELATIONS SIG DETERMINANT subcommands
John Darrington [Thu, 24 Dec 2009 12:33:45 +0000 (13:33 +0100)]
FACTOR: Implemented the /PRINT=CORRELATIONS SIG DETERMINANT subcommands

14 years agoFACTOR: Remove diagnostic messages
John Darrington [Wed, 23 Dec 2009 19:11:06 +0000 (20:11 +0100)]
FACTOR: Remove diagnostic messages

14 years agoFirst attempt at FACTOR command
John Darrington [Wed, 23 Dec 2009 17:39:31 +0000 (18:39 +0100)]
First attempt at FACTOR command

14 years agoRemove gettext markup from g_param_spec arguments. fc11-i386-build60 fc11-x64-build57 lenny-x64-build81 sid-i386-build127
John Darrington [Fri, 18 Dec 2009 18:48:44 +0000 (19:48 +0100)]
Remove gettext markup from g_param_spec arguments.

These strings are never seen by users, so there's little
point in translating them.

14 years agoAdded the Catalan translation from http://translationproject.org
John Darrington [Fri, 18 Dec 2009 18:15:56 +0000 (19:15 +0100)]
Added the Catalan translation from translationproject.org

14 years agoLinear Regression: Dependent variables should not be strings. fc11-i386-build59 fc11-x64-build56 lenny-x64-build80 sid-i386-build126
John Darrington [Wed, 16 Dec 2009 20:52:17 +0000 (21:52 +0100)]
Linear Regression: Dependent variables should not be strings.

Prevent the gui from selecting string variables as the dependent
variable in a linear regression procedure, since that's not
allowed in such a procedure.

14 years agoMerge commit 'origin/stable' fc11-i386-build58 fc11-x64-build55 lenny-x64-build79 sid-i386-build125
John Darrington [Wed, 16 Dec 2009 20:09:55 +0000 (21:09 +0100)]
Merge commit 'origin/stable'

Conflicts:

NEWS
configure.ac
po/nl.po
src/ui/gui/dict-display.c

14 years agoFix bug in ROC parsing long string variables fc11-i386-build57 fc11-x64-build54 lenny-x64-build78 sid-i386-build124
John Darrington [Wed, 16 Dec 2009 19:52:33 +0000 (20:52 +0100)]
Fix bug in ROC parsing long string variables

14 years agoProperly escape marked up text in dictionary views fc11-i386-build56 fc11-x64-build53 lenny-x64-build77 sid-i386-build123
John Darrington [Wed, 16 Dec 2009 19:30:08 +0000 (20:30 +0100)]
Properly escape marked up text in dictionary views

14 years agoEnsure all symbols in glade library are resolved fc11-i386-build55 fc11-x64-build52 lenny-x64-build76 sid-i386-build122
John Darrington [Wed, 16 Dec 2009 19:08:22 +0000 (20:08 +0100)]
Ensure all symbols in glade library are resolved

14 years agoNew interface PsppireSelectDestWidget.
John Darrington [Wed, 16 Dec 2009 18:49:22 +0000 (19:49 +0100)]
New interface PsppireSelectDestWidget.

Created a new interface type PsppireSelectDestWidget to serve
as an abstract widget which can be the destination for a PsppireSelector.
Changed PsppireVarView to implement this interface.

14 years agoRemove unused GtkAdjustment objects
John Darrington [Tue, 15 Dec 2009 18:18:51 +0000 (19:18 +0100)]
Remove unused GtkAdjustment objects

14 years agoFix missing menu label
John Darrington [Mon, 14 Dec 2009 19:01:38 +0000 (20:01 +0100)]
Fix missing menu label

14 years agoDon't allow string variables in ROC dialog as dependent variable
John Darrington [Mon, 14 Dec 2009 18:51:16 +0000 (19:51 +0100)]
Don't allow string variables in ROC dialog as dependent variable

14 years agoRemove unused code
John Darrington [Mon, 14 Dec 2009 18:28:46 +0000 (19:28 +0100)]
Remove unused code

14 years agoShow only numeric variables in correlations dialog
John Darrington [Mon, 14 Dec 2009 18:21:51 +0000 (19:21 +0100)]
Show only numeric variables in correlations dialog

14 years agoMerge branch 'master' of ssh://john@cellform.com/home/john/Development/pspp-selector
John Darrington [Sun, 13 Dec 2009 19:40:38 +0000 (20:40 +0100)]
Merge branch 'master' of ssh://john@cellform.com/home/john/Development/pspp-selector

14 years agoMerge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
John Darrington [Sun, 13 Dec 2009 19:39:35 +0000 (20:39 +0100)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp

14 years agoAdded a dialog box for the CORRELATION command
John Darrington [Sun, 13 Dec 2009 19:37:13 +0000 (20:37 +0100)]
Added a dialog box for the CORRELATION command

14 years agoNew function psppire_var_view_contains_var
John Darrington [Sun, 13 Dec 2009 14:50:09 +0000 (15:50 +0100)]
New function psppire_var_view_contains_var

Added a function to test whether a variable is currently
contained within a PsppireVarView widget.

14 years agoChange psppire_dicts pointers from G_POINTER to PSPPIRE_VAR_PTR_TYPE
John Darrington [Sun, 13 Dec 2009 14:45:34 +0000 (15:45 +0100)]
Change psppire_dicts pointers from G_POINTER to PSPPIRE_VAR_PTR_TYPE

14 years agoSet the dictionary encoding of files created by the perl module. fc11-i386-build52 fc11-x64-build49 lenny-x64-build73 sid-i386-build119
John Darrington [Sun, 13 Dec 2009 12:19:27 +0000 (13:19 +0100)]
Set the dictionary encoding of files created by the perl module.

This *assumes* that all strings passed from perl will be utf8
encoded.  So the documentation has been updated accordingly.

14 years agoROC dialog: Disable reference button when curve is not drawn
John Darrington [Sat, 12 Dec 2009 20:35:23 +0000 (21:35 +0100)]
ROC dialog: Disable reference button when curve is not drawn

14 years agoImplemented a dialog box for the ROC command
John Darrington [Sat, 12 Dec 2009 15:48:02 +0000 (16:48 +0100)]
Implemented a dialog box for the ROC command

14 years agoRemove awkward dependency from psppire-selector.c
John Darrington [Sat, 12 Dec 2009 11:55:57 +0000 (12:55 +0100)]
Remove awkward dependency from psppire-selector.c

Removed the default selection functions from being
statically linked to psppire-selector.c  - apart from
being inelegant this caused a lot of unncessary dependencies
in the glade module.

14 years agoRemove unused code
John Darrington [Sat, 12 Dec 2009 09:29:43 +0000 (10:29 +0100)]
Remove unused code

14 years agoRework the recode-dialog to fit new selector / psppire-var-view objects.
John Darrington [Sat, 12 Dec 2009 09:26:31 +0000 (10:26 +0100)]
Rework the recode-dialog to fit new selector / psppire-var-view objects.

14 years agoUpdate to reflect latest copy of Gnulib
John Darrington [Thu, 3 Dec 2009 20:50:15 +0000 (21:50 +0100)]
Update to reflect latest copy of Gnulib

Conflicts:

README.Git
src/data/make-file.c

15 years agoMerge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
John Darrington [Tue, 24 Nov 2009 18:50:01 +0000 (19:50 +0100)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp

15 years agoSearch for a gettext implementation at configure time fc11-i386-build40 fc11-x64-build37 lenny-x64-build61 sid-i386-build109
John Darrington [Tue, 24 Nov 2009 18:31:05 +0000 (19:31 +0100)]
Search for a gettext implementation at configure time

15 years agoNew module psppire-var-view
John Darrington [Mon, 23 Nov 2009 19:03:05 +0000 (20:03 +0100)]
New module psppire-var-view

Added a new object PsppireVarView which is a subclass
of GtkTreeView.   It automatically creates a model for
itself for the storage of variables.

This change breaks some features.  These must be corrected
in subsequenct commits.

15 years agoEnsure that only one set of callbacks exist.
John Darrington [Thu, 19 Nov 2009 18:37:37 +0000 (19:37 +0100)]
Ensure that only one set of callbacks exist.

Remove any existing selector callbacks before adding
new ones.  Otherwise a keyclick can add 2 or more
items instead of the desired one.

15 years agoMerge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
John Darrington [Wed, 18 Nov 2009 19:41:06 +0000 (20:41 +0100)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp

15 years agoUpdate to reflect latest copy of Gnulib fc11-i386-build38 fc11-x64-build35 lenny-x64-build59 sid-i386-build107
John Darrington [Wed, 18 Nov 2009 19:40:25 +0000 (20:40 +0100)]
Update to reflect latest copy of Gnulib

15 years agoFix problem building with --without-libplot
John Darrington [Wed, 18 Nov 2009 19:00:45 +0000 (20:00 +0100)]
Fix problem building with --without-libplot

15 years agoFix property erroneously altered in commit a9a69251edd625a50f271af5d64c157533b5fe48
John Darrington [Wed, 18 Nov 2009 18:10:48 +0000 (19:10 +0100)]
Fix property erroneously altered in commit a9a69251edd625a50f271af5d64c157533b5fe48

15 years agoSeparated psppire_selector_set_subjects into two individual functions
John Darrington [Tue, 17 Nov 2009 18:29:56 +0000 (19:29 +0100)]
Separated psppire_selector_set_subjects into two individual functions

15 years agoUpdated the Dutch translation at the translator's request fc11-i386-build36 fc11-x64-build33 lenny-x64-build57 sid-i386-build105
John Darrington [Mon, 16 Nov 2009 21:23:54 +0000 (22:23 +0100)]
Updated the Dutch translation at the translator's request

15 years agoPsppireDictView: Change "dictionary" property to "model".
John Darrington [Mon, 16 Nov 2009 18:29:25 +0000 (19:29 +0100)]
PsppireDictView: Change "dictionary" property to "model".

Previously, PsppireDictView, which derives from GtkTreeView,
had a property "dictionary", and a trap on the GtkTreeView's
"model" property.  This change removes the trap and changes the
"dictionary" property to an override of the "model" property.

15 years agoPsppireSelector: new properties: "source-widget" and "dest-widget".
John Darrington [Sun, 15 Nov 2009 21:30:18 +0000 (22:30 +0100)]
PsppireSelector: new properties: "source-widget" and "dest-widget".

Previously, a function psppire_selector_set_subjects was used to
set the destination and source widgets of a PsppireSelector.  This
change adds two new properties, and sets them in the GtkBuilder
definitions instead of in the C code.

15 years agoMove definition of sort-cases-dialog to a seperate file. fc11-i386-build35 fc11-x64-build32 lenny-x64-build56 sid-i386-build104
John Darrington [Sun, 15 Nov 2009 14:40:29 +0000 (15:40 +0100)]
Move definition of sort-cases-dialog to a seperate file.

Removed the sort-cases-dialog definition from psppire.ui
into a new file sort.ui

15 years agoFix some minor problems with the reliability dialog fc11-i386-build34 fc11-x64-build31 lenny-x64-build55 sid-i386-build103
John Darrington [Sat, 14 Nov 2009 19:24:56 +0000 (20:24 +0100)]
Fix some minor problems with the reliability dialog

15 years agoProperly display ampersand characters in dictionary view widgets fc11-i386-build33 fc11-x64-build30 lenny-x64-build54 sid-i386-build102
John Darrington [Fri, 13 Nov 2009 20:55:07 +0000 (21:55 +0100)]
Properly display ampersand characters in dictionary view widgets

15 years agoUse significance_of_correlation function in t-test. fc11-i386-build32 fc11-x64-build29 lenny-x64-build53 sid-i386-build101
John Darrington [Sun, 8 Nov 2009 17:17:04 +0000 (18:17 +0100)]
Use significance_of_correlation function in t-test.

Use the new function in src/math/correlation.c instead
of doing it ourselves.

15 years agoNew module src/math/correlation
John Darrington [Sun, 8 Nov 2009 15:33:52 +0000 (16:33 +0100)]
New module src/math/correlation

Created a new module to hold some common routines pertaining
to correlation coefficients.

15 years agoRemove inappropriate call to gtk_window_set_keep_above fc11-i386-build31 fc11-x64-build28 lenny-x64-build52 sid-i386-build100
John Darrington [Sat, 7 Nov 2009 07:39:07 +0000 (08:39 +0100)]
Remove inappropriate call to gtk_window_set_keep_above

Thanks to Hugo Florentino for reporting this problem.

15 years agosys-file-reader: Tolerate nonsensical opcodes in compressed data. fc11-i386-build22 fc11-x64-build21 lenny-x64-build43 sid-i386-build90
Ben Pfaff [Thu, 15 Oct 2009 04:20:44 +0000 (21:20 -0700)]
sys-file-reader: Tolerate nonsensical opcodes in compressed data.

Compressed data in .sav files uses a set of 256 opcodes, some of which make
sense only for numeric data and others of which only make sense for string
data.  However, Jereme Thomas <jereme.thomas@gmail.com> has provided one
file, written by SPSS 14, that uses an opcode that seems to makes sense
only for numeric data in a string field.  So this commit adds support for
these opcodes, although it still warns about the ones other than the exact
one found in the file provided by Jereme.

15 years agoEnhance dissect-sysfile utility to print compressed data also. fc11-i386-build21 fc11-x64-build20 lenny-x64-build42 sid-i386-build89
Ben Pfaff [Thu, 15 Oct 2009 03:41:25 +0000 (20:41 -0700)]
Enhance dissect-sysfile utility to print compressed data also.

This proved useful in investigating a report that PSPP failed to read a
.sav file that contained compressed data, so it seems worthwhile to include
it in the PSPP tree.

15 years agoDon't delete .po files from source directory in "make clean". origin/makefiles fc11-i386-build20 lenny-x64-build41 sid-i386-build88
Ben Pfaff [Mon, 12 Oct 2009 04:31:18 +0000 (21:31 -0700)]
Don't delete .po files from source directory in "make clean".

Running "make clean" when the source directory is configured as a build
directory shouldn't delete the .po files, but the rule as written did so.
This fixes the problem.

15 years agoEliminate too-expansive "clean" rule kluge by requiring fixed Automake.
Ben Pfaff [Mon, 12 Oct 2009 04:26:30 +0000 (21:26 -0700)]
Eliminate too-expansive "clean" rule kluge by requiring fixed Automake.

The NEWS for Automake 1.10.1 mentions the following bug fix:

  - All directories `.libs'/`_libs' used by libtool are cleaned now,
    not only those in which libraries are built.

This describes the situation for the kluged "clean" rule in
tests/automake.mk, so by requiring Automake 1.10.1 or later we can also
eliminate the clean rule.

15 years agoRevert "INSTALL: Mention that GNU make is required."
Ben Pfaff [Mon, 12 Oct 2009 04:03:50 +0000 (21:03 -0700)]
Revert "INSTALL: Mention that GNU make is required."

BSD make is now supported.

15 years agoDon't use $< in target rules, for portability to POSIX make.
Ben Pfaff [Tue, 13 Oct 2009 03:41:37 +0000 (20:41 -0700)]
Don't use $< in target rules, for portability to POSIX make.

POSIX only requires $< to be defined for implicit rules, so don't use it
in target rules.

With this commit, PSPP builds properly from a tarball with NetBSD make
version 1.111 on Debian GNU/Linux.

15 years agoUse @VARIABLE@ instead of $(VARIABLE) consistently in Makefiles.
Ben Pfaff [Sun, 11 Oct 2009 21:07:00 +0000 (14:07 -0700)]
Use @VARIABLE@ instead of $(VARIABLE) consistently in Makefiles.

The $(VARIABLE) syntax is usually preferred, because it is possible for the
user to override it at "make" time, whereas @VARIABLE@ is hardwired at
"configure" time.

There was some discussion of this on bug-gnulib@gnu.org:
http://comments.gmane.org/gmane.comp.lib.gnulib.bugs/18588
The summary is that Bruno Haible sometimes prefers @VARIABLE@ but most
others generally prefer $(VARIABLE), for the reason given above.

15 years agoRemove redundant variable declarations from Makefile.am.
Ben Pfaff [Sun, 11 Oct 2009 20:56:29 +0000 (13:56 -0700)]
Remove redundant variable declarations from Makefile.am.

Autoconf's AC_SUBST ensures that Automake will declare the corresponding
Makefile variables, so there is no need to declare them ourselves.

15 years agoDrop double suffixes from makefiles to improve POSIX make compliance.
Ben Pfaff [Sun, 11 Oct 2009 20:53:50 +0000 (13:53 -0700)]
Drop double suffixes from makefiles to improve POSIX make compliance.

POSIX says that suffixes must contain only a single dot, e.g. ".inc.pl"
is not allowed.  So this commit renames files and adjusts the makefiles
to comply with this rule.

15 years agoAvoid nonportable -i option in sed invocation.
Ben Pfaff [Sun, 11 Oct 2009 20:33:27 +0000 (13:33 -0700)]
Avoid nonportable -i option in sed invocation.

POSIX sed only has -e, -f, and -n options.

15 years agoAvoid GNU make extension $(RM) in makefiles.
Ben Pfaff [Sat, 10 Oct 2009 21:35:55 +0000 (14:35 -0700)]
Avoid GNU make extension $(RM) in makefiles.

Automake uses "rm -f" literally so there is not much point in PSPP trying
to use $(RM).  At any rate it's a GNU make extension so it's best to avoid
it for portability.

15 years agoDeclare Makefile suffixes, to be a little closer to POSIX make compliance.
Ben Pfaff [Fri, 9 Oct 2009 02:50:59 +0000 (19:50 -0700)]
Declare Makefile suffixes, to be a little closer to POSIX make compliance.

POSIX requires that suffixes used in implicit rules be declared.  Automake
allows one to do that by adding the suffixes to a variable named SUFFIXES.
We weren't doing that consistently, and this commit fixes that up.

POSIX doesn't allow suffixes to contain more than one period, so this isn't
a complete fix, since the Makefiles still use .h.pl and .inc.pl as
suffixes.  There are other reasons, too, why the PSPP Makefiles are not
POSIX-compliant.

15 years agoConverted psppire.glade to psppire.ui fbsd72-i386-build33 fc11-i386-build19 fc11-x64-build19 lenny-x64-build40 sid-i386-build87
John Darrington [Sat, 10 Oct 2009 14:36:02 +0000 (16:36 +0200)]
Converted psppire.glade to psppire.ui

15 years agoConverted some additional .glade files .ui
John Darrington [Sat, 10 Oct 2009 14:25:29 +0000 (16:25 +0200)]
Converted some additional .glade files .ui

15 years agoAllow xgettext to extract strings from .ui files
John Darrington [Sat, 10 Oct 2009 13:22:27 +0000 (15:22 +0200)]
Allow xgettext to extract strings from .ui files

15 years agoStarted transition to a .glade-less system.
John Darrington [Sat, 10 Oct 2009 12:43:39 +0000 (14:43 +0200)]
Started transition to a .glade-less system.

Converted some of the .glade files to .ui in the
source tree instead of using the convertor script.

15 years agoAvoid use of $* in Makefile since it's problematic fbsd72-i386-build32 fc11-i386-build18 sid-i386-build86
John Darrington [Sat, 10 Oct 2009 07:43:13 +0000 (09:43 +0200)]
Avoid use of $* in Makefile since it's problematic

Thanks to Ben Pfaff for reporting this.

15 years agoRelease PSPP 0.6.2-rc1. fbsd72-i386-build30 fc11-i386-build16 fc11-x64-build17 lenny-x64-build38 sid-i386-build84 v0.6.2-rc1
Ben Pfaff [Wed, 7 Oct 2009 03:49:31 +0000 (20:49 -0700)]
Release PSPP 0.6.2-rc1.

15 years agoUpdate Dutch and Brazilian Portuguese translations.
Ben Pfaff [Wed, 7 Oct 2009 03:48:49 +0000 (20:48 -0700)]
Update Dutch and Brazilian Portuguese translations.

Thanks to Michel Boaventura, Harry Thijssen, and the coordinators at
translationproject.org.

15 years agoUpdate NEWS file fbsd72-i386-build29 fc11-i386-build15 fc11-x64-build16 lenny-x64-build37 sid-i386-build83
John Darrington [Tue, 6 Oct 2009 16:36:40 +0000 (18:36 +0200)]
Update NEWS file

15 years agoNew function check_interactions to specify all possible interactions fbsd72-i386-build28 fc11-i386-build14 fc11-x64-build15 lenny-x64-build36 sid-i386-build82
Jason H Stover [Tue, 6 Oct 2009 14:33:03 +0000 (10:33 -0400)]
New function check_interactions to specify all possible interactions
in the absence of the DESIGN subcommand.

Remove calls to covariance_matrix routines as preparation to rewrite
src/math/covariance-matrix.c.

15 years agohmap-test: Skip test instead of reporting success on GCC 4.3. fbsd72-i386-build27 fc11-i386-build13 fc11-x64-build14 lenny-x64-build35 sid-i386-build81
Ben Pfaff [Mon, 5 Oct 2009 03:37:10 +0000 (20:37 -0700)]
hmap-test: Skip test instead of reporting success on GCC 4.3.

Commit 1dfc6b1 "hmap-test: Disable tests that GCC 4.3 miscompiles."
disabled some of the hmap-tests, the ones that GCC 4.3 miscompiles.
However, it still reported "success" if the remaining tests succeeded.
John Darrington suggested that reporting that the test was skipped was
more accurate, so this commit does so.

15 years agoUpgrade gtk-builder-convert to newer version that adds useful warnings. fbsd72-i386-build26 fc11-i386-build12 fc11-x64-build13 lenny-x64-build34 sid-i386-build80
Ben Pfaff [Mon, 5 Oct 2009 03:27:30 +0000 (20:27 -0700)]
Upgrade gtk-builder-convert to newer version that adds useful warnings.

The notes on "Migrating from libglade to GtkBuilder" in the GTK+
Reference Manual at, e.g.
http://library.gnome.org/devel/gtk/unstable/gtk-migrating-GtkBuilder.html
say that "While libglade can often tolerate multiple widgets having the
same id in a glade file, GtkBuilder will not accept duplicate object ids."
The version of gtk-builder-convert that we had previously didn't warn about
duplicate ids; the new version checked in by this commit does.

15 years agoCanonicalise orthography of Big/Little Endian fbsd72-i386-build25 fc11-i386-build11 fc11-x64-build12 lenny-x64-build33 sid-i386-build79
John Darrington [Sun, 4 Oct 2009 16:58:39 +0000 (18:58 +0200)]
Canonicalise orthography of Big/Little Endian

15 years agoRemove duplicate entry from command.def
John Darrington [Sun, 4 Oct 2009 16:52:15 +0000 (18:52 +0200)]
Remove duplicate entry from command.def

15 years agoUpdate INSTALL file
John Darrington [Sun, 4 Oct 2009 15:46:14 +0000 (17:46 +0200)]
Update INSTALL file

15 years agoCORRELATIONS: Properly deal with case weights. fbsd72-i386-build24 fc11-i386-build10 fc11-x64-build11 lenny-x64-build32 sid-i386-build78
John Darrington [Sun, 4 Oct 2009 14:51:57 +0000 (16:51 +0200)]
CORRELATIONS: Properly deal with case weights.

Corrected a bug in the weighted covariance calculations,
and add a test to check that weights are properly
handled.

15 years agoCORRELATIONS: Fix bug parsing /STATISTICS=ALL
John Darrington [Sun, 4 Oct 2009 14:25:04 +0000 (16:25 +0200)]
CORRELATIONS: Fix bug parsing /STATISTICS=ALL

15 years agoCORRELATIONS: Documented the /STATISTICS subcommand
John Darrington [Sun, 4 Oct 2009 14:06:14 +0000 (16:06 +0200)]
CORRELATIONS: Documented the /STATISTICS subcommand

15 years agoCORRELATIONS: Added support for /STATISTICS=XPROD
John Darrington [Sun, 4 Oct 2009 13:54:00 +0000 (15:54 +0200)]
CORRELATIONS: Added support for /STATISTICS=XPROD

15 years agoCORRELATIONS: Added support for the STATISTICS subcommand
John Darrington [Sun, 4 Oct 2009 12:59:34 +0000 (14:59 +0200)]
CORRELATIONS: Added support for the STATISTICS subcommand

15 years agoAdd a manual entry for the CORRELATIONS command
John Darrington [Sat, 3 Oct 2009 20:46:11 +0000 (22:46 +0200)]
Add a manual entry for the CORRELATIONS command

15 years agoFirst working version of CORRELATIONS.
John Darrington [Sat, 3 Oct 2009 19:52:01 +0000 (21:52 +0200)]
First working version of CORRELATIONS.

This commit includes a new module, src/math/covariance.[ch],
which may eventually replace src/math/covariance-matrix.[ch]

15 years agoInitial framework for CORRELATIONS command
John Darrington [Sat, 3 Oct 2009 06:42:44 +0000 (08:42 +0200)]
Initial framework for CORRELATIONS command

15 years agoFix numerous warnings about an unknown attribute rpl_malloc on mingw32. fbsd72-i386-build23 fc11-i386-build9 fc11-x64-build10 lenny-x64-build31 sid-i386-build77
Ben Pfaff [Thu, 1 Oct 2009 04:50:13 +0000 (21:50 -0700)]
Fix numerous warnings about an unknown attribute rpl_malloc on mingw32.

On mingw32, Gnulib replaces malloc by defining it as a macro that expands
to rpl_malloc.  Since MALLOC_LIKE used malloc as an identifier, even though
it didn't refer to the malloc function per se, this instance of malloc
also expanded to rpl_malloc, confusing GCC.

GCC also accepts __malloc__ here, so this commit uses that spelling
instead, which avoids the warning.

15 years agoUpgrade to latest Gnulib version and fix resulting FreeBSD build failures. fbsd72-i386-build22 fc11-i386-build8 fc11-x64-build9 lenny-x64-build30 sid-i386-build76
Ben Pfaff [Thu, 1 Oct 2009 04:45:47 +0000 (21:45 -0700)]
Upgrade to latest Gnulib version and fix resulting FreeBSD build failures.

Upgrading the Gnulib version exposed a couple of failures to #include
<config.h> at the very top of a source file via build failures on
FreeBSD 7.2-RELEASE, fixed by this commit.

This probably also fixes a similar OpenBSD issue reported by Jason Stover
at http://lists.gnu.org/archive/html/pspp-dev/2009-09/msg00095.html

15 years agoREADME.Git: Fix syntax of suggested commands. fbsd72-i386-build17 fbsd72-i386-build18 fbsd72-i386-build19 fbsd72-i386-build21 fc11-i386-build5 fc11-i386-build6 fc11-i386-build7 fc11-x64-build6 fc11-x64-build7 fc11-x64-build8 lenny-x64-build27 lenny-x64-build28 lenny-x64-build29 sid-i386-build70 sid-i386-build71 sid-i386-build72 sid-i386-build75
Ben Pfaff [Thu, 1 Oct 2009 03:40:22 +0000 (20:40 -0700)]
README.Git: Fix syntax of suggested commands.

15 years agoINSTALL: Mention that GNU make is required.
Ben Pfaff [Thu, 1 Oct 2009 03:38:26 +0000 (20:38 -0700)]
INSTALL: Mention that GNU make is required.

In my experience with the autobuilder, in particular the system "make"
program on FreeBSD 7.2-RELEASE will not work.

15 years agoRewrite README.Git to mention the Gnulib commit number and explain better. fbsd72-i386-build16 fc11-i386-build4 fc11-x64-build5 lenny-x64-build26
Ben Pfaff [Thu, 1 Oct 2009 03:33:34 +0000 (20:33 -0700)]
Rewrite README.Git to mention the Gnulib commit number and explain better.

This commit has three purposes.  First, I think that the new version of this
file explains the bootstrapping process a little better.  Second, I want
to mention a Gnulib commit number that I have been using, so that other
people can easily figure out a version of Gnulib that will work.  Third,
I want the PSPP autobuilder to be able to automatically pick out a working
Gnulib commit.

15 years agoperl-module: Fix build on FreeBSD 7.2 fbsd72-i386-build15 fc11-i386-build3 fc11-x64-build4 lenny-x64-build25 sid-i386-build69
Ben Pfaff [Wed, 30 Sep 2009 04:47:09 +0000 (21:47 -0700)]
perl-module: Fix build on FreeBSD 7.2

config.h must be included first, otherwise the build fails on FreeBSD 7.2
in gl/string.h at the first instance of "restrict", which <config.h>
#defines as empty.

15 years agoDon't use nonportable "mktemp" utility in perl-module/automake.mk.
Ben Pfaff [Wed, 30 Sep 2009 04:33:34 +0000 (21:33 -0700)]
Don't use nonportable "mktemp" utility in perl-module/automake.mk.

In porting to FreeBSD, I noticed that perl-module/automake.mk tries to use
the "mktemp" utility.  FreeBSD happens to have this utility, but it
requires an argument, and at any rate it is nonportable and we can avoid
using it here, so do so.

15 years agoAdded a new target "programs" to the makefile. fbsd72-i386-build11 fbsd72-i386-build12 fbsd72-i386-build13 fbsd72-i386-build14 fbsd72-i386-build3 fbsd72-i386-build4 fbsd72-i386-build5 fbsd72-i386-build6 fbsd72-i386-build7 fbsd72-i386-build8 fc11-i386-build1 fc11-i386-build2 fc11-x64-build1 fc11-x64-build2 fc11-x64-build3 lenny-x64-build22 lenny-x64-build23 lenny-x64-build24 sid-i386-build67 sid-i386-build68
John Darrington [Mon, 28 Sep 2009 18:27:04 +0000 (20:27 +0200)]
Added a new target "programs" to the makefile.

When a source file is changed, the "all" target (correctly) rebuilds
the po/pspp.pot file and remerges the PO files for all supported translations,
and then builds .gmo files for each of them.   Whilst this is correct behaviour,
it will become an unmitigated nuisance for developers as more and more
translations are added.

This change adds a new target called "programs" which builds the binaries, but
not the ancilliary targets. This target is more convienient for working on
changes to the source code, when translations are not of interest.

15 years agoCorrect printf conversion specifiers for size_t types. fc11-i386-build0 lenny-x64-build21 sid-i386-build66
John Darrington [Mon, 28 Sep 2009 18:12:54 +0000 (20:12 +0200)]
Correct printf conversion specifiers for size_t types.

15 years agoAdd necessary #include stddef.h directive build52 lenny-x64-build16 lenny-x64-build17 lenny-x64-build18 lenny-x64-build19 lenny-x64-build20 sid-i386-build59 sid-i386-build60 sid-i386-build61 sid-i386-build62 sid-i386-build63 sid-i386-build64 sid-i386-build65
John Darrington [Sun, 27 Sep 2009 14:11:25 +0000 (16:11 +0200)]
Add necessary #include stddef.h directive

15 years agoperl-module: Additional fixes for Perl version number on PSPP autobuilder. origin/perl build3 build4 build49 build50 build51
Ben Pfaff [Sat, 26 Sep 2009 04:14:31 +0000 (21:14 -0700)]
perl-module: Additional fixes for Perl version number on PSPP autobuilder.

Commit 30f21302 "perl-module: Tolerate minor PSPP version number
differences" tried to improve the behavior of the PSPP Perl module when
the PSPP version number includes a suffix such as -build40.  But it didn't
entirely work, since it overlooked some uses of $(VERSION) in
perl-module/automake.mk.  This commit fixes those too.

15 years agoFix missing @clicksequence problem for building Docbook output also. build1 build48
Ben Pfaff [Sat, 26 Sep 2009 03:38:07 +0000 (20:38 -0700)]
Fix missing @clicksequence problem for building Docbook output also.

Commit 770f21f5 "Fix missing @clicksequence problem with older Texinfo
versions." fixed the problem of missing @clicksequence for building the
main PSPP documentation, partly by adding to $(AM_MAKEINFOFLAGS).  However,
$(AM_MAKEINFOFLAGS) wasn't used in building the Docbook output for use by
Yelp as the GUI help.  This commit adds $(AM_MAKEINFOFLAGS) to that
command, fixing the problem.

15 years agoperl-module: Tolerate minor PSPP version number differences. build0 build41 build42 build43 build44 build45 build46 build47
Ben Pfaff [Fri, 25 Sep 2009 04:38:09 +0000 (21:38 -0700)]
perl-module: Tolerate minor PSPP version number differences.

The PSPP autobuilder that I'm working on appends a build number to the PSPP
version number, e.g. "0.7.2-build40".  The Perl module has two problems
with this:

  1. Perl won't parse version numbers that contain anything other than
     digits and periods, so "-build" causes an error.  So this commit
     drops everything from the hyphen onward from the PSPP version number
     passed along to Perl.

  2. The Perl module itself does a string comparison operation between the
     number it expects and the number that PSPP reports.  When we drop
     the hyphen onward, the comparison fails.  So this commit also relaxes
     the comparison to one that does pass.

15 years agoMerge commit 'origin/stable' build40
John Darrington [Thu, 24 Sep 2009 18:43:42 +0000 (20:43 +0200)]
Merge commit 'origin/stable'

Conflicts:

AUTHORS
NEWS
configure.ac
lib/gtksheet/gtkitementry.c
po/LINGUAS
po/nl.po
src/data/file-name.c
src/data/sys-file-writer.c
src/language/stats/crosstabs.q
src/language/stats/examine.q
src/language/stats/t-test.q
src/output/charts/box-whisker.c
src/output/charts/plot-hist.c
src/ui/gui/output-viewer.c
src/ui/gui/psppire.c
src/ui/gui/psppire.h
src/ui/terminal/main.c