1. 22 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Fix span bugs. · 99ec14fe
      Jody Goldberg authored
      2000-03-22  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.c (sheet_reposition_comments) : Merged from
      	  sheet_reposition_comments_from_row and
      	(sheet_update) : New function.  Use the new update flags from
      	  SheetPrivate that are set in the col/row resize functions
      	  to do delayed resizing and updates.  This allows the resizing to be
      	  batched for an entire logical operation.
      	(sheet_{col,row}_set_size_pixels) : Set the update flags.
      	* src/workbook-cmd-format.c (workbook_cmd_format_{row,column}_auto_fit) : No need to
      	  worry about redraws.  Use sheet_update.
      	(workbook_cmd_format_{row_height,column_width}) : Ditto.
      	* src/sheet-view.c (sheet_view_redraw_cell_region) : No need to
      	  recalculate the spans,  Use the pre-calculated versions.
      	(sheet_view_col_size_changed) : Use sheet_update.
      	(sheet_view_row_size_changed) : Ditto.
      	* src/sheet-style.c (re_dimension_cells_cb) : Use cell_calc_dimensions.
      	(sheet_cells_update) : No need to redraw per cell and guess the bound.
      	  It is simpler and more correct to calc dimension per cell, and
      	  redraw the region BEFORE and AFTER to handle spans.
      	* src/cell.[ch] (cell_style_changed) : Delete.
      	* src/cell-draw.c (cell_draw) : continue syncing with print code.
      	  Be even more careful in the possible presence of style bugs.
      	* src/item-grid.c (item_grid_draw) : Ditto.
      	* src/print-cell.c (print_cell) : Ditto.
      	* src/analysis-tools.c (correlation_tool) : Use sheet_update.
      	(covariance_tool) : Ditto.
      	(ttest_paired_tool) : Ditto.
      	(ttest_eq_var_tool) : Ditto.
      	(ttest_neq_var_tool) : Ditto.
      	(ftest_tool) : Ditto.
      2000-03-21  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-private.h : Add status flags to accumulate state changes
      	  for later redraw.
      	* src/commands.c (cmd_format_redo) : Use sheet_update
      	  in case the row/col sizes changed due to font size changes.
      	(cmd_format_undo) : Ditto.
      	* src/widgets/gtk-combo-box.c (cb_state_change) : Only pseudo-prelight
      	  the display when over the arrow, not vice versa.
      	(gtk_combo_box_init) : Ditto.
      	(gtk_combo_box_set_display) : Ditto.
      	* src/sheet.c (sheet_row_get_distance_pts) : Enable reversed indicies.
      	(sheet_col_get_distance_pts) : Ditto.
      	* src/plugin.c (plugin_load) : Add more version checking to ensure
      	  that very old plugins that do not check their versions can not be
      2000-03-20  Jody Goldberg <jgoldberg@home.com>
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible) : When
      	  forcing a scroll do a hard reset of the visible ranges.
      	(gnumeric_sheet_compute_visible_ranges) : Ditto.
      	(gnumeric_sheet_set_top_row) : Remove extraneous scroll.
      	(gnumeric_sheet_set_left_col) : Remove extraneous scroll.
  2. 21 Mar, 2000 3 commits
    • Miguel de Icaza's avatar
      Allow for parsing to be non-strict. · 7bb1eb3f
      Miguel de Icaza authored
      2000-03-21  Miguel de Icaza  <miguel@helixcode.com>
      	* src/utils.c (parse_cell_name_or_range): Allow for parsing to be
      	* src/ranges.c (range_parse): Allow for parsing to be non-strict.
      	* src/utils.c (parse_cell_name): Allow for parsing to be non-strict.
      	* Makefile.am (SUBDIRS): Fix list of directories.
      	* src/item-cursor.c (item_cursor_set_arg): Added optional color
      	handling to item-cursor.
      2000-03-20  Miguel de Icaza  <miguel@helixcode.com>
      	* src/main.c (gnumeric_main): Removed broken style test.
      	* src/ranges.c (range_parse): Update the range_parse API
      	* src/print-info.c (load_range): Update API.
      	* src/utils.c (parse_cell_name): Handle references that contain an
      	absolute reference.
    • Vincent Renardias's avatar
      TheMissingFile(tm) · cfa86f9f
      Vincent Renardias authored
      * TheMissingFile(tm)
    • Vincent Renardias's avatar
      Update debian/ files. · 6e35fe48
      Vincent Renardias authored
      * Update debian/ files.
  3. 20 Mar, 2000 2 commits
    • Jody Goldberg's avatar
      A few cleanups while editing spaning cells. · 7a9ecb75
      Jody Goldberg authored
      When pasting cut regions transfer the styles before the cells so that alignments
      and hence spans are computed correctly.
      2000-03-19  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet.c (sheet_move_range) : Move the styles before the contents
      	  so that spans are calculated correctly.
      	* src/workbook.c (workbook_start_editing_at_cursor) : Redraw the
      	  edit cell so that we handle spans correctly.
      	(workbook_finish_editing) : Ditto.
      	* src/item-grid.c (item_grid_draw) : Ignore spans while editing a
    • Jon Kåre Hellan's avatar
      Michael should test after committing · bdccbf22
      Jon Kåre Hellan authored
  4. 19 Mar, 2000 1 commit
  5. 18 Mar, 2000 3 commits
    • Michael Meeks's avatar
      Fix bug 7326 Make Miguel's chart component compile Add test file Bump · e1fb2c49
      Michael Meeks authored
      Fix bug 7326
      Make Miguel's chart component compile
      Add test file
      Bump gnome print version to 0.13
      Fiddle with sheet object destruction.
    • JP Rosevear's avatar
      Group hacking at GUADEC... · 5d946d7f
      JP Rosevear authored
      2000-03-18   JP Rosevear <jpr@arcavia.com>
      	Group hacking at GUADEC...
      	* src/pixmaps: Added sort-ascend.xpm, sort-descend.xpm,
      	* src/pixmaps.h: Include new xpms.
      	* src/workbook.c (sort_cmd): Moved from workbook-format-toolbar.c
      	(sort_ascend_cmd): ditto
      	(sort_descend_cmd): ditto
      	* src/dialogs/dialog-cell-sort.c (dialog_cell_sort): Duh,
      	pass the parameters in the correct order.
      	* src/workbook-format-toolbar.c: Move sort commands to workbook.c
      	and put icons into command toolbar.
    • JP Rosevear's avatar
      Add TigerT's new icons. · b0c1bf9a
      JP Rosevear authored
      Add TigerT's new icons.
  6. 17 Mar, 2000 4 commits
    • Jon K Hellan's avatar
      Make it compile and link without Bonobo. · 599cd8e8
      Jon K Hellan authored
      2000-03-17  Jon K Hellan  <hellan@acm.org>
      	* src/sheet-object.c (create_object, sheet_set_mode_type_full):
      	Make it compile and link without Bonobo.
    • Miguel de Icaza's avatar
      Updated TODO · 693ebda8
      Miguel de Icaza authored
    • Miguel de Icaza's avatar
      Change NULL to CORBA_OBJECT_NIL · 684c9df2
      Miguel de Icaza authored
      2000-03-13  Miguel de Icaza  <miguel@helixcode.com>
      	* src/sheet-vector.c (sheet_vectors_cell_changed): Change NULL to
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_load_from_file):
      	Use the new IDL:Bonobo interface name, not the IDL:GNOME one
      	(sheet_object_bonobo_load_from_file): ditto.
      	(sheet_object_bonobo_load): ditto.
      	* src/sheet-object.c (sheet_set_mode_type): Temporary hack to get
      	the graphics working under 1:20 hours when my battery runs out of
      	* src/sheet-object-container.c
      	(sheet_object_container_new_from_goadid): Renamed from
      	(sheet_object_container_new): Now takes a BonoboObjectClient as an
      2000-03-12  Miguel de Icaza  <miguel@helixcode.com>
      	* src/sheet-vector.c (impl_vector_get_numbers): Increment idx
      	(impl_vector_get_vec_values): ditto.
      	(impl_vector_get_numbers): Use the proper values for the columns
      	(impl_vector_get_vec_values): ditto.
      	* src/clipboard.c (x_clipboard_bind_workbook): Fix memory leak.
      	The problem is worse, because the warning comment there was
      	completely bogus.
      2000-03-12  Miguel de Icaza  <miguel@helixcode.com>
      	* graphic-type.c (graphic_type_show_page): On page switch, set the
      	graphics type to the first one in there.
      	* graphic-context.c (data_range_new): Assing this guy.
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 533b50f4
      Yuri Syrota authored
  7. 14 Mar, 2000 6 commits
    • Jon K Hellan's avatar
      ): We introduce numbers in front of the the history file names for the · 1cd2b66f
      Jon K Hellan authored
      2000-03-14  Jon K Hellan  <hellan@acm.org>
      	* src/workbook-view.c (workbook_view_history_update,
      	workbook_view_history_shrink): ): We introduce numbers in front of
      	the the history file names for the following reasons:
      	1. Bonobo won't let you make 2 entries with the same label in the
      	   same menu. But that's what happens if you e.g. access
      	   worksheets with the same name from 2 different directories.
      	2. The numbers are useful accelerators.
      	This means that when a new item is added, all existing entries get
      	a new number. We access them via the label, so we have to remove
      	all the old list entries and make a new list.
      	history_menu_flush is called to remove the old list,
      	history_menu_update to build the new.
      	* src/history.c
      	(history_item_label): Add accel_number parameter, make label from
      	accel_number and basename. Rename basename variable to label.
      	(history_menu_item_create): Add accel_number parameter. Use it
      	when calling history_item_label.
      	(history_menu_locate_separator): New static function. Locate the
      	menu and position of history separator. They may not yet exist.
      	(history_menu_insert_separator): New static function. Insert the
      	history separator. Return its position and the menu shell.
      	(history_menu_insert_items): New static function. Add the history
      	items to the file menu.
      	(history_menu_remove_items): New static function. Remove the
      	history items from the file menu.
      	(history_menu_setup): Split into lots of twisty little functions,
      	all different.
      	(history_menu_fill): New exported function. Make the menus for
      	the workbooks show the new history list.
      	(history_menu_flush): New exported function. Remove the history
      	list from the file menus of all workbooks.
      	(history_insert_menu_item): Remove.
      	(history_remove_menu_item): Remove.
      	* src/history.h
      	(history_menu_fill, history_menu_flush): Declare.
      	(history_insert_menu_item, history_remove_menu_item): Remove.
    • Jody Goldberg's avatar
      Still no time to research WHY the escher parsing is finding an unexpected · e61be055
      Jody Goldberg authored
      IMDATA record buried in the stream, but at least the code will be more
      resistant to parse errors.
      2000-03-14  Jody Goldberg <jgoldberg@home.com>
      	* ms-excel-read.c (biff_xf_data_new) : Remove warning about parent
      	  styles not == 0.  I finally understand what the semantics of this
      	  are.  Style 0 is 'Normal' this test was doing nothing accept
      	  discriminating agains 'Comma' and its friends.  We need to extend
      	  the gnumeric notion of styles to include the limited form of
      	  inheritance embodied by XL.
      	* ms-obj.c (object_anchor_to_position) : Be VERY careful.
    • Jody Goldberg's avatar
      *** empty log message *** · 551d17c7
      Jody Goldberg authored
    • Jody Goldberg's avatar
      More bugs · 0c751151
      Jody Goldberg authored
    • Jody Goldberg's avatar
      Adjust Makefile.am to use the idl build dir rather than the src dir. · 4aebab59
      Jody Goldberg authored
      Minor improvements to the wizard glade file.
      2000-03-13  Jody Goldberg <jgoldberg@home.com>
      	* graphics.glade : Put the 'data in row/col' selector in the same
      	  radio group.  Exported the translatable strings.
    • Birger Langkjer/danish translations's avatar
      Modified Files: achtung/achtung.desktop achtung/po/cat-id-tbl.c · 8a45d05b
      Birger Langkjer/danish translations authored
      Modified Files:
      	achtung/achtung.desktop achtung/po/cat-id-tbl.c
        Tag: control-center-1-0
        No tag
       	dia/dia.desktop gnome-utils/cromagnon/Cromagnon.desktop
       	gnome-utils/notepad/Notepad.desktop gnome-utils/po/da.po
  8. 13 Mar, 2000 7 commits
    • Jody Goldberg's avatar
      Be even more careful. · fd7fb811
      Jody Goldberg authored
    • Jody Goldberg's avatar
      cut-n-paste error. · 61aa6773
      Jody Goldberg authored
    • Jody Goldberg's avatar
      Harden code against XL's attempt to read the size of a · 6cfd55ff
      Jody Goldberg authored
      non-existant row/col..  Figure out why there is an IMDATA buried in there.
      2000-03-13  Jody Goldberg <jgoldberg@home.com>
      	* ms-obj.c (object_anchor_to_position) : Be more careful handling out
      	  of bounds conditions.  Part of bug 7312.
    • Jon K Hellan's avatar
      Silence warning. · 5c01401a
      Jon K Hellan authored
      2000-03-13  Jon K Hellan  <hellan@acm.org>
      	* src/main.c (main): Silence warning.
      	* wizards/graphics/graphic-context.c
      	Next pointer was followed twice each round => segfault.
    • Jody Goldberg's avatar
      Make wizards and graph subdirs contingent on bonobo. distribute all the · f6acb848
      Jody Goldberg authored
      2000-03-13  Jody Goldberg <jgoldberg@home.com>
      	* Makefile.am : Make wizards and graph subdirs contingent on bonobo.
      	  distribute all the ChangeLogs.
    • JP Rosevear's avatar
      Remove clip_range_to_finite. (dialog_cell_sort): Use range_clip_to_finite. · ff6d9c07
      JP Rosevear authored
      2000-03-12  JP Rosevear  <jpr@arcavia.com>
      	* src/dialogs/dialog-cell-sort.c : Remove clip_range_to_finite.
      	(dialog_cell_sort): Use range_clip_to_finite.
      	* src/ranges.c (range_clip_to_finite): Make the range finite using
      	sheet_get_extent if its infinite.
      	* src/ranges.h: Prototype range_clip_to_finite.
      	* src/workbook-format-toolbar.c (sort_cmd): Sort the current
      	selection if simple.
      	(sort_ascend_cmd): Call sort_cmd with asc=0.
      	(sort_descend_cmd): Call sort_cmd with asc=1.
      	* src/workbook-format-toolbar.c : Add sort ascend/descend buttons.
      	(sort_ascend_cmd): New toolbar callback function to sort
      	selection in ascending order.
      	(sort_descend_cmd): New toolbar callback function to sort
      	selection in descending order.
    • JP Rosevear's avatar
      Remove old clip_range_to_finite function and replace with · 26bc24d3
      JP Rosevear authored
      2000-03-12  JP Rosevear  <jpr@arcavia.com>
      	* src/dialogs/dialog-cell-sort.c : Remove old
      	clip_range_to_finite function and replace with
      	(dialog_cell_sort): Reflect new function call.
      	* src/ranges.c (range_clip_to_finite): New function, if range
      	is infinite, cut it down to to a finite range using
      	* src/ranges.h: New prototype "range_clip_to_finite".
      	* src/workbook-format-toolbar.c : Add sort ascend/descend buttons.
      	(sort_ascend_cmd): New toolbar callback function to sort
      	selection in ascending order.
      	(sort_descend_cmd): New toolbar callback function to sort
      	selection in descending order.
  9. 12 Mar, 2000 6 commits
    • JP Rosevear's avatar
      Reflect new location of idl. · c20b930e
      JP Rosevear authored
      2000-03-12  JP Rosevear  <jpr@arcavia.com>
      	* src/Makefile.am: Reflect new location of idl.
      2000-03-12  JP Rosevear  <jpr@arcavia.com>
      	* graphic-type.c: Reflect the fact that the idl dir is now in
      	the INCLUDEs.
      	* graphic-context.h: Reflect the fact that the idl dir is now
      	in the INCLUDEs.
      	* Makefile.am: Reflect new location of idl.
    • Jody Goldberg's avatar
      Fix what looks like an off by one error when selecting a cursor from the · b2ae60d3
      Jody Goldberg authored
      exterior vs the interior.
    • Miguel de Icaza's avatar
      more work · 056811bb
      Miguel de Icaza authored
    • Miguel de Icaza's avatar
      Cleaned Makefile. · c2c4899e
      Miguel de Icaza authored
      2000-03-11  Miguel de Icaza  <miguel@helixcode.com>
      	* src/Makefile.am: Cleaned Makefile.
      	* graph/Makefile.am: ditto.
      	* graph/sample.c: fix
      	* idl/Makefile.am, idl/Graph.idl, idl/Gnumeric.idl: Moved IDL
      	files here, and create the libGnumeric.a and libGraph.a libraries
    • Miguel de Icaza's avatar
      Move idl files · d20c0315
      Miguel de Icaza authored
    • Jody Goldberg's avatar
      Sensitize/desensitize the ok/cancel buttons. hiding changed shapes. · 61291261
      Jody Goldberg authored
      Re gen glade file.
      2000-03-11  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c (workbook_setup_edit_area) : Use sensitize rather
      	  than show/hide for the ok/cancel buttons.  Return wizard back
      	  to end of list.
      	(workbook_new) : Revert last change, no longer necessary.
      	(workbook_start_editing_at_cursor) : Sensitize the ok/cancel edit buttons.
      	(workbook_finish_editing) : desensitize them.
  10. 11 Mar, 2000 3 commits
    • Jody Goldberg's avatar
      When the edit lined receives focus start editing. (accept_input) : No need · 297927c2
      Jody Goldberg authored
      2000-03-11  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c (cb_editline_focus_in) : When the edit lined receives
      	  focus start editing.
      	(accept_input) : No need to force edit mode we should already be in
      	  edit mode.
      	(workbook_setup_edit_area) : Move the wizard button to the begining of
      	  the list and store the ok and cancel buttons in the Private section.
      	  Hook cb_editline_focus_in to focus-in.
      	(workbook_new) : After show_all, we need to hide the ok/cancel edit
      	  buttons.  We start out not editing.
      	(workbook_start_editing_at_cursor) : Show the ok/cancel edit buttons.
      	(workbook_finish_editing) : Hide them.
    • Jon K Hellan's avatar
      #ifdef out the fix for now. · 36110ef0
      Jon K Hellan authored
      2000-03-11  Jon K Hellan  <hellan@acm.org>
      	* src/main.c (main): #ifdef out the fix for now.
    • Jon K Hellan's avatar
      Work around guile / gnorba problem: gnorba closes stdin, and · 47eeabce
      Jon K Hellan authored
      2000-03-11  Jon K Hellan  <hellan@acm.org>
      	* src/main.c (main): Work around guile / gnorba problem: gnorba
      	closes stdin, and scm_boot_guile segfaults if any of the stdio
      	streams are missing. We map the missing streams to /dev/null.
  11. 10 Mar, 2000 4 commits
    • Alastair McKinstry's avatar
      Irish translations. · 9b6404f1
      Alastair McKinstry authored
    • Chyla Zbigniew's avatar
      Updated Polish translation · c5b3daad
      Chyla Zbigniew authored
    • Alastair McKinstry's avatar
      Irish translations. · 7b11d760
      Alastair McKinstry authored
    • Jody Goldberg's avatar
      Constness. · c2af08a9
      Jody Goldberg authored
      2000-03-10  Jody Goldberg <jgoldberg@home.com>
      	* src/func.c (tokenized_help_new) : Constness.
      	* src/widgets/gtk-combo-box.c (cb_state_change) : New function to keep
      	  the state of the combo display button and the combo arrow in sync.
      	(gtk_combo_box_init) : Connect cb_state_change to the arrow.
      	(gtk_combo_box_set_display) : Ditto for the display widget.
      	* src/sheet.c (sheet_set_zoom_factor) : Bound the factor at 10% and 500%
      	* src/workbook.c (change_zoom_in_current_sheet_cb) :
      	  call change_displayed_zoom_cb to adjust the combo to contain the
      	(workbook_focus_current_sheet) : Only emit signal if the sheet
      2000-03-08  Jody Goldberg <jgoldberg@home.com>
      	* src/collect.c (callback_function_collect) : Treat arrays and ranges
      	  as errors.
      	* src/format.c (format_value) : formating a range returns a
      	  #VALUE! message.
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
      	  Use the workbook flags, and delete the icky globals.
      	(start_cell_selection_at) : Hide the std cursor when a cell selection
      	  cursor is created.
      	(gnumeric_sheet_stop_cell_selection) : Restore the std cursor.
      2000-03-07  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c (accept_input) : Use workbook_finish_editing.
      	(cancel_input) : Ditto.
      	(do_focus_sheet) : Support range selection across spreadsheets.
      	(workbook_get_sheet_position) : Fix and document.
      	(workbook_move_sheet) : Fix.
      	(workbook_focus_sheet) : Handle errors cleanly.
      	(wb_edit_key_pressed) : Improve F4 handling.
      	(wizard_input) : Begin non-modal function wizard.  NOT FINSIHED.
      	(workbook_start_editing_at_cursor) : transfered from
      	(workbook_finish_editing) : Distilled from sheet_{accept,cancel}_pending_input.
      	(Workbook) : Add editing_cell, editing_sheet, editing.
      	* src/sheet.c (sheet_stop_editing) : Delete.
      	(sheet_accept_pending_input) : Merge into workbook_finish_editing.
      	(sheet_cancel_pending_input) : Ditto.
      	(sheet_start_editing_at_cursor) :
      	(sheet_create_edit_cursor) : New function.
      	(sheet_destroy_edit_cursor) : New function.
      	(sheet_destroy_cell_select_cursor) :  New function.
      	(Sheet) : Delete editing and editing_cell.
      	* src/selection.c (sheet_selection_changed_hook) : Make public.  This
      	  should eventually move but I'm not sure where.  It is used for more
      	  than just changes in the selection in the current sheet.  It must
      	  also be called when the sheet changes.  What it REALLY does it to
      	  sync the shared workbook state with the current sheet's selection.
      	* src/item-cursor.c (item_cursor_init) : Handle change from
      	  sheet_accept_pending_input -> workbook_finish_editing.
      	* src/item-grid.c (item_grid_button_1) : Ditto.
      	* src/gnumeric-sheet.c (gnumeric_sheet_can_move_cursor) : Edit moved
      	  from sheet -> workbook.
      	(selection_insert_selection_string) : Extend to support
      	  abs/rel refs and intersheet-refs.
      	(gnumeric_sheet_stop_cell_selection) : Add clear_string argument
      	  to optionally remove the selection range.
      	(gnumeric_sheet_key_mode_sheet) : Adjust to movement of editing flag
      	  from sheet -> workbook.  Be careful to use the original sheet when
      	  moving rather than the current sheet.  Support F4 while editing.
      	* src/cell-draw.c (cell_draw) : editing_cell has moved from sheet to
      	  workbook.  Fix font ref leak when drawing the edit cell.
      	* src/dialogs/dialog-function-wizard.c : Begin transition to being
      	  non-modal.  NOT FINISHED.