1.21.7: 2012-03-14 Murray Cumming set_document(), init() methods: Avoid the appearance that these are virtual. * glom/application.cc: * glom/appwindow.[h|cc]: * glom/base_db.h: * glom/base_db_table.h: * glom/import_csv/dialog_import_csv_progress.h: * glom/mode_data/box_data.h: * glom/mode_data/box_data_calendar_related.cc: * glom/mode_data/box_data_details.[h|cc]: * glom/mode_data/box_data_list.cc: * glom/mode_data/box_data_list_related.cc: * glom/mode_data/datawidget/dialog_choose_id.h: * glom/mode_data/datawidget/dialog_new_record.h: * glom/mode_design/layout/dialog_layout.[h|cc]: * glom/mode_design/layout/dialog_layout_calendar_related.[h|cc]: * glom/mode_design/layout/dialog_layout_details.[h|cc]: * glom/mode_design/layout/dialog_layout_list_related.[h|cc]: * glom/mode_find/box_data_details_find.h: * glom/print_layout/canvas_print_layout.cc: This fixes warnings found by clang++. 2012-03-14 Murray Cumming FlowTable::add(): Rename to add_widgets(). * glom/mode_data/flowtablewithfields.cc: * glom/utility_widgets/flowtable.[h|cc]: This avoids a clash with Gtk::Widget::add(), which is virtual, but takes different parameters. This fixes warnings found by clang++. 2012-03-14 Murray Cumming Dialog_ImportCSVProgress: rename a signal handler. * glom/import_csv/dialog_import_csv_progress[h|cc]: Avoid a clash with a virtual method of the same name in Gtk::Widget. This fixes warnings found by clang++. 2012-03-14 Murray Cumming Make sure that get_appwindow() overrides are const. * glom/mode_data/buttonglom.[h|cc]: * glom/mode_data/datawidget/checkbutton.[h|cc]: * glom/mode_data/datawidget/combo.[h|cc]: * glom/mode_data/datawidget/combo_as_radio_buttons.[h|cc]: * glom/mode_data/datawidget/datawidget.[h|cc]: * glom/mode_data/datawidget/entry.[h|cc]: * glom/mode_data/datawidget/label.[h|cc]: * glom/mode_data/datawidget/textview.[h|cc]: * glom/utility_widgets/imageglom.[h|cc]: * glom/utility_widgets/notebookglom.[h|cc]: get_appwindow(): This should be const because the pure virtual function (that it is meant to override) is const. This fixes warnings found by clang++. 2012-03-14 Murray Cumming Fix some simple warnings found by clang++ * glom/appwindow.cc: * glom/dialog_existing_or_new.cc: * glom/frame_glom.cc: * glom/glom_import_po_all.cc: * glom/libglom/data_structure/layout/layoutitem_field.cc: * glom/mode_data/db_adddel/db_adddel.cc: * glom/mode_design/fields/box_db_table_definition.cc: * glom/mode_design/layout/layout_item_dialogs/box_formatting.cc: * glom/utility_widgets/adddel/adddel.cc: I just did export CXX=clang++ before running autogen.sh. 2012-03-12 Murray Cumming Simplify code that just re-emits signals. 2012-03-12 Murray Cumming Reduce use of the derived ComboBoxText. 2012-03-12 Murray Cumming Remove some unused member variables. * glom/mode_data/box_data_list.[h|cc]: * glom/mode_data/box_data_manyrecords.[h|cc]: Remove m_has_one_or_more_records. * glom/mode_data/box_data_list_related.cc: Adapted. 2012-03-12 Murray Cumming Document: Move XML utilities into a new file. * glom/libglom/document/document.[h|cc]: Move the static XML utility methods into: * glom/libglom/fileslist.am: * glom/libglom/xml_utils.[h|cc]: New file. * glom/libglom/report_builder.cc: Adapted, removing the need for the friend declaration in Document. 2012-03-12 Murray Cumming Field: Removed deprecated methods. * glom/libglom/data_structure/field.[h.cc]: Removed the sql() overload that takes no connection. sql_find(): Add a connection parameter. * glom/libglom/data_structure/layout/layoutgroup.h: * glom/libglom/utils.cc: * glom/mode_data/box_data.cc: Adapted. 2012-03-12 Murray Cumming LayoutItem_GroupBy: Add get and set methods for members. * glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.[h|cc]: Make the members private, adding getters. With smartpointers, the direct access is not necessary for performance. * glom/libglom/document/document.cc: * glom/libglom/report_builder.cc: * glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc: Adapted. 2012-03-12 Murray Cumming libglom: LayoutGroup: Remove deprecated remove_field() and has_field(). * glom/libglom/data_structure/layout/layoutgroup.[h|cc]: Remove deprecated method overloads.