John Darrington [Sun, 24 Aug 2008 05:22:02 +0000 (13:22 +0800)]
Fixed some issues calculating percentiles when missing values are involved.
Added an extra argument to order_stats_accumulate, to indicate which classes
of missing values should be excluded. Added an internal cumulative weight
counter, to ensure that the declared total weight agrees with that which is
encountered.
John Darrington [Sun, 24 Aug 2008 05:02:18 +0000 (13:02 +0800)]
Fixed some breakage in comment lines.
John Darrington [Sat, 23 Aug 2008 06:08:28 +0000 (14:08 +0800)]
Rewrote the EXAMINE command.
Made use of the new casegrouper construct instead of relying on hashes.
Rewrote the percentiles calculations so as not to require dynamically
allocating memory for all the data. Encapsulated many of the other statistics'
calculations, so as to have similar interfaces.
Jason H Stover [Fri, 5 Sep 2008 20:37:18 +0000 (16:37 -0400)]
Added design_matrix_clone() to clone a design matrix.
John Darrington [Fri, 5 Sep 2008 02:06:40 +0000 (10:06 +0800)]
Added some common glob patterns to .gitignore
John Darrington [Fri, 5 Sep 2008 02:04:40 +0000 (10:04 +0800)]
Oops. Neglected to add new files.
Actually I'm *sure* that I did do "git add" on all these,
but for whatever reason git didn't check them in.
Hopefully it's right this time. One day I'll work out
how to use git effectively. One day ...
John Darrington [Thu, 4 Sep 2008 12:28:45 +0000 (20:28 +0800)]
Add casereader_create_append_numeric function.
This change provides a new casereader translator which
appends a numeric value to casereader; the value to be
determined by a user supplied function.
John Darrington [Thu, 4 Sep 2008 12:08:52 +0000 (20:08 +0800)]
Added a n_missing parameter to casereader_create_filter_missing.
Also update all callers. Thanks to Ben for reviewing this patch.
John Darrington [Thu, 4 Sep 2008 11:57:06 +0000 (19:57 +0800)]
Complete re-implementation of the EXAMINE command.
The implementation now avoids storing large amounts of data on the
heap. Instead it uses the casereader functionality and
the casegrouper structure instead of hashes to store group data.
Added documentation for the /ID subcommand which was missing.
Better encapsulated the calculation of boxplot data, extreme
values, histograms, NP plots and percentiles and others. Made
the start of a common base interface for statistic calculations.
Also updated the frequencies code to fit new interfaces.
Added a test for bug #23852
John Darrington [Thu, 4 Sep 2008 11:25:38 +0000 (19:25 +0800)]
Renumber development branch (master) to 0.7.0
John Darrington [Sat, 23 Aug 2008 00:59:00 +0000 (08:59 +0800)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
John Darrington [Sat, 23 Aug 2008 00:44:32 +0000 (08:44 +0800)]
Work around bug #24033 (appending to output in cygwin).
Cygwin (and perhaps other w32 platforms) cannot write to a file
whilst it is open for reading. This kludge therefore closes the
output after pasting into the output viewer and re-opens when new
data is appended. It'll be slow if the output file becomes large.
Ben Pfaff [Fri, 1 Aug 2008 03:47:49 +0000 (20:47 -0700)]
Start generating ChangeLog automatically from Git commit messages.
Thus, at the same time we rename the existing ChangeLog files to
OChangeLog and add them to EXTRA_DIST to make sure that they get
distributed.
Jason H Stover [Sun, 17 Aug 2008 21:40:15 +0000 (17:40 -0400)]
Estimate parameters. Moved some code to re-usable functions.
Jason H Stover [Sat, 16 Aug 2008 21:29:31 +0000 (17:29 -0400)]
Pointer DEPVAR is now required to be set correctly in linreg.c
Jason H Stover [Sat, 16 Aug 2008 21:26:37 +0000 (17:26 -0400)]
Initial versions of functions to estimate parameters
via the covariance matrix
John Darrington [Fri, 8 Aug 2008 01:13:07 +0000 (09:13 +0800)]
Initialise label for piechart slices.
(Closes bug #24014
John Darrington [Fri, 8 Aug 2008 01:08:18 +0000 (09:08 +0800)]
Bump minor version number so that git builds are distinct from released version
Ben Pfaff [Sun, 27 Jul 2008 18:12:45 +0000 (11:12 -0700)]
Use standard C99 isfinite, isnan, isinf in place of GSL substitutes.
In change
a9afcdd22, "Use gsl_isnan instead of isnan, ...," isfinite,
isnan, and isinf were changed to use the GSL substitutes because of
lack of portability of the C99 versions. Now, gnulib has portable
versions of all of these, so change them back.
This commit changes calls to gsl_finite() to call isfinite() instead
of the equivalent finite(). isfinite() is correct here: both gsl_finite()
and finite() return true for NaNs, which is a surprising result given
that a NaN is definitely not finite, but isfinite() returns false and,
more importantly, behaves as actually wanted in each place it is used
in PSPP code.
This commit requires upgrading gnulib to at least change
5183a0e3c,
"Add missing dependencies on new m4/exponent[fdl].m4 files," or later,
and re-running "make -f Smake".
John Darrington [Sun, 27 Jul 2008 01:02:42 +0000 (09:02 +0800)]
Constness
John Darrington [Sun, 27 Jul 2008 00:47:06 +0000 (08:47 +0800)]
Changed the default WORKSPACE value to 64MB.
Corrected documentation of WORKSPACE.
When --testing-mode is set, workspace can now be arbitrarily low.
Ben Pfaff [Sat, 26 Jul 2008 06:25:53 +0000 (23:25 -0700)]
New function for adding a numbering column to a casereader.
John Darrington [Sat, 26 Jul 2008 06:12:01 +0000 (14:12 +0800)]
Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
Conflicts:
src/math/ChangeLog
John Darrington [Sat, 26 Jul 2008 05:47:40 +0000 (13:47 +0800)]
Merge with recent change by Jason.
John Darrington [Sat, 26 Jul 2008 05:36:03 +0000 (13:36 +0800)]
Removed the value_cnt associated with the caseordering
Made sure that sort_execute returns a casereader the same
dimensions as its subject.
Jason H Stover [Thu, 24 Jul 2008 21:53:50 +0000 (17:53 -0400)]
Dropped weight argument. Corrected update of entries of the covariance matrix
Jason H Stover [Tue, 22 Jul 2008 21:27:55 +0000 (17:27 -0400)]
No longer store entire data set in memory.
Accumulate covariance matrix using covariance_pass_two
John Darrington [Sun, 20 Jul 2008 12:25:15 +0000 (20:25 +0800)]
Why does git only commit some of the changes if you don't pass the -a flag?
John Darrington [Sun, 20 Jul 2008 12:16:05 +0000 (20:16 +0800)]
Deleted lib/gsl-extras and updated gsl dependence to 1.8
Jason H Stover [Thu, 17 Jul 2008 22:11:21 +0000 (18:11 -0400)]
Recurse to simplify flow of covariance_pass_two(). Move tests for V2 into for loop.
Jason Stover [Wed, 16 Jul 2008 22:28:31 +0000 (18:28 -0400)]
Merge branch 'master' of ssh://jstover@git.sv.gnu.org/srv/git/pspp
Jason Stover [Wed, 16 Jul 2008 22:27:27 +0000 (18:27 -0400)]
Fixed update of covariance matrix when both variables are categorical.
Added function to access counted categories.
Ben Pfaff [Wed, 16 Jul 2008 17:18:35 +0000 (10:18 -0700)]
Make PSPP_LINK2_IFELSE macro work with Autoconf earlier than 2.62.
Jason Stover [Wed, 16 Jul 2008 22:22:33 +0000 (18:22 -0400)]
Fixed updating of covariance matrix when both variables
are categorical. Reported by John Darrington
Jason Stover [Wed, 16 Jul 2008 02:54:36 +0000 (22:54 -0400)]
Added functions to compute covariance matrix.
Ben Pfaff [Sun, 13 Jul 2008 18:17:22 +0000 (11:17 -0700)]
Autodetect and fix GSL use of GCC-style "extern inline".
Ben Pfaff [Sun, 6 Jul 2008 00:07:16 +0000 (17:07 -0700)]
Enable users of dist tarballs to use --enable-gui-tools.
Formerly, we didn't distribute the necessary files.
Ben Pfaff [Sun, 6 Jul 2008 00:06:28 +0000 (17:06 -0700)]
Remove 'de' from LINGUAS and delete po/de.po.
Suggested by Andreas Streichardt <mop@globalpark.de>, who points out
that the poor German translations annoy German users.
Ben Pfaff [Sun, 6 Jul 2008 01:17:56 +0000 (18:17 -0700)]
Remove obsolete .gitignore entries.
Ben Pfaff [Sun, 6 Jul 2008 01:11:22 +0000 (18:11 -0700)]
Remove files from .gitignore that are specific to blp's workflow.
These files to ignore are supposed to be listed in the user's
core.gitexcludes file (see gitignore(5)), not in the repository's
.gitignore files.
Ben Pfaff [Sun, 6 Jul 2008 00:55:38 +0000 (17:55 -0700)]
Rename .cvsignore files to .gitignore.
Thus, Git will now ignore the same files that CVS did.
Jason Stover [Sun, 22 Jun 2008 02:44:27 +0000 (22:44 -0400)]
Fixed bug 23567. Added accessor functions to get/set means and standard deviations for variables associated with struct coeffs. Fixed corresponding values in tests.
Jason Stover [Sat, 14 Jun 2008 19:38:24 +0000 (15:38 -0400)]
removed src/math/linreg/
Jason Stover [Sat, 14 Jun 2008 19:35:03 +0000 (15:35 -0400)]
moved src/math/linreg.[ch] to src/math
Ben Pfaff [Sat, 14 Jun 2008 05:29:23 +0000 (22:29 -0700)]
Fix typo in AC_PREREQ command name.
Ben Pfaff [Mon, 9 Jun 2008 03:55:41 +0000 (03:55 +0000)]
Final changes for 0.6.0 release.
John Darrington [Sat, 7 Jun 2008 04:55:22 +0000 (04:55 +0000)]
Updated about dialog text.
John Darrington [Sat, 7 Jun 2008 04:42:57 +0000 (04:42 +0000)]
Updated authors' contributions.
John Darrington [Thu, 29 May 2008 11:07:28 +0000 (11:07 +0000)]
Fixed bugs which manifested themselves as bus errors on solaris.
John Darrington [Thu, 29 May 2008 00:43:01 +0000 (00:43 +0000)]
Added a --enable-anachronistic-dependencies flag to configure, which allows psppire to be built against older versions of GTK and other libraries.
John Darrington [Tue, 20 May 2008 14:01:09 +0000 (14:01 +0000)]
Applied patch #6515 : Allow dlls to be built on w32 platforms
John Darrington [Tue, 20 May 2008 02:20:30 +0000 (02:20 +0000)]
Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
John Darrington [Tue, 20 May 2008 01:36:09 +0000 (01:36 +0000)]
Removed the '--text' argument to diff, which is non-portable and unnecessary.
John Darrington [Tue, 20 May 2008 01:03:21 +0000 (01:03 +0000)]
Added "cd /" to the test scripts which don't already have it. This avoids warnings on platforms which refuse to delete the directory they're using.
John Darrington [Sat, 17 May 2008 07:44:28 +0000 (07:44 +0000)]
Don't issue a warning if the TO and FROM encodings are identical.
John Darrington [Sat, 17 May 2008 07:26:45 +0000 (07:26 +0000)]
Fixed non-portable shell syntax in tests. Added a dist-hook target to check
for these in the future.
Ben Pfaff [Fri, 16 May 2008 05:35:09 +0000 (05:35 +0000)]
Use gsl_isnan instead of isnan, gsl_isinf instead of isinf, and
gsl_finite instead of finite, as a stopgap measure for portability
until appropriate gnulib modules are available.
Ben Pfaff [Fri, 16 May 2008 05:27:47 +0000 (05:27 +0000)]
* Smake (GNULIB_MODULES): Don't depend on memmem module, because
PSPP does not use memmem any longer. Use
unilbrk/ulc-width-linebreaks module instead of the linebreak
module, because the latter was split up into multiple modules and
that's the one we actually need.
* automake.mk: Make install-data-hook depend on yelp-check if the
GUI is configured.
* automake.mk: Rename install-data-hook to yelp-check and mark it
phony. This avoids an automake warning for duplicate
install-data-hook commands in doc/automake.mk and this file
(automake does not understand double-colon rules, since they are
not in POSIX).
John Darrington [Fri, 9 May 2008 23:57:32 +0000 (23:57 +0000)]
Missing quotes.
John Darrington [Fri, 9 May 2008 11:54:55 +0000 (11:54 +0000)]
Debian ships a package which provides ncurses5-config but no header files.
Work around this (buggy) situation.
John Darrington [Fri, 9 May 2008 07:06:35 +0000 (07:06 +0000)]
Fix problems with yelp opening info files.
John Darrington [Fri, 9 May 2008 06:35:33 +0000 (06:35 +0000)]
Fixed problem running make distcheck with gettext 0.17
John Darrington [Fri, 9 May 2008 04:19:51 +0000 (04:19 +0000)]
Update po files.
Ben Pfaff [Fri, 9 May 2008 00:00:32 +0000 (00:00 +0000)]
Don't call gtk_widget_unparent on sheet->button if it's null.
Ben Pfaff [Thu, 8 May 2008 23:58:56 +0000 (23:58 +0000)]
Don't make the user wiggle the mouse to be able to click on the
Forward button twice in quick succession.
Ben Pfaff [Thu, 8 May 2008 23:48:12 +0000 (23:48 +0000)]
Change the mouse pointer to a watch to indicate that a long operation
is ongoing.
John Darrington [Thu, 8 May 2008 00:37:12 +0000 (00:37 +0000)]
Don't use gtk_action_connect_proxy for popup menu items which
have labels with mnemonics
Ben Pfaff [Wed, 7 May 2008 00:16:51 +0000 (00:16 +0000)]
(get_tooltip_location): Prevent crash when a tooltip is being prepared
when the assistant is closed.
Ben Pfaff [Wed, 7 May 2008 00:10:45 +0000 (00:10 +0000)]
(text_data_import_assistant): Allocate the struct import_assistant on
the heap instead of the stack, to make it easier for memory debuggers
such as Valgrind to point out use of its members after this function
returns.
Ben Pfaff [Wed, 7 May 2008 00:09:00 +0000 (00:09 +0000)]
(gtk_sheet_dispose): Set the sheet's entry_container and button
members to NULL after unref'ing them, so that a later call to
gtk_sheet_for_all will not try to dereference a dangling pointer.
John Darrington [Sat, 3 May 2008 01:22:19 +0000 (01:22 +0000)]
Don't append cell contents when there is none.
John Darrington [Mon, 28 Apr 2008 02:06:01 +0000 (02:06 +0000)]
Add --without-libpq and --without-libncurses options
John Darrington [Tue, 22 Apr 2008 08:40:32 +0000 (08:40 +0000)]
Update po files.
John Darrington [Mon, 21 Apr 2008 12:30:14 +0000 (12:30 +0000)]
Update some copyright notices which still referred to GPLv2
John Darrington [Mon, 21 Apr 2008 02:35:31 +0000 (02:35 +0000)]
Protected some tests which don't work when cross-compiling.
John Darrington [Sun, 20 Apr 2008 09:34:18 +0000 (09:34 +0000)]
Fix mingw cross compile problem.
John Darrington [Sun, 20 Apr 2008 08:40:19 +0000 (08:40 +0000)]
Don't include langinfo.h if LC_PAPER is not available.
John Darrington [Sun, 20 Apr 2008 07:51:09 +0000 (07:51 +0000)]
Fixed some recent problems with the mingw cross compile.
John Darrington [Fri, 18 Apr 2008 23:44:42 +0000 (23:44 +0000)]
Close patch #6492
Ben Pfaff [Tue, 15 Apr 2008 17:18:30 +0000 (17:18 +0000)]
Properly report required version of libglade.
Thanks to unknown-1 <pspp@sjpaes.nl> for reporting this bug.
John Darrington [Tue, 15 Apr 2008 09:42:54 +0000 (09:42 +0000)]
Fixed problem with postgres 8.0.x
John Darrington [Tue, 15 Apr 2008 06:12:52 +0000 (06:12 +0000)]
Replace AC_CHECK_LIB with AC_SEARCH_LIBS
Jason Stover [Mon, 14 Apr 2008 17:34:36 +0000 (17:34 +0000)]
New test for QR decomposition
John Darrington [Wed, 9 Apr 2008 09:41:06 +0000 (09:41 +0000)]
Remove visibility from unused widgets and menus
John Darrington [Wed, 9 Apr 2008 09:12:40 +0000 (09:12 +0000)]
Fix display of degrees of freedom.
Jason Stover [Wed, 9 Apr 2008 03:31:41 +0000 (03:31 +0000)]
fixed check for equality of explanatory and predictor variables
Jason Stover [Sun, 6 Apr 2008 22:03:01 +0000 (22:03 +0000)]
oops
Jason Stover [Sun, 6 Apr 2008 21:59:13 +0000 (21:59 +0000)]
store intercept in proper place when using QR method
John Darrington [Sat, 5 Apr 2008 01:48:29 +0000 (01:48 +0000)]
Removed generated files from tarball
John Darrington [Tue, 25 Mar 2008 09:35:03 +0000 (09:35 +0000)]
Added menomics to all menuitems.
Removed unused menuitems.
John Darrington [Tue, 25 Mar 2008 09:19:28 +0000 (09:19 +0000)]
Remove inline qualifiers to keep gcc 4.2 happy
John Darrington [Tue, 25 Mar 2008 09:13:51 +0000 (09:13 +0000)]
Need SIZE_MAX to be defined when there's no libreadline
John Darrington [Mon, 24 Mar 2008 09:39:52 +0000 (09:39 +0000)]
Make sure that psql functionality works when ssl is not present.
Ben Pfaff [Thu, 20 Mar 2008 05:28:31 +0000 (05:28 +0000)]
Update text about Gnulib to reflect that it has moved from CVS to Git.
Thanks to John Darrington for pointing out that this needed to be
done.
Ben Pfaff [Tue, 18 Mar 2008 22:13:19 +0000 (22:13 +0000)]
Document new requirement for gettext version 0.17.
John Darrington [Tue, 18 Mar 2008 09:02:19 +0000 (09:02 +0000)]
Updated Smake to fit recent gnulib checkout
John Darrington [Tue, 18 Mar 2008 08:08:12 +0000 (08:08 +0000)]
Fixed bug #21801
Ben Pfaff [Mon, 17 Mar 2008 03:59:06 +0000 (03:59 +0000)]
Fix bug #22037.
* crosstabs.q (calc_general): Only the short string prefix of long
string variables are tabulated, so we must not copy or zero out
more data than that.
Ben Pfaff [Sun, 16 Mar 2008 22:38:17 +0000 (22:38 +0000)]
Patch #6452. Reviewed by John Darrington.
* variable-display.c (cmd_variable_width): Fix parsing bug. Also,
limit variable display widths to within range 1 thru 2 *
MAX_STRING.
* automake.mk: Add new test.
* command/variable-display.sh: New test.
Ben Pfaff [Sun, 16 Mar 2008 20:06:29 +0000 (20:06 +0000)]
Patch #5368. Reviewed by John Darrington. Tested by Jason Stover.
* automake.mk: Add new files.
* data-editor.glade: Add "import delimited text data" menu item.
* data-editor.c: Connect "import delimited text data" menu item.
* text-data-import-dialog.c: New file.
* text-data-import-dialog.h: New file.
* text-data-import.glade: New file.