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

18 years agoregression_trns_proc accepts an int as the third arg
Jason Stover [Mon, 17 Apr 2006 17:50:19 +0000 (17:50 +0000)]
regression_trns_proc accepts an int as the third arg

18 years agopspp_linreg_cache_free returns a boolean
Jason Stover [Mon, 17 Apr 2006 16:29:36 +0000 (16:29 +0000)]
pspp_linreg_cache_free returns a boolean

18 years agoadded transformation to compute residuals
Jason Stover [Mon, 17 Apr 2006 16:26:44 +0000 (16:26 +0000)]
added transformation to compute residuals

18 years agoContinue reforming error message support. In this phase, we divide
Ben Pfaff [Mon, 17 Apr 2006 03:49:48 +0000 (03:49 +0000)]
Continue reforming error message support.  In this phase, we divide
the classification of messages along "category" and "severity" axes.

18 years agoMake ds_vprintf() properly handle a null string.
Ben Pfaff [Mon, 17 Apr 2006 03:36:40 +0000 (03:36 +0000)]
Make ds_vprintf() properly handle a null string.

18 years agoGNU standards require "file name" instead of "filename" in
Ben Pfaff [Mon, 17 Apr 2006 02:13:38 +0000 (02:13 +0000)]
GNU standards require "file name" instead of "filename" in
documentation.  It's nice for our code to follow the convention too.

18 years agoConsistently write "file name" as two words, in accordance with the
Ben Pfaff [Mon, 17 Apr 2006 02:13:12 +0000 (02:13 +0000)]
Consistently write "file name" as two words, in accordance with the
GNU standards.

18 years agoGNU standards require "file name" instead of "filename" in
Ben Pfaff [Mon, 17 Apr 2006 01:54:15 +0000 (01:54 +0000)]
GNU standards require "file name" instead of "filename" in
documentation.  It's nice for our code to follow the convention too.

18 years agoWe don't really support anything but Unix-like environments well, so
Ben Pfaff [Mon, 17 Apr 2006 01:37:51 +0000 (01:37 +0000)]
We don't really support anything but Unix-like environments well, so
we might as well de-obfuscate by writing directory and path separators
explicitly.

18 years agoGNU standards require "file name" instead of "filename" in
Ben Pfaff [Mon, 17 Apr 2006 01:30:21 +0000 (01:30 +0000)]
GNU standards require "file name" instead of "filename" in
documentation.  It's nice for our code to follow the convention too.

18 years agoRenamed some file name functions.
Ben Pfaff [Sun, 16 Apr 2006 23:43:48 +0000 (23:43 +0000)]
Renamed some file name functions.

18 years ago* filename.c: (fn_tilde_expand) Rewrite for cleaner code. Also, now
Ben Pfaff [Sun, 16 Apr 2006 23:35:19 +0000 (23:35 +0000)]
* filename.c: (fn_tilde_expand) Rewrite for cleaner code.  Also, now
it only tilde-expands file names, not paths.
(fn_search_path) Tilde-expand one directory at a time.

18 years agoContinue reforming error message support. In this phase, we get rid
Ben Pfaff [Sun, 16 Apr 2006 23:08:02 +0000 (23:08 +0000)]
Continue reforming error message support.  In this phase, we get rid
of VM() and the other msg() support for "verbosity", replacing it by a
new function verbose_msg().

18 years agoStart reforming error message support. In this phase, we get rid of
Ben Pfaff [Sun, 16 Apr 2006 18:55:09 +0000 (18:55 +0000)]
Start reforming error message support.  In this phase, we get rid of
"installation errors" and change all uses of msg() in the output
drivers to uses of error() or error_at_line().

18 years agoGet rid of src/libpspp/debug-print.h and all its users. (There were
Ben Pfaff [Sun, 16 Apr 2006 04:46:41 +0000 (04:46 +0000)]
Get rid of src/libpspp/debug-print.h and all its users.  (There were
few real users, but many inclusions of its header file.)

18 years agoImprove comment.
Ben Pfaff [Sun, 16 Apr 2006 02:55:39 +0000 (02:55 +0000)]
Improve comment.

18 years agoGet rid of #defines after #error.
Ben Pfaff [Sun, 16 Apr 2006 02:54:56 +0000 (02:54 +0000)]
Get rid of #defines after #error.

18 years agoGet rid of our own int32 type in favor of the standard int32_t type.
Ben Pfaff [Sun, 16 Apr 2006 02:52:28 +0000 (02:52 +0000)]
Get rid of our own int32 type in favor of the standard int32_t type.

18 years agoRemove last users of struct file_ext, and then get rid of struct
Ben Pfaff [Sun, 16 Apr 2006 02:42:39 +0000 (02:42 +0000)]
Remove last users of struct file_ext, and then get rid of struct
file_ext entirely.

18 years agoComplain about missing prerequisites in a group at the end of
Ben Pfaff [Sun, 16 Apr 2006 02:15:06 +0000 (02:15 +0000)]
Complain about missing prerequisites in a group at the end of
configuration, not piecemeal.  This should make building PSPP less
frustrating.  Thanks to John Darrington for the suggestion.

18 years agofixed variable type check
Jason Stover [Sun, 16 Apr 2006 02:11:24 +0000 (02:11 +0000)]
fixed variable type check

18 years agoMove code from configure.ac to acinclude.m4 for readability.
Ben Pfaff [Sun, 16 Apr 2006 01:19:30 +0000 (01:19 +0000)]
Move code from configure.ac to acinclude.m4 for readability.

18 years agoUpdate TODO.
Ben Pfaff [Sun, 16 Apr 2006 01:11:44 +0000 (01:11 +0000)]
Update TODO.

18 years agoFix some warnings.
Ben Pfaff [Sun, 16 Apr 2006 01:05:14 +0000 (01:05 +0000)]
Fix some warnings.

18 years ago* q2c.c: Change DEBUGGING macro to DUMP_TOKENS for clarity and to
Ben Pfaff [Sat, 15 Apr 2006 21:31:29 +0000 (21:31 +0000)]
* q2c.c: Change DEBUGGING macro to DUMP_TOKENS for clarity and to
avoid dumping all the tokens to stdout when --enable-debug is passed
to configure.

18 years agofixed prediction bug
Jason Stover [Mon, 10 Apr 2006 00:25:33 +0000 (00:25 +0000)]
fixed prediction bug

18 years agoupdated residual function; fixed bug in coefficient.c
Jason Stover [Sun, 9 Apr 2006 19:47:50 +0000 (19:47 +0000)]
updated residual function; fixed bug in coefficient.c

18 years agocall residual function instead of predict to get residual
Jason Stover [Sun, 9 Apr 2006 19:46:29 +0000 (19:46 +0000)]
call residual function instead of predict to get residual

18 years agoadded residual function to linreg struct; tidied up
Jason Stover [Sun, 9 Apr 2006 19:01:11 +0000 (19:01 +0000)]
added residual function to linreg struct; tidied up

18 years agofixed coefficient lookup
Jason Stover [Sun, 9 Apr 2006 14:45:40 +0000 (14:45 +0000)]
fixed coefficient lookup

18 years agopredict is more robust
Jason Stover [Sun, 9 Apr 2006 14:03:09 +0000 (14:03 +0000)]
predict is more robust

18 years agofixed predict argument list
Jason Stover [Sun, 9 Apr 2006 14:00:41 +0000 (14:00 +0000)]
fixed predict argument list

18 years agofixed predict arg list; undid bad indent
Jason Stover [Sun, 9 Apr 2006 14:00:04 +0000 (14:00 +0000)]
fixed predict arg list; undid bad indent

18 years agoinitialize prediction method
Jason Stover [Sun, 9 Apr 2006 13:39:07 +0000 (13:39 +0000)]
initialize prediction method

18 years agofix predict and residual declaration
Jason Stover [Sun, 9 Apr 2006 12:39:32 +0000 (12:39 +0000)]
fix predict and residual declaration

18 years agoadjustments to prediction and residual arguments
Jason Stover [Sat, 8 Apr 2006 02:47:54 +0000 (02:47 +0000)]
adjustments to prediction and residual arguments

18 years agoadded SAVE subcommand
Jason Stover [Sat, 8 Apr 2006 02:44:49 +0000 (02:44 +0000)]
added SAVE subcommand

18 years agofixed null pointer checking
Jason Stover [Fri, 7 Apr 2006 20:02:27 +0000 (20:02 +0000)]
fixed null pointer checking

18 years agoadded residual computation; improved handling of bad input
Jason Stover [Fri, 7 Apr 2006 19:37:13 +0000 (19:37 +0000)]
added residual computation; improved handling of bad input

18 years agoadded predict function for linear model
Jason Stover [Wed, 5 Apr 2006 19:18:51 +0000 (19:18 +0000)]
added predict function for linear model

18 years agoFix bugs in installation targets.
Ben Pfaff [Wed, 5 Apr 2006 03:21:07 +0000 (03:21 +0000)]
Fix bugs in installation targets.

18 years agoAdd missing \ to automake.mk.
Ben Pfaff [Wed, 5 Apr 2006 03:20:20 +0000 (03:20 +0000)]
Add missing \ to automake.mk.

18 years agofixed EXPORT command segfault
Jason Stover [Wed, 5 Apr 2006 02:02:24 +0000 (02:02 +0000)]
fixed EXPORT command segfault

18 years agofixed EXPORT command segfault
Jason Stover [Wed, 5 Apr 2006 01:57:16 +0000 (01:57 +0000)]
fixed EXPORT command segfault

18 years agoAdd stdint to GNULIB_MODULES.
Ben Pfaff [Wed, 5 Apr 2006 00:00:03 +0000 (00:00 +0000)]
Add stdint to GNULIB_MODULES.

18 years agoFixed a multitude of C89 compatibility warnings.
John Darrington [Tue, 4 Apr 2006 12:43:21 +0000 (12:43 +0000)]
Fixed a multitude of C89 compatibility warnings.

18 years agoFixed bug in fn_interp_vars
John Darrington [Tue, 4 Apr 2006 07:30:46 +0000 (07:30 +0000)]
Fixed bug in fn_interp_vars

18 years agoMade make -f Smake check work.
John Darrington [Tue, 4 Apr 2006 03:18:33 +0000 (03:18 +0000)]
Made make -f Smake check work.

18 years agoTypo.
Ben Pfaff [Tue, 4 Apr 2006 01:39:59 +0000 (01:39 +0000)]
Typo.
Thanks to Jason Stover for correction.

18 years agoVariable-to-coefficient lookup
Jason Stover [Tue, 4 Apr 2006 00:50:39 +0000 (00:50 +0000)]
Variable-to-coefficient lookup

18 years agoadded function to fetch coefficient by variable
Jason Stover [Tue, 4 Apr 2006 00:45:10 +0000 (00:45 +0000)]
added function to fetch coefficient by variable

18 years agoClean up output subsystem.
Ben Pfaff [Mon, 3 Apr 2006 20:07:54 +0000 (20:07 +0000)]
Clean up output subsystem.

18 years agoMention that README lists additional prereqs.
Ben Pfaff [Mon, 3 Apr 2006 20:05:56 +0000 (20:05 +0000)]
Mention that README lists additional prereqs.

18 years agoAdd list of prerequisites.
Ben Pfaff [Mon, 3 Apr 2006 20:01:56 +0000 (20:01 +0000)]
Add list of prerequisites.

18 years agoAdd freaderror() analogous to fwriteerror() in gnulib.
Ben Pfaff [Fri, 31 Mar 2006 18:38:59 +0000 (18:38 +0000)]
Add freaderror() analogous to fwriteerror() in gnulib.

18 years ago-d and -u are no longer supported.
Ben Pfaff [Fri, 31 Mar 2006 18:34:19 +0000 (18:34 +0000)]
-d and -u are no longer supported.

18 years agoImprove string library.
Ben Pfaff [Fri, 31 Mar 2006 00:30:21 +0000 (00:30 +0000)]
Improve string library.

18 years agoUse -Wdeclaration-after-statement if available.
Ben Pfaff [Thu, 30 Mar 2006 23:51:01 +0000 (23:51 +0000)]
Use -Wdeclaration-after-statement if available.

18 years agoReformat GNULIB_MODULES list to make it more maintainable.
Ben Pfaff [Thu, 30 Mar 2006 23:49:21 +0000 (23:49 +0000)]
Reformat GNULIB_MODULES list to make it more maintainable.
Add comment.

18 years agoFixed memory leaks resulting from fn_interp_vars et. al.
John Darrington [Tue, 28 Mar 2006 06:05:05 +0000 (06:05 +0000)]
Fixed memory leaks resulting from fn_interp_vars et. al.

18 years ago(output_pivot_table) Drop spurious space from message.
Ben Pfaff [Tue, 28 Mar 2006 00:02:28 +0000 (00:02 +0000)]
(output_pivot_table) Drop spurious space from message.