1. 05 Jun, 2000 5 commits
    • Jody Goldberg's avatar
      renamed from sheet_cell_formula_{link,unlink}. · 7f94ba9e
      Jody Goldberg authored
      
      2000-06-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_cell_expr_{link,unlink}) : renamed from
      	  sheet_cell_formula_{link,unlink}.
      
      	* src/cell.c (cell_relocate) : Doh! use the offset flags now that they
      	  are being passed.
      
      	* src/clipboard.c (paste_cell) : Renamed from paste_cell_flags.
      
      	* src/expr.c (compare) : value_is_empty_cell -> VALUE_IS_EMPTY.
      
      	* src/value.c (VALUE_IS_EMPTY) : rename from value_is_empty_cell.
      
      	* src/sheet-private.h : Add resize_scrollbar.
      
      	* src/sheet.c (sheet_{col,row}_add) : Use resize_scrollbar flag rather
      	  than manually updating the scrolling bar.
      	(sheet_update) : Handle resize_scrollbar.
      	(sheet_cell_expr_link) : renamed from sheet_cell_formula_link.
      	(sheet_cell_expr_unlink) : renamed from sheet_cell_formula_unlink.
      7f94ba9e
    • Morten Welinder's avatar
      Plug leak. · 82da7fbe
      Morten Welinder authored
      2000-06-14  Morten Welinder  <terra@diku.dk>
      
      	* ms-formula-write.c (ms_excel_write_formula): Plug leak.
      
      	* ms-excel-write.c (ms_excel_check_write): In case of error, clear
       	out the state.
      	(ms_excel_write_free_state): "New" function.
      	(write_workbook): Don't free workbook here.
      	(ms_excel_write_workbook): Do it here and plug a leak.
      
      	* boot.c (excel_save): Free the state.
      82da7fbe
    • Michael Meeks's avatar
    • Michael Meeks's avatar
      Update so we can't miss adjacent records and we check for continues. · 75990566
      Michael Meeks authored
      2000-06-05  Michael Meeks  <michael@helixcode.com>
      
      	* ms-excel-read.c (sst_bound_check): Update so we can't miss
      	adjacent records and we check for continues.
      75990566
    • Morten Welinder's avatar
      Fix comment to match Jody's last change. · 3a33d315
      Morten Welinder authored
      3a33d315
  2. 04 Jun, 2000 4 commits
    • Jody Goldberg's avatar
      str == "" is not empty · 112af83f
      Jody Goldberg authored
      
      2000-06-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/value.c (value_is_empty_cell) : str == "" is not empty
      
      	* src/expr.c (compare) : comparisons between "" and empty are special.
      112af83f
    • Jody Goldberg's avatar
      Set the CELL_IN_SHEET_LIST flag. (sheet_cell_remove_from_hash) : Clear the · c6a63d53
      Jody Goldberg authored
      
      2000-06-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_cell_add_to_hash) : Set the CELL_IN_SHEET_LIST
      	  flag.
      	(sheet_cell_remove_from_hash) : Clear the CELL_IN_SHEET_LIST flag.
      	(cb_remove_allcells) : Ditto.
      	(sheet_cell_formula_link) : Set the CELL_IN_EXPR_LIST flag.
      	(sheet_cell_formula_unlink) : Clear the CELL_IN_EXPR_LIST flag.
      	(sheet_formulas_unlink) : Ditto.
      
      	* src/clipboard.c (paste_cell_flags) : Take some additional arguments
      	  so that pasted cells can potentially have their references made
      	  invariant, this is for sorting.
      	(clipboard_paste_region) : Pass the additional offsets when
      	  PASTE_EXPR_RELOCATE is specified.
      	(append_cell_closure_t) : Delete this type.  Move the origin cell info
      	  into CellRegion.
      
      	* src/cell.c (cell_copy) : Clear the sheet and associated flags for
      	  the copied cell.  This avoids accidentally realizing comments that
      	  become undeletable.
      	(cell_relocate) : Remove the unlink flag now that we have the
      	  additional cell_flags.
      c6a63d53
    • Ariel Rios's avatar
      Updated guile plugin documentation · 082e1c3e
      Ariel Rios authored
      082e1c3e
    • Kenneth Christiansen's avatar
      Translations from Keld · febb2eda
      Kenneth Christiansen authored
      balsa/po/da.po dia/po/da.po evolution/po/da.po gedit/po/da.po
      gnome-db/po/da.po gnome-pilot/po/da.po gnomeicu/po/da.po
      gnumeric/po/da.po nautilus/po/da.po
      febb2eda
  3. 03 Jun, 2000 1 commit
    • Michael Meeks's avatar
      fix memory corruption bug with continue. · 2fff297d
      Michael Meeks authored
      2000-06-03  Michael Meeks  <michael@helixcode.com>
      
      	* ms-obj.c (ms_read_TXO): fix memory corruption bug with continue.
      
      	* ms-escher.c (ms_escher_read_Blip): update for Oaf.
      
      	* ms-biff.c (ms_biff_query_new): kill merging.
      	(ms_biff_merge_continues): kill forever.
      	(ms_biff_query_next_merge): rename to (ms_biff_query_next): and
      	clean. (ms_biff_query_unmerge): kill.
      
      2000-06-02  Michael Meeks  <michael@helixcode.com>
      
      	* ms-excel-read.c (biff_get_text): hack nasty auto-header
      	detection. (read_sst): split from (ms_excel_read_workbook).
      	(get_xtn_lens): split from (biff_get_text).
      	(get_utf8_chars, get_string, sst_boundcheck): implement.
      
      2000-01-31  Michael Meeks  <mmeeks@gnu.org>
      
      	* ms-obj.c (ms_read_TXO): re-implement to swallow CONTINUEs &
      	make safer.
      
      	* ms-biff.c (ms_biff_query_next_merge): hack do_merge = FALSE
      	for now; big clean possible later.
      
      	* ms-escher.c (ms_escher_read_Blip): always use image-generic;
      	it works, disable writing image files unless debugging.
      	(write_file): conditional compile out.
      	(ms_escher_get_data): add BIFF_CONTINUE.
      
      2000-01-30  Michael Meeks  <michael@mejm2.dow.cam.ac.uk>
      
      	* ms-excel-read.c (ms_excel_read_sheet): kill blank_sheet_pos.
      2fff297d
  4. 02 Jun, 2000 4 commits
    • Jesus Bravo Alvarez's avatar
      Updated Portuguese translation · e2124646
      Jesus Bravo Alvarez authored
      e2124646
    • Michael Meeks's avatar
      Gormless braino fix. · c5d5bbc2
      Michael Meeks authored
      2000-06-02  Michael Meeks  <michael@helixcode.com>
      
      	* Makefile.am (SUBDIRS): remove libole2. duh.
      c5d5bbc2
    • Jody Goldberg's avatar
      Delete unused routine. (sheet_selection_to_list) : Ditto. · 7baa890a
      Jody Goldberg authored
      
      2000-06-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/selection.c (sheet_selection_reset) : Delete unused routine.
      	(sheet_selection_to_list) : Ditto.
      
      	* src/item-cursor.c (item_cursor_autofill_event) : Use new undoable
      	  version of autofill.
      
      	* src/corba-sheet.c (Sheet_selection_reset) : Delete.
      
      	* src/commands.c (cmd_area_set_text_undo) : We want to restore
      	  formulas, not values.
      	(cmd_clear_selection) : Paste by value should be exclusive of paste by
      	  formula.
      	(cmd_autofill_*) : New functions.
      
      	* idl/Gnumeric.idl : Remove useless function selection_reset.
      
      	* src/number-match.c (format_match) : Handle numbers larger than
      	  LONG_{MAX,MIN} by falling through to double.
      
      	* src/sheet.c (sheet_recompute_spans_for_col) : Use closure.
      7baa890a
    • Jody Goldberg's avatar
      Adjust to changes in sheet_foreach_colrow. · 840f684c
      Jody Goldberg authored
      
      2000-06-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_sheet_write) : Adjust to changes in
      	  sheet_foreach_colrow.
      
      	* src/sheet.c (sheet_foreach_colrow) : Adjust signature.
      	(colrow_compute_pixels_from_pts) : Adjust to changes in sheet_foreach_colrow.
      	(sheet_set_zoom_factor) : Ditto.
      	(cb_recalc_spans_in_col) : Ditto.
      	(sheet_recompute_spans_for_col) : Ditto.
      	(cb_colrow_compute_pixels_from_pts) : New function wrapper.
      	(sheet_find_boundary_{horizontal,vertical}) : Fix case of being on the
      	  last non-blank element of a col/row and jumping to the far edge.
      	(sheet_move_range) : Redraw prior to moving incase the src region
      	  contains a span.
      
      	(sheet_redraw_cell_region) : Be more intelligent about skipping over
      	  large empty regions.
      	(sheet_cell_foreach_range) : Ditto.
      
      	(cb_check_array_{horizontal,vertical}) : new functions.
      	(sheet_range_splits_array) : Rewrite to be use sheet_foreach_colrow.
      
      	* src/selection.c (sheet_selection_cut) : Adjust to changes in
      	  sheet_range_splits_array.
      
      	* src/commands.c (cmd_paste_cut_undo) : Select the src range when
      	  undoing a cut.  This seems like a nice effect.
      
      	* src/colrow.c (cb_set_row_height) : Adjust to the changes in
      	  sheet_foreach_colrow.
      
      	* src/auto-format.c (auto_format_suggest) : Make static.
      
      	* src/gnumeric-util.c (gnumeric_wb_dialog_run) : Silence warning.
      840f684c
  5. 01 Jun, 2000 2 commits
    • Jon K Hellan's avatar
      Do not set parent if parent is already the right one. This avoids unwanted · 17c94018
      Jon K Hellan authored
      2000-06-02  Jon K Hellan  <hellan@acm.org>
      
      	* src/gnumeric-util.c (gnumeric_wb_dialog_run): Do not set parent
      	if parent is already the right one. This avoids unwanted moving of
      	already displayed dialogs.
      
      	* src/about.c: Make sure it is only popped up once
      	(cb_closed): New callback to remove dialog from workbook window's
      	object data.
      	(dialog_about): Check if dialog exists as object data on workbook
      	window. If so, raise dialog window instead of creating a new one.
      	Otherwise store dialog as object data, and connect signal handler
      	for "close".  Replace calls to gnome_dialog_set_parent,
      	gnome_dialog_set_close and gtk_widget_show with a call to
      	gnumeric_dialog_show which does it all.
      
      2000-06-02  Jon K Hellan  <hellan@acm.org>
      
      	* dialog-autocorrect.c: #include dialog-autocorrect.h to silence
      	warning.
      
      	* dialog-printer-setup.c (spin_button_adapt_to_unit): Add default
      	clause to switch in order to silence warning.
      
      	* dialogs.h: Define key for storing about dialog as object data
      	on the workbook window.
      17c94018
    • Michael Meeks's avatar
      kill libole2 hack. · b82df064
      Michael Meeks authored
      2000-05-30  Michael Meeks  <michael@helixcode.com>
      
      	* src/Makefile.am (gnumeric_libs): kill libole2 hack.
      
      	* configure.in: kill CONFIG_SUBDIRS for libole2.
      b82df064
  6. 31 May, 2000 11 commits
    • Almer. S. Tigelaar's avatar
      : Remove misplaced gtk_main_quit. · 3d8aa13b
      Almer. S. Tigelaar authored
      2000-05-31  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/dialogs/dialog-stf.c :
      	(stf_dialog_druid_page_cancel) : Remove misplaced gtk_main_quit.
      
      	* src/dialogs/dialog-stf-export.c :
      	(stf_export_dialog_druid_page_cancel) : Idem.
      3d8aa13b
    • Kenneth Christiansen's avatar
      forgot this one · f10661f6
      Kenneth Christiansen authored
      f10661f6
    • Kenneth Christiansen's avatar
      Two new scripts for helping translation/i18n maintainance of Gnumeric · 372928e4
      Kenneth Christiansen authored
      2000-06-01  Kenneth Christiansen <kenneth@gnu.org>
      
              * po/desk.pl, po/update.pl: Two new scripts for helping
              translation/i18n maintainance of Gnumeric
      
              * po/README.tools: Added readme file, which explains the
              use of the newly checked in po tools.
      
              * NEWS: Added notice about this
      
              Please go read.
      372928e4
    • Jody Goldberg's avatar
      Improve naming for libxml messages. · 4b7650a1
      Jody Goldberg authored
      
      2000-05-31  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Improve naming for libxml messages.
      4b7650a1
    • Jody Goldberg's avatar
      Fix typo reported by <matasmi@iki.fi> Bug 12428. · 47f6db34
      Jody Goldberg authored
      
      2000-05-31  Jody Goldberg <jgoldberg@home.com>
      
      	* src/functions/fn-information.c (gnumeric_countblank) : Fix typo
      	  reported by <matasmi@iki.fi> Bug 12428.
      47f6db34
    • Jody Goldberg's avatar
      invalidate destination before adjsuting src to point to dst. · ca66ede8
      Jody Goldberg authored
      
      2000-05-31  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_move_range) : invalidate destination before
      	  adjsuting src to point to dst.
      	(cmd_paste_cut_*) : keep a list of displaced content, not just the
      	  lost bits of the destination range, but also the portions of the src
      	  that are out of range.
      ca66ede8
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 23dbdb5e
      Yuri Syrota authored
      23dbdb5e
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 383200e5
      Yuri Syrota authored
      383200e5
    • Karl Eichwalder's avatar
      de.po: Update. · 5a8b5a1d
      Karl Eichwalder authored
      5a8b5a1d
    • Jody Goldberg's avatar
      undo support for shift range. · 232b5ec2
      Jody Goldberg authored
      The first half of the solution to the paste_cut problems.
      
      2000-05-31  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_ins_del_row_col_destroy) : Fix leak.
      	(cmd_paste_cut_*) : We do need to worry about invalidations.  Any
      	  references to the portions of the destination region that do not
      	  overlap the src region get invalidated.
      
      	* src/ranges.c (range_translate) : Adjust the semantics so that the
      	  result warns of a range that was translated completly out of bounds.
      
      	* src/sheet.c (sheet_move_range) : Invalidate the references to the
      	  portions of the destination range that do NOT overlap with the src.
      	(sheet_shift_{cols,rows}) : Rename and move to..
      	* src/cmd-edit.c (cmd_shift_{cols,rows}) : here.  Use cmd_paste_cut
      	  instead of sheet_move_range directly.
      
      	* src/dialogs/dialog-{insert,delete}.c : Switch to cmd_shift_{cols,rows}.
      
      	* src/history.c (history_menu_insert_separator) : Add a more detailed
      	  explaination when the history lookup fails.
      232b5ec2
    • Jody Goldberg's avatar
      update · eb9a207a
      Jody Goldberg authored
      eb9a207a
  7. 30 May, 2000 10 commits
    • Morten Welinder's avatar
      gripe · f38ffb9f
      Morten Welinder authored
      f38ffb9f
    • Morten Welinder's avatar
      a9f83c61
    • Kenneth Christiansen's avatar
      dd223697
    • Kenneth Christiansen's avatar
      Translations from Keld · 5c46f5eb
      Kenneth Christiansen authored
      balsa/po/da.po gnome-pilot/po/da.po gnumeric/po/da.po
      gtranslator/po/da.po pan/po/da.po
      5c46f5eb
    • Jody Goldberg's avatar
      typo · ec65bc11
      Jody Goldberg authored
      ec65bc11
    • Kenneth Christiansen's avatar
      update, fixed the missing recent opened sheets menu, which jody pointed · b33cf4c2
      Kenneth Christiansen authored
      2000-05-29  Kenneth Christiansen  <kenneth@gnu.org>
      
              * da.po: update, fixed the missing recent
                opened sheets menu, which jody pointed
                out the course of.
      
              * README: Put a notice to the translators, please
                go read
      b33cf4c2
    • Yuri Syrota's avatar
      Updated Ukrainian translation · a6c99b45
      Yuri Syrota authored
      a6c99b45
    • Jon K Hellan's avatar
      Add MARGIN_NONE for use with set_horizontal/vertical_bounds. · a7d25ea4
      Jon K Hellan authored
      2000-05-30  Jon K Hellan  <hellan@acm.org>
      
      	* src/dialogs/dialog-printer-setup.c (enum MarginOrientation): Add
      	MARGIN_NONE for use with set_horizontal/vertical_bounds.
      	(spin_button_set_bound): New function. Allow the value in spin
      	button to increase by at most space_to_grow.
      	(get_printable_width): New function. Return page width minus
      	margins in specified unit.
      	(get_printable_height): New function. Return page height minus
      	margins, header and footer in specified unit.
      	(set_horizontal_bounds): New function. Set the upper bounds for
      	left and right margins.
      	(set_vertical_bounds): New function. Set the upper bounds for
      	top/bottom margins, headers and footers.
      	(draw_margin): Add default branch to silence warning - MARGIN_NONE
      	now exists.
      	(canvas_update): Update bounds for margins when paper size has
      	changed.
      	(spin_button_adapt_to_unit): New function. Select suitable
      	increments and number of digits for the unit.
      	(do_convert): Call function above.
      	(unit_changed): Update bounds for margins when a margin has
      	changed.
      	(unit_editor_configure): Call spin_button_adapt_to_unit.
      a7d25ea4
    • Jody Goldberg's avatar
      Off by one error when undoing insert/delete row/col · 1dfd3744
      Jody Goldberg authored
      2000-05-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c (cmd_ins_del_row_col_undo) : Bounds are inclusive.
      1dfd3744
    • Jody Goldberg's avatar
      The button can not have focus. · d187b9e8
      Jody Goldberg authored
      
      2000-05-29  Jody Goldberg <jgoldberg@home.com>
      
      	* gtk-combo-stack.c (gtk_combo_stack_construct) : The button can not
      	  have focus.
      d187b9e8
  8. 29 May, 2000 3 commits