1. 07 May, 1999 1 commit
  2. 05 May, 1999 1 commit
  3. 03 May, 1999 1 commit
  4. 02 May, 1999 1 commit
  5. 30 Apr, 1999 2 commits
  6. 29 Apr, 1999 2 commits
  7. 24 Apr, 1999 1 commit
  8. 17 Apr, 1999 1 commit
  9. 15 Apr, 1999 2 commits
  10. 13 Apr, 1999 1 commit
  11. 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
  12. 11 Apr, 1999 2 commits
  13. 07 Apr, 1999 1 commit
  14. 03 Apr, 1999 1 commit
  15. 30 Mar, 1999 1 commit
  16. 27 Mar, 1999 1 commit
  17. 26 Mar, 1999 1 commit
  18. 25 Mar, 1999 1 commit
  19. 18 Mar, 1999 1 commit
  20. 15 Mar, 1999 1 commit
    • Miguel de Icaza's avatar
      Detects integer over/under flow. · 32cf65a4
      Miguel de Icaza authored
      1999-03-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/fn-math.c (callback_function_sum): Detects integer
      	over/under flow.
      
      	* src/expr.c (eval_expr): Add integer overflow code for addition
      	and substraction.
      32cf65a4
  21. 14 Mar, 1999 1 commit
  22. 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
  23. 22 Feb, 1999 1 commit
    • Miguel de Icaza's avatar
      1999-02-22 Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu> · e712beb5
      Miguel de Icaza authored
      1999-02-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      
      1999-02-22  Tim Mooney  <mooney@dogbert.cc.ndsu.nodak.edu>
      
      	* plugins/guile/plugin.c (func_scm_apply): Initialization of
      	structure is done in the function body, rather thatn when it is
      	declared.  This is necessary because struct initializer must be
      	determinable at compile time, and those aren't.
      
      	* src/expr.c (eval_expr): Add at least one statement to the
      	default: handler in the case.
      
      	* src/fn-math.c: provide a break for default handlers.
      	* src/item-edit.c (entry_event): ditto
      
      	* src/dialog-cell-format.c (create_number_format_page): Initialize
      	in the body, like above.
      
      1999-02-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* plugins/guile/plugin.c (func_scm_apply): Initialize the
      e712beb5
  24. 19 Feb, 1999 1 commit
    • Miguel de Icaza's avatar
      Do not render the value if the result is an error. · f29179e1
      Miguel de Icaza authored
      1999-02-19  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/clipboard.c (paste_cell): Do not render the value if the
      	result is an error.
      
      	* src/cell.c (cell_copy): Do not copy the value of a cell when the
      	value is NULL (due to the cell having an error).
      
      	* src/expr.c (eval_expr): Evaluate binary operations in parts to
      	keep the correct error message on an operation if possible.
      	(eval_expr): Propagate errors.
      
      	* src/item-edit.c (item_edit_draw): Sync the before-cursor and
      	after-cursor Y-display text cordinate.
      
      	* src/expr.c (eval_funcall): Add type checking for the simple
      	functions.
      
      	* doc/C/Makefile.am (install-data-local): use topsrcdir here (fix
      	from Ian Campbell <ijc25@cam.ac.uk>
      
      	* src/fn-math.c (gnumeric_not): Implement NOT.
      f29179e1
  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. 10 Jan, 1999 1 commit
    • Miguel de Icaza's avatar
      Reorganization. Hanlde VALUE_CELLREF here and make OPER_VAR and · 910cc0b7
      Miguel de Icaza authored
      1999-01-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/eval.c (add_value_deps): Reorganization.  Hanlde
      	VALUE_CELLREF here and make OPER_VAR and OPER_CONSTANT call
      	add_value_deps.
      
      	* src/expr.c (do_expr_tree_relocate, expr_tree_relocate): New
      	routine that returns an ExprTree relocated.
      	(value_copy_to): Handle the VALUE_CELLREF type.
      
      	* src/expr.h: define VALUE_CELLREF
      
      	* src/parser.y (yylex): Type fix.
      	When creating values of type VALUE_CELLREF, set this value.
      
      1999-01-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet.c (sheet_move_column): Update to new cell_relocate
      	semantics.
      	(sheet_shift_row): ditto.
      	(sheet_insert_row): ditto.
      	(sheet_delete_row): ditto.
      	(sheet_shift_col): ditto.
      
      	* src/clipboard.c: Update to new cell_relocate semantics.
      	Remove the old GTK compatibility code.
      
      	* src/cell.c (cell_relocate): We do not need to reference this
      	formula.
      	This routine now takes delta-x and delta-y values for the
      	relocation, instead of absolute cordinates.  To implement the
      	proper semantics of cell movement that other spreadsheets implement
      910cc0b7
  27. 03 Jan, 1999 2 commits
    • Miguel de Icaza's avatar
      Add termination NULL to the OPER_NEG operation. · 743b71bf
      Miguel de Icaza authored
      1999-01-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/expr.c (do_expr_decode_tree): Add termination NULL to the OPER_NEG
      	operation.
      743b71bf
    • 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
  28. 30 Dec, 1998 1 commit
  29. 28 Dec, 1998 1 commit
  30. 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
  31. 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
  32. 14 Oct, 1998 1 commit
  33. 02 Oct, 1998 1 commit
    • Miguel de Icaza's avatar
      Removed unused variables · e5d027e2
      Miguel de Icaza authored
      1998-10-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/item-grid.c (item_grid_event): Removed unused variables
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_start_cell_selection,
      	gnumeric_sheet_selection_extend,
      	gnumeric_sheet_selection_cursor_place): New routines for letting
      	the user use the mouse to select a cell range.  Invoked from
      	item-grid.c
      
      	* src/item-grid.c (item_grid_event): Clean and reorgranize the
      	event handler, remove unused variables.
      
      	* src/gnumeric-sheet.c (selection_expand_horizontal): -1 now means
      	"shrink the selection", which means Left/Up keys shrink.
      	Right/Down expand.
      	(selection_expand_vertical): likewise.
      
      	* src/format.c (format_number): Fixed memory leak: this is a
      	pretty bad construction: g_string_append (s, alloc_string()).  I
      	just did not see it coming.  Taking metal note of this.
      
      	* src/number-match.c (format_create_regexp): Fixed memory leaks.
      	The strings returned by create_option_list need to be released.
      
      	* src/style.c (style_color_new): Important bug fix:  The key I was
      	passing was a GdkColor, but our hash table stored StyleColors
      	inside.
      
      	* src/format.c (append_year): Better fix, suggested by Morten
      	Welinder <terra@diku.dk>
      e5d027e2
  34. 29 Sep, 1998 2 commits
    • Arturo Espinosa's avatar
    • 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