1.12.34
[gnumeric.git] / plugins / python-loader / ChangeLog
blobfdd9fba74b245a9d6ceda38bcd04951a7f9e4b51
1 2017-03-20  Morten Welinder <terra@gnome.org>
3         * Release 1.12.34
5 2017-01-30  Morten Welinder <terra@gnome.org>
7         * Release 1.12.33
9 2016-08-20  Morten Welinder <terra@gnome.org>
11         * Release 1.12.32
13 2016-06-29  Morten Welinder <terra@gnome.org>
15         * Release 1.12.31
17 2016-06-17  Morten Welinder <terra@gnome.org>
19         * Release 1.12.30
21 2016-05-06  Morten Welinder <terra@gnome.org>
23         * Release 1.12.29
25 2016-03-22  Morten Welinder <terra@gnome.org>
27         * Release 1.12.28
29 2016-02-06  Morten Welinder <terra@gnome.org>
31         * Release 1.12.27
33 2015-12-28  Morten Welinder <terra@gnome.org>
35         * Release 1.12.26
37 2015-12-25  Morten Welinder <terra@gnome.org>
39         * Release 1.12.25
41 2015-09-20  Morten Welinder <terra@gnome.org>
43         * Release 1.12.24
45 2015-07-28  Morten Welinder <terra@gnome.org>
47         * Release 1.12.23
49 2015-04-16  Morten Welinder <terra@gnome.org>
51         * Release 1.12.22
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>
60         * Release 1.12.21
62 2015-02-04  Morten Welinder <terra@gnome.org>
64         * Release 1.12.20
66 2015-01-23  Morten Welinder <terra@gnome.org>
68         * Release 1.12.19
70 2014-09-25  Morten Welinder <terra@gnome.org>
72         * Release 1.12.18
74 2014-06-09  Morten Welinder <terra@gnome.org>
76         * Release 1.12.17
78 2014-05-23  Morten Welinder <terra@gnome.org>
80         * Release 1.12.16
82 2014-04-30  Morten Welinder <terra@gnome.org>
84         * Release 1.12.15
86 2014-04-21  Morten Welinder  <terra@gnome.org>
88         * python-loader.c (gplp_func_desc_load): Accept any callable, not
89         just functions.
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>
96         * Release 1.12.14
98 2014-03-18  Morten Welinder <terra@gnome.org>
100         * Release 1.12.13
102 2014-03-03  Morten Welinder <terra@gnome.org>
104         * Release 1.12.12
106 2014-02-16  Morten Welinder <terra@gnome.org>
108         * Release 1.12.11
110 2014-02-11  Morten Welinder <terra@gnome.org>
112         * Release 1.12.10
114 2013-11-28  Morten Welinder <terra@gnome.org>
116         * Release 1.12.9
118 2013-10-07  Morten Welinder <terra@gnome.org>
120         * Release 1.12.8
122 2013-09-01  Morten Welinder <terra@gnome.org>
124         * Release 1.12.7
126 2013-08-27  Morten Welinder <terra@gnome.org>
128         * Release 1.12.6
130 2013-08-19  Morten Welinder <terra@gnome.org>
132         * Release 1.12.5
134 2013-07-10  Morten Welinder <terra@gnome.org>
136         * Release 1.12.4
138 2013-06-25  Morten Welinder <terra@gnome.org>
140         * Release 1.12.3
142 2013-04-26  Morten Welinder <terra@gnome.org>
144         * Release 1.12.2
146 2013-03-09  Morten Welinder <terra@gnome.org>
148         * Release 1.12.1
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
154         for old-style docs
156 2012-12-18  Morten Welinder <terra@gnome.org>
158         * Release 1.12.0
160 2012-11-29  Morten Welinder <terra@gnome.org>
162         * Release 1.11.91
164 2012-11-16  Morten Welinder <terra@gnome.org>
166         * Release 1.11.90
168 2012-09-06  Morten Welinder <terra@gnome.org>
170         * Release 1.11.6
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>
179         * Release 1.11.5
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>
192         * Release 1.11.4
194 2012-04-21  Morten Welinder <terra@gnome.org>
196         * Release 1.11.3
198 2012-03-02  Morten Welinder <terra@gnome.org>
200         * Release 1.11.2
202 2011-11-27  Morten Welinder <terra@gnome.org>
204         * Release 1.11.1
206 2011-11-24  Morten Welinder <terra@gnome.org>
208         * Release 1.11.0
210 2011-07-31  Morten Welinder <terra@gnome.org>
212         * Release 1.10.17
214 2011-05-21  Morten Welinder <terra@gnome.org>
216         * Release 1.10.15
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>
228         * Release 1.10.14
230 2011-02-02  Morten Welinder <terra@gnome.org>
232         * Release 1.10.13
234 2010-11-25  Morten Welinder <terra@gnome.org>
236         * Release 1.10.12
238 2010-10-01  Morten Welinder <terra@gnome.org>
240         * Release 1.10.11
242 2010-09-04  Morten Welinder <terra@gnome.org>
244         * Release 1.10.10
246 2010-08-16  Morten Welinder <terra@gnome.org>
248         * Release 1.10.9
250 2010-07-30  Morten Welinder <terra@gnome.org>
252         * Release 1.10.8
254 2010-06-28  Morten Welinder <terra@gnome.org>
256         * Release 1.10.7
258 2010-06-16  Morten Welinder <terra@gnome.org>
260         * Release 1.10.6
262 2010-05-30  Morten Welinder <terra@gnome.org>
264         * Release 1.10.5
266 2010-05-20  Morten Welinder <terra@gnome.org>
268         * Release 1.10.4
270 2010-05-07  Morten Welinder <terra@gnome.org>
272         * Release 1.10.3
274 2010-04-16  Morten Welinder <terra@gnome.org>
276         * Release 1.10.2
278 2010-03-08  Morten Welinder <terra@gnome.org>
280         * Release 1.10.1
282 2010-02-13  Morten Welinder <terra@gnome.org>
284         * Release 1.10.0
286 2010-01-19  Morten Welinder <terra@gnome.org>
288         * Release 1.9.18
290 2009-12-15  Morten Welinder <terra@gnome.org>
292         * Release 1.9.17
294 2009-11-29  Morten Welinder <terra@gnome.org>
296         * Release 1.9.16
298 2009-11-01  Morten Welinder <terra@gnome.org>
300         * Release 1.9.15
302 2009-10-11  Morten Welinder <terra@gnome.org>
304         * Release 1.9.14
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>
312         * Release 1.9.13
314 2009-09-05  Morten Welinder <terra@gnome.org>
316         * Release 1.9.12
318 2009-08-30  Morten Welinder <terra@gnome.org>
320         * Release 1.9.11
322 2009-08-15  Morten Welinder <terra@gnome.org>
324         * Release 1.9.10
326 2009-06-20  Morten Welinder <terra@gnome.org>
328         * Release 1.9.9
330 2009-05-23  Morten Welinder <terra@gnome.org>
332         * Release 1.9.8
334 2009-05-06  Morten Welinder <terra@gnome.org>
336         * Release 1.9.7
338 2009-04-25  Morten Welinder <terra@gnome.org>
340         * Release 1.9.6
342 2009-03-22  Morten Welinder <terra@gnome.org>
344         * Release 1.9.5
346 2009-02-22  Morten Welinder <terra@gnome.org>
348         * Release 1.9.4
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
359         a g_warning call.
361 2008-10-18  Jody Goldberg <jody@gnome.org>
363         * Release 1.9.3
365 2008-08-29  Jody Goldberg <jody@gnome.org>
367         * Release 1.9.2
369 2008-06-25  Jody Goldberg <jody@gnome.org>
371         * Release 1.9.1
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>
379         * Release 1.9.0
381 2008-03-02  Jody Goldberg <jody@gnome.org>
383         From David Reiser:
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>
390         * Release 1.8.0
392 2007-12-03  Jody Goldberg <jody@gnome.org>
394         * Release 1.7.91
396 2007-11-19  Jody Goldberg <jody@gnome.org>
398         * Release 1.7.90
400 2007-11-04  Morten Welinder <terra@gnome.org>
402         * Release 1.7.14
404 2007-10-21  Morten Welinder <terra@gnome.org>
406         * Release 1.7.13
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>
415         * Release 1.7.12
417 2007-07-24  Jody Goldberg <jody@gnome.org>
419         * Release 1.7.11
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>
429         * Release 1.7.10
431 2007-04-21  Morten Welinder <terra@gnome.org>
433         * Release 1.7.9
435 2007-03-04  Morten Welinder <terra@gnome.org>
437         * Release 1.7.8
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>
445         * Release 1.7.7
447 2006-12-17  Jody Goldberg <jody@gnome.org>
449         * Release 1.7.6
451 2006-12-04  Jody Goldberg <jody@gnome.org>
453         * Release 1.7.5
455 2006-11-20  Jody Goldberg <jody@gnome.org>
457         * Release 1.7.4
459 2006-11-19  Morten Welinder <terra@gnome.org>
461         * Release 1.7.3
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
467         valid.
469 2006-10-17  Jody Goldberg <jody@gnome.org>
471         * Release 1.7.2
473 2006-10-02  Jody Goldberg <jody@gnome.org>
475         * Release 1.7.1
477 2006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
479         * plugins/python-loader/gnm-py-interpreter.c: replaced gi18n.h by
480         gi18n-lib.h.
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>
488         * Release 1.7.0
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>
500         * Release 1.6.1
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
506           end.
508 2005-10-10  Jody Goldberg <jody@gnome.org>
510         * Release 1.6.0
512 2005-09-08  Jody Goldberg <jody@gnome.org>
514         * Release 1.5.90
516 2005-08-28  Morten Welinder <terra@gnome.org>
518         * Release 1.5.5
520 2005-08-28  Morten Welinder <terra@gnome.org>
522         * Release 1.5.4
524 2005-08-15  Morten Welinder <terra@gnome.org>
526         * Release 1.5.3
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>
534         * Release 1.5.2
536 2005-05-10  Jody Goldberg <jody@gnome.org>
538         * Release 1.5.1
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
548         fopen.
550 2005-03-04  Jody Goldberg <jody@gnome.org>
552         * boot.c (go_plugin_init) : register types dynamicly using the plugin
553           we pass in
555 2005-02-08  Jody Goldberg <jody@gnome.org>
557         * Release 1.5.0
559 2005-01-17  Jody Goldberg <jody@gnome.org>
561         * Release 1.4.2
563 2004-12-09  Jody Goldberg <jody@gnome.org>
565         * Release 1.4.1
567 2004-11-28  Jody Goldberg <jody@gnome.org>
569         * Release 1.4.0
571 2004-11-07  Jody Goldberg <jody@gnome.org>
573         * Release 1.3.93
575 2004-10-31  Jody Goldberg <jody@gnome.org>
577         * Release 1.3.92
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>
596         * Release 1.3.91
598 2004-09-08  Jody Goldberg <jody@gnome.org>
600         * Release 1.3.90
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
607         CellRefs.
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>
614         * Release 1.3.2
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>
639         * Release 1.3.1
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>
651         * Release 1.3.0
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>
669         * Release 1.2.3
671 2003-11-26  Jody Goldberg <jody@gnome.org>
673         * Release 1.2.2
675 2003-10-08  Jody Goldberg <jody@gnome.org>
677         * Release 1.2.1
679 2003-09-15  Jody Goldberg <jody@gnome.org>
681         * Release 1.2.0
683 2003-09-10  Jody Goldberg <jody@gnome.org>
685         * Release 1.1.90
687 2003-08-21  Jody Goldberg <jody@gnome.org>
689         * Release 1.1.20
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
695         gplp_blah_blah.
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
705         a verb is executed.
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
712         reported.
713         (gnm_py_interpreter_selector_finalize): Check that py_object !=
714         NULL.
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):
719         Report errors.
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
731         WorkbookControlGUI.
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
744         gnm_init_pygobject.
746 2003-07-26  Jon K Hellan  <hellan@acm.org>
748         * py-gnumeric.c (py_Workbook_object_getattr): Reverse accidental
749         commit.
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
759         gnm_value_to_py_obj.
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
767         gnm_value_to_py_obj.
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
773         py_exc_to_string.
775         * py-console.c (cb_key_event): New event handler: Close window on
776         Ctrl+W.
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
786         set.
787         (python_call_gnumeric_function, call_python_function): Use
788         get_eval_pos.
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
803         PyObject_Print.
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
812         everyone else do?)
814 2003-07-21  Jon K Hellan  <hellan@acm.org>
816         * py-gnumeric.c (py_initgnumeric): Initialize PyTypeObjects
817         properly.
819         * boot.c: Fix typo.
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
827         resizable.
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
838         g_object_new.
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
849         command line.
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,
859         it isn't necessary.
861 2003-06-07  Jody Goldberg <jody@gnome.org>
863         * Release 1.1.19
865 2003-06-07  Jody Goldberg <jody@gnome.org>
867         * Release 1.1.18
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>
876         * Release 1.1.17
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>
895         * Release 1.1.16
897 2002-12-31  Jody Goldberg <jody@gnome.org>
899         * Release 1.1.15
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>
908         * Release 1.1.14
910 2002-12-22  Jody Goldberg <jody@gnome.org>
912         * Release 1.1.13
914 2002-11-29  Jody Goldberg <jody@gnome.org>
916         * python-loader.c (gnumeric_plugin_loader_python_func_file_save) :
917         const the view.
919 2002-11-28  Jon K Hellan  <hellan@acm.org>
921         * python-loader.c (gnumeric_plugin_loader_python_func_file_save):
922         Port to gsf output.
924 2002-11-15  Jody Goldberg <jody@gnome.org>
926         * Release 1.1.12
928 2002-11-01  Jody Goldberg <jody@gnome.org>
930         * Release 1.1.11
932 2002-10-27  Jody Goldberg <jody@gnome.org>
934         * Release 1.1.10
936 2002-10-18  Morten Welinder  <terra@diku.dk>
938         * gnm-py-interpreter.c (gnm_py_interpreter_compare): Make UTF-8
939         safe.
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>
949         * Release 1.1.9
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>
957         * Release 1.1.8
959 2002-08-21  Zbigniew Chyla  <cyba@gnome.pl>
961         * gnm-python.c
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.
977         * python-loader.c
978         Cleaned up includes
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>
996         * py-console.c
997         #include <stdlib.h>
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
1001         g_signal_connect.
1003 2002-08-20  Zbigniew Chyla  <cyba@gnome.pl>
1005         * Makefile.am
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,
1013         boot.c.
1014         (EXTRA_DIST): Added $(gnumeric_plugin_python_loader_DATA)
1016         * plugin.xml.in: Added Python console using "ui" service
1018         * python-loader.c:
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
1025         * py-gnumeric.h
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.
1030         * py-gnumeric.c
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>
1044         * Release 1.1.7
1046 2002-08-09  Zbigniew Chyla  <cyba@gnome.pl>
1048         * python-loader.c
1049         (gnumeric_plugin_loader_python_info_get_extra_info_list): Removed
1051 2002-08-06  Zbigniew Chyla  <cyba@gnome.pl>
1053         * python-loader.c
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
1086         private now).
1088 2002-07-22  Zbigniew Chyla  <cyba@gnome.pl>
1090         * plugin.xml.in: Set loader type to "Gnumeric_Builtin:module".
1092         * py-gnumeric.[ch]:
1093         s/PluginInfo/GnmPlugin/
1094         Adjusted to plugin.c
1096         * python-loader.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>
1105         * Release 1.1.6
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
1117         installed.
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>
1127         * Release 1.1.4
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
1135         warnings.
1137 2002-04-29  Jody Goldberg <jody@gnome.org>
1139         * Release 1.1.3
1141 2002-03-25  Jody Goldberg <jody@gnome.org>
1143         * Release 1.1.2
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
1186         prototype
1188 2002-03-10  Jody Goldberg <jody@gnome.org>
1190         * Release 1.1.1
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>
1206         * Release 1.1.0
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>
1215         * Release 1.0.3
1217 2002-01-15  Jody Goldberg <jody@gnome.org>
1219         * Release 1.0.2
1221 2002-01-06  Jody Goldberg <jody@gnome.org>
1223         * Release 1.0.1
1225 2001-12-31  Jody Goldberg <jody@gnome.org>
1227         * Release 1.0.0
1229 2001-12-24  Jody Goldberg <jody@gnome.org>
1231         * Release 0.99.1
1233 2001-12-15  Jody Goldberg <jody@gnome.org>
1235         * Release 0.99.0
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>
1243         * Release 0.75
1245 2001-10-29  Jody Goldberg <jgoldberg@home.com>
1247         * Release 0.74
1249 2001-10-29  Jody Goldberg <jgoldberg@home.com>
1251         * Release 0.73
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>
1260         * Release 0.72
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>
1269         * Release 0.71
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
1278         with buggy pythons.
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>
1291         * Release 0.70
1293 2001-08-11  Jody Goldberg <jgoldberg@home.com>
1295         * Release 0.69
1297 2001-07-17  Jody Goldberg <jgoldberg@home.com>
1299         * Release 0.68
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
1310         set).
1312         * python-loader.c (gnumeric_plugin_loader_python_load): Marked two
1313         strings for translation.
1315 2001-06-28  Jody Goldberg <jgoldberg@home>
1317         * Release 0.67
1319 2001-06-28  Jody Goldberg <jgoldberg@home.com>
1321         * py-gnumeric.c (py_sheet_get_extent_method) : changes to
1322           sheet_get_extent.
1324 2001-06-27  Jody Goldberg <jgoldberg@home.com>
1326         * Release 0.66
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>
1343         * Release 0.65
1345 2001-05-17  Jody Goldberg <jgoldberg@home.com>
1347         * py-gnumeric.c (py_Cell_render_value_method) : delete.  This should
1348           not be wrapped.
1350 2001-04-19  Jody Goldberg <jgoldberg@home.com>
1352         * py-gnumeric.c (py_Workbook_get_sheets_method) : free the list of
1353           sheets.
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
1365         arrays.
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
1379           for Python.h.
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.