1. 16 May, 2018 1 commit
  2. 02 Mar, 2015 1 commit
  3. 19 Aug, 2009 1 commit
  4. 10 Jun, 2009 1 commit
  5. 14 Dec, 2008 1 commit
  6. 08 Feb, 2005 1 commit
  7. 09 Oct, 2003 1 commit
    • Jody Goldberg's avatar
      Release 1.2.1 · b762bb9d
      Jody Goldberg authored
      
      2003-10-08  Jody Goldberg <jody@gnome.org>
      
      	* Release 1.2.1
      b762bb9d
  8. 04 Aug, 2003 1 commit
    • Jon Kåre Hellan's avatar
      Make Python plugin depend on python >= 2.0 and pygtk-2.0. Remove · 82e64b74
      Jon Kåre Hellan authored
      * configure.in: Make Python plugin depend on python >= 2.0 and
      pygtk-2.0. Remove WITH_PYGTK and BROKEN_PY_INITIALIZE
      conditionals.
      
      * plugins/python-loader/python-loader.c: Rename all
      gnumeric_plugin_loader_python_blah_blah functions to
      gplp_blah_blah.
      (gplp_load_base): Check for errors from gnm_python_object_get.
      (gplp_loader_data_opener_free, gplp_loader_data_saver_free,
      gplp_loader_data_fngroup_free, gplp_loader_data_ui_free): New
      functions to free loader data.
      (gplp_load_service_file_opener, gplp_load_service_file_saver)
      (gplp_load_service_function_group): Ref PyObjects in loader data,
      and replace g_object_set_data with g_object_set_data_full to make
      sure that they are unrefed when loader data is destroyed.
      (gplp_func_exec_verb): New function. Invoke a python function when
      a verb is executed.
      (gplp_load_service_ui): New function. Load UI service.
      (gplp_func_file_probe, gplp_func_file_open, gplp_func_file_save):
      Remove #ifndef WITH_PYGTK branch. Plugin now depends on Pygtk.
      
      * plugins/python-loader/py-interpreter-selector.c
      (gnm_py_interpreter_selector_init): Move meat to
      gnm_py_interpreter_selector_new so that errors can be reported.
      (gnm_py_interpreter_selector_finalize): Check that py_object != NULL.
      (gnm_py_interpreter_selector_new): Check for errors from
      gnm_python_object_get and report them.
      
      * plugins/python-loader/py-gnumeric.h (py_new_Gui_object): New
      function. Export it.
      
      * plugins/python-loader/py-gnumeric.c (py_CellPos_object_str): New
      function. Wraps cellpos_as_string. Returns e.g. B7.
      (py_Cell_get_entered_text_method): Fix typo.  (py_Workbook_gui_add):
      New function. Add a GUI to workbook.  (py_Workbook_object_getattr):
      Add gui_add method.  (struct _py_Gui_object, py_Gui_get_workbook,
      py_Gui_get_window, py_Gui_object_getattr, py_Gui_object_dealloc,
      py_new_Gui_object, py_Gui_object_type): New struct/functions/variable
      to wrap WorkbookControlGUI.  (py_gnumeric_workbook_new): Fix typo.
      (py_initgnumeric): Set plugin_info to None when C counterpart is
      NULL. Add Gui object type.
      
      * plugins/python-loader/py-console.c (show_python_console): Report
      errors from gnm_py_interpreter_selector_new.
      
      * plugins/python-loader/gnm-python.c (gnm_init_pygobject):
      Resurrect. This time ask for the gtk2 version of gobject and report
      errors.  (gnm_python_object_get): Remove Python 1.5 compatibility
      code. Call gnm_init_pygobject.
      82e64b74
  9. 20 Aug, 2002 1 commit
    • Zbigniew Chyla's avatar
      Define PLUGIN_ID (gnumeric_plugin_python_loader_DATA): Set to · 2f951574
      Zbigniew Chyla authored
      
      2002-08-20  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* Makefile.am
      	(INCLUDES): Define PLUGIN_ID
      	(gnumeric_plugin_python_loader_DATA):
      	Set to "ui-console-menu.xml py-console-ui.xml"
      	(python_loader_la_SOURCES): Added python-loader.h, gnm-python.h,
      	gnm-python.c, gnm-py-interpreter.h, gnm-py-interpreter.c,
      	py-interpreter-selector.c, py-interpreter-selector.h,
      	py-command-line.c, py-command-line.h, py-console.c, py-console.h,
      	boot.c.
      	(EXTRA_DIST): Added $(gnumeric_plugin_python_loader_DATA)
      
      	* plugin.xml.in: Added Python console using "ui" service
      
      	* python-loader.c:
      	Adjusted to plugin-loader.h (conversion from GtkObject to GObject).
      	Register GnumericPluginLoader as dynamic class (using PLUGIN_CLASS)
      	to allow unloading the plugin.
      	(initialize_python_if_needed): Moved to gnum-python.c and renamed
      	(python_get_loader_type): Moved to boot.c
      
      	* py-gnumeric.h
      	(struct InterpreterInfo, create_python_interpreter,
      	destroy_python_interpreter, switch_python_interpreter_if_needed,
      	clear_python_error_if_needed): Moved to gnum-python.c and renamed.
      
      	* py-gnumeric.c
      	(create_python_interpreter, destroy_python_interpreter,
      	switch_python_interpreter_if_needed, clear_python_error_if_needed):
      	Moved to gnum-python.c and renamed.
      	(py_gnumeric_Workbooks_method): New.
      	(py_initgnumeric): Made non-static.
      
      	* python-loader.h, gnm-python.h, gnm-python.c, gnm-py-interpreter.h,
      	gnm-py-interpreter.c, py-interpreter-selector.c,
      	py-interpreter-selector.h, py-command-line.c, py-command-line.h,
      	py-console.c, py-console.h, boot.c: New
      2f951574