1.21.4:

2012-01-24  Murray Cumming  <murrayc@murrayc.com>

	Fix document loading, and make distcheck.

	* glom/glom_document.dtd: Mention that the database_title 
	attribute is replaced by title.
	* glom/libglom/document/document.cc: load_after(): Deprecate the 
	database_title attribute, but do load it if it is present and 
	if title is not.
	get_latest_known_document_format_version(): Increase the version
	because the deprecated attribute will not be saved.

2012-01-23  Murray Cumming  <murrayc@murrayc.com>

	libglom: Replace more std::lists with std::vector.

	* glom/libglom/connectionpool_backends/postgres_central.h:
	* glom/libglom/data_structure/field.h:
	* glom/libglom/data_structure/foundset.h:
	* glom/libglom/data_structure/layout/fieldformatting.h:
	* glom/libglom/data_structure/layout/layoutgroup.h:
	* glom/libglom/document/document.h:
	* glom/libglom/utils.h:
	* glom/libglom/xsl_utils.h:
	* glom/mode_data/datawidget/combo_as_radio_buttons.h:
	This is more consistent.

2012-01-23  Murray Cumming  <murrayc@murrayc.com>

	Document: Allow the database title to be translated.

	* glom/libglom/filelist.am:
	* glom/libglom/database_title.[h|cc]: Add this new TranslatableItem.
	* glom/libglom/document/document.[h|cc]: Use DatabaseTitle instead of just
	a string, and load/save it in the database.
	get_database_title(): Add a locale parameter and add 
	get_database_title_original().
	* glom/application.cc:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/data_structure/translatable_item.[h|cc]:
	* glom/libglom/db_utils.cc:
	* glom/libglom/example_document_load.cc:
	* glom/libglom/translations_po.cc:
	* tests/test_document_autosave.cc:
	* tests/test_document_change.cc:
	* tests/test_document_load.cc:
	* tests/test_document_load_translations.cc: Adapt.

2012-01-23  Murray Cumming  <murrayc@murrayc.com>

	Document: load_after_translation(), save_before_translation(): Use sharedptr.

	* glom/libglom/document/document.[h|cc]: load_after_translation(), 
	save_before_translation(): Take the TranslatableItem parameter as a sharedptr.
	Any reason not to no longer applies.

2012-01-22  Murray Cumming  <murrayc@murrayc.com>

	Document: get_report_names(), get_print_layout_names(): Return a vector.

	* glom/libglom/document/document.[h|cc]: get_report_names(), 
	get_print_layout_names(): Return a std::vector instead of a std::list,
	removing the typedefs, to be consistent with get_table_names().
	This also helps java-libglom, whose std::list wrapper seems to be useless.
	* glom/application.cc:
	* glom/box_reports.cc:
	* glom/mode_design/print_layouts/box_print_layouts.cc:
	* tests/test_document_load.cc: Adapted.

2012-01-18  Murray Cumming  <murrayc@murrayc.com>

	Default to en rather than en_US for the original locale.

	* glom/application.cc: get_original_locale(): Default to en rather than en_US.
	* examples/*.glom: Change the original locale from en_US to en.