1. 24 Feb, 2001 12 commits
    • Chyla Zbigniew's avatar
      Export "file_opener" plugin service (+ "file_saver" for dif and html). Use · 6ba33eed
      Chyla Zbigniew authored
      * plugins/applix/applix-read.c,
      plugins/applix/applix.h, plugins/applix/boot.c,
      plugins/dif/dif.c, /plugins/dif/plugin.xml,
      plugins/html/boot.c, plugins/html/html.c,
      plugins/html/html.h, /plugins/html/latex.c,
      plugins/html/latex.h, plugins/html/plugin.xml,
      plugins/html/roff.c, /plugins/html/roff.h,
      plugins/lotus-123/boot.c, plugins/lotus-123/lotus.c,
      plugins/lotus-123/lotus.h, plugins/lotus-123/plugin.xml,
      plugins/oleo/boot.c, plugins/oleo/oleo.c,
      plugins/oleo/oleo.h, plugins/oleo/plugin.xml,
      plugins/plan-perfect/pln.c, plugins/plan-perfect/plugin.xml,
      plugins/sc/plugin.xml, plugins/sc/sc.c,
      plugins/sylk/plugin.xml, plugins/sylk/sylk.c,
      plugins/xbase/boot.c, plugins/xbase/plugin.xml,
      plugins/xbase/xbase.c, plugins/xbase/xbase.h,
      plugins/xml2/plugin.xml, plugins/xml2/xml2.c:
      Export "file_opener" plugin service (+ "file_saver" for dif and html).
      Use ErrorInfo where needed.
      Use GNUMERIC_MODULE_PLUGIN_INFO_DECL macro instead of
      gnumeric_plugin_version[] declaration.
      * plugins/numtheory/numtheory.c, plugins/numtheory/plugin.xml:
      Export "function_group" plugin service.
      * plugins/gb/plugin.c, plugins/gb/plugin.xml,
      plugins/gda/plugin-gda.c, plugins/gda/plugin.xml,
      plugins/guile/plugin.c, /plugins/guile/plugin.xml,
      plugins/perl/perl.c, plugins/perl/plugin.xml,
      plugins/python/Makefile.am, plugins/python/plugin.xml,
      Export "general" plugin service.
      Use ErrorInfo where needed.
      (init_plugin, can_deactivate_plugin, cleanup_plugin): Rename and
      signature changes.
      * plugins/excel/boot.c (excel_save_95, excel_save_98, excel_save, excel_probe,
      excel_load): Signature changes.
      * plugins/excel/ms-formula-write.c: Use accessor functions from
      func.h instead of accessing FunctionDefinition struct directly.
    • Chyla Zbigniew's avatar
      Added files: plugin-service.[ch], plugin-loader.[ch], · a924975e
      Chyla Zbigniew authored
      * src/Makefile.am: Added files:  plugin-service.[ch],
      plugin-loader.[ch], plugin-loader-module.[ch], module-plugin-defs.h.
      * src/error-info.[ch] (error_info_new_from_errno): New function.
      * src/file.c
      (struct _FileOpener, struct _FileSaver): Moved from file.h
      (file_opener_get_format_description, file_opener_has_probe,
      file_saver_get_extension,  file_saver_get_format_description):
      New accessor functions.
      (file_opener_probe, file_opener_open, file_saver_save,
      file_opener_set_user_data, file_opener_get_user_data,
      file_saver_set_user_data, file_saver_get_user_data): New
      (get_file_opener_by_id, get_file_saver_by_id): Removed
      Now using FileOpener*/FileSaver* instead of FileOpenerId/FileSaverId
      * src/file.h
      (struct _FileOpener, struct _FileSaver): Moved to file.c.
      Adjusted to file.c.
      * src/gui-file.c: Adjusted to file.[ch], now FileSaver.extension
      field should contain real extension (without a dot).
      * src/func.[ch]
      (enum FunctionFlags, struct _FunctionDefinition): Moved from func.h
      to func.c.
      (struct _FunctionCategory): Added "internal_name" and "display_name"
      in place of "name" field.
      function_category_remove_func, func_get_ref_count, function_remove,
      function_add_name_only): New functions.
      Now it's possible to load function implementation on demand (after
      registering function using function_add_name_only() and providing
      function of type FunctionGetFullInfoCallback).
      Rename fd and fndef to fn_def for consistency.
      * src/functions/fn-database.c (database_functions_init),
      src/functions/fn-date.c (date_functions_init),
      src/functions/fn-eng.c (eng_functions_init),
      src/functions/fn-financial.c (finance_functions_init),
      src/functions/fn-information.c (information_functions_init),
      src/functions/fn-logical.c (logical_functions_init),
      src/functions/fn-lookup.c (lookup_functions_init),
      src/functions/fn-math.c (math_functions_init),
      src/functions/fn-sheet.c (sheet_functions_init),
      src/functions/fn-stat.c (stat_functions_init),
      src/functions/fn-string.c (string_functions_init):
      Use function_get_category_with_translation, instead of
      * src/plugin.[ch]
      (struct _PluginInfo): Removed many fields.
      Just call gnumeric_plugin_loader_get_extra_info_list.
      (plugin_info_peek_services_data, plugin_info_peek_loader_type_str):
      New accessor functions.
      (plugin_info_read_service_list, plugin_info_read_loader,
      Read services and loader info, use functions from
      gal/util/e-xml-utils.h everywhere.
      (activate_plugin, deactivate_plugin): Just activate/deactivate all
      plugin services.
      (plugin_can_deactivate): Ask plugin services.
      (plugin_load_service, plugin_unload_service,
      plugin_loader_register_type, plugin_loader_register_id_only,
      plugin_loader_get_by_id, plugin_loader_is_available_by_id,
      New functions.
      (plugin_db_activate_plugin_list): Activate plugins in correct order,
      using plugin_list_sort_by_dependency function.
      (plugin_info_print): Removed.
      (module_plugin_print_info, module_plugin_info_get_extra_info_list,
      module_plugin_free, module_plugin_info_read, module_plugin_activate,
      module_plugin_deactivate, module_plugin_can_deactivate): Removed,
      most code  moved to plugin-loader.c and plugin-loader-module.c.
      * src/plugin-service.[ch]: New files, support for plugin services
      (five types of these so far).
      * src/plugin-loader.[ch]: New files, base class for plugin loaders.
      * src/plugin-loader-module.[ch]: New files, support for "g_module"
      * src/plugin-util.[ch] (gnumeric_fopen_error_info,
      gnumeric_open_error_info, gnumeric_mmap_error_info): New functions.
      * src/gutils.[ch] (g_list_free_custom, g_slist_free_custom,
      gnumeric_time_counter_push, gnumeric_time_counter_pop):
      New functions.
      * src/io-context-priv.h (struct _IOContext): Added error_info field.
      * src/io-context.[ch] (gnumeric_io_context_new,
      gnumeric_io_context_free, gnumeric_io_error_info_set,
      gnumeric_io_error_info_push, gnumeric_io_error_info_pop,
      gnumeric_io_error_info_clear, gnumeric_io_error_info_display,
      gnumeric_io_has_error_info): New functions, quick hack to add
      support for ErrorInfo.
      * src/module-plugin-defs.h: New file, should be included be every
      g_module plugin.
      * src/auto-format.c: Use accessor function from func.h.
      * src/bonobo-io.c (gnumeric_bonobo_write_workbook,
      gnumeric_bonobo_read_workbook, gnumeric_bonobo_io_probe),
      src/stf.c (stf_read_workbook, stf_write_workbook),
      src/xml-io.[ch] (xml_probe, gnumeric_xml_read_workbook,
      Signature changes.
      * src/workbook.c: Adjusted to
      workbook_load_from/gnumeric_xml_write_workbook signature change.
      * src/dialogs/dialog-function-select.c: Adjust to func.[ch].
      * src/dialogs/dialog-plugin-manager.c
      Adjust to plugin.[ch].
      (cb_pm_button_activate_plugin_clicked): Check if loader for current
      plugin is available, suggest activating loader plugin otherwise.
    • Morten Welinder's avatar
      Brag. · a8bf359c
      Morten Welinder authored
    • Morten Welinder's avatar
      Non-modal search and replace. · 223aa84b
      Morten Welinder authored
      2001-02-24  Morten Welinder  <terra@diku.dk>
      	* src/workbook-control-gui.c (cb_edit_search_replace_action): New
       	function for non-modal action.
      	(cb_edit_search_replace): Supply action callback.
      2001-02-24  Morten Welinder  <terra@diku.dk>
      	* dialog-search-replace.c (dialog_search_replace): Rework to be
    • Almer S. Tigelaar's avatar
      Add sheet remove and sheet re-order menu items. · 85306f55
      Almer S. Tigelaar authored
      2001-02-24  Almer S. Tigelaar  <almer@gnome.org>
      	* src/workbook-control-gui-priv.h :
      	Add sheet remove and sheet re-order menu items.
      	* src/workbook-control-gui.c
      	(wbcg_menu_state_sheet_count) : New, Take care of sheet counts dependant
      	gui elements like the sheet remove/re-order menus.
      	(wbcg_sheet_add) : Call menu_state_sheet_count from here.
      	(wbcg_sheet_remove) : Idem.
      	(workbook_control_gui_init) : Initialize the remove and re-order menu-items.
    • Jody Goldberg's avatar
      Why was I protecting a generic call ? Its constituents not the caller are · 906203ad
      Jody Goldberg authored
      2001-02-24  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control-gui.c (workbook_control_gui_new) : Why was I
      	  protecting a generic call ?  Its constituents not the caller are
      	  responsible for blocking events.
      	(workbook_control_gui_init) : Be anal and init this just in case.
    • Jody Goldberg's avatar
      Why was I protecting a generic call ? Its constituents not the caller are · 68acda5b
      Jody Goldberg authored
      2001-02-24  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control-gui.c (workbook_control_gui_new) : Why was I
      	  protecting a generic call ?  Its constituents not the caller are
      	  responsible for blocking events.
    • Almer S. Tigelaar's avatar
      If we reach the maximum scroll offset increase it so we can keep scrolling · 25a01a39
      Almer S. Tigelaar authored
      2001-02-24  Almer S. Tigelaar  <almer@gnome.org>
      	* src/sheet-control-gui.c
      	(horizontal_scroll_event) : If we reach the maximum scroll offset
      	increase it so we can keep scrolling down.
      	(vertical_scroll_event) : Idem.
      	(horizontal_scroll_change) : Directly manipulate scroll offset.
      	(vertical_scroll_change) : Idem.
    • Almer S. Tigelaar's avatar
      Add spacing. · eb949c10
      Almer S. Tigelaar authored
      2001-02-24  Almer S. Tigelaar  <almer@gnome.org>
      	* search-replace.glade : Add spacing.
    • Jody Goldberg's avatar
      update · a4d1f9f0
      Jody Goldberg authored
    • Jody Goldberg's avatar
      reorder to handle unmerging directly. (cmd_merge_cells_undo) : ditto. · ab441bef
      Jody Goldberg authored
      2001-02-23  Jody Goldberg <jgoldberg@home.com>
       	* src/commands.c (cmd_merge_cells_redo) : reorder to handle unmerging
       	(cmd_merge_cells_undo) : ditto.
       	(CmdMergeCells) : no need to inherit from CmdUnmergeCells.
       	(cmd_unmerge_cells_redo) : merge the 'internal' versions.
       	(cmd_unmerge_cells_undo) : merge the 'internal' versions.
      2001-02-22  Jody Goldberg <jgoldberg@home.com>
      	* src/style-border.c (style_border_vmargins) : remove unnecessary
      	  reference to next_sr.  sr.bottom == next_sr.top
      	  For normal borders horizontal always dominates vertical.
      	(style_border_hmargins) : Only cut corners for doubles if the corner
      	  is a double.
      	* src/sheet.c (sheet_cursor_set_full) : new function.
      	* src/selection.c (sheet_selection_set_internal) : Use it here.
      	  The trick is that when extending a selection to include merged cells
      	  it is possible that the edit cell is neither the base nor the move
      	  col/row.  When you then shrink the selection to the pre-extended
      	  state, without the merged region, you have lost track of the corner
      	  and can easily loose the edit_position.
      	* src/workbook-format-toolbar.c (toggled_from_toolbar) : delete this
      	  ugliness.  We don't need it anymore.
      2001-02-20  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-control-gui.c (wbcg_ui_update_begin) : new utility
      	(wbcg_ui_update_end) : new utility
      	* src/workbook-format-toolbar.c (workbook_feedback_set) : Use them
      	(workbook_format_halign_feedback_set) : update center-across-selection
      	  in the bonobo case.
      	(do_modify_format) : rewrite to use the format from the edit cell and
      	  to support undo.
      	* src/format.c (format_toggle_thousands) : delete.
      2001-02-23  Jody Goldberg <jgoldberg@home.com>
      	* configure.in : post release version bump to 0.64.
    • Jody Goldberg's avatar
      Release 0.63 · dc3326a3
      Jody Goldberg authored
  2. 23 Feb, 2001 12 commits
  3. 22 Feb, 2001 4 commits
  4. 21 Feb, 2001 8 commits
  5. 20 Feb, 2001 4 commits