pspp-builds.git
17 years agoremoved useless code
Jason Stover [Fri, 20 Oct 2006 19:33:52 +0000 (19:33 +0000)]
removed useless code

17 years agoConstness and global namespace patrol.
John Darrington [Fri, 20 Oct 2006 11:32:56 +0000 (11:32 +0000)]
Constness and global namespace patrol.

17 years agoAdded some more UNIMPL entries.
John Darrington [Fri, 20 Oct 2006 03:00:25 +0000 (03:00 +0000)]
Added some more UNIMPL entries.

17 years agoEncapsulated the static data of procedure.[ch] into a single object, to be
John Darrington [Thu, 19 Oct 2006 15:04:52 +0000 (15:04 +0000)]
Encapsulated the static data of procedure.[ch] into a single object, to be
passed into its functions.  Dealt with the consequences.

17 years ago * command.c: (do_parse_command) Issue an error for unimplemented
Ben Pfaff [Mon, 16 Oct 2006 02:39:32 +0000 (02:39 +0000)]
* command.c: (do_parse_command) Issue an error for unimplemented
commands, instead of silently ignoring them.  Reported by John
Darrington.

17 years agoAdded a pooled version of hsh_create
John Darrington [Sun, 15 Oct 2006 01:51:02 +0000 (01:51 +0000)]
Added a pooled version of hsh_create

17 years ago * casefile.c (casereader_read_xfer): Always initialize the case,
Ben Pfaff [Sat, 14 Oct 2006 23:57:54 +0000 (23:57 +0000)]
* casefile.c (casereader_read_xfer): Always initialize the case,
even on an error condition.

17 years agoFix memory leak in rank_sorted_casefile().
Ben Pfaff [Sat, 14 Oct 2006 23:55:18 +0000 (23:55 +0000)]
Fix memory leak in rank_sorted_casefile().

17 years agoFix memory leak in test_casereader_clone().
Ben Pfaff [Sat, 14 Oct 2006 23:23:17 +0000 (23:23 +0000)]
Fix memory leak in test_casereader_clone().

17 years agoChanged a lot of ints to bools.
John Darrington [Sat, 14 Oct 2006 00:25:20 +0000 (00:25 +0000)]
Changed a lot of ints to bools.

17 years agoDISPLAY FILE LABEL is no longer undocumented.
Ben Pfaff [Sun, 8 Oct 2006 16:54:46 +0000 (16:54 +0000)]
DISPLAY FILE LABEL is no longer undocumented.

17 years agoMemory leak patrol.
John Darrington [Sun, 8 Oct 2006 01:49:15 +0000 (01:49 +0000)]
Memory leak patrol.

17 years agoImplemented the RANK command.
John Darrington [Sat, 7 Oct 2006 03:10:14 +0000 (03:10 +0000)]
Implemented the RANK command.

17 years agoFixed warnings generated by gcc 4.1.2
John Darrington [Wed, 27 Sep 2006 10:21:35 +0000 (10:21 +0000)]
Fixed warnings generated by gcc 4.1.2
Fixed bug in N OF CASES command which these warnings exposed.
Added a test for this bug (how many years had it gone unreported?)

17 years agoAdded casereader_clone function.
John Darrington [Mon, 25 Sep 2006 09:35:15 +0000 (09:35 +0000)]
Added casereader_clone function.
Introduced casenum_t type to enumerate and count cases.

17 years agoChanged int to bool in dict_get_weight and sort_active_file_in_place
John Darrington [Sat, 23 Sep 2006 00:15:58 +0000 (00:15 +0000)]
Changed int to bool in dict_get_weight and sort_active_file_in_place

17 years ago * variable.c: (width_to_bytes) Rephrase code for clarify.
Ben Pfaff [Thu, 21 Sep 2006 14:01:09 +0000 (14:01 +0000)]
* variable.c: (width_to_bytes) Rephrase code for clarify.

17 years agoFix "size" in flt64 info record description: it's always 8, not 4.
Ben Pfaff [Thu, 14 Sep 2006 04:52:27 +0000 (04:52 +0000)]
Fix "size" in flt64 info record description: it's always 8, not 4.

17 years agoActually, the startup syntax file *is* implemented.
Ben Pfaff [Tue, 22 Aug 2006 04:19:04 +0000 (04:19 +0000)]
Actually, the startup syntax file *is* implemented.

17 years agoError message needs a period at end of sentence.
Ben Pfaff [Mon, 14 Aug 2006 01:06:59 +0000 (01:06 +0000)]
Error message needs a period at end of sentence.

17 years agoFix bug #17329 in REREAD parsing, reported by John Darrington.
Ben Pfaff [Sat, 5 Aug 2006 15:28:12 +0000 (15:28 +0000)]
Fix bug #17329 in REREAD parsing, reported by John Darrington.

17 years agoNew PURE_FUNCTION, CONST_FUNCTION macros.
Ben Pfaff [Mon, 31 Jul 2006 22:50:01 +0000 (22:50 +0000)]
New PURE_FUNCTION, CONST_FUNCTION macros.

17 years agoAllow a comma between specifications on PRINT.
Ben Pfaff [Mon, 31 Jul 2006 17:32:55 +0000 (17:32 +0000)]
Allow a comma between specifications on PRINT.

17 years agoRe-enabled automatic insertion of cases in data sheet.
John Darrington [Sun, 30 Jul 2006 12:27:59 +0000 (12:27 +0000)]
Re-enabled automatic insertion of cases in data sheet.

17 years agoMade the variable sheet automatically add variables when clickes in a blank
John Darrington [Sat, 29 Jul 2006 09:37:18 +0000 (09:37 +0000)]
Made the variable sheet automatically add variables when clickes in a blank
row.

17 years agoFixed bug where psppire tried to save a file even after Cancel had been clicked.
John Darrington [Sat, 29 Jul 2006 08:49:59 +0000 (08:49 +0000)]
Fixed bug where psppire tried to save a file even after Cancel had been clicked.

17 years agoRe-enabled saving of the current file.
John Darrington [Sat, 29 Jul 2006 05:57:26 +0000 (05:57 +0000)]
Re-enabled saving of the current file.

17 years agoFixed bug where gui would crash when columns were resized.
John Darrington [Sun, 23 Jul 2006 10:32:50 +0000 (10:32 +0000)]
Fixed bug where gui would crash when columns were resized.

17 years agoPatch #5244.
Ben Pfaff [Tue, 18 Jul 2006 04:57:01 +0000 (04:57 +0000)]
Patch #5244.

This patch cleans up DATA LIST and PRINT in preparation for
re-implementing REPEATING DATA (bug #12859).  It reduces the code
duplication between DATA LIST and PRINT a great deal, actually
reducing the total code in PSPP by a couple hundred lines.  The result
should be more maintainable as well as easier to read.

17 years ago * Smake: Add --doc-base=gl/doc to gnulib-tool invocation, which is
Ben Pfaff [Tue, 18 Jul 2006 01:24:15 +0000 (01:24 +0000)]
* Smake: Add --doc-base=gl/doc to gnulib-tool invocation, which is
required by recent gnulib.

17 years agoPatch #5209
John Darrington [Mon, 17 Jul 2006 10:45:42 +0000 (10:45 +0000)]
Patch #5209
Made casefile.c into an abstract base class, and moved the implementation to
fastfile.c.
Added a second implementation: flexifile.c which supports random access.
Currently, it's a very naive implementation.
Updated the gui to use flexifile.

17 years agocenter the data before computing the coefficients; remove variance member of innovati...
Jason Stover [Sun, 16 Jul 2006 12:49:13 +0000 (12:49 +0000)]
center the data before computing the coefficients; remove variance member of innovations estimate

17 years agofixed and tested computation of coefficients
Jason Stover [Sun, 16 Jul 2006 12:19:23 +0000 (12:19 +0000)]
fixed and tested computation of coefficients

17 years agoImprove comment.
Ben Pfaff [Sat, 15 Jul 2006 22:39:18 +0000 (22:39 +0000)]
Improve comment.

17 years agomade matrix argument const in coefficient initialization
Jason Stover [Sat, 15 Jul 2006 20:25:01 +0000 (20:25 +0000)]
made matrix argument const in coefficient initialization

17 years agofixed computation of sample covariance
Jason Stover [Sat, 15 Jul 2006 20:24:17 +0000 (20:24 +0000)]
fixed computation of sample covariance

17 years agoAdded insert-variables.png to dists
John Darrington [Sat, 15 Jul 2006 04:53:43 +0000 (04:53 +0000)]
Added insert-variables.png to dists

17 years agoApplied patch file #10344.
John Darrington [Sat, 15 Jul 2006 04:38:57 +0000 (04:38 +0000)]
Applied patch file #10344.
Deleted src/ui/gui/psppire-case-array.*
make distcheck now passes.
Closes bug #16173

17 years agoActually commit the icons
John Darrington [Sat, 15 Jul 2006 03:30:36 +0000 (03:30 +0000)]
Actually commit the icons

17 years agoAdded toolbar icons. Hopefully somebody will contribute some better ones.
John Darrington [Sat, 15 Jul 2006 03:29:03 +0000 (03:29 +0000)]
Added toolbar icons.  Hopefully somebody will contribute some better ones.

17 years agofixed intialization of coefficients
Jason Stover [Sat, 15 Jul 2006 01:55:55 +0000 (01:55 +0000)]
fixed intialization of coefficients

17 years agomoved knowledge of pspp_linreg_cache out of pspp_coeff_init
Jason Stover [Fri, 14 Jul 2006 19:17:50 +0000 (19:17 +0000)]
moved knowledge of pspp_linreg_cache out of pspp_coeff_init

17 years agoFixes for bugs/warts found in debug mode compile (bug #17092).
Ben Pfaff [Fri, 14 Jul 2006 02:28:29 +0000 (02:28 +0000)]
Fixes for bugs/warts found in debug mode compile (bug #17092).
Thanks to Jason for reporting this bug and John for insight.

17 years agouse struct design_matrix
Jason Stover [Thu, 13 Jul 2006 20:44:44 +0000 (20:44 +0000)]
use struct design_matrix

17 years ago(outp_drivers): [DEBUGGING] Delete unused declaration.
Ben Pfaff [Thu, 13 Jul 2006 03:58:44 +0000 (03:58 +0000)]
(outp_drivers): [DEBUGGING] Delete unused declaration.

17 years agoAdd missing include.
Ben Pfaff [Thu, 13 Jul 2006 03:57:34 +0000 (03:57 +0000)]
Add missing include.

17 years agoAdd check_PROGRAMS and define to empty.
Ben Pfaff [Wed, 12 Jul 2006 20:41:29 +0000 (20:41 +0000)]
Add check_PROGRAMS and define to empty.

17 years agoAdd check_PROGRAMS and define to empty.
Ben Pfaff [Wed, 12 Jul 2006 20:41:29 +0000 (20:41 +0000)]
Add check_PROGRAMS and define to empty.

17 years agoPut ll-test, llx-test in check_PROGRAMS instead of noinst_PROGRAMS.
Ben Pfaff [Wed, 12 Jul 2006 17:09:19 +0000 (17:09 +0000)]
Put ll-test, llx-test in check_PROGRAMS instead of noinst_PROGRAMS.

17 years agoFix variable name description.
Ben Pfaff [Wed, 12 Jul 2006 14:05:34 +0000 (14:05 +0000)]
Fix variable name description.
Thanks to Oliver Bock for correction.

17 years agoMinor cleanup and spot fixes.
John Darrington [Mon, 10 Jul 2006 09:28:14 +0000 (09:28 +0000)]
Minor cleanup and spot fixes.

17 years agoApply patch #5225, assertions.
Ben Pfaff [Sat, 8 Jul 2006 03:05:51 +0000 (03:05 +0000)]
Apply patch #5225, assertions.

17 years agoFix link error noted by Jason Stover.
Ben Pfaff [Fri, 7 Jul 2006 02:10:08 +0000 (02:10 +0000)]
Fix link error noted by Jason Stover.

17 years agosubscript fixes
Jason Stover [Thu, 6 Jul 2006 23:58:05 +0000 (23:58 +0000)]
subscript fixes

17 years agoAdd expressions/randist/compare.pl to EXTRA_DIST.
Ben Pfaff [Thu, 6 Jul 2006 05:16:07 +0000 (05:16 +0000)]
Add expressions/randist/compare.pl to EXTRA_DIST.

17 years agoadded new initialization function
Jason Stover [Wed, 5 Jul 2006 23:54:36 +0000 (23:54 +0000)]
added new initialization function

17 years agomoved to src/math for wider availability
Jason Stover [Wed, 5 Jul 2006 18:06:35 +0000 (18:06 +0000)]
moved to src/math for wider availability

17 years agoFix bug #11612, "q2c documentation does not agree with code".
Ben Pfaff [Wed, 5 Jul 2006 05:14:30 +0000 (05:14 +0000)]
Fix bug #11612, "q2c documentation does not agree with code".

Thanks to John Darrington for review.

17 years agoFix bug #15766 (/KEEP subcommand on SAVE doesn't fully support ALL)
Ben Pfaff [Wed, 5 Jul 2006 02:52:35 +0000 (02:52 +0000)]
Fix bug #15766 (/KEEP subcommand on SAVE doesn't fully support ALL)
and additional underlying system file issues.

Reviewed by John Darrington

17 years agoEncapsulated msg_location inside msg_emit
John Darrington [Tue, 4 Jul 2006 04:39:04 +0000 (04:39 +0000)]
Encapsulated msg_location inside msg_emit

17 years agoModify the random distributions test to verify to 2 more decimal
Ben Pfaff [Tue, 4 Jul 2006 04:17:50 +0000 (04:17 +0000)]
Modify the random distributions test to verify to 2 more decimal
places of accuracy, but to allow +/- 1 units in the last (tested)
place.  This allows the test to pass on machines or with compilers
whose calculated values are off by epsilon from the expected results.
Because of the way the test is constructed, this was quite common and
often caused gratuitous test failures.

This is patch #5215, tested by Jason Stover and John Darrington.

17 years agoTrivial change to make psppire properly deal with --version and --help
John Darrington [Tue, 4 Jul 2006 01:24:59 +0000 (01:24 +0000)]
Trivial change to make psppire properly deal with --version and --help

17 years agosubscript fixes; added free functions
Jason Stover [Mon, 3 Jul 2006 19:41:20 +0000 (19:41 +0000)]
subscript fixes; added free functions

17 years agoMake the destination for charts configurable in the HTML driver.
Ben Pfaff [Mon, 3 Jul 2006 17:39:07 +0000 (17:39 +0000)]
Make the destination for charts configurable in the HTML driver.
Fixes bug #15723, "HTML driver creates .png files insecurely".
Thanks to John Darrington for review.

17 years agoFixed problem deallocating iconv structs.
John Darrington [Mon, 3 Jul 2006 01:38:24 +0000 (01:38 +0000)]
Fixed problem deallocating iconv structs.

17 years agofixed subscript in sum; added new functions; fixed allocation of theta
Jason Stover [Sun, 2 Jul 2006 23:13:23 +0000 (23:13 +0000)]
fixed subscript in sum; added new functions; fixed allocation of theta

17 years agoFix comment.
Ben Pfaff [Sun, 2 Jul 2006 06:19:24 +0000 (06:19 +0000)]
Fix comment.

17 years agoFix bug #16644: Output Driver crashes in DISPLAY VARIABLES.
Ben Pfaff [Sun, 2 Jul 2006 05:44:25 +0000 (05:44 +0000)]
Fix bug #16644: Output Driver crashes in DISPLAY VARIABLES.

17 years agoFix bug #15786: System File Creation crashes if directoy is
Ben Pfaff [Sun, 2 Jul 2006 04:25:12 +0000 (04:25 +0000)]
Fix bug #15786: System File Creation crashes if directoy is
nonexistent.

17 years agodropped use of casefiles
Jason Stover [Sat, 1 Jul 2006 23:54:02 +0000 (23:54 +0000)]
dropped use of casefiles

17 years agoDocumentation updates from Oliver Bock <oliver@g7.org>.
Ben Pfaff [Sat, 1 Jul 2006 23:00:44 +0000 (23:00 +0000)]
Documentation updates from Oliver Bock <oliver@g7.org>.

17 years agoAdd linked list library to PSPP.
Ben Pfaff [Sat, 1 Jul 2006 22:46:04 +0000 (22:46 +0000)]
Add linked list library to PSPP.
Reviewed by John Darrington, tested by Jason Stover.

17 years agoAdd linked list library to PSPP.
Ben Pfaff [Sat, 1 Jul 2006 22:34:26 +0000 (22:34 +0000)]
Add linked list library to PSPP.
Reviewed by John Darrington, tested by Jason Stover.

17 years agocorrected increment of lag
Jason Stover [Sat, 1 Jul 2006 01:45:11 +0000 (01:45 +0000)]
corrected increment of lag

17 years agoDon't offer both the full and abbreviated names for a single command
Ben Pfaff [Wed, 28 Jun 2006 18:40:21 +0000 (18:40 +0000)]
Don't offer both the full and abbreviated names for a single command
in command name completion.

17 years agoAdd variable-parser.h to sources.
Ben Pfaff [Wed, 28 Jun 2006 05:54:58 +0000 (05:54 +0000)]
Add variable-parser.h to sources.

17 years agoFix regression in command name completion reported by John Darrington.
Ben Pfaff [Wed, 28 Jun 2006 05:49:03 +0000 (05:49 +0000)]
Fix regression in command name completion reported by John Darrington.
Now completion is again state-dependent and occurs only on the first
line of a command.

17 years agoAdd aux data parameter to q2c parse_<command>() and custom parser
Ben Pfaff [Wed, 28 Jun 2006 02:21:28 +0000 (02:21 +0000)]
Add aux data parameter to q2c parse_<command>() and custom parser
functions.

17 years agoMove var_set and variable parsing declarations into new header.
Ben Pfaff [Tue, 27 Jun 2006 19:09:21 +0000 (19:09 +0000)]
Move var_set and variable parsing declarations into new header.

17 years agoLink against $(LIBICONV).
Ben Pfaff [Tue, 27 Jun 2006 15:23:30 +0000 (15:23 +0000)]
Link against $(LIBICONV).

17 years agoAdded a check of compatible gtk version numbers at start up.
John Darrington [Tue, 27 Jun 2006 01:11:29 +0000 (01:11 +0000)]
Added a check of compatible gtk version numbers at start up.

17 years ago(dump_free) For SBC_DBL_LIST, enclose the output code in curly braces,
Ben Pfaff [Mon, 26 Jun 2006 05:42:05 +0000 (05:42 +0000)]
(dump_free) For SBC_DBL_LIST, enclose the output code in curly braces,
because it contains a variable declaration and might not be at the
beginning of a block.

17 years ago * value-labels.c (value_to_string): When there's no value label,
Ben Pfaff [Mon, 26 Jun 2006 05:40:29 +0000 (05:40 +0000)]
* value-labels.c (value_to_string): When there's no value label,
format the variable according to its print format, instead of
always effectively using A or F format.

17 years agoSmall optimization for hash library.
Ben Pfaff [Mon, 26 Jun 2006 05:37:53 +0000 (05:37 +0000)]
Small optimization for hash library.

17 years agoFix comment.
Ben Pfaff [Mon, 26 Jun 2006 05:25:17 +0000 (05:25 +0000)]
Fix comment.

17 years agoAdded the ability to sort the working file.
John Darrington [Sat, 24 Jun 2006 09:08:50 +0000 (09:08 +0000)]
Added the ability to sort the working file.

17 years agoSupport long string variables on FREQUENCIES, as an extension when in
Ben Pfaff [Fri, 23 Jun 2006 21:30:11 +0000 (21:30 +0000)]
Support long string variables on FREQUENCIES, as an extension when in
enhanced algorithms mode.  For Greg Hunt <greg@firmansyah.com>.

17 years agosave coefficients in innovations estimate structure
Jason Stover [Wed, 21 Jun 2006 09:20:52 +0000 (09:20 +0000)]
save coefficients in innovations estimate structure

17 years agoadded scale update to innovations algorithm
Jason Stover [Wed, 21 Jun 2006 08:54:46 +0000 (08:54 +0000)]
added scale update to innovations algorithm

17 years agoAdd pkg-config to prereqs.
Ben Pfaff [Tue, 20 Jun 2006 05:19:52 +0000 (05:19 +0000)]
Add pkg-config to prereqs.

17 years agoFix grammar.
Ben Pfaff [Tue, 20 Jun 2006 05:19:19 +0000 (05:19 +0000)]
Fix grammar.

17 years agoMon Jun 19 22:07:13 2006 Ben Pfaff <blp@gnu.org>
Ben Pfaff [Tue, 20 Jun 2006 05:09:07 +0000 (05:09 +0000)]
Mon Jun 19 22:07:13 2006  Ben Pfaff  <blp@gnu.org>

* frequencies.q: (dump_full) Only put the first MAX_SHORT_STRING
bytes of string variables into the output cells, seeing as we only
copy that many.
(dump_condensed) Ditto.

Mon Jun 19 21:52:05 2006  Ben Pfaff  <blp@gnu.org>

Fixes a bug reported by Greg Hunt <greg@firmansyah.com>.

* frequencies.q: (hsh_hash_bytes) We only copy the first
MAX_SHORT_STRING bytes of string variables, so we must only
compare that many bytes, even if the string variable is longer.
(compare_value_alpha_a) Ditto.
(compare_freq_alpha_a) Ditto.
(compare_freq_alpha_d) Ditto.

17 years agoImplemented data-store using a casefile instead of an array of cases.
John Darrington [Mon, 19 Jun 2006 10:16:51 +0000 (10:16 +0000)]
Implemented data-store using a casefile instead of an array of cases.

17 years agofixed bogus email address
Jason Stover [Fri, 16 Jun 2006 09:24:35 +0000 (09:24 +0000)]
fixed bogus email address

17 years agoadded initial innovations functions
Jason Stover [Fri, 16 Jun 2006 09:18:34 +0000 (09:18 +0000)]
added initial innovations functions

17 years agoReform string library.
Ben Pfaff [Fri, 9 Jun 2006 22:51:23 +0000 (22:51 +0000)]
Reform string library.

17 years ago* format.c (measure_is_valid): Really return false when m >=
Ben Pfaff [Fri, 9 Jun 2006 19:11:58 +0000 (19:11 +0000)]
* format.c (measure_is_valid): Really return false when m >=
n_MEASURES.

17 years agoUpdate comment to reflect availability of random casereaders.
Ben Pfaff [Thu, 8 Jun 2006 04:32:58 +0000 (04:32 +0000)]
Update comment to reflect availability of random casereaders.

17 years agofixed mistakes
Jason Stover [Wed, 7 Jun 2006 22:32:30 +0000 (22:32 +0000)]
fixed mistakes

17 years agofixed mistakes
Jason Stover [Wed, 7 Jun 2006 01:52:48 +0000 (01:52 +0000)]
fixed mistakes