pspp
8 years agomore work on datasets dataset
Ben Pfaff [Sun, 13 Mar 2016 17:36:23 +0000 (10:36 -0700)]
more work on datasets

8 years agoRevert "work on datasets"
Ben Pfaff [Mon, 29 Feb 2016 01:58:59 +0000 (17:58 -0800)]
Revert "work on datasets"

This reverts commit 010daea9171954c6e003ff96b29b67c027e56ced.

8 years agowork on datasets
Ben Pfaff [Sun, 28 Feb 2016 17:57:53 +0000 (09:57 -0800)]
work on datasets

8 years agodoc: Document that value labels are case sensitive.
Ben Pfaff [Sun, 13 Mar 2016 17:10:35 +0000 (10:10 -0700)]
doc: Document that value labels are case sensitive.

This was not documented and a user found it surprising.

Also, long string variables can now be labeled.

Reported by Robert Pittman.

8 years agoEnable case insensitivity test.
John Darrington [Sun, 13 Mar 2016 12:19:10 +0000 (13:19 +0100)]
Enable case insensitivity test.

The operative part of this test seemed to have been inadvertently omitted.

8 years agoPsppireKeypad: Remove gdkkeysyms-compat.h
John Darrington [Mon, 7 Mar 2016 18:16:00 +0000 (19:16 +0100)]
PsppireKeypad: Remove gdkkeysyms-compat.h

8 years agoPipe read test: Replace "echo" with "printf"
John Darrington [Fri, 4 Mar 2016 19:09:00 +0000 (20:09 +0100)]
Pipe read test: Replace "echo" with "printf"

This test was failing on GuixSD

8 years agoDATA LIST: Do not treat the comma as a field separator if DECIMAL=COMMA
John Darrington [Tue, 1 Mar 2016 18:28:20 +0000 (19:28 +0100)]
DATA LIST: Do not treat the comma as a field separator if DECIMAL=COMMA

Closes bug #47253

8 years agoSpeed up rendering of columns in sheet.
John Darrington [Tue, 1 Mar 2016 05:24:54 +0000 (06:24 +0100)]
Speed up rendering of columns in sheet.

This change causes _pspp_sheet_view_install_mark_rows_col_dirty to be called once
per sheet, instead of once per column when adding/deleting columns.  Hence there
is a significant speed improvement when dealing with a data sheet with a large
number of variables.

Fixes bug #47090

8 years agopsppire: Remove unused function.
Ben Pfaff [Sun, 28 Feb 2016 00:47:27 +0000 (16:47 -0800)]
psppire: Remove unused function.

8 years agogui: Add some generated files to .gitignore files.
Ben Pfaff [Sat, 27 Feb 2016 22:53:59 +0000 (14:53 -0800)]
gui: Add some generated files to .gitignore files.

Reported by Friedrich Beckmann.
Bug #47265.

8 years agoRemove attempts do destroy windows before quit.
John Darrington [Fri, 26 Feb 2016 16:39:48 +0000 (17:39 +0100)]
Remove attempts do destroy windows before quit.

This change deletes an attempt to remove all existing
windows from a list (and thereby unreffing and deleting them).
The attempt fails, because lists may not be altered whilst
iterating them.  This resulted only in a Critical Warning.

It is also pointless to attempt to destroy windows immediately
priot to quit.

8 years agoUpdated de.po from translationproject.org
John Darrington [Fri, 26 Feb 2016 15:29:25 +0000 (16:29 +0100)]
Updated de.po from translationproject.org

8 years agopsppire-selector.c: Remove unused preprocessor macro
John Darrington [Fri, 29 Jan 2016 07:02:47 +0000 (08:02 +0100)]
psppire-selector.c: Remove unused preprocessor macro

8 years agoFix several cases where lex_integer() or lex_number() could assert-fail.
Ben Pfaff [Sun, 21 Feb 2016 19:51:05 +0000 (11:51 -0800)]
Fix several cases where lex_integer() or lex_number() could assert-fail.

The caller always needs to make sure in advance that the token is in fact
an integer or a number.

8 years agoEXAMINE: Fix memory leak in box-whisker plots.
Ben Pfaff [Sun, 21 Feb 2016 05:38:38 +0000 (21:38 -0800)]
EXAMINE: Fix memory leak in box-whisker plots.

Found by valgrind.
Reported by John Darrington.
Bug #47074.

8 years agorender: Fix memory leaks in rendering.
Ben Pfaff [Sun, 21 Feb 2016 05:21:06 +0000 (21:21 -0800)]
render: Fix memory leaks in rendering.

References were being taken that should not have been.

Found by valgrind.
Reported by John Darrington.
Bug #47074.

8 years agocairo: Fix memory leak of pango_layout_iter.
Ben Pfaff [Sun, 21 Feb 2016 05:20:03 +0000 (21:20 -0800)]
cairo: Fix memory leak of pango_layout_iter.

Found by valgrind.
Reported by John Darrington.
Bug #47074.

8 years agotable: Fix memory leak.
Ben Pfaff [Sun, 21 Feb 2016 04:29:38 +0000 (20:29 -0800)]
table: Fix memory leak.

table_create_nested_item() was documented to take ownership of its
argument but in fact it took a reference on it, creating a leak.

Found by valgrind.
Reported by John Darrington.
Bug #47074.

8 years agopc+-file-reader: Fix memory leak.
Ben Pfaff [Sun, 21 Feb 2016 04:05:12 +0000 (20:05 -0800)]
pc+-file-reader: Fix memory leak.

Found by valgrind.

8 years agoexpressions: Implement the REPLACE string function.
Ben Pfaff [Sun, 21 Feb 2016 01:12:17 +0000 (17:12 -0800)]
expressions: Implement the REPLACE string function.

Requested by Frans Houweling.

8 years agoexpressions: Merge all the little generator programs into generate.pl.
Ben Pfaff [Sun, 21 Feb 2016 00:43:21 +0000 (16:43 -0800)]
expressions: Merge all the little generator programs into generate.pl.

The little generator programs had a bizarre flaw: they silently produced
no output if there was an error parsing their input.  This was due to the
use of the Perl "do" construct for executing generate.pl, which just
returns the message if the nested code exits with "die".  I know that the
generators actually worked better at one point...

Anyway, the simplest solution seems to be to just merge all the little
output generator programs into generate.pl.  It doesn't make the code any
harder to understand, so that's what this commit does.

8 years agoMakefiles: Fix use of $(AM_V_at) in makefile rules.
Ben Pfaff [Sun, 21 Feb 2016 00:33:54 +0000 (16:33 -0800)]
Makefiles: Fix use of $(AM_V_at) in makefile rules.

These are only for use at the beginning of a rule and cause weirdness in
the middle since they expand to directives that begin with @, which "make"
understands but the shell does not.

8 years agopspp-convert: Fix use of uninitialized data in error case.
Ben Pfaff [Sat, 20 Feb 2016 18:14:22 +0000 (10:14 -0800)]
pspp-convert: Fix use of uninitialized data in error case.

Found by GCC.

8 years agosys-file-reader: Read system files with multiple subtype-18 extensions.
Ben Pfaff [Sat, 20 Feb 2016 18:12:48 +0000 (10:12 -0800)]
sys-file-reader: Read system files with multiple subtype-18 extensions.

These are written by "Stata 14.1/-savespss- 1.77 by S.Radyakin".  I think
it's really a bug in that writer, but if SPSS accepts these files then I
guess PSPP should too.

Reported by news <news.ftr@free.fr>.
Bug #47089.

8 years agoFREQUENCIES BARCHART: Honour then PERCENT option
John Darrington [Sat, 20 Feb 2016 12:12:06 +0000 (13:12 +0100)]
FREQUENCIES BARCHART: Honour then PERCENT option

Fixes bug: #47180

8 years agoMISSING VALUES: Report an error when too many missing values are specified.
Ben Pfaff [Sat, 20 Feb 2016 05:35:53 +0000 (21:35 -0800)]
MISSING VALUES: Report an error when too many missing values are specified.

Reported by news <news.ftr@free.fr>.

8 years agoBarchart.c: Change type of flag from int to bool
John Darrington [Thu, 18 Feb 2016 07:23:28 +0000 (08:23 +0100)]
Barchart.c: Change type of flag from int to bool

8 years agoDo not attempt to draw whiskers on boxplots if they are NaN.
John Darrington [Thu, 18 Feb 2016 06:56:42 +0000 (07:56 +0100)]
Do not attempt to draw whiskers on boxplots if they are NaN.

Reported by: Friedrich Beckmann

Closes Bug: #47140

8 years agoFixed bug where an empty chart (one with no data) would crash.
John Darrington [Thu, 18 Feb 2016 05:51:07 +0000 (06:51 +0100)]
Fixed bug where an empty chart (one with no data) would crash.

Reported by: Friedrich Beckmann
Fixes bug: #47181

8 years agoBoxplot: Do not attempt to draw whiskers if they are not defined
John Darrington [Tue, 16 Feb 2016 11:35:17 +0000 (12:35 +0100)]
Boxplot: Do not attempt to draw whiskers if they are not defined

8 years agohistogram - added another upper bin to include cases which have max values
Friedrich Beckmann [Tue, 16 Feb 2016 09:30:32 +0000 (10:30 +0100)]
histogram - added another upper bin to include cases which have max values

This fixes the problem that cases which have values exactly at the upper
bin limit of the upper bin are not included in the binning. The fix
is based on the idea from John to just add another bin when the bin
limit is just equal to the maximum case value.

8 years agoRevert "histogram - fixed missing cases which have the maximum value"
Friedrich Beckmann [Tue, 16 Feb 2016 09:16:22 +0000 (10:16 +0100)]
Revert "histogram - fixed missing cases which have the maximum value"

This reverts commit ca4012bcf0f8790ceb8539b55bbc296d0802d5d7.

8 years agohistogram - changed bin range computation
Friedrich Beckmann [Mon, 15 Feb 2016 18:40:22 +0000 (19:40 +0100)]
histogram - changed bin range computation

The bin range computation for the histogram showed bin limits at 4.999999
when 5.0 was expected. Added values with value 5.0 were therefore added
to the following bin. With this change the bin limits do not show the
rounding error. At least I could not reproduce the error that showed
up when using the routing from gsl_histogram_set_ranges_uniform.

8 years agohistogram - fixed missing cases which have the maximum value
Friedrich Beckmann [Mon, 15 Feb 2016 18:26:43 +0000 (19:26 +0100)]
histogram - fixed missing cases which have the maximum value

The histogram uses gsl_histogram routines which exclude values from
the last bin when the value is exactly the maximum value, i.e. the upper
value of the last bin. This results in excluded cases in the histogram.

This fixes bug #47139: https://savannah.gnu.org/bugs/?47139

8 years agoMacOS build - fixed src/libpspp/automake.c version.c generation
Friedrich Beckmann [Sun, 14 Feb 2016 19:44:15 +0000 (20:44 +0100)]
MacOS build - fixed src/libpspp/automake.c version.c generation

The build on MacOS failed because echo introduces newlines which
produces syntax errors in the generated version.c file. I replaced the
echo with printf.

Fixes bug #47143: http://savannah.gnu.org/bugs/?47143

8 years agoUpdate fr.po from translationproject.org
John Darrington [Tue, 9 Feb 2016 01:52:33 +0000 (02:52 +0100)]
Update fr.po from translationproject.org

8 years agoCorrect error in Mann-Whitney test
John Darrington [Fri, 5 Feb 2016 12:00:35 +0000 (13:00 +0100)]
Correct error in Mann-Whitney test

Fixes bug #47041

8 years agoFix memory leak in pspp-convert
John Darrington [Thu, 4 Feb 2016 07:02:27 +0000 (08:02 +0100)]
Fix memory leak in pspp-convert

8 years agoFix memory leak when writing compressed sav files
John Darrington [Wed, 3 Feb 2016 16:43:23 +0000 (17:43 +0100)]
Fix memory leak when writing compressed sav files

8 years agoFix memory leak pspp-convert
John Darrington [Wed, 3 Feb 2016 09:30:13 +0000 (10:30 +0100)]
Fix memory leak pspp-convert

8 years agoFix memory leak in SYSFILE command
John Darrington [Wed, 3 Feb 2016 08:25:11 +0000 (09:25 +0100)]
Fix memory leak in SYSFILE command

8 years agoFix memory leak which occured when iconv failed
John Darrington [Wed, 3 Feb 2016 07:49:46 +0000 (08:49 +0100)]
Fix memory leak which occured when iconv failed

8 years agoFix memory leak in render-test.c
John Darrington [Wed, 3 Feb 2016 07:07:45 +0000 (08:07 +0100)]
Fix memory leak in render-test.c

8 years agoRemove some g_param_spec_ strings from the translation domain
John Darrington [Tue, 2 Feb 2016 18:55:22 +0000 (19:55 +0100)]
Remove some g_param_spec_ strings from the translation domain

8 years agoSave File test: Restore permissions after test
John Darrington [Tue, 2 Feb 2016 18:48:38 +0000 (19:48 +0100)]
Save File test: Restore permissions after test

This avoids annoyance when debugging.

8 years agoFix memory leak in barcharts
John Darrington [Mon, 1 Feb 2016 11:18:10 +0000 (12:18 +0100)]
Fix memory leak in barcharts

8 years agoFrequencies: Fix some memory leaks
John Darrington [Mon, 1 Feb 2016 09:54:39 +0000 (10:54 +0100)]
Frequencies: Fix some memory leaks

8 years agospreadsheet: Avoid sharing a dictionary between spreadsheet and client.
Ben Pfaff [Sun, 31 Jan 2016 20:28:54 +0000 (12:28 -0800)]
spreadsheet: Avoid sharing a dictionary between spreadsheet and client.

Spreadsheet implementations keep a copy of the dictionary that they build
to simplify reading cases.  Until now, they shared that dictionary, in a
modifiable way, with their client.  This meant, however, that if the client
modified the dictionary, it could screw up reading further cases from the
spreadsheet.

This commit fixes the problem by forcing clients to make their own copy of
the dictionary if they want to modify it.

Bug #44158.

8 years agoUnivariate Dialog: Fix help-page
John Darrington [Sun, 31 Jan 2016 08:53:17 +0000 (09:53 +0100)]
Univariate Dialog: Fix help-page

8 years agoUnivariate Dialog: Set margins
John Darrington [Sun, 31 Jan 2016 08:39:24 +0000 (09:39 +0100)]
Univariate Dialog: Set margins

8 years agoSet visibility on univariate dialog
John Darrington [Sun, 31 Jan 2016 08:34:20 +0000 (09:34 +0100)]
Set visibility on univariate dialog

8 years agoCorrect the use of signals vs. events.
John Darrington [Sat, 30 Jan 2016 20:46:07 +0000 (21:46 +0100)]
Correct the  use of signals vs. events.

Commit f8fdc760d4ee04801a2da8af0700b2a87f724ae4 used a button-press-event
where a toggled signal was appropriate.  The signal might come from a
number of sources, not necesarily a button event.

8 years agoUse win32 functions for accessing filename
John Darrington [Wed, 27 Jan 2016 19:18:20 +0000 (20:18 +0100)]
Use win32 functions for accessing filename

8 years agoRemove commented out code
John Darrington [Sat, 30 Jan 2016 17:59:28 +0000 (18:59 +0100)]
Remove commented out code

8 years agoReimplement the Windows menu.
John Darrington [Sat, 30 Jan 2016 10:45:28 +0000 (11:45 +0100)]
Reimplement the Windows menu.

Fixes bug #45253

8 years agoRemove g_mem_set_vtable
John Darrington [Wed, 27 Jan 2016 18:40:16 +0000 (19:40 +0100)]
Remove g_mem_set_vtable

This function is deprecated.

8 years agoGLM: remove warning
John Darrington [Tue, 19 Jan 2016 07:36:57 +0000 (08:36 +0100)]
GLM: remove warning

8 years agoGLM: Do not print the intercept if the model is unbalanced
John Darrington [Tue, 19 Jan 2016 16:47:04 +0000 (17:47 +0100)]
GLM: Do not print the intercept if the model is unbalanced

I cannot find any reliable explanation of how to calculate this
figure for unbalanced models not what it actually means.  So
let's not even bother with it until an expert comes along.

8 years agoAdd documentation for GLM
John Darrington [Mon, 18 Jan 2016 12:16:51 +0000 (13:16 +0100)]
Add documentation for GLM

8 years agoPsppireDialogAction (generate_syntax): Change signature.
John Darrington [Fri, 22 Jan 2016 10:38:14 +0000 (11:38 +0100)]
PsppireDialogAction (generate_syntax): Change signature.

This function now takes a const parameter

8 years agoFix compiler warning
John Darrington [Fri, 22 Jan 2016 10:18:22 +0000 (11:18 +0100)]
Fix compiler warning

8 years agoSmake: ensure that the "all" target is the first
John Darrington [Fri, 22 Jan 2016 16:04:15 +0000 (17:04 +0100)]
Smake: ensure that the "all" target is the first

8 years agoInclude a dissuader for odd numbered minor releases
John Darrington [Mon, 18 Jan 2016 09:09:50 +0000 (10:09 +0100)]
Include a dissuader for odd numbered minor releases

8 years agoAppend a warning to the window title bar for odd versions.
John Darrington [Thu, 21 Jan 2016 18:56:07 +0000 (19:56 +0100)]
Append a warning to the window title bar for odd versions.

8 years agoPlace a warning on the splash screen for odd numbered releases
John Darrington [Thu, 21 Jan 2016 18:32:23 +0000 (19:32 +0100)]
Place a warning on the splash screen for odd numbered releases

8 years agoRecode Dialog: Convert to PsppireDialogAction
John Darrington [Tue, 19 Jan 2016 19:31:27 +0000 (20:31 +0100)]
Recode Dialog: Convert to PsppireDialogAction

8 years agoHelp menu now uses "version" instead of "bare version".
John Darrington [Mon, 18 Jan 2016 06:48:32 +0000 (07:48 +0100)]
Help menu now uses "version" instead of "bare version".

8 years agoConvert THANKS file to utf8
John Darrington [Mon, 18 Jan 2016 16:18:02 +0000 (17:18 +0100)]
Convert THANKS file to utf8

8 years agospv-file-format: Fix typo.
Ben Pfaff [Sun, 17 Jan 2016 18:22:22 +0000 (10:22 -0800)]
spv-file-format: Fix typo.

8 years agospv-file-format: Fix names of pmml, stats, and model members.
Ben Pfaff [Sun, 17 Jan 2016 18:21:53 +0000 (10:21 -0800)]
spv-file-format: Fix names of pmml, stats, and model members.

8 years agoAdd documentation for SPV file format.
Ben Pfaff [Sun, 17 Jan 2016 08:19:53 +0000 (00:19 -0800)]
Add documentation for SPV file format.

8 years agoSet import dialog to fullscreen mode.
John Darrington [Sat, 16 Jan 2016 09:57:36 +0000 (10:57 +0100)]
Set import dialog to fullscreen mode.

Fixed bug #46906

8 years agoSample Dialog: Ensure that controls stay at self consistent values
John Darrington [Sat, 16 Jan 2016 09:01:41 +0000 (10:01 +0100)]
Sample Dialog: Ensure that controls stay at self consistent values

8 years agoPopulate select dialog's dialog_is_valid function
John Darrington [Sat, 16 Jan 2016 08:32:30 +0000 (09:32 +0100)]
Populate select dialog's dialog_is_valid function

Closes bug #46901

8 years agoUpdate appdata.xml
John Darrington [Fri, 15 Jan 2016 18:35:41 +0000 (19:35 +0100)]
Update appdata.xml

Closes bug #46441

8 years agomeasure: Improve wording of error message.
Ben Pfaff [Fri, 15 Jan 2016 15:49:33 +0000 (07:49 -0800)]
measure: Improve wording of error message.

Suggested by Elias Estatistics <estatisticseu@gmail.com>.

8 years agopsppire-button-editable: Don't mark spec parameter text as translatable.
Ben Pfaff [Fri, 15 Jan 2016 15:47:45 +0000 (07:47 -0800)]
psppire-button-editable: Don't mark spec parameter text as translatable.

The P_ prefix seems to be used by other GTK+ code, so use it here too.

Reported by Elias Estatistics <estatisticseu@gmail.com>.

8 years agoSAVE TRANSLATE: Improve error message.
Ben Pfaff [Fri, 15 Jan 2016 14:35:00 +0000 (06:35 -0800)]
SAVE TRANSLATE: Improve error message.

Before this commit, "SAVE TRANSLATE OUTFILE='...'" gave a confusing error
message.  After this commit, it clearly reports the missing slash before
OUTFILE.

8 years agoLIST: Improve wording of error messages.
Ben Pfaff [Fri, 15 Jan 2016 14:26:28 +0000 (06:26 -0800)]
LIST: Improve wording of error messages.

Suggested by Elias Estatistics <estatisticseu@gmail.com>.

8 years agoEXAMINE: Extend test for empty dataset and fix bug.
John Darrington [Wed, 13 Jan 2016 08:31:42 +0000 (09:31 +0100)]
EXAMINE: Extend test for empty dataset and fix bug.

Closes bug #46866

8 years agoONEWAY: fix crash in contrasts when dataset is empty
John Darrington [Tue, 12 Jan 2016 11:22:37 +0000 (12:22 +0100)]
ONEWAY: fix crash in contrasts when dataset is empty

8 years agoFixed some bugs related to empty parentheses
John Darrington [Mon, 11 Jan 2016 08:31:18 +0000 (09:31 +0100)]
Fixed some bugs related to empty parentheses

8 years agoAdd some tests for empty parens
John Darrington [Mon, 11 Jan 2016 08:43:09 +0000 (09:43 +0100)]
Add some tests for empty parens

8 years agoFACTOR: Avoid assertion failures on syntax errors expecting numbers.
Ben Pfaff [Thu, 7 Jan 2016 16:44:13 +0000 (08:44 -0800)]
FACTOR: Avoid assertion failures on syntax errors expecting numbers.

Reported by Elias Estatistics.

8 years agopsppire-var-view: Fix constness error.
Ben Pfaff [Wed, 6 Jan 2016 01:53:29 +0000 (17:53 -0800)]
psppire-var-view: Fix constness error.

8 years agoMakefiles: Add $(AM_V_GEN) and $(AM_V_at) to a few more rules.
Ben Pfaff [Wed, 6 Jan 2016 01:52:21 +0000 (17:52 -0800)]
Makefiles: Add $(AM_V_GEN) and $(AM_V_at) to a few more rules.

This makes the abbreviated "make" output more effective.

8 years agoAPPLY DICTIONARY: Fix segmentation fault when setting value labels.
Ben Pfaff [Wed, 6 Jan 2016 01:47:35 +0000 (17:47 -0800)]
APPLY DICTIONARY: Fix segmentation fault when setting value labels.

Reported by Frans Houweling.

8 years agosegment: Fix buffer overrun error in segmenter_detect_command_name__().
Ben Pfaff [Wed, 6 Jan 2016 01:45:37 +0000 (17:45 -0800)]
segment: Fix buffer overrun error in segmenter_detect_command_name__().

Found by valgrind.

8 years agoScatter plot dialog: Correct order of variables in syntax generator
John Darrington [Tue, 5 Jan 2016 07:19:12 +0000 (08:19 +0100)]
Scatter plot dialog: Correct order of variables in syntax generator

8 years ago.ui files: Bump version of required Gtk to 3.4.2
John Darrington [Tue, 5 Jan 2016 07:01:38 +0000 (08:01 +0100)]
.ui files: Bump version of required Gtk to 3.4.2

This is the same version currently required in configure.ac

8 years agoLogistic Regression Dialog: Add missing property
John Darrington [Mon, 4 Jan 2016 19:43:35 +0000 (20:43 +0100)]
Logistic Regression Dialog: Add missing property

8 years agoFix bad syntax generation introduced by previous commit.
John Darrington [Mon, 4 Jan 2016 19:30:45 +0000 (20:30 +0100)]
Fix bad syntax generation introduced by previous commit.

Commit cdfb21de2cbbf921b4e1fe0662439da1c460eabc replaced syntax_gen_pspp
with g_string_append_printf which was wrong, because the latter is
sensitive to the user's locale, which is not desired for syntax generation.

8 years agoLogistical Regression Dialog: Automatically mark appropriate variables as categorical
John Darrington [Mon, 4 Jan 2016 18:32:34 +0000 (19:32 +0100)]
Logistical Regression Dialog: Automatically mark appropriate variables as categorical

In the syntax generator ordinal, nominal or string variables are now marked as /CATEGORICAL

Closes bug #46749

8 years agoLogistic Regression Dialog: Reimplement syntax generator using GString
John Darrington [Mon, 4 Jan 2016 16:15:42 +0000 (17:15 +0100)]
Logistic Regression Dialog: Reimplement syntax generator using GString

8 years ago"margin-left" -> "margin-start" && "margin-right" -> "margin-end"
John Darrington [Mon, 4 Jan 2016 13:05:14 +0000 (14:05 +0100)]
"margin-left" -> "margin-start" && "margin-right" -> "margin-end"

These are the preferred property names on recent Gtk releases.

8 years agoREGRESSION: Correctly handle data in temporary file for SAVE subcommand.
Ben Pfaff [Mon, 4 Jan 2016 04:12:29 +0000 (20:12 -0800)]
REGRESSION: Correctly handle data in temporary file for SAVE subcommand.

The format of the data in the temporary file used by the SAVE subcommand is
basically unrelated to the format of the data in the active file, but the
code that created and wrote cases to it created them as clones of cases
in the active file.  This is simply incorrect behavior and causes nasty
failures when the active file has an inconvenient number of variables or
contains long string variables.

This commit fixes the problem by correctly creating the cases for the
temporary file using that file's own caseproto.

In addition, the assignment of caseproto indexes to variables in the
temporary file was broken for /SAVE=PRED, because it would skip index 0.
This commit also fixes that problem.

Bug #44877.
Reported by Scott.

8 years agoSyntax menu definition: Rename "menuitem7" to "edit-menu"
John Darrington [Sun, 3 Jan 2016 10:00:50 +0000 (11:00 +0100)]
Syntax menu definition: Rename "menuitem7" to "edit-menu"

8 years agoGET DATA /TYPE=TXT: Remove obsolete IMPORTCASES subcommand.
Ben Pfaff [Sun, 3 Jan 2016 18:28:04 +0000 (10:28 -0800)]
GET DATA /TYPE=TXT: Remove obsolete IMPORTCASES subcommand.

For compatibility.

Reported by Charles Johnson.

8 years agoRename Dataset dialog: Add spacing and help button
John Darrington [Wed, 30 Dec 2015 08:53:20 +0000 (09:53 +0100)]
Rename Dataset dialog: Add spacing and help button