pspp-builds.git
18 years agoOnly use "A TO B" for increasing runs of integers, which is all we now
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).

18 years agoImprove DO REPEAT description.
Ben Pfaff [Mon, 8 May 2006 01:14:16 +0000 (01:14 +0000)]
Improve DO REPEAT description.

18 years agoImprove DO REPEAT description.
Ben Pfaff [Mon, 8 May 2006 01:12:30 +0000 (01:12 +0000)]
Improve DO REPEAT description.

18 years agoNew macro WARN_UNUSED_RESULT.
Ben Pfaff [Mon, 8 May 2006 00:10:21 +0000 (00:10 +0000)]
New macro WARN_UNUSED_RESULT.

18 years agoCheck return value of pool_fclose().
Ben Pfaff [Mon, 8 May 2006 00:09:40 +0000 (00:09 +0000)]
Check return value of pool_fclose().

18 years agoAdd va_copy.h header instead of inlining a definition.
Ben Pfaff [Sun, 7 May 2006 21:35:22 +0000 (21:35 +0000)]
Add va_copy.h header instead of inlining a definition.

18 years agoFixed a number of warnings.
John Darrington [Sun, 7 May 2006 10:11:51 +0000 (10:11 +0000)]
Fixed a number of warnings.

18 years agoDestroy chain's trns member, to fix memory leak.
Ben Pfaff [Sun, 7 May 2006 05:50:07 +0000 (05:50 +0000)]
Destroy chain's trns member, to fix memory leak.

18 years agoDestroy case source to fix memory leak.
Ben Pfaff [Sun, 7 May 2006 05:48:57 +0000 (05:48 +0000)]
Destroy case source to fix memory leak.

18 years agoFix memory leak in scratch reader.
Ben Pfaff [Sun, 7 May 2006 05:48:06 +0000 (05:48 +0000)]
Fix memory leak in scratch reader.

18 years agoSimplify multipass_procedure().
Ben Pfaff [Sun, 7 May 2006 05:46:26 +0000 (05:46 +0000)]
Simplify multipass_procedure().
Fix memory leak.

18 years agoImprovements to case implementation.
Ben Pfaff [Sun, 7 May 2006 05:44:18 +0000 (05:44 +0000)]
Improvements to case implementation.

18 years agoFix segfault.
Ben Pfaff [Sun, 7 May 2006 05:26:03 +0000 (05:26 +0000)]
Fix segfault.

18 years agoRemove declaration of dump_split_vars(), which is never defined or
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.

18 years agoReworked very long string support for better encapsulation.
John Darrington [Sun, 7 May 2006 02:18:31 +0000 (02:18 +0000)]
Reworked very long string support for better encapsulation.

18 years agoSome more cleanup with value labels.
Ben Pfaff [Sun, 7 May 2006 02:04:12 +0000 (02:04 +0000)]
Some more cleanup with value labels.

18 years agoRemove unneeded dependency on variable.h.
Ben Pfaff [Sat, 6 May 2006 23:14:31 +0000 (23:14 +0000)]
Remove unneeded dependency on variable.h.

18 years agoGet rid of `char *c' member in union value, for cleanliness.
Ben Pfaff [Sat, 6 May 2006 23:04:05 +0000 (23:04 +0000)]
Get rid of `char *c' member in union value, for cleanliness.

18 years agoMake dictionary compacting functions a little more general.
Ben Pfaff [Sat, 6 May 2006 22:37:30 +0000 (22:37 +0000)]
Make dictionary compacting functions a little more general.

18 years ago(does_dict_need_translation) Fix bug: inverted return value (!).
Ben Pfaff [Sat, 6 May 2006 21:26:48 +0000 (21:26 +0000)]
(does_dict_need_translation) Fix bug: inverted return value (!).

18 years agoMake FILTER without any further keywords turn off filtering, with a
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.

18 years agoUse a casefile, instead of a case sink, for MATCH FILES output.
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.

18 years agoSearch and replace "vfm" by "proc".
Ben Pfaff [Sat, 6 May 2006 20:39:47 +0000 (20:39 +0000)]
Search and replace "vfm" by "proc".

18 years agoRemove notes that are no longer interesting.
Ben Pfaff [Sat, 6 May 2006 20:34:40 +0000 (20:34 +0000)]
Remove notes that are no longer interesting.

18 years agoContinue reforming procedure execution. In this phase, remove PROCESS
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.

18 years agoUpdate.
Ben Pfaff [Sat, 6 May 2006 18:03:30 +0000 (18:03 +0000)]
Update.

18 years agoContinue reforming procedure execution. In this phase, add `const' to
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.

18 years agoOops: fix ChangeLogs.
Ben Pfaff [Sat, 6 May 2006 17:57:46 +0000 (17:57 +0000)]
Oops: fix ChangeLogs.

18 years agoContinue reforming procedure execution. In this phase, get rid of the
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.

18 years agoContinue reforming procedure execution. Change internal_procedure()
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.

18 years agoGet rid of unused struct member.
Ben Pfaff [Sat, 6 May 2006 04:39:20 +0000 (04:39 +0000)]
Get rid of unused struct member.

18 years agoContinue reforming procedure execution. In this phase, move
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.

18 years agoUpdate.
Ben Pfaff [Fri, 5 May 2006 04:46:53 +0000 (04:46 +0000)]
Update.

18 years agoUpdate.
Ben Pfaff [Fri, 5 May 2006 03:39:25 +0000 (03:39 +0000)]
Update.

18 years agoAdded simple queueing to message dialogs.
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.

18 years agomake distcheck
John Darrington [Thu, 4 May 2006 06:41:49 +0000 (06:41 +0000)]
make distcheck

18 years agoContinue reforming procedure execution. In this phase, get rid of
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.

18 years agoFix invalid read when fetching sys files with very long string variables.
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.

18 years agoFix spelling in comment.
Ben Pfaff [Thu, 4 May 2006 05:21:49 +0000 (05:21 +0000)]
Fix spelling in comment.

18 years agoAdd missing function comments.
Ben Pfaff [Tue, 2 May 2006 22:58:24 +0000 (22:58 +0000)]
Add missing function comments.

18 years agoContinue reforming procedure execution. In this phase, add some new,
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.

18 years agoNo need to add 1 to arg passed to ds_extend(), because the argument
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.

18 years agoDeclarations must precede statements for C90 compliance.
Ben Pfaff [Tue, 2 May 2006 22:44:55 +0000 (22:44 +0000)]
Declarations must precede statements for C90 compliance.

18 years agoMinor wordsmithing.
Ben Pfaff [Tue, 2 May 2006 22:04:06 +0000 (22:04 +0000)]
Minor wordsmithing.
Use @pxref instead of @xref for parenthetical references.

18 years agoImplemented support for very long strings a la spss v13/v14
John Darrington [Tue, 2 May 2006 03:51:42 +0000 (03:51 +0000)]
Implemented support for very long strings a la spss v13/v14

18 years agoFurther clean up the CMD_* command result codes.
Ben Pfaff [Tue, 2 May 2006 01:29:06 +0000 (01:29 +0000)]
Further clean up the CMD_* command result codes.

18 years agoRemove vestiges of REPEATING DATA support.
Ben Pfaff [Mon, 1 May 2006 23:35:46 +0000 (23:35 +0000)]
Remove vestiges of REPEATING DATA support.

18 years agoRemove vestiges of REPEATING DATA support.
Ben Pfaff [Mon, 1 May 2006 23:09:17 +0000 (23:09 +0000)]
Remove vestiges of REPEATING DATA support.

18 years agoFix change log.
Ben Pfaff [Mon, 1 May 2006 23:00:12 +0000 (23:00 +0000)]
Fix change log.

18 years agoFix change log.
Ben Pfaff [Mon, 1 May 2006 23:00:04 +0000 (23:00 +0000)]
Fix change log.

18 years agoRemove vestiges of FILE TYPE support.
Ben Pfaff [Mon, 1 May 2006 22:59:22 +0000 (22:59 +0000)]
Remove vestiges of FILE TYPE support.

18 years agoChange case limit type from int to size_t.
Ben Pfaff [Mon, 1 May 2006 22:46:31 +0000 (22:46 +0000)]
Change case limit type from int to size_t.

18 years agoOops--fix last check-in.
Ben Pfaff [Mon, 1 May 2006 22:44:54 +0000 (22:44 +0000)]
Oops--fix last check-in.

18 years agoClarify LAG function.
Ben Pfaff [Mon, 1 May 2006 22:33:51 +0000 (22:33 +0000)]
Clarify LAG function.

18 years agoProhibit LAG following TEMPORARY. This both matches SPSS behavior and
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).

18 years agoRemoved unused variable (of undefined type) which prevented compilation without optim...
John Darrington [Sat, 29 Apr 2006 03:12:03 +0000 (03:12 +0000)]
Removed unused variable (of undefined type) which prevented compilation without optimisation.

18 years agoFix excessively long line.
Ben Pfaff [Sat, 29 Apr 2006 01:46:38 +0000 (01:46 +0000)]
Fix excessively long line.

18 years agoadded regression node to doc build
Jason Stover [Fri, 28 Apr 2006 20:07:04 +0000 (20:07 +0000)]
added regression node to doc build

18 years agopass only the variables in the model to pspp_linreg_predict()
Jason Stover [Fri, 28 Apr 2006 19:17:15 +0000 (19:17 +0000)]
pass only the variables in the model to pspp_linreg_predict()

18 years agopass only the necessary variables to model->residual
Jason Stover [Fri, 28 Apr 2006 13:25:53 +0000 (13:25 +0000)]
pass only the necessary variables to model->residual

18 years agoadded function to retrieve variable list used in linear model
Jason Stover [Fri, 28 Apr 2006 13:23:05 +0000 (13:23 +0000)]
added function to retrieve variable list used in linear model

18 years agoRemove duplicate header inclusion.
Ben Pfaff [Fri, 28 Apr 2006 04:50:22 +0000 (04:50 +0000)]
Remove duplicate header inclusion.

18 years agoCLEAR TRANSFORMATIONS is unsafe as implemented. It's a fair amount of
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.

18 years ago* variable.h: (struct variable) Rename `reinit' member as `leave' and
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.

18 years agoContinue reforming procedure execution. In this phase, assert that
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.

18 years agoFix header ordering.
Ben Pfaff [Thu, 27 Apr 2006 02:45:18 +0000 (02:45 +0000)]
Fix header ordering.

18 years agoFix comment.
Ben Pfaff [Thu, 27 Apr 2006 02:44:23 +0000 (02:44 +0000)]
Fix comment.

18 years agoContinue reforming procedure execution. In this phase, break
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.

18 years agoRemoved explicit CFLAG dependencies for src/message.o which no longer exists.
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.

18 years agoStart reforming procedure execution. In this phase, get rid of
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.

18 years agoUpdate to-do list.
Ben Pfaff [Wed, 26 Apr 2006 22:15:43 +0000 (22:15 +0000)]
Update to-do list.

18 years agoUse SN instead of MN for most output from SHOW, because the output is
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.

18 years agoRemove `init' member from struct variable, which was essentially
Ben Pfaff [Wed, 26 Apr 2006 22:00:29 +0000 (22:00 +0000)]
Remove `init' member from struct variable, which was essentially
unused.

18 years agoImprove the way we handle the various parsing "states". Until now
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.

18 years agoadded pointer to predicted values
Jason Stover [Wed, 26 Apr 2006 19:22:51 +0000 (19:22 +0000)]
added pointer to predicted values

18 years agoadded support for saving residuals and predicted values
Jason Stover [Wed, 26 Apr 2006 19:16:07 +0000 (19:16 +0000)]
added support for saving residuals and predicted values

18 years agoAdd msg-ui.h to sources.
Ben Pfaff [Tue, 25 Apr 2006 22:10:22 +0000 (22:10 +0000)]
Add msg-ui.h to sources.

18 years agoAdd README explaining not to use msg() here.
Ben Pfaff [Tue, 25 Apr 2006 20:27:17 +0000 (20:27 +0000)]
Add README explaining not to use msg() here.

18 years agoUse SW instead of MW for warning associated with a syntax file
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.

18 years agoUse SE instead of ME for errors 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.

18 years agoUse SE instead of ME for parse errors.
Ben Pfaff [Tue, 25 Apr 2006 20:19:13 +0000 (20:19 +0000)]
Use SE instead of ME for parse errors.

18 years agoSimplify a bit of code using snprintf().
Ben Pfaff [Tue, 25 Apr 2006 20:17:13 +0000 (20:17 +0000)]
Simplify a bit of code using snprintf().

18 years agoDon't special-case MS-DOS line ends.
Ben Pfaff [Tue, 25 Apr 2006 20:13:05 +0000 (20:13 +0000)]
Don't special-case MS-DOS line ends.

18 years agoFinish reforming error message support. In this phase, move message.c
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.

18 years agoContinue reforming error message support. In this phase, drop actual
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.

18 years ago* main.c: (terminate) Mark static and NO_RETURN. If called
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.

18 years agoContinue reforming error message support. In this phase, rename
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.

18 years ago*** empty log message ***
Ben Pfaff [Mon, 24 Apr 2006 21:14:49 +0000 (21:14 +0000)]
*** empty log message ***

18 years agoUse gnulib exit module.
Ben Pfaff [Mon, 24 Apr 2006 21:13:34 +0000 (21:13 +0000)]
Use gnulib exit module.

18 years agoContinue reforming error message support. In this phase, get rid of
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.

18 years agoContinue reforming error message support. Use linebreak module from
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.

18 years agoAdd linebreak to GNULIB_MODULES.
Ben Pfaff [Mon, 24 Apr 2006 03:35:06 +0000 (03:35 +0000)]
Add linebreak to GNULIB_MODULES.

18 years agoremoved uneccessary cast to pspp_linreg_cache
Jason Stover [Sat, 22 Apr 2006 13:50:40 +0000 (13:50 +0000)]
removed uneccessary cast to pspp_linreg_cache

18 years agoinitial description of the SAVE subcommand
Jason Stover [Fri, 21 Apr 2006 21:01:53 +0000 (21:01 +0000)]
initial description of the SAVE subcommand

18 years agochoose residual variable names correctly
Jason Stover [Fri, 21 Apr 2006 20:48:56 +0000 (20:48 +0000)]
choose residual variable names correctly

18 years agomoved call to subcommand_save outside multipass_procedure_with_splits
Jason Stover [Thu, 20 Apr 2006 22:38:32 +0000 (22:38 +0000)]
moved call to subcommand_save outside multipass_procedure_with_splits

18 years agofixed look up of the number of variables
Jason Stover [Wed, 19 Apr 2006 14:11:35 +0000 (14:11 +0000)]
fixed look up of the number of variables

18 years agoAdded pointer to residual variable to linreg cache
Jason Stover [Wed, 19 Apr 2006 01:20:33 +0000 (01:20 +0000)]
Added pointer to residual variable to linreg cache

18 years agoFixed residual look up
Jason Stover [Wed, 19 Apr 2006 01:17:50 +0000 (01:17 +0000)]
Fixed residual look up

18 years agopspp_linreg_cache_free accepts a void pointer
Jason Stover [Mon, 17 Apr 2006 17:52:26 +0000 (17:52 +0000)]
pspp_linreg_cache_free accepts a void pointer