1. 26 Jun, 1999 1 commit
    • Miguel de Icaza's avatar
      The big GNUMERIC_PRINT merge into HEAD. · a5e65a30
      Miguel de Icaza authored
      
      
      The big GNUMERIC_PRINT merge into HEAD.
      
      Still some features are missing.  Check the TODO to see what is
      missing.
      
      1999-06-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/pixmaps.h: Removed unused pixmaps.
      
      	* src/corba-sheet.c (Sheet_corba_class_init): Fill in some missing
      	values fomr the GNOME::Gnumeric::Sheet epv interface.
      
      	* src/expr.c (eval_funcall): Removed unused variable.
      
      	* src/workbook.c (workbook_sheets): prepend and reverse instead of
      	appending all the time.  It is more efficient.
      
      	* src/style.c (x11_font_compute_hints): Renamed as well.  Might be
      	useful in the future.
      
      	* src/gnumeric-util.c (x11_font_get_italic_name,
      	x11_font_get_bold_name, x11_font_change_component): Renamed these
      	functions to reflect their actual usage.
      
      	* src/expr.c (expr_tree_new_constant): Change style to use early
      	return to keep indentation of the rest of the code at tab-1.  This
      	is a trick to keep indentation nice with 8-tab spaces.  Liberal
      	use of early returns, early continues, early breaks.
      
      	* src/cell.h (CELL_TEXT_GET): Kill unused macro.
      
      1999-06-25  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c (xml_read_cell): Merge the style we just read with
      	the existing information from the cell (which are the defaults).
      	This is only for compatibility with the old format
      
      1999-06-24  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c (style_font_new_from_x11): Implemented
      
      	* src/style.c (style_font_new): Improved matching of the font.
      
      	* src/xml-io.c 	(xml_write_style): Save Bold and Italic
      	properties.  Save Units as double.
      	(xml_read_style): Add conversion hook from old format.
      	(xml_read_style): Load properly italic and bold properties.
      
      	(xml_read_cell): Add new style reading code.  It is
      	compatible with the old Style reading code.
      	(xml_read_rows_info, xml_read_cols_info, xml_read_styles): Moved
      	Cols, Rows and Styles loading code here, for code clarity.
      
      	* src/style.c (style_font_new_simple): Include the scale in the
      	key lookup variable.
      
      	* src/xml-io.c: The FontDefs and the HREFs to the fonts were never
      	being used.  The new code for styles simplifies this.  Kill all
      	the references to the FontDefs urls and the font indeces.
      
      	* src/xml-io.c
      
      1999-06-23  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c: Major updates.
      	(xml_read_colrow_info): Use floating point for loading the
      	units, margin_a and margin_b.
      	(xml_write_colrow_info): Save units, margin_a and margin_b using
      	floating point.
      	(xml_set_value_double): Activate this function.
      	(xml_write_cell): Do not save the style here.  Lookup the style
      	id, and write a record with the style id link.
      	(xml_sheet_write): Add call to xml_cell_styles_init and
      	xml_cell_styles_shutdown to init and shutdown the cell styles in a
      	per-sheet basis.
      
      	Renamed functions to suit the gnumeric coding
      	sytle.  Fixed indentation.
      
      	File format now saves a different version.  We store all cell
      	styles first, and then we reference them.
      
      	(parse_xml_context_t): renamed from
      	parseXmlContext.  Add style_table hash table for storing all the
      	styles used by the cells on a workbook.  Used to dump Styles first
      	and then have the cells reference it.
      
      	* src/style.c (style_hash, style_compare): New routines to
      	put Styles on hash tables.
      
      	* src/workbook.c (workbook_sheets): Use g_list_prepend instead of
      	g_list_append and reverse the result.
      
      1999-06-14  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/cell.h: Killed ColType and RowType definitions.  They do not
      	save any noticeable amount of memory; we are not using them but
      	on the most useless places and finally they are the current limit
      	to our spreadsheet size.
      
      	* src/gnumeric-sheet.h: Use int instead of ColType, RowType
      	* src/item-cursor.h: Use int instead of ColType, RowType
      	* src/item-grid.h: Use int instead of ColType, RowType
      
      	* src/print-cell.c (CELL_DIM): Use _pt variants of the margins here.
      	(print_cell_text): and here.
      	(print_cell): and here.
      	(print_cell_range): and here.
      	(print_cell_grid): and here.
      
      1999-06-13  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/sheet.c (sheet_compute_col_row_new_size): Update margin_a
      	and margin_b from the points.
      	(col_row_info_init): New function to initialize a sample
      	ColRowInfo.  Inits the _pt fields.
      	(col_row_unit_distance): Use the new fields in computation.
      	(sheet_col_get_unit_distance): Use new fields in computation.
      
      	* src/dialog-printer-setup.c (do_setup_margin): Set scroll region.
      	(preview_page_create): Implement routine that draws the page for
      	the margin setup.
      
      	* src/sheet.h (ColRowInfo): Units are now doubles; margin_a_pt and
      	margin_b_pt are doubles that represent the a and b margins in
      	points.
      
      	* src/sheet.c (sheet_compute_col_row_new_size): Use the
      
      1999-06-11  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/cell-draw.c (cell_draw): Move the foreground setting routine
      	here and handle single-line and multiline coloring properly.
      
      	* src/print-info.c (unit_name_to_unit): New routine, returns the
      	UniName from the string name.
      
      	* src/dialog-printer-setup.c (dialog_printer_setup): Use
      	print_info_save and kill the do_save_settings routine for the
      	cleaner print_info routine.
      
      	* src/print-info.c (print_info_new): Now loads the default
      	settings from the saved configuration.
      	(print_info_save): Saves the print information to the gnome_config.
      
      1999-06-08  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/utils.c (str_trim_spaces): Moved str_trim_spaces ere.
      
      	* src/dialog-printer-setup.c (do_setup_main_dialog): Connect print
      	buttons.
      
      	* src/print-cell.c (print_cell_grid): Simplify routine.
      
      	* src/sheet.c (sheet_row_get_unit_distance,
      	sheet_col_get_unit_distance): Include  margins in computation.
      	This is broken, as the margins are now pixels, and they should be
      	made points.
      
      	* src/dialog-printer-setup.c (do_fetch_page_info): Fetch other values.
      	(do_save_settings): Saves the configuration.
      
      	* src/print-cell.c (print_border): Implement border drawing.
      	(print_cell_grid): Make this work as it should.
      
      	* src/print.c (compute_groups): Handle the case where the contents
      	fit entirely in one page.
      
      1999-06-07  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/print.c: New file.  Implements high-level printing.
      
      	* src/dialog-printer-setup.c: New file.  Implements the "Print
      	Setup" dialog box.
      
      1999-04-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/cell-draw.c: New file.  All of the cell screen drawing code
      	has been moved here now.
      
      	* src/print-cell.c: Enhanced code.
      
      	* src/workbook.c: hardcoded page size for testing purposes.
      
      1999-03-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	I do not like the current approach.  I do think that StyleFonts
      	should be static with regard to Zoom.
      
      	And we would keep a cache of X fonts that are used for a
      	particular size.
      
      	* src/style.c (style_font_new_from): New routine that creates a
      	new font.
      
      	* src/sheet.c (sheet_set_zoom_factor): Scale fonts used in the
      	Sheet.
      
      1999-02-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/dialog-printer-setup.c: New file.  Implements the workbook
      	page configuration dialog box.
      
      	* src/print-info.c, src/print-info.h: Manages the per-worbook
      	print options.
      
      1999-02-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/style.c (font_equal): Adapt function to the new StyleFont.
      	(style_font_new, style_font_new_simple): Adapt for the upcoming
      	gnome-print support.
      	(font_init): Adapt.
      
      	* src/xml-io.c: Use Gnome Print font scheme.
      	* src/workbook.c: ditto.
      	* src/cell.c: ditto.
      	* src/item-bar.c, src/item-edit.c: ditto
      
      	* src/dialog-cell-format.c: Disable font selector for now.
      a5e65a30
  2. 23 Jun, 1999 1 commit
  3. 21 Jun, 1999 1 commit
  4. 21 May, 1999 1 commit
  5. 16 May, 1999 1 commit
    • Heath Martin's avatar
      Small cut and paste fix. Use row here instead of col. · 9dd1d67b
      Heath Martin authored
      1999-05-15  Heath Martin <martinh@pegasus.cc.ucf.edu>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_compute_visible_ranges):
      	Small cut and paste fix.  Use row here instead of col.
      
      1999-05-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* configure.in (ALL_LINGUAS): Added slovak language.
      
      1999-05-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet.c (sheet_selection_to_string): New routine.  Returns a
      	string representation of the current selection.
      
      	* src/workbook.c (workbook_selection_to_string): New routine.
      	Retunrs a string representation of the current selection.
      
      1999-05-08  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      9dd1d67b
  6. 10 May, 1999 1 commit
  7. 08 May, 1999 1 commit
  8. 07 May, 1999 1 commit
  9. 05 May, 1999 1 commit
  10. 01 May, 1999 1 commit
  11. 30 Apr, 1999 1 commit
  12. 29 Apr, 1999 1 commit
  13. 24 Apr, 1999 1 commit
  14. 15 Apr, 1999 2 commits
    • Miguel de Icaza's avatar
      No longer destroys the Bonobo objects here. · 482a60ad
      Miguel de Icaza authored
      1999-04-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet.c (sheet_destroy): No longer destroys the Bonobo
      	objects here.
      
      	* src/sheet.h (Sheet): No longer keeps track of the ClientSites
      	here.
      
      	* src/sheet-object.c (sheet_finish_object_creation): Invoke new
      	class method to signal finalization of object creation.
      
      	* src/sheet-object-container.c, src/sheet-object-container.h: New
      	files that implement the Bonobo ClientSites
      	(SheetObjectContainers).
      
      	* src/Makefile.am (gnumeric_bonobo_SOURCES): Sources for Bonobo
      	compilation.
      
      	* src/sheet-object.c (sheet_object_construct): Create the bounding
      	box points here.
      	(sheet_set_mode_type): Fix from my previous reorganization:  Only
      	stop editing mode if the mode is SHEET_MODE_SHEET.
      	(sheet_button_press): Strategy change: now we accept
      	sheet->current_object and we stop editing here the object.
      
      	* src/sheet-object.h: points has been renamed to bbox_points.
      
      	* src/sheet-object-graphic.c (sheet_object_filled_realize):
      	Simplified this routine.  Also, we now update the bounding box
      	here.
      482a60ad
    • Miguel de Icaza's avatar
      SheetObjects are now GtkObjects, this is an abstract class. · 809d8e5e
      Miguel de Icaza authored
      
      SheetObjects are now GtkObjects, this is an abstract class.
      SheetObjectGraphics includes the graphic objects we had before.
      SheetObjectObject will be the Bonobo objects.
      
      PLUG AND PLAY TIME!
      
      Miguel.
      
      1999-04-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-object.c: Converted SheetObject to a Gtk+ object.
      	Splitted the functionality of the SheetObject into classes:
      	SheetObject abstract class;  SheetObjectGraphic for simple drawings;
      	SheetObjectFilled for objects that have a fill attribute.
      
      	* src/sheet-object-graphic.c: Implement the SheetObjectGraphic and
      	SheetObjectFilled objects.
      809d8e5e
  15. 13 Apr, 1999 1 commit
  16. 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
  17. 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
  18. 30 Mar, 1999 1 commit
  19. 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
  20. 08 Mar, 1999 1 commit
  21. 16 Feb, 1999 1 commit
  22. 12 Feb, 1999 1 commit
  23. 11 Feb, 1999 1 commit
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 07 Nov, 1998 1 commit
  37. 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
  38. 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
  39. 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