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.
John Darrington [Thu, 7 Dec 2006 11:34:17 +0000 (11:34 +0000)]
Removed mutual dependency between libpspp and data
John Darrington [Thu, 7 Dec 2006 11:10:23 +0000 (11:10 +0000)]
Added a syntax editor to the GUI.
It doesn't do anything yet --- it's just an editor.
John Darrington [Thu, 7 Dec 2006 07:09:06 +0000 (07:09 +0000)]
Fixed memory leak.
John Darrington [Thu, 7 Dec 2006 06:31:04 +0000 (06:31 +0000)]
Changed factors' independent variables to be copies on the heap.
Fixes part of bug #15911.
Ben Pfaff [Thu, 7 Dec 2006 05:41:11 +0000 (05:41 +0000)]
Remove blank page.
Ben Pfaff [Thu, 7 Dec 2006 05:16:33 +0000 (05:16 +0000)]
Compare variable pointers instead of variable indexes.
Ben Pfaff [Tue, 5 Dec 2006 15:10:21 +0000 (15:10 +0000)]
First step in making struct variable opaque: the boring mechanical
work of replacing most struct variable member accesses by use of
setter and getter functions.
John Darrington [Tue, 5 Dec 2006 11:27:42 +0000 (11:27 +0000)]
Applied patch #5611
Ben Pfaff [Tue, 5 Dec 2006 05:39:29 +0000 (05:39 +0000)]
* missing-values.c (mv_resize): Don't write beyond end of the
allocated buffer when resizing a long string.
Ben Pfaff [Sun, 3 Dec 2006 22:16:45 +0000 (22:16 +0000)]
Fix lack of ->name and ->location in DO REPEAT's getl_interface.
See bug #15702.
Significant cleanup to DO REPEAT.
Ben Pfaff [Sat, 2 Dec 2006 06:45:25 +0000 (06:45 +0000)]
Remove redundant parentheses.
Ben Pfaff [Fri, 1 Dec 2006 06:51:08 +0000 (06:51 +0000)]
* compute.c: Fix bug #17422, which reports that a variable created
by assignment in a COMPUTE command could not be used in the
computation expression.
Ben Pfaff [Fri, 1 Dec 2006 06:45:52 +0000 (06:45 +0000)]
Properly handle empty DO REPEAT...END REPEAT block. Fixes bug #18407.
Thanks to John Darrington for reporting this bug.
Ben Pfaff [Fri, 1 Dec 2006 06:21:05 +0000 (06:21 +0000)]
* statistics.texi: Document charts supported by FREQUENCIES.
Fixes bug #18297. Thanks to Mohammed Babekir Elmalik Abdalmajid
for reporting this bug.
Ben Pfaff [Fri, 1 Dec 2006 06:06:52 +0000 (06:06 +0000)]
* value-labels.c (get_label): Allow commas between values and
labels and between value labels. Fixes bug #18303. Thanks to
John Darrington for reporting this bug.
Ben Pfaff [Fri, 1 Dec 2006 06:03:58 +0000 (06:03 +0000)]
Fix indentation.
Ben Pfaff [Fri, 1 Dec 2006 06:02:35 +0000 (06:02 +0000)]
Properly handle empty DO REPEAT...END REPEAT block. Fixes bug #18407.
Thanks to John Darrington for reporting this bug.
Ben Pfaff [Fri, 1 Dec 2006 05:52:59 +0000 (05:52 +0000)]
* inpt-pgm.c (cmd_reread): Always return error code upon detecting
syntax error. Fixes bug #18419. Thanks to John Darrington for
reporting this bug.
John Darrington [Thu, 30 Nov 2006 10:39:00 +0000 (10:39 +0000)]
deleted some commented out code.
John Darrington [Wed, 29 Nov 2006 12:19:07 +0000 (12:19 +0000)]
Oops. committing new files
John Darrington [Wed, 29 Nov 2006 11:50:31 +0000 (11:50 +0000)]
Applying patch #5562
John Darrington [Wed, 29 Nov 2006 02:15:00 +0000 (02:15 +0000)]
Fixed make distcheck
John Darrington [Tue, 28 Nov 2006 09:39:37 +0000 (09:39 +0000)]
Fixed documentation problems