1. 13 Apr, 2002 1 commit
    • Jon Kåre Hellan's avatar
      s/ENABLE_BONOBO/WITH_BONOBO/ · 0390e6ca
      Jon Kåre Hellan authored
      * src/gui-file.c: s/ENABLE_BONOBO/WITH_BONOBO/
      
      * src/gui-util.c: Ditto.
      
      * src/history.c: Ditto.
      
      * src/main.c: Ditto.
      
      * src/sheet.c: Ditto.
      
      * src/sheet-object.c: Ditto.
      
      * src/workbook-control-gui.c: Ditto.
      
      * src/workbook-format-toolbar.c: Ditto.
      
      * src/workbook-object-toolbar.c:
      
      * src/workbook.c: Ditto.
      
      * src/workbook-private.c: Ditto.
      
      * src/xml-io.c: Ditto.
      
      * plugins/excel/ms-chart.c: Ditto
      
      * plugins/excel/ms-excel-read.c: Ditto
      0390e6ca
  2. 22 Mar, 2002 1 commit
    • Jody Goldberg's avatar
      Massive rename ExprTree -> GnmExpr · 0ac8fbbf
      Jody Goldberg authored
      
      2002-03-21  Jody Goldberg <jody@gnome.org>
      
      	* Massive rename
      	ExprTree -> GnmExpr
      
      	* src/print-info.c (load_formats) : suppress some warnings.
      
      	* src/func.c (function_def_call_with_values) : use g_alloca.
      0ac8fbbf
  3. 09 Mar, 2002 1 commit
    • Jody Goldberg's avatar
      switch Format->Workbook with Format->AutoFormat ditto. · 73a18b0f
      Jody Goldberg authored
      2002-03-08  Jody Goldberg <jody@gnome.org>
      
      	* src/GNOME_Gnumeric.xml : switch Format->Workbook with
      	  Format->AutoFormat
      	* src/workbook-control-gui.c (workbook_menu_format) : ditto.
      
      	* src/workbook-view.c (wb_view_is_protected) : new.
      
      	* src/workbook-edit.c (wbcg_edit_start) : load style directly
      	  don't use cell_get_style.  This enables support for protection of
      	  blank cells.  Use wb_view_is_protected, and command_context_invalid.
      
      2002-03-08  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet): don't put us in
      	  edit mode if wbcg_edit_start indicates the cell is locked.
      	* src/workbook-control-gui.c (cb_autosum, cb_autofunction): handle
      	  case where wbcg_edit_start returns FALSE indicating that cell is
      	  locked.
      	* src/workbook-edit.c (wbcg_edit_start): this function now returns a
      	   boolean which indicates whether the 'edit_start' attempt succeeded.
      	   Check cell properties to return FALSE if the cell is locked.
      	* src/workbook-edit.h (wbcg_edit_start): modify the prototype as per above.
      	* src/workbook-view.c (wb_view_set_attribute, workbook_view_init):
      	  Remove ARG_VIEW_* enumeration, which isn't used after Gnome2 port.
      	  Add WorkbookView::is_protected attribute, and initialize it to
      	  FALSE.  The update to wb_view_set_attribute is enough to get
      	  xml_sax import working properly (yay, modular code!).
      	* src/workbook-view.h: add 'is_protected' field to WorkbookView struct.
      	  This is TRUE iff the workbook is locked.
      	* src/xml-io.c (xml_write_wbv_attributes):
      	  Write the new 'protected' workbook view attribute.  Two lines are
      	  enough to get read/write from xml_io working.  Score one for
      	  xml_sax: zero should have been sufficient.
      	* src/dialogs/cell-format.glade: The 'worksheet protected' checkbox
      	  shouldn't be greyed-out anymore.
      	* src/dialogs/dialog-cell-format.c (cb_protection_sheet_protected_toggle,
      	fmt_dialog_init_protection_page, cb_fmt_dialog_dialog_buttons):
      	  connect up the 'worksheet protected' button in the
      	  Format->Cells->Protection dialog.  Update worksheet object when
      	  toggled and mark that the dialog's changed.
      	* src/dialogs/dialog-workbook-attr.c src/dialogs/workbook-attr.glade:
      	  Add Format->Worksheet->Protection dialog.
      73a18b0f
  4. 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
  5. 01 Feb, 2002 1 commit
    • 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
  6. 20 Jan, 2002 1 commit
    • jody goldberg's avatar
      use gnm_vector_date. · e7ce761b
      jody goldberg authored
      2002-01-20  jody goldberg <jody@gnome.org>
      
      	* ms-chart.c (BC_R(vector_details)) : use gnm_vector_date.
      e7ce761b
  7. 06 Jan, 2002 1 commit
  8. 04 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      more protection for missing series. · d21ddfbf
      Jody Goldberg authored
      2002-01-04  Jody Goldberg <jody@gnome.org>
      
      	* dialog-graph-guru.c (vector_state_fill) : more protection for
      	  missing series.
      
      	* ms-chart.c (excel_chart_series_write_xml) : more protection for
      	  missing series.
      
      	* src/gnumeric-graph.c (gnm_graph_series_get_dimension) : more
      	  protection for missing series.
      	(gnm_graph_series_add_dimension) : ditto.
      d21ddfbf
  9. 21 Dec, 2001 1 commit
  10. 13 Dec, 2001 1 commit
    • 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
  11. 22 Nov, 2001 1 commit
  12. 30 Oct, 2001 1 commit
  13. 29 Oct, 2001 1 commit
    • Jody Goldberg's avatar
      new function to chain to parent. (ms_excel_chart) : use it here. · 5366cac5
      Jody Goldberg authored
      2001-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (chart_get_fmt) : new function to chain to parent.
      	(ms_excel_chart) : use it here.
      
      2001-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/number-match.c (format_create_regexp) : escape escaped
      	  characters in regexps.
      5366cac5
  14. 18 Oct, 2001 2 commits
    • Jody Goldberg's avatar
      typo. · 05aad978
      Jody Goldberg authored
      2001-10-18  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (BC_R(bar)) : typo.
      
      2001-10-18  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (BC_R(dropbar)) : The docs lie.  it is ok to have
      	  values > 100
      05aad978
    • Jody Goldberg's avatar
      store the type as a property rather than a child. (BC_R(bar)) : store the · e2d5b375
      Jody Goldberg authored
      2001-10-18  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (BC_R(store_chartgroup_type)) : store the type as a
      	  property rather than a child.
      	(BC_R(bar)) : store the attributes as children rather than props.
      	(BC_R(line)) : ditto.
      	(BC_R(pie)) : ditto.
      	(BC_R(pieformat)) : ditto.
      	(BC_R(scatter)) : ditto.
      e2d5b375
  15. 17 Oct, 2001 1 commit
    • Jody Goldberg's avatar
      add some protection in case of bad fonts. · 7b89d333
      Jody Goldberg authored
      2001-10-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (ib_draw_cell) : add some protection in case of bad
      	  fonts.
      
      2001-10-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gui-util.c (gnumeric_create_popup_menu_list) : tweak this to
      	  take a list.
      	(gnumeric_create_popup_menu) : and make this a wrapper.
      
      	* src/gnumeric-graph.c (gnm_graph_user_config) : connect to the graph
      	  guru formatGuru.
      7b89d333
  16. 13 Oct, 2001 1 commit
  17. 03 Oct, 2001 1 commit
  18. 30 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      Use gnm_graph_series_add_dimension. (BC_R(seriestext)) : store constant · 72e9edf8
      Jody Goldberg authored
      2001-09-30  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (excel_chart_series_write_xml) : Use
      	  gnm_graph_series_add_dimension.
      	(BC_R(seriestext)) : store constant labels as expresions.
      
      2001-09-30  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-graph-guru.c (vector_state_fill) : Use gnm_graph_series_get_dimension.
      
      2001-09-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c (gnm_graph_vector_as_string) : screw it.
      	  Simplify my life by treating constants as expressions.
      	(gnm_graph_series_get_dimension) : new utility.
      	(gnm_graph_series_add_dimension) : new utility.
      72e9edf8
  19. 28 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      adjust to new xml structure. · 3bff839f
      Jody Goldberg authored
      2001-09-28  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (excel_chart_series_write_xml) : adjust to new xml
      	  structure.
      3bff839f
  20. 27 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      renamed something better than biff_format_data_lookup. · 7de6364f
      Jody Goldberg authored
      2001-09-27  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_wb_get_fmt) : renamed something
      	  better than biff_format_data_lookup.
      
      	* ms-chart.c (BC_R(ai)) : Use ms_container_get_fmt.
      	(BC_R(ifmt)) : ditto.
      
      	* ms-container.c (ms_container_get_fmt) : new function.
      7de6364f
  21. 26 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      Add a sample for the data page. Make the lists of plots and series. · e86e67b2
      Jody Goldberg authored
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-graph-guru.c : Add a sample for the data page.
      	  Make the lists of plots and series.  rewrite the the glade file
      	  in preparation for constructing the exprEntries.
      
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-cell-format.c (cb_protection_locked_toggle) : new.
      	(cb_protection_hidden_toggle) : new.
      	(fmt_dialog_init_protection_page) : new.
      	(fmt_dialog_impl) : call fmt_dialog_init_protection_page.
      
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_styleregion_start) : Add hidden & locked.
      
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-xf.h (_BiffXFData) : locked and hidden are booleans.
      	* ms-excel-read.c (biff_xf_data_new) : read them that way.
      	(ms_excel_get_style_from_xf) : store the protection flags.
      	* ms-excel-write.c (build_xf_data) : ditto.  Add indent.
      
      	* ms-chart.c (BC_R(seriestext)) : handle manually entered series names.
      
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* gnumeric.xsd : The style flags are not required, it will eventually
      	  be possible to define styles that only change some of the
      	  attributes.  Add locked & hidden.
      
      	* src/xml-io.c (xml_write_style) : write locked & hidden.
      	(xml_read_style) : read them too.
      
      	* src/mstyle.c (mstyle_element_equal) : support locked and hidden.
      	(mstyle_{get,set}_content_{locked,hidden}) : We have not implemented
      	  it yet, but storing the info is easy enough.
      	(mstyle_new_default) : Add locked & hidden.
      e86e67b2
  22. 17 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      init the new object more completely. · 110a1ae3
      Jody Goldberg authored
      2001-09-17  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-obj.c (ms_read_OBJ) : init the new object more completely.
      
      2001-09-16  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c : clean up debug routines.
      	(BC_R(dataformat)) : Use an extra node to handle pt vs series
      	  level formating.
      	(BC_R(end)) : cleanup dataformats.
      	(excel_chart_series_write_xml) : just link in the new child rather
      	  than creating it here.
      	(BC_R(dataformat)) : handle formating pts vs entire series.
      	(BC_R(markerformat)) : implement
      	(BC_R(areaformat)) : implement
      	(BC_R(lineformat)) : implement
      	(BC_R(pieformat)) : implement
      	(BC_R(color)) : tweak interface.
      	(ms_excel_chart) : ignore a few more records.
      110a1ae3
  23. 14 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      if we are displaying the parse fmt because the assigned fmt is General · 1dbce43d
      Jody Goldberg authored
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-cell-format.c (fmt_dialog_init_format_page) : if we are
      	  displaying the parse fmt because the assigned fmt is General
      	  then select the parse fmt in the dialog.
      
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (excel_chart_series_write_xml) : Use the gal routines for
      	  symetry with the guppi implementation.
      
      2001-09-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/style-color.c (style_color_new_name) : new utility.
      
      	* src/gnumeric-graph.c : cleanup the debug info.
      	(gnm_graph_get_spec) : make public and add some protection.
      
      	* src/number-match.c : remove format_parse_t and merge it with
      	  StyleFormat.
      	(format_match_release) : new routine split from format_match_finish.
      	(format_match_finish) : just unref the StyleFont.
      	(format_match_create) : tweaking the calling convention and rename
      	  format_match_define.
      	(format_match_init) : manage the format_match_list here.
      	(format_match) : Match against the currently assigned format first
      
      	* src/format.c : clean the includes.
      	Make _StyleFormat public for sharing with number-match.c
      	(format_compile) : call format_match_create.
      	(format_destroy) : call format_match_release.
      	(format_color_init) : use style_color_new_name.
      	(style_format_new_XL) : init the new regexp elements to NULL.
      
      	* src/bonobo-io.c (gnumeric_bonobo_io_init) : name this better.
      
      	* src/sheet-control-gui.c (scg_object_update_bbox) : add some
      	  protection.
      1dbce43d
  24. 12 Sep, 2001 2 commits
  25. 10 Sep, 2001 1 commit
    • Jody Goldberg's avatar
      store pie seperation. (BC_R(get_chartgroup_type)) : new function. · ba2283fe
      Jody Goldberg authored
      2001-09-09  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (BC_R(pieformat)) : store pie seperation.
      	(BC_R(get_chartgroup_type)) : new function.
      
      2001-09-08  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (legend) : xml-ize and fix transposition of right & left.
      	(pie) : Guppi uses radians and has 0 in a different place.
      
      2001-09-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c (gnm_graph_range_to_vectors) : move this here
      	  from the guru.
      	(gnm_graph_arrange_vectors) : implement.
      	(gnm_graph_add_vector : init the extra members for arrangement.
      
      2001-09-04  Christopher Fairbairn  <ckf13@student.canterbury.ac.nz>
      
      	* src/GNOME_Gnumeric.xml: added new menu item
      	* src/ranges.c: (range_trim): added function to trim blank cells
      	  at bottom/right edge of a range
      	* src/ranges.h: ditto
      	* src/workbook-control-gui.c: (cb_edit_fill_autofill): added
      	  keyboard and menu support for the autofill feature
      ba2283fe
  26. 08 Sep, 2001 1 commit
  27. 04 Sep, 2001 1 commit
  28. 29 Aug, 2001 2 commits
  29. 28 Aug, 2001 1 commit
    • Jody Goldberg's avatar
      pass graphs into their parser. · 6117cca9
      Jody Goldberg authored
      2001-08-28  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-obj.c (ms_read_OBJ) : pass graphs into their parser.
      
      	* ms-excel-read.c (ms_sheet_realize_obj) : renamed from
      	  ms_sheet_obj_realize.
      	(ms_sheet_create_obj) : renamed from ms_sheet_obj_create.
      	  Improve the warnings for unhandled objects.
      	  Pass graphs into the parser.
      
      	* ms-container.c (ms_container_workbook) : delete.
      
      	* ms-chart.c (ms_excel_chart) : enable some of the xml spec generation.
      	  and take the GnmGraph as an argument.
      	(ms_excel_read_chart) : take the graph as an argument.
      
      2001-08-27  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_sheet_parse_expr_internal) : disable some of the
      	  debugging spew.
      
      2001-08-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_mode_edit) : fix a warning on exit
      	  when closing 1 of many open sheets.
      
      	* src/gnumeric-graph.c : make the debug spew conditional.
      	(CMANAGER1) : new macro.
      	(gnm_graph_new) : add more safety checks.
      	(gnm_graph_arrange_vectors) : use the versioning macros.
      	(gnm_graph_import_specification) : new routine.
      
      	* idl/gnumeric-graphs.idl (importSpecification) : new routine.
      
      	* src/xml-io.c : clean up.
      	s/xml_get_value_int/xml_prop_get_int/
      	s/xml_set_value_int/xml_prop_set_int/
      	s/xml_get_value_double/xml_prop_get_double/
      	s/xml_set_value_double/xml_prop_set_double/
      	s/xml_set_value_points/xml_prop_set_points/
      	s/xml_set_value_cstr/xml_prop_set_cstr/
      	s/xml_set_prop_cellpos/xml_prop_set_cellpos/
      	s/xml_get_prop_cellpos/xml_prop_get_cellpos/
      	s/xml_read_range/xml_prop_get_range/
      	s/xml_get_print_hf/xml_prop_get_print_hf/
      	s/xml_set_print_hf/xml_prop_set_print_hf/
      	s/xml_set_color_value/xml_prop_set_color/
      	s/xml_get_color_value/xml_prop_get_color/
      	s/xml_set_value_color/xml_prop_set_gdkcolor/
      	s/xml_get_value_color/xml_prop_get_gdkcolor/
      
      	Remove the pointless searching of children for content.
      	We never relied on those semantics, nor do we want them.
      
      	(xml_sheet_create) : Use xmlGetProp directly.
      	(xml_sheet_read) : ditto.
      	(xml_read_solver) : ditto.
      	(xml_write_solver) : use xml_prop_set_cstr.
      	(xml_write_print_info) : Use xmlNewChild.
      	(xml_value_get) : delete and use xmlGetProp directly.
      
      2001-08-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c (gnm_graph_vector_set_expr) : remove debuggin
      	  cruft.
      6117cca9
  30. 26 Aug, 2001 1 commit
    • Jody Goldberg's avatar
      fix typo. and generate the expression using the source cell rather than · b6548888
      Jody Goldberg authored
      2001-08-26  Jody Goldberg <jgoldberg@home.com>
      
      	* fn-information.c (gnumeric_expression) : fix typo.
      	  and generate the expression using the source cell rather than then
      	  position with the call to expression.
      2001-08-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c (gnm_graph_add_vector) : merge with
      	  gnum_graph_vector_new and add intelligence to merge multiple
      	  requests for the same vector into a single vector.
      
      2001-08-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/position.c (cellref_get_abs_pos) : rename and adjust signature.
      
      	* src/expr.c (expr_tree_equal) : new function.
      b6548888
  31. 23 Aug, 2001 2 commits
    • Jody Goldberg's avatar
      only delete the series after processing. condtionalize some of the debug · b3b93a11
      Jody Goldberg authored
      2001-08-23  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (ms_excel_chart) : only delete the series after
      	  processing.  condtionalize some of the debug spew.
      	  condtionalize parsing based on the existence of a graph
      	  condtionalize making the graph on the debug flag (for now)
      	(BC_R(sertocrt)) : store the chart group.
      	(BC_R(series_impl)) : merge back into BC_R(series).
      	(BC_R(vector_details)) : use the gnumeric type directly.
      	(excel_chart_series_new) : new.
      	(excel_chart_series_destroy) : new.
      
      	* ms-container.c (ms_container_workbook) : new function.
      	(ms_container_sheet) : ditto.
      
      	* ms-excel-read.c (ms_wb_workbook) : new function.
      	(ms_excel_workbook_new) : used here.
      	(ms_sheet_workbook) : new function.
      	(ms_sheet_sheet) : new function.
      	(ms_excel_sheet_new) : used here.
      
      2001-08-21  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (gnm_graph_vector_type_name) : use the version in gnumeric-graph.c
      	(BC_R(vector_details)) : Use the correct index for the debug info.
      
      	* ms-excel-read.c (ms_excel_biff_dimensions) : Use range_name.
      
      2001-08-23  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-graph-guru.c (graph_guru_create_vectors_from_range) : Use the
      	  new gnm_graph_vector_new interface.
      	(cb_data_simple_col_row_toggle) : use gnm_graph_arrange_vectors.
      2001-08-23  Jody Goldberg <jgoldberg@home.com>
      
      	* idl/gnumeric-graphs.idl : reorganize to improve naming.
      	  remove notion of header that was not working well.
      	  remove freeze.
      	  add arrangeVector.
      	  add notion of selection for future uese.
      
      	* src/gnumeric-graph.c (gnm_graph_vector_type_name) : add these.
      	(MANAGER) : bump the idl version.
      	(GnmGraphVector) : remove header, add id, adjust to new idl and use
      	  vectors directly, rather than notifies.
      	(gnm_graph_add_vector) : adjust to idl renaming.
      	(gnm_graph_new) : improve error message.
      	(gnm_graph_freeze) : delete.
      	(gnm_graph_arrange_vectors) : new function.
      	(gnm_graph_vector_seq_{scalar,date,string}) : headers are handled at a
      	  higher level.
      	(gnm_graph_vector_eval) : idl renaming.
      	(impl_vector_selection_selected) : new.
      	(gnm_graph_vector_corba_init) : split from gnm_graph_vector_new to
      	  simpify cut-n-paste sharing with guppi.
      	(gnm_graph_vector_corba_destroy) : Fix and split out to simplify
      	  sharing.
      	(gnm_graph_vector_destroy) : simplify and handle the case of a vector
      	  being destroyed indepenently of the graph.
      	(gnm_graph_vector_new) : handle headers at a higher level.
      	(gnm_graph_vector_corba_class_init) : renamed from
      	  corba_implementation_classes_init.
      
      	* src/sheet-object-container.c (sheet_object_container_new_view) : Use
      	  bonobo_client_site_new_view_full to disable the irrtiating frame
      	  that causes the content to change size when the frme is activated
      	  and deactivated.
      b3b93a11
    • Morten Welinder's avatar
      Spelling fixes... · 7c1bcd9c
      Morten Welinder authored
      7c1bcd9c
  32. 20 Aug, 2001 1 commit
    • Jody Goldberg's avatar
      All we need is a wbc. (sheet_object_anchor_set) : new routine to replace · b459aaa7
      Jody Goldberg authored
      
      2001-08-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c (sheet_object_remove_cb) : All we need is a wbc.
      	(sheet_object_anchor_set) : new routine to replace range_set.
      	(sheet_object_anchor_get) : new.
      	(sheet_object_anchor_cpy) : new.
      	(sheet_object_anchor_init) : new routine to bundle up object
      	  positioning more neatly.
      
      	* src/sheet-object-cell-comment.c (cell_set_comment) : Only use anchor
      	  types that are implemented.  Use the new SheetObjectAnchor scheme.
      
      	* src/sheet-control-gui.c (scg_object_move) : track whether the ctrl
      	  point causes a move or a resize.
      	(cb_control_point_event) : store the initial anchor rather than the
      	  control specific position,  and assume that the changes are simple
      	  movements until a resize occurs.
      	(scg_object_calc_position) : adjust to using SheetObjectAnchor.
      	(scg_colrow_distance_get_virtual) : new routine.
      	(scg_class_init) : register it here.
      
      	* src/sheet-control.c (sc_colrow_distance_get) : a new new virtual.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : delete newly
      	  created objects too.
      	(gnm_canvas_filenames_dropped) : signature change
      	  for sheet_object_container_new_file.
      
      	* src/gnumeric.h : add GnmGraph.
      
      	* src/Makefile.am : rename graph-vector -> gnumeric-graph
      
      	* idl/gnumeric-graphs.idl : Add some versioning.
      	  Move the header arg out of the value callback.
      	  Replace VectorNotify::remove with Manger::clearVectors.
      	  Merge freeze & thaw.
      	  Renamed 'nameChange' to 'headerChanged'
      	  Add an 'id' arg when registering vectors.
      
      2001-08-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c
      	    s/insert_object/object_insert/
      	    s/move_object/object_move/
      	    s/delete_object/object/delete/
      	(cmd_object_insert_redo) : The object knows its position based on its
      	  anchor. No need to set the control specific coordinates for an
      	  arbitrary control.  No need to tweak the reference count either.
      	(cmd_object_insert) :  ditto.
      	(cmd_object_insert_undo) : no need to tweak the ref count.
      	(cmd_object_delete_redo) : keep it simple, just set the sheet.
      	(cmd_object_delete_undo) : just clear the sheet.
      	(cmd_object_delete_destroy) : very simple.
      	(cmd_object_move_redo) : store the anchor, not the position for a
      	  specific control.  Be careful not to move the object the firs time
      	  through.  We've already done that.
      	(cmd_move_object_undo) : just call redo.
      	(cmd_object_move) : store the old anchor and take a flag indicating
      	  move vs resize.
      
      	* src/workbook-control-gui.c (wb_control_gui_toplevel) : Add some
      	  protection.
      
      	* src/sheet-object.c (sheet_object_update_bounds) : rename from
      	  sheet_object_position to have a clearer name.
      
      	* src/embeddable-grid.c (embeddable_grid_init_anon) : init the sheet.
      	(grid_view_new) : use scg_toplevel.
      
      	* src/sheet-control-gui.c (scg_toplevel) : new function.
      
      2001-08-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c : Major reorg to fix life cycle issues.
      	(gnm_graph_new) : don't dangle the reference returned by oaf.
      	(gnm_graph_destroy) : deactivate & _fini the corba obj.
      	(gnm_graph_vector_destroy) : ditto.
      
      	* src/expr.c (expr_to_graph_vector) : delete this function.
      	  we have no need to disassemble the expression in graphs.
      
      	* src/item-grid.c : revert switch from destroy -> finalize.
      	* src/item-bar.c : ditto.
      
      	* src/sheet-object-container.c : no need to include gnorba.
      	  no need to include sheet-control-gui-priv anymore.
      	(sheet_object_container_destroy) : delete unused.
      	(sheet_object_container_new) : weaken requirements to take a workbook,
      	  rather than a sheet as the container.
      	(sheet_object_container_new_object) : ditto.
      	(sheet_object_container_new_file) : ditto.
      
      	* src/workbook-private.c : delete some unnecessary code.
      
      	* src/workbook.c : include sheet-control vs sheet-control-gui.
      	(workbook_expr_unrelocate) : it is ok to attempt to relocate to a
      	  non-existent cell.
      
      	* src/commands.c (cmd_paste_cut_undo) : restore the original content
      	  AFTER unrelocating the expressions.
      
      	* src/workbook-control-gui.c (workbook_control_gui_init) : Add the
      	  magic to enable the bonobo toolbar config utility.
      	(workbook_menu_edit) : Fix the accelerators and sync the text with the
      	  bonobo version.
      	(wbcg_menu_state_update) : Fix the capitalization for freeze/unfreeze.
      	(change_menu_label) : Fix accelerator display, we still don't set
      	  them, but at least we display them correctly.
      	(insert_bonobo_object) : signature change to
      	  sheet_object_container_new_object.
      
      2001-08-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_freeze_panes) : set the initial top_left position
      	  based on the frozen pane when unfreezing.
      
      	* src/sheet-control-gui.c (scg_set_panes) : prepare for h/v only splits.
      	  Reformat.  Remove code to set the topleft after the panes are
      	  created or removed.  That is handled by sheet.
      
      	* src/GNOME_Gnumeric.xml : enable the font accelerators in the bonobo
      	  build by making them standalone rather than associating them with
      	  toolbuttons.  It appears as if bonobo does not support accelerators
      	  for toolbuttons as yet.
      b459aaa7
  33. 21 Jun, 2001 1 commit
  34. 07 May, 2001 1 commit
    • Jody Goldberg's avatar
      More warning suppression. · 2469741e
      Jody Goldberg authored
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-escher.c (ms_escher_get_data) : suppress warnings.
      	(ms_escher_read_ClientTextbox) : no side effects in precondition.
      
      	* ms-excel-read.c (ms_excel_formula_shared) : ditto.
      
      2001-05-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_event) : ignore events while editing.
      
      	* src/functions/fn-string.c (gnumeric_value) : s/free/g_free/
      	* src/parse-util.c (parse_cell_name_list) : ditto.
      
      	* src/parser.y (gnumeric_expr_parser) : reorganize slightly to improve
      	  readability.
      
      	* src/sheet.c (sheet_range_contains_region) : doh!.  forgot to invert
      	  logic when I renamed the function.
      2469741e
  35. 11 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      Some object & escher improvement. · b9ba63fe
      Jody Goldberg authored
      The beginings of name simplification.
      
      2001-04-04  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_externsheet) : new function split from
      	(ms_excel_read_workbook) : here.
      
      	* ms-excel-read.c (biff_name_data_new) : begin cleanup.  The
      	  sheet_index is stored in different places for different biff types.
      	  There also appears to be enough data about the sheet names that we
      	  may not need to do this magic delayed instantiation.
      
      2001-04-03  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-chart.c (ms_excel_chart) : provide stub handlers for container
      	  virtuals.
      
      2001-04-02  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_read_imdata) : new routine pulled from.
      	(ms_excel_read_cell) : here.
      
      	* ms-obj.c (ms_obj_read_biff8_obj) : used here.
      
      2001-04-01  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-escher.c (ms_escher_get_data) : improve diagnostic info.
      
      	* ms-obj.c (ms_obj_read_biff8_obj) : when reading the mystery trailing
      	  IMDATA we need to handle CONTINUE.  We really need to figure out
      	  what this is.
      b9ba63fe
  36. 01 Apr, 2001 1 commit
    • Morten Welinder's avatar
      Fix prototype. · 8baddc83
      Morten Welinder authored
      2001-04-01  Morten Welinder  <terra@diku.dk>
      
      	* ms-chart.c (BC): Fix prototype.
      
      	* gnumeric-chart.c (gnumeric_chart_new): Fix prototype.
      
      	* ms-excel-write.c (get_default_mstyle): Fix prototype.
      8baddc83