1. 27 Mar, 2001 2 commits
    • Morten Welinder's avatar
      New function, extracted from cmd_search_replace_do. · 9afef623
      Morten Welinder authored
      2001-03-26  Morten Welinder  <terra@diku.dk>
      
      	* src/workbook.c (workbook_cells): New function, extracted from
       	cmd_search_replace_do.
      
      	* src/sheet.c (sheet_cells): New function, extracted from
       	cmd_search_replace_do.
      
      	* src/cell.c (cell_has_comment_pos): New function for those cells
       	that aren't really there.
      
      	* src/commands.c (cmd_search_replace_do): Use workbook_cells and
       	sheet_cells.
      	(cmd_search_replace_do_cell): Change to take position instead of
       	cell.  Handle missing cells without crashing.
      9afef623
    • Fatih Demir's avatar
      Update · 40e1dcac
      Fatih Demir authored
      40e1dcac
  2. 25 Mar, 2001 2 commits
  3. 23 Mar, 2001 3 commits
  4. 22 Mar, 2001 1 commit
  5. 21 Mar, 2001 2 commits
  6. 20 Mar, 2001 5 commits
    • Chyla Zbigniew's avatar
      Moved XL support from Gnumeric binary into real plugin. · aec1f2bf
      Chyla Zbigniew authored
      
      Moved XL support from Gnumeric binary into real plugin.
      
      * src/Makefile.am
      (gnumeric_libs): Removed ../plugins/excel/libexcel.a
      
      * src/main.c:
      Removed:
      - include "../plugins/excel/boot.h"
      - xxx_debug variables
      - (gnumeric_popt_options) excel debugging options
      - excel_init() and excel_shutdown() calls
      aec1f2bf
    • Chyla Zbigniew's avatar
      Added cast to avoid warning. · 797ee5f4
      Chyla Zbigniew authored
      
      * plugins/gb/plugin.c
      (plugin_init_general): Added cast to avoid warning.
      
      * plugins/gb/plugin.xml:
      Added dependency on excel plugin.
      797ee5f4
    • Chyla Zbigniew's avatar
      Building excel plugin as shared library, added plugin.xml. · 098d1f56
      Chyla Zbigniew authored
      
      * Makefile.am:
      Building excel plugin as shared library, added plugin.xml.
      
      * boot.[ch]:
      xxx_debug variables from src/main.c moved here.
      Converted to real plugin with file_opener and file_saver services.
      
      * plugin.xml: New file.
      
      * gnumeric/plugins/excel/excel.h, plugins/excel/ms-chart.c,
      plugins/excel/ms-escher.c, plugins/excel/ms-excel-read.c,
      plugins/excel/ms-excel-read.h, plugins/excel/ms-excel-util.c,
      plugins/excel/ms-excel-write.c, plugins/excel/ms-excel-write.h,
      plugins/excel/ms-formula-read.c, plugins/excel/ms-formula-write.c,
      plugins/excel/ms-obj.c:
      Adjusted function signatures, don't return TRUE/FALSE if using
      IOContext (we don't need boolean value as IOContext now sets
      "error_occurred" flag).
      098d1f56
    • Chyla Zbigniew's avatar
      Added support for plugin dependencies + some fixes. · 99ad3568
      Chyla Zbigniew authored
      
      Added support for plugin dependencies + some fixes.
      
      * src/gutils.h (g_list_to_vector, g_vector_free_custom):
      New macros. (used macros instead of functions to avoid casting and
      pointer size problems - ANSI C doesn't guarantee that
      sizeof (void *) == sizeof (something_else *).
      
      * src/plugin-loader.c
      (gnumeric_plugin_loader_load): Load required plugin dependencies
      before the plugin itself, increment n_deps for every loaded
      dependency (by calling plugin_dependencies_inc_dependants).
      (gnumeric_plugin_loader_unload): New function.
      (gnumeric_plugin_loader_load_service): Increment number of loaded
      services if loaded succesfully.
      (gnumeric_plugin_loader_unload_service): Decrement number of loaded
      services if unloaded succesfully, unload plugin if it reaches zero.
      
      * src/plugin-loader.h
      (struct _GnumericPluginLoader): Added n_loaded_services.
      (gnumeric_plugin_loader_unload): New function.
      
      * src/plugin-service.c:
      (plugin_service_file_opener_open_func,
      plugin_service_file_saver_save_func):
      Used gnumeric_io_error_occurred (and gnumeric_io_clear_error) when
      checking for error.
      
      * src/plugin.c:
      (plugins_active_by_default): Array containing ids of "standard"
      plugins. These will be active by default.
      (struct _PluginDependency): New struct.
      (struct _PluginInfo): Added dependencies_v, d_deps. Replaced
      service_list with services_v (vector in place of list).
      (plugin_info_get_config_prefix, plugin_dependency_get_plugin_info,
      plugin_info_read_dependency_list, plugin_dependency_free,
      plugin_inc_dependants, plugin_dec_dependants,
      plugin_dependencies_inc_dependants,
      plugin_dependencies_dec_dependants,
      plugin_load_dependencies):
      New functions.
      (plugin_info_provides_loader_by_type_str, plugin_info_free):
      Adjusted to service_list -> services_v change.
      (plugin_info_read): Read (optional) dependencies, adjusted to
      service_list -> services_v change.
      (activate_plugin):
      Activate required dependencies before the plugin itself.
      Increment n_deps for every activated dependency (by calling
      plugin_dependencies_inc_dependants).
      Adjusted to service_list -> services_v change.
      (deactivate_plugin):
      Decrement n_deps for every activated dependency (by calling
      plugin_dependencies_dec_dependants).
      Adjusted to service_list -> services_v change.
      (plugin_can_deactivate):
      Return FALSE if any of n_deps > 0.
      Adjusted to service_list -> services_v change.
      (plugin_list_sort_by_dependency): Removed.
      (plugin_db_activate_plugin_list): Removed sorting.
      (plugin_db_init): Always activate new plugin if it's defined in
      plugins_active_by_default array.
      
      * src/plugin.h:
      (PluginDependencyType): New enum.
      (plugin_load_dependencies,
      plugin_inc_dependants, plugin_dec_dependants,
      plugin_dependencies_inc_dependants,
      plugin_dependencies_dec_dependants,
      plugin_info_get_config_prefix): New functions.
      99ad3568
    • Chyla Zbigniew's avatar
      Added error_occurred field. · b0421f0d
      Chyla Zbigniew authored
      
      * src/io-context-priv.h:
      (struct _IOContext): Added error_occurred field.
      
      * src/io-context.c
      (gnumeric_io_context_new): Set error_occurred to FALSE by default.
      (gnumeric_io_error_system, gnumeric_io_error_read,
      gnumeric_io_error_save): Set error_occured to TRUE.
      (gnumeric_io_error_unknown, gnumeric_io_clear_error,
      gnumeric_io_error_occurred): New functions.
      
      * src/io-context.h
      (gnumeric_io_error_unknown, gnumeric_io_clear_error,
      gnumeric_io_error_occurred): New functions.
      b0421f0d
  7. 18 Mar, 2001 5 commits
    • Jody Goldberg's avatar
      handle failure cases better. · e2b76f4e
      Jody Goldberg authored
      
      2001-03-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (wb_edit_key_pressed) : handle failure
      	  cases better.
      e2b76f4e
    • Christophe Merlet's avatar
      Updated French translation. · b618626c
      Christophe Merlet authored
      b618626c
    • Jody Goldberg's avatar
      Doh! · 4c3d000e
      Jody Goldberg authored
      
      2001-03-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/colrow.c (colrow_foreach) : Doh!
      4c3d000e
    • Almer S. Tigelaar's avatar
      Polish. · 2920b934
      Almer S. Tigelaar authored
      2001-03-18  Almer S. Tigelaar  <almer@gnome.org>
      
      	* validate.glade : Polish.
      
      	* dialog-validate.c :
      	(cb_set_constraint_type_deactive) : Also de-activate labels and clean-up a bit.
      	(cb_input_flag_toggled) : clean-up.
      	(cb_error_flag_toggled) : idem.
      	(setup_widgets) : Initialize some new widgets added to validate.glade
      	(connect_signals) : Add signal for error_action.
      	(cb_error_action_deactivate) : New, the signal handler for error_action,
      	will load a pixmap representating the action to be taken.
      	(dialog_validate) : Initialize the error_action pixmap by calling the
      	cb_error_action_deactivate callback.
      2920b934
    • Jody Goldberg's avatar
      Now that we are zooming this canvas we need to transform the coordinates. · c3c2ba22
      Jody Goldberg authored
      
      2001-03-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_event) : Now that we are zooming this
      	  canvas we need to transform the coordinates.
      c3c2ba22
  8. 17 Mar, 2001 6 commits
    • Jody Goldberg's avatar
      update · 638e81f1
      Jody Goldberg authored
      638e81f1
    • Jody Goldberg's avatar
      Handle outline mode. (ms_excel_read_colinfo) : ditto. (ms_excel_read_guts) · e1a87d5f
      Jody Goldberg authored
      
      2001-03-15  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_read_row) : Handle outline mode.
      	(ms_excel_read_colinfo) : ditto.
      	(ms_excel_read_guts) : ditto.
      
      2001-03-16  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_calc_size) : rename from
      	  item_bar_fonts_init.
      
      	* src/sheet-control-gui.c (scg_set_zoom_factor) : prepare for panes by
      	  zooming the col/row header canvases.  We need this as we transition
      	  to using gnumeric-sheets instead of canvases to hold the item-bars.
      
      2001-03-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/colrow.c (colrow_equal) : handle outline&collapse.
      	(colrow_copy) : ditto.
      
      	* src/item-bar.c (outline_button_press) : new function.
      	(item_bar_event) : used here.
      
      2001-03-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (compute_pixels_from_pts) : new function.
      	(item_bar_fonts_init) : resize the indent gutters based on the zoom.
      	(item_bar_realize) : add another gc for outline drawing.
      	(item_bar_unrealize) : ditto.
      	(item_bar_draw) : implement drawing for groupings.
      	(set_cursor) : handle cursor in the presence of groupings.
      
      2001-03-14  Jody Goldberg <jgoldberg@home.com>
      
      	* Makefile.am : update the handling of the oaf file.
      
      	* src/sheet.c (sheet_col_row_default_calc) : rename from
      	  sheet_col_row_default_init.
      
      2001-03-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_write_print_repeat_range) : PrintRepeatRange now
      	  uses a simple Range.
      	(xml_read_print_repeat_range) : ditto.
      	* src/print-info.c (print_info_new) : ditto.
      	(save_range) : Ditto.
      	* src/dialogs/dialog-printer-setup.c (do_fetch_page_info) : ditto.
      	* src/print.c (print_range_used_units) : ditto.
      	(print_range_right_then_down) : ditto.
      	(print_range_down_then_right) : ditto.
      	(print_page_repeated_intersect) : ditto.
      	(print_page_repeated_cols) : ditto.
      	(print_page_repeated_rows) : ditto.
      	(print_page) : ditto.
      
      	* src/sheet-control-gui.c (scg_set_zoom_factor) : The sizing has moved
      	  into the itembar.
      
      	* src/item-bar.c : s/orientation/is_col_header/
      	(item_bar_fonts_init) : Init the ideal cell size.
      	(item_bar_update) : Begin to support grouping.
      	(item_bar_draw) : ditto.
      	(item_bar_init) : init the new members.
      
      	* src/print-cell.c (print_cell) : re-enable halign FILL.
      	* src/cell-draw.c (cell_draw) : ditto.
      e1a87d5f
    • Jody Goldberg's avatar
      post release version bump to 0.65. · fc14aa47
      Jody Goldberg authored
      
      2001-03-17  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : post release version bump to 0.65.
      fc14aa47
    • Jody Goldberg's avatar
      Release 0.64 · e4450eb9
      Jody Goldberg authored
      e4450eb9
    • Jody Goldberg's avatar
      add scripts · 63db03df
      Jody Goldberg authored
      63db03df
    • Jody Goldberg's avatar
      add gal · 51208c99
      Jody Goldberg authored
      51208c99
  9. 16 Mar, 2001 3 commits
  10. 15 Mar, 2001 3 commits
    • Fatih Demir's avatar
      Corrections · bdb56f2c
      Fatih Demir authored
      bdb56f2c
    • Jon K Hellan's avatar
      Fix the build for bonobo by ifdefing out verbs for cb_data_validate and · 4f7a0196
      Jon K Hellan authored
      2001-03-15  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook-control-gui.c (verbs): Fix the build for bonobo by
      	  ifdefing out verbs for cb_data_validate and cb_view_freeze_panes.
      4f7a0196
    • Jody Goldberg's avatar
      Add portability.h to help on Tru64 · 3a6ba12c
      Jody Goldberg authored
      
      2001-03-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parser.y : Add portability.h to help on Tru64
      
      	* src/workbook-control-gui.c : disable validate and freeze for
      	  release.
      
      2001-03-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (workbook_setup_auto_calc) : the autoexpr
      	  button can not take focus.
      3a6ba12c
  11. 13 Mar, 2001 4 commits
  12. 12 Mar, 2001 2 commits
    • Jody Goldberg's avatar
      bug 51887 · 6594b988
      Jody Goldberg authored
      2001-03-11  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-cell-sort.c (dialog_cell_sort_ok) : sneaky.  To avoid
      	  freeing the range multiple times or leaking copy it here.
      
      2001-03-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_sort_destroy) : Add some safety in preparation
      	  for gtk2.0.
      6594b988
    • Jody Goldberg's avatar
      remove the use of the canvas to avoid label flicker. Add support for a · b18a8d20
      Jody Goldberg authored
      
      2001-03-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (workbook_setup_auto_calc) : remove the
      	  use of the canvas to avoid label flicker.  Add support for a status
      	  widget.
      	(wb_control_gui_set_status_text) : new function.
      
      	* src/gnumeric.xml : Add Status control and reverse the order to work
      	  around probable bonobo bug.
      
      	* src/sheet-control-gui.c (horizontal_scroll_offset_changed) : Use
      	  wb_control_gui_set_status_text.
      	(vertical_scroll_offset_changed) : ditto.
      	(scg_scrollbar_config) : ditto.
      b18a8d20
  13. 11 Mar, 2001 2 commits
    • Almer S. Tigelaar's avatar
      Clear scrollbar text. (vertical_scroll_offset_changed): Adjust to display · 34008e7f
      Almer S. Tigelaar authored
      2001-03-10  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/sheet-control-gui.c
      	(scg_scrollbar_config): Clear scrollbar text.
      	(vertical_scroll_offset_changed): Adjust to display hint in the scrollbar.
      	(horizontal_scroll_offset_changed): Idem.
      
      2001-03-10  Almer S. Tigelaar  <almer@gnome.org>
      
      	* gnumeric-[vh]scrollbar.c, gnumeric-[vh]scrollbar.h
      	(gnumeric_[vh]scrollbar_adjustment_value_changed): Emit extra
      	signal parameter and remove setting of tooltip.
      	(gnumeric_[vh]vscrollbar_button_press): Remove the tooltip entirely and
      	add support for shift click live scrolling.
      	(gnumeric_[vh]vscrollbar_button_release): Pass extra signal parameter and
      	remove destroying of tooltip.
      	(gnumeric_[vh]scrollbar_class_init): Add extra signal parameter.
      34008e7f
    • Jody Goldberg's avatar
      avoid generating a spurious signal when pressing on the scrollbar but not · 77e75622
      Jody Goldberg authored
      
      2001-03-10  Jody Goldberg <jgoldberg@home.com>
      
      	* gnumeric-[vh]scrollbar.c (gnumeric_[vh]scrollbar_button_press) : avoid
      	  generating a spurious signal when pressing on the scrollbar but not
      	  moving.
      
      2001-03-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_construct) : lay some ground work for
      	  multiple panes.
      
      2001-03-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_find_{col,row}) : fix off by
      	  one width/height error at far boundary.
      
      	* src/xml-io.c (xml_get_print_unit) : make units case sensitive.
      77e75622