pspp
8 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sun, 21 Jun 2015 17:07:06 +0000 (10:07 -0700)]
po: Update translations from translationproject.org.

8 years agoconfigure: With -Werror, add -Wno-error=deprecated-declarations.
Ben Pfaff [Sun, 21 Jun 2015 17:05:29 +0000 (10:05 -0700)]
configure: With -Werror, add -Wno-error=deprecated-declarations.

The PSPP code for GTK+3 still uses several deprecated interfaces, so
using -Werror without -Wno-error=deprecated-declarations prevents the tree
from compiling.

I hope that this is a temporary measure.

8 years agopspp-sheet-view: Removed unused variable.
Ben Pfaff [Sun, 21 Jun 2015 17:01:29 +0000 (10:01 -0700)]
pspp-sheet-view: Removed unused variable.

Commit 9682fa965a7d (fixed scrolling of edited cell - fixes bug #45113)
removed all uses of local variable 'requisition' from
pspp_sheet_view_real_start_editing(), but did not remove the declaration.
This commit removes the declaration.

Fixes a warning reported by GCC 4.9.1.

8 years agopspp-sheet-view: Remove write-only variable from pspp_sheet_view_draw_bin().
Ben Pfaff [Sun, 21 Jun 2015 16:59:17 +0000 (09:59 -0700)]
pspp-sheet-view: Remove write-only variable from pspp_sheet_view_draw_bin().

Commit 9682fa965 (fixed scrolling of edited cell - fixes bug #45113)
removed the only code that uses the variable of 'has_special_cell' from
pspp_sheet_view_draw_bin(), but retained the code that set its value.
This commit removes the variable entirely.

This fixes a warning reported by GCC 4.9.1.

8 years agoMerge "gtk3" branch into "master".
Ben Pfaff [Sun, 21 Jun 2015 16:33:22 +0000 (09:33 -0700)]
Merge "gtk3" branch into "master".

8 years agoMissing value dialog: Simplify error dialog.
John Darrington [Sun, 21 Jun 2015 10:21:54 +0000 (12:21 +0200)]
Missing value dialog: Simplify error dialog.

This also avoids the use of deprecated API features.

8 years agoGRAPH: Correct spacing and punctuation of error message
John Darrington [Sun, 21 Jun 2015 08:43:21 +0000 (10:43 +0200)]
GRAPH: Correct spacing and punctuation of error message

8 years agoPsppireOutputView redefined parameter y to be of type long.
John Darrington [Sun, 21 Jun 2015 06:10:46 +0000 (08:10 +0200)]
PsppireOutputView redefined parameter y to be of type long.

The variable y was defined as int, but being cast to long when set in the tree store.  This seems like it
could give rise to integer overflow.  This change redefines y to be of type long.

Possibly related to bug #45272

8 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sat, 20 Jun 2015 23:11:41 +0000 (16:11 -0700)]
po: Update translations from translationproject.org.

8 years agoReplace deprecated functions
John Darrington [Sat, 20 Jun 2015 19:39:59 +0000 (21:39 +0200)]
Replace deprecated functions

8 years agoMerge remote-tracking branch 'origin/master' into gtk3
John Darrington [Sat, 20 Jun 2015 18:29:42 +0000 (20:29 +0200)]
Merge remote-tracking branch 'origin/master' into gtk3

Conflicts:
src/math/chart-geometry.c
src/output/cairo-chart.c
src/output/charts/plot-hist-cairo.c
tests/math/chart-geometry.at

8 years agoUpdate version number to 0.8.5.
Ben Pfaff [Sat, 20 Jun 2015 16:29:55 +0000 (09:29 -0700)]
Update version number to 0.8.5.

8 years agoGtk3: Fix font selection of variable and dataview.
John Darrington [Fri, 19 Jun 2015 09:00:51 +0000 (11:00 +0200)]
Gtk3: Fix font selection of variable and dataview.

Closes bug #45337

8 years agogtk_widget_modify_font -> gtk_widget_override_font
John Darrington [Thu, 18 Jun 2015 19:18:59 +0000 (21:18 +0200)]
gtk_widget_modify_font -> gtk_widget_override_font

8 years agoMove version dependent constructs to gtk.in.h
John Darrington [Thu, 18 Jun 2015 15:06:18 +0000 (17:06 +0200)]
Move version dependent constructs to gtk.in.h

8 years agoChart Geometry: Fix Chart Ticks Format test
John Darrington [Thu, 18 Jun 2015 07:06:25 +0000 (09:06 +0200)]
Chart Geometry: Fix Chart Ticks Format test

A previous commit changed the expected output, but neglected to change a
test accordingly.  This change fixes that.

8 years agoCharts: internationalise representation of scientific format.
John Darrington [Wed, 17 Jun 2015 20:11:25 +0000 (22:11 +0200)]
Charts: internationalise representation of scientific format.

It seems that when representing real numbers in scientific
notation, there are several cultural conventions. This change
allows the translators to choose the convention best suited
to their locale.

8 years agocharts: switched from bullet operator to multiplication sign for numbers
Friedrich Beckmann [Wed, 17 Jun 2015 08:12:35 +0000 (10:12 +0200)]
charts: switched from bullet operator to multiplication sign for numbers

The previous switch to pango used the bullet operator for the display
of scientific numbers in charts. Now the numbers are displayed in the
form: 1.5x10^5 instead as 1.5.10^5.

8 years agocharts: switched from bullet operator to multiplication sign for numbers
Friedrich Beckmann [Wed, 17 Jun 2015 08:12:35 +0000 (10:12 +0200)]
charts: switched from bullet operator to multiplication sign for numbers

The previous switch to pango used the bullet operator for the display
of scientific numbers in charts. Now the numbers are displayed in the
form: 1.5x10^5 instead as 1.5.10^5.

8 years agoCorrect and expand comment to barchart_create
John Darrington [Tue, 16 Jun 2015 15:51:25 +0000 (17:51 +0200)]
Correct and expand comment to barchart_create

8 years agoRemove redundant prototype from src/data/variable.h: var_get_value_name.
John Darrington [Tue, 16 Jun 2015 15:32:27 +0000 (17:32 +0200)]
Remove redundant prototype from src/data/variable.h: var_get_value_name.

There was no definition corresponding to this declaration.

8 years agotests: Unset $TERM to avoid error if $TERM is set to an unknown terminal.
Ben Pfaff [Mon, 15 Jun 2015 15:22:17 +0000 (08:22 -0700)]
tests: Unset $TERM to avoid error if $TERM is set to an unknown terminal.

Reported by Friedrich Beckmann <friedrich.beckmann@gmx.de>.
See failed tests here:
https://launchpadlibrarian.net/209052134/buildlog_ubuntu-wily-i386.pspp_0.8.4-1_BUILDING.txt.gz

8 years agoplot-hist-cairo: Clip normal curve.
Ben Pfaff [Sun, 14 Jun 2015 21:24:20 +0000 (14:24 -0700)]
plot-hist-cairo: Clip normal curve.

Otherwise a tall normal curve can go way above the intended data
rectangle to spill out even beyond the page boundary, as shown in
the PDF examples in bug #45192.

8 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sun, 14 Jun 2015 20:44:38 +0000 (13:44 -0700)]
po: Update translations from translationproject.org.

8 years agogtk3 - output window: migrated to style context, less rerendering
Friedrich Beckmann [Sat, 13 Jun 2015 04:55:13 +0000 (06:55 +0200)]
gtk3 - output window: migrated to style context, less rerendering

I replaced the deprecated gtk_style_get with the style_context
constructs. The rerendering is now only called after size-allocation or
style updates. The xr fonts are only updated after a style-updated
signal. The style is now derived from the view class for the GtkLayout
widget.

8 years agooutput window: click on overview item adjusts output view (jump)
Friedrich Beckmann [Wed, 10 Jun 2015 19:44:17 +0000 (21:44 +0200)]
output window: click on overview item adjusts output view (jump)

On MacOS clicking on the overview item did not result in a correct
adjustment of the output window. The reason is that view->y is of type
integer but type long is stored in the treestore. This requires correct
type casting.

8 years agoreplaced decimal module, xrchart_scale with autoformat, histogram x-axis ticks changed.
Friedrich Beckmann [Sun, 7 Jun 2015 21:10:07 +0000 (23:10 +0200)]
replaced decimal module, xrchart_scale with autoformat, histogram x-axis ticks changed.

During gtk3 osx debugging the decimal unit crashed. I replaced the decimal computations
with traditional tick interval computation plus a printf format string generation which is
adapted to the chosen tick style.

The xrchart scales writing are adapted to use this mechanism. If the tick text is too long
to fit in the interval, then the tick label uses the existing rotation by 45 degrees. I added
some space below the x-axis to make the tick labels visible. Maybe the tick label placement
could also be done in two rows for the even and odd ticks.

The histogram x-axis tick generation is changed from a tick per bin to the usual
normal x-axis tick generation. This allows easier visual bin border identification.
The bin width is adapted to the chosen x-axis tick scale. Any number of bins can now
be visualized. This is according to the spss examples I found for the histograms.

Conflicts:
src/output/cairo-chart.c

8 years agocharts: changed scientifc number display from e+6 type to pango markup
Friedrich Beckmann [Thu, 4 Jun 2015 05:35:00 +0000 (07:35 +0200)]
charts: changed scientifc number display from e+6 type to pango markup

8 years agooutput window: click on overview item adjusts output view (jump)
Friedrich Beckmann [Wed, 10 Jun 2015 19:44:17 +0000 (21:44 +0200)]
output window: click on overview item adjusts output view (jump)

On MacOS clicking on the overview item did not result in a correct
adjustment of the output window. The reason is that view->y is of type
integer but type long is stored in the treestore. This requires correct
type casting.

8 years agooutput window: added allocation setting for drawing areas. fixes bug #45229.
Friedrich Beckmann [Wed, 10 Jun 2015 18:27:55 +0000 (20:27 +0200)]
output window: added allocation setting for drawing areas. fixes bug #45229.

I added allocation setting to the drawing areas in the output window. The
problem occured in osx gtk3 branch and is described in bug #45229. The
content of the output window was not rendered correctly in the initial
window but only after a resize. Setting the size request for the drawing
areas is not enough because the current allocation is not immediatly changed.
The clipping is based on the current allocation, while the drawing is based
on the results from the rerender function. This problem is related to
the problem described in bug #43362.

8 years agoreplaced decimal module, xrchart_scale with autoformat, histogram x-axis ticks changed.
Friedrich Beckmann [Sun, 7 Jun 2015 21:10:07 +0000 (23:10 +0200)]
replaced decimal module, xrchart_scale with autoformat, histogram x-axis ticks changed.

During gtk3 osx debugging the decimal unit crashed. I replaced the decimal computations
with traditional tick interval computation plus a printf format string generation which is
adapted to the chosen tick style.

The xrchart scales writing are adapted to use this mechanism. If the tick text is too long
to fit in the interval, then the tick label uses the existing rotation by 45 degrees. I added
some space below the x-axis to make the tick labels visible. Maybe the tick label placement
could also be done in two rows for the even and odd ticks.

The histogram x-axis tick generation is changed from a tick per bin to the usual
normal x-axis tick generation. This allows easier visual bin border identification.
The bin width is adapted to the chosen x-axis tick scale. Any number of bins can now
be visualized. This is according to the spss examples I found for the histograms.

8 years agocairo-chart: Use "Sans" instead of "sans serif" as font.
Ben Pfaff [Fri, 5 Jun 2015 03:09:24 +0000 (20:09 -0700)]
cairo-chart: Use "Sans" instead of "sans serif" as font.

This fixes a bug on Windows, where Pango doesn't have a font
named "sans serif" but does have one named "Sans".

Reported and tested by Harry Thijssen.

8 years agocharts: changed scientifc number display from e+6 type to pango markup
Friedrich Beckmann [Thu, 4 Jun 2015 05:35:00 +0000 (07:35 +0200)]
charts: changed scientifc number display from e+6 type to pango markup

8 years agoFixed bug GRAPH /HISTOGRAM vs. null data.
John Darrington [Tue, 2 Jun 2015 08:26:06 +0000 (10:26 +0200)]
Fixed bug GRAPH /HISTOGRAM vs. null data.

Fixed a crash which occured when GRAPH /HISTOGRAM was called
on a dataset with less than 2 data.'

8 years agoExercise the GRAPH command in the split-file test
John Darrington [Tue, 2 Jun 2015 05:14:18 +0000 (07:14 +0200)]
Exercise the GRAPH command in the split-file test

8 years agoAdded src/ui/gui/memorandum.txt to EXTRA_DIST
John Darrington [Mon, 1 Jun 2015 05:03:02 +0000 (07:03 +0200)]
Added src/ui/gui/memorandum.txt to EXTRA_DIST

8 years agohistogram tick drawing - added format generation for optimum tick drawing
Friedrich Beckmann [Sun, 31 May 2015 22:20:01 +0000 (00:20 +0200)]
histogram tick drawing - added format generation for optimum tick drawing

Fixes bug #45192 which showed up in the gtk3 branch on MacOS.

It replaces the decimal_xxx computations with a routine that computes a
formatting string and a scale factor for a given axis range and number of
bins. The formatting will switch between normal and scientific depending on
the length of the displayed label text. The formatting is such that no
rounded numbers like 3.9999999 when in fact 4 is expected is shown.
Differences between bins remain visible in the tick labels.

In addition the width of the rendered labels is compared with the width
of the bins in the display such that the labels will automatically
switch between horizontal and 45 degree display.

8 years agohistogram tick drawing - added format generation for optimum tick drawing
Friedrich Beckmann [Sun, 31 May 2015 22:20:01 +0000 (00:20 +0200)]
histogram tick drawing - added format generation for optimum tick drawing

Fixes bug #45192 which showed up in the gtk3 branch on MacOS.

It replaces the decimal_xxx computations with a routine that computes a
formatting string and a scale factor for a given axis range and number of
bins. The formatting will switch between normal and scientific depending on
the length of the displayed label text. The formatting is such that no
rounded numbers like 3.9999999 when in fact 4 is expected is shown.
Differences between bins remain visible in the tick labels.

In addition the width of the rendered labels is compared with the width
of the bins in the display such that the labels will automatically
switch between horizontal and 45 degree display.

8 years agoValue Label Dialog: Do not attempt to read selection if there is none.
John Darrington [Sun, 31 May 2015 20:34:42 +0000 (22:34 +0200)]
Value Label Dialog: Do not attempt to read selection if there is none.

Fixes bug #45215.

8 years agoValue Label Dialog: Do not attempt to read selection if there is none.
John Darrington [Sun, 31 May 2015 20:34:42 +0000 (22:34 +0200)]
Value Label Dialog: Do not attempt to read selection if there is none.

Fixes bug #45215.

8 years agoNew file for developers: memorandum.txt
John Darrington [Sun, 31 May 2015 13:34:47 +0000 (15:34 +0200)]
New file for developers: memorandum.txt

This short text very briefly describes the steps to add a new GUI dialog to Psppire.

8 years agoQUICK CLUSTER: Fix infinite loop on bad command name.
Ben Pfaff [Sat, 30 May 2015 23:13:30 +0000 (16:13 -0700)]
QUICK CLUSTER: Fix infinite loop on bad command name.

Reported by Alan Mead.

8 years agoSmake: build from git on Mac OSX
Friedrich Beckmann [Fri, 29 May 2015 12:32:59 +0000 (14:32 +0200)]
Smake: build from git on Mac OSX

8 years agoremoved references to psppire-dialog orientation property
Friedrich Beckmann [Thu, 28 May 2015 21:47:28 +0000 (23:47 +0200)]
removed references to psppire-dialog orientation property

8 years agofixed scrolling of edited cell - fixes bug #45113
Friedrich Beckmann [Thu, 28 May 2015 20:26:03 +0000 (22:26 +0200)]
fixed scrolling of edited cell - fixes bug #45113

8 years agoscatterplot: fixed compiler warnings
Friedrich Beckmann [Fri, 22 May 2015 09:37:35 +0000 (11:37 +0200)]
scatterplot: fixed compiler warnings

8 years agofixed the scroll-to-bottom; removed the size-request signal warning
Friedrich Beckmann [Sun, 24 May 2015 19:27:24 +0000 (21:27 +0200)]
fixed the scroll-to-bottom; removed the size-request signal warning

8 years agorepair glade; switched to gladeui-2.0; removed the internal-child in psppire-dialog.
Friedrich Beckmann [Fri, 22 May 2015 07:44:19 +0000 (09:44 +0200)]
repair glade; switched to gladeui-2.0; removed the internal-child in psppire-dialog.

9 years agoscatterplot: fixed compiler warnings
Friedrich Beckmann [Fri, 22 May 2015 09:37:35 +0000 (11:37 +0200)]
scatterplot: fixed compiler warnings

9 years agogtk3: replaced gtk_widget_register_window with older code depending on gtk version...
Friedrich Beckmann [Thu, 21 May 2015 21:46:22 +0000 (23:46 +0200)]
gtk3: replaced gtk_widget_register_window with older code depending on gtk version (pre 3.8)

9 years agogtk3 - fix to show selected cells with adwaita theme
Friedrich Beckmann [Thu, 21 May 2015 06:18:58 +0000 (08:18 +0200)]
gtk3 - fix to show selected cells with adwaita theme

9 years agogtk3 - adapted draw routine to gtk_cairo_should_draw_window. gtk-criticals with undef...
Friedrich Beckmann [Sun, 17 May 2015 13:01:16 +0000 (15:01 +0200)]
gtk3 - adapted draw routine to gtk_cairo_should_draw_window. gtk-criticals with undefined drag window disappeared. The gtk-criticals showed up in debian 8.

9 years agogtk3: Replace gdk_window_get_pointer with gdk_window_get_device_position
John Darrington [Wed, 20 May 2015 14:29:57 +0000 (16:29 +0200)]
gtk3: Replace gdk_window_get_pointer with gdk_window_get_device_position

9 years agoGtk+3: Replace deprecated gtk_layout_get_vadjustment with gtk_scrollable_get_vadjustment
John Darrington [Tue, 19 May 2015 16:12:37 +0000 (18:12 +0200)]
Gtk+3: Replace deprecated gtk_layout_get_vadjustment with gtk_scrollable_get_vadjustment

9 years agoGtk+3: Replace deprecated gtk_widget_size_request with gtk_widget_get_preferred_size
John Darrington [Tue, 19 May 2015 15:09:54 +0000 (17:09 +0200)]
Gtk+3: Replace deprecated gtk_widget_size_request with gtk_widget_get_preferred_size

9 years agoGtk+3: Replace deprecated gtk_cell_renderer_get_size with gtk_cell_renderer_get_prefe...
John Darrington [Tue, 19 May 2015 14:51:23 +0000 (16:51 +0200)]
Gtk+3: Replace deprecated gtk_cell_renderer_get_size with gtk_cell_renderer_get_preferred_width

9 years agogtk3 - added NULL check to tt_test_options_dialog_destroy - psppire crashed during...
Friedrich Beckmann [Sun, 17 May 2015 14:20:57 +0000 (16:20 +0200)]
gtk3 - added NULL check to tt_test_options_dialog_destroy - psppire crashed during exit on debian 8

9 years agogtk3 - added NULL check to tt_test_options_dialog_destroy - psppire crashed during...
Friedrich Beckmann [Sun, 17 May 2015 14:20:57 +0000 (16:20 +0200)]
gtk3 - added NULL check to tt_test_options_dialog_destroy - psppire crashed during exit on debian 8

9 years agoFix GtkCritical whilst displaying last line of variable view.
John Darrington [Sun, 17 May 2015 06:20:04 +0000 (08:20 +0200)]
Fix GtkCritical whilst displaying last line of variable view.

Closes bug #45112

9 years agoFix GtkCritical whilst displaying last line of variable view.
John Darrington [Sun, 17 May 2015 06:20:04 +0000 (08:20 +0200)]
Fix GtkCritical whilst displaying last line of variable view.

Closes bug #45112

9 years agoFix crash when cancelling variable type dialog.
John Darrington [Sat, 16 May 2015 12:25:25 +0000 (14:25 +0200)]
Fix crash when cancelling variable type dialog.

Fixes bug #45114

9 years agoFix crash when cancelling variable type dialog.
John Darrington [Sat, 16 May 2015 12:25:25 +0000 (14:25 +0200)]
Fix crash when cancelling variable type dialog.

Fixes bug #45114

9 years agoSheet View optimisation: Do not attempt to draw sheet cells which lie outside of...
John Darrington [Thu, 14 May 2015 17:01:24 +0000 (19:01 +0200)]
Sheet View optimisation: Do not attempt to draw sheet cells which lie outside of the exposed area.

9 years agofixed initial show of names in header window. Variable names only showed up after...
Friedrich Beckmann [Sun, 3 May 2015 20:22:02 +0000 (22:22 +0200)]
fixed initial show of names in header window. Variable names only showed up after switching between variable and data window. The reason is that the buttons of the columns are not created. This is due to interdependency between the size allocation and the button creation. I removed the need_button mechanism.

9 years agoFixed horizontal scrolling for header window (variable names)
Friedrich Beckmann [Sun, 3 May 2015 18:50:31 +0000 (20:50 +0200)]
Fixed horizontal scrolling for header window (variable names)

9 years agomerge master->gtk3, fixed psppire-output-view.c refactoring; this compiles and runs...
Friedrich Beckmann [Fri, 1 May 2015 09:04:20 +0000 (11:04 +0200)]
merge master->gtk3, fixed psppire-output-view.c refactoring; this compiles and runs but the window update is only working partly

9 years agoSwitch the order in which scatterplot axes appear in the graphic's caption.
Friedrich Beckmann [Fri, 24 Apr 2015 16:53:13 +0000 (18:53 +0200)]
Switch the order in which scatterplot axes appear in the graphic's caption.

Hulliger Beat <beat.hulliger@fhnw.ch> Reported that scatterplots were titled 'x vs. y'
where x and y were opposite to what is conventional.  This change fixes that.

9 years agoAllow data used by GRAPH /SCATTERPLOT to persist after the procedure has ended.
Friedrich Beckmann [Fri, 24 Apr 2015 16:42:57 +0000 (18:42 +0200)]
Allow data used by GRAPH /SCATTERPLOT to persist after the procedure has ended.

Fixes bug #44877

9 years agoWhitespace changes only.
Friedrich Beckmann [Fri, 24 Apr 2015 16:21:11 +0000 (18:21 +0200)]
Whitespace changes only.

9 years agopo: Update translations from translationproject.org.
Ben Pfaff [Thu, 23 Apr 2015 01:56:16 +0000 (18:56 -0700)]
po: Update translations from translationproject.org.

9 years agoUpdate glib requirements to version 2.32 or later
John Darrington [Wed, 8 Apr 2015 08:54:35 +0000 (10:54 +0200)]
Update glib requirements to version 2.32 or later

9 years agopo: Update translations from translationproject.org.
Ben Pfaff [Thu, 26 Mar 2015 04:47:17 +0000 (21:47 -0700)]
po: Update translations from translationproject.org.

9 years agopo: Add Chinese (simplified) translation.
Ben Pfaff [Sat, 14 Mar 2015 19:38:43 +0000 (12:38 -0700)]
po: Add Chinese (simplified) translation.

9 years agohelp-pages-list: Distribute.
Ben Pfaff [Tue, 10 Mar 2015 02:45:32 +0000 (19:45 -0700)]
help-pages-list: Distribute.

Otherwise "make distcheck" will have to regenerate it, which means
that it will have to regenerate doc/pspp.xml (because it depends on
help-pages-list) but that's not possible under "make distcheck"
because it makes the source directory read-only.

Found by PSPP autobuilder.

9 years agoRELIABILITY: Ignore STATISTICS subcommand.
Ben Pfaff [Sun, 8 Mar 2015 20:41:01 +0000 (13:41 -0700)]
RELIABILITY: Ignore STATISTICS subcommand.

Statistics aren't yet implemented but it's more friendly to produce
everything we can than to fail the whole command.

Thanks to Tom Smekens for reporting the problem.

9 years agoconfigure: Create "doc" directory in build directory.
Ben Pfaff [Sun, 8 Mar 2015 20:34:10 +0000 (13:34 -0700)]
configure: Create "doc" directory in build directory.

Otherwise we get build failures from the autobuilder when the rule
in gui/automake.mk tries to create doc/help-pages-list.  Problem
introduced in commit 531de52e961c (PsppireDialog: New property:
help-page).

Developers probably didn't notice this problem because they probably
already had doc/ directories in their build directories due to
building PDF versions of the documentation at one time or another, or
because they do builds in the source directory.

Found by examining autobuilder failures.

9 years agoFACTOR: Support ANALYSIS subcommand.
Ben Pfaff [Sun, 8 Mar 2015 20:20:26 +0000 (13:20 -0700)]
FACTOR: Support ANALYSIS subcommand.

This appears in syntax generated by SPSS.

Thanks to Tom Smekens for reporting the omission.

9 years agoexpressions: Add support for 2- and 3-operand RND function.
Ben Pfaff [Sat, 7 Mar 2015 08:36:42 +0000 (00:36 -0800)]
expressions: Add support for 2- and 3-operand RND function.

Requested by Tom Smekens.

9 years agoFREQUENCIES: Accept (but ignore) ORDER subcommand.
Ben Pfaff [Sat, 7 Mar 2015 07:47:36 +0000 (23:47 -0800)]
FREQUENCIES: Accept (but ignore) ORDER subcommand.

Allows syntax generated by SPSS to work.

Reported by Tom Smekens.

9 years agoRENAME VARIABLES: Make parentheses optional for single variables.
Ben Pfaff [Fri, 6 Mar 2015 05:27:56 +0000 (21:27 -0800)]
RENAME VARIABLES: Make parentheses optional for single variables.

This matches SPSS documented behavior.

Reported by Tom Smekens.

9 years agopsppire-dialog: Fix incompatible pointer type.
Ben Pfaff [Fri, 6 Mar 2015 04:43:50 +0000 (20:43 -0800)]
psppire-dialog: Fix incompatible pointer type.

9 years agodoc: Fix use of $(AM_V_at).
Ben Pfaff [Fri, 6 Mar 2015 04:43:31 +0000 (20:43 -0800)]
doc: Fix use of $(AM_V_at).

It has to come at the beginning of the command since it expands to
@ and only "make" (not the shell) understands that.

9 years agodoc: Document decryption support in pspp-convert.
Ben Pfaff [Tue, 24 Feb 2015 16:30:08 +0000 (08:30 -0800)]
doc: Document decryption support in pspp-convert.

Reported by tylar <murray.tylar@gmail.com>.

9 years agoFrequencies Dialog: Add the ability to specify a bar chart
John Darrington [Sat, 21 Feb 2015 12:27:24 +0000 (13:27 +0100)]
Frequencies Dialog: Add the ability to specify a bar chart

9 years agoPsppireDialog: New property: help-page
John Darrington [Sun, 15 Feb 2015 16:26:00 +0000 (17:26 +0100)]
PsppireDialog: New property: help-page

New property to indicate the manual page which should be opened
when the Help button is clicked.

9 years agodoc: MATCH FILES/ADD FILES/UPDATE can combine any number of files.
Ben Pfaff [Mon, 16 Feb 2015 17:33:43 +0000 (09:33 -0800)]
doc: MATCH FILES/ADD FILES/UPDATE can combine any number of files.

Suggested by Daniel Schlieper.

9 years agotests/math/decimal-test.c (canonicalise-string): Fix uninitialised return value
John Darrington [Mon, 16 Feb 2015 08:17:12 +0000 (09:17 +0100)]
tests/math/decimal-test.c (canonicalise-string): Fix uninitialised return value

9 years agoCOUNT: Correct treatment of missing values.
Ben Pfaff [Sun, 15 Feb 2015 22:52:11 +0000 (14:52 -0800)]
COUNT: Correct treatment of missing values.

COUNT didn't properly handle user-missing values or the MISSING
keyword.  This corrects the problem.

Thanks to ftr <news.ftr@free.fr> for reporting this bug.
Bug #44157.

9 years agoSmake: Made the configure target slightly more fail safe
John Darrington [Sun, 15 Feb 2015 12:08:59 +0000 (13:08 +0100)]
Smake: Made the configure target slightly more fail safe

9 years agoMakefile rule pspp.xml: Simplify slightly
John Darrington [Sun, 15 Feb 2015 11:56:29 +0000 (12:56 +0100)]
Makefile rule pspp.xml: Simplify slightly

9 years agoExamine Dialog: Fix widget focus order
John Darrington [Sat, 14 Feb 2015 19:39:21 +0000 (20:39 +0100)]
Examine Dialog: Fix widget focus order

9 years agoDialog boxes: Grab focus of the source widget on reset
John Darrington [Sat, 14 Feb 2015 14:19:33 +0000 (15:19 +0100)]
Dialog boxes:  Grab focus of the source widget on reset

9 years agoMinor update to documentation for FREQUENCIES
John Darrington [Thu, 12 Feb 2015 19:38:11 +0000 (20:38 +0100)]
Minor update to documentation for FREQUENCIES

9 years agoDocumentation: Tidy up notes about histogram bin widths
John Darrington [Mon, 9 Feb 2015 06:37:36 +0000 (07:37 +0100)]
Documentation: Tidy up notes about histogram bin widths

9 years agoAdded the /BARCHART option to CROSSTABS
John Darrington [Sat, 24 Jan 2015 15:42:07 +0000 (16:42 +0100)]
Added the /BARCHART option to CROSSTABS

9 years agotests/chart.at: -O format=csv changed to -o pspp.txt
John Darrington [Sat, 7 Feb 2015 13:13:24 +0000 (14:13 +0100)]
tests/chart.at: -O format=csv changed to -o pspp.txt

If no output file is specified, no charts get generated.  Since these
tests are "no crash only" tests, we want to exercise as much code as
possible

9 years agoCorrected typo in syntax generation for value chooser.
John Darrington [Mon, 2 Feb 2015 07:28:03 +0000 (08:28 +0100)]
Corrected typo in syntax generation for value chooser.

Closes bug #43623

9 years agoRemove untrue statement from comment
John Darrington [Fri, 23 Jan 2015 18:26:26 +0000 (19:26 +0100)]
Remove untrue statement from comment

9 years agoEnsure that example_dir is relocatable.
John Darrington [Fri, 23 Jan 2015 18:23:43 +0000 (19:23 +0100)]
Ensure that example_dir is relocatable.

commit be1157c5591142920a95d587acf97f5eaf3d04fe added a reference to the
installed data directory.  Unfortunately I forgot to allow for relocatable
installations.  This change fixes that.

9 years agoAdd examples directory "shortcut" to file_open dialog
John Darrington [Thu, 22 Jan 2015 19:56:19 +0000 (20:56 +0100)]
Add examples directory "shortcut" to file_open dialog