1. 06 Dec, 1999 1 commit
    • Michael Meeks's avatar
      Privatize FunctionDefinition · 90956c8c
      Michael Meeks authored
      remove dump.[ch]; moving to func.c for now,
      various stylistic cleans,
      make plugin-sample better practice,
      
      1999-12-06  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/eval.c (search_cell_deps): Cull dead 'draw' code.
      
      1999-12-05  Michael Meeks  <mmeeks@gnu.org>
      
      	* src/expr.c (eval_funcall): Extract body to func.c
      	(cell_ref_make_absolute, free_values): move to func.c
      	(do_expr_decode_tree): Use function_def_get_name
      
      	* src/func.c (function_call_with_list): Clean to use new
      	helper functions + update style; use eval_expr not
      	eval_expr_real in 1 place; cleans flow;
      	(cell_ref_make_absolute): make args more convenient.
      
      	* Makefile.am: Kill dump.[ch]
      
      	* src/dump.[ch]: kill + move to
      
      	* src/func.c: (function_dump_defs).
      
      	* src/main.c (gnumeric_main): Use function_dump_defs
      
      	* src/func.c (function_def_get_fn): implement.
      	(function_def_get_user_data, function_def_set_user_data),
      	(function_def_count_args, function_def_get_name): implement.
      	(function_def_get_arg_type): implement.
      	Hide FunctionDefinition here. Stylistic cleans.
      
      	* plugins/python/python.c (marshal_func): use function_def_count_args
      	(__register_function): kill ancient mem leak in duff code.
      
      	* src/dialogs/dialog-function-select.c (function_definition_update):
      	use function_def_get_name.
      
      	* src/dialogs/dialog-function-wizard.c (arg_data_list_new): rewrite to
      	use count_args + get_arg_type: much safer. (get_text_value): use get_name.
      
      	* src/expr.h: Add user_data to function definition + hack it out.
      
      	* src/sheet.c (sheet_cell_get, sheet_cell_fetch): move up & inline
      90956c8c
  2. 20 Nov, 1999 1 commit
  3. 18 Nov, 1999 1 commit
  4. 16 Nov, 1999 1 commit
  5. 14 Nov, 1999 1 commit
  6. 12 Nov, 1999 1 commit
  7. 09 Nov, 1999 1 commit
  8. 07 Nov, 1999 1 commit
  9. 26 Oct, 1999 1 commit
  10. 25 Oct, 1999 2 commits
    • Michael Meeks's avatar
      Update NEWS & TODO ( big clean ), · feed2c7e
      Michael Meeks authored
      More Style docs,
      cell-span fixes.
      feed2c7e
    • Miguel de Icaza's avatar
      Create the span if required. · d069a550
      Miguel de Icaza authored
      1999-10-24  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/cellspan.c (cell_register_span): Create the span if required.
      
      	* src/sheet.c (sheet_destroy_contents): Remove debugging messages.
      	(sheet_row_new): Row spans are now created on demand.
      d069a550
  11. 24 Oct, 1999 1 commit
  12. 22 Oct, 1999 1 commit
  13. 21 Oct, 1999 1 commit
    • Miguel de Icaza's avatar
      Focus current sheet also to kill any F2 editing. · 14251401
      Miguel de Icaza authored
      1999-10-21  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/sheet.c (sheet_accept_pending_input): Focus current sheet
      	also to kill any F2 editing.
      
      	* configure.in (bonobo): Require Bonobo 0.5
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_selection_cursor_base): New
      	routine to control the "base" spinning location.
      
      	* src/item-grid.c (item_grid_button_1): Start cell selection if
      	user clicks and a selection is going on.  Reset the spin base here.
      
      	* src/sheet.c (sheet_cancel_pending_input): Queue a recalc here,
      	as we have modified the cell values.
      14251401
  14. 17 Oct, 1999 1 commit
    • Miguel de Icaza's avatar
      Set the Column/Row dimensions here after loading them, as the new · 0f62302a
      Miguel de Icaza authored
      1999-10-16  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c (xml_read_colrow_info): Set the Column/Row
      	dimensions here after loading them, as the new
      	sheet_set_zoom_factor can no longer be used to reset lingering
      	values (the value of the pixels was being computed here after we
      	had read the units).
      
      	* src/eval.c (cell_get_dependencies): Prototype change.  We now
      	take the Cell as an argument and we scan all the sheets that
      	depend on us.
      0f62302a
  15. 04 Oct, 1999 1 commit
    • Jody Goldberg's avatar
      - Large speed improvement loading by removing the lists of cells in cols, and · 7d0ab7ad
      Jody Goldberg authored
        keeping cols rows in segmented arrays.
      
      - Large speed improvement in exit by operating on the entire sheet rather than
        cell by cell.
      
      - Large speed improvement in Col/Row auto-fills.  they're still too damn slow
        and we use too much memory, but its a start.
      
      - Insert/delete/Shift rows/cols now correctly adjusts references to and from
        the region.
      
      - Code in place to restructure 'copy'
      
      - A few minor dialog adjustments, some from me, some from the mailing list.
      7d0ab7ad
  16. 28 Sep, 1999 1 commit
  17. 10 Sep, 1999 1 commit
    • Miguel de Icaza's avatar
      Updated to the new sheet selection API changes. · b5d837ae
      Miguel de Icaza authored
      1999-09-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/corba-sheet.c: Updated to the new sheet selection API
      	changes.
      
      	* src/gnumeric-sheet.c (destroy_item_editor): Removed FIXME
      	comment.  More fixing from Federico's talk
      	(gnumeric_sheet_stop_cell_selection): ditto
      
      	* src/cell.c: Replaced unrefs of windows with destroys.  Federico
      	explained a thing or two to me today.
      
      	* src/file.c (dialog_query_load_file): Added a key handler to
      	handle ESC on dialog boxes to mean cancel.
      	(workbook_save_as): ditto.
      b5d837ae
  18. 08 Sep, 1999 1 commit
    • Jody Goldberg's avatar
      Wed Sep 8 14:11:52 EDT 1999 · 2264af5a
      Jody Goldberg authored
          1st stab at scrollbars adjusting to visible region.
          Move selection code into a new file, no changes.
          Minor const fixups.
      2264af5a
  19. 02 Sep, 1999 1 commit
  20. 26 Aug, 1999 1 commit
  21. 19 Aug, 1999 1 commit
  22. 17 Aug, 1999 1 commit
    • Miguel de Icaza's avatar
      Added cell_content_changed signal. (workbook_do_destroy): Do not enable · 637e6a62
      Miguel de Icaza authored
      1999-08-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/workbook.c (workbook_class_init): Added cell_content_changed
      	signal.
      	(workbook_do_destroy): Do not enable widgets to be focused.
      
      	* src/cell.c (cell_content_changed): Calls workbook_cell_changed.
      	This is for Paolo and his speech system for GNOME.
      
      	* configure.in: New bonobo detection code and support for not
      	compiling Bonobo support even if it is present on the system
      637e6a62
  23. 16 Aug, 1999 1 commit
  24. 07 Aug, 1999 1 commit
    • Miguel de Icaza's avatar
      Use the standard procedure to set the font. · f8361526
      Miguel de Icaza authored
      1999-08-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/corba-sheet.c (Sheet_cell_set_font): Use the standard
      	procedure to set the font.
      
      	* src/cell.c: deleted finally cell_set_font.
      
      	* src/workbook.c: Reorganization to make the code be a GtkObject.
      	Redone the destruction bits of the Workbook.
      
      	* src/workbook.h: Split sheet.h into workbook.h and sheet.h
      
      	* src/workbook.h: Now the Workbook is a GtkObject or a
      	GnomeObject, depending on the compilation flags.
      f8361526
  25. 05 Aug, 1999 1 commit
    • Morten Welinder's avatar
      Obsolete -- #if 0 for now. · 30c54a98
      Morten Welinder authored
      1999-08-05  Morten Welinder  <terra@diku.dk>
      
      	* src/cell.c (cell_set_font): Obsolete -- #if 0 for now.
      
      	* src/cell.h: Remove now-static cell_formula_changed,
       	calc_text_dimensions, and cell_set_font.
      30c54a98
  26. 04 Aug, 1999 1 commit
  27. 03 Aug, 1999 1 commit
    • Morten Welinder's avatar
      Handle integer operations more carefully with respect to overflow. · 07999d52
      Morten Welinder authored
      1999-08-02  Morten Welinder  <terra@diku.dk>
      
      	* src/expr.c (eval_expr_real): Handle integer operations more
       	carefully with respect to overflow.
      
      	* src/cell.c (cell_cleanout): Don't unlink unless there is a sheet
       	to unlink from.
      
      	* src/collect.c (float_range_function2): Actually call the right
       	function.
      	(collect_floats_value): Fix type of result.
      
      	* src/mathfunc.c (range_rsq_pop, range_rsq_est): New functions.
      
      	* src/fn-stat.c (gnumeric_pearson): Simplify.
      	(gnumeric_rsq): Simplify.
      07999d52
  28. 01 Aug, 1999 1 commit
    • Morten Welinder's avatar
      This is somewhere between tragic and ridiculous. INTERSECT and friends · afc6b355
      Morten Welinder authored
      still leak like crazy.
      
      
      1999-08-01  Morten Welinder  <terra@diku.dk>
      
      	* src/format.c (format_number): YAL -- yet another leak.
      
      	* src/fn-string.c (gnumeric_text): Plug leak.
      
      	* src/expr.c (do_expr_tree_unref): Plug array value leak.
      
      	* src/cell.c (cell_set_array_formula): Unref the wrappers so we
       	don't leak a reference.
      
      	* src/fn-math.c (gnumeric_countif): Initialise total_num member.
      afc6b355
  29. 30 Jul, 1999 1 commit
    • Morten Welinder's avatar
      Improvements after VALUE_ERROR. · 27c1c882
      Morten Welinder authored
      1999-07-30  Morten Welinder  <terra@diku.dk>
      
      	* src/cell.c (cell_cleanout): New function.
      	(cell_set_formula): Don't bother with CELL_ERROR.  Set value field
       	in all cases.
      	(cell_set_array_formula): Set cell values.
      	(cell_set_value_simple): Simplify using cell_cleanout.
      	(cell_set_text_simple): Ditto.
      	(cell_set_formula_tree_simple): Ditto.
      	(cell_destroy): Ditto.
      	(cell_get_text): Simplify.
      	(cell_get_content): Ditto.
      
      	* src/eval.c (cell_eval): Reorganise slightly.
      
      	* src/expr.c (eval_expr_real): value should no longer be null.
      
      	* src/cell.h (CELL_ERROR): Obsolete.
      27c1c882
  30. 29 Jul, 1999 1 commit
  31. 27 Jul, 1999 1 commit
  32. 26 Jul, 1999 1 commit
  33. 25 Jul, 1999 1 commit
  34. 12 Jul, 1999 2 commits
    • Jody Goldberg's avatar
      Add SplitsArray array exception for array-formula support. · d9a0ec3d
      Jody Goldberg authored
      1999-07-12  Jody Goldberg  <jgoldberg@home.com>
      
      	* src/Gnumeric.idl : Add SplitsArray array exception for array-formula
      	  support.
      
      	* src/cell.[ch] (cell_set_border) : Const.
      
      	* src/expr.[ch] (value_area_get_width, value_area_get_height) : Const.
      
      	* src/fn-math.c : Added TRANSPOSE.
      
      	* wizards/graphics/*.c : Minor text tweaks so that things come closer
      	  to compiling.
      d9a0ec3d
    • Arturo Espinosa's avatar
      WOOOHOO! · edb73867
      Arturo Espinosa authored
      
      
      WOOOHOO!
      
      We have the font selector now :-)
      
      A nice, crisp, glade-quality, clean-code, beautiful miggeee-hack font-selector
      
      MIguel
      edb73867
  35. 11 Jul, 1999 1 commit
    • Jody Goldberg's avatar
      - Disable insert/delete row/column that would split an array-formula · a3506bf7
      Jody Goldberg authored
      - Enable cut/copy/paste for array formulas.
      - Fix multi-line cell drawing & whitespace issues.
      - Change the default column width & grid colour to more closely match XL
      - Add the edit popup menu in the row/col headers
      - Short circuit the insert/delete dialogs to directly insert/delete when
        an entire row/column is selected.
      a3506bf7
  36. 09 Jul, 1999 2 commits
    • Miguel de Icaza's avatar
      Changed prototype of int_compare to eliminate a warning. · 7375da4f
      Miguel de Icaza authored
      1999-07-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/analysis-tools.c: Changed prototype of int_compare to
      	eliminate a warning.
      
      	Removed unused variables.
      
      	* src/cell.c: #inlcude gnumeric-util to eliminate warning.
      
      	* src/fn-financial.c: Fixed all the help strings to get the
      	SEELASO correctly done
      
      	* src/style.c: Zoom factor 1.0 is a reminder to me, not a warning.
      7375da4f
    • Miguel de Icaza's avatar
      Reverted last plan. We do need a sheet_view_construct, as we require · d59eb822
      Miguel de Icaza authored
      
      1999-07-09  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/sheet-view.c (sheet_view_construct): Reverted last plan.  We
      	do need a sheet_view_construct, as we require sheet_view->sheet to
      	be set.
      
      1999-07-08  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/cell.c (calc_text_dimensions): Use gdk_fonts for measuring
      	the strings on the screen.  Basically, back out using GnomeFont here.
      
      	* src/print-info.c (render_date, render_time): Finished
      	implementing.
      	(render_opcode): Enable argument mechanism to extend the number of
      	possible formats.  Excel accepts stuff like &[DATE], we extend
      	this to accept &[DATE:mmmm-yyyy].  The argument for &[DATE] and
      	&[TIME] is a regular Gnumeric formatting code (ie, compattible
      	with the cell formating in Excel).
      
      	* src/sheet-view.h: Change style to suit forward declaration
      	structure.
      
      	* src/sheet.h: Use forward declaration for SheetView.
      
      	* src/sheet.c (sheet_new_sheet_view, sheet_destroy_sheet_view):
      	New routines for managing the sheet views.
      
      	* src/sheet-view.c: Killed sheet_view_construct, there was nothing
      	really required there.  Moved all the code to sheet_view_init.
      	(sheet_view_scrollbar_display, sheet_view_set_header_visibility):
      	New routines that control the visibility of the various gadgets of
      	a SheetView.
      
      	* embeddable-grid.c, embeddable-grid.h: New files.  They implement
      	the Bonobo GnomeEmbeddable interfaces for embedding Gnumeric in
      	applications.
      
      	* src/workbook.c (workbook_new, workbook_core_new): Split this
      	routine in two:  GUI independant and GUI dependant.  The next step
      	is to provide multiple views of a workbook (although, I am not
      	sure I want this).
      	(workbook_new_with_sheets): Kill dead code.
      
      	* src/corba-sheet.c (Sheet_row_height, Sheet_col_width,
      	Sheet_max_cols_used, Sheet_max_rows_used): New methods.
      
      	* src/Gnumeric.idl (Sheet): new methods max_cols_used,
      	max_rows_used, col_width, row_height.
      
      	(Grid): New interface for embeddable grids.
      
      	* src/print-info.c (hf_format_render): Rendering routine for the
      	header and footers formats.
      
      1999-07-09  Miguel de Icaza  <miguel@gnu.org>
      
      	* ms-excel-write.c (biff_put_text): Intiialize variable.
      d59eb822
  37. 08 Jul, 1999 1 commit