pspp-builds.git
15 years agoRemove font information from cell attributes and sheet model.
John Darrington [Mon, 1 Dec 2008 01:07:48 +0000 (10:07 +0900)]
Remove font information from cell attributes and sheet model.

Deleted the font_desc member from the GtkSheetCellAttr struct
and also all font related stuff from the GSheetModel interface.
Instead, fonts are now considered strictly a parameter of the
viewing widget instead of data in the model.

15 years agoWhen adding variables in varsheet, add at the current position.
John Darrington [Sun, 30 Nov 2008 04:08:56 +0000 (13:08 +0900)]
When adding variables in varsheet, add at the current position.

Previously variables could only be inserted at the start of the dictionary.
Fixes bug #24502

15 years agoFixed problem when double clicking on column header
John Darrington [Sun, 30 Nov 2008 03:06:40 +0000 (12:06 +0900)]
Fixed problem when double clicking on column header

15 years agoImprove drawing of active cell border
John Darrington [Sun, 30 Nov 2008 02:27:30 +0000 (11:27 +0900)]
Improve drawing of active cell border

15 years agoFixed crash when scrolling
John Darrington [Sat, 29 Nov 2008 00:21:54 +0000 (09:21 +0900)]
Fixed crash when scrolling

15 years agoFixed bug redrawing row/column title windows
John Darrington [Fri, 28 Nov 2008 23:46:10 +0000 (08:46 +0900)]
Fixed bug redrawing row/column title windows

15 years agoDont try to draw cells outside the valid range
John Darrington [Fri, 28 Nov 2008 22:35:54 +0000 (07:35 +0900)]
Dont try to draw cells outside the valid range

15 years agoFix problem redrawing old active cell
John Darrington [Fri, 28 Nov 2008 07:32:13 +0000 (16:32 +0900)]
Fix problem redrawing old active cell

15 years agoDraw active cell on adjustment changes
John Darrington [Fri, 28 Nov 2008 06:55:21 +0000 (15:55 +0900)]
Draw active cell on adjustment changes

15 years agoFixed problem displaying the active cell.
John Darrington [Fri, 28 Nov 2008 06:43:58 +0000 (15:43 +0900)]
Fixed problem displaying the active cell.

15 years agoRemoved unsed is_visible from sheetmodel
John Darrington [Fri, 28 Nov 2008 05:48:13 +0000 (14:48 +0900)]
Removed unsed is_visible from sheetmodel

15 years agoRemove unused auxvalues variable
John Darrington [Fri, 28 Nov 2008 05:41:22 +0000 (14:41 +0900)]
Remove unused auxvalues variable

15 years agoRemoved internal_allocation member which was assigned but never used
John Darrington [Fri, 28 Nov 2008 00:47:10 +0000 (09:47 +0900)]
Removed internal_allocation member which was assigned but never used

15 years agoMade the active cell border a lot more noticeable
John Darrington [Fri, 28 Nov 2008 00:40:59 +0000 (09:40 +0900)]
Made the active cell border a lot more noticeable

15 years agoUse BUILT_SOURCES to ensure that marshallers get built
John Darrington [Thu, 27 Nov 2008 10:51:03 +0000 (19:51 +0900)]
Use BUILT_SOURCES to ensure that marshallers get built

15 years agoMerge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite...
John Darrington [Thu, 27 Nov 2008 09:16:20 +0000 (18:16 +0900)]
Merge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite-sheet

15 years agoRemoved condition which was always true
John Darrington [Thu, 27 Nov 2008 06:13:54 +0000 (15:13 +0900)]
Removed condition which was always true

15 years agoDisabled sheet entry for non-editable cells
John Darrington [Thu, 27 Nov 2008 03:43:26 +0000 (12:43 +0900)]
Disabled sheet entry for non-editable cells

15 years agoChange return type of gtk_sheet_get_entry and removed an unused function.
John Darrington [Thu, 27 Nov 2008 03:30:48 +0000 (12:30 +0900)]
Change return type of gtk_sheet_get_entry and removed an unused function.

15 years agoRemove sheet_container member which served no useful purpose
John Darrington [Thu, 27 Nov 2008 02:37:59 +0000 (11:37 +0900)]
Remove sheet_container member which served no useful purpose

15 years agoRemove [hv]geo arguments to gtksheet which no longer do anything
John Darrington [Thu, 27 Nov 2008 00:59:27 +0000 (09:59 +0900)]
Remove [hv]geo arguments to gtksheet which no longer do anything

15 years agoRemoved reference to row-geometry property which no longer exists
John Darrington [Thu, 27 Nov 2008 00:53:34 +0000 (09:53 +0900)]
Removed reference to row-geometry property which no longer exists

15 years agoAdded g_return_if_fail to new methods
John Darrington [Thu, 27 Nov 2008 00:47:34 +0000 (09:47 +0900)]
Added g_return_if_fail to new methods

15 years agoAdded extra include path necessary when building outside the source dir
John Darrington [Wed, 26 Nov 2008 13:10:33 +0000 (22:10 +0900)]
Added extra include path necessary when building outside the source dir

15 years agoGenerate marshaller functions instead of using prebuilt ones.
John Darrington [Wed, 26 Nov 2008 12:31:52 +0000 (21:31 +0900)]
Generate marshaller functions instead of using prebuilt ones.

Use the glib-genmarshal program (distributed with glib) to
build the marshaller functions that came with gtkxpaned and
gtksheet.

15 years agoRemove obscure pango_font_description munging which caused criticals
John Darrington [Wed, 26 Nov 2008 10:16:20 +0000 (19:16 +0900)]
Remove obscure pango_font_description munging which caused criticals

15 years agoOops
John Darrington [Wed, 26 Nov 2008 04:43:40 +0000 (13:43 +0900)]
Oops

15 years agoMerge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite...
John Darrington [Wed, 26 Nov 2008 04:28:36 +0000 (13:28 +0900)]
Merge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite-sheet

Conflicts:

lib/gtksheet/automake.mk

15 years agoRemove the gsheet-row-* modules and replaced with psppire-axis-*
John Darrington [Wed, 26 Nov 2008 04:21:38 +0000 (13:21 +0900)]
Remove the gsheet-row-* modules and replaced with psppire-axis-*

15 years agoRemove gtkextrafeatures.h from file manifest
John Darrington [Tue, 25 Nov 2008 22:40:40 +0000 (07:40 +0900)]
Remove gtkextrafeatures.h from file manifest

15 years agoSet the minimum-extent property from the size_allocate handler of the sheet
John Darrington [Tue, 25 Nov 2008 01:51:38 +0000 (10:51 +0900)]
Set the minimum-extent property from the size_allocate handler of the sheet

15 years agoFixed minor bug getting the extent of the last unit
John Darrington [Tue, 25 Nov 2008 01:14:27 +0000 (10:14 +0900)]
Fixed minor bug getting the extent of the last unit

15 years agoAdded "min-extent" and "default-size" properties.
John Darrington [Tue, 25 Nov 2008 01:01:48 +0000 (10:01 +0900)]
Added "min-extent" and "default-size" properties.

Before rows/columns have been added, which are sufficient to
cover "min-extent", there will be implicit rows/columns of "default-size".

15 years agoFix problem inserting variables at end of var sheet
John Darrington [Mon, 24 Nov 2008 13:45:20 +0000 (22:45 +0900)]
Fix problem inserting variables at end of var sheet

15 years agoMerge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite...
John Darrington [Mon, 24 Nov 2008 13:16:02 +0000 (22:16 +0900)]
Merge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite-sheet

Conflicts:

lib/gtksheet/gtksheet.c

15 years agoDon't redraw buttons in size_allocate callback
John Darrington [Mon, 24 Nov 2008 06:50:34 +0000 (15:50 +0900)]
Don't redraw buttons in size_allocate callback

I've no idea why this was here but it is clearly wrong, and
caused lots of annoying flicker.

15 years agoRemoved the STRING_WIDTH function
John Darrington [Mon, 24 Nov 2008 04:52:54 +0000 (13:52 +0900)]
Removed the STRING_WIDTH function

15 years agoRemoved feature relating to multiline column button labels which we never use
John Darrington [Mon, 24 Nov 2008 04:43:08 +0000 (13:43 +0900)]
Removed feature relating to multiline column button labels which we never use

15 years agoRemoved the autoresize-column feature which was unused
John Darrington [Mon, 24 Nov 2008 04:33:32 +0000 (13:33 +0900)]
Removed the autoresize-column feature which was unused

15 years agoRemove flicker when redrawing row/column titles
John Darrington [Mon, 24 Nov 2008 04:10:41 +0000 (13:10 +0900)]
Remove flicker when redrawing row/column titles

15 years agoReplace gsheet-column interface by psppire-axis
John Darrington [Sun, 23 Nov 2008 08:07:33 +0000 (17:07 +0900)]
Replace gsheet-column interface by psppire-axis

Created a new object psppire-axis, which is a thinish
wrapper around src/libpspp/tower.c, and can be used
to maintain the positions and widths of rows/columns
in the data/variable sheets.
This change also deletes the lib/gtksheet/*-column-*
modules, and uses a psppire-axis in their place.
Some functions previously performed by gsheet-column-iface
have been moved to gsheetmodel.
This change doesn't touch lib/gtksheet/*-row-* but it
will be straightforward to replace that too.

15 years agoBen's patches to tower.[ch]
John Darrington [Sun, 23 Nov 2008 01:46:37 +0000 (10:46 +0900)]
Ben's patches to tower.[ch]

15 years agoFix crash
John Darrington [Sat, 22 Nov 2008 07:16:28 +0000 (16:16 +0900)]
Fix crash

15 years agoRemove unused signal
John Darrington [Sat, 22 Nov 2008 07:09:20 +0000 (16:09 +0900)]
Remove unused signal

15 years agoChange traverse signal to take GtkSheetCell instead of gint,gint
John Darrington [Sat, 22 Nov 2008 07:07:16 +0000 (16:07 +0900)]
Change traverse signal to take GtkSheetCell instead of gint,gint

15 years agoRemove inline qualifiers
John Darrington [Sat, 22 Nov 2008 05:21:13 +0000 (14:21 +0900)]
Remove inline qualifiers

15 years agoRemoved function default_row_height
John Darrington [Sat, 22 Nov 2008 02:26:32 +0000 (11:26 +0900)]
Removed function default_row_height

15 years agoAvoid annoying double line at beginning of rows/columns
John Darrington [Fri, 21 Nov 2008 10:31:34 +0000 (19:31 +0900)]
Avoid annoying double line at beginning of rows/columns

15 years agoAvoid critical when renewing dataset
John Darrington [Fri, 21 Nov 2008 10:15:35 +0000 (19:15 +0900)]
Avoid critical when renewing dataset

15 years agoRemove gtk_sheet_move_query function
John Darrington [Fri, 21 Nov 2008 10:01:33 +0000 (19:01 +0900)]
Remove gtk_sheet_move_query function

15 years agoAvoid runtime warning
John Darrington [Fri, 21 Nov 2008 09:08:39 +0000 (18:08 +0900)]
Avoid runtime warning

15 years agoBlock entry change handler whilst traversing cells
John Darrington [Fri, 21 Nov 2008 06:10:40 +0000 (15:10 +0900)]
Block entry change handler whilst traversing cells

Prevent the "changed" signal from invoking a handler
whilst the cells are changing.  This sometimes resulted
in data erroneously getting entered into the new cell.

15 years agoPrevent double-click signal from being emitted when the row/column is insensitive
John Darrington [Fri, 21 Nov 2008 05:29:30 +0000 (14:29 +0900)]
Prevent double-click signal from being emitted when the row/column is insensitive

15 years agoPrevent traversing to cells for which there is no variable
John Darrington [Fri, 21 Nov 2008 05:20:49 +0000 (14:20 +0900)]
Prevent traversing to cells for which there is no variable

15 years agoPrevent sheet from stepping outside its valid cell range.
John Darrington [Thu, 20 Nov 2008 23:23:08 +0000 (08:23 +0900)]
Prevent sheet from stepping outside its valid cell range.

15 years agoFixed the scrolling of the sheet when the active cell changes.
John Darrington [Thu, 20 Nov 2008 11:42:07 +0000 (20:42 +0900)]
Fixed the scrolling of the sheet when the active cell changes.

15 years agoImproved behaviour of arrow keys
John Darrington [Thu, 20 Nov 2008 04:34:15 +0000 (13:34 +0900)]
Improved behaviour of arrow keys

15 years agoRename functions
John Darrington [Thu, 20 Nov 2008 03:01:40 +0000 (12:01 +0900)]
Rename functions

15 years agoRemoved unused return value from cell activation features
John Darrington [Thu, 20 Nov 2008 02:57:54 +0000 (11:57 +0900)]
Removed unused return value from cell activation features

15 years agoImprove the behaviour of the moveto function
John Darrington [Thu, 20 Nov 2008 01:49:23 +0000 (10:49 +0900)]
Improve the behaviour of the moveto function

15 years agoReduce flicker on scrolling
John Darrington [Thu, 20 Nov 2008 00:36:21 +0000 (09:36 +0900)]
Reduce flicker on scrolling

15 years agoCombine cell_draw_bg and cell_draw_label into a single function
John Darrington [Thu, 20 Nov 2008 00:15:09 +0000 (09:15 +0900)]
Combine cell_draw_bg and cell_draw_label into a single function

15 years agoFix entry widget size allocation.
John Darrington [Thu, 20 Nov 2008 00:03:46 +0000 (09:03 +0900)]
Fix entry widget size allocation.

15 years agoDeleted lib/gtksheet/gtkextrafeatures.h
John Darrington [Wed, 19 Nov 2008 23:34:37 +0000 (08:34 +0900)]
Deleted lib/gtksheet/gtkextrafeatures.h

15 years agoDeleted gtkitementry
John Darrington [Wed, 19 Nov 2008 23:29:55 +0000 (08:29 +0900)]
Deleted gtkitementry

Removed the (custom) widget gtkitementry and use a standard
GtkEntry widget instead.

15 years agoMerge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite...
John Darrington [Wed, 19 Nov 2008 08:21:33 +0000 (17:21 +0900)]
Merge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite-sheet

Conflicts:

lib/gtksheet/gtksheet.c

15 years agoFixed problems with justification
John Darrington [Wed, 19 Nov 2008 00:29:36 +0000 (09:29 +0900)]
Fixed problems with justification

15 years agoMade everything except gtkitementry.c multi-head safe
John Darrington [Tue, 18 Nov 2008 23:57:59 +0000 (08:57 +0900)]
Made everything except gtkitementry.c multi-head safe

15 years agoAdded event handler for the Delete key
John Darrington [Tue, 18 Nov 2008 10:04:22 +0000 (19:04 +0900)]
Added event handler for the Delete key

15 years agoMade attributes justification default to GTK_JUSTIFY_LEFT
John Darrington [Tue, 18 Nov 2008 07:11:37 +0000 (16:11 +0900)]
Made attributes justification default to GTK_JUSTIFY_LEFT

15 years agoFix vertical alignment of text.
John Darrington [Tue, 18 Nov 2008 07:03:33 +0000 (16:03 +0900)]
Fix vertical alignment of text.

15 years agoFixed horizontal alignment of text within cells.
John Darrington [Tue, 18 Nov 2008 06:46:22 +0000 (15:46 +0900)]
Fixed horizontal alignment of text within cells.

15 years agoUse rectangle_from_cell where appropriate.
John Darrington [Tue, 18 Nov 2008 05:26:29 +0000 (14:26 +0900)]
Use rectangle_from_cell where appropriate.

15 years agoNew function rectangle_from_range.
John Darrington [Tue, 18 Nov 2008 04:41:45 +0000 (13:41 +0900)]
New function rectangle_from_range.

Generalised rectangle_from_cell into a new function
rectangle_from_range, and implemented the former in terms of the latter.

15 years agoNew function rectangle_from_cell
John Darrington [Tue, 18 Nov 2008 04:13:32 +0000 (13:13 +0900)]
New function rectangle_from_cell

Factored out a bit of common code by adding this new function.

15 years agoFixed problem where the old active cell wasn't hidden.
John Darrington [Tue, 18 Nov 2008 02:55:22 +0000 (11:55 +0900)]
Fixed problem where the old active cell wasn't hidden.

15 years agoRemoved the visibility predicate from the row/column models.
John Darrington [Tue, 18 Nov 2008 00:32:39 +0000 (09:32 +0900)]
Removed the visibility predicate from the row/column models.

These predicates have never been used, and just complicate things.

15 years agoCorrect scrollbar adjustments for row/column titles width.
John Darrington [Tue, 18 Nov 2008 00:09:57 +0000 (09:09 +0900)]
Correct scrollbar adjustments for row/column titles width.

15 years agoWhitespace changes
John Darrington [Mon, 17 Nov 2008 23:04:24 +0000 (08:04 +0900)]
Whitespace changes

15 years agoFixed the tooltips/hover feature
John Darrington [Mon, 17 Nov 2008 00:05:29 +0000 (09:05 +0900)]
Fixed the tooltips/hover feature

15 years agoFixed some other little bugs which kept in.
John Darrington [Sat, 15 Nov 2008 15:12:36 +0000 (00:12 +0900)]
Fixed some other little bugs which kept in.

15 years agoRemove "backing pixmap".
John Darrington [Sat, 15 Nov 2008 14:25:13 +0000 (23:25 +0900)]
Remove "backing pixmap".

Removed the backing pixmap, which didn't serve any useful
purpose, and draw directly onto the widget's GdkWindow
instead.

15 years agoAdded .libs to .gitignore
John Darrington [Fri, 14 Nov 2008 23:49:01 +0000 (08:49 +0900)]
Added .libs to .gitignore

15 years agoWhitespace changes, and function refactoring.
John Darrington [Fri, 14 Nov 2008 23:47:20 +0000 (08:47 +0900)]
Whitespace changes, and function refactoring.

15 years agoMore unused code deleted.
John Darrington [Fri, 14 Nov 2008 11:21:39 +0000 (20:21 +0900)]
More unused code deleted.

15 years agoRemoved some unused code.
John Darrington [Fri, 14 Nov 2008 10:49:18 +0000 (19:49 +0900)]
Removed some unused code.

15 years agoAdd useful test/example file.
John Darrington [Fri, 14 Nov 2008 09:56:56 +0000 (18:56 +0900)]
Add useful test/example file.

15 years agoRemoved some unused gtksheet features.
John Darrington [Fri, 14 Nov 2008 05:47:03 +0000 (14:47 +0900)]
Removed some unused gtksheet features.

15 years agoDelete gtkextra.c
John Darrington [Fri, 14 Nov 2008 05:41:17 +0000 (14:41 +0900)]
Delete gtkextra.c

Use the standard g_signal_emit instead of the one from gtkextra.
Sort out confusion over the "veto" variable.

15 years agoMake the arrow keys behave more like what popular spreadsheets do.
John Darrington [Thu, 13 Nov 2008 07:40:12 +0000 (16:40 +0900)]
Make the arrow keys behave more like what popular spreadsheets do.

15 years agoSimplified the scrolling behaviour
John Darrington [Thu, 13 Nov 2008 06:02:58 +0000 (15:02 +0900)]
Simplified the scrolling behaviour

Made all the scrolling take place via the horizontal or vertical GtkAdjustments
instead of directly.  Some key events have been removed.
We'll add them back again as and when necessary.

15 years agoReplaced macros with static inline functions
John Darrington [Thu, 13 Nov 2008 01:06:34 +0000 (10:06 +0900)]
Replaced macros with static inline functions

15 years agoAdd prototype for gtk_xpaned_compute_position
John Darrington [Wed, 12 Nov 2008 11:25:50 +0000 (20:25 +0900)]
Add prototype for gtk_xpaned_compute_position

15 years agoRemove calls to gdk_pointer_ungrab
John Darrington [Wed, 12 Nov 2008 11:00:39 +0000 (20:00 +0900)]
Remove calls to gdk_pointer_ungrab

Replace gdk_pointer_ungrab with gdk_display_pointer_ungrab

15 years agoRemove calls to gdk_cursor_new
John Darrington [Wed, 12 Nov 2008 10:46:20 +0000 (19:46 +0900)]
Remove calls to gdk_cursor_new

Replace gdk_cursor_new with gdk_cursor_new_for_display.

15 years agoRemove unsafe colormap operations.
John Darrington [Wed, 12 Nov 2008 10:29:10 +0000 (19:29 +0900)]
Remove unsafe colormap operations.

15 years agoChange bg_color and grid_color to an array of two colors
John Darrington [Wed, 12 Nov 2008 10:20:50 +0000 (19:20 +0900)]
Change bg_color and grid_color to an array of two colors

15 years agoMerge branch 'master' into rewrite-sheet
John Darrington [Tue, 11 Nov 2008 12:25:10 +0000 (21:25 +0900)]
Merge branch 'master' into rewrite-sheet

15 years agoMade some gui functions multi-head safe.
John Darrington [Tue, 11 Nov 2008 12:00:58 +0000 (21:00 +0900)]
Made some gui functions multi-head safe.

15 years agoMerge branch 'master' into rewrite-sheet
John Darrington [Tue, 11 Nov 2008 04:39:40 +0000 (13:39 +0900)]
Merge branch 'master' into rewrite-sheet

Conflicts:

lib/gtksheet/automake.mk
po/en_GB.po