pspp-builds.git
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.

17 years agoRemoved 'Written by John Darrington' lines which got checked in with
John Darrington [Wed, 20 Dec 2006 22:19:48 +0000 (22:19 +0000)]
Removed 'Written by John Darrington' lines which got checked in with
recent npar tests change.

17 years agoFix bugs in LOOP.
Ben Pfaff [Wed, 20 Dec 2006 16:09:44 +0000 (16:09 +0000)]
Fix bugs in LOOP.

17 years agoImplemented flexifilereader_cnum.
John Darrington [Wed, 20 Dec 2006 12:15:18 +0000 (12:15 +0000)]
Implemented flexifilereader_cnum.

17 years agoImplemented the NPAR TESTS command.
John Darrington [Wed, 20 Dec 2006 10:10:51 +0000 (10:10 +0000)]
Implemented the NPAR TESTS command.

17 years agoMake it possible to pull cases from the active file with a
Ben Pfaff [Tue, 19 Dec 2006 14:21:52 +0000 (14:21 +0000)]
Make it possible to pull cases from the active file with a
function call, instead of requiring indirection through a callback
function.
See patch #5641.

17 years agoDelete obsolete items.
Ben Pfaff [Mon, 18 Dec 2006 02:45:26 +0000 (02:45 +0000)]
Delete obsolete items.

17 years agoAdded the ability to run syntax from the syntax editor.
John Darrington [Sun, 17 Dec 2006 00:01:04 +0000 (00:01 +0000)]
Added the ability to run syntax from the syntax editor.

17 years agoremoved "Written by..." line
Jason Stover [Sat, 16 Dec 2006 22:38:01 +0000 (22:38 +0000)]
removed "Written by..." line

17 years agoDon't assume that ALIGN_* and GTK_JUSTIFY_* values coincide.
Ben Pfaff [Sat, 16 Dec 2006 22:13:12 +0000 (22:13 +0000)]
Don't assume that ALIGN_* and GTK_JUSTIFY_* values coincide.

17 years agoDon't assume that MEASURE_* and ALIGN_* have the same values found in
Ben Pfaff [Sat, 16 Dec 2006 22:11:08 +0000 (22:11 +0000)]
Don't assume that MEASURE_* and ALIGN_* have the same values found in
system files.

17 years agoFix test to allow string grouping variables on RANK.
Ben Pfaff [Sat, 16 Dec 2006 22:01:19 +0000 (22:01 +0000)]
Fix test to allow string grouping variables on RANK.

17 years agoAllow RANK grouping variables to be strings. Fixes bug #18533.
Ben Pfaff [Sat, 16 Dec 2006 20:57:15 +0000 (20:57 +0000)]
Allow RANK grouping variables to be strings.  Fixes bug #18533.
Thanks to John Darrington for review.

17 years agoReverse order of arguments to DATEDIFF, for compatibility. Thanks to
Ben Pfaff [Sat, 16 Dec 2006 20:22:14 +0000 (20:22 +0000)]
Reverse order of arguments to DATEDIFF, for compatibility.  Thanks to
Daniel Williams <Daniel.E.Williams@state.or.us> for reporting this
bug.

17 years agoRemoved my authorship lines.
John Darrington [Sat, 16 Dec 2006 04:26:42 +0000 (04:26 +0000)]
Removed my authorship lines.

17 years agoCommitted patch #5636
John Darrington [Sat, 16 Dec 2006 03:40:41 +0000 (03:40 +0000)]
Committed patch #5636

17 years agoRemove "Written by Ben Pfaff <blp@gnu.org>" lines everywhere.
Ben Pfaff [Fri, 15 Dec 2006 00:16:01 +0000 (00:16 +0000)]
Remove "Written by Ben Pfaff <blp@gnu.org>" lines everywhere.

17 years agoMention that pkg-config is needed.
Ben Pfaff [Thu, 14 Dec 2006 23:22:56 +0000 (23:22 +0000)]
Mention that pkg-config is needed.

17 years agoMade src/language into one big library. Closes patch #5633
John Darrington [Thu, 14 Dec 2006 10:45:19 +0000 (10:45 +0000)]
Made src/language into one big library. Closes patch #5633

17 years agoAdditionally verify that input files have equal number of lines.
Ben Pfaff [Thu, 14 Dec 2006 05:35:38 +0000 (05:35 +0000)]
Additionally verify that input files have equal number of lines.

17 years agoFix punctuation in error message.
Ben Pfaff [Thu, 14 Dec 2006 05:26:28 +0000 (05:26 +0000)]
Fix punctuation in error message.

17 years agoImplement DATESUM, DATEDIFF functions.
Ben Pfaff [Thu, 14 Dec 2006 03:36:00 +0000 (03:36 +0000)]
Implement DATESUM, DATEDIFF functions.
Patch #5637.

17 years agoFixed bugs which crept in with the variable encapsulation changes.
John Darrington [Tue, 12 Dec 2006 06:44:49 +0000 (06:44 +0000)]
Fixed bugs which crept in with the variable encapsulation changes.

17 years agoThis patch adds the VALUELABEL function for use in expressions, which
Ben Pfaff [Mon, 11 Dec 2006 15:56:49 +0000 (15:56 +0000)]
This patch adds the VALUELABEL function for use in expressions, which
is new in SPSS 15 (14?), and a test for it.

17 years ago * value-labels.c (hash_int_val_lab): Only hash as many bytes as
Ben Pfaff [Mon, 11 Dec 2006 15:56:13 +0000 (15:56 +0000)]
* value-labels.c (hash_int_val_lab): Only hash as many bytes as
the value label's width.

17 years agoRewrite system file reader code, to clean up and improve.
Ben Pfaff [Mon, 11 Dec 2006 15:39:23 +0000 (15:39 +0000)]
Rewrite system file reader code, to clean up and improve.