1 2015-02-04 Morten Welinder <terra@gnome.org>
5 2015-01-23 Morten Welinder <terra@gnome.org>
9 2014-09-25 Morten Welinder <terra@gnome.org>
13 2014-06-09 Morten Welinder <terra@gnome.org>
17 2014-05-23 Morten Welinder <terra@gnome.org>
21 2014-04-30 Morten Welinder <terra@gnome.org>
25 2014-04-21 Morten Welinder <terra@gnome.org>
27 * python-loader.c (gplp_func_desc_load): Accept any callable, not
29 (gplp_func_exec_action): Ditto.
30 (python_function_get_gnumeric_help): Evidently we only know how to
31 provide help for callables that are functions.
33 2014-04-13 Morten Welinder <terra@gnome.org>
37 2014-03-18 Morten Welinder <terra@gnome.org>
41 2014-03-03 Morten Welinder <terra@gnome.org>
45 2014-02-16 Morten Welinder <terra@gnome.org>
49 2014-02-11 Morten Welinder <terra@gnome.org>
53 2013-11-28 Morten Welinder <terra@gnome.org>
57 2013-10-07 Morten Welinder <terra@gnome.org>
61 2013-09-01 Morten Welinder <terra@gnome.org>
65 2013-08-27 Morten Welinder <terra@gnome.org>
69 2013-08-19 Morten Welinder <terra@gnome.org>
73 2013-07-10 Morten Welinder <terra@gnome.org>
77 2013-06-25 Morten Welinder <terra@gnome.org>
81 2013-04-26 Morten Welinder <terra@gnome.org>
85 2013-03-09 Morten Welinder <terra@gnome.org>
89 2012-12-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
91 * python-loader.c (python_function_get_gnumeric_help):
92 handle new-style documentation and extract argument names
95 2012-12-18 Morten Welinder <terra@gnome.org>
99 2012-11-29 Morten Welinder <terra@gnome.org>
103 2012-11-16 Morten Welinder <terra@gnome.org>
107 2012-09-06 Morten Welinder <terra@gnome.org>
111 2012-07-25 Jean Brefort <jean.brefort@normalesup.org>
113 * python-loader.c (gplp_func_desc_load): fixed build after
114 GnmFuncDescriptor change.
116 2012-07-15 Morten Welinder <terra@gnome.org>
120 2012-07-11 Jean Brefort <jean.brefort@normalesup.org>
122 * gnm-python.c (gnm_python_object_get): make python support work again.
124 2012-07-08 Morten Welinder <terra@gnome.org>
126 * python-loader.c (gplp_func_file_open): Add dummy encoding
127 argument so function signature matches goffice.
129 2012-06-25 Morten Welinder <terra@gnome.org>
133 2012-04-21 Morten Welinder <terra@gnome.org>
137 2012-03-02 Morten Welinder <terra@gnome.org>
141 2011-11-27 Morten Welinder <terra@gnome.org>
145 2011-11-24 Morten Welinder <terra@gnome.org>
149 2011-07-31 Morten Welinder <terra@gnome.org>
153 2011-05-21 Morten Welinder <terra@gnome.org>
157 2011-05-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
159 * py-console.c: add dead-kittens.h
161 2011-03-30 Jean Brefort <jean.brefort@normalesup.org>
163 * python-loader.c: fix cals to gnm_func_get_name().
165 2011-03-24 Morten Welinder <terra@gnome.org>
169 2011-02-02 Morten Welinder <terra@gnome.org>
173 2010-11-25 Morten Welinder <terra@gnome.org>
177 2010-10-01 Morten Welinder <terra@gnome.org>
181 2010-09-04 Morten Welinder <terra@gnome.org>
185 2010-08-16 Morten Welinder <terra@gnome.org>
189 2010-07-30 Morten Welinder <terra@gnome.org>
193 2010-06-28 Morten Welinder <terra@gnome.org>
197 2010-06-16 Morten Welinder <terra@gnome.org>
201 2010-05-30 Morten Welinder <terra@gnome.org>
205 2010-05-20 Morten Welinder <terra@gnome.org>
209 2010-05-07 Morten Welinder <terra@gnome.org>
213 2010-04-16 Morten Welinder <terra@gnome.org>
217 2010-03-08 Morten Welinder <terra@gnome.org>
221 2010-02-13 Morten Welinder <terra@gnome.org>
225 2010-01-19 Morten Welinder <terra@gnome.org>
229 2009-12-15 Morten Welinder <terra@gnome.org>
233 2009-11-29 Morten Welinder <terra@gnome.org>
237 2009-11-01 Morten Welinder <terra@gnome.org>
241 2009-10-11 Morten Welinder <terra@gnome.org>
245 2009-09-21 Jean Brefort <jean.brefort@normalesup.org>
247 * plugin.xml.in: translate ui labels. [#159806]
249 2009-09-20 Morten Welinder <terra@gnome.org>
253 2009-09-05 Morten Welinder <terra@gnome.org>
257 2009-08-30 Morten Welinder <terra@gnome.org>
261 2009-08-15 Morten Welinder <terra@gnome.org>
265 2009-06-20 Morten Welinder <terra@gnome.org>
269 2009-05-23 Morten Welinder <terra@gnome.org>
273 2009-05-06 Morten Welinder <terra@gnome.org>
277 2009-04-25 Morten Welinder <terra@gnome.org>
281 2009-03-22 Morten Welinder <terra@gnome.org>
285 2009-02-22 Morten Welinder <terra@gnome.org>
289 2009-01-29 Jon K Hellan <hellan@acm.org>
291 * gnm-py-interpreter.c (gnm_py_interpreter_new): Work around
292 security vulnerability in Python by making argv start with
293 "/dev/null". #569648.
295 2008-12-30 Jean Brefort <jean.brefort@normalesup.org>
297 * python-loader.c: (gplp_func_file_probe): add a format string to
300 2008-10-18 Jody Goldberg <jody@gnome.org>
304 2008-08-29 Jody Goldberg <jody@gnome.org>
308 2008-06-25 Jody Goldberg <jody@gnome.org>
312 2008-05-26 Jody Goldberg <jody@gnome.org>
314 * python-loader.c : remove NO_IMPORT_PYGOBJECT. We need one of them.
316 2008-05-04 Jody Goldberg <jody@gnome.org>
320 2008-03-02 Jody Goldberg <jody@gnome.org>
323 * gnm-python.c : Add NO_IMPORT_PYGOBJECT. #510059
324 * py-gnumeric.c : ditto.
325 * python-loader.c : ditto.
327 2007-12-21 Jody Goldberg <jody@gnome.org>
331 2007-12-03 Jody Goldberg <jody@gnome.org>
335 2007-11-19 Jody Goldberg <jody@gnome.org>
339 2007-11-04 Morten Welinder <terra@gnome.org>
343 2007-10-21 Morten Welinder <terra@gnome.org>
347 2007-09-09 Jon K Hellan <hellan@acm.org>
349 * python-loader.c (gplp_func_file_probe): Fix potential crash.
350 (gplp_load_service_file_opener): Fix crash. [#461845]
352 2007-09-04 Jody Goldberg <jody@gnome.org>
356 2007-07-24 Jody Goldberg <jody@gnome.org>
360 2007-07-18 Jody Goldberg <jody@gnome.org>
362 Patch from Nils Kanning
363 * python-loader.c (python_function_get_gnumeric_help) : support the
364 new help api. [#412804]
366 2007-05-03 Morten Welinder <terra@gnome.org>
370 2007-04-21 Morten Welinder <terra@gnome.org>
374 2007-03-04 Morten Welinder <terra@gnome.org>
378 2007-03-02 Jody Goldberg <jody@gnome.org>
380 * python-loader.c (gplp_load_base) : compiler warning.
382 2007-02-16 Morten Welinder <terra@gnome.org>
386 2006-12-17 Jody Goldberg <jody@gnome.org>
390 2006-12-04 Jody Goldberg <jody@gnome.org>
394 2006-11-20 Jody Goldberg <jody@gnome.org>
398 2006-11-19 Morten Welinder <terra@gnome.org>
402 2006-10-22 Jon K Hellan <hellan@acm.org>
404 * py-interpreter-selector.c (cb_selector_changed,
405 cb_destroyed_interpreter): Check that tree model iterator is
408 2006-10-17 Jody Goldberg <jody@gnome.org>
412 2006-10-02 Jody Goldberg <jody@gnome.org>
416 2006-05-25 Jean Brefort <jean.brefort@normalesup.org>
418 * plugins/python-loader/gnm-py-interpreter.c: replaced gi18n.h by
420 * plugins/python-loader/gnm-python.c: ditto.
421 * plugins/python-loader/py-console.c: ditto.
422 * plugins/python-loader/py-gnumeric.c: ditto.
423 * plugins/python-loader/python-loader.c: ditto.
425 2006-05-08 Jody Goldberg <jody@gnome.org>
429 2006-04-01 Jean Brefort <jean.brefort@normalesup.org>
431 * py-interpreter-selector.c: add missing header.
433 2006-03-31 Jody Goldberg <jody@gnome.org>
435 * py-gnumeric.c (py_initgnumeric) : remove deleted std error
437 2005-11-14 Jody Goldberg <jody@gnome.org>
441 2005-10-20 Jody Goldberg <jody@gnome.org>
443 Noted by Lukasz Stelmach <steelman@post.pl>
444 * py-gnumeric.c (py_RangeRef_object_getattr) : actually return the
447 2005-10-10 Jody Goldberg <jody@gnome.org>
451 2005-09-08 Jody Goldberg <jody@gnome.org>
455 2005-08-28 Morten Welinder <terra@gnome.org>
459 2005-08-28 Morten Welinder <terra@gnome.org>
463 2005-08-15 Morten Welinder <terra@gnome.org>
467 2005-06-25 Jon K Hellan <hellan@acm.org>
469 * py-gnumeric.c (py_Cell_set_text_method): Fix redisplay problem.
471 2005-06-13 Jody Goldberg <jody@gnome.org>
475 2005-05-10 Jody Goldberg <jody@gnome.org>
479 2005-04-18 Stepan Kasal <kasal@ucw.cz>
481 * python-loader.c (gplp_func_desc_load): Don't try to set up help
482 until the code is adapted for struct GnmFuncHelp.
484 2005-03-23 Morten Welinder <terra@gnome.org>
486 * python-loader.c (gnumeric_fopen_error_info): Use g_fopen, not
489 2005-03-04 Jody Goldberg <jody@gnome.org>
491 * boot.c (go_plugin_init) : register types dynamicly using the plugin
494 2005-02-08 Jody Goldberg <jody@gnome.org>
498 2005-01-17 Jody Goldberg <jody@gnome.org>
502 2004-12-09 Jody Goldberg <jody@gnome.org>
506 2004-11-28 Jody Goldberg <jody@gnome.org>
510 2004-11-07 Jody Goldberg <jody@gnome.org>
514 2004-10-31 Jody Goldberg <jody@gnome.org>
518 2004-11-01 Jon K Hellan <hellan@acm.org>
520 * python-loader.c (gplp_load_service_ui): Rename
521 <plugin_name>_ui_verbs to <plugin_name>_ui_actions.
523 2004-10-29 Jon K Hellan <hellan@acm.org>
525 * python-loader.c (gplp_func_exec_action): Fix order of arguments.
527 2004-10-29 Jon K Hellan <hellan@acm.org>
529 * plugin.xml.in: Enable UI service.
531 * ui-console-menu.xml: Adapt to GtkAction
533 2004-10-05 Jody Goldberg <jody@gnome.org>
537 2004-09-08 Jody Goldberg <jody@gnome.org>
541 2004-08-30 Jon K Hellan <hellan@acm.org>
543 * py-gnumeric.c (py_CellRef_object_getattr): Implement col, row,
544 sheet, col_relative, row_relative attributes.
545 (py_RangeRef_get_tuple_method): New. Return a Python tuple of
547 (py_RangeRef_object_getattr): Implement start and end attributes.
549 CellRef, RangeRef, Cell: Note that lifecycle is broken.
551 2004-08-29 Jody Goldberg <jody@gnome.org>
555 2004-08-30 Jon K Hellan <hellan@acm.org>
557 * py-gnumeric.c (py_Sheet_object_dealloc): Unref sheet.
558 (py_new_Sheet_object): Ref sheet.
559 (py_Workbook_gui_add): Return gui.
560 (py_Workbook_object_dealloc): Unref workbook.
561 (py_new_Workbook_object): Ref workbook.
562 (py_Gui_object_dealloc): Unref gui.
563 (py_new_Gui_object): Ref gui.
564 (py_GnmPlugin_object_dealloc): Unref pinfo.
565 (py_new_GnmPlugin_object): Ref pinfo.
566 (py_gnumeric_MStyle_method): Unref mstyle.
567 (py_gnumeric_workbook_new): Unref workbook.
569 2004-08-27 Jon K Hellan <hellan@acm.org>
571 * gnm-python.c, gnm-py-interpreter.c, py-gnumeric.c,
572 python-loader.c: Move Python.h include just after gnumeric-config,
573 to shut up redefinition warnings. Working around Python project
574 bug 107450 at sourceforge.
576 2004-07-19 Jody Goldberg <jody@gnome.org>
580 2004-05-26 Jean Brefort <jean.brefort@ac-dijon.fr>
582 * py-interpreter-selector.c: (cb_selector_changed),
583 (find_item_with_interpreter), (menu_add_item_with_interpreter),
584 (cb_created_interpreter), (cb_destroyed_interpreter),
585 (gnm_py_interpreter_selector_init),
586 (gnm_py_interpreter_selector_new): replaced GtkOptionMenu by GtkComboBox
588 2004-03-28 Jody Goldberg <jody@gnome.org>
592 2004-01-05 Jon K Hellan <hellan@acm.org>
594 * py-gnumeric.c (py_Boolean_object_dealloc,
595 py_CellPos_object_dealloc, py_Range_object_dealloc,
596 py_CellRef_object_dealloc, py_RangeRef_object_dealloc,
597 py_MStyle_object_dealloc, py_Cell_object_dealloc,
598 py_Sheet_object_dealloc, py_Workbook_object_dealloc,
599 py_Gui_object_dealloc, py_GnumericFunc_object_dealloc,
600 py_GnumericFuncDict_object_dealloc, py_GnmPlugin_object_dealloc):
601 Call PyObject_Del instead of free to avoid segfault.
603 (py_Gui_object_getattr, py_Gui_object_dealloc): Fix type of self
604 argument from py_Workbook_object to py_Gui_object.
606 2003-12-23 Jody Goldberg <jody@gnome.org>
610 2003-11-26 Jody Goldberg <jody@gnome.org>
614 2003-10-08 Jody Goldberg <jody@gnome.org>
618 2003-09-15 Jody Goldberg <jody@gnome.org>
622 2003-09-10 Jody Goldberg <jody@gnome.org>
626 2003-08-21 Jody Goldberg <jody@gnome.org>
630 2003-08-04 Jon K Hellan <hellan@acm.org>
632 * python-loader.c: Rename all
633 gnumeric_plugin_loader_python_blah_blah functions to
635 (gplp_load_base): Check for errors from gnm_python_object_get.
636 (gplp_loader_data_opener_free, gplp_loader_data_saver_free,
637 gplp_loader_data_fngroup_free, gplp_loader_data_ui_free): New
638 functions to free loader data.
639 (gplp_load_service_file_opener, gplp_load_service_file_saver)
640 (gplp_load_service_function_group): Ref PyObjects in loader data,
641 and replace g_object_set_data with g_object_set_data_full to make
642 sure that they are unrefed when loader data is destroyed.
643 (gplp_func_exec_verb): New function. Invoke a python function when
645 (gplp_load_service_ui): New function. Load UI service.
646 (gplp_func_file_probe, gplp_func_file_open, gplp_func_file_save):
647 Remove #ifndef WITH_PYGTK branch. Plugin now depends on Pygtk.
649 * py-interpreter-selector.c (gnm_py_interpreter_selector_init):
650 Move meat to gnm_py_interpreter_selector_new so that errors can be
652 (gnm_py_interpreter_selector_finalize): Check that py_object !=
654 (gnm_py_interpreter_selector_new): Check for errors from
655 gnm_python_object_get and report them.
657 * py-interpreter-selector.[ch] (gnm_py_interpreter_selector_new):
660 * py-gnumeric.h (py_new_Gui_object): New function. Export it.
662 * py-gnumeric.c (py_CellPos_object_str): New function. Wraps
663 cellpos_as_string. Returns e.g. B7.
664 (py_Cell_get_entered_text_method): Fix typo.
665 (py_Workbook_gui_add): New function. Add a GUI to workbook.
666 (py_Workbook_object_getattr): Add gui_add method.
667 (struct _py_Gui_object, py_Gui_get_workbook, py_Gui_get_window,
668 py_Gui_object_getattr, py_Gui_object_dealloc, py_new_Gui_object,
669 py_Gui_object_type): New struct/functions/variable to wrap
671 (py_gnumeric_workbook_new): Fix typo.
672 (py_initgnumeric): Set plugin_info to None when C
673 counterpart is NULL. Add Gui object type.
675 * py-console.c (show_python_console): Report errors from
676 gnm_py_interpreter_selector_new.
678 * gnm-python.[ch] (gnm_python_object_get): Report errors.
680 * gnm-python.c (gnm_init_pygobject): Resurrect. This time ask for
681 the gtk2 version of gobject and report errors.
682 (gnm_python_object_get): Remove Python 1.5 compatibility code. Call
685 2003-07-26 Jon K Hellan <hellan@acm.org>
687 * py-gnumeric.c (py_Workbook_object_getattr): Reverse accidental
690 2003-07-25 Jon K Hellan <hellan@acm.org>
692 * py-gnumeric.[ch]: Make most stuff static.
694 * py-gnumeric.c: Rename convert_python_exception_to_gnumeric_value
695 py_exc_to_gnm_value, convert_python_exception_to_string to
696 py_exc_to_string, convert_python_to_gnumeric_value, to
697 py_obj_to_gnm_value, convert_gnumeric_value_to_python to
699 (call_python_function): Use renamed py_exc_to_gnm_value.
700 (py_exc_to_gnm_value): Kill duplicated implementation and make it
701 a wrapper around py_exc_to_string.
702 (python_call_gnumeric_function, call_python_function,
703 py_obj_to_gnm_value): Use renamed py_obj_to_gnm_value.
704 (python_call_gnumeric_function, call_python_function,
705 gnm_value_to_py_obj, py_Cell_get_value_method): Use renamed
707 (python_call_gnumeric_function): Make static.
709 * python-loader.c (gnumeric_plugin_loader_python_func_file_probe,
710 gnumeric_plugin_loader_python_func_file_open,
711 gnumeric_plugin_loader_python_func_file_save): Use renamed
714 * py-console.c (cb_key_event): New event handler: Close window on
716 (show_python_console): Connect it.
718 * gnm-py-interpreter.c (gnm_py_interpreter_run_string): Check for
719 errors and clear Python exceptions when necessary.
721 2003-07-23 Jon K Hellan <hellan@acm.org>
723 * py-gnumeric.c (EVAL_POS): Recode as new function get_eval_pos
724 and handle case when Gnumeric.Gnumeric_eval_pos has not yet been
726 (python_call_gnumeric_function, call_python_function): Use
729 * gnm-py-interpreter.c (read_file): Remove.
731 2003-07-23 Jon K Hellan <hellan@acm.org>
733 * py-console.c (app_cline_entered): Don't interpret empty string.
734 (app_run_string): New. Factored out of app_cline_entered.
735 (show_python_console): Raise window if it already exists.
737 * gnm-py-interpreter.c (struct _GnmPyInterpreter): Add
738 stringio_class member.
739 (gnm_py_interpreter_init): Initialize stringio_class member.
740 (gnm_py_interpreter_finalize): Unref stringio_class member.
741 (run_print_string): Use PyFile_WriteObject instead of
743 (gnm_py_interpreter_run_string): Use Python StringIO class instead
744 of temp files. It's tidier, and Python would try to write to the
745 temp files after they were closed.
747 2003-07-22 Morten Welinder <terra@gnome.org>
749 * gnm-py-interpreter.c (run_print_string): Add braces around
750 Py_DECREF call. (Why don't the python guys code macros like
753 2003-07-21 Jon K Hellan <hellan@acm.org>
755 * py-gnumeric.c (py_initgnumeric): Initialize PyTypeObjects
760 2003-07-10 Jon K Hellan <hellan@acm.org>
762 * py-gnumeric.c (py_gnumeric_workbook_new): New.
763 Implements Gnumeric.workbook_new()
765 * py-console.c (show_python_console): Make console window
768 2003-07-09 Jody Goldberg <jody@gnome.org>
770 * py-gnumeric.c (py_Workbook_sheet_add_method) : new.
772 2003-06-20 Jon K Hellan <hellan@acm.org>
774 * py-interpreter-selector.c (menu_find_item_with_interpreter):
775 return NULL, not FALSE if no interpreter found.
776 (gnm_py_interpreter_selector_new): Replace gtk_type_new with
779 2003-06-15 Jon K Hellan <hellan@acm.org>
781 * gnm-py-interpreter.c (run_print_string): New. Run a python
782 string, and print result.
783 (gnm_py_interpreter_run_string): Use it.
785 * py-console.c (struct app): Add text_view and text_end.
786 (app_text_print): Always keep end of text visible.
787 (show_python_console): Create marker at end of text. Set focus to
790 * python-loader.c (gnumeric_plugin_loader_python_func_file_probe)
791 (gnumeric_plugin_loader_python_func_file_open)
792 (gnumeric_plugin_loader_python_func_file_save): Unref - wrapping
793 the gsf stream as a Python object added a reference.
795 * gnm-python.c (gnm_init_pygobject): Remove.
796 (gnm_python_object_get): Don't call gnm_init_pygobject. pygtk.gobject
797 based plugins do this for us, and if we aren't using any of those,
800 2003-06-07 Jody Goldberg <jody@gnome.org>
804 2003-06-07 Jody Goldberg <jody@gnome.org>
808 2003-06-05 Jon K Hellan <hellan@acm.org>
810 * py-gnumeric.c (py_initgnumeric): Fix typo. Should be
811 "GnumericErrorVALUE", not "GnumericErrorVALUEL".
813 2003-05-11 Jody Goldberg <jody@gnome.org>
817 2003-03-14 Jody Goldberg <jody@gnome.org>
819 * gnm-py-interpreter.c (gnm_py_interpreter_new) : Use G_N_ELEMENTS.
821 2003-03-04 Jon K Hellan <hellan@acm.org>
823 * gnm-python.c (gnm_init_pygobject): New function. Try to import
824 gobject, and don't crash Gnumeric if it fails.
825 (gnm_python_object_get): Use gnm_init_pygobject.
827 * python-loader.c (gnumeric_plugin_loader_python_func_file_probe,
828 gnumeric_plugin_loader_python_func_file_open,
829 gnumeric_plugin_loader_python_func_file_save): Check that we
830 managed to import gobject before calling pygobject_new.
832 2003-01-28 Jody Goldberg <jody@gnome.org>
836 2002-12-31 Jody Goldberg <jody@gnome.org>
840 2002-12-30 Jon K Hellan <hellan@acm.org>
842 * py-interpreter-selector.c (menu_find_item_with_interpreter):
843 Make it return a value also when compiled with debugging turned off.
845 2002-12-22 Jody Goldberg <jody@gnome.org>
849 2002-12-22 Jody Goldberg <jody@gnome.org>
853 2002-11-29 Jody Goldberg <jody@gnome.org>
855 * python-loader.c (gnumeric_plugin_loader_python_func_file_save) :
858 2002-11-28 Jon K Hellan <hellan@acm.org>
860 * python-loader.c (gnumeric_plugin_loader_python_func_file_save):
863 2002-11-15 Jody Goldberg <jody@gnome.org>
867 2002-11-01 Jody Goldberg <jody@gnome.org>
871 2002-10-27 Jody Goldberg <jody@gnome.org>
875 2002-10-18 Morten Welinder <terra@diku.dk>
877 * gnm-py-interpreter.c (gnm_py_interpreter_compare): Make UTF-8
880 2002-10-11 Jon K Hellan <hellan@acm.org>
882 * gnm-python.c: Include stdlib.h for setenv
883 (gnm_python_object_get): Only call PyEval_InitThreads if
884 WITH_THREAD defined in Python headers.
886 2002-09-30 Jody Goldberg <jody@gnome.org>
890 2002-08-26 Jon K Hellan <hellan@acm.org>
892 * gnm-python.c (gnm_python_new_interpreter): Fix warning.
894 2002-08-25 Jody Goldberg <jody@gnome.org>
898 2002-08-21 Zbigniew Chyla <cyba@gnome.pl>
901 Conditionally include "pygobject.h" (patch from Jon K)
903 2002-08-21 Zbigniew Chyla <cyba@gnome.pl>
905 * Makefile.am (gnumeric_plugin_python_loader_DATA):
906 Removed py-console-ui.xml
908 * py-console-ui.xml: Removed
910 * py-console.c (show_python_console): Don't use bonobo-ui, build
911 UI manually (fixes crash at exit)
913 * gnm-python.[ch]: Cleaner memory management - gnm_python_object_get()
914 always returns new reference, all functions get GnmPython argument.
918 (gnumeric_plugin_loader_python_load_base,
919 gnumeric_plugin_loader_python_unload_base):
920 Don't keep the number of loaded plugins, GnmPython takes care of this.
921 ref/unref GnmPython object where needed
923 * py-interpreter-selector.c: Keep reference to GnmPython, not to the
924 default interpreter, unref on finalization
926 * gnm-py-interpreter.c: Cleaned up includes
928 * py-command-line.c (gnm_py_command_line_keypress):
929 Don't store empty lines in the history
931 * py-gnumeric.c: Don't use gnm_python*, only Python API
933 2002-08-20 Zbigniew Chyla <cyba@gnome.pl>
937 (app_cline_entered) s/stdout/stdout_str/, s/stderr/stderr_str/
938 (show_python_console): Connect to "interpreter_changed" with
939 g_signal_connect_object (using the window as an object), not
942 2002-08-20 Zbigniew Chyla <cyba@gnome.pl>
945 (INCLUDES): Define PLUGIN_ID
946 (gnumeric_plugin_python_loader_DATA):
947 Set to "ui-console-menu.xml py-console-ui.xml"
948 (python_loader_la_SOURCES): Added python-loader.h, gnm-python.h,
949 gnm-python.c, gnm-py-interpreter.h, gnm-py-interpreter.c,
950 py-interpreter-selector.c, py-interpreter-selector.h,
951 py-command-line.c, py-command-line.h, py-console.c, py-console.h,
953 (EXTRA_DIST): Added $(gnumeric_plugin_python_loader_DATA)
955 * plugin.xml.in: Added Python console using "ui" service
958 Adjusted to plugin-loader.h (conversion from GtkObject to GObject).
959 Register GnumericPluginLoader as dynamic class (using PLUGIN_CLASS)
960 to allow unloading the plugin.
961 (initialize_python_if_needed): Moved to gnum-python.c and renamed
962 (python_get_loader_type): Moved to boot.c
965 (struct InterpreterInfo, create_python_interpreter,
966 destroy_python_interpreter, switch_python_interpreter_if_needed,
967 clear_python_error_if_needed): Moved to gnum-python.c and renamed.
970 (create_python_interpreter, destroy_python_interpreter,
971 switch_python_interpreter_if_needed, clear_python_error_if_needed):
972 Moved to gnum-python.c and renamed.
973 (py_gnumeric_Workbooks_method): New.
974 (py_initgnumeric): Made non-static.
976 * python-loader.h, gnm-python.h, gnm-python.c, gnm-py-interpreter.h,
977 gnm-py-interpreter.c, py-interpreter-selector.c,
978 py-interpreter-selector.h, py-command-line.c, py-command-line.h,
979 py-console.c, py-console.h, boot.c: New
981 2002-08-12 Jody Goldberg <jody@gnome.org>
985 2002-08-09 Zbigniew Chyla <cyba@gnome.pl>
988 (gnumeric_plugin_loader_python_info_get_extra_info_list): Removed
990 2002-08-06 Zbigniew Chyla <cyba@gnome.pl>
993 (gnumeric_plugin_loader_python_func_get_full_function_info):
994 Always set *link and *unlink to NULL.
996 2002-08-04 Jon K Hellan <hellan@acm.org>
998 * python-loader.c (gnumeric_plugin_loader_python_func_file_open):
999 SWITCH_TO_PLUGIN (plugin_service_get_plugin (service)).
1001 2002-07-27 Zbigniew Chyla <cyba@gnome.pl>
1003 * python-loader.c (initialize_python_if_needed,
1004 gnumeric_plugin_loader_python_set_attributes,
1005 gnumeric_plugin_loader_python_load_base,
1006 gnumeric_plugin_loader_python_unload_base,
1007 gnumeric_plugin_loader_python_init,
1008 gnumeric_plugin_loader_python_func_file_probe,
1009 gnumeric_plugin_loader_python_func_file_open,
1010 gnumeric_plugin_loader_python_load_service_file_opener,
1011 gnumeric_plugin_loader_python_func_file_saver,
1012 gnumeric_plugin_loader_python_load_service_file_saver,
1013 call_python_function_args, call_python_function_nodes,
1014 gnumeric_plugin_loader_python_func_get_full_function_info,
1015 gnumeric_plugin_loader_python_load_service_function_group,
1016 gnumeric_plugin_loader_python_unload_service_function_group,
1017 python_get_loader_type):
1018 Less assertions, GNM_INIT_RET_ERROR_INFO macro.
1019 Use g_object data instead of plugin_service_get_loader_data.
1020 "has_probe" field has been removed, always get a pointer to
1021 *_file_probe pointer function if it's available.
1022 Use g_object data instead of plugin_service_[gs]et_loader_data.
1023 Set callbacks using plugin_service_get_cbs and PluginService*Callbacks
1024 structs, instead of settings PluginService* fields directly (they are
1027 2002-07-22 Zbigniew Chyla <cyba@gnome.pl>
1029 * plugin.xml.in: Set loader type to "Gnumeric_Builtin:module".
1032 s/PluginInfo/GnmPlugin/
1033 Adjusted to plugin.c
1036 (gnumeric_plugin_loader_python_set_attributes):
1037 Adjusted to plugin-loader.c (read attributes from GHashTable).
1038 s/..._load/..._load_base/
1039 s/..._unload/..._unload_base/
1040 Adjusted to plugin.c
1042 2002-07-21 Jody Goldberg <jody@gnome.org>
1046 2002-07-20 Jon K Hellan <hellan@acm.org>
1048 * python-loader.c (BROKEN_PY_INITIALIZE): Test for this condition
1049 is now autoconfiscated.
1052 2002-06-20 Jon K Hellan <hellan@acm.org>
1054 * python-loader.c: Include pygobject.h if Pygtk is installed.
1055 (initialize_python_if_needed): Add init_pygobject if Pygtk is
1057 (gnumeric_plugin_loader_python_func_file_probe): Replace file name
1058 argument with GsfInput. Try to wrap GsfInput in Python object if
1059 Pygtk is installed. Otherwise give up with warning.
1060 (gnumeric_plugin_loader_python_func_file_open): Ditto.
1062 * Makefile.am: Add PYGTK_CFLAGS to includes.
1064 2002-05-29 Jody Goldberg <jody@gnome.org>
1068 2002-05-06 Jon K Hellan <hellan@acm.org>
1070 * python-loader.c (gnumeric_plugin_loader_python_set_attributes)
1071 (gnumeric_plugin_loader_python_info_get_extra_info_list): Change
1072 from GList to GSList, as the prototypes in
1073 GnumericPluginLoaderClass already did a while ago. This silences
1076 2002-04-29 Jody Goldberg <jody@gnome.org>
1080 2002-03-25 Jody Goldberg <jody@gnome.org>
1084 2002-03-22 Jon K Hellan <hellan@acm.org>
1086 * python-loader.c: Include expr-impl.h
1088 2002-03-11 Jon K Hellan <hellan@acm.org>
1090 * py-gnumeric.c (create_python_interpreter,
1091 py_CellPos_get_tuple_method, py_CellPos_object_getattr,
1092 py_Range_get_tuple_method, py_mstyle_set_font_bold_method,
1093 py_mstyle_get_font_bold_method, py_mstyle_set_font_italic_method,
1094 py_mstyle_get_font_italic_method,
1095 py_mstyle_set_font_strike_method,
1096 py_mstyle_get_font_strike_method, py_mstyle_set_font_size_method,
1097 py_mstyle_get_font_size_method, py_mstyle_set_wrap_text_method,
1098 py_mstyle_get_wrap_text_method, py_Cell_set_text_method,
1099 py_Cell_get_mstyle_method, py_Cell_get_value_method,
1100 py_Cell_get_value_as_string_method,
1101 py_Cell_get_rendered_text_method, py_Cell_get_entered_text_method,
1102 py_sheet_cell_fetch_method, py_sheet_style_get_method,
1103 py_sheet_style_apply_range_method,
1104 py_sheet_style_set_range_method, py_sheet_style_set_pos_method,
1105 py_sheet_get_extent_method, py_sheet_rename_method,
1106 py_sheet_get_name_unquoted_method, py_sheet_subscript,
1107 py_Workbook_get_sheets_method, py_GnumericFuncDict_subscript,
1108 py_PluginInfo_get_dir_name_method, py_PluginInfo_get_id_method,
1109 py_PluginInfo_get_name_method,
1110 py_PluginInfo_get_description_method, py_gnumeric_Boolean_method,
1111 py_gnumeric_CellPos_method, py_gnumeric_Range_method,
1112 py_gnumeric_MStyle_method, py_initgnumeric):
1114 * python-loader.c (gnumeric_plugin_loader_python_load,
1115 gnumeric_plugin_loader_python_func_file_probe,
1116 gnumeric_plugin_loader_python_func_file_open,
1117 gnumeric_plugin_loader_python_func_file_save,
1118 (gnumeric_plugin_loader_python_func_get_full_function_info):
1119 Python API doesn't expect arguments to be declared const. So cast
1120 constants to non-const to silence warning.
1121 (python_function_get_gnumeric_help) Return const gchar **.
1122 (gnumeric_plugin_loader_python_func_get_full_function_info):
1123 Change signature to match
1124 PluginServiceFunctionGroup::plugin_func_get_full_function_info
1127 2002-03-10 Jody Goldberg <jody@gnome.org>
1131 2002-03-09 Jon K Hellan <hellan@acm.org>
1133 * python-loader.c (gnumeric_plugin_loader_python_load): Add final
1134 NULL to g_build_filename.
1136 2002-03-07 Jon K Hellan <hellan@acm.org>
1138 * python-loader.c (call_python_function_args,
1139 call_python_function_nodes): Substitute ei->func_call->func for
1140 ei->func_def and adapt pointer checks accordingly.
1143 2002-02-18 Jody Goldberg <jody@gnome.org>
1147 2002-01-23 Jody Goldberg <jody@gnome.org>
1149 * python-loader.c (gnumeric_plugin_loader_python_load) : Use the new
1150 glib2 style file tests.
1152 2002-01-21 Jody Goldberg <jody@gnome.org>
1156 2002-01-15 Jody Goldberg <jody@gnome.org>
1160 2002-01-06 Jody Goldberg <jody@gnome.org>
1164 2001-12-31 Jody Goldberg <jody@gnome.org>
1168 2001-12-24 Jody Goldberg <jody@gnome.org>
1172 2001-12-15 Jody Goldberg <jody@gnome.org>
1176 2001-12-12 Jody Goldberg <jody@gnome.org>
1178 * python-loader.c (call_python_function_nodes) : Use ExprList.
1180 2001-11-05 Jody Goldberg <jgoldberg@home,com>
1184 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1188 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1192 2001-10-23 Jody Goldberg <jgoldberg@home.com>
1194 * python-loader.c (call_python_function_nodes) :
1195 s/eval_expr/expr_eval/
1197 2001-10-18 Jody Goldberg <jgoldberg@home.com>
1201 2001-10-10 Jody Goldberg <jgoldberg@home.com>
1203 * py-gnumeric.c (py_mstyle_merge_method) : delete.
1204 (py_MStyle_object_methods) : remove mstyle_merge.
1206 2001-10-07 Jody Goldberg <jgoldberg@home.com>
1210 2001-09-25 Jon K Hellan <hellan@acm.org>
1212 * .cvsignore: Add plugin.xml
1214 2001-08-28 Morten Welinder <terra@diku.dk>
1216 * python-loader.c (initialize_python_if_needed): Avoid segfaults
1219 2001-08-21 Zbigniew Chyla <cyba@gnome.pl>
1221 * plugin.xml: Removed
1223 * plugin.xml.in: Copied from plugin.xml, prepared for localization.
1225 * Makefile.am: Use xml-i18n-tools to create plugin.xml (with
1226 translations merged from .po file).
1228 2001-08-20 Jody Goldberg <jgoldberg@home.com>
1232 2001-08-11 Jody Goldberg <jgoldberg@home.com>
1236 2001-07-17 Jody Goldberg <jgoldberg@home.com>
1240 2001-07-14 Zbigniew Chyla <cyba@gnome.pl>
1242 * python-loader.c (gnumeric_plugin_loader_python_func_file_open,
1243 gnumeric_plugin_loader_python_func_file_save): Use gnumeric_io_error_string.
1245 2001-06-29 Zbigniew Chyla <cyba@gnome.pl>
1247 * py-gnumeric.c (create_python_interpreter): Call PySys_SetArgv after
1248 creating new interpreter (some modules assume that sys.argv is always
1251 * python-loader.c (gnumeric_plugin_loader_python_load): Marked two
1252 strings for translation.
1254 2001-06-28 Jody Goldberg <jgoldberg@home>
1258 2001-06-28 Jody Goldberg <jgoldberg@home.com>
1260 * py-gnumeric.c (py_sheet_get_extent_method) : changes to
1263 2001-06-27 Jody Goldberg <jgoldberg@home.com>
1267 2001-05-29 Zbigniew Chyla <cyba@gnome.pl>
1269 * python-loader.c (gnumeric_plugin_loader_python_func_file_probe): Added
1270 FileProbeLevel argument.
1272 2001-05-21 Zbigniew Chyla <cyba@gnome.pl>
1274 * python-loader.c (gnumeric_plugin_loader_python_func_file_probe,
1275 gnumeric_plugin_loader_python_func_file_probe,
1276 gnumeric_plugin_loader_python_func_file_save):
1277 s/FileOpener/GnumFileOpener/
1278 s/FileSaver/GnumFileSaver/
1280 2001-05-20 Jody Goldberg <jgoldberg@home.com>
1284 2001-05-17 Jody Goldberg <jgoldberg@home.com>
1286 * py-gnumeric.c (py_Cell_render_value_method) : delete. This should
1289 2001-04-19 Jody Goldberg <jgoldberg@home.com>
1291 * py-gnumeric.c (py_Workbook_get_sheets_method) : free the list of
1294 2001-03-31 Zbigniew Chyla <cyba@gnome.pl>
1296 * py-gnumeric.c (destroy_python_interpreter): Fixed typo.
1298 2001-03-31 Zbigniew Chyla <cyba@gnome.pl>
1300 Patch from drk@sgi.com
1302 * py-gnumeric.c: Added function declarations for object methods
1303 to avoid declaring forward references for an unsized PyMethodDef
1306 2001-03-17 Jody Goldberg <jgoldberg@home.com>
1308 * Makefile.am (SOURCES) : Add missing header.
1310 2001-03-06 Zbigniew Chyla <cyba@gnome.pl>
1312 * py-gnumeric.[ch], python-loader.c:
1313 Replaced #include "Python.h" with #include <Python.h>.
1315 2001-03-06 Jon K Hellan <hellan@acm.org>
1317 * py-gnumeric.c, py-gnumeric.h, python-loader.c: Fix include path
1320 * .cvsignore: Add it.
1322 2001-03-05 Zbigniew Chyla <cyba@gnome.pl>
1324 * Makefile.am, plugin.xml, py-gnumeric.c, py-gnumeric.h,
1325 python-loader.c, README-IMPORTANT:
1326 New plugin, loader for Python plugins.