1 2017-03-20 Morten Welinder <terra@gnome.org>
5 2017-01-30 Morten Welinder <terra@gnome.org>
9 2016-08-20 Morten Welinder <terra@gnome.org>
13 2016-06-29 Morten Welinder <terra@gnome.org>
17 2016-06-17 Morten Welinder <terra@gnome.org>
21 2016-05-06 Morten Welinder <terra@gnome.org>
25 2016-03-22 Morten Welinder <terra@gnome.org>
29 2016-02-06 Morten Welinder <terra@gnome.org>
33 2015-12-28 Morten Welinder <terra@gnome.org>
37 2015-12-25 Morten Welinder <terra@gnome.org>
41 2015-09-20 Morten Welinder <terra@gnome.org>
45 2015-07-28 Morten Welinder <terra@gnome.org>
49 2015-04-16 Morten Welinder <terra@gnome.org>
53 2015-03-30 Jean Brefort <jean.brefort@normalesup.org>
55 * gnm-python.c (cb_test_signals), (gnm_python_init),
56 (gnm_python_finalize): busy wait for signals. [#744638]
58 2015-03-04 Morten Welinder <terra@gnome.org>
62 2015-02-04 Morten Welinder <terra@gnome.org>
66 2015-01-23 Morten Welinder <terra@gnome.org>
70 2014-09-25 Morten Welinder <terra@gnome.org>
74 2014-06-09 Morten Welinder <terra@gnome.org>
78 2014-05-23 Morten Welinder <terra@gnome.org>
82 2014-04-30 Morten Welinder <terra@gnome.org>
86 2014-04-21 Morten Welinder <terra@gnome.org>
88 * python-loader.c (gplp_func_desc_load): Accept any callable, not
90 (gplp_func_exec_action): Ditto.
91 (python_function_get_gnumeric_help): Evidently we only know how to
92 provide help for callables that are functions.
94 2014-04-13 Morten Welinder <terra@gnome.org>
98 2014-03-18 Morten Welinder <terra@gnome.org>
102 2014-03-03 Morten Welinder <terra@gnome.org>
106 2014-02-16 Morten Welinder <terra@gnome.org>
110 2014-02-11 Morten Welinder <terra@gnome.org>
114 2013-11-28 Morten Welinder <terra@gnome.org>
118 2013-10-07 Morten Welinder <terra@gnome.org>
122 2013-09-01 Morten Welinder <terra@gnome.org>
126 2013-08-27 Morten Welinder <terra@gnome.org>
130 2013-08-19 Morten Welinder <terra@gnome.org>
134 2013-07-10 Morten Welinder <terra@gnome.org>
138 2013-06-25 Morten Welinder <terra@gnome.org>
142 2013-04-26 Morten Welinder <terra@gnome.org>
146 2013-03-09 Morten Welinder <terra@gnome.org>
150 2012-12-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
152 * python-loader.c (python_function_get_gnumeric_help):
153 handle new-style documentation and extract argument names
156 2012-12-18 Morten Welinder <terra@gnome.org>
160 2012-11-29 Morten Welinder <terra@gnome.org>
164 2012-11-16 Morten Welinder <terra@gnome.org>
168 2012-09-06 Morten Welinder <terra@gnome.org>
172 2012-07-25 Jean Brefort <jean.brefort@normalesup.org>
174 * python-loader.c (gplp_func_desc_load): fixed build after
175 GnmFuncDescriptor change.
177 2012-07-15 Morten Welinder <terra@gnome.org>
181 2012-07-11 Jean Brefort <jean.brefort@normalesup.org>
183 * gnm-python.c (gnm_python_object_get): make python support work again.
185 2012-07-08 Morten Welinder <terra@gnome.org>
187 * python-loader.c (gplp_func_file_open): Add dummy encoding
188 argument so function signature matches goffice.
190 2012-06-25 Morten Welinder <terra@gnome.org>
194 2012-04-21 Morten Welinder <terra@gnome.org>
198 2012-03-02 Morten Welinder <terra@gnome.org>
202 2011-11-27 Morten Welinder <terra@gnome.org>
206 2011-11-24 Morten Welinder <terra@gnome.org>
210 2011-07-31 Morten Welinder <terra@gnome.org>
214 2011-05-21 Morten Welinder <terra@gnome.org>
218 2011-05-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
220 * py-console.c: add dead-kittens.h
222 2011-03-30 Jean Brefort <jean.brefort@normalesup.org>
224 * python-loader.c: fix cals to gnm_func_get_name().
226 2011-03-24 Morten Welinder <terra@gnome.org>
230 2011-02-02 Morten Welinder <terra@gnome.org>
234 2010-11-25 Morten Welinder <terra@gnome.org>
238 2010-10-01 Morten Welinder <terra@gnome.org>
242 2010-09-04 Morten Welinder <terra@gnome.org>
246 2010-08-16 Morten Welinder <terra@gnome.org>
250 2010-07-30 Morten Welinder <terra@gnome.org>
254 2010-06-28 Morten Welinder <terra@gnome.org>
258 2010-06-16 Morten Welinder <terra@gnome.org>
262 2010-05-30 Morten Welinder <terra@gnome.org>
266 2010-05-20 Morten Welinder <terra@gnome.org>
270 2010-05-07 Morten Welinder <terra@gnome.org>
274 2010-04-16 Morten Welinder <terra@gnome.org>
278 2010-03-08 Morten Welinder <terra@gnome.org>
282 2010-02-13 Morten Welinder <terra@gnome.org>
286 2010-01-19 Morten Welinder <terra@gnome.org>
290 2009-12-15 Morten Welinder <terra@gnome.org>
294 2009-11-29 Morten Welinder <terra@gnome.org>
298 2009-11-01 Morten Welinder <terra@gnome.org>
302 2009-10-11 Morten Welinder <terra@gnome.org>
306 2009-09-21 Jean Brefort <jean.brefort@normalesup.org>
308 * plugin.xml.in: translate ui labels. [#159806]
310 2009-09-20 Morten Welinder <terra@gnome.org>
314 2009-09-05 Morten Welinder <terra@gnome.org>
318 2009-08-30 Morten Welinder <terra@gnome.org>
322 2009-08-15 Morten Welinder <terra@gnome.org>
326 2009-06-20 Morten Welinder <terra@gnome.org>
330 2009-05-23 Morten Welinder <terra@gnome.org>
334 2009-05-06 Morten Welinder <terra@gnome.org>
338 2009-04-25 Morten Welinder <terra@gnome.org>
342 2009-03-22 Morten Welinder <terra@gnome.org>
346 2009-02-22 Morten Welinder <terra@gnome.org>
350 2009-01-29 Jon K Hellan <hellan@acm.org>
352 * gnm-py-interpreter.c (gnm_py_interpreter_new): Work around
353 security vulnerability in Python by making argv start with
354 "/dev/null". #569648.
356 2008-12-30 Jean Brefort <jean.brefort@normalesup.org>
358 * python-loader.c: (gplp_func_file_probe): add a format string to
361 2008-10-18 Jody Goldberg <jody@gnome.org>
365 2008-08-29 Jody Goldberg <jody@gnome.org>
369 2008-06-25 Jody Goldberg <jody@gnome.org>
373 2008-05-26 Jody Goldberg <jody@gnome.org>
375 * python-loader.c : remove NO_IMPORT_PYGOBJECT. We need one of them.
377 2008-05-04 Jody Goldberg <jody@gnome.org>
381 2008-03-02 Jody Goldberg <jody@gnome.org>
384 * gnm-python.c : Add NO_IMPORT_PYGOBJECT. #510059
385 * py-gnumeric.c : ditto.
386 * python-loader.c : ditto.
388 2007-12-21 Jody Goldberg <jody@gnome.org>
392 2007-12-03 Jody Goldberg <jody@gnome.org>
396 2007-11-19 Jody Goldberg <jody@gnome.org>
400 2007-11-04 Morten Welinder <terra@gnome.org>
404 2007-10-21 Morten Welinder <terra@gnome.org>
408 2007-09-09 Jon K Hellan <hellan@acm.org>
410 * python-loader.c (gplp_func_file_probe): Fix potential crash.
411 (gplp_load_service_file_opener): Fix crash. [#461845]
413 2007-09-04 Jody Goldberg <jody@gnome.org>
417 2007-07-24 Jody Goldberg <jody@gnome.org>
421 2007-07-18 Jody Goldberg <jody@gnome.org>
423 Patch from Nils Kanning
424 * python-loader.c (python_function_get_gnumeric_help) : support the
425 new help api. [#412804]
427 2007-05-03 Morten Welinder <terra@gnome.org>
431 2007-04-21 Morten Welinder <terra@gnome.org>
435 2007-03-04 Morten Welinder <terra@gnome.org>
439 2007-03-02 Jody Goldberg <jody@gnome.org>
441 * python-loader.c (gplp_load_base) : compiler warning.
443 2007-02-16 Morten Welinder <terra@gnome.org>
447 2006-12-17 Jody Goldberg <jody@gnome.org>
451 2006-12-04 Jody Goldberg <jody@gnome.org>
455 2006-11-20 Jody Goldberg <jody@gnome.org>
459 2006-11-19 Morten Welinder <terra@gnome.org>
463 2006-10-22 Jon K Hellan <hellan@acm.org>
465 * py-interpreter-selector.c (cb_selector_changed,
466 cb_destroyed_interpreter): Check that tree model iterator is
469 2006-10-17 Jody Goldberg <jody@gnome.org>
473 2006-10-02 Jody Goldberg <jody@gnome.org>
477 2006-05-25 Jean Brefort <jean.brefort@normalesup.org>
479 * plugins/python-loader/gnm-py-interpreter.c: replaced gi18n.h by
481 * plugins/python-loader/gnm-python.c: ditto.
482 * plugins/python-loader/py-console.c: ditto.
483 * plugins/python-loader/py-gnumeric.c: ditto.
484 * plugins/python-loader/python-loader.c: ditto.
486 2006-05-08 Jody Goldberg <jody@gnome.org>
490 2006-04-01 Jean Brefort <jean.brefort@normalesup.org>
492 * py-interpreter-selector.c: add missing header.
494 2006-03-31 Jody Goldberg <jody@gnome.org>
496 * py-gnumeric.c (py_initgnumeric) : remove deleted std error
498 2005-11-14 Jody Goldberg <jody@gnome.org>
502 2005-10-20 Jody Goldberg <jody@gnome.org>
504 Noted by Lukasz Stelmach <steelman@post.pl>
505 * py-gnumeric.c (py_RangeRef_object_getattr) : actually return the
508 2005-10-10 Jody Goldberg <jody@gnome.org>
512 2005-09-08 Jody Goldberg <jody@gnome.org>
516 2005-08-28 Morten Welinder <terra@gnome.org>
520 2005-08-28 Morten Welinder <terra@gnome.org>
524 2005-08-15 Morten Welinder <terra@gnome.org>
528 2005-06-25 Jon K Hellan <hellan@acm.org>
530 * py-gnumeric.c (py_Cell_set_text_method): Fix redisplay problem.
532 2005-06-13 Jody Goldberg <jody@gnome.org>
536 2005-05-10 Jody Goldberg <jody@gnome.org>
540 2005-04-18 Stepan Kasal <kasal@ucw.cz>
542 * python-loader.c (gplp_func_desc_load): Don't try to set up help
543 until the code is adapted for struct GnmFuncHelp.
545 2005-03-23 Morten Welinder <terra@gnome.org>
547 * python-loader.c (gnumeric_fopen_error_info): Use g_fopen, not
550 2005-03-04 Jody Goldberg <jody@gnome.org>
552 * boot.c (go_plugin_init) : register types dynamicly using the plugin
555 2005-02-08 Jody Goldberg <jody@gnome.org>
559 2005-01-17 Jody Goldberg <jody@gnome.org>
563 2004-12-09 Jody Goldberg <jody@gnome.org>
567 2004-11-28 Jody Goldberg <jody@gnome.org>
571 2004-11-07 Jody Goldberg <jody@gnome.org>
575 2004-10-31 Jody Goldberg <jody@gnome.org>
579 2004-11-01 Jon K Hellan <hellan@acm.org>
581 * python-loader.c (gplp_load_service_ui): Rename
582 <plugin_name>_ui_verbs to <plugin_name>_ui_actions.
584 2004-10-29 Jon K Hellan <hellan@acm.org>
586 * python-loader.c (gplp_func_exec_action): Fix order of arguments.
588 2004-10-29 Jon K Hellan <hellan@acm.org>
590 * plugin.xml.in: Enable UI service.
592 * ui-console-menu.xml: Adapt to GtkAction
594 2004-10-05 Jody Goldberg <jody@gnome.org>
598 2004-09-08 Jody Goldberg <jody@gnome.org>
602 2004-08-30 Jon K Hellan <hellan@acm.org>
604 * py-gnumeric.c (py_CellRef_object_getattr): Implement col, row,
605 sheet, col_relative, row_relative attributes.
606 (py_RangeRef_get_tuple_method): New. Return a Python tuple of
608 (py_RangeRef_object_getattr): Implement start and end attributes.
610 CellRef, RangeRef, Cell: Note that lifecycle is broken.
612 2004-08-29 Jody Goldberg <jody@gnome.org>
616 2004-08-30 Jon K Hellan <hellan@acm.org>
618 * py-gnumeric.c (py_Sheet_object_dealloc): Unref sheet.
619 (py_new_Sheet_object): Ref sheet.
620 (py_Workbook_gui_add): Return gui.
621 (py_Workbook_object_dealloc): Unref workbook.
622 (py_new_Workbook_object): Ref workbook.
623 (py_Gui_object_dealloc): Unref gui.
624 (py_new_Gui_object): Ref gui.
625 (py_GnmPlugin_object_dealloc): Unref pinfo.
626 (py_new_GnmPlugin_object): Ref pinfo.
627 (py_gnumeric_MStyle_method): Unref mstyle.
628 (py_gnumeric_workbook_new): Unref workbook.
630 2004-08-27 Jon K Hellan <hellan@acm.org>
632 * gnm-python.c, gnm-py-interpreter.c, py-gnumeric.c,
633 python-loader.c: Move Python.h include just after gnumeric-config,
634 to shut up redefinition warnings. Working around Python project
635 bug 107450 at sourceforge.
637 2004-07-19 Jody Goldberg <jody@gnome.org>
641 2004-05-26 Jean Brefort <jean.brefort@ac-dijon.fr>
643 * py-interpreter-selector.c: (cb_selector_changed),
644 (find_item_with_interpreter), (menu_add_item_with_interpreter),
645 (cb_created_interpreter), (cb_destroyed_interpreter),
646 (gnm_py_interpreter_selector_init),
647 (gnm_py_interpreter_selector_new): replaced GtkOptionMenu by GtkComboBox
649 2004-03-28 Jody Goldberg <jody@gnome.org>
653 2004-01-05 Jon K Hellan <hellan@acm.org>
655 * py-gnumeric.c (py_Boolean_object_dealloc,
656 py_CellPos_object_dealloc, py_Range_object_dealloc,
657 py_CellRef_object_dealloc, py_RangeRef_object_dealloc,
658 py_MStyle_object_dealloc, py_Cell_object_dealloc,
659 py_Sheet_object_dealloc, py_Workbook_object_dealloc,
660 py_Gui_object_dealloc, py_GnumericFunc_object_dealloc,
661 py_GnumericFuncDict_object_dealloc, py_GnmPlugin_object_dealloc):
662 Call PyObject_Del instead of free to avoid segfault.
664 (py_Gui_object_getattr, py_Gui_object_dealloc): Fix type of self
665 argument from py_Workbook_object to py_Gui_object.
667 2003-12-23 Jody Goldberg <jody@gnome.org>
671 2003-11-26 Jody Goldberg <jody@gnome.org>
675 2003-10-08 Jody Goldberg <jody@gnome.org>
679 2003-09-15 Jody Goldberg <jody@gnome.org>
683 2003-09-10 Jody Goldberg <jody@gnome.org>
687 2003-08-21 Jody Goldberg <jody@gnome.org>
691 2003-08-04 Jon K Hellan <hellan@acm.org>
693 * python-loader.c: Rename all
694 gnumeric_plugin_loader_python_blah_blah functions to
696 (gplp_load_base): Check for errors from gnm_python_object_get.
697 (gplp_loader_data_opener_free, gplp_loader_data_saver_free,
698 gplp_loader_data_fngroup_free, gplp_loader_data_ui_free): New
699 functions to free loader data.
700 (gplp_load_service_file_opener, gplp_load_service_file_saver)
701 (gplp_load_service_function_group): Ref PyObjects in loader data,
702 and replace g_object_set_data with g_object_set_data_full to make
703 sure that they are unrefed when loader data is destroyed.
704 (gplp_func_exec_verb): New function. Invoke a python function when
706 (gplp_load_service_ui): New function. Load UI service.
707 (gplp_func_file_probe, gplp_func_file_open, gplp_func_file_save):
708 Remove #ifndef WITH_PYGTK branch. Plugin now depends on Pygtk.
710 * py-interpreter-selector.c (gnm_py_interpreter_selector_init):
711 Move meat to gnm_py_interpreter_selector_new so that errors can be
713 (gnm_py_interpreter_selector_finalize): Check that py_object !=
715 (gnm_py_interpreter_selector_new): Check for errors from
716 gnm_python_object_get and report them.
718 * py-interpreter-selector.[ch] (gnm_py_interpreter_selector_new):
721 * py-gnumeric.h (py_new_Gui_object): New function. Export it.
723 * py-gnumeric.c (py_CellPos_object_str): New function. Wraps
724 cellpos_as_string. Returns e.g. B7.
725 (py_Cell_get_entered_text_method): Fix typo.
726 (py_Workbook_gui_add): New function. Add a GUI to workbook.
727 (py_Workbook_object_getattr): Add gui_add method.
728 (struct _py_Gui_object, py_Gui_get_workbook, py_Gui_get_window,
729 py_Gui_object_getattr, py_Gui_object_dealloc, py_new_Gui_object,
730 py_Gui_object_type): New struct/functions/variable to wrap
732 (py_gnumeric_workbook_new): Fix typo.
733 (py_initgnumeric): Set plugin_info to None when C
734 counterpart is NULL. Add Gui object type.
736 * py-console.c (show_python_console): Report errors from
737 gnm_py_interpreter_selector_new.
739 * gnm-python.[ch] (gnm_python_object_get): Report errors.
741 * gnm-python.c (gnm_init_pygobject): Resurrect. This time ask for
742 the gtk2 version of gobject and report errors.
743 (gnm_python_object_get): Remove Python 1.5 compatibility code. Call
746 2003-07-26 Jon K Hellan <hellan@acm.org>
748 * py-gnumeric.c (py_Workbook_object_getattr): Reverse accidental
751 2003-07-25 Jon K Hellan <hellan@acm.org>
753 * py-gnumeric.[ch]: Make most stuff static.
755 * py-gnumeric.c: Rename convert_python_exception_to_gnumeric_value
756 py_exc_to_gnm_value, convert_python_exception_to_string to
757 py_exc_to_string, convert_python_to_gnumeric_value, to
758 py_obj_to_gnm_value, convert_gnumeric_value_to_python to
760 (call_python_function): Use renamed py_exc_to_gnm_value.
761 (py_exc_to_gnm_value): Kill duplicated implementation and make it
762 a wrapper around py_exc_to_string.
763 (python_call_gnumeric_function, call_python_function,
764 py_obj_to_gnm_value): Use renamed py_obj_to_gnm_value.
765 (python_call_gnumeric_function, call_python_function,
766 gnm_value_to_py_obj, py_Cell_get_value_method): Use renamed
768 (python_call_gnumeric_function): Make static.
770 * python-loader.c (gnumeric_plugin_loader_python_func_file_probe,
771 gnumeric_plugin_loader_python_func_file_open,
772 gnumeric_plugin_loader_python_func_file_save): Use renamed
775 * py-console.c (cb_key_event): New event handler: Close window on
777 (show_python_console): Connect it.
779 * gnm-py-interpreter.c (gnm_py_interpreter_run_string): Check for
780 errors and clear Python exceptions when necessary.
782 2003-07-23 Jon K Hellan <hellan@acm.org>
784 * py-gnumeric.c (EVAL_POS): Recode as new function get_eval_pos
785 and handle case when Gnumeric.Gnumeric_eval_pos has not yet been
787 (python_call_gnumeric_function, call_python_function): Use
790 * gnm-py-interpreter.c (read_file): Remove.
792 2003-07-23 Jon K Hellan <hellan@acm.org>
794 * py-console.c (app_cline_entered): Don't interpret empty string.
795 (app_run_string): New. Factored out of app_cline_entered.
796 (show_python_console): Raise window if it already exists.
798 * gnm-py-interpreter.c (struct _GnmPyInterpreter): Add
799 stringio_class member.
800 (gnm_py_interpreter_init): Initialize stringio_class member.
801 (gnm_py_interpreter_finalize): Unref stringio_class member.
802 (run_print_string): Use PyFile_WriteObject instead of
804 (gnm_py_interpreter_run_string): Use Python StringIO class instead
805 of temp files. It's tidier, and Python would try to write to the
806 temp files after they were closed.
808 2003-07-22 Morten Welinder <terra@gnome.org>
810 * gnm-py-interpreter.c (run_print_string): Add braces around
811 Py_DECREF call. (Why don't the python guys code macros like
814 2003-07-21 Jon K Hellan <hellan@acm.org>
816 * py-gnumeric.c (py_initgnumeric): Initialize PyTypeObjects
821 2003-07-10 Jon K Hellan <hellan@acm.org>
823 * py-gnumeric.c (py_gnumeric_workbook_new): New.
824 Implements Gnumeric.workbook_new()
826 * py-console.c (show_python_console): Make console window
829 2003-07-09 Jody Goldberg <jody@gnome.org>
831 * py-gnumeric.c (py_Workbook_sheet_add_method) : new.
833 2003-06-20 Jon K Hellan <hellan@acm.org>
835 * py-interpreter-selector.c (menu_find_item_with_interpreter):
836 return NULL, not FALSE if no interpreter found.
837 (gnm_py_interpreter_selector_new): Replace gtk_type_new with
840 2003-06-15 Jon K Hellan <hellan@acm.org>
842 * gnm-py-interpreter.c (run_print_string): New. Run a python
843 string, and print result.
844 (gnm_py_interpreter_run_string): Use it.
846 * py-console.c (struct app): Add text_view and text_end.
847 (app_text_print): Always keep end of text visible.
848 (show_python_console): Create marker at end of text. Set focus to
851 * python-loader.c (gnumeric_plugin_loader_python_func_file_probe)
852 (gnumeric_plugin_loader_python_func_file_open)
853 (gnumeric_plugin_loader_python_func_file_save): Unref - wrapping
854 the gsf stream as a Python object added a reference.
856 * gnm-python.c (gnm_init_pygobject): Remove.
857 (gnm_python_object_get): Don't call gnm_init_pygobject. pygtk.gobject
858 based plugins do this for us, and if we aren't using any of those,
861 2003-06-07 Jody Goldberg <jody@gnome.org>
865 2003-06-07 Jody Goldberg <jody@gnome.org>
869 2003-06-05 Jon K Hellan <hellan@acm.org>
871 * py-gnumeric.c (py_initgnumeric): Fix typo. Should be
872 "GnumericErrorVALUE", not "GnumericErrorVALUEL".
874 2003-05-11 Jody Goldberg <jody@gnome.org>
878 2003-03-14 Jody Goldberg <jody@gnome.org>
880 * gnm-py-interpreter.c (gnm_py_interpreter_new) : Use G_N_ELEMENTS.
882 2003-03-04 Jon K Hellan <hellan@acm.org>
884 * gnm-python.c (gnm_init_pygobject): New function. Try to import
885 gobject, and don't crash Gnumeric if it fails.
886 (gnm_python_object_get): Use gnm_init_pygobject.
888 * python-loader.c (gnumeric_plugin_loader_python_func_file_probe,
889 gnumeric_plugin_loader_python_func_file_open,
890 gnumeric_plugin_loader_python_func_file_save): Check that we
891 managed to import gobject before calling pygobject_new.
893 2003-01-28 Jody Goldberg <jody@gnome.org>
897 2002-12-31 Jody Goldberg <jody@gnome.org>
901 2002-12-30 Jon K Hellan <hellan@acm.org>
903 * py-interpreter-selector.c (menu_find_item_with_interpreter):
904 Make it return a value also when compiled with debugging turned off.
906 2002-12-22 Jody Goldberg <jody@gnome.org>
910 2002-12-22 Jody Goldberg <jody@gnome.org>
914 2002-11-29 Jody Goldberg <jody@gnome.org>
916 * python-loader.c (gnumeric_plugin_loader_python_func_file_save) :
919 2002-11-28 Jon K Hellan <hellan@acm.org>
921 * python-loader.c (gnumeric_plugin_loader_python_func_file_save):
924 2002-11-15 Jody Goldberg <jody@gnome.org>
928 2002-11-01 Jody Goldberg <jody@gnome.org>
932 2002-10-27 Jody Goldberg <jody@gnome.org>
936 2002-10-18 Morten Welinder <terra@diku.dk>
938 * gnm-py-interpreter.c (gnm_py_interpreter_compare): Make UTF-8
941 2002-10-11 Jon K Hellan <hellan@acm.org>
943 * gnm-python.c: Include stdlib.h for setenv
944 (gnm_python_object_get): Only call PyEval_InitThreads if
945 WITH_THREAD defined in Python headers.
947 2002-09-30 Jody Goldberg <jody@gnome.org>
951 2002-08-26 Jon K Hellan <hellan@acm.org>
953 * gnm-python.c (gnm_python_new_interpreter): Fix warning.
955 2002-08-25 Jody Goldberg <jody@gnome.org>
959 2002-08-21 Zbigniew Chyla <cyba@gnome.pl>
962 Conditionally include "pygobject.h" (patch from Jon K)
964 2002-08-21 Zbigniew Chyla <cyba@gnome.pl>
966 * Makefile.am (gnumeric_plugin_python_loader_DATA):
967 Removed py-console-ui.xml
969 * py-console-ui.xml: Removed
971 * py-console.c (show_python_console): Don't use bonobo-ui, build
972 UI manually (fixes crash at exit)
974 * gnm-python.[ch]: Cleaner memory management - gnm_python_object_get()
975 always returns new reference, all functions get GnmPython argument.
979 (gnumeric_plugin_loader_python_load_base,
980 gnumeric_plugin_loader_python_unload_base):
981 Don't keep the number of loaded plugins, GnmPython takes care of this.
982 ref/unref GnmPython object where needed
984 * py-interpreter-selector.c: Keep reference to GnmPython, not to the
985 default interpreter, unref on finalization
987 * gnm-py-interpreter.c: Cleaned up includes
989 * py-command-line.c (gnm_py_command_line_keypress):
990 Don't store empty lines in the history
992 * py-gnumeric.c: Don't use gnm_python*, only Python API
994 2002-08-20 Zbigniew Chyla <cyba@gnome.pl>
998 (app_cline_entered) s/stdout/stdout_str/, s/stderr/stderr_str/
999 (show_python_console): Connect to "interpreter_changed" with
1000 g_signal_connect_object (using the window as an object), not
1003 2002-08-20 Zbigniew Chyla <cyba@gnome.pl>
1006 (INCLUDES): Define PLUGIN_ID
1007 (gnumeric_plugin_python_loader_DATA):
1008 Set to "ui-console-menu.xml py-console-ui.xml"
1009 (python_loader_la_SOURCES): Added python-loader.h, gnm-python.h,
1010 gnm-python.c, gnm-py-interpreter.h, gnm-py-interpreter.c,
1011 py-interpreter-selector.c, py-interpreter-selector.h,
1012 py-command-line.c, py-command-line.h, py-console.c, py-console.h,
1014 (EXTRA_DIST): Added $(gnumeric_plugin_python_loader_DATA)
1016 * plugin.xml.in: Added Python console using "ui" service
1019 Adjusted to plugin-loader.h (conversion from GtkObject to GObject).
1020 Register GnumericPluginLoader as dynamic class (using PLUGIN_CLASS)
1021 to allow unloading the plugin.
1022 (initialize_python_if_needed): Moved to gnum-python.c and renamed
1023 (python_get_loader_type): Moved to boot.c
1026 (struct InterpreterInfo, create_python_interpreter,
1027 destroy_python_interpreter, switch_python_interpreter_if_needed,
1028 clear_python_error_if_needed): Moved to gnum-python.c and renamed.
1031 (create_python_interpreter, destroy_python_interpreter,
1032 switch_python_interpreter_if_needed, clear_python_error_if_needed):
1033 Moved to gnum-python.c and renamed.
1034 (py_gnumeric_Workbooks_method): New.
1035 (py_initgnumeric): Made non-static.
1037 * python-loader.h, gnm-python.h, gnm-python.c, gnm-py-interpreter.h,
1038 gnm-py-interpreter.c, py-interpreter-selector.c,
1039 py-interpreter-selector.h, py-command-line.c, py-command-line.h,
1040 py-console.c, py-console.h, boot.c: New
1042 2002-08-12 Jody Goldberg <jody@gnome.org>
1046 2002-08-09 Zbigniew Chyla <cyba@gnome.pl>
1049 (gnumeric_plugin_loader_python_info_get_extra_info_list): Removed
1051 2002-08-06 Zbigniew Chyla <cyba@gnome.pl>
1054 (gnumeric_plugin_loader_python_func_get_full_function_info):
1055 Always set *link and *unlink to NULL.
1057 2002-08-04 Jon K Hellan <hellan@acm.org>
1059 * python-loader.c (gnumeric_plugin_loader_python_func_file_open):
1060 SWITCH_TO_PLUGIN (plugin_service_get_plugin (service)).
1062 2002-07-27 Zbigniew Chyla <cyba@gnome.pl>
1064 * python-loader.c (initialize_python_if_needed,
1065 gnumeric_plugin_loader_python_set_attributes,
1066 gnumeric_plugin_loader_python_load_base,
1067 gnumeric_plugin_loader_python_unload_base,
1068 gnumeric_plugin_loader_python_init,
1069 gnumeric_plugin_loader_python_func_file_probe,
1070 gnumeric_plugin_loader_python_func_file_open,
1071 gnumeric_plugin_loader_python_load_service_file_opener,
1072 gnumeric_plugin_loader_python_func_file_saver,
1073 gnumeric_plugin_loader_python_load_service_file_saver,
1074 call_python_function_args, call_python_function_nodes,
1075 gnumeric_plugin_loader_python_func_get_full_function_info,
1076 gnumeric_plugin_loader_python_load_service_function_group,
1077 gnumeric_plugin_loader_python_unload_service_function_group,
1078 python_get_loader_type):
1079 Less assertions, GNM_INIT_RET_ERROR_INFO macro.
1080 Use g_object data instead of plugin_service_get_loader_data.
1081 "has_probe" field has been removed, always get a pointer to
1082 *_file_probe pointer function if it's available.
1083 Use g_object data instead of plugin_service_[gs]et_loader_data.
1084 Set callbacks using plugin_service_get_cbs and PluginService*Callbacks
1085 structs, instead of settings PluginService* fields directly (they are
1088 2002-07-22 Zbigniew Chyla <cyba@gnome.pl>
1090 * plugin.xml.in: Set loader type to "Gnumeric_Builtin:module".
1093 s/PluginInfo/GnmPlugin/
1094 Adjusted to plugin.c
1097 (gnumeric_plugin_loader_python_set_attributes):
1098 Adjusted to plugin-loader.c (read attributes from GHashTable).
1099 s/..._load/..._load_base/
1100 s/..._unload/..._unload_base/
1101 Adjusted to plugin.c
1103 2002-07-21 Jody Goldberg <jody@gnome.org>
1107 2002-07-20 Jon K Hellan <hellan@acm.org>
1109 * python-loader.c (BROKEN_PY_INITIALIZE): Test for this condition
1110 is now autoconfiscated.
1113 2002-06-20 Jon K Hellan <hellan@acm.org>
1115 * python-loader.c: Include pygobject.h if Pygtk is installed.
1116 (initialize_python_if_needed): Add init_pygobject if Pygtk is
1118 (gnumeric_plugin_loader_python_func_file_probe): Replace file name
1119 argument with GsfInput. Try to wrap GsfInput in Python object if
1120 Pygtk is installed. Otherwise give up with warning.
1121 (gnumeric_plugin_loader_python_func_file_open): Ditto.
1123 * Makefile.am: Add PYGTK_CFLAGS to includes.
1125 2002-05-29 Jody Goldberg <jody@gnome.org>
1129 2002-05-06 Jon K Hellan <hellan@acm.org>
1131 * python-loader.c (gnumeric_plugin_loader_python_set_attributes)
1132 (gnumeric_plugin_loader_python_info_get_extra_info_list): Change
1133 from GList to GSList, as the prototypes in
1134 GnumericPluginLoaderClass already did a while ago. This silences
1137 2002-04-29 Jody Goldberg <jody@gnome.org>
1141 2002-03-25 Jody Goldberg <jody@gnome.org>
1145 2002-03-22 Jon K Hellan <hellan@acm.org>
1147 * python-loader.c: Include expr-impl.h
1149 2002-03-11 Jon K Hellan <hellan@acm.org>
1151 * py-gnumeric.c (create_python_interpreter,
1152 py_CellPos_get_tuple_method, py_CellPos_object_getattr,
1153 py_Range_get_tuple_method, py_mstyle_set_font_bold_method,
1154 py_mstyle_get_font_bold_method, py_mstyle_set_font_italic_method,
1155 py_mstyle_get_font_italic_method,
1156 py_mstyle_set_font_strike_method,
1157 py_mstyle_get_font_strike_method, py_mstyle_set_font_size_method,
1158 py_mstyle_get_font_size_method, py_mstyle_set_wrap_text_method,
1159 py_mstyle_get_wrap_text_method, py_Cell_set_text_method,
1160 py_Cell_get_mstyle_method, py_Cell_get_value_method,
1161 py_Cell_get_value_as_string_method,
1162 py_Cell_get_rendered_text_method, py_Cell_get_entered_text_method,
1163 py_sheet_cell_fetch_method, py_sheet_style_get_method,
1164 py_sheet_style_apply_range_method,
1165 py_sheet_style_set_range_method, py_sheet_style_set_pos_method,
1166 py_sheet_get_extent_method, py_sheet_rename_method,
1167 py_sheet_get_name_unquoted_method, py_sheet_subscript,
1168 py_Workbook_get_sheets_method, py_GnumericFuncDict_subscript,
1169 py_PluginInfo_get_dir_name_method, py_PluginInfo_get_id_method,
1170 py_PluginInfo_get_name_method,
1171 py_PluginInfo_get_description_method, py_gnumeric_Boolean_method,
1172 py_gnumeric_CellPos_method, py_gnumeric_Range_method,
1173 py_gnumeric_MStyle_method, py_initgnumeric):
1175 * python-loader.c (gnumeric_plugin_loader_python_load,
1176 gnumeric_plugin_loader_python_func_file_probe,
1177 gnumeric_plugin_loader_python_func_file_open,
1178 gnumeric_plugin_loader_python_func_file_save,
1179 (gnumeric_plugin_loader_python_func_get_full_function_info):
1180 Python API doesn't expect arguments to be declared const. So cast
1181 constants to non-const to silence warning.
1182 (python_function_get_gnumeric_help) Return const gchar **.
1183 (gnumeric_plugin_loader_python_func_get_full_function_info):
1184 Change signature to match
1185 PluginServiceFunctionGroup::plugin_func_get_full_function_info
1188 2002-03-10 Jody Goldberg <jody@gnome.org>
1192 2002-03-09 Jon K Hellan <hellan@acm.org>
1194 * python-loader.c (gnumeric_plugin_loader_python_load): Add final
1195 NULL to g_build_filename.
1197 2002-03-07 Jon K Hellan <hellan@acm.org>
1199 * python-loader.c (call_python_function_args,
1200 call_python_function_nodes): Substitute ei->func_call->func for
1201 ei->func_def and adapt pointer checks accordingly.
1204 2002-02-18 Jody Goldberg <jody@gnome.org>
1208 2002-01-23 Jody Goldberg <jody@gnome.org>
1210 * python-loader.c (gnumeric_plugin_loader_python_load) : Use the new
1211 glib2 style file tests.
1213 2002-01-21 Jody Goldberg <jody@gnome.org>
1217 2002-01-15 Jody Goldberg <jody@gnome.org>
1221 2002-01-06 Jody Goldberg <jody@gnome.org>
1225 2001-12-31 Jody Goldberg <jody@gnome.org>
1229 2001-12-24 Jody Goldberg <jody@gnome.org>
1233 2001-12-15 Jody Goldberg <jody@gnome.org>
1237 2001-12-12 Jody Goldberg <jody@gnome.org>
1239 * python-loader.c (call_python_function_nodes) : Use ExprList.
1241 2001-11-05 Jody Goldberg <jgoldberg@home,com>
1245 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1249 2001-10-29 Jody Goldberg <jgoldberg@home.com>
1253 2001-10-23 Jody Goldberg <jgoldberg@home.com>
1255 * python-loader.c (call_python_function_nodes) :
1256 s/eval_expr/expr_eval/
1258 2001-10-18 Jody Goldberg <jgoldberg@home.com>
1262 2001-10-10 Jody Goldberg <jgoldberg@home.com>
1264 * py-gnumeric.c (py_mstyle_merge_method) : delete.
1265 (py_MStyle_object_methods) : remove mstyle_merge.
1267 2001-10-07 Jody Goldberg <jgoldberg@home.com>
1271 2001-09-25 Jon K Hellan <hellan@acm.org>
1273 * .cvsignore: Add plugin.xml
1275 2001-08-28 Morten Welinder <terra@diku.dk>
1277 * python-loader.c (initialize_python_if_needed): Avoid segfaults
1280 2001-08-21 Zbigniew Chyla <cyba@gnome.pl>
1282 * plugin.xml: Removed
1284 * plugin.xml.in: Copied from plugin.xml, prepared for localization.
1286 * Makefile.am: Use xml-i18n-tools to create plugin.xml (with
1287 translations merged from .po file).
1289 2001-08-20 Jody Goldberg <jgoldberg@home.com>
1293 2001-08-11 Jody Goldberg <jgoldberg@home.com>
1297 2001-07-17 Jody Goldberg <jgoldberg@home.com>
1301 2001-07-14 Zbigniew Chyla <cyba@gnome.pl>
1303 * python-loader.c (gnumeric_plugin_loader_python_func_file_open,
1304 gnumeric_plugin_loader_python_func_file_save): Use gnumeric_io_error_string.
1306 2001-06-29 Zbigniew Chyla <cyba@gnome.pl>
1308 * py-gnumeric.c (create_python_interpreter): Call PySys_SetArgv after
1309 creating new interpreter (some modules assume that sys.argv is always
1312 * python-loader.c (gnumeric_plugin_loader_python_load): Marked two
1313 strings for translation.
1315 2001-06-28 Jody Goldberg <jgoldberg@home>
1319 2001-06-28 Jody Goldberg <jgoldberg@home.com>
1321 * py-gnumeric.c (py_sheet_get_extent_method) : changes to
1324 2001-06-27 Jody Goldberg <jgoldberg@home.com>
1328 2001-05-29 Zbigniew Chyla <cyba@gnome.pl>
1330 * python-loader.c (gnumeric_plugin_loader_python_func_file_probe): Added
1331 FileProbeLevel argument.
1333 2001-05-21 Zbigniew Chyla <cyba@gnome.pl>
1335 * python-loader.c (gnumeric_plugin_loader_python_func_file_probe,
1336 gnumeric_plugin_loader_python_func_file_probe,
1337 gnumeric_plugin_loader_python_func_file_save):
1338 s/FileOpener/GnumFileOpener/
1339 s/FileSaver/GnumFileSaver/
1341 2001-05-20 Jody Goldberg <jgoldberg@home.com>
1345 2001-05-17 Jody Goldberg <jgoldberg@home.com>
1347 * py-gnumeric.c (py_Cell_render_value_method) : delete. This should
1350 2001-04-19 Jody Goldberg <jgoldberg@home.com>
1352 * py-gnumeric.c (py_Workbook_get_sheets_method) : free the list of
1355 2001-03-31 Zbigniew Chyla <cyba@gnome.pl>
1357 * py-gnumeric.c (destroy_python_interpreter): Fixed typo.
1359 2001-03-31 Zbigniew Chyla <cyba@gnome.pl>
1361 Patch from drk@sgi.com
1363 * py-gnumeric.c: Added function declarations for object methods
1364 to avoid declaring forward references for an unsized PyMethodDef
1367 2001-03-17 Jody Goldberg <jgoldberg@home.com>
1369 * Makefile.am (SOURCES) : Add missing header.
1371 2001-03-06 Zbigniew Chyla <cyba@gnome.pl>
1373 * py-gnumeric.[ch], python-loader.c:
1374 Replaced #include "Python.h" with #include <Python.h>.
1376 2001-03-06 Jon K Hellan <hellan@acm.org>
1378 * py-gnumeric.c, py-gnumeric.h, python-loader.c: Fix include path
1381 * .cvsignore: Add it.
1383 2001-03-05 Zbigniew Chyla <cyba@gnome.pl>
1385 * Makefile.am, plugin.xml, py-gnumeric.c, py-gnumeric.h,
1386 python-loader.c, README-IMPORTANT:
1387 New plugin, loader for Python plugins.