1. 25 Feb, 2002 1 commit
    • Jon K Hellan's avatar
      Declare typedef ObjectImage. · 04bb7d17
      Jon K Hellan authored
      2002-02-25  Jon K Hellan  <hellan@acm.org>
      
      	* src/sheet-object-image.h: Declare typedef ObjectImage.
      
      	* src/sheet-object-image.c (struct _SheetObjectImage): Add
      	cropping parameters.
      	(sheet_object_image_new): Initialize cropping parameters.
      	(sheet_object_image_set_crop): New function. Set cropping
      	parameters.
      	(soi_get_cropped_pixbuf): New function. Get the cropped image from
      	pixbuf.
      	(soi_get_pixbuf): Do cropping by calling soi_get_cropped_pixbuf.
      	(sheet_object_image_init): Initialize cropping parameters.
      
      2002-02-25  Jon K Hellan  <hellan@acm.org>
      
      	* ms-excel-read.c (ms_sheet_create_image): New function. Factor
      	image creation out of ms_sheet_create_obj and also handle cropping.
      	(ms_sheet_create_obj): Call ms_sheet_create_image.
      04bb7d17
  2. 21 Feb, 2002 1 commit
    • Morten Welinder's avatar
      Constify. (ms_excel_write_workbook): Constify. · b102ecce
      Morten Welinder authored
      2002-02-21  Morten Welinder  <terra@diku.dk>
      
      	* ms-excel-write.c (init_base_char_width_for_write): Constify.
      	(ms_excel_write_workbook): Constify.
      
      	* ms-excel-read.c (get_substitute_font): Constify.
      	(ms_excel_get_style_from_xf): Constify.
      	(biff_boundsheet_data_new): Constify.
      
      	* ms-summary.c (read_summary_items): Constify.
      
      	* ms-excel-util.c (get_locale_charset_name): Constify.  Remove
      	code conditioned on HAVE_ICONV && !HAVE_ICONV.
      
      	* ms-escher.c (ms_escher_read_BSE): Constify.
      b102ecce
  3. 20 Feb, 2002 1 commit
  4. 19 Feb, 2002 1 commit
    • Jon K Hellan's avatar
      Update documentation. (ms_excel_get_style_from_xf): Remove case 0. · 9b3abb4e
      Jon K Hellan authored
      2002-02-19  Jon K Hellan  <hellan@acm.org>
      
      	* ms-excel-read.c (ms_excel_palette_get): Update documentation.
      	(ms_excel_get_style_from_xf): Remove case 0.
      	(biff_xf_data_new): Save difference bits. We don't use them yet,
      	though. Documentation is wrong, background color is one bit more
      	than documented
      
      	* ms-excel-write.h (struct _ExcelFont): Add is_auto member.
      	(PALETTE_BLACK): Change from 0 to 8.
      	(PALETTE_WHITE): Change from 1 to 9.
      	(PALETTE_AUTO_PATTERN, PALETTE_AUTO_BACK, PALETTE_AUTO_FONT,
      	FILL_NONE, FILL_SOLID): Define
      
      	* ms-excel-write.c (write_window2): Write grid / auto pattern
      	color.
      	(style_color_to_int): Rename to style_color_to_rgb888.
      	(palette_put_defaults): Call index 8 'PALETTE_BLACK'. Mark both
      	black and white as in use.
      	(palette_get_index): Return 8 (PALETTE_BLACK) for black, and 9
      	(PALETTE_WHITE) for white.
      	(put_color): Call style_color_to_rgb888 with new name.
      	(excel_font_new): Call style_color_to_rgb888 with new name. Save
      	is_auto flag.
      	(excel_font_hash): Include is_auto in hash func, and shift flags
      	so they don't just cancel each other.
      	(excel_font_equal): Include is_auto in comparison.
      	(write_font): Store as auto color when appropriate.
      	(fixup_fill_colors): Simplify and merge into build_xf_data.
      	(style_color_to_pal_index): New function. Return Excel color
      	index, possibly auto, for a style color.
      	(get_xf_differences): We have discovered that background color is
      	stored with 1 bit more than documented. Use this to improve test
      	for pattern difference between XF and parent style. Locking: XL
      	default is on, so we're different if locking is off.
      	(build_xf_data): Store as auto color where appropriate. Use
      	style_color_to_pal_index.
      	(write_xf_record): Documentation is wrong - there is no fSxButton
      	bit. The bg color uses the bit, making bg field 7 bits wide. Don't
      	store data for borders which aren't there.
      9b3abb4e
  5. 16 Feb, 2002 1 commit
    • Jody Goldberg's avatar
      new. · b32f745d
      Jody Goldberg authored
      2002-02-15  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object-image.{ch} : new.
      
      	* src/sheet-object.c (sheet_object_new_view) : use a weak_ref.
      
      	* src/sheet-control-gui.c (scg_object_register) : more safety
      	  and use a weak_ref.
      
      	* src/sheet-object-graphic.c : More GObject-ification.
      b32f745d
  6. 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
  7. 08 Feb, 2002 1 commit
    • 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
  8. 05 Feb, 2002 1 commit
    • 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
  9. 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
  10. 02 Feb, 2002 1 commit
  11. 01 Feb, 2002 2 commits
    • 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
    • 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
  12. 29 Jan, 2002 1 commit
    • 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
  13. 21 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      Commit some spelling fixes. · 6c7ff2c4
      Jody Goldberg authored
      2002-01-21  Jody Goldberg <jody@gnome.org>
      
      	* ms-obj.c (ms_object_attr_get_*) : new.
      	(ms_obj_read_biff8_obj) : read scrollbar attributes.
      
      	* ms-excel-read.c (ms_sheet_realize_obj) : Add scrollbars.
      	(ms_sheet_create_obj) : ditto.
      
      2002-01-20  jody goldberg <jody@gnome.org>
      
      	* ms-chart.c (BC_R(vector_details)) : use gnm_vector_date.
      
      2002-01-21  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (application_init) : Add scrollbar.
      
      	* src/sheet-object-widget.c : Add scrollbars.
      	(sheet_widget_checkbox_user_config) : Use gnumeric_table_attach_with_label.
      	(gnumeric_table_attach_with_label) : new util, does no belong here.
      
      	* src/workbook-object-toolbar.c (cmd_create_scrollbar) : new.
      6c7ff2c4
  14. 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
  15. 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
  16. 13 Jan, 2002 1 commit
    • Jody Goldberg's avatar
      when starting to edit use a font colour to match the background. · 4e6306e8
      Jody Goldberg authored
      2002-01-13  Jody Goldberg <jody@gnome.org>
      
      	* widget-editable-label.c (el_edit_sync) : when starting to edit
      	  use a font colour to match the background.
      	(el_start_editing) : restore the contrasting colour.
      
      2002-01-12  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control.c (wb_control_parse_and_jump) : support
      	  intersheet jumps.
      
      2002-01-12  Jody Goldberg <jody@gnome.org>
      
      	* dialog-goal-seek.c (cb_dialog_apply_clicked) : Use global_range_parse.
      4e6306e8
  17. 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
  18. 06 Jan, 2002 1 commit
  19. 21 Dec, 2001 1 commit
  20. 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
  21. 05 Dec, 2001 1 commit
  22. 22 Nov, 2001 1 commit
  23. 20 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      Doh! · 3fc522dc
      Jody Goldberg authored
      2001-11-20  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (biff_boundsheet_data_new) : Doh!
      3fc522dc
  24. 19 Nov, 2001 1 commit
  25. 17 Nov, 2001 1 commit
  26. 16 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      read things in. Not stored yet. (ms_excel_read_range) : new convenience · 040a53ff
      Jody Goldberg authored
      2001-11-16  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_read_dv) : read things in.  Not stored yet.
      	(ms_excel_read_range) : new convenience routine.
      	(ms_excel_read_mergecells) : used here.
      	(ms_excel_biff_dimensions) : used here.
      	(ms_excel_read_dv) : used here.
      	(ms_excel_read_condfmt) : used here, fix import of multiple areas.
      
      2001-11-16  Jody Goldberg <jgoldberg@home.com>
      
      	* formula-guru.glade : Make resizable.
      	* function-select.glade : Ditto.
      
      	* dialog-cell-format.c (validation_rebuild_validation) : between is
      	inclusive.
      
      2001-11-16  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in (ALL_LINGUAS) : delete unmaintained translations
      	es_DO es_GT es_HN es_MX es_PA es_PE es_SV
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=64661
      	* src/sheet-object-cell-comment.c (comment_get_points) : Tweak the end
      	  col in presence of merged cells.  This is a kludge, but I think it is
      	  safe.
      040a53ff
  27. 09 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      begin parsing the sheet name. Still need to support starting in the · c1005d28
      Jody Goldberg authored
      2001-11-09  Jody Goldberg <jgoldberg@home.com>
      
      	* gnumeric-expr-entry.c (gnumeric_expr_entry_rangesel_start) : begin
      	parsing the sheet name.  Still need to support starting in the
      	sheetname, and to actually use the name.
      	(gnumeric_expr_entry_parse) : new utility.
      
      2001-11-09  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-graph-guru.c (vector_state_apply_changes) : Use
      	  gnumeric_expr_entry_parse.
      
      2001-11-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object-widget.c (sheet_widget_checkbox_toggled) : Use
      	  expr_tree_get_range.
      	(cb_checkbox_set_focus) : rework to use dialog::set-focus.
      	(cb_checkbox_config_clicked) : use gnumeric_expr_entry_parse.
      	(sheet_widget_checkbox_user_config) : set up the new focus handler.
      
      	* src/sheet-control-gui.c (scg_object_nudge) : new.
      	(scg_object_update_bbox) : no need to pass the view.
      	(scg_object_move) : ditto.
      	(cb_slide_handler) : ditto.
      
      	* src/parser.y (force_explicit_sheet_references) : new.
      	(parse_ref_or_string) : Support forcing an absolute ref.
      	(gnumeric_expr_parser) : remove the individual flags and send in a bit
      	mask.
      
      	* src/item-grid.c (item_grid_draw_merged_range) : filted invisble
      	  ranges.
      	(item_grid_draw) : handle merges hidden by row, and support sliced
      	  merges in the future.
      
      	* src/sheet.c (sheet_col_row_fit_gutter) : New max_outline semantics
      	  remove need for special case.
      	(sheet_colrow_get) : new utility.
      
      	* src/item-bar.c (ib_compute_pixels_from_indent) : Adjust to new
      	  outline_level semantics.  We now implicitly add 1 when needed.
      	  rather than tweaking it at startup.
      	(item_bar_draw) : ditto.
      	(outline_button_press) : ditto.
      
      	* src/gnumeric-pane.c (gnm_pane_release) : Clean out cursors and
      	  such.
      
      	* src/gnumeric-graph.h : do not include idl header publicly.
      	  Damn automake.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : support moving
      	  objects with the keyboard.
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=64023
      	* src/colrow.c (colrow_visibility) : visible collapse marks at lower
      	  levels should also be collapsed.
      
      	* src/analysis-tools.c (get_data) : handle blanks better.
      c1005d28
  28. 04 Nov, 2001 1 commit
    • Jody Goldberg's avatar
      Handle 'Formula' constraints in addition to 'Value'. · b185ff63
      Jody Goldberg authored
      2001-11-04  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_read_cf) : Handle 'Formula' constraints in
      	addition to 'Value'.
      	(ms_excel_read_condfmt) : new routine.
      	(ms_excel_read_dval) : fix sense of size check.
      	(ms_excel_read_sheet) : cf records should only be associated
      	  with condfmt.
      b185ff63
  29. 30 Oct, 2001 1 commit
  30. 29 Oct, 2001 3 commits
    • Jody Goldberg's avatar
      Use a better default in the face of errors. · 9ca20183
      Jody Goldberg authored
      2001-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_get_xf) : Use a better default in the face
      	  of errors.
      9ca20183
    • 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
    • Jody Goldberg's avatar
      add support for referencing names in other workbooks. · 22a7ee1a
      Jody Goldberg authored
      2001-10-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parser.y : add support for referencing names in other workbooks.
      
      	* src/expr.c (expr_tree_new_name) : take an optional sheet and
      	  workbook as scoping info.
      	(expr_eval_real) : handle inactive names.
      	(do_expr_tree_to_string) : improve scoping.
      	(expr_rewrite) : handle inactives and scope changes.
      
      	* src/expr-name.c (expr_name_lookup) : add the notion of active and a
      	  ref count so that we can do a delayed destruction and invalidation.
      	(expr_name_add) : make it clearer that the return is not meant
      	  to be freed.
      	(expr_name_create) : don't free the result of expr_name_lookup.
      	(expr_name_ref) : generalize.
      	(expr_name_unref) : ditto.
      	(expr_name_remove) : deactivate the name.
      22a7ee1a
  31. 25 Oct, 2001 1 commit
    • Wayne Schuller's avatar
      New canvas based header and footer preview widget. The customize · f0770524
      Wayne Schuller authored
      2001-10-21  Wayne Schuller <k_wayne@linuxpower.org>
      
      	* dialog-printer-setup.c : New canvas based header and footer preview
      	  widget. The customize header/footer widget now also uses a
      	  GnomePropertyBox for UI consistency.
      	* print.glade : Updated.
      	* hf-config.glade : Updated.
      
      2001-10-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/ranges.c (range_trim) : decrease lobotomization factor.
      
      2001-10-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr-name.c (named_expr_new) : renamed from add_real, simplified
      	  interface.
      	(expr_name_add) : take and store a parse position.
      	(expr_name_create) : ditto.
      	(expr_name_destroy) : adjust to stored parsepos.
      	(expr_name_unlink) : ditto.
      	(expr_name_sheet2wb) : ditto.
      	(expr_name_init) : ditto.
      	(expr_name_as_string) : renamed from expr_name_value.
      	(expr_name_eval) : renamed from eval_expr_name.
      
      	s/eval_expr/expr_eval/
      
      	* src/expr.c (do_expr_tree_to_string) : Use value_as_string in most
      	  places.
      	* src/value-sheet.c (value_cellrange_get_as_string) : delete bogus
      	  useless arg.
      	(encode_cellref) : delete redundant.
      
      	* src/parse-util.c (cellref_name) : ICK!  XL wraps relative references
      	  that are out of bounds.
      f0770524
  32. 22 Oct, 2001 1 commit
  33. 27 Sep, 2001 3 commits
    • 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
    • Jody Goldberg's avatar
      new utility. (ms_sheet_create_obj) : set the fill colour. · 8ae469fd
      Jody Goldberg authored
      2001-09-27  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_sheet_map_color) : new utility.
      	(ms_sheet_create_obj) : set the fill colour.
      
      	* ms-escher.c (ms_escher_read_OPT) : generalize to make things more
      	  efficient.
      
      	* ms-obj.c (ms_object_attr_new_uint) : store a uint to facilitate
      	  colors.
      8ae469fd
    • Jody Goldberg's avatar
      Add a property bag type interface to the escher parser. · 909174cd
      Jody Goldberg authored
      2001-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-escher.c (ms_escher_parse) : call ms_escher_header_release.
      	(ms_escher_read_container) : ditto.
      	(ms_escher_header_release) : new to handle attrs.
      	(ms_escher_header_add_attr) : ditto.
      	(ms_escher_read_ClientData) : pass the attributes to the object
      	  and move the blip handing to the container.
      
      	* ms-obj.c (ms_object_attr_new_flag) : new.
      	(ms_object_attr_new_int) : new.
      	(ms_object_attr_new_ptr) : new.
      	(ms_object_attr_destroy) : new.
      	(ms_object_attr_bag_new) : ditto.
      	(ms_object_attr_bag_destroy) : ditto.
      	(ms_object_attr_bag_insert) : ditto.
      	(ms_object_attr_bag_lookup) : ditto.
      
      	* ms-excel-read.c (ms_excel_read_workbook) : interface change to
      	  ms_read_OBJ.
      	(ms_excel_read_sheet) : ditto.
      	(ms_sheet_create_obj) : move the blip handing from escher to here.
      
      2001-09-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object-graphic.c (sheet_object_graphic_fill_color_set) :
      	  Use StyleColors and make public.
      	(sheet_object_graphic_destroy) : unref the fill colour.
      	(sheet_object_graphic_new_view) : translate from stylecolor to gdk.
      	(sheet_object_graphic_read_xml) : use style colors.
      	(sheet_object_graphic_write_xml) : use style colors.
      	(sheet_object_graphic_clone) : reference the fill colour.
      	(sheet_object_graphic_print) : use style colour.
      	(cb_dialog_graphic_clicked) : ditto.
      	(cb_dialog_filled_clicked) : ditto.
      	(sheet_object_graphic_user_config) : ditto.
      	(sheet_object_filled_user_config) : ditto.
      
      	* src/style-color.c (style_color_ref) : NULL is ok.
      	(style_color_unref) : ditto.
      
      	* src/xml-io.c (xml_node_get_color) : rename and tidy up.
      	(xml_node_get_gdkcolor) : delete.
      	(xml_node_set_gdkcolor) : delete.
      	(xml_read_style_border) : changes to get_color.
      	(xml_read_style) : ditto.
      909174cd
  34. 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
  35. 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