1.12.5 (stable): 2010-01-20 Murray Cumming Fix a crash in previous commit. * glom/utility_widgets/db_adddel/db_adddel.cc: get_fixed_cell_height(): Fixed a null-pointer crash when also checking LayoutItem_Text items, though the UI doesn't actually allow the font to be specified for them yet. 2010-01-20 Murray Cumming List View: Don't chop off the bottom of text when using large fonts. * glom/utility_widgets/db_adddel/db_adddel.cc: get_fixed_cell_height(): Use the font description from the FieldFormatting, to get a more suitable max height for all columns. remove_all_columns(): Set m_fixed_cell_height back to 0 so it will be recalculated for the new columns. Fixes bug #607023 (Michael Hasselmann) 2010-01-15 Michael Hasselmann Add forgotten header to libglom's Makefile * Makefile_libglom.am: libglom_include_HEADERS forgot to mention utils.h although it was mentioned in the *_la_SOURCES. 2010-01-14 Murray Cumming libglom: Some API documentation. * glom/libglom/data_structure/layout/layoutitem_field.h: * glom/libglom/data_structure/layout/usesrelationship.h: Added doxygen comments at request of Michael Hasselmann. 2010-01-14 Murray Cumming Rename get_stringstream_precision_default(). * glom/libglom/data_structure/glomconversions.[h|cc]: get_stringstream_precision_default(): Rename this to the slighly-better named (because it's not mentioning implementation) NumericFormat::get_default_precision() in * glom/libglom/data_structure/numeric_format.[h|cc]: and document it vaguely. 2010-01-14 Michael Hasselmann Make the default precision used for stringstreams available for libglom users * glom/libglom/data_structure/glomconversions.[h|cc] (get_stringstream_precision_default): Wrap the constant used into a function and export it in the headers. Users of libglom need it to show the same precision for Glom's numeric type. 2010-01-14 Murray Cumming Minor simplification. * glom/libglom/data_structure/glomconversions.cc: get_stringstream_precision_default(): Simplify this function, for Michael to see. 2010-01-14 Michael Hasselmann Make the default precision used for stringstreams available for libglom users * glom/libglom/data_structure/glomconversions.[h|cc] (get_stringstream_precision_default): Wrap the constant used into a function and export it in the headers. Users of libglom need it to show the same precision for Glom's numeric type. 2010-01-12 Murray Cumming Music Collection Example: Changed a layout. * examples/example_music_collection.glom: Albums: List View: Add some related records to show a problem in Qlom. 2010-01-08 Murray Cumming Correct use of locales when creating text representations. * glom/main.cc: Set std::locale::global() to the user's current locale, forcing us to imbue streams to whatever we actually want. * glom/libglom/connectionpool_backends/postgres_self.cc: startup(): Do not use Utils::string_from_decimal() for the port number, because it is meant to use the user's locale, but we need it in the C locale. * glom/libglom/data_structure/field.cc: to_file_format(): Use std::locale::classic() when we want the C locale, not std::locale(), which means the user's locale, which was previously the C one by chance. * glom/libglom/utils.cc: string_from_decimal(): Imbue the stream as wanted. 2010-01-07 Michael Hasselmann Fix potential encoding error for currency symbols * glom/libglom/data_structure/glomconversions.cc (get_text_for_gda_value): Glom's numeric type can be prefixed with a currency symbol. If the symbol cannot be represented in the user's locale it would hide all data for the column. This is fixed by using a fallback conversion for the symbol. Fixes bug #606349. 2010-01-07 Armin Burgmeier * win32/build-installer: * win32/glom.iss.in: Install glom_1_12.pyd instead of glom.pyd. Bug #605593.