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.
Jason Stover [Sat, 17 Mar 2007 13:28:18 +0000 (13:28 +0000)]
removed duplicate minmax entry
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.
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.
Jason Stover [Sat, 17 Mar 2007 03:08:23 +0000 (03:08 +0000)]
Support moments
Jason Stover [Sat, 10 Mar 2007 22:56:39 +0000 (22:56 +0000)]
added minmax
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).
Ben Pfaff [Fri, 2 Mar 2007 01:11:37 +0000 (01:11 +0000)]
iconv is now required.
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.
Ben Pfaff [Mon, 26 Feb 2007 04:52:23 +0000 (04:52 +0000)]
Improve portability to NetBSD and Alpha.
Ben Pfaff [Sun, 25 Feb 2007 05:14:58 +0000 (05:14 +0000)]
New file to ignore, produced by new gnulib.
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.
John Darrington [Thu, 22 Feb 2007 11:26:36 +0000 (11:26 +0000)]
Quoted strings in generated syntax.
John Darrington [Wed, 21 Feb 2007 08:27:16 +0000 (08:27 +0000)]
Fix warnings when compiling with mingw32
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>.
Ben Pfaff [Mon, 19 Feb 2007 18:57:04 +0000 (18:57 +0000)]
Mingw compatibility fixes for file name code.
Ben Pfaff [Sun, 18 Feb 2007 21:29:20 +0000 (21:29 +0000)]
Adapt to most recent gnulib.
Ben Pfaff [Sun, 18 Feb 2007 19:22:23 +0000 (19:22 +0000)]
Remove useless parens in #if "defined" operator.
Ben Pfaff [Sun, 18 Feb 2007 19:20:55 +0000 (19:20 +0000)]
Add missing _() around messages.
Ben Pfaff [Sun, 18 Feb 2007 19:17:39 +0000 (19:17 +0000)]
"the the" => "the"
Ben Pfaff [Sun, 18 Feb 2007 01:37:47 +0000 (01:37 +0000)]
Add #include <config.h>.
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.
Ben Pfaff [Sat, 17 Feb 2007 16:16:23 +0000 (16:16 +0000)]
Improve error message when temporary file cannot be created.
Ben Pfaff [Fri, 16 Feb 2007 19:24:25 +0000 (19:24 +0000)]
Better support cross-compiling. Patch #19003.
Ben Pfaff [Tue, 13 Feb 2007 00:39:49 +0000 (00:39 +0000)]
Note and enforce iconv requirement.
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.
Ben Pfaff [Mon, 12 Feb 2007 14:30:23 +0000 (14:30 +0000)]
Include <config.h>.
Ben Pfaff [Mon, 12 Feb 2007 04:44:49 +0000 (04:44 +0000)]
Include "mkstemp.h", without which linking on mingw32 fails.
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.
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.
Ben Pfaff [Fri, 9 Feb 2007 15:06:28 +0000 (15:06 +0000)]
Add #include <config.h>.
Ben Pfaff [Fri, 9 Feb 2007 05:28:21 +0000 (05:28 +0000)]
Improve VECTOR implementation.
Bug #18706.
Ben Pfaff [Fri, 9 Feb 2007 05:19:08 +0000 (05:19 +0000)]
Fix use of size_t in printf formats. Patch #5727.
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.
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.
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.
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.
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.
Ben Pfaff [Wed, 7 Feb 2007 03:58:45 +0000 (03:58 +0000)]
Give better error message on end of file.
Ben Pfaff [Wed, 7 Feb 2007 03:47:57 +0000 (03:47 +0000)]
Add missing comma.
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.
Jason Stover [Tue, 6 Feb 2007 04:12:19 +0000 (04:12 +0000)]
fixed test to match recent patch
Ben Pfaff [Mon, 5 Feb 2007 23:43:23 +0000 (23:43 +0000)]
Reduce number of multiplications for higher moments.
Ben Pfaff [Mon, 5 Feb 2007 21:15:18 +0000 (21:15 +0000)]
Remove potentially misleading citation.
Jason Stover [Sun, 4 Feb 2007 16:38:26 +0000 (16:38 +0000)]
fixed p-value computation in test of coefficients
John Darrington [Fri, 2 Feb 2007 13:50:16 +0000 (13:50 +0000)]
Fixed bug parsing floating point values in DO-REPEAT.
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.
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.
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.
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.
John Darrington [Sun, 28 Jan 2007 00:22:35 +0000 (00:22 +0000)]
Deleted header file #includes which have been removed from gnulib.
John Darrington [Sat, 27 Jan 2007 00:56:29 +0000 (00:56 +0000)]
Fixed bug closing variable type dialog
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.
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.
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.
John Darrington [Thu, 25 Jan 2007 08:18:57 +0000 (08:18 +0000)]
Fixed buglet in file open action.
John Darrington [Wed, 24 Jan 2007 08:30:22 +0000 (08:30 +0000)]
Enables Data Open/Save/New menuitems.
Jason Stover [Sun, 21 Jan 2007 03:44:53 +0000 (03:44 +0000)]
removed "written by" line
John Darrington [Sat, 20 Jan 2007 07:09:13 +0000 (07:09 +0000)]
Added syntax-string-source.[ch]
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.
Ben Pfaff [Tue, 16 Jan 2007 15:30:28 +0000 (15:30 +0000)]
Clean up and improve case code.
Patch #5690.
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.
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.
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
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.
John Darrington [Wed, 10 Jan 2007 09:22:42 +0000 (09:22 +0000)]
Patch #5672
Ben Pfaff [Wed, 10 Jan 2007 03:43:31 +0000 (03:43 +0000)]
Checker is really obsolete now.
Ben Pfaff [Wed, 10 Jan 2007 03:18:02 +0000 (03:18 +0000)]
Fix bug #18739.
John Darrington [Sun, 7 Jan 2007 04:04:00 +0000 (04:04 +0000)]
Applied patch #5661
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.
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.
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.
John Darrington [Sat, 30 Dec 2006 23:30:32 +0000 (23:30 +0000)]
Updated the about box to work properly with Gtk+2.10
John Darrington [Sat, 30 Dec 2006 22:34:28 +0000 (22:34 +0000)]
Updated names of widgets in menubar
John Darrington [Fri, 29 Dec 2006 04:19:36 +0000 (04:19 +0000)]
Replaced GtkStatusBar with a custom one more suited to our needs.
John Darrington [Thu, 28 Dec 2006 04:21:07 +0000 (04:21 +0000)]
Re-added Data->Insert_Variable menu item
John Darrington [Thu, 28 Dec 2006 00:44:45 +0000 (00:44 +0000)]
Added a "Windows" menu, and a "minimise all windows" item.
John Darrington [Wed, 27 Dec 2006 22:30:06 +0000 (22:30 +0000)]
Added menuitem to display the PSPP reference manual.
John Darrington [Wed, 27 Dec 2006 09:04:35 +0000 (09:04 +0000)]
Re-added the help button callbacks
John Darrington [Wed, 27 Dec 2006 02:01:36 +0000 (02:01 +0000)]
Replaced the value labels icon with a better one.
John Darrington [Tue, 26 Dec 2006 21:32:09 +0000 (21:32 +0000)]
Enabled Edit->Clear in variable sheet
John Darrington [Tue, 26 Dec 2006 07:09:23 +0000 (07:09 +0000)]
Re-enabled Save/Save As in syntax editor
John Darrington [Mon, 25 Dec 2006 02:29:11 +0000 (02:29 +0000)]
Removed signal emissions from psppire-dict.c
John Darrington [Sun, 24 Dec 2006 23:50:59 +0000 (23:50 +0000)]
Fixed bug in value labels dialog box
John Darrington [Sun, 24 Dec 2006 23:08:25 +0000 (23:08 +0000)]
Whitespace changes only.
John Darrington [Sun, 24 Dec 2006 23:02:33 +0000 (23:02 +0000)]
Fixed some warnings
John Darrington [Sun, 24 Dec 2006 22:49:18 +0000 (22:49 +0000)]
Whitespace changes only.
John Darrington [Sun, 24 Dec 2006 22:30:22 +0000 (22:30 +0000)]
Whitespace changes only
John Darrington [Sun, 24 Dec 2006 22:22:55 +0000 (22:22 +0000)]
cvsignore for m4, intl and gl
John Darrington [Sun, 24 Dec 2006 06:57:54 +0000 (06:57 +0000)]
Updated AUTHORS
John Darrington [Sun, 24 Dec 2006 06:44:28 +0000 (06:44 +0000)]
Added some extraneous crud to .cvsignore files
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'.
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.
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.
John Darrington [Fri, 22 Dec 2006 21:46:12 +0000 (21:46 +0000)]
Checked in missed file. Thanks to Ben Pfaff for the reminder.
John Darrington [Fri, 22 Dec 2006 11:12:14 +0000 (11:12 +0000)]
Added abstract factory to create casefiles. Updated procedures to use
it.
John Darrington [Fri, 22 Dec 2006 10:24:18 +0000 (10:24 +0000)]
Fixed bug #17420 (table columns exceeded with /FORMAT=nolabels )
Ben Pfaff [Fri, 22 Dec 2006 04:38:22 +0000 (04:38 +0000)]
Implement DELETE VARIABLES.
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.
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.