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.
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.
Ben Pfaff [Wed, 20 Dec 2006 16:09:44 +0000 (16:09 +0000)]
Fix bugs in LOOP.
John Darrington [Wed, 20 Dec 2006 12:15:18 +0000 (12:15 +0000)]
Implemented flexifilereader_cnum.
John Darrington [Wed, 20 Dec 2006 10:10:51 +0000 (10:10 +0000)]
Implemented the NPAR TESTS command.
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.
Ben Pfaff [Mon, 18 Dec 2006 02:45:26 +0000 (02:45 +0000)]
Delete obsolete items.
John Darrington [Sun, 17 Dec 2006 00:01:04 +0000 (00:01 +0000)]
Added the ability to run syntax from the syntax editor.
Jason Stover [Sat, 16 Dec 2006 22:38:01 +0000 (22:38 +0000)]
removed "Written by..." line
Ben Pfaff [Sat, 16 Dec 2006 22:13:12 +0000 (22:13 +0000)]
Don't assume that ALIGN_* and GTK_JUSTIFY_* values coincide.
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.
Ben Pfaff [Sat, 16 Dec 2006 22:01:19 +0000 (22:01 +0000)]
Fix test to allow string grouping variables on RANK.
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.
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.
John Darrington [Sat, 16 Dec 2006 04:26:42 +0000 (04:26 +0000)]
Removed my authorship lines.
John Darrington [Sat, 16 Dec 2006 03:40:41 +0000 (03:40 +0000)]
Committed patch #5636
Ben Pfaff [Fri, 15 Dec 2006 00:16:01 +0000 (00:16 +0000)]
Remove "Written by Ben Pfaff <blp@gnu.org>" lines everywhere.
Ben Pfaff [Thu, 14 Dec 2006 23:22:56 +0000 (23:22 +0000)]
Mention that pkg-config is needed.
John Darrington [Thu, 14 Dec 2006 10:45:19 +0000 (10:45 +0000)]
Made src/language into one big library. Closes patch #5633
Ben Pfaff [Thu, 14 Dec 2006 05:35:38 +0000 (05:35 +0000)]
Additionally verify that input files have equal number of lines.
Ben Pfaff [Thu, 14 Dec 2006 05:26:28 +0000 (05:26 +0000)]
Fix punctuation in error message.
Ben Pfaff [Thu, 14 Dec 2006 03:36:00 +0000 (03:36 +0000)]
Implement DATESUM, DATEDIFF functions.
Patch #5637.
John Darrington [Tue, 12 Dec 2006 06:44:49 +0000 (06:44 +0000)]
Fixed bugs which crept in with the variable encapsulation changes.
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.
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.
Ben Pfaff [Mon, 11 Dec 2006 15:39:23 +0000 (15:39 +0000)]
Rewrite system file reader code, to clean up and improve.
Ben Pfaff [Sun, 10 Dec 2006 19:23:13 +0000 (19:23 +0000)]
Document that the character_code field can be a Windows code page
number.
Ben Pfaff [Sun, 10 Dec 2006 19:14:37 +0000 (19:14 +0000)]
* command-line.c (pre_syntax_message): Use term "syntax" instead
of "script".
John Darrington [Sun, 10 Dec 2006 05:30:45 +0000 (05:30 +0000)]
Patch #5623
Removed eof state from lexer. A lexer which reaches the end of its input, can
now continue, if new input is appended to the input stream.
Ben Pfaff [Sun, 10 Dec 2006 04:12:40 +0000 (04:12 +0000)]
* repeat.c (parse_lines): Issue an error when attempting to nest
DO REPEAT in compatibility mode.
Ben Pfaff [Sun, 10 Dec 2006 04:08:47 +0000 (04:08 +0000)]
* file-name.c (fn_search_path): Remove prefix arg that was unused
by any caller. Updated all callers.
Ben Pfaff [Sun, 10 Dec 2006 04:04:38 +0000 (04:04 +0000)]
* format.c (fmt_dollar_template): Use user's decimal point
character. Add assertion.
Ben Pfaff [Sun, 10 Dec 2006 04:03:34 +0000 (04:03 +0000)]
New function fmt_dollar_template based on pspp-dev discussion.
Ben Pfaff [Sun, 10 Dec 2006 03:42:50 +0000 (03:42 +0000)]
Finish converting struct variable to an opaque type. In this
phase, we add remaining setter and getter functions, convert the
remaining PSPP code to use them, and do a bunch of cleanup. The
resulting changes are pervasive but mostly trivial, and only the
notable changes are logged.
This is patch #5629 on Savannah.
John Darrington [Sun, 10 Dec 2006 02:33:43 +0000 (02:33 +0000)]
Avoided comparison of string variables to SYSMIS
Ben Pfaff [Sun, 10 Dec 2006 01:20:55 +0000 (01:20 +0000)]
Ignore cscope files.
John Darrington [Fri, 8 Dec 2006 22:24:08 +0000 (22:24 +0000)]
Memory leak patrol and minor cleanups.
Ben Pfaff [Fri, 8 Dec 2006 01:41:21 +0000 (01:41 +0000)]
Use gsl_finite from GSL, which is portable, instead of isfinite, which
is not.