John Darrington [Wed, 5 Oct 2011 06:10:55 +0000 (08:10 +0200)]
Fix crash on parseing invalid GLM syntax
John Darrington [Thu, 29 Sep 2011 11:22:00 +0000 (13:22 +0200)]
Implemented the SET=TNUMBERS subcommand
John Darrington [Thu, 29 Sep 2011 08:37:02 +0000 (10:37 +0200)]
Optimisation for the type3 sum of squares procedure
John Darrington [Thu, 29 Sep 2011 08:35:26 +0000 (10:35 +0200)]
Corrected example files. Closes bug #34343
John Darrington [Wed, 28 Sep 2011 17:55:45 +0000 (19:55 +0200)]
Fixed a crash in REGRESSION when there were no non-missing values.
John Darrington [Fri, 23 Sep 2011 13:56:45 +0000 (15:56 +0200)]
Move interaction subset predicates out of glm.c into interaction.c
Renamed function: is_subset --> interaction_is_proper_subset
drop_from_submodel --> interaction_is_subset
and moved them into interaction.c This seems to me to be easier
to understand, and more efficient.
John Darrington [Fri, 23 Sep 2011 12:58:01 +0000 (14:58 +0200)]
GLM: Add a test for a full factorial anova example
John Darrington [Fri, 23 Sep 2011 12:29:40 +0000 (14:29 +0200)]
Smake give correct dependencies where they are well defined
John Darrington [Sun, 25 Sep 2011 11:22:56 +0000 (13:22 +0200)]
Added dialog box for univariate anova.
Added a dialog box to conduct a univariate anova using the GLM
command. Currently only entry of the dependent variable and the
factors are possible. Choosing the interactions must be done
through syntax, if the default is not what the user wants.
John Darrington [Tue, 20 Sep 2011 19:02:01 +0000 (21:02 +0200)]
Fix warnings and remove conditional compilation which is no longer necessary
Jason H Stover [Sun, 18 Sep 2011 21:10:17 +0000 (17:10 -0400)]
Fixed type 3 sums of squares for models containing interactions
John Darrington [Sat, 10 Sep 2011 07:25:28 +0000 (09:25 +0200)]
Added a summary introduction to INSTALL, to try to make it less frightening to inexperienced users
John Darrington [Tue, 6 Sep 2011 19:48:48 +0000 (21:48 +0200)]
Moved call to gl_NEXT_HEADER outside the conditional.
Fixes bug #33585
John Darrington [Sat, 3 Sep 2011 12:14:50 +0000 (14:14 +0200)]
File Open dialog: disable encoding selector when not applicable
John Darrington [Sat, 3 Sep 2011 11:29:47 +0000 (13:29 +0200)]
Filter file choosers by mimetype instead of file name
John Darrington [Sat, 3 Sep 2011 04:54:16 +0000 (06:54 +0200)]
Avoid compiler warnings about uninitialised variables.
Some compilers produced warnings about possible use of
uninitialised variables (although such use was in fact not possible)
These warnings were harmless (perhaps even erroneous) but
it's no problem to avoid them.
John Darrington [Fri, 2 Sep 2011 18:59:54 +0000 (20:59 +0200)]
Fix make makedistcheck and re-organize icon paths.
This change does several things:
* renamed psppicon.png to pspp.png - The word "icon" is redundant
(it's also a misuse of English).
* Changed the install target of the existing 16x16 pictograms out of the apps
directory. Instead, they now go in a directory of their own called "pspp".
This is more in line with what other applications seem to do. It also makes
it a lot easier to deal uninstall them, since we can be reasonably sure that
everything in the "pspp" directory was put there by us.
* Ensures that make distcheck passes.
John Darrington [Sun, 28 Aug 2011 12:01:51 +0000 (14:01 +0200)]
GLM: Disable the interactions option until it actually gives the right results
John Darrington [Sun, 28 Aug 2011 10:39:51 +0000 (12:39 +0200)]
Added an implementation of the median test
Ben Pfaff [Fri, 26 Aug 2011 03:28:26 +0000 (20:28 -0700)]
Fix build error if "close" macro is not always visible.
Harry Thijssen <pspp@sjpaes.nl> reported the following errors
with recent Gnulib on Win32:
src/language/lexer/lexer.c: In function 'lex_source_destroy':
src/language/lexer/lexer.c:1455: error: 'const struct
lex_reader_class' has no member named 'rpl_close'
src/language/lexer/lexer.c:1456: error: 'const struct
lex_reader_class' has no member named 'rpl_close'
The problem was that the Gnulib substitute for <unistd.h>
defines close to rpl_close, but this macro definition wasn't
visible when lexer.c included lexer.h and became visible later.
This commit fixes the problem by making sure that the macro
definition is always visible in lexer.h.
A better solution would probably be to rename the 'close'
member to something other than a standard POSIX function name.
The change to control-stack.h is just precautionary; Harry
didn't report the same problem there.
Ben Pfaff [Thu, 25 Aug 2011 03:51:47 +0000 (20:51 -0700)]
range-set: Fix typo in comment.
John Darrington [Wed, 24 Aug 2011 07:29:49 +0000 (09:29 +0200)]
Improve paste to Openoffice.org &c
Added "css" and "borders" options to the html driver, and
set these options to false when generating clipboard data.
This produces better looking results when cut & pasting to
OOo
John Darrington [Tue, 23 Aug 2011 19:29:52 +0000 (21:29 +0200)]
Update the recommended gnulib commit, since it contains an important w32 fix
John Darrington [Tue, 23 Aug 2011 19:26:20 +0000 (21:26 +0200)]
Fix warnings
Ben Pfaff [Tue, 23 Aug 2011 16:07:56 +0000 (09:07 -0700)]
po: Add French translation from translationproject.org
Ben Pfaff [Sun, 21 Aug 2011 23:57:13 +0000 (16:57 -0700)]
gui: Add missing $(DESTDIR) to install rule.
Also, delete white space from otherwise blank line.
Ben Pfaff [Sat, 20 Aug 2011 21:47:25 +0000 (14:47 -0700)]
glade: Fix building libglade_psppire.
Otherwise GCC can't find the gtksourceview header files.
Matìj Cepl [Sat, 20 Aug 2011 10:49:02 +0000 (12:49 +0200)]
gui: Streamline pspp.desktop
Remove the extension for Icon (unnecessary, in case in
future we want to provide for example SVG icon) and removed
unnecessary keys. Do we know for fact that we will never ever
support Notifications? And I guess if we provide the .desktop and
executable as part of the same tarball/package there is not much
chance we would have binary missing. I have also added a Czech
translation of keys.
Signed-off-by: Matìj Cepl <mcepl@redhat.com>
John Darrington [Sat, 20 Aug 2011 05:52:41 +0000 (07:52 +0200)]
Merge remote branch 'origin/sourceview'
Ben Pfaff [Fri, 19 Aug 2011 04:36:48 +0000 (21:36 -0700)]
po: Update Spanish translation from translation-project.org.
Ben Pfaff [Fri, 19 Aug 2011 04:35:04 +0000 (21:35 -0700)]
po: Update Catalan translation from translation-project.org.
Ben Pfaff [Thu, 18 Aug 2011 04:57:17 +0000 (21:57 -0700)]
gui: Ignore the -psn_xxx option passed to Mac desktop apps.
Jeremy Lavergne <jeremy@lavergne.gotdns.org> reports that this
is necessary to make PSPPIRE launch gracefully on the Mac.
Ben Pfaff [Tue, 16 Aug 2011 05:39:53 +0000 (22:39 -0700)]
Upgrade to newest Gnulib to help relocatable-prog on Mac OS X.
--enable-relocatable currently fails on Mac OS X due to a link
error related to symbols that Gnulib is supposed to replace.
I see that Gnulib has the following commits, not previously in
PSPP, that mention related changes:
357d319 relocatable-lib: Move AC_LIBOBJ invocations to module description.
c2d8c01 relocatable-prog: Move AC_LIBOBJ invocations to module description.
325f131 relocatable-prog-wrapper: Fix possible link error.
886f850 relocatable-prog-wrapper: Assume strerror() exists.
02d4f86 relocatable-prog-wrapper: Update after module 'areadlink' changed.
d14f18b relocatable-prog-wrapper: Update after module 'areadlink' changed.
69c99f3 * lib/relocwrapper.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
ef11bf4 * lib/relocatable.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
10d90c8 * lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
4e51bc9 unictype/property-byname: Reduce the number of load-time relocations.
fb6aa6a relocatable-prog: fix link error
This commit updates PSPP to capture those changes. It also
makes the changes recommended by Gnulib's NEWS.
John Darrington [Sat, 13 Aug 2011 16:05:37 +0000 (18:05 +0200)]
Added an implementation for the One Sample Kolmogorov-Smirnov Test
John Darrington [Sun, 31 Jul 2011 14:21:36 +0000 (16:21 +0200)]
Implemented the KMO and Bartlett test in the FACTOR command
John Darrington [Sun, 7 Aug 2011 09:38:37 +0000 (11:38 +0200)]
Set the "local-only" property on GtkFileChooser widgets to FALSE
Ben Pfaff [Wed, 13 Jul 2011 04:52:37 +0000 (21:52 -0700)]
range-set: Skip some tests on llvm-gcc 4.2.
These tests seem to trigger a bug in llvm-gcc 4.2 on Mac OS X
10.8.0. Experimentation shows that the bug is more likely to
be triggered by the test code than the code under test, so skip
them.
I spent some time trying to narrow down the problem enough to
make a bug report to the llvm-gcc developers, but I ran out of
time before I finished with that.
Thanks to Jeremy Lavergne <jeremy@lavergne.gotdns.org> for
reporting the problem.
John Darrington [Sat, 30 Jul 2011 14:19:23 +0000 (16:19 +0200)]
Oneway Dialog: Cosmetic Improvements
John Darrington [Sat, 30 Jul 2011 14:09:35 +0000 (16:09 +0200)]
Npar K-related Dialog: Cosmetic Improvements
John Darrington [Sat, 30 Jul 2011 14:01:57 +0000 (16:01 +0200)]
Descriptives Dialog: Cosmetic Improvements
John Darrington [Sat, 30 Jul 2011 13:54:02 +0000 (15:54 +0200)]
Binomial Dialog: Cosmetic Improvements
John Darrington [Sat, 30 Jul 2011 13:50:31 +0000 (15:50 +0200)]
Regression Dialog: Cosmetic improvements
John Darrington [Sat, 30 Jul 2011 13:43:08 +0000 (15:43 +0200)]
K-Means Dialog: Cosmetic improvements
John Darrington [Sat, 30 Jul 2011 13:37:58 +0000 (15:37 +0200)]
Correlations Dialog: Cosmetic improvements
John Darrington [Sat, 30 Jul 2011 12:14:18 +0000 (14:14 +0200)]
Factor Dialog: Add mnemonics
John Darrington [Sat, 30 Jul 2011 12:01:29 +0000 (14:01 +0200)]
Added use-underline and mnemonic-widget properties to PsppireScanf
John Darrington [Sat, 30 Jul 2011 10:18:21 +0000 (12:18 +0200)]
Replaced the function widget_scanf with a new widget psppire_scanf
John Darrington [Fri, 29 Jul 2011 15:59:48 +0000 (17:59 +0200)]
Reliability Dialog: Fix broken mnemonics
John Darrington [Fri, 29 Jul 2011 09:54:38 +0000 (11:54 +0200)]
PsppireKeypad: Correct the parent class declaration
John Darrington [Fri, 29 Jul 2011 14:12:38 +0000 (16:12 +0200)]
Fix problem building under Gtk+2.18
John Darrington [Thu, 28 Jul 2011 19:39:23 +0000 (21:39 +0200)]
Makefile.am: update location of gitlog-to-changelog script
John Darrington [Thu, 28 Jul 2011 17:50:12 +0000 (19:50 +0200)]
Chi-square Dialog: Cosmetic changes
John Darrington [Thu, 28 Jul 2011 17:25:28 +0000 (19:25 +0200)]
Frequencies Dialog: Cosmetic changes
John Darrington [Thu, 28 Jul 2011 17:04:58 +0000 (19:04 +0200)]
Crosstabs Dialog: Cosmetic changes
John Darrington [Thu, 28 Jul 2011 10:16:14 +0000 (12:16 +0200)]
Fix crash in Correlations
John Darrington [Sun, 24 Jul 2011 09:11:20 +0000 (11:11 +0200)]
Fix memory leak
John Darrington [Sat, 23 Jul 2011 11:39:33 +0000 (13:39 +0200)]
glm.c: new function design_full to create default interactions
John Darrington [Fri, 22 Jul 2011 17:35:43 +0000 (19:35 +0200)]
Fixed crash when interactions have no instances
John Darrington [Fri, 22 Jul 2011 17:01:05 +0000 (19:01 +0200)]
Constness
John Darrington [Fri, 22 Jul 2011 13:39:36 +0000 (15:39 +0200)]
Made GLM as well as ONEWAY work
John Darrington [Fri, 22 Jul 2011 13:03:10 +0000 (15:03 +0200)]
Move call to categoricals_done earlier in the covariance code
John Darrington [Fri, 15 Jul 2011 10:34:51 +0000 (12:34 +0200)]
Constness
John Darrington [Thu, 14 Jul 2011 21:43:11 +0000 (23:43 +0200)]
Extended the glm command to accept interactions. Unfortunately the ssqs are wrong
John Darrington [Tue, 12 Jul 2011 09:29:35 +0000 (11:29 +0200)]
categoricals.c: Fixed part of the dump function
John Darrington [Tue, 12 Jul 2011 09:09:46 +0000 (11:09 +0200)]
categoricals.c: Rename var_params to interact_params
John Darrington [Mon, 11 Jul 2011 15:38:22 +0000 (17:38 +0200)]
Remove unused function
John Darrington [Mon, 11 Jul 2011 14:47:18 +0000 (16:47 +0200)]
Fix ssq for interactions
John Darrington [Mon, 11 Jul 2011 06:58:46 +0000 (08:58 +0200)]
GLM: get_ssq: replace hardcoded 1 with cmd->n_dep_vars
John Darrington [Thu, 7 Jul 2011 10:25:48 +0000 (12:25 +0200)]
GLM: remove design_vars which are now superseeded by interactions
John Darrington [Thu, 7 Jul 2011 10:14:29 +0000 (12:14 +0200)]
GLM: Fix memory leaks
John Darrington [Thu, 7 Jul 2011 09:39:21 +0000 (11:39 +0200)]
Categoricals: remove var member which is no longer required
John Darrington [Wed, 6 Jul 2011 18:56:42 +0000 (20:56 +0200)]
Categoricals: Replace single value by a case, so that interactions can be supported
John Darrington [Wed, 6 Jul 2011 15:54:32 +0000 (17:54 +0200)]
Change interaction functions to use cases rather than value arrays
John Darrington [Tue, 5 Jul 2011 17:45:31 +0000 (19:45 +0200)]
Categoricals to take interactions instead of variables.
This change alters the API of categoricals_create, so as to
accept an array of interactions instead of an array of variables.
Currently, however only interactions which contain exactly one
variable will run correctly.
John Darrington [Tue, 5 Jul 2011 13:14:18 +0000 (15:14 +0200)]
GLM: Rewrite interactions module and update glm.c to use it in some places
John Darrington [Mon, 4 Jul 2011 15:03:26 +0000 (17:03 +0200)]
GLM: Prepare the lexer to accept nested variables
John Darrington [Mon, 25 Jul 2011 19:40:27 +0000 (21:40 +0200)]
Added dialog for the NPAR RUNS subcommand
John Darrington [Mon, 25 Jul 2011 17:15:20 +0000 (19:15 +0200)]
K-means dialog only should accept numeric variables
John Darrington [Mon, 25 Jul 2011 14:01:48 +0000 (16:01 +0200)]
Add some "mnemonic_widget" refs which had been forgotten
John Darrington [Mon, 25 Jul 2011 12:38:42 +0000 (14:38 +0200)]
Added dialog box for quick cluster command
Ben Pfaff [Sun, 24 Jul 2011 04:38:53 +0000 (21:38 -0700)]
Updated the Lithuanian translation from translationproject.org.
Ben Pfaff [Mon, 4 Jul 2011 21:49:22 +0000 (14:49 -0700)]
variable: Simplify var_set_display_width().
I don't see a reason to keep old_width or to call
dict_var_changed() if nothing changed.
Ben Pfaff [Mon, 4 Jul 2011 21:47:35 +0000 (14:47 -0700)]
format: Use max width for over-max decimals in fmt_fix().
In fmt_fix(), requesting more decimals than are possible did
not increase the width at all. It makes better sense to use
the maximum width and maximum decimals for this case, so this
commit makes that change.
Ben Pfaff [Mon, 4 Jul 2011 21:12:42 +0000 (14:12 -0700)]
format: Honor width step in fmt_fix().
This ensures that hexadecimal format widths will be a multiple
of 2 after fmt_fix() finishes with them.
This function is used only by the GUI, which doesn't generally
work with hexadecimal formats, so it might not fix a real bug
in practice.
Ben Pfaff [Wed, 13 Jul 2011 05:06:37 +0000 (22:06 -0700)]
GLM: Allow +/- .001 for Corrected Total Type III Sum of Squares.
Jeremy Lavergne <jeremy@lavergne.gotdns.org> reported that on
Mac OS X this value is calculated as 329.628 instead of
329.627. John Darrington said that he's seen the same on
GNU/Linux depending on compiler optimization flags.
Ben Pfaff [Sun, 10 Jul 2011 22:51:13 +0000 (15:51 -0700)]
tests: Avoid nonportable "mktemp" usage.
Jeremy Lavergne <jeremy@lavergne.gotdns.org> reported that
mktemp on Mac OS X does not have a -p option. But I don't see
a reason to use mktemp at all here, so this commit uses a fixed
name instead.
Ben Pfaff [Sun, 10 Jul 2011 22:24:45 +0000 (15:24 -0700)]
tests: Fix Perl module tests on Mac OS X.
Tested by Jeremy Lavergne <jeremy@lavergne.gotdns.org>.
John Darrington [Sat, 9 Jul 2011 07:54:15 +0000 (09:54 +0200)]
QUICK CLUSTER: Add documentation
John Darrington [Sat, 9 Jul 2011 07:53:53 +0000 (09:53 +0200)]
QUICK CLUSTER: Add MISSING=EXCLUDE for consistency with other commands
John Darrington [Fri, 8 Jul 2011 14:32:30 +0000 (16:32 +0200)]
QUICK CLUSTER: Implement pairwise missing option
John Darrington [Fri, 8 Jul 2011 13:53:37 +0000 (15:53 +0200)]
Merge remote branch 'savannah/master'
John Darrington [Wed, 6 Jul 2011 09:55:11 +0000 (11:55 +0200)]
Remove redundant files in test sources, that apparently caused link problems
John Darrington [Wed, 6 Jul 2011 08:47:19 +0000 (10:47 +0200)]
Fix compiler warnings
John Darrington [Sun, 3 Jul 2011 13:54:27 +0000 (15:54 +0200)]
Added dialog box for the AUTORECODE command. Closes bug #30009
John Darrington [Sat, 2 Jul 2011 15:32:16 +0000 (17:32 +0200)]
Quick Cluster: Avoid crash when presented with missing values
John Darrington [Sat, 2 Jul 2011 14:12:57 +0000 (16:12 +0200)]
QUICK-CLUSTER: Seperate const from non-const data and make it handle splits
John Darrington [Sat, 2 Jul 2011 12:01:09 +0000 (14:01 +0200)]
For consistency with other files use <> instead of ""
John Darrington [Sat, 2 Jul 2011 12:00:17 +0000 (14:00 +0200)]
Remove some gnulib modules whichare being flagges as obsolete
John Darrington [Sat, 2 Jul 2011 09:05:16 +0000 (11:05 +0200)]
Use PACKAGE_URL from config.h instead of literal string
Ben Pfaff [Tue, 28 Jun 2011 05:13:35 +0000 (22:13 -0700)]
doc: Fix order of NUMERIC and MRSETS sections.
The sections were out of alphabetical order.
Found by texi2html.