1.13.9: 2010-03-23 Murray Cumming Refactored combo classes. * glom/utility_widgets/comboglomchoicesbase.[h|cc]: Split into combochoices.[h|cc] and combochoiceswithtreemodel.[h|cc] so that combo_as_radio_buttons.[h|cc] doesn't need to have an unused treemodel. 2010-03-23 Murray Cumming Formatting: Choices: Add a Display as radio buttons option. * glom/glom_developer.glade: formatting: choices: Add a Show As Radio Buttons checkbox. * glom/libglom/data_structure/layout/fieldformatting.[h|cc]: set/get_choices_restricted(): Add a show_as_radio_buttons output parameter. * glom/libglom/document/document.cc: load_after_layout_item_formatting(), save_after_layout_item_formatting(): load and save the new formatting detail. * glom/mode_design/layout/layout_item_dialogs/box_formatting.[h|cc]: Handle the new checkbox and make sure that it is only sensitive when the choices are restricted, because radio buttons provide no way to enter freeform data. * glom/utility_widgets/comboglomchoicesbase.h: Make set_choices() and set_choices_with_second() virtual. * glom/utility_widgets/combo_as_radio_buttons.[h|cc]: A new widget that is a vbbox of radio buttons, with a combo-like API. * Makefile_glom.am: Mention the new files. * glom/utility_widgets/datawidget.cc: Refactor some repeated code into create_combo_widget_for_field() and create the radiobuttons widget when necessary. 2010-03-22 Murray Cumming Fix the distcheck. Don't use deprecated gtkmm API. * glom/utility_widgets/flowtable.cc: * glom/utility_widgets/flowtable_dnd.cc: * glom/utility_widgets/placeholder-glom.cc: Adapt to deprecated gtkmm API. Use get_has_window() and set_has_window() instead of get_flags(), unset_flags() and set_flags(). 2010-03-21 Murray Cumming Small fixes to glade file. * glom/glom_developer.glade: Add some still-missing vbox orientation=vertical lines. 2010-03-19 Daniel Borgmann * configure.ac: Make Glom build with autoconf 2.65. Patch from Fryderyk Dziarmagowski in GNOME bug #613179. 2010-03-16 David King Fix GtkVBox orientation in GtkBuilder files * glom/glom.glade: * glom/glom_developer.glade: Manually set the orientation of GtkVBox objects specified in the GtkBuilder files to ‘vertical’. See GNOME bug #587256 for details of the issue with Glade. 2010-03-16 Murray Cumming Tests: Check that the .glade files are valid XML. * Makefile_tests.am: * tests/test_glade_file_validation.sh: Add this text that the .glade files are basically valid XML. It would be nice to have a Glade DTD to validate them against too. We should also check that each top-level widget can be instantiated by GtkBuilder. 2010-03-16 Murray Cumming Add a startup script feature. * libglom/document/document.cc: Added get/set_startup_script(). load_after(), save_before(): Load and save the startup script. * glom_developer.glade: * glom/mode_design/dialog_database_preferences.[h|cc]: Add a startup script tab. * libglom/python_embed/py_glom_ui.h: Move PythonUICallbacks into its own py_glom_ui_callbacks.h header. * glom/python_embed/python_ui_callbacks.[h|cc]: Add this derived callbacks class that has handlers that call methods in the application. * glom/mode_data/box_data.cc: execute_button_script(): Use the new callbacks class instead of using member methods here. * glom/application.cc: on_document_load(): Run the startup script, if any, after loading the document, using the new derived callbacks class. * Makefile_glom.am, Makefile_libglom.am: Mention the new files. 2010-03-13 David King Depend on gtkmm >= 2.19.2, fixing GNOME bug #612796 * configure.ac: Bump glom gtkmm version requirement to >= 2.19.2 for Gtk::ToolPalette. Fixes GNOME bug #612796. 2010-03-13 David King Depend on libxml++ >= 2.23.1, fixing GNOME bug#612794 * configure.ac: Bump libglom libxml++ version requirement to >= 2.23.1 for xmlpp::Element::add_child_text_before(). Fixes GNOME bug #612794. 2010-03-09 Murray Cumming Initial Dialog: Do not crash sometimes if cancelling the file chooser. * glom/application.cc: offer_new_or_existing(): Show the dialog again if we get a 0 response, because we cannot (yet) prevent the dialog from doing this when the child file chooser dialog is cancelled. Fixes a crash if pressing the Select button instead of double-clicking on an item. Bug #612303 (David King)