1. 15 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      We can now make distcheck · f84a08c5
      Jody Goldberg authored
      Requires a GAL update, and a gtk+ update
      
      2002-02-15  Jody Goldberg <jody@gnome.org>
      
      	* src/item-cursor.c (item_cursor_tip_setlabel) : enable now that the
      	  canvas bug is fixed.
      
      	* src/sheet-control-gui.c (cb_hscrollbar_adjust_bounds) : new.
      	(cb_vscrollbar_adjust_bounds) : new.
      
      	* src/gui-util.c (gtk_button_stock_alignment_set) : new.
      	(gnumeric_init_help_button) : new.
      
      	* src/gnumeric-canvas.h : Move declaration of
      	  GnumericCanvasSlideHandler here.
      
      	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : forward to the entry,
      	  not the GnumericExprEntry wrapper.
      	(gnm_canvas_key_mode_sheet) : ditto.
      
      	* src/formats.c (cell_format_classify) : handle general.
      
      	* src/file-priv.h : Inherit from GObject.
      
      	* src/complete-sheet.c (complete_sheet_finalize) : call class_peek
      	  here to avoid potential reference problems.
      
      	* src/commands.c (cmd_set_text) : doh!  fix multi-line text.
      	(cmd_autoformat) : const.
      
      	* src/cell.c (cell_relocate) : const.
      	* src/clipboard.c (paste_cell_with_operation) : const.
      	(paste_cell) : ditto.
      
      	* src/application.c (application_init) : add jimmac's expr-entry icon.
      
      	* src/Makefile.am : distribute the marshaller.list
      
      	s/GtkType/GType/
      	s/GtkSignalFunc/GCallback/
      	s/gtk_signal_connect/g_signal_connect/  + reformating.
      	s/GTK_CHECK_CAST/G_TYPE_CHECK_INSTANCE_CAST/
      	s/GTK_CHECK_TYPE/G_TYPE_CHECK_CLASS_CAST/
      	s/GTK_CHECK_CLASS_CAST/G_TYPE_CHECK_INSTANCE_TYPE/
      	s/GTK_CHECK_CLASS_TYPE/G_TYPE_CHECK_CLASS_TYPE/
      
      2002-02-11  Jody Goldberg <jody@gnome.org>
      
      	* src/stf.c (stf_init) : Make the names of the text import/export
      	  clearer.
      f84a08c5
  2. 12 Feb, 2002 2 commits
    • Morten Welinder's avatar
      Correct assertion. · 8824b30d
      Morten Welinder authored
      2002-02-12  Morten Welinder  <terra@diku.dk>
      
      	* src/io-context.c (value_io_progress_update): Correct assertion.
      
      	* src/io-context.c (file_io_progress_update,
      	memory_io_progress_update, value_io_progress_update,
      	count_io_progress_update, workbook_io_progress_update): Use test,
      	not assignment.
      8824b30d
    • Morten Welinder's avatar
      Fix isspace usage. (stf_parse_is_valid_data): Ditto. Ditto. · 718c8c58
      Morten Welinder authored
      2002-02-12  Morten Welinder  <terra@diku.dk>
      
      	* src/stf-parse.c (trim_spaces_inplace): Fix isspace usage.
      	(stf_parse_is_valid_data): Ditto.
      	* src/sheet.c (sheet_name_quote): Ditto.
      718c8c58
  3. 11 Feb, 2002 5 commits
    • Jon K Hellan's avatar
      Support per sheet grid color. Needed for correct XL import. · 91dc6f19
      Jon K Hellan authored
      2002-02-11  Jon K Hellan  <hellan@acm.org>
      
      	Support per sheet grid color. Needed for correct XL import.
      
      	* src/style-color.[ch] (color_equal): Rename to style_color_equal
      	and export.
      
      	* src/style-border.[ch] (style_border_none_set_color): New
      	function. Update the grid color (color of style border none) to
      	the given color.
      
      	* src/sheet-style.[ch] (sheet_style_update_grid_color): New
      	function. Update the grid color to fit the given sheet.
      
      	* src/item-grid.c (item_grid_draw): Call
      	sheet_style_update_grid_color before rendering.
      
      	* src/print-cell.c (print_cell_range): Ditto
      
      	* src/preview-grid.c (preview_grid_draw): Call
      	style_border_none_update_color before rendering.
      91dc6f19
    • Jody Goldberg's avatar
      Use the standard cursor. · e5f4e519
      Jody Goldberg authored
      2002-02-11  Jody Goldberg <jody@gnome.org>
      
      	* src/item-bar.c (item_bar_realize) : Use the standard cursor.
      e5f4e519
    • Jody Goldberg's avatar
      port fix for deleting unused names · 52ee0775
      Jody Goldberg authored
      52ee0775
    • Jody Goldberg's avatar
      more breakage due to libxml change · da032f0f
      Jody Goldberg authored
      da032f0f
    • Jody Goldberg's avatar
      patch for recent change in libxml · cdaf6faf
      Jody Goldberg authored
      cdaf6faf
  4. 09 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      new utility to hand wrap g_signal_emitv. We are forced to use it to avoid · b29f5438
      Jody Goldberg authored
      2002-02-09  Jody Goldberg <jody@gnome.org>
      
      	* src/widgets/gnumeric-combo-text.c (gnm_signal_emit) : new utility to
      	  hand wrap g_signal_emitv.  We are forced to use it to avoid having the
      	  result value we assign as default initialized to FALSE by
      	  gtk_signal_emit.
      	(cb_entry_activate) : use gnm_signal_emit.
      	(cb_list_select) : ditto.
      	(gnm_combo_text_init) : renamed from gnm_combo_text_construct.
      	(gnm_combo_text_destroy) : use g_type_class_peek.
      	(gnm_combo_text_class_init) : convert to g_signal.
      	(gnm_combo_text_new) : use g_object_new.
      b29f5438
  5. 08 Feb, 2002 2 commits
    • Jon K Hellan's avatar
      Return from the right place. · ba631622
      Jon K Hellan authored
      2002-02-08  Jon K Hellan  <hellan@acm.org>
      
      	* src/mstyle.c (link_border_colors): Return from the right place.
      ba631622
    • Jon K Hellan's avatar
      Create with refcount 1. (style_color_new): Only increment refcount if · adf4f10c
      Jon K Hellan authored
      2002-02-08  Jon K Hellan  <hellan@acm.org>
      
      	* src/style-color.c (style_color_new_uninterned): Create with
      	refcount 1.
      	(style_color_new): Only increment refcount if using cached color.
      
      	* src/sheet.c (sheet_duplicate): Clone auto pattern color
      
      	* src/sheet-style.c (sheet_style_init): Move auto_pattern_color
      	initialization forward. sheet_style_get_auto_pattern_color is
      	called from sheet_style_find below.
      	(sheet_style_set_auto_pattern_color): Tag it as an auto
      	color. Unref the input color.
      
      	* src/sheet-style.[ch]: (sheet_style_get_auto_pattern_color): constify.
      
      	* src/mstyle.c (link_pattern_color): New function.  Replace auto
      	pattern color in style with sheet's auto pattern color.
      	(link_border_colors): New function. Replace auto border colors in
      	style with sheet's auto pattern color.
      	(mstyle_link_sheet): Use target sheet's auto pattern color by
      	calling link_xxxx_color functions.
      	(mstyle_set_border): Fix typo.
      
      	* plugins/excel/ms-excel-read.c (ms_excel_read_window2): No
      	need to unref pattern_color,
      	sheet_style_set_auto_pattern_color now does that.
      adf4f10c
  6. 07 Feb, 2002 6 commits
  7. 06 Feb, 2002 4 commits
    • Michael Meeks's avatar
      don't setup the item container. · e886f3af
      Michael Meeks authored
      2002-02-06  Michael Meeks  <michael@ximian.com>
      
      	* src/workbook.c (workbook_bonobo_setup): don't
      	setup the item container.
      
      	* src/gnumeric-graph.c: porting action.
      	(bonobo_activation_exception_id): kill.
      
      	* src/corba-args.c (gnumeric_arg_parse): upd.
      
      	* src/bonobo-io.c: porting action.
      
      	* src/sheet-object-bonobo.c: porting action.
      e886f3af
    • Andreas J. Guelzow's avatar
      handle delete button (cb_delete_clicked) : new (dialog_init) : connect · 5107cd92
      Andreas J. Guelzow authored
      2002-02-06  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-cell-sort.c (cb_sort_selection_changed) : handle delete
      	  button
      	(cb_delete_clicked) : new
      	(dialog_init) : connect cb_delete_clicked to button
      5107cd92
    • Jody Goldberg's avatar
      finish converting to style formats. · 1554ed07
      Jody Goldberg authored
      1554ed07
    • Jody Goldberg's avatar
      changes to the classification interface. It will continue to evolve. · eee2e6a6
      Jody Goldberg authored
      2002-02-06  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-autofill.c (autofill_create_fill_items) : changes to the
      	classification interface.  It will continue to evolve.
      
      	* src/formats.c (cell_format_classify) : change the signature.  In the
      	  future this should really be split.  This routine is
      	  1) stupid
      	  2) wrong
      	  It is really only useful in the context of the format dialog.
      	  however, our desire to call it elsewhere indicates what the new
      	  format engine should make easiliy accessible.
      
      	* src/expr.c (expr_eval_real) : quick and easy support for autoformat
      	  style formating for percent operator.  Just a quick test to see how
      	  hard it would be, and it wasn't.
      
      	* src/auto-format.c : Convert to StyleFormat.  Nothing actually uses
      	  this anymore but I have not merged its logic into the eval structure
      	  yet.
      
      	* src/format-template.c (format_template_check_valid) : warning
      	  suppression.
      
      	* src/format.c (style_format_general) : new.
      	(style_format_default_date) : new.
      	(style_format_default_time) : new.
      	(style_format_default_percentage) : new.
      	(style_format_default_money) : new.
      
      	* src/cell.c (cell_get_format) : finish the conversion.
      eee2e6a6
  8. 05 Feb, 2002 4 commits
    • Andreas J. Guelzow's avatar
      when deleting text to add new text don't emit a signal partially through · ba9839f5
      Andreas J. Guelzow authored
      2002-02-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* gnumeric-expr-entry.c (update_rangesel_text) : when deleting
      	  text to add new text don't emit a signal partially through
      	  the process.
      
      2002-02-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* goalseek.glade : remove hbox from active-area
      	* cell-sort.glade : add add and delete buttons (currently
      	  inactive)
      	* dialog-cell-sort.c :  add add and delete buttons (currently
      	  inactive), set initial top-bottom vs left-right depending on
      	  shape of initial selection, add only MAX_INITIAL_CLAUSES to the
      	  list of available clauses (to avoid adding 65000+ if a complete
      	  column is selected).
      ba9839f5
    • Jon K Hellan's avatar
      New function. Factored out of style_color_new. Creates color · c200db78
      Jon K Hellan authored
      2002-02-05  Jon K Hellan  <hellan@acm.org>
      
      	* src/style-color.c (style_color_new_uninterned): New
      	function. Factored out of style_color_new. Creates color
      	unconditionally, without using the hash table.
      	(style_color_new): Factor out style_color_new_uninterned.
      	(style_color_new_i8): New function. Create a style color from 8
      	bit rgb values by cloning to 16 bits.
      	(style_color_auto_font): New function. Returns an uninterned black
      	to represent Excel auto font color.
      	(style_color_auto_back): New function. Returns an uninterned white
      	to represent Excel auto background color.
      	(style_color_auto_pattern): New function. Returns an uninterned black
      	to represent Excel auto pattern color.
      	(color_equal): Include is_auto flag in comparison.
      	(color_hash): Include is_auto flag in hash function.
      
      	* src/style-color.h (style_color_new_i8, style_color_auto_font,
      	style_color_auto_back, style_color_auto_pattern): Declare
      
      	* src/sheet-style.c (struct _SheetStyleData): Add
      	auto_pattern_color.
      	(sheet_style_init): Initialize auto_pattern_color.
      	(sheet_style_shutdown): Unref auto_pattern_color.
      	(sheet_style_set_auto_pattern_color): New function. Set the auto
      	pattern color for this sheet.
      	(sheet_style_get_auto_pattern_color): New function. Get the auto
      	pattern color for this sheet.
      
      	* src/sheet-style.h (sheet_style_set_auto_pattern_color,
      	sheet_style_get_auto_pattern_color): Declare.
      
      	* src/dialogs/dialog-cell-format.c (border_get_mstyle): Use
              style_color_new_i8.
      
      	* src/plugins/excel/ms-excel-read.c (black_or_white_contrast): Burn.
      	(ms_excel_palette_get): Simplify to get autocolors right. We used
      	to be too clever.
      	(ms_sheet_map_color): Use style_color_new_i8 to convert from
      	rgb888.
      	(ms_excel_read_window2): Update pattern color according to
      	icvHdr/rgbHdr grid color if fDefaultHdr flag says so.
      
      	* src/plugins/applix/applix-read.c (applix_read_colormap): Use
              style_color_new_i8.
      c200db78
    • Andreas J. Guelzow's avatar
      Missing parentheses... · 935df148
      Andreas J. Guelzow authored
      935df148
    • Andreas J. Guelzow's avatar
      fine-tune the sort dialog and connect to sort-command · 1a502ecd
      Andreas J. Guelzow authored
      2002-02-04  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-cell-sort.c : fine-tune the sort dialog and connect
      	  to sort-command
      1a502ecd
  9. 04 Feb, 2002 2 commits
    • Andreas J. Guelzow's avatar
      complete the sort dialog. Note: The dialog is still not connected to the · d45d7a80
      Andreas J. Guelzow authored
      2002-02-04  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-cell-sort.c : complete the sort dialog. Note: The
      	  dialog is still not connected to the sort engine.
      d45d7a80
    • Jody Goldberg's avatar
      don't actually store the value, just start editing with it. · 167c36d3
      Jody Goldberg authored
      2002-02-03  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_insert_current_date) : don't actually
      	  store the value, just start editing with it.
      	(cb_insert_current_time) : ditto.
      
      2002-02-03  Jody Goldberg <jody@gnome.org>
      
      	* src/value.c (value_new_*) : init Value*::fmt
      	(value_duplicate) : ref the fmt too.
      	(value_set_fmt) : new.
      
      	* src/cell.c (cell_cleanout) : no more format.
      	(cell_copy) : ditto.
      	(cell_set_text) : ditto.
      	(cell_set_expr_internal) : ditto.
      	(cell_set_expr_unsafe) : ditto.
      	(cell_get_format) : ditto.
      
      	Change all callers.
      	* src/sheet.c (sheet_cell_set_value) : remove format assingment.
      	* src/cell.c (cell_set_expr_and_value) : remove format assignment.
      	(cell_assign_value) : ditto.
      	(cell_set_value) : ditto.
      	(cell_set_expr) : ditto.
      	* src/parser.y (expr_parse_str) : remove arg to return the suggested
      	  format.  That will be handled at run time.
      	* src/number-match.c (format_match) : remove arg to return the parse
      	  formula.  Store it in the value instead.
      167c36d3
  10. 03 Feb, 2002 3 commits
  11. 02 Feb, 2002 3 commits
  12. 01 Feb, 2002 6 commits
    • Andreas J. Guelzow's avatar
      preserve selection, and set default selection (plugin_compare_name) : · 8e86949d
      Andreas J. Guelzow authored
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-plugin-manager.c (update_plugin_manager_view) :
      	  preserve selection, and set default selection
      	(plugin_compare_name) : reverse sense
      	(dialog_plugin_manager) : make selection a state variable
      
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/gui-util.c (gnumeric_dialog_question_yes_no) : port to gnome2
      8e86949d
    • Andreas J. Guelzow's avatar
      replace clists with gtktree move from clists to treeview · 171ce819
      Andreas J. Guelzow authored
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* plugin-manager.glade : replace clists with gtktree
      	* dialog-plugin-manager.c : move from clists to treeview
      	(cb_pm_selection_changed) : new
      	(cb_pm_clist_row_selected) : deleted
      	(cb_pm_clist_row_unselected) : deleted
      	(pm_dialog_init) : remove clist references
      	(update_plugin_manager_view) : rewritten
      	(dialog_plugin_manager) : move from clists to treeview
      171ce819
    • Jody Goldberg's avatar
      cleanup the includes a bit and make the libole2 requirement specific to · cda21e74
      Jody Goldberg authored
      2002-02-01  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : cleanup the includes a bit and make the libole2
      	  requirement specific to the XL plugin.  Tidy up the gda, and gb
      	  tests to be consistent and more informative.
      
      	* src/main.c : remove ole debug flag.
      
      	* src/gnumeric-graph.c (gnm_graph_new) : return a GObject
      	  makes it easier to handle NULL.
      cda21e74
    • Andreas J. Guelzow's avatar
      first port to gnome2 ditto Note: this is far from finished, but at least · 76244d48
      Andreas J. Guelzow authored
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* plugin-manager.glade : first port to gnome2
      	* dialog-plugin-manager.c : ditto
      	  Note: this is far from finished, but at least it
      	  doesn't crash.
      76244d48
    • Andreas J. Guelzow's avatar
      some cleanup · bc0abee0
      Andreas J. Guelzow authored
      bc0abee0
    • Jody Goldberg's avatar
      A pile of stale commits. · 10a5bf7a
      Jody Goldberg authored
      2002-01-30  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (ms_excel_parse_formula) : give a warning when
      	  dealing with references to external workbooks.
      
      
      2002-01-31  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_focus_cur_scg) : warning
      	  suppression.
      	(sheet_control_gui_new) : enable partial scrollbar support.
      
      	* src/workbook-control.c (wb_control_parse_and_jump) : make defined
      	  names absolute.
      
      2002-01-30  Jody Goldberg <jody@gnome.org>
      
      	* src/dialogs/dialog-autoformat.c (templates_load) : changes to
      	  category_group_get_templates_list.
      
      	* src/xml-io-autoft.c (gnumeric_xml_write_format_template) : take a
      	  context not a control to clarify things.
      	(gnumeric_xml_read_format_template) : ditto.
      
      	* src/workbook.c (workbook_persist_file_save) : changes to
      	  wb_view_save_as.
      
      	* src/io-context.c (io_context_destroy) : impl is a command context now.
      	(gnumeric_io_context_new) : weaken requirements so that all we need is
      	  a command context.  Not strictly necessary, but makes it less likely
      	  that people will get confused.
      
      	* src/workbook-view.c (wb_view_save_as) : Take a command context not a
      	  workbook control to avoid confusing what we are saving.
      	(wb_view_save) : ditto.
      	(wb_view_selection_desc) : Implement using an explicit control.
      	(wb_view_open_custom) : add a missing precondition.
      	* src/gui-file.c (do_save_as) : changes to wb_view_save_as.
      	(gui_file_save_to_stream) :  changes to gnumeric_io_context_new.
      
      	* src/file-autoft.c (category_get_templates_list) : take a command
      	context, not a workbookcontrol.
      	(category_group_get_templates_list) : ditto.
      	* src/format-template.c (format_template_new) : ditto.
      	(format_template_new_from_file) : ditto.
      10a5bf7a
  13. 31 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      add padding to warnings provide information dialog if no records are found · 763f1a37
      Andreas J. Guelzow authored
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* advanced-filter.glade : add padding to warnings
      	* dialog-advanced-filter.c (advanced_filter_ok_clicked_cb) :
      	  provide information dialog if no records are found
      	(advanced_filter) : ditto
      	(advanced_filter_update_sensitivity_cb) : provide information
      	  messages in warning label
      	* dialog-sheet-order.c (populate_sheet_list) : disable drag
      	starts in sheet list and desensitize column header
      
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/analysis-tools.h : add warning to GENERIC_TOOL_STATE
      763f1a37