1. 23 Sep, 2000 1 commit
  2. 20 Sep, 2000 2 commits
  3. 17 Sep, 2000 1 commit
  4. 11 Sep, 2000 1 commit
    • Morten Welinder's avatar
      Quiet the test. · da9afceb
      Morten Welinder authored
      2000-09-11  Morten Welinder  <terra@diku.dk>
      
      	* configure.in (pspell): Quiet the test.
      da9afceb
  5. 06 Sep, 2000 2 commits
    • Michael Meeks's avatar
      Check for bonobo 0.19 · f1ca24dc
      Michael Meeks authored
      2000-09-06  Michael Meeks  <michael@helixcode.com>
      
      	* configure.in: Check for bonobo 0.19
      
      	* src/workbook.c: Add/Modify -> Add\\Modify for now.
      
      	* src/workbook-view.c (workbook_view_set_title): use get_toplevel
      	(workbook_view_set_size):
      
      	* src/workbook-private.h: add a main_vbox to put toolbars into.
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
      	hack for non-bonobized toolbars.
      
      	* src/workbook.c (workbook_show, workbook_hide, workbook_get_toplevel):
      	helper functions.
      
      	* src/corba-workbook.c (Workbook_show): use workbook show/hide
      
      	* src/analysis-tools.c (prepare_output): ditto.
      
      	* src/main.c (gnumeric_main): ditto.
      
      	* src/clipboard.c (clipboard_paste, x_selection_received),
      	(x_clipboard_bind_workbook): ditto.
      
      	* src/application.c (application_set_selected_sheet): use
      	workbook_get_toplevel
      
      	* src/history.c (file_history_cmd): ditto.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_filenames_dropped): ditto.
      
      	* src/xml-io.c (xml_workbook_write): get_toplevel upd.
      
      	* src/workbook.c (new_cmd, file_open_cmd, file_import_cmd): show / hide.
      	(workbook_setup_edit_area): get_toplevel
      f1ca24dc
    • Jody Goldberg's avatar
      Remainder of patch to handle non-cell dependents. · 01a95234
      Jody Goldberg authored
      2000-09-05  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Add test for pspell.
      	* acconfig.h : Ditto.
      
      	* s/cell.u.expression/cell.base.expression/
      	* s/cell.generation/cell.base.generation/
      	* s/cell.u.entered_text/cell.entered_text/  <- deprecated
      	* s/workbook.formula_cell_list/workbook.dependents/
      
      	* s/sheet_cell_expr_link/dependent_expr_link/
      	* s/sheet_cell_expr_unlink/dependent_expr_unlink/
      
      	* s/eval_queue_cell/dependent_queue_recalc/
      	* s/eval_queue_list/dependent_queue_recalc_list/
      	* s/eval_unqueue_cell/dependent_unqueue_recalc/
      	* s/eval_unqueue_sheet/dependent_unqueue_recalc_sheet/
      	*
      	* s/cell_add_dependencies/dependent_add_dependencies
      	* s/cell_drop_dependencies/dependent_drop_dependencies
      
      	* s/cell_formula_changed/dependent_changed/
      	* s/sheet_cell_expr_link/dependent_link/
      	* s/CELL_IN_EXPR_LIST/DEPENDENT_IN_EXPR_LIST/
      
      	* src/cell.c (cell_eval_content) : moved from eval.c
      
      	* src/eval.c (sheet_region_get_deps) : Take a Range rather than 4 int.
      	(drop_range_dep) : Use dependent_debug_name.
      	(dependency_range_ctor) : Take a CellPos as an arg rather than a Cell.
      	(handle_cell_single_dep) : Take an optional CellPos and a Dependent.
      	(handle_cell_range_deps) : Ditto. Do not check for singletons here.
      	(handle_tree_deps) : Ditto.  Call handle_cell_single_dep directly.
      	(cell_add_explicit_dependency) : Delete.
      	(get_single_dependencies) : Some const.
      
      	* src/cmd-edit.c (cmd_select_cur_depends) : Use dependent_list_filter
      	  to only show cell dependencies for now.
      
      	* src/dependent.c (dependent_list_filter) : new function.
      	(dependent_debug_name) : new function.
      
      	* src/history.c : Add a comment about File/Print Preview for
      	  translators.
      
      	* src/workbook.c (cb_cell_rerender) : Only cells need this.
      01a95234
  6. 03 Sep, 2000 1 commit
    • Almer. S. Tigelaar's avatar
      Modify to accept a NULL sheet for cell->sheet. · f265f363
      Almer. S. Tigelaar authored
      2000-09-03  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/cell-draw.c:
      	(cell_draw): Modify to accept a NULL sheet for
      	cell->sheet.
      
      	* src/item-grid.c, src/item-grid.h:
      	(item_grid_draw_border): Export this routine for use
      	by the preview-grid.
      
      	* src/preview-grid.h, src/preview-grid.c:
      	New, preview-grid canvasitem, based upon item-grid.
      
      	* src/preview-grid-controller.h, src/preview-grid-controller.c:
      	New, easy to use wrapper around canvas and preview-grid.
      
      	* src/dialogs/dialogs.h: Add autoformat dialog and
      	autoformat edit dialog invocation functions.
      
      	* src/dialogs/autoformat.glade: New,
      	glade file for autoformat dialog.
      
      	* src/dialogs/autoformat.glade.h: New,
      	translation header for autoformat dialog.
      
      	* src/dialogs/dialog-autoformat.c: New, source
      	for controlling autoformat dialog.
      
      	* src/sheet-view.c:
      	(sheet_view_get_style_font): Modify to accept a
      	NULL sheet. (defaults to zoomlevel 1)
      
      	* src/workbook.c:
      	(workbook_menu_format[]): Add autoformat.
      	(autoformat_cmd): New, invokes autoformat dialog.
      
      	* src/mstyle.c, mstyle.h:
      	(mstyle_replace_element): New, replaces an element
      	in an mstyle with an element from another mstyle.
      
      	* src/rendered-value.c, src/rendered-value.h:
      	(rendered_value_calc_size_ext): Same as the previous
      	rendered_value_calc_size, but accepts an mstyle as
      	extra parameter. the purpose of this and some other
      	minor changes from the rendered_value_calc_size is
      	to be able to calc the size of a sheetless cell.
      	(rendered_value_calc_size): Performs the same role
      	as the previous rendered_value_calc_size and
      	calls upon rendered_value_calc_size_ext to do its
      	thing.
      	(rendered_value_new_ext): Same as previous rendered_value_new
      	but accept an mstyle as parameter for sheetless cells.
      	(rendered_value_new): Exacly the same as the previous
      	render_value_new, but calls upon rendered_value_calc_size_ext.
      
      	* src/xml-io.c, src/xml-io.h:
      	(xml_search_child): Export for use by xml-io-autoft.c.
      	(xml_get_value_string): Idem.
      	(xml_set_value_string): Idem.
      	(xml_get_value_int): Idem.
      	(xml_set_value_int): Idem.
      	(xml_write_style): Idem.
      	(xml_read_style): Idem.
      
      	* src/xml-io-autoft.c, src/xml-io-autoft.h:
      	New, these handle the reading/writing of autoformat templates.
      
      	* src/format-template.h, src/format-template.c:
      	New, wrapper around the loading and saving and managing
      	of format templates.
      
      	* templates/autoformat:
      	Add default autoformat templates
      
      	* configure.in:
      	Modify to include the autoformat templates and define
      	a new variable for the autoformat templates directory
      	so we can find them at run-time
      f265f363
  7. 15 Aug, 2000 1 commit
    • Jody Goldberg's avatar
      Set the size after initializing everything else. · b9075446
      Jody Goldberg authored
      
      2000-08-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_new) : Set the size after initializing
      	  everything else.
      
      	* src/workbook-view.c (workbook_view_set_size) : size the notebook,
      	  not the toplevel window.
      
      	* src/colrow.h (ROW_INTERNAL_HEIGHT) : Delete.
      
      	* configure.in : CVS bonobo is 0.18.
      b9075446
  8. 13 Aug, 2000 1 commit
  9. 12 Aug, 2000 1 commit
    • Arturo Tena's avatar
      Fix libole2 test. · a87d1519
      Arturo Tena authored
      
      2000-08-07  Arturo Tena <arturo@directmail.org>
      
      	* configure.in : Fix libole2 test.
      a87d1519
  10. 02 Aug, 2000 1 commit
    • Michael Meeks's avatar
      update for BonoboX · 6e4b069a
      Michael Meeks authored
      2000-08-02  Michael Meeks  <michael@helixcode.com>
      
      	* configure.in: update for BonoboX
      
      2000-07-22  Michael Meeks  <michael@helixcode.com>
      
      	* src/sheet-object.c (sheet_finish_object_creation): unset
      	dragging.
      
      	* src/sheet-object-container.c (item_destroyed): conditional unref.
      6e4b069a
  11. 27 Jul, 2000 2 commits
    • Morten Welinder's avatar
      Make xbase plugin work as intended. · 9d685688
      Morten Welinder authored
      2000-07-27  Morten Welinder  <terra@diku.dk>
      
      	* boot.c (xbase_field_as_value): Plug huge leaks.  Fix 'I' case.
      	Partially fix 'B' case.
      	(xbase_load): Plug leak.
      
      	* xbase.c (xbase_read_field): It looks like '\0' is a terminator
       	too.  Sounds reasonable.
      	(xbase_close): Plug another huge leak.
      
      2000-07-26  Morten Welinder  <terra@diku.dk>
      
      	* xbase.c (deref_le_guint16, deref_le_guint32): New functions.
      	(xbase_open): Initialise ans->offset.
      	(xbase_read_header): Fix huge amounts of bogusities.
      	(xbase_read_field): Ditto.
      
      	* boot.c (xb_setdouble): Don't define until such time as it gets
       	used.
      9d685688
    • Jody Goldberg's avatar
      Check for names before values. · 76bfc7df
      Jody Goldberg authored
      
      2000-07-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parser.y (parse_string_as_value_or_name) : Check for names
      	  before values.
      
      	* configure.in : Update bonobo requirement to reflect release of 0.16
      	README : Ditto.
      76bfc7df
  12. 30 Jun, 2000 2 commits
  13. 29 Jun, 2000 1 commit
  14. 28 Jun, 2000 1 commit
    • Jody Goldberg's avatar
      new function. · 93f11589
      Jody Goldberg authored
      
      2000-06-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/functions/fn-sheet.c (GNUMERIC_VERSION) : new function.
      
      	* src/workbook.c (workbook_do_destroy) : No need to release the
      	  clipboard here.  The Sheet does it for us.
      
      	* src/workbook-format-toolbar.c : Add Fill to the default money
      	  format.
      
      	* src/symbol.c : The only symbols are functions.  The global table
      	  should not be world visible.
      
      	* src/sheet.c (sheet_flag_status_update_cell) : Take a CellPos.
      	(sheet_get_extent_cb) : Use Cell::pos rather than adding an
      	  indirection.
      	(cb_set_cell_content) : Use StyleFormat.
      	(sheet_cell_set_value) : Call sheet_flag_status_update_cell.
      	(sheet_cell_set_value) : Ditto.
      	(sheet_destroy) : Prepare to clear out named expressions.
      	(colrow_move) : Handle changes in cell_relocate signature.
      	(sheet_move_range) : Ditto.
      
      	* src/sheet-autofill.c : Use StyleFormats.
      
      	* src/position.c (parse_pos_init) : Global position are permitted.
      
      	* src/parser.y : Large change.  Do not automaticlly look for function
      	  names or named expressions in the lexer.  The lexer returns STRING
      	  and QUOTED_STRING.  The parser then does the appropriate lookups to
      	  potentially convert to something else.  This allows us to have sheet
      	  names that are the same as functions.
      
      	* src/parse-util.c (cellref_name) : Add flag to optionally disable the
      	  addition of the sheet name.  This is useful when printing
      	  Sheet2!A1:A3 rather than Sheet2!A1:Sheet2!A3.
      
      	* src/number-match.c (format_create_regexp) : Handle fill formats.
      
      	* src/mstyle.c (mstyle_get_border) : Fix constness.
      
      	* src/mathfunc.c (combin, fact) : Moved these here from
      	  functions/fn-math.c
      
      	* src/main.c (gnumeric_main) : No more constants_init, or
      	  global_symbol_init.
      
      	* src/func.c () : Reorg.  Remove some dead code.  Begin adding
      	  workbook local function support, Begin adding volatile, and
      	  semi-volatile functions.  Move the use of SymbolTable internal
      	  in preparation for eliminating it.
      
      	* src/format.c (format_number) : Improve support for pound, yen, and euro.
      	  Remember to produce a number when we hit spacing.
      
      	* src/expr.c : Have ExprFunc refer directly to the FunctionDefinition
      	  We still use a SymbolTable internally, but that will be merged out
      	  later.
      
      	* src/expr-name.c : Major reorg.  Not complete.
      
      	* src/corba-sheet.c (fill_corba_value) : Adjust to changes in
      	  cellref_name signature.
      
      	* src/commands.c (cmd_set_date_time_undo) : No need to manually call
      	  update_cell_flag.  cell_remove, and cell_set_text do that for us.
      	(cmd_set_date_time_redo) : Ditto.
      	  Use StyleFormat.
      
      	* src/clipboard.c (paste_cell) : Take the ExprRewriteInfo as an
      	  argument.
      	(clipboard_paste_region) : Init the ExprRewriteInfo.  We need to do
      	  this here rather than in cell_relocate because we may be moving a
      	  region, not just a single cell, and references within the region
      	  should not be changed.
      
      	* src/cell.c (cell_relocate) : Take the relocation info as an
      	  argument.  Non NULL indicates a request to check bounds.  We can not
      	  do this at the cell level. becuase we may be moving a block rather
      	  than just a single cell, and references into the block should NOT be
      	  rewritten.
      	(cell_set_text_and_value) : Take a StyleFormat.
      	(cell_assign_value) : Ditto.
      	(cell_set_value) : Ditto.
      	(cell_set_expr_internal) : Ditto.
      	(cell_set_expr_unsafe) : Ditto.
      	(cell_set_expr) : Ditto.
      
      	* src/auto-format.c (do_af_suggest) : Expression now refers directly
      	  to functionDef.
      93f11589
  15. 20 Jun, 2000 1 commit
  16. 19 Jun, 2000 1 commit
  17. 01 Jun, 2000 1 commit
    • Michael Meeks's avatar
      kill libole2 hack. · b82df064
      Michael Meeks authored
      2000-05-30  Michael Meeks  <michael@helixcode.com>
      
      	* src/Makefile.am (gnumeric_libs): kill libole2 hack.
      
      	* configure.in: kill CONFIG_SUBDIRS for libole2.
      b82df064
  18. 31 May, 2000 1 commit
  19. 29 May, 2000 1 commit
    • Michael Meeks's avatar
      update for new PersistStream API. · 6f789f04
      Michael Meeks authored
      2000-05-27  Michael Meeks  <michael@helixcode.com>
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_load),
      	(sheet_object_bonobo_load_from_file): update for new PersistStream API.
      
      	* configure.in (gnumeric_executable): check for bonobo 0.14
      6f789f04
  20. 21 May, 2000 1 commit
  21. 20 May, 2000 1 commit
    • Jody Goldberg's avatar
      Bump reqs. libglade >= .13, gnome-print .20 · e14a5378
      Jody Goldberg authored
      
      2000-05-20  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Bump reqs.  libglade >= .13, gnome-print .20
      
      	* src/cellspan.c (cell_calc_span) : Do not overlap spans when using
      	  center across selection.
      e14a5378
  22. 18 May, 2000 2 commits
  23. 17 May, 2000 3 commits
  24. 15 May, 2000 1 commit
  25. 10 May, 2000 5 commits
  26. 08 May, 2000 3 commits
  27. 07 May, 2000 1 commit
    • Jon K Hellan's avatar
      dialog-printer.[ch] have been superseded by gnome-print dialogs. Remove. · 4d67b0aa
      Jon K Hellan authored
      2000-05-07  Jon K Hellan  <hellan@acm.org>
      
              * src/dialogs/Makefile.am: dialog-printer.[ch] have been
              superseded by gnome-print dialogs. Remove.
      
      	* src/print.c (sheet_print): Make print button default. Add
      	accelerators.
      
      	* configure.in: Depend on gnome-print >= 0.19
      
              * plugins/python/Makefile.am: Include gnumeric-defs.py.
      4d67b0aa