pspp
11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Thu, 9 May 2013 01:40:54 +0000 (03:40 +0200)]
Merge remote branch 'origin/master' into import-gui

11 years agopsppire-cell-renderer-button: Translate coords before propagating event. 20130508010503/pspp
Ben Pfaff [Wed, 8 May 2013 05:29:50 +0000 (22:29 -0700)]
psppire-cell-renderer-button: Translate coords before propagating event.

When propagating a right-click upward, the x and y coordinates in the
event are those for the button, not for the parent window, but the parent
window's signal handlers will expect that they are relative to the parent
window.  This commit makes that so.

Without this commit, the following scenario occurs:

1. Open a dataset with at least two cases.
2. Switch to the Data View
3. Place the pointer over (say) the tenth row header button.
4. Click the left mouse button.
5. Click the right mouse button.
6. The popup menu appears (as it should), but row 1 gets selected instead
   of row 10.

With this commit, in step 6 the correct row is selected.

Bug #38922.
Reported by John Darrington.

11 years agoMerge 'psppsheet' into 'master'. 20130507010505/pspp
Ben Pfaff [Tue, 7 May 2013 05:09:59 +0000 (22:09 -0700)]
Merge 'psppsheet' into 'master'.

This merge required considerable manual resolution in
text-data-import-dialog.c because that file was split into multiple files
on master.

11 years agoRemove unused variable assigned in expression.
John Darrington [Mon, 6 May 2013 18:45:40 +0000 (20:45 +0200)]
Remove unused variable assigned in expression.

Found by clang analayzer

11 years agopsppire-window: Disconnect signal handlers before unregistering. 20130506011838/pspp
Ben Pfaff [Mon, 6 May 2013 04:48:06 +0000 (21:48 -0700)]
psppire-window: Disconnect signal handlers before unregistering.

Otherwise, the call to psppire_window_register_remove() calls back into
remove_menuitem() via the "remove" signal, but window->menu referenced in
that callback has already been freed.

Found by valgrind.

11 years agopsppire-data-sheet: Disconnect clipboard owner-change signal on dispose.
Ben Pfaff [Mon, 6 May 2013 04:39:16 +0000 (21:39 -0700)]
psppire-data-sheet: Disconnect clipboard owner-change signal on dispose.

Otherwise, any clipboard change in ownership (e.g. clicking on some cells
and typing Control+C), even after a given PsppireDataSheet closes, still
calls into on_owner_change() and commits a use-after-free error.

Reported by John Darrington.

11 years agopsppire-data-sheet: Obtain data sheet targets via callback.
Ben Pfaff [Mon, 6 May 2013 01:04:03 +0000 (18:04 -0700)]
psppire-data-sheet: Obtain data sheet targets via callback.

Calling gtk_clipboard_wait_is_target_available() within on_owner_change()
seems to cause Window|Split to act oddly (the right panes were empty),
perhaps because gtk_clipboard_wait_is_target_available() has a nested main
loop.  Switching to gtk_clipboard_request_targets() fixes the problem.

Reported by John Darrington.

11 years agopsppire-data-sheet: Remove stray debug printf.
Ben Pfaff [Sun, 5 May 2013 23:03:07 +0000 (16:03 -0700)]
psppire-data-sheet: Remove stray debug printf.

Reported by John Darrington.

11 years agoUpdated gnulib version 20130505010502/pspp 20130506010507/pspp
John Darrington [Sat, 4 May 2013 15:08:06 +0000 (17:08 +0200)]
Updated gnulib version

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Mon, 29 Apr 2013 15:57:03 +0000 (17:57 +0200)]
Merge remote branch 'origin/master' into import-gui

11 years agoAdd necessary initialisation to spreadsheet-test.c 20130430010503/pspp 20130501010508/pspp 20130502010508/pspp 20130503010503/pspp 20130504010502/pspp
John Darrington [Sun, 28 Apr 2013 14:47:02 +0000 (16:47 +0200)]
Add necessary initialisation to spreadsheet-test.c

11 years agolist.c Use "long" instead of "int" for command parameters.
John Darrington [Mon, 29 Apr 2013 11:40:06 +0000 (13:40 +0200)]
list.c Use "long" instead of "int" for command parameters.

Commit 4e5a6cc044c6c82e6c4d842bf056579b6bc47d48 used int instead of long for the
parameters of the LIST command.  This caused compiler warnings and problems on
64 bit machines.  This change fixes that.

11 years agoFixed crash in error path of MEANS command 20130429010502/pspp
John Darrington [Sun, 28 Apr 2013 15:48:16 +0000 (17:48 +0200)]
Fixed crash in error path of MEANS command

11 years agoAdd necessary initialisation to spreadsheet-test.c
John Darrington [Sun, 28 Apr 2013 14:47:02 +0000 (16:47 +0200)]
Add necessary initialisation to spreadsheet-test.c

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Sun, 28 Apr 2013 13:40:42 +0000 (15:40 +0200)]
Merge remote branch 'origin/master' into import-gui

11 years agoODS reader: Make the destroy method safer.
John Darrington [Sun, 28 Apr 2013 12:24:21 +0000 (14:24 +0200)]
ODS reader: Make the destroy method safer.

It seems this was causing use after delete errors when there was an empty reader.

11 years agoFix constness warnings 20130428010503/pspp
John Darrington [Sun, 28 Apr 2013 07:34:43 +0000 (09:34 +0200)]
Fix constness warnings

11 years agoFix recently introduces bug in LIST /CASES
John Darrington [Sun, 28 Apr 2013 07:15:28 +0000 (09:15 +0200)]
Fix recently introduces bug in LIST /CASES

Commit 4e5a6cc044c6c82e6c4d842bf056579b6bc47d48 contained a bug.  This change
corrects the bug, and updates a test, such that the bug will be caught, should
it ever reappear.

11 years agoFix invalid read in ROC vs. TEMP
John Darrington [Sat, 27 Apr 2013 09:17:22 +0000 (11:17 +0200)]
Fix invalid read in ROC vs. TEMP

Partial fix for bug #38833

11 years agoCorrect error message from previous commit. 20130427010504/pspp
John Darrington [Sat, 27 Apr 2013 05:38:54 +0000 (07:38 +0200)]
Correct error message from previous commit.

Commit 49b3e593c078b40d7c72379b4f8622a1ea8d7ea1 produced a misleading
and non-sensical error message.  This change fixes that.

11 years agoFixed a crash when RECODE attempted to increase the length of a string beyond the...
John Darrington [Sat, 27 Apr 2013 05:21:24 +0000 (07:21 +0200)]
Fixed a crash when RECODE attempted to increase the length of a string beyond the width of the variable.

Reported-by: Cristoph Amthor
11 years agoAdded missing headers to terminal-reader.c
John Darrington [Fri, 26 Apr 2013 16:52:05 +0000 (18:52 +0200)]
Added missing headers to terminal-reader.c

11 years agoUpdate ABOUT-NLS from gettext
John Darrington [Fri, 26 Apr 2013 16:37:53 +0000 (18:37 +0200)]
Update ABOUT-NLS from gettext

11 years agoFLIP: Fix use-after-free error with temporary transformations. 20130426010504/pspp
Ben Pfaff [Fri, 26 Apr 2013 06:03:45 +0000 (23:03 -0700)]
FLIP: Fix use-after-free error with temporary transformations.

The FLIP procedure keeps a reference to the  dictionary from before running
a procedure and then uses that reference after calling proc_commit().  When
temporary transformations are present, this dictionary disappears.  The
"SPLIT FILE  - vs procedures" test triggers this issue because it uses
FILTER, which is implemented as a temporary transformation.

This commit fixes the problem by avoiding a reference to the old
dictionary after proc_commit().

Reported by John Darrington.
Bug #38820.

11 years agoconvert list.q to list.c
John Darrington [Thu, 25 Apr 2013 10:10:36 +0000 (12:10 +0200)]
convert list.q to list.c

Reviewed-by: Ben Pfaff
11 years agou8-istream: Fix reading UTF-16 and UTF-32 files. 20130425010503/pspp
Ben Pfaff [Thu, 25 Apr 2013 05:26:06 +0000 (22:26 -0700)]
u8-istream: Fix reading UTF-16 and UTF-32 files.

Before this commit, u8_istream_for_fd() would obtain the correct encoding
from encoding_guess_head_encoding() for UTF-16 and UTF-32 files, and then
it would ignore it and use the default encoding returned by
encoding_guess_parse_encoding().  This commit fixes the problem.

11 years agou8-istream: Fix handling of UTF-8 byte order marks.
Ben Pfaff [Thu, 25 Apr 2013 05:14:01 +0000 (22:14 -0700)]
u8-istream: Fix handling of UTF-8 byte order marks.

The UTF-8 special case state didn't skip over an initial byte order mark.
This fixes it.

Reported by Dr. Holger Handstein <post@handundstein.de>.
Signed-off-by: Ben Pfaff <blp@cs.stanford.edu>
11 years agoencoding-guesser: New function encoding_guess_bom_length().
Ben Pfaff [Thu, 25 Apr 2013 05:10:41 +0000 (22:10 -0700)]
encoding-guesser: New function encoding_guess_bom_length().

11 years agotests: Make "read ISO-8859-1 as Auto,ISO-8859-1" failures easier to read.
Ben Pfaff [Thu, 25 Apr 2013 05:15:05 +0000 (22:15 -0700)]
tests: Make "read ISO-8859-1 as Auto,ISO-8859-1" failures easier to read.

By putting new-lines in the input and output, it becomes unnecessary to
scroll thousands of columns to the right to spot the differences.

11 years agoFixed crash with EXAMINE vs. SPLIT
John Darrington [Wed, 24 Apr 2013 18:30:48 +0000 (20:30 +0200)]
Fixed crash with EXAMINE vs. SPLIT

Partial fix for bug #38820

11 years agoFixed crash with GLM and MEANS vs. SPLIT
John Darrington [Wed, 24 Apr 2013 17:05:59 +0000 (19:05 +0200)]
Fixed crash with GLM and MEANS vs. SPLIT

Partial fix for bug #38820

11 years agoDo not try to set box=unicode if the driver is not the text driver.
John Darrington [Wed, 24 Apr 2013 16:00:09 +0000 (18:00 +0200)]
Do not try to set box=unicode if the driver is not the text driver.

11 years agoAvoid test failures due to wrong terminal settings
John Darrington [Wed, 24 Apr 2013 11:44:26 +0000 (13:44 +0200)]
Avoid test failures due to wrong terminal settings

11 years agoAdded test for known split file problems
John Darrington [Wed, 24 Apr 2013 10:49:58 +0000 (12:49 +0200)]
Added test for known split file problems

11 years agoFixed crash in error path for GET DATA 20130424010505/pspp
John Darrington [Tue, 23 Apr 2013 17:42:36 +0000 (19:42 +0200)]
Fixed crash in error path for GET DATA

11 years agoAdded strcasestr to list of gnulib modules
John Darrington [Tue, 23 Apr 2013 14:09:04 +0000 (16:09 +0200)]
Added strcasestr to list of gnulib modules

11 years agoUse the select and pipe2 modules from gnulib 20130423010504/pspp
John Darrington [Mon, 22 Apr 2013 18:04:04 +0000 (20:04 +0200)]
Use the select and pipe2 modules from gnulib

11 years agoWiden the criteria for assuming the terminal is utf capable. 20130422010503/pspp
John Darrington [Sun, 21 Apr 2013 19:44:24 +0000 (21:44 +0200)]
Widen the criteria for assuming the terminal is utf capable.

Assume the terminal is UTF-8 capable if the TERM and XTERM_LOCALE environment
variables seem to suggest that.

11 years agoUpdate documentation for the STRING command. 20130421010505/pspp
John Darrington [Sat, 20 Apr 2013 10:00:22 +0000 (12:00 +0200)]
Update documentation for the STRING command.

The text wasn't entirely clear.  Hopefully this is an improvement.

Reported by: Ronald Crichton

11 years agoChanged "Text files" to "Text Files" 20130419010508/pspp 20130420010514/pspp
John Darrington [Thu, 18 Apr 2013 17:28:17 +0000 (19:28 +0200)]
Changed "Text files" to "Text Files"

Reported-By: Jack Tanner
11 years agoterminal-reader.c: Added missing #include directive
John Darrington [Wed, 17 Apr 2013 17:23:24 +0000 (19:23 +0200)]
terminal-reader.c: Added missing #include directive

11 years agoTerminal reader: Interruptable command line interface 20130417010503/pspp
John Darrington [Sun, 14 Apr 2013 11:36:42 +0000 (13:36 +0200)]
Terminal reader: Interruptable command line interface

This change alters the behaviour of the command line interface such that
upon receiving SIGINT, instead of immediately aborting, the current command
being read will be interrupted and a new PSPP> prompt appears.

Reviewed-by: Ben Pfaff
11 years agoAscii driver: Default to box=unicode iff the charset is UTF8 20130410010506/pspp 20130411010506/pspp 20130415100536/pspp 20130416010502/pspp
John Darrington [Tue, 9 Apr 2013 20:32:04 +0000 (22:32 +0200)]
Ascii driver: Default to box=unicode iff the charset is UTF8

11 years agoAUTORECODE: Avoid use-after-free error with TEMPORARY. 20130408010504/pspp 20130409010502/pspp
Ben Pfaff [Sun, 7 Apr 2013 22:06:35 +0000 (15:06 -0700)]
AUTORECODE: Avoid use-after-free error with TEMPORARY.

When TEMPORARY is in effect, proc_commit() destroys the temporary
dictionary.  This means that any procedure that does not somehow disable
temporary transformations and refers to a variable following proc_commit()
has a use-after-free error.

Until now, AUTORECODE had this problem.  This commit fixes it and adds a
test.

Bug #32757.

11 years agoAUTORECODE: Trim trailing white space correctly.
Ben Pfaff [Sun, 7 Apr 2013 21:14:25 +0000 (14:14 -0700)]
AUTORECODE: Trim trailing white space correctly.

The existing code trimmed off everything starting at the first space.
The new version trims off only trailing spaces.

Found by inspection.

11 years agopo: Update Dutch translation from translationproject.org.
Ben Pfaff [Sun, 26 Feb 2012 18:01:26 +0000 (10:01 -0800)]
po: Update Dutch translation from translationproject.org.

11 years agoascii: Omit whitespace at the end of a line.
Ben Pfaff [Sun, 7 Apr 2013 19:57:32 +0000 (12:57 -0700)]
ascii: Omit whitespace at the end of a line.

Long string variables tend not to be completely filled with data, which
means that they end in a lot of spaces.  The ASCII output driver didn't
handle these well.  Instead, it put a blank line in the cell for each
trailing space.

This fixes the problem and adds a test.

Reported by Ronald Crichton.
Bug #38672.

11 years agoFixed crash when processing regression with bad syntax
John Darrington [Sun, 7 Apr 2013 17:56:44 +0000 (19:56 +0200)]
Fixed crash when processing regression with bad syntax

11 years agoRename some identifiers for consistency
John Darrington [Sun, 7 Apr 2013 13:32:50 +0000 (15:32 +0200)]
Rename some identifiers for consistency

11 years agoCORRELATIONS: Fix crash with separate sets of row and column variables.
Ben Pfaff [Sun, 7 Apr 2013 17:06:23 +0000 (10:06 -0700)]
CORRELATIONS: Fix crash with separate sets of row and column variables.

When WITH is specified, the column variables start at offset corr->n_vars1
within corr->vars.  The calculation previously used here was incorrect and
caused an access beyond the end of the corr->vars array.

The code would be clearer if there were separate row_vars and col_vars
arrays, but that would be a larger change.

Bug #38661.
Reported by William Rogers.

11 years agoUpdate casereader.c from master
John Darrington [Fri, 5 Apr 2013 19:10:52 +0000 (21:10 +0200)]
Update casereader.c from master

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Fri, 5 Apr 2013 18:27:21 +0000 (20:27 +0200)]
Merge remote branch 'origin/master' into import-gui

11 years agoascii.c: Use symbol instead of constant literal 20130405030516/pspp 20130406010505/pspp 20130407010512/pspp
John Darrington [Wed, 3 Apr 2013 07:37:17 +0000 (09:37 +0200)]
ascii.c: Use symbol instead of constant literal

11 years agoFixed bug displaying unicode box characters.
John Darrington [Wed, 3 Apr 2013 07:20:13 +0000 (09:20 +0200)]
Fixed bug displaying unicode box characters.

Also added a test for this.  Closes bug #38647

11 years agoRELIABILITY: Fix memory leaks and dereferences of uninitialized pointers.
Ben Pfaff [Thu, 4 Apr 2013 16:26:03 +0000 (11:26 -0500)]
RELIABILITY: Fix memory leaks and dereferences of uninitialized pointers.

The 'total' struct and 'm' array in struct reliability were allocated once
per case group, but freed exactly once.  If there were no case groups,
this caused a null dereference.  If there was more than one case group,
this caused a memory leak.  This commit fixes both problems.

This commit also fixes a related crash on bad syntax due to dereferencing
a null pointer in reliability_destroy().

Bug #38660.
Reported by William Rogers.

11 years agoFix compiler warning in gnumeric-reader.c 20130401030511/pspp 20130402030504/pspp 20130403030507/pspp
John Darrington [Mon, 1 Apr 2013 06:06:32 +0000 (08:06 +0200)]
Fix compiler warning in gnumeric-reader.c

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Mon, 1 Apr 2013 05:51:32 +0000 (07:51 +0200)]
Merge remote branch 'origin/master' into import-gui

Conflicts:
src/data/casereader.c

11 years agoWork-around bug in GCC 4.4.5
John Darrington [Mon, 1 Apr 2013 05:34:28 +0000 (07:34 +0200)]
Work-around bug in GCC 4.4.5

Gcc 4.4.5 seems to be buggy.  For some reason it miscompiles the code in
casereader_count_cases__ when compiled with -O2 by not allocating enough
stack.  This commit works around that problem by putting a dummy variable
on the stack.

Reviewed-by Ben Pfaff.

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Sun, 31 Mar 2013 18:47:45 +0000 (20:47 +0200)]
Merge remote branch 'origin/master' into import-gui

11 years agoods-reader: Fix GCC warning.
Ben Pfaff [Sun, 31 Mar 2013 18:13:57 +0000 (11:13 -0700)]
ods-reader: Fix GCC warning.

ods-reader.c: In function 'ods_file_casereader_read':
ods-reader.c:941:3: error: ISO C90 forbids mixed declarations and code

11 years agoONEWAY /POSTHOC: Annotate output with dependent variable
John Darrington [Sun, 31 Mar 2013 17:27:34 +0000 (19:27 +0200)]
ONEWAY /POSTHOC: Annotate output with dependent variable

The Multiple Comparisons table did not specify the variable to which it refered.  This could be confusing
if more than one variable was specified.
Fixes bug #38635

11 years agoUpdated lt.po from translationproject.org
John Darrington [Sun, 31 Mar 2013 16:51:48 +0000 (18:51 +0200)]
Updated lt.po from translationproject.org

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Sun, 31 Mar 2013 16:43:21 +0000 (18:43 +0200)]
Merge remote branch 'origin/master' into import-gui

11 years agoFixed some memory allocation issues in the Gnumeric import code
John Darrington [Sun, 31 Mar 2013 16:36:21 +0000 (18:36 +0200)]
Fixed some memory allocation issues in the Gnumeric import code

11 years agoFix bug reading empty sheets
John Darrington [Sun, 31 Mar 2013 16:21:34 +0000 (18:21 +0200)]
Fix bug reading empty sheets

11 years agoCommit remaining bits
John Darrington [Sun, 31 Mar 2013 15:55:21 +0000 (17:55 +0200)]
Commit remaining bits

11 years agore-enable compiler bug workaroundä
John Darrington [Sun, 31 Mar 2013 15:49:21 +0000 (17:49 +0200)]
re-enable compiler bug workaroundä

11 years agoFixed some memory leaks
John Darrington [Sun, 31 Mar 2013 15:44:13 +0000 (17:44 +0200)]
Fixed some memory leaks

11 years agoAdded a second lot of state data
John Darrington [Sat, 30 Mar 2013 17:16:50 +0000 (18:16 +0100)]
Added a second lot of state data

11 years agoMake the gnumeric reader behave the same as the odsreader
John Darrington [Sat, 30 Mar 2013 16:00:30 +0000 (17:00 +0100)]
Make the gnumeric reader behave the same as the odsreader

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Sat, 30 Mar 2013 11:28:41 +0000 (12:28 +0100)]
Merge remote branch 'origin/master' into import-gui

11 years agoFix memory allocation issues in ods-reader 20130331030503/pspp
John Darrington [Sat, 30 Mar 2013 11:16:14 +0000 (12:16 +0100)]
Fix memory allocation issues in ods-reader

11 years agoRename variable and add comment
John Darrington [Sat, 30 Mar 2013 11:05:12 +0000 (12:05 +0100)]
Rename variable and add comment

11 years agoFixed some memory leaks
John Darrington [Sat, 30 Mar 2013 10:05:52 +0000 (11:05 +0100)]
Fixed some memory leaks

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Sat, 30 Mar 2013 08:18:25 +0000 (09:18 +0100)]
Merge remote branch 'origin/master' into import-gui

11 years agoImported new lt.po file from translation-project. 20130330030503/pspp
John Darrington [Sat, 30 Mar 2013 07:40:56 +0000 (08:40 +0100)]
Imported new lt.po file from translation-project.

11 years agoRemove diagnostics
John Darrington [Fri, 29 Mar 2013 19:28:13 +0000 (20:28 +0100)]
Remove diagnostics

11 years agoRevert experimentÃ
John Darrington [Fri, 29 Mar 2013 18:47:53 +0000 (19:47 +0100)]
Revert experimentÃ

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Fri, 29 Mar 2013 11:27:59 +0000 (12:27 +0100)]
Merge remote branch 'origin/master' into import-gui

Conflicts:
src/ui/gui/text-data-import-dialog.c

11 years agoFix order of text-import subdialogs.
John Darrington [Fri, 29 Mar 2013 11:13:43 +0000 (12:13 +0100)]
Fix order of text-import subdialogs.

Commit 29c1450251805417aacb9cecc84b03c81137c137 inadvertently reversed the
order of display of the the first-line and seperator subdialogs.  Amoung
other problems, this meant that controls of the former were no longer
respected.  This change restores the original order.

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Wed, 27 Mar 2013 19:07:58 +0000 (20:07 +0100)]
Merge remote branch 'origin/master' into import-gui

11 years agoMATCH FILES: Fix bugs along error path. 20130327030508/pspp 20130328030507/pspp 20130329030505/pspp
Ben Pfaff [Wed, 27 Mar 2013 05:35:59 +0000 (22:35 -0700)]
MATCH FILES: Fix bugs along error path.

Also add test to prevent later regression.

Reported by Ronald Crichton <Ronald.Crichton@cit.edu.au>.

11 years agogui: Fix GCC warning in page-file source file.
Ben Pfaff [Wed, 27 Mar 2013 04:35:17 +0000 (21:35 -0700)]
gui: Fix GCC warning in page-file source file.

src/ui/gui/page-file.c: In function 'init_file':
src/ui/gui/page-file.c:84:35: warning: variable 'opts' set but not
    used

11 years agoWork around bug in compiler
John Darrington [Tue, 26 Mar 2013 21:07:50 +0000 (22:07 +0100)]
Work around bug in compiler

11 years agoUpdated NEWS to match the version number
John Darrington [Tue, 26 Mar 2013 18:29:51 +0000 (19:29 +0100)]
Updated NEWS to match the version number

11 years agoAdded a second lot of state data
John Darrington [Mon, 25 Mar 2013 18:54:49 +0000 (19:54 +0100)]
Added a second lot of state data

11 years agosheet meta data: Move out of state data
John Darrington [Mon, 25 Mar 2013 18:10:53 +0000 (19:10 +0100)]
sheet meta data:  Move out of state data

11 years agoSeparate the reader state data into its own struct
John Darrington [Mon, 25 Mar 2013 17:49:21 +0000 (18:49 +0100)]
Separate the reader state data into its own struct

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Sat, 23 Mar 2013 16:10:25 +0000 (17:10 +0100)]
Merge remote branch 'origin/master' into import-gui

Conflicts:
src/ui/gui/automake.mk
src/ui/gui/page-assistant.c
src/ui/gui/page-file.c
src/ui/gui/text-data-import-dialog.c

11 years agoReorganised the text-data import assistant into separate files for each page 20130324030505/pspp 20130325030503/pspp 20130326030506/pspp
John Darrington [Wed, 20 Mar 2013 17:28:44 +0000 (18:28 +0100)]
Reorganised the text-data import assistant into separate files for each page

This will hopefully make it easier to add new functionality.
Reviewed-by: Ben Pfaff
11 years agoMerge branch 'master' into import-gui
John Darrington [Fri, 22 Mar 2013 19:01:04 +0000 (20:01 +0100)]
Merge branch 'master' into import-gui

Conflicts:
src/ui/gui/automake.mk
src/ui/gui/page-assistant.c
src/ui/gui/page-file.c
src/ui/gui/text-data-import-dialog.c

11 years agoconfigure: Increase version number to 0.7.10.
Ben Pfaff [Fri, 22 Mar 2013 15:38:05 +0000 (08:38 -0700)]
configure: Increase version number to 0.7.10.

Suggested by John Darrington.

11 years agoFILE HANDLE: Use system native line ends by default. 20130322030508/pspp
Ben Pfaff [Fri, 22 Mar 2013 04:42:23 +0000 (21:42 -0700)]
FILE HANDLE: Use system native line ends by default.

Requested by Ronald Crichton.

11 years agoFILE HANDLE: Add new ENDS subcommand to control new-lines in output.
Ben Pfaff [Fri, 22 Mar 2013 04:42:03 +0000 (21:42 -0700)]
FILE HANDLE: Add new ENDS subcommand to control new-lines in output.

Requested by Ronald Crichton.

11 years agoReorganised the text-data import assistant into separate files for each page
John Darrington [Wed, 20 Mar 2013 17:28:44 +0000 (18:28 +0100)]
Reorganised the text-data import assistant into separate files for each page

This will hopefully make it easier to add new functionality.
Reviewed-by: Ben Pfaff
11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Wed, 20 Mar 2013 16:09:12 +0000 (17:09 +0100)]
Merge remote branch 'origin/master' into import-gui

11 years agoSET: Fix format specifier in show_workspace(). 20130318075540/pspp 20130319030509/pspp 20130320030504/pspp 20130321030507/pspp
Ben Pfaff [Mon, 18 Mar 2013 06:25:48 +0000 (23:25 -0700)]
SET: Fix format specifier in show_workspace().

GCC reported that %ld is not the correct format specifier for a size_t.

11 years agoFix confusion over workspace units.
John Darrington [Sun, 17 Mar 2013 17:15:04 +0000 (18:15 +0100)]
Fix confusion over workspace units.

11 years agoAdded the SHOW WORKSPACE command which was absent.
John Darrington [Sun, 17 Mar 2013 13:03:41 +0000 (14:03 +0100)]
Added the SHOW WORKSPACE command which was absent.

Reported-by: Stefan Tzeggai
11 years agoDocumentation: Mention the units of the WORKSPACE setting 20130317030503/pspp
John Darrington [Sat, 16 Mar 2013 20:02:13 +0000 (21:02 +0100)]
Documentation:  Mention the units of the WORKSPACE setting