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. 10 Jun, 1999 1 commit
  3. 09 Jun, 1999 1 commit
  4. 26 May, 1999 1 commit
  5. 22 May, 1999 1 commit
  6. 17 May, 1999 1 commit
    • Miguel de Icaza's avatar
      Return false if the cell name is outside the boundaries of the · 536fa980
      Miguel de Icaza authored
      1999-05-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/utils.c (parse_cell_name): Return false if the cell name is
      	outside the boundaries of the spreadsheet.
      
      	* src/corba-sheet.c (Sheet_range_set_text): Implement.
      	(Sheet_range_set_formula): Implement.
      	(Sheet_range_set_format): Implement.
      
      	* src/ranges.c (range_parse, range_list_parse, range_list_destroy,
      	range_list_foreach_full, range_list_foreach_all,
      	range_list_foreach, range_set_style): New functions.  Used by the
      	corba-sheet code.
      
      	* src/corba-sheet.c (Sheet_range_get_values): Implement
      	vector-based result return.
      
      	* src/xml-io.c (xmlSetGnomeCanvasPoints): use g_malloc instead of alloc.
      
      	* src/dialog-solver.c (constr_add_click): Use g_malloc instead of
      	alloc.  Use g_new instead of malloc.
      
      	* src/utils.c (parse_cell_name_list): Add parameter checking.  Use Migueestyle.
      536fa980
  7. 07 May, 1999 1 commit
  8. 06 May, 1999 1 commit
  9. 18 Apr, 1999 1 commit
  10. 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
  11. 13 Apr, 1999 1 commit
  12. 08 Apr, 1999 1 commit
  13. 07 Apr, 1999 1 commit
  14. 06 Apr, 1999 1 commit
    • Miguel de Icaza's avatar
      New function. Used in an initial pass over the XML file to load all of the · c7f8e1c0
      Miguel de Icaza authored
      
      
      1999-04-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/xml-io.c (createXmlSheet): New function.  Used in an initial
      	pass over the XML file to load all of the Sheets defined there.
      	(readXmlWorkbook): Now this does two passes at loading the sheet:
      	the first pass creates the sheets, the second pass actually loads
      	the contents.
      c7f8e1c0
  15. 23 Mar, 1999 1 commit
  16. 13 Mar, 1999 1 commit
  17. 10 Jan, 1999 1 commit
  18. 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
  19. 28 Dec, 1998 2 commits
    • 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
    • Miguel de Icaza's avatar
      Use cell_get_content instead of cell_get_text. · d88cc665
      Miguel de Icaza authored
      1998-12-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/xml-io.c (writeXmlCell): Use cell_get_content instead of
      	cell_get_text.
      
      	* src/cell.c (cell_get_content): New function.
      d88cc665
  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. 28 Oct, 1998 1 commit
  22. 27 Oct, 1998 1 commit
  23. 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
  24. 29 Sep, 1998 1 commit
    • Miguel de Icaza's avatar
      Changed the formatting of it to be like the rest of Gnumeric. · ef54b95e
      Miguel de Icaza authored
      1998-09-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/xml-io.c: Changed the formatting of it to be like the rest
      	of Gnumeric.
      
      	* src/fn-math.c, src/fn-date.c: Simplify routines to use
      	value_float and value_int.
      
      	* src/expr.c (value_float, value_int): New utility functions to
      	create values of type integer and float.
      
      	* src/sheet.c (sheet_set_text): Use the matching engine on entered text
      
      	* src/cell.c (cell_set_text_simple): New function.  Does not queue
      	cell computations nor queue any redraws
      	(cell_content_changed): New function: Queues recomputations for
      	cells that depend on the contents of the argument.
      	(cell_set_format_simple): New routine, like cell_set_format but
      	does not render the value nor queues a redraw.
      
      	* src/xml-io.c: Use workbook_recalc_all instead of workbook_recalc
      
      	* src/fn-math.c (gnumeric_log10, gnumeric_log, gnumeric_log2):
      	Range check fix was wrong.  The valid range does not include
      	zero.  Thanks to Morten Welinder for noticing this.
      	(gnumeric_cosh): Call cosh, not cos.
      	Reordered this file to have the help always before the function
      	that defines it.
      	(callback_function_or): Bug fix: any non-zero value is considered
      	to be TRUE.
      	(gnumeric_fact): Use exp (lgamma (n+1)) to compute large
      	factorials (this only applies to factorials over 40).
      
      	* src/about.c (dialog_about): Stop using gnome_dialog_set_modal.
      ef54b95e
  25. 26 Sep, 1998 1 commit
  26. 24 Sep, 1998 2 commits
    • Daniel Veillard's avatar
      2546d46a
    • 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
  27. 23 Sep, 1998 2 commits
    • Miguel de Icaza's avatar
      Accept underscores in identifiers. · 2abd0f81
      Miguel de Icaza authored
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y (yylex): Accept underscores in identifiers.
      
      	* src/xml-io.c (readXmlCell): Set the content of the cell even if
      	the file contains NULLS.
      
      	* src/style.c (style_font_new): Better tolerance to missing fonts.
      
      	* src/xml-io.c: Remove geometry setting: it has some bad side
      	effects.
      
      	* src/func.c (constants_init): Add a GNUMERIC_VERSION constant.
      2abd0f81
    • Daniel Veillard's avatar
      Set-up compression of output, Daniel. · 8933a113
      Daniel Veillard authored
      8933a113
  28. 22 Sep, 1998 1 commit
    • Miguel de Icaza's avatar
      Save colors. Save pattern. (readXmlStyle): return the value. Start with an · beff1ee5
      Miguel de Icaza authored
      1998-09-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/xml-io.c (writeXmlStyle): Save colors.  Save pattern.
      	(readXmlStyle): return the value.  Start with an empty style. Load
      	font.
      	(xmlGetColorValue): Use the style color allocation routines.
      	(readXmlCell): Load style. Merge styles if an element is missing.
      	Trim the cell tail content (spaces and newlines at the end).
      	Changed the use of all hash tables to use strings instead of
      	pointers.
      	(readXmlObject); Call sheet_object_realize on the object loaded.
      
      	* src/item-cursor.c (item_cursor_autofill_event): Commted out
      	debugging code.
      
      	* src/sheet-autofill.c (string_has_number): Bug fix: it was
      	assuming every string had a number at the end.
      
      	* src/workbook.c (workbook_new): Handle to destroy signal.  Add
      	Close option to file menu.
      
      	* src/style.c, src/style.h (border_equal): Colors in the
      	BorderStyler are now stored as StyleColors.
      
      	* src/sheet.c (sheet_shift_col): Small buglette fixes: we need to
      	advance our row walker here ;-)
      	(sheet_shift_row): Same error was here.
      beff1ee5
  29. 21 Sep, 1998 1 commit
    • Miguel de Icaza's avatar
      When decoding a tree, include the argument separator. Also, loop properly · 70717960
      Miguel de Icaza authored
      1998-09-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/expr.c (do_expr_decode_tree): When decoding a tree, include
      	the argument separator.  Also, loop properly trough the arguments
      	being decoded.
      
      	(function_call_with_values, function_def_call_with_values): New
      	functions: these ones are for the plugins so that a plugin can
      	invoke other functions in Gnumeric.
      
      	* src/fn-date.c (gnumeric_now): The serial number returned by
      	NOW() should be relative to 1900/1/1, not year zero.
      
      1998-09-20  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/expr.c (eval_expr): Fix the way we computed expressions.
      
      	* src/eval.c (cell_eval): Maintain a CELL_ERROR flag to know if
      	the value is NULL due to an error or to the cell not being
      	evaluated.
      
      	* src/expr.c (funcion_call_with_values): Add a routine to allow
      	plugins to call other functions defined in Gnumeric.
      
      	* src/style.c: Handle the pattern property of the styles.
      
      	* src/style.h: Pattern style is now just a 4 bit quantity, instead
      	of a RefCounted structure.
      
      	* src/plugin.c: Include gnumeric-util.h
      70717960
  30. 18 Sep, 1998 1 commit
    • Miguel de Icaza's avatar
      If there is a selection of columns or rows, change the sizes of all of the · f8ea4ab6
      Miguel de Icaza authored
      1998-09-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-view.c (sheet_view_row_size_changed,
      	sheet_view_col_size_changed): If there is a selection of columns
      	or rows, change the sizes of all of the columns.
      
      	* src/sheet.c (sheet_row_get_distance, sheet_col_get_distance):
      	optimized to be O(n) instead of O(n^2) using
      	(col_row_distance): new routine to compute distances.
      
      	* src/sheet-view.c (sheet_view_redraw_cell_region): Add the
      	scrolling offset to the x and y positions to draw properly
      
      	* src/xml-io.c (readXmlSheet): Call sheet_set_zoom_factor to
      	initialize the ->pixels field.
      f8ea4ab6
  31. 17 Sep, 1998 3 commits
  32. 16 Sep, 1998 1 commit
  33. 11 Sep, 1998 1 commit
  34. 02 Sep, 1998 1 commit
    • Miguel de Icaza's avatar
      New file, new routines to deal with file save and file load dialog boxes. · 0ef3dbc4
      Miguel de Icaza authored
      1998-09-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/file.c (workbook_save_as, workbook_save,
      	dialog_query_load_file): New file, new routines to deal with file
      	save and file load dialog boxes.
      
      	* src/workbook.c: Improved our toolbar with new actions.
      
      	* src/xml-io.c: Fixed the order in which parameters were passed to
      	sheet_cell_get/sheet_cell_new
      0ef3dbc4