Commit 70cae9ce authored by Andreas J. Guelzow's avatar Andreas J. Guelzow Committed by Andreas J. Guelzow

new new

2002-04-13  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/commands.c (cmd_range_to_str_utility) : new
	* src/commands.h (cmd_range_to_str_utility) : new

2002-04-13  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* dao.c (dao_command_descriptor) : use cmd_range_to_str_utility
parent c6dcedd4
......@@ -7,7 +7,6 @@ release, and longer term bugs.
Release Critical
----------------
- 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. (This might just be my bastard libtool.)
- Why doesn't float_range_function2 use its "flags" argument?
......
2002-04-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/commands.c (cmd_range_to_str_utility) : new
* src/commands.h (cmd_range_to_str_utility) : new
2002-04-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/value.c (value_get_as_string) : handle VALUE_ARRAY more reasonably
......
2002-04-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/commands.c (cmd_range_to_str_utility) : new
* src/commands.h (cmd_range_to_str_utility) : new
2002-04-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/value.c (value_get_as_string) : handle VALUE_ARRAY more reasonably
......
2002-04-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/commands.c (cmd_range_to_str_utility) : new
* src/commands.h (cmd_range_to_str_utility) : new
2002-04-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/value.c (value_get_as_string) : handle VALUE_ARRAY more reasonably
......
......@@ -332,6 +332,22 @@ cmd_range_list_to_string_utility (Sheet *sheet, GSList const *ranges)
return names;
}
char *
cmd_range_to_str_utility (Sheet *sheet, Range const *range)
{
GSList *list = NULL;
GString *string = NULL;
char *text = NULL;
list = g_slist_prepend (list, (Range *)range);
string = cmd_range_list_to_string_utility (sheet, list);
g_slist_free (list);
text = string->str;
g_string_free (string, FALSE);
return text;
}
/*
* command_undo : Undo the last command executed.
*
......
......@@ -13,6 +13,7 @@ void command_setup_combos (WorkbookControl *wbc);
void command_list_release (GSList *cmds);
GString *cmd_range_list_to_string_utility (Sheet *sheet, GSList const *ranges);
char *cmd_range_to_str_utility (Sheet *sheet, Range const *range);
char *cmd_cell_pos_name_utility (Sheet *sheet, CellPos const *pos);
gboolean cmd_set_text (WorkbookControl *wbc, Sheet *sheet,
......
2002-04-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* dao.c (dao_command_descriptor) : use cmd_range_to_str_utility
2002-04-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
* random-generator.[ch] : make undoable
......
......@@ -38,6 +38,7 @@
#include "workbook-control.h"
#include "format.h"
#include "sheet-object-cell-comment.h"
#include "commands.h"
#include <libgnome/gnome-i18n.h>
#include <gtk/gtk.h>
......@@ -90,7 +91,7 @@ dao_range_name (data_analysis_output_t *dao)
range_init (&range, dao->start_col, dao->start_row,
dao->start_col + dao->cols - 1,
dao->start_row + dao->rows - 1);
return global_range_name (dao->sheet, &range);
return cmd_range_to_str_utility (dao->sheet, &range);
}
/**
......
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