Commit 6e4b069a authored by Michael Meeks's avatar Michael Meeks Committed by Michael Meeks

update for BonoboX

2000-08-02  Michael Meeks  <michael@helixcode.com>

	* configure.in: update for BonoboX

2000-07-22  Michael Meeks  <michael@helixcode.com>

	* src/sheet-object.c (sheet_finish_object_creation): unset
	dragging.

	* src/sheet-object-container.c (item_destroyed): conditional unref.
parent 35149aa1
2000-08-02 Michael Meeks <michael@helixcode.com>
* configure.in: update for BonoboX
2000-07-22 Michael Meeks <michael@helixcode.com>
* src/sheet-object.c (sheet_finish_object_creation): unset
dragging.
* src/sheet-object-container.c (item_destroyed): conditional unref.
2000-07-31 Jody Goldberg <jgoldberg@home.com>
* src/functions/fn-date.c (date_functions_ini) : Convert most of the
......
2000-08-02 Michael Meeks <michael@helixcode.com>
* configure.in: update for BonoboX
2000-07-22 Michael Meeks <michael@helixcode.com>
* src/sheet-object.c (sheet_finish_object_creation): unset
dragging.
* src/sheet-object-container.c (item_destroyed): conditional unref.
2000-07-31 Jody Goldberg <jgoldberg@home.com>
* src/functions/fn-date.c (date_functions_ini) : Convert most of the
......
2000-08-02 Michael Meeks <michael@helixcode.com>
* configure.in: update for BonoboX
2000-07-22 Michael Meeks <michael@helixcode.com>
* src/sheet-object.c (sheet_finish_object_creation): unset
dragging.
* src/sheet-object-container.c (item_destroyed): conditional unref.
2000-07-31 Jody Goldberg <jgoldberg@home.com>
* src/functions/fn-date.c (date_functions_ini) : Convert most of the
......
2000-08-02 Michael Meeks <michael@helixcode.com>
* configure.in: update for BonoboX
2000-07-22 Michael Meeks <michael@helixcode.com>
* src/sheet-object.c (sheet_finish_object_creation): unset
dragging.
* src/sheet-object-container.c (item_destroyed): conditional unref.
2000-07-31 Jody Goldberg <jgoldberg@home.com>
* src/functions/fn-date.c (date_functions_ini) : Convert most of the
......
2000-08-02 Michael Meeks <michael@helixcode.com>
* configure.in: update for BonoboX
2000-07-22 Michael Meeks <michael@helixcode.com>
* src/sheet-object.c (sheet_finish_object_creation): unset
dragging.
* src/sheet-object-container.c (item_destroyed): conditional unref.
2000-07-31 Jody Goldberg <jgoldberg@home.com>
* src/functions/fn-date.c (date_functions_ini) : Convert most of the
......
2000-08-02 Michael Meeks <michael@helixcode.com>
* configure.in: update for BonoboX
2000-07-22 Michael Meeks <michael@helixcode.com>
* src/sheet-object.c (sheet_finish_object_creation): unset
dragging.
* src/sheet-object-container.c (item_destroyed): conditional unref.
2000-07-31 Jody Goldberg <jgoldberg@home.com>
* src/functions/fn-date.c (date_functions_ini) : Convert most of the
......
2000-08-02 Michael Meeks <michael@helixcode.com>
* configure.in: update for BonoboX
2000-07-22 Michael Meeks <michael@helixcode.com>
* src/sheet-object.c (sheet_finish_object_creation): unset
dragging.
* src/sheet-object-container.c (item_destroyed): conditional unref.
2000-07-31 Jody Goldberg <jgoldberg@home.com>
* src/functions/fn-date.c (date_functions_ini) : Convert most of the
......
......@@ -209,7 +209,7 @@ if $try_bonobo; then
AC_MSG_RESULT(found)
AC_DEFINE(ENABLE_BONOBO)
have_bonobo=true
bonobo=bonobo
bonobo=bonobox_print
bonobo_msg=yes
bonobo_suffix=-bonobo
gnumeric_executable=gnumeric-bonobo
......
......@@ -332,7 +332,9 @@ workbook_deps_destroy (Workbook *wb)
* cell_eval_content:
* @cell: the cell to evaluate.
*
* This function evaluates the contents of the cell.
* This function evaluates the contents of the cell,
* it should not be used by anyone. It is an internal
* function.
*
**/
void
......@@ -1237,3 +1239,25 @@ sheet_recalc_dependencies (Sheet *sheet)
if (deps)
eval_queue_list (deps, TRUE);
}
/*
* Ok; so we will have some new semantics;
*/
/*
CELL_QUEUED_FOR_RECALC will signify that the cell is in fact in the
recalc list. This means this cell will have to be re-calculated, it
also means that _All_ its dependencies are also in the re-calc list.
Hence; whenever a cell is added to the recalc list; its dependency
tree, must be progressively added to the list. Clearly any entries
marked 'CELL_QUEUED_FOR_RECALC' are already in there ( as are their
children ) so we can quickly and efficiently prune the tree.
The advantage of this is that we can dispense with the generation
scheme, with its costly linear reset ( even though amortized over
255 calculations it is an expense. ) We also have the _Luxury_ of
leaving things uncalculated with no loss of efficiency in the
queue. This will allow us to do far less re-calculating.
*/
2000-07-22 Michael Meeks <michael@helixcode.com>
* dialog-cell-format.c (cb_font_changed): update.
2000-07-22 Karl Eichwalder <ke@suse.de>
* dialog-analysis-tools.c (dialog_histogram_tool): Normalize string.
......
......@@ -332,7 +332,9 @@ workbook_deps_destroy (Workbook *wb)
* cell_eval_content:
* @cell: the cell to evaluate.
*
* This function evaluates the contents of the cell.
* This function evaluates the contents of the cell,
* it should not be used by anyone. It is an internal
* function.
*
**/
void
......@@ -1237,3 +1239,25 @@ sheet_recalc_dependencies (Sheet *sheet)
if (deps)
eval_queue_list (deps, TRUE);
}
/*
* Ok; so we will have some new semantics;
*/
/*
CELL_QUEUED_FOR_RECALC will signify that the cell is in fact in the
recalc list. This means this cell will have to be re-calculated, it
also means that _All_ its dependencies are also in the re-calc list.
Hence; whenever a cell is added to the recalc list; its dependency
tree, must be progressively added to the list. Clearly any entries
marked 'CELL_QUEUED_FOR_RECALC' are already in there ( as are their
children ) so we can quickly and efficiently prune the tree.
The advantage of this is that we can dispense with the generation
scheme, with its costly linear reset ( even though amortized over
255 calculations it is an expense. ) We also have the _Luxury_ of
leaving things uncalculated with no loss of efficiency in the
queue. This will allow us to do far less re-calculating.
*/
......@@ -177,7 +177,7 @@ gnumeric_main (void *closure, int argc, char *argv [])
global_gnome_font_init ();
/* Glade */
glade_gnome_init ();
glade_gnome ();
if (startup_glade_file)
glade_xml_new (startup_glade_file, NULL);
......
......@@ -177,7 +177,7 @@ gnumeric_main (void *closure, int argc, char *argv [])
global_gnome_font_init ();
/* Glade */
glade_gnome_init ();
glade_gnome ();
if (startup_glade_file)
glade_xml_new (startup_glade_file, NULL);
......
......@@ -108,6 +108,7 @@ view_activated_cb (BonoboViewFrame *view_frame, gboolean activated, SheetObject
static void
item_destroyed (GnomeCanvasItem *item, BonoboViewFrame *view_frame)
{
if (view_frame)
bonobo_object_unref (BONOBO_OBJECT (view_frame));
}
......@@ -125,6 +126,11 @@ sheet_object_container_realize (SheetObject *so, SheetView *sheet_view)
SHEET_OBJECT_BONOBO (so)->client_site,
bonobo_object_corba_objref (BONOBO_OBJECT (sheet_view->sheet->workbook->priv->uih)));
if (!view_frame) {
g_warning ("Component died");
return NULL;
}
gtk_signal_connect (GTK_OBJECT (view_frame), "user_activate",
GTK_SIGNAL_FUNC (user_activation_request_cb), so);
gtk_signal_connect (GTK_OBJECT (view_frame), "activated",
......
......@@ -687,6 +687,8 @@ sheet_finish_object_creation (Sheet *sheet, SheetObject *o)
{
GList *l;
o->dragging = FALSE;
/* Set the mode */
sheet_set_mode_type (sheet, SHEET_MODE_OBJECT_SELECTED);
......
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