Commit 03198e1d authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg
Browse files

- Fix a problem with zooming caused by the new item-bar enhancements. -


- Fix a problem with zooming caused by the new item-bar enhancements.
- Remove gnumeric-sheet.h from a number of places that it had no reason to be.
- Move all of the row/col pos/offset cache into GnumericSheet.  WARNING
  I do not populate all of it yet.

2000-01-26  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-view.c (sheet_view_set_zoom_factor) : Keep the cursor in
	  the same place and recompute the alignments for everything.

	* src/item-cursor.c (item_cursor_set_bounds) : New function.

	* src/gnumeric-sheet.h : Add more orthogonal structure for caching
	  common row/col bounds and their canvas offsets.

	* src/gnumeric-sheet.c (gnumeric_sheet_create) : Init the new members.
	(gnumeric_sheet_filenames_dropped) : Keep the canvas private.
	(gnumeric_sheet_make_cell_visible) : Add 'force_scroll' argument.

	* src/clipboard.c (clipboard_release) : It is possible to have no
	  styles associated with a region.

	* src/item-grid.c : Remove overlapping cache of bounding rows/cols and
	  offsets.  Use the superset in GnumericSheet.
	 (item_grid_find_{row, col}) : Support sliding backwards.
parent e692b098
2000-01-26 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (sheet_view_set_zoom_factor) : Keep the cursor in
the same place and recompute the alignments for everything.
* src/item-cursor.c (item_cursor_set_bounds) : New function.
* src/gnumeric-sheet.h : Add more orthogonal structure for caching
common row/col bounds and their canvas offsets.
* src/gnumeric-sheet.c (gnumeric_sheet_create) : Init the new members.
(gnumeric_sheet_filenames_dropped) : Keep the canvas private.
(gnumeric_sheet_make_cell_visible) : Add 'force_scroll' argument.
* src/clipboard.c (clipboard_release) : It is possible to have no
styles associated with a region.
* src/item-grid.c : Remove overlapping cache of bounding rows/cols and
offsets. Use the superset in GnumericSheet.
(item_grid_find_{row, col}) : Support sliding backwards.
2000-01-26 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/solver-lp.c: Implemented the `>=' and `=' constraints.
......
......@@ -7,6 +7,9 @@ Jukka:
* Minor improvements for the AutoSave tool.
* GUI improvements for the Data Analysis tool.
Jody:
* Row/Col header redraw improvements.
--------------------------------------------------------------------------
Gnumeric 0.48
......@@ -20,7 +23,6 @@ Jody:
* Row/Col hiding.
* Keep cursor visible, Add Alt-Pg{Up,down}
* Clipboard, Selection, & border fixes.
* Row/Col header redraw improvements.
Morten:
* Revamp the memory handling of the parser.
......
2000-01-26 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (sheet_view_set_zoom_factor) : Keep the cursor in
the same place and recompute the alignments for everything.
* src/item-cursor.c (item_cursor_set_bounds) : New function.
* src/gnumeric-sheet.h : Add more orthogonal structure for caching
common row/col bounds and their canvas offsets.
* src/gnumeric-sheet.c (gnumeric_sheet_create) : Init the new members.
(gnumeric_sheet_filenames_dropped) : Keep the canvas private.
(gnumeric_sheet_make_cell_visible) : Add 'force_scroll' argument.
* src/clipboard.c (clipboard_release) : It is possible to have no
styles associated with a region.
* src/item-grid.c : Remove overlapping cache of bounding rows/cols and
offsets. Use the superset in GnumericSheet.
(item_grid_find_{row, col}) : Support sliding backwards.
2000-01-26 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/solver-lp.c: Implemented the `>=' and `=' constraints.
......
......@@ -28,7 +28,6 @@
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "format.h"
#include "color.h"
#include "sheet-object.h"
......
......@@ -10,7 +10,6 @@
#include <gnome.h>
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "format.h"
#include "color.h"
#include "sheet-object.h"
......
......@@ -24,7 +24,7 @@ dialog_about (Workbook *wb)
N_("Miguel de Icaza, main programmer."),
N_("Sean Atkinson, Functions and X-Base importing."),
N_("Tom Dyas, Plugin support."),
N_("Jody Goldberg, Excel hacker."),
N_("Jody Goldberg, Gnumeric hacker."),
N_("Ross Ihaka, special functions."),
N_("Jukka-Pekka Iivonen, numerous functions and tools."),
N_("Jakub Jelinek, Gnumeric hacker."),
......@@ -56,7 +56,7 @@ dialog_about (Workbook *wb)
#endif
about = gnome_about_new (_("Gnumeric"), VERSION,
_("(C) 1998-1999 Miguel de Icaza"),
_("(C) 1998-2000 Miguel de Icaza"),
authors,
NULL,
NULL);
......
......@@ -9,8 +9,8 @@
#include <locale.h>
#include <ctype.h>
#include "gnumeric.h"
#include "gnumeric-sheet.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "eval.h"
#include "format.h"
#include "color.h"
......@@ -876,6 +876,7 @@ cell_comment_reposition (Cell *cell)
g_return_if_fail (cell != NULL);
g_return_if_fail (cell->comment != NULL);
/* FIXME : This should use the sheet_view list */
for (l = cell->comment->realized_list; l; l = l->next){
GnomeCanvasItem *o = l->data;
SheetView *sheet_view = GNUMERIC_SHEET (o->canvas)->sheet_view;
......
......@@ -17,7 +17,6 @@
#include <config.h>
#include <gnome.h>
#include "gnumeric.h"
#include "gnumeric-sheet.h"
#include "eval.h"
#include "format.h"
......
......@@ -624,8 +624,10 @@ clipboard_release (CellRegion *region)
g_free (this_cell->u.text);
g_free (this_cell);
}
sheet_style_list_destroy (region->styles);
region->styles = NULL;
if (region->styles != NULL) {
sheet_style_list_destroy (region->styles);
region->styles = NULL;
}
g_list_free (region->list);
region->list = NULL;
......
......@@ -9,7 +9,6 @@
#include <config.h>
#include <gnome.h>
#include "gnumeric.h"
#include "gnumeric-sheet.h"
#include "utils.h"
#include "ranges.h"
#include "eval.h"
......
......@@ -24,7 +24,7 @@ dialog_about (Workbook *wb)
N_("Miguel de Icaza, main programmer."),
N_("Sean Atkinson, Functions and X-Base importing."),
N_("Tom Dyas, Plugin support."),
N_("Jody Goldberg, Excel hacker."),
N_("Jody Goldberg, Gnumeric hacker."),
N_("Ross Ihaka, special functions."),
N_("Jukka-Pekka Iivonen, numerous functions and tools."),
N_("Jakub Jelinek, Gnumeric hacker."),
......@@ -56,7 +56,7 @@ dialog_about (Workbook *wb)
#endif
about = gnome_about_new (_("Gnumeric"), VERSION,
_("(C) 1998-1999 Miguel de Icaza"),
_("(C) 1998-2000 Miguel de Icaza"),
authors,
NULL,
NULL);
......
......@@ -13,7 +13,6 @@
#include <ctype.h>
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "dialogs.h"
#include "commands.h"
......
......@@ -11,7 +11,6 @@
#include <glade/glade.h>
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "dialogs.h"
......
......@@ -15,7 +15,6 @@
#include "utils-dialog.h"
#include "widgets/widget-font-selector.h"
#include "widgets/gnumeric-dashed-canvas-line.h"
#include "gnumeric-sheet.h"
#include "gnumeric-util.h"
#include "selection.h"
#include "ranges.h"
......
......@@ -12,7 +12,6 @@
#include "gnumeric.h"
#include "workbook-view.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "dialogs.h"
#include "cell.h"
#include "expr.h"
......
......@@ -10,7 +10,6 @@
#include <glade/glade.h>
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "dialogs.h"
#define LIST_KEY "name_list_data"
......
......@@ -9,7 +9,6 @@
#include <gnome.h>
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "dialogs.h"
#include "cell.h"
#include "expr.h"
......
......@@ -9,7 +9,6 @@
#include <gnome.h>
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "dialogs.h"
#include "cell.h"
#include "expr.h"
......
......@@ -9,7 +9,6 @@
#include <gnome.h>
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "dialogs.h"
#include "cell.h"
#include "expr.h"
......
......@@ -12,7 +12,6 @@
#include <math.h>
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "gnumeric-sheet.h"
#include "dialogs.h"
#include "cell.h"
#include "expr.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment