0.8.28: 2005-05-16 Murray Cumming * xslt/print_report_to_html.xsl: * glom/base_db.cc: build_report(): Left align most fields and right-align numeric fields, though this is a bit of a hack. * glom/document/document_glom.cc: * glom/document/document_glom.h: load_after_layout_group(): Corrected loading of groupby secondary fields. update_cached_relationships(): Do not save the document while doing this. 2005-05-16 Murray Cumming * glom/base_db.cc: * glom/box_db_table.cc: * glom/layout_item_dialogs/dialog_group_by.cc: * glom/mode_data/box_data.cc: * glom/mode_data/box_data_details.cc: * glom/mode_design/fields/box_db_table_definition.cc: Do not call fill_from_database() if the connection is not ready, to prevent misleading g_warnings. 2005-05-15 Murray Cumming * glom/base_db.cc: * glom/base_db.h: * glom/data_structure/layout/report_parts/layoutitem_groupby.cc: * glom/data_structure/layout/report_parts/layoutitem_groupby.h: * glom/document/document_glom.cc: * 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: * glom/layout_item_dialogs/dialog_groupby_secondaryfields.cc: * glom/layout_item_dialogs/dialog_groupby_secondaryfields.h: * glom/mode_data/dialog_layout.cc: * glom/utility_widgets/comboglomchoicesbase.cc: * xslt/print_report_to_html.xsl: Added secondary_fields to the GroupBy report part, so we can show, for instance, a contact name as well as the contact id that we group by. 2005-05-15 Murray Cumming * po/POTFILES.in: Mention new files. 2005-05-15 Murray Cumming * glom/base_db.cc: build_report_fields(): For numeric fields create a instead of node. * xslt/print_report_to_html.xsl: Handle , like , but with align=right in the HTML . Hopefully there is a better way to do this. 2005-05-15 Murray Cumming * glom/base_db.cc: * glom/base_db.h: report_build_summary(): Implemented, so summary parts show up in reports. * glom/data_structure/layout/layoutitem_field.cc: * glom/data_structure/layout/layoutitem_field.h: Added get_title_or_name(), delegating to the member Field. * glom/data_structure/layout/report_parts/layoutitem_fieldsummary.cc: * glom/data_structure/layout/report_parts/layoutitem_fieldsummary.h: Override get_title_or_name() to mention the summary type. Added get_layout_display_name_field() to get just the field part. Corrected the copy constructor and operator== to use the summary type too. * glom/dialog_layout_report.cc: Show the field name and summary type properly. * glom/document/document_glom.cc: Save the summary type of LayoutItem_FieldSummary parts. * glom/layout_item_dialogs/dialog_field_summary.cc: * glom/utils.cc: build_sql_select_with_where_clause(): If the LayoutItem_Field is actually a LayoutItem_FieldSummary, use a summary function instead of just getting the field value. * xslt/print_report_to_html.xsl: Added a block for the summary part. 2005-05-14 Murray Cumming * glom/base_db.cc: * glom/base_db.h: * glom/data_structure/field.h: * glom/mode_data/box_data.cc: * glom/mode_data/box_data.h: * glom/mode_data/box_data_details.cc: * glom/mode_data/box_data_list.cc: * glom/mode_data/dialog_layout.h: * glom/mode_data/dialog_layout_details.cc: * glom/mode_data/dialog_layout_list.cc: * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/db_adddel/glom_db_treemodel.h: * glom/utils.cc: * glom/utils.h: type_vecLayoutItems now stores sharedptrs instead of by-value copying. This allows us to use the LayoutItem_Field polymorphically as well as improving performance. 2005-05-14 Murray Cumming * glom/base_db.cc: * glom/base_db.h: * glom/frame_glom.cc: * glom/frame_glom.h: Moved report_build_* methods from Frame_Glom to Base_DB, so they can be used in Box_Data_List. * glom/mode_data/box_data_list.cc: * glom/mode_data/box_data_list.h: Overrode print_layout() and created a non-grouping report on the fly, to implement File/Print for Lists. * xslt/print_report_to_html.xsl: Handle ungrouped_fields, a bit like group_by. 2005-05-14 Murray Cumming * glom/data_structure/layout/report_parts/Makefile.am: * glom/data_structure/layout/report_parts/layoutitem_fieldsummary.c c: * glom/data_structure/layout/report_parts/layoutitem_fieldsummary.h : Add a LayoutPart for the field summary report parts. * glom/dialog_layout_report.cc: * glom/dialog_layout_report.h: Disable the Add button when inappropriate parts are selected. * glom/document/document_glom.cc: * glom/document/document_glom.h: Save/Load the Summary parts. * glom/glom.glade: * glom/layout_item_dialogs/Makefile.am: * glom/layout_item_dialogs/combo_summarytype.cc: * glom/layout_item_dialogs/combo_summarytype.h: * glom/layout_item_dialogs/dialog_field_summary.cc: * glom/layout_item_dialogs/dialog_field_summary.h: Added UI fo rthe summary parts. * po/POTFILES.in: Mention the new files. 2005-05-11 Murray Cumming * glom/glom.glade: * glom/utility_widgets/adddel/adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/textviewglom.cc: Use SHADOW_IN for ScrolledWindows. The HIG wants that.