pspp
17 years agoDon't try to distribute tests that are compiled
Ben Pfaff [Mon, 19 Mar 2007 00:33:15 +0000 (00:33 +0000)]
Don't try to distribute tests that are compiled
from C source.  This fixes "make dist" when "make all" has not yet
been run.

17 years agoremoved duplicate minmax entry
Jason Stover [Sat, 17 Mar 2007 13:28:18 +0000 (13:28 +0000)]
removed duplicate minmax entry

17 years agoDelayed calling gtk_init until after arguments have been parsed, so that
John Darrington [Sat, 17 Mar 2007 12:29:39 +0000 (12:29 +0000)]
Delayed calling gtk_init until after arguments have been parsed, so that
--help and --version will work, even if no X server is available.

17 years agoChanged call to nl_langinfo with localecharset (from gnulib).
John Darrington [Sat, 17 Mar 2007 11:59:53 +0000 (11:59 +0000)]
Changed call to nl_langinfo with localecharset (from gnulib).
Fixed problem with test in non english locale.

17 years agoSupport moments
Jason Stover [Sat, 17 Mar 2007 03:08:23 +0000 (03:08 +0000)]
Support moments

17 years agoadded minmax
Jason Stover [Sat, 10 Mar 2007 22:56:39 +0000 (22:56 +0000)]
added minmax

17 years agoFixed constness problem in iconv, using the ICONV_CONST preprocessor
John Darrington [Tue, 6 Mar 2007 10:36:46 +0000 (10:36 +0000)]
Fixed constness problem in iconv, using the ICONV_CONST preprocessor
macro provided by iconv.m4 (from gettext).

17 years agoiconv is now required.
Ben Pfaff [Fri, 2 Mar 2007 01:11:37 +0000 (01:11 +0000)]
iconv is now required.

17 years agoFix "make distcheck" by distributing doc/ni.texi,
Ben Pfaff [Thu, 1 Mar 2007 21:26:28 +0000 (21:26 +0000)]
Fix "make distcheck" by distributing doc/ni.texi,
even though it's generated.  Reviewed by John Darrington.
(doc_pspp_TEXINFOS): Add doc/ni.texi.
(nodist_doc_pspp_TEXINFOS): Remove.
(am__TEXINFO_TEX_DIR) Removed (was just a kluge anyhow).
($(INFO_DEPS)): Removed.
($(HTML_DEPS)): Removed.
(CLEANFILES): Removed.

17 years agoImprove portability to NetBSD and Alpha.
Ben Pfaff [Mon, 26 Feb 2007 04:52:23 +0000 (04:52 +0000)]
Improve portability to NetBSD and Alpha.

17 years agoNew file to ignore, produced by new gnulib.
Ben Pfaff [Sun, 25 Feb 2007 05:14:58 +0000 (05:14 +0000)]
New file to ignore, produced by new gnulib.

17 years agoDon't include vsnprintf.h any more, because gnulib has now absorbed it
Ben Pfaff [Thu, 22 Feb 2007 23:34:17 +0000 (23:34 +0000)]
Don't include vsnprintf.h any more, because gnulib has now absorbed it
into string.h.

17 years agoQuoted strings in generated syntax.
John Darrington [Thu, 22 Feb 2007 11:26:36 +0000 (11:26 +0000)]
Quoted strings in generated syntax.

17 years agoFix warnings when compiling with mingw32
John Darrington [Wed, 21 Feb 2007 08:27:16 +0000 (08:27 +0000)]
Fix warnings when compiling with mingw32

17 years agoDon't need to include "getlogin_r.h" anymore, because gnulib merged it
Ben Pfaff [Tue, 20 Feb 2007 15:04:47 +0000 (15:04 +0000)]
Don't need to include "getlogin_r.h" anymore, because gnulib merged it
into <unistd.h>.

17 years agoMingw compatibility fixes for file name code.
Ben Pfaff [Mon, 19 Feb 2007 18:57:04 +0000 (18:57 +0000)]
Mingw compatibility fixes for file name code.

17 years agoAdapt to most recent gnulib.
Ben Pfaff [Sun, 18 Feb 2007 21:29:20 +0000 (21:29 +0000)]
Adapt to most recent gnulib.

17 years agoRemove useless parens in #if "defined" operator.
Ben Pfaff [Sun, 18 Feb 2007 19:22:23 +0000 (19:22 +0000)]
Remove useless parens in #if "defined" operator.

17 years agoAdd missing _() around messages.
Ben Pfaff [Sun, 18 Feb 2007 19:20:55 +0000 (19:20 +0000)]
Add missing _() around messages.

17 years ago"the the" => "the"
Ben Pfaff [Sun, 18 Feb 2007 19:17:39 +0000 (19:17 +0000)]
"the the" => "the"

17 years agoAdd #include <config.h>.
Ben Pfaff [Sun, 18 Feb 2007 01:37:47 +0000 (01:37 +0000)]
Add #include <config.h>.

17 years agoAdd tmpfile module, which fixes the use of the tmpfile function under
Ben Pfaff [Sat, 17 Feb 2007 17:24:23 +0000 (17:24 +0000)]
Add tmpfile module, which fixes the use of the tmpfile function under
Windows.

17 years agoImprove error message when temporary file cannot be created.
Ben Pfaff [Sat, 17 Feb 2007 16:16:23 +0000 (16:16 +0000)]
Improve error message when temporary file cannot be created.

17 years agoBetter support cross-compiling. Patch #19003.
Ben Pfaff [Fri, 16 Feb 2007 19:24:25 +0000 (19:24 +0000)]
Better support cross-compiling.  Patch #19003.

17 years agoNote and enforce iconv requirement.
Ben Pfaff [Tue, 13 Feb 2007 00:39:49 +0000 (00:39 +0000)]
Note and enforce iconv requirement.

17 years agoMake q2c link under mingw32, by eliminating the dependency on
Ben Pfaff [Tue, 13 Feb 2007 00:28:52 +0000 (00:28 +0000)]
Make q2c link under mingw32, by eliminating the dependency on
localtime.  Gnulib replaces localtime by a fixed version, but we don't
link q2c against gnulib.  q2c only uses localtime to put the time of
processing into the output file, which I've never in practice found to
be useful, so the patch just drops this feature.

Patch #5740.

17 years agoInclude <config.h>.
Ben Pfaff [Mon, 12 Feb 2007 14:30:23 +0000 (14:30 +0000)]
Include <config.h>.

17 years agoInclude "mkstemp.h", without which linking on mingw32 fails.
Ben Pfaff [Mon, 12 Feb 2007 04:44:49 +0000 (04:44 +0000)]
Include "mkstemp.h", without which linking on mingw32 fails.

17 years agoApply UNUSED and include additional headers to avoid complaints from
Ben Pfaff [Mon, 12 Feb 2007 03:44:36 +0000 (03:44 +0000)]
Apply UNUSED and include additional headers to avoid complaints from
GCC.  Patch #5739.

17 years agoReduce platform dependence.
Ben Pfaff [Mon, 12 Feb 2007 02:10:54 +0000 (02:10 +0000)]
Reduce platform dependence.
This helps with build on mingw32 (and probably other platforms).
Patch #5731.

17 years agoAdd #include <config.h>.
Ben Pfaff [Fri, 9 Feb 2007 15:06:28 +0000 (15:06 +0000)]
Add #include <config.h>.

17 years agoImprove VECTOR implementation.
Ben Pfaff [Fri, 9 Feb 2007 05:28:21 +0000 (05:28 +0000)]
Improve VECTOR implementation.
Bug #18706.

17 years agoFix use of size_t in printf formats. Patch #5727.
Ben Pfaff [Fri, 9 Feb 2007 05:19:08 +0000 (05:19 +0000)]
Fix use of size_t in printf formats.  Patch #5727.

17 years agoWithout HAVE_SYS_TYPES_H or HAVE_SYS_WAIT_H, in connect_debugger we
Ben Pfaff [Thu, 8 Feb 2007 14:43:11 +0000 (14:43 +0000)]
Without HAVE_SYS_TYPES_H or HAVE_SYS_WAIT_H, in connect_debugger we
don't know how to connect to GDB, so just return.

17 years agoAdd #include <limits.h>. Thanks to John McCabe-Dansted
Ben Pfaff [Thu, 8 Feb 2007 05:39:18 +0000 (05:39 +0000)]
Add #include <limits.h>.  Thanks to John McCabe-Dansted
<gmatht@gmail.com> for pointing out the need.

17 years agoCorrect name of function fn_is_special. Thanks to John McCabe-Dansted
Ben Pfaff [Thu, 8 Feb 2007 05:26:42 +0000 (05:26 +0000)]
Correct name of function fn_is_special.  Thanks to John McCabe-Dansted
<gmatht@gmail.com> for pointing this out.

17 years agoDefine isinf macro only if it is not defined as a macro, even if
Ben Pfaff [Wed, 7 Feb 2007 04:01:59 +0000 (04:01 +0000)]
Define isinf macro only if it is not defined as a macro, even if
!HAVE_ISINF, because mingw seems to have the macro without the
function.

17 years agoUse __printf__ instead of printf to avoid problem with "#define printf
Ben Pfaff [Wed, 7 Feb 2007 04:00:09 +0000 (04:00 +0000)]
Use __printf__ instead of printf to avoid problem with "#define printf
libintl_printf" that libintl is fond of doing.

17 years agoGive better error message on end of file.
Ben Pfaff [Wed, 7 Feb 2007 03:58:45 +0000 (03:58 +0000)]
Give better error message on end of file.

17 years agoAdd missing comma.
Ben Pfaff [Wed, 7 Feb 2007 03:47:57 +0000 (03:47 +0000)]
Add missing comma.

17 years agoAddressed some of the issues raised by John McCabe-Dansted when building
John Darrington [Wed, 7 Feb 2007 02:12:57 +0000 (02:12 +0000)]
Addressed some of the issues raised by John McCabe-Dansted when building
native w32 target.

17 years agofixed test to match recent patch
Jason Stover [Tue, 6 Feb 2007 04:12:19 +0000 (04:12 +0000)]
fixed test to match recent patch

17 years agoReduce number of multiplications for higher moments.
Ben Pfaff [Mon, 5 Feb 2007 23:43:23 +0000 (23:43 +0000)]
Reduce number of multiplications for higher moments.

17 years agoRemove potentially misleading citation.
Ben Pfaff [Mon, 5 Feb 2007 21:15:18 +0000 (21:15 +0000)]
Remove potentially misleading citation.

17 years agofixed p-value computation in test of coefficients
Jason Stover [Sun, 4 Feb 2007 16:38:26 +0000 (16:38 +0000)]
fixed p-value computation in test of coefficients

17 years agoFixed bug parsing floating point values in DO-REPEAT.
John Darrington [Fri, 2 Feb 2007 13:50:16 +0000 (13:50 +0000)]
Fixed bug parsing floating point values in DO-REPEAT.

17 years agoWe are using a single member in struct file_handle, the "name"
Ben Pfaff [Fri, 2 Feb 2007 00:57:32 +0000 (00:57 +0000)]
We are using a single member in struct file_handle, the "name"
field, for more than one purpose.  When it begins with '"', it's a
file name; otherwise, it's a token that can be used to identify
it.  When that assertion fires, it's because we searched for the
name case-sensitively as a file name (so that there was no match),
and then we try to insert it case-insensitively as a token, which
fails because duplicates aren't allowed.

Solution: break the two purposes into two separate fields.  This
fixes the problem and likely makes the code easier to read too.

Fixes bug #18922.  Thanks to John Darrington for bug report and
review.

17 years agoHandle MAP_SYSMIS case in RECODE, which was carelessly overlooked
Ben Pfaff [Fri, 2 Feb 2007 00:52:38 +0000 (00:52 +0000)]
Handle MAP_SYSMIS case in RECODE, which was carelessly overlooked
until now.  Fixes bug #18917.  Thanks to John Darrington for bug
report and review.

17 years agoAccept TO in any case for use with n-ary functions. Fixes bug #18923.
Ben Pfaff [Thu, 1 Feb 2007 15:01:42 +0000 (15:01 +0000)]
Accept TO in any case for use with n-ary functions.  Fixes bug #18923.
Thanks to John Darrington for reporting this bug.

17 years agoCall dictionary callbacks on replaced dictionary.
John Darrington [Tue, 30 Jan 2007 11:22:08 +0000 (11:22 +0000)]
Call dictionary callbacks on replaced dictionary.
Invalidate file name on NEW FILE.

17 years agoDeleted header file #includes which have been removed from gnulib.
John Darrington [Sun, 28 Jan 2007 00:22:35 +0000 (00:22 +0000)]
Deleted header file #includes which have been removed from gnulib.

17 years agoFixed bug closing variable type dialog
John Darrington [Sat, 27 Jan 2007 00:56:29 +0000 (00:56 +0000)]
Fixed bug closing variable type dialog

17 years agoFixed bug which crashed gui if it attempted to enter invalid variable names.
John Darrington [Fri, 26 Jan 2007 10:57:15 +0000 (10:57 +0000)]
Fixed bug which crashed gui if it attempted to enter invalid variable names.

17 years agoAdded custom psppire-selector widget.
John Darrington [Fri, 26 Jan 2007 07:35:02 +0000 (07:35 +0000)]
Added custom psppire-selector widget.
Added Transpose Dialog.
Reimplemented Weight Cases dialog.

17 years agoCheck in patch #5709: Augmented Balanced Tree data structure.
Ben Pfaff [Fri, 26 Jan 2007 03:34:00 +0000 (03:34 +0000)]
Check in patch #5709: Augmented Balanced Tree data structure.
Thanks to John Darrington for review.

17 years agoFixed buglet in file open action.
John Darrington [Thu, 25 Jan 2007 08:18:57 +0000 (08:18 +0000)]
Fixed buglet in file open action.

17 years agoEnables Data Open/Save/New menuitems.
John Darrington [Wed, 24 Jan 2007 08:30:22 +0000 (08:30 +0000)]
Enables Data Open/Save/New menuitems.

17 years agoremoved "written by" line
Jason Stover [Sun, 21 Jan 2007 03:44:53 +0000 (03:44 +0000)]
removed "written by" line

17 years agoAdded syntax-string-source.[ch]
John Darrington [Sat, 20 Jan 2007 07:09:13 +0000 (07:09 +0000)]
Added syntax-string-source.[ch]

17 years agoPatch #5676 (syntax string source).
John Darrington [Sat, 20 Jan 2007 00:02:13 +0000 (00:02 +0000)]
Patch #5676 (syntax string source).
Fixed some warnings.
Made make distcheck work.

17 years agoClean up and improve case code.
Ben Pfaff [Tue, 16 Jan 2007 15:30:28 +0000 (15:30 +0000)]
Clean up and improve case code.
Patch #5690.

17 years agoAdd a deque, implemented as a circular queue, to libpspp.
Ben Pfaff [Tue, 16 Jan 2007 00:14:41 +0000 (00:14 +0000)]
Add a deque, implemented as a circular queue, to libpspp.

Demonstrate how to use it by instantiating it for use as a deque of
cases and then uses that "casedeque" to reimplement the LAG
functionality for procedures.

17 years agoAdd _debug target to create _debug directory and configure with
Ben Pfaff [Mon, 15 Jan 2007 20:01:52 +0000 (20:01 +0000)]
Add _debug target to create _debug directory and configure with
--enable-debug.

17 years agoChanged instances of 'signal' to 'signals', to avoid conflicts
John Darrington [Fri, 12 Jan 2007 22:50:14 +0000 (22:50 +0000)]
Changed instances of 'signal' to 'signals', to avoid conflicts
from /usr/include/signal.h

17 years agoAdd heap data structure to src/libpspp, and a test to tests/libpspp.
Ben Pfaff [Wed, 10 Jan 2007 14:50:16 +0000 (14:50 +0000)]
Add heap data structure to src/libpspp, and a test to tests/libpspp.
Thanks to John Darrington for review.

17 years agoPatch #5672
John Darrington [Wed, 10 Jan 2007 09:22:42 +0000 (09:22 +0000)]
Patch #5672

17 years agoChecker is really obsolete now.
Ben Pfaff [Wed, 10 Jan 2007 03:43:31 +0000 (03:43 +0000)]
Checker is really obsolete now.

17 years agoFix bug #18739.
Ben Pfaff [Wed, 10 Jan 2007 03:18:02 +0000 (03:18 +0000)]
Fix bug #18739.

17 years agoApplied patch #5661
John Darrington [Sun, 7 Jan 2007 04:04:00 +0000 (04:04 +0000)]
Applied patch #5661

17 years agoAdded psppire-dialog and psppire-buttonbox widgets.
John Darrington [Thu, 4 Jan 2007 08:15:26 +0000 (08:15 +0000)]
Added psppire-dialog and psppire-buttonbox widgets.
Added framework for variable selection using treeview widgets.
Added weight cases dialog box.

17 years agoAdded callback for when the weights on a dictionary change.
John Darrington [Wed, 3 Jan 2007 02:03:18 +0000 (02:03 +0000)]
Added callback for when the weights on a dictionary change.
Reflect the current weight status in the status bar.

17 years agoApplied patch #5653, which adds callbacks to dataset whenever its dictionary or
John Darrington [Mon, 1 Jan 2007 01:44:33 +0000 (01:44 +0000)]
Applied patch #5653, which adds callbacks to dataset whenever its dictionary or
data source is replaced.

17 years agoUpdated the about box to work properly with Gtk+2.10
John Darrington [Sat, 30 Dec 2006 23:30:32 +0000 (23:30 +0000)]
Updated the about box to work properly with Gtk+2.10

17 years agoUpdated names of widgets in menubar
John Darrington [Sat, 30 Dec 2006 22:34:28 +0000 (22:34 +0000)]
Updated names of widgets in menubar

17 years agoReplaced GtkStatusBar with a custom one more suited to our needs.
John Darrington [Fri, 29 Dec 2006 04:19:36 +0000 (04:19 +0000)]
Replaced GtkStatusBar with a custom one more suited to our needs.

17 years agoRe-added Data->Insert_Variable menu item
John Darrington [Thu, 28 Dec 2006 04:21:07 +0000 (04:21 +0000)]
Re-added Data->Insert_Variable menu item

17 years agoAdded a "Windows" menu, and a "minimise all windows" item.
John Darrington [Thu, 28 Dec 2006 00:44:45 +0000 (00:44 +0000)]
Added a "Windows" menu, and a "minimise all windows" item.

17 years agoAdded menuitem to display the PSPP reference manual.
John Darrington [Wed, 27 Dec 2006 22:30:06 +0000 (22:30 +0000)]
Added menuitem to display the PSPP reference manual.

17 years agoRe-added the help button callbacks
John Darrington [Wed, 27 Dec 2006 09:04:35 +0000 (09:04 +0000)]
Re-added the help button callbacks

17 years agoReplaced the value labels icon with a better one.
John Darrington [Wed, 27 Dec 2006 02:01:36 +0000 (02:01 +0000)]
Replaced the value labels icon with a better one.

17 years agoEnabled Edit->Clear in variable sheet
John Darrington [Tue, 26 Dec 2006 21:32:09 +0000 (21:32 +0000)]
Enabled Edit->Clear in variable sheet

17 years agoRe-enabled Save/Save As in syntax editor
John Darrington [Tue, 26 Dec 2006 07:09:23 +0000 (07:09 +0000)]
Re-enabled Save/Save As in syntax editor

17 years agoRemoved signal emissions from psppire-dict.c
John Darrington [Mon, 25 Dec 2006 02:29:11 +0000 (02:29 +0000)]
Removed signal emissions from psppire-dict.c

17 years agoFixed bug in value labels dialog box
John Darrington [Sun, 24 Dec 2006 23:50:59 +0000 (23:50 +0000)]
Fixed bug in value labels dialog box

17 years agoWhitespace changes only.
John Darrington [Sun, 24 Dec 2006 23:08:25 +0000 (23:08 +0000)]
Whitespace changes only.

17 years agoFixed some warnings
John Darrington [Sun, 24 Dec 2006 23:02:33 +0000 (23:02 +0000)]
Fixed some warnings

17 years agoWhitespace changes only.
John Darrington [Sun, 24 Dec 2006 22:49:18 +0000 (22:49 +0000)]
Whitespace changes only.

17 years agoWhitespace changes only
John Darrington [Sun, 24 Dec 2006 22:30:22 +0000 (22:30 +0000)]
Whitespace changes only

17 years agocvsignore for m4, intl and gl
John Darrington [Sun, 24 Dec 2006 22:22:55 +0000 (22:22 +0000)]
cvsignore for m4, intl and gl

17 years agoUpdated AUTHORS
John Darrington [Sun, 24 Dec 2006 06:57:54 +0000 (06:57 +0000)]
Updated AUTHORS

17 years agoAdded some extraneous crud to .cvsignore files
John Darrington [Sun, 24 Dec 2006 06:44:28 +0000 (06:44 +0000)]
Added some extraneous crud to .cvsignore files

17 years agoEnabled remaining items in syntax editor's Run menu.
John Darrington [Sat, 23 Dec 2006 23:05:59 +0000 (23:05 +0000)]
Enabled remaining items in syntax editor's Run menu.
Removed global variable 'the_lexer'.

17 years agoCleaned up GUI, by objectifying the data editor. Removed a number of global variables.
John Darrington [Sat, 23 Dec 2006 09:03:44 +0000 (09:03 +0000)]
Cleaned up GUI, by objectifying the data editor.  Removed a number of global variables.

17 years agoMake the missing value code do more work, so that its callers can do
Ben Pfaff [Sat, 23 Dec 2006 06:11:33 +0000 (06:11 +0000)]
Make the missing value code do more work, so that its callers can do
less.

17 years agoChecked in missed file. Thanks to Ben Pfaff for the reminder.
John Darrington [Fri, 22 Dec 2006 21:46:12 +0000 (21:46 +0000)]
Checked in missed file.  Thanks to Ben Pfaff for the reminder.

17 years agoAdded abstract factory to create casefiles. Updated procedures to use
John Darrington [Fri, 22 Dec 2006 11:12:14 +0000 (11:12 +0000)]
Added abstract factory to create casefiles.  Updated procedures to use
it.

17 years agoFixed bug #17420 (table columns exceeded with /FORMAT=nolabels )
John Darrington [Fri, 22 Dec 2006 10:24:18 +0000 (10:24 +0000)]
Fixed bug #17420 (table columns exceeded with /FORMAT=nolabels )

17 years agoImplement DELETE VARIABLES.
Ben Pfaff [Fri, 22 Dec 2006 04:38:22 +0000 (04:38 +0000)]
Implement DELETE VARIABLES.

17 years agoRe-added the stock-ids for the custom icons, which seemed to have been
John Darrington [Thu, 21 Dec 2006 11:47:09 +0000 (11:47 +0000)]
Re-added the stock-ids for the custom icons, which seemed to have been
inadvertently deleted.

17 years agoAdd comment that ll_sort is stable,
Ben Pfaff [Thu, 21 Dec 2006 06:15:05 +0000 (06:15 +0000)]
Add comment that ll_sort is stable,
which is verified by the existing set of tests.