1. 12 Apr, 1999 1 commit
    • Miguel de Icaza's avatar
      Fixed the computation of columns in the paste code. · 656c4897
      Miguel de Icaza authored
      1999-04-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/clipboard.c (x_selection_to_cell_region): Fixed the
      	computation of columns in the paste code.
      
      1999-04-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/workbook.c (insert_object_cmd): Add sample bonobo support.
      	Still lacking an object server selector.
      
      	* src/sheet.c (sheet_insert_object): Add Bonobo support.
      
      	* src/sheet-view.c (sheet_view_insert_object): Add basic Bonobo
      	support.  I need to reuse the SheetObject stuff to add control
      	points to the objects and to handle repositioning.
      656c4897
  2. 08 Apr, 1999 1 commit
    • Jukka-Pekka Iivonen's avatar
      Wrote dialogs for these tools. The tools are not implemented yet. · 0e81c949
      Jukka-Pekka Iivonen authored
      
      
      1999-04-08  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/dialog-solver.c, src/dialog-goal-seek.c, src/solver.h:
      	Wrote dialogs for these tools. The tools are not implemented yet.
      
      	* src/solver-lp.c:
      	New file for linear programming methods created.
      
      	* src/sheet.h:
      	Added parameters for the Solver tool.
      
      	* src/fn-stat.c (gnumeric_correl):
      	Bug fixed.  If the covariance is zero the correlation coefficient
      	should also be zero. Thanks for Vladimir for pointing this one out.
      0e81c949
  3. 30 Mar, 1999 1 commit
  4. 12 Mar, 1999 1 commit
    • Miguel de Icaza's avatar
      New routine. Abstracts the paste operation. (clipboard_paste_region): Now · 89b125a7
      Miguel de Icaza authored
      1999-03-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/clipboard.c (sheet_paste_selection): New routine.  Abstracts
      	the paste operation.
      	(clipboard_paste_region): Now it uses a clipboard with the active
      	X selection instead of defaulting to "request clipboard from X"
      	(this is only for inter-workbook copy-paste).
      
      	* src/sheet.c (find_workbook_with_clipboard): Tries to find a
      	workbook with clipboard information.  Probably the clipboard
      	should be global to all Gnumeric.
      
      	* src/render-ascii.c (cell_region_render_ascii): Free the
      	information after we have used it, not before.
      
      	* src/expr.c (eval_expr): Handle new-born recursive references.
      89b125a7
  5. 08 Mar, 1999 1 commit
  6. 16 Feb, 1999 1 commit
  7. 12 Feb, 1999 1 commit
  8. 11 Feb, 1999 1 commit
  9. 09 Feb, 1999 1 commit
    • Miguel de Icaza's avatar
      Apparently string concatenation operator in Excel has the lower priority. · 43fe0ef0
      Miguel de Icaza authored
      1999-02-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y: Apparently string concatenation operator in Excel
      	has the lower priority.
      
      	* src/workbook.c (workbook_detach_sheet): New function used to
      	detach a sheet from a workbook.
      	(sheet_menu_label_run): New routine.  Invoked on button-3 on the
      	sheet label.
      
      	* src/gnumeric-util.c (gnumeric_auto_kill_popup_menu_on_hide): New
      	routine to deallocate menus when they go to unshown state
      43fe0ef0
  10. 11 Jan, 1999 1 commit
    • Miguel de Icaza's avatar
      Use 0.0########## instead. Looks saner. · c46a2f59
      Miguel de Icaza authored
      1999-01-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/format.c (format_value): Use 0.0########## instead.  Looks saner.
      
      1999-01-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/workbook.c (change_auto_expr_menu): Use the event->button
      	field to get the popup menu to behave correctly.
      	(workbook_setup_auto_calc): Put the information display inside a
      	GtkFrame.
      
      	* src/item-bar.c (set_cursor): This routine can be invoked before
      	we are realized.
      
      	* src/workbook.c (sheet_label_button_press): We need to do the
      	page flipping ourselves, as the GtkNotebook wont take events if
      	they are not for a window it knows about.
      
      	* src/widget-editable-label.c (el_button_press_event): Forward
      	events to parent.
      
      	* src/parser.y: New non-terminal "cellref".  Make this
      	non-terminal include CELLREF and SHEETREF!CELLREF constructions.
      
      	* src/expr.c: Changed the whole module according to the dropping
      	of VALUE_CELLREF.
      
      	* src/expr.h: VALUE_CELLREF did not make much sense.  Better add
      	to the ExprTree union a CellRef field specifically for OPER_VAR
      	nodes.
      c46a2f59
  11. 07 Jan, 1999 1 commit
    • Nat Friedman's avatar
      Slowly GnomeAppBar-ifying everything. · 6a69e242
      Nat Friedman authored
      1999-01-07  Nat Friedman  <nat@nat.org>
      
      	* src/workbook.c (workbook_new): Install the menu hints.
      	(workbook_setup_status_area): Create the GnomeAppBar.
      
      	Added hints to most of the custom menu items.
      
      	* src/sheet.h: Added the appbar field to the Workbook structure.
      6a69e242
  12. 04 Jan, 1999 1 commit
    • Miguel de Icaza's avatar
      New routine. · b2f46797
      Miguel de Icaza authored
      1999-01-04  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet.c (sheet_rename): New routine.
      
      	* src/workbook.c (workbook_attach_sheet): Use a EditableLabel for
      	the notebook tab.
      	(workbook_rename_sheet): New routine.
      
      	* src/widget-editable-label.c:  New widget.  This is a label that
      	can be edited if you double click on it.  This uses the same trick
      	of the gnome-icon-item to provide the editing facilities.
      
      1999-01-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/workbook.c (workbook_setup_status_area): Use the style font,
      	not "fixed".
      	(workbook_setup_status_area): One hack down.  Use GTK_ANCHOR_NW to
      	achieve the same effect I had with my previous hack.
      
      	* src/dialog-cell-comment.c (dialog_cell_comment): New file.
      	Implements the cell comment dialog box.
      
      	* src/cell.c (cell_relocate): Only call cell_comment_reposition is
      	there is a cell comment bound to this cell.
      
      	* src/format.c (format_value): No format means "General" format as
      	well.
      	If the value has decimal numbers use "0.00##########" for the
      	formatting instead of 0.00.
      b2f46797
  13. 03 Jan, 1999 1 commit
    • Miguel de Icaza's avatar
      Add support for non-local cells here. I am impressed how simple this was. · 19500e12
      Miguel de Icaza authored
      1999-01-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/expr.c (eval_expr): Add support for non-local cells here.  I
      	am impressed how simple this was.
      
      	* src/parser.y: Add rules for cell references outside of the
      	current sheet.
      
      	* src/main.c: New option --debug.  Turns on the zoom in/zoom out
      	buttons on the main sheet.
      
      	* src/workbook.c: Include the zoom in/zoom out buttons conditionally.
      
      	* src/xml-io.c (xmlGetCoordinates): Load using double numbers the
      	information.
      
      	* src/parser.y (yylex): Allow strings to be specified with "'"
      	characters.
      19500e12
  14. 28 Dec, 1998 1 commit
    • Miguel de Icaza's avatar
      Now we have support for registering/unregistering file opening and saving · ca92de93
      Miguel de Icaza authored
      
      
      Now we have support for registering/unregistering file opening
      and saving formats.
      
      Miguel.
      
      1998-12-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* plugins/excel/boot.c: New file, this holds the probing and load
      	wrapper code for Gnumeric to use as well as the initial format
      	registering code.
      
      	* src/xml-io.c (xml_probe): New routine, used to probe if a file
      	is a Gnumeric-xml file.
      
      	* src/file.c (file_format_register_open,
      	file_format_unregister_open, file_format_register_save,
      	file_format_unregister_save): New routines used to register and
      	unregister file formats in Gnumeric.
      
      	* src/main.c (main): Boot xml and excel formats, since they now
      	need to register themselves with the file.c code
      ca92de93
  15. 29 Nov, 1998 1 commit
    • Miguel de Icaza's avatar
      New routine to mark a sheet as not modified. · 8156f3fa
      Miguel de Icaza authored
      1998-11-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet.c (sheet_mark_clean): New routine to mark a sheet as
      	not modified.
      
      	* src/workbook.c (workbook_mark_clean): New routine to mark a
      	workbook as not modified.
      8156f3fa
  16. 28 Nov, 1998 1 commit
    • Miguel de Icaza's avatar
      OH MY GOD! This has been on my laptop for AGES! and it never went into CVS. What a dork I am · 11be5291
      Miguel de Icaza authored
      So, here it is:
      
      1998-11-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-autofill.c (autofill_cell): Simplify by using
      	cell_set_formula_tree
      
      	* src/expr.c (expr_parse_string): Take a sheet argument
      	(expr_decode_tree): Same
      
      	* sheet.c (cellref_name): Now takes a sheet argument and decodes the
      	cellref depending on the sheet.
      
      	* cell.c (CellRef): Now they include the sheet location.
      11be5291
  17. 24 Nov, 1998 1 commit
    • Miguel de Icaza's avatar
      formula_cell_list *ONLY* exists in the Workbook, not on the Sheet. · ff553ef5
      Miguel de Icaza authored
      1998-11-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet.h: formula_cell_list *ONLY* exists in the Workbook,
      	not on the Sheet.
      
      	* src/sheet.c (sheet_cell_formula_link,	sheet_cell_formula_unlink):
      	Keep the formula on the Workbook, not on the Sheet.  Thanks to
      	Havoc for reporting these bugs.
      
      	* src/cell.c (cell_set_formula): Use cell_set_rendered_text to
      	propery set the error messages.
      	(cell_get_text): If value is NULL, use the rendered version of the
      	text instead of re-rendering it.
      ff553ef5
  18. 13 Nov, 1998 1 commit
    • Miguel de Icaza's avatar
      Use case-insenstive routines when creating the hash table. · 3cbc7cdc
      Miguel de Icaza authored
      1998-11-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y:
      
      	* src/workbook.c (workbook_new): Use case-insenstive routines when
      	creating the hash table.
      	(workbook_sheet_get_free_name): Find an unused name for a sheet.
      	(workbook_sheet_lookup): Looks up a sheet by name in a Workbook.
      	(insert_sheet_cmd): New command to insert a sheet into a workbook.
      
      	* src/utils.c (gnumeric_strcase_hash, gnumeric_strcase_equal):
      	Routines used for strings hash tables that are not case
      	sensitive.
      
      1998-11-12  Morten Wellinder <terra@diku.dk>
      
      	* test-parser.c: Fix to compile with the new API
      
      	* parser.y: Make the code more maintainable.
      3cbc7cdc
  19. 11 Nov, 1998 1 commit
    • Michael Meeks's avatar
      Removed fatal bug, and accelerated code by testing for DV in MULBLANK · e36eb87f
      Michael Meeks authored
      1998-11-11  Michael Meeks    <michael@imaginator.com>
      
      	* plugins/excel/ms-biff.h, plugins/excel/ms-excel.c: Removed fatal
      	bug, and accelerated code by testing for DV in MULBLANK case.
      
      	* plugins/excel/ms-excel.c(ms_excel_set_cell_xf): Out by one indexes
      	causing serious attribute offset grief in fonts.
      
      	* Rememberance_Day:
      	They went with songs to the battle, they were young,
      	Straight of limb, true of eye, steady and aglow.
      	They were staunch to the end against odds uncounted,
      	They fell with their faces to the foe.
      
      	They shall grow not old, as we that are left grow old,
      e36eb87f
  20. 10 Nov, 1998 1 commit
    • Miguel de Icaza's avatar
      Two things that have been on my hard disk for a long time: · dbf9667e
      Miguel de Icaza authored
      
      
      Two things that have been on my hard disk for a long time:
      
      1. Comments-on-cells code is working.  We just need the nice dialog to
      actually type something in.
      
      It needs xml-io.c support though, hopefully Daniel will add this soon.
      
      2. Dropped cell->entered_text.  We now only store the parsed version
      of the cell (either as an ExprTree or as a Value).  This should help
      mmeeks with his Excel-formula importing code, it should be possible
      to do the right thing now instead of constructing a string representation
      of the formula and re-parsing it.
      
      Various fixes here and there as well.
      
      Miguel
      
      1998-11-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-view.c (sheet_view_comment_get_points): Scale properly
      	the points to be in window cordinates.
      
      	* src/sheet.c (sheet_col_set_width): Move comments on column
      	change.
      
      	* src/cell.c (cell_copy): Duplicated cells get col, row and sheet
      	values set to NULL.
      
      1998-11-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/fn-misc.c: Add ctype.h
      
      	* src/sheet-view.c (sheet_view_comment_get_points): New utility
      	routine used.
      	(sheet_view_comment_relocate): New function used to relocate a
      	comment canvas item in a cell to its new location.
      
      	* src/cell.c (cell_relocate): Move the comments with the cell.
      	(cell_realize, cell_unrealize, cell_comment_realize,
      	cell_comment_unrealize): New functions used to create and destroy
      	view-specific cell components (the comments are canvas objects
      	that need to be created on a per-view basis).
      dbf9667e
  21. 07 Nov, 1998 1 commit
  22. 28 Oct, 1998 1 commit
    • Miguel de Icaza's avatar
      Use extra argument. · 4443c9f4
      Miguel de Icaza authored
      1998-10-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.c (dump_tree): Use extra argument.
      
      	* src/expr.c (function_call_with_values): Use the extra argument
      	to symbol_lookup
      
      	* src/func.c (constants_init): Use the extra argument to symbol_install.
      
      	* src/main.c (main): Invoke global_symbol_init.
      
      	* src/symbol.h: Symbol routines now take an extra argument; the
      	symboltable they work on.  Now the code can have multiple symbol
      	tables (this is required for the cell range name bindings in a
      	per-sheet fashion.
      4443c9f4
  23. 13 Oct, 1998 1 commit
    • Jakub Jelinek's avatar
      New functions. (item_grid_event): If x or y is out of canvas bounds, do · 718822fb
      Jakub Jelinek authored
      1998-10-13  Jakub Jelinek  <jj@ultra.penguin.cz>
      
      	* src/item-grid.c (item_grid_stop_sliding,
      	item_grid_sliding_callback, item_grid_start_sliding):
      	New functions.
      	(item_grid_event): If x or y is out of canvas bounds,
      	do sliding for both cell and formula selection.
      	For button release from formula selection, make cell
      	being edited visible afterwards.
      	(item_grid_button_1): If not extending selection with
      	shift, make cursor cell visible.
      
      	* src/gnumeric-sheet.c (move_cursor,
      	gnumeric_sheet_key_mode_sheet): Make cursor cell visible.
      
      	* src/sheet.c (sheet_select_all): Make home visible.
      	(sheet_make_cell_visible): New function.
      	(sheet_cursor_move, sheet_cursor_set): Don't make cursor
      	visible, caller has to do it himself if desired.
      
      	* src/sheet.h (sheet_make_cell_visible): New prototype.
      
      	* src/workbook.c (workbook_parse_and_jump): Make cursor
      	cell visible.
      718822fb
  24. 12 Oct, 1998 1 commit
    • Jakub Jelinek's avatar
      Add base_col and base_row arguments. Move cursor to that location, so that · 4ded61c3
      Jakub Jelinek authored
      1998-10-07  Jakub Jelinek  <jj@ultra.penguin.cz>
      
      	* src/sheet.c (sheet_cursor_set): Add base_col and
      	base_row arguments. Move cursor to that location, so
      	that it really reflects base of the selection.
      
      	* src/sheet.h (sheet_cursor_set): Ditto.
      
      	* src/clipboard.c (x_selection_received): Callers changed.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_set_selection): Ditto.
      	(move_cursor): Ditto.
      
      	* src/item-cursor.c (item_cursor_autofill_event): Ditto.
      	(item_cursor_init): Fix a typo.
      4ded61c3
  25. 08 Oct, 1998 1 commit
    • Miguel de Icaza's avatar
      New routine: loads a couple of default fonts to be used in Gnumeric. · 1e3d41ad
      Miguel de Icaza authored
      1998-10-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/style.c (font_init): New routine: loads a couple of default
      	fonts to be used in Gnumeric.
      
      	* src/item-bar.c (bar_draw_cell): Make the SELECTION cells display
      	with a bold font.
      	(item_bar_realize, item_bar_unrealize): reference and unreference
      	the gnumeric_default_bold_font.
      
      1998-10-07  Jakub Jelinek  <jj@ultra.linux.cz>
      
      	* src/item-grid.c (item_grid_button_1): Handle shift+click
      	on cells (removes last selection and selects from last base
      	to current mouse location).
      	(item_grid_event): Don't lock up if mouse is moved during
      	selection behind left or top margin of sheet canvas (later
      	on we should move the current view).
      
      	* src/cell.c (cell_formula_changed): Cast void * to something
      	reasonable.
      
      	* src/item-bar.c (draw_bar_cell): Switch from 2 state bars
      	to 3 state: whole column/row is selected in one of the current
      	selections, some cells are selected in one of the selections
      	or nothing is selected. Get rid of ci->selected, compute it
      	from the selections.
      	(item_bar_draw): Ditto.
      
      	* src/cell.h (selected): Ditto.
      
      	* src/sheet.c (sheet_init_default_styles, sheet_init_dummy_stuff):
      	Ditto.
      	(sheet_selection_row_extend_to, sheet_selection_col_extend_to):
      	Remove.
      	(sheet_all_is_selected): True if any of the selections covers whole
      	sheet.
      	(sheet_col_selection_type, sheet_row_selection_type): New functions.
      	(sheet_selection_set): New function.
      
      	* src/sheet-view.c (sheet_view_row_set_selection,
      	sheet_view_col_set_selection): Remove.
      	(sheet_view_col_selection_changed, sheet_view_row_selection_changed):
      	Handle shift+click and ctrl+click on whole columns/bars as well.
      	(sheet_view_col_size_changed, sheet_view_row_size_changed): Use
      	sheet_*_selection_type instead of ci->selected.
      
      	* src/item-bar.h (ItemBarSelectionType): Enum for the new 3 state
      	column/row titles.
      	(ItemBarClass): selection_changed takes modifier mask as argument.
      
      	* src/sheet-view.h (sheet_view_*_set_selection): Remove prototypes.
      
      	* src/sheet.h (sheet_selection_*_extend_to): Ditto.
      	(sheet_selection_set, sheet_*_selection_type): New prototypes.
      
      1998-10-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      1e3d41ad
  26. 06 Oct, 1998 1 commit
    • Miguel de Icaza's avatar
      Cells from the clipboard do not have a Sheet parameter attached. · 85cff8c7
      Miguel de Icaza authored
      1998-10-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/cell.c (cell_modified): Cells from the clipboard do not have
      	a Sheet parameter attached.
      
      	* src/sheet.c (sheet_cell_add): Check the computed style:  if the
      	computed style includes a format, then turn on the cell flag for
      	format is set to avoid the auto guess of cell content.
      	(sheet_style_compute): Now can return the flags of the style that
      	were not part of the default style.
      
      	* src/file.c (dialog_query_load_file, workbook_save_as): Put the
      	window close to the mouse.
      
      	* src/workbook.c (sheet_check_dirty, workbook_close): Do not
      	cancel without warning the user if the workbook has changed.
      	(workbook_new, workbook_can_close, workbook_window_destroy,
      	quit_cmd, close_cmd): Reorganized the code to suit the new code to
      	prevent inadvertent quits.
      85cff8c7
  27. 05 Oct, 1998 1 commit
    • Miguel de Icaza's avatar
      New function, used to tag a modified cell in a sheet. · 4a1b760f
      Miguel de Icaza authored
      1998-10-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/cell.c (cell_modified): New function, used to tag a modified
      	cell in a sheet.
      
      	* src/fn-math.c (gnumeric_average): Display error on division by
      	zero.  Make the code not depend on the types returned by
      	gnumeric_sum and gnumeric_count.
      	(callback_function_sum): Keep sum as integers as long as
      	possible instead of using floating point all the time.
      4a1b760f
  28. 30 Sep, 1998 2 commits
    • Arturo Espinosa's avatar
    • Miguel de Icaza's avatar
      New routine to paint a little red triangle if the cell hsa notes. · 890ae3fd
      Miguel de Icaza authored
      
      1998-09-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/cell.c (cell_draw_comment): New routine to paint a little
      	red triangle if the cell hsa notes.
      
      	* src/cell.c (cell_destroy): Destroy the comment.
      	(str_trim_spaces): New routine.  Trims the spaces on a string.
      	(cell_draw): Trim the leading and trailing spaces on every string
      	of a multi-line text.
      
      	* src/color.c (color_init): Allocate a red for tagging the
      	spreadhseet notes.
      
      	* src/dialog-cell-format.c (format_list_fill): Apply the
      	traslation when adding the format.
      
      	* doc/tranlating.sgml: New document that describes how to
      	internationalize and localize Gnumeric properly.
      
      	* src/workbook.c (recalc_cmd): Provide a way to force a recomputation.
      	(insert_current_time_cmd): New function.  insert the current time.
      	(insert_current_date_cmd): New function.  insert the current date.
      	(insert_at_cursor): New utility function.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Handle control-home
      890ae3fd
  29. 28 Sep, 1998 2 commits
    • Miguel de Icaza's avatar
      Allow the lists to include an asterisk to be able to distinguish between · 0551a214
      Miguel de Icaza authored
      
      
      1998-09-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-autofill.c (matches_list): Allow the lists to include
      	an asterisk to be able to distinguish between abbreviations and
      	full descriptions.
      
      	* src/clipboard.c (x_selection_to_cell_region): New routine.
      	Creates a CellRegion of type text based on the selection provided
      	by X.
      	(paste_cell_flags): New function, decoupled from
      	do_clipboard_paste_cell_region.   Handles new type in CellCopy.
      
      	* src/sheet.c (sheet_selection_paste): Simplified as most of the
      	work is now
      
      	* src/clipboard.c (x_selection_received): Perform the paste
      	operation, moved most of the logic from sheet.c.  This does both
      	internal paste and paste from the X selection (and everything
      	works the way the user expects it to behave).
      0551a214
    • Miguel de Icaza's avatar
      Check the return value from symbol_lookup. · ae3dda69
      Miguel de Icaza authored
      
      1998-09-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/expr.c (function_call_with_values): Check the return value
      	from symbol_lookup.
      
      1998-09-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-object.c (sheet_view_object_realize): Swap coordinates
      	before passing to the canvas item.
      
      	* plugins/python/python.c (init_plugin): Use the system
      	installation directory to load the python scripts.
      
      	* autogen.sh: Hack to make libtool add library dependcy
      	information (it modifies the libtool file after it has been
      	created).
      
      	* src/workbook.c (workbook_set_filename): New routine to set the
      	filename being edited of the workbook.
      
      	* src/sheet-object.c (create_object): Swap arguments to the
      	ellipse object to guarrantee we pass valid information.
      
      	* src/render-ascii.c (cell_region_render_ascii): Ok, remove the
      	leaks now.
      ae3dda69
  30. 26 Sep, 1998 2 commits
    • Arturo Espinosa's avatar
      New workbook routine to set the title Hack in autogen.sh to sed the · eee0eb83
      Arturo Espinosa authored
      
      
      New workbook routine to set the title
      Hack in autogen.sh to sed the libtool script and allow library dependecies
      Python plugin now loads its startup file from a system directory.
      eee0eb83
    • Miguel de Icaza's avatar
      new routine that renders a cell selection into a an ascii string. IT HAS · 33e12497
      Miguel de Icaza authored
      1998-09-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/render-ascii.c (cell_region_render_ascii): new routine that
      	renders a cell selection into a an ascii string.  IT HAS PILES OF
      	LEAKS.  I have to go to the movies, will fix later tonight.
      
      	* src/clipboard.c (x_clipboard_bind_workbook): New function used
      	to connect the selection signals for a workbook.
      	(x_selection_handler): New function: X selection handler.
      	(clipboard_export_cell_region): New function: Export our clipboard
      	to the X selection.
      	(clipboard_copy_cell_range): call clipboard_export_cell_region
      
      	* src/plugin-manager.c (plugin_manager_new), plugin.c: Add
      	internationalization support.
      33e12497
  31. 25 Sep, 1998 1 commit
    • Miguel de Icaza's avatar
      New version that makes sure the column information has been allocated. · d3276a42
      Miguel de Icaza authored
      1998-09-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet.c (sheet_selection_row_extend_to,
      	sheet_selection_col_extend_to): New version that makes sure the
      	column information has been allocated.
      
      	* src/workbook.c (workbook_parse_and_jump): Maximum ranges were a
      	little bit off.
      
      	* src/parser.y (return_cellref): Fixed the same bug we had in
      	parse_cell_name:  The parsing of the column name to a column index
      	was wrong here too.
      
      	* src/sheet.c (sheet_row_info_set_height,
      	sheet_col_info_set_width): New functions based on the older
      	non-ColRowInfo versions.
      
      	* src/sheet-view.c (sheet_view_row_size_changed,
      	sheet_view_col_size_changed): Apply changes globaly if the whole
      	sheet is selected.
      d3276a42
  32. 24 Sep, 1998 2 commits
    • Arturo Espinosa's avatar
      Warning fix · 80006a01
      Arturo Espinosa authored
      80006a01
    • Miguel de Icaza's avatar
      New: · 169d1191
      Miguel de Icaza authored
      
      
      New:
      
      	- Bold button works properly (ie, it detects what sort of
      	  stuff you have and presses/unpresses accordingly).
      
      	- GNumeric now has operation modes: sheet and object.
      	  Using delete/backspace/edit-cut will let you kill
      	  objects.
      
      	- Lots of the bug fixes reported by Adrian/Federico.
      
      Here is the detailed changelog:
      
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/xml-io.c: Destroy the extra style.
      
      	* src/main.c (main): No need to init colors as they are auto-inited.
      
      	* src/style.c (font_compute_hints): At font creation time store a
      	couple of the font attributes for quick retrieval.
      
      	* src/sheet-view.c (sheet_view_construct): Do not allow this
      	button to have the focus either.
      
      	* src/item-bar.c (item_bar_draw): If the whole sheet is selected,
      	draw all of the columns in pressed presenstation
      
      	* src/sheet.c (sheet_is_all_selected): Return wheter all the sheet
      	is selected.
      
      	* src/utils.c (cell_name): Fixed cell name computation.
      	(parse_cell_name): Fixed parsing of the cell name.
      169d1191
  33. 23 Sep, 1998 2 commits
    • Miguel de Icaza's avatar
      At font creation time store a couple of the font attributes for quick · f7e3b6a2
      Miguel de Icaza authored
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/style.c (font_compute_hints): At font creation time store a
      	couple of the font attributes for quick retrieval.
      
      	* src/sheet-view.c (sheet_view_construct): Do not allow this
      	button to have the focus either.
      
      	* src/item-bar.c (item_bar_draw): If the whole sheet is selected,
      	draw all of the columns in pressed presenstation
      
      	* src/sheet.c (sheet_is_all_selected): Return wheter all the sheet
      	is selected.
      
      	* src/utils.c (cell_name): Fixed cell name computation.
      f7e3b6a2
    • Miguel de Icaza's avatar
      I got too agressive with the test so no Strings + Numbers were being · d4cf4336
      Miguel de Icaza authored
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-autofill.c (string_has_number): I got too agressive
      	with the test so no Strings + Numbers were being autofilled.
      
      	* src/workbook.c (workbook_setup_edit_area): Remove the CAN_FOCUS
      	flags form the accept and cancel buttons.  Bind the buttons.
      	(buttons): Neither Zoom-in and Zoom-out can take the focus.
      	(change_selection_font): New function to change the fonts of a
      	cell range.
      
      	* src/sheet.c (sheet_accept_pending_input): Renamed from
      	sheet_accept_pending_output.
      
      	* samples/: Added a new sample file: hypothetical-sales.
      d4cf4336
  34. 09 Sep, 1998 1 commit
    • Arturo Espinosa's avatar
      Ok, finally objects are fully editable. · 5837f657
      Arturo Espinosa authored
      
      
      Ok, finally objects are fully editable.
      
      We need support for saving the graphical objects.  It should be
      pretty simple, as things are kept nicely on a list of SheetObjects
      which can be dumped and restored from disk easily.
      
      Miguel.
      5837f657
  35. 08 Sep, 1998 1 commit