Ben Pfaff [Mon, 8 May 2006 01:16:40 +0000 (01:16 +0000)]
Only use "A TO B" for increasing runs of integers, which is all we now
support (for closer compatibility).
Ben Pfaff [Mon, 8 May 2006 01:14:16 +0000 (01:14 +0000)]
Improve DO REPEAT description.
Ben Pfaff [Mon, 8 May 2006 01:12:30 +0000 (01:12 +0000)]
Improve DO REPEAT description.
Ben Pfaff [Mon, 8 May 2006 00:10:21 +0000 (00:10 +0000)]
New macro WARN_UNUSED_RESULT.
Ben Pfaff [Mon, 8 May 2006 00:09:40 +0000 (00:09 +0000)]
Check return value of pool_fclose().
Ben Pfaff [Sun, 7 May 2006 21:35:22 +0000 (21:35 +0000)]
Add va_copy.h header instead of inlining a definition.
John Darrington [Sun, 7 May 2006 10:11:51 +0000 (10:11 +0000)]
Fixed a number of warnings.
Ben Pfaff [Sun, 7 May 2006 05:50:07 +0000 (05:50 +0000)]
Destroy chain's trns member, to fix memory leak.
Ben Pfaff [Sun, 7 May 2006 05:48:57 +0000 (05:48 +0000)]
Destroy case source to fix memory leak.
Ben Pfaff [Sun, 7 May 2006 05:48:06 +0000 (05:48 +0000)]
Fix memory leak in scratch reader.
Ben Pfaff [Sun, 7 May 2006 05:46:26 +0000 (05:46 +0000)]
Simplify multipass_procedure().
Fix memory leak.
Ben Pfaff [Sun, 7 May 2006 05:44:18 +0000 (05:44 +0000)]
Improvements to case implementation.
Ben Pfaff [Sun, 7 May 2006 05:26:03 +0000 (05:26 +0000)]
Fix segfault.
Ben Pfaff [Sun, 7 May 2006 02:41:01 +0000 (02:41 +0000)]
Remove declaration of dump_split_vars(), which is never defined or
otherwise referenced.
John Darrington [Sun, 7 May 2006 02:18:31 +0000 (02:18 +0000)]
Reworked very long string support for better encapsulation.
Ben Pfaff [Sun, 7 May 2006 02:04:12 +0000 (02:04 +0000)]
Some more cleanup with value labels.
Ben Pfaff [Sat, 6 May 2006 23:14:31 +0000 (23:14 +0000)]
Remove unneeded dependency on variable.h.
Ben Pfaff [Sat, 6 May 2006 23:04:05 +0000 (23:04 +0000)]
Get rid of `char *c' member in union value, for cleanliness.
Ben Pfaff [Sat, 6 May 2006 22:37:30 +0000 (22:37 +0000)]
Make dictionary compacting functions a little more general.
Ben Pfaff [Sat, 6 May 2006 21:26:48 +0000 (21:26 +0000)]
(does_dict_need_translation) Fix bug: inverted return value (!).
Ben Pfaff [Sat, 6 May 2006 21:13:08 +0000 (21:13 +0000)]
Make FILTER without any further keywords turn off filtering, with a
warning, for compatibility. Change errors from cascading failures to
ordinary failures. Check for command terminator.
Ben Pfaff [Sat, 6 May 2006 20:53:25 +0000 (20:53 +0000)]
Use a casefile, instead of a case sink, for MATCH FILES output.
It's more straightforward, although it has the same effect.
Ben Pfaff [Sat, 6 May 2006 20:39:47 +0000 (20:39 +0000)]
Search and replace "vfm" by "proc".
Ben Pfaff [Sat, 6 May 2006 20:34:40 +0000 (20:34 +0000)]
Remove notes that are no longer interesting.
Ben Pfaff [Sat, 6 May 2006 20:27:23 +0000 (20:27 +0000)]
Continue reforming procedure execution. In this phase, remove PROCESS
IF, which was deprecated anyway and can be easily simulated with
TEMPORARY followed by SELECT IF.
Ben Pfaff [Sat, 6 May 2006 18:03:30 +0000 (18:03 +0000)]
Update.
Ben Pfaff [Sat, 6 May 2006 18:01:13 +0000 (18:01 +0000)]
Continue reforming procedure execution. In this phase, add `const' to
the case passed to procedure()'s callback.
Updated all users of procedure() as well.
Ben Pfaff [Sat, 6 May 2006 17:57:46 +0000 (17:57 +0000)]
Oops: fix ChangeLogs.
Ben Pfaff [Sat, 6 May 2006 17:46:52 +0000 (17:46 +0000)]
Continue reforming procedure execution. In this phase, get rid of the
output code for SPLIT FILE groups in procedure.c, which really
shouldn't be doing any output. Move it into the individual procedures
instead. This also adds some flexibility.
Ben Pfaff [Sat, 6 May 2006 05:56:59 +0000 (05:56 +0000)]
Continue reforming procedure execution. Change internal_procedure()
so that it calls open_active_file() and close_active_file(), which
isolates most of the actual procedure functionality.
Ben Pfaff [Sat, 6 May 2006 04:39:20 +0000 (04:39 +0000)]
Get rid of unused struct member.
Ben Pfaff [Fri, 5 May 2006 04:53:12 +0000 (04:53 +0000)]
Continue reforming procedure execution. In this phase, move
procedure.c and procedure.h from src to src/data. Update makefiles
and #includes accordingly.
Ben Pfaff [Fri, 5 May 2006 04:46:53 +0000 (04:46 +0000)]
Update.
Ben Pfaff [Fri, 5 May 2006 03:39:25 +0000 (03:39 +0000)]
Update.
John Darrington [Thu, 4 May 2006 10:09:31 +0000 (10:09 +0000)]
Added simple queueing to message dialogs.
Fixed broken data sheet for very long strings.
Fixed broken makefile dependency.
John Darrington [Thu, 4 May 2006 06:41:49 +0000 (06:41 +0000)]
make distcheck
Ben Pfaff [Thu, 4 May 2006 06:19:02 +0000 (06:19 +0000)]
Continue reforming procedure execution. In this phase, get rid of
many global variables, consolidating procedure execution in
procedure.c. Encapsulate transformations in new "struct trns_chain".
Also, change implementation of N OF CASES, FILTER, and PROCESS IF from
special cases to transformations.
John Darrington [Thu, 4 May 2006 05:51:12 +0000 (05:51 +0000)]
Fix invalid read when fetching sys files with very long string variables.
Ben Pfaff [Thu, 4 May 2006 05:21:49 +0000 (05:21 +0000)]
Fix spelling in comment.
Ben Pfaff [Tue, 2 May 2006 22:58:24 +0000 (22:58 +0000)]
Add missing function comments.
Ben Pfaff [Tue, 2 May 2006 22:52:33 +0000 (22:52 +0000)]
Continue reforming procedure execution. In this phase, add some new,
needed functionality to storage-stream.
Ben Pfaff [Tue, 2 May 2006 22:46:00 +0000 (22:46 +0000)]
No need to add 1 to arg passed to ds_extend(), because the argument
does not include space for a null terminator. Also, fix warning.
Ben Pfaff [Tue, 2 May 2006 22:44:55 +0000 (22:44 +0000)]
Declarations must precede statements for C90 compliance.
Ben Pfaff [Tue, 2 May 2006 22:04:06 +0000 (22:04 +0000)]
Minor wordsmithing.
Use @pxref instead of @xref for parenthetical references.
John Darrington [Tue, 2 May 2006 03:51:42 +0000 (03:51 +0000)]
Implemented support for very long strings a la spss v13/v14
Ben Pfaff [Tue, 2 May 2006 01:29:06 +0000 (01:29 +0000)]
Further clean up the CMD_* command result codes.
Ben Pfaff [Mon, 1 May 2006 23:35:46 +0000 (23:35 +0000)]
Remove vestiges of REPEATING DATA support.
Ben Pfaff [Mon, 1 May 2006 23:09:17 +0000 (23:09 +0000)]
Remove vestiges of REPEATING DATA support.
Ben Pfaff [Mon, 1 May 2006 23:00:12 +0000 (23:00 +0000)]
Fix change log.
Ben Pfaff [Mon, 1 May 2006 23:00:04 +0000 (23:00 +0000)]
Fix change log.
Ben Pfaff [Mon, 1 May 2006 22:59:22 +0000 (22:59 +0000)]
Remove vestiges of FILE TYPE support.
Ben Pfaff [Mon, 1 May 2006 22:46:31 +0000 (22:46 +0000)]
Change case limit type from int to size_t.
Ben Pfaff [Mon, 1 May 2006 22:44:54 +0000 (22:44 +0000)]
Oops--fix last check-in.
Ben Pfaff [Mon, 1 May 2006 22:33:51 +0000 (22:33 +0000)]
Clarify LAG function.
Ben Pfaff [Mon, 1 May 2006 22:14:53 +0000 (22:14 +0000)]
Prohibit LAG following TEMPORARY. This both matches SPSS behavior and
fixes a bug: we saved the cases for LAG before TEMPORARY but allowed
access to variables created afterward anyhow (which could cause a
segfault).
John Darrington [Sat, 29 Apr 2006 03:12:03 +0000 (03:12 +0000)]
Removed unused variable (of undefined type) which prevented compilation without optimisation.
Ben Pfaff [Sat, 29 Apr 2006 01:46:38 +0000 (01:46 +0000)]
Fix excessively long line.
Jason Stover [Fri, 28 Apr 2006 20:07:04 +0000 (20:07 +0000)]
added regression node to doc build
Jason Stover [Fri, 28 Apr 2006 19:17:15 +0000 (19:17 +0000)]
pass only the variables in the model to pspp_linreg_predict()
Jason Stover [Fri, 28 Apr 2006 13:25:53 +0000 (13:25 +0000)]
pass only the necessary variables to model->residual
Jason Stover [Fri, 28 Apr 2006 13:23:05 +0000 (13:23 +0000)]
added function to retrieve variable list used in linear model
Ben Pfaff [Fri, 28 Apr 2006 04:50:22 +0000 (04:50 +0000)]
Remove duplicate header inclusion.
Ben Pfaff [Thu, 27 Apr 2006 04:15:02 +0000 (04:15 +0000)]
CLEAR TRANSFORMATIONS is unsafe as implemented. It's a fair amount of
work to implement it correctly, so make it unimplemented.
Ben Pfaff [Thu, 27 Apr 2006 03:01:57 +0000 (03:01 +0000)]
* variable.h: (struct variable) Rename `reinit' member as `leave' and
invert sense. Fix up all references.
Ben Pfaff [Thu, 27 Apr 2006 02:51:12 +0000 (02:51 +0000)]
Continue reforming procedure execution. In this phase, assert that
add_transformation() is not called during procedure execution. Thanks
to John Darrington for the suggestion.
Ben Pfaff [Thu, 27 Apr 2006 02:45:18 +0000 (02:45 +0000)]
Fix header ordering.
Ben Pfaff [Thu, 27 Apr 2006 02:44:23 +0000 (02:44 +0000)]
Fix comment.
Ben Pfaff [Thu, 27 Apr 2006 02:42:01 +0000 (02:42 +0000)]
Continue reforming procedure execution. In this phase, break
procedure.c into multiple files.
John Darrington [Thu, 27 Apr 2006 01:31:59 +0000 (01:31 +0000)]
Removed explicit CFLAG dependencies for src/message.o which no longer exists.
Ben Pfaff [Wed, 26 Apr 2006 22:32:12 +0000 (22:32 +0000)]
Start reforming procedure execution. In this phase, get rid of
function prototypes for never-defined functions.
Ben Pfaff [Wed, 26 Apr 2006 22:15:43 +0000 (22:15 +0000)]
Update to-do list.
Ben Pfaff [Wed, 26 Apr 2006 22:06:48 +0000 (22:06 +0000)]
Use SN instead of MN for most output from SHOW, because the output is
tied to the SHOW command that caused it.
Ben Pfaff [Wed, 26 Apr 2006 22:00:29 +0000 (22:00 +0000)]
Remove `init' member from struct variable, which was essentially
unused.
Ben Pfaff [Wed, 26 Apr 2006 20:54:07 +0000 (20:54 +0000)]
Improve the way we handle the various parsing "states". Until now
we've hard-coded the state transitions in the command definition file,
but that's error-prone and, worse, it's redundant--we can figure out
what state we're in anyhow. We can cleanly handle INPUT PROGRAM and
FILE TYPE with a nested command-processing loop.
Improve command name completion for readline.
Jason Stover [Wed, 26 Apr 2006 19:22:51 +0000 (19:22 +0000)]
added pointer to predicted values
Jason Stover [Wed, 26 Apr 2006 19:16:07 +0000 (19:16 +0000)]
added support for saving residuals and predicted values
Ben Pfaff [Tue, 25 Apr 2006 22:10:22 +0000 (22:10 +0000)]
Add msg-ui.h to sources.
Ben Pfaff [Tue, 25 Apr 2006 20:27:17 +0000 (20:27 +0000)]
Add README explaining not to use msg() here.
Ben Pfaff [Tue, 25 Apr 2006 20:24:11 +0000 (20:24 +0000)]
Use SW instead of MW for warning associated with a syntax file
command.
Ben Pfaff [Tue, 25 Apr 2006 20:21:55 +0000 (20:21 +0000)]
Use SE instead of ME for errors associated with a syntax file command.
Ben Pfaff [Tue, 25 Apr 2006 20:19:13 +0000 (20:19 +0000)]
Use SE instead of ME for parse errors.
Ben Pfaff [Tue, 25 Apr 2006 20:17:13 +0000 (20:17 +0000)]
Simplify a bit of code using snprintf().
Ben Pfaff [Tue, 25 Apr 2006 20:13:05 +0000 (20:13 +0000)]
Don't special-case MS-DOS line ends.
Ben Pfaff [Tue, 25 Apr 2006 18:11:08 +0000 (18:11 +0000)]
Finish reforming error message support. In this phase, move message.c
into libpspp.
Ben Pfaff [Tue, 25 Apr 2006 18:03:03 +0000 (18:03 +0000)]
Continue reforming error message support. In this phase, drop actual
message printing from core code, substituting a callback, and add the
callback to each UI. Also, move verbose_msg() into its own module.
Ben Pfaff [Tue, 25 Apr 2006 16:41:33 +0000 (16:41 +0000)]
* main.c: (terminate) Mark static and NO_RETURN. If called
recursively, which can only happen via signal, just exit instead of
trying to gracefully shut down.
Ben Pfaff [Tue, 25 Apr 2006 00:41:12 +0000 (00:41 +0000)]
Continue reforming error message support. In this phase, rename
all the message functions and types to start with "msg", except
for the ones that will be moving to other modules anyway.
Ben Pfaff [Mon, 24 Apr 2006 21:14:49 +0000 (21:14 +0000)]
*** empty log message ***
Ben Pfaff [Mon, 24 Apr 2006 21:13:34 +0000 (21:13 +0000)]
Use gnulib exit module.
Ben Pfaff [Mon, 24 Apr 2006 05:09:59 +0000 (05:09 +0000)]
Continue reforming error message support. In this phase, get rid of
message "titles" and put the message text in `struct error'. Now
`struct error' encapsulates a message more properly.
Ben Pfaff [Mon, 24 Apr 2006 03:45:41 +0000 (03:45 +0000)]
Continue reforming error message support. Use linebreak module from
gnulib instead of home-brew line breaking.
Ben Pfaff [Mon, 24 Apr 2006 03:35:06 +0000 (03:35 +0000)]
Add linebreak to GNULIB_MODULES.
Jason Stover [Sat, 22 Apr 2006 13:50:40 +0000 (13:50 +0000)]
removed uneccessary cast to pspp_linreg_cache
Jason Stover [Fri, 21 Apr 2006 21:01:53 +0000 (21:01 +0000)]
initial description of the SAVE subcommand
Jason Stover [Fri, 21 Apr 2006 20:48:56 +0000 (20:48 +0000)]
choose residual variable names correctly
Jason Stover [Thu, 20 Apr 2006 22:38:32 +0000 (22:38 +0000)]
moved call to subcommand_save outside multipass_procedure_with_splits
Jason Stover [Wed, 19 Apr 2006 14:11:35 +0000 (14:11 +0000)]
fixed look up of the number of variables
Jason Stover [Wed, 19 Apr 2006 01:20:33 +0000 (01:20 +0000)]
Added pointer to residual variable to linreg cache
Jason Stover [Wed, 19 Apr 2006 01:17:50 +0000 (01:17 +0000)]
Fixed residual look up
Jason Stover [Mon, 17 Apr 2006 17:52:26 +0000 (17:52 +0000)]
pspp_linreg_cache_free accepts a void pointer