1. 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
  2. 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
  3. 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
  4. 03 Feb, 2002 3 commits
  5. 02 Feb, 2002 6 commits
  6. 01 Feb, 2002 10 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
    • Karsten Weiss's avatar
      Added de/topic.dat · 3e8c4a33
      Karsten Weiss authored
      3e8c4a33
    • Christian Rose's avatar
      Added these. · eaa6ab73
      Christian Rose authored
      2002-02-01  Christian Rose  <menthos@menthos.com>
      
      	* sv, sv/topic.dat: Added these.
      eaa6ab73
    • Jody Goldberg's avatar
      Use utf8 · f781be02
      Jody Goldberg authored
      2002-02-01  Jody Goldberg <jody@gnome.org>
      
      	* numtheory.c (gnumeric_phi) : Use utf8
      f781be02
    • 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
      add Helv. · 55be42f8
      Jody Goldberg authored
      2002-01-31  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-util.c (init_xl_font_widths) : add Helv.
      
      	* ms-excel-read.c (ms_sheet_create_obj) : GObject vs GtkObject
      	* ms-obj.c (ms_obj_delete) : ditto.
      	* ms-chart.c (ms_excel_read_chart) : ditto.
      55be42f8
    • 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
  7. 31 Jan, 2002 7 commits
    • 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
    • Andreas J. Guelzow's avatar
      port to gnome2 and redesign change in-place-output handling and duplicate · 3294cf93
      Andreas J. Guelzow authored
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* advanced-filter.glade : port to gnome2 and redesign
      	* dialog-advanced-filter.c (filter) : change in-place-output
      	  handling and duplicate values rather than copying strings
      	(advanced_filter) : use parse_database_criteria, prepare_output
      	  after determining validity of input.
      	(in_place_toggled) : deleted
      	(copy_to_toggled) : deleted
      	(new_sheet_toggled) : deleted
      	(new_workbook_toggled) : deleted
      	(dialog_help_cb) : deleted
      	(advanced_filter_update_sensitivity_cb) : new callback
      	(advanced_filter_ok_clicked_cb) : new callback
      	(dialog_advanced_filter_init) : new procedure (create guru)
      	(dialog_advanced_filter) : rewrite as guru
      	* dialog-analysis-tools.c : move various definitions to
      	  src/analysis-tools.h
      	(gnumeric_expr_entry_parse_to_value) : make non-static
      	(error_in_entry) : make non-static
      	(parse_output) : make non-static
      	(tool_destroy) : make non-static
      	(tool_set_focus) : make non-static
      	(dialog_tool_init_outputs) : make non-static
      	(dialog_tool_init_buttons) : make non-static
      	(tool_load_selection) : make non-static
      
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-database.c (parse_database_criteria) : make non-static
      
      2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/analysis-tools.h : include type definitions and function
      	  prototypes previously in src/dialogs/dialog-analysis-tools.c
      	* src/analysis-tools.c (autofit_columns) : make non-static
      	* src/func-util.h (parse_database_criteria) : new
      3294cf93
    • Christophe Merlet's avatar
      Updated French translation. · e94e5274
      Christophe Merlet authored
      e94e5274
    • Christian Rose's avatar
      Updated Swedish translation. · d2391283
      Christian Rose authored
      2002-01-31  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      d2391283
    • Christophe Merlet's avatar
      Updated French translation. · 43774797
      Christophe Merlet authored
      43774797
    • Jody Goldberg's avatar
      merge in the new object icons from jimmac. ditto. ditto. ditto. · 2ec91abf
      Jody Goldberg authored
      2002-01-30  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c : merge in the new object icons from jimmac.
      	* src/pixmaps/Makefile.am : ditto.
      	* src/workbook-control-gui.c : ditto.
      	* src/GNOME_Gnumeric.xml : ditto.
      	s/^/Object/
      	s/Rect/Rectangle/
      	s/Oval/Ellipse/
      	s/Checkbutton/Checkbox/
      
      	* src/gui-util.c (gnumeric_error_info_dialog_show) : center error
      	  dialog on the mouse.
      2ec91abf
    • Jody Goldberg's avatar
      delete to work around a change in canvas initialization sequence. The · be2d5528
      Jody Goldberg authored
      2002-01-30  Jody Goldberg <jody@gnome.org>
      
      	* widget-editable-label.c (el_init) : delete to work around a change
      	  in canvas initialization sequence.  The adjustments may not exist yet.
      	(el_realize) : initialize them here.
      be2d5528
  8. 29 Jan, 2002 3 commits
    • Jody Goldberg's avatar
      update · 938d37cd
      Jody Goldberg authored
      938d37cd
    • Jody Goldberg's avatar
      move to new sheet widget layout. · b83b3724
      Jody Goldberg authored
      2002-01-29  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_sheet_create_obj) : move to new sheet widget
      	  layout.
      
      2002-01-29  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_notebook_switch_page) : fix changing
      	  sheets.
      b83b3724
    • Andreas J. Guelzow's avatar
      dialog-simple-input.c (dialog_get_sheet_name) replaced by · 35bab0d6
      Andreas J. Guelzow authored
      2002-01-29  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-simple-input.c (dialog_get_sheet_name) replaced by
      	  sheet_name_destroy, cb_sheet_name_ok_clicked,
      	  cb_sheet_name_cancel_clicked, dialog_sheet_name
      	* dialogs.h (dialog_get_sheet_name) : replace with
      	  dialog_sheet_name
      	* sheet-rename.glade : use descriptive button ids &
      	  edit label
      
      2002-01-29  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/workbook-control-gui.c (sheet_action_rename_sheet) : move most
      	  code into dialog_sheet_name and friends
      	(cb_sheet_change_name) : ditto, also rename to cb_sheet_name
      35bab0d6