1. 29 Jan, 2001 5 commits
    • Almer S. Tigelaar's avatar
      Rename to sheet_selection_reset. · 2862b796
      Almer S. Tigelaar authored
      2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* src/selection.c, src/selection.h:
      	(sheet_selection_reset_only): Rename to sheet_selection_reset.
      
      	* src/cmd-edit.c: s/sheet_selection_reset_only/sheet_selection_reset.
      	* src/commands.c: Ditto.
      	* src/gnumeric-sheet.c: Ditto.
      	* src/item-grid.c: Ditto.
      	* src/sheet.c: Ditto.
      	* src/sheet-control-gui.c: Ditto.
      	* src/xml-io.c: Ditto.
      
      2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* ms-excel-read.c (ms_excel_read_selection):
      	Rename sheet_selection_reset_only to sheet_selection_reset.
      
      2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* xml2.c
      	(xml2ParseSelection): Rename sheet_selection_reset_only
      	to sheet_selection_reset.
      2862b796
    • Almer S. Tigelaar's avatar
      Add flags for insert cols/rows and paste special. · 0acb7687
      Almer S. Tigelaar authored
      2001-01-29  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* src/sheet.h: Add flags for insert cols/rows and paste special.
      
      	* src/selection.c
      	(sheet_selection_add_range):
      	Remove the settings of insert cols/rows here.
      	(sheet_selection_set_internal):
      	Set insert cols/rows menu items and flags correctly.
      	(sheet_selection_reset_only): Reset insert cols/rows flags.
      
      	* src/application.c
      	(application_clipboard_clear): Set enable paste special flag.
      	(application_clipboard_copy): Ditto.
      	(application_clipboard_cut): Ditto.
      
      	* src/workbook-view.c, src/workbook-view.h
      	(wb_view_menus_update): New function, updates the
      	insert cols/rows and paste special menu items.
      	(wb_view_sheet_focus): Call menus_update here.
      	(wb_view_sheet_add): Ditto.
      
      	* src/workbook-control-gui.c
      	(workbook_control_gui_init): Update menu items here.
      0acb7687
    • Fatih Demir's avatar
      Hm, some more cvsignore · 37a8e135
      Fatih Demir authored
      37a8e135
    • Fatih Demir's avatar
      Added the xml-i18n files · e9d2d410
      Fatih Demir authored
      e9d2d410
    • Ariel Rios's avatar
      Correct typo. · 96865fd9
      Ariel Rios authored
      2001-01-28  Ariel Rios  <ariel@arcavia.com>
      
      * plugin.c (init_plugin): Correct typo.
      96865fd9
  2. 28 Jan, 2001 2 commits
    • Chyla Zbigniew's avatar
      s/xml_search_child/e_xml_get_child_by_name/ · b7ee664e
      Chyla Zbigniew authored
      
      * src/plugin.c, src/xml-io-autoft.c:
      s/xml_search_child/e_xml_get_child_by_name/
      s/xml_search_child_lang_list/e_xml_get_child_by_name_by_lang_list/
      
      * src/xml-io.[ch]:
      Removed function: xml_search_child.
      Functions moved to GAL:
      xml_search_child_lang_list_with_score,
      xml_search_child_lang_list,
      xml_search_child_no_lang.
      Use e_xml_get_child_by_name instead of xml_search_child everywhere.
      b7ee664e
    • Kenneth Christiansen's avatar
      Translations bonobo/po/da.po control-center/po/da.po galeon/po/da.po · 5f38eddd
      Kenneth Christiansen authored
      Translations
      bonobo/po/da.po control-center/po/da.po galeon/po/da.po
      gnome-vfs/po/da.po gnumeric/po/da.po pan/po/da.po
      5f38eddd
  3. 27 Jan, 2001 5 commits
  4. 26 Jan, 2001 7 commits
  5. 25 Jan, 2001 9 commits
    • Almer S. Tigelaar's avatar
      Remove insert struct, there is only one function in it anyway so no need · 26a47636
      Almer S. Tigelaar authored
      2001-01-25  Almer S. Tigelaar  <almer1@dds.nl>
      
              * src/workbook-control-priv.h: Remove insert struct, there
      	is only one function in it anyway so no need for a struct.
      
      	* src/workbook-control.c: Adjust for removal of the insert struct.
      
      	* src/workbook-control-gui.c
      	(wbcg_paste_special_enable): Use change_menu_sensitivity.
      	(workbook_control_gui_ctor_class): Adjust for removal of the insert struct.
      26a47636
    • Morten Welinder's avatar
      Delete unused variable. · 09be334a
      Morten Welinder authored
      2001-01-25  Morten Welinder  <terra@diku.dk>
      
      	* src/commands.c (cmd_search_replace_update_after_action): Delete
       	unused variable.
      
      	* src/parser.y (parse_ref_or_string): Constify.
      	(gnumeric_parse_error): Fix prototype.
      	(STRING '(' arg_list ')'): plug leak and use proper error
       	reporting method.
      09be334a
    • Morten Welinder's avatar
      Trim. · c50ac325
      Morten Welinder authored
      c50ac325
    • Chyla Zbigniew's avatar
      Defined gnumeric_plugin_version variable containing Gnumeric version · 37665894
      Chyla Zbigniew authored
      
      
      * plugins/applix/boot.c plugins/dif/dif.c plugins/excel/boot.c
      plugins/gb/plugin.c plugins/gda/plugin-gda.c plugins/guile/plugin.c
      plugins/html/boot.c plugins/html/boot.h plugins/html/html.c
      plugins/html/html.h plugins/html/latex.c plugins/html/latex.h
      plugins/html/roff.c plugins/html/roff.h plugins/lotus-123/boot.c
      plugins/numtheory/numtheory.c plugins/oleo/boot.c
      plugins/plan-perfect/pln.c plugins/python/python.c plugins/sc/sc.c
      plugins/sylk/sylk.c plugins/xbase/boot.c plugins/xml2/xml2.c:
      Defined gnumeric_plugin_version variable containing Gnumeric version
      string for every plugin.
      Added user_data parameter to "probe", "open" and "save" functions.
      Changed PluginData to PluginInfo.
      Modified can_deactivate_plugin, cleanup_plugin and init_plugin
      functions to match new prototypes in plugin.h.
      Storing registered opener_id/saver_id in variables and using them
      while unregistering.
      
      * plugins/applix/Makefile.am plugins/dif/Makefile.am
      plugins/gda/Makefile.am plugins/html/Makefile.am
      plugins/lotus-123/Makefile.am plugins/numtheory/Makefile.am
      plugins/oleo/Makefile.am plugins/plan-perfect/Makefile.am
      plugins/sc/Makefile.am plugins/sylk/Makefile.am
      plugins/xbase/Makefile.am plugins/xml2/Makefile.am:
      Installing every plugin in separate directory, together with plugin
      descriptions (plugin.xml files).
      
      * plugins/applix/plugin.xml, plugins/dif/plugin.xml,
      plugins/gda/plugin.xml, plugins/html/plugin.xml,
      plugins/lotus-123/plugin.xml, plugins/numtheory/plugin.xml,
      plugins/oleo/plugin.xml, plugins/plan-perfect/plugin.xml,
      plugins/python/plugin.xml, plugins/sc/plugin.xml,
      plugins/sylk/plugin.xml, plugins/xbase/plugin.xml,
      plugins/xml2/plugin.xml:
      New files - plugin descriptions in XML files.
      37665894
    • Chyla Zbigniew's avatar
      Defined gnumeric_plugin_version variable containing Gnumeric version · 2fb61c09
      Chyla Zbigniew authored
      
      * plugins/applix/boot.c plugins/dif/dif.c plugins/excel/boot.c
      plugins/gb/plugin.c plugins/gda/plugin-gda.c plugins/guile/plugin.c
      plugins/html/boot.c plugins/html/boot.h plugins/html/html.c
      plugins/html/html.h plugins/html/latex.c plugins/html/latex.h
      plugins/html/roff.c plugins/html/roff.h plugins/lotus-123/boot.c
      plugins/numtheory/numtheory.c plugins/oleo/boot.c
      plugins/plan-perfect/pln.c plugins/python/python.c plugins/sc/sc.c
      plugins/sylk/sylk.c plugins/xbase/boot.c plugins/xml2/xml2.c:
      Defined gnumeric_plugin_version variable containing Gnumeric version
      string for every plugin.
      Added user_data parameter to "probe", "open" and "save" functions.
      Changed PluginData to PluginInfo.
      Modified can_deactivate_plugin, cleanup_plugin and init_plugin
      functions to match new prototypes in plugin.h.
      Storing registered opener_id/saver_id in variables and using them
      while unregistering.
      
      * plugins/applix/Makefile.am plugins/dif/Makefile.am
      plugins/gda/Makefile.am plugins/html/Makefile.am
      plugins/lotus-123/Makefile.am plugins/numtheory/Makefile.am
      plugins/oleo/Makefile.am plugins/plan-perfect/Makefile.am
      plugins/sc/Makefile.am plugins/sylk/Makefile.am
      plugins/xbase/Makefile.am plugins/xml2/Makefile.am:
      Installing every plugin in separate directory, together with plugin
      descriptions (plugin.xml files).
      
      * plugins/applix/plugin.xml, plugins/dif/plugin.xml,
      plugins/gda/plugin.xml, plugins/html/plugin.xml,
      plugins/lotus-123/plugin.xml, plugins/numtheory/plugin.xml,
      plugins/oleo/plugin.xml, plugins/plan-perfect/plugin.xml,
      plugins/python/plugin.xml, plugins/sc/plugin.xml,
      plugins/sylk/plugin.xml, plugins/xbase/plugin.xml,
      plugins/xml2/plugin.xml:
      New files - plugin descriptions in XML files.
      2fb61c09
    • Chyla Zbigniew's avatar
      Added error-info.[ch] · fbc4a7c5
      Chyla Zbigniew authored
      
      * src/Makefile.am (GNUMERIC_BASE_SOURCES): Added error-info.[ch]
      
      * error-info.[ch]: New files.
      
      * src/plugin.[ch]: New plugin engine.
      
      * src/dialogs/dialog-plugin-manager.c,
      src/dialogs/plugin-manager.glade,
      src/dialogs/plugin-manager.glade.h:
      New plugin manager.
      
      * src/main.c (gnumeric_main): Call plugins_shutdown() on shutdown.
      
      * src/bonobo-io.c
      (gnumeric_bonobo_write_workbook, gnumeric_bonobo_read_workbook,
      gnumeric_bonobo_io_probe): Added "user_data" arg.
      (gnumeric_bonobo_io_init): Saving saver/opener id.
      
      * src/file-autoft.c (gnumeric_extra_autoformat_dirs): Used
      gnumeric_config_get_string_list function.
      
      * src/file.c
      (file_format_register_open, file_format_register_save): Added
      user_data parameter, return FileOpenerId/FileSaverId.
      (file_format_unregister_open, file_format_unregister_save): Take
      only FileOpenerId/FileSaverId as parameter.
      (get_file_saver_by_id, get_file_opener_by_id): New functions.
      (do_load_from): Pass user_data parameter to "probe" and "open"
      functions.
      (workbook_save_as, workbook_save): Pass user_data parameter to "save"
      function.
      
      * src/file.h
      (FileFormatProbe, FileFormatOpen, FileFormatSave): Adder user_data
      parameter.
      (struct _FileOpener, struct _FileSaver): Added opener_id/saver_id
      field.
      (file_format_register_open, file_format_register_save):
      Added user_data parameter, return FileOpenerId/FileSaverId.
      (file_format_unregister_open, file_format_unregister_save):
      Take only FileOpenerId/FileSaverId as parameter.
      
      * src/gnumeric-util.[ch]
      (gnumeric_error_info_dialog_show, static ctree_insert_error_info):
      New functions displaying dialog with ErrorInfo contents.
      
      * src/gui-file.c (gui_file_import): Pass user_data parameter to
      "open" function.
      
      * src/gutils.[ch]
      New functions: gnumeric_config_get_string_list,
      gnumeric_config_set_string_list, g_string_list_copy,
      g_strsplit_to_list.
      (g_create_list): Added missing va_end().
      
      * src/stf.c (stf_read_workbook, stf_write_workbook): Added user_data
      parameter.
      
      * src/workbook.[ch] (workbook_set_saveinfo): Now takes file_saver_id
      instead of save_fn.
      
      * src/xml-io.c
      (xml_probe, gnumeric_xml_read_workbook, gnumeric_xml_write_workbook):
      Added user_data parameter.
      (xml_init): Store xml_opener_id and xml_saver_id.
      (gnumeric_xml_get_opener_id, gnumeric_xml_get_saver_id): New
      functions.
      fbc4a7c5
    • Almer S. Tigelaar's avatar
      Add PASTE_UPDATE_ROW_HEIGHT as a new paste flag. · c46a5465
      Almer S. Tigelaar authored
      2001-01-25  Almer S. Tigelaar  <almer1@dds.nl>
      
              * src/clipboard.h : Add PASTE_UPDATE_ROW_HEIGHT as a new paste flag.
      
              * src/commands.c
              (cmd_paste_copy_undo): Add PASTE_UPDATE_ROW_HEIGHT to the paste flags.
              (cmd_paste_cut_redo): Update the row heights of the target region after
              pasting for consistency with the behaviour of copy.
              (cmd_paste_cut): Show source cut range in undo descriptor.
      
              * src/clipboard.c (clipboard_paste_region): Update row height after
              pasting if PASTE_UPDATE_ROW_HEIGHT flag is given.
      c46a5465
    • Jody Goldberg's avatar
      Merged Cells are now complete. · 0426031a
      Jody Goldberg authored
      Please beat the crap out of them
      
      2001-01-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cmd-edit.c (cmd_paste_to_selection) : allow merged regions
      
      	* src/clipboard.c (clipboard_paste_region) : Optionally paste merged
      	  regions too.
      
      	* src/style-border.c (style_border_fetch) : add margins.
      0426031a
    • Morten Welinder's avatar
      Better XL emulation. · 10efe742
      Morten Welinder authored
      Implement s-a-r on expressions.
      
      
      2001-01-24  Morten Welinder  <terra@diku.dk>
      
      	* src/commands.c (cmd_search_replace_update_after_action): New
       	function.
      	(cmd_search_replace_undo, cmd_search_replace_redo,
       	cmd_search_replace_do): Call
       	cmd_search_replace_update_after_action.
      	(cmd_search_replace_do_cell): Change to work on entered text which
       	is, we believe, what XL does.
      10efe742
  6. 24 Jan, 2001 9 commits
    • Jody Goldberg's avatar
      disable stupid cruft until I actually write this function. · e3496b8e
      Jody Goldberg authored
      
      2001-01-24  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.c (sheet_style_get_uniform) : disable stupid cruft
      	  until I actually write this function.
      
      	* src/format-template.c (format_template_recalc_hash) : remove the
      	  cruft to apply shifted borders.
      e3496b8e
    • Jody Goldberg's avatar
      Define font Underline/Italic as toggles. · 5bb3736e
      Jody Goldberg authored
      
      2001-01-24  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric.xml : Define font Underline/Italic as toggles.
      5bb3736e
    • Morten Welinder's avatar
      Brag. · c2e9a01c
      Morten Welinder authored
      c2e9a01c
    • Morten Welinder's avatar
      Gripe over underline button. · cb1bb316
      Morten Welinder authored
      cb1bb316
    • Szabolcs Ban's avatar
      Tons of fixes by Andras and Emese (spelling, terminology, headers) · 157253e4
      Szabolcs Ban authored
      2001-01-24  Szabolcs Ban  <shooby@gnome.hu>
      
              * hu.po: Tons of fixes by Andras and Emese (spelling,
                terminology, headers)
      157253e4
    • Jody Goldberg's avatar
      save the merged regions. (clipboard_release) : cleanup merged regions. · b18b73be
      Jody Goldberg authored
      
      2001-01-24  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (clipboard_copy_range) : save the merged regions.
      	(clipboard_release) : cleanup merged regions.
      
      	* src/commands.c (cmd_merge_cells_redo) : move the non-corner content
      	  clearing from here.
      	* src/sheet-merge.c (sheet_merge_add) : to here.  Apply the style from
      	  the corner to the entire region.
      
      	* src/sheet.c (sheet_range_set_text) : clear range_filled merged
      	  regions.
      
      	* src/item-grid.c (item_grid_draw) : borders & grids for merged cells.
      
      2001-01-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.c (style_row) : move the clearing of grid lines
      	* src/item-grid.c (item_grid_draw) : from here.
      b18b73be
    • Almer S. Tigelaar's avatar
      Let the sensitivity filter function exacly like the display filter. · 783d67db
      Almer S. Tigelaar authored
      2001-01-24  Almer S. Tigelaar  <almer1@dds.nl>
      
              * src/gnumeric-util.c (gnumeric_create_popup_menu):
              Let the sensitivity filter function exacly like the
              display filter.
      
              * src/sheet-control-gui.c (scg_context_menu):
              Disable insert rows/cols according to the selected
              rows/cols. We don't want people to insert anything if
              the whole sheet is selected or if there are multiple
              selections of whole rows and cols.
      
              * src/workbook-control-gui.c (wbcg_insert_cols_rows_enable):
              Fix typo, "Cols" should be "Columns".
      783d67db
    • Almer S. Tigelaar's avatar
      Update row heights after pasting a region. Fixes #38176. · 52105ea8
      Almer S. Tigelaar authored
      2001-01-24  Almer S. Tigelaar  <almer1@dds.nl>
      
              * src/clipboard.c (clipboard_paste_region):
              Update row heights after pasting a region. Fixes #38176.
      52105ea8
    • Morten Welinder's avatar
      Implement search-and-replace in range. · 3555777c
      Morten Welinder authored
      2001-01-23  Morten Welinder  <terra@diku.dk>
      
      	* src/commands.c (cmd_search_replace_do): Implement
       	search-and-replace in range.
      3555777c
  7. 23 Jan, 2001 3 commits
    • Morten Welinder's avatar
      New function. Implements case preservation. · 04365f9d
      Morten Welinder authored
      2001-01-23  Morten Welinder  <terra@diku.dk>
      
      	* src/search.c (calculate_replacement): New function.  Implements
       	case preservation.
      04365f9d
    • Valek Frob's avatar
      Updated russian translation. · e59f62be
      Valek Frob authored
      e59f62be
    • Jody Goldberg's avatar
      If we are not selecting a range for an expression then we should cancel · 63e24beb
      Jody Goldberg authored
      
      2001-01-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_colrow_select) : If we are not
      	  selecting a range for an expression then we should cancel editing.
      	(scg_context_menu) : cancel editing.
      
      2001-01-22  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c : Use the new wrapper function in scg (for now) rather
      	  than a direct call to gsheet.
      
      	* src/sheet-control-gui.c (scg_set_cursor_bounds) : new function to
      	  wrap direct calls to gsheet.  This is prep for supporting panes.
      	(scg_compute_visible_region) : new function
      	(scg_make_cell_visible) : new function
      	(scg_create_editor) : new function
      	(scg_stop_editing) : new function
      	(scg_stop_cell_selection) : new function
      
      	* src/pattern.c (gnumeric_background_set_gc) : no need for setting GC
      	  in non selection case.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_create_editor) : renamed from
      	  gnumeric_sheet_create_editing_cursor.
      	(gsheet_compute_visible_region) : rename from
      	  gnumeric_sheet_compute_visible_ranges
      63e24beb