pspp-builds.git
18 years agoBreak autoreconf call into calls to individual programs, to make it
Ben Pfaff [Sun, 14 May 2006 21:06:44 +0000 (21:06 +0000)]
Break autoreconf call into calls to individual programs, to make it
easier to figure out what's going wrong when something does.

18 years ago(outp_eject_page): Always make sure that a page is open upon return.
Ben Pfaff [Sun, 14 May 2006 21:05:13 +0000 (21:05 +0000)]
(outp_eject_page): Always make sure that a page is open upon return.

18 years agoFix PostScript output of multiple charts.
Ben Pfaff [Sun, 14 May 2006 20:56:44 +0000 (20:56 +0000)]
Fix PostScript output of multiple charts.
Thanks to John Darrington for reporting the bug.

18 years agoFix style of "else" clause.
Ben Pfaff [Sun, 14 May 2006 20:11:50 +0000 (20:11 +0000)]
Fix style of "else" clause.

18 years agoFix style of "else" clause.
Ben Pfaff [Sun, 14 May 2006 20:11:37 +0000 (20:11 +0000)]
Fix style of "else" clause.

18 years agoProperly indent comment.
Ben Pfaff [Sun, 14 May 2006 19:46:51 +0000 (19:46 +0000)]
Properly indent comment.

18 years agoFixed some memory leaks in GUI.
John Darrington [Sun, 14 May 2006 00:01:39 +0000 (00:01 +0000)]
Fixed some memory leaks in GUI.

18 years agochanged linreg_cache.coeff to **
Jason Stover [Fri, 12 May 2006 00:29:11 +0000 (00:29 +0000)]
changed linreg_cache.coeff to **

18 years agoadjustments for making coeff a pspp_linreg_coeff**
Jason Stover [Thu, 11 May 2006 18:04:21 +0000 (18:04 +0000)]
adjustments for making coeff a pspp_linreg_coeff**

18 years agoFixed memory leak. Made coeff a linreg_coeff** for easier use.
Jason Stover [Thu, 11 May 2006 18:02:11 +0000 (18:02 +0000)]
Fixed memory leak. Made coeff a linreg_coeff** for easier use.

18 years agoConverted strings to utf8 before passing to gtksheet. Should work properly now with
John Darrington [Thu, 11 May 2006 14:28:02 +0000 (14:28 +0000)]
Converted strings to utf8 before passing to gtksheet.  Should work properly now with
internationalised system files.

18 years agoAdd WARN_UNUSED_RESULT to procedure function prototypes
Ben Pfaff [Wed, 10 May 2006 04:11:07 +0000 (04:11 +0000)]
Add WARN_UNUSED_RESULT to procedure function prototypes
and fix up one user who needed it.

18 years agoConvert many uses of `int' to `bool'.
Ben Pfaff [Wed, 10 May 2006 04:08:25 +0000 (04:08 +0000)]
Convert many uses of `int' to `bool'.

18 years agoFix memory leak in MATCH FILES.
Ben Pfaff [Wed, 10 May 2006 03:56:04 +0000 (03:56 +0000)]
Fix memory leak in MATCH FILES.

18 years agoUse <stdarg.h> from gnulib instead of our home-grown va_copy.h.
Ben Pfaff [Wed, 10 May 2006 03:47:38 +0000 (03:47 +0000)]
Use <stdarg.h> from gnulib instead of our home-grown va_copy.h.

18 years agoInclude <stdarg.h>, needed for va_list.
Ben Pfaff [Tue, 9 May 2006 23:49:00 +0000 (23:49 +0000)]
Include <stdarg.h>, needed for va_list.
Thanks to Jason Stover for reporting.

18 years agoFix memory leak in AGGREGATE.
Ben Pfaff [Mon, 8 May 2006 01:31:49 +0000 (01:31 +0000)]
Fix memory leak in AGGREGATE.

18 years agoFix DO REPEAT memory leaks.
Ben Pfaff [Mon, 8 May 2006 01:21:38 +0000 (01:21 +0000)]
Fix DO REPEAT memory leaks.

18 years agoAdd pool_asprintf(), pool_vasprintf().
Ben Pfaff [Mon, 8 May 2006 01:18:10 +0000 (01:18 +0000)]
Add pool_asprintf(), pool_vasprintf().

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.