pspp
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

11 years agoZip Reader: Take members from the index if they exist.
John Darrington [Mon, 18 Feb 2013 08:35:53 +0000 (09:35 +0100)]
Zip Reader: Take members from the index if they exist.

This allows readers to be iterated more than once.

11 years agoZip Reader: Take members from the index if they exist. 20130218030502/pspp 20130219030502/pspp 20130220030503/pspp 20130221030502/pspp 20130222030502/pspp 20130223030503/pspp 20130224030502/pspp 20130225030503/pspp 20130226030506/pspp 20130227030504/pspp 20130228030505/pspp 20130301030502/pspp 20130302030503/pspp 20130303030506/pspp 20130304030502/pspp
John Darrington [Mon, 18 Feb 2013 08:35:53 +0000 (09:35 +0100)]
Zip Reader: Take members from the index if they exist.

This allows readers to be iterated more than once.

11 years agoGot the text file import working again
John Darrington [Sat, 16 Feb 2013 15:54:57 +0000 (16:54 +0100)]
Got the text file import working again

11 years agoShow errors on reading badly formed gnumeric files
John Darrington [Sat, 16 Feb 2013 14:09:35 +0000 (15:09 +0100)]
Show errors on reading badly formed gnumeric files

11 years agoMade the text import dialogs sort of work again
John Darrington [Sat, 16 Feb 2013 10:48:00 +0000 (11:48 +0100)]
Made the text import dialogs sort of work again

11 years agoReturn NULL if not a gnumeric file
John Darrington [Sat, 16 Feb 2013 06:59:29 +0000 (07:59 +0100)]
Return NULL if not a gnumeric file

11 years agoActually use the combobox setting
John Darrington [Fri, 15 Feb 2013 12:22:29 +0000 (13:22 +0100)]
Actually use the combobox setting

11 years agoFixed many warnings
John Darrington [Fri, 15 Feb 2013 11:08:21 +0000 (12:08 +0100)]
Fixed many warnings

11 years agoGnumeric reader cope with multiple passes, and empty cell elements
John Darrington [Fri, 15 Feb 2013 08:46:30 +0000 (09:46 +0100)]
Gnumeric reader cope with multiple passes, and empty cell elements

11 years agoRename sheet_index to current sheet
John Darrington [Fri, 15 Feb 2013 07:05:18 +0000 (08:05 +0100)]
Rename sheet_index to current sheet

11 years agoRename sheets to n_sheets
John Darrington [Thu, 14 Feb 2013 19:36:31 +0000 (20:36 +0100)]
Rename sheets to n_sheets

11 years agoEnable the syntax generation
John Darrington [Thu, 14 Feb 2013 18:37:56 +0000 (19:37 +0100)]
Enable the syntax generation

11 years agoMake the data visible
John Darrington [Thu, 14 Feb 2013 18:02:49 +0000 (19:02 +0100)]
Make the data visible

11 years agoUpdated the test widget thing a bit
John Darrington [Thu, 14 Feb 2013 13:35:45 +0000 (14:35 +0100)]
Updated the test widget thing a bit

11 years agoUse the gnumeric_reopen function
John Darrington [Thu, 14 Feb 2013 10:23:13 +0000 (11:23 +0100)]
Use the gnumeric_reopen function

11 years agoAdded a reopen capability
John Darrington [Thu, 14 Feb 2013 09:51:46 +0000 (10:51 +0100)]
Added a reopen capability

11 years agoDont show range if it is null
John Darrington [Tue, 29 Jan 2013 19:04:59 +0000 (20:04 +0100)]
Dont show range if it is null

11 years agoAdded a proper function to convert spreadsheet column refs
John Darrington [Tue, 29 Jan 2013 18:26:23 +0000 (19:26 +0100)]
Added a proper function to convert spreadsheet column refs

11 years agoAdded a callback to set the range entry on change
John Darrington [Sun, 27 Jan 2013 19:41:07 +0000 (20:41 +0100)]
Added a callback to set the range entry on change

11 years agoMake both work at the same time
John Darrington [Sun, 27 Jan 2013 19:09:21 +0000 (20:09 +0100)]
Make both work at the same time

11 years agoFix memory leak
John Darrington [Sun, 27 Jan 2013 18:36:18 +0000 (19:36 +0100)]
Fix memory leak

11 years agoAdded the range column to the model
John Darrington [Sun, 27 Jan 2013 18:17:41 +0000 (19:17 +0100)]
Added the range column to the model

11 years agoAdded a maxcol state
John Darrington [Sun, 27 Jan 2013 10:38:18 +0000 (11:38 +0100)]
Added a maxcol state

11 years agoTidied up a bit more. Eliminated some warnings
John Darrington [Sun, 27 Jan 2013 09:03:35 +0000 (10:03 +0100)]
Tidied up a bit more.  Eliminated some warnings

11 years agoTidied up a bit
John Darrington [Sun, 27 Jan 2013 08:50:03 +0000 (09:50 +0100)]
Tidied up a bit

11 years agosort of got the assistant working with the combo model
John Darrington [Sat, 26 Jan 2013 20:01:46 +0000 (21:01 +0100)]
sort of got the assistant working with the combo model

11 years agoBasically working model
John Darrington [Sat, 26 Jan 2013 17:35:05 +0000 (18:35 +0100)]
Basically working model

11 years agoAdded property for the backend
John Darrington [Sat, 26 Jan 2013 11:46:50 +0000 (12:46 +0100)]
Added property for the backend

11 years agoBasic model
John Darrington [Sat, 26 Jan 2013 11:17:27 +0000 (12:17 +0100)]
Basic model

11 years agoBasic Framework for test program
John Darrington [Sat, 26 Jan 2013 09:54:39 +0000 (10:54 +0100)]
Basic Framework for test program

11 years agoAdded a test program for the spread interface
John Darrington [Sat, 26 Jan 2013 09:04:02 +0000 (10:04 +0100)]
Added a test program for the spread interface

11 years agoOnly one spreadsheet
John Darrington [Thu, 24 Jan 2013 19:10:53 +0000 (20:10 +0100)]
Only one spreadsheet

11 years agoformats page: Construction is initialisation
John Darrington [Thu, 24 Jan 2013 18:58:51 +0000 (19:58 +0100)]
formats page: Construction is initialisation

11 years agoFirst line page construction is initialisation
John Darrington [Thu, 24 Jan 2013 18:33:59 +0000 (19:33 +0100)]
First line page construction is initialisation

11 years agoseparators construction is initialisation
John Darrington [Thu, 24 Jan 2013 18:09:47 +0000 (19:09 +0100)]
separators construction is initialisation

11 years agoMove column count from seperators into assist
John Darrington [Thu, 24 Jan 2013 17:58:30 +0000 (18:58 +0100)]
Move column count from seperators into assist

11 years agoMake sheet spec page opaque
John Darrington [Wed, 23 Jan 2013 20:35:03 +0000 (21:35 +0100)]
Make sheet spec page opaque

11 years agoMove all intro related stuff to the intro file
John Darrington [Wed, 23 Jan 2013 18:08:36 +0000 (19:08 +0100)]
Move all intro related stuff to the intro file

11 years agoIntro page: contruction is initialisation
John Darrington [Tue, 22 Jan 2013 19:04:44 +0000 (20:04 +0100)]
Intro page: contruction is initialisation

11 years agoMove file_name member from sri to spreadsheet struct
John Darrington [Mon, 14 Jan 2013 17:42:47 +0000 (18:42 +0100)]
Move file_name member from sri to spreadsheet struct

11 years agoPut the pages as pointers
John Darrington [Sun, 13 Jan 2013 18:43:04 +0000 (19:43 +0100)]
Put the pages as pointers

11 years agoStarted polymorphism of ODS
John Darrington [Sun, 13 Jan 2013 15:01:45 +0000 (16:01 +0100)]
Started polymorphism of ODS

11 years agoStarted polymorphism of Gnumeric
John Darrington [Sun, 13 Jan 2013 12:08:58 +0000 (13:08 +0100)]
Started polymorphism of Gnumeric

11 years agoMade a start at canonicalising the interface
John Darrington [Sun, 13 Jan 2013 09:27:28 +0000 (10:27 +0100)]
Made a start at canonicalising the interface

11 years agoUse convert cell range instead of doing it ourselves
John Darrington [Sat, 12 Jan 2013 14:36:29 +0000 (15:36 +0100)]
Use convert cell range instead of doing it ourselves

11 years agoEnable specification of the cell range
John Darrington [Sat, 12 Jan 2013 12:08:58 +0000 (13:08 +0100)]
Enable specification of the cell range

11 years agoReplace _Import with I_mport in GtkBuilder file.
John Darrington [Sat, 12 Jan 2013 11:15:59 +0000 (12:15 +0100)]
Replace _Import with I_mport in GtkBuilder file.

This means that there is only one _I in the File menu.

11 years agoAdded a bit more to the gui
John Darrington [Tue, 8 Jan 2013 21:13:05 +0000 (22:13 +0100)]
Added a bit more to the gui

11 years agofix compile issues
John Darrington [Sun, 6 Jan 2013 18:27:04 +0000 (19:27 +0100)]
fix compile issues

11 years agoFix syntax generation
John Darrington [Sun, 6 Jan 2013 13:35:45 +0000 (14:35 +0100)]
Fix syntax generation

11 years agoTry to load the correct sheet
John Darrington [Sun, 6 Jan 2013 13:10:22 +0000 (14:10 +0100)]
Try to load the correct sheet

11 years agodata import gui: update user interface
John Darrington [Sun, 6 Jan 2013 09:35:46 +0000 (10:35 +0100)]
data import gui: update user interface

11 years agoChange label from "import text" to "import".
John Darrington [Sun, 6 Jan 2013 08:01:20 +0000 (09:01 +0100)]
Change label from "import text" to "import".

Because it is not only used for text now.

11 years agoSpreadsheet readers: Seperate the mandatory from the optional arguments.
John Darrington [Sun, 6 Jan 2013 07:48:24 +0000 (08:48 +0100)]
Spreadsheet readers: Seperate the mandatory from the optional arguments.

11 years agoBasic working spreadsheet import dialog (sort of)
John Darrington [Sat, 5 Jan 2013 19:35:23 +0000 (20:35 +0100)]
Basic working spreadsheet import dialog (sort of)

11 years agoAdded file chooser filters for spreadsheet file types
John Darrington [Sat, 5 Jan 2013 13:21:56 +0000 (14:21 +0100)]
Added file chooser filters for spreadsheet file types