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
Jason Stover [Mon, 17 Apr 2006 17:50:19 +0000 (17:50 +0000)]
regression_trns_proc accepts an int as the third arg
Jason Stover [Mon, 17 Apr 2006 16:29:36 +0000 (16:29 +0000)]
pspp_linreg_cache_free returns a boolean
Jason Stover [Mon, 17 Apr 2006 16:26:44 +0000 (16:26 +0000)]
added transformation to compute residuals
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.
Ben Pfaff [Mon, 17 Apr 2006 03:36:40 +0000 (03:36 +0000)]
Make ds_vprintf() properly handle a null string.
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.
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.
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.
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.
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.
Ben Pfaff [Sun, 16 Apr 2006 23:43:48 +0000 (23:43 +0000)]
Renamed some file name functions.
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.
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().
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().
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.)
Ben Pfaff [Sun, 16 Apr 2006 02:55:39 +0000 (02:55 +0000)]
Improve comment.
Ben Pfaff [Sun, 16 Apr 2006 02:54:56 +0000 (02:54 +0000)]
Get rid of #defines after #error.
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.
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.
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.
Jason Stover [Sun, 16 Apr 2006 02:11:24 +0000 (02:11 +0000)]
fixed variable type check
Ben Pfaff [Sun, 16 Apr 2006 01:19:30 +0000 (01:19 +0000)]
Move code from configure.ac to acinclude.m4 for readability.
Ben Pfaff [Sun, 16 Apr 2006 01:11:44 +0000 (01:11 +0000)]
Update TODO.
Ben Pfaff [Sun, 16 Apr 2006 01:05:14 +0000 (01:05 +0000)]
Fix some warnings.
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.
Jason Stover [Mon, 10 Apr 2006 00:25:33 +0000 (00:25 +0000)]
fixed prediction bug
Jason Stover [Sun, 9 Apr 2006 19:47:50 +0000 (19:47 +0000)]
updated residual function; fixed bug in coefficient.c
Jason Stover [Sun, 9 Apr 2006 19:46:29 +0000 (19:46 +0000)]
call residual function instead of predict to get residual
Jason Stover [Sun, 9 Apr 2006 19:01:11 +0000 (19:01 +0000)]
added residual function to linreg struct; tidied up
Jason Stover [Sun, 9 Apr 2006 14:45:40 +0000 (14:45 +0000)]
fixed coefficient lookup
Jason Stover [Sun, 9 Apr 2006 14:03:09 +0000 (14:03 +0000)]
predict is more robust
Jason Stover [Sun, 9 Apr 2006 14:00:41 +0000 (14:00 +0000)]
fixed predict argument list
Jason Stover [Sun, 9 Apr 2006 14:00:04 +0000 (14:00 +0000)]
fixed predict arg list; undid bad indent
Jason Stover [Sun, 9 Apr 2006 13:39:07 +0000 (13:39 +0000)]
initialize prediction method
Jason Stover [Sun, 9 Apr 2006 12:39:32 +0000 (12:39 +0000)]
fix predict and residual declaration
Jason Stover [Sat, 8 Apr 2006 02:47:54 +0000 (02:47 +0000)]
adjustments to prediction and residual arguments
Jason Stover [Sat, 8 Apr 2006 02:44:49 +0000 (02:44 +0000)]
added SAVE subcommand
Jason Stover [Fri, 7 Apr 2006 20:02:27 +0000 (20:02 +0000)]
fixed null pointer checking
Jason Stover [Fri, 7 Apr 2006 19:37:13 +0000 (19:37 +0000)]
added residual computation; improved handling of bad input
Jason Stover [Wed, 5 Apr 2006 19:18:51 +0000 (19:18 +0000)]
added predict function for linear model
Ben Pfaff [Wed, 5 Apr 2006 03:21:07 +0000 (03:21 +0000)]
Fix bugs in installation targets.
Ben Pfaff [Wed, 5 Apr 2006 03:20:20 +0000 (03:20 +0000)]
Add missing \ to automake.mk.
Jason Stover [Wed, 5 Apr 2006 02:02:24 +0000 (02:02 +0000)]
fixed EXPORT command segfault
Jason Stover [Wed, 5 Apr 2006 01:57:16 +0000 (01:57 +0000)]
fixed EXPORT command segfault
Ben Pfaff [Wed, 5 Apr 2006 00:00:03 +0000 (00:00 +0000)]
Add stdint to GNULIB_MODULES.
John Darrington [Tue, 4 Apr 2006 12:43:21 +0000 (12:43 +0000)]
Fixed a multitude of C89 compatibility warnings.
John Darrington [Tue, 4 Apr 2006 07:30:46 +0000 (07:30 +0000)]
Fixed bug in fn_interp_vars
John Darrington [Tue, 4 Apr 2006 03:18:33 +0000 (03:18 +0000)]
Made make -f Smake check work.
Ben Pfaff [Tue, 4 Apr 2006 01:39:59 +0000 (01:39 +0000)]
Typo.
Thanks to Jason Stover for correction.
Jason Stover [Tue, 4 Apr 2006 00:50:39 +0000 (00:50 +0000)]
Variable-to-coefficient lookup
Jason Stover [Tue, 4 Apr 2006 00:45:10 +0000 (00:45 +0000)]
added function to fetch coefficient by variable
Ben Pfaff [Mon, 3 Apr 2006 20:07:54 +0000 (20:07 +0000)]
Clean up output subsystem.
Ben Pfaff [Mon, 3 Apr 2006 20:05:56 +0000 (20:05 +0000)]
Mention that README lists additional prereqs.
Ben Pfaff [Mon, 3 Apr 2006 20:01:56 +0000 (20:01 +0000)]
Add list of prerequisites.
Ben Pfaff [Fri, 31 Mar 2006 18:38:59 +0000 (18:38 +0000)]
Add freaderror() analogous to fwriteerror() in gnulib.
Ben Pfaff [Fri, 31 Mar 2006 18:34:19 +0000 (18:34 +0000)]
-d and -u are no longer supported.
Ben Pfaff [Fri, 31 Mar 2006 00:30:21 +0000 (00:30 +0000)]
Improve string library.
Ben Pfaff [Thu, 30 Mar 2006 23:51:01 +0000 (23:51 +0000)]
Use -Wdeclaration-after-statement if available.
Ben Pfaff [Thu, 30 Mar 2006 23:49:21 +0000 (23:49 +0000)]
Reformat GNULIB_MODULES list to make it more maintainable.
Add comment.
John Darrington [Tue, 28 Mar 2006 06:05:05 +0000 (06:05 +0000)]
Fixed memory leaks resulting from fn_interp_vars et. al.
Ben Pfaff [Tue, 28 Mar 2006 00:02:28 +0000 (00:02 +0000)]
(output_pivot_table) Drop spurious space from message.
Ben Pfaff [Sun, 26 Mar 2006 00:29:26 +0000 (00:29 +0000)]
Remove obsolete note about Gnulib.
Jason Stover [Sat, 25 Mar 2006 23:00:48 +0000 (23:00 +0000)]
Memory leak fix
Jason Stover [Sat, 25 Mar 2006 22:46:21 +0000 (22:46 +0000)]
Fixed memory leak
Ben Pfaff [Sat, 25 Mar 2006 02:16:58 +0000 (02:16 +0000)]
Add some missing frees. Thanks to John Darrington for reporting
these.
John Darrington [Fri, 24 Mar 2006 02:10:49 +0000 (02:10 +0000)]
Added test/command/regression.sh to test/automake.mk
Extended test/command/count.sh to test multiple variables counts.
Jason Stover [Thu, 23 Mar 2006 17:15:17 +0000 (17:15 +0000)]
Added REGRESSION test
Jason Stover [Thu, 23 Mar 2006 17:11:01 +0000 (17:11 +0000)]
test for REGRESSION procedure
John Darrington [Tue, 21 Mar 2006 02:02:03 +0000 (02:02 +0000)]
Added the psppire data files to the make install target.
Ben Pfaff [Tue, 21 Mar 2006 00:34:16 +0000 (00:34 +0000)]
Mark error() as NO_RETURN.
Ben Pfaff [Tue, 21 Mar 2006 00:33:05 +0000 (00:33 +0000)]
Require "unistd" gnulib module. Removed tests for HAVE_UNISTD_H from
source code.
John Darrington [Fri, 17 Mar 2006 04:58:24 +0000 (04:58 +0000)]
Fixed reading of system files with non-ascii characters in variable names.
John Darrington [Fri, 17 Mar 2006 00:41:57 +0000 (00:41 +0000)]
Change automake dependency to be >= 1.9
Jason Stover [Thu, 16 Mar 2006 15:07:04 +0000 (15:07 +0000)]
#include cleanup