1. 08 May, 2001 5 commits
    • Almer S. Tigelaar's avatar
      Restore default from list of savedsizes. (colrow_set_sizes): When changing · c4f2b99a
      Almer S. Tigelaar authored
      2001-05-08  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/colrow.c (colrow_restore_sizes_group): Restore
      	default from list of savedsizes.
      	(colrow_set_sizes): When changing default save as
      	list of savedsizes.
      c4f2b99a
    • Almer S. Tigelaar's avatar
      New, combine all the enabling/disabling of menu items here including the · 86c531df
      Almer S. Tigelaar authored
      2001-05-08  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update): New, combine
      	all the enabling/disabling of menu items here including the newly
      	added show/hide menu items.
      	(wbcg_menu_state_enable_insert): Remove.
      	(wbcg_menu_state_paste_special): Remove.
      	(workbook_control_gui_ctor_class): Init menu_state_update callback
      	and remove paste_special and enable_insert initializations.
      	(workbook_control_gui_init): Initialize show/hide menu items.
      
      	* src/workbook-control-gui-priv.h: Add show/hide detail menu items
      	and tidy structure lay-out.
      
      	* src/workbook-control-priv.h: Remove menu_state_enable_insert
      	and menu_state_paste_special callbacks and add menu_state_update
      	callback.
      
      	* src/workbook-control.[ch]: Add wb_menu_state_update and
      	remove wb_menu_state_paste_special and wb_menu_state_enable_insert.
      	(wb_control_sheet_add): call wb_menu_state_update, Remove
      	call to menu_state_paste_special.
      
      	* src/sheet-private.h: Add enable_showhide_detail.
      
      	* src/sheet.c (sheet_new): Initialize menu state booleans.
      	(sheet_menu_state_enable_insert): Use wb_control_menu_state_update.
      
      	* src/workbook-view.c (wb_view_menus_update): Idem and
      	remove call to wb_control_menu_state_paste_special.
      
      	* src/application.c (application_clipboard_clear): Idem.
      	(application_clipboard_copy): Idem.
      	(application_clipboard_cut): Idem.
      
      	* src/selection.c (sheet_selection_set_internal): Add comment for
      	show/hide detail enabling/disabling, something we can't do just yet.
      86c531df
    • Morten Welinder's avatar
      Performance. · b2f182ff
      Morten Welinder authored
      b2f182ff
    • Jody Goldberg's avatar
      update · 6ad1e284
      Jody Goldberg authored
      6ad1e284
    • Jody Goldberg's avatar
      Add PASTE_IGNORE_COMMENTS. · 4252b602
      Jody Goldberg authored
      
      2001-05-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (clipboard_paste_region) : Add PASTE_IGNORE_COMMENTS.
      
      	* src/commands.c (cmd_merge_cells_undo) : Use it here.
      
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-merge.c (sheet_merge_remove) : adjust comments.
      	(sheet_merge_add) : ditto.
      
      	* src/sheet-object-cell-comment.c (comment_get_points) : handle merged
      	  cells.
      
      	* src/commands.c (cmd_unmerge_cells) : don't queue an undo object if
      	  there is nothing to do.
      	(cmd_merge_cells) : filter existing ranges too.
      4252b602
  2. 07 May, 2001 17 commits
    • Jody Goldberg's avatar
      More warning suppression. · 2469741e
      Jody Goldberg authored
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-escher.c (ms_escher_get_data) : suppress warnings.
      	(ms_escher_read_ClientTextbox) : no side effects in precondition.
      
      	* ms-excel-read.c (ms_excel_formula_shared) : ditto.
      
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_event) : ignore events while editing.
      
      	* src/functions/fn-string.c (gnumeric_value) : s/free/g_free/
      	* src/parse-util.c (parse_cell_name_list) : ditto.
      
      	* src/parser.y (gnumeric_expr_parser) : reorganize slightly to improve
      	  readability.
      
      	* src/sheet.c (sheet_range_contains_region) : doh!.  forgot to invert
      	  logic when I renamed the function.
      2469741e
    • Jon K Hellan's avatar
      Handle select button both within and outside guru mode. · 243e02d3
      Jon K Hellan authored
      2001-05-07  Jon K Hellan  <hellan@acm.org>
      
      	* src/sheet-control-gui.c (scg_select_all): Handle select button
      	both within and outside guru mode.
      	(button_select_all): Use scg_select_all.
      243e02d3
    • Morten Welinder's avatar
      Plug file descriptor leak. (stf_write_func): Constify. · 97f47c58
      Morten Welinder authored
      2001-05-07  Morten Welinder  <terra@diku.dk>
      
      	* src/stf.c (stf_write_workbook): Plug file descriptor leak.
      	(stf_write_func): Constify.
      	(stf_open_and_read): Protect against missing file size after
       	fstat.
      
      2001-05-07  Morten Welinder  <terra@diku.dk>
      
      	* sc.c (sc_parse_cell_name_list): g_free, not free.
      97f47c58
    • Morten Welinder's avatar
      "free" problems. · 32feac4f
      Morten Welinder authored
      32feac4f
    • Morten Welinder's avatar
      Gripe about side effects in asserts. · 931cf630
      Morten Welinder authored
      931cf630
    • Almer S. Tigelaar's avatar
      New, enable/disable all toolbars. Now works for bonobo toolbars too. · 025b291f
      Almer S. Tigelaar authored
      2001-05-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-edit.c
      	(workbook_edit_toolbars_set_sensitive): New, enable/disable
      	all toolbars. Now works for bonobo toolbars too.
      	(cb_thaw_ui_toolbar): Use toolbars_set_sensitive.
      	(workbook_edit_set_sensitive): Idem.
      
      	* src/GNOME_Gnumeric.xml: Add toolbar commands and set verbs
      	on existing toolbars.
      025b291f
    • Almer S. Tigelaar's avatar
      Display which token caused the parse error. And display more detailed · 0e75bea4
      Almer S. Tigelaar authored
      2001-05-07  Almer S. Tigelaar  <almer@gnome.org>
      
          	* src/parser.y (gnumeric_expr_parser): Display which
          	token caused the parse error. And display more detailed
          	error messages for paren matching errors using
          	check_parens.
         	(find_matching_close): Utility function for paren matching.
          	(check_parens): Renamed from find_bracket. Replace bracket
          	with paren everywhere for consistency.
          	(yylex): Kill paren matching here.
      0e75bea4
    • Morten Welinder's avatar
      Plug leak. · 08d8ca8c
      Morten Welinder authored
      2001-05-07  Morten Welinder  <terra@diku.dk>
      
      	* src/item-grid.c (drag_start): Plug leak.
      08d8ca8c
    • Morten Welinder's avatar
      Fix truck-size leak. · 6d80e393
      Morten Welinder authored
      2001-05-07  Morten Welinder  <terra@diku.dk>
      
      	* src/plugin.c (plugin_info_read): Fix truck-size leak.
      6d80e393
    • Morten Welinder's avatar
      Plug leak. · e5a6d32c
      Morten Welinder authored
      e5a6d32c
    • Morten Welinder's avatar
      Constify. (dialog_cell_sort_ok): Plug leak. · c863e525
      Morten Welinder authored
      2001-05-06  Morten Welinder  <terra@diku.dk>
      
      	* dialog-cell-sort.c (order_box_get_text, string_pos_in_list):
       	Constify.
      	(dialog_cell_sort_ok): Plug leak.
      c863e525
    • Stano Visnovsky's avatar
      Updated Slovak translation · 49ec63e4
      Stano Visnovsky authored
      49ec63e4
    • Chyla Zbigniew's avatar
      Improved plugin system performance & scalability: - reading plugin · 4e17aadc
      Chyla Zbigniew authored
      
      Improved plugin system performance & scalability:
      - reading plugin information from file only if necessary
        (usually when activating a plugin)
      - some minor optimizations (using hashes instead of lists, etc.)
      
      * src/Makefile.am
      (GNUMERIC_BASE_SOURCES): Sorted some items.
      
      * src/gutils.h (g_list_to_vector_custom): New macro.
      
      * src/plugin.c:
      Made some functions static.
      s/plugin_loader_get_by_id/plugin_loader_get_type_by_id/
      (struct _PluginInfo): Added has_full_info field.
      (get_file_state_as_string, plugin_file_state_as_string,
      plugin_file_state_from_string, plugin_file_state_free,
      plugin_cache_init, plugin_cache_shutdown):
      New functions, support for caching information about plugin ids
      stored in XML files (together with modification dates).
      (plugin_info_read_full_info_if_needed_error_info,
      plugin_info_read_full_info_if_needed): New functions loading missing
      plugin information from file if necessary.
      (plugin_info_read):
      Use existing PluginInfo struct rather than creating a new one,
      take XML file name (not parsed XML tree) as an argument.
      (plugin_info_new_from_xml):
      New function, creates new PluginInfo struct from XML file (using
      plugin_info_read).
      (plugin_info_new_with_id_and_dir_name_only):
      New function, creates new PluginInfo struct with only plugin id and
      directory name given (sets has_full_info to FALSE).
      (plugin_info_get_name, plugin_info_get_description,
      plugin_info_get_extra_info_list, plugin_info_is_active,
      plugin_info_peek_name, plugin_info_peek_description,
      plugin_info_peek_loader_type_str,
      plugin_info_provides_loader_by_type_str,
      plugin_info_is_loaded, plugin_info_peek_services_data,
      plugin_info_get_loader,
      plugin_inc_dependants, plugin_dec_dependants,
      plugin_dependencies_inc_dependants,
      plugin_dependencies_dec_dependants,
      plugin_get_loader_if_needed, activate_plugin, deactivate_plugin,
      plugin_can_deactivate, plugin_info_force_mark_inactive,
      plugin_load_service, plugin_unload_service,
      plugin_load_dependencies):
      Read full plugin information if needed.
      (plugin_info_free):
      Don't try to free most data if has_full_info == FALSE.
      (plugin_info_list_read_for_dir):
      Return one PluginInfo instead of a list, create incomplete
      PluginInfo (using plugin_info_new_with_id_and_dir_name_only) if
      found a directory in plugin_file_state_dir_hash.
      (plugin_info_list_read_for_subdirs_of_dir):
      Don't check if current file is a directory (it'll be detected
      anyway).
      (plugin_db_get_known_plugin_id_list,
      plugin_db_extend_known_plugin_id_list, plugin_db_is_known_plugin,
      plugin_db_get_saved_active_plugin_id_list,
      plugin_db_is_saved_active_plugin):
      Removed.
      (plugin_db_get_available_plugin_info_list): Just return
      available_plugin_info_list, never fail.
      (plugin_db_mark_plugin_for_deactivation,
      plugin_db_is_plugin_marked_for_deactivation, plugins_shutdown):
      Use hash table (plugins_marked_for_deactivation_hash) instead of
      a list.
      (plugin_db_init): Initialize available_plugin_info_list and
      saved_active_plugin_id_list here, use a hash table when detecting
      new plugins.
      (plugins_init): Call plugin_cache_init.
      (plugins_init): Call plugin_cache_shutdown.
      
      * src/plugin.h
      (plugin_info_read, plugin_info_print, plugin_info_list_read_for_dir,
      plugin_info_list_read_for_subdirs_of_dir,
      plugin_info_list_read_for_subdirs_of_dir_list,
      plugin_info_list_read_for_all_dirs,
      plugin_db_extend_known_plugin_id_list, plugin_db_is_known_plugin,
      plugin_db_extend_saved_active_plugin_id_list,
      plugin_db_is_saved_active_plugin,
      plugin_db_activate_saved_active_plugins):
      Removed (most of them are now static functions).
      
      * src/plugin-service.c
      (plugin_service_file_saver_initialize): Fixed serious typo.
      
      * src/dialogs/dialog-plugin-manager.c
      (cb_pm_button_activate_plugin_clicked,
      cb_pm_button_activate_all_clicked,
      cb_pm_button_deactivate_all_clicked,
      update_plugin_manager_view): Adjusted to
      plugin_db_get_available_plugin_info_list signature change.
      
      * plugins/applix/plugin.xml, plugins/dif/plugin.xml,
      plugins/excel/plugin.xml, plugins/gb/plugin.xml,
      plugins/gda/plugin.xml, plugins/gnome-glossary/plugin.xml,
      plugins/guile/plugin.xml, plugins/html/plugin.xml,
      plugins/lotus-123/plugin.xml, plugins/numtheory/plugin.xml,
      plugins/oleo/plugin.xml, plugins/perl/plugin.xml,
      plugins/plan-perfect/plugin.xml, plugins/py-func/plugin.xml,
      plugins/python/plugin.xml, plugins/python-loader/plugin.xml,
      plugins/sc/plugin.xml, plugins/sylk/plugin.xml,
      plugins/xbase/plugin.xml, plugins/xml_sax/plugin.xml:
      Removed <gnumeric_plugin_group> tags. Now every directory may contain
      only one plugin.
      4e17aadc
    • Almer S. Tigelaar's avatar
      Call style_border_draw_diag here. · abb2cf30
      Almer S. Tigelaar authored
      2001-05-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/preview-grid.c (preview_grid_draw_background):
      	Call style_border_draw_diag here.
      abb2cf30
    • Jody Goldberg's avatar
      don't draw the diagonals here. (style_border_draw_diag) : split the diag · 0e738d0a
      Jody Goldberg authored
      
      2001-05-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/style-border.c (style_borders_row_draw) : don't draw the
      	  diagonals here.
      	(style_border_draw_diag) : split the diag drawing code into here.
      
      	* src/item-grid.c (item_grid_draw_merged_range) : call
      	  style_border_draw_diag here.
      	(item_grid_draw_background) : and here.
      
      	* src/workbook-format-toolbar.c (cb_merge_cells) : fragment the
      	  selection just in case.
      	(cb_unmerge_cells) : ditto.  Thanks Juan Pablo.
      
      	* src/commands.c (cmd_unmerge_cells) : remove ugly hack cast.
      	(cmd_merge_cells) : ditto.  DO NOT DO THAT !
      0e738d0a
    • Jody Goldberg's avatar
      fragment the selection just in case. (cb_unmerge_cells) : ditto. Thanks · df48a66b
      Jody Goldberg authored
      
      2001-05-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c (cb_merge_cells) : fragment the
      	  selection just in case.
      	(cb_unmerge_cells) : ditto.  Thanks Juan Pablo.
      
      	* src/commands.c (cmd_unmerge_cells) : remove ugly hack cast.
      	(cmd_merge_cells) : ditto.  DO NOT DO THAT !
      
      	* src/sheet.c (sheet_range_splits_region) : implement the optional
      	  ignore feature for merged regions too.
      df48a66b
    • Jody Goldberg's avatar
      If the selected range is a single merged cell don't display as multi · 49119f78
      Jody Goldberg authored
      
      2001-05-06  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-cell-format.c (fmt_dialog_selection_type) : If the selected
      	  range is a single merged cell don't display as multi cols/rows.
      49119f78
  3. 06 May, 2001 12 commits
    • Jody Goldberg's avatar
      merge in the last of the i18n patches. · fb8c7c7e
      Jody Goldberg authored
      
      2001-05-06  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (biff_boundsheet_data_new) : merge in the last of
      	  the i18n patches.
      fb8c7c7e
    • Almer S. Tigelaar's avatar
      Don't free things twice. (colrow_save_sizes): Initialize run length. · 26174d4c
      Almer S. Tigelaar authored
      2001-05-06  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/colrow.c (colrow_restore_sizes): Don't free things
      	twice.
      	(colrow_save_sizes): Initialize run length.
      26174d4c
    • Almer S. Tigelaar's avatar
      Define ColRowRLESizeList. · 62ec24c9
      Almer S. Tigelaar authored
      2001-05-06  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/gnumeric.h: Define ColRowRLESizeList.
      
       	* src/commands.c (cmd_ins_del_colrow_*) : For saving
       	and restoring the col/row sizes we now use a
      	ColRowRLESizeList instead of a double *.
      
       	* src/colrow.[ch] (colrow_save_sizes) : Rebuild to return
       	a Run-Length encoded list of sizes.
       	(colrow_restore_sizes): Idem, but as parameter.
       	(colrow_size_list_destroy): Use colrow_rle_size_list_destroy.
      	(colrow_rle_size_list_destroy): Free SavedSize's.
      62ec24c9
    • Ole Laursen's avatar
      Updated Danish translation · 2e83b7dd
      Ole Laursen authored
      2e83b7dd
    • Jon Kåre Hellan's avatar
    • Jon K Hellan's avatar
      Change item cursor if expr entry changed the range. · 5305cde2
      Jon K Hellan authored
      2001-05-06  Jon K Hellan  <hellan@acm.org>
      
      	* src/sheet-control-gui.c (scg_range_selection_changed): Change
      	item cursor if expr entry changed the range.
      
      	* src/widgets/gnumeric-expr-entry.c (range_really_changed):
      	Remove.
              (make_display_range): New function. Makes a range, possibly
      	 expanded to contain full rows/columns.
      	(make_rangesel_text): Use make_display_range.
      	(gnumeric_expr_entry_set_rangesel_from_range): Return true if
      	displayed range is different from input range. Save the range
      	passed in without change. Use range_equal + sheet equality
      	test instead of range_really_changed.
      	(gnumeric_expr_entry_get_rangesel): Get range and/or sheet set
      	in widget.
      5305cde2
    • Jon K Hellan's avatar
      We don't need guru_cursor. · 39cb8040
      Jon K Hellan authored
      2001-05-06  Jon K Hellan  <hellan@acm.org>
      
      	* src/item-bar.h:  We don't need guru_cursor.
      
      	* src/item-bar.c (item_bar_realize, item_bar_unrealize,
      	set_cursor): Ditto
      39cb8040
    • Jody Goldberg's avatar
      Read the XL docs to see what it wants. · fd377e52
      Jody Goldberg authored
      fd377e52
    • Jody Goldberg's avatar
      I have no idea what this code is doing. However, this appears to make · 8a6c94e1
      Jody Goldberg authored
      
      2001-05-06  Jody Goldberg <jgoldberg@home.com>
      
      	* fn-stat.c (gnumeric_chitest) : I have no idea what this code is
      	  doing.  However, this appears to make things tie out again.
      8a6c94e1
    • Jody Goldberg's avatar
      support multiple rows. (ms_excel_read_row) : use here. · b95740f5
      Jody Goldberg authored
      
      2001-05-05  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_set_xf_segment) : support multiple rows.
      	(ms_excel_read_row) : use here.
      	(ms_excel_read_cell) : and here.
      	(ms_excel_read_colinfo) : start using it here too.
      	(ms_sheet_obj_create) : Add a place holder for a spinner.
      b95740f5
    • Jody Goldberg's avatar
      I'd forgotten that we were already collecting styles. Adding this · 0e25d62c
      Jody Goldberg authored
      functionality was easy in that context.
      
      bug 53180
      
      2001-05-05  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-write.c (pre_cell) : XL does not differentiate between
      	  parse and display formats.  When exporting a cell with General that
      	  has a parse format create a new XF with the parse format as the
      	  display format.
      0e25d62c
    • Jody Goldberg's avatar
      update the edit_pos if necessary. · ba8c408f
      Jody Goldberg authored
      
      2001-05-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-merge.c (sheet_merge_add) : update the edit_pos if
      	  necessary.
      
      	* src/sheet.c (sheet_update_only_grid) : fix typo.
      ba8c408f
  4. 05 May, 2001 4 commits
    • Almer S. Tigelaar's avatar
      Initialize item_bar->shade and tidy to be more correct. · 8cadb36c
      Almer S. Tigelaar authored
      2001-05-05  Almer S. Tigelaar  <almer@gnome.org>
      
        	* src/item-bar.[ch]:
       	(item_bar_realize): Initialize item_bar->shade and tidy to be
       	more correct.
       	(item_bar_unrealize): Unref item_bar->shade.
       	(item_bar_draw): Use item_bar->shade.
      8cadb36c
    • Jon K Hellan's avatar
      Add guru_cursor member. · 91b38061
      Jon K Hellan authored
      2001-05-05  Jon K Hellan  <hellan@acm.org>
      
      	* src/item-bar.h (struct _ItemBar): Add guru_cursor member.
      
      	* src/item-bar.c (item_bar_realize): Initialize guru_cursor.
      	(item_bar_unrealize): Destroy guru_cursor.
      	(is_pointer_on_division): Handle uninitialized case.
      	(set_cursor): Do not show resize cursor in guru mode.
      	(item_bar_event): Allow gurus to do range selection. Do nothing if
      	guru is up but no range selector active. Do not post context menu
      	when guru is up.
      91b38061
    • Jon K Hellan's avatar
      Add comment · 7604fddd
      Jon K Hellan authored
      2001-05-05  Jon K Hellan  <hellan@acm.org>
      
      	* dialog-workbook-attr.c (attr_dialog_impl): Add comment
      7604fddd
    • Jody Goldberg's avatar
      Make the displaying the warning optional. (sheet_range_splits_region) : · 48d59bf8
      Jody Goldberg authored
      
      2001-05-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_range_splits_array) : Make the displaying the
      	  warning optional.
      	(sheet_range_splits_region) : ditto.
      	(sheet_range_contains_region) : implement.
      
      	* src/workbook-control-gui.c (sort_cmd) : no need to check for merges
      	  or arrays here.
      	* src/dialogs/dialog-cell-sort.c (dialog_cell_sort) : or here.
      
      	* src/commands.c (cmd_sort) : it belongs here.
      
      	* src/print.c (print_page) : in the case of grid lines we were off by
      	  a point.  In the case without gridlines we need not display the
      	  leading cell margins.
      48d59bf8
  5. 04 May, 2001 2 commits
    • Jody Goldberg's avatar
      signature change to selection_first_range. · 86bc8c6d
      Jody Goldberg authored
      
      2001-05-03  Jody Goldberg <jgoldberg@home.com>
      
      	* excel-gb-selection.c (excel_gb_selection_interior) : signature
      	  change to selection_first_range.
      86bc8c6d
    • Jody Goldberg's avatar
      s/clipboard_release/cellregion_free/ s/range_copy/range_dup/ · 32bde6ee
      Jody Goldberg authored
      
      2001-05-04  Jody Goldberg <jgoldberg@home.com>
      
      	s/clipboard_release/cellregion_free/
      	s/range_copy/range_dup/
      	s/cell_region_render_ascii/cellregion_to_string/
      	s/clipboard_release/cellregion_free/
      
      	* src/commands.c (cmd_autofill) : Use sheet_range_contains_region.
      	(cmd_autofill_redo) : no need to test here.
      	(cmd_paste_cut) : test destination for validity and ensure that it
      	  does not slice up any merged regions or arrays.  Make the descriptor
      	  an argument so that other commands can use this one.
      	(cmd_ins_del_colrow_redo) : use colrow_max.
      	(cmd_area_set_text_redo) : use sheet_ranges_split_region.
      	(cmd_colrow_outline_change) : suppress warning.
      
      	* src/gui-clipboard.c (x_selection_to_cell_region) : simplify by using
      	  some of the convenience routines.
      
      	* src/gutils.c (gnumeric_sys_data_dir) : warning suppression.
      	(gnumeric_sys_lib_dir) : ditto.
      
      	* src/item-bar.c (item_bar_draw) : add missing warning.
      
      	* src/item-cursor.c (item_cursor_drag_event) : Don't assume the
      	  release came from the button that started the grab (think about
      	  multiple simultaneous button downs.
      	(item_cursor_selection_event) : ditto.
      	(item_cursor_do_drop) : changes to selection_first_range.
      
      	* src/parse-util.c (col_name_internal) : new routine split from
      	  col_name with better buffer handling.
      	(col_name) : used here.
      	(cols_name) : and in this new function.
      
      	* src/print.c (sheet_print_selection) : changes to
      	  selection_first_range.
      
      	* src/print-info.c (print_info_new) : default even_if_only_styles to
      	  false.  This is probably what most people want.
      
      	* src/ranges.c (range_translate) : don't invert.
      	(range_height) : new util.  could probably be #define.
      	(range_width) : new util.  could probably be #define.
      	(range_is_infinite) : use range_is_full.
      	(range_is_full) : new util.
      
      	* src/search.c (calculate_replacement) : warning suppression.
      
      	* src/selection.c (sheet_selection_cut) : Use
      	  sheet_range_splits_region and selection_first_range.
      	(sheet_selection_copy) : Use selection_first_range and remove TODO
      	  about supporting not paste by content for partial arrays.
      	(selection_first_range) : Add optional error reporting if there are
      	  multiple selection ranges.
      
      	* src/format.c (format_get_currency) : diddle the logic to get
      	  undefined to work the way people expect for locale C.
      
      	* src/sheet-merge.c (sheet_merge_relocate) : remove some dead code.
      	(sheet_merge_add) : changes to sheet_range_splits_array.
      
      	* src/sheet-object-widget.c (sheet_widget_checkbox_construct) :
      	  changes to selection_first_range.
      
      	* src/sheet.c (sheet_delete_{cols,rows}) : changes to
      	  sheet_range_splits_array.
      	(sheet_insert_{cols,rows}) : use sheet_range_splits_array.
      	(avoid_dividing_array_vertical) : delete.
      	(avoid_dividing_array_horizontal) : delete.
      	(sheet_is_pristine) : constness.
      	(sheet_mark_clean) : delete.
      	(sheet_clear_region) : changes to sheet_range_splits_array.
      	(sheet_ranges_split_region) : renamed from selection_check_for_array.
      	(sheet_range_splits_region) : new routine to check arrays and merged
      	  regions.
      	(sheet_range_splits_array) : improve and add hooks to be used for
      	  overlapping checks.
      	(cb_check_array_vertical) : report the array being split.
      	(cb_check_array_horizontal) : report the array being split.
      
      	* src/stf-parse.c (stf_parse_region) : use cellregion_new.
      	(stf_parse_is_valid_data) : simplify.
      
      	* src/value-sheet.c (value_area_get_width) : warning suppression.
      	(value_area_get_height) : warning suppression.
      	(value_area_fetch_x_y : signedness.
      	(value_area_get_x_y) : signedness.
      
      	* src/value.c (value_array_resize) : signedness.
      	(value_array_set) : signedness.
      
      	* src/workbook-control-gui.c (wbcg_error_splits_array) : signature
      	  change.
      	(cb_insert_rows) : use selection_first_range
      	(cb_insert_cols) : ditto.
      	(sort_cmd) : ditto.
      	(cb_workbook_debug_info) : clean out some deadwood.
      
      	* src/workbook-edit.c (auto_complete_matches) : warning suppression.
      
      	* src/workbook.c (workbook_sheet_detach) : warning suppression.
      	(g_ptr_array_insert) : warning suppression, moved to gutils.
      
      	* src/xml-io.c (xml_write_attributes) : warning suppression.
      	(xml_read_selection_clipboard) : use cellregion_new and tidyup.
      
      	* src/clipboard.c (paste_link) : Only make the link sheet specific if
      	  we need to.
      	(clipboard_paste_region) : constness, support being able to paste
      	  content only as link or value.
      	(clipboard_prepend_cell) : check for arrays.
      	(clipboard_copy_range) : use cellregion_new
      	(cellregion_new) : new function
      	(cellregion_free) : renamed from clipboard_release.
      	(cellregion_to_string) : moved here from render-ascii.
      
      	src/cmd-edit.c (cmd_paste) : more protection. Merge in
      	  application_paste.
      	(cmd_paste_to_selection) : handle changes to selection_is_simple and
      	  use selection_first_range
      	(cmd_shift_rows) : changes to cmd_paste_cut.
      	(cmd_shift_cols) : ditto.
      
      	* src/command-context-priv.h : change signature of splits array.
      	* src/command-context.h : ditto.
      	* src/command-context.c (gnumeric_error_splits_array) : ditto.
      
      	* src/application.c (application_clipboard_clear) :
      	(application_set_selected_sheet) : remove #warning, it is not portable.
      
      	* src/commands.c
      	* src/Makefile.am : remove render-ascii.[ch]  Move their content into
      	  clipboard.
      
      2001-05-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (clipboard_prepend_cell) : remove ugly
      	  implementation.
      
      	* src/workbook-edit.c (auto_complete_matches) : remove warning.
      
      	* src/xml-io.c (xml_write_attributes) : remove warning.
      32bde6ee