1. 12 Oct, 2002 2 commits
    • Jody Goldberg's avatar
      jump to the new interface. · dc2319e8
      Jody Goldberg authored
      
      2002-10-12  Jody Goldberg <jody@gnome.org>
      
      	* src/func-builtin.c (func_builtin_init) : jump to the new interface.
      
      	* src/func.h : some renaming and api cleanup.
      	  The big one was
      	    s/ModulePluginFunctionInfo/GnmFuncDescriptor/
      	  Some extension of that structure to add additional fields (at the
      	  end) and api changes to use it pervasively.  This includes
      	  placeholders for function flags, and implementation and testing
      	  status.
      
      	  Some general cleanup with
      	    s/FunctionDefinition/GnmFunc/
      	    s/func_lookup_by_name/gnm_func_lookup/
      	    s/function_add_placeholder/gnm_func_add_placeholder/
      	    s/function_def_get_name/gnm_func_get_name/
      	    s/function_def_set_user_data/gnm_func_set_user_data/
      	    s/function_def_get_user_data/gnm_func_get_user_data/
      
      	  remove function_add_args vs function_add_nodes and replace them with
      	  a GnmFuncDescriptor based gnm_func_add
      
      2002-10-12  Jody Goldberg <jody@gnome.org>
      
      	* src/cellspan.c (row_calc_spans) : some simple optimizations
      	  to prune the length we check based on col/row maxima and sparseness.
      	  This can be significantly faster when we add per row maxima.
      
      	* src/symbol.c (symbol_install) : use g_warning and table_replace in
      	  case of a collison.
      
      	* src/format.c (format_number) : Make utf8 clean
      
      	* src/sheet-control-gui.c (scg_set_panes) : more initial work on
      	  supporting h/v only freezing.
      
      2002-10-11  Jody Goldberg <jody@gnome.org>
      
      	* src/libgnumeric.c (gnm_dump_func_defs) : add a flag to indicate
      	  dumping def or status
      	* src/func.c (function_dump_defs) : ditto.
      	* src/main-application.c (main) : add --func-state-dump
      dc2319e8
    • Christian Neumair's avatar
  2. 11 Oct, 2002 9 commits
    • Morten Welinder's avatar
      Check for fmodl. Supply fmodgnum. · 3df6e854
      Morten Welinder authored
      2002-10-11  Morten Welinder  <terra@diku.dk>
      
      	* configure.in (have_ld): Check for fmodl.
      	* src/numbers.h: Supply fmodgnum.
      
      2002-10-11  Morten Welinder  <terra@diku.dk>
      
      	* functions.c (gnumeric_mod): Handle non-integer args.
      3df6e854
    • Jon Kåre Hellan's avatar
      Remove old Python plugin · 8ec7386f
      Jon Kåre Hellan authored
      8ec7386f
    • Jon K Hellan's avatar
      Remove the plugin. · 1c363c0c
      Jon K Hellan authored
      2002-10-11  Jon K Hellan  <hellan@acm.org>
      
      	* Remove the plugin.
      1c363c0c
    • Morten Welinder's avatar
      Kill. All users fixed. · 9fa2059e
      Morten Welinder authored
      2002-10-11  Morten Welinder  <terra@diku.dk>
      
      	* src/numbers.h (gnum_int): Kill.  All users fixed.
      9fa2059e
    • Jon Kåre Hellan's avatar
      (value_from_python): s/gnum_int/int/ · c5485fa4
      Jon Kåre Hellan authored
      c5485fa4
    • Jon Kåre Hellan's avatar
      Include stdlib.h for setenv · 94afaf6e
      Jon Kåre Hellan authored
      (gnm_python_object_get): Only call PyEval_InitThreads if
      WITH_THREAD defined in Python headers.
      94afaf6e
    • Jody Goldberg's avatar
      8f338bf8
    • Jody Goldberg's avatar
      add areas new. A quick simple implementation until the core can support · db67a9aa
      Jody Goldberg authored
      
      2002-10-11  Jody Goldberg <jody@gnome.org>
      
      	* plugin.xml.in : add areas
      	* functions.c (gnumeric_areas) : new.  A quick simple implementation
      	  until the core can support more.
      db67a9aa
    • Jody Goldberg's avatar
      move here and privatize. · f3bd2a8f
      Jody Goldberg authored
      
      2002-10-10  Jody Goldberg <jody@gnome.org>
      
      	* src/expr-sheet.c (value_intersection) : move here and privatize.
      
      	* src/func.c (function_call_with_list) : fence post error.  The first
      	  missing arg can be empty.  While we're here fix the precedence error
      	  that was breaking missing default args.  Remove use of
      	  value_intersection.  gnm_expr_eval handles it (I hope)
      
      	* src/expr.c (gnm_expr_eval) : support depends for constructed ranges too.
      
      2002-10-10  Jody Goldberg <jody@gnome.org>
      
      	* src/value-sheet.c (value_intersection) : move here and rework to
      	  support singletons.
      
      	* src/parser.y (parser_simple_val_or_name) : rename from
      	  parser_lookup_name and restore some of the value matching semantics
      	  so that we handle booleans again.  I'm not sure the error handling
      	  will kick in but it too is good.  the duble and int comparisons
      	  should be useless.  We can optimize things a bit by making a
      	  special case routine and removing those.
      
      	* src/expr.c (gnm_expr_eval) : handle dynamic depends and intersection
      	  for the the results.
      	NOTE WARNING WARNING WARNING : change of semantics
      	  In the permit_non_scalar case we do _not_ ensure that the content of
      	  the range has been evaluated.  The user is required to.  We only
      	  handle that in the intersection case.
      	For constant cellranges we now use value_intersection too.
      
      	* src/dependent.c (dependent_types_init) : register DynamicDep
      	(dependent_queue_recalc_list) : when we find a dynamic depend queue
      	  its container.
      	(dependent_queue_recalc) : rename from cb_dependent_queue_recalc and
      	  remove the ignored argument the compiler can handle it.
      	(dynamic_dep_debug_name) : new.
      	(dependent_add_dynamic_dep) : new.
      	(dynamic_dep_free) : new.
      	(dependent_clear_dynamic_deps) : new.
      	(dependent_unlink) : clear dynamic depends if they exist.
      	(cell_eval_content) : clear dynamic depends before we start to
      	  evaluate.  They get regenerated by evaluation and we are already know
      	  that we need to recalc, so there is no need to keep them.
      	(dependent_eval) : ditto.  duplicate the code to keep the semantics of
      	  cell_eval_content tidy.
      	(do_deps_destroy) : drop the dynamic depend table.
      	(gnm_dep_container_new) : initialize it here.
      f3bd2a8f
  3. 10 Oct, 2002 3 commits
    • Tim A. Garner's avatar
      set up a switch for displaying numbers in italics · 29c8882e
      Tim A. Garner authored
      2002-10-10 Tim A. Garner <garnertim@hotmail.com>
      
      	* latex.c (latex2e_write_multicolumn_cell): set up a switch for
      	  displaying numbers in italics
      29c8882e
    • Morten Welinder's avatar
      Avoid "gboolean ... : 1". Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. · db1ddc6d
      Morten Welinder authored
      2002-10-09  Morten Welinder  <terra@diku.dk>
      
      	* src/gnumeric-graph.c (struct _GnmGraphVector): Avoid "gboolean
      	... : 1".
      	* src/item-bar.c (struct _ItemBar): Ditto.
      	* src/item-cursor.c (struct _ItemCursor): Ditto.
      	* src/formats.h (FormatCharacteristics): Ditto.
      	* src/format-template.h (struct _FormatTemplate): Ditto.
      	* src/sheet-private.h (struct _SheetPrivate): Ditto.
      	* src/sheet-view.h (struct _SheetView): Ditto.
      	* src/validation.h (struct _Validation): Ditto.
      	* src/workbook-priv.h (struct _Workbook): Ditto.
      	* src/expr-name.h (struct _GnmNamedExpr): Ditto.
      
      
      2002-10-09  Morten Welinder  <welinder@rentec.com>
      
      	* ms-obj.h (struct _MSObj): Avoid "gboolean ... : 1".
      	* ms-excel-read.h (struct _ExcelSheet): Avoid "gboolean ... : 1".
      
      etc.
      
      2002-10-09  Morten Welinder  <terra@diku.dk>
      
      	* api.c (w_glpk_print_lp): Fix type error.
      db1ddc6d
    • Nick Lamb /GIMP's avatar
  4. 09 Oct, 2002 4 commits
    • Morten Welinder's avatar
      Don't leak ->supbooks. · 96d09612
      Morten Welinder authored
      2002-10-09  Morten Welinder  <terra@diku.dk>
      
      	* ms-excel-read.c (ms_excel_workbook_destroy): Don't leak
      	->supbooks.
      96d09612
    • Andreas J. Guelzow's avatar
      /home/aguelzow/gnumeric-files/message · 8d97b607
      Andreas J. Guelzow authored
      8d97b607
    • Jody Goldberg's avatar
      fix warning and make marginally more robust. (opt_on_options) : ditto. · 747cd1f6
      Jody Goldberg authored
      
      2002-10-09  Jody Goldberg <jody@gnome.org>
      
      	* options.c (opt_time_switch) : fix warning and make marginally more
      	  robust.
      	(opt_on_options) : ditto.
      747cd1f6
    • Jody Goldberg's avatar
      From: Hal Ashburner <hal_ashburner@yahoo.co.uk> massive rewrite. · dab2d15a
      Jody Goldberg authored
      
      2002-10-08  Jody Goldberg <jody@gnome.org>
      
      	From: Hal Ashburner <hal_ashburner@yahoo.co.uk>
      	* options.c : massive rewrite.
      
      2002-10-08  Jody Goldberg <jody@gnome.org>
      
      	Patch from peninguy.nicolas@wanadoo.fr (Nicolas Peninguy)
      	* src/formats.c : regexp for accounting too.
      
      2002-10-08  Jody Goldberg <jody@gnome.org>
      
      	* openoffice-read.c (oo_style) : correctly layer parent styles but
      	  lose the relationship because we have no similar structure.
      	  Put the frame work in place to start supporting number formats but
      	  do not implement it yet.
      
      2002-10-08  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (rangeref_parse) : handle relative full col/row
      	  references.
      dab2d15a
  5. 08 Oct, 2002 1 commit
    • Jody Goldberg's avatar
      support named expressions. (oo_cell_start) : support merged ranges. · 80a73121
      Jody Goldberg authored
      2002-10-08  Jody Goldberg <jody@gnome.org>
      
      	* openoffice-read.c (oo_named_expr) : support named expressions.
      	(oo_cell_start) : support merged ranges.
      
      
      2002-10-08  Jody Goldberg <jody@gnome.org>
      
      	* src/parser.y (parser_lookup_name) : default the placeholder to be at
      	  workbook scope.
      
      	* src/cellspan.c (row_calc_spans) : new.
      
      	* src/dependent.c (cell_eval_content) : flag the row as needing
      	  respan.  I'll probably want to distinguish between span and render
      	  somehow.
      
      	* src/sheet.c (sheet_update_only_grid) : test a new idea for doing
      	  just in time spanning.  It does not support a true model view split
      	  of the rendering.  However, it does delay the render & span until
      	  the row is visible, and as a result it is feasible to support
      	  spanning expressions.  The key is to flag the row as needing
      	  respanning then doing the entire row in the redraw loop.
      	* src/item-grid.c (item_grid_draw) : do a span recalc if necessary
      	* src/print-cell.c (print_cell_range) : ditto.
      
      	* src/workbook.c (workbook_init) : fix warning.
      
      	* src/parser.y (parser_lookup_name) : remove implicit conversion of
      	  unquoted strings that are not names into string values.  Replace it
      	  with the creation of a placeholder name.  This is useful for parsing
      	  expressions before a name has been declared.
      
      	* src/cell.c (cell_set_value) : fix docs.
      80a73121
  6. 07 Oct, 2002 2 commits
    • Jody Goldberg's avatar
      fix accidental offset of 1,1. · df8ac4c1
      Jody Goldberg authored
      
      2002-10-07  Jody Goldberg <jody@gnome.org>
      
      	* openoffice-read.c (oo_table_start) : fix accidental offset of 1,1.
      df8ac4c1
    • Jody Goldberg's avatar
      handle workbook protected files (thanks jpablo). · 8f56d128
      Jody Goldberg authored
      2002-10-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_excel_read_workbook) : handle workbook protected
      	  files (thanks jpablo).
      
      2002-10-07  Jody Goldberg <jody@gnome.org>
      
      	* cell-format.glade : restore the information that glade convert
      	  appears to have lost.  I hope that is all of it.
      	  Remove deprecated widgets by porting to treeview, and
      	  gnumeric-combo-text.
      	* dialog-cell-format.c : remove deprecated widgets and fix the bug
      	  where by the type of negative numbers was lost because the list was
      	  later cleared.
      
      2002-10-07  Jody Goldberg <jody@gnome.org>
      
      	* src/cell.c (cell_set_value) : fix docs.
      
      	* src/parse-util.c (col_parse) : don't get confused when parsing an
      	  absolute _row_ (yes I mean row) ref.  $3 would see the dollar then
      	  fail, but would return a col of -1.
      	(check_quoted) : fix stupidity.  Return the char after the last quote.
      8f56d128
  7. 06 Oct, 2002 1 commit
    • Jody Goldberg's avatar
      Fix rangesel · cff550f5
      Jody Goldberg authored
      2002-10-05  Jody Goldberg <jody@gnome.org>
      
      	* gnumeric-expr-entry.c (gnm_expr_entry_rangesel_start) : expressions
      	  need not start with header characters.
      cff550f5
  8. 05 Oct, 2002 3 commits
    • Jody Goldberg's avatar
      ignore named views. (applix_read_sheet_table) : implement. (applix_read) : · e0c10aca
      Jody Goldberg authored
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* applix-read.c (applix_read_view) : ignore named views.
      	(applix_read_sheet_table) : implement.
      	(applix_read) : rename the sheets.
      
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_metadata) : new.
      e0c10aca
    • Jody Goldberg's avatar
      Some header file cleanup · eb1c9179
      Jody Goldberg authored
      eb1c9179
    • Jody Goldberg's avatar
      improve format generation slightly to be #,##0 rather than #,### · bd9fca4b
      Jody Goldberg authored
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* applix-read.c (applix_parse_style) : improve format generation
      	slightly to be #,##0 rather than #,###
      	(applix_fetch_sheet) : new.
      	(applix_read_view) : ignore PrintView's and keep track of target sheet
      	  order.
      	(applix_read) : set the sheets into the correct order in case any
      	  where implicitly created out of order.
      
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* src/gutils.c (gnumeric_strcase_hash) : Mark for fixing.
      
      	* src/dependent.c (workbook_link_3d_dep) : disable unlinking during
      	  reordering.
      	(workbook_unlink_3d_dep) : disable unlinking during reordering.
      
      	* src/commands.c (cmd_rename_sheet) : use workbook_sheet_by_name.
      
      	* src/sheet.c (sheet_rename) : store a case insensitive key.
      	(sheet_new) : ditto.
      	(sheet_destroy) : clear the name.
      
      	* src/workbook.c (workbook_sheet_reorder) : add missing call to
      	  pre_sheet_index_change.
      	(workbook_init) : No need for case insensitive hashing the callers
      	  will do the conversions.
      	(pre_sheet_index_change) : flag the reorder so that we do not remove
      	  the list of things we're reordering when they get unlinked.
      	(post_sheet_index_change) : ditto.
      	(workbook_sheet_by_name) : convert the target_name to casefolded form.
      	(workbook_sheet_attach) : use the case folded form of the name as key
      	  to the hash.
      	(workbook_sheet_detach) : ditto.
      	(workbook_sheet_reorganize) : ditto.
      bd9fca4b
  9. 04 Oct, 2002 2 commits
    • Morten Welinder's avatar
      Fix includes. · bbbc3170
      Morten Welinder authored
      bbbc3170
    • Jody Goldberg's avatar
      ahhh, I understand now. names with expr_len == 0 represent the · 1c9758c2
      Jody Goldberg authored
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_excel_parse_NAME) : ahhh, I understand now.
      	  names with expr_len == 0 represent the placeholders used for unknown
      	  names.
      
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* dialog-define-names.c : port to TreeView.
      
      	* dialog-analysis-tools.c : Use the control from the state rather than
      	  the tool.
      
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control.c (wb_control_parse_and_jump) : use the new
      	  undo support and handle assigning to a placeholder.
      
      	* src/gnumeric-canvas.h : Clean up the naming convention to use
      	  GnmCanvas in all locations.
      
      	* src/expr-name.c (expr_name_add) : its ok if the expr is NULL create
      	  a placeholder.
      	(expr_name_is_placeholder) : new.
      
      	* src/commands.c (CmdChangeSummary) : this has no business being
      	  control specific.
      	(CmdPrintSetup) : ditto.
      	(CmdDefineName) : new.
      
      	* src/command-context.c (gnumeric_error_calc) : new.
      	(gnm_error_calc) : new.
      
      2002-10-03  Jody Goldberg <jody@gnome.org>
      
      	* src/format.c (format_get_currency) : convert locale's currency
      	  symbol to utf8.
      	(gnumeric_setlocale) : clear the cache currency symbol.
      
      2002-10-03  Jody Goldberg <jody@gnome.org>
      
      	* src/expr.c (gnm_expr_is_err) : new util.
      1c9758c2
  10. 02 Oct, 2002 2 commits
    • Andreas J. Guelzow's avatar
      /home/aguelzow/gnumeric-files/message · 2e686e4b
      Andreas J. Guelzow authored
      2e686e4b
    • Jody Goldberg's avatar
      DO NOT STORE CONTROL. The command context of the inititing action should · 207743fd
      Jody Goldberg authored
      
      2002-10-02  Jody Goldberg <jody@gnome.org>
      
      	* src/commands.c (cmd_reorganize_sheets) : DO NOT STORE CONTROL.
      	  The command context of the inititing action should never be stored.
      	  Undo should use the context from the control that initiated the
      	  undo.
      
      	* src/io-context-priv.h : Inherit from CommandContext and make our
      	  lives easier.  Also avoid the pointless duplication.
      
      	* src/command-context-priv.h : remove the plethora of err types in
      	  favour of GError with a tag and ErrorInfo.
      	  Protect cmd_context_progress_set, cmd_context_progress_message_set.
      	* src/command-context-stderr.c : Adjust to the changes.
      
      	* src/bonobo-io.c : IOContext inherits from CommandContext now use the
      	  error handlers there.
      	* src/plugin-util.c : ditto.
      	* src/sheet-object-bonobo.c : ditto.
      	* src/stf.c : ditto.
      	* src/workbook-control-gui.c : ditto.
      	* src/workbook-view.c : ditto.
      	* src/xml-io.c : ditto.
      
      2002-10-01  Jody Goldberg <jody@gnome.org>
      
      	* src/pixmaps/Makefile.am : add the rest of the new artwork.
      
      2002-10-01  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_sheet_reorder) : take a workbook not a
      	  control.
      
      2002-10-01  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_insert_hyperlink) : hook up the
      	  hyperlink dialog.
      
      	* src/sheet-control-gui.c (context_menu_handler) : adjust to new
      	  calling convention for dialog_hyperlink.
      
      2002-09-30  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (gnumeric_application_setup_icons) : add the new
      	  icons.
      	* src/pixmaps/Makefile.am : add the new protection icons
      207743fd
  11. 01 Oct, 2002 2 commits
    • Jody Goldberg's avatar
      hook up the hyperlink dialog. · cd605b70
      Jody Goldberg authored
      
      2002-10-01  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_insert_hyperlink) : hook up the
      	  hyperlink dialog.
      
      	* src/sheet-control-gui.c (context_menu_handler) : adjust to new
      	  calling convention for dialog_hyperlink.
      
      2002-09-30  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (gnumeric_application_setup_icons) : add the new
      	  icons.
      	* src/pixmaps/Makefile.am : add the new protection icons
      
      2002-09-30  Jody Goldberg <jody@gnome.org>
      
      	Patch from : dorami@bu.iij4u.or.jp
      	* src/gnumeric-canvas.c : re-enable IM support.
      
      2002-09-30  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_editline_focus_in) : give the entry a
      	  chance to handle the focus-in too.
      cd605b70
    • Jody Goldberg's avatar
      new. (oo_style_prop) : some initial work. · 4ea06a47
      Jody Goldberg authored
      
      2002-10-01  Jody Goldberg <jody@gnome.org>
      
      	* openoffice-read.c (oo_attr_enum) : new.
      	(oo_style_prop) : some initial work.
      4ea06a47
  12. 30 Sep, 2002 9 commits