John Darrington [Mon, 7 Dec 2015 18:04:00 +0000 (19:04 +0100)]
Frequencies Dialog: Avoid initialising things more than once per dialog
John Darrington [Mon, 7 Dec 2015 17:25:29 +0000 (18:25 +0100)]
Fix bug rendering margin in output viewer.
commit
7b1373b8bded55eedc2328c1afd3eece6d259c34 tried to add an
offset to the output viewer rendering. However the implementation
was somewhat naive. The result was that the desired rendering was
not observed until an expose or resize event occured. This change
improves the implementation.
John Darrington [Mon, 7 Dec 2015 15:21:52 +0000 (16:21 +0100)]
Descriptives Dialog: Avoid multiple appendages to the statistics list box
John Darrington [Mon, 7 Dec 2015 15:14:11 +0000 (16:14 +0100)]
Remove destroy signal handler for dialogs.
Now (since the dialog persistance feature) dialog boxes survive their associated datasets,
it is no longer necessary or desireable for the destroy callback to remove the notification
callback.
John Darrington [Sun, 6 Dec 2015 21:18:03 +0000 (22:18 +0100)]
Autorecode Dialog: replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 20:55:38 +0000 (21:55 +0100)]
Missing Values Dialog: replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 20:33:38 +0000 (21:33 +0100)]
examples/repairs.sav: Update sav file version
The repairs.sav example provoked a warning when loaded. This change replaces it with a version
which does not.
John Darrington [Sun, 6 Dec 2015 20:01:17 +0000 (21:01 +0100)]
Kolmogorov Smirnof One Sample Dialog: replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 19:42:30 +0000 (20:42 +0100)]
Chi Square Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 19:00:15 +0000 (20:00 +0100)]
Variable Type Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 18:45:47 +0000 (19:45 +0100)]
Means Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 18:26:07 +0000 (19:26 +0100)]
Univariate Dialog: replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 15:05:45 +0000 (16:05 +0100)]
Count Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 14:42:35 +0000 (15:42 +0100)]
Rank Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 14:23:39 +0000 (15:23 +0100)]
Runs Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 14:07:32 +0000 (15:07 +0100)]
Split File Dialog: Remove deprecated widgets
John Darrington [Sun, 6 Dec 2015 12:01:23 +0000 (13:01 +0100)]
Independent Samples Dialog: Remove GtkAlignment widgets
John Darrington [Sun, 6 Dec 2015 11:31:11 +0000 (12:31 +0100)]
Paired Samples Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 11:02:12 +0000 (12:02 +0100)]
Reliability Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 10:49:38 +0000 (11:49 +0100)]
K Related Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 10:34:16 +0000 (11:34 +0100)]
QUICK CLUSTER Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 09:56:48 +0000 (10:56 +0100)]
Factor Analysis Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 09:33:29 +0000 (10:33 +0100)]
Linear Regression Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 09:23:25 +0000 (10:23 +0100)]
Logistic Regression Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 08:51:14 +0000 (09:51 +0100)]
Roc Dialog: Replace deprecated widgets
John Darrington [Sun, 6 Dec 2015 07:02:22 +0000 (08:02 +0100)]
Add a silent zone "gutter" to the output viewer.
This makes things somewhat easier to read.
Closes bug #46612
John Darrington [Sat, 5 Dec 2015 19:26:02 +0000 (20:26 +0100)]
Examine Dialog: Replace deprecated widgets
John Darrington [Sat, 5 Dec 2015 19:08:57 +0000 (20:08 +0100)]
Correlation Dialog: Replace deprecated widgets
John Darrington [Sat, 5 Dec 2015 18:55:29 +0000 (19:55 +0100)]
Independent Samples Dialog: Replace GtkTable with GtkGrid
John Darrington [Sat, 5 Dec 2015 18:41:42 +0000 (19:41 +0100)]
Descriptives Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 18:26:38 +0000 (19:26 +0100)]
Frequencies Dialog: Remove final GtkAlignment widgets
John Darrington [Sat, 5 Dec 2015 18:13:51 +0000 (19:13 +0100)]
Find Dialog: Replace deprecated widgets
John Darrington [Sat, 5 Dec 2015 18:08:02 +0000 (19:08 +0100)]
Frequencies Dialog: Replace deprecated widgets
John Darrington [Sat, 5 Dec 2015 16:49:38 +0000 (17:49 +0100)]
Bar Chart Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 16:44:05 +0000 (17:44 +0100)]
Crosstabs Dialog: Remove final deprecated widgets
John Darrington [Sat, 5 Dec 2015 16:32:00 +0000 (17:32 +0100)]
Scatterplot Dialog: Remove the last of the deprecated widgets
John Darrington [Sat, 5 Dec 2015 16:19:34 +0000 (17:19 +0100)]
Scatterplot Dialog: Remove GtkAlignment widgets
John Darrington [Sat, 5 Dec 2015 16:15:52 +0000 (17:15 +0100)]
Scatterplot Dialog: fix spacing
John Darrington [Sat, 5 Dec 2015 16:13:47 +0000 (17:13 +0100)]
Scatterplot Dialog: Replace GtkTable with GtkGrid
John Darrington [Sat, 5 Dec 2015 16:08:14 +0000 (17:08 +0100)]
Scatterplot Dialog: Remove GtkVBox and GtkHBox widgets
John Darrington [Sat, 5 Dec 2015 15:47:41 +0000 (16:47 +0100)]
Crosstabs Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 15:31:18 +0000 (16:31 +0100)]
Crosstabs Dialog: Remove GtkAlignment widgets
John Darrington [Sat, 5 Dec 2015 15:20:15 +0000 (16:20 +0100)]
Crosstabs Dialog: Remove some deprecated widgets
John Darrington [Sat, 5 Dec 2015 14:36:41 +0000 (15:36 +0100)]
Value Labels Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 14:13:37 +0000 (15:13 +0100)]
Histogram Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 12:38:22 +0000 (13:38 +0100)]
Comments Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 12:28:38 +0000 (13:28 +0100)]
Entry Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 12:24:08 +0000 (13:24 +0100)]
Transpose Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 12:10:26 +0000 (13:10 +0100)]
Variable Info Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 12:01:46 +0000 (13:01 +0100)]
Goto Case Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 11:52:11 +0000 (12:52 +0100)]
Weight Dialog: Remove deprecated widgets
John Darrington [Sat, 5 Dec 2015 11:38:59 +0000 (12:38 +0100)]
Binomial Dialog: Remove deprecated widgets
John Darrington [Fri, 4 Dec 2015 21:14:17 +0000 (22:14 +0100)]
Oneway Dialog: Remove obsolete widgets
John Darrington [Fri, 4 Dec 2015 20:21:32 +0000 (21:21 +0100)]
Binomial dialog: Remove GtkAlignment
John Darrington [Fri, 4 Dec 2015 14:02:32 +0000 (15:02 +0100)]
Autorecode Dialog: Replace deprecated widgets
John Darrington [Fri, 4 Dec 2015 12:52:14 +0000 (13:52 +0100)]
Missing Value Dialog: Remove GtkAlignment
John Darrington [Fri, 4 Dec 2015 12:43:33 +0000 (13:43 +0100)]
Variable Type Dialog: Remove GtkAlignment
John Darrington [Fri, 4 Dec 2015 12:38:22 +0000 (13:38 +0100)]
Value Labels Dialog: Remove GtkAlignment
John Darrington [Fri, 4 Dec 2015 12:02:03 +0000 (13:02 +0100)]
Quick Cluster Dialog: Remove GtkAlignment
John Darrington [Fri, 4 Dec 2015 11:58:22 +0000 (12:58 +0100)]
Comment Dialog: Remove GtkAlignment
John Darrington [Fri, 4 Dec 2015 10:04:01 +0000 (11:04 +0100)]
Fix compiler warning
John Darrington [Fri, 4 Dec 2015 09:37:48 +0000 (10:37 +0100)]
Fix bug in two sample non-parametric dialog.
Commit
fc6620099bbc53762095569d5356b67a81a85402 changed all dialog
boxes such that the previous (existing) dialog widget and all
children are re-used each time the dialog is summoned, instead of
creating a new one each time.
The two sample non-parametric test, however has some special code
on activation to populate the dialog, and this had not been moved
to the conditional case - hence the pertinent widgets were getting
added each time. This resulted in the dialog being overpopulated.
This change fixes these things.
John Darrington [Fri, 4 Dec 2015 08:55:28 +0000 (09:55 +0100)]
Sort Dialog: Remove deprecated widgets and make some cosmetic improvements
John Darrington [Fri, 4 Dec 2015 08:02:34 +0000 (09:02 +0100)]
Split psppire.ui into three separate files
This is more consistent with the rest of the system, where each dialog
has its own .ui file.
John Darrington [Thu, 3 Dec 2015 18:27:08 +0000 (19:27 +0100)]
NEWS: fix typo
John Darrington [Wed, 2 Dec 2015 20:43:36 +0000 (21:43 +0100)]
Ensure that the leftmost vertical gridline gets rendered in RTL mode.
When in an RTL locale, the last (ie leftmost) vertical gridline was omitted.
This change corrects that.
Reported by: Mohammad Haghighat <hosseinhg@hotmail.com>
John Darrington [Wed, 2 Dec 2015 20:30:31 +0000 (21:30 +0100)]
Sheet Grid Lines: Correct positioning.
The calculations for the x and y positions have been corrected to fit the Gtk3
cairo implementation.
John Darrington [Tue, 1 Dec 2015 17:35:50 +0000 (18:35 +0100)]
Vertically reflect the table borders for RTL locales
When rendering in a right to left locale, the terminals where a horizontal table
border line meets a vertical border needs to be a mirror image of what is normal
in a left to right locale. This change does that.
Reported by: Mohammad Haghighat <hosseinhg@hotmail.com>
John Darrington [Tue, 1 Dec 2015 13:30:09 +0000 (14:30 +0100)]
Output renderer: Reverse the order of table columns when in RTL locale
When operating in a RTL locale, the last column of a table should be rendered
"first" (ie. leftmost). This change achieves that. In order to determine if
the locale is a RTL locale, a new translatable string is introduced. This
string must be localised by the translator of the .po file for RTL locales. LTR
locales can leave it untranslated.
Reported by: Mohammad Haghighat <hosseinhg@hotmail.com>
John Darrington [Mon, 30 Nov 2015 13:43:15 +0000 (14:43 +0100)]
Output viewer: Right justify output items if an RTL locale is in effect
The GtkDrawingArea widgets which contain the rendered tables, must be shifted
to the right hand side of the parent widget for RTL locales.
Reported by: Mohammad Haghighat <hosseinhg@hotmail.com>
John Darrington [Tue, 1 Dec 2015 07:43:17 +0000 (08:43 +0100)]
Output viewer: Add diagnostic feature
Friedrich Beckmann [Sun, 29 Nov 2015 15:50:00 +0000 (16:50 +0100)]
osx: Test 605 (QUICK CLUSTER with pairwise missing) failed on Mac OS
The uses head -n -3 to check the top number of lines of two files. On osx
negative line numbers are not allowed with head. I changed this to the
respective number of positive line numbers.
Friedrich Beckmann [Sun, 29 Nov 2015 15:45:53 +0000 (16:45 +0100)]
osx: Test 172 (decrypt an encrypted syntax file) failed in regression
Test 172 decrypts a file which produces some problematic CRLF characters.
The characters are removed with sed to check vs. reference data, but the sed
does not work the same way on osx as on linux. I changed this to tr which
works on both systems.
John Darrington [Sun, 29 Nov 2015 11:16:45 +0000 (12:16 +0100)]
Fix build issue on Gnewsense mips64
Friedrich Beckmann [Sun, 29 Nov 2015 12:23:56 +0000 (13:23 +0100)]
Smake clean target removed po/ChangeLog and po/Makefile.in (both are in git)
make -f Smake clean
removed po/ChangeLog and po/Makefile.in which are under git control. This
fix leaves those two files untouched. Without the fix, the make -f Smake
step after a clean ends with an error because po/Makefile.in is missing.
John Darrington [Sun, 29 Nov 2015 08:14:40 +0000 (09:14 +0100)]
Fix compiler warning
John Darrington [Sat, 28 Nov 2015 20:26:51 +0000 (21:26 +0100)]
Correct the rendering of the data and variable sheets in RTL locales
John Darrington [Sat, 28 Nov 2015 17:44:34 +0000 (18:44 +0100)]
Fix change inadvertently added by previous commit
John Darrington [Sat, 28 Nov 2015 06:55:01 +0000 (07:55 +0100)]
Persist dialog box widget settings.
Arrange for the status of widgets within dialog boxes to persist
between calls when called for the same dataset. Some users
have requested this to make repeated operations easier.
John Darrington [Wed, 18 Nov 2015 17:52:24 +0000 (18:52 +0100)]
Make fn_open and fn_close take a struct file_handle instead of char *
This change alters the signature of the fn_open and fn_close functions,
and changes all callers appropriately. The purpose of such a change is
so that the encoding of the filename is passed to fn_open from wherever
it was created.
It also changes the implementation of fn_open on windows systems to call
_wfopen instead of fopen. This should fix the problem of windows builds
not being able to open files whose pathnames included non-ascii characters.
As a bonus, we no longer require the rather contrived function
local_to_filename_encoding.
Some related issues (what about the pspprc file?) remain.
John Darrington [Sat, 21 Nov 2015 08:53:55 +0000 (09:53 +0100)]
Remove diagnostic code from quick-cluster.c
John Darrington [Fri, 20 Nov 2015 19:55:18 +0000 (20:55 +0100)]
Remove unnecessary #include directives
John Darrington [Sun, 15 Nov 2015 07:17:55 +0000 (08:17 +0100)]
fh_get_identity: Move to static scope
John Darrington [Fri, 13 Nov 2015 12:57:38 +0000 (13:57 +0100)]
QUICK CLUSTER: Remove sqrt from Euclidean distance calculations
The Euclidean distance is used only for comparison with other Euclidean
distances. Since it is invariant that (sqrt(x) < sqrt(y)) === (x < y)
for all non-negative x,y it is a waste of effort calculating the sqrt.
John Darrington [Fri, 13 Nov 2015 13:02:17 +0000 (14:02 +0100)]
fh_get_identity: Remove incorrect statement from comment.
John Darrington [Wed, 11 Nov 2015 19:46:22 +0000 (20:46 +0100)]
Move fn_identity from file-name.c to file-handle-def.c
John Darrington [Wed, 11 Nov 2015 18:09:15 +0000 (19:09 +0100)]
New top level menu for Graphs.
Added a new top level menu to assist with the generation of graphics.
Currently it has only scatterplot, histogram and barchart.
John Darrington [Sat, 7 Nov 2015 11:16:13 +0000 (12:16 +0100)]
Quick Cluster: Reimplement clustering algorithm
This change replaces the algorithm to be closer to that described by
SPSS Statistical Algorithms. It results in better classification of
"real" data, and better seperated cluster centers.
It also provides a few subcommands which were previously not
implemented.
John Darrington [Mon, 9 Nov 2015 17:23:19 +0000 (18:23 +0100)]
Quick Cluster: Print an error instead of failing silently
when bad syntax is given
John Darrington [Sat, 7 Nov 2015 10:06:20 +0000 (11:06 +0100)]
Quick Cluster: Add horizontal rule in cluster membership table.
This is consistent with other tables, and I think it looks better.
John Darrington [Fri, 6 Nov 2015 18:59:13 +0000 (19:59 +0100)]
Avoid possible overflow in fn_identity.
John Darrington [Tue, 3 Nov 2015 20:45:52 +0000 (21:45 +0100)]
Fix crash on w32
John Darrington [Mon, 2 Nov 2015 17:57:08 +0000 (18:57 +0100)]
Fix typo in NEWS file
John Darrington [Sat, 31 Oct 2015 15:50:19 +0000 (16:50 +0100)]
Updated version number to 0.9.0 ( 9 indicating unstable version )
We should have done this as soon as gtk3 was merged but we didn't
John Darrington [Sat, 31 Oct 2015 11:56:42 +0000 (12:56 +0100)]
get_default_paper_size: Use access instead of fn_exists
The latter has portability problems. Also access checks that the file is readable not only
that it exists.
John Darrington [Thu, 29 Oct 2015 19:11:36 +0000 (20:11 +0100)]
Fixed problem building documentation in absence of xmllint
This change fixes two problems:
1. XMLLINT was only checked in configure if --without-cairo was not given. However,
the documentation (may) require it.
2. The file doc/help-pages-list needed to be shipped. Otherwise the docs need to be rebuilt which
is not desired for users
John Darrington [Sun, 25 Oct 2015 19:14:55 +0000 (20:14 +0100)]
Use a better method of identifying files on w32
John Darrington [Tue, 27 Oct 2015 20:23:06 +0000 (21:23 +0100)]
Remove unused functions fn_dir_name fn_getenv and fn_getenv_default
John Darrington [Sun, 25 Oct 2015 06:54:15 +0000 (07:54 +0100)]
dfm_writer_error: Correct comment
John Darrington [Sat, 24 Oct 2015 06:53:09 +0000 (08:53 +0200)]
Remove unused function fn_is_special