1.12.20
[gnumeric.git] / plugins / python-loader / ChangeLog
blob4f48919f1cba3d66d5cf4052f1f3e16a5722b7b8
1 2015-02-04  Morten Welinder <terra@gnome.org>
3         * Release 1.12.20
5 2015-01-23  Morten Welinder <terra@gnome.org>
7         * Release 1.12.19
9 2014-09-25  Morten Welinder <terra@gnome.org>
11         * Release 1.12.18
13 2014-06-09  Morten Welinder <terra@gnome.org>
15         * Release 1.12.17
17 2014-05-23  Morten Welinder <terra@gnome.org>
19         * Release 1.12.16
21 2014-04-30  Morten Welinder <terra@gnome.org>
23         * Release 1.12.15
25 2014-04-21  Morten Welinder  <terra@gnome.org>
27         * python-loader.c (gplp_func_desc_load): Accept any callable, not
28         just functions.
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>
35         * Release 1.12.14
37 2014-03-18  Morten Welinder <terra@gnome.org>
39         * Release 1.12.13
41 2014-03-03  Morten Welinder <terra@gnome.org>
43         * Release 1.12.12
45 2014-02-16  Morten Welinder <terra@gnome.org>
47         * Release 1.12.11
49 2014-02-11  Morten Welinder <terra@gnome.org>
51         * Release 1.12.10
53 2013-11-28  Morten Welinder <terra@gnome.org>
55         * Release 1.12.9
57 2013-10-07  Morten Welinder <terra@gnome.org>
59         * Release 1.12.8
61 2013-09-01  Morten Welinder <terra@gnome.org>
63         * Release 1.12.7
65 2013-08-27  Morten Welinder <terra@gnome.org>
67         * Release 1.12.6
69 2013-08-19  Morten Welinder <terra@gnome.org>
71         * Release 1.12.5
73 2013-07-10  Morten Welinder <terra@gnome.org>
75         * Release 1.12.4
77 2013-06-25  Morten Welinder <terra@gnome.org>
79         * Release 1.12.3
81 2013-04-26  Morten Welinder <terra@gnome.org>
83         * Release 1.12.2
85 2013-03-09  Morten Welinder <terra@gnome.org>
87         * Release 1.12.1
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
93         for old-style docs
95 2012-12-18  Morten Welinder <terra@gnome.org>
97         * Release 1.12.0
99 2012-11-29  Morten Welinder <terra@gnome.org>
101         * Release 1.11.91
103 2012-11-16  Morten Welinder <terra@gnome.org>
105         * Release 1.11.90
107 2012-09-06  Morten Welinder <terra@gnome.org>
109         * Release 1.11.6
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>
118         * Release 1.11.5
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>
131         * Release 1.11.4
133 2012-04-21  Morten Welinder <terra@gnome.org>
135         * Release 1.11.3
137 2012-03-02  Morten Welinder <terra@gnome.org>
139         * Release 1.11.2
141 2011-11-27  Morten Welinder <terra@gnome.org>
143         * Release 1.11.1
145 2011-11-24  Morten Welinder <terra@gnome.org>
147         * Release 1.11.0
149 2011-07-31  Morten Welinder <terra@gnome.org>
151         * Release 1.10.17
153 2011-05-21  Morten Welinder <terra@gnome.org>
155         * Release 1.10.15
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>
167         * Release 1.10.14
169 2011-02-02  Morten Welinder <terra@gnome.org>
171         * Release 1.10.13
173 2010-11-25  Morten Welinder <terra@gnome.org>
175         * Release 1.10.12
177 2010-10-01  Morten Welinder <terra@gnome.org>
179         * Release 1.10.11
181 2010-09-04  Morten Welinder <terra@gnome.org>
183         * Release 1.10.10
185 2010-08-16  Morten Welinder <terra@gnome.org>
187         * Release 1.10.9
189 2010-07-30  Morten Welinder <terra@gnome.org>
191         * Release 1.10.8
193 2010-06-28  Morten Welinder <terra@gnome.org>
195         * Release 1.10.7
197 2010-06-16  Morten Welinder <terra@gnome.org>
199         * Release 1.10.6
201 2010-05-30  Morten Welinder <terra@gnome.org>
203         * Release 1.10.5
205 2010-05-20  Morten Welinder <terra@gnome.org>
207         * Release 1.10.4
209 2010-05-07  Morten Welinder <terra@gnome.org>
211         * Release 1.10.3
213 2010-04-16  Morten Welinder <terra@gnome.org>
215         * Release 1.10.2
217 2010-03-08  Morten Welinder <terra@gnome.org>
219         * Release 1.10.1
221 2010-02-13  Morten Welinder <terra@gnome.org>
223         * Release 1.10.0
225 2010-01-19  Morten Welinder <terra@gnome.org>
227         * Release 1.9.18
229 2009-12-15  Morten Welinder <terra@gnome.org>
231         * Release 1.9.17
233 2009-11-29  Morten Welinder <terra@gnome.org>
235         * Release 1.9.16
237 2009-11-01  Morten Welinder <terra@gnome.org>
239         * Release 1.9.15
241 2009-10-11  Morten Welinder <terra@gnome.org>
243         * Release 1.9.14
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>
251         * Release 1.9.13
253 2009-09-05  Morten Welinder <terra@gnome.org>
255         * Release 1.9.12
257 2009-08-30  Morten Welinder <terra@gnome.org>
259         * Release 1.9.11
261 2009-08-15  Morten Welinder <terra@gnome.org>
263         * Release 1.9.10
265 2009-06-20  Morten Welinder <terra@gnome.org>
267         * Release 1.9.9
269 2009-05-23  Morten Welinder <terra@gnome.org>
271         * Release 1.9.8
273 2009-05-06  Morten Welinder <terra@gnome.org>
275         * Release 1.9.7
277 2009-04-25  Morten Welinder <terra@gnome.org>
279         * Release 1.9.6
281 2009-03-22  Morten Welinder <terra@gnome.org>
283         * Release 1.9.5
285 2009-02-22  Morten Welinder <terra@gnome.org>
287         * Release 1.9.4
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
298         a g_warning call.
300 2008-10-18  Jody Goldberg <jody@gnome.org>
302         * Release 1.9.3
304 2008-08-29  Jody Goldberg <jody@gnome.org>
306         * Release 1.9.2
308 2008-06-25  Jody Goldberg <jody@gnome.org>
310         * Release 1.9.1
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>
318         * Release 1.9.0
320 2008-03-02  Jody Goldberg <jody@gnome.org>
322         From David Reiser:
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>
329         * Release 1.8.0
331 2007-12-03  Jody Goldberg <jody@gnome.org>
333         * Release 1.7.91
335 2007-11-19  Jody Goldberg <jody@gnome.org>
337         * Release 1.7.90
339 2007-11-04  Morten Welinder <terra@gnome.org>
341         * Release 1.7.14
343 2007-10-21  Morten Welinder <terra@gnome.org>
345         * Release 1.7.13
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>
354         * Release 1.7.12
356 2007-07-24  Jody Goldberg <jody@gnome.org>
358         * Release 1.7.11
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>
368         * Release 1.7.10
370 2007-04-21  Morten Welinder <terra@gnome.org>
372         * Release 1.7.9
374 2007-03-04  Morten Welinder <terra@gnome.org>
376         * Release 1.7.8
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>
384         * Release 1.7.7
386 2006-12-17  Jody Goldberg <jody@gnome.org>
388         * Release 1.7.6
390 2006-12-04  Jody Goldberg <jody@gnome.org>
392         * Release 1.7.5
394 2006-11-20  Jody Goldberg <jody@gnome.org>
396         * Release 1.7.4
398 2006-11-19  Morten Welinder <terra@gnome.org>
400         * Release 1.7.3
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
406         valid.
408 2006-10-17  Jody Goldberg <jody@gnome.org>
410         * Release 1.7.2
412 2006-10-02  Jody Goldberg <jody@gnome.org>
414         * Release 1.7.1
416 2006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
418         * plugins/python-loader/gnm-py-interpreter.c: replaced gi18n.h by
419         gi18n-lib.h.
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>
427         * Release 1.7.0
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>
439         * Release 1.6.1
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
445           end.
447 2005-10-10  Jody Goldberg <jody@gnome.org>
449         * Release 1.6.0
451 2005-09-08  Jody Goldberg <jody@gnome.org>
453         * Release 1.5.90
455 2005-08-28  Morten Welinder <terra@gnome.org>
457         * Release 1.5.5
459 2005-08-28  Morten Welinder <terra@gnome.org>
461         * Release 1.5.4
463 2005-08-15  Morten Welinder <terra@gnome.org>
465         * Release 1.5.3
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>
473         * Release 1.5.2
475 2005-05-10  Jody Goldberg <jody@gnome.org>
477         * Release 1.5.1
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
487         fopen.
489 2005-03-04  Jody Goldberg <jody@gnome.org>
491         * boot.c (go_plugin_init) : register types dynamicly using the plugin
492           we pass in
494 2005-02-08  Jody Goldberg <jody@gnome.org>
496         * Release 1.5.0
498 2005-01-17  Jody Goldberg <jody@gnome.org>
500         * Release 1.4.2
502 2004-12-09  Jody Goldberg <jody@gnome.org>
504         * Release 1.4.1
506 2004-11-28  Jody Goldberg <jody@gnome.org>
508         * Release 1.4.0
510 2004-11-07  Jody Goldberg <jody@gnome.org>
512         * Release 1.3.93
514 2004-10-31  Jody Goldberg <jody@gnome.org>
516         * Release 1.3.92
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>
535         * Release 1.3.91
537 2004-09-08  Jody Goldberg <jody@gnome.org>
539         * Release 1.3.90
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
546         CellRefs.
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>
553         * Release 1.3.2
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>
578         * Release 1.3.1
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>
590         * Release 1.3.0
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>
608         * Release 1.2.3
610 2003-11-26  Jody Goldberg <jody@gnome.org>
612         * Release 1.2.2
614 2003-10-08  Jody Goldberg <jody@gnome.org>
616         * Release 1.2.1
618 2003-09-15  Jody Goldberg <jody@gnome.org>
620         * Release 1.2.0
622 2003-09-10  Jody Goldberg <jody@gnome.org>
624         * Release 1.1.90
626 2003-08-21  Jody Goldberg <jody@gnome.org>
628         * Release 1.1.20
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
634         gplp_blah_blah.
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
644         a verb is executed.
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
651         reported.
652         (gnm_py_interpreter_selector_finalize): Check that py_object !=
653         NULL.
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):
658         Report errors.
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
670         WorkbookControlGUI.
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
683         gnm_init_pygobject.
685 2003-07-26  Jon K Hellan  <hellan@acm.org>
687         * py-gnumeric.c (py_Workbook_object_getattr): Reverse accidental
688         commit.
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
698         gnm_value_to_py_obj.
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
706         gnm_value_to_py_obj.
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
712         py_exc_to_string.
714         * py-console.c (cb_key_event): New event handler: Close window on
715         Ctrl+W.
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
725         set.
726         (python_call_gnumeric_function, call_python_function): Use
727         get_eval_pos.
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
742         PyObject_Print.
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
751         everyone else do?)
753 2003-07-21  Jon K Hellan  <hellan@acm.org>
755         * py-gnumeric.c (py_initgnumeric): Initialize PyTypeObjects
756         properly.
758         * boot.c: Fix typo.
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
766         resizable.
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
777         g_object_new.
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
788         command line.
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,
798         it isn't necessary.
800 2003-06-07  Jody Goldberg <jody@gnome.org>
802         * Release 1.1.19
804 2003-06-07  Jody Goldberg <jody@gnome.org>
806         * Release 1.1.18
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>
815         * Release 1.1.17
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>
834         * Release 1.1.16
836 2002-12-31  Jody Goldberg <jody@gnome.org>
838         * Release 1.1.15
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>
847         * Release 1.1.14
849 2002-12-22  Jody Goldberg <jody@gnome.org>
851         * Release 1.1.13
853 2002-11-29  Jody Goldberg <jody@gnome.org>
855         * python-loader.c (gnumeric_plugin_loader_python_func_file_save) :
856         const the view.
858 2002-11-28  Jon K Hellan  <hellan@acm.org>
860         * python-loader.c (gnumeric_plugin_loader_python_func_file_save):
861         Port to gsf output.
863 2002-11-15  Jody Goldberg <jody@gnome.org>
865         * Release 1.1.12
867 2002-11-01  Jody Goldberg <jody@gnome.org>
869         * Release 1.1.11
871 2002-10-27  Jody Goldberg <jody@gnome.org>
873         * Release 1.1.10
875 2002-10-18  Morten Welinder  <terra@diku.dk>
877         * gnm-py-interpreter.c (gnm_py_interpreter_compare): Make UTF-8
878         safe.
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>
888         * Release 1.1.9
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>
896         * Release 1.1.8
898 2002-08-21  Zbigniew Chyla  <cyba@gnome.pl>
900         * gnm-python.c
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.
916         * python-loader.c
917         Cleaned up includes
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>
935         * py-console.c
936         #include <stdlib.h>
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
940         g_signal_connect.
942 2002-08-20  Zbigniew Chyla  <cyba@gnome.pl>
944         * Makefile.am
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,
952         boot.c.
953         (EXTRA_DIST): Added $(gnumeric_plugin_python_loader_DATA)
955         * plugin.xml.in: Added Python console using "ui" service
957         * python-loader.c:
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
964         * py-gnumeric.h
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.
969         * py-gnumeric.c
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>
983         * Release 1.1.7
985 2002-08-09  Zbigniew Chyla  <cyba@gnome.pl>
987         * python-loader.c
988         (gnumeric_plugin_loader_python_info_get_extra_info_list): Removed
990 2002-08-06  Zbigniew Chyla  <cyba@gnome.pl>
992         * python-loader.c
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
1025         private now).
1027 2002-07-22  Zbigniew Chyla  <cyba@gnome.pl>
1029         * plugin.xml.in: Set loader type to "Gnumeric_Builtin:module".
1031         * py-gnumeric.[ch]:
1032         s/PluginInfo/GnmPlugin/
1033         Adjusted to plugin.c
1035         * python-loader.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>
1044         * Release 1.1.6
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
1056         installed.
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>
1066         * Release 1.1.4
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
1074         warnings.
1076 2002-04-29  Jody Goldberg <jody@gnome.org>
1078         * Release 1.1.3
1080 2002-03-25  Jody Goldberg <jody@gnome.org>
1082         * Release 1.1.2
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
1125         prototype
1127 2002-03-10  Jody Goldberg <jody@gnome.org>
1129         * Release 1.1.1
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>
1145         * Release 1.1.0
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>
1154         * Release 1.0.3
1156 2002-01-15  Jody Goldberg <jody@gnome.org>
1158         * Release 1.0.2
1160 2002-01-06  Jody Goldberg <jody@gnome.org>
1162         * Release 1.0.1
1164 2001-12-31  Jody Goldberg <jody@gnome.org>
1166         * Release 1.0.0
1168 2001-12-24  Jody Goldberg <jody@gnome.org>
1170         * Release 0.99.1
1172 2001-12-15  Jody Goldberg <jody@gnome.org>
1174         * Release 0.99.0
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>
1182         * Release 0.75
1184 2001-10-29  Jody Goldberg <jgoldberg@home.com>
1186         * Release 0.74
1188 2001-10-29  Jody Goldberg <jgoldberg@home.com>
1190         * Release 0.73
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>
1199         * Release 0.72
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>
1208         * Release 0.71
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
1217         with buggy pythons.
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>
1230         * Release 0.70
1232 2001-08-11  Jody Goldberg <jgoldberg@home.com>
1234         * Release 0.69
1236 2001-07-17  Jody Goldberg <jgoldberg@home.com>
1238         * Release 0.68
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
1249         set).
1251         * python-loader.c (gnumeric_plugin_loader_python_load): Marked two
1252         strings for translation.
1254 2001-06-28  Jody Goldberg <jgoldberg@home>
1256         * Release 0.67
1258 2001-06-28  Jody Goldberg <jgoldberg@home.com>
1260         * py-gnumeric.c (py_sheet_get_extent_method) : changes to
1261           sheet_get_extent.
1263 2001-06-27  Jody Goldberg <jgoldberg@home.com>
1265         * Release 0.66
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>
1282         * Release 0.65
1284 2001-05-17  Jody Goldberg <jgoldberg@home.com>
1286         * py-gnumeric.c (py_Cell_render_value_method) : delete.  This should
1287           not be wrapped.
1289 2001-04-19  Jody Goldberg <jgoldberg@home.com>
1291         * py-gnumeric.c (py_Workbook_get_sheets_method) : free the list of
1292           sheets.
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
1304         arrays.
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
1318           for Python.h.
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.