1.18.2: 2011-06-17 Murray Cumming Do not install .glade files and icons if only building libglom. * Makefile.am: Put some lines in if GLOM_ENABLE_UI blocks. 2011-04-12 Murray Cumming Correct the sizing of the ... date button. * glom/mode_data/datawidget/datawidget.cc: There is a button next to all date fields, for selecting the date. Make sure that it does not expand. Of course, a real date selection widget would be nicer. 2011-04-08 Murray Cumming Fix use of bool python return types. * glom/libglom/python_embed/pygdavalue_conversions.cc: glom_pygda_value_from_pyobject(): Use the C Py*_Check() functions because boost::python::extract<>::check() does not really check for the exact type and has no way to do that. Previously we were interpreting bools as ints. Note also that the order fo the Py*_Check() checks is important, because python considers bool to be derived from int. * tests/python/test_python_execute_func_with_record.cc: Uncomment the checks for the return type and value now that it works. 2011-04-07 Murray Cumming Initialize pygobject, to fix the use of the PyRecord API. * configure.ac: Require the latest pygobject with gi.repository support. * glom/libglom/init.cc: Include pygobject.h so we can call pygobject_init() here. * glom/libglom/python_embed/py_glom_record.cc: Define NO_IMPORT_PYGOBJECT so we can still include pygobject.h again here. pygobject.h uses a nasty variable declared in the header. * tests/python/test_python_execute_func_with_record.cc: Fix the python example code. However, this shows a problem with getting bool results from python, apparently because boost::python::extract<>::check() checks that the type is compatible rather than checking that it's the exact type. 2011-04-07 Murray Cumming Moved the python tests to a sub-directory. * tests/test_load_python_library.cc: * tests/test_python_execute_func.cc: * tests/test_python_execute_func_bad_syntax.cc: * tests/test_python_execute_func_change_result_type.cc: * tests/test_python_execute_func_date.cc: * tests/test_python_execute_script.cc: * tests/test_python_module.cc: Moved to tests/python/ * Makefile_tests.am: Adapted. 2011-04-05 Murray Cumming Write Python tracebacks to stderr. * glom/application.cc: * glom/mode_data/box_data.cc: * glom/mode_design/dialog_database_preferences.cc: * tests/test_python_execute_script.cc: Output python errors to stderr as a clue when things go wrong. 2011-04-04 Murray Cumming Fix an error found by the gtkmm change to use operator const void*. * glom/utility_widgets/adddel/adddel.cc: There is no TreeNodeChildren::operator[](TreeIter). The compiler was casting the TreeIter to bool and then to (int)0.