1. 17 Mar, 2000 2 commits
    • 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
      	CORBA_OBJECT_NIL
      
      	* 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
      	power.
      
      	* src/sheet-object-container.c
      	(sheet_object_container_new_from_goadid): Renamed from
      	sheet_object_container_new
      
      	(sheet_object_container_new): Now takes a BonoboObjectClient as an
      	argument.
      
      2000-03-12  Miguel de Icaza  <miguel@helixcode.com>
      
      	* src/sheet-vector.c (impl_vector_get_numbers): Increment idx
      	here;
      	(impl_vector_get_vec_values): ditto.
      	(impl_vector_get_numbers): Use the proper values for the columns
      	row.
      	(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.
      684c9df2
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 533b50f4
      Yuri Syrota authored
      533b50f4
  2. 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.
      1cd2b66f
    • 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.
      e61be055
    • Jody Goldberg's avatar
      *** empty log message *** · 551d17c7
      Jody Goldberg authored
      551d17c7
    • Jody Goldberg's avatar
      More bugs · 0c751151
      Jody Goldberg authored
      0c751151
    • 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.
      4aebab59
    • 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
       	achtung/po/da.po
        Tag: control-center-1-0
       	control-center-1-0/control-center/gnomecc.desktop
        No tag
       	dia/dia.desktop gnome-utils/cromagnon/Cromagnon.desktop
       	gnome-utils/find-file/nsearch.desktop
       	gnome-utils/gcalc/gcalc.desktop
       	gnome-utils/gsearchtool/gsearchtool.desktop
       	gnome-utils/gstripchart/gstripchart.desktop
       	gnome-utils/gstripchart/gstripchart_applet.desktop
       	gnome-utils/gtt/gtt.desktop
       	gnome-utils/mini-utils/gcolorsel/gcolorsel.desktop
       	gnome-utils/mini-utils/gless/gless.desktop
       	gnome-utils/mini-utils/gnome-run/gnome-run.desktop
       	gnome-utils/mini-utils/gpenguin/gpenguin.desktop
       	gnome-utils/mini-utils/grun/grun.desktop
       	gnome-utils/mini-utils/gshutdown/gshutdown.desktop
      	gnome-utils/mini-utils/guname/guname-capplet.desktop
       	gnome-utils/mini-utils/guname/guname.desktop
       	gnome-utils/mini-utils/gw/gw.desktop
       	gnome-utils/notepad/Notepad.desktop gnome-utils/po/da.po
       	gnumeric/po/da.po
      8a45d05b
  3. 13 Mar, 2000 7 commits
    • Jody Goldberg's avatar
      Be even more careful. · fd7fb811
      Jody Goldberg authored
      fd7fb811
    • Jody Goldberg's avatar
      cut-n-paste error. · 61aa6773
      Jody Goldberg authored
      61aa6773
    • 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.
      6cfd55ff
    • 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
      	(graphic_context_auto_guess_series):
      	Next pointer was followed twice each round => segfault.
      5c01401a
    • 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.
      f6acb848
    • 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.
      ff6d9c07
    • 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
      	range_clip_to_finite.
      	(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
      	sheet_get_extent.
      
      	* 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.
      26bc24d3
  4. 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.
      c20b930e
    • 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.
      b2ae60d3
    • Miguel de Icaza's avatar
      more work · 056811bb
      Miguel de Icaza authored
      056811bb
    • 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
      	here.
      c2c4899e
    • Miguel de Icaza's avatar
      Move idl files · d20c0315
      Miguel de Icaza authored
      d20c0315
    • 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.
      61291261
  5. 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.
      297927c2
    • 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.
      36110ef0
    • 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.
      47eeabce
  6. 10 Mar, 2000 6 commits
    • Alastair McKinstry's avatar
      Irish translations. · 9b6404f1
      Alastair McKinstry authored
      9b6404f1
    • Chyla Zbigniew's avatar
      Updated Polish translation · c5b3daad
      Chyla Zbigniew authored
      c5b3daad
    • Alastair McKinstry's avatar
      Irish translations. · 7b11d760
      Alastair McKinstry authored
      7b11d760
    • 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
      	  changed.
      
      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
      	  sheet_start_editing_at_cursor.
      	(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.
      c2af08a9
    • Jody Goldberg's avatar
    • Michael Meeks's avatar
      make it depend on Gnumeric.h not Vector.h · b00cbe1b
      Michael Meeks authored
      2000-03-10  Michael Meeks  <michael@helixcode.com>
      
      	* src/Makefile.am (sheet-vector.h): make it depend on Gnumeric.h
      	not Vector.h
      b00cbe1b
  7. 09 Mar, 2000 4 commits
  8. 08 Mar, 2000 5 commits
    • Jon K Hellan's avatar
      Really handle wb == NULL. · b2288a81
      Jon K Hellan authored
      2000-03-09  Jon K Hellan  <hellan@acm.org>
      
      	* src/corba-workbook.c (command_context_corba): Really handle wb
      	== NULL.
      b2288a81
    • Jon K Hellan's avatar
      Handle wb = NULL. It would segfault. · 4f6f6906
      Jon K Hellan authored
      2000-03-08  Jon K Hellan  <hellan@acm.org>
      
      	* src/corba-workbook.c (command_context_corba): Handle wb =
      	NULL. It would segfault.
      
      	* src/Gnumeric.idl: Fixed places where a name at an inner scope
      	differs only in case from a name at an outer scope. This breaks
      	the rule that identifiers cannot differ only in case, because an
      	identifier from a surrounding scope is introduced into a scope if
      	it is used in that scope. The solution is to scope the outer
      	identifiers explicitly:
      	(GNOME::Gnumeric::Sheet::cell_set_value): Change Value to
      	Gnumeric::Value.
      	(GNOME::Gnumeric::Workbook::parse): Change Sheet to
      	Gnumeric::Sheet.
      
      	* src/dialogs/dialog-cell-comment.c (dialog_cell_comment): Set
      	word wrap.
      
      	* src/dialogs/dialog-summary.c (dialog_summary_update): Ditto.
      4f6f6906
    • Jukka-Pekka Iivonen's avatar
      Fixed a leak (in sheet->solver_parameters.input_entry_str). · b4efdbd6
      Jukka-Pekka Iivonen authored
      2000-03-08  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/sheet.c (sheet_destroy): Fixed a leak (in
       	sheet->solver_parameters.input_entry_str).
      b4efdbd6
    • Miguel de Icaza's avatar
      Make the graphics code link, and works. This does not mean it is trivial · 765852c8
      Miguel de Icaza authored
      
      
      Make the graphics code link, and works.
      This does not mean it is trivial to get it to link.
      Do not fix.  I will be looking at the problem "soon".
      
      Well, it does not quite work.  The code is not yet linking the
      selection correctly to the range vectors.
      
      Miguel.
      765852c8
    • Ariel Rios's avatar
      work · 2570ea77
      Ariel Rios authored
      2570ea77
  9. 07 Mar, 2000 1 commit
    • Almer. S. Tigelaar's avatar
      Gnumeric instances can now eXchange data in a gnumeric XML clipboard · be3852ca
      Almer. S. Tigelaar authored
      2000-03-07  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	Gnumeric instances can now eXchange data in a gnumeric
      	XML clipboard format. This way style information and such
      	can be preserved when copying/cutting from one instance
      	to another.
      
      	* src/xml-io.c, src/xml-io.h :
      	Added some functions for the gnumeric clipboard xml format.
      	(gnumeric_xml_read_selection_clipboard) :
      	For reading xml data from the clipboard
      	(gnumeric_xml_write_selection_clipboard) :
      	For writing xml data to the clipboard
      	(xml_read_selection_clipboard) :
      	For reading xml data from the clipboard, does the dirty work
      	(xml_write_selection_clipboard) :
      	For writing xml data to the clipboard, does the dirty work
      	(xml_read_cell_copy) :
      	Similar to xml_read_cell, but returns a CellCopy* instead
      	of a Cell*
      	(xml_write_cell_and_position) :
      	Similar to old xml_write_cell but allows you to set the col and
      	row manually
      	(xml_write_cell) :
      	Calls upon xml_write_cell_and_position, but takes the col and row
      	from the ColRowInfo members of type Cell.
      	(xml_read_style_region_ex) :
      	Read the xml data and returns an mstyle and a range. Does
      	_NOT_ attach this to a sheet.
      	(xml_read_style_region) :
      	calls upon xml_read_style_region_ex and attaches the mstyle
      	to a sheet
      
      	* src/cell.h
      	New cellcopy type added CELL_COPY_TYPE_AND_COMMENT, if a
      	cellcopy is of this type the comments will be put in
      	cellcopy.comment
      
      	* src/clipboard.c
      	(paste_cell_flags) :
      	added support for the new CELL_COPY_TYPE_TEXT_AND_COMMENT copy type
      	(x_selection_received) :
      	Modified so it support the TARGETS and GNUMERIC XML atoms and renders
      	the gnumeric clipboard xml format
      	(x_selection_handler) :
      	Now it can render theselection to ASCII text and gnumeric clipboard xml
      	format.
      	(x_clipboard_bind_workbook) :
      	Registers the new GNUMERIC XML atom that enables other instances of
      	gnumeric to see that we are also gnumeric and can render the clipboard
      	data in a the special gnumeric xml clipboard format
      	(clipboard_release) :
      	Handles new CELL_COPY_TYPE_TEXT_AND_COMMENT type
      be3852ca