Commit 0e816f89 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Generate GNOME_Gnumeric.server.in start to think about this.

2002-03-12  Jody Goldberg <jody@gnome.org>

	* configure.in : Generate GNOME_Gnumeric.server.in
	* Generate GNOME_Gnumeric.server : start to think about this.

	* src/expr-name.c (expr_name_unlink_deps) : handle delayed hash
	  creation.
	(expr_name_new) : dont init the hash table.
	(expr_name_add_dep) : until here.

	* src/sheet.c (sheet_destroy_contents) : free the primary array too.

	* src/xml-io.c (cell_copy_new) : set comment to NULL.
	* src/gui-clipboard.c (x_selection_to_cell_region) : ditto.
	* src/stf-parse.c (stf_parse_region) : ditto.
parent 0b2eae22
......@@ -26,5 +26,6 @@ tags
intltool-extract*
intltool-merge*
intltool-update*
GNOME_Gnumeric.server.in
GNOME_Gnumeric.server
.intltool-cache*
......@@ -7,7 +7,6 @@ release, and longer term bugs.
Release Critical
----------------
- changes to gal colour combo to differentiate auto
- http://bugzilla.gnome.org/show_bug.cgi?id=71551
- We need to somehow add --export-dynamic to the gnumeric link line, or else
plugins won't load on Solaris/gcc.
......@@ -30,6 +29,7 @@ Release Critical
Pending Patches
---------------
- jpablo's sheet tab color patch
- Yukihiro's IM support (broken in the context of gnome2)
- http://flowernet.gr.jp/jado/comp/patch/gnumeric/gnumeric-1.0.4-excel-cjk.patch
......
2002-03-12 Jody Goldberg <jody@gnome.org>
* configure.in : Generate GNOME_Gnumeric.server.in
* Generate GNOME_Gnumeric.server : start to think about this.
* src/expr-name.c (expr_name_unlink_deps) : handle delayed hash
creation.
(expr_name_new) : dont init the hash table.
(expr_name_add_dep) : until here.
* src/sheet.c (sheet_destroy_contents) : free the primary array too.
* src/xml-io.c (cell_copy_new) : set comment to NULL.
* src/gui-clipboard.c (x_selection_to_cell_region) : ditto.
* src/stf-parse.c (stf_parse_region) : ditto.
2002-03-12 Andreas J. Guelzow <aguelzow@taliesin.ca>
* workbook-control-gui.c : add Merge to the Edit/Fill menu
......
<oaf_info>
<oaf_server iid="OAFIID:GNOME_Gnumeric_WorkbookFactory"
<oaf_server iid="OAFIID:GNOME_Gnumeric_Application"
type="exe"
location="gnumeric">
location="@prefix@/bin/gnumeric">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Gnumeric/WorkbookFactory:1.0"/>
<item value="IDL:GNOME/ObjectFactory:1.0"/>
<item value="IDL:Bonobo/GenericFactory:1.0"/>
<item value="IDL:GNOME/Gnumeric/Application:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
value="Gnumeric "/>
<oaf_attribute name="name" type="string" value="Gnumeric Application"/>
<oaf_attribute name="description" type="string" value="The manager for workbooks"/>
</oaf_server>
<oaf_server iid="OAFIID:GNOME_Gnumeric_Workbook"
type="factory"
location="OAFIID:GNOME_Gnumeric_WorkbookFactory">
location="OAFIID:GNOME_Gnumeric_Application">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Gnumeric/Workbook:1.0"/>
......@@ -24,31 +22,4 @@
<oaf_attribute name="description" type="string"
value="Workbook component"/>
</oaf_server>
<!-- disable until it does something other than crash.
<oaf_server iid="OAFIID:GNOME_Gnumeric_GridFactory"
type="exe"
location="gnumeric">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
value="Embeddable Grid Component Factory"/>
</oaf_server>
<oaf_server iid="OAFIID:GNOME_Gnumeric_Grid"
type="factory"
location="OAFIID:GNOME_Gnumeric_GridFactory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Gnumeric/Grid"/>
<item value="IDL:Bonobo/Embeddable:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
value="Embeddable Grid Component"/>
</oaf_server>
-->
</oaf_info>
......@@ -25,7 +25,7 @@ server_DATA = GNOME_Gnumeric.server
@INTLTOOL_SERVER_RULE@
EXTRA_DIST = \
gnumeric.desktop.in gnumeric.spec.in \
gnumeric.desktop.in gnumeric.spec.in GNOME_Gnumeric.server.in.in\
gnumeric.keys.in gnumeric.mime \
gnumeric.xsd \
README HACKING NEWS BEVERAGES BUGS MAINTAINERS AUTHORS $(change_logs) \
......
2002-03-12 Jody Goldberg <jody@gnome.org>
* configure.in : Generate GNOME_Gnumeric.server.in
* Generate GNOME_Gnumeric.server : start to think about this.
* src/expr-name.c (expr_name_unlink_deps) : handle delayed hash
creation.
(expr_name_new) : dont init the hash table.
(expr_name_add_dep) : until here.
* src/sheet.c (sheet_destroy_contents) : free the primary array too.
* src/xml-io.c (cell_copy_new) : set comment to NULL.
* src/gui-clipboard.c (x_selection_to_cell_region) : ditto.
* src/stf-parse.c (stf_parse_region) : ditto.
2002-03-12 Andreas J. Guelzow <aguelzow@taliesin.ca>
* workbook-control-gui.c : add Merge to the Edit/Fill menu
......
2002-03-12 Jody Goldberg <jody@gnome.org>
* configure.in : Generate GNOME_Gnumeric.server.in
* Generate GNOME_Gnumeric.server : start to think about this.
* src/expr-name.c (expr_name_unlink_deps) : handle delayed hash
creation.
(expr_name_new) : dont init the hash table.
(expr_name_add_dep) : until here.
* src/sheet.c (sheet_destroy_contents) : free the primary array too.
* src/xml-io.c (cell_copy_new) : set comment to NULL.
* src/gui-clipboard.c (x_selection_to_cell_region) : ditto.
* src/stf-parse.c (stf_parse_region) : ditto.
2002-03-12 Andreas J. Guelzow <aguelzow@taliesin.ca>
* workbook-control-gui.c : add Merge to the Edit/Fill menu
......
......@@ -590,6 +590,7 @@ dnl ====================================
AC_OUTPUT([
gnumeric.spec
GNOME_Gnumeric.server.in
Makefile
src/Makefile
icons/Makefile
......
......@@ -37,6 +37,10 @@ static GSList *
expr_name_unlink_deps (NamedExpression *nexpr)
{
GSList *ptr, *deps = NULL;
if (nexpr->dependents == NULL)
return NULL;
g_hash_table_foreach (nexpr->dependents, cb_collect_name_deps, &deps);
/* pull them out */
......@@ -164,7 +168,7 @@ expr_name_new (char const *name, gboolean builtin)
nexpr->active = TRUE;
nexpr->name = string_get (name);
nexpr->t.expr_tree = NULL;
nexpr->dependents = g_hash_table_new (g_direct_hash, g_direct_equal);
nexpr->dependents = NULL;
g_return_val_if_fail (nexpr->name != NULL, NULL);
......@@ -503,16 +507,21 @@ expr_name_set_expr (NamedExpression *nexpr, ExprTree *new_expr)
void
expr_name_add_dep (NamedExpression *nexpr, Dependent *dep)
{
if (nexpr->dependents == NULL)
nexpr->dependents = g_hash_table_new (g_direct_hash,
g_direct_equal);
g_hash_table_insert (nexpr->dependents, dep, dep);
}
void
expr_name_remove_dep (NamedExpression *nexpr, Dependent *dep)
{
g_return_if_fail (nexpr->dependents != NULL);
g_hash_table_remove (nexpr->dependents, dep);
}
/* ------------------------------------------------------------- */
static Value *
......
......@@ -83,6 +83,7 @@ x_selection_to_cell_region (WorkbookControlGUI *wbcg, const guchar *src, int len
ccopy->col_offset = 0;
ccopy->row_offset = 0;
ccopy->u.text = g_strdup (data);
ccopy->comment = NULL;
cr = cellregion_new (NULL);
cr->content = g_list_prepend (cr->content, ccopy);
......
......@@ -1245,6 +1245,7 @@ stf_parse_region (StfParseOptions_t *parseoptions, char const *data)
ccopy->col_offset = col;
ccopy->row_offset = row;
ccopy->u.text = text; /* No need to free this here */
ccopy->comment = NULL;
content = g_list_prepend (content, ccopy);
}
......
......@@ -2525,6 +2525,7 @@ cell_copy_new (void)
cc = g_new (CellCopy, 1);
cc->type = CELL_COPY_TYPE_CELL;
cc->u.cell = cell;
cc->comment= NULL;
return cc;
}
......
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