1. 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
  2. 10 Feb, 2002 2 commits
  3. 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
  4. 08 Feb, 2002 3 commits
    • Stanislav Visnovsky's avatar
      Updated Slovak translation. · e149191e
      Stanislav Visnovsky authored
      2002-02-08  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
      	* sk.po: Updated Slovak translation.
      e149191e
    • 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
  5. 07 Feb, 2002 8 commits
  6. 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
  7. 05 Feb, 2002 5 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
    • Andras Timar's avatar
      Added these. · cb580c18
      Andras Timar authored
      2002-02-05  Andras Timar  <timar@gnome.hu>
      
              * hu, hu/topic.dat: Added these.
      cb580c18
    • 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
  8. 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
  9. 03 Feb, 2002 3 commits
  10. 02 Feb, 2002 6 commits
  11. 01 Feb, 2002 1 commit
    • 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