0.8.27: 2005-05-11 Murray Cumming * glom/data_structure/layout/report_parts/Makefile.am: Fixed a distcheck problem. * glom/frame_glom.cc: * glom/frame_glom.h: on_menu_report_selected(): Add field headings, and recurse into sub-groupbys. * po/POTFILES.in: Updated. * xslt/print_report_to_html.xsl: Added class names for the various parts, and added a little inline css to use them. Used select with apply-templates to put sub-groupbys in the right place. 2005-05-11 Murray Cumming * glom/mode_data/box_data.cc: * glom/mode_data/box_data.h: * glom/base_db.cc: * glom/base_db.h: Moved get_layout_item_table_name() here from box_data. Added fill_full_field_details(). * glom/document/document_glom.cc: update_cached_relationships(): Fill in the relationships in the report layouts too. Also call this at the start of save_before(), to ensure that relationships are always up to date. * glom/frame_glom.cc: on_menu_report_selected(): Do a GROUP BY sql SELECT and then a WHERE sql SELECT for each value, creating nodes for each value. * xslt/print_report_to_html.xsl: Show field headings, and group-by details. 2005-05-11 Murray Cumming * glom/data_structure/layout/layoutgroup.cc: * glom/dialog_layout_report.cc: * glom/dialog_layout_report.h: * glom/document/document_glom.cc: * glom/frame_glom.cc: * glom/mode_data/dialog_layout.h: Fix various problems with loading/saving report parts. 2005-05-10 Murray Cumming * glom/base_db.cc: * glom/base_db.h: Added offer_field_list(), moved from B * glom/data_structure/layout/report_parts/layoutitem_groupby.cc: * glom/data_structure/layout/report_parts/layoutitem_groupby.h: Added set_field_group_by() and set_field_sort_by(). * glom/dialog_layout_report.cc: * glom/dialog_layout_report.h: on_button_edit(): show Dialog_GroupBy to change properties. * glom/document/document_glom.cc: load_after_layout_group(), save_before_layout_group(): Handle the GroupBy part so we really save the report items. * glom/glom.glade: * glom/layout_item_dialogs/Makefile.am: * glom/layout_item_dialogs/dialog_group_by.cc: * glom/layout_item_dialogs/dialog_group_by.h: Added dialog for GroupBy part properties. 2005-05-10 Murray Cumming * Makefile.am: * configure.in: * glom/Makefile.am: * glom/dialog_layout_report.cc: * glom/layout_item_dialogs/Makefile.am: * glom/layout_item_dialogs/dialog_field_layout.cc: * glom/layout_item_dialogs/dialog_field_layout.h: * glom/mode_data/Makefile.am: * glom/mode_data/dialog_field_layout.cc: * glom/mode_data/dialog_field_layout.h: * glom/mode_data/dialog_layout_details.cc: * glom/mode_data/dialog_layout_list.cc: * glom/mode_data/dialog_layout_list_related.cc: * glom/utility_widgets/datawidget.cc: Moved dialog_field_layout.[h|cc] from mode_data/ to the new layout_item_dialogs/ directory. 2005-05-10 Murray Cumming,,, * glom/Makefile.am: * glom/data_structure/glomconversions.cc: * glom/data_structure/glomconversions.h: * glom/utils.cc: * glom/utils.h: Added utils.[h|cc] with some functions from GlomConversions:: and some from xsl stuff from Box_Data. * glom/data_structure/layout/report_parts/layoutitem_groupby.cc: * glom/data_structure/layout/report_parts/layoutitem_groupby.h: Add sort_by field. * glom/frame_glom.cc: on_menu_report_selected(): Beginnings of report generation. * glom/mode_data/box_data.cc: * glom/mode_data/box_data_details.cc: * glom/utility_widgets/datawidget.cc: * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/db_adddel/glom_db_treemodel.cc: Use functions from GlomUtils::. * xslt/Makefile.am: * xslt/print_report_to_html.xsl: Added xsl transformation for reports. 2005-05-09 Murray Cumming * glom/application.cc: * glom/application.h: fill_menu_tables(), fill_menu_reports(): Use UIManager::remove_ui() to remove the previous tables, so we really lose removed/renamed report names. * glom/box_reports.cc: Handle, and save, title changes. * glom/data_structure/layout/report_parts/layoutitem_groupby.cc: * glom/data_structure/layout/report_parts/layoutitem_groupby.h: * glom/data_structure/layout/report_parts/layoutitem_summary.cc: * glom/data_structure/layout/report_parts/layoutitem_summary.h: Add get_layout_part_name() overrides so they show up in the list of available parts. * glom/dialog_layout_report.cc: * glom/dialog_layout_report.h: Added get_report() and get_original_name(). * glom/frame_glom.cc: * glom/frame_glom.h: Added signal_hide handlers for the report list and report layout dialogs, to rebuild the report menu and save the report details. 2005-05-09 Murray Cumming * glom/application.cc: * glom/box_reports.cc: Set changes in the document. * glom/data_structure/report.cc: * glom/data_structure/report.h: Added get_title_or_name(). * glom/data_structure/tableinfo.cc: * glom/data_structure/tableinfo.h: Added get_title_or_name(). * glom/frame_glom.cc: fill_menu_tables(), fill_menu_reports(): Show the name if the title is empty. * glom/utility_widgets/adddel/adddel.cc: * glom/utility_widgets/adddel/adddel.h: Added remove_item_by_key(). 2005-05-08 Murray Cumming * glom/application.cc: * glom/application.h: * glom/frame_glom.cc: * glom/frame_glom.h: Added Reports menu, like the new Tables menu. 2005-05-08 Murray Cumming * glom/application.cc: * glom/application.h: * glom/frame_glom.cc: * glom/frame_glom.h: Changed the Navigation menu to a Tables menu, with dynamic menu items for each non-hidden table. The full tables dialog is now only for developers, available from the Edit Tables menu item. 2005-05-08 Murray Cumming * configure.in: * glom/Makefile.am: * glom/glom.glade: * glom/box_reports.cc: * glom/box_reports.h: * glom/dialog_layout_report.cc: * glom/dialog_layout_report.h: Beginnings of UI to add/remove reports, and to edit them. * glom/data_structure/Makefile.am: * glom/data_structure/layout/Makefile.am: * glom/data_structure/layout/layoutgroup.cc: * glom/data_structure/layout/report_parts/Makefile.am: * glom/data_structure/layout/report_parts/layoutitem_groupby.cc: * glom/data_structure/layout/report_parts/layoutitem_groupby.h: * glom/data_structure/layout/report_parts/layoutitem_summary.cc: * glom/data_structure/layout/report_parts/layoutitem_summary.h: * glom/data_structure/report.cc: * glom/data_structure/report.h: Beginnings of data structure for reports and their parts. * glom/document/document_glom.cc: * glom/document/document_glom.h: API to get/set reports, and load/save them. * glom/frame_glom.cc: * glom/frame_glom.h: Use the new UI bits for reports. 2005-05-06 Murray Cumming * glom/Makefile.am: * glom/application.cc: * glom/data_structure/layout/layoutgroup.cc: * glom/data_structure/layout/layoutgroup.h: * glom/data_structure/layout/layoutitem.h: * glom/data_structure/layout/layoutitem_field.cc: * glom/data_structure/layout/layoutitem_field.h: * glom/data_structure/layout/layoutitem_portal.cc: * glom/data_structure/layout/layoutitem_portal.h: * glom/dialog_layout_report.cc: * glom/dialog_layout_report.h: * glom/frame_glom.cc: * glom/frame_glom.h: * glom/glom.glade: * glom/main.cc: * glom/mode_data/dialog_layout.cc: * glom/mode_data/dialog_layout.h: * glom/utility_widgets/db_adddel/db_adddel.cc: * po/POTFILES.in: Added a Developer/Reports menu item, with non-working beginnings of a simple layout dialog, with available parts on the left, and chosen parts on the right.