Skip to content
  • Jon K Hellan's avatar
    Updated documentation · d875fc7e
    Jon K Hellan authored
    2000-03-02  Jon K Hellan  <hellan@acm.org>
    
    	* doc/python-gnumeric.txt: Updated documentation
    
    	* src/func.h: Make FunctionCategory.name a String * instead of
    	gchar *. This was necessary to allow user defined categories.
    	src/func.c (function_category_compare, function_get_category): Use
    	new FunctionCategory. Fix wrong use of g_list_find_custom.
    	(function_def_count_args, function_def_get_arg_type): Null pointer
    	check.
    
    	* src/dialogs/dialog-function-select.c (function_categories_fill):
    	ditto.
    
    2000-03-01  Jon K Hellan  <hellan@acm.org>
    
    	* python.c (exception_to_string): Rename to string_from_exception.
    	(value_from_exception): New function. Converts the current Python
    	exception to a new VALUE_ERROR.
    	(file static variable eval_pos): remove
    	(value_to_python): Fix refcounting bug re Py_None.
    	(value_from_python): Caller is now responsible for converting
    	exception to VALUE_ERROR.
    	(marshal_func): Handle optional arguments. Use
    	value_from_exception. Do away with eval_pos kludge. Consequence:
    	We must pass FunctionEvalInfo as an extra parameter to the python
    	functions.
    	(apply): Add context parameter.
    	(register_function): Add category parameter to Python
    	signature. Register function in given category.
    
    	* gnumeric_startup.py: Add category argument to all
    	register_function calls.
    	(gnumeric_mid, py_abs): Add context parameter.
    
    	* python.c
    d875fc7e