pspp
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

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Thu, 14 Mar 2013 18:12:44 +0000 (19:12 +0100)]
Merge remote branch 'origin/master' into import-gui

11 years agoRANK: Fix crash ranking multiple variables without any rank specs. 20130312030503/pspp 20130313030511/pspp 20130314030502/pspp 20130315030502/pspp 20130316030504/pspp
Ben Pfaff [Tue, 12 Mar 2013 05:08:34 +0000 (22:08 -0700)]
RANK: Fix crash ranking multiple variables without any rank specs.

Incidentally fixes a small memory leak in the same situation.

Bug #38482.
Reported by John Darrington.

11 years agoFix warnings introduced by minor type errors in recently added code.
Ben Pfaff [Tue, 12 Mar 2013 04:54:20 +0000 (21:54 -0700)]
Fix warnings introduced by minor type errors in recently added code.

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Sat, 9 Mar 2013 15:20:38 +0000 (16:20 +0100)]
Merge remote branch 'origin/master' into import-gui

11 years agoAdded a (non-shipped) gui test-program to test spreadsheet readers. 20130310030504/pspp 20130311030504/pspp
John Darrington [Sat, 9 Mar 2013 15:05:37 +0000 (16:05 +0100)]
Added a (non-shipped) gui test-program to test spreadsheet readers.

This program is usefull for testing the behaviour of the ods_reader and the gnumeric_reader.

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Sat, 9 Mar 2013 14:53:18 +0000 (15:53 +0100)]
Merge remote branch 'origin/master' into import-gui

11 years agoRef count the gnumeric reader
John Darrington [Fri, 8 Mar 2013 15:10:14 +0000 (16:10 +0100)]
Ref count the gnumeric reader

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Sat, 9 Mar 2013 14:37:23 +0000 (15:37 +0100)]
Merge remote branch 'origin/master' into import-gui

11 years agoRe-enabled the reset buttons
John Darrington [Sat, 9 Mar 2013 13:38:29 +0000 (14:38 +0100)]
Re-enabled the reset buttons

11 years agomain.c: Replaced macro with a static const
John Darrington [Sat, 9 Mar 2013 12:13:11 +0000 (13:13 +0100)]
main.c: Replaced macro with a static const

This is the GNU recommended way, and ensures that not-compiled code does not become out
of date.

11 years agoRe-enabled Paste button
John Darrington [Sat, 9 Mar 2013 12:02:14 +0000 (13:02 +0100)]
Re-enabled Paste button

11 years agoTest program. Make it crash less often
John Darrington [Sat, 9 Mar 2013 08:15:49 +0000 (09:15 +0100)]
Test program.  Make it crash less often

11 years agoMade the test program a little more friendly
John Darrington [Fri, 8 Mar 2013 15:17:28 +0000 (16:17 +0100)]
Made the test program a little more friendly

11 years agoRef count the gnumeric reader
John Darrington [Fri, 8 Mar 2013 15:10:14 +0000 (16:10 +0100)]
Ref count the gnumeric reader

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Fri, 8 Mar 2013 13:14:26 +0000 (14:14 +0100)]
Merge remote branch 'origin/master' into import-gui

Conflicts:
src/ui/gui/psppire-spreadsheet-model.c

11 years agoNew module: psppire-spreadsheet-model.c 20130309030511/pspp
John Darrington [Fri, 8 Mar 2013 13:03:12 +0000 (14:03 +0100)]
New module: psppire-spreadsheet-model.c

 Provides an implementation of a GtkTreeModel which can be used to
display the meta data of Gnumeric or Opendocument spreadsheet files.
Potentially, other spreadsheet files could be added too.
Used for upcomming gui features.

11 years agoFix remaining leaks in Gnumeric reader
John Darrington [Fri, 8 Mar 2013 12:47:31 +0000 (13:47 +0100)]
Fix remaining leaks in Gnumeric reader

11 years agoFix remaining leaks in Gnumeric reader
John Darrington [Fri, 8 Mar 2013 12:47:31 +0000 (13:47 +0100)]
Fix remaining leaks in Gnumeric reader

11 years agoZip reader: remove unnecessary test
John Darrington [Fri, 8 Mar 2013 12:34:04 +0000 (13:34 +0100)]
Zip reader: remove unnecessary test

11 years agoMerge branch 'master' into import-gui
John Darrington [Fri, 8 Mar 2013 12:28:03 +0000 (13:28 +0100)]
Merge branch 'master' into import-gui

11 years agoFixed some more errors in the spreadsheet readers
John Darrington [Fri, 8 Mar 2013 08:59:07 +0000 (09:59 +0100)]
Fixed some more errors in the spreadsheet readers

11 years agoFix remaining leaks in ods-reader.c
John Darrington [Fri, 8 Mar 2013 08:45:02 +0000 (09:45 +0100)]
Fix remaining leaks in ods-reader.c

11 years agoMerge remote branch 'origin/master' into import-gui
John Darrington [Thu, 7 Mar 2013 20:58:28 +0000 (21:58 +0100)]
Merge remote branch 'origin/master' into import-gui

11 years agozip-reader.c: Fix memory leak 20130308030505/pspp
John Darrington [Thu, 7 Mar 2013 20:45:43 +0000 (21:45 +0100)]
zip-reader.c: Fix memory leak

11 years agozip-reader.c: Fix memory leak
John Darrington [Thu, 7 Mar 2013 20:45:43 +0000 (21:45 +0100)]
zip-reader.c: Fix memory leak

11 years agoDelete ods_file_casereader_clone function
John Darrington [Thu, 7 Mar 2013 19:20:57 +0000 (20:20 +0100)]
Delete ods_file_casereader_clone function

11 years agoLet the test program open both kinds of spreadsheet
John Darrington [Thu, 7 Mar 2013 18:25:27 +0000 (19:25 +0100)]
Let the test program open both kinds of spreadsheet

11 years agoFewer memory leaks
John Darrington [Thu, 7 Mar 2013 13:48:39 +0000 (14:48 +0100)]
Fewer memory leaks

11 years agoMake the spreadsheet reader responsible for destroying its opts
John Darrington [Thu, 7 Mar 2013 12:49:06 +0000 (13:49 +0100)]
Make the spreadsheet reader responsible for destroying its opts

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

11 years agozip-test.c: Remove erroneous call to zip_member_unref
John Darrington [Thu, 7 Mar 2013 10:22:38 +0000 (11:22 +0100)]
zip-test.c: Remove erroneous call to zip_member_unref

11 years agozip-reader.c: Replace [cm]alloc by their x*alloc counterparts
John Darrington [Thu, 7 Mar 2013 10:21:40 +0000 (11:21 +0100)]
zip-reader.c: Replace [cm]alloc by their x*alloc counterparts

11 years agoMerge branch 'master' into import-gui
John Darrington [Tue, 5 Mar 2013 08:16:48 +0000 (09:16 +0100)]
Merge branch 'master' into import-gui

11 years agoFixed crash reading ODS spreadsheets and added a test case 20130305030502/pspp 20130306030504/pspp 20130307030505/pspp
John Darrington [Tue, 5 Mar 2013 08:15:35 +0000 (09:15 +0100)]
Fixed crash reading ODS spreadsheets and added a test case

11 years agoMerge branch 'master' into import-gui
John Darrington [Mon, 4 Mar 2013 19:25:47 +0000 (20:25 +0100)]
Merge branch 'master' into import-gui

11 years agoAdded a feature to read the meta data from spreadsheet files.
John Darrington [Mon, 4 Mar 2013 19:09:41 +0000 (20:09 +0100)]
Added a feature to read the meta data from spreadsheet files.

This is in preparation for upcoming features.

11 years agoMake GUI open either kind of spreadsheet
John Darrington [Mon, 4 Mar 2013 18:44:55 +0000 (19:44 +0100)]
Make GUI open either kind of spreadsheet

11 years agoCreated wrappers for the ods/gnumeric functions
John Darrington [Mon, 4 Mar 2013 18:02:25 +0000 (19:02 +0100)]
Created wrappers for the ods/gnumeric functions

11 years agoFixed some memory leaks
John Darrington [Sun, 3 Mar 2013 13:25:54 +0000 (14:25 +0100)]
Fixed some memory leaks

11 years agoRenamed the spreadsheet test file and put it noinst
John Darrington [Sun, 3 Mar 2013 10:37:35 +0000 (11:37 +0100)]
Renamed the spreadsheet test file and put it noinst

11 years agoUse our own explicit loop instead of main_loop_run
John Darrington [Sun, 3 Mar 2013 10:15:59 +0000 (11:15 +0100)]
Use our own explicit loop instead of main_loop_run

11 years agoFixed some memory leaks
John Darrington [Sun, 3 Mar 2013 08:57:47 +0000 (09:57 +0100)]
Fixed some memory leaks

11 years agoTest proglet: Display all members of a case
John Darrington [Sun, 3 Mar 2013 06:54:13 +0000 (07:54 +0100)]
Test proglet: Display all members of a case

11 years agoFixed bug where repeated values were not being handled correctly
John Darrington [Sun, 3 Mar 2013 06:53:27 +0000 (07:53 +0100)]
Fixed bug where repeated values were not being handled correctly

11 years agoFixed some memory allocation issues
John Darrington [Sat, 2 Mar 2013 12:58:19 +0000 (13:58 +0100)]
Fixed some memory allocation issues

11 years agoTest proglet work
John Darrington [Sat, 2 Mar 2013 12:28:58 +0000 (13:28 +0100)]
Test proglet work

11 years agoDisplay "(empty)" if a sheet has no data
John Darrington [Sat, 2 Mar 2013 10:30:52 +0000 (11:30 +0100)]
Display "(empty)" if a sheet has no data

11 years agoMade some code improvements.
John Darrington [Sat, 2 Mar 2013 08:01:02 +0000 (09:01 +0100)]
Made some code improvements.

As a side effect, it no longer crashes

11 years agoFixed some more leaks
John Darrington [Fri, 1 Mar 2013 20:30:08 +0000 (21:30 +0100)]
Fixed some more leaks

11 years agoFix some memory leaks
John Darrington [Fri, 1 Mar 2013 19:39:28 +0000 (20:39 +0100)]
Fix some memory leaks

11 years agoAvoid compiler warnings
John Darrington [Fri, 1 Mar 2013 18:02:49 +0000 (19:02 +0100)]
Avoid compiler warnings

11 years agoGot the last test working
John Darrington [Thu, 28 Feb 2013 19:03:34 +0000 (20:03 +0100)]
Got the last test working

11 years agoGot another test working
John Darrington [Thu, 28 Feb 2013 18:21:41 +0000 (19:21 +0100)]
Got another test working

11 years agoODS cellranges work again (sort of)
John Darrington [Wed, 27 Feb 2013 19:13:46 +0000 (20:13 +0100)]
ODS cellranges work again (sort of)

11 years agoMake sure that ODS reading works even when not in C locale
John Darrington [Mon, 25 Feb 2013 19:40:46 +0000 (20:40 +0100)]
Make sure that ODS reading works even when not in C locale

11 years agoIssue error message if spreadsheet does not exist
John Darrington [Mon, 25 Feb 2013 10:25:12 +0000 (11:25 +0100)]
Issue error message if spreadsheet does not exist

11 years agoAvoid crash when importing non-existant spreadsheet file
John Darrington [Mon, 25 Feb 2013 10:15:56 +0000 (11:15 +0100)]
Avoid crash when importing non-existant spreadsheet file

11 years agoAnother test works
John Darrington [Sun, 24 Feb 2013 20:38:42 +0000 (21:38 +0100)]
Another test works

11 years agoNew function reading_target_sheet
John Darrington [Sun, 24 Feb 2013 03:59:51 +0000 (04:59 +0100)]
New function reading_target_sheet

11 years agoRename variable
John Darrington [Sun, 24 Feb 2013 03:11:44 +0000 (04:11 +0100)]
Rename variable

11 years agoRenamed some variables and removed some
John Darrington [Tue, 19 Feb 2013 08:02:18 +0000 (09:02 +0100)]
Renamed some variables and removed some

11 years agoChange the label to be vendor neutral
John Darrington [Tue, 19 Feb 2013 07:40:11 +0000 (08:40 +0100)]
Change the label to be vendor neutral

11 years agoGot some of the tests working
John Darrington [Mon, 18 Feb 2013 20:49:55 +0000 (21:49 +0100)]
Got some of the tests working

11 years agoMade it crash a little less often
John Darrington [Mon, 18 Feb 2013 18:22:28 +0000 (19:22 +0100)]
Made it crash a little less often

11 years agoAvoided a number of other problems
John Darrington [Mon, 18 Feb 2013 15:05:12 +0000 (16:05 +0100)]
Avoided a number of other problems

11 years agoFix buffer overflow
John Darrington [Mon, 18 Feb 2013 12:46:41 +0000 (13:46 +0100)]
Fix buffer overflow

11 years agoFixed some incorrect range imputation
John Darrington [Sun, 17 Feb 2013 19:58:13 +0000 (20:58 +0100)]
Fixed some incorrect range imputation

11 years agoGot the ODS reader model (sort of) working.
John Darrington [Sun, 17 Feb 2013 17:30:14 +0000 (18:30 +0100)]
Got the ODS reader model (sort of) working.

11 years agoMerge two option structs
John Darrington [Sun, 17 Feb 2013 11:09:29 +0000 (12:09 +0100)]
Merge two option structs

11 years agoAdded a warning if gnumeric files are not UTF8. Then blidly assume that they are.
John Darrington [Sun, 17 Feb 2013 10:28:52 +0000 (11:28 +0100)]
Added a warning if gnumeric files are not UTF8.  Then blidly assume that they are.

11 years agoFixed some more warnings
John Darrington [Sun, 17 Feb 2013 08:17:23 +0000 (09:17 +0100)]
Fixed some more warnings

11 years agoMake opts const
John Darrington [Sun, 17 Feb 2013 08:14:51 +0000 (09:14 +0100)]
Make opts const

and remove the feature where it was filled in by the reader

11 years agoAdd prototypes for syntax generation functions
John Darrington [Sun, 17 Feb 2013 07:21:48 +0000 (08:21 +0100)]
Add prototypes for syntax generation functions