1. 26 Mar, 2002 1 commit
  2. 25 Mar, 2002 2 commits
    • Morten Welinder's avatar
      Call g_set_prgname. (main): Call value_init and value_shutdown · 93855e52
      Morten Welinder authored
      2002-03-25  Morten Welinder  <terra@diku.dk>
      
      	* src/main.c (main): Call g_set_prgname.
      	(main): Call value_init and value_shutdown appropriately.
      
      	* src/value.c (value_terminate_err): New value.
      	(value_terminate): Replace this function by the value
      	VALUE_TERMINATE.  All callers changed.
      	(value_hash): Be smarter about arrays.
      	(value_new_float): Use chunk allocator.
      	(value_release): Release floats properly.
      	(value_init, value_shutdown): New functions.
      
      	* src/gutils.c (gnm_mem_chunk_destroy): Add new argument for leak
      	tracking.
      93855e52
    • Morten Welinder's avatar
      Fix for empty cells. · a932dba7
      Morten Welinder authored
      2002-03-25  Morten Welinder  <terra@diku.dk>
      
      	* fn-string.c (gnumeric_concatenate): Fix for empty cells.
      a932dba7
  3. 24 Mar, 2002 1 commit
  4. 23 Mar, 2002 1 commit
    • Jon K Hellan's avatar
      Make expr_node_list a GnmExprList. · ac23e603
      Jon K Hellan authored
      2002-03-24  Jon K Hellan  <hellan@acm.org>
      
      	* plugin.c (scm_register_function) constify help.
      	(func_scm_apply): Make expr_node_list a GnmExprList.
      
      	* smob-value.c (init_value_type): Guile API doesn't expect
      	arguments to be declared const. So cast constants to non-const to
      	silence warning.
      ac23e603
  5. 22 Mar, 2002 4 commits
    • Jon Kåre Hellan's avatar
      Include expr-impl.h · e19b3bd5
      Jon Kåre Hellan authored
      * plugins/guile/plugin.c: Include expr-impl.h
      
      * plugins/python-loader/python-loader.c: Include expr-impl.h
      
      * plugins/python/python.c: Include expr-impl.h
      e19b3bd5
    • Jon K Hellan's avatar
      Be prepared for color 65 as pattern color. · 0b433a43
      Jon K Hellan authored
      2002-03-22  Jon K Hellan  <hellan@acm.org>
      
      	* ms-excel-read.c (ms_excel_get_style_from_xf): Be prepared for
      	color 65 as pattern color.
      0b433a43
    • JodyGoldberg's avatar
      suppress warning. (solver_performance_report) : fix typo. · 680c2888
      JodyGoldberg authored
      2002-03-22  Jody Goldberg <jody@gnome.org>
      
      	* reports-write.c (solver_program_report) : suppress warning.
      	(solver_performance_report) : fix typo.
      
      2002-03-21  Jody Goldberg <jody@gnome.org>
      
      	* Massive rename
      	eval.[ch] -> dependent.[ch]
      680c2888
    • JodyGoldberg's avatar
      Massive rename ExprTree -> GnmExpr · 0ac8fbbf
      JodyGoldberg authored
      
      2002-03-21  Jody Goldberg <jody@gnome.org>
      
      	* Massive rename
      	ExprTree -> GnmExpr
      
      	* src/print-info.c (load_formats) : suppress some warnings.
      
      	* src/func.c (function_def_call_with_values) : use g_alloca.
      0ac8fbbf
  6. 18 Mar, 2002 1 commit
    • Morten Welinder's avatar
      Add sharer. · 3fb8fe28
      Morten Welinder authored
      2002-03-18  Morten Welinder  <terra@diku.dk>
      
      	* ms-excel-read.h (_ExcelWorkbook): Add sharer.
      
      	* ms-excel-read.c (ms_excel_workbook_new): Initialize sharer.
      	(ms_excel_workbook_destroy): Destroy sharer.
      
      	* ms-formula-read.c (ms_excel_parse_formula): Share resulting
      	formulae.
      3fb8fe28
  7. 17 Mar, 2002 1 commit
    • JodyGoldberg's avatar
      Initial pass at 3d ref support. · 5846bd67
      JodyGoldberg authored
      Depends work, but things will crash if a start/end sheet is deleted.
      
      2002-03-16  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_foreach_cell_in_range) : support 3d
      	  references.
      	(workbook_finalize) : free the 3d dep list if necessary.
      	(workbook_init) : initialize the list.
      	(cb_dep_unlink) : new.
      	(pre_sheet_index_change) : new.
      	(cb_dep_link) : new.
      	(post_sheet_index_change) : new.
      	(workbook_sheet_index_update) : privatize.
      	(workbook_sheet_attach) : add pre/post handling for 3d references.
      	(workbook_sheet_detach) : ditto.
      
      	* src/eval.c (link_cellrange_dep) : add support for 3d deps.
      	(unlink_cellrange_dep) : add support for 3d deps.
      	(workbook_link_3d_dep) : new.
      	(workbook_unlink_3d_dep) : new.
      	(dependent_link) : called here.
      	(dependent_unlink) : and here.
      
      	* configure.in : bump libcanvas req to getthe no auto-center patch.
      5846bd67
  8. 16 Mar, 2002 3 commits
  9. 15 Mar, 2002 3 commits
    • Andreas J. Guelzow's avatar
      renamed to editable_label_start_editing and made non-static · 9db88417
      Andreas J. Guelzow authored
      2002-03-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* widget-editable-label.[ch] (el_start_editing) : renamed to
      	  editable_label_start_editing and made non-static
      	(editable_label_set_color) : added third argument
      	(editable_label_new) : ditto
      
      2002-03-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-sheet-order.c : support changes to tab colors.
      	* sheet-order.glade : rearrange to allow for color pickers
      
      2002-03-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/commands.c : support tab color changes in cmd_reorganize_sheets
      	* src/commands.h (cmd_reorganize_sheets) : add arguments
      	* src/sheet.c (sheet_set_tab_color) : add third argument
      	(sheet_new) : initialize tab_text_color
      	(sheet_destroy) : free tab_text_color
      	* src/sheet.h : add tab_text_color to _Sheet
      	(sheet_set_tab_color) : add third argument
      	* src/workbook-control-gui.c (wbcg_sheet_add) : also set tab_text_color
      	(wbcg_sheet_rename) : add arguments to call of cmd_reorganize_sheets
      	(cb_insert_sheet) : ditto
      	* src/workbook.c (workbook_sheet_reorganize) : support changing of tab
      	  colors
      	* src/workbook.h (workbook_sheet_reorganize) : add arguments
      	* src/xml-io.c : read and write TabTextColor
      
      2002-03-15  Andreas J. Guelzow <aguelzow@taiesin.ca>
      
      	* ms-excel-read.c : calculate desired tab_text_color upon reading of
      	  tab_color
      9db88417
    • Jukka-Pekka Iivonen's avatar
      Added GPL clause. · 2362f878
      Jukka-Pekka Iivonen authored
      2002-03-15  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>
      
              * fn-*.c: Added GPL clause.
      2362f878
    • JodyGoldberg's avatar
      doh! Fix sense of result so that reading works. · 5c0eef2f
      JodyGoldberg authored
      2002-03-14  Jody Goldberg <jody@gnome.org>
      
      	* ms-obj.c (ms_obj_read_pre_biff8_obj) : doh! Fix sense of result so
      	  that reading works.
      5c0eef2f
  10. 14 Mar, 2002 1 commit
    • JodyGoldberg's avatar
      Add a force_sheet parameter. (sheet_widget_checkbox_get_ref) : ditto. · b6d1a69f
      JodyGoldberg authored
      2002-03-13  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object-widget.c (sheet_widget_scrollbar_get_ref) : Add a
      	  force_sheet parameter.
      	(sheet_widget_checkbox_get_ref) : ditto.
      	(sheet_widget_scrollbar_clone) : do not force a fully qualified ref here.
      	  It would incorrectly cause the new object to link to the old sheet.
      	(sheet_widget_checkbox_clone) : ditto.
      
      	* src/parser.y : support the applix #AND# #OR# #NOT# operators.
      b6d1a69f
  11. 12 Mar, 2002 2 commits
  12. 11 Mar, 2002 1 commit
  13. 10 Mar, 2002 2 commits
    • Jon K Hellan's avatar
      Python API doesn't expect arguments to be declared const. So cast · fb15fcb9
      Jon K Hellan authored
      2002-03-11  Jon K Hellan  <hellan@acm.org>
      
      	* python.c (cell_ref_to_python, range_to_python,
      	boolean_to_python, boolean_check, boolean_from_python,
      	range_check, cell_ref_from_python, range_from_python, apply,
      	register_function, initgnumeric, plugin_init_general): Python API
      	doesn't expect arguments to be declared const. So cast constants
      	to non-const to silence warning.
      
      2002-03-11  Jon K Hellan  <hellan@acm.org>
      
      	* py-gnumeric.c (create_python_interpreter,
      	py_CellPos_get_tuple_method, py_CellPos_object_getattr,
      	py_Range_get_tuple_method, py_mstyle_set_font_bold_method,
      	py_mstyle_get_font_bold_method, py_mstyle_set_font_italic_method,
      	py_mstyle_get_font_italic_method,
      	py_mstyle_set_font_strike_method,
      	py_mstyle_get_font_strike_method, py_mstyle_set_font_size_method,
      	py_mstyle_get_font_size_method, py_mstyle_set_wrap_text_method,
      	py_mstyle_get_wrap_text_method, py_Cell_set_text_method,
      	py_Cell_get_mstyle_method, py_Cell_get_value_method,
      	py_Cell_get_value_as_string_method,
      	py_Cell_get_rendered_text_method, py_Cell_get_entered_text_method,
      	py_sheet_cell_fetch_method, py_sheet_style_get_method,
      	py_sheet_style_apply_range_method,
      	py_sheet_style_set_range_method, py_sheet_style_set_pos_method,
      	py_sheet_get_extent_method, py_sheet_rename_method,
      	py_sheet_get_name_unquoted_method, py_sheet_subscript,
      	py_Workbook_get_sheets_method, py_GnumericFuncDict_subscript,
      	py_PluginInfo_get_dir_name_method, py_PluginInfo_get_id_method,
      	py_PluginInfo_get_name_method,
      	py_PluginInfo_get_description_method, py_gnumeric_Boolean_method,
      	py_gnumeric_CellPos_method, py_gnumeric_Range_method,
      	py_gnumeric_MStyle_method, py_initgnumeric):
      
      	* python-loader.c (gnumeric_plugin_loader_python_load,
      	gnumeric_plugin_loader_python_func_file_probe,
      	gnumeric_plugin_loader_python_func_file_open,
      	gnumeric_plugin_loader_python_func_file_save,
      	(gnumeric_plugin_loader_python_func_get_full_function_info):
      	Python API doesn't expect arguments to be declared const. So cast
      	constants to non-const to silence warning.
      	(python_function_get_gnumeric_help) Return const gchar **.
      	(gnumeric_plugin_loader_python_func_get_full_function_info):
      	Change signature to match
      	PluginServiceFunctionGroup::plugin_func_get_full_function_info
      	prototype
      fb15fcb9
    • Jody Goldberg's avatar
      Release Gnumeric 1.1.1 · 7a4519b7
      Jody Goldberg authored
      7a4519b7
  14. 09 Mar, 2002 5 commits
    • Jody Goldberg's avatar
      const · 4e9ca91d
      Jody Goldberg authored
      4e9ca91d
    • Jody Goldberg's avatar
      fix includes · b921db76
      Jody Goldberg authored
      b921db76
    • Jody Goldberg's avatar
      missed files · 606c7646
      Jody Goldberg authored
      606c7646
    • JodyGoldberg's avatar
      rename from function_def_get_full_info_if_needed and remove the condition. · a0282f76
      JodyGoldberg authored
      2002-03-09  Jody Goldberg <jody@gnome.org>
      
      	* src/func.c (func_def_load) : rename from function_def_get_full_info_if_needed
      	  and remove the condition.
      
      	* src/eval.c (link_expr_dep) : Call func_def_load if necessary to
      	  check for a link function.
      a0282f76
    • JodyGoldberg's avatar
      switch Format->Workbook with Format->AutoFormat ditto. · 73a18b0f
      JodyGoldberg authored
      2002-03-08  Jody Goldberg <jody@gnome.org>
      
      	* src/GNOME_Gnumeric.xml : switch Format->Workbook with
      	  Format->AutoFormat
      	* src/workbook-control-gui.c (workbook_menu_format) : ditto.
      
      	* src/workbook-view.c (wb_view_is_protected) : new.
      
      	* src/workbook-edit.c (wbcg_edit_start) : load style directly
      	  don't use cell_get_style.  This enables support for protection of
      	  blank cells.  Use wb_view_is_protected, and command_context_invalid.
      
      2002-03-08  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet): don't put us in
      	  edit mode if wbcg_edit_start indicates the cell is locked.
      	* src/workbook-control-gui.c (cb_autosum, cb_autofunction): handle
      	  case where wbcg_edit_start returns FALSE indicating that cell is
      	  locked.
      	* src/workbook-edit.c (wbcg_edit_start): this function now returns a
      	   boolean which indicates whether the 'edit_start' attempt succeeded.
      	   Check cell properties to return FALSE if the cell is locked.
      	* src/workbook-edit.h (wbcg_edit_start): modify the prototype as per above.
      	* src/workbook-view.c (wb_view_set_attribute, workbook_view_init):
      	  Remove ARG_VIEW_* enumeration, which isn't used after Gnome2 port.
      	  Add WorkbookView::is_protected attribute, and initialize it to
      	  FALSE.  The update to wb_view_set_attribute is enough to get
      	  xml_sax import working properly (yay, modular code!).
      	* src/workbook-view.h: add 'is_protected' field to WorkbookView struct.
      	  This is TRUE iff the workbook is locked.
      	* src/xml-io.c (xml_write_wbv_attributes):
      	  Write the new 'protected' workbook view attribute.  Two lines are
      	  enough to get read/write from xml_io working.  Score one for
      	  xml_sax: zero should have been sufficient.
      	* src/dialogs/cell-format.glade: The 'worksheet protected' checkbox
      	  shouldn't be greyed-out anymore.
      	* src/dialogs/dialog-cell-format.c (cb_protection_sheet_protected_toggle,
      	fmt_dialog_init_protection_page, cb_fmt_dialog_dialog_buttons):
      	  connect up the 'worksheet protected' button in the
      	  Format->Cells->Protection dialog.  Update worksheet object when
      	  toggled and mark that the dialog's changed.
      	* src/dialogs/dialog-workbook-attr.c src/dialogs/workbook-attr.glade:
      	  Add Format->Worksheet->Protection dialog.
      73a18b0f
  15. 08 Mar, 2002 10 commits
    • Jon Kåre Hellan's avatar
      (gnumeric_plugin_loader_python_load): Add final · 8a95a10a
      Jon Kåre Hellan authored
      NULL to g_build_filename.
      8a95a10a
    • Morten Welinder's avatar
      Grumble. · 679030d5
      Morten Welinder authored
      679030d5
    • JodyGoldberg's avatar
      store an iocontext. init the delayed name list for xl95. · f4f8b78f
      JodyGoldberg authored
      2002-03-08  Jody Goldberg <jody@gnome.org>
      
      
      	* ms-excel-read.c (ms_excel_workbook_new) : store an iocontext.
      	  init the delayed name list for xl95.
      	(ms_excel_parse_NAME) : split out of.
      	(ms_excel_read_NAME) : here.
      	(ms_excel_handle_delayed_NAMEs) : new.
      	(ms_excel_externsheet_v8) : be quiet.
      	(ms_excel_read_workbook) : check for delayed names on EOF.
      
      2002-03-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_excel_externsheet_v8) : don't warn for local
      	  name records.
      	(ms_excel_read_NAME) : typo.
      f4f8b78f
    • Jody Goldberg's avatar
      missing file · 394d8993
      Jody Goldberg authored
      394d8993
    • Jody Goldberg's avatar
      revert accidental commit · 3f00dbbf
      Jody Goldberg authored
      3f00dbbf
    • Morten Welinder's avatar
      New function. (expr_shutdown): Show leaking expressions. · f698bc58
      Morten Welinder authored
      2002-04-08  Morten Welinder  <terra@diku.dk>
      
      	* src/expr.c (cb_expression_pool_leak): New function.
      	(expr_shutdown): Show leaking expressions.
      
      	* src/validation.c (validation_eval): Plug leaks.
      f698bc58
    • Jody Goldberg's avatar
      support link/unlink · 06c54b9b
      Jody Goldberg authored
      06c54b9b
    • Jody Goldberg's avatar
      Support link/unlink · b83fa4c0
      Jody Goldberg authored
      b83fa4c0
    • JodyGoldberg's avatar
      Initial implementation of an external data source. The actual data source · 2c6dceda
      JodyGoldberg authored
      2002-03-01  Jody Goldberg <jody@gnome.org>
      
      	* sample_datasource.c : Initial implementation of an external data
      	  source.  The actual data source is quick and dirty, we just read
      	  from a named pipe.  It is completely unsuitable for real work.  The
      	  intent is to provide a test bed for the components necessary to
      	  produce a data source.  Current architectural limitations include
      	    - Although the source queues things correctly for recalc it does
      	      not actually run the recalc yet.  We'll want to offer some
      	      configurability for this.
      	    - linking an expression from a plugin that has not yet been loaded
      	      should activate.  Instead we don't activate until the first
      	      evaluation.  This is not a major failing but it does mean that
      	      _link functions are not called corerctly.
      	    - The init/cleanup routines for plugins should have
      	      CommandContexts to report errors.
      	    - It would be nice to be able to add menu and toolbar entries.
      
      
      	To use the source :
      	    in a sheet atl_last(ticker)
      	    and then cat > /tmp/atl
      	    ticker:value
      	    The on sheet value will only change on the _next_ user invoked
      	    recalc.
      2c6dceda
    • Jody Goldberg's avatar
      *** empty log message *** · 29c56db5
      Jody Goldberg authored
      29c56db5
  16. 07 Mar, 2002 2 commits
    • Jon Kåre Hellan's avatar
      Substitute ei->func_call->func for ei->func_def and adapt pointer checks · 1b84e95d
      Jon Kåre Hellan authored
      * plugins/guile/plugin.c (func_marshal_func): Substitute
      ei->func_call->func for ei->func_def and adapt pointer checks
      accordingly.
      
      * plugins/python-loader/python-loader.c (call_python_function_args,
      call_python_function_nodes): Substitute ei->func_call->func for
      ei->func_def and adapt pointer checks accordingly.
      
      * plugins/python/python.c (call_function, marshal_func_args,
      marshal_func_nodes): Substitute ei->func_call->func for ei->func_def
      and adapt pointer checks accordingly.
      1b84e95d
    • Morten Welinder's avatar
      Removing junk. · 98edbea5
      Morten Welinder authored
      98edbea5