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. 06 Feb, 2002 1 commit
    • 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
  3. 04 Feb, 2002 1 commit
    • 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 1 commit
  5. 01 Feb, 2002 1 commit
    • 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
  6. 29 Jan, 2002 2 commits
    • 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
  7. 28 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      adjust to the new creation format. · 5b2b279e
      Jody Goldberg authored
      2002-01-28  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-object-toolbar.c :  adjust to the new creation format.
      
      	* src/workbook-edit.c (wbcg_edit_has_guru) : return the actual guru.
      
      	* src/workbook-control-gui.c : Explicitly use the STOCK items rather
      	  than just the stock icon names.  This enables the accelerators too.
      
      	* src/sheet-object-widget.c : cleanup.
      	  Use _init functions, no need to create a silly _new wrapper that calls
      	  construct.  Remove unused Sheet arguments.
      
      	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : new.
      	(gnm_canvas_key_mode_sheet) : be more careful about what how to handle
      	  keys when there is a guru up.
      
      	* src/sheet-object-widget.c (sheet_widget_checkbox_user_config) :
      	  create the table.
      
      2002-01-27  Jody Goldberg <jody@gnome.org>
      
      	* src/Makefile.am : cleanup the generated files.
      5b2b279e
  8. 27 Jan, 2002 1 commit
  9. 26 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      fix all calls to gnumeric_notice ditto ditto ditto ditto ditto ditto ditto · 8b236ce4
      Andreas J. Guelzow authored
      2002-01-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-advanced-filter.c : fix all calls to gnumeric_notice
      	* dialog-analysis-tools.c : ditto
      	* dialog-autocorrect.c : ditto
      	* dialog-autosave.c : ditto
      	* dialog-cell-sort.c : ditto
      	* dialog-consolidate.c : ditto
      	* dialog-define-names.c : ditto
      	* dialog-goal-seek.c : ditto
      	* dialog-search-replace.c : ditto
      	* dialog-search.c : ditto
      	* dialog-solver.c : ditto
      	* dialog-tabulate.c : ditto
      
      2002-01-25  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/gui-util.c (gnumeric_dialog_run) : use GTK functions
      	(gnumeric_notice) : create GTK_Message_Dialog
      	* src/gui-util.h (gnumeric_notice) : change type of second argument
      	* src/gui-file.c : fix all calls to gnumeric_notice
      	* src/print.c : ditto
      	* src/style.c : ditto
      	* src/workbook-cmd-format.c : ditto
      	* src/workbook-control-gui.c : ditto
      8b236ce4
  10. 24 Jan, 2002 1 commit
  11. 23 Jan, 2002 1 commit
  12. 19 Jan, 2002 2 commits
    • Jody Goldberg's avatar
      move the tabulate and random numbers into Edit -> Fill ditto. · 4278ed64
      Jody Goldberg authored
      2002-01-19  Jody Goldberg <jody@gnome.org>
      
      	* src/GNOME_Gnumeric.xml : move the tabulate and random numbers into
      	  Edit -> Fill
      	* src/workbook-control-gui.c : ditto.
      
      	* src/xml-io.c (xml_read_cell_copy) : handle content with and without
      	  the 'Content' node.
      	(xml_read_cell) : do the version checks before the strcmps.
      
      	* gnumeric.xsd : Add MergedRegions, do not require the Cell's Content node.
      4278ed64
    • Andreas J. Guelzow's avatar
      new cb_tool_... functions, add analysis tools menu to non-bonobo menu · 9056f7b5
      Andreas J. Guelzow authored
      2002-01-19  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/workbook-control-gui.c : new cb_tool_... functions, add
      	  analysis tools menu to non-bonobo menu section, define
      	  BONOBO_UI_UNSAFE_VERBs for all analysis tools
      	(cb_tools_data_analysis) : deleted
      	* src/GNOME_Gnumeric.xml : add analysis tools menu items
      
      2002-01-19  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-analysis-tools.c : make dialog_..._tool non-static
      	  delete modal dialog for tool selection
      	(dialog_ttest_paired_tool) : deleted
      	(dialog_ttest_eq_tool) : deleted
      	(dialog_ttest_neq_tool) : deleted
      	(dialog_ztest_tool) : deleted
      	(selection_made, dialog_help_cb, dialog_data_analysis) :
      	  deleted
      	* dialogs.h : declare new non-static dialog_..._tool functions
      	* tools.h : small formatting changes
      
      2002-01-19  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* analysis-tools.sgml : updated intro section
      	* figures/analysistools-tools.png : updated
      	* figures/menu-tools-labelled.png : updated
      9056f7b5
  13. 17 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      new. (ms_object_attr_destroy) : handle expressions. · 71bae3a1
      Jody Goldberg authored
      2002-01-17  Jody Goldberg <jody@gnome.org>
      
      	* ms-obj.c (ms_object_attr_new_expr) : new.
      	(ms_object_attr_destroy) : handle expressions.
      	(ms_obj_read_biff8_obj) : use the expression parser for
      	  GR_CHECKBOX_FORMULA.
      
      	* ms-formula-read.c (getRefV7) : remove the pointless malloc/free.
      	(getRefV8) : ditto.
      	(make_inter_sheet_ref) : delete.
      	(make_inter_sheet_ref_v7) : ditto.
      
      	* ms-excel-read.c (ms_sheet_realize_obj) : add support for a
      	  checkbox's link.  Needs to be done here, AFTER being assigned to a
      	  sheet.
      	(ms_excel_workboot_get_externsheets) : renamed from
      	  biff_get_externsheet_name, and simplified.
      
      2002-01-14  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (ms_excel_parse_formula) : fix support for
      	  importing local 3d references, external 3d is still not supported.
      
      2002-01-17  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object-widget.c (sheet_widget_checkbox_get_ref) : handle
      	  references without an explicit sheet.
      	(sheet_widget_checkbox_set_link) : new.
      
      2002-01-16  Jody Goldberg <jody@gnome.org>
      
      	* src/item-cursor.c (item_cursor_draw) : fix some ancient Miggy
      	  bugginess that was borking the gnome2 port.
      
      2002-01-15  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_tools_tabulate) : Pass the sheet in
      	  directly.
      71bae3a1
  14. 15 Jan, 2002 1 commit
  15. 12 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      Coloured tabs from Excel · 07cf2a63
      Jody Goldberg authored
      Rework validation.
      
      2002-01-10  Jody Goldberg <jody@gnome.org>
      
      	* xml-sax-read.c (xml_sax_attr_bool) : fix return type
      	(xml_sax_attr_double) : ditto.
      	(xml_sax_attr_int) : ditto.
      	(xml_sax_color) : ditto.
      	(xml_sax_validation) : rework.
      	(xml_sax_style_condition) : delete.
      	(xml_sax_style_condition_chain) : delete.
      	(xml_sax_style_condition_expr) : delete.
      	(xml_sax_style_condition_constraint) : delete.
      	(xml_sax_style_condition_flags) : delete.
      	(xml_sax_start_element) : remove deleted elements.
      
      2002-01-12  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_excel_read_dv) : reorg slightly and enable.
      	* ms-excel-read.c (ms_excel_read_tab_color) : new function.
      	(ms_excel_read_sheet) : called from here.
      
      2002-01-11  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (ms_excel_parse_formula) : fix area 3d and its
      	  missing break.
      
      2002-01-12  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_write_style_condition_chain) : delete.
      	(xml_read_style_condition_chain) : delete.
      	(xml_write_style) : change validation support.
      	(xml_read_style) : ditto.
      
      2002-01-12  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_sheet_label_changed) : Use
      	  editable_label_get_text.
      	(wbcg_sheet_add) : init the tab colour.
      	(wbcg_sheet_rename) : ditto.
      	(wbcg_validation_msg) : new.
      	(workbook_control_gui_ctor_class) : register wbcg_validation_msg.
      
      	* src/workbook-control.c (wb_control_validation_msg) : new.
      
      	* src/workbook-edit.c (wbcg_edit_validate) : delete.
      	(wbcg_edit_finish) : improve validation.
      
      	* src/validation.c : rework.  In list is still missing.
      
      	* src/sheet.c (sheet_new) : init tab colour.
      	(sheet_destroy) : release the tab colour.
      	(sheet_set_tab_color) : new function.
      
      	* src/mstyle.c (mstyle_link_sheet) : disable linking of validations.
      	  They are no longer dependents.
      	(mstyle_unlink) : ditto.
      
      2002-01-11  Jody Goldberg <jody@gnome.org>
      
      	* src/colrow.c (colrow_set_visibility_list) : when making a region
      	  visible we need to restore spans for the new content.
      
      2002-01-09  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_error_splits_array) : accept NULL
      	  as an array specification.
      
      	* src/ranges.c (range_name) : add protection against NULL.
      
      	* src/expr.c (expr_implicit_intersection) : handle blank inputs.
      07cf2a63
  16. 08 Jan, 2002 1 commit
  17. 05 Jan, 2002 1 commit
  18. 01 Jan, 2002 1 commit
  19. 30 Dec, 2001 2 commits
  20. 24 Dec, 2001 2 commits
    • Jody Goldberg's avatar
      delete the old basicly useless class and move the relevant convenience · 66560d16
      Jody Goldberg authored
      2001-12-24  Jody Goldberg <jody@gnome.org>
      
      	* src/gui-util.c (gnumeric_toolbar_new) : delete the old basicly
      	  useless class and move the relevant convenience routines here.
      	(gnumeric_toolbar_get_widget) : ditto.
      66560d16
    • Jody Goldberg's avatar
      mark as needing a recalc, don't just assert it. · 208fc52c
      Jody Goldberg authored
      2001-12-24  Jody Goldberg <jody@gnome.org>
      
      	* src/style-condition.c (style_condition_expr_eval) : mark as needing
      	  a recalc, don't just assert it.
      
      	* src/workbook-edit.c (wbcg_edit_validate) : handle accept/reject/reedit
      	  Generate the title and msg here.  The goal is to move the gui
      	  specific aspects out of here.
      	(wbcg_edit_finish) : ditto.
      
      	* src/gui-validation.c (validation_generate_msg) : disable for now.
      	  It is a nice idea, but the implementation is in the wrong place
      	  and blows goats.
      208fc52c
  21. 22 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      range_trim does not handle merges, once we've trimmed things down we need · 9301571e
      Jody Goldberg authored
      2001-12-22  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_edit_fill_autofill) : range_trim does
      	  not handle merges,  once we've trimmed things down we need to expand
      	  back out to include merges in the src region.
      
      	* src/sheet-autofill.c (autofill_cell) : 1st half of a patch to handle
      	  non-integer copies of arrays.
      	(sheet_autofill_dir) : ditto.
      
      	* src/item-cursor.c (item_cursor_setup_auto_fill) : restrict autofills
      	  to contain an integer number of copies if the src region contains
      	  merges.
      	(cb_autofill_scroll) : ditto.
      9301571e
  22. 21 Dec, 2001 1 commit
  23. 19 Dec, 2001 2 commits
    • Jody Goldberg's avatar
      http://bugzilla.gnome.org/show_bug.cgi?id=67202 take the autofmt into · 197c3650
      Jody Goldberg authored
      2001-12-19  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=67202
      	* src/sheet-autofill.c (fill_item_new) : take the autofmt into
      	  account.
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=67179
      	* src/workbook-control-gui.c (delete_sheet_if_possible) :
      	  don't prompt for sheet delete if it is pristine.
      
      	* src/workbook.c (workbook_sheet_delete) : no need to wipe things if
      	  the sheet is pristine.
      197c3650
    • Jody Goldberg's avatar
      new simple base to help keep multiple canvases register grab states with · 50f946ec
      Jody Goldberg authored
      2001-12-19  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-simple-canvas.c : new simple base to help keep
      	  multiple canvases register grab states with the scg.
      
      	* src/commands.c (cmd_autofill) : check the source range for array
      	  splits too.
      
      2001-12-18  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_read_cell_copy) : only add an expr_ref when
      	  connecting to shared expressions, the parse has already set it to 1.
      	  On expr parse errors for shard expressions set the value to empty
      	  not NULL.  Be pedantic and value_release the empty in the value
      	  case, things may change in the future.
      
      	* src/cell-draw.c (cell_draw) : more protection from missing fonts.
      
      	* bonobo/src/parser.c (gnumeric_parse_error) : fix leak when there is
      	  no ParseError to store the message.
      50f946ec
  24. 13 Dec, 2001 2 commits
    • Jody Goldberg's avatar
      back port some gnome2 work. · 9036243f
      Jody Goldberg authored
      2001-12-13  Jody Goldberg <jody@gnome.org>
      
      	s/gnome-xml/libxml/
      
      	* src/workbook.c (workbook_set_filename) : const.
      
      	* src/workbook-control-gui.c (wb_control_gui_focus_cur_sheet) : back
      	  port some gnome2 fixes.
      	(cb_notebook_switch_page) : ditto.
      
      	* src/workbook-edit.c (auto_complete_matches) : Use
      	  gtk_editable_get_position.
      
      	* src/plugin-loader.h (gnumeric_plugin_loader_get_type) : fix return type.
      
      	* src/plugin-loader.c : Use PL_GET_CLASS.
      
      	* src/item-bar.c (item_bar_translate) : delete useless.
      	* src/item-cursor.c (item_cursor_translate) : delete useless.
      	* src/item-edit.c (item_edit_translate) : delete useless.
      	(point_is_inside_range) : Use gtk_editable_get_position.
      
      	* src/gui-file.c (gui_file_import) : const.
      
      	* src/complete-sheet.c (free_search) : unused.
      	(complete_sheet_finalize) : protect.
      	(complete_sheet_destroy) : delete.
      
      	* configure.in : explicitly add gdk_pixbuf just in case gnome-print
      	  doesn't.
      
      	* src/sheet-autofill.c (sheet_autofill) : pass singleton_increment to.
      	(sheet_autofill_dir) : here.
      	(autofill_create_fill_items) : here.
      	(autofill_compute_delta) : and here. Use singleton_increment.  Handle
      	  singleton date fills.
      
      2001-12-13  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_set_filename) : const.
      
      	* src/gui-file.c (gui_file_import) : const.
      9036243f
    • Jody Goldberg's avatar
      !$!%! XL uses styles to differentiate for sorting, but not for graph data · 8a11393b
      Jody Goldberg authored
      2001-12-13  Jody Goldberg <jody@gnome.org>
      
      	* src/ranges.c (range_has_header) : !$!%! XL uses styles to
      	  differentiate for sorting, but not for graph data guru.
      	* src/workbook-control-gui.c (sort_by_rows) : changes to
      	  range_has_header.
      	* src/gnumeric-graph.c (gnm_graph_range_to_vectors) : ditto.
      8a11393b
  25. 12 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      gtk_entry_get_text const. (el_edit_sync) : ditto. ditto. ditto. · a9117e4d
      Jody Goldberg authored
      2001-12-12  Jody Goldberg <jody@gnome.org>
      
      	* widget-editable-label.c (el_entry_activate) : gtk_entry_get_text const.
      	(el_edit_sync) : ditto.
      	* widget-font-selector.c (size_changed) : ditto.
      	* gnumeric-combo-text.c (cb_entry_activate) : ditto.
      
      	* gnumeric-toolbar.c (gnumeric_toolbar_get_type) : Delete finalize it
      	  was a NOP.
      
      2001-12-12  Jody Goldberg <jody@gnome.org>
      
      	* dialog-solver.c (cb_dialog_solve_clicked) : gtk_entry_get_text const.
      	* dialog-printer-setup.c (do_fetch_page) : ditto.
      	(paper_size_changed) : ditto.
      	* dialog-goal-seek.c (cb_dialog_apply_clicked) : ditto.
      	* dialog-formula-guru.c (formula_guru_set_expr) : ditto.
      	* dialog-autocorrect.c (cb_add_clicked) : ditto.
      	* dialog-analysis-tools.c (entry_to_float) : ditto.
      	(entry_to_int) : ditto.
      	(gnumeric_expr_entry_parse_to_value) : ditto.
      	(gnumeric_expr_entry_parse_to_list) : ditto.
      	* dialog-advanced-filter.c (dialog_advanced_filter) : ditto.
      
      2001-12-12  Jody Goldberg <jody@gnome.org>
      
      	* src/file-autoft.c (category_group_list_find_category_by_name) : make
      	  const.
      	* src/plugin-service.c (gnum_plugin_file_opener_probe) : const.
      	* src/workbook-view.c (wb_view_attach_control) : ditto.
      	* src/workbook.c (workbook_attach_view) : ditto.
      	* src/workbook-edit.c (entry_changed) : ditto.
      	* src/workbook-edit.c (auto_complete_matches) : ditto.
      a9117e4d
  26. 09 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      only display scrollbars if necessary · 46c38043
      Jody Goldberg authored
      2001-12-09  Jody Goldberg <jody@gnome.org>
      
      	* dialog-stf.glade  : only display scrollbars if necessary
      
      2001-12-07  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (sheet_make_cell_visible) : add a couple_pane argument.
      	* src/sheet-control-gui.c (scg_cursor_move_to) : merge into.
      	(scg_cursor_move) : here.
      	* src/sheet-control.c (sc_make_cell_visible) : remove the force
      	  argument.
      46c38043
  27. 07 Dec, 2001 1 commit
    • Jody Goldberg's avatar
      new. (sheet_colrow_insert_finish) : new. (sheet_colrow_delete_finish) : · d5d25622
      Jody Goldberg authored
      2001-12-06  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (sheet_colrow_set_collapse) : new.
      	(sheet_colrow_insert_finish) : new.
      	(sheet_colrow_delete_finish) : new.
      	(sheet_{col,row}_{ins,del} : use them here, we shoulw now correctly
      	  handle collapse states and gutters when ins/del cols/row.
      
      2001-12-06  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c (sheet_colrow_gutter) : change signature and toggle the
      	  resize flag if necessary.
      	(sheet_update_only_grid) : handle the resize and
      	  recompute_max_{col,row}_group flags.
      
      	* src/colrow.c (colrow_set_states) : use simplified
      	  sheet_colrow_gutter signature.
      
      2001-12-06  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-cmd-format.c (sheet_dialog_set_row_height) : const.
      
      	* src/workbook-object-toolbar.c : disable some code that is not ready
      	  for release.
      
      	* src/sheet.c (sheet_colrow_insdel_finish) : new.
      	(sheet_{col,row}_{ins,del} : use it here, and adjust the arguments to
      	  include optional state to fill in the new cols/rows.
      	(sheet_colrow_fit_gutter) : simplify.
      	(sheet_colrow_group_ungroup) : ditto.
      	(sheet_colrow_fetch) : new utility.
      	(sheet_colrow_get_info) : ditto.
      
      	* src/sheet-control-gui.c (scg_setup_group_buttons) : new.
      	(scg_resize) : use it here.
      	(sheet_control_gui_new) : handle the layout for the group buttons.
      
      	* src/print.c (compute_group) : const.
      
      	* src/item-grid.c (item_grid_draw) : remove pointless use of
      	  ColRowInfo::pos because I want to remove that eventually.
      	* src/print-cell.c (print_cell_range) : ditto.
      
      	* src/item-bar.c (item_bar_normal_font) : new.
      	(item_bar_indent) : new.
      	(item_bar_draw) : draw the top line as black, to match other buttons,
      	 fix its length.
      
      	* src/history.c (history_menu_locate_separator) : sync with manu
      	  changes.
      
      	* src/gnumeric.h
      	(ColRowStateGroup) : rename from ColRowSizeList.
      	(ColRowStateList) : rename from ColRowRLESizeList.
      
      	* src/gnumeric-canvas.c (gnm_canvas_find_col) : const.
      
      	* src/complete-sheet.c (complete_sheet_search_iteration) : const.
      
      	* src/commands.c (cmd_ins_del_colrow_undo) : pass the states into the
      	  sheet_ routines.  They will handle restoring them, and cleaning up the
      	  collapse states.
      	(cmd_ins_del_colrow_redo) : ditto.
      	(cmd_ins_del_colrow_destroy) : simplify.
      	(cmd_colrow_outline_change) : use get_info and avoid the need to check
      	  for NULL.
      	(cmd_group_undo) : simplify.
      	(cmd_group_redo) : ditto.
      	(cmd_group) : simplify.
      
      	* src/colrow.c (colrow_compute_pixels_from_pts) : move here from
      	  sheet.c
      	(colrow_compute_pts_from_pixels) : ditto.
      	(colrow_is_default) : new utility routine so that we can remove ::pos
      	  eventually.
      	(ColRowState) : new struct, will eventually replace the ColRowInfo.
      	(colrow_make_state) : new.
      	(colrow_get_states) : renamed from colrow_save_sizes and add support
      	  for outline levels and collapse state.
      	(colrow_set_sizes) : use the correct aliases for the lists.
      	(colrow_set_states) : renamed from colrow_restore_sizes and support
      	  the extra state info.
      	(colrow_restore_state_group) : rename colrow_restore_sizes_group.
      	(colrow_set_outline) : simplify.
      
      2001-12-05  Jody Goldberg <jody@gnome.org>
      
      	* src/colrow.c (colrow_state_group_destroy) : rename from
      	colrow_rle_size_list_destroy.
      
      	* src/cellspan.c (cell_calc_span) : const.
      
      2001-11-29  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-control-gui.c (scg_resize) : size the select all button.
      
      	* src/item-bar.c (item_bar_indent) : new utility.
      d5d25622
  28. 02 Dec, 2001 1 commit
  29. 27 Nov, 2001 2 commits
  30. 22 Nov, 2001 1 commit
  31. 17 Nov, 2001 2 commits
    • Jody Goldberg's avatar
      Use the stock formats. · 3a778489
      Jody Goldberg authored
      2001-11-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_set_date_time_redo) : Use the stock formats.
      
      	* src/item-cursor.c (cb_autofill_scroll) : tweak to try and keep one
      	  end visible when we switch dimensions.
      
      2001-11-03  Alex Barnes <alex.barnes@sympatico.ca>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=63160 (inverse autofill feature request)
      	* src/item-cursor.c
      	  (item_cursor_selection_event, item_cursor_autofill_event, cb_autofill_scroll) :
      	  allow inverse auto-fill, pass parameter to cmd_autofill to indicate inverse autofill
      
      	* commands.h (cmd_autofill) :
      	* commands.c (CmdAutofill, cmd_autofill) : extra parameter and struct
      	  member to support inverse autofill
      	  (cmd_autofill_redo) : flipped row, col parameters to sheet_autofill
      	  for inverse autofill
      
      	* sheet-autofill.c (sheet_autofill, sheet_autofill_dir) :
      	  modifications to support inverse autofill, changed variable pos to count
      	  since it isn't used inside the loop
      
      	* workbook-control-gui.c (cb_edit_fill_autofill) : added parameter in call
      	  to cmd_autofill for consistency
      3a778489
    • Jody Goldberg's avatar
      fix the return type. (wbcg_close_control) : don't close if we are being · f004191d
      Jody Goldberg authored
      2001-11-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (workbook_close_if_user_permits) : fix
      	  the return type.
      	(wbcg_close_control) : don't close if we are being reerence by another
      	  operation. Fix sense of comparision.
      	(wbcg_delete_event) : now that wbcg_close_control is fixed revert this
      	  to the correct meaning.
      
      	* src/io-context.c (io_context_destroy) : unref the control
      	(gnumeric_io_context_new) : ref the control so that it is not
      	  destroyed out from under us.
      f004191d
  32. 15 Nov, 2001 1 commit