glom r1315 - in branches/glom-1-6: . glom/layout_item_dialogs glom/libglom/data_structure glom/mode_design/fields glom/python_embed



Author: murrayc
Date: 2007-11-27 13:13:18 +0000 (Tue, 27 Nov 2007)
New Revision: 1315
ViewCVS link: http://svn.gnome.org/viewcvs/glom?rev=1315&view=rev

Modified:
   branches/glom-1-6/ChangeLog
   branches/glom-1-6/glom/layout_item_dialogs/box_formatting.cc
   branches/glom-1-6/glom/libglom/data_structure/glomconversions.cc
   branches/glom-1-6/glom/mode_design/fields/dialog_fieldcalculation.cc
   branches/glom-1-6/glom/mode_design/fields/dialog_fielddefinition.cc
   branches/glom-1-6/glom/python_embed/glom_python.cc
Log:
2007-11-27  Murray Cumming  <murrayc murrayc com>

* glom/libglom/data_structure/glomconversions.cc:
convert_value(): Deal with gint values specially, because 
we usually really do want to convert gints to GdaNumerics, 
though we do use gints for some serial keys.
        (I think, but maybe not anymore.)
* glom/python_embed/glom_python.cc:
glom_evaluate_python_function_implementation(): Make sure that 
the we return an appropriate value type, by calling 
convert_value(), because pygda_value_from_pyobject() would not 
necessarily return exactly what we want.
This seems to fix bug #499459 (Perriman) so that numeric 
calculations do not cause SQL errors in non-English locales.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]