1. 16 Apr, 2001 2 commits
    • Jody Goldberg's avatar
      bump GAL version reqs. · 65b29b3b
      Jody Goldberg authored
      
      2001-04-16  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : bump GAL version reqs.
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar) :
      	  Jump to updated interface.  Partially fix the shared group problems.
      65b29b3b
    • Fatih Demir's avatar
      Check this in · f732bb7b
      Fatih Demir authored
      f732bb7b
  2. 15 Apr, 2001 11 commits
    • Almer S. Tigelaar's avatar
      Within all functions where the ItemGrid is a variable, s/item_grid/ig, · 57f9f587
      Almer S. Tigelaar authored
      2001-04-15  Almer S. Tigelaar  <almer@gnome.org>
      
              * src/item-grid.c : Within all functions
              where the ItemGrid is a variable, s/item_grid/ig,
              s/grid/ig.
      57f9f587
    • Jody Goldberg's avatar
      Hide merged cells. (item_grid_draw_merged_range) : calculate the size the · e6dbc465
      Jody Goldberg authored
      
      2001-04-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_draw) : Hide merged cells.
      	(item_grid_draw_merged_range) : calculate the size the same way we do
      	  it in cell_draw.
      e6dbc465
    • Jody Goldberg's avatar
      new virtual (workbook_control_gui_ctor_class) : connect it here. · b4e680c8
      Jody Goldberg authored
      
      2001-04-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (wbcg_finish_editing) : new virtual
      	(workbook_control_gui_ctor_class) : connect it here.
      	(wbcg_sheet_remove_all) : be sure we are no longer editing.
      
      	* src/workbook-control-priv.h : new virtual.
      	* src/workbook-control.c : ditto.
      	* src/workbook-control.h : ditto.
      
      	* src/colrow.c (colrow_visibility) : One last potential NULL.
      
      	* src/graph-vector.c : some portability fixes.
      b4e680c8
    • Jody Goldberg's avatar
      The encoding does not appear to be utf8, switch to latin1 · fb8065fe
      Jody Goldberg authored
      
      2001-04-15  Jody Goldberg <jgoldberg@home.com>
      
      	* da.po : The encoding does not appear to be utf8, switch to latin1
      fb8065fe
    • Jody Goldberg's avatar
      warning. · d4c146f6
      Jody Goldberg authored
      
      2001-04-15  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml2UnknownAttr) : warning.
      d4c146f6
    • Almer S. Tigelaar's avatar
      Add detailed parser error messages. · fa7e253a
      Almer S. Tigelaar authored
      2001-04-15  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/parser.y : Add detailed parser error messages.
      
      	* src/workbook-edit.c (workbook_finish_editing) : Abort
      	if the expression is invalid and return a boolean indicating
      	success or failure.
      
      	* src/expr.c (expr_parse_string): Set error message to the
      	result of gnumeric_expr_parser.
      
      	* src/parse-util.c (parse_error_init) : Properly initialize
      	begin and end character.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Don't
      	change the cursor position if workbook_finish_editing failed.
      	(move_cursor): Idem.
      
      	* src/item-grid.c (item_grid_button_1): Idem.
      fa7e253a
    • Almer S. Tigelaar's avatar
      Remove grid gc. (preview_grid_unrealize) : Idem. · 021cb3d3
      Almer S. Tigelaar authored
      2001-04-15  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/preview-grid.c
      	(preview_grid_realize) : Remove grid gc.
      	(preview_grid_unrealize) : Idem.
      
      	* src/item-grid.c
      	(item_grid_realize) : Use gc.fill, gc.cell
      	and gc.empty instead of fill_gc, etc.
      	(item_grid_unrealize) : Idem.
      	(item_grid_draw_merged_range) : Idem.
      	(item_grid_draw_background) : Idem.
      	(item_grid_draw) : Idem.
      021cb3d3
    • Almer S. Tigelaar's avatar
      Remove entirely, the preview-grid-controller abstraction is no longer · f43567fa
      Almer S. Tigelaar authored
      2001-04-15  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/preview-grid-controller.c,
      	src/preview-grid-controller.h : Remove entirely, the
      	preview-grid-controller abstraction is no longer
      	needed.
      f43567fa
    • Almer S. Tigelaar's avatar
      Calls upon cb_cell_get_style, if NULL use default. (pg_get_row_height) : · 8959f61e
      Almer S. Tigelaar authored
      2001-04-15  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/preview-grid.c (pgrid_get_style) : Calls upon
      	cb_cell_get_style, if NULL use default.
      	(pg_get_row_height) : Retrieve row height.
      	(pg_get_col_width) : Retrieve col width.
      	(pg_get_row_offset) : Get offset of row.
      	(pg_get_col_offset) : Get offset of column.
      	(pg_construct_cell) : Construct a cell from a value.
      	(pg_destruct_cell) : Destruct a cell.
      	(preview_grid_realize) : Initialize default mstyle.
      	(preview_grid_unrealize) : Free default mstyle.
      	(preview_grid_set_arg) : Add support for row height and col
      	width.
      	(pg_style_get_row) : Use pg_* routines.
      	(preview_grid_draw) : Idem.
      8959f61e
    • Almer S. Tigelaar's avatar
      Reverted this · e93ad113
      Almer S. Tigelaar authored
      2001-04-14  Almer S. Tigelaar  <almer@gnome.org>
      
      	Reverted this
      
      	* src/commands.c (cmd_paste_cut) : Init saved_sizes.
      	(cmd_paste_cut_destroy) : Free saved_sizes.
      	(cmd_paste_cut_redo) : Store saved_sizes and don't allow
      	shrinking when autofitting row heights.
      	(cmd_paste_cut_undo) : Restore saved_sizes.
      	(cmd_paste_copy_undo) : Store/Restore saved_sizes, don't
      	set PASTE_UPDATE_ROW_HEIGHT flag. It's been removed. Also,
      	don't allow shrinking when autofitting row heights.
      	(cmd_paste_copy_destroy) : Free saved_sizes.
      	(cmd_paste_copy) : Init saved_sizes.
      	(cmd_format_undo) : Allow shrink when autofitting row heights.
      	(cmd_autoformat_undo) : Idem.
      
      	* src/sheet.c (sheet_apply_style) : Allow shrink when autofitting
      	row heights.
      	(sheet_clear_region) : Idem.
      
      	* src/clipboard.c (clipboard_paste_region) : Remove the
      	PASTE_UPDATE_ROW_HEIGHT flag.
      
      	* src/colrow.c :
      	(rows_height_update) : Add an extra flag allow_shrink, if set rows
      	will be autofitted even if this means that the size of the row must
      	be reduced.
      	(cb_autofit_height) : Add support for allow_shrink.
      e93ad113
    • Ole Laursen's avatar
      Updated Danish translation · 55aa2d7a
      Ole Laursen authored
      55aa2d7a
  3. 14 Apr, 2001 4 commits
    • Chyla Zbigniew's avatar
      Updated Polish translation · e5775116
      Chyla Zbigniew authored
      e5775116
    • Almer S. Tigelaar's avatar
      Update/rework. · 3ba300b6
      Almer S. Tigelaar authored
      2001-04-14  Almer S. Tigelaar <almer@gnome.org>
      
      	* TODO: Update/rework.
      3ba300b6
    • Almer S. Tigelaar's avatar
      Init saved_sizes. (cmd_paste_cut_destroy) : Free saved_sizes. · 18651ef5
      Almer S. Tigelaar authored
      2001-04-14  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/commands.c (cmd_paste_cut) : Init saved_sizes.
      	(cmd_paste_cut_destroy) : Free saved_sizes.
      	(cmd_paste_cut_redo) : Store saved_sizes and don't allow
      	shrinking when autofitting row heights.
      	(cmd_paste_cut_undo) : Restore saved_sizes.
      	(cmd_paste_copy_undo) : Store/Restore saved_sizes, don't
      	set PASTE_UPDATE_ROW_HEIGHT flag. It's been removed. Also,
      	don't allow shrinking when autofitting row heights.
      	(cmd_paste_copy_destroy) : Free saved_sizes.
      	(cmd_paste_copy) : Init saved_sizes.
      	(cmd_format_undo) : Allow shrink when autofitting row heights.
      	(cmd_autoformat_undo) : Idem.
      
      	* src/sheet.c (sheet_apply_style) : Allow shrink when autofitting
      	row heights.
      	(sheet_clear_region) : Idem.
      
      	* src/clipboard.c (clipboard_paste_region) : Remove the
      	PASTE_UPDATE_ROW_HEIGHT flag.
      
      	* src/colrow.c :
      	(rows_height_update) : Add an extra flag allow_shrink, if set rows
      	will be autofitted even if this means that the size of the row must
      	be reduced.
      	(cb_autofit_height) : Add support for allow_shrink.
      18651ef5
    • Jody Goldberg's avatar
      automate removing the generated files. · 5ae7eceb
      Jody Goldberg authored
      
      2001-04-13  Jody Goldberg <jgoldberg@home.com>
      
      	* idl/Makefile.am (dist-hook) : automate removing the generated files.
      
      	* src/workbook-control-gui.c (workbook_menu_data_outline) : new menu.
      5ae7eceb
  4. 13 Apr, 2001 16 commits
    • Jody Goldberg's avatar
      missing changelog · 7daf5711
      Jody Goldberg authored
      7daf5711
    • Jon K Hellan's avatar
      Use gtk_idle_add to postpone clipboard setup. For mysterious reasons, · 62fb7f8d
      Jon K Hellan authored
      2001-04-13  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook-control-gui.c (workbook_control_gui_init): Use
      	gtk_idle_add to postpone clipboard setup. For mysterious reasons,
      	connecting callbacks to the table doesn't work. Toplevel does
      	work, but we must wait until we live inside a toplevel.
      
      	* src/gui-clipboard.c (x_selection_received,
      	x_clipboard_bind_workbook): Use wb_control_gui_toplevel to
      	determine toplevel.
      
      	* src/gui-clipboard.[ch] (x_clipboard_bind_workbook): Change
      	signature to make it callable as an idle function. Make it
      	determine the toplevel from
      62fb7f8d
    • Jody Goldberg's avatar
      revert premature patch · 68bb77ff
      Jody Goldberg authored
      68bb77ff
    • Jody Goldberg's avatar
      Take the easy way out. · 73d89ecc
      Jody Goldberg authored
      2001-04-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/style.c (font_init) : rename fontmap -> fontmap2 for newer
      	  versions of gnome-print.
      73d89ecc
    • Jody Goldberg's avatar
      update · 85dd69a4
      Jody Goldberg authored
      85dd69a4
    • Chema Celorio's avatar
      add an env variable so that we can enable XL overwrite. the variable is · 38f2d14b
      Chema Celorio authored
      2001-04-12  Chema Celorio  <chema@celorio.com>
      
      	* boot.c (excel_save): add an env variable so that we can
      	enable XL overwrite. the variable is named GNUMERIC_ENABLE_XL_OVERWRITE
      38f2d14b
    • Jody Goldberg's avatar
      rename gnumeric.xml GNOME_Gnumeric.xml. · e15d0a2c
      Jody Goldberg authored
      
      2001-04-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/Makefile.am : rename gnumeric.xml GNOME_Gnumeric.xml.
      
      	* src/sheet.c (sheet_col_add) : update the max outline_level.
      	(sheet_row_add) : ditto.
      
      	* src/xml-io.c (xml_read_colrow_info) : restore the col/row outline
      	  level data.
      	(xml_write_colrow_info) : store it here.
      e15d0a2c
    • Jody Goldberg's avatar
      Doh! · 45a4251c
      Jody Goldberg authored
      45a4251c
    • Jody Goldberg's avatar
      support the outline mode col/row extensions. (*) : cleanly support · b14038c5
      Jody Goldberg authored
      
      2001-04-12  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml2ParseColRow) : support the outline mode col/row
      	  extensions.
      	(*) : cleanly support elements with no attributes.
      b14038c5
    • Jody Goldberg's avatar
      finish the rename · 50f5e759
      Jody Goldberg authored
      50f5e759
    • Jody Goldberg's avatar
      rename xml2 -> xml_sax · ade2536c
      Jody Goldberg authored
      
      2001-04-12  Jody Goldberg <jgoldberg@home.com>
      
      	* POTFILES.in : rename xml2 -> xml_sax
      ade2536c
    • Jody Goldberg's avatar
      rename xml2 xml_sax · 2103c9cf
      Jody Goldberg authored
      2103c9cf
    • Jody Goldberg's avatar
      rename xml2 -> xml_sax · 6360539c
      Jody Goldberg authored
      6360539c
    • Jody Goldberg's avatar
      rename confusing xml2 - > xml_sax · 7f3365da
      Jody Goldberg authored
      7f3365da
    • Jody Goldberg's avatar
      Outline mode events and undo/redo are working. · c0aa8960
      Jody Goldberg authored
      2001-04-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/colrow.c (colrow_set_visibility) : don't collapse things unless
      	  they are at the end of the region.  Always uncollapse things.
      
      2001-04-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_draw) : tweak the redraw a bit to match
      	  event handling
      
      	* src/mstyle.c (mstyle_elements_equal) : remove pointless asserts and
      	  correct the logic.
      	(mstyle_element_equal) : Stop passing structs.
      	(mstyle_elements_equal) : adjust here.
      	(mstyle_elements_compare) : and here.
      
      2001-04-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/colrow.c (colrow_set_visibility) : collapse state changes can
      	  occur more than once within a range.
      
      	* src/sheet.c (sheet_col_row_gutter_pts) : simplify, no need to store
      	  sizes in pts.  Outline level is enough.
      	  s/sheet_col_row_gutter_pts/sheet_col_row_gutter/
      c0aa8960
    • Jody Goldberg's avatar
      Some adjustments for outline mode. · 1a997824
      Jody Goldberg authored
      2001-04-12  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-write.c (pre_pass) : Don't unref here.
      1a997824
  5. 12 Apr, 2001 6 commits
    • Morten Welinder's avatar
      Plug leaks. · 72b4300e
      Morten Welinder authored
      2001-04-12  Morten Welinder  <terra@diku.dk>
      
      	* ms-summary.c (ms_summary_write): Plug leaks.
      72b4300e
    • Morten Welinder's avatar
      Portability fixes. · 81335ae3
      Morten Welinder authored
      81335ae3
    • Jody Goldberg's avatar
      53096 · 53253569
      Jody Goldberg authored
      2001-04-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_paste_copy_undo) : Make the corner of the
      	  restored region visible.
      	(cmd_autofill_undo) : Ditto.
      	(cmd_autofill_redo) : Ditto.
      53253569
    • Jody Goldberg's avatar
      a null string is not a missing arg. · d75d6949
      Jody Goldberg authored
      
      2001-04-11  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-formula-write.c (write_string) : a null string is not a missing
      	  arg.
      d75d6949
    • Jody Goldberg's avatar
      some minor tweaking · 034b1949
      Jody Goldberg authored
      034b1949
    • Jody Goldberg's avatar
      fix chema's spanning problem. · 5c3d4bf0
      Jody Goldberg authored
      
      2001-04-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cellspan.c (cell_calc_span) : fix chema's spanning problem.
      
      	* src/workbook-control-gui.c (workbook_menu_data) : Add an icon for
      	  the sort menu item.
      
      2001-04-9  Jody Goldberg <jgoldberg@home.com>
      
      	s/cmd_hide_selection_colrow/cmd_colrow_hide_selection/
      
      	* src/commands.c (cmd_colrow_outline_change) : new wrapper for
      	  colrow_hide that handled outline changes.
      
      	* src/workbook-control-gui.c (cb_insert_{cols,rows}) : cancel edit.
      	(cb_select_auto_expr) : return a value.
      
      	* src/colrow.c (cb_col_row_visibility) : Use get rather than fetch.
      	(colrow_find_outline_bound) : new function.
      	(cb_colrow_visibility) : turn this into a wrapper for.
      	(colrow_visibility) : this, and add honour_collapse flag.
      	  invert the search to go fro mthe end to the start in preparation for
      	  supporting the honour_collapse flag.  Insert the items into a sorted
      	  list in case we want to merge them some day.
      	(colrow_get_outline_toggle) : use new routine here too.
      
      2001-04-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_event) : Doh!  The outline events are
      	  controled by the minor coordinate.
      
      2001-04-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/main.c (gnumeric_main) : shut plugins down first.
      5c3d4bf0
  6. 11 Apr, 2001 1 commit