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.
John Darrington [Fri, 1 Jul 2011 18:05:20 +0000 (20:05 +0200)]
Update NEWS file
John Darrington [Fri, 1 Jul 2011 18:04:58 +0000 (20:04 +0200)]
Implemented the POSTHOC subcommand for the ONEWAY command.
Currently, only LSD, Tukey, Bonferroni, Scheffe, Games-Howell
and Sidak are supported. These are presented as Multiple
Comparisons - the Homogeneous Subsets are not yet implemented.
John Darrington [Fri, 1 Jul 2011 16:43:58 +0000 (18:43 +0200)]
Fix bug where recent data files were not added
John Darrington [Fri, 1 Jul 2011 16:41:05 +0000 (18:41 +0200)]
Replace the t-test paired options dialog with a simpler implementation.
This makes use of some commonality with the npar 2 sample related dialog.
John Darrington [Fri, 1 Jul 2011 16:40:30 +0000 (18:40 +0200)]
Add the /BLANK subcommand to AUTORECODE
John Darrington [Fri, 1 Jul 2011 16:39:55 +0000 (18:39 +0200)]
Implement dialog box for the non-parametric 2-related-samples tests
John Darrington [Fri, 1 Jul 2011 16:39:40 +0000 (18:39 +0200)]
Move the glade definition for the paired samples dialog box to its own file
John Darrington [Fri, 1 Jul 2011 16:39:25 +0000 (18:39 +0200)]
Added COUNT dialog box. Addresses one part of bug #29869
John Darrington [Fri, 1 Jul 2011 16:39:10 +0000 (18:39 +0200)]
New widget PsppireValChooser.
This widget provides a user interface allowing the user to input the
a value, or range of values. This was previously done "by hand" in
the recode dialog, but was awkward to maintain, and clumsy. Upcoming
dialogs will need something very similar. So now seemed like a good
time to encapsulate it.
John Darrington [Fri, 1 Jul 2011 16:38:56 +0000 (18:38 +0200)]
Use variable labels in DESCRIPTIVES output. Fixes bug #31565
John Darrington [Fri, 1 Jul 2011 16:38:05 +0000 (18:38 +0200)]
Avoid GtkCritical in recode dialog
John Darrington [Fri, 1 Jul 2011 16:37:51 +0000 (18:37 +0200)]
Fix incorrect conditional
John Darrington [Fri, 1 Jul 2011 16:37:39 +0000 (18:37 +0200)]
Fix GUI issues in K-Related NPAR dialog box.
John Darrington [Fri, 1 Jul 2011 16:21:47 +0000 (18:21 +0200)]
Mark get_rule function as inline.
John Darrington [Fri, 1 Jul 2011 16:21:32 +0000 (18:21 +0200)]
Use greater-than-or-equal to sign instead of '>='.
Now that the "ascii" driver supports non-ascii, we can use these
unicode characters to give more elegent output.
John Darrington [Fri, 1 Jul 2011 16:21:13 +0000 (18:21 +0200)]
Implemented the McNemar test. Closes bug #33242
John Darrington [Fri, 1 Jul 2011 16:20:42 +0000 (18:20 +0200)]
Fix bugs deleting temporary files and their containing directory.
The clean_temp module provided by gnulib doesn't cleanup on program
exit. We must do that ourselves. Secondly, the close_temp_file function
was supposed to remove the file, but didn't do that. Thirdly, files
were not being registered with the clean_temp module on creation.
This change fixes these problems.
John Darrington [Fri, 1 Jul 2011 16:19:39 +0000 (18:19 +0200)]
Make the value labels dialog resizable
John Darrington [Fri, 1 Jul 2011 16:19:16 +0000 (18:19 +0200)]
Replace deprecated function call
John Darrington [Fri, 1 Jul 2011 16:18:59 +0000 (18:18 +0200)]
Remove action member from PsppireSelector
John Darrington [Fri, 1 Jul 2011 16:18:45 +0000 (18:18 +0200)]
Replace some deprecated GTK macros
John Darrington [Fri, 1 Jul 2011 16:18:27 +0000 (18:18 +0200)]
Change the order of the reported NPAR values in two sample related tests.
This change makes the order of the reported values follow the order in
which they were entered in the syntax. The changes to the tests affect
only the order. The numbers are unchanged.
John Darrington [Fri, 1 Jul 2011 16:01:27 +0000 (18:01 +0200)]
Remove duplicated functions
John Darrington [Fri, 1 Jul 2011 16:01:11 +0000 (18:01 +0200)]
Remove unused functions
John Darrington [Fri, 1 Jul 2011 16:00:49 +0000 (18:00 +0200)]
Filter the data file list by mime type instead of file extension
John Darrington [Fri, 1 Jul 2011 16:00:32 +0000 (18:00 +0200)]
Set the show-tips property on the recent chooser menus
John Darrington [Fri, 1 Jul 2011 16:00:14 +0000 (18:00 +0200)]
Use local include paths instead of relative to $top_builddir/src
The old method appeared not to work with some gcc versions.
John Darrington [Fri, 1 Jul 2011 15:59:10 +0000 (17:59 +0200)]
Replace some obsolete Gtk macro calls
John Darrington [Fri, 1 Jul 2011 15:58:33 +0000 (17:58 +0200)]
Fix building when readline library is not present
John Darrington [Fri, 1 Jul 2011 15:27:26 +0000 (17:27 +0200)]
Added support to read OpenDocument spreadsheet files
John Darrington [Fri, 1 Jul 2011 15:22:02 +0000 (17:22 +0200)]
Implemented a zip-writer to correspond to zip-reader