2013-11-01  Murray Cumming  <murrayc@murrayc.com>

	Print Layouts: Avoid crash when opening.

	* glom/frame_glom.cc: This was another ! error from the commits to
	avoid clang warnings.

2013-11-01  Murray Cumming  <murrayc@murrayc.com>

	More fixes for clang compiler and analyzer warnings.

2013-11-01  Murray Cumming  <murrayc@murrayc.com>

	Fix some clang compiler and analyzer warnings.

	These are mostly checks after getting widgets from glade files.

2013-11-01  Murray Cumming  <murrayc@murrayc.com>

	Small Business Example: Restore a Relationship title.

	* examples/example_small_business.glom: Somehow only the
	German translation was there.

2013-10-31  Murray Cumming  <murrayc@murrayc.com>

	DbAddDel: Replace use of TreeView::remove_all_columns().

	* glom/utils_ui.[h|cc]:
	Add a treeview_delete_all_columns() method to explicitly
	delete the columns instead of just removing them and sometimes
	implicitly deleting them with Gtk::TreeView::remove_all_columns().
	* glom/mode_data/db_adddel/db_adddel.[h|cc]:
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/import_csv/dialog_import_csv.cc: Use it.

	This seems to fix a crash when switching between Data and Find mode,
	though that might just have been due to not resetting the pointer
	to the button column.

2013-09-23  Murray Cumming  <murrayc@murrayc.com>

	1.22.3

2013-09-23  Murray Cumming  <murrayc@murrayc.com>

	Tests: Avoid a too-long path with recent PostgreSQL.

2013-09-20  Murray Cumming  <murrayc@murrayc.com>

	Move to a generated (in dist) ChangeLog

	I still do not like not being able to correct the commit messages
	and I still do not like how it leads us to be lazy when writing
	the ChangeLog entries, but git still makes it hard to manage
	branches when using a manually-written ChangeLog.

2013-09-20  Murray Cumming  <murrayc@murrayc.com>

	Startup: Do not crash when reporting check problems.

	* glom/main.c: Instantiate the Application earlier, to ensure
	that GTK+ is ready for use.
	Also call gtk_init() explicitly because Gtk::Application needs
	a fix for this anyway, and it would be nice to use this fix
	in Glom versions that do not need a newer gtkmm.

	Bug #680411 (Bjørn Lie, Dominique Leuenberger)

2013-09-20  Murray Cumming  <murrayc@murrayc.com>

	Startup: Show check errors on stderr

	In case the UI is crashing at first use somehow, as it currently seems to
	be on Fedora.

2013-09-20  Murray Cumming  <murrayc@murrayc.com>

	Avoid some compiler warnings

2013-09-11  Murray Cumming  <murrayc@murrayc.com>

	Avoid a crash at shutdown.

	* glom/bakery/appwindow_withdoc.cc: on_menu_file_close():
	Close the document after hiding the UI, instead of the other way
	around because, with Gio::Application, hiding the window can cause
	it to be deleted, making any further use of it impossible.

2013-07-27  Dimitris Spingos  <dmtrs32@gmail.com>

	Updated Greek translation

2013-07-22  Murray Cumming  <murrayc@murrayc.com>

	1.22.2

2013-07-22  Murray Cumming  <murrayc@murrayc.com>

	Update a test for the newer translations.

	* tests/test_document_load_translations.cc: Increase the number
	of expected translation locales and adapt to us having a
	(mostly useless) en_GB translation.

2013-07-22  Murray Cumming  <murrayc@murrayc.com>

	Fix the build on Ubuntu Raring.

	* macros/macros/mm-python.m4: Also check in
	/usr/lib/i386-linux-gnu/ because that is where Ubuntu Raring
	(and maybe Debian) put libpython2.7 there.y

2013-07-22  Murray Cumming  <murrayc@murrayc.com>

	Initial dialog: Fix crash with latest libxml.

	* glom/dialog_existing_or_new.cc: Catch exceptions from
	xmlpp::SaxParser::parse_chunk() because libxml nows
	returns an error code from xmlParserChunk when we call
	xmlStopParser(), which libxml++ then throws as an
	exception. Maybe libxml++ should not do that for that
	new error code.
	This is the libxml commit:
	https://git.gnome.org/browse/libxml2/commit/?id=e50ba8164eee06461c73cd8abb9b46aa0be81869

2013-07-22  Murray Cumming  <murrayc@murrayc.com>

	Initial dialog: Fix the notebook vertical expansion.

	* ui/operator/dialog_existing_or_new.glade: Set the
	parent GtkHBox to expand, because there is some change
	of behaviour with the latest GTK+ from git master.
	Before this expanded already.

2013-07-22  Murray Cumming  <murrayc@murrayc.com>

	Deal with minor TODOs

2013-07-22  Murray Cumming  <murrayc@murrayc.com>

	Deal with a TODO

2013-07-22  Murray Cumming  <murrayc@murrayc.com>

	Added some std::cerr hints

2013-07-22  Murray Cumming  <murrayc@murrayc.com>

	Tests: Use the locally-built glom.

	* configure.ac:
	* Makefile_tests.am:
	* tests/tests_glom_date_in_locales.sh.in:
	Generate tests/tests_glom_date_in_locales.sh from
	tests/tests_glom_date_in_locales.sh.in, so it can
	include the path to the locally-built glom
	executable.

2013-07-22  Murray Cumming  <murrayc@murrayc.com>

	Tests: Use the locally-built python module.

	* Makefile_tests.am: Set the PYTHONPATH in
	automake's TESTS_ENVIRONMENT variable
	to fix make check before make install has run,
	and generally to be a correct check.

2013-04-21  Rafael Ferreira  <rafael.f.f1@gmail.com>

	Updated Brazilian Portuguese translation

2013-04-10  Мирослав Николић  <miroslavnikolic@rocketmail.com>

	Added Serbian translation

2013-04-10  Мирослав Николић  <miroslavnikolic@rocketmail.com>

	Added Serbian translation

2013-04-10  Мирослав Николић  <miroslavnikolic@rocketmail.com>

	Added Serbian translation

2013-04-10  Мирослав Николић  <miroslavnikolic@rocketmail.com>

	Added Serbian translation

2013-04-10  Мирослав Николић  <miroslavnikolic@rocketmail.com>

	Added Serbian translation

2013-04-10  Мирослав Николић  <miroslavnikolic@rocketmail.com>

	Added Serbian translation

2013-03-26  Balázs Úr  <urbalazs@src.gnome.org>

	Initial Hungarian translation

2013-03-26  Balázs Úr  <urbalazs@src.gnome.org>

	Initial Hungarian translation

2013-03-26  Balázs Úr  <urbalazs@src.gnome.org>

	Initial Hungarian translation

2013-03-26  Balázs Úr  <urbalazs@src.gnome.org>

	Initial Hungarian translation

2013-03-26  Balázs Úr  <urbalazs@src.gnome.org>

	Initial Hungarian translation

2013-03-15  Balázs Úr  <urbalazs@src.gnome.org>

	Updated Hungarian translation

2013-01-13  Rafael Ferreira  <rafael.f.f1@gmail.com>

	Updated Brazilian Portuguese Translation

2012-11-08  Murray Cumming  <murrayc@murrayc.com>

	Import example .po translations into the examples.

	* examples/example_film_manager.glom:
	* examples/example_lesson_planner.glom:
	* examples/example_music_collection.glom:
	* examples/example_project_manager.glom:
	* examples/example_smallbusiness.glom:
	There are some new translations for el, id, lv and en_GB,
	though only a few of the en_GB translated strings are different.

2012-11-07  Murray Cumming  <murrayc@murrayc.com>

	1.22.1

2012-11-02  Murray Cumming  <murrayc@murrayc.com>

	Move a test out the ui tests.

	* Because it uses the glom executable, which needs an
	X display, even when parsing the command line parameters.
	I blame GtkApplication.

2012-11-02  Murray Cumming  <murrayc@murrayc.com>

	Add --enable-ui-tests.

	* configure.ac, Makefile_tests.am:
	Allow the tests that actually instantiate windows to
	be disabled, for running under headless continuous
	integration systems.

2012-11-02  Murray Cumming  <murrayc@murrayc.com>

	fix

2012-11-02  Murray Cumming  <murrayc@murrayc.com>

	Self hosting: Do not allow ident authorization.

	* glom/libglom/connectionpool_backends/postgres_self.cc:
	Remove the ident lines from pg_hba.conf. We use trust already,
	so we do not need both.

2012-10-30  Murray Cumming  <murrayc@murrayc.com>

	Fix another typo

2012-10-30  Murray Cumming  <murrayc@murrayc.com>

	Fix a typo.

2012-10-29  Murray Cumming  <murrayc@murrayc.com>

	Revert "Self hosting: Avoid use of unix-domain sockets."

	This reverts commit 145bc61b7fde6048884a8e94174ba9b412d3e24e.

	Conflicts:
	ChangeLog
	glom/libglom/connectionpool_backends/postgres_self.cc

	Bring back unix-domain sockets because TCP connections with trust
	are not specific to a single user on multiuser systems.

2012-10-29  Murray Cumming  <murrayc@murrayc.com>

	Revert "SelfHosting: Do not generate and specify pg_ident.conf"

	This reverts commit f39fa95fc4881871c2c162dffc63c2d8e45e55f7.

	Because we probably do need this with unix-socket domains, which
	I am bringing back.

2012-10-25  Murray Cumming  <murrayc@murrayc.com>

	SelfHosting: Do not generate and specify pg_ident.conf

	* glom/libglom/connectionpool_backends/postgres_self.cc:
	Do not bother creating and using the pg_ident.conf file because
	we do not use ident authentication.

2012-10-25  Murray Cumming  <murrayc@murrayc.com>

	Self hosting: Only allow attempts from localhost when not shared.

	* glom/libglom/connectionpool_backends/postgres_self.cc:
	When the Glom system should not be shared on the network (the
	default for new files), do not even allow connection attempts
	from non-localhost. This also removes the use of the deprecated
	postgres -i option.

2012-10-25  Murray Cumming  <murrayc@murrayc.com>

	Self hosting: Avoid use of unix-domain sockets.

	* glom/libglom/connectionpool_backends/postgres_self.cc:
	Use -k '' with the postgres executable, and remove any local lines in
	pg_hba.conf, to (hopefully, presumably) allow only TCP connections
	and no unix-domain socket connections.
	This avoids the new restricitons on the characters allowed in the
	path given to -k (unix_socket_directory or unix_socket_directories
	in postgresql.conf).
	Therefore, this fixes the tests on Fedora 17.

2012-10-20  Andika Triwidada  <andika@gmail.com>

	Added Indonesian translation of examples

2012-10-06  Andika Triwidada  <andika@gmail.com>

	Added Indonesian translation

2012-09-14  Chris Leonard  <cjl@laptop.org>

	Updated British English translation

2012-09-02  Christian Kirbach  <Christian.Kirbach@googlemail.com>

	Updated German translation

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

	Catch exceptions when updating the libgda metastore.

	* glom/libglom/connectionpool.cc:
	* glom/libglom/db_utils.cc: Put try/catch around
	uses of Gda::Connection::update_meta_store_for_table()
	because it is currently failing in test_selfhosting_new_then_change_columns
	on my Fedora 17.

2012-08-31  Rūdolfs Mazurs  <rudolfsm@src.gnome.org>

	Fixing build break by adding some Latvian translations

2012-08-10  Arvis Lacis  <arvis.lacis@gmail.com>

	Updated Latvian translation

2012-08-09  Arvis Lacis  <arvis.lacis@gmail.com>

	Added Latvian translation

2012-08-07  Christian Kirbach  <Christian.Kirbach@googlemail.com>

	Updated German translation

2012-07-22  Tom Tryfonidis  <tomtryf@gmail.com>

	Added Greek translation

2012-06-20  Tom Tryfonidis  <tomtryf@gmail.com>

	Added greek language to LINGUAS

2012-06-20  Tom Tryfonidis  <tomtryf@gmail.com>

	Updated Greek translation

2012-05-31  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-05-31  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

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

	Tiny whitespace fix.

2012-04-24  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-04-22  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2012-04-21  Joe Hansen  <joedalton2@yahoo.dk>

	Updated Danish translation

2012-04-21  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-04-19  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-04-19  Murray Cumming  <murrayc@murrayc.com>

	Add some translatable strings for Online Glom

	* glom/onlineglom_strings.cc: Add some strings needed by
	the new reports feature in gwt-glom.

2012-04-19  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-04-16  Murray Cumming  <murrayc@murrayc.com>

	Fix make check.

	* tests/test_document_load_translations.cc: Update the
	number of translations.

2012-04-14  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-04-13  Murray Cumming  <murrayc@murrayc.com>

	Film Manager example: Correct the Contacts reports.

	* examples/example_film_manager.glom: Copy them
	from the Small Business example. They were missing
	the Group By fields.

2012-04-13  Murray Cumming  <murrayc@murrayc.com>

	Windows build: Fix some typos.

	* glom/glom_create_from_example.cc:
	* glom/glom_test_connection.cc: Add closing
	).
	Bug #674009 (alien)

2012-04-12  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-04-12  Malcolm Lewis  <malcolmlewis@opensuse.org>

	Update the FSF address in comment blocks.

	Bug #673881

2012-04-12  Antoine Jacoutot  <ajacoutot@gnome.org>

	build: std:cerr needs <iostream>

	This is necessary on OpenBSD.
	Bug #673914

2012-04-11  Murray Cumming  <murrayc@murrayc.com>

	1.22.0

2012-04-11  Murray Cumming  <murrayc@murrayc.com>

	Export all examples .po files.

2012-04-11  Murray Cumming  <murrayc@murrayc.com>

	Fix make check.

	* tests/test_document_load_translations.cc: Increase the number of
	expected translations.
	* examples/example_film_manager.glom: Fix an inconsistency in the
	German translation.

2012-04-11  Murray Cumming  <murrayc@murrayc.com>

	Windows build: ifdef out the use of getpass().

	* glom/glom_create_from_example.cc:
	* glom/glom_test_connection.cc: And show a warning
	on stderr. This is better than disabling all the functionality
	in this file, and lets us fix it easily if we ever have a
	getpass() function on Windows.
	Bug #672881 (alien)

2012-04-11  Murray Cumming  <murrayc@murrayc.com>

	Windows build: Add some includes.

	* glom/dialog_existing_or_new.cc: As suggested by
	alien in bug #673093

2012-04-11  Murray Cumming  <murrayc@murrayc.com>

	Windows build: Add a windows.h include.

	* glom/utility_widgets/imageglom.cc: As suggested by
	alien in bug #673096

2012-04-10  Murray Cumming  <murrayc@murrayc.com>

	Examples: Import the .po files.

2012-04-09  Rogério Fernandes Pereira  <rogeriofox.gnome@gmail.com>

	Added Brazilian Portuguese translation for example_smallbusiness

2012-04-09  Rogério Fernandes Pereira  <rogeriofox.gnome@gmail.com>

	Added Brazilian Portuguese translation for example_project_manager

2012-04-05  Rogério Fernandes Pereira  <rogeriofox.gnome@gmail.com>

	Added Brazilian Portuguese translation

2012-04-04  Rogério Fernandes Pereira  <rogeriofox.gnome@gmail.com>

	Added Brazilian Portuguese translation

2012-04-04  Rogério Fernandes Pereira  <rogeriofox.gnome@gmail.com>

	Added Brazilian Portuguese translation

2012-03-29  Murray Cumming  <murrayc@murrayc.com>

	Fixed some simple warnings found by scan-build.

	* glom/libglom/report_builder.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/python_embed/glom_python.cc: Mostly variables that were
	set but then not used.

2012-03-29  Murray Cumming  <murrayc@murrayc.com>

	Minor changes.

2012-03-29  Murray Cumming  <murrayc@murrayc.com>

	Field: Remove get_holder().

	* glom/libglom/data_structure/field.[h|cc]:
	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/mode_data/datawidget/treemodel_db.cc: Replace or remove use
	of Field::get_holder().

2012-03-29  Murray Cumming  <murrayc@murrayc.com>

	ConnectionPool: create_database(): Take a progress slot.

	* glom/libglom/connectionpool.[h|cc]::
	* glom/libglom/connectionpool_backends/backend.h: create_database():
	Add a progress_slot parameter, to be emitted.
	* glom/libglom/connectionpool_backends/postgres.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres_central.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres_self.[h|cc]:
	* glom/libglom/connectionpool_backends/sqlite.[h|cc]:
	* glom/libglom/db_utils.cc:
	* glom/appwindow.[h|cc]: Adapt.

2012-03-29  Murray Cumming  <murrayc@murrayc.com>

	Rename FieldFormatting to Formatting

2012-03-28  Murray Cumming  <murrayc@murrayc.com>

	1.21.8

2012-03-28  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with the latest gtkmm, with --enable-warnings=fatal.

	* glom/mode_data/box_data.[h|cc]: on_Button_Find(): Let the signal
	handler do the check and warning about no criteria.
	* glom/frame_glom.cc: on_notebook_find_criteria(): Check for quickfind
	criteria here too, so we can use this to do quick finds too, which lets
	use just use the existing Find button (the window's default activate widget),
	instead of trying to make the separate quickfind Find button be the default
	for the entry, but not for other widgets.
	on_button_quickfind(): Just call on_notebook_find_criteria(), letting it do
	all the work.
	Constructor: Call set_activates_default() on the quickfind entry so that the
	regular Find button will be activated when enter is pressed.

2012-03-28  Murray Cumming  <murrayc@murrayc.com>

	Slight code improvement.

	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_list_find.cc: Use C++ instead of C
	to set can_default.

2012-03-28  Murray Cumming  <murrayc@murrayc.com>

	Slight code style change.

2012-03-27  Murray Cumming  <murrayc@murrayc.com>

	Dialog_Choose_ID: Remove use of a deprecated signal.

	* glom/mode_data/datawidget/dialog_choose_id.cc:
	Do not connect to Gtk::Entry::signal_activate(),
	which is deprecated. It is unnecessary anyway,
	because the entry already activates the button
	via the activates-default and can/has-default properties.

2012-03-26  Murray Cumming  <murrayc@murrayc.com>

	Dialog_Import_CSV_Progress: Fix a typo.

	* glom/import_csv/dialog_import_csv_progress.cc: Call get_parser_state()
	instead of get_state(). It was calling Widget::get_state() and the
	compiler did not complain that we did not get the enum type that we
	expected.

2012-03-25  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-03-25  Fran Diéguez  <fran.dieguez@mabishu.com>

	Added Galician translations for example_music_collection, example_project_manager and example_smallbusiness

	Signed-off-by: Fran Diéguez <fran.dieguez@mabishu.com>
2012-03-24  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

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

	Tests: Set LC_TIME too.

	* tests/test_glom_date_in_locales.sh:
	* tests/test_selfhosting_new_from_example_in_locales.sh:
	This seems to be necessary in Ubuntu Precise.

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

	Improve the command-line parse/print locale warnings.

	* glom/libglom/data_structure/glomconversions.cc:
	Mention the locale details when complaining that
	date parsing or rendering is not working correctly for
	a locale.

2012-03-16  Murray Cumming  <murrayc@murrayc.com>

	Update GimpRuler from the Gimp source code.

	With the same changes to make it build in Glom.

2012-03-16  Murray Cumming  <murrayc@murrayc.com>

	Remove some commented-out includes

2012-03-14  Murray Cumming  <murrayc@murrayc.com>

	1.21.7

2012-03-14  Murray Cumming  <murrayc@murrayc.com>

	Fixed the tests build.

2012-03-14  Murray Cumming  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	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.

2012-03-14  Murray Cumming  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	More signal reemitting simplification.

2012-03-12  Murray Cumming  <murrayc@murrayc.com>

	Simplify code that just re-emits signals.

2012-03-12  Murray Cumming  <murrayc@murrayc.com>

	Reduce use of the derived ComboBoxText.

2012-03-12  Murray Cumming  <murrayc@murrayc.com>

	Adjust some comments

2012-03-12  Murray Cumming  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	Remove some virtual keywords

2012-03-12  Murray Cumming  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	libglom: LayoutGroup: Remove deprecated remove_field() and has_field().

	* glom/libglom/data_structure/layout/layoutgroup.[h|cc]: Remove
	deprecated method overloads.

2012-03-06  Murray Cumming  <murrayc@murrayc.com>

	1.21.6

2012-03-05  Murray Cumming  <murrayc@murrayc.com>

	Utils::get_find_where_clause_quick(): Handle an empty value properly.

	* glom/libglom/utils.cc: get_find_where_clause_quick():
	Handle an empty quick_search value properly, returning an empty
	where clause.

2012-03-03  Ben Konrath  <ben@bagu.org>

	Remove empty group in the Lesson Planner example file.

	The empty group was at the bottome of the Rooms table details view.

	https://bugzilla.gnome.org/show_bug.cgi?id=671263

	* examples/example_lesson_planner.glom:

2012-03-03  Murray Cumming  <murrayc@murrayc.com>

	Remove remaining uses of deprecated Gtk::Main API.

2012-03-02  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-03-01  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

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

	Add a unistd.h include to fix the mingw MS Windows build.

	* glom/glom_create_from_example.cc: include unistd.h for getpass().
	Bug #671120 (alien)

2012-03-01  Mario Blättermann  <mario.blaettermann@gmail.com>

	[l10n] Updated German translation

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

	DbUtils: Update some comments

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

	Make auto-increment fields work even if they are not primary keys.

	* glom/libglom/db_utils.h: get_next_auto_increment_value(): Document that
	this also increments the value ready for the next call.
	* glom/base_db_table_data.cc: record_new(): Decide auto-increment values
	as well as just default values and calculated values. And do this while
	building the SQL, instead of first setting it in the widget, because we
	do not always want to use the entered data, so we would then ignore those
	automatic values accidentally.
	Bug #661702

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

	Make the --debug_sql option work again.

	* glom/appwindow.cc: set_show_sql_debug(): Set it in the ConnectionPool
	too. This was broken since the change to Gtk::Application.

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

	ConnectionPool::change_columns(): Add/Remove autoincement rows here.

	* glom/libglom/connectionpool.cc: change_columns(): Add or remove the
	auto-increment row from the database preferences table. This would
	be added automatically anyway but this makes sure that it is there
	for editing as soon as the field is added, and makes sure that it is
	removed.
	* tests/test_selfhosting_new_then_change_columns.cc: Try setting a
	field as auto-increment.

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

	Tests: Update the expected number of locales.

	* tests/test_document_load_translations.cc: There are now 7 locales in the
	example document.

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

	More windows build fixes.

	* glom/libglom/connectionpool_backends/postgres.cc: Add an include and change
	the ifdefed code slightly to fix the mingw build on Windows.
	Bug #670903 (alien)

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

	Add a fcntl.h include.

	* glom/libglom/utils.cc: Include fcntl.h to fix the mingw build
	on Windows.
	Bug #670903 (alien)

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

	Use Gtk::ApplicationWindow.

	* glom/bakery/appwindow_withdoc_gtk.[h|cc]: Use Gtk::ApplicationWindow
	instead of Gtk::Window.

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

	Remove now-unnecessary call to init_gtkmm.

	* glom/application.cc: The latest gtkmm code in git master makes this
	unnecessary.

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

	Application: Do not load documents twice.

	* glom/application.cc: on_open(): Correct the call to the
	base class method, to avoid a second attempt to open the same
	document.

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

	Remove use of Gtk::Main functions.

	* glom/bakery/busy_cursor.cc:
	* glom/import_csv/dialog_import_csv_progress.cc: Use the C API for
	events_pending/iteration to avoid a crash.

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

	AppWindow: Rename get_application() to get_appwindow().

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

	Do not use Gtk::Main.

	* glom/application.cc: create(): Call the new init_gtkmm method.
	* glom/main.cc: Remove the use of Gtk::Main because it is no unnecessary.

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

	--debug-date-check: Do not show the window.

	* glom/main_local_options.[h|cc]: Make the handler function a class method,
	and make the variables private. Add a get_debug_date_check_result() method.
	* glom/application.cc: Stop the application, before showing the window,
	if the --debug-date-check option was given, as before we used GApplication.

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

	Move all command-line handling into the remote Application.

	* glom/main.cc:
	* glom/application.cc:
	* glom/main_local_options.[h|cc]:
	* glom/main_remote_options.[h|cc]: Split the command-line options into
	two OptionGroups, in their own files, even putting local option handling in
	its separate file. This lets us handle them properly, despite the lack of
	GApplication support for separate local/remote GOption handling.
	( See https://bugzilla.gnome.org/show_bug.cgi?id=634990#c6 )
	thanks to our use of G_APPLICATION_NON_UNIQUE.
	Having them separate should make it easier to really do it properly if
	GApplication ever allows it.

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

	Use G_APPLICATION_NON_UNIQUE.

	* glom/application.cc: This is necessary because we use singletons that
	are really per-AppWindow, to simplify our code.

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

	Add a Gtk::Application subclass, used by main().

	* Makefile.am:
	* main.cc:
	* glom/application.[h|cc]: Use a derived Gtk::Application which instantiates
	the Glom::AppWindow via its on_open(). Some command-line option handling is
	temporarily commented out.

2012-02-29  Mario Blättermann  <mario.blaettermann@gmail.com>

	[l10n] Updated German translation

2012-02-29  Mario Blättermann  <mario.blaettermann@gmail.com>

	[l10n] Updated German translation

2012-02-29  Mario Blättermann  <mario.blaettermann@gmail.com>

	[l10n] Updated German translation

2012-02-29  Bruno Brouard  <annoa.b@gmail.com>

	Updated French doc translation

2012-02-29  Murray Cumming  <murrayc@murrayc.com>

	Examples: .pot/.po files: Slight change of report title.

2012-02-29  Murray Cumming  <murrayc@murrayc.com>

	Examples: Import from .po files, adding French.

2012-02-28  Bruno Brouard  <annoa.b@gmail.com>

	New French translation : example app

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

	Fix a warning

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

	Fix a typo in the previous commit.

	* glom/mode_data/box_data_list_related.cc: Do not use m_found_set where
	we really mean found_set.

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

	Prevent SQL SELECT errors when the user does not have view (SELECT) rights.

	* glom/libglom/privs.cc: get_current_privs(): Check for an empty table
	name to avoid SQL errors.
	* glom/frame_glom.cc: show_table_allow_empty():
	* glom/mode_data/box_data_list.cc: fill_from_database(), create_layout(),
	* glom/mode_data/box_data_list_related.cc: init_db_detail(), create_layout():
	* glom/mode_data/datawidget/combochoiceswithtreemodel.cc:
	set_choices_related(): Set DbAddDel::set_allow_view(), with the
	discovered view privileges for the current user, to avoid SQL errors when the
	user does not have SELECT rights.

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

	More not hiding the database structure if the user does not have view rights.

	* glom/mode_data/box_data_list_related.cc: Do not check if the field really
	exists, because that will fail if the user does not have view (SELECT) rights.

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

	Added some TODOs about users without view rights.

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

	Do not hide the database structure if the user does not have view rights.

	* glom/frame_glom.cc: update_table_in_document_from_database(): Warn if we cannot
	get the fields list from the database and do not then assume that there are no fields.
	* glom/libglom/db_utils.cc: get_fields_for_table(): Do not get the fields from the
	database because it is inefficient and we should already have updated the document.
	* glom/mode_data/box_data_list.cc: create_layout(): Do not (incredibly inefficiently)
	check that each field exists in the database. We should already have updated the
	document.

	This should make the UI faster too.
	Bug #669299

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

	Convert another g_warning() to std::err.

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

	Change lots of g_warnings() to std::cerr.

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

	FieldTypes: Add defaults.

	* glom/libglom/data_structure/fieldtypes.[h|cc]: Fallback to a hard-coded map of
	database types to GType types, for the (so far unexplained) cases where
	CONNECTION_META_TYPES gives us no rows.

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

	List View: Make print layouts grayed-out if no record is selected.

	* glom/mode_data/db_adddel/db_adddel.[h|cc]:
	Add signal_record_selection_changed and emit it when the TreeView's selection
	changes:
	* glom/mode_data/db_adddel/db_adddel_withbuttons.cc: Make sure that we call
	the base class.
	* glom/mode_data/box_data_manyrecords.[h|cc]:
	Added signal_record_selection_changed.
	* glom/mode_data/box_data_list.[h|cc]: Handle the AddDel_DB's
	signal_record_selection_changed, emitting our own
	signal_record_selection_changed.
	* glom/mode_data/notebook_data.[h|cc]: Handle the Box_Data_List's
	signal_record_selection_changed, emitting our own
	signal_record_selection_changed.
	I still do not like the repetition that is required here, and elsewhere,
	when a child widget needs to signal all the way up an ownership hierarchy.

	* glom/appwindow.[h|cc]: Add enable_menu_print_layouts_details().
	* glom/frame_glom.[h|cc]: Handle the Notebook_Data's
	signal_record_selection_changed(), calling the AppWindow's
	enable_menu_print_layouts_details().

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

	Fix typo in comment.

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

	Allow printing of print layouts from the list view.

	* glom/appwindow.cc: fill_menu_print_layouts(): Show the print layouts
	even if the list view is visible.
	* glom/mode_data/notebook_data.[h|cc]:
	get_found_set_details(): Replace with get_found_set_selected()
	which checks the selected record in the list view, if the list
	view is visible, instead of just the details view.
	* glom/frame_glom.[h|cc]: Remove get_viewing_details().
	do_print_layout(): Use get_found_set_selected() so we can print the
	print layout for the selected record.

	This avoids some confusion caused by the print layouts not being available
	when viewing the list instead of the details.
	Bug #670462 (alien)

2012-02-19  Kristjan SCHMIDT  <kristjan.schmidt@googlemail.com>

	Updated Esperanto translation

2012-02-19  Kristjan SCHMIDT  <kristjan.schmidt@googlemail.com>

	Add Esperanto translation

2012-02-19  Kristjan SCHMIDT  <kristjan.schmidt@googlemail.com>

	Add Esperanto translation

2012-02-17  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-02-16  Martin Srebotnjak  <miles@filmsi.net>

	Updated Slovenian translation

2012-02-16  Mario Blättermann  <mario.blaettermann@gmail.com>

	[l10n] Updated German translation

2012-02-16  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-02-13  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-02-13  Murray Cumming  <murrayc@murrayc.com>

	Users: Warn if we cannot get the list of users.

	* glom/libglom/privs.[h|cc]: get_database_users(): Add documentation
	about the case that the result is empty.
	* glom/mode_design/users/dialog_users_list.cc: on_button_user_add():
	If the users list is empty then warn that something is probably wrong
	with the permissions. I would like to warn much earlier if the user is
	not a superuser, but I do not know how.
	Bug #669178 (alien)

2012-02-13  Murray Cumming  <murrayc@murrayc.com>

	Add missing files

2012-02-13  Murray Cumming  <murrayc@murrayc.com>

	AppWindow: Rename get_application() to get_appwindow().

2012-02-13  Murray Cumming  <murrayc@murrayc.com>

	Rename Application to AppWindow.

	Rename Application to AppWindow and rename the Bakery::App* classes
	appropriately too. This is a preparation for using Gtk::Application.

2012-02-09  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Print Preview: Avoid warnings when there are no records yet.

	* glom/print_layout/canvas_print_layout.cc: fill_with_data(): Do nothing,
	and hint on stdout, if there are no records yet. This avoids several
	real warnings later.

2012-02-08  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-02-08  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Avoid sometimes over-scaled images.

	* glom/print_layout/canvas_layout_item.[h|cc]: Remove the constructor and
	create() that take a LayoutItem, because we should put the CanvasItem in a
	canvas (even indirectly) before creating the child item, to avoid this
	goocanvas bug: https://bugzilla.gnome.org/show_bug.cgi?id=657592#c16
	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	* glom/print_layout/canvas_print_layout.[h|cc]:
	Add and use create_canvas_layout_item_and_add() methods which put the new
	canvas item in the canvas before creating its child items based on the
	LayoutItem.

	This fixes bug #668901 (alien)

2012-02-06  Mario Blättermann  <mario.blaettermann@gmail.com>

	[l10n] Updated German translation

2012-02-05  Murray Cumming  <murrayc@murrayc.com>

	Button scripts and Field Calculations: Test button: Check for pygtk2.

	* glom/mode_data/box_data.cc: :execute_button_script(): Move the
	warning UI into
	* glom/utils_ui.[h|cc]: a new script_check_for_pygtk2_with_warning()
	method.
	* glom/mode_design/fields/dialog_fieldcalculation.cc: on_button_test():
	* glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.cc:
	on_button_test_script(): Use the new function here.

2012-02-03  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-02-03  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-02-03  Murray Cumming  <murrayc@murrayc.com>

	Button scripts: Check and warn about pygtk2 instead of crashing.

	* glom/libglom/utils.[h|cc]: Add script_check_for_pygtk().
	* Makefile_tests.am:
	* tests/test_script_check_for_problems.cc: Add a test for the check
	function.
	* glom/mode_data/box_data.cc: execute_button_script(): Show a
	warning dialog, and do not run the script, if it seems to use pygtk.
	This should help with but #669196 (alien) and ##661766 (Andre Klapper) .

2012-02-03  Murray Cumming  <murrayc@murrayc.com>

	Minor formatting changes

2012-02-03  Murray Cumming  <murrayc@murrayc.com>

	ReportBuilder: Add error checking.

	* glom/libglom/report_builder.[h|cc]: Return bool
	from the private methods and check those results.

2012-02-03  Murray Cumming  <murrayc@murrayc.com>

	Reports: Make summary fields work again.

	* glom/libglom/report_builder.cc: report_build_summary():
	Remove any sort clause (ORDER BY) from the FoundSet because that makes
	no sense for a single row with summary fields. It looks like recent versions
	of PostgreSQL have become more strict about this, producing this error, for
	instance:
	column invoices.invoice_id must appear in the GROUP BY clause or be used in an aggregate function
	* Makefile_tests.am:
	* tests/test_selfhosting_new_then_report_summary.cc: Add a test for this.
	This fixes bug #669281 (alien)

2012-02-03  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output.

2012-02-03  Murray Cumming  <murrayc@murrayc.com>

	Fix more group privileges

2012-02-03  Murray Cumming  <murrayc@murrayc.com>

	Document: Really load the table privileges.

	* glom/libglom/db_utils.[h|cc]: add_group(): Take a bool superuser
	parameter.
	add_groups_from_document(): Use add_group() instead of executing
	the ADD GROUP query directly, to make sure that we also start
	with some sane table privileges defaults, in case nothing else
	sets the privielges.
	* glom/libglom/document/document.cc: load_after(): Fix a typo
	so that the group privileges are really loaded (and then
	saved again instead of being lost).
	* examples/example_film_manager.glom:
	* examples/example_smallbusiness.glom: Save these with
	useful group privileges, so the groups will be allowed to
	see tables.
	* tests/test_document_load.cc: Test the loading of the group
	privileges.
	Previously the examples were created with groups that could not
	even view the tables, which meant that they could not even
	find out about their existence.
	This deals with the problem found here:
	https://bugzilla.gnome.org/show_bug.cgi?id=669043#c2
	But I would like to show the existence (and structure) of tables
	even if their data cannot be viewed, so there is more work to do.

2012-02-03  Murray Cumming  <murrayc@murrayc.com>

	test_selfhosting_new_empty_then_users: Slight improvement.

	* tests/test_selfhosting_new_from_example_operator.cc: Check
	that the group exists before adding a user to it.

2012-02-03  Murray Cumming  <murrayc@murrayc.com>

	Add some runtime warnings.

	* glom/libglom/db_utils.cc: get_table_names_from_database():
	Slightly improved error checking.
	* glom/libglom/privs.cc: set_table_privileges():
	Warn if a GRANT fails.

2012-02-03  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation

2012-02-02  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-02-02  Murray Cumming  <murrayc@murrayc.com>

	Examples: Import .po files

2012-02-02  Murray Cumming  <murrayc@murrayc.com>

	Share on Network: Add reassuring message when user removal fails.

	* glom/frame_glom.cc: Add a stdout message saying the the
	default user has been disabled, because the existing message
	about the failure to remove the user looks at first like
	a security problem.
	I still do not know why removal fails, even though we do
	change the ownership of the database.

2012-02-02  Murray Cumming  <murrayc@murrayc.com>

	test_selfhosting_new_empty_then_users: Test user removal.

	* glom/base_db.[h|cc]: Move remove_user() and
	remove_user_from_group() to
	* glom/libglom/db_utils.[h|cc].
	* glom/frame_glom.cc:
	* glom/mode_design/users/dialog_users_list.cc: Adapted.
	* tests/test_selfhosting_new_empty_then_users.cc: Test these
	functions.

2012-02-02  Murray Cumming  <murrayc@murrayc.com>

	Fix the build.

2012-02-02  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-02-02  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-02-02  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-02-02  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-02-02  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-02-02  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2012-02-02  Murray Cumming  <murrayc@murrayc.com>

	Really prevent changing to developer mode for non-developers.

	* glom/frame_glom.cc: on_menu_developer_developer(): Actually use the
	result of Privs::get_user_is_in_group().
	* tests/test_selfhosting_new_from_example_operator.cc: Test this
	same function here, though this test currently fails anyway.
	Really prevent changing to developer mode for non-developers.
	This fixes bug #669043 (alien)

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

	Allow user and group names to have spaces and other special characters.

	* glom/libglom/privs.cc: get_table_privileges(): Instead of parsing the
	relacl.pg_class field, use the PostgreSQL has_table_privilege()
	function, though it needs some strange quoting (see comments).
	This code is much simpler now.
	* tests/test_selfhosting_new_empty_then_users.cc: Add various other
	table, group, and user names, to excercise the code.
	This now passes.

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

	Fix the build.

	* glom/mode_design/users/dialog_new_group.cc:
	* glom/mode_design/users/dialog_user.cc: Add includes to fix the build.

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

	test_selfhosting_new_empty_then_users: Show the problem with spaces.

	* tests/test_selfhosting_new_empty_then_users.cc:
	Privs::get_table_privileges() must parse a strange format. This test
	shows that it fails if the group name contains spaces.

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

	Fix typos

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

	Limit user and group name lengths.

	* glom/libglom/privs.[h|cc]: Add a MAX_ROLE_SIZE enum constants.
	I cannot find any PostgreSQL documentation of this 63 character limit.
	* glom/mode_design/users/dialog_new_group.cc:
	* glom/mode_design/users/dialog_user.cc: Use it to set maximum characters
	for the entry boxes.
	* tests/test_selfhosting_new_empty_then_users.cc: Show that the problem
	found so far was caused by too-long names, not spaces.
	I still need to check parsing of table permissions.

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

	Fix typo

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

	test_selfhosting_new_empty_then_users: Test user adding with all group names.

	* tests/test_selfhosting_new_empty_then_users.cc: Use for loops to
	simplify the code and to make sure that we test adding of users with
	all the group types.
	This shows a problem:
	Privs::get_database_groups() does not contain the expected user:
	group: somegroup with space characters1
	user: someuser with space characters1for_somegroup with space characters1

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

	test_selfhosting_new_empty_then_users: Improvements.

	* tests/test_selfhosting_new_empty_then_users.cc:
	Add tables that will be affected.
	Test strange characters in group and user names.

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

	Add test_selfhosting_new_empty_then_users

	* glom/mode_design/users/dialog_groups_list.cc: on_button_group_new():
	Move the group creation code to:
	* glom/libglom/db_utils.[h|cc]:

	* glom/libglom/privs.[h|cc]: set_table_privileges():
	Return a bool to report failures.
	* Makefile_tests.am:
	* tests/test_selfhosting_new_empty_then_users.cc: Add this test to
	test simple creation of a group and a user.

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

	Add test_selfhosting_new_from_example_operator.

	* glom/base_db.[h|cc]: Move add_user() to
	* glom/libglom/db_utils.[h|cc]:
	* glom/frame_glom.cc:
	* glom/mode_design/users/dialog_users_list.cc: Adapted.

	* glom/libglom/connectionpool.cc: invalidate_connection():
	Also clear m_pFieldTypes to make sure that we refill it when making
	a new connection.

	* glom/libglom/data_structure/fieldtypes.[h|cc]: Add get_types_count().
	* tests/test_selfhosting_utils.[h|cc]: Add test_selfhost() to
	start an already-existing .glom system.
	* Makefile_tests.am:
	* tests/test_selfhosting_new_from_example_operator.cc:
	Add this new test which attempts to re-open a .glom system as
	a non-developer user. This currently fails to get the list of
	tables from the database. I must investigate that.

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

	Add test_selfhosting_new_empty_change_sysprefs.

	* Makefile_tests.am:
	* tests/test_selfhosting_new_empty_change_sysprefs.cc: Add this
	test to check that the writing and reading of System Preferences works.

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

	test_selfhosting_new_empty: Move some code into test_selfhosting_utils

	* tests/test_selfhosting_utils.[h|cc]: Add functions for self-hosting
	of an empty new database, used by the existing code too.
	* Makefile_tests.am:
	* tests/test_selfhosting_new_empty.cc: Use test_selfhosting_utils to
	simplify this code, making it easier to create variations of this test.

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

	test_selfhosting_new_empty: Simplify the cleanup code.

	* tests/test_selfhosting_new_empty.cc: Call cleanup if test() returns
	false, like we in the other tests, to avoid calling it in too many
	places.

2012-01-30  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

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

	Require the latest goocanvas because it has fixes that PrintLayout needs.

	* configure.ac: Require goocanvas 2.0.1.

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

	Add translatable strings from OnlineGlom

	* glom/onlineglom_strings.cc:
	* Makefile.am:
	* po/POTFILES.in: Mention the new file.
	These strings are actually used here:
	http://gitorious.org/online-glom/gwt-glom/trees/master/src/main/resources/org/glom/web/client/ui
	and I must manually copy the translations across until I find a better way.

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

	Translatable: Remove unimplemented get_title_or_name_original().

	* glom/libglom/data_structure/translatable_item.h: This
	method is not used, of course.

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

	TableInfo, Report, PrintLayout: Make member variables private.

	* glom/libglom/data_structure/print_layout.[h|cc]:
	* glom/libglom/data_structure/report.[h|cc]:
	* glom/libglom/data_structure/tableinfo.[h|cc]: Hide the member
	variables behind getters and setters.
	* glom/application.cc:
	* glom/base_db.cc:
	* glom/libglom/db_utils.cc:
	* glom/libglom/document/document.cc:
	* glom/libglom/report_builder.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/report_layout/dialog_layout_report.cc:
	* glom/navigation/box_tables.cc:
	* glom/print_layout/canvas_print_layout.[h|cc]:
	* glom/print_layout/print_layout_utils.cc:
	* tests/test_document_load.cc: Adapt.
	This avoids java-libglom from generating getM_*() and setM_*() methods,
	as well as being generally correct.

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

	Database Preferences: Really store the organization name in the database.

	* glom/libglom/db_utils.cc: set_database_preferences(): Also UPDATE
	the organization name.

	This fixes bug #668836 (alien)

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

	Field Formatting: Related Choices: Default to showing the primary key.

	* glom/mode_design/layout/layout_item_dialogs/box_formatting.cc:
	on_combo_choices_relationship_changed(): By default, automatically
	choose the related table's primary key as the field to show in the
	choices. Other fields should then be shown (or looked up) based on the
	chosen ID.
	This avoids the confusion noticed here: https://bugzilla.gnome.org/show_bug.cgi?id=668759#c21

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

	CellRendererDbList: Do not crash if one of the fields is hidden.

	* glom/mode_data/datawidget/cellrenderer_dblist.cc:
	repack_cells_related(): Do not crash if create_cell() returns 0,
	and add a comment explaining that that is OK.
	* glom/mode_data/datawidget/cellcreation.cc: Add explanatory comments.

	This fixes the second crash mentioned in #668759 (alien).

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

	Choices: Allow the field to be be other than the primary key.

	* glom/mode_data/datawidget/treemodel_db.h: Make most methods and
	members private again, documentation what they *key methods and members
	really mean.
	* glom/mode_data/datawidget/treemodel_db_withextratext.[h|cc]: Add
	m_column_index_first and m_item_first members.
	Constructor: Set these by looking for the first LayoutItem_Field,
	because that is what we will want to show in the first cell of
	a combobox, which is where this model is used.
	Use these instead of the *key members, which were actually the primary
	key. We had previously assumed that the first field would always be
	the primary key, but we should not enforce that.
	This fixes crashing bug #668759 (alien).

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

	ComboChoicesWithTreeModel: Make sure the model always has the primary key.

	* glom/libglom/data_structure/layout/layoutitem_field.h:
	predicate_LayoutItem_Field_IsSameField: Let this be used with containers of
	LayoutItems as well as just LayoutItem_Fields.
	* glom/libglom/utils.[h|cc]: Add get_layout_items_plus_primary_key().
	* glom/mode_data/box_data_list.cc: create_layout(): Simplify code by using
	get_layout_items_plus_primary_key().
	* glom/mode_data/datawidget/combochoiceswithtreemodel.cc:
	set_choices_related(): Use get_layout_items_plus_primary_key() so the
	model has the primary key, avoiding a warning and a later crash.

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

	Test creation from examples in non-English locales.

	* Makefile_tests.am:
	* tests/test_selfhosting_new_from_example_in_locales.sh:
	Run the test_selfhosting_new_from_example example in various
	locales, to make sure that the libgda problem (see bug #668346),
	or something like it, does not come back.
	* tests/test_selfhosting_new_from_example.cc: Call setlocale().

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

	Examples: Import po files

2012-01-25  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2012-01-25  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

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

	Document: Avoid accumulating old nodes in the XML.

	* glom/glom_document.dtd: <connection>: Port and server should be
	optional because the document can specify a SQLite file instead.
	* glom/libglom/document/document.cc: save_before(): Remove all
	children of the root node before recreating them, to avoid keeping
	old stuff.

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

	Examples: Remove multiple trans_set nodes.

	* examples/example_film_manager.glom:
	* examples/example_lesson_planner.glom:
	* examples/example_music_collection.glom:
	* examples/example_project_manager.glom:
	* examples/example_smallbusiness.glom:

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

	Examples: Imported .po files to the .glom files.

2012-01-25  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

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

	1.21.5

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

	Fix typo.

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

	Depend on libgda 5.0.3 because we need the GdaNumeric corrections.

	* configure.ac: This avoids errors when creating from examples, when
	using a non-English locale.
	This fixes bug #668346 (Janne)

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-24  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

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

	Examples: Import the new Slovenian translations

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

	examples: Correct the slovenian translation

	The translations contained %s, but there was no %s in the original
	messages.

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

	Examples: Re-export the .po and .pot files

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

	Examples: Import the new Slovenian translations

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

	2.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-24  Murray Cumming  <murrayc@murrayc.com>

	Add missing files.

2012-01-23  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

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-20  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-20  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-20  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-20  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-20  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

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.

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

	1.21.3

2012-01-16  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-01-16  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation

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

	Avoid repetitive Application::get_current_locale() calls.

	* glom/application.[h|cc]: Added item_get_title() and item_get_title_or_name()
	outside of the class.
	* glom/libglom/data_structure/translatable_item.h: Removed unused
	glom_get_sharedptr_title_or_name().
	* glom/: Many files: Use the new functions to make the code slighly shorter.

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

	TranslatableItems: Make less methods virtual.

	* glom/libglom/data_structure/translatable_item.[h|cc]:
	get_title_translation(), get_title_or_name_original():
	Make these non-virtual, because nothing needs to override them.
	* glom/libglom/data_structure/layout/layoutitem_field.[h|cc]:
	Remove useless get_title_original(), get_title_translation(), and
	get_title_or_name_original() overrides.
	Remove useless and unused private get_title_no_custom_original() method.
	* glom/libglom/document/document.[h|cc]: Add a
	fill_translatable_layout_items(LayoutItem_Field) method, and use it in
	fill_translatable_layout_items(LayoutGroup), instead of repeating code.
	Avoid calling get_title_original() and get_title_translation() on
	LayoutItem_Field because it does not have its own title.
	* glom/libglom/example_document_load.cc:
	* tests/test_document_load_translations.cc: Adapted.

2012-01-16  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

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

	TranslatableItem: Require the caller to provide the locale.

	* glom/libglom/data_structure/translatable_item.[h|cc]:
	get_current_locale(), set_current_locale(), set_original_locale(),
	get_current_locale_not_original(): Move to Glom::Application, out of
	libglom.
	get_title(), set_title(), get_title_or_name(): Add a ustring locale
	parameter.
	Added virtual get_title_original(), get_title_translation(),
	get_title_or_name_original(), get_title_or_name_translation().
	Added set_title_original() and set_title_translation(), though these
	are private and non-virtual.
	This let use discover the actual original text and its translations
	while still using get_title(locale) to just get the title that should
	be used. Before we could get the exact entered title for a locale just
	by setting the current locale.
	* libglom/data_structure/layout/layoutitem_field.[h|cc]: Override the
	new virtual methods.
	* Many other files: Adapt.

	This allows us to use different translatations from Online Glom, which
	only loads the library once for all Glom files. And this is generally
	cleaner, even if it requires more repetitive code.

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

	translations change in progress

	More in progress

	More in progress 2

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

	Update .gitignore files

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

	Update the DTD, adding a trans_set.

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

	test_document_load_translations: Test title_singular too.

	* examples/example_film_manager.glom: Scenes table: Add a German
	translation of the singular title.
	* tests/test_document_load_translations.cc: Test
	Document::get_table_title_singular() in the original and de locales.

2012-01-15  Funda Wang  <fundawang@gmail.com>

	Updated zh_CN translation.

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

	Import .po translations into the .glom example files.

	* examples/example_film_manager.glom:
	* examples/example_lesson_planner.glom:
	* examples/example_music_collection.glom:
	* examples/example_project_manager.glom:
	* examples/example_smallbusiness.glom: Import some new German,
	Czech, and Spanish translations. This is wonderful.

2012-01-12  Marek Černocký  <marek@manet.cz>

	Czech translation

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

	1.21.2

2012-01-11  Marek Černocký  <marek@manet.cz>

	Czech translation

2012-01-11  Marek Černocký  <marek@manet.cz>

	Czech translation

2012-01-11  Marek Černocký  <marek@manet.cz>

	Czech translation

2012-01-11  Marek Černocký  <marek@manet.cz>

	Czech translation

2012-01-11  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

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

	Fix make distcheck.

	* Makefile.am: Add messages.mo to CLEANFILES, though I would prefer
	to not generate it in the first place. This is apparently triggered by
	the presence of the .po files in examples/po_files/ though these are
	not part of the build.

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

	Add missing file.

2012-01-10  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-01-10  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-01-10  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-01-10  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-01-10  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2012-01-10  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

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

	Allow creation of .pot files for .glom files.

	* glom/libglom/translations_po.[h|cc]: Added write_pot_file().
	* glom/glom_export_po.cc: Add a --template option to genereate
	.pot files.
	* Makefile.am: Use this new option to generate .pot files
	when exporting all .po files.
	* examples/po_files/*/*.pot: Add these generated files to git,
	to help translators to start new translations.

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

	Add README about examples' .po files.

	* examples/po_files/README:

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

	Export .po files for the example files.

	* examples/po_files/example_film_manager/de.po:
	* examples/po_files/example_lesson_planner/de.po:
	* examples/po_files/example_music_collection/de.po:
	* examples/po_files/example_project_manager/de.po:
	* examples/po_files/example_smallbusiness/de.po:
	Hopefully people will translate these and add more,
	for me to import back into the .glom files with
	$ make examples_import_po

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

	examples: Remove translations for useless locale.

	* examples/example_lesson_planner.glom:
	* examples/example_project_manager.glom:
	* examples/example_smallbusiness.glom:
	* ldtp/database-templates/PostgresCentral/Test.glom:
	* ldtp/database-templates/SQLite/Test.glom: For some reason
	these had translations for de_BE, de_AT, en_GB, and en_US.

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

	Remove unused file.

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

	Translations: Prefer non-country-specific locales, such as de.

	* examples/example_film_manager.glom:
	* examples/example_lesson_planner.glom:
	* examples/example_music_collection.glom:
	* examples/example_project_manager.glom:
	* examples/example_smallbusiness.glom:
	* examples/sqlite/test_sqlite_music/test_sqlite_music.glom:
	* ldtp/database-templates/PostgresCentral/Test.glom:
	* ldtp/database-templates/SQLite/Test.glom:
	* tests/test_document_load_translations.cc:
	* tests/translations_po/test_document_export_po.cc:
	* tests/translations_po/test_document_import_po.cc:
	Replace de_DE with de.

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

	Translations: Offer non-country-specific language locales too.

	* Makefile_tests.am:
	* glom/libglom/utils.cc: locale_language_id(): Parse language-only
	locale IDs too.
	* glom/mode_design/iso_codes.cc: get_locale_name(): Create non-country
	locale IDs too, though they are not in the iso-codes XML file.
	* glom/mode_design/translation/window_translations.cc: Show, for instance
	German (de) as well as the existing German (Germany), German (Austria),
	etc.

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

	Add rules for batch .po import and export for the examples.

	* Makefile.am: Add examples_export_po and examples_import_po targets
	that must be run manually. For instance:
	$ make examples_export_po
	and
	$ make examples_import_po
	* glom/glom_import_po_all.cc: Improve the stdout message.

2012-01-09  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2012-01-09  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

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

	Exporting of .po files: Do not lose non-ASCII characters.

	* glom/libglom/translations_po.cc: write_translations_to_po_file():
	Write the file manually instead of using gettext-po.h and its po_file_write(),
	because that loses non-ASCII characters (see previous commit).
	make check now works.

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

	test_document_export_po: Test a special character.

	* tests/translations_po/test_document_export_po.cc:
	Demonstrate that the po file export currently drops non-ASCII characters.
	Apparently there is no way to tell po_file_write() to use UTF-8 encoding,
	though that can be affected by code that uses the libgettext-po source code
	itself, by setting output_format_po.requires_utf8.

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

	Add glom_import_po_all command-line utility.

	* glom/libglom/translations_po.cc: write_translations_to_po_file():
	Mark the document as modified so the changes will (or can be) saved.
	* Makefile_libglom.am:
	* glom/glom_import_po_all.cc: Add this command-line utility to read all
	.po files in a directory back into the .glom file.

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

	Command-line utilities: Initialize gettext and the locale.

	* glom/glom_create_from_example.cc:
	* glom/glom_export_po.cc:
	* glom/glom_export_po_all.cc:
	* glom/glom_test_connection.cc: This should make the translations be used.

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

	glom_export_po_all: Actually export the translations.

	* glom/glom_export_po_all.cc: Use the available locale_id,
	instead of an unset variable that should not be used.

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

	export_po_all: Fix some typos.

	* glom/glom_export_po_all.cc: Fix some typos.

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

	test_document_load_translations: Test more fallbacks.

	* examples/example_film_manager.glom: Remove the useless en_GB translations.
	* tests/test_document_load_translations.cc: Check that similar locales
	are used if there is no translation.

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

	Added glom_export_po_all command-line too.

	* Makefile_libglom.am:
	* glom/glom_export_po_all.cc: This outputs all .po files to a directory.

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

	whitespace corrections.

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

	test_document_export_po: Use msgfmt -c to test the exported .po file.

	* configure.ac: Get the path for msgfmt.
	* tests/translations_po/test_document_export_po.cc: Use msgfmt -c to
	check the new .po file.

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

	glom_export_po: Let the user choose the locale ID.

	* glom/glom_export_po.cc: Add, and use, a --locale-id (-l) option
	instead of just hard-coding de_DE.

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

	Export to po file: Write a po file header.

	* glom/libglom/translations_po.[h|cc]: write_translations_to_po_file():
	Add an optional locale_name parameter. We cannot discover this inside
	the function because we only use iso-codes in glom, not libglom, and
	I would prefer not to move that static data into libglom.
	* glom/mode_design/translation/window_translations.cc:
	on_button_export():Pass the extra locale_name parameter.
	* tests/translations_po/data/test.po: Resave.

	This makes the written .po file pass validation by msgfmt -c on the
	command line.

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

	Import of po files: Handle empty gettext strings.

	* glom/libglom/translations_po.cc: Handle empty msgid, msgstr and
	msgctxt.

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

	Hack a gettext header into our test.po, to pass the git.gnome.org translators test. I will make sure they are generated correctly later.

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

	Export to po file: Improve the msgtxt hints more.

	* glom/libglom/document/document.cc: fill_translatable_layout_items():
	Mention the parent groups in the hints, t omake them more unique.
	* tests/translations_po/data/test.po: Resaved.

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

	Export to po file: Improve the msgtxt hints.

	* glom/libglom/data_structure/translatable_item.[h|cc]:
	get_translatable_item_type(): Make this const.
	* glom/libglom/document/document.[h|cc]: get_translatable_items():
	Now return a list of pairs, so each TranslatableItem also has a hint
	for the msgtxt for the po (gettext) file, so that each can be
	identified uniquely and so that the translator has some context.
	* glom/libglom/translations_po.[h|cc]: Adapt.
	* glom/mode_design/translation/window_translations.[h|cc]: Adapt,
	showing the actual hint instead of just the item type.
	* tests/test_document_load_translations.cc: Adapted.
	* tests/translations_po/data/test.po: Reexported.

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

	Update .gitignore

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

	Move po file (gettext) import and export into libglom and test it.

	* glom/mode_design/translation/window_translations.[h|cc]:
	load_from_document(), save_to_document(): Move the collecting of
	translatable items to:
	* glom/libglom/document/document.[h|cc]: get_translatable_items();
	Also move the gettext/po import/export to:
	* Makefile_libglom.am:
	* glom/libglom/filelist.am:
	* glom/libglom/translations_po.[h|cc]: write_translations_to_po_file()
	and import_translations_from_po_file().

	* Makefile_tests.am
	* tests/translations_po/data/test.po:
	* tests/translations_po/test_document_export_po.cc:
	* tests/translations_po/test_document_import_po.cc: Add tests of the new
	libglom functions.

	* Makefile_glom.am
	* glom/glom_export_po.cc: Added a new command-line tool that uses the
	new libglom API.

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

	test_document_load: Fix a typo.

	* tests/test_document_load.cc: Check the correct variable.

2012-01-07  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-07  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2012-01-06  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

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

	whitespace change

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

	Replace most uses of g_object_set() with C++ code.

	* glom/mode_data/datawidget/cellcreation.cc:
	* glom/mode_data/datawidget/combochoiceswithtreemodel.cc:
	* glom/mode_data/db_adddel/db_adddel.cc:
	* glom/mode_design/layout/dialog_layout_export.cc:
	* glom/utility_widgets/adddel/adddel.cc:
	Apart from some uses, due to GTK+ bug #667415 .

	These were probably using C code due to the reduced API on Maemo,
	but we remove the Maemo code a while ago.

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

	List: Custom choices: Make them work here too.

	* glom/libglom/data_structure/layout/fieldformatting.[h|cc]:
	Added get_custom_choice_original_for_translated_text() and
	get_custom_choice_translated() to convert between original and
	translated choice text.
	* glom/libglom/data_structure/layout/layoutitem_field.[h|cc]:
	Add a get_formatting_used_has_translatable_choices() convenience method.
	* tests/test_document_load_translations.cc: Test these new methods.

	* glom/mode_data/datawidget/cellcreation.cc: create_cell():
	Pass the restricted bool to set_choices_restricted() so that the
	translations can be used.
	* glom/mode_data/db_adddel/db_adddel.cc:
	on_treeview_cell_edited(): store only the original (not translated)
	text in the database so that other locales can also show their own
	translations.
	treeviewcolumn_on_cell_data(): Show the translated text, not the
	original.

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

	DTD: formatting: Mention choices_restricted to fix make check.

	* glom/glom_document.dtd: Note that this is not a new part of the
	file format. We just never used it in an example before.

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

	Custom Choices: Allow these to be translated when used for text fields.

	* glom/libglom/filelist.am:
	* glom/libglom/data_structure/layout/choicevalue.[h|cc]: Add the
	ChoiceValue translatable item. The translations are only meaningful
	when this is used for a text field.
	* glom/libglom/data_structure/translatable_item.[h|cc]:
	Make get_title_original() virtual, so ChoiceValue can override it,
	to return a text representation of its Gnome::Gda::Value.
	Always use get_title_original() instead of the member variable,
	so that the method override is used when appropriate.
	* glom/libglom/data_structure/layout/fieldformatting.h:
	set/get_choices_custom(): Return a list of ChoiceValues instead of
	Gnome::Gda::Values.
	* glom/mode_data/datawidget/cellcreation.cc:
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.cc: Adapt.

	* glom/libglom/document/document.[h|cc]:
	load_after_layout_item_formatting(), save_before_layout_item_formatting():
	Adapt and load/save the ChoiceValue translations too.
	fill_translatable_layout_items(): Return the ChoiceValue items too.
	Add a static fill_translatable_custom_choices() helper function.

	* glom/mode_data/datawidget/combochoices.h: set_choices_fixed():
	Add an optional restricted parameter, because the translations are
	only useful if the choices are restricted.
	* glom/mode_data/datawidget/cellrenderer_dblist.[h|cc]:
	* glom/mode_data/datawidget/combo_as_radio_buttons.[h|cc]:
	* glom/mode_data/datawidget/datawidget.cc:Adapted.
	* glom/mode_data/datawidget/combochoiceswithtreemodel.[h|cc]:
	set_choices_fixed(): Use get_title() if the choice could be translated.
	* glom/mode_data/datawidget/combo.[h|cc]: set_choices_fixed():
	Use the (translated) text value if the choice could be translated.

	* glom/mode_design/translation/window_translations.cc:
	load_from_document(): For text fields, handle the ChoiceValues too.

	* tests/test_document_load.cc: Adapt.
	* tests/test_document_load_translations.cc: Test ChoiceValue
	translations too.
	* examples/example_film_manager.glom: Add some translations for the
	Scene::Day/Night field's choices. Also make the choices for this
	field restricted, so the translations can be used.
	* glom/glom_document.dtd: custom_choice: Mention the new trans_set
	child tags.

	This fixes bug #666343

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

	Add missing code from previous commit, lost during rebase.

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

	Details： Make restricted choices work.

	* glom/mode_data/datawidget/combochoiceswithtreemode.[h|cc]:
	on_cell_data(): Move some code into set_cell_for_field_value().
	* glom/mode_data/datawidget/combo.[h|cc]: on_fixed_cell_data():
	Connect a cell_data slot that uses set_cell_for_field_value(),
	instead of trying to associate a Gnome::Gda::Value with a cell's text
	property.

	Without this, the choice combobox's rows were empty when the field's
	value should be restricted to the available custom (fixed) choices.

	Conflicts:

	ChangeLog
	glom/mode_data/datawidget/combo.cc

	Conflicts:

	glom/mode_data/datawidget/combo.cc

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

	whitespace change

2011-12-30  Murray Cumming  <murrayc@murrayc.com>

	1.21.1

2011-12-30  Murray Cumming  <murrayc@murrayc.com>

	Dialog_NewRecord: Hide the layout toolbar.

	* glom/mode_data/datawidget/dialog_new_record.cc: setup(): The toolbar is
	useless here.

2011-12-30  Murray Cumming  <murrayc@murrayc.com>

	Update NEWS

2011-12-30  Murray Cumming  <murrayc@murrayc.com>

	Cut menu: Prevent cutting from non-editable GtkTextViews.

	* glom/bakery/app_withdoc_gtk.cc: on_menu_edit_cut_activate():
	Pass the extra parameter to cut_clipboard().

2011-12-30  Murray Cumming  <murrayc@murrayc.com>

	Details: Really make non-editable multiline text fields non-editable.

	* glom/mode_data/datawidget/textview.[h|cc]: Override set_read_only(),
	so that multiline text fields are really non-editable when the formatting
	specifies that.

2011-12-29  Murray Cumming  <murrayc@murrayc.com>

	App_WithDoc_Gtk: Simple clipboard menu handlers: Handle GtkTextView

	* glom/bakery/app_withdoc_gtk.cc: Add code to handle cut/copy/paste
	when GtkTextView is focused. This is tedious - see bug #667008 .

2011-12-29  Murray Cumming  <murrayc@murrayc.com>

	App_WithDoc_Gtk: Improve simple clipboard handlers.

	* glom/bakery/app_withdoc_gtk.cc: Do not use C code. And therefore do
	not use Glib::wrap() strangely.

2011-12-29  Murray Cumming  <murrayc@murrayc.com>

	Document::fill_layout_field_details(): Handle related choices sort fields.

	* glom/libglom/document/document.[h|cc]: fill_layout_field_details():
	Also fill the details of the sort fields for related choices, dealing
	with those TODO comments.

2011-12-29  Murray Cumming  <murrayc@murrayc.com>

	NEWS formatting corrections

2011-12-29  Murray Cumming  <murrayc@murrayc.com>

	ChangeLog formatting corrections

2011-12-29  Murray Cumming  <murrayc@murrayc.com>

	ChangeLog formatting corrections

2011-12-29  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-12-29  Murray Cumming  <murrayc@murrayc.com>

	Related Choices: Allow the user to specify a sort order.

	* glom/libglom/data_structure/layout/fieldformatting.[h|cc]:
	set/get_choices_related(): Added a sort_fields parameter.
	* glom/libglom/document/document.[h|cc]: fill_layout_field_details(),
	load_after_layout_item_formatting(), save_before_layout_item_formatting():
	Load and save the sort fields for related choices.
	* glom/libglom/utils.cc: get_choice_values(): Use the sort fields.
	Added get_list_of_sort_fields_for_display().

	* glom/mode_data/datawidget/cellcreation.cc:
	* glom/mode_data/datawidget/combo_as_radio_buttons.cc:
	* glom/mode_data/datawidget/combochoiceswithtreemodel.cc: Adapted.

	* Makefile.am, Makefile_glom.am:
	* glom/mode_design/layout/layout_item_dialogs/dialog_groupby_sortfields.[h|cc]:
	Rename to:
	glom/mode_design/layout/layout_item_dialogs/dialog_sortfields.[h|cc]:
	and rename the class to Dialog_SortFields.
	* ui/developer/dialog_groupby_sort_fields.glade: Rename to
	* ui/developer/dialog_sort_fields.glade

	* ui/developer/box_formatting.glade:
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.cc: Add UI to
	specify the related choices sort order, using the new dialog, much like
	the existing extra-fields UI.

2011-12-29  Murray Cumming  <murrayc@murrayc.com>

	In progress sortby choices

2011-12-29  Murray Cumming  <murrayc@murrayc.com>

	Foreign key ID fields: Add a New Button next to the existing Find button.

	* glom/mode_data/datawidget/dialog_new_record.[h|cc]: A new dialog to
	quickly add a new related record.
	* ui/operator/dialog_new_record.glade: The UI layout for that dialog.

	* glom/mode_data/datawidget/datawidget: Constructor: Whenever we would
	add a Find or Open button, also add a New button, so the user does not
	need to manually go to the other table, add a record, and then come
	back to the right record. Add offer_related_record_id_new() to implement
	this.
	Added signal_choices_changed() which is emitted when this would result
	in the list of related choices changing.
	* glom/mode_data/box_data_details.cc: Constructor: Handle the
	field_choices_changed() signal, calling:
	* glom/mode_data/flowtablewithfields.cc: a new update_choices() method,
	to update all affected combo boxes.

	* tests/test_glade_derived_instantiation.cc: Test the new dialog.

	This will not quite work properly yet when the related choices should
	be restricted by an ID value.

2011-12-29  Murray Cumming  <murrayc@murrayc.com>

	Revert "New ID in progress"

	I did not mean to push this yet.

	This reverts commit e3231b2a09cfe2042296411a882e2fb0fd5d257d.

2011-12-28  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-12-27  David King  <davidk@openismus.com>

	Add simple clipboard handlers to App_WithDoc_Gtk

	* glom/bakery/app_withdoc_gtk.[cc|h]: Add simple clipboard handlers to
	fix bug 518315.

2011-12-26  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2011-12-24  Murray Cumming  <murrayc@murrayc.com>

	Choices: Make sure related choices are sorted.

	* glom/mode_data/datawidget/combochoiceswithtreemodel.cc:
	set_choices_related(): Add a sort clause, though it would be best if
	the developer could specify this.
	Note that Utils::get_choice_values(), used for other choices, already
	does this, and we should reduce the code duplication.

2011-12-24  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-12-23  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-12-23  Murray Cumming  <murrayc@murrayc.com>

	Document_XML: Remove an unimplemented method.

	* glom/libglom/document/bakery/document_xml.h:
	add_indenting_white_space() was never implemented or
	used.

2011-12-22  Murray Cumming  <murrayc@murrayc.com>

	New ID in progress

2011-12-21  Murray Cumming  <murrayc@murrayc.com>

	Dialog_ChooseID: Really show the quick find feature.

	* ui/operator/dialog_find_id.glade: Correct some widget names.
	We were removing a widget too high in the hierarchy, so we did not
	show the quick find. This was presumably broken by some conversion
	to a new version of Glade at some point.

2011-12-21  Murray Cumming  <murrayc@murrayc.com>

	Update some .gitignore files.

2011-12-21  Murray Cumming  <murrayc@murrayc.com>

	Add comments

2011-12-20  Murray Cumming  <murrayc@murrayc.com>

	TranslatableItem::get_title_translation(): Correct fallback code.

	* glom/libglom/data_structure/translatable_item.cc: This fixes make
	check, which was broken after the recent change to this class.

2011-12-20  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-12-20  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-12-20  Murray Cumming  <murrayc@murrayc.com>

	Make this (Glom 1.21/22) parallel installable with glom 1.20.

	* configure.ac: Increase version to 1.21.1.
	* docs/pyglom_reference/Makefile.am:
	* glom/libglom/init.h:
	* glom/python_embed/python_module/py_glom_module.cc: Change mention of
	1.20 or 1_20 to 1.22 or 1_20.

2011-12-20  Murray Cumming  <murrayc@murrayc.com>

	TranslatableItem: Improve the API slightly.

	* glom/libglom/data_structure/translatable_item.[h|cc]:
	Renamed set/get_translation() to set/get_title_translation() to make
	it clearer, and to match set/get_title_original(). Add an optional bool
	fallback parameter, so we can move the fallback code into this method,
	and simplify get_title(). This lets us easily get the title for a
	specified locale, with one method, even if that locale is the original/
	current locale.
	Removed get_title(locale), because it is hardly used, because any
	override of the other (virtual) get_title() method overload would make
	it hard to call this anyway. And it just forwarded to
	get_title_translation() anyway.
	Likewise for set_title(locale).
	* glom/libglom/document/document.cc:
	* glom/mode_design/translation/window_translations.cc: Adapted.
	* tests/test_document_load_translations.cc: Adapted and added some
	more test lines for get_title_translation()

2011-12-20  Murray Cumming  <murrayc@murrayc.com>

	PostgreSQL backend: Comment out the stdout exception information again.

	* glom/libglom/connectionpool_backends/postgres.cc: This was
	misleading when trying all ports, when we expect some failures.

2011-12-20  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-12-19  Murray Cumming  <murrayc@murrayc.com>

	List: Really store data when the primary key is not auto-incremented.

	* glom/mode_data/db_adddel/db_adddel.cc: user_added(): Do not use
	get_value_key_selected() to get the entered field data, because that
	is only useful after the key has been entered. Instead get the
	entered data from the cell where it was entered.

2011-12-19  Murray Cumming  <murrayc@murrayc.com>

	Update some debug output

2011-12-18  Murray Cumming  <murrayc@murrayc.com>

	PostgreSQL: Print stderr message when the connection fails completely.

	* glom/libglom/connectionpool_backends/postgres.cc: This can provide
	a clue, for instance when the hostname cannot be resolved.

2011-12-18  Murray Cumming  <murrayc@murrayc.com>

	Add the glom_test_connection command-line tool.

	* Makefile_libglom.am:
	* glom/glom_test_connection.cc: This is useful for sanity checking
	of the configuration of central PostgreSQL servers.

2011-12-16  Murray Cumming  <murrayc@murrayc.com>

	Film Manager example: Use English for Day/Night choices.

	* examples/example_film_manager.glom: Use English for the custom choice
	values. We need to allow these to be translated. See bug #666343

2011-12-14  Murray Cumming  <murrayc@murrayc.com>

	Document: Added get_translation_available_locales().

	* glom/libglom/document/document.[h|cc]: load_after(),
	load_after_translations(): Remember any new locales encountered, so
	that get_translation_available_locales() can later return the list.
	This could help with OnlineGlom bug #666165 .
	* tests/test_document_load_translations.cc: Test the new method.

2011-12-13  Murray Cumming  <murrayc@murrayc.com>

	Increase version.

2011-12-13  Murray Cumming  <murrayc@murrayc.com>

	Correct parsing of example data.

	* glom/libglom/data_structure/field.[h|cc]: to_file_format(),
	from_file_format() documentation: Mention that this uses CSV format.
	from_file_format(): Unescape double quotes, because we escape quotes
	as that in to_file_format().
	This avoids reading them as double quotes when opening an example file.
	This will also correct the interpretation of text default values.
	* Makefile_tests.am:
	* tests/test_field_file_format.cc: Add a test of this for text and image
	data, checking that what we write is what we read.

2011-12-13  Murray Cumming  <murrayc@murrayc.com>

	test_selfhosting_new_then_image: Move some code to test_utils.

	* Makefile_tests.am:
	* tests/test_selfhosting_new_then_image.cc: Move the test image-loading
	code to:
	* tests/test_utils.[h|cc]: get_value_for_image().

2011-12-13  Murray Cumming  <murrayc@murrayc.com>

	Minor correction to a comment.

2011-12-12  Murray Cumming  <murrayc@murrayc.com>

	LayoutGroup: Correct the get_items_recursive_with_groups() implementaiton.

	* glom/libglom/data_structure/layout/layoutgroup.cc: Call the correct
	method recursively. This fixes make check.

2011-12-12  Murray Cumming  <murrayc@murrayc.com>

	test_document_load: Test LayoutGroup::get_items_recursive().

	* tests/test_document_load.cc: And get_items_recursive_with_groups().

2011-12-12  Murray Cumming  <murrayc@murrayc.com>

	Small fix to epository_analyzer_begin_scan example script.

	* examples/example_scripts/repository_analyzer_begin_scan.py:
	Remove the global variables, used for debugging, because recent versions of
	Python do not seem to treat them as global when this script is used as
	a Button script in python. So it says they are undefined. They are, after
	all, inside the function that glom defines.
	Although they would still work in this standalone script, it is nice to
	have no difference between this file and the one used in this .glom file:
	https://gitorious.org/debian_repository_analyzer/debian_repository_analyzer

2011-12-12  Murray Cumming  <murrayc@murrayc.com>

	List view: Do not show columns twice.

	* glom/libglom/data_structure/layout/layoutgroup.[h|cc]:
	Revert the recent change to get_items_recursive() so that it only returns
	no-groups items, as its documentation says.
	Add get_items_recursive_with_groups().
	* tests/test_document_load.cc: Use the new method.

	This problem was caused by commit e51bf19e8a595dbc4e34c390ae2194293deb0236

2011-12-09  Murray Cumming  <murrayc@murrayc.com>

	Users/Groups UI: Avoid warning about an empty group name.

	* glom/mode_design/users/dialog_groups_list.cc:
	on_treeview_groups_selection_changed(): Do not respond if there is
	no selection, which can happen when clearing the model, just before
	filling it. When there are items, there is always a selection.

2011-12-09  Murray Cumming  <murrayc@murrayc.com>

	Combo_TextGlade: Work around GtkComboBoxText bug #612396.

	* glom/utility_widgets/combo_textglade.cc: Without setting
	entry-text-column, which GtkBuilder understandably does not do,
	and which GtkComboBoxText does not do in this case, the widget just
	does not work.
	This fixes the Users/Groups dialogs and the Script Library dialog.

2011-12-09  Murray Cumming  <murrayc@murrayc.com>

	Combo_TextGlade: Work around GtkComboBoxText bug #612396.

	* glom/utility_widgets/combo_textglade.cc: Without setting
	entry-text-column, which GtkBuilder understandably does not do,
	and which GtkComboBoxText does not do in this case, the widget just
	does not work.
	This fixes the Users/Groups dialogs and the Script Library dialog.

2011-12-09  Murray Cumming  <murrayc@murrayc.com>

	test_glade_derived_instantiation: Avoid warnings about no connection.

	* glom/mode_design/users/dialog_groups_list.cc: Constructor:
	Do not call fill_groups_list(). This happens already in load_from_document(),
	where we can expect more to have a connection.
	* glom/mode_design/users/dialog_users_list.[h|cc]: Make fill_list public
	and expect the caller of the constructor to call it.

2011-12-08  Murray Cumming  <murrayc@murrayc.com>

	tiny const changes.

2011-12-08  Murray Cumming  <murrayc@murrayc.com>

	test_fake_connection: Avoid unnecessary warnings about metadata.

	* glom/libglom/connectionpool.cc: Avoid printing exceptions to stderr
	about failed attempts to get types and tables metadata, because
	this is not used by fake connections, for instance by java-libglom.
	There will be a warning later if it is really used.
	* glom/libglom/db_utils.cc: Add some comments.

2011-12-08  Murray Cumming  <murrayc@murrayc.com>

	Document: Clarify that set_file_uri() does not trigger a save.

	* glom/libglom/document/document.[h|cc]: set_file_uri(): The check for
	a changed URI never actually worked here, so set_modified() was never
	called. That behaviour is actually correct, to avoid saving an empty file
	over a real file before calling load(), so document that behaviour.
	* glom/libglom/document/bakery/document_xml.cc: Remove the check for
	modified so that an explicit save() always saves the document, even if
	all values are the default. This does not seem to have prevented any
	unnecessary saves anyway, because we already check for changes before
	calling set_modified(), so we only trigger autosave when really necessary.

2011-12-07  Murray Cumming  <murrayc@murrayc.com>

	Updat .gitignore

2011-12-07  Murray Cumming  <murrayc@murrayc.com>

	Test for autosaves without URI and for explicit saves while using autosave.

	* glom/libglom/document/bakery/document.cc: write_to_disk():
	Warn if the URI has not been set, because the caller probably wants
	either autosave (meaning he should have set a URI first) or explicit
	save (meaning he should disable autosave).
	* glom/libglom/document/bakery/document_xml.cc: Warn about an attempt
	to save when nothing has been modified, because this is usually caused
	by a previous autosave, and the caller should probably be aware of that.
	* tests/test_document_autosave.cc:
	* tests/test_document_change.cc:
	* tests/test_selfhosting_new_empty.cc:
	* tests/test_selfhosting_new_then_backup_restore.cc:
	* tests/test_selfhosting_utils.cc: Disable autosave so we can use
	a simpler explicit save, avoiding these new warnings.

2011-12-07  Murray Cumming  <murrayc@murrayc.com>

	Add a test that resaves (temporarily) all examples and checks the result.

	* Makefile_tests.am:
	* tests/test_document_load_and_save.cc: Load a file and save it,
	then check the saved file against the DTD.
	* tests/test_document_load_and_save_all.sh: Run that test on all
	example files.
	* glom/glom_document.dtd: data_layout_notebook: Mention trans_set,
	so that this test succeeds.

2011-12-07  Murray Cumming  <murrayc@murrayc.com>

	Use EXIT_* instead of 0 and -1.

	* glom/test_pyembed.cc:
	* glom/test_pyembed_singleline.cc:
	* tests/glade_toplevels_instantiation.cc:
	* tests/test_parsing_time.cc: Use EXIT_SUCCESS and EXIT_FAILURE.

2011-12-07  Murray Cumming  <murrayc@murrayc.com>

	Document: Avoid useless autosave during constructor.

	* glom/libglom/document/document.cc: Constructor: Avoid triggering
	autosave during the constructor, though this is stopped anyway by the
	empty filepath.

2011-12-05  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-12-05  Murray Cumming  <murrayc@murrayc.com>

	Remove unused get_sql_format() methods.

	* glom/libglom/connectionpool.[h|cc]:
	* glom/libglom/connectionpool_backends/backend.h:
	* glom/libglom/connectionpool_backends/postgres.[h|cc]:
	* glom/libglom/connectionpool_backends/sqlite.[h|cc]: Remove the
	various unused get_sql_format() methods.

2011-12-05  Murray Cumming  <murrayc@murrayc.com>

	Field: Remove unused get_gda_holder_string().

	* glom/libglom/data_structure/field.[h|cc]: Remove this
	unused method.

2011-12-05  Murray Cumming  <murrayc@murrayc.com>

	test_selfhosting_new_then_change_columns: Add a column too.

	* tests/test_selfhosting_new_then_change_columns.cc:

2011-12-05  Murray Cumming  <murrayc@murrayc.com>

	Added a test of field choices.

	* Makefile_tests.am:
	* tests/test_selfhosting_new_then_choices.cc:
	Test Utils::get_choice_values_all().

2011-12-04  Murray Cumming  <murrayc@murrayc.com>

	Document DTD: adapt to the format we actually use.

	* examples/example_film_manager.glom: Resave this.
	* glom/glom_document.dtd: Change the sequence of child nodes for
	tables and print_layouts to match what we really write.
	We do not really care about this but the DTD format forces us to
	use a sequence.

2011-12-03  Murray Cumming  <murrayc@murrayc.com>

	test_document_load: Check reports too.

	* tests/test_document_load.cc: Check some report names.

2011-12-03  Murray Cumming  <murrayc@murrayc.com>

	test_document_load: Check a table title and its singular title.

	* tests/test_document_load.cc: Also test
	get_data_layout_groups_have_any_fields().

2011-12-03  Murray Cumming  <murrayc@murrayc.com>

	Add singular table titles to example

2011-12-03  Murray Cumming  <murrayc@murrayc.com>

	tests/test_document_load_and_change: Change a relationship name.

	* Makefile_tests.am: Use the test_utils.
	* tests/test_document_load_and_change.cc: Also rename a relationship
	and check that a layout item uses the new relationship name.

2011-12-03  Murray Cumming  <murrayc@murrayc.com>

	Tests: Add a shared get_field_on_layout() function.

	* tests/test_document_load.cc: Move get_field_on_layout() to
	* Makefile_tests.am:
	* tests/test_utils.[h|cc]: here.

2011-12-03  Murray Cumming  <murrayc@murrayc.com>

	Remove unnecessary stdcerr output.

2011-12-03  Murray Cumming  <murrayc@murrayc.com>

	Removed some debug output.

2011-12-02  Murray Cumming  <murrayc@murrayc.com>

	Fix the DTD

2011-12-02  Murray Cumming  <murrayc@murrayc.com>

	Added test_document_load_translations

	* tests/test_document_load_translations.cc: Test some translated
	titles.

2011-12-02  Murray Cumming  <murrayc@murrayc.com>

	DbUtils::recreate_database_from_document(): Set table privileges too.

	* glom/libglom/db_utils.cc: recreate_database_from_document():
	Also call set_table_privileges_groups_from_document().

2011-12-02  Murray Cumming  <murrayc@murrayc.com>

	DbUtils::recreate_database_from_document(): Create groups too.

	* glom/libglom/db_utils.[h|cc]: recreate_database_from_document():
	Also call add_groups_from_document().

2011-12-02  Murray Cumming  <murrayc@murrayc.com>

	test_document_load: Move changes into test_document_load_and_change.

	* tests/test_document_load.cc:
	* tests/test_document_load_and_change.cc:

2011-12-02  Murray Cumming  <murrayc@murrayc.com>

	test_document_load: Test Document's user groups functions too.

	* tests/test_document_load.cc: Check for expected group names and check
	that we can remove one.

2011-12-02  Murray Cumming  <murrayc@murrayc.com>

	test_document_load: Test some navigation utility functions.

	* glom/libglom/data_structure/layout/layoutgroup.cc: get_items_recursive():
	Return the child groups as well as their items.
	* tests/test_document_load.cc:
	Test DbUtils::layout_field_should_have_navigation() and
	LayoutItem_Portal::get_suitable_table_to_view_details().

2011-12-02  Murray Cumming  <murrayc@murrayc.com>

	test_selfhosting_new_empty(): Also test DbUtils::get_unused_database_name().

	* glom/libglom/db_utils.cc: get_unused_database_name(): Remove debug output.
	* tests/test_selfhosting_new_empty.cc: Excercise DbUtils::get_unused_database_name(),
	though we do not test it yet when the first choice already exists.

2011-12-02  Murray Cumming  <murrayc@murrayc.com>

	Make the version at least as high as the stable one.

2011-12-02  Murray Cumming  <murrayc@murrayc.com>

	test_selfhosting_new_empty(): Correct and expand.

	* tests/test_selfhosting_new_empty.cc: Fix a CENTRAL->SELF typo. This
	probably only appeared to work before because no database cluster was really
	being initialized. Also actually create a database in the database cluster
	and set its system preferences table's record.

2011-12-01  Murray Cumming  <murrayc@murrayc.com>

	test_selfhosting_new_then_lookup: Minor improvements.

	* tests/test_selfhosting_new_then_lookup.cc: Avoid some hard-coding.

2011-12-01  Murray Cumming  <murrayc@murrayc.com>

	Moved some lookup functions into DbUtils and added a test for them.

	* glom/libglom/db_utils.[h|cc]:
	* glom/base_db.[h|cc]: Moved get_fields_for_table(),
	get_fields_for_table_one_field(), get_lookup_fields(), and
	get_lookup_value() to the DbUtils namespace, taking an extra
	Document parameter.
	* glom/libglom/document/document.[h|cc]: Moved get_lookup_fields() to
	DbUtils too.

	* glom/base_db_table_data.cc
	* glom/mode_data/box_data.cc
	* glom/mode_data/box_data_calendar_related.cc
	* glom/mode_data/box_data_details.cc
	* glom/mode_data/box_data_list_related.cc
	* glom/mode_data/db_adddel/db_adddel.cc
	* glom/mode_design/box_db_table_relationships.cc
	* glom/mode_design/fields/box_db_table_definition.cc
	* glom/mode_design/fields/dialog_fielddefinition.cc
	* glom/mode_design/layout/dialog_layout_list_related.cc
	* glom/print_layout/canvas_print_layout.cc: Adapted. This shows how
	often we call this very inefficient function. It would be better to
	just make sure that the document has up-to-date information from the
	database and just use the Document's information.

	* Makefile_tests.am:
	* tests/test_selfhosting_new_then_lookup.cc: Added a new test of
	these functions, including retrieval of a lookup value.

2011-11-30  Murray Cumming  <murrayc@murrayc.com>

	Remove unused parameternamegenerator source file.

	* glom/libglom/filelist.am:
	* glom/libglom/data_structure/parameternamegenerator.[h|cc]: Remove this
	unused class.
	* glom/base_db.cc
	* glom/libglom/db_utils.cc: Do not include it.

2011-11-30  Murray Cumming  <murrayc@murrayc.com>

	test_document_load_and_change: Test renaming and removing of tables.

	* tests/test_document_load_and_change.cc: This also checks that relationships
	are update when a table is renamed.

2011-11-30  Murray Cumming  <murrayc@murrayc.com>

	test_document_load_and_change: Test print layout removal.

	* tests/test_document_load_and_change.cc:

2011-11-30  Murray Cumming  <murrayc@murrayc.com>

	Updated the Document DTD.

	* glom/glom_document.dtd: This fixes make check with the new save of
	examples/example_film_manager.glom.

2011-11-30  Murray Cumming  <murrayc@murrayc.com>

	self-hosting tests: Avoid some noisy stdout messages.

	* tests/test_selfhosting_utils.cc: Do not show PostgreSQL startup, etc,
	progress messages.

2011-11-30  Murray Cumming  <murrayc@murrayc.com>

	test_document_load: Test print layout functions.

	* examples/example_film_manager.glom: Add a contacts print layout and
	resave this.
	* tests/test_document_load.cc: Test the print layout data.

2011-11-30  Murray Cumming  <murrayc@murrayc.com>

	test_load_and_change(): Test removal of a relationship.

	* tests/test_document_load_and_change.cc: Test Document::remove_relationship().

2011-11-30  Murray Cumming  <murrayc@murrayc.com>

	test_document_load: Test field formatting.

	* tests/test_document_load.cc: Also use a different example, to
	widen the range of examples that we test.

2011-11-29  Murray Cumming  <murrayc@murrayc.com>

	Correct NEWS

2011-11-29  Murray Cumming  <murrayc@murrayc.com>

	Update NEWS

2011-11-29  Murray Cumming  <murrayc@murrayc.com>

	Update .gitignore

2011-11-29  Murray Cumming  <murrayc@murrayc.com>

	test_document_change: Test a little more API.

	* tests/test_document_change.cc: Add a table and test some API that uses it.
	We could do much more here.

2011-11-29  Murray Cumming  <murrayc@murrayc.com>

	test_document_load_and_change: Test Document::remove_field() too.

	* tests/test_document_load_and_change.cc: Exercise a little more of the API.

2011-11-29  Murray Cumming  <murrayc@murrayc.com>

	LayoutGroup: Add a more useful remove_field().

	* glom/libglom/data_structure/layout/layoutgroup.[h|cc]:
	Add a remove_field(parent_table_name, table_name, field_name) method overload,
	deprecating the existing method overloads.
	* glom/libglom/document/document.cc: Adapt.
	* tests/test_document_load_and_change.cc: Test a different example,
	so we can check for a related field on a layout.

2011-11-29  Murray Cumming  <murrayc@murrayc.com>

	LayoutGroup: Deprecate the old has_field() method and do not use it.

	* glom/libglom/data_structure/layout/layoutgroup.h:
	* glom/libglom/document/document.cc:
	* tests/test_document_load.cc: Adapt.

2011-11-29  Murray Cumming  <murrayc@murrayc.com>

	test_document_load: Check that a field is on a layout.

	* glom/libglom/data_structure/layout/layoutgroup.[h|cc]:
	Added has_field() that can find a related field.
	* tests/test_document_load.cc: Check that an expected field is found on
	the layout.

2011-11-29  Murray Cumming  <murrayc@murrayc.com>

	Add a test for changing of a field name.

	* tests/Makefile.am:
	* tests/test_document_load_and_change.cc: Change a field name and
	make sure that it has updated throughout the document.
	However, we still need to check lookups and related fields.

2011-11-28  Murray Cumming  <murrayc@murrayc.com>

	Field::set_field_info(): Avoid unnecessary checks (and warnings).

	* glom/libglom/data_structure/field.cc: If the type is not yet set,
	don't bother checking that everything else uses that type.
	This avoids a stderr warning about invalid types being used.

2011-11-28  Murray Cumming  <murrayc@murrayc.com>

	Field::set_field_info(): Slight code improvement.

	* glom/libglom/data_structure/field.cc: Move some duplicated code into
	a static helper function.

2011-11-28  Murray Cumming  <murrayc@murrayc.com>

	whitespace correction

2011-11-28  Murray Cumming  <murrayc@murrayc.com>

	Added an extra test for the Document class.

	* tests/test_document_change.cc: The beginnings of another test,
	to check that what we set is what we later get.

2011-11-28  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output

2011-11-28  Murray Cumming  <murrayc@murrayc.com>

	SQLite: Avoid a warning about int types for summary fields.

	* glom/libglom/data_structure/glomconversions.cc:
	get_text_for_gda_value(): An int is normal for aggregate fields for
	SQLite.
	convert_value(): Make sure that we do a locale-independent conversion,
	otherwise the above fix will cause us to, for instance, have a
	comma in large numbers.

2011-11-28  Murray Cumming  <murrayc@murrayc.com>

	Minor const addition

2011-11-28  Murray Cumming  <murrayc@murrayc.com>

	Revert "SQLite: Avoid a warning about int types for summary fields."

	This reverts commit 803e2eb5225f7d8d0907e8320296e44deb970027
	because it makes make check fail.

2011-11-28  Murray Cumming  <murrayc@murrayc.com>

	gcov: Add a legend key to the lcov html.

	* Makefile.am: Pass --legend to genhtml.

2011-11-25  Murray Cumming  <murrayc@murrayc.com>

	Correct a query from UPDATE to SELECT.

	* glom/libglom/report_builder.cc: Correc the query to get system preferences
	values. This was apparently not tested yet.

2011-11-25  Murray Cumming  <murrayc@murrayc.com>

	SQLite: Avoid a warning about int types for summary fields.

	* glom/libglom/data_structure/glomconversions.cc:
	get_text_for_gda_value(): An int is normal for aggregate fields for
	SQLite.

2011-11-25  Murray Cumming  <murrayc@murrayc.com>

	Avoid an uninteresting stdcerr warning.

	* glom/libglom/connectionpool.cc: It is OK to not know
	the document sometimes.

2011-11-25  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2011-11-25  Murray Cumming  <murrayc@murrayc.com>

	gcov: Use lcov instead of my hacky bash script.

	* configure.ac: Check for lcov and genhtml.
	* Makefile.am: This generates a nice HTML report.

2011-11-25  Murray Cumming  <murrayc@murrayc.com>

	cov: Use AC_PATH_PROG().

	* configure.ac: Check for the path to gcov.
	* Makefile.am: Use it.

2011-11-25  Murray Cumming  <murrayc@murrayc.com>

	Added a "make gcov" target to get some test coverage statistics.

	* configure.ac: Add an --enable-gcov option which add gcc/g++ flags.
	* Makefile_glom.am:
	* Makefile_libglom.am:
	* Makefile.am: Add some cargo-culted and hacked-together bash scripted
	rules that generate the .gcov files and parse them to give some
	percentages on stdout.

2011-11-24  Murray Cumming  <murrayc@murrayc.com>

	Remove mention of a fixed libgda bug.

2011-11-24  Murray Cumming  <murrayc@murrayc.com>

	Fix typo in configure.ac

2011-11-23  Murray Cumming  <murrayc@murrayc.com>

	Avoid deprecated glibmm API (from glibmm/thread.h).

	* configure.ac: Depend on a recent unstable glibmm.
	* glom/libglom/spawn_with_feedback.cc: Use Glib::Threads::Cond and
	Glib::Threads::Mutex instead of deprecated Glib::Cond and Glib::Mutex.

2011-11-21  Murray Cumming  <murrayc@murrayc.com>

	libglom: Added DbUtils::set_fake_connection().

	* glom/libglom/db_utils.[h|cc]: Added DbUtils::set_fake_connection()
	because ConnectionPool is not public API.
	* tests/test_fake_connection.cc: Use this function instead of using
	ConnectionPool's API.

2011-11-21  Murray Cumming  <murrayc@murrayc.com>

	NEWS: Mention major 1.20 features.

2011-11-21  Murray Cumming  <murrayc@murrayc.com>

	Forgot to commit version change.

2011-11-20  Murray Cumming  <murrayc@murrayc.com>

	1.20.0

2011-11-20  Murray Cumming  <murrayc@murrayc.com>

	Details View: Left-align numbers when using automatic alignment.

	* glom/libglom/data_structure/layout/layoutitem_field.[h|cc]:
	* glom/libglom/data_structure/layout/layoutitem_withformatting.[h|cc]:
	get_formatting_used_horizontal_alignment(): Add a for_details_view()
	and return left-alignment for auto-alignment on a details view.
	* glom/mode_data/datawidget/entry.cc:
	* glom/utility_widgets/layoutwidgetbase.cc: Pass true to get that
	effect.

	Right-aligned numbers on the detailed view just look sillier now that
	the entry widgets are full width, and when there are no other numbers
	above or below them. Note that we probably did not purposefully
	change it show numbers with full width, but I would still want this
	alignment change.

2011-11-20  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-11-18  Murray Cumming  <murrayc@murrayc.com>

	Recognize GdaBlob as suitable for Image field types.

	* glom/libglom/data_structure/field.cc: Add to the map, to avoid
	a warning.

2011-11-18  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-11-18  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with latest GTK+ with --enable-warnings=fatal

	* glom/utility_widgets/eggspreadtable/eggspreadtablednd.c
	(set_drag_icon): Update from libegg to fix the build with deprecated GTK+
	API disabled.

2011-11-18  Murray Cumming  <murrayc@murrayc.com>

	Details: Move the checkbutton titles to the left.

	* glom/mode_data/datawidget/checkbutton.h: Contructor:
	Allow the title to be empty.
	* glom/mode_data/datawidget/datawidget.cc: Give the checkbutton a title
	at the left, like other widgets. This looks consistent.

2011-11-17  Murray Cumming  <murrayc@murrayc.com>

	Update an example screenshot.

	* docs/website/screenshots/glom_example_lessonplanner.png: Update this
	now that the calendar portal works again.
	* docs/website/screenshots/glom_select_field.png: Remove this because
	it is not used.

2011-11-17  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output.

2011-11-17  Murray Cumming  <murrayc@murrayc.com>

	date test: Set LANGUAGE too, which seems to be necessary on Ubuntu.

	* tests/test_glom_date_in_locales.sh: Also add some locales that
	are available on Ubuntu.

2011-11-17  Murray Cumming  <murrayc@murrayc.com>

	Remove incorrect README

2011-11-17  Murray Cumming  <murrayc@murrayc.com>

	main: Break the date check into two possible error messages.

	* glom/main.cc: This simplifies debugging a bit.

2011-11-17  Murray Cumming  <murrayc@murrayc.com>

	locale test: Add apt-get hint

2011-11-16  Murray Cumming  <murrayc@murrayc.com>

	Enable the test for dates in various locales.

	* Makefile_tests.am:
	* tests/test_glom_date_in_locales.sh: I don't like requiring
	installation of these locales during make check, but I see no other
	way to stop the fixes from being lost by careless translators, at
	least of the major languages.

2011-11-16  Murray Cumming  <murrayc@murrayc.com>

	Correct the date format in the es_ES locale.

	* es.po: Added a translation for the date format, because the default
	does not show 4-digit years. This avoids the warning at startup, which
	asks the translator to deal with it.
	Note that I have made this correction before:
	http://git.gnome.org/browse/glom/commit/po/es.po?id=79636cd099b8330339502cebe95fb6e1583d1c20

2011-11-16  Murray Cumming  <murrayc@murrayc.com>

	Update NEWS

2011-11-16  Murray Cumming  <murrayc@murrayc.com>

	List view: Stop unnecessary saving of column widths.

	* glom/mode_data/db_adddel/db_adddel.[h|cc]: Do not handle changes
	of the GtkTreeView column width, because it happens during normal
	size allocation as well as when the user resizes columns.
	It is not essential anyway.

2011-11-16  Murray Cumming  <murrayc@murrayc.com>

	Make the Calendar portal work again.

	* glom/mode_data/box_data_calendar_related.[h|cc]: Override
	create_layout() as a place to call our get_fields_to_show(), like
	Box_Data_List_Related does. Then fill_from_database() can succeed.

2011-11-14  Murray Cumming  <murrayc@murrayc.com>

	Fake connection test: Test for a substring in the generated query.

	* tests/test_fake_connection.cc: This also fixes the build with
	-Werror.

2011-11-14  Murray Cumming  <murrayc@murrayc.com>

	Correct a comment.

2011-11-13  Murray Cumming  <murrayc@murrayc.com>

	Use the new Gnome::Gda::Numeric API.

	* glom/libglom/data_structure/glomconversions.cc:
	* glom/libglom/python_embed/pygdavalue_conversions.cc:
	* tests/python/test_python_execute_func_date.cc: GdaNumeric now has
	a real API so we can make our code simpler.

2011-11-11  Murray Cumming  <murrayc@murrayc.com>

	Fix typo to fix the build.

2011-11-11  Murray Cumming  <murrayc@murrayc.com>

	List view and Related Records: Disable buttons when appropriate.

	* glom/mode_data/db_adddel/db_adddel.[h|cc]: Handle the
	Gtk::TreeView::Selection::signal_changed() signal and call a
	new virtual on_selection_changed() method.
	* glom/mode_data/db_adddel/db_adddel_withbuttons.[h|cc]:
	Disable the Edit/Open and Delete buttons when there is no selection.
	Bug #663812 (André Klapper)

2011-11-10  Murray Cumming  <murrayc@murrayc.com>

	Correct an error in the previous commit.

	* glom/libglom/connectionpool.cc: Remove a nonsense line of code that
	stopped connections from working.

2011-11-10  Murray Cumming  <murrayc@murrayc.com>

	Added ConnectionPool::set_fake_connection().

	* glom/libglom/connectionpool_backends/backend.h: connect():
	* glom/libglom/connectionpool_backends/postgres.[h|cc]: connect(),
	attempt_connect():
	* glom/libglom/connectionpool_backends/postgres_central.[h|cc]: connect():
	* glom/libglom/connectionpool_backends/postgres_self.[h|cc]: connect():
	* glom/libglom/connectionpool_backends/sqlite.[h|cc]: connect():
	Add a bool fake_connection parameter and use Gnome::Gda::create_with_string()
	instead of open_with_string() if it is true.
	* glom/libglom/connectionpool.[h|cc]: Add set_fake_connection() to set
	that bool and other things needed to make it work.

	* Makefile_tests.am:
	* tests/test_fake_connection.cc: Added a test that uses this for the
	intended purpose of getting a suitable SQL query string without an open
	connection.
	However, it does not currently work as expected due to:
	http://mail.gnome.org/archives/gnome-db-list/2011-November/msg00007.html

2011-11-10  Murray Cumming  <murrayc@murrayc.com>

	Escape database connection details properly.

	* glom/libglom/db_utils.[h|cc]: Added gda_cnc_string_encode() for use
	with GdaConnection's cnc_string and auth_string, for instance to
	escape the database directory, name, username, and password.
	* glom/libglom/connectionpool_backends/postgres.cc:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/connectionpool_backends/sqlite.cc: Properly escape the
	cnc_string and auth_string key values.

	* tests/test_selfhosting_utils.cc: test_create_and_selfhost_from_example(),
	test_create_and_selfhost_from_uri(): Add an optional subdirectory parameter
	that we can use to force weird parts into the path.
	* Makefile_tests.am:
	* tests/test_selfhosting_new_from_example_strangepath.cc: Add a
	test case that uses a path with some weird characters. This now works
	thanks to the above changes.

2011-11-09  Murray Cumming  <murrayc@murrayc.com>

	Add a TODO

2011-11-09  Murray Cumming  <murrayc@murrayc.com>

	Use Glib::shell_quote() when spawning tar.

	* glom/libglom/document/document.cc: Use Glib::shell_quote()
	when spawning tar, instead of manually adding quotes.

2011-11-09  Murray Cumming  <murrayc@murrayc.com>

	PostgreSQL backend: Use g_shell_quote().

	* glom/libglom/connectionpool_backends/postgres.[h|cc]:
	get_path_to_postgres_executable(): Return the already-quoted path
	to avoid the need for manual quoting by the caller.
	However, make this optional (but the default) so that the check in
	* main.cc: can still work.
	* glom/libglom/connectionpool_backends/postgres_self.cc: Use
	Glib::shell_quote() instead of manually adding quote characters.
	Hopefully this also escapes special characters, though we should try to
	test this somehow.

2011-11-08  Murray Cumming  <murrayc@murrayc.com>

	Avoid some repetition of some CREATE GROUP and ALTER GROUP queries.

	* glom/libglom/db_utils.[h|cc]: Added build_query_create_group() and
	build_query_add_user_to_group() to avoid repeating the code.
	* glom/base_db.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc: Use them.

2011-11-08  Murray Cumming  <murrayc@murrayc.com>

	1.19.19

2011-11-08  Murray Cumming  <murrayc@murrayc.com>

	Use escape_sql_id() for privileges SQL queries.

	* glom/base_db.cc:
	* glom/libglom/db_utils.cc:
	* glom/libglom/privs.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc: Use
	DbUtils::escape_sql_id() instead of manually adding quotes with
	no escaping. This seems to be the right thing to do for these
	queries.

2011-11-08  Murray Cumming  <murrayc@murrayc.com>

	More use of escape_sql_id().

	* glom/base_db.cc:
	* glom/libglom/db_utils.cc:
	* glom/libglom/privs.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc: Use
	escape_sql_id() instead of manually adding quotes with no
	escaping. However, I have not yet done this for group and
	user names.

2011-11-08  Murray Cumming  <murrayc@murrayc.com>

	libglom: Remove LayoutItem_Field::get_sql_name().

	* glom/libglom/utils.cc: build_sql_select_add_fields_to_get():
	Use SqlBuilder::add_field_id() instead of
	LayoutItemField::get_sql_name().
	* glom/libglom/data_structure/layout/layoutitem_field.[h|cc]:
	Remove the now unused get_sql_name() method.

2011-11-08  Murray Cumming  <murrayc@murrayc.com>

	libglom: Use escape_sql_id() for column add/crop/change.

	* glom/libglom/connectionpool.cc: add_column(), drop_column(),

	* glom/libglom/connectionpool_backends/backend.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres.cc
	* glom/libglom/connectionpool_backends/sqlite.[h|cc]:
	add_column(), drop_column(): Return a bool to indicate failure.
	change_columns(): Report false return values from these.

	* Makefile_tests.am
	* tests/test_selfhosting_new_then_change_columns.cc: Add a simple
	test, though we do not yet test that the expected change really
	happened.

2011-11-08  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-11-08  Murray Cumming  <murrayc@murrayc.com>

	Update .gitignore files

2011-11-08  Murray Cumming  <murrayc@murrayc.com>

	libglom: Add escape_sql_id() and use it for table add/drop/rename.

	* glom/libglom/db_utils.[h|cc]: Add escape_sql_id(), using
	gda_connection_quote_sql_identifier().
	create_table(), rename_table(), drop_table(): Use it instead of
	manually adding quotes with no escaping.
	* tests/test_selfhosting_new_then_alter_table.cc: Mention that
	the commented-out test still fails because of libgda bug #663608 .

2011-11-08  Murray Cumming  <murrayc@murrayc.com>

	libglom: Add DbUtils::rename_table() and drop_table() and test them.

	* glom/navigation/box_tables.c: Move query-building code to
	* glom/libglom/db_utils.[h|cc]: rename_table() and drop_table().
	* Makefile_tests.am
	* tests/test_selfhosting_new_then_alter_table.cc: Add a test of these
	functions, and of table creation. This shows that we need to escape
	SQL identifiers to allow characters such as " in table names.

2011-11-07  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-11-07  Murray Cumming  <murrayc@murrayc.com>

	Require the latest libgdamm.

	* configure.ac: We use a new Gnome::Gda::Connection::statement_to_sql()
	method overload.

2011-11-07  Murray Cumming  <murrayc@murrayc.com>

	1.19.18

2011-11-07  Murray Cumming  <murrayc@murrayc.com>

	Add a test of backup and restore.

	* glom/application.cc: on_menu_developer_export_backup(),
	do_restore_backup(): Move code into
	* glom/libglom/document/document.[h|cc]: save_backup() and
	restore_backup_file() so it is easier to test.

	* tests/test_selfhosting_new_from_example.cc: Move some testing into:
	* tests/test_selfhosting_utils.[h|cc]: test_example_musiccollection_data()
	to avoid repeating code.

	* Makefile_tests.am: Added a new test:
	* tests/test_selfhosting_new_then_backup_restore.cc: Test the new
	Document functions, though the data check currently fails and is commented
	out. I think it is just a problem in the test because the data is there
	when using the UI.

2011-11-07  Murray Cumming  <murrayc@murrayc.com>

	Rename a test utility function.

	* tests/test_selfhosting_utils.[h|cc]: Rename
	test_create_and_selfhost() to test_create_and_selfhost_from_example().
	* tests/test_selfhosting_new_from_example.cc:
	* tests/test_selfhosting_new_then_get_privs.cc:
	* tests/test_selfhosting_new_then_image.cc:
	* tests/test_selfhosting_new_then_report.cc:
	* tests/test_selfhosting_sqlinjection.cc: Adapated.

2011-11-06  Murray Cumming  <murrayc@murrayc.com>

	Require libgda 5.0.2

	* configure.ac: Require the lastest libgda to avoid several bugs
	at runtime - See the comments in configure.ac.

2011-11-04  Murray Cumming  <murrayc@murrayc.com>

	Creating from examples: Do not create users and groups with SQLite.

	* glom/libglom/db_utils.cc: add_groups_from_document(),
	set_table_privileges_groups_from_document(): Do nothing if the database
	backed doesn't support this feature, to avoid errors when using SQLite.

2011-11-04  Murray Cumming  <murrayc@murrayc.com>

	Handle GdaBlob in query results instead of just GdaBinary.

	* glom/libglom/data_structure/field.cc: to_file_format():
	The Value might have a GdaBlob that needs to be read first, to get the
	GdaBinary. This can happen with SQLite.
	* glom/libglom/python_embed/pygdavalue_conversions.cc:
	glom_pygda_value_as_boost_pyobject(): Handle GdaBlob too, though neither
	this or the GdaBinary case use the data length, so this code is doomed
	if it is ever used. I need to find out if Python can really represent
	binary data, or if this should just not be handled here.
	* glom/utility_widgets/imageglom.cc: get_binary(): Handle GdaBlob
	too in the original data.
	* tests/test_selfhosting_new_then_image.cc: Handle GdaBlob in the
	data that is read back, for SQLite. Uncomment the SQLite test, fixing
	make check with the latest libgda.

2011-11-04  Murray Cumming  <murrayc@murrayc.com>

	1.19.17

2011-11-04  Murray Cumming  <murrayc@murrayc.com>

	Correct the ChangeLog

2011-11-04  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output.

2011-11-04  Murray Cumming  <murrayc@murrayc.com>

	Handle gdouble results from python functions.

	* glom/libglom/data_structure/field.cc: Add a mapping
	instead of ignoring doubles.
	This avoids a stderr warning and probably makes calculations
	work.

2011-11-04  Murray Cumming  <murrayc@murrayc.com>

	Fix some warnings about invalid field types with choices.

	* glom/mode_data/datawidget/combochoiceswithtreemodel.cc:
	set_choices_related(): Set full field details on the
	layout_choice_extra fields, to avoid invalid field types,
	and stderr warnings about them.

2011-11-03  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-11-03  Murray Cumming  <murrayc@murrayc.com>

	Updated examples screenshots.

	* docs/website/screenshots/glom_example_filmmanager.png:
	* docs/website/screenshots/glom_example_musiccollection.png:
	* docs/website/screenshots/glom_example_projectmanager.png:
	* docs/website/screenshots/glom_example_smallbusiness.png:
	* docs/website/screenshots/small_glom_data_details.png: Updated.
	* examples/example_film_manager.glom:
	* examples/example_music_collection.glom:
	* examples/example_project_manager.glom: Saved some changes that
	I made to match the details.

2011-11-03  Murray Cumming  <murrayc@murrayc.com>

	Update screenshots for the website.

	* docs/website/screenshots/*.png: Updated these screenshots,
	partly by copying some from user_guide/C/figures/.
	They are used here:
	http://www.glom.org/wiki/index.php?title=Screenshots
	after uploading with "make post-html"

2011-11-03  Murray Cumming  <murrayc@murrayc.com>

	Updated more screenshots.

	* C/figures/glom_design_details_layout_toolbar.png:
	* C/figures/glom_design_print_layout.png:
	* C/figures/glom_initial_dialog_local_network.png: Updated more
	screenshots.

2011-11-03  Murray Cumming  <murrayc@murrayc.com>

	FlowTable: In developer mode, draw some lines.

	* glom/utility_widgets/flowtable.[h|cc]: on_draw(): Draw some dashed lines
	a little like the lines drawn in on_expose_event() in Glom 1.18.
	This is not very good, but it was not very good before, but I still think
	we need something to show the boundaries.

2011-11-03  Murray Cumming  <murrayc@murrayc.com>

	Updated some more screenshots.

	* C/figures/glom_data_details.png:
	* C/figures/glom_design_fields.png:
	* C/figures/glom_design_layout_details.png:
	* C/figures/glom_report_result.png: Updated. Only 2 are left.

2011-11-03  Murray Cumming  <murrayc@murrayc.com>

	Small Business example: Add a little more data so the report is useful.

	* examples/example_smallbusiness.glom: Contacts: Add towns and countries.

2011-11-03  Murray Cumming  <murrayc@murrayc.com>

	Do not blank the data when showing the field definitions dialog.

	* glom/frame_glom.cc: do_menu_developer_fields(): Only blank the data
	view if using SQLite, which requires it, because it looks like a bug to
	the user.

2011-11-03  Murray Cumming  <murrayc@murrayc.com>

	Fix make check.

	* examples/example_smallbusiness.glom: Resaved with correctly-formatted
	image data now that libgda works again.
	* tests/test_selfhosting_new_then_image.cc: Comment out the SQLite test
	because it fails and we do not care so much about that. Still, I will
	investigate it.

2011-11-02  Murray Cumming  <murrayc@murrayc.com>

	Add and use utility functions for creating temporary files.

	* glom/libglom/utils.[h|cc]: Added get_temp_file_uri(),
	get_temp_file_path(), get_temp_directory_uri() and
	get_temp_directory_path(), using the correct awkward code that
	avoids overwriting existing files.
	* glom/application.cc:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/report_builder.cc:
	* glom/utility_widgets/imageglom.cc:
	* tests/import/utils.cc:
	* tests/test_document_autosave.cc:
	* tests/test_selfhosting_new_empty.cc:
	* tests/test_selfhosting_utils.cc: Use these functions instead
	of repeating the same stuff badly.
	* Makefile_tests.am: Link to libglom so the import tests can use
	the new utility functions.

2011-11-02  Murray Cumming  <murrayc@murrayc.com>

	Make connections to central PostgreSQL servers work again.

	* glom/libglom/connectionpool_backends/postgres_central.cc: Do not
	forget a previously-successful connection-but-not-to-the-database.

2011-11-01  Murray Cumming  <murrayc@murrayc.com>

	Added test for Glom::Priv getting of group and user names.

	* tests/test_selfhosting_new_then_get_privs.cc: Added a test of some
	Glom::Privs functions.
	* Makefile_tests.am: Mention the new test.

2011-11-01  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-10-31  Murray Cumming  <murrayc@murrayc.com>

	libglom: Remove an unused Utils::sqlbuilder_get_full_query() overload.

	* glom/libglom/utils.[h|cc]: Nothing uses the version that takes
	a string and parameters.

2011-10-31  Murray Cumming  <murrayc@murrayc.com>

	libglom: sqlbuilder_get_full_query(): Improve the result.

	* glom/libglom/utils.cc: Use the GdaConnection's statement_to_sql()
	instead of just GdaStatement's to_sql() so we a) have correct quoting,
	and b) use the server's specific SQL dialect.

2011-10-29  Murray Cumming  <murrayc@murrayc.com>

	Image fields test: Get and set a value and check that it is the same.

	* tests/test_image.glom: Added an image file to set and get in the
	database.
	* Makefile_tests.am: Disttribute the image file.
	* tests/test_selfhosting_new_then_image.cc: tests(): Read the data
	from the file, use it to set the data, and then read that data back.
	Correct the type check. However, the data equality test fails due to
	libgda bug #662922 .

2011-10-29  Murray Cumming  <murrayc@murrayc.com>

	libglom: Added build_sql_update_with_where_clause().

	* glom/libglom/utils.[h|cc]: Added build_sql_update_with_where_clause().
	* glom/base_db.cc: set_field_value_in_database(): use it here instead
	of manually creating a SqlBuilder.

2011-10-28  Murray Cumming  <murrayc@murrayc.com>

	Add a test for Image fields.

	* Makefile_tests.am:
	* tests/test_selfhosting_new_then_image.cc: Add a test to read an image field
	value, though this currently fails.
	I will later add a write-then-read test.

2011-10-28  Murray Cumming  <murrayc@murrayc.com>

	Fix make check by correcting the DTD.

	* glom/glom_document.dtd: Corrections relating to the print layout definitions.

2011-10-28  Murray Cumming  <murrayc@murrayc.com>

	Small Business Example: Make the report example more like the one in screenshots.

	* examples/example_smallbusiness.glom:

2011-10-28  Murray Cumming  <murrayc@murrayc.com>

	Updated screenshots for functionality that actually works.

	* C/figures/start.png: Replace with:
	* C/figures/start_create.png:
	* C/figures/start_open.png:
	and adapted:
	* docs/user-guide/C/glom.xml and
	* docs/user-guide/Makefile.am

	* docs/user-guide/C/figures/glom_design_fields_dialog_calculated.png
	* docs/user-guide/C/figures/glom_design_layout_details.png
	* docs/user-guide/C/figures/glom_design_layout_list.png
	* docs/user-guide/C/figures/glom_design_reports.png
	* docs/user-guide/C/figures/glom_design_reports_details.png
	* docs/user-guide/C/figures/glom_design_reports_group_by.png
	* docs/user-guide/C/figures/glom_design_reports_vertical_group.png
	* docs/user-guide/C/figures/glom_design_translations.png
	* docs/user-guide/C/figures/glom_import.png
	* docs/user-guide/C/figures/glom_tables.png: Updated

2011-10-28  Murray Cumming  <murrayc@murrayc.com>

	Minor codestyle changes.

2011-10-28  Murray Cumming  <murrayc@murrayc.com>

	Mention the GtkFrame bug in the code comment.

2011-10-28  Murray Cumming  <murrayc@murrayc.com>

	Mention the GTK+3 bug in the ChangeLog

2011-10-28  Murray Cumming  <murrayc@murrayc.com>

	More fixes for the Frame label issue.

	* glom/mode_data/box_data_list_related.cc: Only set or unset the Gtk::Frame
	label if it is or isn't there already, to avoid a warning.
	* glom/mode_data/box_data_portal.[h|cc]: Remove the unused implementation
	of one init_db_details() method, making it pure virtual instead.

2011-10-27  Murray Cumming  <murrayc@murrayc.com>

	Notebook: Avoid truncating related records buttons.

	* glom/mode_data/box_data_list_related.cc: Use
	Gtk::Frame::unset_label() instead of just hiding the frame's label,
	because that apparently leads to an incorrect allocation, causing the
	buttons to be cut in half horizontally at the bottom.
	I will investigate.

2011-10-27  Murray Cumming  <murrayc@murrayc.com>

	Mark version in ChangeLog

2011-10-27  Murray Cumming  <murrayc@murrayc.com>

	1.19.16

2011-10-27  Murray Cumming  <murrayc@murrayc.com>

	Depend on libgda 5.0.0.

	* configure.ac: This version of libgda has fixes for:
	Bug #661655 - data doesn't display when a field is renamed to string with a hyphen.
	and
	Bug #661073 - SQL Errors when a relationship name has capital letters.

2011-10-27  Murray Cumming  <murrayc@murrayc.com>

	Remove GtkHandleBox from the .glade file too.

	* ui/developer/window_print_layout_edit.glade:
	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Use a GtkBox instead of a GtkHandleBox.

2011-10-26  Murray Cumming  <murrayc@murrayc.com>

	Add and move #includes for the latest glibmm.

	* glom/import_csv/csv_parser.cc:
	* glom/import_csv/dialog_import_csv_progress.cc:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/privs.cc:
	* glom/libglom/spawn_with_feedback.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/db_adddel/db_adddel.cc:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	* glom/utility_widgets/dialog_image_load_progress.cc:
	* glom/utility_widgets/dialog_image_save_progress.cc:
	* glom/utils_ui.cc:
	* tests/import/utils.cc: Add individual glibmm includes now that
	gmmproc does not include glibmm.h from headers.
	Always include glibmm/thread.h first to avoid deprecation warnings.

2011-10-26  Murray Cumming  <murrayc@murrayc.com>

	Adapt to the latest goocanvasmm API.

	* glom/main.cc: Pass no arguments to init(), though I think I will
	add the method overload back to goocanvasmm to avoid annoying people
	too much.

2011-10-26  Murray Cumming  <murrayc@murrayc.com>

	Avoid deprecated Gtk::HandleBox with latest gtkmm.

	* glom/utility_widgets/sidebar.[h|cc]: Removed, because Gtk::HandleBox
	is deprecated.
	* Makefile_glom.am: Remove mention of this file.
	* glom/utility_widgets/layouttoolbar.[h|cc]: Derive directly from
	Gtk::ToolPalette instead.
	* glom/mode_design/print_layouts/print_layout_toolbar.[h|cc]: Adapt.

	* glom/mode_design/print_layouts/window_print_layout_edit.h: The glade
	file still has a GtkHandleBox which we should remove, but in the
	meantime just use it via Gtk::Box.

2011-10-25  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2011-10-25  Murray Cumming  <murrayc@murrayc.com>

	Change #includes for the latest glibmm.

	Add individual includes instead of general giomm.h, glibmm.h or gtkmm.h
	includes.
	Among other things, this might let us avoid the annoying warning about
	deprecated GThread functions.

2011-10-25  Murray Cumming  <murrayc@murrayc.com>

	Added missing files.

2011-10-24  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-10-24  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-10-24  Murray Cumming  <murrayc@murrayc.com>

	Main window: Use a smaller default size.

	* ui/operator/window_main.glade: Request a small enough size to fit small
	screens. This will then not warn during test_glade_derived_instantiation.cc.
	However, more space may be requested later.

2011-10-24  Murray Cumming  <murrayc@murrayc.com>

	Remove the unnused PlaceholderGlom class.

	* glom/mode_data/placeholder-glom.[h|cc]: Remove these files.
	* Makefile_glom.am: Remove mentions of these files.
	* glom/mode_data/flowtable_withfields.cc: Remove uses of PlaceholderGlom.

2011-10-24  Murray Cumming  <murrayc@murrayc.com>

	Do not include gtkmm.h, glibmm.h, giomm.h, or similar in headers.

	* Many files: Use more specific includes.

2011-10-24  Murray Cumming  <murrayc@murrayc.com>

	Remove the mention of window_progress.glade to fix make check.

	* POTFILES.in: Remove the mention of a file that no longer exists.

2011-10-24  Murray Cumming  <murrayc@murrayc.com>

	Progress InfoBar: Block user input during progress.

	* glom/application.cc: set_progress_message(): Set the main UI elements to
	insensitive(), because all our current uses of the progess message should
	block user input, like a modal dialog.
	* ui/operator/window_main.glade: Move the InfoBar out of the frame, because
	it should not have the border, and so we can make the frame insensitive
	without making the InfoBar insensitive. This required adding an extra
	intermediate GtkBox, because otherwise there is no way to add the menubar
	at the top, before the InfoBar.
	This .glade file needed some hand-editing to remove bad <packing> tags that
	glade (from git master) added.

2011-10-24  Murray Cumming  <murrayc@murrayc.com>

	Progress InfoBar: Block user input during progress.

	* glom/application.cc: set_progress_message(): Set the main UI elements to
	insensitive(), because all our current uses of the progess message should
	block user input, like a modal dialog.
	* ui/operator/window_main.glade: Move the InfoBar out of the frame, because
	it should not have the border, and so we can make the frame insensitive
	without making the InfoBar insensitive.

2011-10-24  Murray Cumming  <murrayc@murrayc.com>

	ShowProgressMessage: Move to its own source files.

	* Makefile_glom.am:
	* glom/application.[h|cc]: Move the ShowProgressMessage class to separate
	.h/.cc files because I generally prefer one .h/.cc per class.

2011-10-24  Murray Cumming  <murrayc@murrayc.com>

	ShowProgressMessage: Minor Cleanup.

	* glom/application.[h|cc]: Move implementation into .cc file. Correct the code
	style. Make the constructor explicit.

2011-10-24  David King  <davidk@openismus.com>

	Replace progress dialog with infobar, bug 661051

2011-10-23  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation

2011-10-21  Murray Cumming  <murrayc@murrayc.com>

	Avoid calling g_thread_init() if possible.

	* configure.ac: Add a comment about not linking to gthread-2.0 in future.
	* glom/libglom/init.cc:
	* tests/import/test_parsing.cc:
	* tests/import/test_signals.cc: Avoid calls to deprecated Glib::thread_init()
	if glib is new enough.
	This is a step to making Glom build against glibmm from git master with
	--enable-warnings=fatal.

2011-10-20  Murray Cumming  <murrayc@murrayc.com>

	Update a comment

2011-10-20  Murray Cumming  <murrayc@murrayc.com>

	libglom: Restore the Util::build_sql_select_count_row() API.

	* glom/libglom/db_utils.cc: move it back to:
	* glom/libglom/utils.[h|cc]: because it is needed by java-libglom.

2011-10-20  Murray Cumming  <murrayc@murrayc.com>

	Fix previous broken commit to fix the build.

2011-10-20  Murray Cumming  <murrayc@murrayc.com>

	Self-hosting tests: Test with sqlite too.

	* tests/test_selfhosting_utils.[h|cc]: test_create_and_selfhost():
	Add a hosting_mode parameter so we can test sqlite too.
	Correct some return values and check that the directory really exists after
	it should have been created.
	* tests/test_selfhosting_new_empty.cc:
	* tests/test_selfhosting_new_from_example.cc:
	* tests/test_selfhosting_new_then_report.cc:
	* tests/test_selfhosting_sqlinjection.cc: Restructure so all tests are run
	twice - once for each backend.

2011-10-20  Murray Cumming  <murrayc@murrayc.com>

	SQLite: Avoid reporting failure when recreating databases.

	* glom/libglom/db_utils.[h|cc]: recreate_database_from_document(): Do not
	call add_standard_tables() and add_standard_groups() because create_database()
	(which we call) has already done this.
	query_execute_string(): Only -1 is an error, though that is odd.
	See libgda bug #662279 .

2011-10-20  Murray Cumming  <murrayc@murrayc.com>

	Improve some stderr output.

2011-10-20  Murray Cumming  <murrayc@murrayc.com>

	Replaced Utils::build_sql_select_count_row() with DbUtils::count_rows_returned_by().

	* glom/libglom/utils.cc:
	* glom/base_db.[h|cc]: Moved count_rows_returned_by() to
	* glom/libglom/db_utils.[h|cc]: and also moved
	Utils::build_sql_select_count_row() making it static (not API).
	* glom/frame_glom.cc:
	* glom/mode_data/datawidget/treemodel_db.cc: Adapted.

2011-10-20  Jasper Lievisse Adriaanse  <jasper@humppa.nl>

	Adjust previous to properly substitute $DL_LIB.

2011-10-19  Murray Cumming  <murrayc@murrayc.com>

	SQL Injection Test: Try to avoid quoting by giving a wrong field type.

	* tests/test_selfhosting_sqlinjection.cc: Try to avoid quoting by
	saying that a text field is a number but still providing a text value.

2011-10-19  Murray Cumming  <murrayc@murrayc.com>

	SQL Injection Test: Try to use (evil and unquoted) text for a number.

	* tests/test_selfhosting_sqlinjection.cc: This seems to be safe already.

2011-10-19  Murray Cumming  <murrayc@murrayc.com>

	SQL Injection Test: Try to use (evil and unquoted) text for a number.

	* tests/test_selfhosting_sqlinjection.cc: This seems to be safe already.

2011-10-19  Jasper Lievisse Adriaanse  <jasper@humppa.nl>

	Check of libdl instead of unconditionally linking with it.

	https://bugzilla.gnome.org/show_bug.cgi?id=662143

2011-10-19  Murray Cumming  <murrayc@murrayc.com>

	1.19.15

2011-10-19  Murray Cumming  <murrayc@murrayc.com>

	SQL Injection Test: Try both kinds of quote characters.

	* tests/test_selfhosting_sqlinjection.cc: Instead of assuming that we know
	what libgda uses.

2011-10-19  Murray Cumming  <murrayc@murrayc.com>

	Fix comment typo.

2011-10-19  Murray Cumming  <murrayc@murrayc.com>

	Self-hosting: Attempt to avoid failed shutdowns.

	* glom/libglom/connectionpool.cc: invalidate_connection(): Actually call
	Gda::Connection::close() instead of relying on the Connection destructor to
	do that, because maybe it is not closing it if maybe Connection::is_opened()
	is not working correctly.
	cleanup(): invalidate the connection before shutting down the server,
	not after, in case an open connection is stopping the server from closing down.
	* glom/libglom/connectionpool_backends/postgres_self.[h|cc]:
	connect(): Remember the connection details so we can use them later to show
	debug output.
	Added show_active_connections() to try to get a clue about what is wrong
	when the shutdown fails, using those connection details.
	cleanup(): Call it when the shutdown fails.

2011-10-19  Murray Cumming  <murrayc@murrayc.com>

	Fix make check.

	* tests/test_selfhosting_new_from_example.cc: Add some missing !.

2011-10-19  Murray Cumming  <murrayc@murrayc.com>

	Do not pygoject_init() the wrong version.

	* glom/libglom/init.cc: Specify pygobject 3 instead of 2 when calling
	pygobject_init(). They are parallel-installable and incompatible and it is
	3 that we depend on. This recently started failing during "make check",
	which it should.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	1.19.14

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Add a simple SQL injection test.

	* tests/test_selfhosting_sqlinjection.cc: Attempt to do bad things
	that would be possible if our SQL values were not escaped properly
	in the SQL. (libgda takes care of this.)
	* Makefile_tests.am: Mention the new test.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Self hosting test: Check that other tables exist.

	* glom/libglom/document/document.[h|cc]: Added get_field_primary_key(),
	for use by:
	* tests/test_selfhosting_utils.[h|cc]: Added test_table_exists().
	* tests/test_selfhosting_new_from_example.cc: Add quick checks that
	some other tables exist.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Test some query functions.

	* tests/test_selfhosting_utils.[h|cc]: Added test_model_expected_size().
	* tests/test_selfhosting_new_from_example.cc: Test the quick find and
	the count query.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Avoid a compiler warning.

	* glom/libglom/data_structure/glomconversions.cc: format_time():
	Return a result from the catch block.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Avoid some copy/pasting of code.

	* glom/mode_design/print_layouts/print_layout_toolbar_button.cc:
	* glom/utility_widgets/layouttoolbar.cc:
	* glom/utility_widgets/layouttoolbarbutton.cc: Moved get_icon_path() to:
	* glom/utils_ui.[h|cc]

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Test report contents.

	* glom/libglom/xsl_utils.[h|cc]: transform(): Return the contents,
	not a filepath.
	* glom/libglom/report_builder.[h|cc]: report_build(): return the
	contents, not the path. Add report_build_and_save() to get a temporary
	filepath.
	* glom/mode_data/box_data_manyrecords.cc:
	* glom/frame_glom.cc: Adapted.
	* tests/test_selfhosting_new_then_report.cc: Check that some expected
	text is in the generated HTML.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Test report building.

	* tests/test_selfhosting_new_from_example.cc: Move most code into
	utility functions in:
	* tests/test_selfhosting_utils.[h|cc]:
	* tests/test_selfhosting_new_then_report.cc: Add a new test that also
	generates a HTML report.
	* Makefile_tests: Mention the new files.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Film Manager example: Change default table.

	* examples/example_film_manager.glom: Make the Scenes table appear first so
	people get a better idea of what this is about - managing production of a
	single film, not managing a collection of films.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Add a test for the locale problem and for a missing translated date format.

	* tests/test_glom_date_in_locales.sh: A new test that sets LANG and then tries
	to start glom with it's date-checking option, to see if any fail.
	However, this is not run during "make check", or even distributed, because
	it depends on you having the locales installed and configured.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Correct the date format in the en_CA locale.

	* en_CA.po: Added a translation for the date format, because the default
	does not show 4-digit years. This avoids the warning at startup, which
	asks the translator to deal with it.
	Note that I used YYYY/MM/DD instead of DD/MM/YYY, because a) It is
	apparrently	the official format for Canada, though the other one is still
	common, and b) date parsing failed with DD/MM/YY in this locale.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Add try/catch around all uses of std::locale("").

	* glom/libglom/data_structure/glomconversions.cc: Add try/catch with a warning
	whenever we use std::locale(""), which means the current locale, because that
	can throw an exception if the locale is not properly configure.
	* glom/main.cc: Mention that a non-installed or not-properly-configured
	locale could be the cause of the problem.

	However, I would like to know exactly what it means for a locale to be
	properly configured.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Fix typo in previous commit

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Command line: Correct some exit results.

	* glom/main.cc: Use EXIT_FAILURE and EXIT_SUCCESS instead of 0 and -1,
	and use the correct ones.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	libglom: FieldFomatting: Correct some parameter names.

	* glom/libglom/data_structure/layout/fieldformatting.h: get_choices_related()
	Rename relationship_name to relatioship. It was already correct in the .cc
	file.

2011-10-18  Murray Cumming  <murrayc@murrayc.com>

	Correct the pkg-config file.

	* glom/libglom/glom.pc.in: Depend on libgdamm-5.0, not ligdamm-4.0.
	And depend on libxslt, because we just moved the xslt stuff into libglom.

2011-10-17  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	Move ReportBuilder to libglom, to make testing easier.

	* glom/report_builder.[h|cc]:
	* glom/xsl_utils.[h|cc]: Moved to:
	* glom/libglom/report_builder.[h|cc]:
	* glom/libglom/xsl_utils.[h|cc]:
	* Makefile_glom.am, Makefile_libglom.am: Adapted, also adding a
	-D define for libglom to access the xslt file, though I am not happy
	about a library needing a file to be installed.

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	ReportBuilder: Do not depend on Base_DB unnecessarily.

	* glom/report_builder.[h|cc]: Just add get/set_document() instead.

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	Move report building code around.

	* glom/report_builder.[h|cc]: report_build(): Return the filepath,
	instead of opening it in the browser.
	* glom/xsl_utils[h|cc]: transform_and_open(): Rename to transform(),
	returning the filepath. Also correct some ustring filepath to std::string.
	* glom/utils_ui[h|cc]: Added show_report_in_browser().
	* glom/frame_glom.cc: on_menu_report_selected():
	* glom/mode_data/box_data_manyrecords.cc: print_layout: Adapted.

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	Move some XSLT-processing code around.

	* glom/mode_data/box_data.h: Remove declaration of non-implemented
	and unused xslt_process() method.
	* glom/xsl_utils.[h|cc]: Move xslt_process() in to the .cc file as a
	static function.

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	Move some Report code around.

	* glom/mode_data/box_data_manyrecords.cc: print_layout():
	Move the report creation to ReportBuilder.
	* glom/report_builder.[h|cc]: Added create_standard_list_report().
	* glom/xsl_utils.cc: Do not output all the XSL and HTML to std::cout,
	but do output the temporary file name of the generated HTML file.

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	XSLT file: Minor fixes.

	* xslt/print_report_to_html.xsl: Change xsl::version to version, which
	is apparently more correct. Specify the encoding as UTF-8.

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	Tests: Add general XML validity of XSLT files.

	* tests/test_xslt_file_validation.sh: New test, based on the other ones.
	* Makefile_tests.am: Mention the new test.

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	Remove an unused XSL file.

	* xslt/print_details_to_html.xsl: Remove this because it is no longer
	used.
	* Makefile.am: Remove mention of it.

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	List View: Correct the default column widths.

	* glom/utils_ui.[h|cc]: get_suitable_field_width_for_widget(): Added a
	for_treeview parameter and adjust the width accordingly.
	* glom/mode_data/db_adddel/db_adddel.cc: treeview_append_colum():
	Replace the overly-generic division-by-3 hack with the new parameter, and
	add some hard-coded extra space.

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	Examples: Remove all column_width attributes now that defaults are good.

	* examples/example_film_manager.glom:
	* examples/example_lesson_planner.glom:
	* examples/example_music_collection.glom:
	* examples/example_project_manager.glom:
	* examples/example_smallbusiness.glom:
	* examples/sqlite/test_sqlite_music/test_sqlite_music.glom:
	* examples/tests/example_field_formatting_test.glom:
	* ldtp/database-templates/PostgresCentral/Test.glom:
	* ldtp/database-templates/SQLite/Test.glom: A simple regexxer replace.

2011-10-17  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	List View: Correct the default column widths.

	* glom/utils_ui.[h|cc]: get_suitable_field_width_for_widget(): Added a
	for_treeview parameter and adjust the width accordingly.
	* glom/mode_data/db_adddel/db_adddel.cc: treeview_append_colum():
	Replace the overly-generic division-by-3 hack with the new parameter, and
	add some hard-coded extra space.

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	Details: Avoid an outdent after group titles

	* glom/mode_data/flowtablewithfields.cc: add_layout_group(): Work around
	the GtkFrame bug #644199

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	1.19.13

2011-10-17  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Print Standard: Avoid page break spaces in the middle of pages.

	* glom/print_layout/canvas_print_layout.[h|cc]: fill_with_data():
	Add an avoid_page_margins parameter, so we can choose to always move items
	past the margins on to the next page while setting their data.
	* glom/print_layout/print_layout_utils.[h|cc]: create_standard():
	Add an avoid_page_margins parameter, so we can choose to do this later instead
	when setting the data, to avoid big gaps that are later moved down into the
	middle of the page.
	do_print_layout(): Add an avoid_page_margins parameter here too, passing
	it to fill_with_data().
	* glom/mode_data/box_data_details.cc: print_layout(): Do not avoid page
	margins when creating, because that will happen when expanding items.
	Avoid the page margins when setting the details.
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	on_menu_insert_create_standard(): Avoid page margins when creating.
	However, those gaps could be left in the middle of the page when printing,
	because some items may be expanded. We need a way to squash that space
	later when it is unecessary.

2011-10-16  Jasper Lievisse Adriaanse  <jasper@humppa.nl>

	Hide another __libc_freeres on systems which don't have glibc.

	https://bugzilla.gnome.org/show_bug.cgi?id=660496

2011-10-15  Murray Cumming  <murrayc@murrayc.com>

	Fix some ChangeLog formatting

2011-10-14  Murray Cumming  <murrayc@murrayc.com>

	Fix DTD to fix make check.

	* glom/glom_document.dtd: Mention several attributes that were added
	in the last year or so. The new examples/test/ uses them.

2011-10-14  Murray Cumming  <murrayc@murrayc.com>

	Tests: Fix cast error when using dlerror().

	* tests/python/test_load_python_library.cc: Noticed on OpenBSD in
	bug #660495 (Jasper Lievisse Adriaanse).
	I don't know why this worked on Linux.

2011-10-14  Murray Cumming  <murrayc@murrayc.com>

	Examples: Remove other uses of pygtk.

	* examples/example_lesson_planner.glom: Remove an old button script
	from the XML though it was not used anymore in the UI.
	* examples/example_project_manager.glom: Contacts: Remove the Test
	button. It is in the small business example already instead.

2011-10-14  Murray Cumming  <murrayc@murrayc.com>

	Small Business Example: Port pygtk code to PyGObject+Introspection.

	* examples/example_smallbusiness.glom: This fixes this crash, which
	apparently happens when trying to use pygtk when pygobject-3 is
	already loaded:
	Warning: specified class size for type `PyGtkGenericCellRenderer' is
	smaller than the parenttype's `GtkCellRenderer' class size

	Bug #661766 (André Klapper)

2011-10-14  Murray Cumming  <murrayc@murrayc.com>

	List: Actually show custom choices, instead of crashing.

	* glom/mode_data/datawidget/cellcreation.cc: create_cell(): Call
	set_choices_fixed() if appropriate.
	* glom/mode_data/datawidget/cellrenderer_dblist.cc: on_editing_started():
	Replace a g_assert with a warning to std::cerr, in case this happens
	again, particularly now that we know when it can happen - if there is
	no text-column set.
	Bug #661764 (André Klapper)

2011-10-14  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Avoid grouping items at the tops of pages.

	* glom/print_layout/print_layout_utils.[h|cc]: move_fully_to_page():
	Change this to needs_move_fully_to_page(), so we can decide later how
	much to move the items.
	* glom/print_layout/canvas_print_layout.[h|cc]: move_items_below_item():
	Rename to move_items_down(), not taking an item, and ignoring the x
	dimension, moving everything down.
	Remember the highest item that needs moving down more, because it
	is in a page margin, then move everything below it down by the same
	offset. Keep doing that until no items are in margins, gradually adding
	pages. This is a simple form of pagination, and not a particularly
	efficient one.

2011-10-14  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-10-14  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Another expansion fixes.

	* glom/print_layout/print_layout_utils.[h|cc]: move_fully_to_page():
	Move generic CanvasItemMovables instead of just CanvasLayoutItems.
	* glom/print_layout/canvas_print_layout.cc: move_items_below_item():
	Likewise.

2011-10-14  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Increase page count correctly when expanding portals.

	* glom/print_layout/canvas_print_layout.cc: move_items_below_item():
	Correct an off-by-one error in the calculation of the number of pages
	needed.

2011-10-14  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Create standard: Use the multiline text formatting.

	* glom/print_layout/print_layout_utils.cc: create_standard():
	Make text fields multiline if they are multiline on the details
	layout.

2011-10-14  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Small improvement.

	* glom/print_layout/canvas_print_layout.cc: move_items_below_item():
	Check that we don't move the item itself.

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	minor fix of minor fix

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	Minor fix

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Code improvement.

	* glom/print_layout/print_layout_utils.[h|cc]: Remove the hacky get_units()
	function.

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Create Standard: Move items to the next page when necessary.

	* glom/libglom/data_structure/layout/layoutitem.[h|cc]: Add
	set_print_layout_position_y() for convenience.
	* glom/print_layout/print_layout_utils.cc: create_standard(): Use
	move_fully_to_page().

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Moved some code around.

	* glom/print_layout/canvas_print_layout.[h|cc]: Moved get_page_for_y() and
	move_fully_to_page() to:
	* glom/print_layout/print_layout_utils.[h|cc]:

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	PrintLayout: Standard: Do not move to next page unnecessary.

	* glom/print_layout/canvas_print_layout.cc: get_page_for_y(): Correct this
	calculation.

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	About dialog: Show the version number.

	* glom/application.cc: Use set_version().

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	Deleting tables: Remove all auto-increment rows.

	* glom/navigation/box_tables.cc: Remove the autoincrement rows for all
	autoincrement fields.

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	Deleting tables: Remove the auto-increment too.

	* glom/libglom/db_utils.[h|cc]: Added remove_auto_increment().
	* glom/navigation/box_tables.cc: on_adddel_Delete(): Remove the primary key's
	autoincrement too.
	Bug #661653

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	DbUtils: Add some parameter checks to the autoincrement methods.

	* glom/libglom/db_utils.cc: Otherwise we risk having an empty where clause,
	and doing unwanted things to the entire table.

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	DbUtils: Avoid some repeated code.

	* glom/libglom/db_utils.cc: Add a utility function for adding the where
	clause for the auto-increments table.

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	whitespace change

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	Use Glib::ustring::compose() instead of concatenation for translatable strings.

	* glom/bakery/dialog_offersave.cc:
	* glom/import_csv/dialog_import_csv.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/mode_design/layout/combobox_relationship.cc:
	* glom/mode_design/layout/dialog_layout_details.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.cc:
	* glom/navigation/box_tables.cc:
	* glom/utils_ui.cc: Let translators arrange built strings.

2011-10-13  Ben Konrath  <ben@bagu.org>

	Add example document to test field formatting.

	* examples/tests/example_field_formatting_test.glom: New file.

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	Print/Standard: Do print, not preview.

	* glom/mode_data/box_data_details.cc: This is now the same as when
	printing a non-standard print layout.

2011-10-13  Murray Cumming  <murrayc@murrayc.com>

	Replace Gtk::Table with Gtk::Grid in the source code.

	* glom/mode_design/fields/dialog_fielddefinition.h: Use the table
	(from the .glade file) via Gtk::Widget*.
	* ui/developer/window_print_layout_edit.glade: Replace the GtkTable
	with a GtkGrid.
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	Adapt.
	There are still GtkTables in the other .glade files, but this at least
	lets us build with gtkmm 3.3/3.4 even with --enable-warnings=fatal.

2011-10-12  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Avoid some code duplication.

	* glom/print_layout/print_layout_utils.[h|cc]: moved get_page_height()
	from CanvasPrintLayout to here. And actually get the margins.
	* glom/print_layout/canvas_print_layout.cc: get_page_y_start_and_end():
	Use it here.
	get_page_height(): Forward to the PrintLayoutUtils versions, passing
	the extra parameters.

2011-10-12  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Move items to next page when expanding portals.

	* glom/print_layout/canvas_print_layout.[h|cc]: move_items_below_item():
	Use a new move_fully_to_page() method to make sure that items are never
	in the margins if that is possible, when expanding related records
	portals for real data.
	Also add extra pages when necessary.

2011-10-12  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Related Records: Move others down when expanding.

	* glom/print_layout/canvas_layout_item.[h|cc]: Added
	move_items_below_item().
	* glom/print_layout/canvas_print_layout.[h|cc]: fill_with_data_portal():
	move other items lower when changing the size of the portal's table.

2011-10-12  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Related Records: Expand according to min/max rows count.

	* glom/print_layout/canvas_layout_item.[h|cc]:
	Moved get_canvas_table_cell_child() here from CanvasPrintLayout.
	create_canvas_item_for_layout_item(): Move the table-child creation
	code into add_portal_rows_if_necessary().
	* glom/print_layout/canvas_print_layout.[h|cc]: fill_with_data_portal():
	Add rows, up to the maximum, according to the number of database rows.
	* glom/print_layout/print_layout_utils.cc: create_standard():
	Set a simple default height for one row, but set a min of 1 and a max
	of 100 so it will expand later.

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	Const correction

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	Update the example files for the portal rows count change.

	* examples/example_film_manager.glom:
	* examples/example_music_collection.glom:
	* examples/example_project_manager.glom:
	* examples/example_smallbusiness.glom: Adapt to new document structure.

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	Related Records Portals: Change rows count to min and max counts.

	* glom/glom_document.dtd: Adapted.
	* glom/libglom/data_structure/layout/layoutitem_portal.[h|cc]:
	set_rows_count(): Return a min and max, and change it from double to
	gulong.
	* glom/libglom/document/document.cc: load_after(), save_before():
	Store it in the document. The old XML attribute was new in Glom 1.19
	anyway, so we can change it.

	* ui/developer/window_data_layout.glade: Add an extra SpinButton,
	adjust the labels, and add explanatory tooltips.
	* glom/mode_design/layout/dialog_layout_details.[h|cc]: Adapted.

	* glom/mode_data/db_adddel/db_adddel.[h|cc]: set_height_rows():
	Take the min and max.
	construct_specified_column(): Increase the size if appropriate when
	there are more database rows to show.
	* glom/mode_design/layout/dialog_layout_list_related.cc:
	* glom/print_layout/print_layout_utils.cc:
	* glom/libglom/db_utils.cc:
	* glom/mode_data/box_data_list_related.cc: Adapted.

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Create Standard: Use the full page width.

	* glom/print_layout/print_layout_utils.cc: Instead of hard-coding the
	width. However, the field title widths are still hard-coded.

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	Small fixes to Film Manager example.

	* examples/example_film_manager.glom: Remove the unused (and hiddent)
	Teams table.
	Contacts: Remove the unnecessary groups around the related records
	portals in the notebook.

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	Tiny improvement

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	CanvasPrintLayout: Wipe empty rows when filling with data.

	* glom/print_layout/canvas_print_layout.cc: fill_with_data_portal():
	Otherwise, the field names appear on the printout, left over from
	the default non-data preview.

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	TranslatableItem: Make get_title() virtual.

	* glom/libglom/data_structure/translatable_item.h: Make get_title()
	virtual, like get_title_or_name() already is, so we can make get_title()
	useful generically via the base class.
	* glom/libglom/data_structure/layout/layoutitem_field.[h|cc]:
	* glom/libglom/data_structure/layout/layoutitem_portal.[h|cc]:
	* glom/libglom/data_structure/layout/report_parts/layoutitem_fields
	ummary.[h|cc]: Add get_title() overrides.
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/print_layout/print_layout_utils.cc: Use get_title() instead of
	get_title_or_name(), to avoid showing names of intentionally title-less
	groups and notebooks.

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	LayoutItem_Portal: Make get_title_or_name() useful.

	* glom/libglom/data_structure/layout/layoutitem_portal.[h|cc]:
	Add an override for get_title_or_nam(), so that callers do not need to
	special-case portals compared to other groups.
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_portal.cc:
	* glom/mode_data/flowtablewithfields.cc:
	* glom/print_layout/print_layout_utils.cc: Use get_title_or_name()
	instead of more complicated code.

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Standard: Handle related records portals too.

	* glom/print_layout/print_layout_utils.cc: create_standard():
	If the group is a portal, just add that portal item, setting appropriate
	sizes.

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	Simplify OptionEntry code.

	* glom/glom_create_from_example.cc:
	* glom/main.cc: Reuse one OptionEntry instance.

2011-10-11  Murray Cumming  <murrayc@murrayc.com>

	Fix typo

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Updated a TODO

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Cope with Gnome::Gda::DataModelIter::get_value_at() throwing.

	* glom/libglom/connectionpool_backends/postgres.cc: Add a catch/try
	around get_value_at(), because the latest version of libgdamm can
	throw an exception there.

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Corrected ChangeLog

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Added some consts

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Use gdk_window_get_device_position() instead of gdk_window_get_pointer().

	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/buttonglom.cc:
	* glom/mode_data/datawidget/checkbutton.cc:
	* glom/mode_data/datawidget/combo.cc:
	* glom/mode_data/datawidget/combo_as_radio_buttons.cc:
	* glom/mode_data/datawidget/datawidget.cc:
	* glom/mode_data/datawidget/entry.cc:
	* glom/mode_data/datawidget/label.cc:
	* glom/mode_data/datawidget/textview.cc:
	* glom/mode_data/db_adddel/db_adddel.cc:
	* glom/mode_data/flowtablewithfields.cc:
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/notebooklabelglom.cc: A fairly simple search/replace.

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	1.19.12

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Really use the goocanvasmm RGBA properties.

	* glom/mode_design/layout/layout_item_dialogs/box_formatting.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_line.cc: Use
	Gtk::ColorButton::get_rgba() instead of get_color.
	* glom/mode_design/layout/dialog_layout_list_related.[h|cc]: Do not save
	color details if they are not shown in the UI.

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Require the latest goocanvasmm.

	* configure.ac: Require goocanvasmm 1.90.6 because of the new RGBA properties.

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	glom_create_from_example: --help: Add a hint about when self-hosting is used.

	* glom/glom_create_from_example.cc: Add some text to the --server-hostname
	option.

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	glom_create_from_example: Support central-hosting too.

	* glom/glom_create_from_example.cc: Allow a host name, port, and username to
	be specified, and the password to be entered on stdin.
	* glom/libglom/db_utils.[h|cc]: Added get_unused_database_name():
	* glom/frame_glom.cc: Added a TODO that we should use it here too instead of
	the similar code that is mixed up with the dialog code.
	* glom/libglom/connectionpool.h: Remove unused m_host member variable.

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Fix POTFILES.in

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Test: Catch an exception.

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Added the glom_create_from_example command-line utility.

	* Makefile_libglom.am:
	* glom/glom_create_from_example.cc: This command-line utility takes an
	example .glom file, outputs a new non-example .glom file and puts the
	example data, if any, in the database.
	Right now, it assumes that you want self-hosting, so it creates the
	database files locally.
	This builds when libglom builds. It does not require the glom application.

2011-10-10  Murray Cumming  <murrayc@murrayc.com>

	Added Utils::get_file_*_without_extension().

	* glom/application.[h|cc]: Moved get_file_uri_without_extension() to
	* glom/libglom/utils.[h|cc]: And added get_file_path_without_extension().

2011-10-09  Murray Cumming  <murrayc@murrayc.com>

	Fix make check with --enable-warnings=fatal.

	* glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc:
	drop_possible handlers: Adapt to the new meanin of the return type.

2011-10-09  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with --enable-warnings=fatal.

	* glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.cc:
	Signal callbacks: Actually use drop_possible.

2011-10-09  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-10-08  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-10-07  Murray Cumming  <murrayc@murrayc.com>

	Fields: Adapt choices fields when changing field names.

	* glom/libglom/data_structure/layout/fieldformatting.[h|cc]:
	Added change_field_item_name().
	* glom/libglom/data_structure/layout/layoutgroup.cc: change_field_item_name():
	Change the formatting too, by calling the new method.
	* glom/libglom/document/document.cc: change_field_name(): Change the default
	formatting of fields too.
	Bug #661075

2011-10-06  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-10-06  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Really print additional pages.

	* glom/print_layout/printoperation_printlayout.cc: on_draw_page():
	Use Cairo::Context::translate() before calling Goocanvas::Canvas::render().
	Bug #660553 (Thanks to David King and Damon Chaplin)

2011-10-06  Murray Cumming  <murrayc@murrayc.com>

	Document: Avoid writing some unnecessary XML nodes.

	* glom/libglom/document/document.cc: <formatting>: Do not write the
	choices_related_show_all attribute if there are no choices.
	Do not write numeric formatting attributes if the field type is not numeric.
	* examples/example_film_manager.glom: Resaved.

2011-10-06  Murray Cumming  <murrayc@murrayc.com>

	Fix DTD validation.

	* glom/glom_document.dtd: Change the order of some sub-nodes. Apparently
	we must specify a sequence, even though we do not really care.
	* glom/libglom/document/document.cc: load_before(), save_after(): do not
	save some irrelevant details for calendard portals.
	Portals assume that no rows count means the default of 6, to make the files
	less verbose.
	* examples/example_film_manager.glom:
	* examples/example_lesson_planner.glom:
	* examples/sqlite/test_sqlite_music/test_sqlite_music.glom: Resaved/Fixed.

2011-10-06  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2011-10-06  Murray Cumming  <murrayc@murrayc.com>

	Examples: Details layout: Remove unnecessary "main" groups.

	* examples/example_lesson_planner.glom:
	* examples/example_music_collection.glom:
	* examples/example_project_manager.glom:
	* examples/example_smallbusiness.glom: Move overview and details to top,
	instead of in a top-level group.
	* examples/example_film_manager.glom: Remove unnecessary Details titles.
	These look silly when the first item is a group with its own title.

2011-10-06  Murray Cumming  <murrayc@murrayc.com>

	Film Manager example: Scenes: Make the Props and Costume tabs work.

	* examples/example_film_manager.glom: The relevant tables and relationships
	did not exist. Also remove all main top-level groups.

2011-10-06  Murray Cumming  <murrayc@murrayc.com>

	TreeModelDb: fill_values_if_necessary(): Avoid a crash.

	* glom/mode_data/datawidget/treemodel_db.cc: Do not try to use a null
	GdaDataModel, which can happen if a SQL query fails.

2011-10-06  Murray Cumming  <murrayc@murrayc.com>

	Document: get_data_layout_groups_default(): Simplify the default structure.

	* glom/libglom/document/document.cc: Do not create the useless main
	top-level group for details layouts.

2011-10-06  Ben Konrath  <ben@bagu.org>

	Fix small bugs in commented-out debugging print statements.

	https://bugzilla.gnome.org/show_bug.cgi?id=661009

	* glom/libglom/db_utils.cc: Change field to layout_item. Move print
	statement to be after the assignment to
	field_used_in_relationship_to_one.

2011-10-06  Murray Cumming  <murrayc@murrayc.com>

	Details: Do not enable drag-and-drop by default.

	* glom/utility_widgets/flowtable.cc: Turn of drag-and-drop by default in
	the EggSpreadTableDnd
	* glom/mode_data/flowtablewithfields.[h|cc]: Added set_enable_drag_and_drop().
	* glom/mode_data/box_data_details.[h|cc]: Added set_enable_drag_and_drop(),
	calling the FlowTableWithFields.
	glom/application.[h|cc]: Rename the Show Layout Toolbar menu item to
	Drag and Drop Layout, though that is a bad name and I would like a better one.
	* glom/frame_glom.[h|cc]:  show_layout_toolbar(): Rename to
	set_enable_layout_drag_and_drop().
	* glom/mode_data/notebook_data.[h|cc]: Rename show_layout_toolbar() to
	set_enable_layout_drag_and_drop() and make it enable dnd as well as showing
	the toolpallette. The toolpalette is then a visual indication that
	drag-and-drop is possible.
	* glom/mode_data/test_flowtablewithfields.cc: Add a sub-group and enable
	drag and drop.

2011-10-06  Murray Cumming  <murrayc@murrayc.com>

	Update EggSpreadTable tests.

	* glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc: Fix a crash.
	* glom/utility_widgets/test_flowtable.cc:
	* glom/utility_widgets/test_flowtable_dnd.cc: Adapt to the changed API.

2011-10-06  Murray Cumming  <murrayc@murrayc.com>

	Update EggSpreadTable

	* glom/utility_widgets/eggspreadtable/: Update from libegg with Tristan's
	changes.
	* glom/utility_widgets/eggspreadtablemm/: Adapt.

2011-10-04  Murray Cumming  <murrayc@murrayc.com>

	Added missing files

2011-10-04  Murray Cumming  <murrayc@murrayc.com>

	TODO comment

2011-10-04  Murray Cumming  <murrayc@murrayc.com>

	Move do_print_layout() to PrintLayoutUtils.

	* glom/application.[h|cc]: Remove the new print_layout(PrintLayout) override.
	* glom/frame_glom.[h|cc]:
	* glom/mode_data/box_data_details.cc: Adapted, using
	PrintLayoutUtils::do_print_layout() instead.

2011-10-04  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-10-04  Murray Cumming  <murrayc@murrayc.com>

	PrintOperation_PrintLayout: Move to print_layout/:

	* Makefile_glom.am:  Mention the changed paths.
	* glom/frame_glom.cc: Adapted.

2011-10-04  Murray Cumming  <murrayc@murrayc.com>

	PrintLayoutUtils: Move to print_layout/

	* Makefile_glom.am: Mention the changed paths.
	* glom/mode_data/box_data_details.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.cc: Adapted.

2011-10-04  Murray Cumming  <murrayc@murrayc.com>

	Details: Print: Use a standard print layout instead of HTML.

	* glom/frame_glom.[h|cc]: Add a do_print_layout() that takes a PrintLayout
	instead of just a print layout name.
	* glom/application.[h|cc]: Add a  do_print_layout() that forwards to
	Frame_Glom.
	* glom/mode_data/box_data_details.[h|cc]: print_layout(): Instead of
	generating HTML and showing it in a browser, create a standard print layout
	and offer it via a normal printing dialog. This is at least as good (not
	very good yet) as our generated HTML, but simpler and more normal.
	Remove any code that used the old XML+XSLT=HTML way for details.

	We still use the generated HTML for the list view, as if it was just another
	report. Maybe we can improve that in future too.

2011-10-04  Murray Cumming  <murrayc@murrayc.com>

	Fix typo

2011-10-04  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Move create_standard() into a utils file.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]: Move
	create_standard to
	* glom/print_layout_utils.[h|cc] so we can use it elsewhere too.

2011-10-02  Murray Cumming  <murrayc@murrayc.com>

	Find: Get criteria even when a field is on the layout twice.

	* glom/mode_data/flowtablewithfields.cc: get_field_value():
	Look at all the widgets for this field, instead of just the first one,
	and keep looking until we find a non-empty value.
	This is still rather arbitrary, but this method is only used for
	find criteria, or should be.

2011-10-02  Murray Cumming  <murrayc@murrayc.com>

	Find Mode: Do not show data in related records.

	* glom/mode_data/box_data_portal.[h|cc]: Add a virtual set_find_mode().
	* glom/mode_data/box_data_list_related.h: Add a set_find_mode()
	override here which calls it on the DbAddDel.
	* glom/mode_data/db_adddel/db_adddel.h: Document the existing
	set_find_mode() more.
	* glom/mode_data/flowtablewithfields.[h|cc]: Add set_find_mode(), which
	calls it on all child portals and flowtables and calls it later when
	creating them.
	* glom/mode_find/box_data_details_find.cc: Call set_find_mode() on the
	FlowTable.
	This also affects the Find button next to ID fields.

2011-10-02  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-10-01  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-09-30  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Create Standard Layout: Support multiple pages.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	create_standard(): Support multiple pages, trying to keep out of the margins.
	* glom/print_layout/canvas_print_layout.cc: add_layout_group_children():
	Do not add canvas items that were not able to handle the layout item, such
	as buttons.

2011-09-30  Murray Cumming  <murrayc@murrayc.com>

	Fix the DTD.

	* glom/glom_document.dtd: Fix my typo to fix make check.

2011-09-30  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2011-09-30  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Allow multiple pages.

	* glom/libglom/data_structure/print_layout.[h|cc]: Add get/set_page_count().
	* glom/libglom/document/document.cc: load_after(), save_before():
	Store the page count in the document.
	* glom/glom_document.dtd: Mention the new attribute.

	* glom/print_layout/canvas_print_layout.[h|cc]: Add get/set_page_count()
	and get_page_bounds().
	update_page_bounds(): Move the margin creation into here, and create
	margins for all pages.
	* glom/utility_widgets/canvas/canvas_group_grid.[h|cc]:
	Added update_grid_for_new_size().
	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]: Add
	Add Page and Delete Page menu items, though we need to rearrange the menus
	more sensibly.

	* glom/printoperation_printlayout.cc: on_begin_print(), on_paginate():
	Set the number of pages.
	on_draw(): Render only the specified page's bounds from the GooCanvas.
	However, this is not working for any page but the first one.
	Some cairo transformation might be necessary.

2011-09-30  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2011-09-30  Murray Cumming  <murrayc@murrayc.com>

	Instantiation test: warn if the widget is too big for small screens.

	* tests/test_glade_derived_instantiation.cc: Actually show the window
	(Is there a way to get the size without showing it) and warn if it is too
	big, but do not fail yet.
	Note that this is very dependent on the theme in use, though maybe we
	can set that at runtime for the test.

2011-09-30  Murray Cumming  <murrayc@murrayc.com>

	Field Formatting window: Make it slightly less tall.

	* ui/developer/dialog_layout_field_properties.glade: Arrange two radio
	buttons horizontally instead of vertically. But this window is still too tall.
	See https://bugs.launchpad.net/ubuntu/+source/glom/+bug/863016

2011-09-29  Jasper Lievisse Adriaanse  <jasper@humppa.nl>

	Hide __libc_freeres on system which don't have glibc.

	https://bugzilla.gnome.org/show_bug.cgi?id=660496

2011-09-29  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Add experimental Create Standard feature.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Add an Insert/Create Standard Layout menu item which creates a layout
	similar to the details layout.

2011-09-29  Murray Cumming  <murrayc@murrayc.com>

	Dialog_Choose_ID: Work around a crash in GTK+.

	* glom/mode_data/datawidget/dialog_choose_id.cc: Remove the Box_Data_List
	from the parent container (we added it earlier), to avoid a crash, though
	it would be good to fix that properly and generically.
	Bug #660347

2011-09-29  Murray Cumming  <murrayc@murrayc.com>

	build_simple_where_expression(): Check input parameters.

	* glom/libglom/utils.cc: build_simple_where_expression(): Check for an
	empty key field, which can happen during debugging.

2011-09-29  Murray Cumming  <murrayc@murrayc.com>

	Glade utils: Catch generic exceptions.

	* glom/glade_utils.h: Though this only happens when gtkmm has not been
	initialized.

2011-09-28  Murray Cumming  <murrayc@murrayc.com>

	Related Records: Fix bug with a blank row when there is only one row.

	* glom/libglom/connectionpool.[h|cc]: Added get_backend_supports_cursor().
	* glom/mode_data/datawidget/treemodel_db.cc: refresh_from_database():
	Call that method, so we can avoid using GdaDataAccessWrapper unless
	necessary. That avoids an apparent bug with GdaDataAccessWrapper returned
	a row of all-nulls if there is only one row. See libgda bug #660344 .
	This is probably a performance improvement anyway.

2011-09-27  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-09-27  Murray Cumming  <murrayc@murrayc.com>

	Require the latest gtkmm.

	* configure.ac: Require gtkmm 3.2.0 to keep things simple.

2011-09-27  Murray Cumming  <murrayc@murrayc.com>

	libglom::LayoutItem_Portal: Added get_suitable_table_to_view_details().

	* glom/base_db.[h|cc]: Move the get_portal_navigation_relationship_automatic()
	and get_suitable_table_to_view_details() utility functions to:
	* glom/libglom/data_structure/layout/layoutitem_portal.[h|cc]: Also
	move other privately-used utility functions here too, from Base_DB.
	* glom/mode_design/layout/dialog_layout_calendar_related.cc: update_ui():
	* glom/mode_design/layout/dialog_layout_list_related.cc: update_ui():
	* glom/mode_data/box_data_portal.cc:
	get_has_suitable_record_to_view_details(),
	get_has_suitable_record_to_view_details(): Adapted.

2011-09-27  Murray Cumming  <murrayc@murrayc.com>

	libglom::layout_field_should_have_navigation(): Return Relationship not bool.

	* glom/libglom/db_utils.[h|cc]: layout_field_should_have_navigation():
	Make field_used_in_relationship_to_one() be a Relationship so it can
	be used for actual navigation.
	Also require that the LayoutItem_Field has full field information, instead
	of updating it, so that it can be const.
	* glom/mode_data/datawidget/datawidget.cc: Constructor: Adapted.
	* glom/mode_data/box_data_details.cc:
	on_flowtable_field_open_details_requested(): Use it here instead of the
	copy/pasted code.

2011-09-27  Murray Cumming  <murrayc@murrayc.com>

	Add libglom::layout_field_should_have_navigation().

	* glom/mode_data/datawidget/datawidget.cc: Constructor: Moved decision code
	from here to here:
	* glom/libglom/db_utils.[h|cc]: Added layout_field_should_have_navigation().

2011-09-26  Murray Cumming  <murrayc@murrayc.com>

	Document: Use CSS3 formatting for colors, via Gdk::RGBA.

	* glom/mode_design/layout/dialog_layout_list_related.cc:
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_line.cc:
	* glom/utility_widgets/canvas/canvas_line_movable.[h|cc]: Use Gdk::RGBA
	instead of Gdk::RGBA everywhere now that goocanvas(mm) supports it.

2011-09-26  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2011-09-26  Murray Cumming  <murrayc@murrayc.com>

	Fixed the ChangeLog

2011-09-26  Murray Cumming  <murrayc@murrayc.com>

	Related Records: Do not try to navigate to an empty record.

	* glom/mode_data/box_data_list_related.cc: on_adddel_user_requested_edit():
	Ignore clicks on the open button of the empty placeholder row, whose
	primary key is null.

2011-09-22  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Add an Align menu.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]: Add
	menu items for align top, bottom, left, and right. I don't much like the
	copy/pasteness of the code, but it works.

2011-09-22  Murray Cumming  <murrayc@murrayc.com>

	Layout window: Correct the vertical order of Add buttons.

	* ui/developer/window_data_layout.glade: This has been mixed up since some
	time recently, probably due to Glade changes.

2011-09-21  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Show contents of System Preferences in Fields.

	* glom/base_db.cc: get_field_value_in_database(): Only complain about
	a missing key if the relationship needs one.
	* glom/libglom/document/document.cc:
	* glom/print_layout/canvas_layout_item.cc: set_db_data(): Show an
	empty image if there is no pixbuf.
	* glom/print_layout/canvas_print_layout.[h|cc]: Added
	fill_with_data_system_preferences() to show details from the system
	preferences, if appropriate. This is possible because we do not need a
	specific record to show values from the one record in System Preferences.
	add_canvas_layout_item(), on_context_menu_edit(): Call it.

2011-09-21  Murray Cumming  <murrayc@murrayc.com>

	Details: Avoid warning when using System Preferences fields.

	* glom/libglom/document/document.cc: get_field_used_in_relationship_to_one():
	Do not complain when the system preferences table is not found.

2011-09-21  Murray Cumming  <murrayc@murrayc.com>

	Avoid "m_backend is NULL" warning at startup.

	* glom/libglom/connectionpool.[h|cc]: Added get_instance_is_ready().
	* glom/application.cc: update_userlevel_ui(): Use it, because it might not
	be ready, causing a (harmless) stderr warning.

2011-09-21  Murray Cumming  <murrayc@murrayc.com>

	1.19.11

2011-09-21  Murray Cumming  <murrayc@murrayc.com>

	Require latest libgdamm, for the Value::operator=() fix.

	* configure.ac: This avoids a blank details view when changing to developer
	mode.

2011-09-20  Murray Cumming  <murrayc@murrayc.com>

	Details: Avoid an empty layout when changing to developer mode.

	* glom/mode_data/box_data_details.cc: on_userlevel_changed(): Recreate
	and refill the layout, instead of just recreating it.

2011-09-20  Murray Cumming  <murrayc@murrayc.com>

	Some checks for GValues with invalid types.

	* glom/libglom/data_structure/glomconversions.cc: value_is_empty():
	Also check for a 0 GType, which now (in libgda-5.0) means invalid, not
	SQL-null.
	* glom/mode_data/box_data_details.cc:
	set_found_set_from_primary_key_value(): Use value_is_empty() instead of
	checking for a null value.

2011-09-20  Murray Cumming  <murrayc@murrayc.com>

	Changelog fixes

2011-09-20  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Use foregroud colors from the text/field formatting.

	* glom/print_layout/canvas_layout_item.cc: apply_formatting():
	Correctly use the foreground color, though the background color is not
	used yet.

2011-09-20  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Layout: Fix alignment/expansion of the line options.

	* ui/developer/window_data_layout.glade: Remove some horizontal expand=true.

2011-09-20  Murray Cumming  <murrayc@murrayc.com>

	Correct the ChangeLog

2011-09-20  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Related Records: Do not show editing formatting options.

	* glom/mode_design/layout/dialog_layout.[h|cc]: Add m_editable_layout,
	defaulting to true.
	* glom/mode_design/layout/dialog_layout_details.cc: on_button_formatting():
	Use m_editable_layout to avoid showing some formatting options.
	* glom/mode_design/layout/dialog_layout_list_related.cc: set_document():
	Set m_editable_layout to false for print layout.

2011-09-19  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Use the correct numeric formatting.

	* glom/print_layout/canvas_print_layout.cc: set_canvas_item_field_value():
	For instance, use the default field formatting. Otherwise numbers tend
	to have thousands separators and no decimal places by default.

2011-09-19  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-09-19  Murray Cumming  <murrayc@murrayc.com>

	Images: Avoid a warning when choosing.

	* glom/utility_widgets/imageglom.cc: on_menupopup_activate_select_file():
	Avoid a warning about reinitializing a GValue when choosing an image file.

2011-09-17  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2011-09-15  Martin Srebotnjak  <miles@filmsi.net>

	Updated Slovenian translation

2011-09-15  dmustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-09-13  Murray Cumming  <murrayc@murrayc.com>

	Remove the Add Related Table feature.

	* glom/application.cc: init_menus():
	* glom/frame_glom.[h|cc]: on_menu_Tables_AddRelatedTable(): Remove the
	Tables/Add Related Table menu item (and feature) because, though it is
	useful, it requires explanation and is probably confusing to new users.

	Of course you can still add tables and then a relationship to them manually.

2011-09-12  Murray Cumming  <murrayc@murrayc.com>

	1.19.10

2011-09-12  Murray Cumming  <murrayc@murrayc.com>

	UsesRelationship: Added get_relationship_display_name().

	* glom/mode_design/layout/dialog_layout_calendar_related.cc: update_ui():
	* glom/mode_design/layout/dialog_layout_list_related.cc: update_ui():
	Move some code into
	* glom/libglom/data_structure/layout/usesrelationship.[h|cc]:
	get_relationship_display_name() to avoid repetition.

2011-09-12  Murray Cumming  <murrayc@murrayc.com>

	Related Records: Correct automatic navigation to related relationships.

	* glom/base_db.[h|cc]: get_portal_navigation_relationship_automatic():
	Remove the unused (well, should have been unused) navigation_main output
	parameter.
	Document the method so we know what the parameters and result really mean.
	In particular, a empty result means that the portal's regular relationship
	should just be used.
	* glom/mode_data/box_data_portal.[h|cc]: get_suitable_table_to_view_details():
	Document its parameters so we know what table the relationship belongs to,
	if any relationship is even needed.
	Use get_navigation_relationship_specific() if specified and correct the
	logic so that the correct table is always used.
	get_suitable_record_to_view_details(): Document this too.
	* glom/mode_design/layout/dialog_layout_calendar_related.cc: update_ui():
	* glom/mode_design/layout/dialog_layout_list_related.cc: update_ui():
	Adapted.

2011-09-09  Murray Cumming  <murrayc@murrayc.com>

	ComboGlom::set_value(): Do not cause a change to be signalled.

	* glom/mode_data/datawidget/combo.[h|cc]: Prevent unsuitable signal
	emissions when setting the value programatically.

2011-09-09  Murray Cumming  <murrayc@murrayc.com>

	Do not create XML documents containing form feeds.

	* glom/libglom/utils.[h|cc]: Added string_clean_for_xml(), though it is
	currently inefficient and copies the whole string even when not changing it.
	* glom/libglom/document/document.cc: set_child_text_node(),
	set_node_text_child_as_value(), save_before(): Always use that utility
	method before giving the child text string to libxml, because libxml will
	just write it out to the file, creating an invalid XML file that it can't
	read back in.

2011-09-09  Murray Cumming  <murrayc@murrayc.com>

	Related records portals: Allow navigation via read-only relationships.

	* glom/mode_data/box_data_list_related.cc: on_adddel_user_requested_edit():
	Remove the check for a non-editable relationship, because that is about
	editing, but this is about opening, and we already have the navigation=None
	option.

2011-09-09  Murray Cumming  <murrayc@murrayc.com>

	Improve some stdcerr output.

2011-09-09  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-09-09  Murray Cumming  <murrayc@murrayc.com>

	Script Library: Prevent a crash when opening the dialog.

	* ui/developer/dialog_script_library.glade: Change the GtkComboBox to a
	GtkComboBoxText as intended, to prevent a crash when it has no model.
	* glom/utility_widgets/combo_textglade.[h|cc]: Add a check that there is a
	model.

2011-09-09  Murray Cumming  <murrayc@murrayc.com>

	This one actually works, and works around the GdaNumeric problem in pygobject.

2011-09-08  Murray Cumming  <murrayc@murrayc.com>

	DataWidget: Do not expand the Open and Find buttons.

	* glom/mode_data/datawidget/datawidget.cc: Use Gtk::PACK_SHRINK.

2011-09-08  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Do not show the formatting context menu items when it is useless.

	* glom/print_layout/canvas_print_layout.cc: on_item_show_context_menu():
	Disable the formatting context menu item when appropriate.

2011-09-08  Murray Cumming  <murrayc@murrayc.com>

	Use pygobject-3.0

	* configure.ac: Instead of pygobject-2.0. Because everything else (such as
	the gi.repository.Gda seems to use it, and initializing pygobject-2.0 breaks
	that.

2011-09-08  Murray Cumming  <murrayc@murrayc.com>

	Remove the Mameo UI.

	* Makefile.am:
	* Makefile_glom.am:
	* configure.ac:
	* glom/*.[h|cc]: Remove the --enable-maemo option and the ifdefs in the code.
	Unforunately, the platform is dead so that Hildon API will never be available
	to us in the real world.

2011-09-08  Murray Cumming  <murrayc@murrayc.com>

	startup: Check that the gi.repository python module is available.

	* glom/main.cc: Actually call check_gir_is_available_with_warning() and do
	that before checking for Gda inside it.

2011-09-08  Murray Cumming  <murrayc@murrayc.com>

	Always escape strings, to fix a libpq hang.

2011-09-07  Murray Cumming  <murrayc@murrayc.com>

	Set sourceparts too

2011-09-06  dmustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-09-05  Murray Cumming  <murrayc@murrayc.com>

	Glade files: Alignment corrections.

	* ui/developer/box_formatting.glade:
	* ui/developer/dialog_choose_field.glade:
	* ui/developer/window_groups.glade:
	* ui/operator/dialog_import_csv.glade: Use fill=true
	for the packing of labels in GtkTable, so their
	alignment is actually used. For instance, this makes
	labels line up to the left or right.
	* ui/developer/dialog_user.glade: Also use a : at the
	end of labels, as in other dialogs.

2011-09-02  Murray Cumming  <murrayc@murrayc.com>

	Fix expansions in glade files.

	* ui/developer/*.glade:
	* ui/operator/*.glade: expand/fill corrections and some alignment corrections.

2011-09-01  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-09-01  Murray Cumming  <murrayc@murrayc.com>

	Field Definition window: Fix vertical packing.

	* ui/developer/window_field_definition_edit.glade: Some GtkTable children
	had vertical expand=true.

2011-09-01  Murray Cumming  <murrayc@murrayc.com>

	Replace deprecated Gtk::HBox and Gtk:VBox with Gtk::Box.

	* glom/*.[h|cc]: HBox and VBox are deprecated.
	However, these are still used in the .glade files.

2011-09-01  Murray Cumming  <murrayc@murrayc.com>

	Alignment corrections.

2011-09-01  Murray Cumming  <murrayc@murrayc.com>

	Alignment corrections.

2011-09-01  Murray Cumming  <murrayc@murrayc.com>

	Update EggSpreadTableDnd from libegg.

	* glom/utility_widgets/eggspreadtable/eggspreadtablednd.[h|c]:
	Updated from libegg.
	* glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.[h|cc]:
	Wrap the new API to add and remove widgets. Note the extra reference() in
	remove_child(), like Gtk::Container::remove().
	* glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc: Adapt.
	* glom/utility_widgets/flowtable.[h|cc]: Adapt and make several corrections,
	for instance to really find our intermediate hbox parents.
	However, there is still a warning (from our code) about trying to remove a
	hbox that has no parent.
	* glom/mode_data/flowtablewithfields.[h|cc]: Remove the add_before parameters,
	always adding at the end, because we do not need the ability to insert
	anywhere else, and doing so required examining the children, but
	EggSpreadTableDnd adds internal children that we don't want to care about.

2011-09-01  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-08-31  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Allow the user to choose row and column line widths and color.

	* glom/libglom/data_structure/layout/layoutitem_portal.[h|cc]: Added
	get/set_print_layout_row_line_width(),
	get/set_print_layout_column_line_width(), and
	get/set_print_layout_line_color().
	* glom/libglom/document/document.cc: load_after(), save_before(): Store the
	new details in the document.
	* ui/developer/window_data_layout.glade: Added an optional extra section
	with line details for print layouts.
	* glom/mode_design/layout/dialog_layout_list_related.[h|cc]: Use the new
	widgets, hiding them for non-print-layout uses.
	* glom/mode_design/layout/dialog_layout_details.[h|cc]: Hide the new widgets
	by default.
	* glom/utility_widgets/canvas/canvas_table_movable.[h|cc]:
	Added set_line_details().
	* glom/print_layout/canvas_layout_item.cc:
	create_canvas_item_for_layout_item(): Call set_line_details().

2011-08-30  Murray Cumming  <murrayc@murrayc.com>

	Disable the canvas test.

	* Makefile_tests.am: Because it doubles the build time.

2011-08-30  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Line editing: Allow decimal places.

	* ui/developer/dialog_line.glade: Add an outer border, to match the other
	dialogs. Let the SpinButton show (and allow) 3 decimal places.

2011-08-30  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Slight improvement to image scaling.

	* glom/utility_widgets/canvas/canvas_image_movable.cc: scale_to_size():
	Use the correct size in pixels to scale the image.
	However, it is still overscaled and cropped due to goocanvas bug #657592 .

2011-08-29  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2011-08-29  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Allow editing of line width and color.

	* Makefile.am:
	* Makefile_glom.am:
	* ui/developer/dialog_line.glade:
	* glom/mode_design/layout/layout_item_dialogs/dialog_line.[h|cc]:
	Added a new dialog for editing line details, such as width and color.
	* tests/test_glade_derived_instantiation.cc: Test new new dialog.

	* glom/libglom/data_structure/layout/layoutitem_line.[h|cc]: Added
	get/set_line_width() and get/set_line_color().
	* glom/libglom/document/document.cc: load_after(), save_before(): Store
	these new details in the document.
	* glom/print_layout/canvas_layout_item.cc:
	* glom/print_layout/canvas_print_layout.[h|cc]: Allow editing by showing
	this new dialog.

2011-08-29  Murray Cumming  <murrayc@murrayc.com>

	Load whole glade files, to get secondary objects without listing them.

	* glom/glade_utils.h: helper_get_glade_widget_derived_with_warning():
	Add a bool so we can choose to load the whole .glade file.
	get_glade_widget_derived_with_warning(): Load the whole file.
	Add get_child_glade_child_widget_derived_with_warning(), which does not load
	the whole file.
	* glom/frame_glom.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_field_layout.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_formatting.cc:
	* glom/mode_design/print_layouts/dialog_text_formatting.cc: Use this to load
	boxes when we do not want the whole window that they are in.

	This was the main reason for splitting the .glade files up - to work
	around GtkBuilder's inability to automatically load secondary objects.

2011-08-28  Murray Cumming  <murrayc@murrayc.com>

	Remove unused .glade file.

	* ui/developer/dialog_layoutitem_properties.glade:
	* Makefile.am: This glade file is not used by any code.

2011-08-27  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Related records portals: Use the normal outline stroke.

	* glom/utility_widgets/canvas/canvas_group_resizable.[h|cc]: Add
	a static get_outline_stroke() method.
	* glom/print_layout/canvas_layout_item.cc:
	create_canvas_item_for_layout_item(): Use it here.

2011-08-27  Murray Cumming  <murrayc@murrayc.com>

	Print Layouts: Default to 12-point text instead of 9.

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	Use a grid size, and item sizes, suitable for 12 point text.
	create_empty_item(): Make sure we stop LayoutItem_Field items from
	using default formatting, which is not for print layouts.
	Set a default font size for anything that has text formatting.
	* glom/mode_design/relationships_overview/canvas_group_dbtable.cc:
	Constructor: Use 12 points instead of 10 points, though this should
	be configurable anyway.

2011-08-27  Murray Cumming  <murrayc@murrayc.com>

	Minor uppercase correction for font names

2011-08-27  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Make item sizes match the grid size by default.

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	create_empty_item(): Base the default item sizes on the grid gap,
	so they are more useful.

2011-08-26  Murray Cumming  <murrayc@murrayc.com>

	Allow deletion of multiple selected items via the context menu.

	* glom/print_layout/canvas_print_layout.[h|cc]: on_context_menu_delete():
	If the deleted item was selected, delete all selected items.

2011-08-23  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Related records: Corrections for column sizes.

	* glom/print_layout/canvas_layout_item.cc: create_canvas_item_for_layout_item():
	Related records table: Use an extra GooCanvasRect to make sure that the
	cell size is really what we want, avoiding GooCanvasText's and GooCanvasTable's
	attempts to be cleverer than we want.
	Also, make sure that the last column is expanded, regardless of any size
	specified, if all the other columnd had specified sizes.

2011-08-22  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Related Records: Set the row height.

	* glom/print_layout/canvas_layout_item.cc: We can do this now that the
	goocanvas bug has been fixed, though configure should check for it when the
	tarball version exists.

2011-08-22  Murray Cumming  <murrayc@murrayc.com>

	Print Layout / Relationships Overview: Avoid errors with & in the text.

	* glom/utility_widgets/canvas/canvas_text_movable.cc: reconstruct_markup:
	Escape the text before using it to build markup. Otherwise pango will complain
	(correctly) about & in the text.

2011-08-22  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Do not show navigation options for related records portals.

	* glom/mode_design/layout/dialog_layout_list_related.[h|cc]:
	set_document(): Add a new bool parametrer that can hide the navigation
	widgets because they are useless in a print layout.
	* glom/print_layout/canvas_print_layout.cc: offer_related_records():
	Use the new bool parameter.
	* ui/developer/window_data_layout.glade: Correct some packing options so
	the right parts expand, without empty space.

2011-08-15  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-08-15  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2011-08-13  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Snap to rules even when the grid is not shown.

	* glom/utility_widgets/canvas/canvas_group_grid.cc: Don't make snapping
	to rules dependent on whether the grid is showing.

2011-08-12  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Work around some weirdness in portal tables.

	* glom/print_layout/canvas_layout_item.cc:
	create_canvas_item_for_layout_item() Do not set the height of
	items in tables, because that leads to them disappearing when the
	table is moved in certain ways. I am still investigating why.
	We probably really do want to set the height.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Fixed canvas test, though it is not normally built

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Enable the canvas test.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Only show grid lines on mouseover.

	* glom/utility_widgets/canvas/canvas_table_movable.[h|cc]:
	Add set_lines_visibility().
	* glom/utility_widgets/canvas/canvas_group_resizable.cc:
	position_line_manipulators(): If the child is a table then
	also show the grid lines.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Make the manipulators the same width as the outlines.

	* glom/utility_widgets/canvas/canvas_group_resizable.cc: Change
	MANIPULATOR_STROKE_WIDTH to be the same as OUTLINE_STROKE_WIDTH,
	which is thinner.
	create_outline_line(): Prevent dragging of the outline, in case it
	ever gets high enough in the z order to be dragged.
	create_rect_manipulators(), position_line_manipulators(),
	create_outline_line(): Always raise the manipulators to the very top,
	so they are always visible and draggable. Trying to be more precise
	with raise() can apparently move them lower than other items that we
	do not mention.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Minor code style change.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Minor const improvements

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Fix compiler warning

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Do not show the rules when they should not be visible.

	* glom/print_layout/canvas_print_layout.cc: set_print_layout():
	Show the grid and rules as per the PrintLayout.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Prevent rule line dragging if rules are not shown.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	on_menu_view_show_rules(): If rules are not shown, unset the GimpRulers
	as drag sources.
	on_canvas_drag_motion(), on_canvas_drag_data_received(): Prevent
	showing the temp rule or dropping a real rule too.
	Also remove the unused (though set) m_dragging_temp_rule variable.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Add a Print Preview menu item.

	* glom/frame_glom.[h|cc]: on_menu_print_layout_selected():
	Move this into a do_print_layout() method, with optional preview
	and transient-for window.
	* glom/application.[h|cc]: Added do_print_layout() so we can do this
	from other parts of the code.
	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Add a Print Preview menu item that calls the method on the
	application, though transient to this window.
	It shows data from the currently-selected record, even though that
	might not be very visible to the user.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Make text formatting work for field items.

	* glom/print_layout/canvas_print_layout.cc: on_context_menu_edit(),
	on_dialog_format_hide(): Never use default formatting for fields,
	because that formatting is for regular layouts, and we do not
	even let the user toggle whether to use it.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Don't move fields to 0,0 when choosing the field.

	* glom/mode_design/layout/dialog_choose_field.cc: get_field():
	Preserve the extra details of the start field, such as formatting
	and print layout position.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Actually allow the user to change the text formatting.

	* glom/mode_design/layout/layout_item_dialogs/box_formatting.cc:
	When used for a print layout, enable the hidden checkboxes, because
	other code checks for them.
	* glom/print_layout/canvas_print_layout.cc: on_context_menu_formatting():
	Make the dialog transient for the parent window.
	Also, do not show numeric formatting for text items.

2011-08-11  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Correct drag positions when scrolled.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Correct the rule position indicators, the rule drag positions, and
	item drag positions, when the viewport is scrolled.
	canvas_convert_from_drag_pixels(): Add a bool adjust_for_scrolling
	option, because the motion-notify-event signal already takes the
	scroll offset into account, but the drag-motion signal does not.
	That does not seem to be documented.

2011-08-10  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Make items transparent.

	* glom/utility_widgets/canvas/canvas_group_resizable.cc:
	create_rect_manipulators(): Make items transparent instead of white.

2011-08-10  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Allow rules to be moved.

	* glom/utility_widgets/canvas/canvas_line_movable.[h|cc]: Added
	set_hover_color() and make sure that color is used when the mouse is
	over the line.
	* glom/utility_widgets/canvas/canvas_group_grid.[h|cc]:
	Use CanvasLineMovable instead of PolyLine for rules, so it can
	be moved. Make it appear red when hovering over it. Store the
	lines instead of just the positions, so we can get the latest positions
	later. This is rather inefficient, but it works.

2011-08-10  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-08-10  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Save the rules and the various show/hides.

	* glom/glom_document.dtd: Add the new nodes and attributes.
	* glom/libglom/document/document.cc: load_after(), save_before():
	Load and save these in the document.

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	set_print_layout(): Set the menu actions from the PrintLayout
	so, for instance, the grid is shown if it was shown last time.
	* glom/print_layout/canvas_print_layout.cc:
	set_print_layout(): Load and save the rules too.
	* glom/utility_widgets/canvas/canvas_group_grid.[h|cc]:
	Added remove_rules() and get_horizontal/vertical_rules().
	* glom/utility_widgets/canvas/canvas_editable.[h|cc]:
	Added remove_rules() and get_horizontal/vertical_rules(),
	calling the same methods in the grid.
	* glom/libglom/data_structure/print_layout.[h|cc]:
	Added get/set_grid/rules/outlines() and
	get_horizontal/vertical_rules().

2011-08-10  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Allow dragging of rules from the rulers.

	* glom/utility_widgets/canvas/canvas_group_grid.[h|cc]:
	Added show_temp_rule().
	* glom/utility_widgets/canvas/canvas_editable.[h|cc]:
	Added show_temp_rule(), calling the one in the grid.
	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Constructor: Add a special target to the canvas (drag destination).
	Handle button-press on the rulers to identify the orientation.
	on_canvas_drag_motion(): Handle the new target, showing the temporary
	rule line.
	on_canvas_drag_data_received(): Handle the new target, adding a real
	rule line.
	on_canvas_drag_leave(): clean up.

	The rule lines are not saved to the document yet.

2011-08-10  Murray Cumming  <murrayc@murrayc.com>

	Removed unused method.

2011-08-09  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Actually show rules, if there are some.

	* glom/utility_widgets/canvas/canvas_group_grid.[h|cc]:
	create_lines(): Split this into two methods, and make sure that
	the z order is correct, so that we can really show the grid and
	rules independently, without needing to recreate both at the
	same time.
	Added set_rules_visiblity() to do so.
	add_horizontal_rule(), add_vertical_rule(): Actually create
	the rules.
	* glom/utility_widgets/canvas/canvas_editable.[h|cc]:
	Added set_rules_visibility() which just calls the same method
	in the grid.
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	on_action_menu_view_showrules(): Call it.

	Of course, there is no way to add a rule yet.

2011-08-09  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Make the window bigger by default.

2011-08-09  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Make ruler markers follow moved items.

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	on_selected_item_moved(): Show the top-left position of the group of
	items, though maybe we should show just the moved item instead.
	Inkscape does not do this at all (it just shows the cursor position),
	so some other example would be nice.

2011-08-09  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Make ruler markers follow the cursor.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Handle motion-notify-event so the rules track the cursor position.
	This is not very useful, but it feels nice, and is what other apps do.

2011-08-09  Murray Cumming  <murrayc@murrayc.com>

	Application: Remove unused member variable.

	* glom/application.[h|cc]: Remove m_pBoxSidebar.

2011-08-09  Murray Cumming  <murrayc@murrayc.com>

	Update the GimpRuler source copy.

	* glom/utility_widgets/gimpruler/gimpruler.[h|cc]:
	Updated from gimp's repository, from the gtk3-port branch.

2011-08-08  Murray Cumming  <murrayc@murrayc.com>

	Relationships Overview: Make snap to grid work.

	* glom/utility_widgets/canvas/canvas_editable.[h|cc]:
	Add associate_with_grid().
	* glom/mode_design/relationships_overview/dialog_relationships_over
	view.cc: draw_tables(): Use it so that the items' snap_position()
	methods have a grid to snap to.
	The whole grid association/add idea is generally hacky, but this makes it
	work.

2011-08-08  Murray Cumming  <murrayc@murrayc.com>

	Fix the build.

2011-08-08  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Deselect all items when clicking on the background.

	* glom/print_layout/canvas_print_layout.[h|cc]:
	set_page_setup(): Handle button-press-event signals on the background,
	deselecting any selected items.
	create_margin_line(): Do the same if the user manages to click on a
	line instead.

2011-08-08  Murray Cumming  <murrayc@murrayc.com>

	Relationships Overview: Correct the packing in the dialog.

	* ui/developer/dialog_relationships_overview.glade:
	Let the scrolledwindow expand. This was really silly and must have
	happened during some edit with a bad version of Glade.

2011-08-08  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Select All: Added ctrl-A keyboard shortcut.

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	init_menus(): Because it is not part of the stock item, for some reason.

2011-08-08  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Add Select All and Unselect All menu items.

	* glom/print_layout/canvas_print_layout.[h|cc]: Added select_all(bool)
	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	init_menus(): Edit menu: Add Select All and Unselect All menu items,
	which call that method.

2011-08-08  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Add a Show Outlines menu item

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]
	View menu: Add Show Outlines, with a handler, to show the extents of
	the items.
	* glom/utility_widgets/canvas/canvas_group_resizable.[h|cc]:
	Added a new group with lines, in a thinner fainter gray, to indicate
	the outline. Added set_outline_visible() to show it.
	Move it whenever the child item moves, like the manipulator lines.
	* glom/print_layout/canvas_print_layout.[h|cc]:
	Added set_outlines_visibility() to call this on all items.
	Store the value as a bool so we can use it again in
	add_canvas_layout_item().

2011-08-08  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Allow moving of multiple items via x and y numbers.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	on_canvas_selection_changed(): Move the calculation of the group
	dimensions into get_dimensions_of_multiple_selected_items().
	on_spinbutton_x(), on_spinbutton_y(): Use the new method to get the
	old dimensions, so we can calculate the offset and then apply it to
	all items, moving them together.

2011-08-08  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Snap to grid when dragging items from the toolbar.

	* glom/utility_widgets/canvas/canvas_group_resizable.h:
	snap_position(): Make this public.
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	on_canvas_drag_motion(), on_canvas_drag_data_received():
	Snap the position to the grid (or rules), like we do when dragging
	an existing item.

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Improve the grid appearance.

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	on_menu_view_show_grid(): Use a smaller grid gap, which seems more useful.
	* glom/utility_widgets/canvas/canvas_group_grid.cc:
	create_rule_line(): Make the lines thinner and light blue instead of
	gray.

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	CanvasGroupGrid: Simplify rule creation.

	* glom/utility_widgets/canvas/canvas_group_grid.[h|cc]:
	create_grid_or_rule_line(): Rename to create_rule_line(), removing
	the bool, because that is what it is used for.

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	Fixed ChangeLog

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	Canvas_PrintLayout: Move all selected items when dragging.

	* glom/utility_widgets/canvas/canvas_item_movable.[h|cc]:
	signal_moved(): Send the item (for convenience, to avoid dodgy use of
	sigc::bind() with RefPtr<>s) and the offset of just the current part
	of the move.
	* glom/utility_widgets/canvas/canvas_group_resizable.[h|cc]:
	* glom/mode_design/relationships_overview/dialog_relationships_over
	view.[h|cc]: Adapt.
	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	on_selected_item_moved(): Move all the other selected items by the
	same amount.

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	Canvas_PrintLayout: Selecting unselects others. Allow shift-clicking.

	* glom/utility_widgets/canvas/canvas_item_movable.[h|cc]:
	signal_selected(): Also send the item (this), to avoid the need for
	awkward (due to keeping a reference) sigc::bind()ing of RefPtr<>s.
	Send a bool group_select parameter too, so we know if the button
	press (corresponding to the button release) was with the shift key
	held down.
	* glom/utility_widgets/canvas/canvas_editable.[h|cc]:
	on_item_selected(): Deselect other already-selected items if
	the select was not with shift held down.

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	Deal with minor TODO

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	CanvasItemMovable: set_selected(): Do not emit the signal here.

	* glom/utility_widgets/canvas/canvas_item_movable.cc:
	set_selected(): Do not emit signal_selected here, because it should
	only be emitted when the user causes it.
	on_button_release_event(), on_motion_notify_event():
	Emit the signal if necessary.

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	Canvas_PrintLayout: Edit menu: Support multiple items.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	on_canvas_selection_changed(): Store all the seleced items in a
	vector instead of just one.
	on_menu_edit_copy(): Clone all the selected items in a vector,
	instead of just one.
	on_menu_edit_paste(): Paste all the items, instead of just one.
	on_menu_edit_delete(): Delete all the items, instead of just one.
	on_spinbutton_*(): Adapt. These still assume that the SpinButtons
	are only editable when only one item is selected.

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	Canvas_PrintLayout: Update position numbers when moving items.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	on_canvas_selection_changed(): Connect to the item's signal_moved,
	so we can update the spinbuttons during the move.
	on_spinbutton_*(): Ignore the spinbutton signals while we are setting
	them programatically, to avoid an endless loop.
	* glom/utility_widgets/canvas/canvas_item_movable.cc:
	set_selected(): Emit the signal here if it has changed, rather than
	always doing it after the call.
	on_motion_notify_event(): Mark the item as selected whenever it is
	moved, therefore emitting the signal.

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	Canvas_PrintLayout: Fix typo to pass the item by reference.

	* glom/print_layout/canvas_print_layout.[h|cc]:
	add_canvas_layout_item(): Add a missing & to the parameter.

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Implement cut/copy/paste/delete.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Implement the edit menu, enabling/disabling the menu items based on
	whether something has been selected or previously copied.
	* glom/utility_widgets/canvas/canvas_editable.[h|cc]: Added
	get_selected_items() here, making it virtual. The override in
	Canvas_PrintLayout is the only real implementation so far.
	Added remove_item().
	remove_all_items(): Emit signal_selection_changed if something
	was selected.
	* glom/print_layout/canvas_print_layout.[h|cc]:
	Added remove_canvas_layout_item().
	Removed update_layout_position_from_canvas(), putting it in
	Canvas_LayoutItem instead.
	* glom/print_layout/canvas_layout_item.[h|cc]:
	Added update_layout_position_from_canvas().

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	CanvasPrintLayout: Remove unused method overload.

	* glom/print_layout/canvas_print_layout.[h|cc]: get_selected_items():
	The const overload is not used so remove it.

2011-08-07  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Cache the selected item.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Store the selected item, when it changes, instead of repeatedly
	requesting it, which requires iteration.

2011-08-06  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-08-06  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2011-08-06  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-08-06  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Allow editing of positions and size numerically,

	* ui/developer/window_print_layout_edit.glade: Add a row of SpinButtons
	at the bottom to show the position and dimensins of the selected item,
	also letting the user change them by changing the numbers.
	* glom/utility_widgets/canvas/canvas_item_movable.[h|cc]:
	Added signal_selected().
	* glom/utility_widgets/canvas/canvas_editable.[h|cc]:
	Added signal_selection_changed().
	* glom/print_layout/canvas_print_layout.[h|cc]:
	Added get_selected_items().
	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Constructor: Get the SpinButton widgets from Gtk::Builder, and set their
	values when an item is selected. Also change the item when the values in
	the SpinButtons change.

2011-08-05  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Allow the user to select items with a click.

	* glom/utility_widgets/canvas/canvas_item_movable.[h|cc]:
	Added get/set_selected() and a virtual show_selected() which it calls.
	on_button_release_event(): set the item as
	- selected if it unselected and the clicked without a move.
	- unselected if it was selected and clicked without a move.
	- selected if it was moved.
	This is roughly like Inkscape's behaviour.
	* glom/utility_widgets/canvas/canvas_group_resizable.[h|cc]:
	Split the manipulator group into two groups (edges and corners),
	so we can (re)use the edges to show selection.
	Implement show_selected() to show/hide the edges.
	set_manipulator_visibility(): Make sure that we don't hide the
	edges that are visible to show selection.

	This doesn't actuall do anything useful yet, but it will let us
	do things to the selected item(s), such as editing their position via
	coordinate numbers, moving them together, or copy/paste/cut/deleting
	them via the menus.

2011-08-05  Murray Cumming  <murrayc@murrayc.com>

	Simplify a line of code

2011-08-05  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output

2011-08-05  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Avoid warnings about -1 width.

	* glom/utility_widgets/canvas/canvas_group_movable.cc: get_width_height(),
	* glom/utility_widgets/canvas/canvas_group_resizable.cc: get_width_heigh():
	Do not return -1, which groups default to, to mean some default size.
	This was not really used anyway, and was rejected when applied to non-group
	goocanvas items.

2011-08-05  Murray Cumming  <murrayc@murrayc.com>

	Developer menu: Move the Developer item after Operator.

	* glom/application.cc: When the user changes this, he generally changes
	from operator to developer, so this feels more natural.

2011-08-05  Murray Cumming  <murrayc@murrayc.com>

	Print Layout Window: default to 100% size

	* glom/mode_design/print_layouts/window_print_layout_edit.cc: init_menu():
	Default to 100% instead of fit-to-width, because this seems to give a
	better idea that it is a page, by being more like applications such as
	OpenOffice/LibreOffice write.

2011-08-05  Murray Cumming  <murrayc@murrayc.com>

	Print Layout Window: Make the top widgets more compact.

	* ui/developer/window_print_layout_edit.glade:
	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Make the table title/name a simple bold label with no Table: label,
	as now in the main window. Make the other labels non-bold.
	Make sure that we really show the table title with the name in brackets,
	by removing an unused (but checked) widget pointer.

2011-08-05  Murray Cumming  <murrayc@murrayc.com>

	Print Layout: Correct drag position even when the layout is scrolled.

	* glom/mode_design/print_layouts/window_print_layout_edit.[h|cc]:
	Add and use canvas_convert_from_drag_pixels() to avoid the offset when
	dragging an item from the toolpalette to the canvas when the canvas is
	scrolled down.

2011-08-04  Murray Cumming  <murrayc@murrayc.com>

	Print Layouts: Make corner and edges snap to the grid too.

	* glom/utility_widgets/canvas/canvas_group_resizable.[h|cc]:
	Add a set_grid() override(), as in CanvasGroupMovable, so that the
	manipulator items also know about it, even though the manipulators
	were created earlier, in the constructor.

	Previously snapping to the grid only worked while moving whole items.

2011-08-04  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output

2011-08-02  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2011-08-01  Murray Cumming  <murrayc@murrayc.com>

	1.19.9

2011-07-30  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-07-30  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2011-07-27  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-07-26  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-07-25  Murray Cumming  <murrayc@murrayc.com>

	Design: Related Records: Allow the developer to specify how many rows to show.

	* glom/libglom/data_structure/layout/layoutitem_portal.[h|cc]: Add
	set/get_rows_count() to specify how many rows to show.
	* glom/libglom/document/document.cc: Load and save that rows count.
	* ui/developer/window_data_layout.glade: Add a SpinButton to specify the
	number of rows to show in related records portals.
	* glom/mode_design/layout/dialog_layout_details.[h|cc]: Get that widget,
	but hide it in this base class.
	* glom/mode_design/layout/dialog_layout_list_related.[h|cc]:
	Constructor: Show and setup the spinbutton.
	set_document(): Set the spinbuttons's contents.
	save_to_document(): Save it back to the portal layout item.
	* glom/mode_data/box_data_list_related.cc: create_layout():
	Use DbAddDel::set_height_rows() to try to show the correct number of rows.

2011-07-20  Murray Cumming  <murrayc@murrayc.com>

	Removed debug output.

2011-07-20  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Ignore warning about invalid GdaBinary GValue.

	* glom/utility_widgets/imageglom.[h|cc]: Add and use get_binary() method,
	to avoid trying to get a GdaBinary from a null (type) Gnome::Gda::Value.

2011-07-19  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Add commented-out code to load PDFs from memory.

	* glom/utility_widgets/imageglom.cc: This needs new API in bug #654832

2011-07-15  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-07-15  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Save temp files as read-only to avoid unexpected data loss.

	* glom/utility_widgets/imageglom.cc: save_temp_file(): Set the file
	permissions.

2011-07-15  Murray Cumming  <murrayc@murrayc.com>

	Avoid autoconf warning about datarootdir.

	* glom/libglom/glom.pc.in: Set datarootdir to avoid this warning:
	config.status: WARNING:  'glom/libglom/glom.pc.in' seems to ignore the --datarootdir setting
	as suggested here:
	http://www.gnu.org/software/hello/manual/autoconf/Changed-Directory-Variables.html

2011-07-15  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Do not try to get a thumbnail for non-image, non-evince types.

	* glom/utility_widgets/imageglom.cc: Just use g_content_type_get_icon(),
	to avoid saving temporary files of huge content, such as video, when just
	navigating through rows.

2011-07-15  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Remove unused member variable.

	* glom/utility_widgets/imageglom.[h|cc]: Also add a comment that
	gnome_desktop_thumbnail_factory_new() didn't work either when I tried it.

2011-07-15  Murray Cumming  <murrayc@murrayc.com>

	1.19.8

2011-07-14  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Set an appropriate default file filter.

	* glom/utility_widgets/imageglom.cc: evince-view sets its own default,
	but that's not ideal for us.

2011-07-14  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output

2011-07-14  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Use G_FILE_ATTRIBUTE_STANDARD_ICON

	* glom/utility_widgets/imageglom.cc: If G_FILE_ATTRIBUTE_THUMBNAIL_PATH
	doesn't work, use the standard icon. This does seem to work.

2011-07-14  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Try to use G_FILE_ATTRIBUTE_THUMBNAIL_PATH for other file types.

	* glom/utility_widgets/imageglom.[h|cc]: show_image_data():
	Get the mime_types supported by GdkPixbuf and only try to use it if we have
	a suitable mime type. Otherwise try to get a thumbnail from GFileInfo.
	That doesn't work now, probably because we should do that async.

2011-07-14  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Remove some unnecessary code.

	* glom/utility_widgets/imageglom.cc: get_value(): Don't use the pixbuf just
	to get the value.

2011-07-14  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output

2011-07-14  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Another scaling fix.

	* glom/utility_widgets/imageglom.cc: get_scaled_image(): Don't return
	an empty pixbuf just because the pixbuf doesn't not need to change.

2011-07-14  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output.

2011-07-14  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Remove limits so we always scale, and use on_size_allocate().

	* glom/utility_widgets/imageglom.[h|cc]: Use on_size_allocate() instead of
	on_draw(), which is slightly wiser.
	Remove the hard-coded checks for minumum and maximum sizes, because
	we get an initial allocation of 1, and because the max was arbitrarily small.

	This works now, but we still need to make the window get smaller when
	the GtkImage requests less space.

2011-07-14  Murray Cumming  <murrayc@murrayc.com>

	Fix a typo

2011-07-14  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-07-14  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-07-13  Joe Hansen  <joedalton2@yahoo.dk>

	Updated Danish translation

2011-07-13  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2011-07-13  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Remove hard-coded mentions of PNG file formats.

	* glom/utility_widgets/imageglom.cc: Open With: Use the actual (sniffed)
	mime type.
	Clipboard: Try to use the actual mime type, though this does not seem to
	work for any mime type now.

2011-07-13  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Show the missing image icon again.

	* glom/utility_widgets/imageglom.cc: set_value(): Clear the data, not the
	pixbuf.
	show_image_data(): Check for empty data and show the missing icon if so.

2011-07-13  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Make the context-menu work with the EvView.

	* glom/utility_widgets/imageglom.cc: Connect to the widget's own signal.

2011-07-13  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Loading/Saving: Add more FileChooser filters.

	* glom/utility_widgets/imageglom.cc: set_file_filter_images():
	Use ev_document_factory_add_filters().

2011-07-13  Murray Cumming  <murrayc@murrayc.com>

	Image fields: Support PDF (and other types supported by evince)

	* configure.ac: Depend on evince-view-3.0, which is a library installed by
	evince. It is packaged separately from evince by distros.
	* glom/main.cc: Call ev_init().
	* glom/utility_widgets/dialog_image_load_progress.[h|cc]: Remove
	get_pixbuf() and do not use Gdk::PixbufLoader here.
	* glom/utility_widgets/imageglom.[h|cc]: Create the pixbuf here, from
	the data from the dialog.
	Add an EvView, and use that instead of the Gtk::Image when the mime type is
	supported by EvView. We use g_content_type_guess() to sniff the mime type
	from the actual data, but this will probably not always work. We should
	store the mime type (and the filename) too.

	The context menu doesn't work with the EvView yet.

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	1.19.7

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Saving is now mostly async.

	* glom/utility_widgets/dialog_image_save_progress.[h|cc]: Doing the actual
	writing in callbacks, like in the loader.
	* glom/utility_widgets/imageglom.cc: Show the dialog, so we can use the
	idle callbacks, and give user feedback.

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Allow the user to choose any file.

	* glom/utility_widgets/imageglom.cc: However, we are still restricted to
	what GdkPixbuf can load.

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Do not transform to PNG output when saving.

	* glom/utility_widgets/dialog_image_save_progress.[h|cc]: Replace set_pixbuf()
	with set_image_data().
	save(): Save the original data, instead of saving the data from the pixbuf.
	* glom/utility_widgets/imageglom.cc: Adapt.
	This means, for instance, that if the user loads the a JPG in then they will
	get exactly the same JPG out.

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	Some minor signed type corrections.

	* glom/libglom/connectionpool_backends/postgres.cc:
	* glom/xsl_utils.cc: Gio::FileOutputStream::write() returns a gssize, not a
	gsize.

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output.

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Size request corrections.

	* glom/utility_widgets/imageglom.cc: init(): Remove the set_size_request()
	call which does not seem necessary.
	Do not call set_image(original) after scale(), because scale() does that,
	setting the scaled image.
	This avoids the GtkImage being huge, because GtkImage re-requests the
	bigger size again when the original is put in it.
	This is still not ideal. It would be nicer if we could just say "do not
	make the window bigger than the screen, or do not make this make the
	window bigger."

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Use AppInfo instead of gtk_show_uri() for Open.

	* glom/utility_widgets/imageglom.cc: For the case that we have no AppInfo
	(not Open With), use the static AppInfo method, for consistency.
	This might work on Win32 too.

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	Fix comment typo.

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	Image fields: Add Open, Open With, and Save context menu items.

	* glom/utility_widgets/dialog_image_save_progress.[h|cc]:
	* ui/operator/dialog_image_save_progress.glade:
	Added a progress dialog to do image saving, though it does not yet do
	async saving so the dialog is never shown.
	* Makefile.am:
	* Makefile_glom.am:
	* po/POTFILES.in: Mention the new files.
	* glom/utility_widgets/imageglom.[h|cc]: Add the new context menu items,
	using a temporary file for the Open and Open With features.
	Open With uses AppChooserDialog to offer a choice to the user.
	Bug #630057

2011-07-12  Murray Cumming  <murrayc@murrayc.com>

	Rename Dialog_Image_Progress to DialogImageLoadProgress

	* glom/utility_widgets/dialog_image_progress.[h|cc]:
	Rename to
	* glom/utility_widgets/dialog_image_load_progress.[h|cc]:
	* tests/test_glade_derived_instantiation.cc:
	* ui/operator/dialog_image_progress.glade: Rename to
	* ui/operator/dialog_image_load_progress.glade:
	* glom/utility_widgets/imageglom.h:
	* Makefile.am:
	* Makefile_glom.am:
	* po/POTFILES.in: Adapt.

	I can then add a new dialog for saving.

2011-07-11  Ben Konrath  <ben@bagu.org>

	Add PACKAGE_TARNAME variable to pkg-config file.

	This is needed for the @docdir@ expansion used in the exampledir
	variable.

	* glom/libglom/glom.pc.in:

2011-07-11  Ben Konrath  <ben@bagu.org>

	Add exampledir variable to pkg-config file.

	* glom/libglom/glom.pc.in:

2011-07-11  Murray Cumming  <murrayc@murrayc.com>

	Removed some tab characters

2011-07-11  Murray Cumming  <murrayc@murrayc.com>

	Add translator comments.

	* glom/libglom/data_structure/field.cc:
	* glom/libglom/data_structure/layout/*.c:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	* glom/mode_data/box_data_manyrecords.cc:
	* glom/mode_data/notebook_data.cc:
	* ui/developer/dialog_script_library.glade: Add translator comments.
	Bug #638996 (Joe Hansen)

2011-07-09  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-07-08  Murray Cumming  <murrayc@murrayc.com>

	Related Records: Show enough records.

	* glom/mode_data/db_adddel/db_adddel.[h|cc]: Added set_height_rows(), so
	we can set the minimum size based on the number of rows, though this
	currently hard-codes a size for the non-rows part of the GtkTreeView, such
	as the column headers.
	* glom/mode_data/box_data_portal.cc:
	* glom/mode_data/box_data_list_related.cc: Constructors: Remove unnecessary
	calls to set_size_request().
	Call set_height_rows() instead.

	The related records Gtk::TreeViews probably became too small since the port to
	gtkmm3. We now need to use Gtk::ScrolledArea::set_min_content_height().

	However, the number of rows should probably be something for the layout to
	specify per portal.

2011-07-08  Murray Cumming  <murrayc@murrayc.com>

	Minor int->guint change.

	* glom/mode_data/db_adddel/db_adddel.[h|cc]: get_fixed_cell_height():
	Return a guint instead of an int.

2011-07-08  Murray Cumming  <murrayc@murrayc.com>

	Details: Do not navigate past the last row.

	* glom/mode_data/datawidget/treemodel_db.[h|cc]: get_last_row():
	Document that this never returns the placeholder row, and make sure that it
	does not. There was a typo that --ed the wrong variable.
	* glom/mode_data/db_adddel/db_adddel.[h|cc]: get_last_row():
	Document that this never returns the placeholder row.
	get_is_placeholder_row(): Remove an illogical call to is_last_row().
	get_count(): Remove an illogical check to see whether the last row is the
	placeholder row.
	* glom/utility_widgets/adddel/adddel.h: get_last_row(): Document that this
	similarly-APIed widget has different behaviour.

	This stops the user from being taken to an empty record when clicking Last,
	or when clicking Next to the end.
	Bug #526115 comment #25 (Michael Hasselmann)

2011-07-08  Murray Cumming  <murrayc@murrayc.com>

	DbAddDel: Remove unnecessary virtual keywords.

	* glom/mode_data/db_adddel/db_adddel.h: These methods are not meant to
	be overridden by anything.

2011-07-07  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-07-07  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-07-07  Murray Cumming  <murrayc@murrayc.com>

	1.19.6

2011-07-07  Murray Cumming  <murrayc@murrayc.com>

	About Box: Add a logo.

	* glom/application.cc: Use set_logo() though this only appears in the title
	bar for some reason.

2011-07-07  Murray Cumming  <murrayc@murrayc.com>

	Really fix the About Box.

	* glom/application.cc: Add the Help menu itself, and use set_program_name()
	instead of set_name().

2011-07-07  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-07-07  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-07-07  Murray Cumming  <murrayc@murrayc.com>

	Improve the About box.

	* glom/application.[h|cc]:
	* glom/bakery/app.[h|cc]:
	* glom/bakery/app_withdoc_gtk.[h|cc]: Move the help menu out of the
	Bakery class, doing it all in our derived Application class, to give us
	more control over the GtkAboutDialog. We do not need the abstraction any
	more.
	This restores the application description, which was probably lost when
	converting to AboutDialog.

2011-07-06  Murray Cumming  <murrayc@murrayc.com>

	Split up the developer .glade files into separate files.

	* ui/developer/:
	* glom/glade_utils.h: get_glade_widget_derived_with_warning(): Guess the
	filename based on the requested ID, for developer UI as we already did
	for operator UI.
	This makes it possible to edit these in recent versions of Glade, without
	Glade silently renaming IDs to make them unique across the whole file.
	* po/POTFILES.in:
	* Makefile.am: Mention the new files.

2011-07-06  Murray Cumming  <murrayc@murrayc.com>

	Enable silent build rules by default.

	* configure.ac: This is still only used if the automake version is recent
	enough.

2011-07-06  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-07-05  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-07-05  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output

2011-07-05  Murray Cumming  <murrayc@murrayc.com>

	ListView: Make the rows high enough.

	* glom/mode_data/db_adddel/db_adddel.cc: get_fixed_cell_height():
	Add the GtkTreeView vertical-separator style property to the height,
	which might be the right thing to do, and which works here at least.

2011-07-04  Murray Cumming  <murrayc@murrayc.com>

	Find: Make searching case-insensitive again.

	* glom/libglom/connectionpool_backends/postgres.cc:
	get_string_find_operator(): Use ILIKE, though this requires the lastest
	libgdamm from git master.
	Find has been case-sensitive since around glom 1.16, since we started
	using SqlBuilder.

2011-07-04  Murray Cumming  <murrayc@murrayc.com>

	Backends: Slight reorganization.

	* glom/libglom/connectionpool_backends/backend.h:
	* glom/libglom/connectionpool_backends/postgres.[h|cc]:
	* glom/libglom/connectionpool_backends/sqlite.[h|cc]: Move method
	implementations into the .cc files.

2011-06-26  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2011-06-23  Murray Cumming  <murrayc@murrayc.com>

	Field::sql_find(): Do not quote the string.

	* glom/libglom/data_structure/field.cc: SqlBuilder already takes
	care of quoting so this just changed the actual value.
	This makes Quick Find work again.

2011-06-23  Murray Cumming  <murrayc@murrayc.com>

	Find: Use backend-specific LIKE or ILIKE operator instead of =.

	* glom/libglom/connectionpool.[h|cc]:
	* glom/libglom/connectionpool_backends/backend.h:
	* glom/libglom/connectionpool_backends/postgres.h:
	* glom/libglom/connectionpool_backends/sqlite.h:
	get_string_find_operator(): Return the Gnome::Gda operator enum
	instead of the operator as a string.
	* glom/libglom/data_structure/field.[h|cc]: sql_find_operator():
	Likewise, return the Gnome::Gda operator enum.
	* glom/libglom/utils.cc: get_find_where_clause_quick():
	* glom/mode_data/box_data.cc: get_find_where_clause():
	Use Field::sql_find_operator() and Field::sql_find(), as per
	the TODO comments.

	This was code that I forgot to change properly when porting to
	use Gnome::Gda::SqlBuilder, so this has been broken since
	Glom 1.16.
	Find still does not work.

2011-06-23  Murray Cumming  <murrayc@murrayc.com>

	Frame: Rename a signal handler.

	* glom/frame_glom.[h|cc]: Rename on_menu_Mode_Toggle() to
	on_menu_Edit_Find() because that is what it is now.
	* glom/application.cc: Adapted.

2011-06-23  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-06-23  Murray Cumming  <murrayc@murrayc.com>

	Main window: Moved the Records/Found widgets to the top-right.

	* ui/operator/window_main.glade: Remove the footer row of widgets.
	* glom/frame_glom.[h|cc]: Instead build them manually and add them (in a box)
	to the notebook at the right-hand side next to the tabs.

2011-06-23  Murray Cumming  <murrayc@murrayc.com>

	Split the operator .glade files up into one file per top-level ID.

	* ui/operator/: Split the .glade files up, giving them the same names
	as the top-level (or almost top-level) IDs that the code looks for.
	* glom/glade_utils.h: get_glade_widget_derived_with_warning(): Guess the
	filename based on the requested ID.

2011-06-23  Murray Cumming  <murrayc@murrayc.com>

	Move .glade files into subdirectories under ui/

2011-06-23  Murray Cumming  <murrayc@murrayc.com>

	Move .glade files into a ui/ directory.

	* glom/glom.glade:
	* glom/glom_developer.glade: Moved to
	* ui/
	This will be useful when they are split up more.

2011-06-23  Murray Cumming  <murrayc@murrayc.com>

	1.19.5

2011-06-23  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-06-23  Murray Cumming  <murrayc@murrayc.com>

	Main window: Show the table title in find mode too.

	* glom/frame_glom.[h|cc]: Use an extra label for the
	find mode.

2011-06-23  Murray Cumming  <murrayc@murrayc.com>

	Do not hide table-specific menu items in Operator mode.

	* glom/application.cc: update_table_sensitive_ui().

2011-06-22  Murray Cumming  <murrayc@murrayc.com>

	Main Window: Combine the top two rows of widgets.

	* glom/utility_widgets/notebook_noframe.[h|cc]: Add
	set_action_widget(), as in the GtkNotebook API.
	* glom/glom.glade:
	* glom/frame_glom.[h|cc]: Remove the top HBox, instead
	putting the table name label in the notebook widget,
	at the left of the tabs.

2011-06-22  Murray Cumming  <murrayc@murrayc.com>

	update_table_sensitive_ui

2011-06-22  Murray Cumming  <murrayc@murrayc.com>

	Main window: Simplify widgets at top.

	* glom/glom.glade:
	* glom/frame_glom.[h|cc]: Remove the Table: label. Make the
	table name normal sized, but still bold. Remove the mode
	labels, because there are only two modes now, and it should
	be obvious when you are in the middle of entering find criteria.

2011-06-22  Murray Cumming  <murrayc@murrayc.com>

	glom.glade: Resave with glade.

	* glom/glom.glade: Resave with glade 3.10, which changes
	object IDs to be unique across the whole file.
	Chose human-readable IDs instead of number suffixes.
	* glom/navigation/box_tables.cc:
	* glom/frame_glom.cc: Adapted the code.
	This is rather tedious and just makes code less readable.

2011-06-22  Murray Cumming  <murrayc@murrayc.com>

	glom.glade: Reorder top-levels alphabetically.

	* glom/glom.glade: Glade now does this when saving,
	so this will make it easier to see what else Glade
	has changed.

2011-06-21  Murray Cumming  <murrayc@murrayc.com>

	1.19.4

2011-06-21  Murray Cumming  <murrayc@murrayc.com>

	Require the latest libgdamm, for the GdaNull changes.

	* configure.ac: Require libgdamm 4.99.3

2011-06-17  Murray Cumming  <murrayc@murrayc.com>

	Fix the tests after the libgdamm Null Value change.

	* tests/python/test_python_execute_script.cc:
	Do not try to instantiate a static Value instance because the constructor
	now needs the GType system to be initialized.

2011-06-17  Murray Cumming  <murrayc@murrayc.com>

	More fixes, but it segfaults

2011-06-17  Murray Cumming  <murrayc@murrayc.com>

	Details: Make Primary Key ID values visible again.

	* glom/mode_data/datawidget/entry.cc: Use unset_color() instead of
	override_color(RGBA());

2011-06-17  Murray Cumming  <murrayc@murrayc.com>

	The result is a GdaNumeric

2011-06-16  Murray Cumming  <murrayc@murrayc.com>

	Fix the example script some more.

2011-06-16  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with --enable-warnings=fatal with gtkmm 3.1.

	* glom/mode_data/box_data_details.[h|cc]:
	* glom/mode_data/db_adddel/db_adddel_withbuttons.[h|cc]:
	* glom/mode_design/layout/layout_item_dialogs/dialog_formatting.cc:
	* glom/utility_widgets/adddel/adddel_withbuttons.[h|cc]:
	Fix the build with --enable-warnings=fatal with gtkmm 3.1, by
	replacing Gtk::HButtonBox with ButtonBox and replacing get_vbox() with
	get_content_area().

2011-05-24  Olav Vitters  <olav@vitters.nl>

	Use tar-ustar instead of tar-pax to ensure OpenBSD compatibility

2011-05-12  Murray Cumming  <murrayc@murrayc.com>

	Fix compiler warnings.

	* glom/mode_data/db_adddel/db_adddel.cc:
	* glom/mode_design/layout/dialog_layout_details.cc:
	* glom/report_builder.cc:
	* glom/utility_widgets/eggspreadtable/eggspreadtablednd.c
	(get_index_at_position):
	* tests/test_parsing_time.cc: Remove unused variables noticed by g++ 4.6.

2011-05-12  Murray Cumming  <murrayc@murrayc.com>

	Require latest libepc.

	Because it uses avahi-ui-gtk3, which uses GTK+3.
	Otherwise we would be indirectl using both GTK+ 2 and GTK+ 3.

2011-05-06  Gabriel Speckhahn  <gabspeck@gmail.com>

	Updated Brazilian Portuguese translation

2011-04-19  Murray Cumming  <murrayc@murrayc.com>

	Updated .gitignore files.

2011-04-19  Murray Cumming  <murrayc@murrayc.com>

	Egg::SpreadTable: Add a test.

	* Makefile_tests.am:
	* glom/utility_widgets/eggspreadtablemm/test_preadtablemm.[h|cc]:
	Add a test based on the C test. It seems to work fine.

2011-04-19  Murray Cumming  <murrayc@murrayc.com>

	Egg::SpreadTable: Derive from (and implement) Orientable.

	* glom/utility_widgets/eggspreadtablemm/eggspreadtablemm.[h|cc]:
	Use Orientable.

2011-04-18  Murray Cumming  <murrayc@murrayc.com>

	Fix the make check build.

	* Makefile_glom.am: Create a variable for the eggspreadtable file list.
	* Makefile_tests.am: Use that variable here, so we link against the new
	files.

2011-04-18  Murray Cumming  <murrayc@murrayc.com>

	EggSpreadTableDnd: Wrap the wiget_drop_possible signal.

	* glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.[h|cc]:
	* glom/utility_widgets/eggspreadtablemm/private/eggspreadtabledndmm
	_p.h: This is unpleasant without gmmproc.

2011-04-18  Murray Cumming  <murrayc@murrayc.com>

	Egg::SpreadTableDnd: Fixt typos.

	* glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.cc:
	Use the correct GTypes.

2011-04-18  Murray Cumming  <murrayc@murrayc.com>

	Use EggSpreadTableDnd.

	* glom/utility_widgets/eggspreadtable/eggmarshalers.[h|c}
	* glom/utility_widgets/eggspreadtable/eggplaceholder.[h|c]
	* glom/utility_widgets/eggspreadtable/eggspreadtablednd.[h|c]:
	Added these files, copied from libegg.
	* glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.[h|cc]:
	* glom/utility_widgets/eggspreadtablemm/private/eggspreadtabledndmm
	_p.h:
	Created a hand-written C++ wrapper for EggSpreadTableDnd.
	* glom/Makefile_glom.am: Mention the new files.
	* glom/utility_widgets/flowtable.h: Use SpreadTableDnd instead of
	SpreadTable, though we do not use the drag-and-drop functionality yet.

2011-04-15  Murray Cumming  <murrayc@murrayc.com>

	Slight speed up

2011-04-15  Murray Cumming  <murrayc@murrayc.com>

	Use try around get_value_at().

2011-04-13  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-04-13  Murray Cumming  <murrayc@murrayc.com>

	Use not in python

2011-04-13  Murray Cumming  <murrayc@murrayc.com>

	More porting to latest python-apt API.

2011-04-12  Murray Cumming  <murrayc@murrayc.com>

	Correct the sizing of the ... date button.

	* glom/mode_data/datawidget/datawidget.cc: There is a button next to
	all date fields, for selecting the date. Make sure that it does not expand.
	Of course, a real date selection widget would be nicer.

2011-04-12  Murray Cumming  <murrayc@murrayc.com>

	Update the EggSpreadTable code.

	* glom/utility_widgets/eggspreadtable/eggspreadtable.[h|cc]: Update this
	code from libegg/libegg/spreadtable/

2011-04-12  Murray Cumming  <murrayc@murrayc.com>

	Fix distcheck.

	* Makefile.am: Distribute the .db file for the sqlite example.
	This fixes the discheck, because we use it in a test.
	* glom/libglom/connectionpool_backends/sqlite.cc: connect(): Give clues
	on stderr if the file is missing.
	* glom/libglom/utils.[h|cc]: Add a file_exists(Gio::File) override for use
	by those checks.

2011-04-12  Murray Cumming  <murrayc@murrayc.com>

	Mostly ported to latest python-apt API.

2011-04-12  Murray Cumming  <murrayc@murrayc.com>

	Fixed the script with help from Michael Vogt

2011-04-11  Murray Cumming  <murrayc@murrayc.com>

	1.19.4

2011-04-11  Murray Cumming  <murrayc@murrayc.com>

	Fix a test.

	* tests/python/test_python_execute_func_bad_syntax.cc:
	Allow the result to be a null Gda::Value, because that is acceptable for a
	python script with invalid syntax.

2011-04-10  Murray Cumming  <murrayc@murrayc.com>

	example script: Update to show the latest version

2011-04-10  Murray Cumming  <murrayc@murrayc.com>

	example script: Update to show the latest version

2011-04-10  Murray Cumming  <murrayc@murrayc.com>

	example script: Update to show the latest version

2011-04-08  Murray Cumming  <murrayc@murrayc.com>

	Port the debian repository analyzer script example to GTK+ 3.

	* examples/example_scripts/repository_analyzer_begin_scan.py:
	Use PyGObject+Introspection instead of pygtk, and adapt for a minidom API
	change.
	This is also here:
	https://gitorious.org/debian_repository_analyzer

2011-04-08  Murray Cumming  <murrayc@murrayc.com>

	Fix use of bool python return types.

	* glom/libglom/python_embed/pygdavalue_conversions.cc:
	glom_pygda_value_from_pyobject(): Use the C Py*_Check() functions because
	boost::python::extract<>::check() does not really check for the exact type
	and has no way to do that. Previously we were interpreting bools as ints.
	Note also that the order fo the Py*_Check() checks is important, because
	python considers bool to be derived from int.
	* tests/python/test_python_execute_func_with_record.cc: Uncomment the checks
	for the return type and value now that it works.

2011-04-07  Murray Cumming  <murrayc@murrayc.com>

	Initialize pygobject, to fix the use of the PyRecord API.

	* configure.ac: Require the latest pygobject with gi.repository support.
	* glom/libglom/init.cc: Include pygobject.h so we can call pygobject_init()
	here.
	* glom/libglom/python_embed/py_glom_record.cc: Define NO_IMPORT_PYGOBJECT
	so we can still include pygobject.h again here. pygobject.h uses a nasty
	variable declared in the header.
	* tests/python/test_python_execute_func_with_record.cc: Fix the python
	example code.
	However, this shows a problem with getting bool results from python,
	apparently because boost::python::extract<>::check() checks that the type
	is compatible rather than checking that it's the exact type.

2011-04-07  Murray Cumming  <murrayc@murrayc.com>

	Added a python function test that uses an actual database connection.

	* Makefile_tests.am: Mention the new test.
	* tests/python/test_python_execute_func_with_record.cc: This shows
	a crash in Glom::PyGlomRecord::get_connection().

2011-04-07  Murray Cumming  <murrayc@murrayc.com>

	Moved the python tests to a sub-directory.

	* tests/test_load_python_library.cc:
	* tests/test_python_execute_func.cc:
	* tests/test_python_execute_func_bad_syntax.cc:
	* tests/test_python_execute_func_change_result_type.cc:
	* tests/test_python_execute_func_date.cc:
	* tests/test_python_execute_script.cc:
	* tests/test_python_module.cc: Moved to tests/python/
	* Makefile_tests.am: Adapted.

2011-04-06  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-04-06  Joe Hansen  <joedalton2@yahoo.dk>

	Updated Danish translation

2011-04-06  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2011-04-05  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-04-05  Murray Cumming  <murrayc@murrayc.com>

	Remove more small traces of pygda.

	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/python_embed/glom_python.cc:
	* glom/python_embed/python_module/py_glom_module.cc: Some last minor renames
	from pygda to gi.repository.Gda.

2011-04-05  Murray Cumming  <murrayc@murrayc.com>

	Python: Use gi.repository.Gda instead of Gda.

	* configure.ac: Do not require pygda at build time, though we check for it
	at program startup. There is probably no similar way to check at configure
	time, and it's debatable that it's appropriate anyway. The pygda check
	was probably here before in order to use a pygda .h file that we no longer
	use.
	* glom/main.cc: Add and call check_gir_is_available_with_warning() to check
	that gi.repository (gobject intropsection) in general is available.
	* glom/python_embed/glom_python.[h|cc]:
	* tests/test_python_module.[h|cc]: Add gir_python_module_is_available() for
	use by main.cc.
	gda_python_module_is_available(), glom_python_call(): Use the new python
	module instead of the old Gda module.

2011-04-05  Murray Cumming  <murrayc@murrayc.com>

	Write Python tracebacks to stderr.

	* glom/application.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_design/dialog_database_preferences.cc:
	* tests/test_python_execute_script.cc: Output python errors to stderr as a
	clue when things go wrong.

2011-04-04  Murray Cumming  <murrayc@murrayc.com>

	Fix an error found by the gtkmm change to use operator const void*.

	* glom/utility_widgets/adddel/adddel.cc: There is no
	TreeNodeChildren::operator[](TreeIter). The compiler was casting the TreeIter
	to bool and then to (int)0.

2011-04-04  Murray Cumming  <murrayc@murrayc.com>

	Require the latest mm-common and dist the mm-common scripts.

	* configure.ac: Add a MM_CONFIG_DOCTOOL_DIR() call so that the scripts will
	be distributed with the tarball, avoiding a runtime dependency on mm-common.

2011-04-03  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-03-30  Murray Cumming  <murrayc@murrayc.com>

	Adapt to the recent gtksourceviewmm API change.

	* configure.ac: Require the latest gtksourceviewmm.
	* glom/mode_design/dialog_database_preferences.[h|cc]:
	* glom/mode_design/fields/dialog_fieldcalculation.[h|cc]:
	* glom/mode_design/fields/dialog_fielddefinition.h:
	* glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.[h|cc]:
	:
	* glom/mode_design/script_library/dialog_script_library.[h|cc]: Use
	Gsv::* instead of Gsv::Source*.

2011-03-30  Murray Cumming  <murrayc@murrayc.com>

	Remove some stdout debug output.

2011-03-30  Murray Cumming  <murrayc@murrayc.com>

	Update the document DTD.

	* glom/glom_document.dtd: Mention some the new attribute and element
	for the choices, to fix the DTD test during make check.

2011-03-30  Murray Cumming  <murrayc@murrayc.com>

	A simpler way to avoid the PyDateTime_Check() crash.

	* glom/libglom/init.cc: libglom_init(): Remove the g_assert because this
	can fail: See bug #644702.
	* glom/libglom/python_embed/pygdavalue_conversions.cc:
	glom_pygda_value_as_boost_pyobject(): Check that the local re-import
	(hopefully cached by Python) succeeded, to avoid a crash in PyDateTime_Check().

2011-03-30  Murray Cumming  <murrayc@murrayc.com>

	Revert "Do not crash if PyDateTime_IMPORT fails."

	This reverts commit 9718918d098a2a2a83c669ae45fb99d08e9b693c.

	Conflicts:

	ChangeLog

2011-03-29  Murray Cumming  <murrayc@murrayc.com>

	Depend on libgdamm-5.0 instead of libgdamm-4.0.

	* configure.ac: This change avoids an indirect dependency on GTK+ 2,
	needed by the libgda 4 tarball build.

2011-03-23  Murray Cumming  <murrayc@murrayc.com>

	libglom: Added utils::build_sql_select_count_rows().

	* glom/base_db.[h|cc]: Make count_rows_returned_by() take a const SqlBuilder.
	* glom/libglom/utils.[h|cc]: Move some of count_rows_returned_by() into a
	build_sql_select_count_rows() method, for the convenience of UIs such as
	OnlineGlom.
	Bug #645110 (Ben Konrath)

2011-03-20  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2011-03-14  Murray Cumming  <murrayc@murrayc.com>

	Do not crash if PyDateTime_IMPORT fails.

	* glom/libglom/init.[h|cc]: Added libglom_pydatetime_import() and
	libglom_pydatetime_imported(). Remove the g_assert() when it fails.
	* glom/libglom/python_embed/pygdavalue_conversions.cc: Use the new
	utility function instead of repeating our reimplementation here.

	There will now just be an error message on stderr. We must fix this properly
	but in the meantime it is better than requiring the use of a separate glom
	branch just for OnlineGlom.
	See https://bugzilla.gnome.org/show_bug.cgi?id=644702

2011-03-14  Murray Cumming  <murrayc@murrayc.com>

	Project Manager example: Resave.

	* examples/example_project_manager.glom: Edit the Teams list layout, so
	that it actually has a layout in the file, and so that the fields order
	makes more sense.
	See http://gitorious.org/online-glom/gwt-glom/commit/1c860b7ad64f55809ecf7e6b340272800d586d35

2011-03-14  Murray Cumming  <murrayc@murrayc.com>

	Fix the build.

	* glom/libglom/init.cc: Add an include so we can use std::cerr.

2011-03-14  Murray Cumming  <murrayc@murrayc.com>

	libglom_init(): Show the python exception when PyDateTime_IMPORT fails.

	* glom/libglom/init.cc: The linker seems to behave differently when this
	code is run from inside a JVM in OnlineGlom. This gives us a clue.

2011-03-12  Murray Cumming  <murrayc@murrayc.com>

	Fix crashes when using choices with fixed lists.

	* glom/mode_data/datawidget/combochoiceswithtreemodel.[h|cc]:
	create_model_non_db(): Instead of creating just a text-based treemodel,
	create a Value-based one with an extra text column at the end. That is what
	the related-records model has, though it uses a custom TreeModel.
	The text column is needed for GtkComboBox when it has has-entry=true:
	(See https://bugzilla.gnome.org/show_bug.cgi?id=631167 )
	Add get_fixed_model_text_column() so that other code knows which column that
	is.
	* glom/mode_data/datawidget/cellrenderer_dblist.cc: set_choices_fixed(),
	repack_cells_fixed():
	* glom/mode_data/datawidget/combo.cc:set_choices_fixed():
	Adapt to use the special column instead of assuming that column 0 is a text
	column.
	Previously Glom::Combo::set_value() crashed because we tried to get a
	Value<Gnome::Gda::Value> where there was a Value<ustring>.

2011-03-08  Murray Cumming  <murrayc@murrayc.com>

	Remove some unnecessary padding/borders around the main window.

	* glom/box_withbuttons.cc: Remove the border, because it is not useful.
	It would be for the parent widget to decide that.
	* glom/mode_data/flowtablewithfields.[h|cc]: add_group(): Add a with_indent
	optional parameter.
	* glom/mode_data/box_data_details.cc: create_layout(): Have no indent on
	top-level groups.

2011-03-08  Murray Cumming  <murrayc@murrayc.com>

	Use a custom Notebook-like widget instead of Gtk::Notebook.

	* glom/utility_widgets/notebook_noframe.[h|cc]: A new class with an API that
	is as much like the Gtk::Notebook API as we need it to be.
	Unlike GtkNotebook, this has no frame around the page at the bottom.
	That was wasting space because the extra division was unnecessary when it
	fills almost the whole window anyway.
	* Makefile_glom.am: Mention the new files.
	* glom/mode_data/notebook_data.cc: Derive from the new class instead of
	Gtk::Notebook.

2011-03-07  Murray Cumming  <murrayc@murrayc.com>

	Make a method protected.

2011-02-27  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-02-26  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2011-02-26  Murray Cumming  <murrayc@murrayc.com>

	Fix the CSV import test.

	* tests/import/test_parsing.cc: Correct the number of expected tokens.
	This was previously just the number that was (incorrectly) parsed before.

2011-02-26  Murray Cumming  <murrayc@murrayc.com>

	CSV Import: Fix quoted-newline detection, so we don't drop rows.

	* glom/import_csv/csv_parser.[h|cc]: on_idle_parse(): Make in_quotes a
	member variable, initialized in clear(), so we remember it across calls to
	on_idle_parse(), instead of thinking that we are in quotes just because we
	are parsing arbitrary chunks of bytes that look that way individually.

	This fixes bug #637529 (Darmon Xavier), so all rows should be imported
	instead of dropping some in the middle.

2011-02-26  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-02-26  Murray Cumming  <murrayc@murrayc.com>

	Some documentation.

2011-02-26  Murray Cumming  <murrayc@murrayc.com>

	Dialog_Import_CSV_Progress: Try to really show progress.

	* glom/import_csv/dialog_import_csv_progress.cc: Try to call
	Main::events_pending() and iterate() to really show the text in the progress
	bar, though it does not seem to work.
	Pulse the progress bar, though we should really set a fraction instead.
	Pulsing does work, though the text does not display.

2011-02-26  Murray Cumming  <murrayc@murrayc.com>

	Correct a (translatable) string.

	* glom/glom.glade: Correct an English string. A comma is not a full stop.

2011-02-25  Murray Cumming  <murrayc@murrayc.com>

	NEWS fixes.

2011-02-25  Murray Cumming  <murrayc@murrayc.com>

	Add NEWS entries from the stable branch.

2011-02-25  Murray Cumming  <murrayc@murrayc.com>

	Avoid GTK+ warning when clicking on the list button.

	* glom/mode_data/db_adddel/db_adddel.[h|cc]: on_cell_button_clicked():
	Delay the response to the click, to an idle handler, to avoid confusing
	GtkTreeView, which was showing a warning with GTK+ 3 about a NULL GtkAdjustment.

2011-02-21  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-02-21  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-02-10  Murray Cumming  <murrayc@murrayc.com>

	Use the new Gtk::ComboBox CellArea API to align columns properly.

	* glom/mode_data/datawidget/combo.cc: Get the CellAreaBox and use its
	more-useful pack() method instead of the standard one, so that the columns
	really align.

2011-02-07  Murray Cumming  <murrayc@murrayc.com>

	1.19.3

2011-02-07  Murray Cumming  <murrayc@murrayc.com>

	Require the correct gtksourceviewmm version.

	* configure.ac: Use the gtksourceviewmm version with the API changes to use
	vector.

2011-01-30  Murray Cumming  <murrayc@murrayc.com>

	Adapt to libgdamm API changes.

	* glom/libglom/connectionpool.cc:
	* glom/libglom/db_utils.cc: libgdamm now uses std::vector instead of
	*Handle, like gtkmm.

2011-01-28  Murray Cumming  <murrayc@murrayc.com>

	Adapt to the gtkmm 3 change to using vectors.

	* glom/mode_data/datawidget/cellrenderer_dblist.cc:
	* glom/mode_data/db_adddel/db_adddel.cc:
	* glom/mode_design/layout/dialog_choose_field.cc:
	* glom/mode_design/print_layouts/print_layout_toolbar_button.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/layouttoolbarbutton.cc: Use std::vector instead of
	std::list.
	* glom/dialog_existing_or_new.cc: This one even used the intermediate type
	directly, showing how necessary this API change was.

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

	Disable more deprecated API.

	* configure.ac: Add PANGO, PANGOMM, and CAIRO to the list.

2011-01-16  Joe Hansen  <joedalton2@yahoo.dk>

	Updated Danish translation

2011-01-16  Kenneth Nielsen  <k.nielsen81@gmail.com>

	Added da to list of languages

2011-01-15  Murray Cumming  <murrayc@murrayc.com>

	Require the appropriate gtksourceviewmm version.

	* configure.ac: Use the latest gtksourceviewmm release. Older versions would
	not build with the newer versions of gtkmm 3, so this is a hint.

2011-01-13  Murray Cumming  <murrayc@murrayc.com>

	Require the appropriate goocanvasmm version.

	* configure.ac: Use the latest goocanvasmm release. The code has already
	been ported.

2011-01-06  Murray Cumming  <murrayc@murrayc.com>

	get_current_locale(): Handle more complex setlocale(NULL) results.

	* glom/libglom/utils.cc: locale_simplify(): On Ubuntu Natty,
	setlocale() has started returning a more complex string. Parse it, or the
	older simpler syntax.

2011-01-06  Murray Cumming  <murrayc@murrayc.com>

	tests: Link to all necessary libraries.

	* Makefile_libglom.am: Define libglom_all_libs to avoid duplication.
	* Makefile_glom.am: Use libglom_all_libs instead of repeating.
	* Makefile_tests.am: Use libglom_all_libs to explicitly link against the
	dependencies of libglom. This seems to have been automatic with the linker in
	previous versions of Ubuntu, but not with Ubuntu Natty.

2011-01-05  Murray Cumming  <murrayc@murrayc.com>

	Use Gdk::Cursor via RefPtr.

	* glom/bakery/busy_cursor.[h|cc]:
	* glom/utility_widgets/canvas/canvas_item_movable.[h|cc]:
	gtkmm 3 now requires Gdk::Cursor to be used via RefPtr.

2011-01-05  Murray Cumming  <murrayc@murrayc.com>

	Replace a used of (removed from GTK+) gdk_spawn_*() API.

	* glom/application.cc: This partially fixes the build.

2010-12-16  Murray Cumming  <murrayc@murrayc.com>

	More dealing with cppcheck errors.

	* glom/libglom/data_structure/layout/layoutitem.cc: operator=(): Check for
	src=this.
	* glom/base_db.cc:
	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/libglom/connectionpool_backends/postgres_central.cc:
	* glom/libglom/data_structure/foundset.cc:
	* glom/libglom/data_structure/foundset.h:
	* glom/libglom/document/bakery/document_xml.cc:
	* glom/libglom/document/bakery/document_xml.h:
	* glom/libglom/document/document.cc:
	* glom/utility_widgets/adddel/adddel.cc:
	* tests/import/test_parsing.cc:
	* tests/import/test_signals.cc: Removed unused methods and unused variables.

2010-12-16  Murray Cumming  <murrayc@murrayc.com>

	Removed more unused methods.

2010-12-16  Murray Cumming  <murrayc@murrayc.com>

	Remove more unnecessary null checks before delete

2010-12-16  Murray Cumming  <murrayc@murrayc.com>

	Remove unused methods.

	* glom/libglom/data_structure/glomconversions.cc:
	* glom/libglom/document/bakery/document.cc:
	* glom/libglom/document/bakery/document.h:
	* glom/libglom/document/bakery/document_xml.cc:
	* glom/libglom/document/bakery/document_xml.h:
	* glom/libglom/document/document.cc:
	* glom/libglom/document/document.h:
	* glom/utility_widgets/canvas/test_canvas_editable.cc:
	Remove unused methods, found by cppcheck. Some other methods that cppcheck
	mentions seem to be virtual methods that are used.

2010-12-16  Murray Cumming  <murrayc@murrayc.com>

	Remove unnecessary checks before use of delete.

	* glom/application.cc:
	* glom/bakery/app_withdoc.cc:
	* glom/bakery/app_withdoc_gtk.cc:
	* glom/frame_glom.cc:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/data_structure/layout/layoutitem.cc:
	* glom/libglom/sharedptr.h:
	* glom/libglom/test_avahi_publisher.cc:
	* glom/mode_data/box_data_portal.cc:
	* glom/mode_data/datawidget/combochoiceswithtreemodel.cc:
	* glom/mode_data/flowtablewithfields.cc:
	* glom/mode_data/notebook_data.cc: C++ doesn't mind if we call delete on a
	null pointer. Found by cppcheck.

2010-12-16  Murray Cumming  <murrayc@murrayc.com>

	Eclipse project: Tried to specify executable.

2010-12-16  Ben Konrath  <ben@bagu.org>

	Add Eclipse 3.6 / CDT 7.0 configuration files.

	* .cproject: New file generated by Eclipse.
	* .project: New file generated by Eclipse.

2010-12-16  Murray Cumming  <murrayc@murrayc.com>

	Fix make check when using --enable-glom-ui=no.

	* Makefile_tests.am: Correct the LDADD flags for the selfhosting tests, so
	that make check still works when using --enable-glom-ui=no.

2010-12-14  Murray Cumming  <murrayc@murrayc.com>

	Build: Reduce some duplication.

	* Makefile.am:
	* Makefile_glom.am:
	* Makefile_libglom.am:
	* Makefile_tests.am: Use AM_CPPFLAGS and AM_CFLAGS just to hold the
	(optional) warning flags, as we did previously.

2010-12-14  Murray Cumming  <murrayc@murrayc.com>

	Build: Avoid use of non-UI cflags/libs where not necessary.

	* Makefile.am: Do not use AM_CPPFLAGS, AM_CFLAGS or AM_CXXFLAGS.
	* Makefile_glom.am:
	* Makefile_libglom.am:
	* Makefile_tests.am: Instead use individual variables for each target,
	making sure that we use only the necessary flags.
	libglom may have been linking to some unnecessary UI libraries before.
	* glom/import_csv/csv_parser.h: Avoid unnecessary UI includes.
	* tests/import/test_parsing.cc:
	* tests/import/test_signals.cc: Avoid including gtkmm.h.

	As a side-effect, the build is now longer, because some files are now
	compiled again separately for the tests, presumably because they now need
	to be built with different compiler flags. But that is a better test.

2010-12-13  Murray Cumming  <murrayc@murrayc.com>

	Correct my previous commit.

	* configure.ac: Correct the no/yes test for --enable-glom-ui and add a comma
	so it actually works.
	* Makefile_tests.am: Restore the source file lists for the python tests.

2010-12-13  Murray Cumming  <murrayc@murrayc.com>

	Allow libglom to be built without building the Glom UI code too.

	* configure.ac: Added an --enable-glom-ui option, defaulting to yes.
	When using --enable-glom-ui=no then only libglom will be built. This is
	useful for deployment of libglom to servers where the UI dependencies are not
	wanted.
	We still use GLOM_LIBS and GLOM_FLAGS even in libglom, instead of using
	LIBGLOM_LIBS and LIBGLOM_CFLAGS anywhere, but this does reduce duplication
	of the flags in glom's UI build.
	* Makefile.am: Do not include Makefile_glom.am if the UI should not be built.
	* Makefile_glom.am: Move the bin_programs definition to here.
	* Makefile_libglom.am: Move the LTLIBRARIES definitions to here.
	* Makefile_tests.am: Attempt, unsuccessfully, to build and run UI-dependent
	tests only when the UI was built, when running make check.

2010-12-13  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with latest gtkmm.

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	Use Widget::render_icon_pixbuf() instead of the old render_icon() method.

2010-12-09  Bruno Brouard  <annoa.b@gmail.com>

	Updated French doc translation

2010-12-08  Murray Cumming  <murrayc@murrayc.com>

	More partial porting

2010-12-08  Murray Cumming  <murrayc@murrayc.com>

	Partial port to recent gtkmm API changes from git master.

	* glom/mode_data/datawidget/datawidget.cc: signal_style_changed was removed
	though it might come back later.
	* glom/mode_data/datawidget/entry.cc: Use override_color() instead of
	modify_text().
	* glom/mode_data/placeholder-glom.cc: Use set_source_rgba() instead of
	set_source_color(). Use get_style_context() instead of get_style().

2010-12-03  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with latest gtksourceviewmm from git master.

	* glom/main.cc:
	* glom/mode_design/dialog_database_preferences.cc:
	* glom/mode_design/dialog_database_preferences.h:
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.h:
	* glom/mode_design/fields/dialog_fielddefinition.h:
	* glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.c
	c:
	* glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.h
	:
	* glom/mode_design/script_library/dialog_script_library.cc:
	* glom/mode_design/script_library/dialog_script_library.h:
	* tests/glade_toplevels_instantiation.cc:
	* tests/test_glade_derived_instantiation.cc: Change the gtksourceview
	namespace to Gsv.

2010-12-03  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with latest gtkmm from git master.

	* glom/mode_design/dialog_add_related_table.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/script_library/dialog_script_library.cc:
	* glom/mode_design/users/dialog_choose_user.cc:
	* glom/mode_design/users/dialog_users_list.cc: Adapt to the ComoboBoxText
	append_text() -> append() change.

2010-11-29  Murray Cumming  <murrayc@murrayc.com>

	Replaced GtkRuler with GimpRuler because GtkRuler was removed from GTK 3.

	* glom/utility_widgets/gimpruler/: Added several source files from
	gimp, with small changes to make it build for us, to provide the GimpRuler
	widget.
	* COPYING: Switch to GPL version 3 (instead of 2), because the GIMP source
	code uses it.
	* Makefile_glom.am:
	* glom/glom_developer.glade:
	* glom/mode_design/print_layouts/window_print_layout_edit.[cc|cc]: Use
	GimpRuler instead of GtkRuler, creating and adding them in code instead of
	in the .glade file, to avoid Glade needing to know about that widget.

2010-11-23  Murray Cumming  <murrayc@murrayc.com>

	1.19.2

2010-11-23  Murray Cumming  <murrayc@murrayc.com>

	Fix the tests build during distcheck

	* Makefile_glom.am: Correct eggspreadtablemm.c to eggspreadtablemm.cc.
	* Makefile.am:
	* Makefile_tests.am: Distribute the albums.csv test file and put the
	path to its directory in a define.
	* tests/import/test_parsing.cc: Use the define here, instead of using
	get_current_directory, which is not enough when builddir!=srcdir.

2010-11-23  Murray Cumming  <murrayc@murrayc.com>

	Correct NEWS

2010-11-17  Javier Jardón  <jjardon@gnome.org>

	Use upstream gettext instead Glib one

	* configure.ac: Do not use AM_GLIB_GNU_GETTEXT() because it is no longer
	maintained/recommended.
	This fixes bug #631367

2010-11-17  Murray Cumming  <murrayc@murrayc.com>

	Improved a comment

2010-11-17  Murray Cumming  <murrayc@murrayc.com>

	Import tests: Uncomment some tests and make them test what we really want.

	* tests/import/test_parsing.cc: Check that we do _not_ require ending newlines
	and check that we do _not_ require quotes around items.

2010-11-15  Murray Cumming  <murrayc@murrayc.com>

	Import tests: Disable more tests that do not seem useful.

	* tests/import/test_parsing.cc: Comment out the non-comma separators test and
	the ignoring-space-between-quoted-text test, because they don't seem to
	correspond to any specification.

2010-11-15  Murray Cumming  <murrayc@murrayc.com>

	Import tests: Disable tests that check for incorrect or useless behaviour.

	* tests/import/test_parsing.cc: Comment out the test to ensure that we
	- Ignore rows with no ending newline.
	- Ignore field values that are not quoted.
	because we should not do that.
	Also add comments explaining the regular expressions.

2010-11-14  Murray Cumming  <murrayc@murrayc.com>

	Re-enable the import tests and partially deal with their race condition.

	* Makefile_tests.am: Re-enable the import tests.
	* glom/import_csv/csv_parser.[h|cc]: Add ensure_idle_handler_connection(),
	moving the idle signal handler connection there. Also call it from the
	beginning and end of on_file_read(), in case it has been disconnected
	too early.
	Use a priority less than PRIORITY_DEFAULT_IDLE, so that IO is likely to
	happen more often than the idle callback.

2010-11-12  Murray Cumming  <murrayc@murrayc.com>

	Import tests: Slight code-style change.

	* tests/import/utils.[h|cc]: Remove the MainLoop typedef because it just
	obscures things.

2010-11-12  Murray Cumming  <murrayc@murrayc.com>

	Remove some debug output.

2010-11-12  Murray Cumming  <murrayc@murrayc.com>

	Improved the ChangeLog entry.

2010-11-12  Murray Cumming  <murrayc@murrayc.com>

	CSV Import: Actually preview and import the field values.

	* glom/import_csv/csv_parser.cc: advance_field(): Remove an excess continue,
	so that we actually add the character to the field's text. This error
	was probably introduced while removing the non-exceptions ifdefs.

	We really must fix those import unit tests so that something like this does
	not happen again.

2010-11-11  Murray Cumming  <murrayc@murrayc.com>

	List view: Make the retry option actually work afer entering invalid data.

	* glom/mode_data/db_adddel/db_adddel.[h|cc]: on_treeview_cell_edited():
	If the user chooses to retry the edit, remember what he entered, and restart
	the editing (in an idle handler, to avoid confusing the treeview), with
	that text.
	This fixes bug #167818

2010-11-10  Murray Cumming  <murrayc@murrayc.com>

	Update EggSpreadTable from libegg.

	* glom/utility_widgets/eggspreadtable/eggspreadtable.c: Copy from
	libegg/libegg/spreadtable/ again, to use Tristan's corrections for the
	forall() vfunc.

2010-11-08  Murray Cumming  <murrayc@murrayc.com>

	Call xmlCleanupParser() because libxml++ does not anywmore.

	* glom/main.cc: main(): Call xmlCleanupParser() to clean up libxml to help
	valgrind.

2010-11-08  Murray Cumming  <murrayc@murrayc.com>

	FlowTableWithFields: Fix some widget expansion behaviour.

	* glom/mode_data/datawidget/label.cc: Call Gtk::Label::set_line_wrap() to
	prevent the label from sometimes making the window insanely wide by demainding
	too much width for itself.
	* glom/mode_data/flowtablewithfields.cc: add_field_at_position(): Tell
	the field's widget to expand, so it uses more space if the user expands the
	window, instead of just expanding the gap between columns.
	Note that the old non-EggSpreadTable code only expanded the right-most column,
	so exanding both is a real improvement.

2010-11-08  Murray Cumming  <murrayc@murrayc.com>

	Fix previous commit.

2010-11-08  Murray Cumming  <murrayc@murrayc.com>

	EggSpreadTable: forall(): Avoid use of invalid GList items.

	* glom/utility_widgets/eggspreadtable/eggspreadtable.c
	(egg_spread_table_forall):
	Use (and later free) a copy of the list, because the callback could call
	egg_spread_table_remove() which would change the list, causing us to use a
	list->next that is no longer valid. This fixes a problem found by valgrind.
	I don't know why other Gtk containers don't need to do this, though their
	code seems to do the same thing.

2010-11-08  Murray Cumming  <murrayc@murrayc.com>

	Added test_flowtablewithfields.

	* Makefile_tests.am:
	* glom/mode_data/test_flowtablewithfields.cc: Added the beginnings of a test
	of FlowTableWithFields.

2010-11-08  Murray Cumming  <murrayc@murrayc.com>

	Slight code formatting improvement

2010-11-08  Murray Cumming  <murrayc@murrayc.com>

	test_flowtable: Make less silly

2010-11-08  Murray Cumming  <murrayc@murrayc.com>

	test_flowtable: Test removing and re-adding

2010-11-05  Murray Cumming  <murrayc@murrayc.com>

	Use EggSpreadTable instead of GtkSpreadTable (not added to GTK+).

	* glom/utility_widgets/eggspreadtable/eggspreadtable.[h|cc]:
	* glom/utility_widgets/eggspreadtable/testspreadtable.c
	* glom/utility_widgets/eggspreadtablemm/eggspreadtablemm.[h|cc]:
	* glom/utility_widgets/eggspreadtablemm/private/eggspreadtablemm_p.
	h: New files.
	* glom/Makefile_glom.am
	* glom/Makefile_tests.am: Mention the new files.
	* glom/utility_widgets/flowtable.[h|cc]: Use Egg::SpreadTable instead of
	Gtk::SpreadTable.

2010-11-04  Murray Cumming  <murrayc@murrayc.com>

	Remove the gconfmm dependency, because we don't use it.

	* configure.ac: Do not check for gconfmm.
	* glom/bakery/app_withdoc.cc: Do not include gconfmm.h.

2010-11-04  Murray Cumming  <murrayc@murrayc.com>

	Mark 1.19.1 in the ChangeLog

2010-11-04  Murray Cumming  <murrayc@murrayc.com>

	1.19.1

2010-11-04  Murray Cumming  <murrayc@murrayc.com>

	Add 1.6.1 NEWS

2010-10-30  Carles Ferrando  <carles.ferrando@gmail.com>

	Updated Catalan (Valencian) translation

2010-10-28  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2010-10-27  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with latest gtkmm 2.91.2

	* glom/mode_design/dialog_add_related_table.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/script_library/dialog_script_library.cc:
	* glom/mode_design/users/dialog_users_list.cc: Use ComboBoxText::remove_all()
	instead of clear_items().

2010-10-25  Aron Xu  <aronxu@gnome.org>

	Update Simplified Chinese translation.

2010-10-22  Matej Urbančič  <mateju@svn.gnome.org>

	Added sl for Slovenian translation

2010-10-22  Matej Urbančič  <mateju@svn.gnome.org>

	Updated Slovenian translation

2010-10-19  Murray Cumming  <murrayc@murrayc.com>

	libglom: Change the ABI to 1.20, to avoid clashing with 1.16.

	* configure.ac:
	* glom/libglom/init.h:
	* glom/python_embed/python_module/py_glom_module.cc:
	* tests/test_load_python_library.cc: Change it everywhere, also correcting
	the python library name, which should have _ instead of . That was broken
	recently.

2010-10-19  Murray Cumming  <murrayc@murrayc.com>

	libglom: Change the ABI to 1.20, to avoid clashing with 1.16.

	* configure.ac:
	* glom/libglom/init.h:
	* glom/python_embed/python_module/py_glom_module.cc:
	* tests/test_load_python_library.cc: Change it everywhere.

2010-10-19  Murray Cumming  <murrayc@murrayc.com>

	distcheck: Remove check for NEWS update.

	* configure.ac: AM_INIT_AUTOMAKE(): Remove check-news because it is not
	clever enough and because it prevents checking that distcheck works.

2010-10-19  Murray Cumming  <murrayc@murrayc.com>

	Choices Combo: Fix a warning.

	* glom/mode_data/datawidget/combo.cc: set_choices_fixed(),
	set_choices_related(): Do not try to re-pack the existing cell.

2010-10-19  Murray Cumming  <murrayc@murrayc.com>

	Removed binaries added recently in error.

2010-10-19  Murray Cumming  <murrayc@murrayc.com>

	Choices Combo: Fix a segfault.

	* glom/mode_data/datawidget/combo.cc: set_choices_fixed(),
	set_choices_related(): Handle the has-entry case better, not calling clear(),
	because that breaks GtkComboBox, which then tries to use a removed
	GtkCellRenderer.

2010-10-18  Murray Cumming  <murrayc@murrayc.com>

	Details: Let the combo drop-down be wide enough.

	* glom/mode_data/datawidget/combo.cc: Constructor: Use the new
	set_popup_fixed_width() method.

2010-10-18  Murray Cumming  <murrayc@murrayc.com>

	Fix typos in NEWS

2010-10-18  Murray Cumming  <murrayc@murrayc.com>

	Add NEWS entries from 1.16.

2010-10-18  Murray Cumming  <murrayc@murrayc.com>

	Tests: Fix a typo to fix make check.

	* tests/test_load_python_library.cc: Fix a typo to properly load the
	correct library name.

2010-10-18  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with the latest gtkmm.

	* Makefile_glom.am:
	* po/POTFILES.in:
	* glom/mode_data/datawidget/comboentry.[h|cc]: Removed this.
	* glom/mode_data/datawidget/combo.cc: Add a has_entry parameter to the
	constructor and handle that in set_choices_related().

2010-10-14  Murray Cumming  <murrayc@murrayc.com>

	Build fixes after recent commits.

	* glom/libglom/db_utils.cc:
	* glom/libglom/utils.cc:
	* glom/mode_data/datawidget/cellrenderer_dblist.cc: Adde back some
	includes of iostream and fix a size type.

2010-10-14  Murray Cumming  <murrayc@murrayc.com>

	FlowTable: More fixes for child HBox memory management.

	* glom/utility_widgets/flowtable.cc: Added checks and corrections, though
	there is still an odd warning about a refcount.

2010-10-14  Murray Cumming  <murrayc@murrayc.com>

	FlowTable: Fix child HBox memory management.

	* glom/utility_widgets/flowtable.[h|cc]: insert(), remove_all(), remove(),
	destructor: Remember the implementation-only Gtk::HBox widgets and delete
	them when appropriate. A simple Gtk::manage() was not enough for this.

2010-10-12  Murray Cumming  <murrayc@murrayc.com>

	FlowTable: Avoid some runtime warnings.

	* glom/utility_widgets/flowtable.[h|cc]: Re-add remove().
	get_column_for_first_widget(): Fix the implementation when it deals with
	children of the hbox.
	* glom/mode_data/flowtablewithfields.cc: Destructor: Avoid use of
	remove(widget), because it is complicated.

2010-10-12  Murray Cumming  <murrayc@murrayc.com>

	FlowTable: Implement insert_before().

	* glom/utility_widgets/flowtable.[h|cc]: Re-added insert_before() which
	we will need for drag and drop support.

2010-10-11  Murray Cumming  <murrayc@murrayc.com>

	Details: Use of GtkSpreadTable: Remove FlowTable:m_children.

	* glom/utility_widgets/flowtable.[h|cc]: Remove m_children and remove the
	remove() override, simplifying things.

2010-10-11  Murray Cumming  <murrayc@murrayc.com>

	Details: Use of GtkSpreadTable: Use specified alignement again.

	* glom/mode_data/flowtablewithfields.cc:
	* glom/utility_widgets/flowtable.[h|cc]: FlowTableItem: Remove the
	m_expand_first_full and m_expand_second members, because we no longer need
	to remember that information.
	add(): Use set_halign() to specify fill/left depending on the expand
	choice.

2010-10-11  Murray Cumming  <murrayc@murrayc.com>

	Details: Use of GtkSpreadTable: Align widgets again.

	* glom/mode_data/flowtablewithfields.cc: apply_size_groups_to_labels():
	Re-enable the code to align adjacent widgets.
	* glom/utility_widgets/flowtable.[h|cc]: get_column_for_first_widget():
	Bring this code back, this time using the new
	gtk_spread_table_get_child_line() function.

2010-10-11  David King  <davidk@openismus.com>

	Change some uses of long to more appropriate types

	* glom/libglom/python_embed/py_glom_record.[cc|h]:
	* glom/libglom/python_embed/py_glom_related.[cc|h]:
	* glom/libglom/python_embed/py_glom_relatedrecord.[cc|h]:
	* glom/libglom/utils.cc:
	* glom/utility_widgets/db_addel/glom_db_treemodel.cc:
	* glom/utils_ui.cc: Use other types than long where appropriate.

2010-10-11  David King  <davidk@openismus.com>

	Use array notation where appropriate

	* glom/dialog_connection.[cc|h]:
	* glom/dialog_existing_or_new.[cc|h]:
	* glom/dialog_invalid_data.[cc|h]:
	* glom/libglom/connectionpool_backends/postgres.cc:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/connectionpool_backends/sqlite.cc:
	* glom/utils_ui.cc: Use array notation when initializing constant
	character arrays.

2010-10-11  David King  <davidk@openismus.com>

	Use unsigned integers where appropriate

	* glom/libglom/connectionpool_backends/postgres.[cc|h]:
	* glom/libglom/connectionpool_backends/postgres_central.[cc|h]:
	* glom/libglom/connectionpool_backends/postgres_self.[cc|h]:
	* glom/libglom/data_structure/glomconversions.[cc|h]:
	* glom/libglom/document/document.[cc|h]: Use unsigned integers where
	the variable cannot be negative.

2010-10-09  Petr Kovar  <pknbe@volny.cz>

	Update Czech translation by Marek Cernocky

2010-10-08  David King  <davidk@openismus.com>

	Remove some unnecessary includes

	* glom/bakery/app.h:
	* glom/base_db_table.h:
	* glom/base_db_table_data.h:
	* glom/box_db_table.h:
	* glom/libglom/sharedptr.h:
	* glom/mode_design/fields/combo_fieldtype.h:
	* glom/mode_design/relationships_overview/
	dialog_relationships_overview.cc: Remove some unnecessary includes.

	* glom/bakery/app_withdoc_gtk.cc:
	* glom/base_db_table_data.cc:
	* glom/glom_privs.cc:
	* glom/import_csv/csv_parser.cc:
	* glom/import_csv/dialog_import_csv.cc:
	* glom/import_csv/dialog_import_csv_progress.cc:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool_backends/postgres.cc:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/connectionpool_backends/sqlite.cc:
	* glom/libglom/data_structure/field.cc:
	* glom/libglom/document/bakery/document.cc:
	* glom/libglom/document/bakery/document_xml.cc:
	* glom/libglom/document/document.cc:
	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_design/dialog_database_preferences.cc:
	* glom/mode_design/iso_codes.cc:
	* glom/mode_design/layout/combobox_fields.cc:
	* glom/mode_design/layout/dialog_layout_calendar_related.cc:
	* glom/mode_design/layout/dialog_layout_list_related.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/translation/combobox_locale.cc:
	* glom/mode_design/translation/dialog_identify_original.cc:
	* glom/navigation/box_tables.cc:
	* glom/print_layout/canvas_layout_item.cc:
	* glom/python_embed/glom_python.cc:
	* glom/utility_widgets/flowtable_dnd.cc:
	* glom/utility_widgets/layoutwidgetmenu.cc:
	* glom/utility_widgets/notebooklabelglom.cc: Add iostream include.

2010-10-08  Murray Cumming  <murrayc@murrayc.com>

	Details: FlowTable: Initial use of GtkSpreadTable instead of custom code.

	* glom/utility_widgets/flowtable.[h|cc]: Derive from GtkSpreadTable,
	removing API and implementation that is then provided by that base class.
	* glom/utility_widgets/flowtable_dnd.[h|cc]: Remove FlowTable_DND (and its
	use for now. We will need to reimplement it somehow with GtkSpreadTable,
	hopefully in a simpler way.

	* glom/mode_data/box_data_details.cc
	* glom/mode_data/flowtablewithfieldse.[h|cc]:
	* glom/utility_widgets/test_flowtable.cc: Adapted.

2010-10-07  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-10-07  Murray Cumming  <murrayc@murrayc.com>

	Choices: Do not offer editing formatting features when choosign extra fields.

	* glom/mode_design/layout/layout_item_dialogs/box_formatting.[h|cc]:
	Rename the two set_formatting() methods to set_formatting_for_non_field(),
	without the show_choices option and set_formatting_for_field(). This avoids
	using the wrong one at the wrong time.
	set_is_for_print_layout(): Rename to set_is_for_non_editable() and change
	the implementation to make it more generic.
	* glom/base_db.[h|cc]: offer_field_formatting(): Rename one overload to
	offer_non_field_item_formatting() and add a show_editable_options parameter
	to the field one.
	* glom/mode_design/layout/layout_item_dialogs/dialog_field_layout.[h|cc]:
	set_field(): Added a show_editable_options bool parameter. Hide the editable
	checkbox and tell Box_Formatting not to show editing options.

	* glom/mode_design/layout/layout_item_dialogs/dialog_fieldslist.[h|cc]:
	* glom/mode_design/layout/layout_item_dialogs/dialog_formatting.[h|cc]:
	* glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc:
	* glom/mode_design/print_layouts/dialog_text_formatting.[h|cc]:
	* glom/mode_design/report_layout/dialog_layout_report.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/layout/dialog_layout_details.cc:
	* glom/print_layout/canvas_print_layout.cc: Adapted.

2010-10-06  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-10-06  Murray Cumming  <murrayc@murrayc.com>

	Avoid SQL errors about invalid ORDER BY fields.

	* glom/mode_data/box_data_list.cc: create_layout():
	* glom/mode_data/box_data_list_related.cc: create_layout(): Don't call
	set_columns() before set_found_set(), to avoid SQL parsing errors due to
	using invalid fields for sort (ORDER BY) clauses.

2010-10-06  Murray Cumming  <murrayc@murrayc.com>

	Some use of G_STRFUNC

2010-10-05  David King  <davidk@openismus.com>

	Avoid uninitialized variables in CanvasGroupGrid

	* glom/utility_widgets/canvas/canvas_group_grid.cc: Initialize
	variables at declaration.

2010-10-05  Murray Cumming  <murrayc@murrayc.com>

	Choices Layout: Fields List: Slight improvement.

	* glom/mode_design/layout/layout_item_dialogs/dialog_fieldslist.[h|cc]:
	Append new fields to the end instead of the start.

2010-10-04  Mario Blättermann  <mariobl@gnome.org>

	[i18n] Updated German translation

2010-10-04  Murray Cumming  <murrayc@murrayc.com>

	Combo Choices: Extra fields dialog: Fix the title.

	* glom/glom_developer.glade: dialog_fieldslist: Remove the title, which
	was the old title left over from when this was just for secondary sort fields.
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc:
	Set the title manually so it is appropriate to each use.

2010-10-04  Murray Cumming  <murrayc@murrayc.com>

	CellRendererDbList: Show related choices.

	* glom/mode_data/datawidget/combochoiceswithtreemodel.[h|cc]:
	Rename type_model_columns and co with a _fixed suffix, to avoid using them
	for the related case.
	* glom/mode_data/datawidget/cellrenderer_dblist.[h|cc]: on_editing_started():
	Pack extra cells for the related case too, separating the fixed and related
	cases into separate methods.

2010-10-04  Murray Cumming  <murrayc@murrayc.com>

	ComboEntry: Actually show the text value in the drop-down.

	* glom/mode_data/datawidget/treemodel_db_withextratext.cc:
	get_value_vfunc(): Use m_column_index_key instead of get_value_key() because
	that is not set, because we do not call set_value_key() for each row. I
	will try to remove that maybe-unused API.
	* glom/mode_data/datawidget/comboentry.cc: set_choices_related():
	Set up a cell_data_func for the automaticaly-added cell when we
	repack it, because calling clear() (to unpack it) disconnects the
	model-view association for that cell.

2010-10-04  Murray Cumming  <murrayc@murrayc.com>

	TreeModelDbWithExtraText: Fix the use of Glib::Value.

	* glom/mode_data/datawidget/treemodel_db.cc: Intialize m_column_index_key
	to -1 so we can really check that it is uninitialized.
	* glom/mode_data/datawidget/treemodel_db_withextratext.cc: get_value_vfunc():
	Initialize both value instances and always set the output value.

2010-10-04  Murray Cumming  <murrayc@murrayc.com>

	Fix typo

2010-10-04  Murray Cumming  <murrayc@murrayc.com>

	ComboEntry: Fix silly typo.

	* glom/mode_data/datawidget/comboentry.cc: Remove left-over for() loop.

2010-10-04  Murray Cumming  <murrayc@murrayc.com>

	Choices: Fix the custom tree model.

	* glom/mode_data/datawidget/cellrenderer_dblist.cc: Use the virtual text
	column here too.
	* glom/mode_data/datawidget/treemodel_db_withextratext.cc: Call the
	ObjectBase constructor with a custom typename, as in the base class. This is
	necessary because ObjectBase is a virtual base class.

2010-10-04  Murray Cumming  <murrayc@murrayc.com>

	Fix the previous commit.

	* glom/mode_data/datawidget/treemodel_db.cc: Constructor: Actually fill
	m_column_fields so there are some columns in the tree model.

2010-10-04  Murray Cumming  <murrayc@murrayc.com>

	Choices combos: Fix ComboBoxEntry by using a virtual text column.

	* glom/mode_data/datawidget/treemodel_db.[h|cc]: Simplify the create()
	methods, removing the one that takes TreeModelColumns.
	* Makefile_glom.am:
	* glom/mode_data/datawidget/treemodel_db_withextratext.[h|cc]: A derived
	model (actually always used, but it keeps the code separate) that has an
	extra virtual text model, because GtkComboBoxEntry requires a text column.
	( https://bugzilla.gnome.org/show_bug.cgi?id=631167 )
	* glom/mode_data/datawidget/combochoiceswithtreemodel.cc:
	set_choices_related(): Use the new derived model instead.
	* glom/mode_data/db_adddel/db_adddel.cc: Adapted.
	* glom/mode_data/datawidget/comboentry.cc: set_choices_related():
	Use the virtual text column.

2010-10-04  Jon Nordby  <jonn@openismus.com>

	Set programming language for --enable-warnings macros

	The C++ warnings flags were being checked against the C compiler,
	which would silently fail if one were to use C++ specific warning flags

2010-10-02  Murray Cumming  <murrayc@murrayc.com>

	Choices combos: Reuse the list view implementation. Only works for Combo now.

	* glom/mode_data/db_adddel/treemodel_db.[h|cc]: Moved to:
	* glom/mode_data/datawidget/treemodel_db.[h|cc]: so we can use it for the
	choices combo widgets too.
	* glom/mode_data/datawidget/combochoices.[h|cc]:
	set_choices_related(): Make this pure virtual.
	Remove set_choices_with_second().
	* glom/mode_data/datawidget/cellcreation.[h|cc]: create_cell():
	Use set_choices_related() instead of getting all rows as a list and
	using set_choices_with_second().
	* glom/datawidget/combochoiceswithtreemodel.[h|cc]:
	Override set_choices_related() and cell_connect_cell_data_func().
	Remove the use_model() pure virtual method.
	* glom/mode_data/datawidget/cellrenderer_dblist.[h|cc]:
	* glom/mode_data/datawidget/combo.[h|cc]:
	* glom/mode_data/datawidget/comboentry.[h|cc]:
	* glom/mode_data/datawidget/combo_as_radio_buttons.[h|cc]: Adapt,
	setting up the view in overrides of set_choices_fixed() and
	set_choices_related() instead of use_model(), and being value-based
	where possible instead of converting values to and from text.

	* glom/mode_data/db_adddel/db_adddel.[h|cc]: Move create_model_db() to
	DbTreeModel::create_from_items() so we can use it for the combo choice
	widgets too.
	refresh_cell_choices_data_from_database_with_foreign_key():
	Use set_choices_related() instead of getting all rows as a list and
	using set_choices_with_second().

2010-10-01  Murray Cumming  <murrayc@murrayc.com>

	Fix (unlikely) possible null dereferences shown by cppcheck.

	* Several files: Check the output parameter when getting widgets from glade.
	When this fails there is already a stderr warning and we could not recover
	anyway, but this helps cppcheck or maybe other chekers to only tell us
	interesting things.

2010-10-01  Murray Cumming  <murrayc@murrayc.com>

	DbUtils: Move fill_full_field_details() here from Base_DB.

	* glom/base_db.[h|cc]: Move fill_full_field_details() from here to:
	* glom/libglom/db_utils.[h|cc]: here, so it can be used more generally,
	and because it isn't actually used much now, so it's just making Base_DB
	look even more complicated than it is.
	* glom/report_builder.cc: Adapted.

2010-10-01  Murray Cumming  <murrayc@murrayc.com>

	Document: fill_layout_field_details(): Handle choices layouts too.

	* glom/libglom/data_structure/layout/fieldformatting.[h|cc]:
	set_choices_related(): Take non-const parameters.
	Added a non-const version of get_choices_related() so we can update the
	full field details later.
	* glom/libglom/document/document.cc: fill_layout_field_details():
	Also try to update the field details in the choices lists.

2010-09-29  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with the latest gtkmm 3 API.

	* glom/application.cc:
	* glom/dialog_existing_or_new.cc:
	* glom/frame_glom.cc:
	* glom/mode_design/translation/window_translations.cc:
	Use FileFilter via RefPtr.
	* glom/bakery/app_withdoc_gtk.cc: Use RecentFilter via RefPtr.
	* glom/mode_data/db_adddel/db_adddel.cc:
	* glom/mode_data/placeholder-glom[h|cc]:
	* glom/utility_widgets/flowtable[h|cc]:
	* glom/utility_widgets/imageglom.[h|cc]: Change use of get_size() to
	get_preferred_size() and change on_expose_event() to on_draw().

2010-09-24  Murray Cumming  <murrayc@murrayc.com>

	Fix the build.

	* glom/libglom/document/document.cc: Restore missing tag names mistakenly
	removed in a previous commit.

2010-09-24  Murray Cumming  <murrayc@murrayc.com>

	Const corrections in use of LayoutItem and LayoutItem_Field in vectors.

	This allows DbTreeModel to take a vector of const items.

2010-09-24  David King  <davidk@openismus.com>

	Improve use of defines

	* *.h: Be more consistent with include guards.
	* glom/dialog_existing_or_new.cc:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/document/document.cc: Convert defines to static const
	data.

2010-09-23  Murray Cumming  <murrayc@murrayc.com>

	DbAddDel: Some code rearrangement.

	* glom/base_db_table_data_readonly.h:
	* glom/mode_data/db_adddel/db_adddel.[h|cc]: Split the db treemodel creation
	up into a separate function, ready for reuse by choices combo widgets.

2010-09-23  Murray Cumming  <murrayc@murrayc.com>

	DbAddDel: Replace add_columns() with set_columns(), simplifying the code.

	* glom/libglom/data_structure/layout/layoutgroup.[h|cc]: Added non-const
	version of get_items_recursive().
	* glom/mode_data/db_adddel/db_adddel.[h|cc]: Remove add_columns() and
	set_columns_ready(), replacing them with set_columsn() which takes a list
	of layout items. Remove DbAddDelColumnInfo because we do not use its other
	member variables, replacing it with the simple list of layout items.
	* glom/mode_data/db_adddel/treemodel_db.[h|cc]: Improve debug out.
	* glom/mode_find/box_data_list_find.cc:
	* glom/mode_data/box_data_list.[h|cc]:
	* glom/mode_data/box_data_list_related.[h|cc]: Adapted.

2010-09-23  Murray Cumming  <murrayc@murrayc.com>

	Added missing files

2010-09-23  Murray Cumming  <murrayc@murrayc.com>

	Move code into a create_cell() utility function.

	* glom/mode_data/db_adddel/cellrenderer*.[h|cc]: Move to
	* glom/mode_data/datawidget/.
	* glom/mode_data/db_adddel/db_adddel.[h|cc]:
	construct_specified_columns_cellrenderer(): Move some code into:
	* glom/mode_data/datawidget/cellcreation.[h|cc]: Added create_cell().
	This is less efficient, because we repeat some dynamic casts, but it
	makes construct_specified_columns_cellrenderer() less awfully huge by
	separating the code that supports cell editing. And it makes the code
	available to ComboChoices widgets later.

2010-09-22  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with latest unstable gtkmm 3.

	* glom/mode_data/db_adddel/db_adddel.cc: Adapt to CellSizeRequest::get_size().

2010-09-22  Murray Cumming  <murrayc@murrayc.com>

	ComboChoices: Renamed set_choices() to set_choices_fixed()

	* glom/mode_data/datawidget/combochoices.h: Rename set_choices() to
	set_choices_fixed() to make code clearer.
	* glom/mode_data/datawidget/combo_as_radio_buttons.[h|cc]
	* glom/mode_data/datawidget/combochoiceswithtreemodel.[h|cc]
	* glom/mode_data/datawidget/datawidget.cc:
	* glom/mode_data/db_adddel/db_adddel.cc: Adapted.

2010-09-18  Mario Blättermann  <mariobl@gnome.org>

	[i18n] Updated German translation

2010-09-18  Murray Cumming  <murrayc@murrayc.com>

	Split Base_DB_Table_Data into a read-only base class.

	* glom/Makefile_glom.am:
	* po/POTFILES.in:
	* glom/base_db_table_data_readonly.[h|cc]: Created this new class from
	parts of:
	* glom/base_db_table_data.[h|cc]: which now derives from it.
	This let us use it for classes that do not allow the user to change the data.
	For instance, choice combo boxes.

2010-09-18  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-09-17  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with gtkmm 3 from git master.

	* glom/utility_widgets/flowtable.cc: Use SizeRequest::get_size() instead
	Gtk::Widget::size_request(), removed in gtkmm 3.

2010-09-15  Murray Cumming  <murrayc@murrayc.com>

	Replace use of ALIGN_LEFT/RIGHT/TOP/BOTTOM with START/END.

	* glom/mode_data/flowtablewithfields.cc:
	* glom/print_layout/canvas_layout_item.cc: Use only the non-deprecated
	enum values.

2010-09-14  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2010-09-12  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-09-11  Murray Cumming  <murrayc@murrayc.com>

	DbAddDel: Cleanup: Rename glom_db_treemodel.[h|cc] to treemodel_db.[h|cc].

	* glom/mode_data/db_adddel/glom_db_treemodel.[h|cc]:
	* glom/mode_data/db_adddel/treemodel_db.[h|cc]: Also rename the class from
	DbTreeModel to TreeModelDb to match.

2010-09-11  Murray Cumming  <murrayc@murrayc.com>

	Remove unused typedef.

2010-09-11  Murray Cumming  <murrayc@murrayc.com>

	Choices combo widgets: Improve the API.

	* glom/mode_data/datawidget/combochoiceswithtreemodel.[h|cc]:
	Make create_model() non virtual, instead adding a pure virtual use_model().
	* glom/mode_data/datawidget/combo.[h|cc]:
	* glom/mode_data/datawidget/comboentry.[h|cc]:
	* glom/mode_data/db_adddel/cellrenderer_dblist.[h|cc]: Change the
	create_model() overrides to use_model() overrides.

2010-09-11  Murray Cumming  <murrayc@murrayc.com>

	Choices combo widgets: Initial work to make the model generic.

	* glom/mode_data/datawidget/combochoiceswithtreemodel.[h|cc]: Change
	m_refModel to a generic TreeModel, make it private ,and add a
	get_choices_model() accessor, as a step to optionally using a db-based
	treemodel like Db_AddDel.
	* glom/mode_data/datawidget/combo.cc:
	* glom/mode_data/datawidget/comboentry.cc:
	* glom/mode_data/db_adddel/cellrenderer_dblist.cc: Adapted.

2010-09-10  Murray Cumming  <murrayc@murrayc.com>

	Correct the POTFILES.in file.

2010-09-10  Murray Cumming  <murrayc@murrayc.com>

	Moved the Db_AddDel code.

	* glom/utility_widgets/db_adddel/*.[h|cc]: Moved this to
	* glom/mode_data/db_adddel/ because that is where it is used.

2010-09-10  Murray Cumming  <murrayc@murrayc.com>

	DbUtils: Improve debug output.

	* glom/libglom/db_utils.cc: query_execute_select(): Try to get more
	information about a connection timeout error when it happens.

2010-09-10  Murray Cumming  <murrayc@murrayc.com>

	Tests: derived instantiation: Test an extra dialog.

	* glom/mode_design/layout/dialog_layout_calendar_related.h: Correct the
	name of the header guard, to avoid a clash.
	* tests/test_glade_derived_instantiation.cc: Enable the test for this
	dialog.

2010-09-10  David King  <davidk@openismus.com>

	Make pc.in file unversioned

	* configure.ac: Additionally specify source file for unversioned
	glom.pc.in.
	* glom/libglom/glom-1.16.pc.in: Move to unversioned
	glom/libglom/glom.pc.in, which will be moved to a versioned file by
	configure.

2010-09-10  David King  <davidk@openismus.com>

	Use GLOM_ABI_VERSION in Makefiles and configure.ac

	* Makefile.am:
	* Makefile_libglom.am:
	* configure.ac: Use GLOM_ABI_VERSION to reduce duplication.

2010-09-10  Murray Cumming  <murrayc@murrayc.com>

	Use libosso instead of libossomm on Maemo

	* configure.ac:
	* glom/main.cc: Use libosso instead of libossomm, because we just use
	one function.

2010-09-10  Murray Cumming  <murrayc@murrayc.com>

	Dialog_Layout_Report: Fix a crash, making all tests pass.

	* glom/mode_design/report_layout/dialog_layout_report.[h|cc]:
	Disconnect a signal handler in the destructor to avoid a crash when the
	GtkNotebook signal handler is called later, though we should fix that in
	GtkNotebook.

2010-09-09  Murray Cumming  <murrayc@murrayc.com>

	Choices drop-downs: More improvement of the column alignment.

	* glom/mode_data/datawidget/comboentry.cc: create_model():
	* glom/utility_widgets/db_adddel/cellrenderer_dblist.[h|cc]:
	on_editing_started(): Remove (with clear) the automatically-added
	CellRenderer and re-pack it, so we can specify expand=false.

2010-09-09  David King  <davidk@openismus.com>

	Initial dialog: Really try to load examples from each path.

	* glom/dialog_existing_or_new.[h|cc]: list_examples_at_path():
	Use synchronous IO rather than asynchronous, to solve bug #626417.
	This means that we really check the result of trying the first directory,
	so we can try the other location too.

2010-09-09  Murray Cumming  <murrayc@murrayc.com>

	Choices drop-down: Remove hack to fix the list view choices.

	* glom/utility_widgets/db_adddel/cellrenderer_dblist.cc: Constructor:
	Remove the hacky call to Glib::ObjectBase(0) because it stopped
	on_start_editing() from being called, stopping the extra columns from being
	shown.

2010-09-09  Murray Cumming  <murrayc@murrayc.com>

	Choices drop-downs: Improve the column alignment.

	* glom/mode_data/datawidget/combo.cc: create_model():
	* glom/mode_data/datawidget/comboentry.cc: create_model():
	* glom/utility_widgets/db_adddel.cc: on_start_editing():
	Use expand=false with pack_start() with the first column, plus xalign=0,
	so we can actually align the columns, though it only really works if the
	previous columns have values all of a similar width.
	And this doesn't work with ComboEntry or the cell renderer because
	GtkComboBoxEntry and GtkCellRendererCombo do the pack_start() of the first
	column automatically - see the comments.

2010-09-09  Murray Cumming  <murrayc@murrayc.com>

	Choices drop-downs: Improve the column alignment.

	* glom/mode_data/datawidget/combo.cc: create_model():
	* glom/mode_data/datawidget/comboentry.cc: create_model():
	* glom/utility_widgets/db_adddel.cc: on_start_editing():
	Use expand=false with pack_start() with the first column, plus xalign=0,
	so we can actually align the columns, though it only really works if the
	previous columns have values all of a similar width.
	And this doesn't work with ComboEntry or the cell renderer because
	GtkComboBoxEntry and GtkCellRendererCombo do the pack_start() of the first
	column automatically - see the comments.

2010-09-09  Murray Cumming  <murrayc@murrayc.com>

	Removed some debug output

2010-09-09  Murray Cumming  <murrayc@murrayc.com>

	List view: Support multiple extra fields in choices here too.

	* glom/utility_widgets/cellrendererlist/cellrendererlist.[h|cc]:
	Split this into:
	* glom/utility_widgets/cellrendererlist.[h|cc]: with no extra/second-column
	functionality. It is now just a convenience class for a string-based combo
	cell.
	And into this:
	* glom/utility_widgets/db_adddel/cellrenderer_dblist.[h|cc]: deriving from
	ComboChoicesWithTreeModel, like the regular combo widgets. Remove non-DB
	API.
	* glom/utility_widgets/db_adddel/db_adddel.cc: Adapted.

2010-09-08  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2010-09-08  Murray Cumming  <murrayc@murrayc.com>

	Combo widgets: Support multiple extra fields.

	* glom/libglom/utils.cc: get_choice_values(): Actually get extra values other
	than than the first one, by actually using the index instead of just 1.
	* glom/mode_data/datawidget/combochoiceswithtreemodel.[h|cc]:
	Added a virtual create_model(), to create model columns dynamically. So far
	they are just text columns.
	set_choices_with_second(): Recreate the model here each time.
	* glom/mode_data/datawidget/combo.[h|cc]:
	* glom/mode_data/datawidget/comboentry.[h|cc]: Override create_model() to
	also set up the view columns using the widgets' specific API.
	* glom/mode_data/datawidget/combochoices.h: set_choices_related():
	Stop this from being virtual because we no longer override it.

2010-09-08  Murray Cumming  <murrayc@murrayc.com>

	Initial support for multiple show-also fields in related choices.

	* glom/glom_developer.glade: Formatting box: related choices:
	Replace the second-field combo with a label and an edit button, to
	open a layout dialog allowing multiple items (fields).
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.[h|cc]:
	Add the code for that.
	* glom/mode_design/fields/dialog_fielddefinition.cc: Handle changes to
	the extra layout group in BoxFormatting.

	* glom/libglom/data_structure/layout/fieldformatting.[h|cc]:
	Added a get_has_related_choices() with a has_second& parameter.
	Added a get_choices_related_relationship() convenience method.
	set/get_choices_related(): Change the field_second string parameter to
	a full LayoutGroup, allowing multiple items (fields).
	* glom/libglom/data_structure/layout/layoutgroup.[h|cc]:
	Added a get_items_recursive() convenience method.
	Adapt to the FieldFormatting change.
	* glom/libglom/document/document.cc:
	load_after_layout_item_formatting(), save_before_layout_item_formatting():
	For the related choices extra fields, save an entire layout group instead of
	just a field name, supporting the deprecated way for documents with the
	old file format version.
	* glom/libglom/utils.[h|cc]: get_choice_values(): Do not take
	the first and second fields as parameters. Instead get the information from
	the layout item. Support multiple fields, via the new layout group.
	Added get_list_of_layout_items_for_display() to show a preview of the
	layout group (list of fields) in the label in BoxFormatting.
	* glom/mode_data/flowtablewithfields.cc: Adapt to the FieldFormatting change.
	* glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc:
	update_labels(): Improve this code, using the new
	Utils::get_list_of_layout_items_for_display() method.
	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]: Adapt to these changes.

	* glom/mode_data/datawidget/combo.[h|cc]:
	* glom/mode_data/datawidget/combo_as_radio_buttons.cc:
	* glom/mode_data/datawidget/combochoices.[h|cc]:
	* glom/mode_data/datawidget/combochoiceswithtreemodel.cc:
	* glom/mode_data/datawidget/comboentry.[h|cc]:
	set_choices_related(): Don't take the extra fields as a parameter. Instead
	discover them from the layout item.
	set_choices_with_second(): Change the list_value's parameter type to support
	multiple second values.
	refresh_data_from_database_with_foreign_key(): Adapt the to the use of a
	layout group instead of second field name, though this currently only uses the first field.
	* glom/mode_data/datawidget/datawidget.cc: Adapt to the combo API changes.

	* glom/mode_design/layout/layout_item_dialogs/dialog_fieldslist.cc: Make
	some code slightly more robust. Not really a related change.

2010-09-08  Murray Cumming  <murrayc@murrayc.com>

	Dialog_Properties: Remove the unnecessary virtual keywords.

	* glom/utility_widgets/dialog_properties.h: Make methods non-virtual
	because nothing overrides them.

2010-09-07  Murray Cumming  <murrayc@murrayc.com>

	Dialog_FieldsList: Fix a crash.

	* glom/mode_design/layout/layout_item_dialogs/dialog_fieldslist.cc: get_fields():
	Do not overwrite the vector, fixing a crash.
	Looking at this code, I think we also ignore reordering of items, so we
	should fix that later.

2010-09-07  Murray Cumming  <murrayc@murrayc.com>

	Add a --stop-auto-server-shutdown command-line option for debugging.

	* glom/libglom/connectionpool.[h|cc]: Added set_auto_server_shutdown().
	startup(): Only handle the linux crash signal if this is set, so we can
	instead let gdb handle it.
	* glom/application.[h|cc]: Added set_stop_auto_server_shutdown() which calls
	it.
	* glom/main.cc: Add a --stop-auto-server-shutdown command line option that
	calls that.

2010-09-07  Murray Cumming  <murrayc@murrayc.com>

	Renamed Dialog_GroupBy_SecondaryFields to Dialog_FieldsList.

	* glom/mode_design/layout/layout_item_dialogs/dialog_groupby_second
	aryfields.[h|cc]: Rename to dialog_fieldslist.[h|cc]:
	* glom/glom_developer.glade: Renamed the ID too.
	adapted.
	* Makefile_glom.am:
	* glom/mode_design/layout/layout_item_dialogs/dialog_group_by.h:
	* tests/test_glade_derived_instantiation.cc:
	Adapted.
	This lets me use it for other things too.

2010-09-06  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-09-06  Murray Cumming  <murrayc@murrayc.com>

	Glade files: Remove mention of removed GtkDialog::has-separator property.

	* glom/glom.glade:
	* glom/glom_developer.glade: Remove use of the has-separator property,
	avoiding runtime warnings from GtkBuilder.

2010-09-06  Murray Cumming  <murrayc@murrayc.com>

	Fix the build for the latest goocanvasmm and gtkmm API.

	* glom/mode_design/relationships_overview/canvas_group_dbtable.cc:
	* glom/mode_design/relationships_overview/dialog_relationships_over
	view.cc:
	* glom/print_layout/canvas_print_layout.[h|cc]:
	* glom/utility_widgets/canvas/canvas_text_movable.[h|cc]:
	Use Goocanvas::AnchorType instead of (removed) Gtk::AnchorType.

2010-09-02  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with latest gtkmm.

	* glom/utility_widgets/flowtable.[h|cc]: on_expose_event(): Use
	Cairo for drawing instead of Gdk::GC, which no longer exists.

2010-09-02  Murray Cumming  <murrayc@murrayc.com>

	Avoid use of deprecated cairomm API.

	* configure.ac: Also check for CAIROMM deprecations.
	* glom/import_csv/dialog_import_csv.cc: Fix a bad git merge.

2010-08-29  Mario Blättermann  <mariobl@gnome.org>

	[i18n] Updated German translation

2010-08-28  Jorge González  <jorgegonz@svn.gnome.org>

	Updated Spanish translation

2010-08-25  Petr Kovar  <pknbe@volny.cz>

	Update Czech translation by Marek Cernocky

2010-08-20  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-08-20  Gabor Kelemen  <kelemeng@gnome.hu>

	Fix escaping of UTF-8 character. Fixes bug #626991

2010-08-19  David King  <davidk@openismus.com>

	Include the correct config.h

	* glom/application.cc:
	* glom/bakery/app_withdoc.cc:
	* glom/bakery/app_withdoc_gtk.cc:
	* glom/bakery/app_withdoc_gtk.h:
	* glom/bakery/dialog_offersave.cc:
	* glom/bakery/dialog_offersave.h:
	* glom/libglom/connectionpool_backends/postgres.cc:
	* glom/libglom/document/bakery/document.cc:
	* glom/libglom/gst-package.c:
	* glom/main.cc:
	* glom/mode_design/translation/window_translations.cc:
	* glom/python_embed/glom_python.cc:
	* glom/python_embed/python_module/py_glom_module.cc:
	* glom/utils_ui.cc: Be sure to include the local config.h.

2010-08-16  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-08-12  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-08-12  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-08-11  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2010-08-10  Murray Cumming  <murrayc@murrayc.com>

	SpinButtons: Don't have 0 to 0 ranges with only 0 increments possible.

	* glom/import_csv/dialog_import_csv.cc: (Import dialog)
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.cc:
	(Multiline text field height)
	* glom/utility_widgets/dialog_flowtable.cc: (number of columns in a group):
	Constructors: Set the range and increment manually, because Glade defaults
	to useless 0 values for these.
	This problem was introduced when we remove the extra adjustment objects
	from the .glade files, so we could simplify our use of Glade.
	It is a side-effect of GtkBuilder bug
	http://bugzilla.gnome.org/show_bug.cgi?id=575714
	This partially fixes bug #625693 (.cvs file import not working).

2010-08-10  Murray Cumming  <murrayc@murrayc.com>

	Catch exceptions from std::locale::global().

	* glom/main.cc: Put a try/catch around the call to std::locale::global(),
	because it is throwing on at least one system under apparently normal
	circumstances.
	This should fix bug #619445 (teidooricaerak) or at least give us another clue.

2010-08-09  Murray Cumming  <murrayc@murrayc.com>

	test_document_autosave: Change the temp filename to avoid a clash.

	* tests/test_document_autosave.cc: Rename the file because we sometimes
	seem to clash with a directory of the same name.

2010-08-09  Murray Cumming  <murrayc@murrayc.com>

	Self-Hosting: Don't keep trying indefinitely when trying various ports.

	* glom/libglom/connectionpool_backends/postgres_self.cc: connect():
	Fix a logic error introcuced when removing the no-exceptions ifdefs.
	Now it only retries when a particular type of error happens, and otherwise
	fails.

2010-08-09  Murray Cumming  <murrayc@murrayc.com>

	Fix the tests.

	* tests/test_selfhosting_new_empty.cc:
	* tests/test_selfhosting_new_from_example.cc: Adapt to the recent
	change return type of ConnectionPool::startup().

2010-08-07  Murray Cumming  <murrayc@murrayc.com>

	Fix the tests build after the merge.

	* tests/test_selfhosting_new_empty.cc: Fix the use of Utils::.

2010-08-07  Murray Cumming  <murrayc@murrayc.com>

	Fix the tests.

	* tests/test_selfhosting_new_empty.cc:
	* tests/test_selfhosting_new_from_example.cc: Adapt to the recent
	change return type of ConnectionPool::startup().

2010-08-06  Christian Kirbach  <christian.kirbach@googlemail.com>

	[i18n] Updated German translation

2010-08-06  Murray Cumming  <murrayc@murrayc.com>

	1.15.2

2010-08-06  Murray Cumming  <murrayc@murrayc.com>

	FieldFormatting: Default to show-all for related choices.

	* glom/libglom/data_structure/layout/fieldformatting.cc:

2010-08-06  Murray Cumming  <murrayc@murrayc.com>

	FieldFormatting: Default to show-all for related choices.

	* glom/libglom/data_structure/layout/fieldformatting.cc:

2010-08-06  Murray Cumming  <murrayc@murrayc.com>

	Merged the feature_choices_show_all branch.

2010-08-06  Murray Cumming  <murrayc@murrayc.com>

	Formatting: Add get_choices_related() overload to reduce copy/pasted code.

	* glom/libglom/data_structure/layout/fieldformatting.[h|cc]:
	Added a get_choices_related() overload that returns the LayoutItem_Fields
	instead of just the field names. This reduces the copy/pasted code in the
	callers, and makes it easier to support related fields in future.
	* glom/libglom/utils.[h|cc]:
	* glom/mode_data/datawidget/combochoices.[h|cc]:
	* glom/utility_widgets/db_adddel/db_adddel.cc: Adapted and made necessary
	const corrections.

2010-08-06  Murray Cumming  <murrayc@murrayc.com>

	Choices: Fix !show-all lists.

	* glom/mode_data/datawidget/combochoices.[h|cc]:
	refresh_data_from_database_with_foreign_key(): Add a document parameter,
	used to update the cached choices information if necessary.
	* glom/mode_data/flowtablewithfields.cc: set_field_value(): Adapted.

2010-08-06  Murray Cumming  <murrayc@murrayc.com>

	Document loading: Show an error dialog even for unexpected errors.

	* glom/application.cc: on_document_load(): Don't just fail silently when
	there is an unexpected error, for instance if the postgres data directory
	is missing.

2010-08-06  Murray Cumming  <murrayc@murrayc.com>

	Utils::get_choice_values(): Reduce copy/pasted code.

	* glom/libglom/utils.[h|cc]: build_sql_select_with_key(): Add a sort_clause
	parameter.
	get_choice_values(field): Rename this to get_choice_values_all() and change
	the implementation to just call the other get_choice_values(). Add
	a Document* parameter so we can do that.
	get_choice_values(document, field, ...): Sort the list by the first field.
	This should probably be an option in the developer-mode UI.
	* glom/mode_data/datawidget/combo.h:
	* glom/mode_data/datawidget/combochoices.[h|cc]:
	* glom/mode_data/datawidget/comboentry.h:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	get_choice_values(): Adapt to the change, by adding a Document* parameter.
	* glom/base_db.cc: Adapt.

2010-08-06  David King  <davidk@openismus.com>

	Minor build system cleanup

	* configure.ac: Drop unnecessary AC_DISABLE_STATIC. Use AS_IF rather
	than shell if...fi. Add a TODO.
	* Makefile.am:
	* Makefile_tests.am: Take advantage of dependencies to reduce
	duplication of linker flags.

2010-08-06  Murray Cumming  <murrayc@murrayc.com>

	DbAddDel: Avoid some copy/pasting of code to append items to choices cells.

	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]: Added set_cell_choices(),
	using it in refresh_cell_choices_data_from_database_with_foreign_key() and
	construct_specified_columns_cellrenderer().

2010-08-06  Murray Cumming  <murrayc@murrayc.com>

	List: Choices with !show_all: Update the list when the from_field changes.

	* glom/libglom/utils.[h|cc]: Added a get_choice_values() overload that
	takes the foreign_key.
	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]: Added get_choice_index()
	to get the affected choice lists when a field value changes.
	Added refresh_cell_choices_data_from_database_with_foreign_key() to update
	these lists.
	set_value(): Use these methods to update choice lists when appropriate,
	as already happens in the Details view.

2010-08-05  Murray Cumming  <murrayc@murrayc.com>

	List view: When a value is edited, update other instances of the same field.

	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]:
	get_data_model_column_index(): Add a including_specified_field_layout bool
	parameter, used in a new set_value() method overload that has a
	set_specified_field_layout bool parameter.
	user_changed(): Call set_value() to show the new value in any other
	instances of the same field.
	The details view already does this.

2010-08-05  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-08-04  Murray Cumming  <murrayc@murrayc.com>

	Simplified some code.

	* glom/mode_data/flowtablewithfields.[h|cc]: set_value(), set_other_value():
	Avoid copy/pasting of the code.

2010-08-04  Murray Cumming  <murrayc@murrayc.com>

	Choices with !show_all: Update the list when the from_field changes.

	* glom/libglom/data_structure/layout/fieldformatting.[h|cc]: Renamed
	set/get_choices() to set/get_choices_related().
	* glom/libglom/utils.cc:
	* glom/libglom/document/document.cc:
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc: Adapted.

	* glom/mode_data/datawidget/combochoices.[h|cc]: Remove the non-default
	constructor that took a second field.
	Move set_choices_with_second() to private.
	Add set_choices_related() and matching member variables.
	Add refresh_data_from_database_with_foreign_key(), like the one in
	Box_Data_RelatedRecords, which gets the related values and calls
	set_choices_with_second().
	* glom/mode_data/datawidget/combo.[h|cc]:
	* glom/mode_data/datawidget/combo_as_radio_buttons.[h|cc]:
	* glom/mode_data/datawidget/combochoiceswithtreemodel.[h|cc]:
	* glom/mode_data/datawidget/comboentry.[h|cc]: Adapt to the changed
	ComboChoices base API.
	* glom/mode_data/datawidget/datawidget.cc:
	create_combo_widget_for_field(): Do not take the second field as a parameter,
	because that is now specified later.
	Constructor: Simplify the code now that ComboChoices does more of the work.
	* glom/mode_data/flowtablewithfields.cc: set_field_value(): Call
	refresh_data_from_database_with_foreign_key() on the choice widgets as it
	already does on the portals, to refresh the list of possible values.

2010-08-02  Murray Cumming  <murrayc@murrayc.com>

	FlowTableWithFields: Added get_choices_widgets(from_field).

	* glom/mode_data/datawidget/datawidget.cc: Constructor: Only fill the
	choices list at this point if show_all is set.
	* glom/mode_data/flowtablewithfields.[h|cc]: Addef get_choices_widgets(),
	like the existing get_portals() methods.

2010-08-02  Murray Cumming  <murrayc@murrayc.com>

	Minor const changes.

2010-08-02  Murray Cumming  <murrayc@murrayc.com>

	Field Formatting: Related Choices: Add a Show All checkbox.

	* glom/glom_developer.glade:
	* glom/libglom/data_structure/layout/fieldformatting.[h|cc]:
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.[h|cc]:
	Add a Show All checkbox to the Related Choices section, so the developer
	may choose to restrict the choices depending on the relationship. The default
	(the previous behaviour) is to show all records from the related table.
	* glom/libglom/document/document.cc: save_before_layout_item_formatting(),
	save_after_layout_item_formatting(): Store the new bool in the document.
	* glom/libglom/utils.cc:
	* glom/mode_data/datawidget/datawidget.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc: Adapt the code to build, though
	the behaviour has not changed yet.

2010-07-27  Murray Cumming  <murrayc@murrayc.com>

	Fix the tests build after the merge.

	* tests/test_selfhosting_new_empty.cc: Fix the use of Utils::.

2010-07-27  Murray Cumming  <murrayc@murrayc.com>

	Fix the tests build after the merge.

	* tests/test_selfhosting_new_empty.cc: Fix the use of Utils::.

2010-07-27  Murray Cumming  <murrayc@murrayc.com>

	Rename libglom-1.14 to libglom-1.16 (parallel-installable)

	* configure.ac: Change the GLOM_ABI_VERSION number.
	* Makefile.am:
	* Makefile_libglom.am:
	* docs/pyglom_reference/Makefile.am:
	* docs/pyglom_reference/index.rst.in:
	* glom/libglom/init.h:
	* glom/python_embed/python_module/py_glom_module.cc:
	* tests/test_load_python_library.cc:
	* win32/build-installer:
	* win32/glom.iss.in: Change mentions of 1.14 to 1.16.

2010-07-27  Murray Cumming  <murrayc@murrayc.com>

	Rename libglom-1.14 to libglom-1.16 (parallel-installable)

	* configure.ac: Change the GLOM_ABI_VERSION number.
	* Makefile.am:
	* Makefile_libglom.am:
	* docs/pyglom_reference/Makefile.am:
	* docs/pyglom_reference/index.rst.in:
	* glom/libglom/init.h:
	* glom/python_embed/python_module/py_glom_module.cc:
	* tests/test_load_python_library.cc:
	* win32/build-installer:
	* win32/glom.iss.in: Change mentions of 1.14 to 1.16.

2010-07-27  Murray Cumming  <murrayc@murrayc.com>

	Rename libglom-1.14 to libglom-1.16 (parallel-installable)

	* configure.ac: Change the GLOM_ABI_VERSION number.

2010-07-27  Murray Cumming  <murrayc@murrayc.com>

	Adapt to recent gtkmm-3.0 API changes.

	* glom/bakery/app_withdoc_gtk.cc: Remove use of Gtk::RecentManager::set_limit().
	* glom/dialog_existing_or_new.[h|cc]:
	* glom/frame_glom.[h|cc]:
	* glom/mode_data/notebook_data..[h|cc]:
	* glom/mode_design/report_layout/dialog_layout_report.[h|cc]:
	* glom/notebook_glom.[h|cc]: Replace use of GtkNotebookPage with Gtk::Widget*
	in switch_page signal handlers.

2010-07-25  Murray Cumming  <murrayc@murrayc.com>

	1.14.5

2010-07-25  Murray Cumming  <murrayc@murrayc.com>

	Allow unique fields with same name in multiple tables.

	* glom/libglom/connectionpool_backends/postgres.cc:
	change_column(): Prefix the table name to the constraint name when
	setting/removing the unique-key constraint, as libgda (or PostgreSQL)
	seems to do when creating a field. This prevents a clash when two tables
	have the same field name, and both should be unique.
	This is nasty code anyway that I would rather have in libgda.
	This fixes bug #625192 (fmyhr).

2010-07-22  Murray Cumming  <murrayc@murrayc.com>

	1.14.4

2010-07-22  Murray Cumming  <murrayc@murrayc.com>

	Added --restore command-line option.

	* glom/application.[h|cc]: Added init() with a bool restore option,
	calling do_backup_restore() if appropriate.
	* glom/main.cc: Added a --restore command and pass the bool result to
	Application::init().

	This allows the user to restore from a backup without first loading an
	existing file, though this is so far only possible via the terminal.

2010-07-22  Murray Cumming  <murrayc@murrayc.com>

	Added Developer/Restore Backup menu item.

	* glom/application.[h.cc]: Added a Developer/Restore Backup menu item,
	which lets the user choose a .tar.gz, untars it in /tmp/ and opens it.

	* tests/test_selfhosting_new_empty.cc:
	* glom/libglom/utils.[h|cc]: Move delete_directory() to Utils.
	Added get_directory_child_with_suffix(), used to find the .glom file inside
	an untarred directory.

2010-07-22  Murray Cumming  <murrayc@murrayc.com>

	DTD: Mention the startup_script node.

	* glom/glom_document.dtd: Add the startup_script node, so that
	the examples validate again.
	* glom/libglom/document/document.cc: set_child_text_node():
	Do not add new empty nodes. This keeps the document smaller.

2010-07-22  Murray Cumming  <murrayc@murrayc.com>

	Saving from a backup: Now works.

	* glom/application.[h|cc]: on_document_load(): Simplify the code to
	create from a backup, modifying the from-example code to handle it too,
	calling a new recreate_database_from_backup() method.
	That now creates the database and then adds the groups before trying
	to restore from the backup file.
	* glom/libglom/connectionpool_backends/backend.h: convert_backup():
	* glom/libglom/connectionpool_backends/postgres.[h|cc]: convert_backup():
	* glom/libglom/connectionpool_backends/sqlite.[h|cc]: convert_backup():
	Add a database_name_parameter. This now expects the database to exist
	already, though it should be empty. It should also already have the
	expected groups.
	* glom/libglom/connectionpool.[h|cc]: convert_backup(): Supply the
	database name. Also update the meta data so we know about the new tables.

2010-07-21  Murray Cumming  <murrayc@murrayc.com>

	Small Business example: Add table privileges.

	* examples/example_smallbusiness.glom: Give some privileges to the
	accounts and personnel groups and resave-as-an-example. These were
	probably lost some time.

2010-07-21  Murray Cumming  <murrayc@murrayc.com>

	Saving as example: Fix this.

	* glom/libglom/document/document.cc: set_modified(): Actually use
	m_allow_auto_save so we don't just save every time, overwriting
	previous saves. For instance, the examples were saved with is_example=false
	after the document was changed back.

2010-07-21  Murray Cumming  <murrayc@murrayc.com>

	Saving from examples: Set the table privileges mentioned in the document.

	* glom/base_db.[h|cc]: Added set_table_privileges_groups_from_document().
	* glom/application.cc: recreate_database_from_example(): call it.

2010-07-21  Murray Cumming  <murrayc@murrayc.com>

	Saving from examples: Create the groups mentioned in the document.

	* glom/base_db.[h|cc]: Added add_groups_from_document().
	* glom/application.cc: recreate_database_from_example() call it.

2010-07-20  Murray Cumming  <murrayc@murrayc.com>

	Fixed warnings with latest gtkmm-2.24

	* glom/mode_data/notebook_data.cc:
	* glom/mode_find/notebook_find.cc: Use Gtk::Notebook::append_page()
	instead of Gtk::Notebook::pages().push_back().

2010-07-13  Murray Cumming  <murrayc@murrayc.com>

	Fixed warnings, even with the latest gtkmm-2.24.

	Many files: Try to include box.h or dialog.h before other treemodel.h.
	Sometimes just add a gtkmm.h to simplify things. This will not be necessary
	with gtkmm-3.0 (in glom's master branch).

2010-07-07  Murray Cumming  <murrayc@murrayc.com>

	PostgresQL backups: Suggest a dated name.

	* glom/application.cc: on_menu_developer_export_backup(): Suggest
	a directory name based on the current name and the date/time.
	Also use the directory name for the .glom filename, as we usually would do,
	instead of calling it just backup.glom.

2010-07-07  Murray Cumming  <murrayc@murrayc.com>

	PostgreSQL backups: Archive the directory in a .tar.gz..

	* configure.ac: Check for the tar and gzip executables.
	* glom/application.cc: on_menu_developer_export_backup(): Use tar
	via the command line, to put it all in a .tar.gz, so it is self-contained.

2010-07-07  Murray Cumming  <murrayc@murrayc.com>

	PostgreSQL backups: Use .pgpass.

	* glom/libglom/connectionpool_backends/postgres.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres_self.[h|cc]:
	Move create_text_file() from PostgresSelf to Postgres and add an
	only_for_current_user bool parameter, so we can use it in a
	new save_password_to_pgpass() method.
	save_backup(), convert_backup(): Temporarily store the password in
	~/.pgpass, so pg_dump and pg_restore actually work.

2010-07-05  Murray Cumming  <murrayc@murrayc.com>

	Show progress in the UI during backup saving and restoring.

	* glom/application.[h|cc]: on_document_load(),
	on_menu_developer_export_backup(): Show a pulsing progress dialog while
	waiting for backup exporting and restoring.
	on_menu_developer_export_backup(): Close the file chooser dialog as soon
	as we stop using it.

2010-07-04  Murray Cumming  <murrayc@murrayc.com>

	Improve backup saving and add backup restoring.

	* glom/libglom/document/document.[h|cc]: Added get/set_is_backup_file(),
	saved in the XML document..
	on_menu_developer_export_backup(): Mark the .glom file as a backup file.
	Rename recreate_database() to recreate_database_from_example().
	on_document_load(): Handle backup .glom files similarly to examples files,
	but using the backup file instead of example data.
	* glom/frame_glom.cc:
	* glom/libglom/connection_pool.[h|cc]:
	* glom/libglom/connectionpool_backends/backend.[h|cc]: startup(): Return a
	StartupErrors enum, to provide more clues, for instance to say that backup
	data was found.
	Add get/set_database_directory_uri(), replacing the one in sqlite.[h|cc] and
	replacing set_self_hosting_data_uri() in postgres_self.[hc|cc].
	save_backup(): Don't take a filepath - use get_database_directory_uri()
	instead.
	Added convert_backup() to restore from a backup.
	* glom/libglom/connectionpool_backends/sqlite.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres.[h|cc]:
	get_path_to_postgres_executable(): Catch exceptions from Glib::build_filename().
	save_backup(): Use --format=c with pg_dump, because the default one can't be
	used with pg_restore.
	Implement convert_backup(), using pg_restore.
	Added get_self_hosting_config_path(), get_self_hosting_data_path() and
	get_self_hosting_backup_path() to avoid copy/pasting magic paths.
	* glom/libglom/connectionpool_backends/postgres_self.[h|cc]:
	Adapted.
	* glom/application.[h|cc]:
	* tests/test_selfhosting_new_empty.cc: Adapted to check the enum result from
	startup().

2010-07-04  Murray Cumming  <murrayc@murrayc.com>

	Document: Avoid a crash when creating the parent directory.

	* glom/libglom/docment/bakery/document.cc: write_to_disk(): Check the
	result of Gio::File::get_parent() for null, because that happens if we
	provide a path instead of a URI.

2010-07-04  Murray Cumming  <murrayc@murrayc.com>

	Save as Example: Reset the old file URI and allow auto-saving again.

	* glom/application.cc: on_menu_file_save_as_example(): reset the old file
	URI and turn auto-saving back on again, because it makes no sense to leave
	the user editing an example document. This is really an export anyway.
	This allows the user to close the window again after saving as an example.

2010-07-04  Murray Cumming  <murrayc@murrayc.com>

	Add Save Backup menu item.

	* glom/libglom/connectionpool_backends/backend.[h|cc]:
	* glom/libglom/connectionpool_backends/posgres.[h|cc]:
	* glom/libglom/connectionpool_backends/sqlite.[h|cc]: Added save_backup()
	virtual method, using pg_dump for PostgreSQL.
	* glom/libglom/connectionpool.[h|cc]: Add save_backup() here, calling the
	backend.
	* glom/application.cc: Add a Developer/Export Backup menu item, to use
	this feature. This also saves the .glom file.

2010-07-04  Murray Cumming  <murrayc@murrayc.com>

	In progress

2010-07-04  Murray Cumming  <murrayc@murrayc.com>

	Spawn functions: Catch some exceptions.

	* glom/libglom/spawn_with_feedback.cc():
	execute_command_line(), execute_command_line_and_wait(): Catch exceptions
	so that these functions don't throw, simplifying caller code. For instance,
	a command may be malformed and rejected by the shell.

2010-06-29  Murray Cumming  <murrayc@murrayc.com>

	Improve stderr message.

	* glom/libglom/spawn_with_feedback.cc:
	execute_command_line_and_wait_until_second_command_returns_success():
	Correct the error message when a command (such as postgres) fails. As
	noticed in bug #617504.

2010-06-29  Murray Cumming  <murrayc@murrayc.com>

	Improve stderr message.

	* glom/libglom/spawn_with_feedback.cc:
	execute_command_line_and_wait_until_second_command_returns_success():
	Correct the error message when a command (such as postgres) fails. As
	noticed in bug #617504.

2010-06-21  Murray Cumming  <murrayc@murrayc.com>

	Privs::get_database_users(): Check for an empty DataModel.

	* glom/libglom/privs.cc: Check that the user (listed in the group) could
	really be found.

2010-06-21  Murray Cumming  <murrayc@murrayc.com>

	Use G_STRFUNC with std::cerr and std::cout.

	* *.h/cc: Replace hard-coded copy/pastes of method names with
	G_STRFUNC, with the help of regexxer.

2010-06-21  Murray Cumming  <murrayc@murrayc.com>

	Adapt use of Gda::ServerOperation.

	* glom/libglom/connectionpool_backends/backend.cc: add_column(),
	* glom/libglom/connectionpool_backends/sqlite.cc:
	add_column_to_server_operation(): set_value_at() is now templated in libgdamm,
	so there is no need for the ugly (somebool ? "TRUE" : "FALSE") code.

2010-06-21  David King  <amigadave@amigadave.com>

	Explicitly link with libdl for Python module loading test

	* Makefile_tests.am: Do not rely on libdl being a dependency of a
	library in LIBGLOM_LIBS, by linking with it explicitly.

2010-06-21  David King  <amigadave@amigadave.com>

	Explicitly link with libdl for Python module loading test

	* Makefile_tests.am: Do not rely on libdl being a dependency of a
	library in LIBGLOM_LIBS, by linking with it explicitly.

2010-06-20  Murray Cumming  <murrayc@murrayc.com>

	Remove ifdefs for the gtkmm reduced-api build.

2010-06-20  Murray Cumming  <murrayc@murrayc.com>

	libglom: ConnectionPool: Simplify code.

	* glom/libglom/connectionpool_backends/backend.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres_central.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres_self.[h|cc]:
	* glom/libglom/connectionpool_backends/sqlite.[h|cc]: Remove the
	query_execute(), create_server_operation(), perform_server_operation(),
	begin_transaction(), commit_transaction() and rollback_transaction()
	convenience methods, which just hide the no-exceptions ifdefs.
	But gtkmm-3.0 does not support that anyway, so we don't need it.
	Just call the libgdamm methods directly.
	add_column(), drop_column(), change_columns(), connect():
	Remove the error output parameters which were there for the same reason.
	Now they just throw.
	* glom/libglom/connectionpool.[h|cc]: Adapted code, hopefully making it
	simpler.

2010-06-19  Murray Cumming  <murrayc@murrayc.com>

	Use Gnome::Gda::SqlBuilder::Id

	* glom/base_db.cc:
	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	* glom/libglom/utils.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: Use the typedef
	instead of guint. It is very lengthy, but it is correct.

2010-06-19  Murray Cumming  <murrayc@murrayc.com>

	Use Gnome::Gda::SqlBuilder::Id

	* glom/base_db.cc:
	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	* glom/libglom/utils.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: Use the typedef
	instead of guint. It is very lengthy, but it is correct.

2010-06-19  Murray Cumming  <murrayc@murrayc.com>

	Use SqlBuilder::add_field_id() to avoid ambiguity.

	* glom/base_db.cc:
	* glom/base_db_table_data.cc:
	* glom/libglom/db_utils.cc:
	* glom/libglom/privs.cc:
	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	* glom/libglom/utils.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_portal.cc:
	* glom/mode_design/dialog_database_preferences.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/report_builder.cc: Replace use of add_id() with the new add_field_id(),
	which lets us specify the table too.

2010-06-19  Murray Cumming  <murrayc@murrayc.com>

	Adapt to latest libgdamm API.

	* glom/base_db.cc:
	* glom/libglom/db_utils.cc:
	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	* glom/libglom/utils.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	SqlBuilder::add_field_id() was renamed to add_field_value_id(), though I now
	notice that no value is involved when it is used for SELECT queries.

2010-06-19  Murray Cumming  <murrayc@murrayc.com>

	1.14.3

2010-06-19  Murray Cumming  <murrayc@murrayc.com>

	Revert previous "Fix a crash when using find mode" commit.

	* glom/application.cc:
	* glom/application.h: This was apparently only a problem due to a previous
	UI-changing commit in the glom-1-16 branch.

2010-06-19  Daniel Borgmann  <danielb@openismus.com>

	Set default icon instead of individual window icons.

	* glom/application.cc: Set default window icon.

	* glom/dialog_existing_or_new.cc:
	* glom/filechooser_export.cc:
	* glom/frame_glom.cc:
	* glom/glade_utils.h:
	* glom/mode_design/script_library/dialog_script_library.cc:
	* glom/mode_design/translation/window_translations.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/utility_widgets/filechooserdialog_saveextras.cc:
	* glom/utils_ui.cc:
	* glom/window_boxholder.cc:

	Don't call set_icon_name() on individual windows.

2010-06-19  Daniel Borgmann  <danielb@openismus.com>

	Don't allow deleting placeholder rows.

	* glom/utility_widgets/db_adddel/db_adddel.cc: Don't allow deleting a
	placeholder row (which leads to broken behaviour).

2010-06-19  Daniel Borgmann  <danielb@openismus.com>

	Fix position of "Records / Found" labels.

	* glom/glom.glade: Make sure "Records: X Found: X" appears in the right
	order.

2010-06-19  Daniel Borgmann  <danielb@openismus.com>

	Fix a crash when using find mode.

	* glom/application.cc: Don't access m_action_mode_data.
	* glom/application.h: Remove m_action_mode_data.

2010-06-19  Murray Cumming  <murrayc@murrayc.com>

	Remove unnecessary gtk C includes.

	* glom/application.cc:
	* glom/bakery/app_withdoc_gtk.cc:
	* glom/libglom/data_structure/print_layout.cc:
	* glom/libglom/document/document.cc:
	* glom/libglom/gst-package.c:
	* glom/mode_design/comboentry_currency.cc:
	* glom/mode_design/fields/combo_fieldtype.cc:
	* glom/mode_design/layout/combobox_fields.cc:
	* glom/mode_design/layout/combobox_relationship.cc:
	* glom/mode_design/layout/layout_item_dialogs/combo_summarytype.cc:
	* glom/mode_design/layout/layout_item_dialogs/comboentry_borderwidth.cc:
	* glom/mode_design/print_layouts/print_layout_toolbar.cc:
	* glom/mode_design/translation/combobox_locale.cc:
	* glom/utility_widgets/cellrendererlist/cellrendererlist.cc:
	* glom/utility_widgets/combo_textglade.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttonimage.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttonimage.h:
	* glom/utility_widgets/db_adddel/cellrenderer_buttontext.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttontext.h:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/layouttoolbar.cc:
	* glom/xsl_utils.cc: Remove now-unnecessary gtk+/gtk* includes,
	replacing some with use of C++ API. These caused warnings due to GSEAL.

2010-06-19  Murray Cumming  <murrayc@murrayc.com>

	Configure: Remove checks for libegg dependencies, because we don't use it.

	* configure.ac: We don't build libegg code here any more.

2010-06-19  Murray Cumming  <murrayc@murrayc.com>

	Remove the avahi-ui dependency because we don't use it any more.

	* configure.ac: Don't check for avahi-ui.
	* glom/application.cc: Don't include avahi-ui.h

	This is lucky, because avahi-ui still has no support for GTK+ 3.

2010-06-19  Murray Cumming  <murrayc@murrayc.com>

	Remove the avahi-ui dependency because we don't use it any more.

	* configure.ac: Don't check for avahi-ui.
	* glom/application.cc: Don't include avahi-ui.h

	This is lucky, because avahi-ui still has no support for GTK+ 3.

2010-06-15  Murray Cumming  <murrayc@murrayc.com>

	Use SqlBuilder::add_field_id() to avoid ambiguity.

	* glom/base_db.cc:
	* glom/base_db_table_data.cc:
	* glom/libglom/db_utils.cc:
	* glom/libglom/privs.cc:
	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	* glom/libglom/utils.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_portal.cc:
	* glom/mode_design/dialog_database_preferences.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/report_builder.cc: Replace use of add_id() with the new add_field_id(),
	which lets us specify the table too.

2010-06-15  Murray Cumming  <murrayc@murrayc.com>

	Adapt to latest libgdamm API.

	* glom/base_db.cc:
	* glom/libglom/db_utils.cc:
	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	* glom/libglom/utils.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	SqlBuilder::add_field_id() was renamed to add_field_value_id(), though I now
	notice that no value is involved when it is used for SELECT queries.

2010-06-13  Murray Cumming  <murrayc@murrayc.com>

	Remove unnecessary gtk C includes.

	* glom/application.cc:
	* glom/bakery/app_withdoc_gtk.cc:
	* glom/libglom/data_structure/print_layout.cc:
	* glom/libglom/document/document.cc:
	* glom/libglom/gst-package.c:
	* glom/mode_design/comboentry_currency.cc:
	* glom/mode_design/fields/combo_fieldtype.cc:
	* glom/mode_design/layout/combobox_fields.cc:
	* glom/mode_design/layout/combobox_relationship.cc:
	* glom/mode_design/layout/layout_item_dialogs/combo_summarytype.cc:
	* glom/mode_design/layout/layout_item_dialogs/comboentry_borderwidth.cc:
	* glom/mode_design/print_layouts/print_layout_toolbar.cc:
	* glom/mode_design/translation/combobox_locale.cc:
	* glom/utility_widgets/cellrendererlist/cellrendererlist.cc:
	* glom/utility_widgets/combo_textglade.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttonimage.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttonimage.h:
	* glom/utility_widgets/db_adddel/cellrenderer_buttontext.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttontext.h:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/layouttoolbar.cc:
	* glom/xsl_utils.cc: Remove now-unnecessary gtk+/gtk* includes,
	replacing some with use of C++ API. These caused warnings due to GSEAL.

2010-06-13  Murray Cumming  <murrayc@murrayc.com>

	Depend on avahi-ui-3.0 instead of avahi-ui, though it does not officially exist.

	* configure.ac: avahi-ui links to gtk-2.0, so depending on avahi-ui-3.0 is
	better even if it currently only exists via my patch (emailed to d-d-l and
	Lennart because I can't login to avahi.org's trac).

2010-06-13  Murray Cumming  <murrayc@murrayc.com>

	Configure: Remove checks for libegg dependencies, because we don't use it.

	* configure.ac: We don't build libegg code here any more.

2010-06-13  Murray Cumming  <murrayc@murrayc.com>

	Port to gtkmm-3.0

	* configure.ac: Use gtkmm-3.0 instead of gtkmm-2.4
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	Use get_related_action() instead of get_action().
	* glom/utility_widgets/cellrendererlist/cellrendererlist.[h|cc]:
	Simplify the use of the editing_started signal now that the inheritance is
	fixed in gtkmm-3.0.
	* glom/utility_widgets/db_adddel/db_adddel.cc: Use get_first_cell() instead of
	get_first_cell_renderer().
	* glom/utility_widgets/db_adddel/glom_db_treemodel.[h|cc]: iter_is_valid():
	This is no longer virtual, and no longer exists in the base class, so don't
	call the base class implementation.

2010-05-28  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-05-26  Murray Cumming  <murrayc@murrayc.com>

	1.15.1

2010-05-25  Murray Cumming  <murrayc@murrayc.com>

	build_sql_select_with_where_clause(): Fix a crash.

2010-05-25  Murray Cumming  <murrayc@murrayc.com>

	libglom: Utils: Avoid SQL strings for extra_join for doubly-related records.

	* glom/libglom/data_structure/foundset.[h|cc]: Remove the extra_group_by
	member variable.
	* glom/base_db.cc: set_found_set_where_clause_for_portal(): Do not create
	the SQL GROUP BY string here.
	* glom/libglom/utils.[h|cc]: build_sql_select_with_where_clause(): Remove
	the extra_group_by parameter, instead grouping by all fields if there is
	an extra_join_by, because there is a 1-to-1 correlation.
	Also take extra_join as a Relationship instead of a SQL JOIN string, and
	reuse the existing code to define a join from a relationship.
	* glom/frame_glom.cc:
	* glom/libglom/data_structure/foundset.cc:
	* glom/libglom/data_structure/foundset.h:
	* glom/libglom/utils.cc:
	* glom/libglom/utils.h:
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/print_layout/canvas_print_layout.cc:
	* glom/report_builder.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: Adapt.

2010-05-25  Murray Cumming  <murrayc@murrayc.com>

	Document: get_field_used_in_relationship_to_one(): const correction.

	* glom/libglom/document/document.[h|cc]:
	get_field_used_in_relationship_to_one(): Make the relationship parameter
	const and adapt other code.

2010-05-25  Murray Cumming  <murrayc@murrayc.com>

	libglom: build_sql_select_add_fields_to_get(): Define joins here.

	* glom/libglom/data_structure/layout/usesrelationship.[h|cc]:
	Remove add_sql_join_alias_definition(), moving its code into
	Utils::build_sql_select_add_fields_to_get() because that was the only code
	that called it.
	get/set_relationship(), get/set_related_relationship(): const corrections.
	* several files: Adapt to const corrections.

2010-05-24  Murray Cumming  <murrayc@murrayc.com>

	UsesRelationship: Correct use of SqlBuilder for related relationships.

	* glom/libglom/data_structure/layout/usesrelationship.cc:
	add_sql_join_alias_definition(): Correct the join definition for
	related relationships.

2010-05-21  Murray Cumming  <murrayc@murrayc.com>

	UsesRelationship: Use SqlBuilder::select_add_target() with the join.

	* glom/libglom/data_structure/layout/usesrelationship.cc:
	add_sql_join_alias_definition(): Use select_add_target() instead of
	add_id() with the join's first target, to avoid the warning about an
	unknown ID, though we now get a warning about unimplmented code in libgda,
	which I emailed the gnome-db mailing list about.

2010-05-21  Murray Cumming  <murrayc@murrayc.com>

	Really replace the last non-users string-based SQL query.

	* glom/libglom/db_utils.cc:
	get_database_preferences(): Add a missing call to select_add_target().
	insert_example_data(): Use SqlBuilder.

2010-05-20  Murray Cumming  <murrayc@murrayc.com>

	Correct use of SQL functions with SqlBuilder.

	* glom/base_db.cc: count_rows_returned_by(): Use SqlBuilder::add_field_id()
	so the function is really used. And add a target alias. This now works.
	* glom/libglom/python_embed/py_glom_relatedrecord.cc: generic_aggregate()
	* glom/libglom/utils.cc: build_sql_select_add_fields_to_get():
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: get_record_counts():
	Use add_field_id() when adding a function to SqlBuilder, so it is
	really used.

2010-05-20  Murray Cumming  <murrayc@murrayc.com>

	More use of SqlBuilder. Almost finished.

	* glom/base_db.cc:
	* glom/libglom/data_structure/layout/usesrelationship.[h|cc]:
	Change get_sql_join_alias_definition() to get_sql_join_alias_definition().
	* glom/libglom/db_utils.[h|cc]: query_execute_select(): Add an optional
	use_cursor bool to use the non-random database access.
	* glom/libglom/utils.[h|cc]: Change build_sql_select_fields_to_get() to
	build_sql_select_add_fields_to_get().
	build_sql_select_with_where_clause(): Use SqlBuilder.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	refresh_from_database(): Use DbUtils::query_execute_select(), to simplify
	the code. This is possible now that the function is not in BaseDB.

2010-05-17  Christian Kirbach  <Christian.Kirbach@googlemail.com>

	Added German help translation screenshots

2010-05-17  Christian Kirbach  <Christian.Kirbach@googlemail.com>

	Updated German help translation

2010-05-17  Petr Kovar  <pknbe@volny.cz>

	Update Czech translation by Marek Cernocky

2010-05-14  Murray Cumming  <murrayc@murrayc.com>

	sqlbuilder_get_full_query(): Remove unused overload.

2010-05-14  Daniel Borgmann  <danielb@openismus.com>

	Fix position of "Records / Found" labels.

	* glom/glom.glade: Make sure "Records: X Found: X" appears in the right
	order.

2010-05-14  Daniel Borgmann  <danielb@openismus.com>

	Fix a crash when using find mode.

	* glom/application.cc: Don't access m_action_mode_data.
	* glom/application.h: Remove m_action_mode_data.

2010-05-13  Murray Cumming  <murrayc@murrayc.com>

	DbUtils: Catch SqlError exception.

	* glom/libglom/db_utils.cc: query_execute_select(), query_execute_select(),
	sqlbuilder_get_full_query(): Catch SqlError too, as this seems to be
	thrown too.

2010-05-13  Daniel Mustieles  <danielmustieles@gmail.com>

	Updated Spanish translation

2010-05-13  Daniel Mustieles  <danielmustieles@gmail.com>

	Updated Spanish translation

2010-05-13  Daniel Mustieles  <danielmustieles@gmail.com>

	Updated Spanish translation

2010-05-13  Murray Cumming  <murrayc@murrayc.com>

	DbUtils::query_execute(): Remove params parameter.

	* glom/libglom/db_utils.[h|cc]: query_execute(): Remove the unused params
	parameter.

2010-05-13  Murray Cumming  <murrayc@murrayc.com>

	Use SqlBuilder in all possible remaining places.

	* glom/libglom/db_utils.[h|cc]: Renamed query_execute(string) to
	query_execute_string() so we catch uses of it that could use SqlBuilder.

	* glom/base_db.cc: Replaced some INSERT and DELETE string sql queries
	with SqlBuilder.
	* glom/base_db_table_data.cc:
	* glom/libglom/db_utils.cc:
	* glom/libglom/db_utils.h:
	* glom/libglom/privs.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/navigation/box_tables.cc: Adapt.

2010-05-12  Murray Cumming  <murrayc@murrayc.com>

	Remove redundant BaseDb::query_execute*() methods.

	* glom/base_db.[h|cc]: Removed query_execute_select() and query_execute().
	The same methods in DbUtils replace them.
	* glom/libglom/db_utils.h: Removed the query_execute_select(string) override.
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_portal.cc:
	* glom/mode_design/dialog_database_preferences.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/navigation/box_tables.cc:
	* glom/print_layout/canvas_print_layout.cc:
	* glom/report_builder.cc:
	* glom/base_db_table_data.cc:
	* glom/frame_glom.cc:
	* glom/libglom/db_utils.cc: Adapted.

2010-05-12  Daniel Borgmann  <danielb@openismus.com>

	Don't allow deleting placeholder rows.

	* glom/utility_widgets/db_adddel/db_adddel.cc: Don't allow deleting a
	placeholder row (which leads to broken behaviour).

2010-05-12  Murray Cumming  <murrayc@murrayc.com>

	Use Gnome::Gda::SqlExpr for where clauses.

	* glom/libglom/utils.[h|cc]: Added build_simple_where_expression()
	and build_combined_where_expression() to make it easier to work with
	Gnome::Gda::SqlExpr.
	build_sql_select_with_key(): Return a SqlExpr instead of a string.
	* glom/base_db.[h|cc]:
	* glom/base_db_table_data.cc:
	* glom/frame_glom.[h|cc]:
	* glom/libglom/data_structure/foundset.[h|cc]:
	* glom/mode_data/box_data.[h|cc]:
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_portal.cc:
	* glom/mode_data/datawidget/dialog_choose_id..[h|cc]:
	* glom/mode_find/notebook_find.[h|cc]:
	* glom/print_layout/canvas_print_layout.cc:
	* glom/report_builder.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	Adapt, using SqlExpr instead of a string for where clauses.

2010-05-11  Daniel Borgmann  <danielb@openismus.com>

	Don't add a new row when cancelling a placeholder edit.

	* glom/utility_widgets/db_adddel/db_adddel.cc: Don't add a new row
	if the edited row was a placeholder and no text was entered.

2010-05-10  Daniel Elstner  <danielk@openismus.com>

	Move list of libglom sources to separate file

	* glom/libglom/filelist.am: New Automake include file, defining the
	lists of source and header files for building libglom.
	* Makefile_libglom.am: Include glom/libglom/filelist.am for the lists
	of header and source files, instead of listing them directly.
	* docs/libglom_reference/Makefile.am: Include the list of libglom
	source files from glom/libglom/filelist.am.
	(doc_input): Instead of naming a directory for Doxygen to search,
	explicitly define the Doxygen input to the list of all public libglom
	header files.

2010-05-10  Daniel Elstner  <danielk@openismus.com>

	Update Doxygen configuration for libglom reference

	* docs/libglom_reference/Doxyfile.in: Correct strip prefixes and
	include paths.  Do include the mm-common stylesheet and reference
	the external tag files.  Also clean some cruft.

2010-05-10  Daniel Elstner  <danielk@openismus.com>

	Honor --disable-documentation configure option

	* Makefile.am (gnome_doc_subdirs): Rename from $(doc_subdirs).
	(doc_subdirs): Conditionally define to the subdirectories of the
	reference documentation, depending on whether ENABLE_DOCUMENTATION
	is true.
	(SUBDIRS): Expand $(doc_subdirs) and $(gnome_doc_subdirs).

2010-05-10  Daniel Borgmann  <danielb@openismus.com>

	Make Find mode a toggle and move it to the Edit menu.

	* glom/application.cc: Move Find menu item, remove Mode menu.
	* glom/frame_glom.cc/h: Replace on_menu_Mode_Find()/Data() with
	on_menu_Mode_Toggle().

2010-05-08  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-05-06  Daniel Borgmann  <danielb@openismus.com>

	Save extras alignment improvements.

	* glom/utility_widgets/filechooserdialog_saveextras.cc: Adjust
	alignments and hide extra label if empty (thus not taking up space).

2010-05-06  Murray Cumming  <murrayc@murrayc.com>

	Utils::get_choice_values(): Complete the use of SqlBuilder.

	* glom/libglom/utils.cc: get_choice_values(): Use the new return value from
	Builder::select_add_field() for the ORDER BY, so we specify the field table
	too.

2010-05-03  Daniel Borgmann  <danielb@openismus.com>

	Set default icon instead of individual window icons.

	* glom/application.cc: Set default window icon.

	* glom/dialog_existing_or_new.cc:
	* glom/filechooser_export.cc:
	* glom/frame_glom.cc:
	* glom/glade_utils.h:
	* glom/mode_design/script_library/dialog_script_library.cc:
	* glom/mode_design/translation/window_translations.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/utility_widgets/filechooserdialog_saveextras.cc:
	* glom/utils_ui.cc:
	* glom/window_boxholder.cc:

	Don't call set_icon_name() on individual windows.

2010-05-03  Murray Cumming  <murrayc@murrayc.com>

	Mark the branch in the ChangeLog

2010-05-03  Murray Cumming  <murrayc@murrayc.com>

	1.14.2

2010-05-03  Murray Cumming  <murrayc@murrayc.com>

	User Guide: Update the pygda example for pygda 4.

	* C/glom.xml: using-the-full-pygda-api: Update the example for pygda 4 and
	its (currently ugly, until I fix it) API.

2010-05-03  Murray Cumming  <murrayc@murrayc.com>

	Python calculations: Really convert to expected types.

	* glom/libglom/data_structure/glomconversions.cc:
	get_double_for_gda_value_numeric(): Handle all numeric GTypes - not just
	G_TYPE_INT..
	convert_value(): Remove the special case for G_TYPE_INT (now handled in
	get_double_for_gda_value_numeric instead). Make sure that all numeric GTypes
	are converted to GDA_TYPE_NUMERIC, making it easier for callers to check.

2010-05-03  Murray Cumming  <murrayc@murrayc.com>

	Add test of type conversion after python calculations.

	* Makefile_tests.am:
	* tests/test_python_execute_func_change_result_type.cc: Add a test that
	calls a python function that returns a number, for a text field, to
	check that the conversion is done.

2010-05-03  Murray Cumming  <murrayc@murrayc.com>

	1.14.2

2010-05-02  Murray Cumming  <murrayc@murrayc.com>

	User Guide: Update the pygda example for pygda 4.

	* C/glom.xml: using-the-full-pygda-api: Update the example for pygda 4 and
	its (currently ugly, until I fix it) API.

2010-05-02  Murray Cumming  <murrayc@murrayc.com>

	Python calculations: Really convert to expected types.

	* glom/libglom/data_structure/glomconversions.cc:
	get_double_for_gda_value_numeric(): Handle all numeric GTypes - not just
	G_TYPE_INT..
	convert_value(): Remove the special case for G_TYPE_INT (now handled in
	get_double_for_gda_value_numeric instead). Make sure that all numeric GTypes
	are converted to GDA_TYPE_NUMERIC, making it easier for callers to check.

2010-05-02  Murray Cumming  <murrayc@murrayc.com>

	Add test of type conversion after python calculations.

	* Makefile_tests.am:
	* tests/test_python_execute_func_change_result_type.cc: Add a test that
	calls a python function that returns a number, for a text field, to
	check that the conversion is done.

2010-05-02  Petr Kovar  <pknbe@volny.cz>

	Update Czech translation by Marek Cernocky

2010-05-02  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-05-02  Mario Blättermann  <mariobl@gnome.org>

	Updated German doc translation

2010-05-01  Murray Cumming  <murrayc@murrayc.com>

	Python scripts and calcuations: Test buttons now show python errors.

	* glom/python_embed/glom_python.[h|cc]:
	glom_execute_python_function_implementation(),
	glom_evaluate_python_function_implementation(): Add an error_message output
	parameter, to report syntax errors, for instance.
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.cc:
	Show the python error, if any, when pressing the Test button.
	* Other files: Adapt, ignoring the error message for now.
	* Makefile_tests.am:
	* tests/test_python_execute_func_bad_syntax.cc: Added a test of the new
	error_message parameter.

2010-05-01  Murray Cumming  <murrayc@murrayc.com>

	Fix a possible crash when showing choices.

	* glom/mode_data/datawidget/combo.cc: set_text(): Don't show a warning if
	"" is not found because it's OK to use that to clear the combo.
	* glom/mode_data/datawidget/combochoiceswithtreemodel.cc:
	set_choices_with_second(): Don't dereference a null smartpointer, avoiding
	a crash with one .glom file that I tried.

2010-05-01  Murray Cumming  <murrayc@murrayc.com>

	Python Glom API documentation improvement.

	* glom/python_embed/python_module/py_glom_module.cc: Turn off auto-writing
	of the Python signatures in the docstrings, because that is a) crappy and
	b) confuses the sphinx autodoc module, which adds an invisible ..function
	reStrucuredText line.
	Add :param:, :type, and :returns: lines with the necessary indenting and
	empty lines needed by that invisible ..function line.

2010-05-01  Murray Cumming  <murrayc@murrayc.com>

	Move some more methods from Base_DB.

	* glom/base_db.[h|cc]: Move show_warning_no_records_found() to utils_ui.[h|cc].
	get_find_where_clause_quick(): Move to utils.[h|cc].
	* glom/frame_glom.cc: Adapted.
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.h:
	* glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.[h|cc]:
	* glom/mode_data/datawidget/dialog_choose_id.[h|cc]: Don't derive from Base_DB
	because that is no longer necessary after adapting.

2010-05-01  Murray Cumming  <murrayc@murrayc.com>

	create_database(): Actually use the progress slot.

2010-05-01  Murray Cumming  <murrayc@murrayc.com>

	Fixed merge conflict.

2010-05-01  Murray Cumming  <murrayc@murrayc.com>

	Fixed ChangeLog for accidental in-progress commit.

2010-05-01  Murray Cumming  <murrayc@murrayc.com>

	Fix document saving (recently broken by me) and add a test for it.

	* glom/libglom/document/bakery/document.cc: write_to_disk():
	Do not fail if the parent directory already exists.
	* Makefile_tests.am:
	* tests/test_document_autosave.cc: Added a test of document saving and
	autosaving.

2010-05-01  Murray Cumming  <murrayc@murrayc.com>

	Move tests out of sub-directories, simplifying the build file.

	* tests/Makefile_test.am:
	* tests/test_document_load.cc:
	* tests/test_selfhosting_new_empty.cc: Move out of the sub-directories,
	because they do not need extra files.

2010-05-01  Murray Cumming  <murrayc@murrayc.com>

	In progress

2010-04-27  Murray Cumming  <murrayc@murrayc.com>

	PyGlom: Don't use deprecated boost::python::args.

	* glom/python_embed/python_module/py_glom_module.cc: Use boost::python::arg()
	instead of boost::python::args(), because I noticed that args is deprecated.

2010-04-27  Murray Cumming  <murrayc@murrayc.com>

	Remove unimplemented functions.

2010-04-27  Murray Cumming  <murrayc@murrayc.com>

	More use of SqlBuilder.

	* glom/base_db.[h|cc]: Move sqlbuilder_get_full_query() to Utils so that
	other code can use it.
	* glom/libglom/utils.[h|cc]: get_choice_values(): Use SqlBuilder.

2010-04-27  Murray Cumming  <murrayc@murrayc.com>

	More use of SqlBuilder.

	* glom/report_builder.cc: report_build_groupby(): Use the new
	SqlBuilder::select_group_by() method to replace another SQL string.

2010-04-27  Murray Cumming  <murrayc@murrayc.com>

	1.14.1

2010-04-27  Murray Cumming  <murrayc@murrayc.com>

	Make sure all glade-instantiated windows have the Glom icon.

	* glom/glade_utils.h: helper_get_glade_widget_derived_with_warning():
	Call set_icon_name() on windows, fixing my regression.

2010-04-27  Murray Cumming  <murrayc@murrayc.com>

	Documentation: Added libglom main page. Installed _sources for pyglom.

	* docs/pyglom_reference/Makefile.am: Also install html/_sources, used by search.
	* glom/libglom/init.h: Add a doxygen main page.

2010-04-26  Murray Cumming  <murrayc@murrayc.com>

	Fix the build.

	* Makefile_tests.am: test_selfhosting_new_empty: Link to the Glom sources
	to fix the unresolved link to Glom::Priv's method. We will use more from
	the rest of Glom here too.

2010-04-26  Murray Cumming  <murrayc@murrayc.com>

	Reenable test_load_document.

	* Makefile_tests.am: Reenable test_load_document.cc
	* tests/test_load_document/test_load_document.cc: Restore (rewrite) this
	missing file.

2010-04-26  Murray Cumming  <murrayc@murrayc.com>

	configure.ac: Remove the dist-bzip2 option that was added by mistake.

2010-04-26  Daniel Elstner  <danielk@openismus.com>

	Use installed mm-common instead of copying it

	* autogen.sh: Run mm-common-prepare to pull in the mm-common include
	files for Automake.
	* docs/libglom_reference/Makefile.am: Set up configuration variables
	and include doc-reference.am instead of copy'n'pasting its content.
	* docs/libglom-reference/doxygen_to_devhelp.xsl: Delete file.  It is
	shipped with mm-common and also part of the glibmm installation.

2010-04-26  Murray Cumming  <murrayc@murrayc.com>

	Self-Hosting test: Check that cleanup works.

	* Makefile_tests.am:
	* glom/libglom/connectionpool.[h|cc]:
	* glom/libglom/connectionpool_backends/backend.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres_self.[h|cc]:
	* tests/test_selfhosting_new_empty/test_selfhosting_new_empty.cc:
	Make cleanup() return a bool, so we can check it, because this fails sometimes.
	Use the standard username and password.

2010-04-26  Daniel Elstner  <danielk@openismus.com>

	Heavily cut the pyglom_reference build magic

	* docs/pyglom_reference/Makefile.am: Drop the custom installation
	rules and use the GNU make $(wildcard) function for both distribution
	and installation of the generated documentation files.  Since the
	files do not undergo translation at install time, it is not necessary
	to integrate the custom installation tool from mm-common.  Pull in a
	missing GNU make function definition for computing the list of files.

2010-04-26  Daniel Elstner  <danielk@openismus.com>

	Temporarily disable test_document_load

	* Makefile_tests.am (check_PROGRAMS), (TESTS): Temporarily remove
	test_document_load, because the corresponding source file is currently
	missing from the repository.

2010-04-26  Daniel Elstner  <danielk@openismus.com>

	List generated documentation files in .gitignore

2010-04-26  Daniel Elstner  <danielk@openismus.com>

	Enable maintainer-mode build in autogen.sh

	* autogen.sh: Run configure with --enable-maintainer-mode since the
	AM_MAINTAINER_MODE macro is now used in configure.ac.

2010-04-26  Murray Cumming  <murrayc@murrayc.com>

	Python Glom module: Improved the docstrings, using reStructuredText

	* glom/python_embed/python_module/py_glom_module.cc: Use more
	reStructureText (or as much as sphinx allows us to use in a docstring).
	It's looking quite good.

2010-04-26  Murray Cumming  <murrayc@murrayc.com>

	Added missing file.

2010-04-25  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-04-25  Murray Cumming  <murrayc@murrayc.com>

	Simplify test_selfhosting_new_empty.

	* glom/frame_glom.cc: Move setup_connection_pool_from_document() to:
	* glom/libglom/connectionpool.[h|cc]: Added setup_from_document().
	* tests/test_selfhosting_new_empty/test_selfhosting_new_empty.cc: Use the
	new function here, removing code to explicitly set the backend.

2010-04-24  Murray Cumming  <murrayc@murrayc.com>

	Add a document-loading test and self-hosting test

	* glom/Makefile_tests.am: Added the tests.
	* glom/libglom/test_document.cc: Renamed to example_document_load.cc.
	* tests/test_document_load/test_document_load.cc: Added this new test to
	load a document, checking some known parts of its structure.

	* glom/libglom/document/bakery/document.cc: write_to_disk(): Create the
	parent directory if necessary, instead of failing with a Gio exception.
	* test/test_selfhosting_newempty/test_selfhosting_newempty.cc: Saves a new
	file from an example, starts self-hosting of it, and stops self-hosting.
	This needs work and expansion.

2010-04-24  Murray Cumming  <murrayc@murrayc.com>

	Python Glom module: Improve sphinx-generated documentation.

	* glom/python_embed/python_module/py_glom_module.cc: Added class docstring
	documentation, based on
	http://library.gnome.org/users/glom/unstable/sec-calculated-fields.html
	Use reStructuredText format as expected by sphinx and as apparently now
	use by Python for docstring text.

2010-04-22  Petr Kovar  <pknbe@volny.cz>

	Update Czech translation by Marek Cernocky

2010-04-20  Murray Cumming  <murrayc@murrayc.com>

	Python Glom module: Improve sphinx-generated documentation.

	* glom/python_embed/python_module/py_glom_module.cc: Added class docstring
	documentation, based on
	http://library.gnome.org/users/glom/unstable/sec-calculated-fields.html
	Use reStructuredText format as expected by sphinx and as apparently now
	use by Python for docstring text.

2010-04-20  Murray Cumming  <murrayc@murrayc.com>

	Fix the python Glom module name.

	* configure.ac: Fix a recent typo to again use the correct underlined
	name for the Python Glom module. This was fatal, in tests too.

2010-04-20  David King  <davidk@openismus.com>

	Relax the autoconf requirement

	* configure.ac: Relax the autoconf requirement to 2.63, as 2.65 is not
	required. Something older than 2.63 may even be acceptable, but I do
	not have an older version to test.

2010-04-20  David King  <davidk@openismus.com>

	Fix the sphinx-build configure check

	* configure.ac: Abort configure with an error if sphinx-build could
	not be found and --enable-documentation was passed to configure.

2010-04-20  Murray Cumming  <murrayc@murrayc.com>

	Glom Python API reference: Failed attempt to dist the html files.

	* docs/pyglom_reference/Makefile.am: Copied some stuff from the mm-common
	files, but it doesn't work yet.

2010-04-20  Murray Cumming  <murrayc@murrayc.com>

	Glom Python API reference: Install the html generated by sphinx.

	* docs/pyglom_reference/Makefile.am: Add install rules based on awful hacked
	copies of the mm-common stuff. I believe this could be far simpler.

2010-04-20  Murray Cumming  <murrayc@murrayc.com>

	Solve the long-paths problem with the doxygen-generated html files.

	* configure.ac: Change the AM_INIT_AUTOMAKE() call to be like gtkmm,
	allowing the tarball to contain long paths - needed for the libglom html
	documentation.

2010-04-19  Murray Cumming  <murrayc@murrayc.com>

	More improved use of sphinx.

	* docs/pyglom_reference/conf.py.in: Do not generate the module index page
	because we have only one module.
	* docs/pyglom_reference/index.rst.in: Add back the link to the general index,
	which seems to actually be generated.

2010-04-19  Murray Cumming  <murrayc@murrayc.com>

	configure.ac: Ran autoupdate to remove use of deprecated macros.

2010-04-19  Murray Cumming  <murrayc@murrayc.com>

	Avoid the requierment for sphinx-build if documentation is disabled.

	* configure.ac: Use AC_PATH_PROG() instead of AC_CHECK_PROG() so we get the
	path to use. Only check if --enable-documentation was used.
	* docs/pyglom_reference/Makefile.am: Only build the html if
	--enable-documentation was used (not yet built by default anyway).

2010-04-19  Murray Cumming  <murrayc@murrayc.com>

	Improved use of sphinx.

	* configure.ac: AC_SUBST() GLOM_ABI_VERSION_UNDERLINED so we can use it
	in docs/pyglom_reference/Makefile.am. Mention these files that will be
	genereated form .in files with the ABI and version numbers substituted.
	Check for sphinx-build, though this should only matter when building docs.
	* docs/pyglom_reference/conf.py.in:
	* docs/pyglom_reference/index.rst.in: Use ABI and version variables instead
	of hard-coding. Add short introductory text with links.

2010-04-19  Murray Cumming  <murrayc@murrayc.com>

	Try to use sphinx for pyglom API documentation.

	* docs/pyglom_reference/Makefile.an:
	* docs/pyglom_reference/sphinx_sources/:
	An attempt to use sphinx instead of pydoc. sphinx is used by Python itself.
	I need to change my Python setup (not have Python in jhbuild) to test
	this properly, because I can't easily build pydoctor in my separate prefix.

2010-04-18  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-04-18  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2010-04-17  Petr Kovar  <pknbe@volny.cz>

	Update Czech translation by Marek Cernocky

2010-04-16  Murray Cumming  <murrayc@murrayc.com>

	Python: Really show warnings when modules can't be imported.

	* glom/python_embed/glom_python.cc: Add and use import_module() to make sure
	that we catch exceptions from boost::python::import(), so show the intended
	warnings instead of just crashing with an uncaught exception.
	Also correct the checks for empty/none boost::python::objects for imported
	modules. A simple ! is not what it seems.

2010-04-16  Murray Cumming  <murrayc@murrayc.com>

	Use mm-common for optional compiler warnings and to build libglom docs.

	* configure.ac: Use mm-common, removing macros/dk-warn.m4.
	* docs/libglom_reference/Doxyfile.in:
	* docs/libglom_reference/doxygen_to_devhelp.xsl:
	* docs/libglom_reference/Makefile.am: Generate libglom documentation
	properly using build stuff copied from gtkmm.
	* docs/pyglom_reference/Makefile.am: A silly little initial attempt to
	have generated html for the glom python module, using pydoc.

2010-04-15  Murray Cumming  <murrayc@murrayc.com>

	Python field calculation: Fix a crash.

	* glom/libglom/python_embed/pygdavalue_conversions.cc:
	glom_pygda_value_as_boost_pyobject(): Add a PyDateTimeAPI call, as already
	done in glom_pygda_value_from_pyobject(), to prevent a crash (and valgrind
	warning about 0 dereference) when using this (silly, wrong) field calculation,
	though I can't reproduce it in a unit test:
	import datetime
	return (datetime.date.today() - record["date_of_birth"]).days / 365

2010-04-15  Murray Cumming  <murrayc@murrayc.com>

	Python module: Improve API documentation.

	* glom/python_embed/python_module/py_glom_module.cc: Added some options and
	text for docstrings, to improve the pydoc -w output.

2010-04-14  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-04-14  Murray Cumming  <murrayc@murrayc.com>

	Updated NEWS

2010-04-14  Murray Cumming  <murrayc@murrayc.com>

	1.14.0

2010-04-14  Murray Cumming  <murrayc@murrayc.com>

	Fall back to the uninstalled .glade file to fix make distcheck.

	* Makefile.am: Define GLOM_PKGDATADIR_NOTINSTALLED as well as the existing
	GLOM_PKGDATADIR.
	* glom/glade_utils.h: get_glade_file_path(): Fall back to the uninstalled
	glade file if the installed one can't be found. This fixes make distcheck.

2010-04-14  Murray Cumming  <murrayc@murrayc.com>

	Glade utils: More error-checking.

	* glom/glade_utils.h:  helper_get_glade_widget_derived_with_warning():
	Catch the other 2 exception types that we now know that
	Gtk::Builder::create*() can throw.
	* glom/frame_glom.cc: create_database(): Use get_glade_widget_with_warning()
	to simplify the code. Our utility functions are now used everywhere.

2010-04-13  Murray Cumming  <murrayc@murrayc.com>

	Remove useless translatable strings.

	* glom/glom_developer.glade: Remove placeholder text from labels that will
	actually have their text set at runtime, so there's need actual need to have
	it in the glade file. They were even marked as translatable.
	Bug #615656 (Gianluca Ferri)

2010-04-12  Murray Cumming  <murrayc@murrayc.com>

	Python calculations and scripts: Fix regression in use of date and time fields.

	* glom/libglom/python_embed/py_glom_record.[h|cc]:
	Change PyGlomRecord_SetFields() to a member set_fields() method, and making
	more of the class private, finishing our conversion to boost::python.
	* glom/libglom/python_embed/py_glom_related.[h|cc]:
	Change PyGlomRelated_SetRelationships() to a set_relationships methods.
	* glom/libglom/python_embed/py_glom_relatedrecord.[h|cc]:
	Changed PyGlomRelatedRecord_SetRelationship() to a set_relationship() method.

	* glom/python_embed/glom_python.cc: glom_pygda_value_from_pyobject():
	Handle date, time, timestamp, geometric point values, whose code had been
	commented out since the port to boost::python.
	This fixes the test added in the previous commit, so glom calculations and
	scripts can again (it broke in unstable Glom 1.13) use date and time field
	values from the record.

2010-04-12  Murray Cumming  <murrayc@murrayc.com>

	Added test showing problem with date fields in python calculations.

	* tests/test_python_execute_func_date.cc: Added a test of dates as input
	values for record fields. This currently fails with this error from python,
	so I need to fix it in Glom:
	AttributeError: 'NoneType' object has no attribute 'year'

2010-04-12  Daniel Elstner  <danielk@openismus.com>

	Further clean up AX_BOOST_PYTHON_MURRAYC

	* macros/ax_boost_python_murrayc.m4: Simplify the logic of the checks
	and clean up the Bourne shell code.  Also, abort with a fatal error
	if the boost::python headers or library could not be found.

2010-04-12  Andre Klapper  <a9016009@gmx.de>

	Compile with -DGSEAL_ENABLE. See bug 615477.

2010-04-12  Murray Cumming  <murrayc@murrayc.com>

	Fix glade loading.

	* glom/glade_utils.h: get_glade_widget_derived_with_warning(): Fix silly
	but fatal typo.

2010-04-12  Murray Cumming  <murrayc@murrayc.com>

	Simplify setting of the icon for windows.

	* glom/glade_utils.h: get_glade_widget_derived_with_warning():
	Call set_icon_name() on windows.
	* Several *.cc files: Don't bother calling set_icon_name() after calling
	get_glade_widget_derived_with_warning().

2010-04-12  Murray Cumming  <murrayc@murrayc.com>

	Slight AX_BOOST_PYTHON_MURRAYC() cleanup.

	* macros/ax_boost_python_murrayc.m4: Add necessary quotes, avoid ==,
	and use AC_LANG_PUSH/AC_LANG_POP instead of deprecated
	AC_LANG_SAVE/AC_LANG_CPLUSPLUS/AC_LANG_RESTORE. Noticed by Daniel Elstner,
	though we don't know if this solves any known problems yet.

2010-04-12  Murray Cumming  <murrayc@murrayc.com>

	Provide context for translations.

	* glom/application.cc:
	* glom/frame_glom.cc:
	* glom/mode_design/users/dialog_users_list.cc: Use the new (in glib 2.16)
	C_() macro to provide context for bare uses of "User" and "Developer",
	providing some explanation and allowing translators to use translate them
	differently, as may be required by some languages.
	Fixes bug #606931 (Urmas, André Klapper)

2010-04-11  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-04-11  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-04-11  Murray Cumming  <murrayc@murrayc.com>

	Added missing file.

2010-04-10  Murray Cumming  <murrayc@murrayc.com>

	Fixed build.

2010-04-10  Murray Cumming  <murrayc@murrayc.com>

	dialog_run_with_help(): Get the help ID from the class.

	* glom/utils_ui.h: dialog_run_with_help(): Add a templated version that uses
	the static glade_id member, to avoid repeating this in the source code.
	* Several .cc files: Remove the ID parameter from most uses of
	dialog_run_with_help().

2010-04-10  Murray Cumming  <murrayc@murrayc.com>

	Glade instantiation: Simplify, make more robust, and test.

	* glom/glade_utils.h: get_glade_widget_derived_with_warning():
	Don'te an ID. This requires the class to have a static glade_id member and
	glade_developer (bool) member, telling us what file and what ID to use.
	This associates the IDs and filenames with the class, instead of being in other files,
	to avoid duplication and to avoid using the wrong ones.
	This allows us to remove get_glade_developer_widget_derived_with_warning().
	* Many files: Use these new methods, to avoid mentioning glade IDs.
	* tests/test_glade_derived_instantiation.cc: Try to instantiate all the known
	derived glade dialogs.

2010-04-10  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-04-10  Murray Cumming  <murrayc@murrayc.com>

	Glade files: Move a client-only dialog to the correct file.

	* glom/glom_developer.glade:
	* glom/glom.glade: Move dialog_choose_date to glom.glade.
	* glom/mode_data/datawidget/datawidget.cc: on_button_choose_date():
	Adapted.

2010-04-10  Murray Cumming  <murrayc@murrayc.com>

	1.14.0:

	Application: Forget the global instance when it has been deleted.

	* glom/application.cc: Destructor: reset the static instance to 0,
	to avoid anything from retrieving the pointer to the deleted object.

2010-04-10  Murray Cumming  <murrayc@murrayc.com>

	Remove some unused code.

	* glom/base_db.cc: offer_item_formatting(): Remove a useless use of
	Gtk::Builder.

2010-04-10  Murray Cumming  <murrayc@murrayc.com>

	Notebook properties dialog: Fix a probable crash.

	* glom/base_db.cc: :offer_notebook(): Fix a typo in the glade ID.
	I'm working on code to prevent these kinds of errors, to apply when we branch.

2010-04-10  Murray Cumming  <murrayc@murrayc.com>

	Reports: Fix a crash when opening the secondary fields dialog.

	* glom/glom_developer.glade: dialog_groupby_secondary_fields: Rename a
	button to match what the class's constructor expects.

2010-04-09  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-04-09  Daniel Borgmann  <danielb@openismus.com>

	Update NEWS file.

	* NEWS: Add entry.

2010-04-09  Daniel Borgmann  <danielb@openismus.com>

	Clean up Add Related Table dialog.

	* glom/glom_developer.glade: (dialog_add_related_table) Remove frame,
	fix spacings, align form elements in table.
	* glom/mode_design/dialog_add_related_table.cc: Add window icon.

2010-04-09  Daniel Borgmann  <danielb@openismus.com>

	Fix changelog.

2010-04-09  Daniel Borgmann  <danielb@openismus.com>

	Update translation dialogs.

	* glom/application.cc:
	* glom/glom_developer.glade:
	* glom/mode_design/script_library/dialog_script_library.cc:
	* glom/mode_design/translation/window_translations.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	Translation dialog updates, set missing window icons.

2010-04-09  Daniel Borgmann  <danielb@openismus.com>

	Update dialogs.

	* glom/frame_glom.cc: Set window icons.
	* glom/glom_developer.glade: Update user dialogs.
	* glom/mode_design/layout/dialog_layout.cc: Set window icons.
	* glom/mode_design/users/dialog_groups_list.cc: Set window icons.

2010-04-09  Armin Burgmeier  <armin@arbur.net>

	Update Windows installer for Glom 1.14

2010-04-09  Armin Burgmeier  <armin@arbur.net>

	* win32/build-installer:
	* win32/glom.iss.in: Update for Glom 1.14.

2010-04-09  Armin Burgmeier  <armin@arbur.net>

	Do not install .desktop file on Windows.

2010-04-09  Armin Burgmeier  <armin@arbur.net>

	* Makefile.am: Do not install .desktop file on Windows.

2010-04-08  Daniel Borgmann  <danielb@openismus.com>

	Use buttonbox for details view.

	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h:
	Use HButtonBox instead of HBox.

2010-04-08  Daniel Borgmann  <danielb@openismus.com>

	Use button box for adddel widgets.

	* glom/utility_widgets/adddel/adddel_withbuttons.cc:
	* glom/utility_widgets/adddel/adddel_withbuttons.h:
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc:
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.h:
	Use ButtonBox instead of HBox.

2010-04-08  Daniel Borgmann  <danielb@openismus.com>

	Use button box for listview buttons.

	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc:
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.h:
	Use ButtonBox instead of HBox to make buttons homogenous. Also change
	button order to match order used everywhere else (Add/Delete/Open).

2010-04-08  Murray Cumming  <murrayc@murrayc.com>

	Update POTFILES.in

2010-04-08  Murray Cumming  <murrayc@murrayc.com>

	ImageGlom: Move scale_keeping_ratio() somewhere more sensible.

	* glom/utility_widgets/imageglom.[h|cc]: Move scale_keeping_ratio() to
	glom/utils_ui.[h]cc] as Utils::image_scale_keeping_ratio().
	* glom/utility_widgets/canvas/canvas_image_movable.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/flowtable_dnd.cc: Adapted.

2010-04-08  Murray Cumming  <murrayc@murrayc.com>

	glom/mode_data/datawidget/: Clean up classes, putting them in a namespace.

	* glom/mode_data/datawidget/: Removed Glom suffixes from class names
	and filenames, and put classes in a DataWidgetChildren sub-namespace,
	to make it clearer where we occasionally use these outside of DataWidget.

2010-04-08  Murray Cumming  <murrayc@murrayc.com>

	Cleaned glom/utility_widgets/ a little.

	* glom/utility_widgets/datawidget.[h|cc]: Moved to glom/mode_data/datawidget/
	because it is only used by the data-mode flowtable.
	* glom/utility_widgets/buttonglom.[h|cc]
	* glom/utility_widgets/checkglom.[h|cc]
	* glom/utility_widgets/combo_as_radio_buttons.[h|cc]
	* glom/utility_widgets/combochoices.[h|cc]
	* glom/utility_widgets/combochoiceswithtreemodel.[h|cc]
	* glom/utility_widgets/comboentryglom.c[h|cc]
	* glom/utility_widgets/comboglom.[h|cc]
	* glom/utility_widgets/dialog_choose_date.[h|cc]
	* glom/utility_widgets/dialog_choose_id.[h|cc]
	* glom/utility_widgets/entryglom.[h|cc]
	* glom/utility_widgets/labelglom.[h|cc]
	* glom/utility_widgets/textviewglom.[h|cc]
	* glom/utility_widgets/placeholder-glom.[h|cc]: Also move these to
	glom/mode_data/datawidget because they are only used by DataWidget.
	* glom/utility_widgets/alignment_justified.[h|cc]:
	* glom/utility_widgets/table_columns.[h|cc]: Deleted these unused classes.
	* Makefile_glom.am: Adapted.

2010-04-08  Daniel Borgmann  <danielb@openismus.com>

	Text and Image object Dialog adjustments.

	* glom/glom_developer.glade: Various dialog layout fixes.
	* glom/mode_design/layout/layout_item_dialogs/dialog_imageobject.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_imageobject.h:
	* glom/mode_design/layout/layout_item_dialogs/dialog_textobject.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_textobject.h:
	Update box variable name and add window icons.

2010-04-08  David King  <davidk@openismus.com>

	Update copyright information in about dialog

	* glom/application.cc: Update copyright year in about dialog.

2010-04-07  Murray Cumming  <murrayc@murrayc.com>

	Recent Files: Make sure that we remember these for saved-from-example files.

	* glom/application.cc: on_document_load(): Add an extra call to
	document_history_add() after successfully saving from an example.

2010-04-07  Daniel Borgmann  <danielb@openismus.com>

	Find bar adjustments.

	* glom/frame_glom.cc: Rename Quick Find to Quick Search and add
	mneomnic.
	* glom/glom.glade: Update find id dialog and remove frame.
	* glom/utility_widgets/datawidget.cc: Add window icon to find id
	dialog.

2010-04-07  David King  <davidk@openismus.com>

	Fix boost:python m4 macro with -Wl,--as-needed

	* macros/ax_boost_python_murrayc.m4: Specify libraries in LIBS, not
	LDFLAGS. See http://www.gentoo.org/proj/en/qa/asneeded.xml

2010-04-06  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-04-06  Daniel Borgmann  <danielb@openismus.com>

	Dialog adjustments.

	* glom/glom.glade: Spacing adjustments to make dialogs more HIG
	compliant.

2010-04-06  Daniel Borgmann  <danielb@openismus.com>

	Initial Password Dialog adjustments.

	* glom/glom_developer.glade: Initial Password Dialog tweaks.
	* glom/mode_design/dialog_initial_password.cc: Set window icon.

2010-04-06  Daniel Borgmann  <danielb@openismus.com>

	CSV Import Dialog adjustments.

	* glom/glom.glade: Import dialog tweaks.
	* glom/import_csv/dialog_import_csv.cc: Add window icon, change title
	order.

2010-04-06  Daniel Borgmann  <danielb@openismus.com>

	Dialog fixes.

	* glom/frame_glom.cc: Add window icons and fix capitalisation of
	primary texts (dialog text uses sentence capitalisation).

2010-04-06  Daniel Borgmann  <danielb@openismus.com>

	Set Progress Dialog default size.

	* glom/glom.glade: Set a reasonable default size for the progress
	dialog, that allows to read the title at least.

2010-04-06  Daniel Borgmann  <danielb@openismus.com>

	Select Field Dialog adjustments.

	* glom/glom_developer.glade: Spacing and mnemonic adjustments/fixes,
	remove frame label.
	* glom/mode_design/layout/dialog_choose_field.cc: Add window icon.

2010-04-06  Daniel Borgmann  <danielb@openismus.com>

	Progress dialog adjustments.

	* glom/dialog_progress_creating.cc: Add window icon.
	* glom/glom.glade: Center dialog on parent window.

2010-04-03  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-03-31  Daniel Borgmann  <danielb@openismus.com>

	Don't show error icon for empty recent documents.

	* glom/dialog_existing_or_new.cc: Also don't show error icon for
	empty recent documents.

2010-03-31  Daniel Borgmann  <danielb@openismus.com>

	Welcome Screen adjustments.

	* glom/dialog_existing_or_new.cc: Fix typo and use of properties, don't
	show error icon when no network sessions are available.
	* glom/glom.glade: Hide label and icon, spacing adjustments.

2010-03-31  Daniel Borgmann  <danielb@openismus.com>

	Improve application title.

	* glom/application.cc: Don't show colon in application title when
	table name is empty.

2010-03-31  Daniel Borgmann  <danielb@openismus.com>

	Remove unneded alert dialogs / TODO items.

	* glom/frame_glom.cc: No table warnings are not needed anymore
	for menu items, so remove them.

2010-03-31  Daniel Borgmann  <danielb@openismus.com>

	Set window icon for OK dialogs.

	* glom/utils_ui.cc: show_ok_dialog: Set window icon.

2010-03-30  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-03-30  Daniel Borgmann  <danielb@openismus.com>

	Set window icon for welcome screen.

	* glom/dialog_existing_or_new.cc: Set window icon.

2010-03-30  Daniel Borgmann  <danielb@openismus.com>

	Disable some menu items when no table is loaded.

	* glom/application.cc: update_table_sensitive_ui: Function to set
	sensitivity of menu items depending on whether a table is loaded.
	init_menus: Add table sensitive menu items to a list.
	* glom/application.h: Add list to hold table sensitive menu items.
	* glom/frame_glom.cc: Call update_table_sensitive_ui when needed.

2010-03-30  Murray Cumming  <murrayc@murrayc.com>

	Glade instantation test: Make it exit on failure.

	* tests/test_glade_toplevels_instantiation.sh: Use || exit 1, as in
	David's commit to the other files.

2010-03-30  David King  <davidk@openismus.com>

	Make DTD validation tests exit on failure

	* tests/test_dtd_file_validation.sh:
	* tests/test_glade_file_validation.sh: Append ‘ || exit 1’ to the
	xmllint call, to ensure that a validation failure leads to a failing
	test.

2010-03-30  Daniel Borgmann  <danielb@openismus.com>

	Capitalisation fixes.

	* glom/application.cc: Use lower case for short prepositions.

2010-03-30  Daniel Borgmann  <danielb@openismus.com>

	Fix mnemonics.

	* glom/application.cc: Add missing mnemonics and change double
	mnemonics.

2010-03-30  Murray Cumming  <murrayc@murrayc.com>

	Update the document DTD, to fix tests.

	* glom/glom_document.dtd: data_layout_button: Allow this to have a
	formatting child node, because we now allow this in the UI and save this.

2010-03-30  Murray Cumming  <murrayc@murrayc.com>

	Add a test to check instantiation of glade widgets.

	* Makefile_tests.am
	* tests/glade_toplevels_instantiation.cc: Added this code for an
	executable that will try to instantiate all GtkWindow and GtkDialog
	objects in a specified .glade file. It also checks that they are not
	visible by default.
	* tests/test_glade_toplevels_instantiation.sh: Added a tests script,
	run during make check, to run this executable on all our .glade files.

	* glom/glom.glade, glom_developer.glom: Fix small problems found by the
	test, removing an empty textbuffer top-level object and making all
	top-level objects non-visible by default.

2010-03-30  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-03-29  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-03-29  Daniel Borgmann  <danielb@openismus.com>

	Relationships Overview dialog adjustments.

	* glom/glom_developer.glade: Remove frame and adjust spacings for
	Relationships Overview dialog.

2010-03-29  Daniel Borgmann  <danielb@openismus.com>

	Correct mnemonic widgets.

	* glom/glom_developer.glade: Actually set the correct mnemonic
	widgets for Report Layout input labels.

2010-03-29  Daniel Borgmann  <danielb@openismus.com>

	Remove boldness from input labels.

	* glom/glom_developer.glade: Remove bold markup for Report Layout
	input labels.

2010-03-29  Daniel Borgmann  <danielb@openismus.com>

	Report Layout dialog adjustments.

	* glom/frame_glom.cc: Set Report Layout dialog window icon.
	* glom/glom_developer.glade: Report Layout dialog spacing
	adjustments and mnemonics fix.

2010-03-29  Daniel Borgmann  <danielb@openismus.com>

	Reports dialog adjustments.

	* glom/frame_glom.cc: Set Reports dialog window title.
	* glom/glom_developer.glade: Remove frame from Reports dialog.

2010-03-29  Daniel Borgmann  <danielb@openismus.com>

	Remove frame label on Fields dialog.

	* glom/box_reports.cc: Remove references to frame label.
	* glom/box_reports.h: Remove frame label member.
	* glom/frame_glom.cc: Set window icon for Fields and Relationships
	dialogs.
	* glom/glom_developer.glade: Adjust Fields and Relationships dialogs.
	* glom/mode_design/dialog_design.cc: Remove references to frame label.
	* glom/mode_design/dialog_design.h: Remove frame label member.
	* glom/mode_design/dialog_fields.cc: Remove references to frame label.
	* glom/mode_design/dialog_relationships.cc: Remove references to frame
	label.
	* glom/mode_design/print_layouts/box_print_layouts.cc: Remove
	references to frame label.
	* glom/mode_design/print_layouts/box_print_layouts.h: Remove frame
	label member.
	* glom/navigation/box_tables.cc: Remove references to frame label.

2010-03-29  Murray Cumming  <murrayc@murrayc.com>

	Merged from master, and use SqlBuilder for DISTINCT and LIMIT.

2010-03-29  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-03-29  Murray Cumming  <murrayc@murrayc.com>

	Avoid Operation Not Supported warnings at startup.

	* glom/application.cc:
	* glom/bakery/app_withdoc.cc:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/connectionpool_backends/sqlite.cc:
	* glom/libglom/document/bakery/document.cc:
	* glom/libglom/utils.cc:
	* glom/xsl_utils.cc: Avoid creating a Gio::File() from an empty URI,
	avoiding useless stdout warnings at startup.

2010-03-29  Daniel Borgmann  <danielb@openismus.com>

	Edit Field Definition Dialog adjustments.

	* glom/glom_developer.glade: Update alignment and spacings, add mnemonics.
	* glom/mode_design/fields/box_db_table_definition.cc: Set window icon.

2010-03-29  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2010-03-29  Daniel Borgmann  <danielb@openismus.com>

	Export Format dialog adjustments.

	* glom/filechooser_export.cc: Set icon name for export format dialog.
	* glom/glom_developer.glade: (Export Format) Remove frame, move Add
	button to the start.
	* glom/mode_design/layout/dialog_layout_export.cc: Rename treeview
	header to "Fields" to replace the label.

2010-03-29  Daniel Borgmann  <danielb@openismus.com>

	Print Layouts dialog adjustments.

	* glom/frame_glom.cc: Set title and transient for Print Layouts dialog.
	* glom/glom_developer.glade: Remove the frame from Print Layouts dialog.

2010-03-28  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-03-28  Marek Černocký  <marek@manet.cz>

	Update Czech translation

2010-03-27  Marek Černocký  <marek@manet.cz>

	Update Czech translation

2010-03-26  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-03-26  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2010-03-26  Murray Cumming  <murrayc@murrayc.com>

	Fix the build.

2010-03-26  Murray Cumming  <murrayc@murrayc.com>

	Say when a chosen file doen't exist, and remove it from the history.

	* glom/libglom/document/bakery/document.[h|cc]: Add an enum for
	standard failure_codes, including a last enum values that custom codes
	should start after.
	read_from_disk(): Set a failure_code output variable here too, so we
	can detect non-existant files.
	* glom/libglom/document/document.h: Start the custom code after the last
	standard one.
	* glom/bakery/app_withdoc.cc: open_document(): Remove non-existant
	files from the recent files history.
	* glom/application.cc: ui_warning_load_failed(): Say if the file could not
	be found, instead of being mysterious. This happens for me often for
	recent files that I have deleted.

2010-03-26  Daniel Borgmann  <danielb@openismus.com>

	Adjust file chooser dialogs.

	* glom/dialog_existing_or_new.cc: Adjust title of file open dialog,
	set glom icon.
	* glom/utility_widgets/filechooserdialog_saveextras.cc: Set glom icon.

2010-03-26  Daniel Borgmann  <danielb@openismus.com>

	Fix filechooser title label.

	* glom/utility_widgets/filechooserdialog_saveextras.cc: Add colon and
	mnemonic to "Title" label.

2010-03-26  Daniel Borgmann  <danielb@openismus.com>

	Fix column spacing in connection dialog.

	* glom/glom.glade: Set column spacing in connection dialog to 12px.

2010-03-26  Daniel Borgmann  <danielb@openismus.com>

	Connection dialog adjustments.

	* glom/dialog_connection.cc: Add glom icon and remove maemo title hack
	as primary text does not exist anymore.
	* glom/glom.glade: Remove double title from connection dialog
	and make it HIG/GNOME conform.

2010-03-26  Daniel Borgmann  <danielb@openismus.com>

	Export dialog adjustments.

	* glom/filechooser_export.cc: Add glom icon and set mnemonic for Export
	button.

2010-03-26  Daniel Borgmann  <danielb@openismus.com>

	Adjustments for Import dialog.

	* glom/frame_glom.cc: Set window icon and update title text.

2010-03-26  Daniel Borgmann  <danielb@openismus.com>

	Adjustments for Tables dialog.

	* glom/application.cc: Use gtkmm API to set document icon.
	* glom/frame_glom.cc: Change Tables dialog title to "Edit Tables" to
	match the command name.
	* glom/glom.glade: Remove the frame.
	* glom/navigation/box_tables.cc: Change column name from Tables to Table.
	* glom/navigation/box_tables.h: Remove frame member.
	* glom/window_boxholder.cc: Set icon and default position to center on
	parent.

2010-03-25  Marek Černocký  <marek@manet.cz>

	Update Czech translation

2010-03-25  Murray Cumming  <murrayc@murrayc.com>

	Glade files: Remove adjustment objects, simplifying window instantiation.

	* glom/glom_developer.glade: Remove useless (default, empty) adjustment
	objects, so we can load the windows with GtkBuilder without specifying
	them. Recent versions of Glade no longer seem to create these when they
	would just have default values.
	* glom/base_db.cc:
	* glom/frame_glom.cc:
	* glom/glom.glade:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_field_layout.c
	c:
	* glom/mode_design/layout/layout_item_dialogs/dialog_formatting.cc:
	* glom/mode_design/print_layouts/dialog_text_formatting.cc:
	Don't provide the id of the adjustment, removing the silly workaround.

2010-03-24  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-03-24  Daniel Borgmann  <danielb@openismus.com>

	Don't show error dialog when user cancels template creation.

	* glom/application.cc: Display error message when trying to create
	a document from template in client-only-mode.
	* glom/bakery/app_withdoc.cc: Don't display error message if the
	document is rejected, let the application decide about it.

2010-03-23  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2010-03-23  Murray Cumming  <murrayc@murrayc.com>

	1.13.9

2010-03-23  Murray Cumming  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	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-23  Murray Cumming  <murrayc@murrayc.com>

	Fix the ChangeLog

2010-03-22  Murray Cumming  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	Small fixes to glade file.

	* glom/glom_developer.glade: Add some still-missing vbox orientation=vertical
	lines.

2010-03-21  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-03-20  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-03-20  Leonid Kanter  <leon@asplinux.ru>

	Update Russian translation

2010-03-20  Fryderyk Dziarmagowski  <freetz@gmx.net>

	Make Glom build with autoconf 2.65.

	* configure.ac: Remove brackets to make Glom build with newer autoconf.

2010-03-19  Murray Cumming  <murrayc@murrayc.com>

	Added missing file

2010-03-17  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2010-03-17  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-03-16  David King  <davidk@openismus.com>

	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  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	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-15  David King  <amigadave@amigadave.com>

	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-15  David King  <amigadave@amigadave.com>

	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  <murrayc@murrayc.com>

	Intial 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)

2010-03-08  Murray Cumming  <murrayc@murrayc.com>

	1.13.8

2010-03-08  Murray Cumming  <murrayc@murrayc.com>

	Slight update of Small Business example.

	* examples/example_smallbusiness.glom: Resave, with a new record with
	a picture of a polar bear for use on the www.glom.org website.
	The picture is from http://www.flickr.com/photos/mape_s/350700095/
	(Creative-Commons licensed, by Marieke IJsendoorn-Kuijpers)

2010-03-08  Murray Cumming  <murrayc@murrayc.com>

	Python button scripts: Rename print() to print_layout() and add start_new_record().

	* glom/application.[h|cc]
	* glom/frame_glom.[h|cc]
	* glom/libglom/python_embed/py_glom_ui.[h|cc]
	* glom/mode_data/box_data.[h|cc]
	* glom/mode_data/box_data_details.[h|cc]
	* glom/mode_data/notebook_data.[h|cc]
	* glom/python_embed/python_module/py_glom_module.cc:
	* tests/test_python_execute_script.cc:
	Add a ui.start_new_record() python method, and rename ui.print() to
	ui.print_layout() because print seems to be a python keyword that can't
	be used as a method name, seen when trying to use it in the unit test.

2010-03-08  Peter Penz  <ppenz@openismus.com>

	Fix the build with exceptions disabled.

	* glom/libglom/document/bakery/document_xml.cc:
	* glom/mode_design/iso_codes.cc: The exception handling is enabled by the
	define LIBXMLPP_EXCEPTIONS_ENABLED. But this is a typo, as libxml++ defines
	LIBXMLCPP_EXCEPTIONS_ENABLED.

2010-03-08  Murray Cumming  <murrayc@murrayc.com>

	Python button scripts: Add ui.print() and ui.print_reports(report_name).

	* glom/application.[h|cc]: Add print() and print_report(), calling
	methods in the frame widget.
	* glom/libglom/python_embed/py_glom_ui.[h|cc]: Add new print() and
	print_report() methods, adding callback slots for use by Glom.
	* glom/python_embed/python_module/py_glom_module.cc: Register the new
	Python methods.
	* glom/mode_data/box_data.[h|cc]: execute_button_script(): Handle the
	new signals, calling the new methods in Application.

2010-03-07  Murray Cumming  <murrayc@murrayc.com>

	Details: Align widgets in other columns too.

	* glom/utility_widgets/flowtable.[h|cc]: Added get_columns_count().
	* glom/mode_data/flowtablewithfields.[h|cc]: apply_size_group_to_label():
	Change this to apply_size_groups_to_label().
	align_child_group_labels(): Create a size group for each possible column,
	and call apply_size_groups_to_label() with them.

2010-03-06  Murray Cumming  <murrayc@murrayc.com>

	Details: Align widgets in the first columns of neighbouring layout groups.

	* glom/utility_widgets/flowtable.[h|cc]: Added get_column_for_first_widget(),
	to discover what column a widget is in, and whether it has even been assigned
	to a column yet (if the size has been allocated already.)
	FlowTableItem: Remember whether the item has a column number and what it is.
	on_size_allocate(): Remember the column numbers of items for later retrieval.
	* glom/mode_data/flowtablewithfields.[h|cc]: Info, add_field_at_position():
	Store the pointer to eventbox too, so we can later discover its column from
	the base FlowTable.
	Add align_child_group_labels(), to make all first-level labels in child
	flowtables share a single Gtk::SizeGroup, making them align.
	Add apply_size_group_to_labels() to actually add the labels to the size group.
	add_layout_group_at_position(): Call align_child_group_labels() on new
	sub-flowtables.
	on_size_allocate(): After the base class has allocated the spaces for the
	child widgets, after it therefore knows the column positions for the widgets,
	call apply_size_group_to_labels() to make them align.
	* glom/mode_data/box_data_details.cc: create_layout(): Call
	align_child_group_labels() to align items in top-level groups.

2010-03-06  Murray Cumming  <murrayc@murrayc.com>

	Details: Do not make field widgets too wide, so this fits on a laptop screen.

	* glom/utils_ui.cc: get_suitable_field_width_for_widget(): Do not add 150
	to all calculated widths. I don't know why this code ever did that.

2010-03-05  Bruno Brouard  <annoa.b@gmail.com>

	Updated French translation

2010-03-05  flip  <flip.roque@gmail.com>

	Updated Portuguese translation

2010-03-04  Murray Cumming  <murrayc@murrayc.com>

	1.13.7

2010-03-01  Mario Blättermann  <mariobl@gnome.org>

	Updated German doc translation

2010-02-28  Murray Cumming  <murrayc@murrayc.com>

	Python button scripts: Avoid a crash with buttons in lists.

	* glom/mode_data/box_data_list.[h|cc]: on_adddel_script_button_clicked():
	Run the script in the (existing) on_script_button_idle() idle handler because
	the script can cause the cell (that is emitting the signal) to be destroyed,
	by navigating to a different table. This fixes that crash.
	* glom/mode_data/box_data_list_related.cc: Do the same here.
	* glom/mode_data/notebook_data.cc: on_list_user_requested_details(): Use
	the same idle handler trick here, just in case.

2010-02-28  Murray Cumming  <murrayc@murrayc.com>

	Button scripts: Don't change the table back after the script has shown another.

	* glom/mode_data/box_data_details.cc: on_flowtable_script_button_clicked():
	Avoid refreshing the data if the script changed what table is shown, because
	that would change it back.

2010-02-28  Murray Cumming  <murrayc@murrayc.com>

	Added unit test for the new button script ui python API.

	* Makefile_tests.am:
	* tests/test_python_execute_script.cc: Added unit test for the new button
	script ui python API.

2010-02-28  Murray Cumming  <murrayc@murrayc.com>

	PyGlomUI: Simplify the callbacks object.

	* glom/libglom/python_embed/py_glom_ui.[h|cc]: Use public sigc::slots instead
	of signals, to simplify this.
	* glom/mode_data/box_data.cc
	Box_Data::execute_button_script(): Adapt.

2010-02-28  Murray Cumming  <murrayc@murrayc.com>

	1.13.6:

2010-02-28  Murray Cumming  <murrayc@murrayc.com>

	Fix the python function tests.

	* glom/python_embed/glom_python.cc
	glom_execute_python_function_implementation,
	glom_evaluate_python_function_implementation: Import the glom python module
	before trying to create a boost::python::object(new PyGlomRecord), to avoid
	an exception in the tests.

2010-02-28  Murray Cumming  <murrayc@murrayc.com>

	Correct the ChangeLog

2010-02-28  Murray Cumming  <murrayc@murrayc.com>

	Many files: Rename App_Glom to Application (in namespace Glom).

2010-02-28  Murray Cumming  <murrayc@murrayc.com>

	Python button scripts: Add show_table_details() and show_table_list().

	* Makefile_libglom.am:
	* glom/python_embed/python_module/py_glom_module.cc:
	* glom/libglom/python_embed/py_glom_ui.[h|cc]: Added a PyGlomUI object
	that can be passed to python functions in addition to the record object,
	with methods to navigate in the UI. So far there is just
	show_table_details() and show_table_list().
	* glom/glom_developer.glade: Script editor window: Mention the extra ui
	parameter.
	* glom/python_embed/glom_python.[h|cc]: Add a callback object parameter so
	scripts can tell the caller to change things in the UI.
	* glom/frame_glom.h: Made show_table() public so that the Application can
	call it.
	* glom/application.[h|cc]: Add show_table_details() and add_show_list()
	methods for the callbacks to call.
	* glom/mode_data/box_data.[h|cc]: Handle the callback signals, to actually do
	the navigation when a python script requests it.
	* glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.cc: Adapted.

2010-02-27  Murray Cumming  <murrayc@murrayc.com>

	Python: Prevent field calculations from changing the data in other fields.

	* glom/libglom/python_embed/py_glom_record.[h|cc]: Added set_read_only().
	* glom/python_embed/glom_python.[h|cc]:
	glom_evaluate_python_function_implementation(): Add a bool read_only
	parameter that defaults to true.
	glom_execute_python_function_implementation(): Pass read_only=false so
	scripts can write data to the database via the record object.

2010-02-27  Murray Cumming  <murrayc@murrayc.com>

	Use Gnome::Gda::SqlBuilder

	* several files: Use Gnome::Gda::SqlBuilder to simplify query building and to
	make it safer.
	Much of this work was actually by Johannes Schmid for Openismus.

2010-02-27  Murray Cumming  <murrayc@murrayc.com>

	Increase required version of libgdamm.

	* configure.ac: Increase libgdamm dependency to the last one that doesn't
	need libgda 4.1/4.2. We actually need some API that was not in the older one.

2010-02-27  Murray Cumming  <murrayc@murrayc.com>

	Revert use of SqlBuilder because it requires libgda 4.1,   which will not be packaged by the upcoming Ubuntu Lucid, which is an   important version of an important distro.

2010-02-27  Murray Cumming  <murrayc@murrayc.com>

	More uses of SqlBuilder for SELECT and UPDATE statements.

	This requires the latest libgdamm API.
	There are several TODOs because I need to find out how to do some
	things with the GdaSqlBuilder API.

2010-02-27  Murray Cumming  <murrayc@murrayc.com>

	Fix runtime problems with the use of SqlBuilder.

	* glom/base_db.[h|cc]: query_execute_select(), query_execute(): Catch more
	errors and output better debug and error text.
	get_database_preferences(): Don't bother catching exceptions already caught
	by query_execute*().
	add_standard_tables(): Fix a typo in the SQL query.
	insert_example_data(): Work around an inability in GdaSqlBuilder to INSERT
	a NULL value. I have asked about it on the mailing list.

2010-02-26  Murray Cumming  <murrayc@murrayc.com>

	Fixed the tests build.

	* tests/test_python_execute_func.cc:
	* tests/test_python_execute_func_date.cc: Updated for the
	extra parameters for glom_evaluate_python_function_implementation().

2010-02-25  Murray Cumming  <murrayc@murrayc.com>

	Python functions: Allow setting of values in the record via [].

	* glom/python_embed/python_module/py_glom_module.cc: Specify a setitem(),
	so python code can use [] syntax to set the record's field values as
	well as getting them.
	* glom/libglom/python_embed/py_glom_record.[h|cc]:
	PyGlomRecord_SetFields(): Take and store the primary key details and value,
	and use it in setitem() to UPDATE the value in the database.
	* glom/python_embed/glom_python.[h|cc]:
	glom_execute_python_function_implementation(),
	glom_evaluate_python_function_implementation():
	Take the primary key field and value.
	* glom/base_db.cc:
	* glom/base_db_table_data.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.cc:
	Adapted.

2010-02-23  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation

2010-02-22  Murray Cumming  <murrayc@murrayc.com>

	Avoid showing %20 in the window title.

	* glom/libglom/document/bakery/document.cc: get_name():
	Use Gio::FileInfo::get_display_name() instead of
	Glib::filename_display_basename() or Glib::filename_display_name(), to avoid
	showing %20 in the window title bar when there are spaces in the file name.
	Noticed by Daniel Borgmann.

2010-02-22  Murray Cumming  <murrayc@murrayc.com>

	1.13.5

2010-02-22  Peter Penz  <ppenz@openismus.com>

	libglom: Fix build issue for Maemo.

	* glom/libglom/data_structure/glomconversions.cc: get_text_for_gda_value():
	Add an ifdef for the disabled-exceptions build.

2010-02-22  Murray Cumming  <murrayc@murrayc.com>

	Python functions: Fix regression since the switch to boost::python.

	* glom/python_embed/python_module/py_glom_module.cc: PyRelatedRecord:
	Fix a typo on the getitem() and len() declarations so we can really
	get a related record.

2010-02-22  Murray Cumming  <murrayc@murrayc.com>

	Python functions: Avoid a crash.

	* glom/python_embed/glom_python.cc:
	glom_evaluate_python_function_implementation(): When calling the
	function object, catch exceptions instead of crashing.

2010-02-18  Jorge González  <jorgegonz@svn.gnome.org>

	Deleted duplicated image

2010-02-12  Murray Cumming  <murrayc@murrayc.com>

	Glom Python: Minor code improvement.

	* glom/python_embed/glom_python.cc: glom_evaluate_python_function_implemention():
	Use the extra brackets trick to have boost::python::object and handle
	on one line, so I have to care less about handle<>.

2010-02-12  Murray Cumming  <murrayc@murrayc.com>

	Disable broken import tests.

	* Makefile_tests.am: Comment out the use of the import tests during
	make check. They hang most of the time, which is just stopping distcheck
	from working. We need to fix these (and or the importing itself).
	Then we can reenable them.

2010-02-11  Murray Cumming  <murrayc@murrayc.com>

	libglom/python_embed/: get_item(): Pass object by const reference.

	* glom/libglom/python_embed/py_glom_record.[h|cc]:
	* glom/libglom/python_embed/py_glom_related.[h|cc]:
	* glom/libglom/python_embed/py_glom_relatedrecord.[h|cc:
	getitem(): Pass the object by const &.

2010-02-11  Murray Cumming  <murrayc@murrayc.com>

	1.13.4:

	Rename boost::python m4 macro.

	* configure.ac:
	* macros/ax_boost_python.m4: Rename to ax_boost_python_macro.m4 and
	rename the defined m4 macro, to avoid confusion with the cleaner (but
	not working) original.

2010-02-11  Murray Cumming  <murrayc@murrayc.com>

	Fix the build, due to file not added to git.

	* glom/libglom/python_embed/pygdavalue_conversions.cc: Added missing
	file to git.

2010-02-11  Murray Cumming  <murrayc@murrayc.com>

	Fixes for the boost::python configure checks.

	* configure.ac: AC_SUBST(PYTHON_CPPFLAGS) so our python checks can
	use it.
	* macros/ax_boost_python.m4: Use the previously-discovered python
	CPPFLAGS and LIBS so our checks really work.

2010-02-10  Murray Cumming  <murrayc@murrayc.com>

	Use boost::python instead of the Python C API, simplifying the code.

	* configure.ac: Check for boost::python.
	* Makefile.am:
	* Makefile_glom.am: Use boost::python CFLAGS and LIBS.
	* macros/ax_boost_python.m4: Added this macro from
	http://www.nongnu.org/autoconf-archive/ax_boost_python.html
	and hacked it to make it actually work.

	* glom/python_embed/glom_python.cc: Use BOOST_PYTHON_MODULE() instead
	of the obscure Python C API structs and fields that were here and in
	the other .cc files.
	* glom/main.cc:
	* glom/libglom/python_embed/py_glom_record.[h|cc]
	* glom/libglom/python_embed/py_glom_related.[h|cc]
	* glom/libglom/python_embed/py_glom_relatedrecord.[h|cc]
	* glom/python_embed/python_module/py_glom_module.[h|cc]:
	* tests/test_python_execute_func.cc:
	Use boost::python, for instance via boost::python::object, to
	simplify memory management.

	* Makefile_libglom.am:
	* glom/libglom/python_embed/pygdavalue_conversions.[h|c]:
	Change this to a .cc file, using C++, using boost::python.

2010-02-08  Peter Penz  <ppenz@openismus.com>

	libglom: Fix build issue for Maemo.

	* glom/libglom/data_structure/glomconversions.cc: get_text_for_gda_value():
	Add an ifdef for the disabled-exceptions build.

2010-02-08  Murray Cumming  <murrayc@murrayc.com>

	Trying to please git.

2010-02-08  Murray Cumming  <murrayc@murrayc.com>

	1.13.3

2010-02-08  Murray Cumming  <murrayc@murrayc.com>

	Fixed merge conflict.

2010-02-06  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-02-04  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-02-04  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-02-03  Michael Hasselmann  <michaelh@openismus.com>

	Fixed a crash that got uncovered by the previous commit

	* glom/libglom/utils.cc (build_sql_select_fields_to_get): Warn about layout
	items that are null and skip them.

2010-02-03  Michael Hasselmann  <michaelh@openismus.com>

	Added a guard clause when adding relationships from fields

	* glom/libglom/utils.cc (add_to_relationships_list): If an invalid layout item
	is passed then its relationship cannot be queried. Libglom users can also force
	layout item fields that are null into this function, hence an additional guard
	clause was added.

2010-02-02  Murray Cumming  <murrayc@murrayc.com>

	Do not include pygtk.h

	* glom/libglom/python_embed/py_glom_record.h:
	* glom/libglom/python_embed/py_glom_relatedrecord.h:
	* glom/python_embed/glom_python.cc: Include pygobject.h instead of
	pygtk/pygtk.h, because we do not use anything from pygtk, or link to it.

2010-02-02  Marek Černocký  <marek@manet.cz>

	Update Czech translation

2010-01-31  Murray Cumming  <murrayc@murrayc.com>

	Command-line parsing: Added some checks.

	* glom/main.cc: Test the command-line argument filepath for existence and
	check that it's not a directory, so it fails before even showing UI.

2010-01-31  Murray Cumming  <murrayc@murrayc.com>

	Relationships Overview: Avoid GTK+ warnings.

	* glom/mode_design/relationships_overview/dialog_relationships_overview.cc:
	Constructor: Call add_accel_group(), which fixes the warnings during
	destruction mentioned in bug #607938.

2010-01-31  Murray Cumming  <murrayc@murrayc.com>

	Relationships Overview: Maybe fix a hang/crash.

	* glom/mode_design/relationships_overview/dialog_relationships_overview.[h|cc]:
	Signal handlers: Take sigc::bind() RefPtr parameters by value instead of by
	const &, to avoid having to use sigc::ref() or worry if it works.
	Save sigc::connections in a list so we can disconnect signal handlers when
	deleting items bound with sigc::bind(). Do this in the destructor too, which
	seems to fix the valgrind errors in bug #594737, though not the
	"instance of invalid non-instantiatable type" warning.

2010-01-28  Michael Hasselmann  <michaelh@openismus.com>

	Updated ChangeLog

2010-01-27  Michael Hasselmann  <michaelh@openismus.com>

	Import tests: break mainloop on file read errors

2010-01-27  Michael Hasselmann  <michaelh@openismus.com>

	Fixed the parser to perform stateless async file operations

	* glom/import_csv/csv_parser.[h|cc]: The parser relied on a member variable for
	its async giomm operations, which was able to cause interleaving state
	changes to it, corrupting the object in the worst case. This commit uses the
	source object as a slot parameter to avoid this state problem (working around
	BGO bug #608269).

2010-01-27  Michael Hasselmann  <michaelh@openismus.com>

	Added a test for BGO bug #607938

	* tests/import/data/albums.csv: Real-world example data used for the CSV
	import.

	* tests/import/utils.[h|cc]: Add the possibility to feed a filename into the
	ImportTest directly.

	* tests/import/test_parsing.cc: Test the CSV import of a whole file.

2010-01-27  Michael Hasselmann  <michaelh@openismus.com>

	Updated ChangeLog

2010-01-27  Michael Hasselmann  <michaelh@openismus.com>

	Added a g_return_if_fail check for invalid URLs

	* glom/import_csv/csv_parser.cc: Do not start the async reading if the file
	object is invalid.

2010-01-27  David King  <davidk@openismus.com>

	Documentation improvements for FieldFormatting and NumericFormatting

	* glom/libglom/data_structure/layout/fieldformatting.h:
	* glom/libglom/data_structure/numeric_format.h: Documentation
	improvements.

2010-01-27  Murray Cumming  <murrayc@murrayc.com>

	Update the ChangeLog

2010-01-27  Murray Cumming  <murrayc@murrayc.com>

	Cleanups

2010-01-27  Murray Cumming  <murrayc@murrayc.com>

	Simplify tool item memory management.

2010-01-27  Murray Cumming  <murrayc@murrayc.com>

	Use ToolGroupItem as C++.

2010-01-27  Murray Cumming  <murrayc@murrayc.com>

	Partially use Gtk::Toolpalette instead of GtkToolpalette.

2010-01-27  Murray Cumming  <murrayc@murrayc.com>

	Use GtkToolPalette instead of EggToolPalette.

	* Makefile_libegg.am:
	* glom/utility_widgets/egg/: Removed.
	* Other files: Use GtkToolPalette instead of EggToolPalette.
	Seems to work.

2010-01-27  Murray Cumming  <murrayc@murrayc.com>

	Merged from glom_1_12

2010-01-27  Murray Cumming  <murrayc@murrayc.com>

	libglom: Correct includes.

	* glom/libglom/*.h: Use the full include libglom/ path for headers, to
	avoid confusion and make life easier for other users of libglom.
	* glom/libglom/*.cc: Fixed them here just for consistency.

2010-01-26  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-01-25  Marek Černocký  <marek@manet.cz>

	Update Czech translation

2010-01-25  Michael Hasselmann  <michael@taschenorakel.de>

	Fixed out-ouf-bounds access during CSV imports

	* glom/import_csv/dialog_import_csv.cc (get_field_for_column): Added boundary
	check for direct field access. Fixes bug #607938.

2010-01-25  Murray Cumming  <murrayc@murrayc.com>

	numeric_format.h: Remove unnecessary include of privileges.h.

2010-01-25  Murray Cumming  <murrayc@murrayc.com>

	Allow new files to have quotes in their titles.

	* glom/frame_glom.cc:
	connection_request_password_and_choose_new_database_name():
	Remove quotes (and other unusual characters) from the generated
	database name, to avoid errors from the database backend.
	Bug #607957 (Michael Hasselmann)

2010-01-25  Murray Cumming  <murrayc@murrayc.com>

	numeric_format.h: Remove unnecessary include of privileges.h.

2010-01-25  Murray Cumming  <murrayc@murrayc.com>

	Allow new files to have quotes in their titles.

	* glom/frame_glom.cc:
	connection_request_password_and_choose_new_database_name():
	Remove quotes (and other unusual characters) from the generated
	database name, to avoid errors from the database backend.
	Bug #607957 (Michael Hasselmann)

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

	Remove commented code.

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

	ldtp: Added an example central-info.xml, as mentioned in the README.

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

	1.13.2

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

	Details: Buttons: Use horizontal aligment from formatting.

	* glom/mode_data/flowtablewithfields.cc: add_button_at_position():
	Use a Gtk::HBox with either pack_start() or pack_end(), putting it in the
	FlowTable with expand=true to have alignment in the button's space, if we
	don't want the FlowTable's default (left) alignment.

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

	Details: Static Text items: Use horizontal alignment from formatting.

	* glom/utility_widgets/labelglom.[h|cc]: Add a constructor that does not
	take alignment values, like the Gtk::Label base class, so we can easily
	use the default for vertical alignment.
	* glom/mode_data/flowtablewithfields.cc: add_textobject_at_position():
	Use expand=true when adding the widget to the FlowTable, so that labels can
	have the full space in which to actually have alignment.
	* glom/utility_widgets/layoutwidgetbase.cc: apply_formatting: Use appropriate
	multi-line justification for labels, as a user would expect when setting
	horizontal alignment.

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

	Details: Buttons: Use background color from formatting.

	* glom/mode_data/flowtablewithfields.cc: add_button_at_position(): Call
	apply_formatting on the button, not the label, so it has a chance to do the
	right thing on the right widget.

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

	Details: Static Text items: Use background color from formatting.

	* glom/utility_widgets/labelglom.cc: Do not call set_visible_window(false)
	because we really need a visible child X window to be able to change the
	background color.

2010-01-23  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

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

	Details: Static Text items and Buttons: Use foreground color from formatting.

	* glom/utility_widgets/layoutwidgetbase.cc: apply_formatting(): Use the
	foreground color for labels (static text items and buttons).

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

	Details: Static Text items: Use formatting.

	* glom/utility_widgets/labelglom.[h|cc]: Added get_label(), because this
	really has a label as a child.
	* glom/utility_widgets/layoutwidgetbase.cc: apply_formatting(): Use get_label()
	to make formatting work on static text items too.

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

	Fixed compiler warnings.

	* glom/libglom/data_structure/layout/layoutitem_field.cc:
	get_formatting_used_horizontal_alignment():
	* glom/print_layout/canvas_layout_item.cc: apply_formatting(): Fixed
	compiler warnings.

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

	Make libglom-1.14 install in parallel with libglom-1.12.

	* glom/libglom/glom-1.12.pc.in: Rename to glom-1.14.pc.in
	* configure.ac: Change the libglom ABI version variable and specify the
	changed .pc.in file.
	* Makefile.am, Makefile_libglom.am: Adapt.
	* glom/python_embed/python_module/py_glom_module.[h|cc]: Mention
	2.14 instead of 2.14.
	* tests/test_load_python_library.cc: Adapt.

	* glom/libglom/document/document.cc:
	get_latest_known_document_format_version(): Increment.

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

	Really use formatting for multi-line fields.

	* glom/utility_widgets/textviewglom.[h|cc]: Added get_textview().
	* glom/utility_widgets/layoutwidgetbase.cc: apply_formatting():
	Get the appropriate child for buttons and textviews, making this work
	for textviews (multi line fields), but it still does not work for
	labels (static text items) and buttons.

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

	Allow custom text formatting of Buttons as well as text items and fields.

	* glom/libglom/data_structure/layout/layoutitem_button.[h|cc]:
	Derive from LayoutItem_WithFormatting.
	* glom/libglom/document/document.[h|cc]: Make loading/saving of
	formatting generic so we get it for free whenever a new class
	derives from LayoutItem_WithFormatting.
	* glom/mode_data/flowtablewithfields.cc:
	on_dnd_add_layout_item_button(): Try to apply the formatting to
	the button's label, though it doesn't seem to work.

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

	Allow editing of formatting for static text items.

	* glom/mode_design/layout/layout_item_dialogs/dialog_formatting.[h|cc]:
	Added generic formatting (not choices, not default/custom) dialog
	for static text items and maybe others.
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.[h|cc]:
	set_formatting(): Add optional bool paramters to hide numeric formatting
	and choices.
	* glom/base_db.[h|cc]: Added offer_item_formatting() to use this dialog.
	* glom/mode_design/layout/dialog_layout_details.cc(): Allow editing of
	the formatting for static text items instead of just fields.

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	construct_specified_columns_cellrenderer(): Apply the formatting to
	any LayoutItem_WithFormatting, not just fields.
	* glom/mode_data/flowtablewithfields.cc: add_textobject_at_position():
	Try to apply the formatting to the label, but it doesn't seem to work.

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

	Add LayoutItem_WithFormatting as a Field/StaticText common base class.

	* glom/libglom/data_structure/layout/layoutitem_withformatting.[h|cc]:
	Added LayoutItem_WithFormatting.
	* glom/libglom/data_structure/layout/layoutitem_text.[h|cc]:
	* glom/libglom/data_structure/layout/layoutitem_field.[h|cc]:
	Derive from Layout_WithFormatting, so we can use the base class
	polymorphically, making it easier to support formatting for static text
	items.
	* glom/utility_widgets/layoutwidgetbase.[h|cc]: apply_formatting(),
	* glom/print_layout/canvas_layout_item.[h|cc]: apply_formatting():
	Make this generic for LayoutItem_WithFormatting.

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

	Show the alternative colors for negatives in fields with choices too.

	* glom/utility_widgets/comboentryglom.cc: set_value():
	* glom/utility_widgets/comboglom.cc: set_value(): Use the alternative
	negative color feature here too.

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

	Field Formatting: Text Formatting: Add horizontal alignment option.

	* glom/libglom/data_structure/layout/fieldformatting.[h|cc]:
	Added get/set_horizontal_alignment().
	* glom/libglom/data_structure/layout/layoutitem_field.[h|cc]:
	Added get_formatting_used_horizontal_alignment() to interpret the
	AUTO alignment depending on the fields details.
	* glom/libglom/document/document.cc:
	load_after_layout_item_formatting(), save_before_layout_item_formatting():
	load/save the new setting.

	* glom/glom_developer.glade: window_formatting: Added the alignment combo.
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.[h|cc]:
	Show/Save the alignment.
	* glom/utility_widgets/db_adddel/db_adddel.cc: apply_formatting():
	* glom/utility_widgets/entryglom.cc: init():
	* glom/utility_widgets/comboentryglom.cc: set_layout_item():
	Set xalign from get_formatting_used_horizontal_alignment().

2010-01-21  Marek Černocký  <marek@manet.cz>

	Update Czech translation

2010-01-20  Murray Cumming  <murrayc@murrayc.com>

	1.12.5

2010-01-20  Murray Cumming  <murrayc@murrayc.com>

	Fix a crash in previous commit.

	* glom/utility_widgets/db_adddel/db_adddel.cc: get_fixed_cell_height():
	Fixed a null-pointer crash when also checking LayoutItem_Text items,
	though the UI doesn't actually allow the font to be specified for them
	yet.

2010-01-20  Murray Cumming  <murrayc@murrayc.com>

	List View: Don't chop off the bottom of text when using large fonts.

	* glom/utility_widgets/db_adddel/db_adddel.cc: get_fixed_cell_height():
	Use the font description from the FieldFormatting, to get a more
	suitable max height for all columns.
	remove_all_columns(): Set m_fixed_cell_height back to 0 so it
	will be recalculated for the new columns.
	Fixes bug #607023 (Michael Hasselmann)

2010-01-19  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2010-01-19  Murray Cumming  <murrayc@murrayc.com>

	Update NEWS for a release soon.

2010-01-19  Michael Hasselmann  <michaelh@openismus.com>

	Make the default precision used for stringstreams available for libglom users

	* glom/libglom/data_structure/glomconversions.[h|cc]
	(get_stringstream_precision_default): Wrap the constant used into a function
	and export it in the headers. Users of libglom need it to show the same
	precision for Glom's numeric type.

2010-01-19  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-01-19  Michael Hasselmann  <michaelh@openismus.com>

	Add forgotten header to libglom's Makefile

	* Makefile_libglom.am: libglom_include_HEADERS forgot to mention utils.h
	although it was mentioned in the *_la_SOURCES.

2010-01-19  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-01-18  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-01-17  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-01-16  Murray Cumming  <murrayc@murrayc.com>

	Field Formatting: Negative values color: Make this just a bool check box.

	* glom/libglom/data_structure/numeric_format.[h|cc]: Use just a bool
	to say if negative values should be shown in an alternative color.
	Add static get_alternative_color_for_negatives() to get that color.
	* glom/libglom/data_structure/layout/fieldformatting.cc:
	get_text_format_color_foreground_to_use(): Updated the implementation.
	* glom/libglom/document/document.cc:
	load_after_layout_item_formatting(), save_before_layout_item_formatting():
	Updated.

	* glom/glom_developer.glade: window_formatting: Show only a checkbox, not
	a color too, for the alternative color for negatives.
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.[h|cc]:
	Updated.

2010-01-16  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2010-01-15  Michael Hasselmann  <michaelh@openismus.com>

	Add forgotten header to libglom's Makefile

	* Makefile_libglom.am: libglom_include_HEADERS forgot to mention utils.h
	although it was mentioned in the *_la_SOURCES.

2010-01-15  Michael Hasselmann  <michaelh@openismus.com>

	Updated the comment for NumericFormat's default precision

	* glom/libglom/data_structure/numeric_format.h (get_default_precision): The
	precision applies to the decimal places only, not the whole number. Comment
	updated.

2010-01-15  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2010-01-15  Murray Cumming  <murrayc@murrayc.com>

	Field Formatting: Allow an alternative color for negative values.

	* glom/libglom/data_structure/numeric_format.[h|cc]:
	Added m_foreground_color_for_negatives.
	* glom/libglom/data_structure/layout/fieldformatting.[h|cc]:
	Added get_text_format_color_foreground_to_use().
	* glom/libglom/document/document.cc:
	load_after_layout_item_formatting(), save_before_layout_item_formatting():
	load/save the new setting.

	* glom/glom_developer.glade: window_formatting: Added negatives color
	and checkbox to the numeric formatting tab.
	* glom/mode_design/layout/layout_item_dialogs/box_formatting.[h|cc]:
	Show/Save the color.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	treeviewcolumn_on_cell_data()_
	* glom/utility_widgets/entryglom.cc: set_value():
	Use the color for negatives if appropriate.
	* glom/print_layout/canvas_layout_item.cc: Add a TODO to use it here too.

2010-01-14  Murray Cumming  <murrayc@murrayc.com>

	libglom: Some API documentation.

	* glom/libglom/data_structure/layout/layoutitem_field.h:
	* glom/libglom/data_structure/layout/usesrelationship.h:
	Added doxygen comments at request of Michael Hasselmann.

2010-01-14  Murray Cumming  <murrayc@murrayc.com>

	Rename get_stringstream_precision_default().

	* glom/libglom/data_structure/glomconversions.[h|cc]:
	get_stringstream_precision_default(): Rename this to the slighly-better
	named (because it's not mentioning implementation)
	NumericFormat::get_default_precision() in
	* glom/libglom/data_structure/numeric_format.[h|cc]: and document it
	vaguely.

2010-01-14  Murray Cumming  <murrayc@murrayc.com>

	Minor simplification.

	* glom/libglom/data_structure/glomconversions.cc:
	get_stringstream_precision_default(): Simplify this function, for
	Michael to see.

2010-01-14  Michael Hasselmann  <michaelh@openismus.com>

	Make the default precision used for stringstreams available for libglom users

	* glom/libglom/data_structure/glomconversions.[h|cc]
	(get_stringstream_precision_default): Wrap the constant used into a function
	and export it in the headers. Users of libglom need it to show the same
	precision for Glom's numeric type.

2010-01-12  Murray Cumming  <murrayc@murrayc.com>

	Music Collection Example: Changed a layout.

	* examples/example_music_collection.glom: Albums: List View:
	Add some related records to show a problem in Qlom.

2010-01-08  Murray Cumming  <murrayc@murrayc.com>

	Correct use of locales when creating text representations.

	* glom/main.cc:  Set std::locale::global() to the user's current locale,
	forcing us to imbue streams to whatever we actually want.
	* glom/libglom/connectionpool_backends/postgres_self.cc: startup():
	Do not use Utils::string_from_decimal() for the port number, because it
	is meant to use the user's locale, but we need it in the C locale.
	* glom/libglom/data_structure/field.cc: to_file_format(): Use
	std::locale::classic() when we want the C locale, not std::locale(),
	which means the user's locale, which was previously the C one by chance.
	* glom/libglom/utils.cc: string_from_decimal(): Imbue the stream
	as wanted.

2010-01-08  Michael Hasselmann  <michaelh@openismus.com>

	Fix potential encoding error for currency symbols

	* glom/libglom/data_structure/glomconversions.cc (get_text_for_gda_value):
	Glom's numeric type can be prefixed with a currency symbol. If the symbol
	cannot be represented in the user's locale it would hide all data for the
	column. This is fixed by using a fallback conversion for the symbol.
	Fixes bug #606349.

2010-01-07  Armin Burgmeier  <armin@arbur.net>

	Make Glom on Windows find the correct python module

2010-01-07  Armin Burgmeier  <armin@arbur.net>

	* win32/build-installer:
	* win32/glom.iss.in: Install glom_1_12.pyd instead of glom.pyd. Bug
	#605593.

2010-01-02  Matej Urbančič  <mateju@svn.gnome.org>

	Added sl for Slovenian translation

2010-01-02  Andrej Žnidaršič  <andrej.znidarsic@gmail.com>

	Updated Slovenian translation

2009-12-31  Murray Cumming  <murrayc@murrayc.com>

	1.12.4

2009-12-30  Murray Cumming  <murrayc@murrayc.com>

	Dnd layout: Avoid a crash when dragging to empty space.

	* glom/utility_widgets/flowtable_dnd.cc: on_drag_data_received():
	Avoid dereferencing a null group. Bug #599232

2009-12-30  Murray Cumming  <murrayc@murrayc.com>

	Dnd layout: Avoid a crash.

	* glom/utility_widgets/flowtable_dnd.cc: on_drag_data_received():
	Use a dynamic_cast<> to avoid memory corruption with the MI class.

2009-12-17  Armin Burgmeier  <armin@arbur.net>

	Add missing libpangoft2-1.0-0.dll to installer

2009-12-16  Armin Burgmeier  <armin@arbur.net>

	* win32/build-installer:
	* win32/glom.iss.in: Add missing libpangoft2-1.0-0.dll. Bug #599966.

2009-12-14  Murray Cumming  <murrayc@murrayc.com>

	desktop.in.in: Remove the Application category because krazy2 says it is deprecated.

2009-12-14  Murray Cumming  <murrayc@murrayc.com>

	Fix for krazy2 warning: Pre-increment instead of post-increment in for().

2009-12-14  Murray Cumming  <murrayc@murrayc.com>

	Fixes for krazy2 warnings: Use of explicit and a non-const operator.

2009-12-14  Murray Cumming  <murrayc@murrayc.com>

	Fixes for krazy2 warnings: Char literals instead of single-char string literals.

2009-12-14  Murray Cumming  <murrayc@murrayc.com>

	Fixes for krazy2 warnings: true/false instead of TRUE/FALSE.

2009-12-14  Murray Cumming  <murrayc@murrayc.com>

	FlowTableDnd: Some refactoring.

	* glom/utility_widgets/flowtable_dnd.[h|cc],
	* glom/mode_data/flowtable_withfields.[h|cc]: Make FlowTableDnd less
	aware of LayoutItems, though it is still not yet generic enough.
	* glom/utility_widgets/test_flowtable_dnd.cc:
	* glom/Makefile_tests.am: Added test_flowtable_dnd.

2009-12-10  Murray Cumming  <murrayc@murrayc.com>

	example_film_manager.glom: Added silly example data, fixing bug #600859 (Michael Hasselmann)

2009-12-10  Murray Cumming  <murrayc@murrayc.com>

	Tests: Validate all examples against the DTD, and correct the DTD.

	* tests/dtd/test_example_sqlite: Renamed to test_file_validation.sh.
	* glom/Makefile_tests.am: Adapted.
	* glom/libglom/document/document.cc: save_before(): Correct the saving
	of group privileges so they are really inside the group nodes. Avoid
	saving unnamed groups, as seen in the example files.
	* glom/glom_document.dtd: Several corrections to fix the validation of
	the example files, though I don't like that DTDs don't seem to give
	us any way to say that the sequence of child elements is irrelevant.
	I don't like enforcing the sequence.

2009-12-10  Murray Cumming  <murrayc@murrayc.com>

	Fix distcheck.

	* Makefile.am:
	* Makefile_tests.am: Fix the distcheck by disting the DTD validation
	test script and the .glom file that it uses.
	* glom/libglom/init.cc: Redefine Python's PyDateTime_IMPORT macro,
	to avoid a compiler warning. See http://bugs.python.org/issue7463
	* glom/main.cc: Avoid including Python's datetime.h, to avoid the same
	compiler warning.

2009-12-09  Murray Cumming  <murrayc@murrayc.com>

	Tests: Complete the test_python_execute_func_date test.

	* glom/libglom/python_embed/pygdavalue_conversions.c
	(glom_pygda_value_from_pyobject): Use g_date_new_dmy() so the GDate
	is really completely initialized, avoiding errors about invalid dates.
	* tests/test_python_execute_func_date.cc: Check the return type and
	value, by comparing the python result with the current date.
	Bug is now really fixed #603686. (Andrew Ruthven)

2009-12-09  Murray Cumming  <murrayc@murrayc.com>

	Fix the crash when calling python functions that return dates.

	* glom/libglom/python_embed/pygdavalue_conversions.c
	(glom_pygda_value_from_pyobject): Call the macro PyDateTime_IMPORT here,
	though it was already called in libglom_init(). I don't know why this
	fixes the crash, but it does. Bug #603686. (Andrew Ruthven)

2009-12-08  Murray Cumming  <murrayc@murrayc.com>

	Tests: Added glom_evaluate_python_function_implementation() tests.

	* Makefile_tests.am:
	* tests/test_python_execute_func.cc:
	* tests/test_python_execute_func_date.cc: Added two unit tests for
	Glom::glom_evaluate_python_function_implementation(). The date one
	currently fails, as in bug #603686.

2009-12-07  Murray Cumming  <murrayc@murrayc.com>

	Renable the crash handler. I disabled it while debugging.

2009-12-07  Murray Cumming  <murrayc@murrayc.com>

	Python: Trying to stop the PyDateTime_Check() crash.

	* glom/libglom/init.cc: libglom_init(): Call the PyDateTime_IMPORT
	macro, which is needed to stop PyDateTime_Check() and PyDate_Check()
	from crashing, at least in my simple test case. It still crashes in
	Glom though.
	* glom/main.cc: Do not initialize Python here because Glom::init()
	already did it, though doing it twice does not seem to be a problem.

2009-12-04  Murray Cumming  <murrayc@murrayc.com>

	Rename some functions to avoid fear of linking to the wrong one.

	* glom/libglom/python_embed/pygdavalue_conversions.[h|cc]:
	pygda_value_from_pyobject(), pygda_value_as_pyobject(): Add a glom_
	prefix so we know we are not using the copy in pygda.
	* glom/python_embed/glom_python.cc:
	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/libglom/python_embed/py_glom_relatedrecord.cc: Adapted.

2009-12-04  Murray Cumming  <murrayc@murrayc.com>

	Fix the build.

	* glom/base_db.cc.[h|cc]: Use the newer simpler
	SqlBuilder::select_add_target() method.

2009-12-04  Murray Cumming  <murrayc@murrayc.com>

	Field Definitions: Default value: Fix crash when selecting a date.

	* glom/utility_widgets/datawidget.cc: offer_field_list(),
	offer_field_layout(), offer_related_record_id_find(): Avoid crashes
	caused by calling set_transient_for() with a null parent window,
	for instance from the field definitions dialog.

2009-12-04  Murray Cumming  <murrayc@murrayc.com>

	Field Definitions: Show default value widget for date fields.

	* glom/utility_widgets/datawidget.cc: Constructor: show the
	hbox_parent widget, so the widgets always show up for the default value
	in the field definitio dialog for date fields. The details view must
	be doing this via a show_all() somewhere.

2009-12-03  Murray Cumming  <murrayc@murrayc.com>

	Removed debug output.

2009-12-03  Murray Cumming  <murrayc@murrayc.com>

	Related Records layout: Field formatting: Choices: Fix related choices.

	* glom/mode_design/layout/dialog_layout_details.[h|cc]
	* glom/mode_design/layout/dialog_layout_list_related.[h|cc]:
	Add virtual get_fields_table() and use this in
	on_button_field_formatting() so that the formatting dialog shows
	relationships for the to table instead of the parent table, when
	editing formatting for a field in a related records portal.
	Bug noticed by Michael Hasselmann and Andrew Ruthven.
	* glom/mode_design/layout/layout_item_dialogs/dialog_field_layout.c:
	Removed some debug output.

2009-12-03  Murray Cumming  <murrayc@murrayc.com>

	Allow use of example documents that mention an unsupported backend.

	* glom/application.cc: check_document_hosting_mode_is_supported():
	Don't check the backend if it is an example document because the user
	will choose it when saving anyway.

2009-12-02  Murray Cumming  <murrayc@murrayc.com>

	Fix the build.

	* glom/base_db.[h|cc]: Correct the use of Gda::SqlBuilder for the latest API.

2009-11-17  Murray Cumming  <murrayc@murrayc.com>

	tests: dtd: Now passes.

	* glom/libglom/document/bakery/document_xml.cc: get_node_document():
	Added commented-out code to write the DOCTYPE declaration, if we ever
	want to specify the PUBLIC DTD idenitifier and URI in each document.
	Let's avoid that for now because we'd have to make sure that it's
	hosted properly.
	* tests/dtd/test_example_sqlite: Do not use --valid because that
	seems to always require a DTD in the document's DOCTYPE declaration.
	--dtdvalid seems to do the same thing already, but with the specified
	DTD.

2009-11-17  Murray Cumming  <murrayc@murrayc.com>

	glom_document.dtd: Mention the xmlns attribute because DTD validation doesn't know about XML namespaces.

2009-11-17  Murray Cumming  <murrayc@murrayc.com>

	Document: Ensure that the xmlns ID is always in saved documents.

	* glom/libglom/document/bakery/document_xml.cc: get_node_document():
	Make sure that the xmlns ID is added, even when the root node already
	exists, for instance when opening existing documents.

	* examples/example_film_manager.glom:
	* examples/example_lesson_planner.glom:
	* examples/example_music_collection.glom:
	* examples/example_project_manager.glom:
	* examples/example_smallbusiness.glom:
	* examples/sqlite/test_sqlite_music/test_sqlite_music.glom:
	Add the xmnls ID, to help to identify the MIME type of these documents.

2009-11-17  Murray Cumming  <murrayc@murrayc.com>

	Document saving: Remove unncessary empty singular_title nodes.

	* glom/libglom/document/document.cc: save_before_translations():
	Do not create empty singular_title nodes.
	* examples/example_smallbusiness.glom: Resaved.

2009-11-17  Murray Cumming  <murrayc@murrayc.com>

	Partly fix the DTD validation test.

	* glom/glom_document.dtd: table: Correct the syntax for the child
	elements, to use ?, instead of | because they are all optional, instead
	of being alternatives for each other.
	Add the print_layouts element.
	* Makefile_tests.am: Change the order so the sometimes-hanging import
	tests are at the end, to make the tests more useful.

2009-11-16  Murray Cumming  <murrayc@murrayc.com>

	Added a Doxygen file just for libglom

2009-11-13  David King  <davidk@openismus.com>

	Fix check for SQLite and libgettextpo

	* configure.ac: Fix check for SQLite and libgettextpo.

2009-11-12  David King  <davidk@openismus.com>

	Update glom_document.dtd to more completely validate examples

	* glom/glom_document.dtd: Update to more completely validate example
	documents.
	* Makefile_tests.am:
	* tests/dtd/test_example_sqlite: Add a test that attempts to validate
	an example SQLite Glom document against glom_document.dtd.

2009-11-10  David King  <davidk@openismus.com>

	Fix incorrect conditional for Maemo libgettextpo check

	* configure.ac: Fix incorrect conditional for Maemo libgettextpo check.

2009-11-06  Murray Cumming  <murrayc@openismus.com>

	Fix a crash when specifying a static image on the layout.

	* glom/utility_widgets/imageglom.cc: on_menupopup_activate_select_file():
	Check for a null parent window pointer to avoid a crash, fixing bug
	#600954 (Michael Hasselmann).

2009-11-06  David King  <davidk@openismus.com>

	Do not check for or link to libgettextpo on Maemo

	* configure.ac:
	* Makefile_glom.am: Do not link to libgettextpo on Maemo, and
	additionally do not check for it either.

2009-11-04  Petr Kovar  <pknbe@volny.cz>

	Updated Czech translation by Marek Cernocky

2009-11-04  David King  <davidk@openismus.com>

	Add Maemo-specific category to MIME-type file

	* glom.xml: Add Maemo-specific category for classification of .glom
	files as "documents".

2009-11-04  David King  <davidk@openismus.com>

	Statically link to libgettextpo on Maemo

	* Makefile_glom.am: Statically link to libgettextpo on Maemo, as
	Gettext is available in the SDK and autobuilder but not on the device.

2009-11-02  Murray Cumming  <murrayc@murrayc.com>

	Marked the version in the ChangeLog

2009-11-02  Murray Cumming  <murrayc@murrayc.com>

	Increased version

2009-11-02  Murray Cumming  <murrayc@murrayc.com>

	Remove hard-coded column sizes.

2009-10-30  Murray Cumming  <murrayc@murrayc.com>

	List views and related records portals: Enough space for titles.

	* glom/utils_ui.[h|cc]: get_suitable_field_width_for_widget():
	Optionally calculate enough space for the title too, for TreeView
	columns.
	* glom/utility_widgets/db_adddel/db_adddel.cc: treeview_append_column():
	When choosing a default column width, make sure there's enough for the
	title too.

2009-10-30  Murray Cumming  <murrayc@murrayc.com>

	List views and related records portals: Avoid zero-width columns.

	* glom/utility_widgets/db_adddel/db_adddel.cc: treeview_append_column():
	Except on maemo, don't try to auto-expand a non-rightmost column,
	because that does not seem to be possible with fixed-height-mode,
	which we use for performance.

2009-10-30  David King  <davidk@openismus.com>

	Use libossomm on Maemo, to register a DBus service

	* configure.ac:
	* glom/main.cc: Initialize libossomm on Maemo, to register a DBus
	service.

2009-10-30  Murray Cumming  <murrayc@murrayc.com>

	Remove some unnecessary casts.

2009-10-29  David King  <davidk@openismus.com>

	Add .desktop and DBus .service files for Maemo 5

	* configure.ac:
	* Makefile.am:
	* glom.desktop.in.in:
	* glom.service.in: Add DBus service file for Maemo 5, and install to
	the correct location as determined by the osso-af-settings pkg-config
	file. Adjust the installation location of the glom.desktop file on
	Maemo.

2009-10-28  Murray Cumming  <murrayc@murrayc.com>

	Trying to ignore unwanted column resize signals.

	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]:
	Removed unused set_column_width().
	construct_specified_columns_cellrenderer(): Added an InnerIgnore, though
	we already use one in construct_specified_columns().
	on_treeview_column_resized(): Check if we should ignore signals.
	Do not cast an int size to a guint, because it could be -1.

2009-10-28  Murray Cumming  <murrayc@murrayc.com>

	Avoid runtime warnings about 0 size TreeViewColumn.

	* glom/utility_widgets/db_adddel/db_adddel.cc: construct_specified_columns(),
	treeview_append_column(): Avoid calling TreeViewColumn::set_fixed_width()
	with a 0 size, avoiding a runtime assertion.

2009-10-28  Murray Cumming  <murrayc@murrayc.com>

	Fix some warnings.

	* glom/dialog_existing_or_new.cc: get_service_info(): Replace a 0 with
	(void*)0 to avoid a warning after my change on 2009-10-13.
	* glom/libglom/data_structure/has_title_singular.cc():
	operator==(): Actually use the src parameter.

2009-10-28  Murray Cumming  <murrayc@murrayc.com>

	Do not mark an empty string for translation.

	* glom/dialog_connection.cc: set_confirm_existing_user_note():
	Do not do _(), fixing bug #599868 (André Klapper).

2009-10-28  Marek Černocký  <marek@manet.cz>

	Update Czech translation.

2009-10-27  Murray Cumming  <murrayc@murrayc.com>

	treeview_append_column(): Don't try to put -1 in a guint for the column width.

2009-10-25  Murray Cumming  <murrayc@murrayc.com>

	Fixed indendation

2009-10-25  Murray Cumming  <murrayc@murrayc.com>

	BaseDb::query_execute*(): Const corrections.

	* glom/base_db.[h|cc]: query_execute(), query_execute_select():
	Const corrections and indentation corrections.

2009-10-24  Murray Cumming  <murrayc@murrayc.com>

	Ignore ~ backup files.

2009-10-24  Murray Cumming  <murrayc@murrayc.com>

	test_sqlite_music: Add singular titles for Maemo.

2009-10-24  Johannes Schmid  <jhs@gnome.org>

	Converted more query_execute() in base_db.cc to use SqlBuilder

2009-10-22  Armin Burgmeier  <armin@arbur.net>

	Fixed the Windows build

2009-10-21  Armin Burgmeier  <armin@arbur.net>

	* Makefile_libglom.am: Link against winsock on Windows.

	* glom/application.cc (constructor): ifdefed out the avahi callbacks
	setup on Windows.

	* glom/dialog_existing_or_new.cc (constructor): ifdefed out the code
	that expands the network item on Windows (because it doesn't exist
	there).

	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool.cc: ifdefed out the avahi callback setup
	function, moved pgwin32_is_admin to main.cc.

	* glom/main.cc: Moved pgwin32_is_admin from connectionpool.cc.

	* glom/libglom/spawn_with_feedback.cc: Added <glibmm/fileutils.h>
	include, required for the Windows build.

	* glom/mode_design/print_layouts/print_layout_toolbar_button.cc:
	* glom/utility_widgets/layouttoolbar.cc:
	* glom/utility_widgets/layouttoolbarbutton.cc:
	* glom/xsl_utils.cc: Fixed the construction to path files
	relative to the executable on Windows: Glib::build_filename does take
	only two arguments, not three.

	* win32/build-installer:
	* win32/glom.iss.in: Updated.

2009-10-21  Armin Burgmeier  <armin@arbur.net>

	Fix python library lookup on Windows

2009-10-21  Armin Burgmeier  <armin@arbur.net>

	* macros/mm-python.m4: Fix the python library lookup on Windows: Avoid
	a python error if get_config_var('LIBS') is None and include
	$PREFIX/libs and $EXEC_PREFIX/libs in the search path because this is
	where the official Python installer puts the library in.

2009-10-21  Johannes Schmid  <jhs@gnome.org>

	Started to port query_execute(_select)() calls in base_db.cc to use SqlBuilder instead of plain-text SQL

2009-10-19  David King  <davidk@openismus.com>

	Add missing backslash in Makefile_libglom.am

	* Makefile_libglom.am: Add missing backslash, fixing commit
	e38fcaab322d4774faae2ecb707cdf67f84dd6ea.

2009-10-19  Murray Cumming  <murrayc@murrayc.com>

	Remove unwanted merge change.

2009-10-19  Murray Cumming  <murrayc@murrayc.com>

	Remove unwanted merge change.

2009-10-19  Murray Cumming  <murrayc@murrayc.com>

	Added a TODO.

2009-10-19  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Adapt for latest hildonmm changes.

	* glom/utility_widgets/comboentryglom.cc:
	* glom/utility_widgets/comboglom.cc: get/set_active() changed to
	set_selected() and we now have an iter-base get/set_selected() for the
	PickerButton so we don't need to get the TouchSelector.

2009-10-18  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2009-10-17  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Fix the build for the latest hildonmm.

	* glom/navigation/maemo/pickerbutton_table.cc:
	* glom/utility_widgets/comboentryglom.cc:
	* glom/utility_widgets/comboglom.cc: Adapt to changed (simpler) TouchSel
	ector
	API.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Remove unwanted changes from merge.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Correct x-pad to xpad for cell renderers.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Remove some debug output.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Fix my previous commit.

	* glom/utility_widgets/datawidget.cc: set_child_size_by_field(): Move the
	ifdefs around so normal fields get sensible sizes again on Maemo.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Make TextViews small to begin with.

	* glom/utility_widgets/datawidget.cc: set_child_size_by_field(): On Maemo,
	do not increase the height of the TextView, even if specified in the layout,
	because HildonTextViews expand automatically on Maemo when entering more text.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Maemo: When adding related records, show the foreign key value.

	* glom/mode_data/box_data_portal.cc: on_maemo_appmenubutton_add():
	Actually show the field value that links the new related record to the
	parent record, though this is a bit hacky and will only work for
	autogenerated keys.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Actually show new related record in the list.

	* glom/mode_data/box_data_portal.[h|cc]: on_maemo_appmenubutton_add():
	* glom/mode_data/notebook_data.[h|cc]: Constructor:
	Update the window when the maemo details window is hidden, for instance to
	show the new related record in the portal.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document.cc: load_after(), save_before(): Avoid crashes when load/saving singular_titles.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Fixed main build after merging from the maemo5 branch.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Remove unwanted merge change.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Allow Relationships to have singular titles too. Use them.

	* glom/libglom/data_structure/has_title_singular.[h|cc]: Added this new
	base class, to be inherited by any TranslatableItem that could also have a
	singular form.
	* glom/libglom/data_structure/table_info.[h|cc]:
	* glom/libglom/data_structure/relationship.[h|cc]: Derive
	from HasTitleSingular, instead of just having the methods in TableInfo.
	* glom/libglom/document/document.[h|cc]: Added get_table_title_singular() to
	match the existing get_table_title().
	* glom/mode_data/box_data_portal.[h|cc]: Added get_title_singular() to match
	the existing get_title() and use it in the details window title and AppMenu
	Add Related button.
	* glom/mode_data/notebook_data.cc: Use the singular table title for the
	details window title.

2009-10-16  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Allow Relationships to have singular titles too. Use them.

	* glom/libglom/data_structure/has_title_singular.[h|cc]: Added this new
	base class, to be inherited by any TranslatableItem that could also have a
	singular form.
	* glom/libglom/data_structure/table_info.[h|cc]:
	* glom/libglom/data_structure/relationship.[h|cc]: Derive
	from HasTitleSingular, instead of just having the methods in TableInfo.
	* glom/libglom/document/document.[h|cc]: Added get_table_title_singular() to
	match the existing get_table_title().
	* glom/mode_data/box_data_portal.[h|cc]: Added get_title_singular() to match
	the existing get_title() and use it in the details window title and AppMenu
	Add Related button.
	* glom/mode_data/notebook_data.cc: Use the singular table title for the
	details window title.

2009-10-15  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Show a new Details window when adding related records.

	* glom/mode_data/box_data_portal.[h|cc]:
	* glom/mode_data/box_data_calendar_related.[h|cc]:
	* glom/mode_data/box_data_list_related.[h|cc]:
	Remove the just-added do_add_record() virtual method.
	Instead add a Box_Data_Details and parent window to Box_Data_Portal,
	used to show a details window for a new related record in
	on_maemo_appmenubutton_add().
	Move some code from Box_Data_List_Related::on_adddel_record_added() to
	Box_Data_Portal::make_record_related() to make this easier.

2009-10-15  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Details: Show table title in window title.

	* glom/mode_data/notebook_data.cc: show_details(): On Maemo, mention the
	table title in the window title, though this again shows that we need to
	ask the designer for the singular form for the table's items.

2009-10-15  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Show Add Related buttons when showing portals on details.

	* glom/application.[h|cc]: Removed unused on_menu_add_record().
	* glom/mode_data/box_data_portal.[h|cc]: On Maemo, add a Hildon::Button
	to the application's AppMenu on realize, removing it on unrealize.
	Added a virtual do_add_record() that is called when the button is clicked.
	* glom/mode_data/box_data_calendar_related.[h|cc]:
	* glom/mode_data/box_data_list_related.[h|cc]: Added do_add_record()
	overrides, though they are empty so far.

2009-10-15  Murray Cumming  <murrayc@murrayc.com>

	Developer: Tables: Add singular title.

	* glom/libglom/data_structure/tableinfo.[h|cc]: Add
	get/set_title_singular(), using a member TranslatableItem, to hold
	the singular form (such as Album instead of Albums) for use in the UI
	for users.
	* glom/libglom/document/document.cc: save_before(), load_after():
	Load and save the singular table titles as a new node.
	* glom/glom_document.dtd: Mentin the new node, though I don't think
	we document translation nodes properly.
	* glom/navigation/box_tables.[h|cc]: In developer mode, show the column
	so the user can enter a singular title.

2009-10-15  Murray Cumming  <murrayc@murrayc.com>

	Change some indentation to make a function clearer.

2009-10-13  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Add a Add Record to the App Menu and remove it from the List View.

	* glom/application.cc: init_menus(): Add an Add Record item to the AppMenu
	on Maemo.
	* glom/frame_glom.[h|cc]: Added on_menu_add_record() on Maemo, calling
	Notebook_Data::do_menu_file_add_record().
	* glom/mode_data/box_data_details.[h|cc]: Added do_new_record().
	* glom/mode_data/notebook_data.[h|cc]: Added do_menu_file_add_record() to call
	the Box_Data_Details::do_new_record().
	* glom/utility_widgets/db_adddel/db_adddel.h: Made start_new_record() public
	and documented it.
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.[h|cc]: Remove the
	Add button on Maemo.

2009-10-13  Murray Cumming  <murrayc@murrayc.com>

	Replace use of NULL with 0, because this is C++. Replace use of != NULL with nothing.

2009-10-12  Murray Cumming  <murrayc@murrayc.com>

	Revert unwanted change from merge again. Must learn how to do this properly.

2009-10-12  Murray Cumming  <murrayc@murrayc.com>

	Correct non-maemo build problems after merging from the maemo5 branch.

2009-10-12  Murray Cumming  <murrayc@murrayc.com>

	Revert unwanted change from merge.

2009-10-12  Murray Cumming  <murrayc@murrayc.com>

	Remove unwanted changes from merge.

2009-10-12  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Details: Put scrollbar against the right edge, as per spec.

	* glom/window_boxholder.[h|cc]: On Maemo, use an Alignment with no padding
	at the right, instead of just a window border, to match the UI spec.

2009-10-12  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Details: More correct padding, maybe.

	* glom/utility_widgets/flowtable.[h|cc]: Change set_padding() to
	set_column_padding() and set_row_padding(), allowing different padding
	between rows and between columns, as per Maemo's UI specifications.

2009-10-11  Murray Cumming  <murrayc@murrayc.com>

	Slightly better spacing on Maemo.

2009-10-11  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Use Hildon buttons for Open, Find and ... buttons.

	* glom/utility_widgets/datawidget.cc: Constructor: Use Hildon::Buttons.

2009-10-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/comboentryglom.cc: init(): On Maemo, remove the duplicate first column and do not expand the first column.

2009-10-08  Murray Cumming  <murrayc@murrayc.com>

	Maemo 5: List view: Subtly improve the separating lines.

	* glom/utility_widgets/db_adddel/db_adddel.cc: treeview_append_column():
	On Maemo, use an x-pad of HILDON_MARGIN_DEFAULT for the cell renderers,
	because Mathias Hasselmann says that is required for Maemo 5.

2009-10-08  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Use a PickerButton with TouchSelector for combo boxes on details views.

	* glom/utility_widgets/comboentryglom.[h|cc]:
	* glom/utility_widgets/comboglom.[h|cc]: On Maemo, derive from
	Hildon::PickerButton instead of Gtk::ComboBox*, with a member TouchSelector/
	TouchSelector.
	However, the ID field seems to be shown twice.
	Also remove the unused constructors for use with Gtk::Builder.

2009-10-08  Murray Cumming  <murrayc@murrayc.com>

	An attempt. Probably wrong.

2009-10-08  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Actually show new list views and related records portals.

	* glom/utility_widgets/db_adddel/db_adddel.cc: construct_specified_columns():
	Use while(TouchSelector::remove_column()) to actually remove old view columns,
	so we actually see an effect when navigating to a new table, and so we don't
	see old data in related records tables.

2009-10-07  Murray Cumming  <murrayc@murrayc.com>

	Fix non-mameo build after merge.

2009-10-07  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Added commented-out partial code for an Add button in the AppMenu

2009-10-07  Murray Cumming  <murrayc@murrayc.com>

	Tests: Import: Fixed the no-exceptions build.

	* tests/import/utils.cc: Fixed the no-exceptions build.

2009-10-06  Daniel Elstner  <daniel.kitta@gmail.com>

	Update .gitignore files

2009-10-06  Daniel Elstner  <daniel.kitta@gmail.com>

	Support Automake silent rules

	* configure.ac: Call the AM_SILENT_RULES macro if it is defined.
	* Makefile.am (.rc.res): Prefix command with $(AM_V_GEN) to suppress
	the echoing of the command line if silent rules are enabled.
	* Makefile_libegg.am (eggmarshalers.h), (eggmarshalers.c): ditto.

2009-10-06  Murray Cumming  <murrayc@murrayc.com>

	Added a sqlite example just for testing.

2009-10-06  Murray Cumming  <murrayc@murrayc.com>

	Maemo: List: Click to view details.

	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]: Connect to
	TouchSelector::signal_changed to respond to clicks on the list. Note that
	a drag to pan (scroll) does not cause that signal to be emitted.
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.[h|cc]: On Mameo,
	remove the Delete and Edit buttons because deleting can be done via the
	details window (viewable on Maemo). The Add button is still there and is ugly.

2009-10-06  Murray Cumming  <murrayc@murrayc.com>

	DbAddDel: Expand an appropriate column.

	* glom/libglom/data_structure/layout/layoutitem.[h|cc]: get_display_width():
	Remove the bool return and just return the value, because 0 already means no
	specified width.
	* glom/libglom/document/document.cc:
	* glom/mode_design/layout/dialog_layout_details.cc:
	* glom/print_layout/canvas_layout_item.cc: Adapt.

	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]:
	Added get_column_to_expand() to choose the last expandable (text, no specified
	width) column.
	treeview_append_column(): Add a bool expand property and use it.
	construct_specified_columns(): Expand the expandable column, to avoid
	wasting space or expanding an inappropriate column.

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Allow editing of hidden tables (only) via its details window.

	* glom/mode_data/box_data_list_related.cc: enable_buttons(): Add a maemo
	ifdef around m_AddDel.set_allow_view_details().

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	Maemo: List: Use only 2 columns by default, so some have enough space.

	* glom/libglom/document/document.cc: get_data_layout_groups_plus_new_fields():
	Restrict maemo to 2 list columns by default.

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Related Records / AddDel: Use icon-only Hildon buttons.

	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.[h|cc]: Use Hildon
	Buttons, with only icons.

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Hide group titles by default.

	* glom/libglom/data_structure/translatable_item.[h|cc]:
	Added clear_title_in_all_locales().
	* glom/libglom/document/document.cc:
	maemo_restrict_layouts_to_single_column_group(): Also clear the group titles
	to make the default maemo layout more compact.

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	1.12.2

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	Import: Handle large unquoted text (binary image data).

	* glom/import_csv/csv_parser.cc: on_idle_parse(): When we reach the
	end of the buffer without finding a newline, store all of the remaining
	text instead of just since the last quote, so we don't discard parts
	of large unquoted text, such as parts of binary image data.
	This seems to break the test_fail_on_non_matching_quotes test, but
	the tests are too hard to run until we have removed the idle handling
	(and its timing problems) from CSvParser.

	* glom/libglom/data_structure/field.cc: to_file_format(): Also
	escape carriage-returns, just in case.
	* tests/import/test_parsing.cc: Comment out the
	test_skip_on_no_ending_newline test, because I see no reason why we
	would want to ignore last lines with no newline.

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	Revert unwanted merge change.

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	Export: Correct problems in the binary data for images: Escape newlines.

	* glom/libglom/data_structure/field.cc: to_file_format(): Escape
	newlines as \012 instead of removing them, because this is probably
	what gda_binary_to_string() intends.

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	Really correct ChangeLog

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	Correct ChangeLog

2009-10-05  Murray Cumming  <murrayc@murrayc.com>

	Export: Correct problems in the binary data for images.

	* glom/libglom/data_structure/field.cc: to_file_format(): Escape
	newlines and quotes in binary data text, to workaround libgda bug
	https://bugzilla.gnome.org/show_bug.cgi?id=597390
	* glom/frame_glom.cc: export_data_to_stream(): Double check that
	image data contains no newlines or quotes.
	* glom/libglom/utils.cc: string_replace(): Avoid an endless loop
	when the search_for input parameter is empty.

2009-10-04  Murray Cumming  <murrayc@murrayc.com>

	Fix regression: Actually show field choices again in combo boxes.

	* glom/libglom/utils.cc: get_choice_values(): Move the list_values.push_back()
	out of the ifdef block so we actually show field choices again in the combo
	boxes. This was broken by the commit from Johannes on 2009-07-30.
	Hopefully ldtp tests will avoid this in future.

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	Removed debug output.

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Really fall back to the standard layout if there is no maemo layout.

	* glom/libglom/document/document.cc: get_data_layout_groups_plus_new_fields():
	Really fall back to the standard layout if there is no maemo layout.
	When creating a default layout, restrict the column count to 1.

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	Reverted unwanted merge change.

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Avoid multi-column details layouts.

	* glom/libglom/document/document.[h|cc]:
	Added maemo_restrict_layouts_to_single_column_group().
	* glom/application.cc: on_document_load(): On maemo, call it to make the
	layout more suitable by default, if no custom maemo layout is defined.

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Fix the build.

	* glom/frame_glom.cc:
	* glom/import_csv/dialog_import_csv.cc:
	* glom/import_csv/dialog_import_csv_progress.cc: Added no-exceptions ifdefs,
	and corrected the hildonmm code.

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	Restored the maemo5 branch version of glom.glade. git merging keeps losing the change.

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	Corrected ChangeLog

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	1.12.1

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	build_sql_select_fields_to_get(): Removed the unused extra_join parameter.

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	Remove some debug output.

2009-10-02  Murray Cumming  <murrayc@murrayc.com>

	Related Records: Fix doubly-related records portals, such as a list of an Artist's publishers (via their albums).

	* glom/libglom/utils.[h|cc]: build_sql_select_with_where_clause():
	Move some code into build_sql_select_fields_to_get(), so we can get the
	list of fields to get without the rest of the SQL.
	* glom/base_db.cc: set_found_set_where_clause_for_portal():
	Use build_sql_select_fields_to_get() to GROUP BY the full field list
	instead of just the primary key, as required by recent PostgreSQL,
	and probably by the SQL specification.
	We should investigate SELECT DISTINCT again to simplify this.

2009-10-02  Michael Hasselmann  <michaelh@openismus.com>

	Import: Cleanup, added comments

2009-10-02  Michael Hasselmann  <michaelh@openismus.com>

	Import: Made import working again, changed import logic

	* glom/import_csv/csv_parser.[h|cc] (fetch_next_row): This method allows
	iterating over the parser's cache without the need for a max row/column
	count. Potential issue with valid empty rows during import needs to be fixed.

	* glom/import_csv/dialog_import_csv.[h|cc]: Removed logic based on row counts.
	It turned out that most places didn't need access to get_row_count() anyway.

	* glom/import_csv/dialog_import_csv_progess.cc: Switched import to use the
	parser's new fetch_next_row() API. Not tested for large files yet.

2009-09-29  Murray Cumming  <murrayc@murrayc.com>

	Doubly-related Records: Correct the SQL.

	* glom/base_db.cc: set_found_set_where_clause_for_portal():
	For doubly-related records, use the correct relationship for the GROUP BY to
	avoid a SQL error about a non-existant field. We must have been lucky before.

	However, we now need to fix the SQL error (maybe new in a recent PostgreSQL
	version) about not mentioning all viewed fields in the GROUP BY.

2009-09-29  Murray Cumming  <murrayc@murrayc.com>

	Design: Related Records Portal: Prevent use of inappropriate relationships.

	* glom/mode_design/layout/dialog_layout_list_related.cc:
	on_combo_relationship_changed(): Do not allow the related record to show
	relationships that would require duplicate values in unique fields to show
	multiple records. Noticed by Alessio C.

2009-09-29  Murray Cumming  <murrayc@murrayc.com>

	Fixed build problems with merge from maemo5

2009-09-29  Murray Cumming  <murrayc@murrayc.com>

	LayoutGroup: Added accessors for columns count, hiding the member variable.

	* glom/libglom/data_structure/layout/layoutgroup.[h|cc]: Made m_columns_count
	private and added get/set_columns_count() so I can see when this is changing.
	* glom/libglom/data_structure/layout/layoutgroup.h:
	* glom/libglom/document/document.cc:
	* glom/mode_data/flowtablewithfields.cc:
	* glom/utility_widgets/dialog_flowtable.cc: Adapted.

2009-09-29  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Actually allow details to be opened.

	* glom/utility_widgets/db_adddel/db_adddel.cc: get_item_selected():
	Use Hildon::TouchSelector::get_selected() instead of get_active() so it
	actually works for rows other than the first one.
	See hildon bug https://bugs.maemo.org/show_bug.cgi?id=4640,
	though the error might be in our maemomm C++ code to work around that.

2009-09-29  Murray Cumming  <murrayc@murrayc.com>

	Fix some indentation.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Find: Show the quickfind.

	* glom/frame_glom.cc: Constructor: On Maemo, put the quickfind widgets in
	the separate find window.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Create QuickFind buttons in code, instead of Glade.

	* glom/frame_glom.cc:
	* glom/glom.glade: Create the QuickFind widgets in code instead of in
	Glade so we can adapt them for Maemo and put them in the separate Find
	window.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Show the Find UI in a separate window.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Find: Use only the details view.

	* glom/mode_find/notebook_find.[h|cc]: Hide the list view (and tabs) on Maemo.
	This needs to be a separate window too.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Show the table name in the AppMenu. Added a Find Button.

	* glom/application.cc: update_window_title(): Update the picker button here
	too.
	init_menus(): Add a Find button for the AppMenu.
	* glom/navigation/maemo/pickerbutton_table.cc: set_table_name(): Actually
	set the row as active.
	* glom/dialog_existing_or_new.cc: Make sure the first row is visible,
	even on Maemo. Otherwise it looks strange.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Fix no-exceptions build.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Initial dialog: Expand the network item.

	* glom/dialog_existing_or_new.cc: Constructor: Expand the Network
	item, because it helps to explain what it is, particularly on Maemo
	where there are no treeview row arrows.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Initial dialog: Expand the network item.

	* glom/dialog_existing_or_new.cc: Constructor: Expand the Network
	item, because it helps to explain what it is, particularly on Maemo
	where there are no treeview row arrows.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Fix a crash.

	* glom/dialog_existing_or_new.cc: Move some assertions so this works
	again in non-client-only mode.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	glom.glade: Comment-out cancel buttons in the maemo5 branch.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Remove silly != NULLs

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	client-only mode: Ifdef out unused code.

	* glom/dialog_existing_or_new.[h|cc]: Ifdef out unused code for the new
	document notebook tab in client-only mode.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Removed icons from dialogs.

	* glom/glom.glade: Comment out icons in our maemo5 branch.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	Client-only mode: Change the initial dialog label.

	* glom/dialog_existing_or_new.cc: Constructor: Change the label text if in
	client-only mode, to avoid mentioning creation of documents.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	glom.glade: Removed Help buttons.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	glom.glade: Fix a typo.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	glom.glade: Use a consistent name for help buttons.

2009-09-28  Murray Cumming  <murrayc@murrayc.com>

	glom.glade: Comment out the AtkObjects again, after a git merge brought them back again.

2009-09-25  Michael Hasselmann  <michaelh@openismus.com>

	Import: More code cleanup in tests

	* glom/import_csv/csv_parser.cc (set_file_and_start_parsing): Fail on empty
	file uri.

	* tests/import/*: Removed the ugly mainloop singleton, among other cleanups.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Cleanup.

	* glom/glom.glade: Really revert a bad merge from the maemo5 branch.
	* glom/libglom/connectionpool_backends/postgres_self.cc: Do not have
	actual newlines in string literals.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Revert an unwanted change from the merge.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with gtkmm < 2.18.

	* glom/utility_widgets/flowtable.cc: Correct the use of
	GTKMM_MINOR_VERSION to fix the build with older gtkmm versions.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with gtkmm < 2.18.

	* glom/utility_widgets/flowtable.cc: Correct the use of
	GTKMM_MINOR_VERSION to fix the build with older gtkmm versions.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Import tests: Fixed.

	* tests/import/utils.[h|cc]: run_parser_from_buffer(): Added a
	version that takes a std::string, to make the common case more robust.
	* tests/import/test_parsing.cc:
	* tests/import/test_signals.cc: Fix the tests by not incorrectly
	taking the length of the raw arrays, which caused the temp files to
	contain garbage.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Import tests: Handle encoding errors.

	* tests/import/utils.cc: Handle signal_encoding_error too, because this
	is one way that the parser can stop.
	Increase the timeout because an infinite loop is unlikely (and not
	currently happening).

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	More minor cleanup, such as removing non-public functions from the header.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Correct the indentation.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	tests/import/: Small cleanup.

	* tests/import/test_parsing.cc:
	* tests/import/utils.[h|cc]: Use a sigc::slot instead of the ugly
	(because not typedefed) function pointer type.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Removed some debug output.

	* glom/libglom/data_structure/glomconversions.cc: parse_time():
	* tests/test_parsing_time.cc: Removed debug output.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Fix the non-exceptions build again.

	* glom/print_layout/canvas_print_layout.cc: Added ifdefs around KeyFile
	calls. I wonder why I only noticed this now.

2009-09-25  Michael Hasselmann  <michaelh@openismus.com>

	Updated ChangeLog

2009-09-25  Michael Hasselmann  <michaelh@openismus.com>

	Import: Changed the signature of line_scanned handler

	* glom/import_csv/dialog_import_csv.[h|cc]: Changed the signare of
	on_parser_line_scanned, to use CsvParser::type_row_strings. It does not
	change anything, as the handler didn't even use the parameters.

2009-09-25  Michael Hasselmann  <michaelh@openismus.com>

	Import: Fixed tests to fit new parser API

	* glom/import_csv/csv_parser.[h|cc]: Added a finished_parsing signal since the
	max_row count logic is flawed
	(https://bugzilla.gnome.org/show_bug.cgi?id=588233#c16). Also moved common
	parts of on_stream_read(.) (now on_buffer_read(.)) into
	copy_buffer_and_continue_reading(.), to avoid copy'n'paste bugs.

	* tests/import/utils.[h|cc]: Added mainloop functionality to trigger the idle
	parse sequence of the CsvParser for the testcases.

	* tests/import/test_[parsing,signals].cc: Fixed the tests to fit new parser
	API.

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	1.12.0

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Corrected the ChangeLog

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Command spawning: Really check the return value.

	* glom/libglom/spawn_with_feedback.cc:
	execute_command_line_and_wait_until_second_command_returns_success():
	Actually check the return value of the first command, so we can fail
	immediately (with stderr output) when, for instance, postgresql
	fails to read the configuration file due to changed options, such as
	no longer recognizing max_fsm_pages in PostgreSQL 8.4

2009-09-25  Murray Cumming  <murrayc@murrayc.com>

	Replace some NULLs with 0 because this is C++, not C.

	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/spawn_with_feedback.cc: Replace NULLs with 0.

2009-09-24  Murray Cumming  <murrayc@murrayc.com>

	Self-Hosting: Use the new ident configuration for PostgreSQL 8.4.

	* glom/libglom/spawn_with_feedback.[h|cc]: Added an
	execute_command_line_and_wait() overload that has an output parameter
	for the stdout from the command.
	* glom/libglom/connectionpool_backends/postgres_self.[h|cc]:
	Added a get_postgresql_utils_version_as_number() utiltity method,
	and use it in set_network_shared() to use a different syntax for
	Postgres 8.4, hopefully fixing bug #595608

2009-09-24  Murray Cumming  <murrayc@murrayc.com>

	Self-Hosting: Retry the connection just-long-enough.

	* glom/libglom/connectionpool_backends/postgres.[h|cc]: attempt_connect():
	Add a throw() declaration because we know that this really never throws,
	though other similar methods do.
	* glom/libglom/connectionpool_backends/postgres_self.cc: connect():
	If not network-shared then retry every second when the connection fails,
	because the (default) password really must be correct. Seems to work,
	requiring 6 retries on my system.
	However, we must still wait a hard-coded time to be sure of failure
	if the password is not the default one, for instance when network sharing.
	* glom/libglom/spawn_with_feedback.cc:
	execute_command_line_and_wait_until_second_command_returns_success():
	Remove the hacked 8-second wait here.

2009-09-23  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Details: Do not show buttons.

	* glom/mode_data/box_data_details.[h|cc]: ifdef out the buttons for maemo.
	* glom/glom.glade: Hack a HildonStackableWindow into the maemo5 branch
	to avoid a warning with our get_widget_derived() call.

2009-09-23  Michael Hasselmann  <michaelh@openismus.com>

	Import: made the tests runnable again.

2009-09-23  Murray Cumming  <murrayc@murrayc.com>

	box_data_details.cc: Rename the HBox member variables to make their purposes clearer.

2009-09-23  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Use Hildon::StackableWindow.

	* glom/bakery/app_withdoc_gtk.h:
	* glom/window_boxholder.h: Use Hildon::StackableWindow instead of just
	Hildon::Window because this always seems to be the right thing to do.

2009-09-23  Murray Cumming  <murrayc@murrayc.com>

	import tests: Fix the no-exceptions build.

	* tests/import/test_parsing.cc:
	* tests/import/test_signals.cc: Fix the build without exceptions.

2009-09-23  Michael Hasselmann  <michaelh@openismus.com>

	Import tests: made them quiet

	* Makefile_tests.am, test/import/utils.[cc|h],
	tests/import/test_[parsing|signals].cc: Only report on failure. Moved common
	parts into an utility namespace.

2009-09-23  Murray Cumming  <murrayc@murrayc.com>

	Renamed Dialog_Glom to Window_BoxHolder.

	* glom/dialog_glom.[h|cc]: Renamed to window_boxholder.[h|cc] to make
	its purpose clearer.
	* glom/frame_glom.[h|cc]:
	* glom/mode_data/notebook_data.[h|cc]:
	* Makefile_glom.am: Adapted.

2009-09-22  Murray Cumming  <murrayc@murrayc.com>

	Dialog_Glom: Make this a little less stupid, so we can ifdef for Maemo.

	* glom/dialog_glom.[h|cc]: Derive from Window, not Dialog.
	Constructor: Add the provided box instead of requiring us to add it
	explicitly (to the Dialog's vbox).
	* glom/frame_glom.cc:
	* glom/mode_data/notebook_data.cc: Adapt.

2009-09-22  Murray Cumming  <murrayc@murrayc.com>

	glom.glade: Fix something lost in the merge.

2009-09-22  Murray Cumming  <murrayc@murrayc.com>

	On Maemo, show the details in a separate window.

	* glom/mode_data/notebook_data.[h|cc]: On maemo, hide the tabs, and don't
	add the details box to the notebook. Instead add it to a window and show that
	window instead of switching to a details tab when details are requested.

2009-09-21  Murray Cumming  <murrayc@murrayc.com>

	Mention the PYTHON version for maemo builds.

2009-09-21  Murray Cumming  <murrayc@murrayc.com>

	import tests: Fix the no-exceptions build.

	* tests/import/test_parsing.cc:
	* tests/import/test_signals.cc: Fix the build without exceptions.

2009-09-21  Murray Cumming  <murrayc@murrayc.com>

	Updated NEWS and version in anticipation of a release.

2009-09-21  Murray Cumming  <murrayc@murrayc.com>

	Revert an unwanted change.

2009-09-21  Johannes Schmid  <jhs@jsschmid.de>

	Fixed make dist.

	The sources of tests/test_python_module weren't given which broke
	at least with automake-1.10

2009-09-21  Murray Cumming  <murrayc@murrayc.com>

	xport: Use .csv file extension to match the filter when importing.

	* glom/utils_ui.[h]cc]: Added get_filepath_with_extension() to add
	(if necessary) a specified file extension to a filepath.
	* glom/frame_glom.cc: on_menu_file_export(): Add a .csv file
	extension if not already specified, so we automatically see the
	export file in the file chooser when importing.

2009-09-21  Murray Cumming  <murrayc@murrayc.com>

	glom/dialog_import_csv.cc: get_data(): Avoid out-of-bounds crashes when accessing the vector of vectors. Note that this check is already in the appropriate place in the import_csv_refactored branch. This makes bug #593304 slighly clearer, though it is now an endless loop with debug output.

2009-09-21  Murray Cumming  <murrayc@murrayc.com>

	Import dialog: Set the number of sample rows to 2 by default.

	* glom/dialog_import_csv.cc: Set the number of sample rows to 2
	by default, not 0.
	a secondary top-level object (textbuffer).

2009-09-21  Murray Cumming  <murrayc@murrayc.com>

	glom-1.0.pc.in: Rename to glom-1.12.pc.in to match the .so name and header install location. Noticed by Chris Coulson.

2009-09-20  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2009-09-19  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2009-09-18  Murray Cumming  <murrayc@murrayc.com>

	Added missing files.

2009-09-18  Michael Hasselmann  <michaelh@openismus.com>

	Import tests: made them quiet

	* Makefile_tests.am, test/import/utils.[cc|h],
	tests/import/test_[parsing|signals].cc: Only report on failure. Moved common
	parts into an utility namespace.

2009-09-18  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Use some Hildon widgets.

	* glom/utility_widgets/entryglom.[h|cc]:
	* glom/utility_widgets/textviewglom.h: Use Hildon::TextView and Hildon::Entry.

2009-09-18  Murray Cumming  <murrayc@murrayc.com>

	Fix a typo to fix the build on maemo.

2009-09-18  Murray Cumming  <murrayc@murrayc.com>

	CsvParser: Make this an actual parser, with a sane API.

	* glom/dialog_import_csv.[h|cc]:
	* glom/dialog_import_csv_progress.[h|cc]: Move into glom/import_csv/
	* glom/import_csv/: Added file_encodings.[h|cc], moving the encodings
	list into it. This is similar to mode_design/iso_codes.[h|cc].
	* glom/import_csv.[h|cc]: Rename to glom/import_csv/csv_parser.[h|cc]
	to match the class name.
	Move actual parsing (and the vector of row/column data) into
	CsvParser, leaving the dialogs to just respond to signals and get
	data via get methods.

	However, this breaks the import tests, because they add data to
	the parser directly using m_raw. They must be changed to read actual
	files, or maybe we could add some intermediate level of API that they
	could test.

2009-09-18  Murray Cumming  <murrayc@murrayc.com>

	CsvParser: Made some API private.

	* glom/dialog_import_csv.[h|cc]: get_field_for_column(): Return a
	sharedptr<const>, not a silly const sharedptr<>&.
	* glom/dialog_import_csv_progress.cc:
	* glom/import_csv.[h|cc]: add get_state() and get_rows_count(). Make
	some API private to make it clearer what needs to be done to make
	this a real self-contained class.

2009-09-18  Murray Cumming  <murrayc@murrayc.com>

	CSV Import: Minor code style changes.

	* glom/dialog_import_csv.cc:
	* glom/dialog_import_csv_progress.cc:
	* glom/import_csv.[h]cc]: Prefix the state enum with STATE_.
	Use 0 instead of NULL because this is C++. Remove some debug output.
	Make signal type and variable names consistent with other code.
	* tests/import/test_signals.cc: Add a last std::endl.

2009-09-18  Murray Cumming  <murrayc@murrayc.com>

	Tests: Stop using valgrind by default.

	* Makefile_tests.am: Do not run all tests under valgrind. valgrind is
	for humans to read, and make check has no way to know if the result is
	appopriate or not. Run things under valgrind when you want to.

2009-09-17  Johannes Schmid  <jhs@jsschmid.de>

	Don't link libglom statically on maemo

2009-09-17  Michael Hasselmann  <michaelh@openismus.com>

	Refactoring Dialog_Import_CSV: created testcase for the CsvParser's signal emission

	* Makefile_tests.am: all tests now run within valgrind by default since mem
	leaks in testcases are potential mem leaks in the application. Parameters might
	need tweaking.

	* glom/import_csv.cc (CsvParser::on_idle_parse): Fixed a missing negation in a
	conditional, which was wrongfully leading to signal emissions. Found by the
	import signals testcase.

	* test/import/test_parsing.cc: Fixed a null byte issue when setting the raw
	contents of the parser.

	* test/import/test_signals.cc: This testcase checks the CsvParser's signal
	emission on varying input. The basic idea was to have on testcase for each
	code path that leads to a signal emission in glom/import_csv.cc, even if that
	leads to overlapping code coverage tests with the parser testcase.

2009-09-17  Johannes Schmid  <jhs@jsschmid.de>

	Replace a TODO comment with g_assert_val_if_reached()

	Reaching this branch would mean that the dialog returned an unhandled response.

2009-09-17  Johannes Schmid  <jhs@jsschmid.de>

	Added a regression test for the loading of the python modules.

	Unfortunately this test doesn't trigger the crash bug that happens on exit() on the maemo platform.

2009-09-17  Johannes Schmid  <jhs@jsschmid.de>

	Really check if pygda module is available.

	A typo caused the check for the glom module twice while the gda module wasn't checked at all

2009-09-16  Michael Hasselmann  <michaelh@openismus.com>

	Changed layout of CSV import dialog

	* glom/glom.glade: The encoding info now has more space for itself and properly
	expands, whereas the encoding combobox doesn't take up more hspace than
	needed.

2009-09-14  Johannes Schmid  <jhs@jsschmid.de>

	Fixed non-exception build after the CsvParser refactoring

2009-09-14  Murray Cumming  <murrayc@murrayc.com>

	Main Window: Correct (again) the order of Records/Found widgets.

	* glom/glom.glade: main_window: Put the Records:/Found: widgets in
	sub-hboxes, and change their order by hand in the .glade file because
	GtkBuilder and Glade do not seem to interpret the file in the same way.

2009-09-14  Claude Paroz  <claude@2xlibre.net>

	Updated French translation

2009-09-14  Claude Paroz  <claude@2xlibre.net>

	Do not mark stock labels as translatable

2009-09-14  Murray Cumming  <murrayc@murrayc.com>

	1.11.2:

2009-09-14  Murray Cumming  <murrayc@murray.com>

	* glom/frame_glom.cc:
	* glom/utility_widgets/flowtable.cc: Fixed warnings-as-errors build
	problems with the latest gtkmm.

2009-09-13  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2009-09-11  Michael Hasselmann  <michaelh@openismus.com>

	Refactoring Dialog_Import_CSV: first parser tests created

	* Makefile_tests.am, tests/import.sh,
	tests/import/test_parsing.cc: The first tests for the CsvParser are ready.
	Basic input is tested but no real world examples yet. Run with 'make check
	TESTS=tests/import.sh' to run tests with valgrind.

	Renamed regression_tests folder to tests

2009-09-09  Michael Hasselmann  <michaelh@openismus.com>

	Refactoring Glom::Dialog_Import_CSV

	* ChangeLog, Makefile_glom.am, glom/dialog_import_csv.[h|cc],
	glom/import_csv.[h|cc], glom/dialog_import_csv_progress.cc: Moved the inlined
	Parser class from the Dialog_Import_CSV class to the new CsvParser class.  The
	CsvParser already handles the line scanning and encoding conversion but is
	supposed to take over the file reading responsibility as well.  In order to
	allow the Dialog_Import_CSV class to parse a scanned line into its tree model
	the parser emits a lineScanned signal, with the currently scanned line as
	parameter.

2009-09-08  Johannes Schmid  <jhs@gnome.org>

	Move common code out of exception-only codepath to fix treemodel on maemo (bgo#594357)

2009-09-08  Johannes Schmid  <jhs@gnome.org>

	Move common code out of exception-only codepath to fix treemodel on maemo (bgo#594357)

2009-09-07  Murray Cumming  <murrayc@murrayc.com>

	Added a Tables PickerButton that seems to work.

2009-09-07  Murray Cumming  <murrayc@murrayc.com>

	Added a Hildon::AppMenu

2009-09-07  Murray Cumming  <murrayc@murrayc.com>

	Use a HildonWindow in the glade file so that HildonAppMenu actually works.

2009-09-07  Murray Cumming  <murrayc@murrayc.com>

	Hide header box (table title and mode) and started to use picker for table navigation

2009-09-07  Murray Cumming  <murrayc@murrayc.com>

	DbAddDel use of TouchSelector instead of TreeView almost working.

2009-09-07  Murray Cumming  <murrayc@murrayc.com>

	Comment out some save_to_document() methods in client-only mode.

2009-09-07  Murray Cumming  <murrayc@murrayc.com>

	Fix tiny typos to fix the non-maemo build.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Maemo: ifdef out useless menu code.

	* glom/application.[h|c]]: Ifdef out any menu-building code because
	it must be completely replaced by Hildon::AppMenu code on Maemo.
	* glom/mode_data/notebook_data.cc: Constructor: Hide the notebook
	tabs, in preparation for just showing the list, with the details in a
	separate window on Maemo.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Revert unwanted hack from maemo5 branch.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Fixed the regular build after the merge from maemo5 branch.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	connection_request_password_and_attempt(): Fix a crash in client-only mode.

	* glom/frame_glom.[h|cc]: connection_request_password_and_attempt():
	Move some decision-making into handle_request_password_connection_error,
	to allow us to handle the no-exception API better, though this is
	clearer anyway, or would be without the ifdefs.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Reduced some indentation.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	on_document_load(): Add a ! to really check for unsupported backends.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	check_document_hosting_mode_is_supported(): Correct and ifdef to an ifndef.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Maemo: Use Hildon::FileChooserDialog for opening files.

	* glom/application.[h|cc]: Remove unused (and unnecessary since the new
	initial dialog) on_menu_file_open() and on_menu_file_close() overrides
	and ui_file_select_open_with_browse().
	* glom/dialog_existing_or_new.cc: on_select_clicked(): Use
	Hildon::FileChooserDialog on Maemo.
	* glom/bakery/app_withdoc_gtk.cc: Remove the uncommented undef of
	GLOM_ENABLE_MAEMO - no more nasty hacks please. Instead comment-out
	the set_menu() call with a TODO, leaving the rest of the maemo-specific
	code working.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Check for unsupported hosting modes.

	* glom/application.[h|cc]:
	Added check_document_hosting_mode_is_supported() to warn the user
	if the build cannot use the hosting mode in the file, and call it from
	on_document_load().
	* glom/libglom/document/bakery/document.cc: load(), load_from_data():
	Call set_is_new(false) so we can check for this in
	App/View::on_document_load(), to avoid complaining about an unused
	default hosting mode.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	In the client-only build, actually handle the enum for opening an existing file in client mode.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	offer_new_or_existing(): Add Gtk::Builder error handling .

	* glom/application.cc: offer_new_or_existing(): Add error handling to
	show how GtkBuilder complains about Atk objects in .glade files on
	Maemo, and actually fails.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Hacked AtkObject out of glom.glade for Maemo.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	offer_new_or_existing(): Add Gtk::Builder error handling .

	* glom/application.cc: offer_new_or_existing(): Add error handling to
	show how GtkBuilder complains about Atk objects in .glade files on
	Maemo, and actually fails.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Added missing file.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Fix the build when -fno-exceptions is used.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Added dlopen test of the python library.

	* glom/libglom/test_connectionpool.cc:
	* glom/libglom/test_document.cc: Fixed the build without exceptions.
	* Makefile_tests.am: Added test_load_python_library, using dlopen()
	to show the numpunct linker error (bug #594142) without actually using
	python.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Avoid compiler warnings.

	* configure.ac: Add a comment about using the PYTHON environment
	variable to specify the python version.
	* glom/dialog_existing_or_new.cc:
	* glom/dialog_import_csv_progress.cc:
	* glom/utility_widgets/canvas/canvas_group_resizable.cc: Avoid some
	compiler warnings, mostly about missing returns in unlikely
	situations.

2009-09-05  Murray Cumming  <murrayc@murrayc.com>

	Mention the failed python module name on stdcerr.

	* glom/python_embed/glom_python.cc: glom_python_module_is_available(),
	gda_python_module_is_available(): Output a hint to the command-line too,
	in case maemo crashes when showing UI as mine does at the moment,
	and to mention the exact python module name that failed.

2009-09-04  Daniel Elstner  <danielk@openismus.com>

	Do not try to catch non-existing MetaStructError

	* glom/base_db.cc (Base_DB::get_fields_for_table_from_database):
	For now, catch Glib::Error instead of Gnome::Gda::MetaStructError,
	which does not exist.

2009-09-04  Murray Cumming  <murrayc@murrayc.com>

	Fix the client-only non-maemo build on maemo.

	* configure.ac: Correct the AS_IF() calls so that we really do not
	need iso-codes in client-only mode.
	* glom/print_layout/canvas_layout_item.cc:
	* glom/print_layout/canvas_print_layout.cc:
	* glom/printoperation_printlayout.cc: Fix the build without
	exceptions, without properties and without default signal handlers,
	with ifdefs.

	* glom/base_db.cc: get_fields_for_table_from_database(): Actually add
	a no-exceptions ifdef for the use of Gda::MetaStruct::complement()
	instead of just ifdefing it out for Maemo.
	* glom/mode_data/notebook_data.cc:
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/entryglom.cc:
	* glom/utility_widgets/imageglom.cc:
	Likewise, ifdef the use of get_accessible on GTKMM_ATKMM_ENABLED instead
	of GLOM_ENABLE_MAEMO, to fix the client-only non-maemo build on Maemo.
	Again, please stop abusing the MAEMO ifdef for hacks without even a TODO.

2009-09-04  Murray Cumming  <murrayc@murrayc.com>

	Removed unnecessary GLOM_ENABLE_CLIENT_ONLY ifndef.

2009-09-04  Murray Cumming  <murrayc@murrayc.com>

	Moved more design-only classes to glom/mode_design/

	* glom/libglom/data_structure/iso_codes.[h|cc]:
	* glom/utility_widgets/comboentry_currency.cc
	* glom/mode_design/translation/:
	Moved to glom/mode_design/.
	* glom/Makefile_glom.am, *.[h|cc]:
	* po/POTFILES.in: Adapted.
	* configure.ac: Make use of iso-codes dependent on client-only, not
	maemo, because that actually makes sense.

2009-09-03  Murray Cumming  <murrayc@murrayc.com>

	1.11.1

2009-09-03  Murray Cumming  <murrayc@murrayc.com>

	Fixed a tiny typo to fix the tests build.

2009-09-03  Murray Cumming  <murrayc@murrayc.com>

	Move some non-layout print_layout code back out of mode_design

	* glom/mode_design/print_layouts/canvas_layout_item.[h|cc]:
	* glom/mode_design/print_layouts/canvas_print_layout.[h|cc]:
	Moved to glom/print_layout/, because they are used by client-only mode
	too.
	* glom/Makefile_glom.am, *.[h|cc]: Adapted.
	* po/POTFILES.in: Update for moved files.

2009-09-03  Murray Cumming  <murrayc@murrayc.com>

	Moved many developer-mode files into glom/mode_design/ now that our 	non-recursive build allows that without linker errors.

	* glom/combobox_fields.[h|cc]:
	* glom/combobox_relationship.[h|cc]:
	* glom/layout_item_dialogs/:
	* glom/mode_data/dialog_choose_field.[h|cc]:
	* glom/mode_data/dialog_choose_relationship.[h|cc]:
	* glom/mode_data/dialog_layout*.[h|cc]:
	* glom/mode_data/treestore_layout.[h|cc]:
	* glom/layout_item_dialogs/:
	Moved to glom/mode_design/layout/
	* glom/reports/report_builder.[h|cc]: Moved to glom/
	* glom/reports/dialog_layout_report.[h|cc]"
	* glom/reports/treestore_report_layout.[h|cc]:
	Moved to glom/mode_design/report_layout/
	* glom/database_preferences.[h|cc]:
	* glom/relationships_overview/: Moved to
	glom/mode_design/
	* glom/glom_developer.glade:
	* glom/dialog_new_self_hosted_connection.[h|cc]:Rename to
	glom/mode_design/dialog_initial_password.[h|cc], renaming the class too,
	because that's what this is now.
	* glom/utility_widgets/dialog_layoutitem_properties.[h|cc]: Removed
	this unused class.
	* glom/Makefile_glom.am, *.[h|cc]: Adapted.

2009-09-03  Murray Cumming  <murrayc@murrayc.com>

	libglom: Avoid client-only build changes: partial recommit of revert.

	* glom/libglom/appstate.cc:
	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool_backends/backend.h:
	* glom/libglom/connectionpool_backends/postgres.h:
	* glom/libglom/connectionpool_backends/postgres_central.h:
	* glom/libglom/connectionpool_backends/postgres_self.h:
	* glom/libglom/connectionpool_backends/sqlite.h:
	* glom/libglom/document/document.h: Remove mention of
	GLOM_ENABLE_CLIENT_ONLY from comments because we no longer use it in
	libglom.
	* glom/libglom/connectionpool_backends/postgres.cc: attempt_connect():
	Do not use Gda::CONNECTION_OPTIONS_READ_ONLY just because exceptions
	are disabled in the build. Please stop using vaguely-related ifdefs
	to hack changes in. In this case it would be GLOM_ENABLE_CLIENT_ONLY,
	but we don't want that option in libglom anymore.

2009-09-01  David King  <davidk@openismus.com>

	Fix GTK+ critical about an unrealized widget that had focus

	* glom/glom.glade: Fix an interesting warning, where the quickfind
	Gtk::Entry was described in the glade file as having focus, even
	though it was set to be not visible, and therefore not realized.

2009-09-01  David King  <davidk@openismus.com>

	Avoid GTK+ stock-id warnings by using Gtk::StockID constructor

	* glom/dialog_existing_or_new.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc: Use Gtk::StockID
	constructor with builtin stock items so that GTK+ warnings are not
	triggered.

2009-09-01  Johannes Schmid  <jhs@gnome.org>

	Fixed small build problem with disabled exceptions

2009-09-01  Johannes Schmid  <jhs@gnome.org>

	Remove hacks that are now obsolete with libgda 4.0.4 and libgdamm 3.99.17.1 on maemo

2009-08-31  Daniel Elstner  <danielk@openismus.com>

	Remove generated config.h.in from the repository

2009-08-31  David King  <davidk@openismus.com>

	Revert "Really never use config.h in libglom."

	This reverts commit 8d73f2051fb624e145505b3587a12d89ed3c8326.

	The change gave no benefits, but did break any project that used libglom
	and autoheader.

2009-08-31  Johannes Schmid  <jhs@gnome.org>

	Fix make dist

2009-08-27  Murray Cumming  <murrayc@murrayc.com>

	Avoid GTK+ warnings.

	* glom/glom_developer.glade: Set GtkAdjustment page_size to 0 to
	avoid new GTK+ warnings.
	* glom/layout_item_dialogs/dialog_field_layout.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/print_layouts/dialog_text_formatting.cc:
	More nasty workarounds for GtkBuilder bug #575714, which is still not
	fixed.

2009-08-27  Murray Cumming  <murrayc@murrayc.com>

	Remove a nasty hack that would become a runtime bug.

	* glom/libglom/connectionpool_backends/sqlite.cc: Revert the previous
	hack by Johannes, which misused GLIBMM_EXCEPTIONS_ENABLE to
	avoid use of CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE. We will
	just update libgdamm on Maemo Fremantle instead.

2009-08-27  Murray Cumming  <murrayc@murrayc.com>

	Really never use config.h in libglom.

	* glom/libglom/*.cc: Remove some remaining includes of config.h
	instead of libglom_config.h.
	* glom/libglom/libglom_config.h.in: Add GETTEXT_PACKAGE,
	PACKAGE_TARNAME, though I suspect that libglom requires different
	build stuff for translations.
	Added POSTGRES_UTILS_PATH and EXEEXT.

2009-08-27  Murray Cumming  <murrayc@murrayc.com>

	Update NEWS and increase version.

	* NEWS:
	* configure.ac: Update in anticipation of a release.
	* regression_tests/test_signal_reemit.cc: Avoid an unused parameter
	warning.

2009-08-27  Johannes Schmid  <jhs@gnome.org>

	Fixed build issues on maemo platform with sqlite

2009-08-26  Murray Cumming  <murrayc@murrayc.com>

	Fix a time parsing regression.

	* glom/libglom/libglom_config.h.in: Moved HAVE_STRPTIME here from
	config.h (which should maybe not be generated by autoheader),
	to the test_parsing_time regression.
	* glom/libglom/data_structure/iso_codes.cc: Include libglom_config.h
	instead of config.h, after moving ISO_CODES_PREFIX there.

2009-08-26  Murray Cumming  <murrayc@murrayc.com>

	Tests: Correct the return values.

	* regression_tests/test_parsing_time.cc:
	* regression_tests/test_signal_reemit.cc: Return EXIT_SUCCESS or
	EXIT_FAILURE properly.

2009-08-26  Murray Cumming  <murrayc@murrayc.com>

	Removed some debug output.

2009-08-25  Murray Cumming  <murrayc@murrayc.com>

	Comment out use of gda_sql_identifier_remove_quotes().

	* glom/base_db.cc: remove_quotes(): Comment out use of
	gda_sql_identifier_remove_quotes() with a stdcerr warning because
	it is deprecated and I get a weird undefined reference error and we
	need to change how we use this anyway. To fix the build.

2009-08-25  Johannes Schmid  <jhs@gnome.org>

	Fixed remaining maemo build problems

2009-08-24  Michael Hasselmann  <michaelh@openismus.com>

	Updated German translation

2009-08-21  Daniel Elstner  <danielk@openismus.com>

	Do not use .pyd extension on non-Windows systems

	* Makefile.am (pymod_ldflags): Set variable conditionally and use
	the "-shrext .pyd" option only on Windows hosts.

2009-08-21  Michael Hasselmann  <michaelh@openismus.com>

	Fix typos to fix the build. Bug #592576

2009-08-21  Murray Cumming  <murrayc@murrayc.com>

	Document::get/set_connection_user(): Don't save this in the document.

	* glom/libglom/document/document.[h|cc]:
	get/set_connection_user():
	Document these as not being saved in the document, because it
	makes no sense
	to save a single user there, because Glom is a multi-user
	system.
	* glom/dialog_connection.cc: load_after(), save_before(): Don't
	save the user
	in the document.

2009-08-19  Fran Diéguez  <fran.dieguez@glug.es>

	Updated Galician Translation

2009-08-19  David King  <davidk@openismus.com>

	Remove some unused files from the repository and fix ChangeLog formatting.

	* glom.am:
	* libegg.am:
	* libglom.am:
	* tests.am: Remove unused .am files.
	* glom/libglom/test_document_with_layout.cc: Remove unused file,
	identical to glom/libglom/test_document.cc.
	* ChangeLog: Fix some formatting.

2009-08-07  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation.

2009-08-04  Murray Cumming  <murrayc@murrayc.com>

	ldtp: Changed timeout

2009-08-04  Murray Cumming  <murrayc@murrayc.com>

	Rename included .am files.

	* *.am: Rename to Makefile_*.am so they are grouped together.
	* Makefile.am: Include the new filenames.

2009-07-31  Johannes Schmid  <jhs@gnome.org>

	Fix the UI part to build on maemo platform

2009-07-30  Johannes Schmid  <jhs@gnome.org>

	Last ChangeLog was only committed halfway

2009-07-30  Johannes Schmid  <jhs@gnome.org>

	Revert "Allow building glom on maemo when --enable-maemo is passed to configure (ChangeLog was incomplete)"

	This reverts commit efa9de97a92d54ba03e830da7aa181c8cc5f1048.

2009-07-30  Johannes Schmid  <jhs@gnome.org>

	Allow building glom on maemo when --enable-maemo is passed to configure (ChangeLog was incomplete)

2009-07-30  Johannes Schmid  <jhs@gnome.org>

	Allow building glom on maemo when --enable-maemo is passed to configure

2009-07-28  Daniel Elstner  <danielk@openismus.com>

	Add glom.pot to po/.gitignore

2009-07-28  Daniel Elstner  <danielk@openismus.com>

	Build and run tests on make check

	* Makefile.am (AM_DEFAULT_SOURCE_EXT): Make use of the Automake default
	_SOURCES feature for building single-source-file programs.
	(noinst_PROGRAMS): Move to tests.am.
	* tests.am (check_PROGRAMS): List all test executables here, so they
	are only built on make check.
	(TESTS): List unit test programs from the regression_tests/ directory.

2009-07-28  Daniel Elstner  <danielk@openismus.com>

	Use deprecated libtool macros for Maemo's sake

	* configure.ac (LT_PREREQ), (LT_INIT): Comment-out.
	(AC_PROG_LIBTOOL): Use old-style and deprecated M4 macro to initialize
	libtool because the Maemo development environment still ships with the
	ancient libtool 1.4.
	(AC_DISABLE_STATIC), (AC_LIBTOOL_WIN32_DLL): Call old-style macros to
	set libtool options, instead of passing flag arguments to LT_INIT().

2009-07-27  Murray Cumming  <murrayc@murrayc.com>

	Added the button script from my debian repository analyzer.

2009-07-27  Murray Cumming  <murrayc@murrayc.com>

	ldtp tests: Correct the English in the error messages.

	* ldtp/common.py:
	* ldtp/database-creation/create-db.py:
	* ldtp/fields-edit/fields-edit.py: Correct the English in the error messages.

2009-07-27  Murray Cumming  <murrayc@murrayc.com>

	dialog_image_progress.cc: on_stream_read(): Add casts to avoid compiler warnings, to fix distcheck.

2009-07-27  Murray Cumming  <murrayc@murrayc.com>

	Add more delay so that self-hosting does not fail sometimes.

	* glom/libglom/spawn_with_feedback.cc:
	execute_command_line_and_wait_until_second_command_returns_success(): Wait
	for extra 8 seconds instead of 3, so that postgresql startup has really
	finished. The delay was not enough since I removed the debug output, which
	was probably providing extra delay.
	This is unpleasant.

2009-07-26  Daniel Elstner  <danielk@openismus.com>

	Strip -L/usr/lib64 from PYTHON_LIBS

	* macros/mm-python.m4 (MM_CHECK_MODULE_PYTHON): Do not omit -L from
	${PYTHON_LIBS} for the /usr/local/lib directory.  However, do strip
	the flag for /usr/lib64 in addition to /usr/lib.

2009-07-25  Daniel Elstner  <danielk@openismus.com>

	List auto-generated files in MAINTAINERCLEANFILES

	* Makefile.am (MAINTAINERCLEANFILES): Clean up the macros/*.m4 files
	installed by autogen.sh, as well as the eggmarshalers.[ch] files.

2009-07-25  Daniel Elstner  <daniel.kitta@gmail.com>

	Pass --automake option to gnome-doc-prepare

	* autogen.sh: Invoke gnome-doc-prepare with the --automake option to
	tell it that Automake will take care of installing its macro files.

2009-07-25  Murray Cumming  <murrayc@murrayc.com>

	get_fields_for_table_from_database(): Use gda_meta_store_sql_identifier_quote() 	as mentioned in bug #589607 to maybe make this work with uppercase in the table name.

2009-07-24  Daniel Elstner  <danielk@openismus.com>

	Fix dead link to non-recursive make paper

2009-07-24  Daniel Elstner  <danielk@openismus.com>

	Assign copyright of my work to Openismus GmbH

	* configure.ac: Reassign the copyright which I had assigned to myself
	temporarily to Openismus GmbH instead, as I did the work in my position
	as an employee.
	* *.am: ditto,
	* macros/mm-python.m4: ditto.

2009-07-24  Daniel Elstner  <danielk@openismus.com>

	Split Makefile.am into logically separate parts

	* glom.am: New file for building the glom binary itself.
	* libglom.am: New file for building the libglom library.
	* libegg.am: New file for building the libegg static library.
	* tests.am: New file for building the test programs.
	* Makefile.am: Move logical chunks into the separate files listed
	above, and pull them in as Automake include files.

2009-07-24  Daniel Elstner  <danielk@openismus.com>

	Invoke gnome-doc-common from autogen.sh

	* autogen.sh: Execute "gnome-doc-common --copy" to install the files
	omf.make and xmldocs.make into the source tree.

2009-07-24  Daniel Elstner  <danielk@openismus.com>

	Make git ignore po/Makefile.in.in

2009-07-24  Daniel Elstner  <danielk@openismus.com>

	Use G_GSIZE_FORMAT instead of a cast

	* glom/libglom/python_embed/pygdavalue_conversions.c: Change format
	specifier for GType to "%" G_GSIZE_FORMAT and remove the explicit cast
	again.  I forgot that this is C code, so GType will always be gsize --
	at least with recent versions of GLib.

2009-07-24  Daniel Elstner  <danielk@openismus.com>

	Use format "%lu" for GType and add cast

	* glom/libglom/python_embed/pygdavalue_conversions.c: Change format
	specifier in g_warning() message back from "%u" to "%lu", and add an
	explicit cast to unsigned long.  Looks like GLib silently changed the
	type of GType from gulong to gsize, except when using a C++ compiler
	with a 64 bit target.  (Yes, really.)

2009-07-24  Daniel Elstner  <danielk@openismus.com>

	Remove generated files from the repository

2009-07-24  Daniel Elstner  <danielk@openismus.com>

	Suppress warning for missing field initializers

	* configure.ac (GLOM_WXXFLAGS): Add -Wno-missing-field-initializers to
	the warning options at level max or higher, so that the Python module
	code will build with both Python 2.5 and Python 2.6 without producing
	warnings.

2009-07-24  Murray Cumming  <murrayc@murrayc.com>

	Catch unknown command-line options.

	* glom/main.cc: Put try/catch around the Gtk::Main instantiation
	because I noticed that it throws an exception if you provide an
	unknown option.

2009-07-24  Murray Cumming  <murrayc@murrayc.com>

	Use CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE.

	* glom/libglom/connectionpool_backends/postgres.cc:
	* glom/libglom/connectionpool_backends/sqlite.cc: When calling
	Gda::Connection::open_from_string(), use the new
	CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE option so the libgda
	API really does what we mean without needing any weird quoting.

2009-07-23  Murray Cumming  <murrayc@murrayc.com>

	Fix the build with Python 2.5, bringing back the warnings for others.

	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/libglom/python_embed/py_glom_related.cc:
	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	* glom/libglom/python_embed/pygdavalue_conversions.c: Remove the extra
	struct field initialization to fix the build with Python 2.5.

2009-07-23  Daniel Elstner  <danielk@openismus.com>

	Add comment about .DELETE_ON_ERROR: special target

2009-07-23  Daniel Elstner  <danielk@openismus.com>

	Make libegg object files depend on eggmarshalers

	* Makefile.am ($(*libegg*_a_OBJECTS)): Make all object files of
	libeggutil.a and libeggtoolpalette.a depend on the generated source
	files eggmarshalers.[ch].  This ensures that the marshaler files are
	generated before any of the libegg objects are compiled, but avoids
	having to resort to BUILT_SOURCES for that purpose.
	(*_libeggtoolpalette_a_LIBADD): Remove dependency on libeggutil.a
	again, as it is not required for linking the static library itself.

2009-07-23  Daniel Elstner  <danielk@openismus.com>

	Add missing _LIBADD variables for libegg

	* Makefile.am (*_libeggtoolpalette_a_LIBADD): List libeggutil.a as
	dependency.

2009-07-23  Daniel Elstner  <danielk@openismus.com>

	Fix build with -Werror

	* glom/bakery/app_withdoc.cc: Fix build with -Werror.
	* glom/dialog_import_csv.cc: ditto,
	* glom/libglom/python_embed/py_glom_record.cc: ditto,
	* glom/libglom/python_embed/py_glom_related.cc: ditto,
	* glom/libglom/python_embed/py_glom_relatedrecord.cc: ditto,
	* glom/libglom/python_embed/pygdavalue_conversions.c: ditto,
	* glom/mode_design/fields/dialog_fielddefinition.cc: ditto,
	* glom/utility_widgets/dialog_image_progress.cc: ditto.

2009-07-23  Daniel Elstner  <danielk@openismus.com>

	Remove INSTALL file and update .gitignore

	* INSTALL: Remove, as this file is provided by Automake.
	* win32/glom.iss.in: Remove executable permission.
	* .gitignore: Update.
	* macros/.gitignore: Update.

2009-07-23  Daniel Elstner  <danielk@openismus.com>

	Switch to non-recursive build process

	* macros/mm-pkg.m4: New file, defining the MM_PKG_CONFIG_SUBST macro.
	* macros/mm-python.m4: New file, defining the MM_CHECK_MODULE_PYTHON
	macro to replace the old and messy AM_CHECK_PYTHON_HEADERS.
	* acinclude.m4: Remove file which defined AM_CHECK_PYTHON_HEADERS.

	* Makefile.am: Merge the contents of the Makefile.am files from all
	subdirectories into a single top-level Makefile.am, with the exception
	of docs/user-guide/Makefile.am.  Add the full subdirectory prefix to
	all listed files and change the Automake variable names accordingly.
	Get rid of the intermediate static libraries previously created for
	each source subdirectory, and list the source files directly in the
	toplevel target's SOURCES variable.  Overall, refactor and modernize
	the build rules and organization.
	* **/Makefile.am: Except for docs/user-guide/Makefile.am, remove the
	Makefile.am files recursively from all subdirectories.

	* config.h.in: Remove file, and use autoheader to generate it.
	* autogen.sh: Replace with a modern minimalistic script which lets
	autoreconf do the bulk of the work.
	* configure.ac: Massive refactoring.  Adapt to the new non-recursive
	build organization.  Modernize the M4 and shell code, and make use of
	newer Autoconf and Automake constructs to simplify many checks.  Also
	make minor corrections to a number of tests and definitions.

	* glom/application.cc: Remove the need for GLOM_ICON_DIR by setting
	the window icon by name instead of loading the image file directly.
	Use PACKAGE_VERSION in place of VERSION.
	* glom/dialog_existing_or_new.cc: Use a subdirectory of GLOM_DOCDIR
	in place of GLOM_EXAMPLES_DIR.  Remove GLOM_EXAMPLES_DIR_ALTERNATIVE.

	* glom/utils_ui.cc: Replace DATADIR by GLOM_DATADIR.
	* glom/libglom/connectionpool.cc: Remove GLOM_SAVE_DATADIR hack, which
	is not necessary anymore as DATADIR is not globally defined anymore.
	* glom/libglom/connectionpool_backends/postgres_self.cc: ditto,
	* glom/libglom/spawn_with_feedback.cc: ditto,
	* glom/main.cc: ditto. Also replace LOCALEDIR by GLOM_LOCALEDIR, and
	output PACKAGE_STRING instead of VERSION in response to the --version
	command-line option.  Replace PACKAGE and VERSION by their modern
	Automake equivalents.
	* glom/xsl_utils.cc: Remove GLOM_SAVE_DATADIR hack, and replace
	GLOM_XSLTDIR with a subdirectory of GLOM_PKGDATADIR.

	* glom/mode_data/box_data_calendar_related.cc: Replace GLOM_GLADEDIR
	by a combination of GLOM_PKGDATADIR and a subdirectory name.
	* glom/mode_design/print_layouts/print_layout_toolbar_button.cc: Use
	a subdirectory of GLOM_PKGDATADIR in place of GLOM_ICON_DIR.
	* glom/utility_widgets/layouttoolbar.cc: ditto,
	* glom/utility_widgets/layouttoolbarbutton.cc: ditto.

	* glom/python_embed/glom_python.cc: Include generated config.h for the
	definition of GLOM_ABI_VERSION_UNDERLINED.
	* glom/python_embed/python_module/py_glom_module.cc: ditto.

2009-07-23  Murray Cumming  <murrayc@murrayc.com>

	Really make the change from the previous commit, after releasing that git am was misleading me.

2009-07-23  David King  <davidk@openismus.com>

	Add libxml++ dependency to libglom pkg-config file.

	* glom/libglom/glom-1.0.pc.in: Add libxml++ dependency, needed for
	Bakery headers.

2009-07-23  David King  <davidk@openismus.com>

	Check that GThread is supported before calling Glib::thread_init().

	* glom/libglom/init.cc: Check that GThread is supported before calling
	Glib::thread_init(). This fixes a crash, as otherwise g_thread_init()
	can be called twice.

2009-07-22  Johannes Schmid  <jhs@gnome.org>

	Fixed typo with libepc

2009-07-22  Murray Cumming  <murrayc@murrayc.com>

	Added DOAP file.

2009-07-21  Murray Cumming  <murrayc@murrayc.com>

	Added DOAP file.

2009-07-21  David King  <davidk@openismus.com>

	Install libglom headers to the correct, ABI-specific directory.

	* glom/libglom/glom-1.0.pc.in:
	* glom/libglom/*/Makefile.am: Use GLOM_ABI_VERSION in place of "1.0" so
	that installed headers go into the correct, ABI-specific directory.

2009-07-21  Murray Cumming  <murrayc@murrayc.com>

	glom/libglom/glom-1.0.pc.in: Remove the bakery dependency, because no part of Glom now depends on the bakery shared library. I suspect that libglom should depend on python somehow, but we will see.

2009-07-18  Murray Cumming  <murrayc@murrayc.com>

	Added TODOs about places that might need quoting.

2009-07-17  Murray Cumming  <murrayc@murrayc.com>

	Use an xmlns ID for the MIME-type registration.

	* glom/libglom/document/bakery/document_xml.[h|cc]: set_dtd_root_node_name():
	Take an optional xmlns ID and write this in the document.
	* glom/libglom/document/document.cc: Constructor: Specify a
	http://glom.org/glom_document xmlns ID. I don't think this needs to exist.
	This will make it easier for the MIME-type system to detect the file's MIME
	type.
	* glom.xml: (MIME-type detection rules): Add a root-XML rule, that checks
	for the xmlns and the root node name. We keep the string check too for
	legacy.

2009-07-17  Murray Cumming  <murrayc@murrayc.com>

	Removed useless old patches directory.

2009-07-11  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation Author:    Daniel Mustieles <daniel.mustieles@gmail.com>

2009-07-10  Murray Cumming  <murrayc@murrayc.com>

	Export: Don't open the format dialog behind the FileChooser dialog.

	* glom/frame_glom.cc: on_menu_file_export(): Set the FileChooser dialog as
	transient so that the other dialog (opened from the FileChooser) is not
	behind the FileChooser.
	Ubuntu Launchpad bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/397409
	(elmergato)

2009-07-10  Murray Cumming  <murrayc@murrayc.com>

	Really save field changes again.

	* glom/libglom/document/document_glom.cc: set_table_fields():
	Avoid the broken attempt at optimization, so that field changes are always
	saved, for instance when changing them via the Field Definition dialog.
	Ubuntu Launchpad bug
	https://bugs.launchpad.net/ubuntu/+source/glom/+bug/394507
	(elmergato)

2009-07-10  Murray Cumming  <murrayc@murrayc.com>

	advance_field(): Do not skip characters after the ".

2009-07-10  Murray Cumming  <murrayc@murrayc.com>

	Use show_ok_dialog().

2009-07-10  Murray Cumming  <murrayc@murrayc.com>

	Added .gitattributes

2009-07-10  Murray Cumming  <murrayc@murrayc.com>

	Import: Ignore newlines in quotes.

	* glom/dialog_import_csv.cc: on_idle_parse(): Ignore newlines in quotes when
	dividing the input into "lines" to give to handle_line().
	advance_field(): Do not skip the character after "".

2009-07-10  Murray Cumming  <murrayc@murrayc.com>

	Import: Handle "" as ". Fix a crash.

	* glom/dialog_import_csv.[h|cc]: Use typedefs to simplify code.
	advance_field(): Handle "" (escaped ") inside quotes.
	field_data_func(): Avoid a crash if not enough data was found.

2009-07-09  Murray Cumming  <murrayc@murrayc.com>

	Import: " is the only quote character, as per the CSV RFC.

	* glom/dialog_import_csv.cc: advance_field(): Parse only " as
	start/end quotes, not ', as per the CSV RFC.

	Part of Ubuntu bug
	https://bugs.launchpad.net/ubuntu/+source/glom/+bug/394894
	(elmergato)

2009-07-09  Murray Cumming  <murrayc@murrayc.com>

	on_menu_file_import(): Mention adjustment1 to work around GtkBuilder bug #575714.

2009-07-08  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2009-07-08  Murray Cumming  <murrayc@murrayc.com>

	Correct the export to use the CSV format as per the RFC "specification".

	* glom/frame_glom.cc: export_data_to_stream(): For text fields, add
	" as per the CSV RFC.
	* glom/libglom/data_structure/field.cc: to_file_format(): Escape
	" as "". Note that we do not try to escape newlines. This is per the
	CSV RFC.
	* glom/libglom/utils.cc: string_replace(): In the loop, do not check
	what has already been processed, to avoid an infinite loop.

	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/394894
	(elmergato)

2009-07-07  Murray Cumming  <murrayc@murrayc.com>

	Fixed ChangeLog

2009-07-07  Murray Cumming  <murrayc@murrayc.com>

	Catch libgda meta-store exceptions.

	* glom/base_db.cc: get_table_names_from_database():
	* glom/libglom/connectionpool.cc: connect(): Added try/catch around
	calls to Gda::Connection::update_meta_store_*() because they now
	throw a MetaStoreError exception, though we do not know why yet.

2009-07-05  Murray Cumming  <murrayc@murrayc.com>

	include config.h to avoid a crash  with the client-only build due to ABI code-size confusion.

2009-07-05  Murray Cumming  <murrayc@murrayc.com>

	init_menus_file(): Initialize m_toggleaction_network_shared to avoid a crash.

2009-07-05  Murray Cumming  <murrayc@murrayc.com>

	Remove the toolbar widget because we hide it anyway.

2009-07-05  Murray Cumming  <murrayc@murrayc.com>

	update_network_shared_ui(): Un-ifndef this for client-only.

2009-07-05  Murray Cumming  <murrayc@murrayc.com>

	Move some ifndefs around to fix the client-only build.

2009-07-05  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation Signed-off-by: Jorge Gonzalez <jorgegonz@svn.gnome.org>

	Author:    Daniel Mustieles <daniel.mustieles@gmail.com>

2009-07-05  Murray Cumming  <murrayc@murrayc.com>

	Remove old code to check for developer mode in client-only builds.

2009-07-04  Murray Cumming  <murrayc@murrayc.com>

	Fix loading of the versioned python module.

	* configure.ac:
	* glom/Makefile.am:
	* glom/python_embed/Makefile.am:
	* glom/python_embed/glom_python.cc:
	* glom/python_embed/python_module/Makefile.am:
	* glom/python_embed/python_module/py_glom_module.cc:
	* glom/python_embed/python_module/py_glom_module.h: Use glom_1_12
	instead of glom-1.12 because - and . are not valid in python module
	names. I wish I knew of any standard way to do parallel install of
	different versions of python modules.

2009-07-04  Murray Cumming  <murrayc@murrayc.com>

	libglom: Remove use of GLOM_ENABLE_MAEMO because it is about UI.

	* glom/libglom/utils.cc:
	* glom/libglom/connectionpool.cc: Remove use of GLOM_ENABLE_MAEMO so
	because there should be no UI-specific login in libglom.
	* glom/libglom/document/document.[h|cc]: Remove
	get_active_layout_platform() because we no longer use GLOM_ENABLE_MAEMO.
	* glom/base_db.[h|cc]: Add a get_active_layout_platform(document)
	here instead.
	* glom/libglom/libglom_config.h.in: Moved GLOM_ENABLE_MAEMO to
	config.h.in because it is now only used in the app, not in libglom.

	* glom/base_db_table_data.cc:
	* glom/frame_glom.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/notebook_data.cc:
	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/dialog_choose_id.cc:
	* glom/utils_ui.h:
	* glom/xsl_utils.cc: Adapted, using config.h instead of libglom_config.h

2009-07-04  Murray Cumming  <murrayc@murrayc.com>

	libglom: Always enable developer-mode (!client-only) API.

	* glom/libglom/*.[h|cc]: Remove use of ENABLE_CLIENT_ONLY ifdefs,
	so we can allow parallel install of full and
	client-only versions.

2009-07-04  Murray Cumming  <murrayc@murrayc.com>

	Remove ifdefs from libglom to allow parallel install of full and client-only versions.

	* glom/libglom/connectionpool_backends/postgres.h:
	* glom/libglom/connectionpool_backends/postgres_central.h:
	* glom/libglom/connectionpool_backends/sqlite.h:
	* glom/libglom/document/document.[h|cc]:
	* glom/libglom/test_connectionpool.cc: Remove ifdefs that remove
	PostgreSQL or Sqlite API so that libglom always offers all features and
	always has the same ABI (ignoring no-exceptions/no-vfuncs
	alternative-glibmm-api versions). This will allow us to parallel install
	the full and client-only versions.

	* glom/libglom/libglom_config.h.in: Move GLOM_ENABLE_POSTGRESQL/SQLITE
	config.h.in because we now only use it in the application, not in libglom.
	* glom/application.cc:
	* glom/dialog_connection.cc:
	* glom/frame_glom.cc:
	* glom/utility_widgets/filechooserdialog_saveextras.cc:
	* glom/utility_widgets/filechooserdialog_saveextras.h:
	Include config.h to get these
	definitions.

2009-07-03  Murray Cumming  <murrayc@murrayc.com>

	Allow parallel installs of libglom major versions.

	* configure.ac: Define GLOM_ABI_VERSION as 1.12.
	* glom/Makefile.am:
	* glom/libglom/Makefile.am:
	* glom/python_embed/Makefile.am
	* glom/python_embed/python_module/Makefile.am:
	* regression_tests/Makefile.am: Add a 1.12 suffix to
	the libglom shared library name and the glom python module name.
	This must be changed in several places when the ABI version changes
	because we cannot use a variable in most of these places.
	Define it also as a macro for the .cc files, so Glom can import the
	correct version of the Glom python module
	- for instance, import glom-1.12.
	* glom/python_embed/glom_python.cc:
	* glom/python_embed/python_module/py_glom_module.cc: Import the
	correct version in python.

2009-06-30  Armin Burgmeier  <armin@arbur.net>

	Added a test which makes sure adding fields in an existing table is working

	* ldtp/fields-edit/fields-edit.py: Added a new test which tests adding
	a new field to an existing table. More operations to test, such as
	changing and removing existing fields, can be added later.

	* ldtp/fields-edit/postgres-central.xml:
	* ldtp/fields-edit/postgres-self.xml:
	* ldtp/fields-edit/sqlite.xml: XML Data files for the new test.

	* ldtp/test.xml: Added it to the test suite, so that it can be run
	with ldtprunner.

2009-06-30  Armin Burgmeier  <armin@arbur.net>

	Added Database Templates for LDTP to test functionality with

	* ldtp/database-templates/SQLite:
	* ldtp/database-templates/PostgresCentral: Added database templates
	for two of the three backends. These can be copied and then opened
	to have a database available for LDTP tests to test.

	* ldtp/common.py: Added create_test_database and delete_test_database
	functions which create or remove a database to test, from such a
	template database, respectively.

	* ldtp/database-creation/create-db.py: Use the delete_test_database
	function from common on cleanup, remove own delete_database function.

2009-06-30  Armin Burgmeier  <armin@arbur.net>

	LDTP: Test tables containing capital letters

	* ldtp/database-creation/create-db.py: Changed the name of the created
	database table (for empty databases) to TestTable, so that we test
	that table names with capital letters work correctly.

2009-06-30  Armin Burgmeier  <armin@arbur.net>

	Make querying fields of a database table work if the table name needs quotation

	* glom/base_db.cc (get_fields_for_table_from_database): Make this work
	for table names which need quotation, and return unquoted field names.
	This fixes bug #587051.

2009-06-30  Murray Cumming  <murrayc@murrayc.com>

	Remove debug output.

2009-06-30  Murray Cumming  <murrayc@murrayc.com>

	get_table_names_from_database(): Remove quotes.

	* glom/base_db.cc: get_table_names_from_database(): Remove quotes when they
	are (sometimes) in the meta data. I complained on the gnome-db mailing list
	about us having to do this.

2009-06-30  Murray Cumming  <murrayc@murrayc.com>

	get_table_names_from_database(): Remove quotes.

	* glom/base_db.cc: get_table_names_from_database(): Remove quotes when they
	are (sometimes) in the meta data. I complained on the gnome-db mailing list
	about us having to do this.

2009-06-29  Murray Cumming  <murrayc@murrayc.com>

	Allow many fields to be added to layouts (or the export format) at once.

	* glom/mode_data/dialog_choose_field.[h|cc]: Added get_fields_list() in
	addition to the existing get_field_list(), and allow multiple selection.
	* glom/base_db.[h|cc]: offer_field_list(): Rename to
	offer_field_list_select_one_field().
	Added offer_field_list() that returns a list of fields, allowing multiple
	selection.

	* *.[h|cc]: Adapted to use the appropriate function, allowing, for instance,
	the export dialog to use multiple selection to add many fields at once.

	Ubuntu Launchpad bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/393231
	(elmergato)

2009-06-29  Murray Cumming  <murrayc@murrayc.com>

	Export: Offer File overwrite confirmation.

	* glom/frame_glom.cc: on_menu_file_export():
	* glom/translation/window_translations.cc: on_button_export():
	Call Gtk::FileChooser::set_do_overwrite_confirmation() so the user is
	warned when overwriting a file.
	Ubuntu Launchpad bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/393229
	(elmergato)

2009-06-29  Murray Cumming  <murrayc@murrayc.com>

	ifdef out the debug output.

2009-06-29  Murray Cumming  <murrayc@murrayc.com>

	Reduce debug output.

	* glom/libglom/data_structure/glomconversions.[h|cc]:
	sanity_check_date_text_representation_uses_4_digit_years(): Make the debug
	output optional.
	* glom/main.cc: Added a --debug-date-check option, to avoid the debug out
	about 4-digit dates normally.

	* glom/dialog_existing_or_new.cc: list_examples_at_path(): Comment out debug
	output.
	* glom/libglom/connectionpool.cc: connect(): Comment out debug output that
	showed the (previously slow) meta update calls.

2009-06-29  Murray Cumming  <murrayc@murrayc.com>

	Reduce debug output.

	* glom/libglom/data_structure/glomconversions.[h|cc]:
	sanity_check_date_text_representation_uses_4_digit_years(): Make the debug
	output optional.
	* glom/main.cc: Added a --debug-date-check option, to avoid the debug out
	about 4-digit dates normally.

	* glom/dialog_existing_or_new.cc: list_examples_at_path(): Comment out debug
	output.
	* glom/libglom/connectionpool.cc: connect(): Comment out debug output that
	showed the (previously slow) meta update calls.

2009-06-28  Armin Burgmeier  <armin@arbur.net>

	Removed .cvsignore files, added .gitignore ones

2009-06-28  Murray Cumming  <murrayc@murrayc.com>

	rint exception messages to stdout.

	* ldtp/database-creation/create-db.py: When catching the exception,
	print it to stdout, because it does not seem to appear in the log file.
	* ldtp/common.py: Corrected the English of some exception messages.

2009-06-28  Daniel Mustieles  <daniel.mustieles@gmail.comm>

	Updated Spanish translation Signed-off-by: Jorge Gonzalez <jorgegonz@svn.gnome.org>

	Author:    Daniel Mustieles <daniel.mustieles@gmail.comm>

2009-06-28  Daniel Mustieles  <daniel.mustieles@gmail.comm>

	Updated Spanish translation Signed-off-by: Jorge Gonzalez <jorgegonz@svn.gnome.org>

	Author:    Daniel Mustieles <daniel.mustieles@gmail.comm>

2009-06-27  Armin Burgmeier  <armin@arbur.net>

	LDTP: Added missing XML data files

2009-06-27  Armin Burgmeier  <armin@openismus.com>

	* ldtp/database-creation/postgres-central-empty.xml:
	* ldtp/database-creation/postgres-self-empty.xml:
	* ldtp/database-creation/sqlite-empty.xml: Added missing files.

	* ldtp/database-creation/create-db.py: Allow passing the datafilename
	as an argument when the script is called directly, not by ldtprunner.

	* ldtp/README: Updated the section on how to execute a single test
	script.

2009-06-26  Murray Cumming  <murrayc@murrayc.com>

	Fix an error check.

	* glom/xsl_utils.cc: transform_and_open(): Fix the check for a failed
	gtk_show_uri(), so we really check. Noticed while stealing this code
	for vidrot.

2009-06-26  Armin Burgmeier  <armin@arbur.net>

	Show correct error message when document could not be loaded from disk

	* glom/libglom/document/bakery/document.h: Document that failure_code
	should be >= 1, so that we can detect whether the document could not
	be opened because it couldn't be read from disk, or a custom error
	code was set.

	* glom/libglom/document/document.h: Set the value of
	LOAD_FAILURE_CODE_FILE_VERSION_TOO_NEW to 1, to honor the requirement
	explained above. This fixes showing the wrong error message when the
	document could not be loaded from disk.

2009-06-26  Armin Burgmeier  <armin@arbur.net>

	Add newly created documents to the recently used files

	* glom/application.cc (existing_or_new_new): When the new database
	could be created successfully, then add the document to the recent
	files list.

2009-06-26  Armin Burgmeier  <armin@arbur.net>

	LDTP: When creating empty documents, call the initial table 'test_table'

	* glom/frame_glom.cc
	(connection_request_password_and_choose_new_database_name): Remember
	the port also for centrally hosted documents when a successful
	connection could be made.

	* ldtp/database-creation/create-db.py: For empty documents, call the
	initial table 'test_table', not 'TestTable', because of bug #587051.

2009-06-26  Armin Burgmeier  <armin@arbur.net>

	LDTP: Reopen documents after creation, also test new, empty documents

	* glom/dialog_glom.h:
	* glom/dialog_glom.cc: Added an optional second parameter to the
	constructor, to specify a title name for the dialog.

	* glom/frame_glom.cc: Set the title of the tables dialog to "Tables",
	so that it can be accessed via LDTP.

	* glom/glom.glade: Also change the title of that dialog, even though
	it's not used, since only the window's child widget is loaded from the
	glade file.

	* glom/utility_widgets/adddel/adddel.h:
	* glom/utility_widgets/adddel/adddel.cc: Added a
	set_treeview_accessible_name() function, to set the accessible name of
	the AddDel's TreeView.

	* glom/navigation/box_tables.cc: Set an accessible name for the
	TreeView, to be able to access it via LDTP.

	* glom/utility_widgets/filechooserdialog_saveextras.cc: Set an
	accessible name for the database title text entry.

	* ldtp/common.py (select_backend): Added a dialog_title parameter, as
	the dialog has a different title when creating a new, empty document.
	(wait_for_database_open): Rely on the database title being 'Test', not
	'Small Business Example'.

	* ldtp/database-creation/create-db.py: Change the database title of
	the newly created database to 'Test'. Support creating new, empty
	documents, and reopen the document after it has been closed, to make
	sure the document has been saved correctly.

	* ldtp/database-creation/postgres-central-example.xml:
	* ldtp/database-creation/postgres-self-example.xml:
	* ldtp/database-creation/sqlite-example.xml: Moved from the files
	without -example, set the <example> tag to 1.

	* ldtp/database-creation/postgres-central-example.xml:
	* ldtp/database-creation/postgres-self-example.xml:
	* ldtp/database-creation/sqlite-example.xml: Same with <example> set
	to 0.

	* ldtp/test.xml: Added the three new files which create an empty
	document instead of creating one from the Small Business Example.

2009-06-24  Armin Burgmeier  <armin@arbur.net>

	LDTP: Delete created centrally hosted database at the end of the test

	* ldtp/common.py: Work around bug #586291, added a function to enter
	the connection credentials into the connection dialog if using a
	centrally hosted database. Added mapping of backend name to button
	texts in the database creation dialog.

	* ldtp/database-creation/postgres-central.xml:
	* ldtp/database-creation/postgres-self.xml:
	* ldtp/database-creation/sqlite.xml: Removed the button texts from
	the data XML files.

	* ldtp/database-creation/create-db.py: Generalized the script so that
	it also handles central hosting. Delete the newly created centrally
	hosted database at the end. This requires pygda from git for now.

	* ldtp/database-creation/create-central-db.py: Removed, as central
	hosting is also handled by create-db.py now.

2009-06-24  Armin Burgmeier  <armin@arbur.net>

	Added a new LDTP test which tests creating a centrally hosted database

	* glom/glom.glade: Added a title to the connection dialog window, and
	added accessible names for the entries, to be able to use them via
	LDTP.

	* ldtp/README: Describe how to set the login credentials required
	to test creating a centrally hosted database.

	* ldtp/common.py: Moved useful code from
	ldtp/database-creation/create-db.py into functions in this file, so
	other tests can use them, too.

	* ldtp/database-creation/create-db.py: Adapt accordingly.

	* ldtp/database-creation/create-central-db.py:
	* ldtp/database-creation/postgres-central.xml: Added a new test script
	and data XML which tests creating a centrally hosted database.

	* ldtp/test.xml: Added the new script file.

2009-06-24  Armin Burgmeier  <armin@arbur.net>

	Fix opening documents using a centrally-hosted database (#586684).

	* glom/application.cc (on_document_load): Only provide a known user
	name and password for self-hosted databases, and ask the user for the
	database password for centrally-hosted ones.

	* glom/frame_glom.cc (connection_request_password_and_attempt): Show
	the connection dialog for centrally hosted connections, and fix trying
	to login with the same (wrong) credentials all the time without giving
	the user a chance to correct them. This fixes bug #586684.

2009-06-22  Armin Burgmeier  <armin@arbur.net>

	Fixed creating a centrally-hosted database from example

	* glom/application.cc (on_document_load): If we load an example file,
	set the connection port in the document to 0, and enable trying other
	ports, instead of using the (arbitrary) values from the example file.
	This allows trying out various standard ports for postgresql when
	centrally-hosting the document and fixed creating a centrally-hosted
	database from an example file.

	* glom/dialog_connection.cc (connect_to_server_with_connection): On a
	successful connection, set try other ports to false in the document,
	as we found a working port and don't need to try all the other ports
	next time.

	* glom/frame_glom.cc
	(connection_request_password_and_choose_new_database_name): When
	creating a centrally-hosted database, remember the user name in the
	document, to be able to connect to the database from the saved
	document later. Actually, we would also need to save the password to
	do this correctly, though I wonder whether it's a good idea to save
	the user's database password in the .glom file.

2009-06-22  Armin Burgmeier  <armin@arbur.net>

	Avoid a crash when creating a centrally-hosted database

	* glom/frame_glom.cc:
	(connection_request_password_and_choose_new_database_name): Fixed a
	mistyped #ifdef, so that creating a centrally-hosted database does not
	lead to a crash.

2009-06-20  Armin Burgmeier  <armin@arbur.net>

	Use data XML files to specify the backend to test

2009-06-20  Armin Burgmeier  <armin@openismus.com>

	* ldtp/database-creation/create-db.py: Read the data what backend to
	use from the a data XML file, instead of as a function's argument.

	* ldtp/database-creation/self-hosted.py:
	* ldtp/database-creation/sqlite.py: So we don't need these anymore.

	* ldtp/database-creation/postgres-self.xml:
	* ldtp/database-creation/sqlite.xml: Instead, the data is specified in
	these data XML files.

	* ldtp/test.xml: Adapt accordingly.

2009-06-17  Armin Burgmeier  <armin@arbur.net>

	Added a README file explaining how to run the tests

	* ldtp/README: Added a README file explaining how to run the tests.

2009-06-17  Armin Burgmeier  <armin@arbur.net>

	Added SQLite database creation test

	* ldtp/common.py: Added a common function to launch glom and wait for
	its windows to appear into a new separate python script file.

	* ldtp/database-creation/create_db.py: Added a function to create a
	new database, with the backend to use as an argument. This allows to
	reuse the existing code to test other backends.

	* ldtp/database-creation/self-hosted.py: Adapted accordingly.

	* ldtp/database-creation/sqlite.py: Added a test file to check whether
	SQLite database creation works.

	* ldty/test.xml: Added the test to create an SQLite database.

2009-06-09  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2009-06-08  Armin Burgmeier  <armin@arbur.net>

	Added LDTP test to check creation of a new self-hosted postgres database

	* ldtp/database-creation/self-hosted.py: Added a LDTP test script
	which checks creation of a new self-hosted database from the Small
	Business Example file.

	* ldtp/test.xml: Added an XML file for ldtprunner. Run "ldtprunner
	test.xml" to execute the test.

2009-06-08  Armin Burgmeier  <armin@arbur.net>

	Added accessible names for DbAdddel and layout entries/images

	* glom/utility_widgets/db_adddel/db_adddel.cc: Added an accessible
	name for the TreeView.

	* glom/utility_widgets/imageglom.h:
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/entryglom.h:
	* glom/utility_widgets/entryglom.cc: Set an accessible name, based on
	the layout item's name.

2009-06-08  Armin Burgmeier  <armin@arbur.net>

	Avoid an uninitialized pointer in client only mode

	* glom/utility_widgets/layoutwidgetbase.cc: Initialize m_pLayoutItem
	in client only mode, to avoid an uninitialized pointer in that case.

2009-06-06  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2009-06-04  Murray Cumming  <murrayc@murrayc.com>

	Show a specific error message when the flie format is too new.

	* glom/libglom/document/bakery/document.[h|cc]:
	* glom/libglom/document/bakery/document_xml.[h|cc]: load(),
	load_after(): Take a int& failure_code output parameter to allow
	derived document classes to report a custom failure code.
	* glom/libglom/document/document.[h|cc]: load_after(): Return a
	custom failure_code for a too-new file version.
	* glom/bakery/app_withdoc.[h|cc]:
	Add a virtual ui_warning_load_failed(int failure_code) method that
	derived classes can override to respond to their own failure codes,
	with a generic default error message.
	open_document(), open_document_from_data(): Use the new method instead
	of hard-coding the error message.

	* glom/application.[h|cc]:
	open_browsed_document(), on_menu_developer_changelanguage(): Adapt.
	Add an override of ui_warning_load_failed() to show
	our custom error dialog in response to our custom failure code.
	* glom/libglom/test_document.cc: Apapted.

	Exceptions might be purer and need less code changes, but they would
	just be a container for an int failure code and it would be easier to
	not catch the error.
	This fixed bug #567102.

2009-06-04  Murray Cumming  <murrayc@murrayc.com>

	Corrected ChangeLog

2009-06-04  Murray Cumming  <murrayc@murrayc.com>

2009-06-04  Murray Cumming  <murrayc@murrayc-x61>

	* glom/libglom/data_structure/layout/layoutitem_portal.cc:
	get_navigation_relationship_specific(): Remove unnecessary this-> to
	be consistent with the rest of the code.

2009-06-04  Murray Cumming  <murrayc@murrayc.com>

	Related records portal: Hide the row button when navigation is none.

	* glom/libglom/data_structure/layout/layoutitem_portal.h:
	Add documentation for get/set_navigation_relationship_specific(),
	get/set_navigation_type() and the enum.

	* glom/mode_data/box_data_list_related.cc: enable_buttons():
	Disable editing of details when the portal has NAVIGATION_NONE.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	construct_specified_columns(): Set the button column visibility
	according to the member variable set in set_allow_view_details(),
	because the button column often does not exist when that is actually
	called.
	This completes bug #574360.

2009-06-04  Murray Cumming  <murrayc@murrayc.com>

	pdate the DTD for portal navigation and save space in XML.

	* glom/glom_document.dtd: Update for the portal navigation changes,
	as promised in bug #574360
	* glom/libglom/document/document.cc: save_before_layout_group():
	Do not even create the portal_navigation_relationship node if it is the
	default (automatic), to save space in the XML file.

2009-06-04  Murray Cumming  <murrayc@murrayc.com>

	Clean up the code to load/save portal navigation options.

	* glom/libglom/document/document.cc: load_after_layout_group():
	Loading the portal's navigation options: Use == instead of
	ustring::compare() because this is not C.
	Explicitly default to automatic, removing the comment about defaulting
	to the default in the Portal's class to preserve the deprecated file
	format. This is more obvious.
	save_before_layout_group(): Simplify the code.
	Do not write GLOM_ATTRIBUTE_PORTAL_NAVIGATIONRELATIONSHIP_MAIN because
	a) It is deprecated (should be read but not written) and b) It is not
	read or used anywhere else anyway.
	Use constants for the possible attribute values, instead of copy/pasting
	the same string constants in several places.

2009-06-04  Murray Cumming  <murrayc@murrayc.com>

	Store script module code in child text nodes.

	* glom/libglom/document/document.cc: load_after(), save_before():
	Store the (importable) python script library modules in a child text
	node instead of an attribute, as we do elsewhere, dealing with a TODO
	that I found in the DTD.
	* glom/glom_document.dtd: Update appropriately.

2009-06-04  Murray Cumming  <murrayc@murrayc.com>

	Added a little TODO.

2009-06-03  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation Signed-off-by: Jorge Gonzalez <jorgegonz@svn.gnome.org>

2009-06-02  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2009-06-02  Murray Cumming  <murrayc@murrayc.com>

	Correct the ChangeLog

2009-06-01  Murray Cumming  <murrayc@murrayc.com>

	Increased version

2009-06-01  Murray Cumming  <murrayc@murrayc.com>

	Remove ifdefs for disabled gtkmm vfuncs.

	* glom/mode_data/flowtablewithfields.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttonimage.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttonimage.h:
	* glom/utility_widgets/db_adddel/cellrenderer_buttontext.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttontext.h:
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc:
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.h:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h: Remove ifdefs for disabled gtkmm vfuncs,
	because they are no enabled in Maemo 5 (Fremantle).

2009-06-01  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2009-05-29  Armin Burgmeier  <armin@arbur.net>

	Fixed initial records not being shown when creating from example

	* glom/libglom/connectionpool.cc: After invalidating a cached
	connection, disconnect from the cached connection's "finished" signal,
	to prevent the signal handler from being called later (other code
	might still have a reference to the connection at the
	invalidate_connection point). Also added a TODO comment, because this
	can still happen in rare cases. This fixes initial records not being
	shown after creating a database from an example file.

2009-05-29  Armin Burgmeier  <armin@arbur.net>

	Added an accessible name for the mode_data notebook

	* glom/mode_data/notebook_data.cc: Added an accessible name for the
	notebook, so that it can be accessed via LDTP.

2009-05-29  Murray Cumming  <murrayc@murrayc.com>

	Remove the mention of the eggcolumnchooser subdirectory, to fix the build.

2009-05-26  Armin Burgmeier  <armin@arbur.net>

	Added window title for initial dialog and accessible names for its widgets

	* glom/glom.glade: Added a window title to the initial dialog, and
	accessible names for the two tree views in it, so they are easily
	accessible from LDTP.

2009-05-25  Armin Burgmeier  <armin@arbur.net>

	Fixed a crash when Glom was lanuched via LDTP

	* glom/dialog_existing_or_new.cc (constructor): Create the top level
	list elements before setting the cell data func, to avoid the cell
	data func being called before all the list elements have been added.
	This happended when Glom was launched via LDTP, leading to a crash.

2009-05-20  Armin Burgmeier  <armin@arbur.net>

	Speedup initial meta store update by only fetching public tables

	* glom/libglom/connectionpool_backends/backend.h:
	* glom/libglom/connectionpool_backends/postgres.h:
	* glom/libglom/connectionpool_backends/sqlite.h: Added
	get_public_schema_name() virtual function and implementations for both
	backends.

	* glom/libglom/connectionpool.cc: Only update the meta store tables
	for the public schema of the corresponding backend. This considerably
	speeds up the initial meta store update. This requires latest libgdamm
	from git.

2009-05-10  Murray Cumming  <murrayc@murrayc.com>

	Disables the Open button next to ID fields if the field is empty.

	* glom/utility_widgets/datawidget.[h|cc]:
	Added private update_go_to_details_button_sensitivity() method and
	called it whenever the value is changed by the user or set via
	set_value(). Fixes bug #565023.

2009-05-09  Murray Cumming  <murrayc@murrayc.com>

	Made fr.po non-executable to allow me to push to git.

2009-05-08  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2009-05-08  Jorge Gonzalez  <jorgegonz@svn.gnome.org>

	Updated Spanish translation by Daniel Mustieles

2009-05-07  Murray Cumming  <murrayc@murrayc.com>

	Allow non-network-shared connections when using IPv6.

	* glom/libglom/connectionpool_backends/postgres_self.cc:
	DEFAULT_CONFIG_PG_HBA_LOCAL: Add an entry in IPv6 syntax, because
	something seems to be more IPv6-like in Ubuntu Jaunty.

2009-05-07  Armin Burgmeier  <armin@arbur.net>

	Show a progress bar while loading an image

	* glom/glom.glade:
	* glom/utility_widgets/dialog_image_progress.h:
	* glom/utility_widgets/dialog_image_progress.cc:
	* glom/utility_widgets/Makefile.am: Added a dialog which loads an
	image and shows progress of the operation.

	* glom/utility_widgets/imageglom.h:
	* glom/utility_widgets/imageglom.cc: Use this dialog when the user
	selects an image to load, to indicate progress for large images.

2009-05-07  Murray Cumming  <murrayc@murrayc.com>

	Pass some sharedptr&s as const.

	* glom/utility_widgets/flowtable_dnd.h: on_dnd_add_layout_item()
	* glom/mode_data/flowtablewithfields.[h|cc]: on_dnd_add_layout_item(),
	on_entry_edited(), on_entry_open_details_requested(),
	on_dnd_add_layout_item(): Pass the sharedptr& as const.

2009-05-07  Murray Cumming  <murrayc@murrayc.com>

	Fixed minor compiler warnings and removed some virtuals.

	* glom/mode_data/flowtablewithfields.h: Made methods non-virtual where
	the virtual is unnecessary and misleading.

	* glom/utility_widgets/adddel/eggcolumnchooser/: Removed.
	* several: Fixed minor compiler warnings.

2009-05-05  Armin Burgmeier  <armin@arbur.net>

	Image loading speedup

	* glom/libglom/sharedptr.h: Added operator!=.

	* glom/mode_data/flowtablewithfields.h:
	* glom/mode_data/flowtablewithfields.cc: Added set_other_field_value
	which is the same as set_field_value except that it does not set the
	value for widget that belongs to the passed layout item's widget
	itself. This can be used if that very widget already contains the new
	value to avoid setting it again. Especially when dealing with large
	images this brings an essential speedup.

	* glom/mode_data/box_data_details.cc (on_flowtable_field_edited): Use
	set_other_field_value, so that we don't set the value for the field
	which the user already changed again.

	* glom/utility_widgets/imageglom.h:
	* glom/utility_widgets/imageglom.cc: Store the original data of the
	image file, and return it in get_value(), instead of creating a PNG
	from the raw image data, to speed up loading a large image file.

	* glom/utils_ui.cc (get_pixbuf_for_gda_value): When loading images
	from the database, allow all image types, not just PNGs.

	* glom/xsl_utils.cc: Include gtk/gtk.h to fix the build for me.

2009-04-26  Mario Blättermann  <mariobl@gnome.org>

	Updated German translation

2009-04-25  Jorge Gonzalez  <jorgegonz@svn.gnome.org>

	Updated Spanish translation by Daniel Mustieles

2009-04-24  Murray Cumming  <murrayc@murrayc.com>

	Don't network share new documents from (old) examples.

	* glom/libglom/document/document.cc: load_after(): Only assume network-sharing
	for older documents if it's not an example, so we don't have to resave all the
	examples.

2009-04-23  Murray Cumming  <murrayc@murrayc.com>

	Improved older ChangeLog entry.

2009-04-23  Murray Cumming  <murrayc@murrayc.com>

	Fix loading of old self-hosted files, broken since defaulting to no sharing.

	* glom/libglom/document/document.cc:
	get_latest_known_document_format_version(): Increase the number because we
	have added nodes/attributes.
	load_after(): For older document formats, read network_sharing as on if it
	is false (not mentioned).

2009-04-23  Murray Cumming  <murrayc@murrayc.com>

	on_document_load(): Avoid false unexpected error warning.

2009-04-23  Murray Cumming  <murrayc@murrayc.com>

	Allow to disable navigation in the related record layout.

	* glom/libglom/data_structure/layout/layoutitem_portal.[h|cc] ctor(),
	[set|get]_navigation_relationship_specific(), [set|get]_navigation_type(),
	set_navigation_type(): Replaced the flag for whether a specific navigation
	relationship should be used with an enum type, since we now have an
	additional state (no navigation relationship) in the Glom::LayoutItem_Portal
	class. Additionally, this internal state no longer needs to be exported so
	[set|get]_navigation_relationship_specific() can now be called without
	supplying a boolean output parameter.
	* glom/libglom/document/document.cc load_after_layout_group(),
	save_before_layout_group(): Added load and save support for the
	no-navigation-relationship option.
	* glom/mode_data/box_data_portal.cc get_suitable_table_to_view_details():
	Return an empty table name if the navigation relationship type was set to
	none.
	* glom/mode_data/dialog_layout_list_related.[h,cc] ctor(), update_ui(),
	save_to_document(), glom/glom_developer.glade: Insert a third choice (none)
	for the navigation radio buttons.
	* glom/mode_data/dialog_layout_calendar_related.cc update_ui(),
	save_to_document(): Replaced calls to
	LayoutItem_Portal::[set|get]_navigation_relationship_specific() that still
	used a boolean output parameter.

2009-04-19  Murray Cumming  <murrayc@murrayc.com>

	Add or check for users when activating or deactivating network sharing.

	* glom/application.cc: init_menus_file(), update_network_shared_ui():
	Make the network-sharing menu item insensitive if not in developer mode.
	on_document_load(): Some cleanup - mostly indentation changes, I think.

	* glom/dialog_connection.[h|cc]: Added set_confirm_existing_user_note():
	to change the text so we can also use this to check that the user knows
	a password before switching to network-sharing mode.
	* glom/glom_developer.glade: dialog_new_self_hosted_connection:
	Change the text to make it also appropriate for asking for a first
	password when first switching to network-sharing.

	* glom/glom_privs.[h|cc]: Added get_default_developer_user_exists(),
	get_developer_user_exists_with_password() and
	get_default_developer_user_name().
	* glom/libglom/connectionpool.cc: connect(): Catch exceptions from
	the update_meta_store_*() methods.
	set_user(), set_password(), set_database(): Completely invalidate the
	connection when these change, forcing a reconnect later.
	* glom/mode_design/users/dialog_users_list.cc
	on_button_user_remove(), on_button_user_delete(), on_button_user_new():
	Move SQL into:
	* glom/base_db.[h|cc]: add_user(), reomve_user(), remove_user_from_group().
	Added set_database_owner_user(), Glom.disable_user():
	(Glom.type_list_lookups): (Glom.add_standard_groups,

	* glom/libglom/connectionpool_backends/postgres_self.cc
	DEFAULT_CONFIG_PG_HBA_LOCAL: For non-network-shared instances, use
	trust authentication (though we still need to specify a user).
	* glom/libglom/connectionpool_backends/postgres.cc: create_auth_string():
	Avoid an odd auth_string if the username or password are emtpy, though
	I don't think we actually do this.

	* glom/frame_glom.[h|cc]: connection_request_initial_password(),
	Added this, moving some exisiting code here, to avoid duplication.
	connection_request_password_and_choose_new_database_name(),
	connection_request_password_and_attempt(): Use the default user/password
	if we are not network shared.
	on_menu_file_toggle_share(): Check that we are in developer mode.
	Before starting network sharing, check that the user knows a
	current developer password, or ask for a new one.
	Before stopping network sharing, add/activate the default user.

2009-04-19  Murray Cumming  <murrayc@murrayc.com>

	Makes navigation work to alternate specified relationships.

	* glom/mode_data/flowtablewithfields.cc: on_portal_user_requested_details():
	Don't default to navigating to just the immediate related table. Instead,
	always use the navigation options, by always calling
	LayoutItem_Portal::get_suitable_record_to_view_details().
	Bug #579172 (Michael Hasselmann)

2009-04-18  Jorge Gonzalez  <jorgegonz@svn.gnome.org>

	Updated Spanish translation by Daniel Mustieles

2009-04-11  Murray Cumming  <murrayc@murrayc.com>

	add_standard_groups(): Give the developer group SUPERUSER rights, fixing a

2009-04-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: add_standard_groups(): Give the developer group
	SUPERUSER rights, fixing a problem in another patch I am working on.
	I am surprised that this was not a problem before - maybe because the
	user (instead of the group) always had superuser rights via the
	command line database initialization.

	svn path=/trunk/; revision=2056

2009-04-10  Murray Cumming  <murrayc@murrayc.com>

	Add a File/Share On Network toggle menu item. Added

2009-04-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.[h|cc] init_menus_file(): Add a File/Share On Network 
	toggle menu item. Added update_network_shared_ui() to ensure that it 
	is checked when appropriate.
	open_browsed_document(), on_document_load(): 
	Call update_network_shared_ui().
	* glom/frame_glom.[h|cc]: on_menu_file_toggle_share(): Handle the 
	new menu item, to change the configration and restart the server.

	* glom/libglom/document/document.cc: Added set_network_shared(), 
	get_network_shared(). load_after(), save_before(): Save it in the 
	document. This is the default that will be used when opening a document.
	It defaults to not shared.
	* glom/glom_document.dtd: Document the new network_shared XML attribute.

	* glom/libglom/connectionpool.[h|cc]: get_and_connect(): Only start avahi 
	publishing if we are shared on the network.
	set_network_shared(): Added this private function to change the configuration.
	initialize(), startup(): Added network_shared parameter.
	cleanup(): Call invalidate_connection() to prevent use of a connection 
	to a stopped server., 
	* glom/libglom/connectionpool_backends/backend.[h|cc]: initialize,
	startup, set_network_shared(): Same change as for ConnectionPool.
	* glom/libglom/connectionpool_backends/postgres_self.[h|cc]:
	initialize(): set_network_share(): Move config file writing to 
	set_network_share() and use different pg_hba.conf contents depending on 
	whether we are shared on the network.
	startup(): Ensure that the configuration is correct.

	svn path=/trunk/; revision=2055

2009-04-09  Murray Cumming  <murrayc@src.gnome.org>

	Improved Changelog

	svn path=/trunk/; revision=2054

2009-04-09  Murray Cumming  <murrayc@murrayc.com>

	get_and_connect(): Check that m_backend is not null, to avoid a critical

2009-04-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: get_and_connect(): Check that 
	m_backend is not null, to avoid a critical warning.

	svn path=/trunk/; revision=2053

2009-04-09  Murray Cumming  <murrayc@murrayc.com>

	Added glom_python_module_is_available() and

2009-04-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/python_embed/glom_python.[h|cc]: 
	Added glom_python_module_is_available() and 
	gda_python_module_is_available().
	* glom/main.cc: Use them to do some extra runtime sanity checking, 
	warning the user if their install is broken.

	svn path=/trunk/; revision=2052

2009-04-09  Michael Hasselmann  <michaelh@openismus.com>

	Introduced new error code FAILURE_NO_BACKEND which shall be used to detect

	2009-04-09  Michael Hasselmann <michaelh@openismus.com>

	* glom/libglom/connectionpool_backends/backend.h:
	Introduced new error code FAILURE_NO_BACKEND which shall be used to
	detect logical errors in the backend implementations.
	* glom/libglom/connectionpool_backends/postgres_self.cc (connect):
	Set error correctly if no self-hosted instance is active.
	* glom/libglom/connectionpool.cc (connect, cleanup):
	Added a g_return_val_if_fail to check whether there is a backend to
	connect to. Also reset m_ready_to_connect flag to false during
	cleanup, which stops Glom from behaving funnily if the user supplies
	wrong credentials (see bug #577821):
	- The user enters wrong credentials, gets a 'Connection failed' dialog
	the first time. Then, enters wrong credentials a second time, gets no
	dialog (but gets dialog for next try and so on).
	- Glom would crash if the user tried to open another document, then decides
	to abort and only opens another document (much) later (which would
	look like a random crash then).
	The ConnectionPool class could perhaps be made more robust concerning
	that flag since it currently allows inconsistent states.

	svn path=/trunk/; revision=2051

2009-04-05  Philip Withnall  <philip@tecnocode.co.uk>

	Add xgettext:no-c-format to a string used with strftime which gettext is

2009-04-05  Philip Withnall  <philip@tecnocode.co.uk>

	* glom/libglom/data_structure/glomconversions.cc: Add
	xgettext:no-c-format to a string used with strftime which 
	gettext is
	erroneously marking as c-format. (Closes: #578013)

	svn path=/trunk/; revision=2050

2009-04-05  Philip Withnall  <philip@tecnocode.co.uk>

	Updated British English translation by Jen Ockwell

2009-04-05  Philip Withnall  <philip@tecnocode.co.uk>

	* en_GB.po: Updated British English translation by Jen Ockwell
	<jenfraggleubuntu@gmail.com>.

	svn path=/trunk/; revision=2049

2009-04-05  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=2048

2009-04-03  Murray Cumming  <murrayc@murrayc.com>

	connection_request_password_and_attempt(): When the password fails, just

2009-04-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: connection_request_password_and_attempt():
	When the password fails, just loop around the while again to ask again, 
	instead of showing a one-off extra dialog. That fixes the problem of being 
	asked twice when the first try failed.
	Load the document outside of the while() instead of each time we ask for the 
	password.

	svn path=/trunk/; revision=2047

2009-04-02  Armin Burgmeier  <armin@openismus.com>

	Fixed the logic in this function to allow two different glom instances to

2009-04-02  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool_backends/postgres_self.cc
	(discover_first_free_port): Fixed the logic in this function to allow
	two different glom instances to self-host a database at the same time.

	svn path=/trunk/; revision=2045

2009-03-31  Murray Cumming  <murrayc@murrayc.com>

	get_fields_for_table_from_database(): Use the libgda metastore API (almost

2009-03-31  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_fields_for_table_from_database(): Use the libgda 
	metastore API (almost as nasty as the schema API) to get the primarykeyness, 
	because the schema API does not give us this, for no good reason that I can 
	see. Anyway, it works, allowing us to use pre-existing databases.

	svn path=/trunk/; revision=2044

2009-03-31  Murray Cumming  <murrayc@src.gnome.org>

	Update POTFILES.in

	svn path=/trunk/; revision=2041

2009-03-31  Murray Cumming  <murrayc@murrayc.com>

	Renamed to document.[h|cc]: Adapted.

2009-03-31  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.[h|cc]: Renamed to document.[h|cc]:
	* *.[h|cc]: Adapted.

	svn path=/trunk/; revision=2040

2009-03-31  Murray Cumming  <murrayc@murrayc.com>

	Renamed Document_Glom to Document, and type_vec* to type_vec_* in all

2009-03-31  Murray Cumming  <murrayc@murrayc.com>

	* Renamed Document_Glom to Document, and type_vec* to type_vec_* in all 
	lower case, to make the API more consistent.

	svn path=/trunk/; revision=2039

2009-03-31  Murray Cumming  <murrayc@murrayc.com>

	Remove definitions that are in glom/libglom/libglom_config_h.in Depend on

2009-03-31  Murray Cumming  <murrayc@murrayc.com>

	* config.h.in: Remove definitions that are in 
	glom/libglom/libglom_config_h.in
	* configure.ac: Depend on pygobject instead of pygtk and remove duplicate 
	dependencies in Glom and libglom.
	* glom/libglom/document/document_glom.h: Remove SWIG directives because I 
	am now using a separate SWIG .i file.
	* po/POTFILES.in: Updated.

	svn path=/trunk/; revision=2038

2009-03-30  Claude Paroz  <claude@2xlibre.net>

	Updated French translation

2009-03-30  Claude Paroz  <claude@2xlibre.net>

	* fr.po: Updated French translation

	svn path=/trunk/; revision=2037

2009-03-30  Murray Cumming  <murrayc@murrayc.com>

	Added this file with libglom_init() and libglom_deinit(), containing some

2009-03-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/Makefile.am:
	* glom/libglom/init.[h|cc]: Added this file with libglom_init() and 
	libglom_deinit(), containing some code that was in main(). This allows 
	code other than Glom to use libglom.
	* glom/main.cc: Call the new functions, replacing some code.
	* glom/libglom/test_document.cc: Call the new functions.

	svn path=/trunk/; revision=2036

2009-03-30  Murray Cumming  <murrayc@murrayc.com>

	Remove the gtkmm dependency from libglom.

2009-03-30  Murray Cumming  <murrayc@murrayc.com>

	* configure.ac: Remove the gtkmm dependency from libglom.

	* glom/libglom/Makefile.am:
	* glom/bakery/Makefile.am:
	* glom/libglom/busy_cursor.[h|cc]: Moved this to glom/bakery/.

	* glom/libglom/data_structure/glomconversions.[h|cc]:
	Moved get_pixbuf_for_gda_value() to glom/utils_ui.[h|cc].

	* glom/libglom/*.[h|cc]: Adapted, and removed any gtkmm or gdkmm headers.

	svn path=/trunk/; revision=2035

2009-03-30  Murray Cumming  <murrayc@murrayc.com>

	Added missing file to fix the build.

2009-03-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/glade_utils.cc: Added missing file to fix the build.

	* glom/Makefile.am:
	* glom/libglom/Makefile.am:
	* glom/libglom/utils.cc:
	* glom/libglom/utils.h: Moved some of these functions to new 
	glom/utils_ui.[h|cc] files to avoid having the UI stuff in libglom.
	*.cc: Adapted.
	glom/libglom/connectionpool.[h|cc]:
	* glom/libglom/connectionpool_backends/backend.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres_self.[h|cc]: 
	initialize(): Return an enum instead of a bool, to report errors, instead of 
	showing a UI warning here.
	Added set_avahi_publish_callbacks() to avoid showing that UI here.
	* glom/frame_glom.[h|cc]: Adapt to the new API, showing UI here instead of 
	in libglom.

	* glom/libglom/spawn_with_feedback.cc: Disconnect the progress timeout 
	dlers.

	* glom/libglom/data_structure/layout/layoutitem_image.[h|cc]: Removed 
	get_image_as_pixbuf() to avoid a gtkmm dependency in libglom. Made m_image 
	public instead, to avoid performance problems with copying lots of binary 
	data via a get*() method.
	* glom/libglom/document/document_glom.cc: Adapted.

	* glom/libglom/data_structure/print_layout.[h|cc]: Use a string instead of a 
	Gtk::PrintLayout, using the Glib::KeyFile format, to avoid depending on gtkmm 
	in libglom.
	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.cc: Adapted.

	svn path=/trunk/; revision=2034

2009-03-27  Murray Cumming  <murrayc@murrayc.com>

	Added on_document_close() virtual method now that we can break this ABI.

2009-03-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/bakery/app_withdoc.[h|cc]: Added on_document_close() virtual method 
	now that we can break this ABI.
	* glom/application.[h|cc]: Override on_document_close().
	* glom/libglom/document/document_glom.cc: Destructor: Don't shutdown the 
	database here. Do in App_Glom::on_document_close() instead.

	* glom/libglom/Makefile.am:
	* glom/libglom/spawn_with_feedback.[h|cc]: execute_command_line_and_wait(),
	execute_command_line_and_wait_until_second_command_returns_success():
	Take a SlotProgress callback instead of a parent window, and don't take 
	a human-readable message string to show, allowing the caller to show UI if 
	it wants, removing UI code from this part of libglom.
	Use a Glib::MainLoop to block instead of using the Gtk::Main in 
	Gtk::Dialog::run().
	* glom/libglom/connectionpool.[h|cc]: initialize(), startup, cleanup():
	* glom/libglom/connectionpool_backends/backend.[h|cc]: initialize(),
	startup(), cleanup():
	* glom/libglom/connectionpool_backends/postgres_self.cc: initialize(), 
	startup, cleanup(): Take a SlotProgress callback instead of a parent window, 
	allowing the caller to show UI if it wants, removing UI code from this part of 
	libglom.

	glom/Makefile.am:
	* glom/libglom/dialog_progress_creating.[h|cc]: moved to 
	* glom/glom/glade_utils.[h|cc]: Moved get_and_show_pulse_dialog() here.

	* glom/dialog_new_self_hosted_connection.[h|cc]:
	* glom/frame_glom.[h|cc]: 
	connection_request_password_and_choose_new_database_name(), 
	connection_request_password_and_attempt(): Adapted.

	svn path=/trunk/; revision=2033

2009-03-27  Murray Cumming  <murrayc@murrayc.com>

	Do two separate PKG_CONFIG_MODULE() checks for Glom and libglom to avoid

2009-03-27  Murray Cumming  <murrayc@murrayc.com>

	* configure.ac, glom/libglom/*/Makefile.am: Do two separate 
	PKG_CONFIG_MODULE() checks for Glom and libglom to avoid unnecessary 
	dependencies in libglom.
	* Moved libglom/glade_utils.h to glom/libglom/glade_utils.h.
	* *.[h|cc]: Some incomplete improvement of includes, to use full paths, to 
	make search/replace refactoring easier.

	svn path=/trunk/; revision=2032

2009-03-26  Murray Cumming  <murrayc@murrayc.com>

	Depend on the latest goocanvasmm for the new API.

2009-03-26  Murray Cumming  <murrayc@murrayc.com>

	* configure.ac: Depend on the latest goocanvasmm for the new API.
	* glom/libglom/document/bakery/Makefile.am:
	* glom/libglom/document/bakery/view/Makefile.am: Install the headers as in 
	the other directories.
	* glom/libglom/document/document_glom.h: Tell SWIG to add using Glom because 
	it gets confused about the namespace.

	svn path=/trunk/; revision=2031

2009-03-26  Murray Cumming  <murrayc@murrayc.com>

	Removed this. Added this, which is the updated version. glom/*/*.am Fixed

2009-03-26  Murray Cumming  <murrayc@murrayc.com>

	* configure.ac:
	* macros/macros.m4: Removed this.
	* macros/dk-warn.m4: Added this, which is the updated version.
	* glom/*/*.am
	* glom/*/*.cc: Fixed some warnings.

	svn path=/trunk/; revision=2030

2009-03-25  Murray Cumming  <murrayc@murrayc.com>

	get_xy(), set_xy(): Use the new height property instead of faking it.

2009-03-26  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_table_movable.[h|cc]: get_xy(),
	set_xy(): Use the new height property instead of faking it.

	svn path=/trunk/; revision=2029

2009-03-25  Murray Cumming  <murrayc@murrayc.com>

	get_xy(), set_xy(), get_width_height(), set_width_height(): Use the new

2009-03-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_line_movable.cc: get_xy(), 
	set_xy(), get_width_height(), set_width_height():
	* glom/utility_widgets/canvas/canvas_text_movable.cc
	get_width_height, set_width_height(): Use the new properties instead 
	of our custom implementations.

	svn path=/trunk/; revision=2028

2009-03-25  Murray Cumming  <murrayc@murrayc.com>

	get_xy(), set_xy(), get_width_height(), set_width_height(): Use the new

2009-03-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_line_movable.cc: get_xy(), 
	set_xy(), get_width_height(), set_width_height():
	* glom/utility_widgets/canvas/canvas_text_movable.cc
	get_width_height, set_width_height(): Use the new properties instead 
	of our custom implementations.

	svn path=/trunk/; revision=2027

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	Stop the mainloop when the window is hidden, and then delete it. I think

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/main.cc: Stop the mainloop when the window is hidden, and then 
	delete it. I think this was done by AppInstanceManager before.

	svn path=/trunk/; revision=2026

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	Rename the files to make them lower case just because the inconsistency

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/bakery/:
	* glom/libglom/document/bakery/: Rename the files to make them lower 
	case just because the inconsistency has always annoyed me.
	* glom/*.[h|cc]: Adapted.

	svn path=/trunk/; revision=2025

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	Added a SWIG hint telling it how to include this header.

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.h: Added a SWIG hint telling it how to 
	include this header.

	svn path=/trunk/; revision=2024

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	Removed more unnecessary virtuals.

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/bakery/Document.h: 
	* glom/libglom/document/bakery/Document_XML.h: Removed more unnecessary 
	virtuals.

	svn path=/trunk/; revision=2023

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	Removed more unnecessary virtuals.

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/bakery/Document.h: Removed more unnecessary 
	virtuals.

	svn path=/trunk/; revision=2022

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	Remove add_ui_from_string() because it is in App_WithDoc_Gtk too. Make

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.[h|cc]: Remove add_ui_from_string() because it is 
	in App_WithDoc_Gtk too.
	* glom/bakery/App_WithDoc_Gtk.h: Make init_menus_file_recentfiles() 
	non virtual because nothing overrides it.

	svn path=/trunk/; revision=2021

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	Remove this, merging it into: allowing us to remove some awkward virtual

	2009-03-24  Murray Cumming <murrayc@murrayc.com>

	* glom/bakery/Makefile.am:
	* glom/bakery/App_WithDoc.h:
	* glom/bakery/App_Gtk.[h|cc]: Remove this, merging it into:
	* glom/bakery/App_WithDoc_Gtk.[h|cc]: allowing us to remove some 
	awkward virtual inheritance.
	* glom/bakery/Dialog_OfferSave.cc:
	* glom/application.cc:
	* glom/utility_widgets/adddel/adddel.cc: Adapted.

	svn path=/trunk/; revision=2020

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	Remove this, moving the code into these functions that previously just

2009-03-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/bakery/Makefile.am:
	* glom/bakery/GtkDialogs.[h|cc]: Remove this, moving the code into 
	these functions that previously just called the same named functions 
	in GtkDialogs, for reasons that are no longer relevant:
	* glom/bakery/App_WithDoc_Gtk.cc ui_warning(),
	ui_file_select_open(), uri_is_writable(),
	ui_file_select_save(), ui_offer_to_save_changes().

	svn path=/trunk/; revision=2019

2009-03-23  Murray Cumming  <murrayc@murrayc.com>

	Added a load() that just calls the base class, just to make life easier

2009-03-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.[h|cc]: Added a load() that just calls 
	the base class, just to make life easier for SWIG, so it can ignore the base 
	class for client-only API.

	svn path=/trunk/; revision=2018

2009-03-23  Mario Blättermann  <mariobl@src.gnome.org>

	Updated German translation

	svn path=/trunk/; revision=2017

2009-03-22  Murray Cumming  <murrayc@murrayc.com>

	new_instance(): Spawn a new process via a a command line command.

2009-03-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.[h|cc]: new_instance(): Spawn a new process via a 
	a command line command.
	* glom/bakery/App.[h|cc]: new_instance(): Take a uri parameter.
	on_menu_file_new():
	* glom/bakery/App_WithDoc.cc: open_document():
	new_instance() is now expected to start a new process instead of 
	returning a new C++ instance.

	This means that File/New and File/Open will start a new independent 
	process.

	svn path=/trunk/; revision=2016

2009-03-22  Murray Cumming  <murrayc@murrayc.com>

	Reverted this change because each instance is now an independent process,

2009-03-22  Murray Cumming  <murrayc@murrayc.com>

	Reverted this change because each instance is now an independent 
	process, or soon will be when I have made some more changes:

	* configure.ac: Depend on libunique-1.0
	* glom/bakery/App_WithDoc_Gtk.[h|cc]: Added set_unique_app(), to make 
	the app handle UniqueApp messages, to start new instances or open files.
	* glom/main.cc: Use set_unique_app() and send messages to the existing 
	instance instead of starting a new instance, if one is already running.

	svn path=/trunk/; revision=2015

2009-03-22  Murray Cumming  <murrayc@murrayc.com>

	Removed this class.

2009-03-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/bakery/Makefile.am:
	* glom/bakery/AppInstanceManager.[h|cc]: Removed this class.
	* glom/application.cc:
	* glom/bakery/App.cc:
	* glom/bakery/App.h:
	* glom/bakery/App_Gtk.cc:
	* glom/bakery/App_Gtk.h:
	* glom/bakery/App_WithDoc.cc:
	* glom/bakery/App_WithDoc_Gtk.cc: Removed management of multiple 
	instances. Each Glom window is now isolated. That is necessary anyway 
	because we have been storing a global application pointer separately 
	anyway for a while now, which broke this.

	This would need to use some single-instance DBus thing anyway to make 
	it work properly between processes (started from the Application menu.)
	That would be nice. Then we could really check if a file is already 
	open, like gedit does.

	svn path=/trunk/; revision=2014

2009-03-21  Armin Burgmeier  <armin@openismus.com>

	Don't run autoheader.

2009-03-21  Armin Burgmeier  <armin@openismus.com>

	* autogen.sh: Don't run autoheader.

	* configure.ac: Prevent execution of autoheader with
	--enable-maintainer-mode. Copied from glibmm.

	* glom/libglom/libglom_config.h.in: Added include guards.

	* config.h.in: Added this file which was previously generated by
	autoheader. Removed the prefixed definitions from it but include
	glom/libglom/libglom_config.h instead. This prevents warnings about
	redefinitions when both config.h and libglom_config.h are included in
	a translation unit.

	svn path=/trunk/; revision=2013

2009-03-20  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=2012

2009-03-20  Murray Cumming  <murrayc@src.gnome.org>

	Really restored files.

	svn path=/trunk/; revision=2011

2009-03-20  Murray Cumming  <murrayc@murrayc.com>

	check_postgres_gda_client_is_available_with_warning(): Avoid a warning

2009-03-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool_backends/postgres.cc:
	check_postgres_gda_client_is_available_with_warning(): Avoid a 
	warning when libgda sometimes gives us a non-string GValue from 
	gda_config_list_providers(), which is a silly API.

	svn path=/trunk/; revision=2010

2009-03-20  Murray Cumming  <murrayc@murrayc.com>

	Remove checks for GTK+ 2.10. We really have it now.

2009-03-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/bakery/App_WithDoc_Gtk.cc: Remove checks for GTK+ 2.10. We really 
	have it now.

	svn path=/trunk/; revision=2009

2009-03-20  Murray Cumming  <murrayc@murrayc.com>

	Depend on libunique-1.0 Added set_unique_app(), to make the app handle

2009-03-20  Murray Cumming  <murrayc@murrayc.com>

	* configure.ac: Depend on libunique-1.0
	* glom/bakery/App_WithDoc_Gtk.[h|cc]: Added set_unique_app(), to make 
	the app handle UniqueApp messages, to start new instances or open files.
	* glom/main.cc: Use set_unique_app() and send messages to the existing 
	instance instead of starting a new instance, if one is already running.

	svn path=/trunk/; revision=2008

2009-03-19  Murray Cumming  <murrayc@src.gnome.org>

	Revert my last change because we really should use a real single instance system so we can still have New and Open menu items.

	svn path=/trunk/; revision=2007

2009-03-19  Murray Cumming  <murrayc@murrayc.com>

	Removed this class.

2009-03-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/bakery/Makefile.am:
	* glom/bakery/AppInstanceManager.[h|cc]: Removed this class.
	* glom/application.cc:
	* glom/bakery/App.cc:
	* glom/bakery/App.h:
	* glom/bakery/App_Gtk.cc:
	* glom/bakery/App_Gtk.h:
	* glom/bakery/App_WithDoc.cc:
	* glom/bakery/App_WithDoc_Gtk.cc: Removed management of multiple 
	instances. Each Glom window is now isolated. That is necessary anyway 
	because we have been storing a global application pointer separately 
	anyway for a while now, which broke this.

	This would need to use some single-instance DBus thing anyway to make 
	it work properly between processes (started from the Application menu.)
	That would be nice. Then we could really check if a file is already 
	open, like gedit does.

	svn path=/trunk/; revision=2006

2009-03-19  Murray Cumming  <murrayc@murrayc.com>

	Fixed compiler warnings. Used GLOM defines instead of BAKERY defines.

2009-03-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/bakery/*.[h|cc]: Fixed compiler warnings. Used GLOM defines 
	instead of BAKERY defines.
	* po/POTFILES.in: Added the bakery files.

	svn path=/trunk/; revision=2005

2009-03-18  Murray Cumming  <murrayc@murrayc.com>

	Correct the libgdamm and libgda versions needed.

2009-03-18  Murray Cumming  <murrayc@murrayc.com>

	* configure.ac: Correct the libgdamm and libgda versions needed.

	svn path=/trunk/; revision=2004

2009-03-18  Murray Cumming  <murrayc@murrayc.com>

	Include config.h using <> instead of , to be consistent with elsewhere.

2009-03-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/bakery/App_Gtk.cc:
	* glom/bakery/App_WithDoc.cc:
	* glom/bakery/App_WithDoc_Gtk.cc:
	* glom/bakery/Dialog_OfferSave.cc:
	* glom/bakery/GtkDialogs.cc:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/data_structure/iso_codes.cc:
	* glom/libglom/document/bakery/Document.cc:
	* glom/libglom/document/bakery/view/View.h:
	* glom/main.cc:
	* glom/translation/window_translations.cc: Include config.h using <> 
	instead of , to be consistent with elsewhere.

	svn path=/trunk/; revision=2002

2009-03-17  Murray Cumming  <murrayc@murrayc.com>

	check_postgres_gda_client_is_available_with_warning(): Actually check.

2009-03-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool_backends/postgres.cc:
	check_postgres_gda_client_is_available_with_warning(): Actually check.
	This was commented out because the libgda-4.0 API for it is unpleasant.

	svn path=/trunk/; revision=2000

2009-03-17  Murray Cumming  <murrayc@src.gnome.org>

	2009-03-17  Murray Cumming  <murrayc@murrayc.com

	* glom/glom_developer.glade: Remove superfluous empty TextBuffer objects, 
	to avoid warnigns, but we still have problems with Adjustments.
	See GtkBuilder bug #575714.

	svn path=/trunk/; revision=1999

2009-03-17  Murray Cumming  <murrayc@murrayc.com>

	Remove the libglademm dependency.

2009-03-17  Murray Cumming  <murrayc@murrayc.com>

	* configure.ac: Remove the libglademm dependency.
	* glom/glom.glade:
	* glom/glom_developer.glade: Resaved as GtkBuilder format in glade-3.
	* glom/Makefile.am:
	* glom/variablesmap.[h|cc]: Copied this from libglademm and adapted it to 
	Gtk::Builder.
	* glom/*.[h|cc]: Use Gtk::Builder instead of Gnome::Glade::Xml. The changes 
	are mostly just search/replace.

	svn path=/trunk/; revision=1998

2009-03-17  Murray Cumming  <murrayc@murrayc.com>

	Remove bakery dependency.

2009-03-17  Murray Cumming  <murrayc@murrayc.com>

	* configure.ac: Remove bakery dependency.
	* glom/Makefile.am:
	* glom/bakery/: Added copies of the Bakery/App files.
	* glom/libglom/document/bakery/: Added copies of the Bakery Document 
	and View files.
	This allows us to change the Bakery ABI when we need to. We already 
	do unusually hacky things with Bakery so this is reasonable.

	svn path=/trunk/; revision=1997

2009-03-17  Murray Cumming  <murrayc@murrayc.com>

	Remove the reimplementation of Gtk::ComboBoxText now that we can use gtkmm

2009-03-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/combo_textglade.[h|cc]: Remove the reimplementation 
	of Gtk::ComboBoxText now that we can use gtkmm 2.14.
	* glom/frame_glom.cc:
	* glom/libglom/data_structure/glomconversions.cc:
	* glom/mode_design/dialog_add_related_table.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/script_library/dialog_script_library.cc:
	* glom/mode_design/users/dialog_users_list.cc: Adapted.
	* glom/libglom/document/document_glom.cc: save_before: Remove another 
	gtkmm 2.10 workaround.

	svn path=/trunk/; revision=1996

2009-03-17  Murray Cumming  <murrayc@murrayc.com>

	Depend on gtkmm 2.14 rather than gtkmm 2.10.

2009-03-17  Murray Cumming  <murrayc@murrayc.com>

	* configure.ac: Depend on gtkmm 2.14 rather than gtkmm 2.10.

	* glom/Makefile.am: 
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/calendar/: Remove copy of Gtk::Calendar.
	* glom/mode_data/box_data_calendar_related.h: Adapted.

	* glom/application.cc:: init_toolbars(), add_ui_from_string():
	* glom/dialog_existing_or_new.cc: constructor, get_uri(), 
	existing_icon_data_func():
	* glom/dialog_existing_or_new.h
	* glom/layout_item_dialogs/box_formatting.cc: get_formatting():
	* glom/libglom/data_structure/print_layout.cc: Constructor, operator=():

	* glom/mode_design/print_layouts/canvas_print_layout.cc: set_print_layout():
	* glom/mode_design/print_layouts/window_print_layout_edit.cc: 
	get_icon_for_toolbar_item(), on_canvas_drag_drop(), on_canvas_drag_motion():
	* glom/xsl_utils.cc: transform_and_open(): 
	Remove workarounds for gtkmm 2.10 now that we can depend on gtkmm 2.14.
	This is not really necessary but it's nice to clean up the code.

	svn path=/trunk/; revision=1995

2009-03-17  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1994

2009-03-16  Mario Blättermann  <mariobl@src.gnome.org>

	Updated German translation

	svn path=/trunk/; revision=1993

2009-03-16  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1991

2009-03-16  Murray Cumming  <murrayc@murrayc.com>

	Check for GTK+ 2.14, not GTK+ 2.16, because the GtkCalendar details_func

2009-03-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/calendar/glomcalendar.[h|cc]:
	* glom/utility_widgets/calendar/glomgtkcalendar.[h|c]: Check for GTK+ 2.14, 
	not GTK+ 2.16, because the GtkCalendar details_func API is in 2.14.
	Correct a typedef to fix the build in that case.

	svn path=/trunk/; revision=1990

2009-03-16  Armin Burgmeier  <armin@openismus.com>

	Converted a C++ comment to a C comment, to avoid a warning.

2009-03-16  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/gst-package.c: Converted a C++ comment to a C comment,
	to avoid a warning.

	* glom/main.cc (main): Fixed the build on Linux, which was broken
	since my last commit.

	svn path=/trunk/; revision=1989

2009-03-13  Armin Burgmeier  <arminb@src.gnome.org>

	svn path=/trunk/; revision=1988

	svn path=/trunk/; revision=1988

2009-03-13  Murray Cumming  <murrayc@src.gnome.org>

	Minor formatting corrections.

	svn path=/trunk/; revision=1987

2009-03-13  Murray Cumming  <murrayc@murrayc.com>

	Do not warn about a false failure.

2009-03-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/box_db_table_definition.
	field_has_null_values(): Do not warn about a false failure. 

	svn path=/trunk/; revision=1986

2009-03-13  Murray Cumming  <murrayc@murrayc.com>

	connect(): Update the meta store for just the data types and the table

2009-03-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: connect(): Update the meta store for 
	just the data types and the table names, instead of everything. This is 
	slightly faster. This needs libgdamm from svn.
	More about the libgda meta store speed here:
	http://bugzilla.gnome.org/show_bug.cgi?id=575235

	svn path=/trunk/; revision=1985

2009-03-13  Murray Cumming  <murrayc@murrayc.com>

	Avoid an extra update_meta_store() when exceptions are disabled.

2009-03-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/fieldtypes.cc: Avoid an extra 
	update_meta_store() when exceptions are disabled.
	* glom/navigation/box_tables.cc: fill_table_row(): Avoid a crash when 
	the TableInfo is null.

	svn path=/trunk/; revision=1984

2009-03-13  Murray Cumming  <murrayc@murrayc.com>

	Fix the build when GLOM_CONNECTION_DEBUG is defined.

2009-03-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool_backends/postgres.cc: Fix the build when 
	GLOM_CONNECTION_DEBUG is defined.

	svn path=/trunk/; revision=1983

2009-03-13  Andre Klapper  <a9016009@gmx.de>

	Updated Czech translation by Pavel Mlčoch and Lucas Lommer.

2009-03-13  Andre Klapper  <a9016009@gmx.de>

	* cs.po: Updated Czech translation by Pavel Mlčoch and Lucas Lommer.

	svn path=/trunk/; revision=1982

2009-03-12  Murray Cumming  <murrayc@murrayc.com>

	Do not install some headers that are for API that I do not really want

2009-03-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/Makefile.am: Do not install some headers that are for 
	API that I do not really want other people to use.

	svn path=/trunk/; revision=1981

2009-03-12  Murray Cumming  <murrayc@murrayc.com>

	Copy a newer version from libegg, which already fixed the use of

2009-03-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/eggcolumnchooser/: Copy a newer version from 
	libegg, which already fixed the use of deprecated GTK+ macros.
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h: child_type_vfunc(): Use GType instead 
	of deprecated GtkType.
	This mostly fixes bug #575021 (André Klapper).

	svn path=/trunk/; revision=1980

2009-03-12  Murray Cumming  <murrayc@murrayc.com>

	Rename to configure.ac, because configure.in is deprecated by recent

2009-03-12  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Rename to configure.ac, because configure.in is 
	deprecated by recent autotools.

	svn path=/trunk/; revision=1979

2009-03-12  Armin Burgmeier  <armin@openismus.com>

	Added config.h to AC_CONFIG_FILES, so that we create two config files:

2009-03-12  Armin Burgmeier  <armin@openismus.com>

	* configure.in: Added config.h to AC_CONFIG_FILES, so that we create
	two config files: config.h with all definitions, and libglom_config.h
	which contains only definitions prefixed with GLOM_ to be installed.
	This means header files cannot use non-prefixed definitions.

	* glom/libglom/libglom_config.h.in: New file containing the
	definitions to be installed.

	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/data_structure/iso_codes.cc:
	* glom/translation/window_translations.cc:
	* glom/utility_widgets/calendar/glomgtkcalendar.h:
	* glom/utility_widgets/calendar/glomgtkcalendar.c:
	* glom/application.cc:
	* glom/main.cc: Adapt the code by including config.h instead of
	libglom_config.h.

	svn path=/trunk/; revision=1978

2009-03-10  Murray Cumming  <murrayc@src.gnome.org>

	Increased version.

	svn path=/trunk/; revision=1977

2009-03-10  Armin Burgmeier  <armin@openismus.com>

	Only install the postgres and sqlite libgda provider, and not all the

2009-03-10  Armin Burgmeier  <armin@openismus.com>

	* win32/build_installer: Only install the postgres and sqlite libgda
	provider, and not all the others. This prevents libgda from trying to
	load them, and fail doing so with a user-visible message about some
	DLLs not being found.

	svn path=/trunk/; revision=1976

2009-03-10  Armin Burgmeier  <armin@openismus.com>

	Made reports work on Windows, by using Glib::get_tmp_dir() instead of

2009-03-10  Armin Burgmeier  <armin@openismus.com>

	* glom/xsl_utils.cc: Made reports work on Windows, by using
	Glib::get_tmp_dir() instead of "/tmp" and ShellExecute instead of
	g_app_info_launch_default_for_uri(), for which file:// URIs don't seem
	to be supported on Windows.

	* win32/build_installer: Don't ship libdb47.dll anymore, as this is no
	longer required with libgda 3.99.13.

	svn path=/trunk/; revision=1975

2009-03-09  Claude Paroz  <claude@2xlibre.net>

	Updated French translation by Yannick Tailliez and Stéphane Raimbault.

2009-03-09  Claude Paroz  <claude@2xlibre.net>

	* fr.po: Updated French translation by Yannick Tailliez and Stéphane
	Raimbault.

	svn path=/trunk/; revision=1974

2009-03-09  Claude Paroz  <claude@2xlibre.net>

	Add a translator comment. Bug #574672.

2009-03-09  Claude Paroz  <claude@2xlibre.net>

	* glom/mode_data/dialog_layout_details.cc: Add a translator comment.
	Bug #574672.

	svn path=/trunk/; revision=1973

2009-03-09  Murray Cumming  <murrayc@murrayc.com>

	Require the latest (from svn, not yet in a tarball) version of libgda,

2009-03-09  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Require the latest (from svn, not yet in a tarball) version 
	of libgda, needed by the images in the example files.

	svn path=/trunk/; revision=1972

2009-03-09  Jonh Wendell  <jwendell@gnome.org>

	Updated Brazilian Portuguese translation by Daniel S. Koda and myself.

	2009-03-09  Jonh Wendell <jwendell@gnome.org>

	* pt_BR.po: Updated Brazilian Portuguese translation by Daniel S. Koda
	and myself.

	svn path=/trunk/; revision=1971

2009-03-09  Armin Burgmeier  <arminb@src.gnome.org>

	svn path=/trunk/; revision=1970

	svn path=/trunk/; revision=1970

2009-03-09  Murray Cumming  <murrayc@murrayc.com>

	HostingMode: Declare all enum values regardless of what is enabled, to

2009-03-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.h: HostingMode: Declare all enum 
	values regardless of what is enabled, to avoid ABI confusion and to maybe 
	allow us to say that some are not supported at runtime.

	svn path=/trunk/; revision=1969

2009-03-08  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	sanity_check_date_text_representation_uses_4_digit_years(): Fix a typo in

2009-03-08  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* glom/libglom/data_structure/glomconversions.cc:
	sanity_check_date_text_representation_uses_4_digit_years(): Fix a typo
	in the word representation of the error message.

	svn path=/trunk/; revision=1968

2009-03-08  Stéphane Raimbault  <stephaner@src.gnome.org>

	Missing po/LINGUAS file from previous commit.

	* po/LINGUAS: new file.
	Fixes #569721

	svn path=/trunk/; revision=1967

2009-03-08  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	Changes made to reflect new po linguas setup including removing

2009-03-08  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* configure.in: Changes made to reflect new po linguas setup including 
	removing ALL_LINGUAS (now in new file LINGUAS).
	* po/LINGUAS: new file.
	Fixes #569721

	svn path=/trunk/; revision=1966

2009-03-07  Mario Blättermann  <mariobl@src.gnome.org>

	Updated German translation

	svn path=/trunk/; revision=1965

2009-03-06  Murray Cumming  <murrayc@murrayc.com>

	load_after(): Added an ifdef to fix the client-only sqlite build.

2009-03-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc: load_after(): Added an ifdef to 
	fix the client-only sqlite build.

	svn path=/trunk/; revision=1964

2009-03-06  Murray Cumming  <murrayc@murrayc.com>

	connection_request_password_and_choose_new_database_name(): Added an ifdef

2009-03-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: 
	connection_request_password_and_choose_new_database_name(): Added an ifdef 
	to fix the client-only postgres build.

	svn path=/trunk/; revision=1963

2009-03-06  Murray Cumming  <murrayc@src.gnome.org>

	Fix build.

	svn path=/trunk/; revision=1962

2009-03-06  Murray Cumming  <murrayc@murrayc.com>

	get_suitable_record_to_view_details(): Use the correct primary key of the

2009-03-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_portal.cc: get_suitable_record_to_view_details():
	Use the correct primary key of the related table. This fixes navigation 
	on the Small Business Example, on the invoice lines, which goes to the 
	product record.

	svn path=/trunk/; revision=1961

2009-03-06  Murray Cumming  <murrayc@murrayc.com>

	Resaved these, because libgda corrected the string format for binary data

2009-03-06  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_lesson_planner.glom:
	* examples/example_project_manager.glom:
	* examples/example_smallbusiness.glom: Resaved these, because libgda 
	corrected the string format for binary data (images). libgda also fixed 
	the crash when parsing that string, as used in from_file_format().

	svn path=/trunk/; revision=1960

2009-03-05  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1959

2009-03-05  Murray Cumming  <murrayc@murrayc.com>

	from_file_format(): Add some checks.

2009-03-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/field.cc: from_file_format(): Add some 
	checks.

	svn path=/trunk/; revision=1958

2009-03-04  Murray Cumming  <murrayc@src.gnome.org>

	oops

	svn path=/trunk/; revision=1957

2009-03-04  Murray Cumming  <murrayc@murrayc.com>

	Generate libglom/libglom_config.h instead of config.h, so we can install

2009-03-04  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Generate libglom/libglom_config.h instead of config.h, 
	so we can install it and use it in our public headers.
	* glom/libglom/Makefile.am: Install libglom_config.h.
	* glom/libglom/glom-1.0.pc.in: Correct the shared library name.
	* *.[h|cc]: Include libglom/libglom_config.h instead of config.h.

	svn path=/trunk/; revision=1956

2009-03-04  Murray Cumming  <murrayc@murrayc.com>

	Generate libglom/libglom_config.h instead of config.h, so we can install

2009-03-04  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Generate libglom/libglom_config.h instead of config.h, 
	so we can install it and use it in our public headers.
	* glom/libglom/Makefile.am: Install libglom_config.h.
	* glom/libglom/glom-1.0.pc.in: Correct the shared library name.
	* *.[h|cc]: Include libglom/libglom_config.h instead of config.h.

	svn path=/trunk/; revision=1955

2009-03-04  Murray Cumming  <murrayc@murrayc.com>

	Ran autoupdate on this so it does things as per what is currently correct.

2009-03-04  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Ran autoupdate on this so it does things as per what is 
	currently correct.

	svn path=/trunk/; revision=1954

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	Link to the correct library name for test_document.cc List the tables in

2009-03-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/Makefile.am: Link to the correct library name for 
	test_document.cc
	* glom/libglom/test_document.cc: List the tables in the document.

	svn path=/trunk/; revision=1953

2009-03-03  Armin Burgmeier  <armin@openismus.com>

	Fixed another misplaced else which prevented postgresql files from being

2009-03-03  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/document/document_glom.cc (load_after): Fixed another
	misplaced else which prevented postgresql files from being opened
	when support for both postgresql and sqlite was enabled.

	* glom/libglom/document/document_glom.h: Changed DEFAULT_HOSTED to
	HOSTING_MODE_POSTGRES_SELF if postgresql is enabled.

	* glom/application.cc (constructor): Use DEFAULT_HOSTED to initialize
	m_ui_save_extra_newdb_hosting_mode, so that we don't need an #ifdef.

	svn path=/trunk/; revision=1952

2009-03-03  Murray Cumming  <murrayc@src.gnome.org>

	Added missing file.

	svn path=/trunk/; revision=1951

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	Include all libglom headers via libglom/ instead of glom/libglom so it

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	* *.[h|cc]: Include all libglom headers via libglom/ instead of 
	glom/libglom so it works from outside, with the path to the installed 
	headers, from pkg-config.
	* All Makefile.am files: Add -I@top_srcdir@/glom to AM_CPPFLAGS.
	The repetition is awful. We should avoid that somehow.

	svn path=/trunk/; revision=1950

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	Added and installed pkg-config file.

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom/libglom/Makefile.am:
	* glom/libglom/glom-1.0.pc.in: Added and installed pkg-config file.

	* glom/Makefile.am:
	* glom/libglom/data_structure/Makefile.am:
	* glom/libglom/data_structure/layout/Makefile.am:
	* glom/libglom/data_structure/layout/report_parts/Makefile.am:
	* glom/libglom/document/Makefile.am:
	* glom/python_embed/python_module/Makefile.am:
	* regression_tests/Makefile.am: Change libglom to libglom-1.0 so we can 
	use proper API versioning. Install the headers.

	* glom/libglom/document/document_glom.cc: Use std::auto_ptr<> to 
	avoid instantiating Bakery::BusyCursor if no parent window was set, 
	to avoid the need to initialize gtkmm/GTK+.

	svn path=/trunk/; revision=1949

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	Add some SWIG ifdefs to improve the Java wrapping output with swig.

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.h: Add some SWIG ifdefs to 
	improve the Java wrapping output with swig.

	svn path=/trunk/; revision=1948

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	Parser::on_start_element(): Call xmlStopParser() to avoid unnecessary

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_existing_or_new.cc: Parser::on_start_element():
	Call xmlStopParser() to avoid unnecessary extra parsing, fixing a TODO.

	svn path=/trunk/; revision=1947

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	Renamed the *_HOSTED enum values to use a prefix. Moved the View tyepdefs

2009-03-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/Makefile.am:
	* glom/libglom/document/document_glom.[h|cc]: Renamed the *_HOSTED enum values to 
	use a prefix. Moved the View tyepdefs into a view.h file.

	* glom/application.cc:
	* glom/base_db.h:
	* glom/dialog_connection.cc:
	* glom/frame_glom.cc:
	* glom/layout_item_dialogs/dialog_field_layout.h:
	* glom/mode_design/dialog_design.h:
	* glom/relationships_overview/dialog_relationships_overview.h:
	* glom/translation/dialog_identify_original.h:
	* glom/translation/window_translations.[h|cc]:
	* glom/utility_widgets/datawidget.h:
	* glom/utility_widgets/filechooserdialog_saveextras.cc: Adapted.

	svn path=/trunk/; revision=1946

2009-03-02  Armin Burgmeier  <armin@openismus.com>

	Call connectionpool's startup() also if SQLite is disabled. Bug #573799.

2009-03-02  Armin Burgmeier  <armin@openismus.com>

	* glom/frame_glom.cc:
	(connection_request_password_and_choose_new_database_name): Call
	connectionpool's startup() also if SQLite is disabled. Bug #573799.

	svn path=/trunk/; revision=1945

2009-03-02  Murray Cumming  <murrayc@murrayc.com>

	Changed many protected to private to make the API clearer. This is

2009-03-02  Murray Cumming  <murrayc@murrayc.com>

	* Many .h files: Changed many protected to private to make the API 
	clearer. This is particularly important for libglom, as I start 
	thinking of wrapping the API for Java/Web.

	svn path=/trunk/; revision=1944

2009-03-02  Murray Cumming  <murrayc@murrayc.com>

	Added an --enable-postgresql option, so we can have embedded builds that

2009-03-02  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Added an --enable-postgresql option, so we can have 
	embedded builds that only use SQLite. Disable SQLite by default.

	* glom/utility_widgets/filechooserdialog_saveextras.[h|cc]:
	Don't mention the backend names if only SQLite is disabled, to avoid 
	confronting people with unnecessary technicalese.

	* glom/application.cc:
	* glom/dialog_connection.cc:
	* glom/frame_glom.cc:
	* glom/libglom/connectionpool_backends/Makefile.am:
	* glom/libglom/connectionpool_backends/postgres.h:
	* glom/libglom/connectionpool_backends/postgres_central.[h|cc]:
	* glom/libglom/connectionpool_backends/sqlite.h:
	* glom/libglom/data_structure/glomconversions.h:
	* glom/libglom/document/document_glom.[h|cc]:
	* glom/libglom/gst-package.c:
	* glom/libglom/test_connectionpool.cc:
	* glom/main.cc:
	Added ifdefs to allow builds with -enable-postgresql=no.

	* glom/dialog_import_csv.cc: Replace gettext() with _().

	svn path=/trunk/; revision=1943

2009-03-01  Murray Cumming  <murrayc@src.gnome.org>

	Increased version.

	svn path=/trunk/; revision=1942

2009-02-27  Armin Burgmeier  <armin@openismus.com>

	When creating a new self-hosting postgres database, then store the port it

2009-02-27  Armin Burgmeier  <armin@openismus.com>

	* glom/frame_glom.cc:
	(connection_request_password_and_choose_new_database_name): When
	creating a new self-hosting postgres database, then store the port it
	uses within the document, so that remote connections (using browse
	network) can connect to the newly created database. Bug #572982.

	svn path=/trunk/; revision=1941

2009-02-27  Armin Burgmeier  <armin@openismus.com>

	Add newly added field into document before refreshing m_vecFields, so that

2009-02-27  Armin Burgmeier  <armin@openismus.com>

	* glom/mode_design/fields/box_db_table_definition.cc (on_adddel_add):
	Add newly added field into document before refreshing m_vecFields, so
	that Base_DB::get_fields_for_table() has an up-to-date document. This
	fixes changing newly added fields with SQLite.

	* configure.in: Fixed a typo, which caused libgda-sqlite-4.0 not being
	required even when SQLite support was enabled.

	svn path=/trunk/; revision=1940

2009-02-26  Murray Cumming  <murrayc@src.gnome.org>

	Mark version in ChangeLog.

	svn path=/trunk/; revision=1939

2009-02-26  Murray Cumming  <murrayc@src.gnome.org>

	Increase version

	svn path=/trunk/; revision=1938

2009-02-25  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1937

2009-02-24  Murray Cumming  <murrayc@murrayc.com>

	on_size_allocate(): Change an accidental += to the = that it should be, to

2009-02-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable.cc: on_size_allocate(): Change an
	accidental += to the = that it should be, to stop columns getting
	increasingly large amounts of extra width when there are >2 columns.
	Bug #539369 (maximiliano)

	svn path=/trunk/; revision=1934

2009-02-24  Armin Burgmeier  <armin@openismus.com>

	Only reset m_port to zero if m_try_other_ports is true. Otherwise, a

2009-02-24  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool_backends/postgres_central.cc (set_host):
	Only reset m_port to zero if m_try_other_ports is true. Otherwise, a
	specific port has already been set by the user.
	(connect): Compare m_port to 0, not port, which is a Glib::ustring.
	This fixes a warning about g_utf8_collate's argument being NULL, and
	fixes connection to a remote postgres server advertized via networked
	glom.

	svn path=/trunk/; revision=1933

2009-02-24  Armin Burgmeier  <armin@openismus.com>

	Moved the ConnectionPool backend base class into a new file in the

2009-02-24  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool_backends/backend.h:
	* glom/libglom/connectionpool_backends/backend.cc: Moved the
	ConnectionPool backend base class into a new file in the
	connectionpool_backends subdirectory.

	* glom/libglom/connectionpool_backends/Makefile.am: Add it to the
	build.

	* glom/libglom/connectionpool_backends/postgres.h:
	* glom/libglom/connectionpool_backends/sqlite.h:
	* glom/libglom/connectionpool_backends/sqlite.cc:
	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/test_connectionpool.cc:
	* glom/dialog_connection.cc:
	* glom/frame_glom.cc: Adapt.

	svn path=/trunk/; revision=1932

2009-02-24  Armin Burgmeier  <armin@openismus.com>

	Added a get_string_find_operator() virtual method to

2009-02-24  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool.cc: Added a get_string_find_operator()
	virtual method to ConnectionPoolBackend, and a similar method to
	ConnectionPool which simply queries its backend.

	* glom/libglom/connectionpool_backends/sqlite.h:
	* glom/libglom/connectionpool_backends/postgres.h: Implement the new
	virtual method appropriately.

	* glom/libglom/data_structure/field.cc (sql_find_operator): Use the
	get_string_find_operator() method of the connectionpool backend in
	case the field's type is TYPE_TEXT. This fixes Find Mode with SQLite.
	Bug #570401. I wonder whether libgda can generate a case-insensitive
	string comparison, which would make this easier for us.

	svn path=/trunk/; revision=1931

2009-02-24  Armin Burgmeier  <armin@openismus.com>

	Added an --enable-sqlite configure option, which is enabled by default.

2009-02-24  Armin Burgmeier  <armin@openismus.com>

	* configure.in: Added an --enable-sqlite configure option, which is
	enabled by default.

	* glom/libglom/connectionpool_backends/sqlite.h: #error if this file
	is included with SQLite support disabled. Mostly meant as a debugging
	aid.

	* glom/libglom/connectionpool_backends/Makefile.am: Don't build
	sqlite.cc in case SQLite support is disabled.

	* glom/libglom/document/document_glom.h:
	* glom/libglom/document/document_glom.cc: Don't declare SQLITE_HOSTED
	hosting mode if SQLite support is disabled, and refuse to open files
	with unknown hosting mode instead of falling back to postgres central.

	* glom/utility_widgets/filechooserdialog_saveextras.h:
	* glom/utility_widgets/filechooserdialog_saveextras.cc: Don't show the
	option to create a SQLite hosted file in the GUI if SQLite support is
	disabled.

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: Removed a
	superfluous <libglom/connectionpool_backends/sqlite.h> include.

	* glom/frame_glom.cc:
	* glom/application.cc: #ifdef-out code to create a SQLite
	connectionpool backend if SQLite support is disabled, as well as a few
	related checks.

	svn path=/trunk/; revision=1930

2009-02-24  Armin Burgmeier  <armin@openismus.com>

	Keep non-NULL constraint of columns when recreating table.

2009-02-24  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool_backends/sqlite.cc: Keep non-NULL
	constraint of columns when recreating table.

	svn path=/trunk/; revision=1929

2009-02-23  David King  <davidk@openismus.com>

	on_menu_file_import(): Add CSV mime-type filter to import dialog. Bug

2009-02-23  David King  <davidk@openismus.com>

	* glom/frame_glom.cc: on_menu_file_import(): Add CSV mime-type filter
	to import dialog. Bug #572702

	svn path=/trunk/; revision=1928

2009-02-23  Murray Cumming  <murrayc@src.gnome.org>

	Removed another debug output.

	svn path=/trunk/; revision=1927

2009-02-23  Armin Burgmeier  <armin@openismus.com>

	Clear m_refListStore if in case no column types are set. This allows

2009-02-23  Armin Burgmeier  <armin@openismus.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc
	(construct_specified_columns): Clear m_refListStore if in case no
	column types are set. This allows dropping the reference to the GDA
	DataModel by setting an empty table name on the AddDel.

	* glom/frame_glom.h:
	* glom/frame_glom.cc: Added show_table_allow_empty() which allows the
	table name to be empty, in which case no table is shown, and
	show_no_table() as a shortcut for this case. Show an empty table
	before opening the fields editing dialog, so that no references to the
	database are used anymore. SQLite requires this to be able to drop the
	old table when changing fields.

	svn path=/trunk/; revision=1926

2009-02-23  Murray Cumming  <murrayc@src.gnome.org>

	Removed debug output.

	svn path=/trunk/; revision=1925

2009-02-23  Armin Burgmeier  <arminb@src.gnome.org>

	Whitespace corrections

	svn path=/trunk/; revision=1924

2009-02-22  Murray Cumming  <murrayc@murrayc.com>

	offer_notebook(): Move the dialog_notebook window into

2009-02-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade, glom_developer.glade:
	* glom/base_db.cc: offer_notebook(): Move the dialog_notebook window
	into glom_developer.glade because it is only used in developer mode.

	svn path=/trunk/; revision=1923

2009-02-22  Murray Cumming  <murrayc@murrayc.com>

	Various minor fixes to avoid minor compiler warnings.

2009-02-22  Murray Cumming  <murrayc@murrayc.com>

	* Various minor fixes to avoid minor compiler warnings.

	svn path=/trunk/; revision=1922

2009-02-22  Murray Cumming  <murrayc@murrayc.com>

	get_text_for_gda_value(): Avoid a warning about no return value.

2009-02-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/glomconversions.cc: 
	get_text_for_gda_value(): Avoid a warning about no return value.

	svn path=/trunk/; revision=1921

2009-02-22  Armin Burgmeier  <armin@openismus.com>

	Don't leak the Gtk::EventBox.

2009-02-22  Armin Burgmeier  <armin@openismus.com>

	* glom/mode_data/flowtablewithfields.cc (add_field_at_position): Don't
	leak the Gtk::EventBox.

	svn path=/trunk/; revision=1920

2009-02-21  Murray Cumming  <murrayc@src.gnome.org>

	Fixed typo.

	svn path=/trunk/; revision=1919

2009-02-21  Murray Cumming  <murrayc@murrayc.com>

	Resaved with glade-3. Recent versions of glade-3 are much better at

2009-02-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade: Resaved with glade-3. Recent versions of 
	glade-3 are much better at converting from glade-2. I just had to 
	hand-add the GtkSourceView widgets back.
	Bug #567470

	svn path=/trunk/; revision=1918

2009-02-21  Murray Cumming  <murrayc@murrayc.com>

	Resaved with glade-3. Recent versions of glade-3 are much better at

2009-02-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade: Resaved with glade-3. Recent versions of
	glade-3 are much better at converting from glade-2. I just had to
	hand-add the GtkSourceView widgets back.

	svn path=/trunk/; revision=1917

2009-02-21  Murray Cumming  <murrayc@src.gnome.org>

	Comment out debug output that is behaving strangely.

	svn path=/trunk/; revision=1916

2009-02-20  Murray Cumming  <murrayc@murrayc.com>

	glom/libglom/connectionpool_backends/postgres_central.cc Added ifdefs to

2009-02-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/base_db.[h|cc]:
	* glom/dialog_connection.cc:
	* glom/frame_glom.cc:
	* glom/libglom/connectionpool.[h|cc]:
	* glom/libglom/connectionpool_backends/postgres_central.cc
	* glom/navigation/box_tables.[h|cc]:
	Added ifdefs to fix the build with --enable-client-only.

	svn path=/trunk/; revision=1915

2009-02-20  Murray Cumming  <murrayc@murrayc.com>

	get_current_privs(): Cache the priviliges for each table for 30 seconds,

2009-02-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_privs[h|cc]: get_current_privs(): Cache the priviliges 
	for each table for 30 seconds, to avoid unnecessary repetitive groups 
	queries to the database. This seems to avoid about 5 out of 6 
	requests, so it should be faster.
	Bug #567473

	svn path=/trunk/; revision=1914

2009-02-20  Murray Cumming  <murrayc@src.gnome.org>

	Removed a generated file

	svn path=/trunk/; revision=1913

2009-02-20  Murray Cumming  <murrayc@murrayc.com>

	Use the postgres executable name instead of the deprecated postmaster

2009-02-20  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom/libglom/connectionpool_backends/postgres_self.cc: Use the
	postgres executable name instead of the deprecated postmaster
	executable. Everything probably has that now.
	Bug # 525108

	svn path=/trunk/; revision=1912

2009-02-20  Murray Cumming  <murrayc@src.gnome.org>

	Improved ChangeLog

	svn path=/trunk/; revision=1911

2009-02-20  Murray Cumming  <murrayc@murrayc.com>

	Constructor: Show the Open button, (but not Find) for related fields that

2009-02-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/utlity_widgets/datawidget.cc: Constructor: Show the Open button,
	(but not Find) for related fields that are primary keys, so we can
	navigate to that record.
	* glom/mode_data/box_data_details.cc:
	on_flowtable_field_open_details_requested(): Navigate to the
	appropriate record in the appropriate table for this type of Open
	button.
	* glom/base_db.cc: fill_full_field_details(): Avoid crashes.

	svn path=/trunk/; revision=1910

2009-02-20  Murray Cumming  <murrayc@murrayc.com>

	get_field_used_in_relationship_to_one(): Make this take a LayoutItem_Field

2009-02-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.[h|cc]:
	get_field_used_in_relationship_to_one(): Make this take a
	LayoutItem_Field instead of just a field name.
	* glom/utlity_widgets/datawidget.cc: Constructor: adapt, so we add
	Open and Find buttons for related fields too when appropriate.
	* glom/base_db.cc: Adapt to API change.

	svn path=/trunk/; revision=1909

2009-02-18  Murray Cumming  <murrayc@src.gnome.org>

	Added a TODO.

	svn path=/trunk/; revision=1908

2009-02-18  Murray Cumming  <murrayc@murrayc.com>

	from_file_format(): Adjusted for a libgda API change in

2009-02-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/field.cc: from_file_format(): Adjusted 
	for a libgda API change in gda_string_to_binary().

	svn path=/trunk/; revision=1907

2009-02-18  Armin Burgmeier  <armin@openismus.com>

	Reset the default value if the Glom type is changed. The old default value

2009-02-18  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/data_structure/field.cc (set_glom_type): Reset the
	default value if the Glom type is changed. The old default value
	probably doesn't make sense for the new type. This fixes a warning
	when changing a field's type from text to numerical.
	(set_default_value): Verify that the new default value is compatible
	with the field's glom type.
	(set_field_info): Verify that the default value of the new field info
	is compatible with the field's glom type.

	* glom/mode_design/fields/box_db_table_definition.cc
	(get_field_definition): When changing the field info's GType, make
	sure its default value matches the new GType, or reset it if not.

	* glom/libglom/document/document_glom.cc (load_after): Set a field's
	default value after having set the glom type, so that the checks
	introduced above don't fail.

	svn path=/trunk/; revision=1906

2009-02-18  Murray Cumming  <murrayc@murrayc.com>

	sql(value, format): Replace this with sql(value, connection). Use

2009-02-18  Murray Cumming   <murrayc@murrayc.com>

	* glom/libglom/data_structure/field.[h|cc[: sql(value, format):
	Replace this with sql(value, connection). Use 
	Gda::DataHolder::get_sql_from_value(), using the connection to get the 
	DataHolder. Remove the nasty Postgres escaping code, which is now 
	unnecessary. There is now no code in Glom to do escaping or unescaping 
	- we use libgda functions instead.
	sql(value): Use the active connection.
	* glom/libglom/connectionpool_backends/postgres.cc: change_columns():
	* glom/libglom/connectionpool_backends/sqlite.cc: recreate_table():
	Adapted, though these can probably just call sql(value), using the 
	active connection. 

	* glom/base_db.[h|cc]: get_connection(): Make this static because it 
	can be.

	svn path=/trunk/; revision=1905

2009-02-17  Murray Cumming  <murrayc@murrayc.com>

	Added static versions of from_file_format() and to_file_format(), taking

2009-02-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/field.[h|cc]: Added static versions of
	from_file_format() and to_file_format(), taking the field type, for use 
	in document, though we can probably avoid that.
	* glom/libglom/data_structure/glomconversions.[h|cc]:
	* glom/libglom/document/document_glom.[h|cc]: Remove support for the 
	deprecated one-big-string example_rows format. Store the example rows as 
	a vector of vector of Values, instead of strings. This avoids extra 
	string parsing, unescaping, etc.
	* glom/glom_document.dtd: Documented the change.
	* glom/frame_glom.[h|cc]: Added export_data_to_vector().
	* glom/application.cc: on_menu_file_save_as_example(): Use the vector 
	instead of a string.
	* glom/base_db.cc: insert_example_data(): Handle the vector instead of 
	doing nasty string parsing.

	* examples/example_*.glom: Resaved in the new format.

	svn path=/trunk/; revision=1904

2009-02-16  Murray Cumming  <murrayc@murrayc.com>

	get_text_for_gda_value(), parse_value(): Use std::setprecision() to avoid

2009-02-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/glomconversions.cc:
	get_text_for_gda_value(), parse_value(): Use std::setprecision() to 
	avoid showing the awkward scientific e notation, raising the limit 
	from 7 digits to 15. We don't know how to avoid it always.
	Noticed by Arq. Maximiliano Meilán.

	svn path=/trunk/; revision=1902

2009-02-16  Armin Burgmeier  <armin@openismus.com>

	Fixed various problems with field type changes. Before, often some or all

2009-02-16  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool_backends/sqlite.cc: Fixed various
	problems with field type changes. Before, often some or all of the
	records have been erased after certain changes (only from the view,
	not from the database).

	svn path=/trunk/; revision=1901

2009-02-16  Murray Cumming  <murrayc@murrayc.com>

	Renamed from_sql() to from_file_format(), without the sql_format

2009-02-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/field.[h|cc]: Renamed from_sql() to 
	from_file_format(), without the sql_format parameter, to make it 
	clearer. Added to_file_format(), which currently just calls sql() 
	with the postgres format.
	* glom/data_structure/glomconversions.cc: Removed unused 
	unescape_binary_data_sqlite().
	* glom/base_db.cc: insert_example_data():
	* glom/dialog_import_csv.cc: field_data_func():
	* glom/dialog_import_csv_progress.cc: on_idle_import(): Adapt.
	* glom/frame_glom.cc: export_data_to_string(): Use to_file_format() 
	instead of sql() to make it clearer.

	svn path=/trunk/; revision=1900

2009-02-16  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1899

2009-02-15  Armin Burgmeier  <armin@openismus.com>

	Use the GType from m_field_info instead of converting the glom type to a

2009-02-15  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/data_structure/field.cc (get_gda_type_name): Use the
	GType from m_field_info instead of converting the glom type to a gda
	type, to take fallback types into account, as used by SQLite for
	numeric values.
	(get_holder): Use the passed value's type to initialize the holder
	type. For binary values, there can be a mismatch between the value
	type and the field type with SQLite. This is not optimal, but it
	works for now.

	svn path=/trunk/; revision=1898

2009-02-15  Armin Burgmeier  <armin@openismus.com>

	Revert the changed value if set_field_value_in_database() throws a glib

2009-02-15  Armin Burgmeier  <armin@openismus.com>

	* glom/mode_data/box_data_details.cc (on_flowtable_field_edited):
	Revert the changed value if set_field_value_in_database() throws a
	glib exception.

	svn path=/trunk/; revision=1897

2009-02-15  Armin Burgmeier  <armin@openismus.com>

	Revert the changed value if set_field_value_in_database() throws an

2009-02-15  Armin Burgmeier  <armin@openismus.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc (user_changed): Revert
	the changed value if set_field_value_in_database() throws an
	exception.

	svn path=/trunk/; revision=1896

2009-02-15  Armin Burgmeier  <armin@openismus.com>

	Convert existing values explicitely via the date() and time() SQLite

2009-02-15  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool_backends/sqlite.cc: Convert existing
	values explicitely via the date() and time() SQLite functions when
	converting existing values to date or time. This fixes all rows being
	erased when changing a column to date or time.

	svn path=/trunk/; revision=1895

2009-02-14  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1894

2009-02-12  Armin Burgmeier  <armin@openismus.com>

	Check field's glom type directly instead of guessing the glom type from

2009-02-12  Armin Burgmeier  <armin@openismus.com>

	* glom/mode_design/fields/box_db_table_definition.cc
	(check_field_change): Check field's glom type directly instead of
	guessing the glom type from its GType, which might produce a wrong
	result with some of the fallback types used with SQLite.

	* glom/libglom/connectionpool_backends/sqlite.cc (recreate_table):
	Don't crash if transaction rollback fails without the error variable
	being set.

	svn path=/trunk/; revision=1893

2009-02-10  Armin Burgmeier  <armin@openismus.com>

	Support dropping and changing columns, though changing doesn't yet seem to

2009-02-10  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool_backends/sqlite.h:
	* glom/libglom/connectionpool_backends/sqlite.cc: Support dropping and
	changing columns, though changing doesn't yet seem to work reliably
	yet.

	svn path=/trunk/; revision=1891

2009-02-10  Armin Burgmeier  <armin@openismus.com>

	Use get_value_type() to find out a value's not type, not get_g_type()

2009-02-10  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool_backends/sqlite.cc (recreate_table):
	Use get_value_type() to find out a value's not type, not get_g_type()
	which returns the GType the value stores if it's value type is GType.

	* glom/mode_design/fields/box_db_table_definition.cc (on_adddel_add):
	Don't call on_adddel_changed() just to store the field into the
	document, since on_adddel_changed() does a lot of unnecessary extra
	stuff such as calling change_columns() on the backend, which forces a
	whole table recreation with SQLite.

	svn path=/trunk/; revision=1890

2009-02-10  Murray Cumming  <murrayc@murrayc.com>

	insert_example_data(): Fixed my typo to fix the build. Sorry.

2009-02-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: insert_example_data(): Fixed my typo to fix the 
	build. Sorry.

	svn path=/trunk/; revision=1889

2009-02-09  Murray Cumming  <murrayc@murrayc.com>

	get_gda_type(): Renamed to get_gda_type_name(). Removed get_gda_g_type()

2009-02-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/field.[h|cc]: get_gda_type(): 
	Renamed to get_gda_type_name(). Removed get_gda_g_type() because 
	we already have a static get_g_type_for_glom_type(). This gets rids of 
	the nasty switch block.
	* glom/base_db.cc: insert_example_data(), get_lookup_value(),
	get_primary_key_is_in_foundset(): Adapted.

	svn path=/trunk/; revision=1888

2009-02-09  Armin Burgmeier  <armin@openismus.com>

	Added set_server_operation_value(), create_server_operation() and

2009-02-09  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool.cc: Added set_server_operation_value(),
	create_server_operation() and perform_server_operation() convenience
	methods to connectionpool backend base class.

	* glom/libglom/connectionpool_backends/sqlite.h:
	* glom libglom/connectionpool_backends/sqlite.cc: Implemented table
	recreation, required for changing or dropping columns, or adding
	primary key columns. The glom type of newly added columns doesn't yet
	seem to be recognized correctly, though.

	svn path=/trunk/; revision=1887

2009-02-08  Murray Cumming  <murrayc@murrayc.com>

	constuctor/create(): Added a bool find_mode parameter and member variable.

2009-02-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.[h|cc]:
	constuctor/create(): Added a bool find_mode parameter and member 
	variable.
	refresh_from_database(): Create a DataModelArray for find mode, 
	with the appropriate column types.
	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]:
	Remove the awkward ListStore alternative model for find mode that I 
	recently introduced,
	construct_specified_columns(): Instead just specify find_mode=true 
	when creating the tree model.

	* glom/mode_data/box_data_list.cc: Simplify this code again 
	accordingly.

	* glom/utility_widgets/db_adddel/Makefile.am:
	* glom/utility_widgets/db_adddel/treemodel_with_addrow.[h|cc]:
	* glom/utility_widgets/db_adddel/liststore_with_addrow.[h|cc]:
	* regression_tests/Makefile.am:
	* regression_tests/test_treemodel_dynamic_cast.cc:
	Removed these because they are no longer used.

	svn path=/trunk/; revision=1886

2009-02-08  Johannes Schmid  <jschmid@openismus.com>

	New class to generate simple unique holder names

2009-02-08  Johannes Schmid  <jschmid@openismus.com>
	
	* glom/libglom/data_structure/Makefile.am:
	* glom/libglom/data_structure/parameternamegenerator.cc:
	* glom/libglom/data_structure/parameternamegenerator.h:
	New class to generate simple unique holder names
	
	* glom/base_db.cc (insert_example_data):
	Use the new ParameterNameGenerator class

	svn path=/trunk/; revision=1885

2009-02-07  Murray Cumming  <murrayc@src.gnome.org>

	Reverted unwanted change.

	svn path=/trunk/; revision=1884

2009-02-07  Murray Cumming  <murrayc@murrayc.com>

	get_field_value_is_unique(): Use the Field::get_holder(value) method

2009-02-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_field_value_is_unique(): Use the 
	Field::get_holder(value) method overload instead of get_holder(), 
	avoiding copying the Field and using Field::get_data().
	* glom/libglom/data_structure/field.[h|cc]:
	Removed the get_holder(name) method overload because it is now not 
	used.
	Removed get/set_data() and the member variable because they are now 
	not used.

	svn path=/trunk/; revision=1883

2009-02-06  Murray Cumming  <murrayc@murrayc.com>

	get_table_names_from_database(): Comment out the checks for internal

2009-02-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_table_names_from_database(): Comment out the 
	checks for internal tables, because that is now fixed in libgda.
	* glom/mode_data/box_data.[h|cc]:
	* glom/base_db_table_data.[h|cc]: Move refresh_related_fields() 
	(which is virtual) and get_related_fields() down the hierarchy so that 
	the override is also used by DbAddDel, so related fields are updated 
	in the view on list views and related records.
	This really fixes bug #569722 (Johannes Schmid)

	svn path=/trunk/; revision=1881

2009-02-05  Murray Cumming  <murrayc@src.gnome.org>

	Added a TODO_Performance hint for later.

	svn path=/trunk/; revision=1880

2009-02-05  Armin Burgmeier  <armin@openismus.com>

	Added a clarifying comment on why we use a DataAccessWrapper.

2009-02-05  Armin Burgmeier  <armin@openismus.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: Added a
	clarifying comment on why we use a DataAccessWrapper.

	svn path=/trunk/; revision=1879

2009-02-04  Armin Burgmeier  <armin@openismus.com>

	:fill_values_if_necessary): Use a Gnome::Gda::DataModelWrapper to wrap the

2009-02-04  Armin Burgmeier  <armin@openismus.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc
	(DbTreeModelRow::fill_values_if_necessary): Use a
	Gnome::Gda::DataModelWrapper to wrap the resulting cursor-based data
	model. This avoids a special-case for SQLite. Requires libgda trunk.

	svn path=/trunk/; revision=1878

2009-02-03  Murray Cumming  <murrayc@murrayc.com>

	Mention the new self_hosted <connection> attribute.

2009-02-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_document.dtd: Mention the new self_hosted <connection> 
	attribute.

	svn path=/trunk/; revision=1877

2009-02-03  Murray Cumming  <murrayc@murrayc.com>

	get_table_names_from_database(): Filter out some extra internal table

2009-02-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_table_names_from_database(): Filter out some 
	extra internal table names which may be created/reported by newer 
	versions of libgda.

	svn path=/trunk/; revision=1875

2009-02-02  Murray Cumming  <murrayc@murrayc.com>

	Added get_row_selected() virtual function, used in record_new() instead of

2009-02-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db_table_data.[h|cc]: Added get_row_selected() virtual function, 
	used in record_new() instead of an always-null TreeModel::iterator.
	This lets lookups, default values, and calculated values be seen when 
	adding new list records or related records.
	* glom/mode_data/box_data_list.[h|cc]: 
	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]: 
	Added get_row_selected() overrides.
	This should fix bug #569722 (Johannes Schmid)

	svn path=/trunk/; revision=1873

2009-02-02  Murray Cumming  <murrayc@murrayc.com>

	query_execute_select(), query_execute(): When using --debug_sql, use

2009-02-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: query_execute_select(), query_execute(): 
	When using --debug_sql, use Statement::to_sql() to show the actual 
	SQL with actual values, though this does not seem to work for 
	non-SELECT queries.
	* glom/mode_data/box_data.cc: refresh_related_fields(): Some extra 
	error checking.

	svn path=/trunk/; revision=1872

2009-02-02  Murray Cumming  <murrayc@src.gnome.org>

	2009-02-02  Murray Cumming  <murrayc@murrayc.com>>

	* glom/base_db.cc: :set_field_value_in_database(): Correct a 
	copy/paste typo that was probably introduced when switching to using 
	parameters, so we now actually specify the primary key, so we really 
	change the data in the database.

	svn path=/trunk/; revision=1871

2009-02-02  Murray Cumming  <murrayc@src.gnome.org>

	Correct whitespace.

	svn path=/trunk/; revision=1870

2009-01-31  Johannes Schmid  <jschmid@openismus.com>

	Reinit cancelled state and some more cleanups. Fixes #569721 – Glom

2009-01-31  Johannes Schmid  <jschmid@openismus.com>

	* glom/application.cc (on_document_load()):
	Reinit cancelled state and some more cleanups.
	Fixes #569721 – Glom behaves strange when you cancel the new dialog

	svn path=/trunk/; revision=1869

2009-01-30  Murray Cumming  <murrayc@murrayc.com>

	Make the labels FILL and EXPAND so they really align left instead of

2009-01-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Make the labels FILL and EXPAND so they really 
	align left instead of centering. This broke when I resaved with a 
	newer glade-2.

	svn path=/trunk/; revision=1868

2009-01-30  Murray Cumming  <murrayc@murrayc.com>

	Added some TODO comments where we would like to use SQL parameters instead

2009-01-30  Murray Cumming  <murrayc@murrayc.com>

	Added some TODO comments where we would like to use SQL parameters 
	instead of Field::sql(), if we can figure out how to do that for 
	fragments of SQL, or how to refactor the code to parse the whole 
	SQL query at once.

	svn path=/trunk/; revision=1867

2009-01-29  Johannes Schmid  <jhs@openismus.com>

	Move the rest of queries from sql() to use params where this made sense.

2009-01-29  Johannes Schmid  <jhs@openismus.com>

	* glom/base_db.cc:
	* glom/base_db_table_data.cc:
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_list_related.cc:
	Move the rest of queries from sql() to use params where this made sense.
	Some methods generate random sql that is executed elsewhere which means that
	they cannot use parameters themselves. I did not touch those.

	* glom/libglom/data_structure/field.cc:
	* glom/libglom/data_structure/field.h:
	Added get_holder(value, name) to avoid having to use temporary field to
	be able to use get_holder() and get_gda_holder_string()

	svn path=/trunk/; revision=1866

2009-01-29  Johannes Schmid  <jschmid@openismus.com>

	Converted more queries to use parameters

2009-01-29  Johannes Schmid  <jschmid@openismus.com>

	* glom/base_db.cc:
	* glom/base_db_table_data.cc:
	Converted more queries to use parameters

	svn path=/trunk/; revision=1865

2009-01-27  Murray Cumming  <murrayc@murrayc.com>

	auto_increment_insert_first_if_necessary(),

2009-01-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: auto_increment_insert_first_if_necessary(),
	get_next_auto_increment_value(), set_database_preferences():
	Use the new templated Gda::Set::add_holder(), simplifying the code.

	svn path=/trunk/; revision=1864

2009-01-27  Murray Cumming  <murrayc@murrayc.com>

	Do not pass an empty Set to create_operation() because I added a method

2009-01-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool_backends/postgres.cc
	attempt_create_database(): Do not pass an empty Set to 
	create_operation() because I added a method overload in libgdamm.

	svn path=/trunk/; revision=1863

2009-01-27  Johannes Schmid  <jschmid@openismus.com>

	Fix updating of fields with was broken due to a stupid mistake

2009-01-27  Johannes Schmid  <jschmid@openismus.com>

	* glom/base_db.cc (set_field_value_in_database):
	Fix updating of fields with was broken due to a stupid mistake

	svn path=/trunk/; revision=1862

2009-01-26  Murray Cumming  <murrayc@murrayc.com>

	get_fields_for_table_from_database(),

2009-01-26  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_fields_for_table_from_database(),
	auto_increment_insert_first_if_necessary(),
	get_next_auto_increment_value(), insert_example_data():
	* glom/libglom/data_structure/field.cc: get_holder(): Adapt to 
	my set_value()/set_value_as_value() changes in libgdamm to slightly 
	simply the code. I guess that a better add_param() method could 
	simplify it more.

	svn path=/trunk/; revision=1861

2009-01-26  Johannes Schmid  <jschmid@openismus.com>

	Ported more queries to use parameters. query_execute_select() now accepts

2009-01-26  Johannes Schmid  <jschmid@openismus.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	Ported more queries to use parameters. query_execute_select() now
	accepts parameters.

	* glom/base_db_table_data.cc:
	* glom/dialog_database_preferences.cc:
	* glom/frame_glom.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	Removed parent_window argument from query_execute_select() call.

	* glom/libglom/data_structure/field.cc:
	* glom/libglom/data_structure/field.h:
	Added get_holder() und get_gda_holder_string() as conveniece methods

	svn path=/trunk/; revision=1860

2009-01-25  Johannes Schmid  <jschmid@openismus.com>

	Some cosmetic changes to error messages and removed the reference() call

	2009-01-25  Johannes Schmid <jschmid@openismus.com>

	* glom/base_db.cc:
	Some cosmetic changes to error messages and removed the reference()
	call that is obviously caused by a bug in the postgres provider.

	svn path=/trunk/; revision=1859

2009-01-24  Andre Klapper  <a9016009@gmx.de>

	Updated German translation.

2009-01-24  Andre Klapper  <a9016009@gmx.de>

	* de.po: Updated German translation.

	svn path=/trunk/; revision=1858

2009-01-24  Armin Burgmeier  <armin@openismus.com>

	Added GdaBlob as a fallback type for GdaBinary, so that

2009-01-24  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/data_structure/fieldtypes.cc (constructor): Added
	GdaBlob as a fallback type for GdaBinary, so that
	Field::set_field_info() sets the correct glom type if the GType is
	GDA_TYPE_BLOB.

	* glom/libglom/data_structure/glomconversions.cc
	(get_pixbuf_for_gda_value): Allow the value having type
	GDA_TYPE_BLOB, and handle this appropriately. These changes fix images
	in SQLite with libgda4, requiring libgda trunk.

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc
	(refresh_from_database): Use STATEMENT_MODEL_RANDOM_ACCESS to create
	the data model when using SQLite, because of bug #567891.

	* glom/mode_design/fields/box_db_table_definition.cc (fill_field): Use
	the field's glom type directly, instead of guessing it from the
	field's GType.

	svn path=/trunk/; revision=1857

2009-01-23  Johannes Schmid  <jhs@openismus.com>

	Refactored query_execute() to be able to use additional parameters.

2009-01-23  Johannes Schmid  <jhs@openismus.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	Refactored query_execute() to be able to use additional parameters. Changed
	insert_example_data() to use the new method.

	* glom/libglom/data_structure/field.cc:
	* glom/libglom/data_structure/field.h:
	Added get_gda_g_type() and made get_gda_type() should a wrapper around it

	* glom/base_db_table_data.cc:
	* glom/dialog_database_preferences.cc:
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/navigation/box_tables.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	Removed the unused Gtk::Window* parameter from all query_execute() calls

	svn path=/trunk/; revision=1856

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

	insert_example_data(): Catch exceptions as const. Remove spaces before (,

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

	* glom/base_db.cc: insert_example_data(): Catch exceptions as const.
	Remove spaces before (, again.

	svn path=/trunk/; revision=1855

2009-01-22  Johannes Schmid  <jschmid@openismus.com>

	Fixed insertion of example data by using variables in the sql statement

2009-01-22  Johannes Schmid  <jschmid@openismus.com>

	* glom/base_db.cc (insert_example_data(), get_connection()):
	* glom/base_db.h:
	Fixed insertion of example data by using variables in the sql statement
	instead of inserting the data directly in the statement (which confuses the
	GdaSqlParser and is inefficient)

	* glom/libglom/data_structure/field.cc (get_gda_type()):
	* glom/libglom/data_structure/field.h:
	Added a method to get the gda GType of the field. This is necessary to
	prepare the sql statement so I would rather like to reuse get_sql_type().
	Currntly investigating on gnome-db-list.

	svn path=/trunk/; revision=1854

2009-01-20  Murray Cumming  <murrayc@murrayc.com>

	save_changes(): Revert the Johannes change here too, because it is causing

2009-01-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc: save_changes():
	Revert the Johannes change here too, because it is causing infinite 
	loops when adding fields, and probably at other times, repeatedly 
	saving the file. The code is not equivalent.

	svn path=/trunk/; revision=1853

2009-01-19  Murray Cumming  <murrayc@murrayc.com>

	document_history_add: Revert the previous, because I removed the new API

2009-01-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: document_history_add: Revert the previous,
	because I removed the new API from Bakery and just fixed the existing 
	Bakery method instead.

	svn path=/trunk/; revision=1852

2009-01-19  Johannes Schmid  <jschmid@openismus.com>

	Avoid a critical warning by adding the recent data instead of letting

2009-01-19  Johannes Schmid  <jschmid@openismus.com>

	* glom/application.cc:
	Avoid a critical warning by adding the recent data instead of
	letting Gtk::RecentManager query for non-existing uris which causes a
	Gtk-Critical. Requires new bakery trunk

	* glom/libglom/document/document_glom.cc:
	Don't duplicate code from Bakery.

	svn path=/trunk/; revision=1851

2009-01-16  Murray Cumming  <murrayc@src.gnome.org>

	Released.

	svn path=/trunk/; revision=1850

2009-01-16  Murray Cumming  <murrayc@murrayc.com>

	Update the required libgda(mm) versions.

2009-01-16  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Update the required libgda(mm) versions.

	svn path=/trunk/; revision=1849

2009-01-15  Murray Cumming  <murrayc@murrayc.com>

	initial dialog: Correct the button order, which seems to have been broken

2009-01-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: initial dialog: Correct the button order, which 
	seems to have been broken when re-saving with glade-2. The other 
	dialogs seem OK.
	* glom/libglom/data_structure/fieldtypes.cc: Constructor:
	* glom/mode_design/fields/box_db_table_definition.cc: fill_fields(): 
	Comment out some debug output.

	svn path=/trunk/; revision=1848

2009-01-14  Armin Burgmeier  <armin@openismus.com>

	When changing column types, only attempt to convert data if

2009-01-14  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool_backends/postgres.cc (change_columns):
	When changing column types, only attempt to convert data if
	Field::get_conversion_possible() returns TRUE, otherwise just change
	the column type without trying to convert the data.

	* glom/libglom/connectionpool.cc (change_columns): Added a TODO
	comment about not failing when data could not be converted to the new
	column type.

	* glom/mode_design/fields/box_db_table_definition.cc
	(get_field_definition): Set the glom type explicitely on the result
	field, so that we don't have to guess from the GType.

	svn path=/trunk/; revision=1847

2009-01-13  Armin Burgmeier  <armin@openismus.com>

	Don't set the autoincrement field for the newly added column since we do

2009-01-13  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.cc add_column(): Don't set the
	autoincrement field for the newly added column since we do control
	this ourselves in Glom.

	svn path=/trunk/; revision=1846

2009-01-13  Armin Burgmeier  <armin@openismus.com>

	Explain that when changing a table's primary key we are changing two

2009-01-13  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.h: 
	* glom/libglom/connectionpool.cc: Explain that when changing a table's
	primary key we are changing two columns, in response to Murray's
	previously added TODO comment. Don't compile add_column(),
	drop_column(), change_columns() in client only mode.

	* glom/libglom/connectionpool_backends/postgres.h:
	* glom/libglom/connectionpool_backends/postgres.cc: Added
	postgres-specific code for changing a column's type, to allow
	conversions from/to date and time fields.

	* glom/mode_design/fields/box_db_table_definition.h:
	* glom/mode_design/fields/box_db_table_definition.cc: Removed
	commented-out code that did the same before I moved the functionality
	to the connectionpool backend.

	svn path=/trunk/; revision=1845

2009-01-13  Murray Cumming  <murrayc@murrayc.com>

	change_columns(): Added a TODO comment asking why we would ever want to

2009-01-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: change_columns(): Added a TODO 
	comment asking why we would ever want to change multiple columns. 
	Changing just one columns would make the function simpler.

	svn path=/trunk/; revision=1844

2009-01-12  Armin Burgmeier  <armin@openismus.com>

	Added add_column(), change_column(), drop_column(), using a generic

2009-01-12  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool.cc: Added add_column(), change_column(),
	drop_column(), using a generic implementation via libgda's DDL API.

	* glom/libglom/connectionpool_backends/postgres.h:
	* glom/libglom/connectionpool_backends/postgres.cc:
	* glom/libglom/connectionpool_backends/Makefile.am: Added a base class
	for the two postgres backends, implementing the common functionality.

	* glom/libglom/connectionpool_backends/postgres_self.h:
	* glom/libglom/connectionpool_backends/postgres_central.h:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/connectionpool_backends/postgres_central.cc: Use the
	Postgres base class, instead of deriving directly from
	ConnectionPoolBackend.

	* glom/mode_design/fields/box_db_table_definition.h:
	* glom/mode_design/fields/box_db_table_definition.cc: Use the
	connectionpool add_column(), drop_column() and change_column()
	functions instead of using postgres-specific code from
	glom_postgres.cc. There is maybe a drawback concerning data conversion
	when changing column types, but I'll re-add the relevant code to the
	postgres connectionpool backend in the near future.

	* glom/glom_postgres.h:
	* glom/glom_postgres.cc: Removed postgres_add_column() and
	postgres_change_column_extras().

	* glom/main.cc: Adapt to
	check_postgres_gda_client_is_available_with_warning() now being in
	ConnectionPoolBackends::Postgres instead of
	ConnectionPoolBackends::PostgresCentral.

	svn path=/trunk/; revision=1843

2009-01-12  Murray Cumming  <murrayc@murrayc.com>

	Allowed a recent version of glade-2 to resave this. The changes seem

2009-01-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Allowed a recent version of glade-2 to resave this.
	The changes seem harmless, just adding things, but we will see.

	svn path=/trunk/; revision=1842

2009-01-12  Murray Cumming  <murrayc@murrayc.com>

	Increase version to 1.9.0, in anticiaption of a first unstable 1.9/1.10

2009-01-12  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Increase version to 1.9.0, in anticiaption of a first 
	unstable 1.9/1.10 release.

	svn path=/trunk/; revision=1841

2009-01-12  Murray Cumming  <murrayc@src.gnome.org>

	Some commented-out code showing the meta store problem.

	svn path=/trunk/; revision=1840

2009-01-12  Murray Cumming  <murrayc@src.gnome.org>

	Removed some debug output.

	svn path=/trunk/; revision=1839

2009-01-12  Murray Cumming  <murrayc@murrayc.com>

	Main window: Correct the order of the Records: and Found: labels, which

2009-01-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Main window: Correct the order of the Records: and 
	Found: labels, which became confused at some point, maybe during 1.8.

	svn path=/trunk/; revision=1837

2009-01-12  Murray Cumming  <murrayc@murrayc.com>

	fill_from_database(): Call DbAddDel::set_columns_ready() so the treeview

2009-01-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_find/box_data_list_find.cc: fill_from_database(): 
	Call DbAddDel::set_columns_ready() so the treeview actually shows some 
	columns.
	* glom/utility_widgets/db_adddel/Makefile.am:
	* glom/utility_widgets/db_adddel/treemodel_with_addrow.[h|cc]: A new 
	common MI abstract base class for treemodels that have the extra empty 
	row for adding rows.
	* glom/utility_widgets/db_adddel/liststore_with_addrow.[h|cc]: A new 
	treemodel derived from ListStore and the new base class, for use with 
	find mode.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h: Derive from 
	the new base class.
	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]: 
	construct_specified_columns(): Create the ListStore model for find mode.
	Use the model via the base class where possible, so we can use the 
	find mode model too.
	Avoid changing the data in the database when in find mode.

	This makes find mode work again in the list view, fixing bug #565579.

	svn path=/trunk/; revision=1836

2009-01-05  Murray Cumming  <murrayc@murrayc.com>

	Added update_gda_metastore_for_table(). Call it, but it does not seem to

2009-01-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.[h|cc]: Added update_gda_metastore_for_table().
	* glom/mode_design/fields/box_db_table_definition.cc
	on_adddel_add(), on_adddel_delete(), postgres_change_column(): 
	Call it, but it does not seem to work.
	New fields are immedietaly reported as not found (on the command line) 
	and field type changes are reverted when reopening the dialog.

	svn path=/trunk/; revision=1835

2009-01-03  Murray Cumming  <murrayc@murrayc.com>

	Removed the encoding line because it is deprecated according to

2009-01-03  Murray Cumming  <murrayc@murrayc.com>

	* glom.desktop.in.in: Removed the encoding line because it is deprecated 
	according to http://standards.freedesktop.org/desktop-entry-spec/1.0/apc.html 
	and lintian (debian) complains about it.

	svn path=/trunk/; revision=1833

2009-01-01  Mario Blättermann  <mariobl@src.gnome.org>

	Updated German UI and doc translations

	svn path=/trunk/; revision=1830

2008-12-27  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1829

2008-12-24  Murray Cumming  <murrayc@murrayc.com>

	show_tool_pallete(): Make this non-virtual because there are no overrides.

2008-12-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.h: show_tool_pallete(): Make this 
	non-virtual because there are no overrides.
	* glom/mode_find/box_data_details_find.cc: constructor, 
	fill_from_database(): Hide the tool palette, because it is useless in 
	Find mode.

	svn path=/trunk/; revision=1826

2008-12-22  Murray Cumming  <murrayc@murrayc.com>

	Documented two methods. on_adddel_changed(): Warn on stdcerr if the

2008-12-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.h: Documented two methods.
	* glom/mode_design/fields/box_db_table_definition.cc: on_adddel_changed():
	Warn on stdcerr if the newly-added field seems unknown to the database, 
	showing that the GdaMetaStore is not being updated automatically.

	svn path=/trunk/; revision=1825

2008-12-22  Murray Cumming  <murrayc@murrayc.com>

	cleanup(): Clear the cached connection, to stop Glom from using a

2008-12-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: cleanup(): Clear the cached connection, 
	to stop Glom from using a connection that has been disconnected.

	svn path=/trunk/; revision=1824

2008-12-21  Murray Cumming  <murrayc@murrayc.com>

	get_primary_key_is_in_foundset(): Avoid a crash when (unusually) the

2008-12-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_primary_key_is_in_foundset(): Avoid a crash 
	when (unusually) the primary key is not known.

	svn path=/trunk/; revision=1822

2008-12-21  Murray Cumming  <murrayc@murrayc.com>

	Copy constructor and operator=: Copy the underlying text, not just the

2008-12-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/layoutitem_text.cc: 
	Copy constructor and operator=: Copy the underlying text, not just 
	the smartpointer to it. This stops us from accidentally changing the 
	empty available template parts in reports.
	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/309417
	(elmergato) 

	svn path=/trunk/; revision=1821

2008-12-21  Murray Cumming  <murrayc@murrayc.com>

	Copy constructor and operator=: Copy the underlying text, not just the

2008-12-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/layoutitem_text.cc: 
	Copy constructor and operator=: Copy the underlying text, not just 
	the smartpointer to it. This stops us from accidentally changing the 
	empty available template parts in reports.
	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/309417
	(elmergato) 

	svn path=/trunk/; revision=1820

2008-12-19  Murray Cumming  <murrayc@murrayc.com>

	Add missing quotes around user and group names in SQL queries.

2008-12-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/users/dialog_groups_list.cc
	on_button_group_delete():
	* glom/mode_design/users/dialog_users_list.cc
	on_button_user_delete(), on_button_user_add(),
	on_button_user_new(), on_button_user_edit(): 
	Add missing quotes around user and group names in SQL queries.

	svn path=/trunk/; revision=1817

2008-12-19  Murray Cumming  <murrayc@murrayc.com>

	Split query_execute() into query_execute() and query_execute_select(),

2008-12-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.[h|cc]: Split query_execute() into query_execute() and 
	query_execute_select(), returning just a bool for query_execute(), 
	as suggested by a TODO because of the changed API in libgda 4.0.
	* Many files: Call the correct method.

	svn path=/trunk/; revision=1816

2008-12-18  Murray Cumming  <murrayc@murrayc.com>

	query_execute(): Catch ServerProviderError exceptions too. This needs the

2008-12-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: query_execute(): Catch ServerProviderError 
	exceptions too. This needs the latest libgdamm

	svn path=/trunk/; revision=1815

2008-12-18  Murray Cumming  <murrayc@murrayc.com>

	get_field_definition(): Actually store the primary-key and unique details.

2008-12-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/box_db_table_definition.cc:
	get_field_definition(): Actually store the primary-key and unique 
	details. This was a regression since the port to libgda 4.0.

	svn path=/trunk/; revision=1814

2008-12-17  Armin Burgmeier  <armin@openismus.com>

	Reverted the previous change. People can choose not to show the "comments"

2008-12-17  Armin Burgmeier  <armin@openismus.com>

	* glom/base_db.cc (create_table_with_default_fields): Reverted the
	previous change. People can choose not to show the "comments" or
	"description" columns in their layouts. We'll later support removing
	columns by recreating the whole table.

	svn path=/trunk/; revision=1813

2008-12-17  Armin Burgmeier  <armin@openismus.com>

	Don't create the "comments" and "description" columns if the database

2008-12-17  Armin Burgmeier  <armin@openismus.com>

	* glom/base_db.cc (create_table_with_default_fields): Don't create the
	"comments" and "description" columns if the database system does not
	support removing columns.

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc
	(fill_values_if_necessary): Adapt to libgdamm API change.
	Gda::DataModelIter::move_at_row has been renamed to move_to_row.

	svn path=/trunk/; revision=1812

2008-12-16  Murray Cumming  <murrayc@murrayc.com>

	connect(): Store a cache of the connection for 30 seconds, to avoid

2008-12-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: connect(): Store a cache of the 
	connection for 30 seconds, to avoid unnecessary reconnects. Clear the 
	cache when setting the username/password/database, to force a reconnect.

	svn path=/trunk/; revision=1811

2008-12-16  Murray Cumming  <murrayc@src.gnome.org>

	Un-uncomment the crash handler.

	svn path=/trunk/; revision=1810

2008-12-16  Murray Cumming  <murrayc@murrayc.com>

	refresh_from_database(): Use STATEMENT_MODEL_CURSOR instead of

2008-12-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: 
	refresh_from_database(): Use STATEMENT_MODEL_CURSOR instead of 
	ITER_MODEL_ONLY, as needed by libgda-4.0. 

	svn path=/trunk/; revision=1809

2008-12-15  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation.

2008-12-15  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

	svn path=/trunk/; revision=1808

2008-12-15  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1807

2008-12-15  Armin Burgmeier  <armin@openismus.com>

	Fixed logic so that the document is set to be modified when the new fields

2008-12-15  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/document/document_glom.cc (set_table_fields): Fixed
	logic so that the document is set to be modified when the new fields
	differ from the old fields, not when they compare equal.

	* glom/libglom/document/document_glom.h: Also copy the m_info member
	in DocumentTableInfo's copy constructor and assignment operator.

	* glom/base_db.cc: Update the libgda meta store after having created a
	new table, so that get_fields_for_table_from_database works correctly
	for the new table. These changes fix creating new tables.

	svn path=/trunk/; revision=1806

2008-12-15  Murray Cumming  <murrayc@murrayc.com>

	Avoided compiler warnings, mostly commenting out unused parameters.

2008-12-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/connectionpool_backends/sqlite.cc:
	* glom/libglom/data_structure/glomconversions.cc:
	* glom/libglom/document/document_glom.cc:
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_portal.cc:
	* glom/mode_data/flowtablewithfields.cc:
	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h:
	* glom/relationships_overview/printoperation_relationshipsoverview.cc:
	* glom/translation/window_translations.cc:
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/calendar/glomcalendar.cc:
	* glom/utility_widgets/calendar/glomcalendar.h:
	* glom/utility_widgets/calendar/glomgtkcalendar.h:
	* glom/utility_widgets/canvas/canvas_group_resizable.cc:
	* glom/utility_widgets/canvas/canvas_item_movable.cc:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/egg/toolpalette/eggtoolpalette.h:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable_dnd.cc:
	* glom/utility_widgets/sidebar.cc: Avoided compiler warnings, mostly 
	commenting out unused parameters.

	svn path=/trunk/; revision=1805

2008-12-15  Johannes Schmid  <jhs@Obelix>

	Fixed a warning (actually avoided a sprintf completely...)

2008-12-15  Johannes Schmid  <jhs@Obelix>

	* glom/frame_glom.cc:
	Fixed a warning (actually avoided a sprintf completely...)

	* glom/libglom/connectionpool_backends/postgres_central.cc:
	* glom/libglom/connectionpool_backends/postgres_central.h:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	Fixed creating of databases. Database is no created though things break
	at a latter stage.

	svn path=/trunk/; revision=1804

2008-12-12  Murray Cumming  <murrayc@murrayc.com>

	Remove tabs, and spaces before ( and generally fix some old Johannes-esque

2008-12-12  Murray Cumming  <murrayc@murrayc.com>

	* Many files: Remove tabs, and spaces before ( and generally fix some
	old Johannes-esque formatting.

	svn path=/trunk/; revision=1803

2008-12-12  Murray Cumming  <murrayc@src.gnome.org>

	Updated ChangeLog entry because I fixed the crash in libgdamm

	svn path=/trunk/; revision=1802

2008-12-12  Murray Cumming  <murrayc@murrayc.com>

	Store the primary_key and unique_key details as bools in the C++ class,

2008-12-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/field.[h|cc]: Store the primary_key and
	unique_key details as bools in the C++ class, because we cannot
	easily get that from libgda-4.0, so we at least remember that
	information from the document. If we can get it from the database
	somehow then we can do that later.
	* glom/mode_design/fields/dialog_fielddefinition.cc: get_field():
	Store the primary_key and unique_key details in the C++ class.
	We previously stored them info Gda::Column but that code was commented
	out during the port to libgda-4.0.

	There is also a crash workaround in Gda::Holder in libgdamm, but there
	is still another unsolved crash.

	svn path=/trunk/; revision=1801

2008-12-12  Murray Cumming  <murrayc@murrayc.com>

	connect(): Call update_meta_store() here. Constructor,

2008-12-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: connect(): Call update_meta_store() 
	here.
	* glom/libglom/data_structure/fieldtypes.cc: Constructor,
	* glom/base_db.cc: get_fields_for_table_from_database(): Do not call 
	update_meta_store() here, because ConnectionPool::connect() has 
	already called it. This makes things faster but there is still some 
	slowness.

	svn path=/trunk/; revision=1800

2008-12-12  Murray Cumming  <murrayc@murrayc.com>

	Constructor, get_fields_for_table_from_database(): Use the new

2008-12-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/fieldtypes.cc: Constructor,
	* glom/base_db.cc: get_fields_for_table_from_database():
	Use the new get_meta_store_data() method overload with no filter 
	parameter to simplify the code slightly.
	Add debug output to show how often we call update_meta_store() and 
	how awfully slow it is.

	svn path=/trunk/; revision=1799

2008-12-11  Daniel Nylander  <dnylande@src.gnome.org>

	sv.po: Updated Swedish translation

	svn path=/trunk/; revision=1798

2008-12-11  Murray Cumming  <murrayc@murrayc.com>

	Also check an alternative directory path for the examples because an

2008-12-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/dialog_existing_or_new.[h|cc]: Also check an alternative 
	directory path for the examples because an (unofficial) Ubuntu package 
	installs them in an unexpected location. I would rather find out 
	how/why that is happening though.

	svn path=/trunk/; revision=1797

2008-12-10  Johannes  <jschmid@openismus.com>

	Depend on libgdamm-4.0, libgda-postgres-4.0 and pygda-4.0

2008-12-10  Johannes  <jschmid@openismus.com>

	* configure.in:
	Depend on libgdamm-4.0, libgda-postgres-4.0 and pygda-4.0

	* glom/main.cc: Call Gnome::Gda::Init() without arguments

	* glom/base_db.cc:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool_backends/postgres_central.cc:
	* glom/libglom/connectionpool_backends/postgres_central.h:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/connectionpool_backends/postgres_self.h:
	* glom/libglom/connectionpool_backends/sqlite.cc:
	* glom/libglom/connectionpool_backends/sqlite.h:
	* glom/libglom/data_structure/field.cc:
	* glom/libglom/data_structure/fieldtypes.cc:
	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	* glom/libglom/test_connectionpool.cc:
	* glom/libglom/utils.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* regression_tests/test_parsing_time.cc:

	Ported gda calls to libgda 4.0. This does mostly involve the removal of Gda::Client
	and some more API changes (Gda::ParamList => Gda::Set, Gda::Parameter => Gda::Holder).
	Some bits are still missing which involves creating database for Postgres (sqlite works) and
	several checks if postgres is installed that have been performed in the past. Also, the
	set_unique_key() and set_primary_key() methods of Gda::Column have no replacement in 4.0.
	All things that are not finished are marked with "TODO_gda:".

	svn path=/trunk/; revision=1794

2008-12-09  Armin Burgmeier  <armin@openismus.com>

	Set "Users" mene item in "Developer" menu insensitive when the database

2008-12-09  Armin Burgmeier  <armin@openismus.com>

	* glom/application.h:
	* glom/application.cc: Set "Users" mene item in "Developer" menu
	insensitive when the database does not support users.

	* glom/frame_glom.cc: Don't ask for user/password for SQLite
	connections.

	* glom/libglom/data_structure/glomconversions.cc
	(get_text_for_gda_value): Really allow TIME values to be strings.

	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool_backends/postgres_central.h:
	* glom/libglom/connectionpool_backends/postgres_self.h:
	* glom/libglom/connectionpool_backends/sqlite.h: Added a
	supports_remote_connection() virtual function to the ConnectionPool
	backends.

	* glom/libglom/connectionpool.cc: Don't advertize the Glom document
	via avahi when the database does not support remote connections, such
	as SQLite.

	svn path=/trunk/; revision=1793

2008-12-09  Murray Cumming  <murrayc@murrayc.com>

	validate_primary_key(): Avoid a null pointer dereference (crash) if there

2008-12-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_import_csv.[h|cc]:
	validate_primary_key(): Avoid a null pointer dereference (crash) if 
	there is no primary key, though that should never happen now.
	handle_line(), import(): Use a sorted tree model so the fields list is 
	alphabetically sorted.
	Ubuntu bug #https://bugs.launchpad.net/ubuntu/+source/glom/+bug/306593
	(elmergato)

	svn path=/trunk/; revision=1791

2008-12-09  Murray Cumming  <murrayc@src.gnome.org>

	Improve ChangeLog

	svn path=/trunk/; revision=1790

2008-12-09  Murray Cumming  <murrayc@murrayc.com>

	Constructors: Do not enable row drag and drop on the treeviews, because it

2008-12-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc: Constructors: 
	Do not enable row drag and drop on the treeviews, because it is not 
	used and it just confuses users who trigger it accidentally.
	This was just some left-over code from when these classes were started 
	by copying the layout dialog.

	svn path=/trunk/; revision=1788

2008-12-09  Murray Cumming  <murrayc@murrayc.com>

	Constructor: When the examples directory does not exist, mention the path

2008-12-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_existing_or_new.cc: Constructor: When the examples 
	directory does not exist, mention the path in the stderr message, to 
	help us to debug the problem.

	svn path=/trunk/; revision=1786

2008-12-08  Murray Cumming  <murrayc@src.gnome.org>

	Reverted some debug output.

	svn path=/trunk/; revision=1785

2008-12-08  Murray Cumming  <murrayc@murrayc.com>

	cleanup(): Check for a null m_backend, to avoid a crash when quitting Glom

2008-12-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: cleanup(): Check for a null 
	m_backend, to avoid a crash when quitting Glom without opening a file.
	I added some more checks elsewhere.

	svn path=/trunk/; revision=1784

2008-12-08  Murray Cumming  <murrayc@src.gnome.org>

	Improved ChangeLog entry.

	svn path=/trunk/; revision=1783

2008-12-08  Murray Cumming  <murrayc@murrayc.com>

	Do not create a GooCanvasGrid with 0 steps, so Glom works with versions of

2008-12-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_group_grid.cc (Glom.create_lines):
	Do not create a GooCanvasGrid with 0 steps, so Glom works with versions 
	of GooCanvas without the bug fix.

	svn path=/trunk/; revision=1781

2008-12-06  Murray Cumming  <murrayc@murrayc.com>

	on_cell_data_title(): Pass a ustring to set_property() for the (None)

2008-12-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/combobox_fields.cc: on_cell_data_title(): Pass a ustring to
	set_property() for the (None) item, so it really shows up.
	set_property() cannot handle a char* there, it seems.
	For instance, this means that the choices fields can be cleared again.
	This regression probably happened when we first ported Glom to Maemo.
	Bug found by Arq. Maximiliano Meilán.

	svn path=/trunk/; revision=1778

2008-12-06  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_Add(): Set a default title based on the name, when adding a new

2008-12-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/box_reports.cc: on_adddel_Add(): Set a default title based on
	the name, when adding a new report, as we do for tables, relationships,
	print layouts, etc.:

	svn path=/trunk/; revision=1777

2008-12-06  Murray Cumming  <murrayc@murrayc.com>

	dialog_import_csv: Set the GtkSpinButton page size to 0 because recent

2008-11-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: dialog_import_csv: Set the GtkSpinButton page size to
	0 because recent GTK+ warns that no other value is allowed.

	svn path=/trunk/; revision=1776

2008-12-05  Armin Burgmeier  <armin@openismus.com>

	Replaced get_escaped_binary_data by escape_binary_data_postgres() and

2008-12-05  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/data_structure/glomconversions.h: 
	* glom/libglom/data_structure/glomconversions.cc: Replaced
	get_escaped_binary_data by escape_binary_data_postgres() and
	escape_binary_data_sqlite(). SQLite uses a different format for binary
	data.
	(get_text_for_gda_value): Allow DATE and TIME values to be strings,
	and parse them always in ISO format. This is used for SQLite within
	which we store dates and times as ISO-formatted strings.

	* glom/libglom/data_structure/field.cc (glom_unescape_text): Don't
	unescape double quotes, as they are not escaped in glom_escape_text
	either.
	(sql): Use the escape_binary_data_postgres or
	escape_binary_data_sqlite functions from glomconversions, depending on
	the preferred format.
	(from_sql): Use the unescape_binary_data_postgres or
	unescape_binary_data_sqlite functions from glomconversions, depending
	on the preferred format.

	svn path=/trunk/; revision=1775

2008-12-04  Murray Cumming  <murrayc@murrayc.com>

	Added has_no_criteria() to check if it has a sort order or where clause.

2008-12-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/foundset.[h|cc]: Added has_no_criteria() 
	to check if it has a sort order or where clause.
	* glom/libglom/document/document_glom.[h|cc]: Added 
	set_criteria_current(), like set_layout_current(), so we can 
	temporarily remember the sort (and find) for a table while navigating.
	DocumentTableInfo: Hand-wrote copy constructor and operator=() rather 
	than depend on generated ones.
	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]: 
	Added signal_sort_clause_changed, emitted when the user clicks on 
	the column header, which already caused a refresh with that sort.
	* glom/mode_data/box_data_list.[h|cc]: Respond to a sort change in the 
	DbAddDel widget, saving it temporarily in the document.
	* glom/mode_data/frame_glom.cc: show_table(): Use the remembered 
	criteria, from the document, where there is one.

	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/303422
	(elmergato)

	svn path=/trunk/; revision=1774

2008-12-02  Armin Burgmeier  <armin@openismus.com>

	Added a fallback map that specifies types that can be used when the

2008-12-02  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/data_structure/fieldtypes.h:
	* glom/libglom/data_structure/fieldtypes.cc: Added a fallback map that
	specifies types that can be used when the database does not support
	another type natively.

	* glom/libglom/data_structure/field.cc (set_field_info): Only set glom
	type of the field based on the GType of the info if it represents a
	different type. This prevents losing type information of the field
	when the type for this field used a fallback.

	* glom/libglom/data_structure/glomconversions.cc
	(get_text_for_gda_value): Don't complain for numeric types when the
	gtype is double, because this is used when the database system does
	not support GdaNumeric natively.

	svn path=/trunk/; revision=1773

2008-12-01  Murray Cumming  <murrayc@murrayc.com>

	Depend on the latest goocanvasmm version.

2008-12-01  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Depend on the latest goocanvasmm version.

	svn path=/trunk/; revision=1772

2008-11-30  Armin Burgmeier  <armin@openismus.com>

	Removed the DISTCHECK_CONFIGURE_FLAGS setting, since the

2008-11-30  Armin Burgmeier  <armin@openismus.com>

	* Makefile.am: Removed the DISTCHECK_CONFIGURE_FLAGS setting, since
	the --disable-scrollkeeper option is already passed to configure
	during distcheck by other means. This allows setting custom
	DISTCHECK_CONFIGURE_FLAGS. Bug #562688.

	svn path=/trunk/; revision=1771

2008-11-30  Armin Burgmeier  <armin@openismus.com>

	Added connectionpool_backends/postgres_central.cc and

2008-11-30  Armin Burgmeier  <armin@openismus.com>

	* POTFILES.in: Added connectionpool_backends/postgres_central.cc and
	connectionpool_backends/postgres_self.cc, which contain strings that
	were in connectionpool.cc formerly.

	svn path=/trunk/; revision=1770

2008-11-29  Armin Burgmeier  <armin@openismus.com>

	Fixed the description of the --with-postgres-utils option to match the

2008-11-29  Armin Burgmeier  <armin@openismus.com>

	* configure.in: Fixed the description of the --with-postgres-utils
	option to match the default.

	svn path=/trunk/; revision=1769

2008-11-29  Armin Burgmeier  <armin@openismus.com>

	Changed DISTCLEAN_FILES to DISTCLEANFILES, to fix make distcheck.

2008-11-29  Armin Burgmeier  <armin@openismus.com>

	* Makefile.am: Changed DISTCLEAN_FILES to DISTCLEANFILES, to fix make
	distcheck.

	svn path=/trunk/; revision=1768

2008-11-28  Armin Burgmeier  <armin@openismus.com>

	Update for Glom 1.8.

2008-11-28  Armin Burgmeier  <armin@openismus.com>

	* win32/build-installer:
	* win32/glom.iss.in: Update for Glom 1.8.

	svn path=/trunk/; revision=1763

2008-11-28  Armin Burgmeier  <armin@openismus.com>

	Added a sql_format enumeration, and added a format paramater to sql() and

2008-11-28  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/data_structure/field.h:
	* glom/libglom/data_structure/field.cc: Added a sql_format
	enumeration, and added a format paramater to sql() and from_sql().
	This is needed for sqlite because it does not understand the
	E'binarydata'::bytea representation for binary data, which is a
	postgres extension.

	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool_backends/postgres_central.h:
	* glom/libglom/connectionpool_backends/postgres_self.h:
	* glom/libglom/connectionpool_backends/sqlite.h: Added a
	get_sql_format() virtual method that returns the SQL format of the
	backend.

	* glom/libglom/data_structure/fieldtypes.cc
	(get_string_name_for_gdavaluetype): Added some fallbacks for types
	sqlite does not support. This means we are storing numerics as
	doubles, and dates and times as strings in sqlite.

	* glom/libglom/data_structure/glomconversions.cc
	(get_double_for_gda_value_numeric): Handle the value being a double,
	since we use this when the database system doesn't has a "numeric"
	type.

	* glom/dialog_import_csv.cc:
	* glom/dialog_import_csv_progress.cc:
	* glom/frame_glom.cc: Export/Import data always in postgres format,
	because this is what we used to do.

	* glom/base_db.cc (add_standard_groups): Make this a no-op in case the
	database system doesn't support users.
	(insert_example_data): Convert data from the example file from
	postgres format to the format the current database backend uses before
	importing.
	(count_rows_returned_by): For sqlite the result of the SELECT COUNT
	query is int, not int64, so handle that case as well.

	* glom/glom_privs.cc (get_current_privs): Assume we have all possible
	privileges in case the database system doesn't support users.

	* glom/utility_widgets/filechooserdialog_saveextras.cc
	(set_extra_newdb_hosting_mode): Fixed central hosting/self hosting
	mismatch (the default option in the dialog was wrong).

	svn path=/trunk/; revision=1762

2008-11-26  Murray Cumming  <murrayc@murrayc.com>

	Respond to changes in the scrolledwindow adjustments to increase the

2008-11-26  Murray Cumming  <murrayc@murrayc.com>

	* glom/relationships_overview/dialog_relationships_overview.[h|cc]:
	Respond to changes in the scrolledwindow adjustments to increase the 
	canvas size when the window size changes, so it is always big enough, 
	avoiding dead areas.
	Bug #559157 (Iain Lane).

	svn path=/trunk/; revision=1760

2008-11-25  Armin Burgmeier  <armin@openismus.com>

	Fixed a crash which was caused by accessing mapGroups[1] in a

2008-11-25  Armin Burgmeier  <armin@openismus.com>

	* glom/mode_data/dialog_layout_export.cc (get_layout_groups): Fixed a
	crash which was caused by accessing mapGroups[1] in a
	default-constructed vector. Bug #557052.

	svn path=/trunk/; revision=1756

2008-11-25  Murray Cumming  <murrayc@murrayc.com>

	Added a show_ok_dialog() overload that takes the parent_window as a

2008-11-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/utils.[h|cc]:
	Added a show_ok_dialog() overload that takes the parent_window as a 
	pointer to simplify code by avoiding the need for a null check by 
	callers.

	* glom/mode_design/fields/box_db_table_definition.cc: 
	check_field_change(): Refuse to leave no primary key set because 
	the rest of Glom expects each table to have one, by refusing to 
	directly unset a primary key.
	When setting a primary key, ask the user if they really want to _change_ 
	the primary key, and do the suitability checks that were previously in  
	change_definition().
	change_definition(): When setting a primary key, unset the previous 
	primary key first.

	This prevents the table from ever having no primary key.
	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/299549
	(elmergato)
	Glom bug #562147

	svn path=/trunk/; revision=1753

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	set_found_set_from_primary_key_value(): Do not crash if there is no

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: 
	set_found_set_from_primary_key_value(): Do not crash if there is no 
	primary key, though we should not allow tables with no primary keys.

	svn path=/trunk/; revision=1751

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	update_table_in_document_from_database: Ignore the default_value property

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: update_table_in_document_from_database:
	Ignore the default_value property from libgda/database, because we only 
	use it from the document, because libgda returns weird values.
	This prevents the loss of the default value information when reloading 
	a document.
	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/299896
	(elmergato)

	svn path=/trunk/; revision=1749

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	Call set_value_key(), like the old code did. Otherwise, each field edit

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc
	user_added(): Call set_value_key(), like the old code did.
	Otherwise, each field edit adds another record, generating a new primary 
	key each time, resulting in duplicate records.
	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/300819
	(elmergato)

	svn path=/trunk/; revision=1747

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	on_button_group_new(): Put quotes around the group name, to avoid a

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/users/dialog_groups_list.cc: on_button_group_new():
	Put quotes around the group name, to avoid a problem when it contains a 
	space.

	svn path=/trunk/; revision=1745

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	Removed the unused signal_user_requested_delete signal.

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: Removed 
	the unused signal_user_requested_delete signal.
	on_MenuPopup_activate_Delete() (also called when the button is pressed):
	Actually call user_requested_delete(), so that the user can delete a 
	list row. I forgot to do this when moving the other stuff down into 
	DbAddDel.
	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/299853
	(elmergato)

	svn path=/trunk/; revision=1743

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	Add a more specific warning when getting a text representation for a

2008-11-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/glomconversions.cc
	get_text_for_gda_value: Add a more specific warning when getting a 
	text representation for a boolean, as done by the import dialog, though 
	it should not really. Return translated true/false strings in that case.

	svn path=/trunk/; revision=1742

2008-11-22  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1739

2008-11-22  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1738

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	Corrected a button name to avoid a crash when editing reports. Ubuntu bug

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade: Corrected a button name to avoid a crash 
	when editing reports.
	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/300054

	svn path=/trunk/; revision=1736

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	dialog_import_csv: Added a lable for advice about the expected data

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: dialog_import_csv: Added a lable for advice about 
	the expected data format.
	* glom/dialog_import_csv.cc: Constructor: Generate advice text in the 
	label, showing an example of the expected ISO date format.
	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/299591

	svn path=/trunk/; revision=1734

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	on_menu_file_export(): Correct the order of parameters to

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: on_menu_file_export(): Correct the order of 
	parameters to Document_Glom::get_data_layout_groups_plus_new_fields() 
	so we actually get a sensible default set of fields instead of nothing.
	This was only a problem since the addition of the active-layout feature 
	on trunk.

	svn path=/trunk/; revision=1733

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	Mark a tooltip as translatable in the initial dialog. Ubuntu bug

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Mark a tooltip as translatable in the initial dialog.
	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/299556

	svn path=/trunk/; revision=1731

2008-11-21  Murray Cumming  <murrayc@src.gnome.org>

	Removed merge stuff

	svn path=/trunk/; revision=1728

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	sanity_check_date_text_representation_uses_4_digit_years(): Default to

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/glomconversions.c: 
	sanity_check_date_text_representation_uses_4_digit_years(): 
	Default to dd/mm/yyyy for dates when the translator has not provided 
	a 4-digit-year date syntax for the locale, printing a warning that the 
	default might not be suitable. This seems better than failing.

	svn path=/trunk/; revision=1727

2008-11-21  Armin Burgmeier  <armin@openismus.com>

	Changed connect() and create_database() functions of Backend to always

2008-11-21  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.h: Changed connect() and
	create_database() functions of Backend to always take an error
	parameter as last argument, to save ugly #ifdefs. The ConnectionPool
	is the only one accessing these functions anyway, so this is not part
	of "public" API.

	* glom/libglom/connectionpool_backends/postgres_self.h:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/connectionpool_backends/postgres_central.h:
	* glom/libglom/connectionpool_backends/postgres_central.cc: Adapt.

	* glom/libglom/connectionpool_backends/sqlite.h:
	* glom/libglom/connectionpool_backends/sqlite.cc:
	* glom/libglom/connectionpool_backends/Makefile.am: Added a sqlite for
	creating and connecting to SQlite databases.

	* glom/libglom/document/document_glom.h:
	* glom/libglom/document/document_glom.cc: Replace self_hosted
	attribute by a hosting_mode one in the document XML, which can be
	either "postgres_central", "postgres_self" or "sqlite".

	* glom/utility_widgets/filechooserdialog_saveextras.h:
	* glom/utility_widgets/filechooserdialog_saveextras.cc: Offer to store
	the data in a SQlite database.

	* glom/application.h:
	* glom/application.cc:
	* glom/dialog_connection.cc:
	* glom/frame_glom.cc: Handle the SQlite case, create corresponding
	ConnectionPool backend. It is possible to create a SQlite database
	this way, but some initial queries still fail yet because they are
	specific to postgres.

	svn path=/trunk/; revision=1726

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	Added sanity_check_date_parsing() and

2008-11-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/glomconversions.[h|cc]:
	Added sanity_check_date_parsing() and 
	sanity_check_date_text_representation_uses_4_digit_years().
	* glom/main.cc: Use them to show informative warnings at startup.
	The translators comment for %x mentions those warnings now too.
	* po/es.po: Add a translation for %x because the es locales do not 
	use 4-digit years for this.
	Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/300057

	* glom/test_pyembed.cc: Add a cast to avoid a warning.
	* glom/utility_widgets/db_adddel/db_adddel.cc: Initialize InnerIgnore 
	members to avoid warnings, though these would always be initialized in 
	real life.

	svn path=/trunk/; revision=1725

2008-11-17  Armin Burgmeier  <armin@arbur.net>

	Removed postgres-specific function, added a common "Backend" interface.

2008-11-17  Armin Burgmeier  <armin@arbur.net>

	* glom/libglom/connectionpool.h: Removed postgres-specific function,
	added a common "Backend" interface. Simplified the code logic in
	connect().

	* glom/libglom/connectionpool_backends/postgres_self.h:
	* glom/libglom/connectionpool_backends/postgres_self.cc:
	* glom/libglom/connectionpool_backends/postgres_central.h:
	* glom/libglom/connectionpool_backends/postgres_central.cc:
	* glom/libglom/connectionpool_backends/Makefile.am: Added backends
	for postgres central and self hosting.

	* glom/libglom/gst-package.c:
	* glom/libglom/test_connectionpool.cc:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/document/document_glom.cc:
	* glom/main.cc:
	* glom/frame_glom.cc:
	* glom/dialog_connection.cc:
	* glom/application.cc:
	* glom/dialog_new_self_hosted_connection.cc: Adapt other glom code,
	instantate the backends appropiately.

	svn path=/trunk/; revision=1724

2008-11-13  Murray Cumming  <murrayc@murrayc.com>

	Use the new Goocanvas::Grid instead of creating lots of lines ourselves.

2008-11-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_group_grid.[h|cc]:
	Use the new Goocanvas::Grid instead of creating lots of lines ourselves.
	We still need this class to add the rules and do the snapping though.

	svn path=/trunk/; revision=1723

2008-11-11  Murray Cumming  <murrayc@murrayc.com>

	Adapt to goocanvasmm enum name changes.

2008-11-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	* glom/utility_widgets/canvas/canvas_group_resizable.cc:
	Adapt to goocanvasmm enum name changes.

	svn path=/trunk/; revision=1721

2008-11-10  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1720

2008-11-07  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

	Updated Brazilian Portuguese translation by Michel Recondo and Leonardo

2008-11-07  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

	* pt_BR.po: Updated Brazilian Portuguese translation by Michel Recondo
	and Leonardo Ferreira Fontenelle.

	svn path=/trunk/; revision=1719

2008-11-05  Murray Cumming  <murrayc@murrayc.com>

	Remove the system name label. It is in the window title and this has

2008-11-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Remove the system name label. It is in the window 
	title and this has always been a little weird. I never found a way to 
	make it pretty without wasting space, so it is now gone.
	* glom/frame_glom.[h|cc]: 
	Removed show_system_name().
	set_databases_selected(),
	on_menu_developer_database_preferences():
	* glom/application.cc: Constructor: Don't call it. 

	svn path=/trunk/; revision=1718

2008-11-05  Murray Cumming  <murrayc@murrayc.com>

	init_menus(): Added Developer/ActivePlatform sub menu.

2008-11-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.[h|cc]: init_menus(): Added Developer/ActivePlatform 
	sub menu.

	* glom/libglom/document/document_glom.[h|cc]:
	Added set/get_active_layout_platform(), and 
	set/get_default_layout_platform().
	get_data_layout_groups_default(), get_data_layout_groups_plus_new_fields(),
	set/get_data_layout_groups(), get_data_layout_groups_have_any_fields():
	Added a layout_platform parameters.
	load_after(), save_before(): Save the layout_platform for each layout.
	* glom/frame_glom.cc: show_table(), on_menu_file_export():
	* glom/mode_data/notebook_data.[h|cc]: init_db_details(),
	on_switch_page_handler():
	* glom/mode_data/box_data.[h|cc]: init_db_details(),
	get_table_fields_to_show(), get_data_layout_groups()
	* glom/mode_data/box_data_calendar_related.cc: init_db_details(),
	prepare_layout_dialog():
	* glom/mode_data/box_data_details.cc: init_db_details(),
	create_layout(), on_button_new(),
	on_flowtable_layout_changed(), print_layout(),
	prepare_layout_dialog():
	* glom/mode_data/box_data_list.cc: on_adddel_user_reordered_columns(),
	create_layout_get_layout(), prepare_layout_dialog():
	* glom/mode_data/box_data_list_related.cc: init_db_details(), 
	prepare_layout_dialog():
	* glom/mode_data/box_data_portal.cc: init_db_details():
	* glom/mode_data/dialog_layout.[h|cc]: set_document():
	* glom/mode_data/dialog_layout_calendar_related.[h|cc]: set_document():
	* glom/mode_data/dialog_layout_details.[h|cc]: set_document(), 
	save_to_document():
	* glom/mode_data/dialog_layout_list_related.[h|cc]: set_document():
	* glom/mode_find/notebook_find.[h|cc]:
	* glom/mode_find/box_data_details_find.[h|cc]:
	* glom/mode_find/box_data_list_find.[h|cc]
	* glom/utility_widgets/datawidget.cc: offer_related_record_id_find():
	* glom/utility_widgets/dialog_choose_id.[h|cc]: on_box_find_criteria(),
	init_db_details():
	* glom/utility_widgets/dialog_layoutitem_properties.[h|cc]:

	Adapted to changed Document_Glom API, taking note of the active platform.

	This allows people to define a different layout to be used when running 
	on a Maemo platform.

	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/libglom/python_embed/py_glom_related.cc:
	Added some casts to avoid warnings about literal to char* conversions. 

	svn path=/trunk/; revision=1717

2008-11-02  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation.

2008-11-02  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

	svn path=/trunk/; revision=1716

2008-10-27  Murray Cumming  <murrayc@src.gnome.org>

	Mark the branch.

	svn path=/trunk/; revision=1715

2008-10-22  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1713

2008-10-22  Murray Cumming  <murrayc@murrayc.com>

	Return the portal as the group instead of trying to get the layout via the

2008-10-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list_related.cc create_layout_get_layout():
	Return the portal as the group instead of trying to get the layout via 
	the (not meant to be used) list_related layout name. This makes related 
	records portals show the specified fields again, instead of all of them.
	* glom/mode_data/box_data_manyrecords.cc: 
	* glom/mode_data/box_data_manyrecords.h: Remove the useless 
	create_layout_get_layout() override.

	svn path=/trunk/; revision=1712

2008-10-21  Koop Mast  <kwm@FreeBSD.org>

	constructor: Add an ifdef to fix the build in client-only mode. Bug

2008-10-21  Koop Mast  <kwm@FreeBSD.org>

	* glom/mode_data/notebook_data.cc: constructor:
	Add an ifdef to fix the build in client-only mode.
	Bug #557258

	svn path=/trunk/; revision=1711

2008-10-21  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1710

2008-10-20  Murray Cumming  <murrayc@murrayc.com>

	Added new screenshot.

2008-10-20  Murray Cumming  <murrayc@murrayc.com>

	* docs/user-guide/C/figures/glom_import.png:
	* docs/user-guide/Makefile.am:
	* docs/website/screenshots/glom_import.png:
	Added new screenshot.

	* glom/dialog_import_csv.cc: Use a more robust way of 
	creating TreeModel::Paths, to avoid a crash.

	svn path=/trunk/; revision=1709

2008-10-20  Murray Cumming  <murrayc@murrayc.com>

	Updated, ready for a 1.8.0 release. Depend on the latest goocanvasmmm,

2008-10-20  Murray Cumming  <murrayc@murrayc.com>

	* NEWS: Updated, ready for a 1.8.0 release.
	* configure.in: Depend on the latest goocanvasmmm, because of 
	my API change.
	* glom/dialog_import_csv.cc:
	* glom/dialog_import_csv.h: Some code syntax changes.

	svn path=/trunk/; revision=1708

2008-10-18  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation.

2008-10-18  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

	svn path=/trunk/; revision=1707

2008-10-13  Murray Cumming  <murrayc@murrayc.com>

	po/en_GB.po: Restore the date printf format AGAIN that was removed by

2007-04-01  Murray Cumming  <murrayc@murrayc.com>

	po/en_GB.po: Restore the date printf format AGAIN that was removed by 
	David Lodge AGAIN.
	This date format translation corrects the parsing and display of 
	4-digit dates.
	Bug #425116

	svn path=/trunk/; revision=1706

2008-10-13  Murray Cumming  <murrayc@murrayc.com>

	get_canvas_table_cell_child(): Adapted for my

2008-10-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	get_canvas_table_cell_child(): Adapted for my 
	Goocanvas::Item::get_child_property() API change. 

	svn path=/trunk/; revision=1705

2008-10-10  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1704

2008-10-09  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1703

2008-10-08  Murray Cumming  <murrayc@src.gnome.org>

	Removed some debug output.

	svn path=/trunk/; revision=1702

2008-10-08  Murray Cumming  <murrayc@murrayc.com>

	glom/icons/16x16/glom-line-horizontal.png Incredibly bad initial versions

2008-10-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/icons/16x16/glom-line-horizontal.png
	* glom/icons/16x16/glom-line-vertica.png: Incredibly bad initial
	versions of these icons, featuring actual lines.

	svn path=/trunk/; revision=1701

2008-10-08  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_user_added(): Set a default title based on the name, when adding

2008-10-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/box_print_layouts.cc:
	on_adddel_user_added(): Set a default title based on the name,
	when adding a print layout.

	svn path=/trunk/; revision=1700

2008-10-08  Murray Cumming  <murrayc@murrayc.com>

	Rename signal handler to make them clearer.

2008-10-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/box_print_layouts.[h|cc]:
	Rename signal handler to make them clearer.

	svn path=/trunk/; revision=1699

2008-10-08  Murray Cumming  <murrayc@murrayc.com>

	glom/mode_data/box_data_portal.cc glom/base_db.h Moved code from

2008-10-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_portal.cc
	* glom/base_db.h
	* glom/base_db.cc:
	Moved code from Box_Data_Portal::init_db_details() into
	set_found_set_where_clause_for_portal() so it can be reused.
	Added get_field_value_in_database() overload that
	takes a FoundSet.
	* glom/mode_design/print_layouts/canvas_layout_item.cc
	* glom/mode_design/print_layouts/canvas_layout_item.h: moved some code into
	get_rows_count_for_portal() so it can be reused.
	* glom/frame_glom.cc
	* glom/mode_design/print_layouts/canvas_print_layout.cc
	* glom/mode_design/print_layouts/canvas_print_layout.h:
	fill_with_data(): Added and used some helper functions to fill tables
	(for portals) with data so that portals actually show field data when
	printed.

	svn path=/trunk/; revision=1698

2008-10-03  Murray Cumming  <murrayc@src.gnome.org>

	Some unfinished stuff so I can get it easily on my laptop. Sorry

	svn path=/trunk/; revision=1697

2008-09-30  Murray Cumming  <murrayc@murrayc.com>

	append_appropriate_row(): Make sure that this returns something even for

2008-09-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h:
	append_appropriate_row(): Make sure that this returns something even 
	for related records portals, so we can add buttons, text, and images to 
	them again.

	svn path=/trunk/; revision=1696

2008-09-30  Murray Cumming  <murrayc@src.gnome.org>

	Also hid Add Group for list layouts.

	svn path=/trunk/; revision=1695

2008-09-30  Murray Cumming  <murrayc@murrayc.com>

	Renamed some widgets to make the code just slightly less weird.

2008-09-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h:
	* glom/mode_data/dialog_layout_export.cc:
	* glom/mode_data/dialog_layout_export.h:
	* glom/mode_data/dialog_layout_list.cc: Renamed some widgets to make the 
	code just slightly less weird.

	svn path=/trunk/; revision=1694

2008-09-30  Murray Cumming  <murrayc@murrayc.com>

	set_layout_item(): Moved some code into a

2008-09-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	* glom/mode_design/print_layouts/canvas_layout_item.h: set_layout_item(): 
	Moved some code into a create_canvas_item_for_layout_item() function so 
	we can use it to create table cell items, without putting them inside 
	groups (resizables), because goocanvas cannot handle that.

	svn path=/trunk/; revision=1692

2008-09-30  Murray Cumming  <murrayc@murrayc.com>

	set_layout_item(): Moved some code into a

2008-09-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	* glom/mode_design/print_layouts/canvas_layout_item.h: set_layout_item(): 
	Moved some code into a create_canvas_item_for_layout_item() function so 
	we can use it to create table cell items, without putting them inside 
	groups (resizables), because goocanvas cannot handle that.

	svn path=/trunk/; revision=1691

2008-09-26  Johannes Schmid  <jhs@src.gnome.org>

	Require correct version for bakery and goocanvasmm

	* configure.in: Require correct version for bakery and goocanvasmm

	(typo in ChangeLog)

	svn path=/trunk/; revision=1690

2008-09-26  Johannes Schmid  <johannes.schmid@openismus.com>

	Require correct version for bonobo and goocanvasmm

2008-09-26  Johannes Schmid  <johannes.schmid@openismus.com>

	* configure.in: Require correct version for bonobo and goocanvasmm

	* glom/mode_data/flowtablewithfields.cc:
	* glom/mode_data/flowtablewithfields.h:
	* glom/utility_widgets/flowtable_dnd.cc:
	* glom/utility_widgets/flowtable_dnd.h:
	* glom/utility_widgets/layouttoolbar.cc:
	Added support for dragging related records to the layout. See #358092

	svn path=/trunk/; revision=1689

2008-09-13  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1688

2008-09-13  Murray Cumming  <murrayc@murrayc.com>

	Increase the required goocanvasmm version, so we get the grid lines.

2008-09-13  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Increase the required goocanvasmm version, so we get the 
	grid lines.

	svn path=/trunk/; revision=1687

2008-09-13  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1686

2008-09-12  Murray Cumming  <murrayc@murrayc.com>

	Mention a new file.

2008-09-12  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in: Mention a new file.

	svn path=/trunk/; revision=1685

2008-09-12  Murray Cumming  <murrayc@murrayc.com>

	Mention a new file.

2008-09-12  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in: Mention a new file.

	svn path=/trunk/; revision=1684

2008-09-10  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1683

2008-09-09  Armin Burgmeier  <armin@openismus.com>

	Implemented check_user_is_not_root() for Windows, using some code from

2008-09-09  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.cc: Implemented check_user_is_not_root()
	for Windows, using some code from postgresql.

	svn path=/trunk/; revision=1682

2008-09-09  Armin Burgmeier  <armin@openismus.com>

	Refactored the code, removed all blocking calls and use the

2008-09-09  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/spawn_with_feedback.cc: Refactored the code, removed
	all blocking calls and use the CreateProcess() API on Windows to hide
	the console window of child processes.

	* glom/libglom/connectionpool.cc: Always call the spawn API with
	double quotes for the path to the executable, because CreateProcess()
	does not support single quotes.

	svn path=/trunk/; revision=1681

2008-09-06  Murray Cumming  <murrayc@murrayc.com>

	Add a column for the column width, but only show it for the list. Also

2008-09-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h:
	* glom/mode_data/dialog_layout_list.cc: Add a column for the column width, 
	but only show it for the list. Also hide the columns count column for 
	the list.
	* glom/libglom/document/document_glom.cc: load_after_layout_group(),
	Glom.save_before_layout_group(): Save the column widths for items 
	in the document.

	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.h: Remove one set_document() 
	method overload, adding the parent_table to the existing one, to simplify 
	code and to allow us to preserve LayoutItem_Portal details such as print 
	layout positions, even when no relationship is chosen yet.
	* glom/mode_data/box_data_list_related.cc: Adapted.
	* glom/mode_design/print_layouts/canvas_print_layout.cc: Adapted.

	* glom/mode_design/print_layouts/canvas_layout_item.cc: create_item():
	For the portal, create a rect cell for each field in the layout. Still 
	not very useful, but gradually becoming more sensible.

	* glom/utility_widgets/db_adddel/db_adddel.cc: on_treeview_column_resized(): 
	Do not save the column width if it is the last column because that autosizes 
	to take all remaining space.
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h: Remove the reset_column_widths 
	stuff, because ignoring the last column is a better fix.

	svn path=/trunk/; revision=1680

2008-09-04  Murray Cumming  <murrayc@murrayc.com>

	Added init_db_details() method overloads that take a parent table instead

2008-09-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_calendar_related.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	* glom/mode_data/box_data_portal.cc:
	* glom/mode_data/box_data_portal.h: Added init_db_details() 
	method overloads that take a parent table instead of a 
	portal, to use when no relationship has been chosen yet.
	* glom/mode_data/dialog_layout_calendar_related.cc:
	* glom/mode_data/dialog_layout_calendar_related.h:
	Added set_document() that takes a table instead of a portal, 
	as the other portal layout dialogs do already.
	* glom/mode_data/flowtablewithfields.cc:
	Specify a from table name instead of a portal when 
	no relationship has been chosen yet.
	* glom/mode_data/dialog_layout_list_related.cc: Cope with a 
	a null portal, so the user can choose the relationship on this
	dialog without choosing the relationship separately first.
	* glom/mode_data/dialog_layout_details.cc: Do not ask for the 
	relationship whenever adding a portal.

	* glom/libglom/utils.cc:
	* glom/libglom/utils.h: Added show_window_until_hide().
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.h:
	Block when showing the layout dialog for a portal.

	svn path=/trunk/; revision=1679

2008-09-03  Murray Cumming  <murrayc@murrayc.com>

	glom/libglom/data_structure/layout/layoutitem_portal.cc Added

2008-09-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/layoutitem_portal.cc
	* glom/libglom/data_structure/layout/layoutitem_portal.h: Added 
	get/set_print_layout_row_height().
	* glom/mode_data/dialog_layout_list_related.cc
	* glom/mode_data/dialog_layout_list_related.h: Added a set_document() 
	that takes the from_table, instead of an existing portal.
	* glom/mode_design/print_layouts/canvas_layout_item.cc: set_layout_item(): 
	Slightly more sane code, though I'm still just playing.
	* glom/mode_design/print_layouts/canvas_print_layout.h:
	* glom/mode_design/print_layouts/canvas_print_layout.cc
	Added offer_related_records(), used in on_context_menu_edit(). Still needs 
	to block on the dialog show. 

	svn path=/trunk/; revision=1678

2008-08-28  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1677

2008-08-28  Johannes Schmid  <johannes.schmid@openismus.com>

	Remeber state of layout toolbar when switching modes

2008-08-28  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/application.cc:
	Remeber state of layout toolbar when switching modes

	svn path=/trunk/; revision=1676

2008-08-28  Johannes Schmid  <johannes.schmid@openismus.com>

	Correctly unset the menu item when layout toolbar is shown and don\'t hide

	2008-08-28  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/application.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/notebook_data.cc:
	Correctly unset the menu item when layout toolbar is shown and don\'t hide
	layout toolbar when an item is dragged
	* glom/mode_design/print_layouts/window_print_layout_edit.cc: 
	(on_canvas_drag_drop, on_canvas_drag_motion)
	Fixed build error with gtkmm 2.12 (const_cast, see comment)

	svn path=/trunk/; revision=1675

2008-08-27  Murray Cumming  <murrayc@murrayc.com>

	Return the initial item if the user cancelled the dialog.

2008-08-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc offer_field_list(), offer_field_formatting(),
	offer_imageobject(), offer_notebook(): Return the initial item if the user 
	cancelled the dialog.

	svn path=/trunk/; revision=1674

2008-08-27  Murray Cumming  <murrayc@murrayc.com>

	Added get_item_type_from_selection_data(). create_empty_item(): Mention

2008-08-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/print_layout_toolbar_button.cc:
	* glom/mode_design/print_layouts/print_layout_toolbar_button.h: Added 
	get_item_type_from_selection_data().
	* glom/mode_design/print_layouts/window_print_layout_edit.cc: create_empty_item():
	Mention unhandled items on std::cerr.
	on_toolbar_item_drag_data_get(): Get the item type correctly. 
	* glom/mode_design/print_layouts/canvas_layout_item.cc: set_layout_item(): Do 
	not reference an empty layout item.

	svn path=/trunk/; revision=1673

2008-08-27  Murray Cumming  <murrayc@src.gnome.org>

	Whitespace correction

	svn path=/trunk/; revision=1672

2008-08-27  Murray Cumming  <murrayc@murrayc.com>

	Removed this.

2008-08-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/action_layout_item.cc:
	* glom/mode_design/print_layouts/action_layout_item.h: Removed this.
	* glom/mode_design/print_layouts/Makefile.am:
	* glom/mode_design/print_layouts/print_layout_toolbar.cc:
	* glom/mode_design/print_layouts/print_layout_toolbar.h:
	* glom/mode_design/print_layouts/print_layout_toolbar_button.cc:
	* glom/mode_design/print_layouts/print_layout_toolbar_button.h:
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h: Use a toolbar like 
	the details layout toolbar, which use EggToolPallette.
	* glom/utility_widgets/layouttoolbar.cc:
	* glom/utility_widgets/layouttoolbarbutton.cc:
	* glom/utility_widgets/layouttoolbarbutton.h: Use std::string for filenames 
	and parts of filenames.
	* icons/16x16/Makefile.am: Added placeholder images for extra items used on 
	print layouts.

	svn path=/trunk/; revision=1671

2008-08-27  Murray Cumming  <murrayc@murrayc.com>

	Change the constructor to take an icon name, to reduce some code

2008-08-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/layouttoolbarbutton.cc:
	* glom/utility_widgets/layouttoolbarbutton.h: Change the constructor to 
	take an icon name, to reduce some code elsewhere.
	* glom/utility_widgets/layouttoolbar.cc: Adapted.
	* glom/mode_data/box_data_details.cc:
	* glom/utility_widgets/flowtable_dnd.cc:
	* glom/utility_widgets/flowtable_dnd.h: Correct whitespace.

	svn path=/trunk/; revision=1670

2008-08-27  Murray Cumming  <murrayc@murrayc.com>

	Improve the tooltips text.

2008-08-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/layouttoolbar.cc:
	Improve the tooltips text.
	* glom/utility_widgets/layouttoolbar.h:
	* po/POTFILES.in: Mention renamed files.

	svn path=/trunk/; revision=1669

2008-08-24  Armin Burgmeier  <armin@openismus.com>

	Set the encoding of the IO channel to read stderr from the child process

2008-08-24  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/spawn_with_feedback.cc
	(execute_command_line_and_wait_until_second_command_returns_success):
	Set the encoding of the IO channel to read stderr from the child
	process from to "", and set it to be unbuffered. Otherwise, we
	sometimes receive an IO_IN event on Windows, but when trying to read
	any data, then the read() call blocks the whole process forever.

	svn path=/trunk/; revision=1668

2008-08-23  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1667

2008-08-23  Armin Burgmeier  <armin@openismus.com>

	Locate images relative to application executable on Windows.

2008-08-23  Armin Burgmeier  <armin@openismus.com>

	* glom/utility_widgets/layouttoolbar.cc: Locate images relative to
	application executable on Windows.

	* win32/build_installer:
	* win32/glom.iss.in: Added pixmaps to the installer.

	svn path=/trunk/; revision=1666

2008-08-22  Johannes Schmid  <johannes.schmid@openismus.com>

	Changed names of DragBar to LayoutToolbar and DragButton to

2008-08-22  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/mode_data/box_data_details.h:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/dragbar.cc (renamed):
	* glom/utility_widgets/dragbar.h (renamed):
	* glom/utility_widgets/dragbutton.cc (renamed):
	* glom/utility_widgets/dragbutton.h (renamed):
	* glom/utility_widgets/flowtable_dnd.cc:
	* glom/utility_widgets/layouttoolbar.cc:
	* glom/utility_widgets/layouttoolbar.h:
	* glom/utility_widgets/layouttoolbarbutton.cc:
	* glom/utility_widgets/layouttoolbarbutton.h:
	Changed names of DragBar to LayoutToolbar and DragButton to 
	LayouttoolbarButton

	svn path=/trunk/; revision=1665

2008-08-22  Armin Burgmeier  <armin@openismus.com>

	Print WinSock error code in case the socket() call fails, since socket

2008-08-22  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.cc (discover_first_free_port): Print
	WinSock error code in case the socket() call fails, since socket
	errors are not reported via errno on Windows, so perror does not yield
	a useful error message.

	* glom/main.cc: Initialize WinSock at startup, so that
	discover_first_free_port() can use the socket API.

	svn path=/trunk/; revision=1664

2008-08-22  Johannes Schmid  <johannes.schmid@openismus.com>

	Added menuitem to hide/show the layout toolbar (default: off)

2008-08-22  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/application.cc:
	* glom/application.h:
	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h:
	Added menuitem to hide/show the layout toolbar (default: off)

	* glom/utility_widgets/dragbutton.h:
	Added a comment

	svn path=/trunk/; revision=1663

2008-08-20  Murray Cumming  <murrayc@murrayc.com>

	Whitespace corrections. Pass strings as const&. Added a TODO asking for

2008-08-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/dragbar.cc:
	* glom/utility_widgets/dragbutton.cc:
	* glom/utility_widgets/dragbutton.h: Whitespace corrections. 
	Pass strings as const&. Added a TODO asking for explanation.
	This needs to be renamed to something more layout-editing specific.
	Maybe LayoutToolbar and LayoutToolbarButton.

	svn path=/trunk/; revision=1662

2008-08-20  Johannes Schmid  <jhs@gnome.org>

	Added labels to the toolitems

	2008-08-20  Johannes Schmid <jhs@gnome.org>

	* glom/utility_widgets/dragbar.cc:
	* glom/utility_widgets/dragbutton.cc:
	* glom/utility_widgets/dragbutton.h:
	Added labels to the toolitems

	* glom/utility_widgets/egg/toolpalette/eggtoolpalette.c
	(egg_tool_palette_set_style):
	Fixed a bug in eggtoolpalette (\"toolbar-style\" vs. \"style). Also
	fixed in libegg trunk.

	* glom/utility_widgets/sidebar.cc:
	Use GTK_TOOLBAR_BOTH_HORIZ as toolbar style. (Does only work with 
	gtk+ >= 2.14)

	svn path=/trunk/; revision=1661

2008-08-20  Johannes Schmid  <jhs@idefix>

	Added tooltips to toolitems

2008-08-20  Johannes Schmid  <jhs@idefix>

	* glom/utility_widgets/dragbar.cc:
	* glom/utility_widgets/dragbutton.cc:
	* glom/utility_widgets/dragbutton.h:
	Added tooltips to toolitems

	svn path=/trunk/; revision=1660

2008-08-19  Murray Cumming  <murrayc@murrayc.com>

	Updated from libegg.

2008-08-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/egg/toolpalette/eggtoolitemgroup.c:
	* glom/utility_widgets/egg/toolpalette/eggtoolitemgroup.h:
	* glom/utility_widgets/egg/toolpalette/eggtoolpalette.c:
	* glom/utility_widgets/egg/toolpalette/eggtoolpalette.h:
	* glom/utility_widgets/egg/toolpalette/eggtoolpaletteprivate.h:
	* glom/utility_widgets/egg/toolpalette/testtoolpalette.c: Updated from libegg.
	* glom/utility_widgets/sidebar.cc:
	* glom/utility_widgets/sidebar.h: Fixed the whitespace.
	set_drag_source(): Added the extra parameter for the call to 
	egg_tool_palette_set_drag_source().

	svn path=/trunk/; revision=1659

2008-08-15  Armin Burgmeier  <armin@openismus.com>

	We use self-built postgresql binaries again, so we don't need to ship all

2008-08-15  Armin Burgmeier  <armin@openismus.com>

	* win32/build_installer:
	* win32/glom.iss.in: We use self-built postgresql binaries again, so
	we don't need to ship all the libraries the official ones are built
	against.

	svn path=/trunk/; revision=1658

2008-08-12  Armin Burgmeier  <armin@openismus.com>

	Take a revision number as argument, producing for instance

2008-08-12  Armin Burgmeier  <armin@openismus.com>

	* win32/build_installer: Take a revision number as argument, producing
	for instance glom-setup-1.7.1-2.exe.

	* win32/glom.iss.in: Hide the components page, since all components
	are fixed anyway.

	* README: Added some general information on how the installer is
	built.

	svn path=/trunk/; revision=1657

2008-08-12  Murray Cumming  <murrayc@murrayc.com>

	show_help() Add a note that this is a replacement for gnome_help_display()

2008-08-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/utils.cc:
	* glom/libglom/utils.h: show_help() Add a note that this is a replacement 
	for gnome_help_display() until we have something in GTK+.

	svn path=/trunk/; revision=1656

2008-08-11  Armin Burgmeier  <armin@openismus.com>

	Added libeay32.dll and ssleay32.dll to the installer. These seem to be

2008-08-11  Armin Burgmeier  <armin@openismus.com>

	* win32/build_installer:
	* win32/glom.iss.in: Added libeay32.dll and ssleay32.dll to the
	installer. These seem to be required for libpq.dll, which is in turn
	required by the libgda postgres provider.

	svn path=/trunk/; revision=1655

2008-08-11  Og B. Maciel  <ogmaciel@src.gnome.org>

	Updated Brazilian Portuguese translation.

	svn path=/trunk/; revision=1654

2008-08-05  Armin Burgmeier  <armin@openismus.com>

	Updated to fit my new build setup.

2008-08-05  Armin Burgmeier  <armin@openismus.com>

	* win32/build-installer:
	* win32/glom.iss.in:
	* win32/querymodules.bat: Updated to fit my new build setup. 

	svn path=/trunk/; revision=1653

2008-08-05  Armin Burgmeier  <armin@openismus.com>

	Changed the path where the example files are looked up on Windows, to keep

2008-08-05  Armin Burgmeier  <armin@openismus.com>

	* glom/dialog_existing_or_new.cc: Changed the path where the example
	files are looked up on Windows, to keep it consistent with the path to
	load glade files from.

	svn path=/trunk/; revision=1652

2008-08-01  Claude Paroz  <claude@2xlibre.net>

	Removed non-existent files. Updated French translation by Bruno Brouard

2008-08-01  Claude Paroz  <claude@2xlibre.net>

	* POTFILES.in: Removed non-existent files.
	* fr.po: Updated French translation by Bruno Brouard and Claude Paroz.

	svn path=/trunk/; revision=1651

2008-08-01  Claude Paroz  <claude@2xlibre.net>

	Removed translatable property from stock labels.

2008-08-01  Claude Paroz  <claude@2xlibre.net>

	* glom/glom.glade: Removed translatable property from stock labels.

	svn path=/trunk/; revision=1650

2008-07-31  Djihed Afifi  <djihed@src.gnome.org>

	Updated Arabic Translation by Djihed Afifi.

	svn path=/trunk/; revision=1649

2008-07-25  Gil Forcada Codinachs  <gforcada@src.gnome.org>

	Fixed POTFILES.in

	svn path=/trunk/; revision=1648

2008-07-23  Armin Burgmeier  <armin@openismus.com>

	Hide the network item on Windows in the initial dialog.

2008-07-23  Armin Burgmeier  <armin@openismus.com>

	* glom/existing_or_new.h:
	* glom/existing_or_new.cc: Hide the network item on Windows in the
	initial dialog.

	svn path=/trunk/; revision=1647

2008-07-23  Armin Burgmeier  <armin@openismus.com>

	Removed the image from the Select button in the initial dialog.

2008-07-23  Armin Burgmeier  <armin@openismus.com>

	* glom/glom.glade: Removed the image from the Select button in the
	initial dialog.

	* glom/dialog_existing_or_new.cc: Add the image in the Code, via
	Gtk::Button::set_image. This way the image is not shown when the theme
	doesn't show images on buttons, such as the MS-Windows theme.

	svn path=/trunk/; revision=1646

2008-07-21  Armin Burgmeier  <armin@openismus.com>

	#ifdef out the atexit() call on Windows since __libc_freeres() is not

2008-07-21  Armin Burgmeier  <armin@openismus.com>

	* glom/main.cc: #ifdef out the atexit() call on Windows since
	__libc_freeres() is not available there.

	svn path=/trunk/; revision=1645

2008-07-20  Armin Burgmeier  <armin@openismus.com>

	Fixed the non-client-only build. There was a default: marker in a switch

2008-07-20  Armin Burgmeier  <armin@openismus.com>

	* glom/application.cc (offer_new_or_existing): Fixed the
	non-client-only build. There was a default: marker in a switch
	statement with no code after it.

	svn path=/trunk/; revision=1644

2008-07-20  Armin Burgmeier  <armin@openismus.com>

	Windows build fix: winsock2.h somehow includes a file that defines a

2008-07-20  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.cc: Windows build fix: winsock2.h
	somehow includes a file that defines a structure called DATADIR, but
	DATADIR is a define glom uses, which breaks the build. Fixed by
	#undefining DATADIR for that include.

	svn path=/trunk/; revision=1643

2008-07-20  Armin Burgmeier  <armin@openismus.com>

	Added glom.rc to the distribution, which is required to build Glom on

2008-07-20  Armin Burgmeier  <armin@openismus.com>

	* glom/Makefile.am: Added glom.rc to the distribution, which is
	required to build Glom on Windows.

	svn path=/trunk/; revision=1642

2008-07-19  Johannes Schmid  <johannes.schmid@openismus.com>

	Don\'t show \"Create database\" tab for client only mode

2008-07-19  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/dialog_existing_or_new.cc:
	* glom/dialog_existing_or_new.h:
	Don\'t show \"Create database\" tab for client only mode

	svn path=/trunk/; revision=1641

2008-07-17  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed build with GLOM_ENABLE_CLIENT_ONLY

2008-07-17  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/application.cc:
	* glom/application.h:
	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/layout_item_dialogs/dialog_buttonscript.h:
	* glom/mode_data/box_data_calendar_related.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/flowtablewithfields.cc:
	* glom/mode_data/flowtablewithfields.h:
	* glom/utility_widgets/buttonglom.cc:
	* glom/utility_widgets/buttonglom.h:
	* glom/utility_widgets/labelglom.cc:
	* glom/utility_widgets/labelglom.h:
	* glom/utility_widgets/layoutwidgetbase.cc:
	* glom/utility_widgets/layoutwidgetutils.cc:
	* glom/utility_widgets/layoutwidgetutils.h:
	* glom/utility_widgets/notebookglom.cc:
	Fixed build with GLOM_ENABLE_CLIENT_ONLY

	* glom/main.cc:
	Allow to pass arguments to Gtk+ like --g-fatal-warnings. Glom did filter those
	as invalid arguments before

	svn path=/trunk/; revision=1640

2008-07-10  Petr Kovář  <pmkovar@src.gnome.org>

	cs.po: Fixed Czech translation, thanks to Lucas Lommer (bug #517967).

	svn path=/trunk/; revision=1639

2008-07-09  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation.

2008-07-09  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

	svn path=/trunk/; revision=1638

2008-07-03  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1637

2008-06-27  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1636

2008-06-27  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1635

2008-06-23  Gil Forcada Codinachs  <gforcada@src.gnome.org>

	Updated Catalan translation

	svn path=/trunk/; revision=1634

2008-06-23  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1633

2008-06-21  Murray Cumming  <murrayc@src.gnome.org>

	Correct ChangeLog

	svn path=/trunk/; revision=1632

2008-06-21  Murray Cumming  <murrayc@murrayc.com>

	on_idle_import(): Corrected the grammar in two strings.

2008-06-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_import_csv_progress.cc: on_idle_import(): Corrected the grammar 
	in two strings.

	svn path=/trunk/; revision=1631

2008-06-21  Murray Cumming  <murrayc@murrayc.com>

	Made on_switch_page_handler() virtual again, so that the list updates

2008-06-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/notebook_glom.h (Notebook_Glom): Made on_switch_page_handler() 
	virtual again, so that the list updates again when moving from the details 
	tab. Fixes bug #532721 (Armin Burgmeier).

	svn path=/trunk/; revision=1630

2008-06-21  Andre Klapper  <a9016009@gmx.de>

	Updated German translation.

2008-06-21  Andre Klapper  <a9016009@gmx.de>

	* de.po: Updated German translation.

	svn path=/trunk/; revision=1629

2008-06-16  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed distcheck

2008-06-16  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/Makefile.am:
	* glom/utility_widgets/egg/toolpalette/Makefile.am:
	* glom/utility_widgets/egg/util/Makefile.am:
	Fixed distcheck

	svn path=/trunk/; revision=1628

2008-06-16  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed distcheck

2008-06-16  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/utility_widgets/egg/toolpalette/Makefile.am:
	Fixed distcheck

	svn path=/trunk/; revision=1627

2008-06-16  Johannes Schmid  <jhs@src.gnome.org>

	Really add egg directories

	svn path=/trunk/; revision=1626

2008-06-16  Johannes Schmid  <johannes.schmid@openismus.com>

	Included eggtoolbar instead of using svn:externals to fix distcheck

2008-06-16  Johannes Schmid  <johannes.schmid@openismus.com>

	* configure.in:
	* glom/Makefile.am:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/dragbar.cc:
	* glom/utility_widgets/egg/Makefile.am:
	* glom/utility_widgets/flowtable_dnd.cc:
	* glom/utility_widgets/sidebar.h:
	* glom/utility_widgets/egg/*:

	Included eggtoolbar instead of using svn:externals to fix distcheck (#520741)

	svn path=/trunk/; revision=1625

2008-06-16  Murray Cumming  <murrayc@murrayc.com>

	Added comments for translators. Bug #538480 (Andre Klapper).

2008-06-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_existing_or_new.cc:
	* glom/glom.glade:
	* glom/utility_widgets/dragbar.cc: Added comments for translators.
	Bug #538480 (Andre Klapper).

	svn path=/trunk/; revision=1624

2008-06-15  Andre Klapper  <a9016009@gmx.de>

	Updated German translation.

2008-06-15  Andre Klapper  <a9016009@gmx.de>

	* de.po: Updated German translation.

	svn path=/trunk/; revision=1623

2008-06-10  Claude Paroz  <claude@2xlibre.net>

	Added fr to DOC_LINGUAS. Added French translation. Translated screenshots.

2008-06-10  Claude Paroz  <claude@2xlibre.net>

	* Makefile.am: Added fr to DOC_LINGUAS.
	* fr/fr.po: Added French translation.
	* fr/figures/*: Translated screenshots.

	svn path=/trunk/; revision=1622

2008-06-09  Kjartan Maraas  <kmaraas@src.gnome.org>

	Remove executable bit

	svn path=/trunk/; revision=1621

2008-06-07  Armin Burgmeier  <armin@openismus.com>

	Check whether the strptime function is available.

2008-06-07  Armin Burgmeier  <armin@openismus.com>

	* configure.in:
	* config.h.in: Check whether the strptime function is available.

	* glom/libglom/data_structure/glomconversions.cc (parse_time): Don't
	fall back to strptime if strptime is not available, such as on Windows
	(mingw).

	* glom/dialog_existing_or_new.h:
	* glom/dialog_existing_or_new.cc:
	* glom/dialog_import_csv.cc: Windows build fixes, mostly
	#ifndef/#endif pairs around libepc stuff. We also need to #undef iconv
	which seems to be a define to libiconv on Windows, in order to use
	the Glib::Iconv::iconv function.

	* glom/main.cc: Don include <fontconfig/fontconfig.h> on Windows since
	it is not available. It doesn't seem to be used anyway.

	svn path=/trunk/; revision=1620

2008-06-01  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1619

2008-05-25  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles and suggestions from Eloy Alejandro Lautaro

	svn path=/trunk/; revision=1618

2008-05-23  Armin Burgmeier  <armin@arbur.net>

	Added from_sql() to convert a SQL representation to a Gnome::Gda::Value.

2008-05-23  Armin Burgmeier  <armin@arbur.net>

	* glom/libglom/data_structure/field.h:
	* glom/libglom/data_structure/field.cc: Added from_sql() to convert a
	SQL representation to a Gnome::Gda::Value. This is the reverse to the
	sql() function.

	* glom/dialog_import_csv.cc (field_data_func): Remove own unescaping
	code, use Field::from_sql() for preview instead.

	* glom/dialog_import_csv_progress.cc (on_idle_import): Use
	Field::from_sql() to do the actual import. This allows to correctly
	import files that the Export functionality produces, escpecially
	dates and images.

	svn path=/trunk/; revision=1617

2008-05-22  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed some crashers when starting a drag from no item

2008-05-22  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/utility_widgets/flowtable_dnd.cc:
	* glom/utility_widgets/flowtable_dnd.h:
	Fixed some crashers when starting a drag from no item

	svn path=/trunk/; revision=1616

2008-05-22  Johannes Schmid  <johannes.schmid@openismus.com>

	Add item at the end of the group instead of losing it

2008-05-22  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/libglom/data_structure/layout/layoutgroup.cc: (add_item)
	Add item at the end of the group instead of losing it

	* glom/utility_widgets/flowtable_dnd.cc:
	(on_child_drag_motion):
	Fix flickering of placeholder on bigger objects like images or text boxes

	svn path=/trunk/; revision=1615

2008-05-21  Johannes Schmid  <johannes.schmid@openismus.com>

	Add images as possible drag items to the sidebar and adjust flowtable to

2008-05-21  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/mode_data/flowtablewithfields.cc:
	(on_dnd_add_layout_item_image)
	* glom/mode_data/flowtablewithfields.h:
	* glom/utility_widgets/dragbar.cc 
	(DragBar):
	* glom/utility_widgets/flowtable_dnd.cc 
	(on_drag_data_received):
	* glom/utility_widgets/flowtable_dnd.h
	(FlowTableDnd):
	* glom/utility_widgets/layoutwidgetbase.h:
	Add images as possible drag items to the sidebar and adjust flowtable
	to accept images.

	svn path=/trunk/; revision=1614

2008-05-18  Murray Cumming  <murrayc@murrayc.com>

	Minor string corrections.

2008-05-18  Murray Cumming  <murrayc@murrayc.com>

	* docs/user-guide/C/glom.xml:
	* glom/dialog_import_csv.cc: Minor string corrections.

	svn path=/trunk/; revision=1613

2008-05-18  Johannes Schmid  <johannes.schmid@openismus.com>

	Corrected indentation

2008-05-18  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/Makefile.am: Corrected indentation

	* glom/mode_data/flowtablewithfields.cc:
	(add_field_at_position):
	Put labels for fields into their own EventBox

	* glom/utility_widgets/flowtable_dnd.cc:
	(start_dnd), (stop_dnd), (find_current_dnd_item), (on_child_drag_begin)
	(on_child_drag_data_delete):
	* glom/utility_widgets/flowtable_dnd.h:
	Allow moving of items fields through drag and drop

	svn path=/trunk/; revision=1612

2008-05-16  Armin Burgmeier  <armin@openismus.com>

	Added some more encodings, differentiate between encoding name and

2008-05-15  Armin Burgmeier  <armin@openismus.com>

	* glom/dialog_import_csv.h:
	* glom/dialog_import_csv.cc: Added some more encodings, differentiate
	between encoding name and charset.

	* glom/application.cc (init_menus_file), (init_menus): Moved the
	Import menu item from Tables to File menu.

	* glom/frame_glom.h:
	* glom/frame_glom.cc: Renamed the function from
	on_menu_Tables_ImportIntoTable() to on_menu_file_import().

	svn path=/trunk/; revision=1611

2008-05-13  Armin Burgmeier  <armin@openismus.com>

	Added missing functionality.

2008-05-13  Armin Burgmeier  <armin@openismus.com>

	* glom/dialog_import_csv.h:
	* glom/dialog_import_csv.cc: Added missing functionality.

	* glom/glom.glade:
	* glom/dialog_import_csv_progress.h:
	* glom/dialog_import_csv_progress.cc:
	* glom/Makefile.am: Dialog showing progress of the import and error
	messages, performing the actual import.

	* glom/frame_glom.cc (on_menu_Tables_ImportIntoTable): Show the
	progress dialog after the user has finished the settings in the
	"Import from CSV" dialog, refresh display after import so the list and
	details show the imported values.

	* docs/user-guide/C/glom.xml: Added an initial explanation for the
	Import Dialog.

	svn path=/trunk/; revision=1610

2008-05-09  Gabor Kelemen  <kelemeng@gnome.org>

	Remove some duplicates introduced in my previous commit.

2008-05-09  Gabor Kelemen  <kelemeng@gnome.org>

	* POTFILES.in: Remove some duplicates introduced in my previous commit.

	svn path=/trunk/; revision=1609

2008-05-09  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1608

2008-05-09  Gabor Kelemen  <kelemeng@gnome.org>

	Updated, fix #530195

2008-05-09  Gabor Kelemen  <kelemeng@gnome.org>

	* POTFILES.in: Updated, fix #530195

	svn path=/trunk/; revision=1607

2008-05-06  Murray Cumming  <murrayc@murrayc.com>

	on_list_user_requested_details(): Improve my fix from 2008-04-30: Call

2008-05-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/notebook_data.cc: on_list_user_requested_details():
	Improve my fix from 2008-04-30:
	Call refresh_data_from_database_with_primary_key() again, but stop the 
	switch-page handler from running, so that we really see the details for 
	the row when clicking on the record in the list view. 

	svn path=/trunk/; revision=1605

2008-05-06  Murray Cumming  <murrayc@murrayc.com>

	init_db_details(): Fix an if to avoid showing the list view when we want

2008-05-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/notebook_data.cc: init_db_details():
	Fix an if to avoid showing the list view when we want the details view, 
	just because the details view is already showing.
	* glom/mode_data/notebook_data.h 
	* glom/mode_find/notebook_find.h 
	* glom/notebook_glom.h: Removed some unnecessary virtuals.

	svn path=/trunk/; revision=1604

2008-05-05  Murray Cumming  <murrayc@murrayc.com>

	constructor: Use add_view() to give the DbAddDel access to the document,

2008-05-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list_related.cc: constructor:
	Use add_view() to give the DbAddDel access to the document, to avoid 
	the repeated warning about the unexpected field type

	svn path=/trunk/; revision=1603

2008-05-04  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1602

2008-05-02  Murray Cumming  <murrayc@murrayc.com>

	Get the primary key index (inefficiently) even if the primary key was

2008-05-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc fill_from_database():
	Get the primary key index (inefficiently) even if the primary key was 
	already in the list, allowing record editing to work again.
	Fixes bug #530879 (Armin Burgmeier)

	svn path=/trunk/; revision=1601

2008-05-02  Johannes Schmid  <jhs@gnome.org>

	Fixed a stupid bug in the dnd code that caused dropping problems all over.

	2008-05-02  Johannes Schmid <jhs@gnome.org>

	* glom/utility_widgets/flowtable_dnd.cc (on_child_drag_motion):
	Fixed a stupid bug in the dnd code that caused dropping problems all
	over.

	svn path=/trunk/; revision=1600

2008-04-30  Murray Cumming  <murrayc@murrayc.com>

	on_list_user_requested_details(): Do not call

2008-04-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/notebook_data.cc: on_list_user_requested_details():
	Do not call Box_Data_Details::refresh_data_from_database_with_primary_key() 
	because on_switch_page_handler() does it later. This avoids an 
	unnecessary extra refresh of the details view.

	* glom/libglom/data_structure/layout/layoutitem_field.h:
	Added predicate_LayoutItem_Field_IsSameField for use with std::find_if().
	* glom/mode_data/box_data_details.cc: fill_from_database(): Do not add 
	the primary key to the list twice, to avoid setting it twice, to avoid 
	refreshing portals twice.

	svn path=/trunk/; revision=1599

2008-04-29  Johannes Schmid  <johannes.schmid@openismus.com>

	glom/mode_data/flowtablewithfields.h (on_dnd_add_layout_item) Added new

2008-04-29  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/mode_data/flowtablewithfields.cc:
	* glom/mode_data/flowtablewithfields.h
	(on_dnd_add_layout_item)
	Added new method to reparent items from other flowtables.

	* glom/utility_widgets/flowtable_dnd.cc (start_dnd), (on_drag_motion),
	(on_drag_data_received), (dnd_item_at_position),
	(dnd_datawidget_from_item), (find_current_dnd_item),
	(on_child_drag_motion), (on_child_drag_data_get),
	(on_child_drag_begin), (on_child_drag_end):	  
	* glom/utility_widgets/flowtable_dnd.h
	Implemented drag sources for LayoutWidgets and allow dragging in and between
	flowtables. Only works for labels as I didn\'t find out yet how to set other
	widgets as drag sources.

	* glom/utility_widgets/layoutwidgetbase.cc
	(set_dnd_in_progress), (get_dnd_in_progress):
	* glom/utility_widgets/layoutwidgetbase.h:
	Added some need methods for drag and drop

	svn path=/trunk/; revision=1598

2008-04-29  Murray Cumming  <murrayc@murrayc.com>

	Large refactoring of the Base_DB_* and Box_DB_* hierarchy to make it

2008-04-29  Murray Cumming  <murrayc@murrayc.com>

	Large refactoring of the Base_DB_* and Box_DB_* hierarchy to make it 
	simpler and less hacky.

	* docs/developer_reference/Doxyfile: Added this, so you can do 
	doxygen Doxyfile to get some HTML to help understand the code.

	* glom/signal_reemitter.h: Added signal_connect_for_reemit_*args(), 
	to make it easier to just emit a signal in response to another one, 
	for instance to emit up to a parent widget.
	* regression_tests/Makefile.am:
	* regression_tests/test_signal_reemit.cc: Added a test for this.

	* glom/Makefile.am:
	* glom/base_db.[h|cc]: Split this, to create:
	* glom/base_db_table.[h|cc]
	* glom/base_db_table_data.[h|cc]: with some stuff from Box_DB_Table.

	* glom/box_db.[h|cc]:  Renamed to
	* glom/box_withbuttons.[h|cc] because that's all this is now.

	* glom/box_db_table.[h|cc]: Derive from Base_DB_Table, instead of 
	implementing so much stuff.

	* glom/mode_data/Makefile.am:
	* glom/mode_data/box_data.[h|cc]: Derive from Box_WithButtons,
	and Base_DB_Table_Data instead of implementing so much stuff.

	* glom/mode_data/box_data_details.[h|cc]
	* glom/mode_data/box_data_manyrecords.cc[h|cc]: Added this base class 
	for:
	* glom/mode_data/box_data_list.[h|cc]
	and Box_Data_Portal:

	* glom/mode_data/box_data_portal.cc[h|cc]: Added this base class 
	for 
	* glom/mode_data/box_data_calendar_related.[h|cc]
	and
	* glom/mode_data/box_data_list_related.[h|cc]

	* glom/utility_widgets/db_adddel/db_adddel.[h|cc] Derive from 
	Base_DB_Table_Data, to use its implementation, to move lots of 
	code for record adding, changing, and deleting into this widget instead 
	of having decisions in the parent Box_Data_List_Related and Box_Data_List.
	This is simpler.

	svn path=/trunk/; revision=1597

2008-04-29  Murray Cummin  <murrayc@murrayc.com>

	Large refactoring of the Base_DB_* and Box_DB_* hierarchy to make it

2008-04-29  Murray Cummin  <murrayc@murrayc.com>

	Large refactoring of the Base_DB_* and Box_DB_* hierarchy to make it 
	simpler and less hacky.

	* docs/developer_reference/Doxyfile: Added this, so you can do 
	doxygen Doxyfile to get some HTML to help understand the code.

	* glom/signal_reemitter.h: Added signal_connect_for_reemit_*args(), 
	to make it easier to just emit a signal in response to another one, 
	for instance to emit up to a parent widget.
	* regression_tests/Makefile.am:
	* regression_tests/test_signal_reemit.cc: Added a test for this.

	* glom/Makefile.am:
	* glom/base_db.[h|cc]: Split this, to create:
	* glom/base_db_table.[h|cc]
	* glom/base_db_table_data.[h|cc]: with some stuff from Box_DB_Table.

	* glom/box_db.[h|cc]:  Renamed to
	* glom/box_withbuttons.[h|cc] because that's all this is now.

	* glom/box_db_table.[h|cc]: Derive from Base_DB_Table, instead of 
	implementing so much stuff.

	* glom/mode_data/Makefile.am:
	* glom/mode_data/box_data.[h|cc]: Derive from Box_WithButtons,
	and Base_DB_Table_Data instead of implementing so much stuff.

	* glom/mode_data/box_data_details.[h|cc]
	* glom/mode_data/box_data_manyrecords.cc[h|cc]: Added this base class 
	for:
	* glom/mode_data/box_data_list.[h|cc]
	and Box_Data_Portal:

	* glom/mode_data/box_data_portal.cc[h|cc]: Added this base class 
	for 
	* glom/mode_data/box_data_calendar_related.[h|cc]
	and
	* glom/mode_data/box_data_list_related.[h|cc]

	* glom/utility_widgets/db_adddel/db_adddel.[h|cc] Derive from 
	Base_DB_Table_Data, to use its implementation, to move lots of 
	code for record adding, changing, and deleting into this widget instead 
	of having decisions in the parent Box_Data_List_Related and Box_Data_List.
	This is simpler.

	svn path=/trunk/; revision=1596

2008-04-26  Armin Burgmeier  <armin@openismus.com>

	Added yet unfinished "Import from CSV" dialog.

2008-04-26  Armin Burgmeier  <armin@openismus.com>

	* glom/glom.glade:
	* glom/dialog_import_csv.h:
	* glom/dialog_import_csv.cc:
	* glom/Makefile.am: Added yet unfinished "Import from CSV" dialog.

	* glom/frame_glom.h:
	* glom/frame_glom.cc: Added Frame_Glom::on_menu_Tables_ImportIntoTable
	to launch the import dialog.

	* glom/application.cc (init_menus): Added an action for the "Import
	Into Table" menu item.

	svn path=/trunk/; revision=1595

2008-04-25  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1594

2008-04-25  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1593

2008-04-25  Jeremiah Savage  <jeremiahsavage@gmail.com>

	Add <cstring> includes to fix the build with gcc 4.3. Bug #529530

2008-04-25  Jeremiah Savage  <jeremiahsavage@gmail.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/data_structure/glomconversions.cc:
	* glom/libglom/document/document_glom.h:
	* glom/libglom/utils.cc:
	* glom/translation/window_translations.cc: Add <cstring> includes to 
	fix the build with gcc 4.3.
	Bug #529530

	svn path=/trunk/; revision=1592

2008-04-23  Murray Cumming  <murrayc@murrayc.com>

	Use &app; instead of &glom; because &glom; is not defined.

2008-04-24  Murray Cumming  <murrayc@murrayc.com>

	* C/glom.xml: Use &app; instead of &glom; because &glom; is not defined.

	svn path=/trunk/; revision=1589

2008-04-23  Murray Cumming  <murrayc@murrayc.com>

	constructor: Added : at the end of labels, as per the GNOME HIG.

2008-04-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade:
	* glom/utility_widgets/datawidget.cc: constructor:
	Added : at the end of labels, as per the GNOME HIG.

	svn path=/trunk/; revision=1588

2008-04-22  Murray Cumming  <murrayc@murrayc.com>

	parse_time(): Fall back to using strptime(), in various formats, so we can

2008-04-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/glomconversions.cc:
	parse_time(): Fall back to using strptime(), in various formats, 
	so we can parse 01:00 PM and 13:00, instead of parsing these as 
	01:00 AM.

	* Makefile.am:
	* configure.in:
	* regression_tests/Makefile.am:
	* regression_tests/test_parsing_time.cc: Added a test for this time 
	parsing.

	svn path=/trunk/; revision=1586

2008-04-22  Johannes Schmid  <johannes.schmid@openismus.com>

	Call FlowTableDnd::set_design_mode() if appropriate

2008-04-22  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/mode_data/flowtablewithfields.cc:
	(set_design_mode): Call FlowTableDnd::set_design_mode() if appropriate
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	(forall), (container_forall_callback):
	Implement forall() with is not implement for Gtk::Container
	(setup_dnd): Remove this and do all dnd stuff in flowtable_dnd

	* glom/utility_widgets/flowtable_dnd.cc:
	* glom/utility_widgets/flowtable_dnd.h:
	(set_design_mode), (start_dnd), (stop_dnd):
	Override set_design_mode() and call start_dnd() and stop_dnd() there. 
	Preparation for moving items around and setting them as drag source.

	svn path=/trunk/; revision=1585

2008-04-22  Murray Cumming  <murrayc@src.gnome.org>

	Added missing files

	svn path=/trunk/; revision=1584

2008-04-22  Murray Cumming  <murrayc@murrayc.com>

	glom/mode_data/box_data_calendar_related.h Update the calendar details

2008-04-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_calendar_related.h
	* glom/mode_data/box_data_calendar_related.cc
	on_calendar_month_changed(): Update the calendar details when the user 
	navigates to a different month.

	svn path=/trunk/; revision=1583

2008-04-22  Murray Cumming  <murrayc@murrayc.com>

	Added a new example, which uses a calendar.

2008-04-22  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_lesson_planner.glom:
	* examples/Makefile.am: Added a new example, which uses a calendar.

	* glom/mode_data/box_data_calendar_related.h
	* glom/mode_data/box_data_calendar_related.cc:
	fill_from_database(): Do one SQL query for the whole month and store 
	the values.
	on_calendar_details(): Show the stored values.
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h: Removed get_fields_to_show() 
	because it is in the base class.

	svn path=/trunk/; revision=1582

2008-04-21  Murray Cumming  <murrayc@murrayc.com>

	Removed get_has_suitable_record_to_view_details(),

2008-04-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_calendar_related.cc
	(Glom.on_calendar_details):
	* glom/mode_data/box_data_calendar_related.h
	(Box_Data_Calendar_Related):
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	Removed get_has_suitable_record_to_view_details(),
	get_suitable_table_to_view_details() and 
	get_suitable_record_to_view_details() because they are in the base 
	Box_Data_Portal) class.

	* glom/mode_data/box_data_portal.cc:
	* glom/mode_data/box_data_portal.h: Removed unused empty 
	create_layout_dialog() and prepare_layout_dialog
	* glom/mode_data/flowtablewithfields.h:
	* glom/mode_data/flowtablewithfields.cc: get_portals(): Get a list of 
	Box_Data_Portal instead of Widget, to make this more self-documenting.
	set_field_value(): Do not dynamic_cast to just Box_Data_List_Related, 
	so that Box_Data_Calendar_Related is updated too, to show just the 
	related records, instead of all.

	svn path=/trunk/; revision=1581

2008-04-21  Murray Cumming  <murrayc@murrayc.com>

	glom/combobox_fields.h Added set_fields() that takes a field type to

2008-04-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/combobox_fields.h 
	* glom/combobox_fields.cc: Added set_fields() that takes a field type to 
	reduce the list.
	* glom/glom_developer.glade: window_data_layout(): Added a Add Related 
	Calendar button and added a Date section, which is hidden for the 
	existing layout dialogs.
	* glom/libglom/data_structure/layout/Makefile.am:
	Added layoutitem_calendarportal.[h|cc]
	* glom/libglom/document/document_glom.cc
	load_after_layout_group(), Glom.save_before_layout_group(): Handle 
	LayoutItem_CalendarPortal items.

	* glom/mode_data/Makefile.am:
	* glom/mode_data/box_data_portal.cc
	* glom/mode_data/box_data_portal.h: Added this new base class for 
	related records widgets, using LayoutItem_Portal as the base class for 
	their layout data.
	* glom/mode_data/box_data_list_related.cc
	* glom/mode_data/box_data_list_related.h: Derive from Box_Data_Portal, 
	to which some of the code has moved.
	* glom/mode_data/box_data_calendar_related.cc
	* glom/mode_data/box_data_calendar_related.h: Added this new portal, 
	which shows the related records in a calendar.

	* glom/mode_data/dialog_layout_calendar_related.cc
	* glom/mode_data/dialog_layout_calendar_related.h:
	* glom/mode_data/dialog_layout_details.h
	* glom/mode_data/dialog_layout_details.cc:
	Allow adding of a related calendar portal.

	* glom/mode_data/dialog_layout_list.cc (Glom.Dialog_Layout_List):
	* glom/mode_data/flowtablewithfields.cc
	* glom/mode_data/flowtablewithfields.h: Handle Box_Data_Portal instead 
	of just Box_Data_List_Related, and handle Box_Data_Calendar_Related 
	specifically where necessary.
	* glom/utility_widgets/calendar/Makefile.am: Fixed a typo.
	* glom/utility_widgets/calendar/glomgtkcalendar.c
	(glom_gtk_calendar_init, glom_gtk_calendar_new): Use the correct GType.

	svn path=/trunk/; revision=1580

2008-04-21  Murray Cumming  <murrayc@murrayc.com>

	Moved dialog_data_invalid_format to the non-developer .glade file, where

2008-04-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade:
	* glom/glom_developer.glade: Moved dialog_data_invalid_format to the 
	non-developer .glade file, where the code expects it to be, preventing 
	a crash.

	svn path=/trunk/; revision=1579

2008-04-21  Murray Cumming  <murrayc@src.gnome.org>

	Reverted the last change. I did not mean to check that in yet.

	svn path=/trunk/; revision=1578

2008-04-21  Murray Cumming  <murrayc@murrayc.com>

	Moved dialog_data_invalid_format to the non-developer .glade file, where

2008-04-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade:
	* glom/glom_developer.glade: Moved dialog_data_invalid_format to the 
	non-developer .glade file, where the code expects it to be, preventing 
	a crash.

	svn path=/trunk/; revision=1577

2008-04-17  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1576

2008-04-17  Claude Paroz  <claudep@src.gnome.org>

	Completed previous uncomplete ChangeLog

	svn path=/trunk/; revision=1575

2008-04-17  Claude Paroz  <claude@2xlibre.net>

	Removed translatable properties for stock labels.

2008-04-17  Claude Paroz  <claude@2xlibre.net>

	* glom/glom.glade:
	* glom/glom_developer.glade: Removed translatable properties for stock
	labels.

	svn path=/trunk/; revision=1574

2008-04-16  Murray Cumming  <murrayc@murrayc.com>

	Remove sentences saying that names should not have spaces or special

2008-04-16  Murray Cumming  <murrayc@murrayc.com>

	* docs/user-guide/C/glom.xml: Remove sentences saying that names should 
	not have spaces or special characters, because they can.
	Bug #528209 (Jean-François Fortin Tam)

	svn path=/trunk/; revision=1572

2008-04-15  Armin Burgmeier  <armin@openismus.com>

	Made the show_layout_dialog() function non-virtual and added two new

2008-04-15  Armin Burgmeier  <armin@openismus.com>

	* glom/mode_data/box_data.h:
	* glom/mode_data/box_data.cc: Made the show_layout_dialog() function
	non-virtual and added two new (pure) virtual functions called
	create_layout_dialog() and prepare_layout_dialog(). Create the dialog
	in show_layout_dialog() if necessary, so the dialog is only created
	when needed.

	* glom/mode_data/box_data_list.h:
	* glom/mode_data/box_data_details.h:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_details.cc: Implement the two new virtual
	functions.

	* glom/mode_data/box_data_list_related.h:
	* glom/mode_data/box_data_calendar_related.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_calendar_related.cc: Removed the
	m_pLayoutDialogRelated variable, and implement the two new virtual
	functions instead. Removed the destructor which is no longer required.
	(on_dialog_layout_hide): Cast m_pDialogLayout to a
	Dialog_Layout_List_Related before usage. These changes clean up the
	code in Box_Data_List_Related a bit.

	svn path=/trunk/; revision=1570

2008-04-15  Murray Cumming  <murrayc@murrayc.com>

	glom/mode_data/box_data.cc add_related_record_for_field(): Added a

2008-04-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc
	* glom/mode_data/box_data.h: add_related_record_for_field():
	Added a primary_key_value_used output parameter so that the caller nows 
	what record was actually created.
	* glom/mode_data/box_data_details.cc: on_flowtable_field_edited():
	* glom/mode_data/box_data_list.cc: on_adddel_user_changed(): 
	Use the new output parameter instead of calling get_entered_field_data(), 
	so that automatically-created related records are really linked from the 
	parent record even when the ID is not on the layout.
	This fixes bug #526386 (Jani Monoses).

	svn path=/trunk/; revision=1569

2008-04-15  Murray Cumming  <murrayc@murrayc.com>

	get_related_record_exists(): Don't bother looking for a record with the

2008-04-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc:
	get_related_record_exists(): Don't bother looking for a record 
	with the key NULL, because that is not something we want to related 
	records by.
	* glom/mode_data/box_data_list.cc: on_adddel_user_changed(): Get 
	full field details for the related field, to ensure that this works 
	properly.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc
	fill_values_if_necessary(): Use Conversions::get_empty_value() instead 
	of just creating a Gda::Value of the expected type, so we get a NULL 
	GdaValue initially for appropriate field types.

	This fixes the automatic creation of related records, at least when 
	the from field is on the layout, partially fixing bug #526386
	(Jani Monoses).

	svn path=/trunk/; revision=1567

2008-04-15  Johannes Schmid  <johannes.schmid@openismus.com>

	Set layout item for notebook and use notebooklabelglom

	2008-04-15  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/mode_data/flowtablewithfields.cc
	(add_layout_notebook_at_position):
	Set layout item for notebook and use notebooklabelglom
	* glom/utility_widgets/notebookglom.cc 
	(delete_from_layout):
	* glom/utility_widgets/notebookglom.h
	(GLOM_UTILITY_WIDGETS_NOTEBOOK_GLOM_H):
	Fixed typo in header and added delete method
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/notebooklabelglom.cc:
	* glom/utility_widgets/notelabelbookglom.h:
	Added new tab widget for notebook to be able to attach a popupmenu

	Summary: Added popup-menu to notebook tabs to add new groups and delete
	the notebook.

	svn path=/trunk/; revision=1565

2008-04-14  Murray Cumming  <murrayc@murrayc.com>

	glom/utility_widgets/adddel/adddel.h Removed unnecessary virtuals on

2008-04-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/adddel.h 
	* glom/utility_widgets/adddel/adddel_withbuttons.h: Removed unnecessary 
	virtuals on methods.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: Removed unused 
	siganl_user_activated (though it is used in AddDel).

	svn path=/trunk/; revision=1563

2008-04-14  Murray Cumming  <murrayc@murrayc.com>

	glom/utility_widgets/adddel/adddel.h Glom.construct_specified_columns():

2008-04-14  Murray Cumming,  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/adddel.h
	* glom/utility_widgets/adddel/adddel.cc:
	Glom.construct_specified_columns(): Connect to the start_editing 
	signal., Glom.on_treeview_cell_edited. Emit user_activated() on that 
	instead of on the TreeView::button-press-event signal, so that any 
	previous editing has already finished.

	This fixes the relationships window, so that clicking on the To Field 
	combo does not lose the new choice in the Table combo.
	Bug #526900 (Jani Monoses).

	svn path=/trunk/; revision=1561

2008-04-13  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1560

2008-04-13  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1559

2008-04-13  Armin Burgmeier  <armin@openismus.com>

	Simplified the function, removed the request_password parameter. It was

2008-04-13  Armin Burgmeier  <armin@openismus.com>

	* glom/frame_glom.h:
	* glom/frame_glom.cc (create_database): Simplified the function,
	removed the request_password parameter. It was never set, and it
	seemed to be a relict from libgda-1.2.
	(connection_request_password_and_choose_new_database_name),
	(connection_request_password_and_attempt): Create the connection
	dialog when required, instead of loading it in the constructor, to
	improve startup time.

	* glom/dialog_existing_or_new.h: Added a comment about bug #527587.

	* glom/application.cc (recreate_database), (existing_or_new_new):
	Adapt to changed create_database() function in frame_glom.

	svn path=/trunk/; revision=1558

2008-04-11  Murray Cumming  <murrayc@murrayc.com>

	Remove the ActionGroups before recreating them to avoid warnings, and

2008-04-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc fill_menu_tables(), fill_menu_reports(),
	fill_menu_print_layouts(): Remove the ActionGroups before recreating 
	them to avoid warnings, and presumably to avoid the changes from 
	being ignored. Maybe GTK+ svn trunk has become less tolerant.
	* glom/glom_developer.glade: Restored some GtkSourceViews, and put one 
	in a scrolled window as it was before.

	svn path=/trunk/; revision=1556

2008-04-11  Armin Burgmeier  <armin@openismus.com>

	:show_help): Replace gnome_help_display by constructing a path to the help

2008-04-11  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/utils.cc (Utils::show_help): Replace gnome_help_display
	by constructing a path to the help file, making a ghelp: URI out of it
	and passing it to g_app_info_launch_default_for_uri().

	* glom/xsl_utils.cc (GlomXslUtils::transform_and_open): Replace
	gnome_url_show by g_app_info_launch_default_for_uri().

	* glom/main.cc (main): Don't call gnome_program_init().

	* configure.in: Remove the libgnome dependency.

	svn path=/trunk/; revision=1555

2008-04-11  Johannes Schmid  <johannes.schmid@openismus.com>

	glom/mode_data/box_data_details.h Moved sidebar into \"Details\"-page

	2008-04-11  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/application.cc 
	(update_userlevel_ui):
	* glom/application.h:
	* glom/mode_data/box_data_details.cc
	(create_layout):
	* glom/mode_data/box_data_details.h
	Moved sidebar into \"Details\"-page

	* glom/utility_widgets/sidebar.cc 
	(on_child_detached),(on_child_attached):
	* glom/utility_widgets/sidebar.h:
	Made sidebar detachable again and give it a correct size when detached

	svn path=/trunk/; revision=1554

2008-04-11  Johannes Schmid  <jhs@gnome.org>

	glom/layout_item_dialogs/dialog_buttonscript.h Added new entry for the

	2008-04-11  Johannes Schmid <jhs@gnome.org>

	* glom/glom_developer.glade:
	* glom/layout_item_dialogs/dialog_buttonscript.cc
	(Dialog_ButtonScript), (set_script), (get_script),
	(get_script):
	* glom/layout_item_dialogs/dialog_buttonscript.h
	Added new entry for the button title to the dialog

	* glom/mode_data/flowtablewithfields.cc 
	(FlowTableWithFields):
	* glom/utility_widgets/buttonglom.cc
	(on_menu_properties_activate):
	* glom/utility_widgets/buttonglom.h:
	* glom/utility_widgets/labelglom.cc:
	* glom/utility_widgets/layoutwidgetutils.cc:
	* glom/utility_widgets/layoutwidgetutils.h 
	(m_pPopupMenuUtils) (m_refUtilProperties):
	Removed \"Details\" menu item as ButtonGlom has a dialog for all properties now.

	svn path=/trunk/; revision=1553

2008-04-10  Murray Cumming  <murrayc@murrayc.com>

	Improved the text about the initial dialog.

2008-04-10  Murray Cumming  <murrayc@murrayc.com>

	* docs/user-guide/C/glom.xml: Improved the text about the initial dialog.

	* glom/dialog_existing_or_new.cc:
	* glom/dialog_existing_or_new.h: Added on_existing_select_func() and
	on_new_select_func() select_function handlers, to prevent selection of 
	the parent nodes, which would be meaningless.

	svn path=/trunk/; revision=1552

2008-04-10  Murray Cumming  <murrayc@murrayc.com>

	glom/dialog_existing_or_new.cc Removed the second text-button column. I

2008-04-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_existing_or_new.cc
	* glom/dialog_existing_or_new.h: Removed the second text-button column. 
	I changed my mind about this. It doesn't feel useful - a double-click 
	on the regular title makes more sense.

	svn path=/trunk/; revision=1551

2008-04-10  Armin Burgmeier  <armin@openismus.com>

	Re-set scrolledwindow shadows to IN in initial dialog since this is what

2008-04-10  Armin Burgmeier  <armin@openismus.com>

	* glom/glom.glade: Re-set scrolledwindow shadows to IN in initial
	dialog since this is what other treeviews have.

	svn path=/trunk/; revision=1550

2008-04-10  Armin Burgmeier  <armin@openismus.com>

	Added a help button, reordered Quit/Select buttons, remove mnemonics from

2008-04-10  Armin Burgmeier  <armin@openismus.com>

	* glom/glom.glade: Added a help button, reordered Quit/Select buttons,
	remove mnemonics from the tab labels as suggested by the HIG. Removed
	the separator and added a tooltip for the select button.

	* glom/dialog_existing_or_new.h:
	* glom/dialog_existing_or_new.cc (constructor): Reordered items in
	existing_model, use a cell data func for the item's title so we can
	change the color when necessary, expand the recent items by default.
	Add a dummy item telling that there are no documents in this category
	if there are none.
	(on_service_found, on_service_removed): Create/Remove that dummy item
	accordingly.
	(on_stream_read): Remove the dummy item for the "New From Template"
	category, expand the "New From Template" category if this was the first
	item discovered.

	* glom/application.cc (offer_new_or_existing): Use
	Utils::dialog_run_with_help() to make the Help button work.

	* docs/user-guide/C/glom.xml: Added an initial text for the Help
	button of the initial dialog.

	svn path=/trunk/; revision=1549

2008-04-10  Murray Cumming  <murrayc@src.gnome.org>

	Corrected over-zealous search/replace in ChangeLog

	svn path=/trunk/; revision=1546

2008-04-10  Murray Cumming  <murrayc@murrayc.com>

	Call the previously-set SIGSEGV handler, to hopefully make bug-buddy or

2008-04-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc (on_linux_signal): Call the 
	previously-set SIGSEGV handler, to hopefully make bug-buddy or apport 
	catch (and report) crashes again.

	svn path=/trunk/; revision=1545

2008-04-10  Murray Cumming  <murrayc@murrayc.com>

	glom/libglom/spawn_with_feedback.h

2008-04-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/spawn_with_feedback.h 
	* glom/libglom/spawn_with_feedback.cc (get_and_show_pulse_dialog,
	execute_command_line_and_wait,
	execute_command_line_and_wait_until_second_command_returns_success):
	* glom/libglom/connectionpool.h 
	* glom/libglom/connectionpool.cc:
	start_self_hosting(), stop_self_hosting(), create_self_hosting():
	Added parent_window parameter, so that any dialogs can be transient for 
	it.

	* glom/application.cc on_document_load(),
	stop_self_hosting_of_document_database(): Call 
	start/stop_self_hosting() with the parent_window parameter.
	* glom/frame_glom.cc:
	connection_request_password_and_choose_new_database_name():
	* glom/libglom/document/document_glom.cc:
	Call start/stop_self_hosting() with the parent_window parameter.

	This should prevent these windows from being system-modal when using 
	the xfwm4 window manager.
	Bug #525285 (Jani Monoses) 

	svn path=/trunk/; revision=1544

2008-04-09  Murray Cumming  <murrayc@src.gnome.org>

	Fixed the ChangeLog

	svn path=/trunk/; revision=1543

2008-04-09  Murray Cumming  <murrayc@murrayc.com>

	glom/libglom/data_structure/layout/layoutgroup.cc Added has_any_fields().

2008-04-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/layoutgroup.cc
	* glom/libglom/data_structure/layout/layoutgroup.h:
	Added has_any_fields().
	* glom/libglom/document/document_glom.cc
	* glom/libglom/document/document_glom.h
	Added get_data_layout_groups_have_any_fields().
	* glom/mode_data/box_data_details.cc on_button_new():
	* glom/mode_data/box_data_list.cc on_adddel_user_requested_add():
	Warn the user if the layout has no dialogs, and do not try to add a 
	record, because there would be nothing to see an no way to enter data.

	svn path=/trunk/; revision=1542

2008-04-09  Johannes Schmid  <jhs@gnome.org>

	Found one more wrong change

2008-04-09  Johannes Schmid  <jhs@gnome.org>

	* glom/glom_developer.glade:
	Found one more wrong change

	svn path=/trunk/; revision=1541

2008-04-09  Johannes Schmid  <jhs@gnome.org>

	Fix crasher when opening GlomButton details dialog

	2008-04-09  Johannes Schmid <jhs@gnome.org>

	* glom/glom_developer.glade:
	Fix crasher when opening GlomButton details dialog

	* glom/utility_widgets/Makefile.am:
	Move flowtable_dnd.[cch] in !GLOM_CLIENT_ONLY section

	svn path=/trunk/; revision=1539

2008-04-09  Murray Cumming  <murrayc@murrayc.com>

	Check that the treemodel is not null before dereferencing it. This fixes a

2008-04-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc
	get_item_placeholder(), Glom.get_item_selected(),
	on_cell_layout_button_clicked(), remove_item(),
	on_treeview_cell_edited_bool(), on_treeview_cell_edited(),
	on_treeview_button_press_event(), get_last_row(),
	get_last_row, set_value_key(), get_is_placeholder_row,()
	on_cell_button_clicked(): Check that the treemodel is not null before 
	dereferencing it.
	This fixes a crash when trying to add a record when there is no 
	primary key.
	Bug #527007 (Jean-François Fortin Tam)

	svn path=/trunk/; revision=1538

2008-04-09  Murray Cumming  <murrayc@murrayc.com>

	Destructor: Remove my hack to delete child widgets, because it causes

2008-04-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable.cc: Destructor: Remove my hack to 
	delete child widgets, because it causes double deletes.

	svn path=/trunk/; revision=1536

2008-04-08  Johannes Schmid  <johannes.schmid@openismus.com>

	Added operator! for convenience

2008-04-08  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/libglom/sharedptr.h
	(operator!): Added operator! for convenience

	* glom/mode_data/flowtablewithfields.cc
	* glom/mode_data/flowtablewithfields.h:
	(FlowTableWithFields): Removed setup_menu()
	(on_menu_delete_activate): Added a confirmation dialog

	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/layoutwidgetmenu.cc:
	* glom/utility_widgets/layoutwidgetmenu.h:
	* glom/utility_widgets/layoutwidgetbase.cc:
	* glom/utility_widgets/layoutwidgetbase.h:
	Moved menu code from LayoutWidgetBase into it\'s own class
	(on_menupopup_activate_delete): Added a menu item to delete fields

	* glom/utility_widgets/buttonglom.cc:
	* glom/utility_widgets/buttonglom.h:
	* glom/utility_widgets/labelglom.cc:
	* glom/utility_widgets/labelglom.h:
	Derive from LayoutWidgetUtils, removed setup_menu() call in
	constructors

	* glom/utility_widgets/datawidget.h:
	* glom/utility_widgets/notebookglom.h:
	* glom/utility_widgets/layoutwidgetfield.h:
	Derive from LayoutWidgetMenu

	* glom/utility_widgets/layoutwidgetutils.cc:
	* glom/utility_widgets/layoutwidgetutils.h:
	Derive from LayoutWidgetBase
	(on_menu_delete_activate): Added menu item to delete layout items

	* glom/utility_widgets/placeholder-glom.cc:
	Removed setup_menu() call

	svn path=/trunk/; revision=1535

2008-04-08  Murray Cumming  <murrayc@murrayc.com>

	Added this test.

2008-04-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/Makefile.am:
	* glom/libglom/test_connectionpool.cc: Added this test.

	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/test_flowtable.cc: Revived this test.

	svn path=/trunk/; revision=1534

2008-04-07  Murray Cumming  <murrayc@src.gnome.org>

	Removed some debug output.

	svn path=/trunk/; revision=1533

2008-04-07  Murray Cumming  <murrayc@murrayc.com>

	Refuse to change a field name to one that already exists.

2008-04-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/box_db_table_definition.cc
	check_field_change(): Refuse to change a field name to one that 
	already exists.

	svn path=/trunk/; revision=1532

2008-04-07  Johannes Schmid  <johannes.schmid@openismus.com>

	Really comitted last change (was in conflict)

2008-04-07  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/utility_widgets/flowtable.cc:
	Really comitted last change (was in conflict)

	svn path=/trunk/; revision=1530

2008-04-07  Johannes Schmid  <johannes.schmid@openismus.com>

	Derive from FlowTableDnd if not in CLIENT_ONLY mode

2008-04-07  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/mode_data/flowtablewithfields.h:
	Derive from FlowTableDnd if not in CLIENT_ONLY mode

	* glom/utility_widgets/flowtable.cc:
	(dnd_*) (on_dnd_*)
	* glom/utility_widgets/flowtable.h:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/flowtable_dnd.cc:
	* glom/utility_widgets/flowtable_dnd.h:	
	Moved drag and drop stuff into it\'s own class and some code cleanup

	svn path=/trunk/; revision=1529

2008-04-07  Murray Cumming  <murrayc@murrayc.com>

	Use atexit(__libc_freeres) to maybe help valgrind to detect leaks.

2008-04-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/main.cc (Glom.OptionGroup, main): Use atexit(__libc_freeres) 
	to maybe help valgrind to detect leaks.
	* glom/mode_data/flowtablewithfields.cc Added TODO comments about 
	possible widget leaks.
	* glom/utility_widgets/adddel/adddel.cc
	* glom/utility_widgets/adddel/adddel.h: Use UIManager instead of 
	MenuElems, because it seems less leaky.

	svn path=/trunk/; revision=1528

2008-04-05  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1527

2008-04-04  Murray Cumming  <murrayc@murrayc.com>

	construct_specified_columns(): Really delete the temporary

2008-04-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/adddel.cc: construct_specified_columns():
	Really delete the temporary TreeModelColumns to fix a leak.

	svn path=/trunk/; revision=1525

2008-04-04  Johannes Schmid  <johanens.schmid@openismus.com>

	Added dialog_flowtable

2008-04-04  Johannes Schmid  <johanens.schmid@openismus.com>

	* glom/glom_developer.glade:
	Added dialog_flowtable

	* glom/mode_data/flowtablewithfields.cc (Glom.FlowTableWithFields,
	(add_layout_group_at_position), (on_menu_properties_activate),
	(on_button_press_event):
	* glom/mode_data/flowtablewithfields.h
	Added popup-menu for flowtables

	* glom/utility_widgets/buttonglom.cc (on_button_press_event):
	* glom/utility_widgets/labelglom.cc (on_button_press_event):
	Fixed a crasher when not in developer mode

	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/dialog_flowtable.cc (Glom,
	(set_flowtable), (get_title), (get_columns_count):
	* glom/utility_widgets/dialog_flowtable.h 
	Added configuration dialog for FlowTables

	* glom/utility_widgets/layoutwidgetutils.h (LayoutWidgetUtils):
	Do not derive from sigc::trackable as it\'s not necessary.

	svn path=/trunk/; revision=1524

2008-04-04  Murray Cumming  <murrayc@murrayc.com>

	Fix the previous commit: treeviewcolumn_on_cell_data(): Do set the pixbuf

2008-04-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc: Fix the previous commit: 
	treeviewcolumn_on_cell_data(): Do set the pixbuf property to NULL when 
	it is empty, or images apear repeated on rows.

	svn path=/trunk/; revision=1522

2008-04-04  Murray Cumming  <murrayc@murrayc.com>

	treeviewcolumn_on_cell_data(): Do not try to dereference a null pixbuf

2008-04-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	treeviewcolumn_on_cell_data(): Do not try to dereference a null pixbuf 
	refptr. This fixes a crash when adding an image field to the list view 
	if one of the records has no data in that field.
	Bug #526114 (Jani Monoses).

	svn path=/trunk/; revision=1521

2008-04-04  Murray Cumming  <murrayc@murrayc.com>

	glom/mode_data/box_data_list.cc Override this so we can set a bool and

2008-04-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc
	* glom/mode_data/box_data_list.h
	on_dialog_layout_hide(): Override this so we can set a bool and 
	check for this bool in create_layout_add_group(), to reset the column 
	widths after the layout dialog has been closed. Otherwise the new 
	columns are off the right-hand side of the scroll area, making users 
	think that nothing has happened unless they look at the scroll bar.
	This is not ideal, but drag-and-drop will make this easier anyway.
	Bug #526046 (Jani Monoses).

	svn path=/trunk/; revision=1519

2008-04-02  Murray Cumming  <murrayc@murrayc.com>

	glom/libglom/connectionpool.cc glom/libglom/connectionpool.h Added

2008-04-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc
	* glom/libglom/connectionpool.h Added delete_instance().
	* glom/main.cc (main): Clean up the ConnectionPool singleton at the 
	end, so it is not reported as a leak by valgrind.

	svn path=/trunk/; revision=1517

2008-04-02  Murray Cumming  <murrayc@murrayc.com>

	glom/application.h :App::add_ui_from_string() override, so we can

2008-04-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.h 
	* glom/application.cc added a Bakery::App::add_ui_from_string() override, 
	so we can workaround a problem with UTF8 in the UI description in 
	gtkmm < 2.12.7.
	Bug #525718 (Pavel Mlčoch)

	svn path=/trunk/; revision=1514

2008-04-02  Murray Cumming  <murrayc@src.gnome.org>

	Removed some debug output.

	svn path=/trunk/; revision=1513

2008-04-02  Murray Cumming  <murrayc@murrayc.com>

	Remove the GlueItem and GlueItemList classes. Store a simple int in

2008-04-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	Remove the GlueItem and GlueItemList classes. Store a simple int 
	in GtkTreeIter::user_data instead of a pointer to an allocated GlueItem 
	instance (which just stored an int now anyway).
	This should prevent the leak of these instances, which GtkTreeModel 
	really really gives us no way to ever know when to free, other than 
	when the GktTreeModel is destroyed.

	svn path=/trunk/; revision=1512

2008-04-01  Frederic Peters  <fpeters@0d.be>

	Added more section IDs so that the Table Of Contents works on

2008-04-01  Frederic Peters  <fpeters@0d.be>

	* C/glom.xml: Added more section IDs so that the Table Of Contents 
	works on library.gnome.org (it works without them in Glom).

	svn path=/trunk/; revision=1510

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	Fixed the build (my previous changes did not actually compile).

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_privs.cc: Fixed the build (my previous changes did not 
	actually compile).

	svn path=/trunk/; revision=1509

2008-04-01  Murray Cumming  <murrayc@src.gnome.org>

	Corrected the ChangeLog

	svn path=/trunk/; revision=1508

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	Added use of BusyCursor because these access the database.

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_privs.cc (Glom.get_database_users, Glom.get_current_privs):
	* glom/mode_data/box_data.cc (Glom.record_new,
	Glom.get_related_record_exists): Added use of BusyCursor because these 
	access the database.

	svn path=/trunk/; revision=1507

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	on_treeview_column_clicked(): Show the busy cursor because the new SQL

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	on_treeview_column_clicked(): Show the busy cursor because the 
	new SQL query can take some time. 

	svn path=/trunk/; revision=1506

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	glom/libglom/data_structure/foundset.cc Moved FoundSet into its own file

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/Makefile.am:
	* glom/libglom/data_structure/foundset.cc
	* glom/libglom/data_structure/foundset.h: Moved FoundSet into its own 
	file from base_db.[h|c], because I like that.

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	* glom/base_db.cc
	* glom/base_db.h: Moved count_rows_returned_by() to Base_DB so we 
	can use it elsewhere.

	* glom/frame_glom.cc Glom.show_table(): Count the approximate number of 
	rows expected in the list view, and do not sort them by default if 
	it is more than 10,000. This allows Glom to show 600,000 MusicBrainz 
	album rows now in 1 minute.

	svn path=/trunk/; revision=1505

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	Glom.refresh_from_database(): Omit the ORDER BY clause when counting the

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	Glom.refresh_from_database(): Omit the ORDER BY clause when counting the 
	number of rows from our SQL query. This is much faster.

	svn path=/trunk/; revision=1504

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	glom/notebook_glom.h constructor, on_show(): Delay the connection of the

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/notebook_glom.h
	* glom/notebook_glom.cc: constructor, on_show(): Delay the connection of 
	the switch_page handler because GtkNotebook sometimes emits the signal 
	during show().
	Save the sigc::connection so we can block it later.
	* glom/mode_data/notebook_data.cc init_db_details(),
	on_switch_page_handler(): Block the handling of this signal during 
	the first initialization, to avoid an unnecessary duplicate SQL query.

	* glom/utility_widgets/db_adddel/db_adddel.h 
	* glom/utility_widgets/db_adddel/db_adddel.cc 
	on_self_style_changed): Correct the ifndef to an ifdef so this is 
	really only used on Maemo, preventing a third duplicate SQL query.

	svn path=/trunk/; revision=1503

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	window_data_layout: Change window title from Details Layout to Layout

2008-04-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade: window_data_layout: Change window title from 
	Details Layout to Layout because it is used for the list and the 
	related records layout too. This string already exists elsewhere, so 
	it should not be a problem for translators.
	Bug #525449 (Jani Monoses)

	svn path=/trunk/; revision=1502

2008-03-31  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed side effect of idle hack that caused that items are always inserted

	2008-03-31  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/utility_widgets/flowtable.cc (on_drag_data_received):
	Fixed side effect of idle hack that caused that items are always
	inserted at the end of the flowtable when dropped.

	* glom/utility_widgets/labelglom.cc (init):
	set_visible_window (false) for the eventbox to remove ugly label border.

	svn path=/trunk/; revision=1500

2008-03-31  Murray Cumming  <murrayc@murrayc.com>

	constructor: Do not handle style changes, because that currently causes an

2008-03-31  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	constructor: Do not handle style changes, because that currently 
	causes an extra SQL query. It is still enabled for Maemo, which needs 
	it. We should fix this properly.

	svn path=/trunk/; revision=1499

2008-03-31  Armin Burgmeier  <armin@openismus.com>

	Use a notebook for the two treeviews, add a Select button. Removed the

2008-03-31  Armin Burgmeier  <armin@openismus.com>

	* glom/glom.glade:
	* glom/dialog_existing_or_new.h:
	* glom/dialog_existing_or_new.cc: Use a notebook for the two
	treeviews, add a Select button. Removed the signals, instead added
	get_action(), get_uri(), get_service_info() and get_service_name().
	This way, the application can hide the dialog before handling the
	action more easily.

	* glom/application.h:
	* glom/application.cc: offer_new_or_existing(): Hide the
	existing_or_new dialog after having run it.
	existing_or_new_new(): Removed the signal handlers, but keep the
	action for creating a new empty document in a separate function since
	it is still a lot of code.

	svn path=/trunk/; revision=1498

2008-03-31  Murray Cumming  <murrayc@murrayc.com>

	get_record_field_values_for_calculation(): Do not show an error if the

2008-03-31  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_record_field_values_for_calculation():
	Do not show an error if the record does not exist yet. That is normal 
	and is already dealt with by the following code. Do show an error if 
	there is an exception.
	Bug #525096 (Jani Monoses)

	svn path=/trunk/; revision=1497

2008-03-31  Murray Cumming  <murrayc@murrayc.com>

	Make return activate the default buttons when in the last entry in some

2008-03-31  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade: Make return activate the default buttons 
	when in the last entry in some dialogs, such as the initial-user/password 
	dialog when self-hosting.
	Bug #525284 (Jani Monoses)

	svn path=/trunk/; revision=1494

2008-03-31  Murray Cumming  <murrayc@murrayc.com>

	Field::init_map(): Comment out some previously-allowed conversions because

2008-03-31  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/field.cc: Field::init_map():
	Comment out some previously-allowed conversions because postgres 8.3 
	has become less tolerant of conversions that could not produce useful 
	data, such as date-to-number, causing postgres errors at runtime.
	Bug #525188 (Jani Monoses)

	svn path=/trunk/; revision=1493

2008-03-31  Murray Cumming  <murrayc@murrayc.com>

	Field::init_map(): Comment out some previously-allowed conversions because

2008-03-31  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/field.cc: Field::init_map():
	Comment out some previously-allowed conversions because postgres 8.3 
	has become less tolerant of conversions that could not produce useful 
	data, such as date-to-number, causing postgres errors at runtime.
	Bug #525188 (Jani Monoses)

	svn path=/trunk/; revision=1491

2008-03-30  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed dragging on ComboEntryGlom and added some comments about what

	2008-03-30  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/utility_widgets/flowtable.cc 
	(on_child_drag_motion): 
	Fixed dragging on ComboEntryGlom and added some comments about
	what happens inside the widget detection.

	svn path=/trunk/; revision=1489

2008-03-30  Johannes Schmid  <johannes.schmid@openismus.com>

	dnd_remove_placeholder_idle(), dnd_remove_placeholder_real(),

2008-03-30  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	dnd_remove_placeholder_idle(), dnd_remove_placeholder_real(),
	on_drag_leave(), on_child_drag_motion(): Allow dropping last
	item when mouse is over an entry or a similar HAS_WINDOW widget.

	svn path=/trunk/; revision=1488

2008-03-30  Armin Burgmeier  <armin@openismus.com>

	Redesigned initial dialog, as described in

2008-03-30  Armin Burgmeier  <armin@openismus.com>

	* glom/glom.glade:
	* glom/dialog_existing_or_new.h:
	* glom/dialog_existing_or_new.cc:
	* glom/Makefile.am: Redesigned initial dialog, as described in
	http://www.murrayc.com/blog/permalink/2007/11/29/gloms-initial-dialog.

	* glom/application.h:
	* glom/application.cc: Actually use it.

	svn path=/trunk/; revision=1487

2008-03-30  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed dropping on LabelGlom which was broken due to the EventBox

2008-03-30  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/mode_data/flowtablewithfields.cc:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/labelglom.cc:
	Fixed dropping on LabelGlom which was broken due to the EventBox

	svn path=/trunk/; revision=1486

2008-03-30  Murray Cumming  <murrayc@murrayc.com>

	Always create a completely new iterator, instead of trying to return one

2008-03-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc
	create_iterator(): Always create a completely new iterator, instead of trying 
	to return one with an existing GlueItem. A comment says that this is 
	necessary to make operator=() work (it only compares pointers), but 
	I do not know why a working iterator::operator=() is necessary. I guess 
	we will find out. This was very inefficient. Glom can now show a list of 
	60,000 records in 5 minutes instead of hours/days. There is still much 
	room for improvement though.

	svn path=/trunk/; revision=1485

2008-03-29  Murray Cumming  <murrayc@murrayc.com>

	fill_from_database(): Do show tables that are in the database but not in

2008-03-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/navigation/box_tables.cc: fill_from_database(): Do show tables 
	that are in the database but not in the document (hidden by default), 
	allowing us to adapt to an existing database.
	on_adddel_Edit(): Do not complain about tables that are not in the 
	document.

	svn path=/trunk/; revision=1484

2008-03-29  Murray Cumming  <murrayc@murrayc.com>

	get_database_preferences(): Try to create the standard tables if the query

2008-03-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_database_preferences(): Try to create the standard 
	tables if the query fails, as a small first step in making Glom adapt to 
	existing databases.

	svn path=/trunk/; revision=1483

2008-03-29  Murray Cumming  <murrayc@murrayc.com>

	Mention all the image files.

2008-03-29  Murray Cumming  <murrayc@murrayc.com>

	* Makefile.am: Mention all the image files.

	svn path=/trunk/; revision=1482

2008-03-29  Murray Cumming  <murrayc@murrayc.com>

	Added mention of vertical groups to the reports section.

2008-03-29  Murray Cumming  <murrayc@murrayc.com>

	* C/glom.xml: Added mention of vertical groups to the reports section.

	svn path=/trunk/; revision=1479

2008-03-29  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1478

2008-03-28  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1477

2008-03-28  Johannes Schmid  <jhs@idefix>

	Fixed expanding of LabelGlom Fixed dragging on Gtk::TextView

2008-03-28  Johannes Schmid  <jhs@idefix>

	* glom/mode_data/flowtablewithfields.cc:
	Fixed expanding of LabelGlom
	* glom/utility_widgets/flowtable.cc:
	Fixed dragging on Gtk::TextView

	svn path=/trunk/; revision=1476

2008-03-27  Johannes Schmid  <jhs@gnome.org>

	Added get_textobject(reference)

2008-03-27  Johannes Schmid  <jhs@gnome.org>

	* glom/layout_item_dialogs/dialog_textobject.cc:
	* glom/layout_item_dialogs/dialog_textobject.h:
	Added get_textobject(reference)

	* glom/mode_data/flowtablewithfields.cc:
	* glom/utility_widgets/labelglom.cc:
	* glom/utility_widgets/labelglom.h:
	Use the correct dialog for editing textobject (missed that one before...)

	svn path=/trunk/; revision=1475

2008-03-27  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_Delete(): Put quotes around the table name when doing a DROP

2008-03-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/navigation/box_tables.cc: on_adddel_Delete(): Put quotes around 
	the table name when doing a DROP TABLE, so we can delete tables that 
	use upper case in their name.
	Bug #522233 (Pavel Mlčoch).

	svn path=/trunk/; revision=1474

2008-03-26  Murray Cumming  <murrayc@murrayc.com>

	Remove append_newline(). save_before(): Stop using append_newline() - it

2008-03-26  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h:
	Remove append_newline().
	save_before(): Stop using append_newline() - it never worked anyway.
	Use add_indenting_white_space_to_node() which was just added to Bakery.
	This makes the .glom files have nice readable indenting again.

	svn path=/trunk/; revision=1472

2008-03-26  Johannes Schmid  <jhs@gnome.org>

	Added popup menu for LabelGlom

2008-03-26  Johannes Schmid  <jhs@gnome.org>

	* glom/mode_data/flowtablewithfields.cc:
	* glom/utility_widgets/dialog_layoutitem_properties.cc:
	* glom/utility_widgets/labelglom.cc:
	* glom/utility_widgets/labelglom.h:	
	Added popup menu for LabelGlom

	* glom/utility_widgets/dragbutton.h:
	Make a method const

	svn path=/trunk/; revision=1471

2008-03-24  Murray Cumming  <murrayc@murrayc.com>

	Added images from screenshots on website. Added screenshots and some text.

2008-03-24  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* docs/user-guide/C/figures: Added images from screenshots on website.
	* docs/user-guide/C/glom.xml: Added screenshots and some text.
	Added section about translations.

	svn path=/trunk/; revision=1470

2008-03-24  Johannes Schmid  <jhs@src.gnome.org>

	Added missing file

	svn path=/trunk/; revision=1469

2008-03-22  Murray Cumming  <murrayc@murrayc.com>

	Added sections about defining and using reports. Reports list: Corrected

2008-03-22  Murray Cumming  <murrayc@murrayc.com>

	* docs/user-guide/C/glom.xml: Added sections about defining and using 
	reports.
	* glom/glom_developer.glade: Reports list: Corrected packing expanding.
	Added a tooltip for a checkbox.

	svn path=/trunk/; revision=1468

2008-03-22  Johannes Schmid  <johannes.schmid@openismus.com>

	Added popup-menu for buttons (and so refactoring to make it easier for

	2008-03-22  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/glom_developer.glade:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/buttonglom.cc:
	* glom/utility_widgets/buttonglom.h:
	* glom/utility_widgets/dialog_buttonscript.cc:
	* glom/utility_widgets/dialog_buttonscript.h:
	* glom/utility_widgets/dialog_layoutitem_properties.cc:
	* glom/utility_widgets/dialog_layoutitem_properties.h:
	* glom/utility_widgets/labelglom.h:
	* glom/utility_widgets/layoutwidgetutils.h:

	Added popup-menu for buttons (and so refactoring to make it easier for other 
	widgets)

	svn path=/trunk/; revision=1467

2008-03-19  Murray Cumming  <murrayc@murrayc.com>

	Use a URI for the examples directory instead of a filepath, sot that the

2008-03-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc offer_new_or_existing(): Use a URI for the 
	examples directory instead of a filepath, sot that the examples 
	directory is really opened in the file chooser. gnome-vfs seems to 
	have become less tolerant of URIs without file:// at the start.

	svn path=/trunk/; revision=1465

2008-03-18  Murray Cumming  <murrayc@murrayc.com>

	Hard-code the result for text fields (G_TYPE_STRING) so we always use

2008-03-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/fieldtypes.cc 
	get_string_name_for_gdavaluetype(): Hard-code the result for 
	text fields (G_TYPE_STRING) so we always use varchar. Otherwise 
	we mistakenly create fields of type xml because libgda reports many 
	postgres 8.3 fields types as being of type G_TYPE_STRING.

	svn path=/trunk/; revision=1462

2008-03-18  Murray Cumming  <murrayc@murrayc.com>

	Depend on the new unstable bakery-2.6 API.

2008-03-18  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Depend on the new unstable bakery-2.6 API.
	* glom/application.cc:
	* glom/base_db.cc:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/document/document_glom.cc:
	* glom/main.cc:
	* glom/xsl_utils.cc: Use giomm instead of Gnome::Vfs.

	svn path=/trunk/; revision=1461

2008-03-18  Murray Cumming  <murrayc@murrayc.com>

	Added more casts to non-const char* from static strings, to avoid warnings

2008-03-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/python_embed/python_module/py_glom_module.cc (initglom):
	Added more casts to non-const char* from static strings, to 
	avoid warnings with Python. Python should use const char*, of course.

	svn path=/trunk/; revision=1460

2008-03-14  Andre Klapper  <a9016009@gmx.de>

	Updated German translation.

2008-03-14  Andre Klapper  <a9016009@gmx.de>

	* de.po: Updated German translation.

	svn path=/trunk/; revision=1459

2008-03-14  Ilkka Tuohela  <ituohela@src.gnome.org>

	Updated Finnish translation

	svn path=/trunk/; revision=1458

2008-03-13  Murray Cumming  <murrayc@murrayc.com>

	Fixed a typo in my previous commit, to fix the build.

2008-03-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc ui_file_select_open_with_browse():
	Fixed a typo in my previous commit, to fix the build.

	svn path=/trunk/; revision=1457

2008-03-13  Murray Cumming  <murrayc@murrayc.com>

	Bug 521992 – Pressing Escape on Initial dialog does not close

2008-03-13  Murray Cumming  <murrayc@murrayc.com>

	Bug 521992 – Pressing Escape on Initial dialog does not close 
	application properly.
	(Pavel Mlčoch)

	* glom/dialog_database_preferences.cc load_from_document():
	Do not crash if the Gda::DataModel is empty.

	* glom/application.cc ui_file_select_save(), on_document_load(),
	offer_new_or_existing():
	* glom/frame_glom.cc on_menu_file_export():
	* glom/utility_widgets/imageglom.cc
	on_menupopup_activate_select_file(): Check for 
	Gtk::RESPONSE_DELETE_EVENT instead of just Gtk::RESPONSE_CANCEL, so 
	that we treat pressing Escape the same as pressing Cancel. When we 
	just ignore this then we can leave the application in an unexpected 
	state.

	svn path=/trunk/; revision=1456

2008-03-10  Murray Cumming  <murrayc@murrayc.com>

	discover_first_free_port() Reformat the code to make the use of ifdefs for

2008-03-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	discover_first_free_port() Reformat the code to make the use of 
	ifdefs for various platforms clearer. Include errno.h and add a comment 
	about how this is essential to make the code actually work.
	This stops Glom from starting a postgres instance on the same port that 
	is used by an existing instance.
	start_self_hosting(): Set the port in the document so it is not 
	incorrectly set again later. This fixes the problem that Glom sometimes 
	started a server and then could not connect to it.

	svn path=/trunk/; revision=1452

2008-03-09  Armin Burgmeier  <armin@openismus.com>

	Don't try to use remembered port when m_port is 0. This broke connections

2008-03-09  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.cc: Don't try to use remembered port
	when m_port is 0. This broke connections to non-self-hosted database
	servers since the connection attempt was only performed on port 0.

	* glom/application.cc: Set "try_other_ports" to TRUE for new documents
	if the document is not self-hosted. Otherwise, only port 5432 was
	tried, and not the other ones specefied in the ConnectionPool's
	constructor.

	svn path=/trunk/; revision=1451

2008-03-08  Murray Cumming  <murrayc@murrayc.com>

	Added get_double_for_gda_value_numeric().

2008-03-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/glomconversions.cc:
	* glom/libglom/data_structure/glomconversions.h:
	Added get_double_for_gda_value_numeric().
	* glom/base_db.cc: auto_increment_insert_first_if_necessary(),
	recalculate_next_auto_increment_value(),
	get_next_auto_increment_value():
	Return a GdaNumeric Gda::Value, not a string one, and
	do the conversion without the locale affecting it.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	fill_values_if_necessary(): Create default values of the correct type. 
	* glom/libglom/utils.cc:
	* glom/libglom/utils.h: Removed decimal_from_string() because it is 
	no longer used.
	This avoids a warning about an incorrect type when adding a row in 
	the list view.

	* examples/example_music_collection.glom: Song table:
	Added Artists doubly-related fields on details and recreate this 
	example.

	svn path=/trunk/; revision=1450

2008-03-08  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1449

2008-03-05  Murray Cumming  <murrayc@murrayc.com>

	offer_new_or_existing(): Call connection_pool->set_get_document_func()

2008-03-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: offer_new_or_existing():
	Call connection_pool->set_get_document_func() before calling 
	connection_request_password_and_choose_new_database_name() to 
	avoid a (maybe harmless anyway) warning.

	svn path=/trunk/; revision=1448

2008-03-05  Murray Cumming  <murrayc@murrayc.com>

	get_text_for_gda_value(): Improved the warning about the unexpected value

2008-03-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/glomconversions.cc: 
	get_text_for_gda_value(): Improved the warning about the unexpected 
	value type, though I have not yet solved this (minor) problem.
	* glom/utility_widgets/dragbar.cc: Improve the titles in the tool 
	pallete. And please stop using tabs in the source code.

	svn path=/trunk/; revision=1447

2008-03-05  Murray Cumming  <murrayc@murrayc.com>

	get_data_layout_groups_default(): Restored the code that creates the

2008-03-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc:
	get_data_layout_groups_default(): Restored the code that creates 
	the default layouts, which was lost somehow.
	Bug #517665 (Johannes Schmid).

	svn path=/trunk/; revision=1446

2008-03-04  Johannes Schmid  <jhs@gnome.org>

	Fixed a crasher (probably related to an empty table)

2008-03-04  Johannes Schmid  <jhs@gnome.org>

	* glom/mode_data/box_data_details.cc:
	Fixed a crasher (probably related to an empty table)

	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/checkglom.h: (added)
	* glom/utility_widgets/checkglom.cc: (added)
	Add a popup menu to checkbutton fields

	svn path=/trunk/; revision=1445

2008-02-29  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed dragging on LabelGlom

2008-02-29  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/utility_widgets/flowtable.cc:
	Fixed dragging on LabelGlom

	svn path=/trunk/; revision=1443

2008-02-28  Johannes Schmid  <johannes.schmid@openismus.com>

	Use EggToolPalette for the developer drag and drop toolbar

2008-02-28  Johannes Schmid  <johannes.schmid@openismus.com>

	* glom/utility_widgets/dragbar.cc:
	* glom/utility_widgets/dragbutton.cc:
	* glom/utility_widgets/dragbutton.h:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/sidebar.cc:
	* glom/utility_widgets/sidebar.h:
	Use EggToolPalette for the developer drag and drop toolbar

	svn path=/trunk/; revision=1442

2008-02-25  Johannes Schmid  <johannes.schmid@openismus.com>

	glom/utility_widgets/eggtoolpalette/* (external)

	2008-02-25  Johannes Schmid <johannes.schmid@openismus.com>

	* configure.in:
	* glom/Makefile.am:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/eggtoolpalette/* (external)
	* glom/utility_widgets/util/* (external)

	Integrated eggtoolpalette into the build system (not used yet)

	svn path=/trunk/; revision=1440

2008-02-25  Johannes Schmid  <jhs@src.gnome.org>

	Reverted last commit

	svn path=/trunk/; revision=1439

2008-02-25  Johannes Schmid  <jhs@src.gnome.org>

	Added libegg util directory

	svn path=/trunk/; revision=1438

2008-02-24  Armin Burgmeier  <armin@openismus.com>

	Pass -i instead of -h "*" to postmaster. This is equivalent, but it does

2008-02-24  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.cc: Pass -i instead of -h "*" to
	postmaster. This is equivalent, but it does not require postgres to
	be linked against CRT_noglob.o on Windows.

	svn path=/trunk/; revision=1437

2008-02-23  Armin Burgmeier  <armin@openismus.com>

	Add the bin/ subdirectory to the PATH environment variable on Windows.

2008-02-23  Armin Burgmeier  <armin@openismus.com>

	* glom/main.cc: Add the bin/ subdirectory to the PATH environment
	variable on Windows. This is where the gspawn-win32-helper.exe program
	required for g_spawn* is installed, and g_spawn* requires it to be in
	somewhere in PATH. This fixes self-hosting on machines where
	gspawn-win32-helper.exe is not already in the PATH.

	svn path=/trunk/; revision=1436

2008-02-22  Murray Cumming  <murrayc@murrayc.com>

	Put the pygda appendix in its own section, instead of inside the previous

2008-02-22  Murray Cumming  <murrayc@murrayc.com>

	* C/glom.xml: Put the pygda appendix in its own section, instead of 
	inside the previous appendix. Update the application version from 
	0.8 to 1.6.

	svn path=/trunk/; revision=1435

2008-02-20  Johannes Schmid  <jhs@src.gnome.org>

	Properties next try

	svn path=/trunk/; revision=1432

2008-02-20  Murray Cumming  <murrayc@murrayc.com>

	Moved the m_pDrag_Bar declaration to avoid a warning about initialization

2008-02-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.h: Moved the m_pDrag_Bar declaration to 
	avoid a warning about initialization sequence.
	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	* glom/python_embed/glom_python.cc: Cast some static strings to 
	gchar* because the Python C API does not use const. This avoids some 
	warnings.

	svn path=/trunk/; revision=1429

2008-02-20  Johannes Schmid  <johannes.schmid@openismus.com>

	Cell set modified, when the document was modified...

	2008-02-20  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/mode_data/box_data_details.cc:
	Cell set modified, when the document was modified...

	svn path=/trunk/; revision=1428

2008-02-20  Johannes Schmid  <johannes.schmid@openismus.com>

	Use set_layout_item() on all layout element to allow to adding them at the

	2008-02-20  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/mode_data/flowtablewithfields.cc:
	Use set_layout_item() on all layout element to allow to
	adding them at the correct place to a layout_group

	* glom/utility_widgets/flowtable.cc:
	Remove some debug messages

	svn path=/trunk/; revision=1427

2008-02-20  Johannes Schmid  <johannes.schmid@openismus.com>

	Allow dragging at below the last item of a group

	2008-02-20  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/utility_widgets/flowtable.cc:
	Allow dragging at below the last item of a group

	svn path=/trunk/; revision=1426

2008-02-19  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1425

2008-02-19  Johannes Schmid  <johannes.schmid@openismus.com>

	Added drag and drop for notebooks

	2008-02-19  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/mode_data/flowtablewithfields.cc:
	* glom/mode_data/flowtablewithfields.h:
	* glom/utility_widgets/flowtable.h:
	Added drag and drop for notebooks

	svn path=/trunk/; revision=1424

2008-02-19  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed crasher when using Tables menu

	2008-02-19  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/frame_glom.cc:
	Fixed crasher when using Tables menu

	* glom/glom.glade:
	Removed unused dialog

	2008-02-19  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/mode_data/flowtablewithfields.cc:
	* glom/mode_data/flowtablewithfields.h:
	Cleaned up dnd code in FlowTableWithFields

	svn path=/trunk/; revision=1423

2008-02-19  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1422

2008-02-19  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1421

2008-02-19  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1420

2008-02-19  Johannes Schmid  <johannes.schmid@openismus.com>

	Show drag toolbar when in developer mode

	2008-02-19  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/application.cc:
	* glom/application.h:
	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	Show drag toolbar when in developer mode

	* glom/mode_data/box_data_details.cc:
	Recreate layout when switching to developer mode

	svn path=/trunk/; revision=1419

2008-02-18  Kjartan Maraas  <kmaraas@gnome.org>

	Add missing files. Updated Norwegian bokmål translation.

2008-02-19  Kjartan Maraas  <kmaraas@gnome.org>

	* POTFILES.in: Add missing files.
	* nb.po: Updated Norwegian bokmål translation.

	svn path=/trunk/; revision=1418

2008-02-18  Johannes Schmid  <jhs@gnome.org>

	#ifdef\'d all those annoying avahi debug messages

	2008-02-18  Johannes Schmid <jhs@gnome.org>

	* glom/libglom/connectionpool.cc:	
	#ifdef\'d all those annoying avahi debug messages

	* glom/libglom/data_structure/layout/layoutgroup.cc:
	* glom/libglom/data_structure/layout/layoutgroup.h:	
	Added LayoutGroup::remove_item()  

	* glom/libglom/document/document_glom.cc:	
	* glom/mode_data/dialog_layout_details.cc:
	Remove default layout creation as it\'s no longer needed when you can  
	create your layout using drag and drop.

	* glom/mode_data/flowtablewithfields.cc:
	* glom/mode_data/flowtablewithfields.h:	
	* glom/mode_data/box_data_details.cc:  
	* glom/mode_data/box_data_details.h:  
	Fixed dragging of groups (mostly)

	* glom/utility_widgets/dragbar.cc:
	* glom/utility_widgets/dragbutton.cc:	
	* glom/utility_widgets/dragbutton.h:	
	Use enum instead of string to determine drag type

	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:	
	Set default size when in developer mode  

	* icons/16x16/Makefile.am:	
	* icons/16x16/glom-notebook.png  
	Added notebook icon

	svn path=/trunk/; revision=1417

2008-02-17  Pawan Chitrakar  <pachimho@src.gnome.org>

	Updated Nepali Translation

	svn path=/trunk/; revision=1416

2008-02-14  Armin Burgmeier  <armin@openismus.com>

	Moved most files into the bin/ subdirectory. This is because both Glom.exe

2008-02-14  Armin Burgmeier  <armin@openismus.com>

	* win32/querymodules.bat:
	* win32/build-installer:
	* win32/glom.iss.in: Moved most files into the bin/ subdirectory. This
	is because both Glom.exe and the postgres utilities need libpq.dll,
	but the postgres utilities need to be in the bin/ subdirectory to find
	their shared files. With this, the installer also works for me on a
	machine that does not already have Python, GTK, etc. installed.

	svn path=/trunk/; revision=1415

2008-02-11  Armin Burgmeier  <armin@openismus.com>

	Add all required python files. I would like to put them into a separate

2008-02-11  Armin Burgmeier  <armin@openismus.com>

	* win32/build-installer:
	* win32/glom.iss.in: Add all required python files. I would like to
	put them into a separate python/ directory, but did not get it to find
	them there. They are put into the main application directory for now.

	svn path=/trunk/; revision=1414

2008-02-09  Armin Burgmeier  <armin@openismus.com>

	Added some missing DLLs and gda and glom python modules.

2008-02-09  Armin Burgmeier  <armin@openismus.com>

	* win32/build-installer:
	* win32/glom.iss.in: Added some missing DLLs and gda and glom python
	modules.

	svn path=/trunk/; revision=1413

2008-02-05  Armin Burgmeier  <armin@openismus.com>

	Fixed a 'non-void function does not return a value' warning in

2008-02-05  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.cc: Fixed a 'non-void function does not
	return a value' warning in
	ConnectionPool::check_postgres_is_available_with_warning().

	* glom/layout_item_dialogs/dialog_buttonscript.cc: Use a monospace
	font for the python script text field. Coding is much more convenient
	with a monospace font.

	svn path=/trunk/; revision=1412

2008-02-04  Armin Burgmeier  <armin@openismus.com>

	Try finding postgres binaries in bin/ first. The installer installs them

2008-02-04  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.cc: Try finding postgres binaries in
	bin/ first. The installer installs them there because they do not find
	the shared data they need otherwise.

	* icons/Makefile.am:
	* icons/win32/Makefile.am: Include the glom.ico in the distribution.

	* glom/Makefile.am: Link glom.exe with the -mwindows flag on Windows
	so that starting glom does not start a console window additionally.

	* win32/glom.iss.in: The script to create the Windows installer with
	InnoSetup (http://www.innosetup.org). It is a .in files so that
	configure automatically sets the correct Glom version in it.

	* win32/querymodules.bat: Batch file the installer uses to register
	pango modules, gdk pixbuf loaders and GTK+ input methods.

	* win32/build-installer: Tool I use to gather all files for the
	installer. It is currently verify specific to my own build setup.

	* win32/Makefile.am: Include these files with make dist.

	* Makefile.am: Add win32 to SUBDIRS.
	* configure.in: Create win32/Makefile, win32/glom.iss and
	icons/win32/Makfile.

	svn path=/trunk/; revision=1411

2008-02-03  Armin Burgmeier  <armin@openismus.com>

	Adjust paths of glade files and locales to match the path the (yet to

2008-02-03  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/glade_utils.h:
	* glom/main.cc: Adjust paths of glade files and locales to match the
	path the (yet to come) installer installs them.

	* glom/libglom/connectionpool.cc: Pass the -L flag with a path
	relative to the glom executable (where the installer will install it)
	to initdb on Windows so that it finds necessary files that are
	normally available in /usr/share/postgresql/.

	svn path=/trunk/; revision=1409

2008-02-03  Murray Cumming  <murrayc@murrayc.com>

	on_button_field(): Pass the correct parameter to avoid a use of an

2008-02-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/layout_item_dialogs/dialog_field_summary.cc: on_button_field():
	Pass the correct parameter to avoid a use of an uninitialized value.
	* glom/libglom/data_structure/layout/report_parts/layoutitem_fields_summary.cc:
	Constructor: Initialize a member variable to avoid a use of an 
	uninitialized value.
	This fixed the crashes in bug #513927 (Göran)

	svn path=/trunk/; revision=1407

2008-02-02  Murray Cumming  <murrayc@src.gnome.org>

	Corrected ChangeLog

	svn path=/trunk/; revision=1406

2008-01-31  Armin Burgmeier  <armin@openismus.com>

	Added 48x48 glom.ico to be used as icon for glom.exe. Added resource file

2008-01-31  Armin Burgmeier  <armin@openismus.com>

	* icons/win32/glom.ico: Added 48x48 glom.ico to be used as icon for
	glom.exe.
	* glom/glom.rc: Added resource file containing glom.ico.
	* glom/Makefile.am: Link resource file into glom.exe.

	svn path=/trunk/; revision=1405

2008-01-31  Armin Burgmeier  <armin@openismus.com>

	Load translations relative to glom.exe on Windows.

2008-01-31  Armin Burgmeier  <armin@openismus.com>

	* glom/main.cc: Load translations relative to glom.exe on Windows.

	svn path=/trunk/; revision=1404

2008-01-29  Murray Cumming  <murrayc@murrayc.com>

	on_flowtable_script_button_clicked(): Make sure that we send the primary

2008-01-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: on_flowtable_script_button_clicked():
	Make sure that we send the primary key value when refreshing after a button 
	was clicked. This fixes the bug that most of the fields were blanked after 
	clicking a button.

	svn path=/trunk/; revision=1402

2008-01-28  Murray Cumming  <murrayc@murrayc.com>

	load_after_layout_item_field(): Call set_full_field_details() on the

2008-01-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc: load_after_layout_item_field():
	Call set_full_field_details() on the layout item, so we load the correct 
	formatting for that field type. For instance, this means we do not lose 
	the multiline formatting option when loading. 
	Thanks to Göran (TEK-en) for finding this bug.

	svn path=/trunk/; revision=1400

2008-01-28  Armin Burgmeier  <armin@openismus.com>

	Set IOChannel that reads stderr from child process to be nonblocking to

2008-01-28  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/spawn_with_feedback.cc: Set IOChannel that reads stderr
	from child process to be nonblocking to make sure we don't block the
	whole process.

	svn path=/trunk/; revision=1399

2008-01-27  Armin Burgmeier  <armin@openismus.com>

	Added Utils::get_glade_file_path() to locate the glade file relative to

2008-01-27  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/glade_utils.h: Added Utils::get_glade_file_path() to
	locate the glade file relative to the application executable on
	Windows.

	* glom/dialog_invalid_data.cc:
	* glom/libglom/spawn_with_feedback.cc:
	* glom/utility_widgets/datawidget.cc:
	* glom/frame_glom.cc:
	* glom/layout_item_dialogs/dialog_field_layout.cc:
	* glom/layout_item_dialogs/dialog_group_by.cc:
	* glom/reports/dialog_layout_report.cc:
	* glom/translation/window_translations.cc:
	* glom/base_db.cc:
	* glom/main.cc:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/flowtablewithfields.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/filechooser_export.cc:
	* glom/application.cc:
	* glom/mode_design/script_library/dialog_script_library.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/print_layouts/dialog_text_formatting.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.cc: Use
	Utils::get_glade_file_path() to load the glade files.

	svn path=/trunk/; revision=1398

2008-01-26  Armin Burgmeier  <armin@openismus.com>

	Added a run() method so that we can show it without the ugly

2008-01-26  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/dialog_progress_creating.h:
	* glom/libglom/dialog_progress_creating.cc: Added a run() method so
	that we can show it without the ugly while(Gtk::Main::events_pending())
	Gtk::Main::iteration().

	* glom/libglom/spawn_with_feedback.cc: Rewrote
	execute_command_line_and_wait_until_second_command_returns_success()
	so that it does not block the UI, does not run into an endless loop if
	the first command fails, and shows a useful error message in that
	case.

	* glom/libglom/connectionpool.cc: Locate postgres executables via
	Glib::find_program_in_path() on Windows, because hardcoding the path
	to the postgres utils does not work. Use "postgres.exe" instead of
	"postmaster.exe" on Windows because the postgres installer does not
	install postmaster.exe (which is deprecated since postgresql 8.2).

	svn path=/trunk/; revision=1397

2008-01-25  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed two crasher related to working with empty layout/empty tables

	2008-01-25  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/mode_data/box_data_details.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:

	Fixed two crasher related to working with empty layout/empty tables

	svn path=/trunk/; revision=1396

2008-01-21  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed crasher in case there is no default layout group

	2008-01-21  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/libglom/document/document_glom.cc:
	Fixed crasher in case there is no default layout group

	* glom/utility_widgets/flowtable.cc:
	Avoid division by zero

	svn path=/trunk/; revision=1395

2008-01-21  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles

	svn path=/trunk/; revision=1394

2008-01-21  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	Updated French translation by Christophe Benz and Stéphane Raimbault.

2008-01-21  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* fr.po: Updated French translation by Christophe Benz and
	Stéphane Raimbault.

	svn path=/trunk/; revision=1393

2008-01-20  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation by Daniel Mustieles.

	svn path=/trunk/; revision=1392

2008-01-20  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	Moved flowtablewithfields.cc to glom/mode_data from glom/utility_widgets.

2008-01-20  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* POTFILES.in: Moved flowtablewithfields.cc to glom/mode_data from
	glom/utility_widgets.

	svn path=/trunk/; revision=1391

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

	Added copied (and renamed) versions of Gtk::Calendar and GtkCalendar with

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

	* configure.in:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/calendar/Makefile.am:
	* glom/utility_widgets/calendar/README:
	* glom/utility_widgets/calendar/glomcalendar.cc:
	* glom/utility_widgets/calendar/glomcalendar.h:
	* glom/utility_widgets/calendar/glomgtkcalendar.c:
	* glom/utility_widgets/calendar/glomgtkcalendar.h:
	Added copied (and renamed) versions of Gtk::Calendar and 
	GtkCalendar with the new details callback function, 
	instead of depending on unreleased/unstable GTK+ and gtkmm.

	svn path=/trunk/; revision=1390

2008-01-17  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed some odd dragging bug and removed dialogs for new buttons/label. Use

	2008-01-17  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/mode_data/flowtablewithfields.cc:
	* glom/utility_widgets/flowtable.cc:

	Fixed some odd dragging bug and removed dialogs for
	new buttons/label. Use Developers->Layout instead to
	change the appearance of newly added items.

	svn path=/trunk/; revision=1389

2008-01-16  Armin Burgmeier  <armin@openismus.com>

	Added ConnectionPool::get_try_other_ports().

2008-01-17  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connection_pool.h:
	* glom/libglom/connection_pool.cc: Added
	ConnectionPool::get_try_other_ports().

	* glom/frame_glom.cc: Fixed connection proceduce after creating new
	self-hosted database by setting port and try_other_ports into in the
	document. These settings are later used for the connection. If we
	don't do that, port is 0 and we can't connect.

	svn path=/trunk/; revision=1388

2008-01-14  Johannes Schmid  <jhs@gnome.org>

	Setup drag source correctly.

	2008-01-14  Johannes Schmid <jhs@gnome.org>

	* glom/utility_widgets/dragbutton.cc:
	Setup drag source correctly.

	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:	
	Fixed placeholder expanding
	Support dragging on child widgets (at least GtkEntry\'s for now

	svn path=/trunk/; revision=1387

2008-01-13  Armin Burgmeier  <armin@openismus.com>

	Disable the --with-postgres-utils options on Windows because it does not

2008-01-13  Armin Burgmeier  <armin@openismus.com>

	* configure.in: Disable the --with-postgres-utils options on Windows
	because it does not make sense to hardcode paths on Windows. We use
	Glib::find_program_in_path to locate the postgres executables.

	* glom/libglom/connectionpool.h:
	* glom/libglom/connectionpool.cc: Severial windows fixes: Don't use
	libepc, locate postgres programs using Glib::find_program_in_path,
	quote path to executables, use closesocket() instead of close().

	* glom/libglom/spawn_with_feedback.cc: Fixed typo.

	* glom/Makefile.am: Changed library linking order so linking developer
	mode on Windows succeeds.

	svn path=/trunk/; revision=1386

2008-01-10  Murray Cumming  <murrayc@murrayc.com>

	Depend on the latest version of libgda, because we use the new

2008-01-10  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Depend on the latest version of libgda, because we 
	use the new Gda::Value::get_ulong() method. Thanks to Rohit Agrawal.

	svn path=/trunk/; revision=1385

2008-01-04  Johannes Schmid  <jhs@gnome.org>

	Cleaned-up setup_dnd() code and fix a very stupid bug in column

	2008-01-04  Johannes Schmid <jhs@gnome.org>

	* glom/utility_widgets/flowtable.cc:
	Cleaned-up setup_dnd() code and fix a very stupid
	bug in column calculation

	svn path=/trunk/; revision=1384

2008-01-03  Armin Burgmeier  <arminb@src.gnome.org>

	Fixed date in ChangeLog

	svn path=/trunk/; revision=1383

2008-01-03  Armin Burgmeier  <armin@openismus.com>

	glom/utility_widgets/cellrendererlist/Makefile.am Moved cellrendererlist

2007-12-02  Armin Burgmeier  <armin@openismus.com>

	* glom/utility_widgets/cellrendererlist/cellrendererlist.h:
	* glom/utility_widgets/cellrendererlist/cellrendererlist.cc:
	* glom/utility_widgets/cellrendererlist/Makefile.am
	* configure.in: Moved cellrendererlist to this subdirectory.

	* glom/mode_data/flowtablewithfields.h:
	* glom/mode_data/flowtablewithfields.cc: Moved the FlowTableWithFields
	class from utility_widgets to mode_data. mode_data is the only one who
	uses this, and this way, utility_widgets do no longer depend on
	mode_data. This is necessary to link libglom dynamically on Windows.

	* glom/Makefile.am: Added
	utility_widgets/cellrendererlist/libutility_widgets_cellrendererlist.a
	to LDADD.

	* glom/utility_widgets/Makefile.am:
	* glom/mode_data/Makefile.am: Changed list of source files
	accordingly.

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/mode_data/box_data_details.h: Changed include paths
	accordingly.

	* glom/libglom/Makefile.am: Link libglom dynamically on Windows. This
	requires also the latest versions of libgdamm, gnome-vfsmm, gconfmm
	and bakery because earlier versions do not create a shared library on
	Windows, and shared libraries cannot be linked against static ones.

	* glom/python_embed/python_module/Makefile.am: Rename the python glom
	module from glom.dll to glom.pyd on Windows when installing because
	python does not find the module when it does not end on .pyd. These
	.pyd files are simply renamed DLLs.

	svn path=/trunk/; revision=1382

2007-12-31  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1381

2007-12-30  Johannes Schmid  <johannes.schmid@openismus.com>

	Allow dragging on child widgets that use their own GdkWindow. This works

	007-12-30  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	Allow dragging on child widgets that use their own GdkWindow. This
	works for GlomImage now but still needs some work for GlomEntrys and 
	other widgets.

	* glom/utility_widgets/flowtablewithfields.cc:
	Don\'t put child flowtables into Gtk::EventBox because it\'s useless

	svn path=/trunk/; revision=1380

2007-12-30  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated spanish translation

	svn path=/trunk/; revision=1379

2007-12-29  Armin Burgmeier  <armin@openismus.com>

	Require latest libepc on both maemo and non-maemo.

2007-12-29  Armin Burgmeier  <armin@openismus.com>

	* configure.in: Require latest libepc on both maemo and non-maemo.

	* glom/application.cc: Fixed an #ifdef at the wrong position so the
	application's menu is fully populated in client-only mode.

	svn path=/trunk/; revision=1378

2007-12-21  Murray Cumming  <murrayc@murrayc.com>

	Several corrections and improvements. This is not quite finished yet.

2007-12-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_document.dtd: Several corrections and improvements. This is not 
	quite finished yet.

	svn path=/trunk/; revision=1377

2007-12-21  Murray Cumming  <murrayc@murrayc.com>

	Updated and corrected DTD with documentation comments. This was completed

2007-12-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_document.dtd: Updated and corrected DTD with documentation 
	comments. This was completed by novanasa, as a Google Highly-Open Participation 
	(GHOP) task (GNOME GHOP task 49).
	This is for documentation (or utilities) - we do not actually validate the 
	.xml so that we can be as liberal as possible when loading documents.

	svn path=/trunk/; revision=1376

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	get_text_for_gda_value(): Return escaped text for images, instead of using

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/glomconversions.cc: get_text_for_gda_value():
	Return escaped text for images, instead of using to_string(). This fixes the 
	loading of images from the document, so they are not lost when closing the 
	document.

	svn path=/trunk/; revision=1374

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	scale_to_size(): Set the size again after setting the pixbuf, to preserve

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_image_movable.cc:
	* glom/utility_widgets/canvas/canvas_item_movable.h: scale_to_size():
	Set the size again after setting the pixbuf, to preserve the size.
	* glom/utility_widgets/canvas/canvas_group_resizable.cc:
	* glom/utility_widgets/canvas/canvas_group_resizable.h:
	Added (and emitted) signal_resized().
	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	* glom/mode_design/print_layouts/canvas_layout_item.h:
	Handle signal_resized() to rescale images when they are resized.

	svn path=/trunk/; revision=1373

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	Store the original pixbuf and use it in a new scale_to_size() method.

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_image_movable.cc:
	* glom/utility_widgets/canvas/canvas_image_movable.h: Store the 
	original pixbuf and use it in a new scale_to_size() method.
	* glom/mode_design/print_layouts/canvas_layout_item.cc: 
	set_layout_item(): Call scale_to_size() on images, after setting the 
	size.

	svn path=/trunk/; revision=1372

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	cast_to_movable(), cast_to_item(): Make these handle CanvasGroupResizable

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_item_movable.cc:
	cast_to_movable(), cast_to_item(): Make these handle 
	CanvasGroupResizable too, causing snap-to-grid to work again, 
	though it seems to only work for moving, and not for resizing.

	svn path=/trunk/; revision=1371

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	offer_imageobject(): Add show_title bool, like offer_textobject() alread

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: offer_imageobject(): Add show_title bool, like 
	offer_textobject() alread has.
	* glom/glom_developer.glade: Correct the title of the choose image 
	dialog.
	* glom/layout_item_dialogs/dialog_imageobject.cc:
	* glom/layout_item_dialogs/dialog_imageobject.h: set_layout_item():
	Add show_title bool and hide the title if it is true.
	* glom/libglom/data_structure/layout/layoutitem_image.cc:
	* glom/libglom/data_structure/layout/layoutitem_image.h: Added 
	get_image_as_pixbuf() for convenience.
	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	set_layout_item(): Actually show the image from the layout item.
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	on_context_menu_edit(): Handle image objects.

	svn path=/trunk/; revision=1370

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	Remove m_drop_x and m_drop_y: They are useless now that we don't use the

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	Remove m_drop_x and m_drop_y: They are useless now that we don't use 
	the menu signal handler when dropping.
	create_empty_item(): Set appropriate sizes for the new items.

	svn path=/trunk/; revision=1369

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	Added remove_empty_indicators() to remove the missing-image icon from

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	* glom/mode_design/print_layouts/canvas_layout_item.h:
	Added remove_empty_indicators() to remove the missing-image icon from empty 
	static image items. 
	* glom/mode_design/print_layouts/canvas_print_layout.cc: fill_with_data():
	Call remove_empty_indicators() so that the missing-image icons are not seen 
	when printing. 

	svn path=/trunk/; revision=1368

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	Added set_image() and set_image_empty(), which adds a MISSING_IMAGE stock

2007-12-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_image_movable.cc:
	* glom/utility_widgets/canvas/canvas_image_movable.h: Added set_image() and 
	set_image_empty(), which adds a MISSING_IMAGE stock icon.
	* glom/mode_design/print_layouts/canvas_layout_item.cc: set_layout_item():
	Use set_image_empty().

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	on_canvas_drag_data_received(): After a drop, delete the temporary canvas 
	item shown during drag motion.
	Added on_canvas_drag_leave(), so we can delete the temporary item when the 
	user drags out of the canvas without doing a drop.

	svn path=/trunk/; revision=1367

2007-12-19  Murray Cumming  <murrayc@murrayc.com>

	Added create_empty_item() to avoid duplicate code for the various ways to

2007-12-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	Added create_empty_item() to avoid duplicate code for the various ways to add 
	new items. For instance, when dragging from the toolbar, actually put some text 
	in the text item so that something is visible.
	We still need to make empty images and portals visible somehow. 

	svn path=/trunk/; revision=1366

2007-12-18  Murray Cumming  <murrayc@murrayc.com>

	Constructor: Do not use the drag_dest_set() default flag values, because

2007-12-18  Murray Cumming,,,  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	Constructor: Do not use the drag_dest_set() default flag values, 
	because they prevent us from really using our own callbacks, and actually 
	cause a pointer grab when trying to get the data during a drag-motion event.
	on_canvas_drag_drop(): Call drag_get_data(), because we are no longer 
	using DEST_DEFAULT_DROP (via DEST_DEFAULT_ALL), which previously did 
	this for us.

	svn path=/trunk/; revision=1365

2007-12-17  Murray Cumming  <murrayc@murrayc.com>

	Constructor: Constructor: Added tooltip text for navigation buttons and

2007-12-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: Constructor:
	* glom/utility_widgets/datawidget.cc: Constructor:
	Added tooltip text for navigation buttons and the Open and Find buttons 
	next to IDs.

	svn path=/trunk/; revision=1364

2007-12-17  Murray Cumming  <murrayc@murrayc.com>

	Depend on the latest libepc. Use the new functions to avoid duplicate

2007-12-17  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Depend on the latest libepc.
	* glom/libglom/connectionpool.cc: Use the new functions to 
	avoid duplicate libepc services.

	svn path=/trunk/; revision=1363

2007-12-16  Johannes Schmid  <jhs@src.gnome.org>

	Forget to save ChangeLog

	svn path=/trunk/; revision=1362

2007-12-16  Johannes Schmid  <jhs@gnome.org>

	Fixed drag&drop code to have a much better user-experience. The items

	2007-12-16  Johannes Schmid <jhs@gnome.org>

	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	Fixed drag&drop code to have a much better user-experience. The
	items should now be dropped more accurate at the mouse-pointer position
	and the placeholder is drawn there, too.

	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	* glom/utility_widgets/dragbar.cc:

	Removed the DragButton for LayoutItem Image because it does not make sense
	without an associated field.

	svn path=/trunk/; revision=1361

2007-12-12  Johannes Schmid  <jhs@gnome.org>

	Rewrote placeholder widget as a custom widget to get a better appearence

	2007-12-12  Johannes Schmid <jhs@gnome.org>

	* glom/utility_widgets/placeholder-glom.cc:
	* glom/utility_widgets/placeholder-glom.h:

	Rewrote placeholder widget as a custom widget to get a better appearence
	when dragging.

	svn path=/trunk/; revision=1358

2007-12-11  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1357

2007-12-11  Murray Cumming  <murrayc@murrayc.com>

	Constructor: Call drag_dest_set() instead of

2007-12-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	Constructor: Call drag_dest_set() instead of 
	m_canvas.drag_dest_set(m_drag_targets), which seems to allow us 
	to call drag_get_data() in our drag_motion signal handler.
	on_canvas_drag_data_received(): Always call drag_status() when 
	this is during drag_motion, rather than only the first time, 
	so that we keep getting drag_motion signals.

	svn path=/trunk/; revision=1356

2007-12-10  Johannes Schmid  <johannes.schmid@openismus.com>

	Fixed Bug 502570 – remove gtk-ok gtk-cancel from translation

	2007-12-10  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/glom.glade:
	Fixed Bug 502570 – remove gtk-ok gtk-cancel from translation

	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtablewithfields.cc:

	Removed some debugging code

	svn path=/trunk/; revision=1355

2007-12-08  Andre Klapper  <a9016009@gmx.de>

	Update German translation.

2007-12-08  Andre Klapper  <a9016009@gmx.de>

	* de.po: Update German translation.

	svn path=/trunk/; revision=1354

2007-12-07  Johannes Schmid  <johannes.schmid@openismus.com>

	Added dialog for new fields

	2007-12-07  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/glom.glade:
	Added dialog for new fields

	* glom/libglom/data_structure/layout/layoutgroup.cc:
	add_item() should add before - not after the item, at least for dnd

	* glom/utility_widgets/dragbar.cc:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	Added drag buttons for text, image and button
	Fix crasher in dnd code

	* icons/16x16/Makefile.am:
	* icons/16x16/glom-button.png:
	* icons/16x16/glom-text.png:
	* icons/16x16/glom-image.png:

	Added new icons (from glade3)

	svn path=/trunk/; revision=1353

2007-12-07  Johannes Schmid  <johannes.schmid@openismus.com>

	Merged maemo-launcher changes from glom-1.6 branch

	2007-12-07  Johannes Schmid <johannes.schmid@openismus.com>

	* configure.in:
	* glom/Makefile.am:
	Merged maemo-launcher changes from glom-1.6 branch

	svn path=/trunk/; revision=1352

2007-12-06  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1351

2007-12-06  Murray Cumming  <murrayc@murrayc.com>

	Fix an ifdef to allow us to go into developer mode again in normal

2007-12-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/appstate.cc: Fix an ifdef to allow us to go into developer mode 
	again in normal not-client-only mode.

	svn path=/trunk/; revision=1350

2007-12-05  Armin Burgmeier  <armin@openismus.com>

	Change the the python library finder so that is also finds

2007-12-04  Armin Burgmeier  <armin@openismus.com>

	* acinclude.m4: Change the the python library finder so that is also
	finds libpythonMAJORMINOR.* instead of libpythonMAJOR.MINOR.*, because
	the former is used on windows.

	* configure.in: Don't require avahi, iso-codes and libepc on Windows,
	made goocanvasmm nonoptional because it is needed for the printing
	stuff.

	* glom/frame_glom.h:
	* glom/libglom/connectionpool.h:
	* glom/libglom/spawn_with_feedback.cc:
	* glom/libglom/connectionpool.cc:
	* glom/utility_widgets/flowtable.h:
	* glom/utility_widgets/flowtablewithfields.h:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/placeholder-glom.cc:
	* glom/utility_widgets/Makefile.am:
	* glom/frame_glom.cc:
	* glom/application.h:
	* glom/application.cc: Clientonly and Windows build fixes.

	* glom/python_embed/python_module/Makefile.am:
	* glom/libglom/Makefile.am:
	* glom/Makefile.am:
	* Makefile.am: Do not link against -lutil on Win32, because there is
	no such library, and it does not seem to be needed. Link libglom
	statically on Windows for now.

	svn path=/trunk/; revision=1347

2007-12-04  Murray Cumming  <murrayc@murrayc.com>

	Replace more hard-coded 6 spacing with our constant, so it is less on

2007-12-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list_related.cc:
	* glom/utility_widgets/filechooserdialog_saveextras.cc:
	* glom/utility_widgets/flowtablewithfields.cc: Replace more hard-coded 6 spacing 
	with our constant, so it is less on Maemo.

	svn path=/trunk/; revision=1346

2007-12-04  Murray Cumming  <murrayc@murrayc.com>

	on_document_load(): Call set_get_document_func() earlier so that the

2007-12-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: on_document_load(): Call set_get_document_func() earlier 
	so that the connection pool always has it.
	* glom/libglom/connectionpool.cc: connect(): Start avahi publihsing here if it has 
	not already been started, so we publish databases that are centrally-hosted too.
	However, we need to do this only for the first user. 
	on_sharedconnection_finished(): stop avahi

	svn path=/trunk/; revision=1345

2007-12-04  Murray Cumming  <murrayc@murrayc.com>

	create_layout_get_layout(), get_fields_to_show(): update_ui(): Do not try

2007-12-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list_related.cc: create_layout_get_layout(), 
	get_fields_to_show():
	* glom/mode_data/dialog_layout_list_related.cc: update_ui():
	Do not try to insert at position 0 of an empty std::vector, to prevent crashes.
	I introduced this problem on 2007-11-17.

	svn path=/trunk/; revision=1344

2007-12-04  Murray Cumming  <murrayc@murrayc.com>

	ui_file_select_open_with_browse(), open_browsed_document(): Remove the

2007-12-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/application.h: ui_file_select_open_with_browse(), 
	open_browsed_document(): Remove the BrowsedServer inner class and instead use 
	EpcServiceInfo and a service_name string. This reduces the amount of code.

	svn path=/trunk/; revision=1343

2007-12-03  Murray Cumming  <murrayc@murrayc.com>

	open_browsed_document(): Adapt to the latest libepc API, using the

2007-12-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: open_browsed_document(): Adapt to the latest 
	libepc API, using the EpcServiceInfo object.

	svn path=/trunk/; revision=1341

2007-12-03  Murray Cumming  <murrayc@murrayc.com>

	Rename --disable-doc to --disable-doc-utils to be clearer, and move the

2007-12-03  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Rename --disable-doc to --disable-doc-utils to be 
	clearer, and move the check lower in configure.ac because it was 
	somehow causing the check for pkg-config to fail.

	svn path=/trunk/; revision=1338

2007-12-02  Murray Cumming  <murrayc@murrayc.com>

	Added --disable-doc configure option, because Maemo has no

2007-12-02  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* Makefile.am: Added --disable-doc configure option, because 
	Maemo has no gnome-doc-utils. This was copied partly from Ekiga.

	svn path=/trunk/; revision=1336

2007-12-02  Murray Cumming  <murrayc@murrayc.com>

	Mention dragbar.h to fix the dist. Dist pixmaps_DATA.

2007-12-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/Makefile.am:  Mention dragbar.h to fix the 
	dist.
	* icons/16x16/Makefile.am: Dist pixmaps_DATA.

	svn path=/trunk/; revision=1335

2007-12-02  Murray Cumming  <murrayc@murrayc.com>

	Added glom/utility_widgets/filechooserdialog_openwithbrowse.cc and

2007-12-02  Murray Cumming  <murrayc@murrayc.com>

	* POTFILES.in: Added 
	glom/utility_widgets/filechooserdialog_openwithbrowse.cc
	and
	glom/utility_widgets/filechooserdialog_saveextras.cc
	and removed
	glom/utility_widgets/filechooserdialog.cc
	Bug #501024 (Hubert Bielenia)

	svn path=/trunk/; revision=1334

2007-12-02  Murray Cumming  <murrayc@src.gnome.org>

	Restored some code that I didn't mean to remove in the last commit

	svn path=/trunk/; revision=1332

2007-12-02  Murray Cumming  <murrayc@murrayc.com>

	Remove dialog_connection_error.

2007-12-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Remove dialog_connection_error.
	* glom/application.cc:
	* glom/frame_glom.cc:
	* glom/frame_glom.h: Replace use of dialog_connection_error 
	with Utils::show_ok_dialog(), so we can use a Hildon::Note 
	on Maemo.

	svn path=/trunk/; revision=1331

2007-12-01  Murray Cumming  <murrayc@murrayc.com>

	Constructor: Make sure that we default to operator mode for client-only

2007-12-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/appstate.cc: Constructor: Make sure that we 
	default to operator mode for client-only mode.
	* glom/glom.glade:
	* glom/frame_glom.cc:
	* glom/frame_glom.h: Hide the footer (user level and found count)
	in Maemo build.

	* glom/dialog_glom.cc:
	* glom/mode_find/box_data_list_find.cc:
	* glom/utility_widgets/flowtablewithfields.cc: Replace some padding 
	and spacing with the constants, so we save space in the Mameo build.

	svn path=/trunk/; revision=1330

2007-12-01  Murray Cumming  <murrayc@murrayc.com>

	Check for glibmm 2.14.1, because only a libgdamm built with that can

2007-12-01  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Check for glibmm 2.14.1, because only a libgdamm built with 
	that can create the iter-only treemodel.

	svn path=/trunk/; revision=1328

2007-11-29  Murray Cumming  <murrayc@murrayc.com>

	Use epc_shell_set_progress_hooks() to show some UI while generating

2007-11-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Use epc_shell_set_progress_hooks() 
	to show some UI while generating certificates during a first run.

	svn path=/trunk/; revision=1327

2007-11-28  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1326

2007-11-28  Murray Cumming  <murrayc@murrayc.com>

	stop_self_hosting(): Use the -m fast option with pg_ctl to avoid waiting

2007-11-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: stop_self_hosting(): 
	Use the -m fast option with pg_ctl to avoid waiting for clients to 
	disconnect first.
	This seems to fix bug #420962 (Craig Keogh, Denis Leroy, Perriman) 

	svn path=/trunk/; revision=1324

2007-11-28  Murray Cumming  <murrayc@murrayc.com>

	Added get/set_try_other_ports().

2007-11-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Added get/set_try_other_ports().
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added get/set_connection_try_other_ports(), 
	and saved it.
	* glom/dialog_connection.cc: connect_to_server_with_connection_settings():
	Use try_other_ports from the document.
	* glom/application.cc: open_browsed_document(): Set try_other_ports in the 
	document (It is not really needed in the on-disk XML, but this is the easiest 
	place to pass that information).
	This should prevent us from opening a different postgres server on the same 
	host when connecting via browse network.

	svn path=/trunk/; revision=1323

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	on_document_load(): When starting self-hosting, remember the port used and

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: on_document_load(): When starting self-hosting, 
	remember the port used and specify it again when connecting to the self-hosted 
	postgres database, to avoid connecting to another postgres server running on 
	the same machine which happens to have the same database name in it.
	Confused the hell out of me.

	svn path=/trunk/; revision=1322

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	open_browsed_document(): Check for SOUP_STATUS_UNAUTHORIZED as well as

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: open_browsed_document(): Check for 
	SOUP_STATUS_UNAUTHORIZED as well as SOUP_STATUS_FORBIDDEN because I 
	have started getting this.
	* glom/application.h: Remove some unnecessary virtuals from methods.

	svn path=/trunk/; revision=1321

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	Added get/set_port(). Store the port after it has been used successfully.

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Added get/set_port().
	Store the port after it has been used successfully.
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added get/set_connection_port(), 
	so we can try to use the same port as last time, to save time, and to 
	avoid connecting to some other postgres server on the same host.

	svn path=/trunk/; revision=1320

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	Added set_connect_to_browsed(), which dims the host name.

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_connection.cc:
	* glom/dialog_connection.h: Added set_connect_to_browsed(), which dims the 
	host name.
	* glom/application.cc:
	* glom/application.h: ui_file_select_open_with_browse(): Store the service name 
	(the database name) and show it in the connection dialog in open_browsed_document()

	svn path=/trunk/; revision=1319

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	open_browsed_document(): Replace the host name if it is localhost, because

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: open_browsed_document(): Replace the host name 
	if it is localhost, because our localhost is not the same as the localhost of 
	the publisher.

	svn path=/trunk/; revision=1318

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	on_publisher_document_authentication(): Try to connect to the database

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	on_publisher_document_authentication(): Try to connect to the database 
	with the username/password, so we know whether they are correct.

	* glom/dialog_connection.cc:
	* glom/dialog_connection.h: Added set_username() and 
	set_password(), so we can reuse this code to connect, 
	even without showing the dialog.
	* glom/application.cc:
	* glom/application.h: open_browsed_document(): 
	Ask for the usernmame and password before trying to 
	get the document over the network. Store the 
	username and password temporarily so we do not need 
	to ask the user again in on_document_load().  
	* glom/frame_glom.cc:
	* glom/frame_glom.h: connection_request_password_and_attempt(): 
	Added known_username and known_password string parameters, and do not 
	show the dialog if they are known already.
	This seems to work.

	* glom/libglom/Makefile.am:
	* glom/libglom/glade_utils.h: Added this and moved the 
	glade_* convenience templates into it.

	svn path=/trunk/; revision=1317

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	convert_value(): Deal with gint values specially, because we usually

2007-11-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/glomconversions.cc:
	convert_value(): Deal with gint values specially, because 
	we usually really do want to convert gints to GdaNumerics, 
	though we do use gints for some serial keys.
	(I think, but maybe not anymore.)
	* glom/python_embed/glom_python.cc:
	glom_evaluate_python_function_implementation(): Make sure that 
	the we return an appropriate value type, by calling 
	convert_value(), because pygda_value_from_pyobject() would not 
	necessarily return exactly what we want.
	This seems to fix bug #499459 (Perriman) so that numeric 
	calculations do not cause SQL errors in non-English locales.

	svn path=/trunk/; revision=1316

2007-11-25  Murray Cumming  <murrayc@murrayc.com>

	Connected an authentication handler for the publisher, but it needs the

2007-11-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Connected an authentication handler for the 
	publisher, but it needs the full password to try a postgres connection.

	svn path=/trunk/; revision=1314

2007-11-24  Murray Cumming  <murrayc@src.gnome.org>

	Removed some debug output.

	svn path=/trunk/; revision=1313

2007-11-23  Murray Cumming  <murrayc@murrayc.com>

	get/set_userlevel(): Do not allow developer mode if the document was

2007-11-23  Murray Cumming  <murrayc@murrayc.com>
 
* glom/libglom/document/document_glom.cc:
* glom/libglom/document/document_glom.h: get/set_userlevel(): Do not 
allow developer mode if the document was opened over the network via browse.
That would require writing of the original document. That is a feature for the 
future maybe.
* glom/frame_glom.cc: on_menu_userlevel_Developer(): Warn when trying to 
enter developer mode.
* glom/application.cc: When opening from browse, explicitly set the user 
level to operator and update the UI, though I feel this should be automatic.

	svn path=/trunk/; revision=1312

2007-11-23  Murray Cumming  <murrayc@murrayc.com>

	Added get/set_opened_from_browse(). on_menu_file_open(): Use

2007-11-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added get/set_opened_from_browse().
	* glom/application.cc: on_menu_file_open(): Use set_opened_from_browse().
	offer_new_or_existing(): Check get_opened_from_browse() so we don't think it 
	failed just because there is no URI, so we don't offer the window again.

	svn path=/trunk/; revision=1311

2007-11-23  Murray Cumming  <murrayc@murrayc.com>

	Fix the double free, but for some reason it shows the initial dialog

2007-11-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: Fix the double free, but for some reason it shows the initial 
	dialog again.

	svn path=/trunk/; revision=1310

2007-11-23  Murray Cumming  <murrayc@murrayc.com>

	Added save_and_get_content(), so I can manipulate a temporary copy of the

2007-11-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added save_and_get_content(), 
	so I can manipulate a temporary copy of the document and then load it properly.
	* glom/application.cc:
	on_menu_file_open(): When openeing a browsed document, use a temporary instance 
	of the document class (incredibly inefficiently) to mark the document as 
	not self-hosted. This now actually opens the file, but then it crashes with a 
	double free warning.

	svn path=/trunk/; revision=1309

2007-11-23  Murray Cumming  <murrayc@murrayc.com>

	Don't provide the service type twice to

2007-11-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: Don't provide the service type twice to 
	aui_service_dialog_set_browse_service_types(), so we don't get 
	an unnecessary type column.
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: avahi_start_publishing(): 
	Mention the document name in the published service name, to make 
	browsing more sensible.

	svn path=/trunk/; revision=1308

2007-11-22  Murray Cumming  <murrayc@murrayc.com>

	Added set_get_document_func(). This avoids us having to link to the

2007-11-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Added set_get_document_func().
	This avoids us having to link to the application (not in libglom) 
	to get the document from it.
	avahi_start_publishing(): Publish the document contents via a 
	callback, though this needs a change in libepc to copy the data.

	* configure.in: Depend on avahi-ui, so we can show the 
	browse dialog.
	* glom/application.cc:
	* glom/application.h:
	Added ui_file_select_open_with_browse() which adds a browse 
	network button to the file chooser dialog and then gets the server 
	details after asking the user to browse.
	on_menu_file_open(): Use ui_file_select_open_with_browse() instead 
	of regular ui_file_select_open(). Use the new 
	Bakery::App_WithDoc::open_document_from_data() if opening over the 
	network.

	svn path=/trunk/; revision=1306

2007-11-21  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1305

2007-11-21  Murray Cumming  <murrayc@murrayc.com>

	Rearrange code to reduce the number of ifdefs. Do not build

2007-11-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/application.h: Rearrange code to reduce the number of 
	ifdefs.
	* glom/utility_widgets/Makefile.am: Do not build 
	filechooserdialog_saveextras.[h|cc] in client-only mode.

	svn path=/trunk/; revision=1303

2007-11-21  Murray Cumming  <murrayc@murrayc.com>

	Rename this to:

2007-11-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/filechooserdialog.cc:
	* glom/utility_widgets/filechooserdialog.h: Rename this to:
	* glom/utility_widgets/filechooserdialog_saveextras.cc:
	* glom/utility_widgets/filechooserdialog_saveextras.h:
	because I want to add another custom one for loading.

	svn path=/trunk/; revision=1302

2007-11-20  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1301

2007-11-20  Murray Cumming  <murrayc@murrayc.com>

	Remove this.

2007-11-20  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom/libglom/Makefile.am:
	* glom/libglom/avahi_publisher.cc:
	* glom/libglom/avahi_publisher.h: Remove this.
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Replace the old 
	AvahiPublisher with use of libepc.
	As before, it currently just advertizes the service, 
	but soon it will publish the .glom file.

	svn path=/trunk/; revision=1300

2007-11-20  Andre Klapper  <a9016009@gmx.de>

	Update German translation (again).

2007-11-20  Andre Klapper  <a9016009@gmx.de>

	* de.po: Update German translation (again).

	svn path=/trunk/; revision=1299

2007-11-20  Andre Klapper  <a9016009@gmx.de>

	Update German translation.

2007-11-20  Andre Klapper  <a9016009@gmx.de>

	* de.po: Update German translation.

	svn path=/trunk/; revision=1298

2007-11-19  Murray Cumming  <murrayc@murrayc.com>

	Use AM_CPPFLAGS instead of the deprecated INCLUDES.

2007-11-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/layout_item_dialogs/Makefile.am:
	* glom/libglom/Makefile.am:
	* glom/libglom/data_structure/Makefile.am:
	* glom/libglom/data_structure/layout/Makefile.am:
	* glom/libglom/data_structure/layout/report_parts/Makefile.am:
	* glom/libglom/document/Makefile.am:
	* glom/libglom/python_embed/Makefile.am:
	* glom/mode_data/Makefile.am:
	* glom/mode_design/Makefile.am:
	* glom/mode_design/fields/Makefile.am:
	* glom/mode_design/print_layouts/Makefile.am:
	* glom/mode_design/script_library/Makefile.am:
	* glom/mode_design/users/Makefile.am:
	* glom/mode_find/Makefile.am:
	* glom/navigation/Makefile.am:
	* glom/python_embed/Makefile.am:
	* glom/python_embed/python_module/Makefile.am:
	* glom/relationships_overview/Makefile.am:
	* glom/reports/Makefile.am:
	* glom/translation/Makefile.am:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/adddel/Makefile.am:
	* glom/utility_widgets/adddel/eggcolumnchooser/Makefile.am:
	* glom/utility_widgets/canvas/Makefile.am:
	* glom/utility_widgets/db_adddel/Makefile.am:
	Use AM_CPPFLAGS instead of the deprecated INCLUDES.

	svn path=/trunk/; revision=1297

2007-11-19  Murray Cumming  <murrayc@murrayc.com>

	Depend on the latest Bakery.

2007-11-19  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Depend on the latest Bakery.

	svn path=/trunk/; revision=1295

2007-11-17  Murray Cumming  <murrayc@murrayc.com>

	Remove add_item(item, sequence). Added add_item(item, item at position);

2007-11-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/layoutgroup.cc:
	* glom/libglom/data_structure/layout/layoutgroup.h:
	Remove add_item(item, sequence). Added add_item(item, item at position);
	Removed remove_item(). Removed m_sequence.
	Use a vector of items instead of a map.
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Do not load or save the 
	layout item sequence number. Just use the sequence in the XML file.

	* glom/application.cc:
	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/filechooser_export.cc:
	* glom/filechooser_export.h:
	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/layout_item_dialogs/dialog_group_by.cc:
	* glom/layout_item_dialogs/dialog_groupby_secondaryfields.cc:
	* glom/layout_item_dialogs/dialog_groupby_secondaryfields.h:
	* glom/layout_item_dialogs/dialog_groupby_sortfields.cc:
	* glom/layout_item_dialogs/dialog_notebook.cc:
	* glom/libglom/data_structure/layout/layoutitem.cc:
	* glom/libglom/data_structure/layout/layoutitem.h:
	* glom/libglom/data_structure/layout/layoutitem_portal.cc:
	* glom/libglom/sharedptr.h:
	* glom/libglom/test_sharedptr_layoutitem.cc:
	* 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/box_data_list.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_export.cc:
	* glom/mode_data/dialog_layout_export.h:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_user.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/reports/dialog_layout_report.cc:
	* glom/reports/report_builder.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	Adapt to the new LayoutGroup API. This is now much simpler - we don't have 
	to worry about the sequence number of keeping the two copies of it in sync.

	svn path=/trunk/; revision=1293

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	on_dnd_add_layout_item(): Copy/adjust lots of already-ugly ugly code from

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtablewithfields.cc:
	on_dnd_add_layout_item(): Copy/adjust lots of already-ugly 
	ugly code from on_datawidget_layout_item_added() to update 
	the group's list of child items, so that the layout is really 
	saved in the document. 
	Both these functions need to be improved and partly combined.

	svn path=/trunk/; revision=1291

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	More whitespace fixes.

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	More whitespace fixes.

	svn path=/trunk/; revision=1290

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	Corrected inconsistent whitespace. Do not use tabs.

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/application.h:
	* glom/utility_widgets/dragbar.cc:
	* glom/utility_widgets/dragbar.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/placeholder-glom.cc:
	* glom/utility_widgets/placeholder-glom.h:
	* glom/utility_widgets/sidebar.cc:
	* glom/utility_widgets/sidebar.h: Corrected inconsistent 
	whitespace. Do not use tabs.

	svn path=/trunk/; revision=1289

2007-11-16  Johannes Schmid  <jhs@src.gnome.org>

	Fixed Makefile to fix build

	svn path=/trunk/; revision=1288

2007-11-16  Johannes Schmid  <jhs@src.gnome.org>

	Commiting files accidently missed out because of conflicts!

	svn path=/trunk/; revision=1287

2007-11-16  Andre Klapper  <a9016009@gmx.de>

	Added translator comments to fix bug #497188.

2007-11-16  Andre Klapper  <a9016009@gmx.de>

	* glom/box_db_table_relationships.cc:
	* glom/glom_developer.glade: 
	Added translator comments to fix bug #497188.

	svn path=/trunk/; revision=1286

2007-11-16  Johannes Schmid  <johannes.schmid@openismus.com>

	Added SideBar API

	2007-11-16  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/application.cc:
	* glom/application.h:
	* glom/glom.glade:

	Added SideBar API

	* glom/frame_glom.cc:
	* glom/frame_glom.h:

	Show drag sidebar when in developer mode

	* glom/libglom/data_structure/layout/Makefile.am:
	* glom/libglom/data_structure/layout/layoutitem_placeholder.cc:
	* glom/libglom/data_structure/layout/layoutitem_placeholder.h:

	Added Placeholder Layoutitem for use in drag & drop preview code

	* glom/utility_widgets/sidebar.cc:
	* glom/utility_widgets/sidebar.h:
	* glom/utility_widgets/dragbar.cc:
	* glom/utility_widgets/dragbar.h:
	* glom/utility_widgets/dragbutton.cc:
	* glom/utility_widgets/dragbutton.h:
	Added sidebar base class and sidebar for dnd code

	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	* glom/utility_widgets/placeholder-glom.cc:
	* glom/utility_widgets/placeholder-glom.h:	
	* glom/utility_widgets/test_flowtable.cc:

	Drag & Drop layout
	(see http://www.glom.org/wiki/index.php?title=Development/Plans/DragAndDropLayout)
	and #358092)

	* icons/16x16/Makefile.am:
	* icons/glom-field.png:
	* icons/glom-group.png:

	Added sidebar icons (stolen from glade-3...)

	svn path=/trunk/; revision=1285

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	Added translator comments and fixed typos from bug #497188. (Andre

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade:
	* glom/libglom/data_structure/layout/layoutitem_notebook.cc:
	* glom/libglom/spawn_with_feedback.cc:
	* glom/main.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/translation/window_translations.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	Added translator comments and fixed typos from bug #497188.
	(Andre Klapper)

	svn path=/trunk/; revision=1284

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	construct_specified_columns(): Use the font, foreground-color, and

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	construct_specified_columns(): Use the font, foreground-color, 
	and background-color settings for the list view too.

	svn path=/trunk/; revision=1283

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	apply_formatting(): Use the correct widget color properties to really set

2007-11-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/layoutwidgetbase.cc:
	apply_formatting(): Use the correct widget color 
	properties to really set the foreground text color and 
	background color.

	svn path=/trunk/; revision=1282

2007-11-14  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1281

2007-11-13  Murray Cumming  <murrayc@murrayc.com>

	Add an extra repeated link line. Remove the horrible extra member variable

2007-11-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/Makefile.am: Add an extra repeated link line.
	* glom/frame_glom.h: Remove the horrible extra member 
	variable hack around that linker strangeness.

	* glom/utility_widgets/canvas/Makefile.am: Correct some filenames to 
	fix the distcheck.

	svn path=/trunk/; revision=1279

2007-11-13  Murray Cumming  <murrayc@murrayc.com>

	Handle the drag-motion signal to show a temporary canvas item while

2007-11-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	Handle the drag-motion signal to show a temporary canvas item while dragging. 
	But this does not work - the cursor is grabbed and no further motion events 
	occur, so this is partly commented out.

	svn path=/trunk/; revision=1278

2007-11-13  Murray Cumming  <murrayc@murrayc.com>

	Move dialog creation from the constructor to where they are first used.

2007-11-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc:
	* glom/frame_glom.h: Move dialog creation from the constructor to 
	where they are first used. This reduces start-up time slightly, and stops 
	wasting memory, at the cost of slightly (impercetible, hopefully) longer 
	time to open menus. 

	svn path=/trunk/; revision=1277

2007-11-12  Murray Cumming  <murrayc@src.gnome.org>

	set_default_position

	svn path=/trunk/; revision=1276

2007-11-12  Murray Cumming  <murrayc@murrayc.com>

	on_canvas_drag_drop(): Do not call drag_get_data(). It does not seem

2007-11-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	on_canvas_drag_drop(): Do not call drag_get_data(). It does not seem 
	necessary - it causes two drops to happen instead of one.

	svn path=/trunk/; revision=1275

2007-11-12  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_changed(); on_adddel_changed(): Fix the rename confirmation

2007-11-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/box_print_layouts.cc:
	on_adddel_changed();
	* glom/navigation/box_tables.cc: on_adddel_changed(): 
	Fix the rename confirmation dialog to actually have two buttons. 

	svn path=/trunk/; revision=1274

2007-11-12  Murray Cumming  <murrayc@murrayc.com>

	fill_with_data(): Do not try to get data for fields that were not yet

2007-11-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	fill_with_data(): Do not try to get data for fields that were 
	not yet chosen.

	svn path=/trunk/; revision=1273

2007-11-09  Murray Cumming  <murrayc@murrayc.com>

	Added a toolbar whose items can be dragged to the canvas. It is not

2007-11-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/Makefile.am:
	* glom/mode_design/print_layouts/action_layout_item.cc:
	* glom/mode_design/print_layouts/action_layout_item.h:
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	Added a toolbar whose items can be dragged to the canvas.
	It is not working perfectly and it is not pretty, but it is a 
	start.

	svn path=/trunk/; revision=1272

2007-11-08  Murray Cumming  <murrayc@murrayc.com>

	Added an undockable vertical toolbar to replace the Insert menu. It is not

2007-11-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade:
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	Added an undockable vertical toolbar to replace the Insert menu. 
	It is not very attractive, and it needs to work as a drag source, 
	rather than being clickable items. 

	svn path=/trunk/; revision=1271

2007-11-08  Murray Cumming  <murrayc@murrayc.com>

	add_layout_group(): added an is_top_level parameter, so we can avoid

2007-11-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.h:
	add_layout_group(): added an is_top_level parameter, so we can 
	avoid adding a canvas item for the canvas's own layout group.

	svn path=/trunk/; revision=1270

2007-11-08  Murray Cumming  <murrayc@murrayc.com>

	Copy constructor and operator=(): Copy the page_setup. get_print_layout(),

2007-11-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/print_layout.cc: Copy constructor 
	and operator=(): Copy the page_setup.
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	get_print_layout(), set_print_layout(): Actually load/save the 
	page setup.

	svn path=/trunk/; revision=1269

2007-11-08  Murray Cumming  <murrayc@murrayc.com>

	fill_with_data(): Don't crash if no fields are on the layout.

2007-11-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	fill_with_data(): Don't crash if no fields are on the layout.
	* glom/printoperation_printlayout.cc:
	* glom/printoperation_printlayout.h: Handle the paginate 
	signal, though this probably requires the GTK+ patch in 
	bug #345345.

	svn path=/trunk/; revision=1268

2007-11-07  Murray Cumming  <murrayc@murrayc.com>

	Some very minor comments next to some maemo-ifdefs.

2007-11-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/utils.cc:
	* glom/libglom/utils.h:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	Some very minor comments next to some maemo-ifdefs.

	svn path=/trunk/; revision=1265

2007-11-07  Murray Cumming  <murrayc@murrayc.com>

	Added get/set_print_layout_split_across_pages() for future use.

2007-11-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/layoutitem.cc:
	* glom/libglom/data_structure/layout/layoutitem.h: Added 
	get/set_print_layout_split_across_pages() for future use.

	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h:
	get/set_node_attribute_value_as_decimal(): Added a default parameter, 
	defaulting to 0, so we can use other values as defaults to avoid 
	superfluous attributes.
	Used this when loading and saving groups, because 1 column is 
	the default, and 0 is meaningless.

	* glom/utility_widgets/canvas/canvas_group_movable.cc:
	* glom/utility_widgets/canvas/canvas_group_movable.h:
	Store the x and y even before there is a child.

	* glom/utility_widgets/canvas/Makefile.am:
	* glom/utility_widgets/canvas/canvas_table_movable.cc:
	* glom/utility_widgets/canvas/canvas_table_movable.h:
	Added this canvas item.
	* glom/utility_widgets/canvas/canvas_item_movable.cc:
	Support the table item in the cast functions.
	Return false from some signal handlers, so that other objects 
	can handle them too.
	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	set_layout_item(): Create a table canvas item for a portal layout 
	item, though it is currently just a useless test table.
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	Handle the loading and saving of the portal layout item.
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	Added an Insert Related Records menu item.

	svn path=/trunk/; revision=1263

2007-11-06  Gabor Kelemen  <kelemeng@gnome.hu>

	Added missing files. Close #492203

2007-11-06  Gabor Kelemen  <kelemeng@gnome.hu>

	* POTFILES.in: Added missing files. Close #492203

	svn path=/trunk/; revision=1261

2007-11-06  Armin Burgmeier  <armin@openismus.com>

	Merged changes from GLOM_CLIENTONLY branch. This polished up the maemo

2007-11-06  Armin Burgmeier  <armin@openismus.com>

	* several files: Merged changes from GLOM_CLIENTONLY branch. This
	polished up the maemo port a bit.

	svn path=/trunk/; revision=1260

2007-11-04  Gabor Kelemen  <kelemeng@gnome.hu>

	*glom/glom_developer.glade: Remove translatable property from stock items.

2007-11-04  Gabor Kelemen  <kelemeng@gnome.hu>

	*glom/glom_developer.glade: Remove translatable property from stock items. Fixes #493202

	svn path=/trunk/; revision=1259

2007-11-04  Gabor Kelemen  <kelemeng@gnome.hu>

	Translation updated

2007-11-05  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated

	svn path=/trunk/; revision=1258

2007-11-03  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1257

2007-11-02  Murray Cumming  <murrayc@murrayc.com>

	Added this new layout item, only for print layouts. load and save the new

2007-11-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/Makefile.am:
	* glom/libglom/data_structure/layout/layoutitem_line.cc:
	* glom/libglom/data_structure/layout/layoutitem_line.h:
	Added this new layout item, only for print layouts.
	* glom/libglom/document/document_glom.cc: load and save the 
	new layout item.
	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	set_layout_item(): Handle the new layout item type, creating 
	a canvas line for it.
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	Added Insert menu items, to add horizontal and vertical lines.
	* glom/utility_widgets/canvas/canvas_group_resizable.cc:
	* glom/utility_widgets/canvas/canvas_group_resizable.h:
	Create (and handle) different manipulators if the child is a line.
	* glom/utility_widgets/canvas/canvas_line_movable.cc:
	set_coordinates(): Set the x/y/width/height too, for generic code

	svn path=/trunk/; revision=1256

2007-11-01  Murray Cumming  <murrayc@murrayc.com>

	Added new files.

2007-11-01  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in: Added new files.

	svn path=/trunk/; revision=1255

2007-10-30  Murray Cumming  <murrayc@murrayc.com>

	Added bool get_viewing_details(). Handled the notebook's page_switch to

2007-10-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc:
	* glom/frame_glom.h: Added bool get_viewing_details().
	Handled the notebook's page_switch to refresh the 
	print sub-menu.
	* glom/application.cc: fill_menu_print_layouts(): 
	Do not list print layouts if we are viewing the list, 
	because they are (currently) only for details.

	svn path=/trunk/; revision=1254

2007-10-30  Murray Cumming  <murrayc@murrayc.com>

	Set m_FoundSet whenever the primary key value is set, so we really print

2007-10-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h: Set m_FoundSet 
	whenever the primary key value is set, so we really print 
	the layout for the current record.
	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	set_db_data(): Avoid triggering a crash in goocanvas 
	when setting a NULL pixbuf. Patch sent.

	svn path=/trunk/; revision=1253

2007-10-30  Murray Cumming  <murrayc@murrayc.com>

	set_child(): Really remove the old item.

2007-10-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_group_resizable.cc:
	set_child(): Really remove the old item.

	svn path=/trunk/; revision=1252

2007-10-30  Murray Cumming  <murrayc@murrayc.com>

	Re-enable hiding of the corner and edge manipulators when the cursor is

2007-10-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_group_resizable.cc:
	* glom/utility_widgets/canvas/canvas_group_resizable.h:
	Re-enable hiding of the corner and edge manipulators when the 
	cursor is not over the item. Add a Rect so we can drag and 
	mouse-over the entire area, not just the part occupied by 
	the text.
	Store and use the position even when there is no child yet.
	set_child(): Ignore the initial position of the child: 
	set it to that of self. Document that.
	Put the manipulators in a group, to simplify the code that 
	ensures their z position.
	I am gradually more certain that I should have just used 
	a GooCanvasTable for this.

	* glom/utility_widgets/canvas/canvas_editable.cc:
	* glom/utility_widgets/canvas/canvas_editable.h:
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.h:
	Override set_grid_gap() so we can make sure that it is above 
	our page bounds rect.

	svn path=/trunk/; revision=1251

2007-10-30  Ilkka Tuohela  <ituohela@src.gnome.org>

	Updated Finnish translation

	svn path=/trunk/; revision=1250

2007-10-29  Murray Cumming  <murrayc@murrayc.com>

	Added a View/Fit To Page menu item, and defaulted to this, rescaling as

2007-10-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	Added a View/Fit To Page menu item, and defaulted to this, 
	rescaling as the window is resized.

	svn path=/trunk/; revision=1249

2007-10-28  Murray Cumming  <murrayc@murrayc.com>

	Draw lines to indiciate the page margins (the parts on which the printer

2007-10-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.h:
	Draw lines to indiciate the page margins (the parts on which 
	the printer cannot print).
	* glom/printoperation_printlayout.cc: Call set_use_full_page(), 
	because we include the margin space our canvas.

	svn path=/trunk/; revision=1248

2007-10-28  Murray Cumming  <murrayc@murrayc.com>

	fill_with_data(): Use the correct field index, so that the field data is

2007-10-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	fill_with_data(): Use the correct field index, so that the 
	field data is shown correctly.

	svn path=/trunk/; revision=1247

2007-10-28  Murray Cumming  <murrayc@murrayc.com>

	Add the items to a group, so we can remove them without removing other

2007-10-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/canvas_editable.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.h:
	Add the items to a group, so we can remove them without removing 
	other canvas items.
	set_page_setup(): Make the canvas gray and put a white rectangle 
	on the bottom to show the page bounds.

	svn path=/trunk/; revision=1246

2007-10-28  Murray Cumming  <murrayc@murrayc.com>

	offer_textobject(): Return the starting text if cancel was clicked, so

2007-10-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade:
	* glom/base_db.cc: offer_textobject(): Return the starting 
	text if cancel was clicked, so that cancel doesn't clear the 
	text.
	* glom/layout_item_dialogs/box_formatting.cc:
	* glom/layout_item_dialogs/box_formatting.h: Replaced the 
	3 hide* functions with set_is_for_print_layout().
	Replace the checkboxes with labels in this case.
	This is still quite unpleasant but we will eventually have 
	an editor on the layout window, when selection is implemented.
	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	* glom/mode_design/print_layouts/canvas_layout_item.h:
	Make sure that layout items have a font_desc set by default.

	svn path=/trunk/; revision=1245

2007-10-27  Murray Cumming  <murrayc@murrayc.com>

	Fix a typo so that the positions really are preserved.

2007-10-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	Fix a typo so that the positions really are preserved.

	svn path=/trunk/; revision=1244

2007-10-27  Murray Cumming  <murrayc@murrayc.com>

	set_textobject(): Added a bool show_title parameter.

2007-10-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade:
	* glom/layout_item_dialogs/dialog_textobject.cc:
	* glom/layout_item_dialogs/dialog_textobject.h:
	set_textobject(): Added a bool show_title parameter.
	* glom/base_db.cc:
	* glom/base_db.h: offer_textobject(): Added a bool show_title 
	parameter.
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	update the position before showing edit or formatting dialogs, 
	to avoid losing the position when resetting the layout item.

	* glom/utility_widgets/canvas/canvas_editable.cc:
	* glom/utility_widgets/canvas/canvas_editable.h: Added an 
	add_item(item, group) overload, so we can group items together 
	instead of putting them directly in the root group.

	svn path=/trunk/; revision=1243

2007-10-27  Murray Cumming  <murrayc@murrayc.com>

	Call set_unit(), because this apparently affects the cairo context that

2007-10-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/printoperation_printlayout.cc: Call set_unit(), because 
	this apparently affects the cairo context that will be provided 
	to us.
	* glom/utility_widgets/canvas/canvas_text_movable.cc:
	* glom/utility_widgets/canvas/canvas_text_movable.h: Rename 
	set_font() to set_font_points(), and convert from mm to points, 
	using Pango::FontDescription to manipulate the font_desc string.

	Text is now an appropriate size, though there is plenty of 
	other weirdness still.

	svn path=/trunk/; revision=1242

2007-10-25  Claude Paroz  <claude@2xlibre.net>

	Updated French translation.

2007-10-25  Claude Paroz  <claude@2xlibre.net>

	* fr.po: Updated French translation.

	svn path=/trunk/; revision=1241

2007-10-25  Murray Cumming  <murrayc@murrayc.com>

	Added rulers around the canvas, which update appropriately, like in

2007-10-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade:
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	Added rulers around the canvas, which update appropriately, like 
	in Inkscape.
	* glom/printoperation_printlayout.cc: Do not scale the context. 
	Everything should already be exactly correct on the canvas.

	svn path=/trunk/; revision=1240

2007-10-25  Murray Cumming  <murrayc@murrayc.com>

	Added m_formatting and get_formatting_used() here, as in LayoutItem_Field.

2007-10-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/layoutitem_text.cc:
	* glom/libglom/data_structure/layout/layoutitem_text.h: 
	Added m_formatting and get_formatting_used() here, as in 
	LayoutItem_Field. They should probably share a base class if 
	this gets silly.
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: load and save the 
	formatting for text items as well as just fields.
	* glom/layout_item_dialogs/box_formatting.cc:
	* glom/layout_item_dialogs/box_formatting.h: Added default 
	arguments for set_formatting() parameters, so we can ignore 
	stuff that is only relevant to fields.
	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	* glom/mode_design/print_layouts/canvas_layout_item.h: 
	set_layout_item(): Use set_text() rather than property_text(), 
	so that the markup is constructed. Use markup for text items as well 
	as fields. 
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	on_context_menu(): Show formatting options for text items as well as 
	fields.
	* glom/utility_widgets/layoutwidgetbase.cc: 
	* glom/utility_widgets/layoutwidgetbase.h: Added the 
	apply_formatting(widget, formatting) convenience method.
	* glom/utility_widgets/datawidget.cc: Constructor: Use the 
	apply_formatting() convenience method.
	* glom/utility_widgets/flowtablewithfields.cc: add_textobject():
	Use formatting for text items.

	svn path=/trunk/; revision=1239

2007-10-24  Murray Cumming  <murrayc@murrayc.com>

	Save the font and color formatting for all field types, not just text.

2007-10-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc: Save the font and color 
	formatting for all field types, not just text.
	* glom/layout_item_dialogs/box_formatting.cc:
	* glom/layout_item_dialogs/box_formatting.h: Added 
	hide_choices(), hide_multiline(), set_force_show_text_formatting().
	enforce_constraints(): Show the font and color options for all 
	field types except booleans, not just text.
	* glom/mode_design/print_layouts/dialog_text_formatting.cc:
	* glom/mode_design/print_layouts/dialog_text_formatting.h:
	Use the new functions to show appropriate options for the print 
	layout items.

	svn path=/trunk/; revision=1237

2007-10-24  Murray Cumming  <murrayc@murrayc.com>

	Put the numeric, text, and choices sections in a notebook, to make the

2007-10-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade:
	* glom/layout_item_dialogs/box_formatting.cc:
	* glom/layout_item_dialogs/box_formatting.h: Put the 
	numeric, text, and choices sections in a notebook, to 
	make the dialog smaller and less scary.
	Add checkboxes so that the user can choose not to use 
	any special font or colors (to get the defaults).

	svn path=/trunk/; revision=1236

2007-10-24  Murray Cumming  <murrayc@murrayc.com>

	Added window_text_format.

2007-10-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_developer.glade: Added window_text_format.
	* glom/layout_item_dialogs/box_formatting.cc:
	* glom/layout_item_dialogs/box_formatting.h:
	Added font and color properties.
	* glom/libglom/data_structure/layout/fieldformatting.cc:
	* glom/libglom/data_structure/layout/fieldformatting.h:
	Added get/set for font and foreground/background colors.
	* glom/libglom/data_structure/layout/layoutitem.cc:
	* glom/libglom/data_structure/layout/layoutitem.h:
	Removed get/set_print_layout_text_size() - We use the new 
	stuff in FieldFormatting instead.
	* glom/libglom/document/document_glom.cc: Load and save the 
	new field formatting.
	* glom/mode_design/print_layouts/Makefile.am:
	* glom/mode_design/print_layouts/dialog_text_formatting.cc:
	* glom/mode_design/print_layouts/dialog_text_formatting.h:
	Added a dialog for text formatting, containing the same 
	text formatting options as the field properties layout 
	(via box_formatting.[h|cc] and its glade definition.
	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	Use the field formatting to change the font and colors.
	* glom/utility_widgets/canvas/canvas_text_movable.cc:
	* glom/utility_widgets/canvas/canvas_text_movable.h: Added 
	set_font(), and set_text(), so we can build the pango markup.
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.h:
	on_context_menu_formatting(): Show the font format dialog,
	though I need to figure out why the inner box is not visible. 
	* glom/utility_widgets/datawidget.cc: Use the formatting font 
	and properties here, so weird styles can be used on the on-screen 
	layout too.

	svn path=/trunk/; revision=1235

2007-10-23  Murray Cumming  <murrayc@murrayc.com>

	Added get_print_layout_text_size(), though we should have this for

2007-10-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/layoutitem.cc:
	* glom/libglom/data_structure/layout/layoutitem.h: 
	Added get_print_layout_text_size(), though we should have this for 
	on-screen text too.
	* glom/utility_widgets/canvas/canvas_text_movable.cc:
	* glom/utility_widgets/canvas/canvas_text_movable.h: Added set_text() 
	and set_text_size(), so we can use pango markup.
	* glom/mode_design/print_layouts/canvas_layout_item.cc: set_layout_item(): 
	Set the text size from the layout item.
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.h: Constructor: 
	Set the units to mm, and set the page setup to a default.
	set_page_setup(): Change the canvas bounds to match the page setup. 
	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
	* glom/mode_design/print_layouts/window_print_layout_edit.h:
	init_menu(): Added zoom items to the view menu, and start with 50%.

	svn path=/trunk/; revision=1234

2007-10-22  Murray Cumming  <murrayc@murrayc.com>

	Added an image item.

2007-10-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/canvas/Makefile.am:
	* glom/utility_widgets/canvas/canvas_image_movable.cc:
	* glom/utility_widgets/canvas/canvas_image_movable.h:
	* glom/utility_widgets/canvas/canvas_item_movable.cc:
	Added an image item.
	* glom/utility_widgets/canvas/canvas_group_resizable.cc:
	* glom/utility_widgets/canvas/canvas_group_resizable.h:
	Added get_child().
	* glom/mode_design/print_layouts/canvas_layout_item.cc:
	* glom/mode_design/print_layouts/canvas_layout_item.h:
	Create an image item for image fields, and text items for 
	the other field types.
	Added set_db_data() which changes the item contents to show 
	real data instead of, for instance, a field name.
	* glom/mode_design/print_layouts/canvas_print_layout.cc:
	* glom/mode_design/print_layouts/canvas_print_layout.h:
	Added fill_with_data().
	* glom/mode_data/box_data_details.cc: init_db_details(): 
	Set the m_found_set where_clause from the primary key details 
	so we can use it later.
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h: Added get_found_set_details().
	* glom/frame_glom.cc: on_menu_print_layout_selected(): 
	Fill the canvas with data before printing, from the currently 
	viewed details record.

	svn path=/trunk/; revision=1233

2007-10-22  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1232

2007-10-22  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1231

2007-10-22  Murray Cumming  <murrayc@murrayc.com>

	Merged from the glom-precise-printing branch, because I have made most of

2007-10-23  Murray Cumming  <murrayc@murrayc.com>

	* Merged from the glom-precise-printing branch, because I have 
	made most of the large changes, and I want to reduce the number 
	of branches that we are working on.

	svn path=/trunk/; revision=1230

2007-10-18  Murray Cumming  <murrayc@murrayc.com>

	Added check_user_is_not_root(). Do not allow the user to start glom as

2007-10-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: 
	Added check_user_is_not_root().
	* glom/main.cc: Do not allow the user to start glom 
	as root (or sudo) because postgres cannot start as root, 
	and it is generally a bad idea for a networked application.
	Thanks to Norman for identifying the problem.

	svn path=/trunk/; revision=1223

2007-10-18  Murray Cumming  <murrayc@murrayc.com>

	on_button_test(): Warn if there is no return statement because it is easy

2007-10-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.h: 
	on_button_test(): Warn if there is no return statement because it 
	is easy to forget this for simple calculations.
	Thanks to Federico Munerotto for showing that this check is 
	helpful.

	svn path=/trunk/; revision=1221

2007-10-17  Murray Cumming  <murrayc@murrayc.com>

	Copy constructor: copy m_field_info instead of sharing one

2007-10-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/field.cc:
	* glom/libglom/data_structure/field.h: Copy constructor: 
	copy m_field_info instead of sharing one reference-counted instance.
	get_field_info(): Add a const overload and make the existing one non-const. 
	This const correctness should prevent us from using the same instance when 
	we actually want to explicitly take a copy.
	This errors were probably caused during the port to libgda 3.0, when 
	Gda::Column became a reference-counted object.
	* glom/mode_design/fields/box_db_table_definition.cc:
	get_field_definition(): copy the field_info instead of just reusing the 
	existing one, to avoid changing the original field_info accidentally.

	These changes make field type changes actually work again in 1.6.

	svn path=/trunk/; revision=1218

2007-10-16  Murray Cumming  <murrayc@murrayc.com>

	Use the latest goocanvasmm API, with different pgk-config and include

2007-10-16  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom/main.cc:
	* glom/relationships_overview/dialog_relationships_overview.h:
	* glom/relationships_overview/printoperation_relationshipsoverview.
	h: Use the latest goocanvasmm API, with different pgk-config and 
	include path.

	svn path=/trunk/; revision=1210

2007-10-14  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1203

2007-10-14  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1202

2007-10-12  Armin Burgmeier  <armin@openismus.com>

	Fixed #ifdef from last commit, it is supposed to be #ifndef.

2007-10-12  Armin Burgmeier  <armin@openismus.com>

	* glom/libglom/connectionpool.cc: Fixed #ifdef from last commit, it is
	supposed to be #ifndef.

	svn path=/trunk/; revision=1198

2007-10-11  Armin Burgmeier  <armin@openismus.com>

	Don't use deprecated gtkmm API.

2007-10-11  Armin Burgmeier  <armin@openismus.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/adddel/adddel.cc: Don't use deprecated gtkmm
	API.

	* glom/libglom/connectionpool.cc:
	(ConnectionPool::check_postgres_gda_with_warning): Use Hildon::Note
	instead of Gtk::MessageDialog in maemo version.

	svn path=/trunk/; revision=1197

2007-10-11  Murray Cumming  <murrayc@murrayc.com>

	Fix the build for the latest goocanvasmm API, though all this code has

2007-10-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/printoperation_relationshipsoverview.
	cc: Fix the build for the latest goocanvasmm API, though all this 
	code has been reworked in the glom-precise-printouts branch.

	svn path=/trunk/; revision=1192

2007-10-08  Gil Forcada Codinachs  <gforcada@src.gnome.org>

	Updated Catalan translation

	svn path=/trunk/; revision=1180

2007-10-07  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1174

2007-10-07  MMurray Cumming  <murrayc@murrayc.com>

	Get the bounds of the root item rather than of the whole canvas, for more

2007-10-07  MMurray Cumming  <murrayc@murrayc.com>

	* glom/relationships_overview/printoperation_relationshipsoverview.
	cc: Get the bounds of the root item rather than of the whole canvas, 
	for more suitable scaling.

	svn path=/trunk/; revision=1173

2007-10-05  Murray Cumming  <murrayc@murrayc.com>

	scale before printing, because that is how cairo works.

2007-10-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/relationships_overview/dialog_relationships_overview.h:
	* glom/relationships_overview/printoperation_relationshipsoverview.
	cc: scale before printing, because that is how cairo works.

	svn path=/trunk/; revision=1170

2007-10-05  Murray Cumming  <murrayc@murrayc.com>

	Some basic printing support for the relationships overview (via a menu

2007-10-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade:
	* glom/relationships_overview/Makefile.am:
	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h:
	* glom/relationships_overview/printoperation_relationshipsoverview.
	cc:
	* glom/relationships_overview/printoperation_relationshipsoverview.
	h: Some basic printing support for the relationships overview 
	(via a menu item in the dialog, which 
	is probably bad UI, but I don't like the idea of extra buttons either).
	It currently does not scale to fit the page, and does not offer 
	landscape printing.

	svn path=/trunk/; revision=1168

2007-10-04  Murray Cumming  <murrayc@src.gnome.org>

	Restored some code that I shouldn't have deleted

	svn path=/trunk/; revision=1167

2007-10-04  Murray Cumming  <murrayc@src.gnome.org>

	minor reordering of methods

	svn path=/trunk/; revision=1166

2007-10-04  Murray Cumming  <murrayc@murrayc.com>

	Depend on goocanvasmm. initialize goocanvasmm if not in client-only mode.

2007-10-04  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Depend on goocanvasmm.
	* glom/main.cc: initialize goocanvasmm if not in client-only mode.
	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h:
	Use C++ types as much as possible (often using Glib::wrap() instead of 
	the goocanvasmm constructors, because they are currently broken), and 
	generally clean up this code a bit.

	svn path=/trunk/; revision=1165

2007-10-03  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1163

2007-10-02  Murray Cumming  <murrayc@src.gnome.org>

	Added a comment hint about ParentWindow.

	svn path=/trunk/; revision=1162

2007-10-01  Armin Burgmeier  <armin@openismus.com>

	Merged changes from the GLOM_CLIENTONLY branch. This adds an

2007-10-01  Armin Burgmeier  <armin@openismus.com>

	* several files: Merged changes from the GLOM_CLIENTONLY branch. This
	adds an --enable-maemo configure option that builds a clientonly
	version of glom for the maemo platform. See the ChangeLog in the
	GLOM_CLIENTONLY branch for a detailed list of changes.

	svn path=/trunk/; revision=1156

2007-10-01  Murray Cumming  <murrayc@murrayc.com>

	get_record_counts(): Return the stored record count (from the extra COUNT

2007-10-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: get_record_counts(): 
	Return the stored record count (from the extra COUNT query), instead of using 
	DataModel::get_n_rows(), because that returns -1 when using the iter-only model.

	svn path=/trunk/; revision=1151

2007-09-28  Murray Cumming  <murrayc@murrayc.com>

	Added get_sql_name(), to get the fully qualified field name (with the

2007-09-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/layoutitem_field.cc:
	* glom/libglom/data_structure/layout/layoutitem_field.h: Added get_sql_name(), 
	to get the fully qualified field name (with the table name and .).
	* glom/libglom/utils.cc: build_sql_select_with_where_clause(): 
	Use get_sql_name() instead of building the name here, to simplify that code 
	slightly.

	* glom/libglom/connectionpool.cc: handle_error(): When getting the text of 
	errors, ignore any events that are not Gnome::Gda::CONNECTION_EVENT_ERROR, 
	to avoid showing other irrelevant warnings. This requires the latest libgdamm.

	* glom/utility_widgets/db_adddel/glom_db_treemodel.h: Remove the useless 
	m_column_record member variable.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	refresh_from_database(), fill_values_if_necessary(): Create an iter-only 
	model (needs the latest libgda, glibmm, and rebuilt libgdamm), to 
	hopefully only get the data that we actually want.

	svn path=/trunk/; revision=1149

2007-09-27  Armin Burgmeier  <armin@openismus.com>

	Make the entry_quickfind not activate the default button when pressing

2007-09-27  Armin Burgmeier  <armin@openismus.com>

	* glom/glom.glade: Make the entry_quickfind not activate the default
	button when pressing enter because glom already connects
	signal_activate(). When no find criteria was entered, two error
	dialogs were shown at the same time.

	svn path=/trunk/; revision=1148

2007-09-26  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1147

2007-09-20  Armin Burgmeier  <armin@openismus.com>

	Load "connection failed" dialog also in client only mode to prevent a

2007-09-20  Armin Burgmeier  <armin@openismus.com>

	* glom/frame_glom.cc: Load "connection failed" dialog also in client
	only mode to prevent a crash when that dialog is supposed to be
	displayed.

	* glom/main.cc: Don't include <gtksourceviewmm/init.h> in client only
	mode.

	svn path=/trunk/; revision=1146

2007-09-15  Murray Cumming  <murrayc@murrayc.com>

	initialize gtksourceviewmm so that the GType is available to libglade, to

2007-09-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/main.cc: initialize gtksourceviewmm so that the GType is available 
	to libglade, to avoid a warning (and possibly a crash).

	svn path=/trunk/; revision=1144

2007-09-15  Murray Cumming  <murrayc@murrayc.com>

	create_layout(): Do not try to add the previously-used primary key if

2007-09-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc: create_layout(): Do not try to 
	add the previously-used primary key if there is no primary key in the 
	table (for instance, if there are no fields in the table). This avoids 
	an internal postgres warning about a non-existant field.
	* glom/utility_widgets/db_adddel/db_adddel.cc: Clear the model if there 
	are no fields. This prevents a crash at startup if a table has no fields.

	svn path=/trunk/; revision=1143

2007-09-14  Armin Burgmeier  <armin@openismus.com>

	Merged changes from the GLOM_CLIENTONLY branch. This adds an

2007-09-14  Armin Burgmeier  <armin@openismus.com>

	* several files: Merged changes from the GLOM_CLIENTONLY branch. This
	adds an --enable-client-only configure option that disables support
	for developer mode and self-hosting. See the ChangeLog in the
	GLOM_CLIENTONLY branch for a detailed list of changes.

	svn path=/trunk/; revision=1142

2007-09-13  Murray Cumming  <murrayc@murrayc.com>

	Ported to the latest gtksourceviewmm, using the gtksourceview-2.0 API.

2007-09-13  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom/layout_item_dialogs/dialog_buttonscript.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/mode_design/script_library/dialog_script_library.cc:
	Ported to the latest gtksourceviewmm, using the gtksourceview-2.0 
	API.

	This is svn trunk. See also the glom-1-6 branch.

	svn path=/trunk/; revision=1141

2007-09-12  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

	svn path=/trunk/; revision=1139

2007-09-11  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1138

2007-09-10  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1137

2007-09-10  Murray Cumming  <murrayc@murrayc.com>

	Added a handle_error(Glib::Exception) overload.

2007-09-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Added a handle_error(Glib::Exception) overload.
	* glom/frame_glom.cc:
	* glom/main.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/reports/report_builder.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: Catch 
	Glib::Exceptions as well as std::exception, hopefully allowing us to 
	catch more errors without crashing.

	svn path=/trunk/; revision=1136

2007-09-10  Murray Cumming  <murrayc@murrayc.com>

	Fix a warning. std::string::find() returns npos, not -1 when it fails.

2007-09-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_privs.cc: Fix a warning. std::string::find() returns npos, 
	not -1 when it fails.

	svn path=/trunk/; revision=1135

2007-09-05  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1134

2007-09-03  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1133

2007-09-02  Murray Cumming  <murrayc@murrayc.com>

	updating the fields in the document unnecessarily. This avoid a warning

2007-09-03  Murray Cumming  <murrayc@murrayc.com>

	updating the fields in the document unnecessarily. This avoid a 
	warning about unsaved changes when closing, even in operator mode.
	* glom/libglom/document/document_glom.cc: set_modified(): Do nothing 
	if the user is not in developer mode, because there are legitimate 
	times when things can change temporarily in operator mode.

	svn path=/trunk/; revision=1132

2007-09-02  Murray Cumming  <murrayc@murrayc.com>

	When the first postgres shutdown fails (as happens under valgrind, and in

2007-09-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: When the first postgres shutdown 
	fails (as happens under valgrind, and in bug #420962) try again, 
	though that seems to fail too.

	svn path=/trunk/; revision=1131

2007-09-02  Murray Cumming  <murrayc@murrayc.com>

	save_before_layout_item_field_formatting(),

2007-09-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc: 
	save_before_layout_item_field_formatting(),
	load_after_layout_item_field_formatting(),
	* glom/utility_widgets/datawidget.cc: constructor:
	Ignore the multiline formatting options for non-text fields,
	so that these will not be used for number fields if they were used 
	before changing the field from text to number.
	Bug #443360 (Harry Mills)

	svn path=/trunk/; revision=1130

2007-09-01  Murray Cumming  <murrayc@murrayc-desktop>

	start_self_hosting(): Specify a Linux/Unix SIGSEGV signal handler so we

2007-09-02  Murray Cumming  <murrayc@murrayc-desktop>

	* glom/libglom/connectionpool.cc: start_self_hosting(): Specify a 
	Linux/Unix SIGSEGV signal handler so we stop postgres when we 
	crash. I wonder if there is a way to still have bug-buddy's 
	crash reports while doing this.

	svn path=/trunk/; revision=1129

2007-08-19  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1128

2007-08-18  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1127

2007-08-17  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1126

2007-08-16  Adam Weinberger  <adamw@gnome.org>

	Sorted and added missing files.

2007-08-15  Adam Weinberger  <adamw@gnome.org>

	* POTFILES.in: Sorted and added missing files.

	svn path=/trunk/; revision=1125

2007-07-29  Yannig MARCHEGAY  <ymarcheg@src.gnome.org>

	Updated Occitan translation

	svn path=/trunk/; revision=1124

2007-06-26  Pema Geyleg  <pgeyleg@src.gnome.org>

	updated dzongkha translation

	svn path=/trunk/; revision=1123

2007-06-15  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1122

2007-06-10  Murray Cumming  <murrayc@murrayc.com>

	1.5.2 (unstable):

2007-06-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/spawn_with_feedback.cc: 
	execute_command_line_on_thread_create(): Do not delete the data 
	before using it, to avoid a crash.
	* configure.ac: Depend on the latest versions of libgdamm and libxml++, 
	which also have fixes for crashes in Glom.

	svn path=/trunk/; revision=1121

2007-06-07  Claude Paroz  <claudep@src.gnome.org>

	Updated French translation.

	svn path=/trunk/; revision=1119

2007-06-05  Ignacio Casal Quinteiro  <icq@src.gnome.org>

	Added Galician Translation.

	svn path=/trunk/; revision=1118

2007-05-22  Yselkowitz  <yselkowitz@users.sourceforge.net>

	Increased version and 2007-05-22  Yselkowitz  <yselkowitz@users.sourceforge.net>

	* glom/libglom/Makefile.am:
	* glom/libglom/connectionpool.cc:
	Cygwin/Windows fix: Expect the EXEEXT file extension when searching for 
	postmaster. Bug #440335.

	svn path=/trunk/; revision=1116

2007-05-20  Murray Cumming  <murrayc@murrayc.com>

	Check for the pgk-config file of the libgda postgres providers.

2007-05-20  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Check for the pgk-config file of the libgda 
	postgres providers.
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h:
	* glom/main.cc: Added and used 
	check_postgres_gda_client_is_available_with_warning() to do 
	a runtime check for the presence of the libgda postgres provider. 

	svn path=/trunk/; revision=1115

2007-05-16  Johannes Schmid  <johannes.schmid@openismus.com>

	#361171 - Show Python erros in a dialog

	2007-05-14  Johannes Schmid <johannes.schmid@openismus.com>

	* glom/python_embed/glom_python.cc:
	#361171 - Show Python erros in a dialog

	svn path=/trunk/; revision=1113

2007-05-16  David Lodge  <dlodge@src.gnome.org>

	Updated en_GB translation

	svn path=/trunk/; revision=1112

2007-05-15  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated Spanish translation

	svn path=/trunk/; revision=1111

2007-05-14  Armin Burgmeier  <armin@openismus.com>

	Removed these files since they are no longer used.

2007-05-14  Armin Burgmeier  <armin@openismus.com>

	* glom/relationships_overview/relationships_canvas.cc:
	* glom/relationships_overview/relationships_canvas.h:
	* glom/relationships_overview/relationshipscanvas_tablewidget.cc:
	* glom/relationships_overview/relationshipscanvas_tablewidget.h:
	* glom/relationships_overview/table_canvasitem.h:
	* glom/relationships_overview/table_canvasitem.cc: Removed these files
	since they are no longer used.

	* glom/relationships_overview/Makfile.am: Removed aforementioned files
	from build.

	* glom/relationships_overview/dialog_relationships_overview.h:
	* glom/main.cc: Do not initialize/include libgnomecanvasmm anymore.

	* configure.in: Dropped dependency on libgnomecanvasmm.

	svn path=/trunk/; revision=1108

2007-05-14  Daniel Nylander  <dnylande@src.gnome.org>

	sv.po: Updated Swedish translation

	svn path=/trunk/; revision=1107

2007-05-14  Daniel Nylander  <dnylande@src.gnome.org>

	sv.po: Updated Swedish translation

	svn path=/trunk/; revision=1106

2007-05-13  Armin Burgmeier  <armin@openismus.com>

	Sort most recently used files first.

2007-05-13  Armin Burgmeier  <armin@openismus.com>

	* glom/glom.glade: Sort most recently used files first.

	* glom/application.h:
	* glom/appliaction.cc: Added m_example_uri field that stores the URI
	of the opened example file. This is checked against in
	document_history_ad() to prevent adding of example files into the
	recent files list.

	svn path=/trunk/; revision=1105

2007-05-10  Murray Cumming  <murrayc@murrayc.com>

	Require libgda 3.0.1, which is the first version that works enough for

2007-05-10  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Require libgda 3.0.1, which is the first version that works 
	enough for Glom.

	svn path=/trunk/; revision=1104

2007-05-09  Murray Cumming  <murrayc@murrayc.com>

	Override document_history_add from the Bakery App_WithDoc class, to try

2007-05-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/application.h: Override document_history_add from the Bakery App_WithDoc 
	class, to try (unsuccessfully so far) to prevent adding of example files to 
	the recent files list.
	offer_new_or_existing(): Do not shown non-existing recent files.

	svn path=/trunk/; revision=1103

2007-05-08  Armin Burgmeier  <armin@openismus.com>

	Merged changes from the GLOM_LIBGDA3 branch. Glom now builds against the

2007-05-08  Armin Burgmeier  <armin@openismus.com>

	* several files: Merged changes from the GLOM_LIBGDA3 branch. Glom now
	builds against the new libgda and pygda API. See the ChangeLog in that
	branch for a more detailed view of what has exactly changed.

	svn path=/trunk/; revision=1102

2007-05-01  Armin Burgmeier  <armin@openismus.com>

	Do not leak the file chooser dialog in ui_file_select_save().

2007-05-01  Armin Burgmeier  <armin@openismus.com>

	* glom/application.cc: Do not leak the file chooser dialog in
	ui_file_select_save().

	svn path=/trunk/; revision=1100

2007-04-25  Jorge Gonzalez Gonzalez  <jorgegonz@src.gnome.org>

	Updated spanish translation

	svn path=/trunk/; revision=1099

2007-04-24  Armin Burgmeier  <armin@openismus.com>

	Fixed the dialog so that the recent chooser is below the text and in its

2007-04-23  Armin Burgmeier  <armin@openismus.com>

	* glom/glade.glom: Fixed the dialog so that the recent chooser is
	below the text and in its own frame.

	* glom/application.cc: Hide the recent chooser when they are no
	recently used items.

	svn path=/trunk/; revision=1098

2007-04-23  Murray Cumming  <murrayc@murrayc.com>

	Used build rules like the ones in totem, to install these icons.

2007-04-23  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* icons/16x16/Makefile.am:
	* icons/22x22/Makefile.am:
	* icons/24x24/Makefile.am:
	* icons/32x32/Makefile.am:
	* icons/48x48/Makefile.am:
	* icons/Makefile.am:
	* icons/scalable/Makefile.am: Used build rules like the ones in totem, 
	to install these icons.

	svn path=/trunk/; revision=1097

2007-04-23  Murray Cumming  <murrayc@murrayc.com>

	Used build rules like the ones in totem, to install these icons.

2007-04-23  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* icons/16x16/Makefile.am:
	* icons/22x22/Makefile.am:
	* icons/24x24/Makefile.am:
	* icons/32x32/Makefile.am:
	* icons/48x48/Makefile.am:
	* icons/Makefile.am:
	* icons/scalable/Makefile.am: Used build rules like the ones in totem, 
	to install these icons.

	svn path=/trunk/; revision=1096

2007-04-23  Murray Cumming  <murrayc@murrayc.com>

	Used build rules like the ones in totem, to install these icons.

2007-04-23  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* icons/16x16/Makefile.am:
	* icons/22x22/Makefile.am:
	* icons/24x24/Makefile.am:
	* icons/32x32/Makefile.am:
	* icons/48x48/Makefile.am:
	* icons/Makefile.am:
	* icons/scalable/Makefile.am: Used build rules like the ones in totem, 
	to install these icons.

	svn path=/trunk/; revision=1095

2007-04-23  Murray Cumming  <murrayc@murrayc.com>

	Used build rules like the ones in totem, to install these icons.

2007-04-23  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* icons/16x16/Makefile.am:
	* icons/22x22/Makefile.am:
	* icons/24x24/Makefile.am:
	* icons/32x32/Makefile.am:
	* icons/48x48/Makefile.am:
	* icons/Makefile.am:
	* icons/scalable/Makefile.am: Used build rules like the ones in totem, 
	to install these icons.

	svn path=/trunk/; revision=1094

2007-04-23  Andreas Nilsson  <andreasn@src.gnome.org>

	new application icons

	svn path=/trunk/; revision=1093

2007-04-23  Armin Burgmeier  <armin@openismus.com>

	Added a RecentChooser widget to the initial dialog that allows to open

2007-04-22  Armin Burgmeier  <armin@openismus.com>

	* glom/application.cc:
	* glom/glom.glade: Added a RecentChooser widget to the initial dialog
	that allows to open quickly a recently used file, as requested in 
	bug #349355.

	* configure.in: Depend on gtkmm-2.10 to make use of the new
	RecentChooser API in GTK+.

	However, this needs some more work to make it look less awkward. murrayc.

	svn path=/trunk/; revision=1092

2007-04-21  Djihed Afifi  <djihed@src.gnome.org>

	Updated Arabic Translation by Djihed Afifi.

	svn path=/trunk/; revision=1089

2007-04-15  Armin Burgmeier  <armin@openismus.om>

	Added support for a new example rows format where the value of each field

2007-04-10  Armin Burgmeier  <armin@openismus.om>

	* glom/libglom/document/document_glom.cc: Added support for a new
	example rows format where the value of each field is identified by the
	field name rather than the field index, to be more robust against
	changes.

	* glom/libglom/utils.cc (string_separate): For each quoted occurence,
	do no longer put an empty string in the result vector when
	ignore_quoted_separator is set.

	svn path=/trunk/; revision=1088

2007-04-14  Djihed Afifi  <djihed@src.gnome.org>

	Updated Arabic Translation by Djihed Afifi.

	svn path=/trunk/; revision=1087

2007-04-01  Murray Cumming  <murrayc@murrayc.com>

	po/en_GB.po: Restore the date printf format that was removed by David

2007-04-01  Murray Cumming  <murrayc@murrayc.com>

	po/en_GB.po: Restore the date printf format that was removed by 
	David Lodge <dave@cirt.net> on 2006-09-12.
	This date format translation corrects the parsing and display of 
	4-digit dates.
	Bug #425116

	svn path=/trunk/; revision=1085

2007-03-29  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	Updated French by Claude Paroz and Stéphane Raimbault.

2007-03-28  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* fr.po: Updated French by Claude Paroz and Stéphane Raimbault.

	svn path=/trunk/; revision=1080

2007-03-28  Pema Geyleg  <pgeyleg@src.gnome.org>

	svn path=/trunk/; revision=1078

	svn path=/trunk/; revision=1078

2007-03-20  Murray Cumming  <murrayc@src.gnome.org>

	Remove some debug output.

	svn path=/trunk/; revision=1075

2007-03-20  Murray Cumming  <murrayc@src.gnome.org>

	Remove some debug output.

	svn path=/trunk/; revision=1073

2007-03-20  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	Modify the default pg_hba.conf to allow TCP/IP connections from any host

2007-03-20  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* glom/libglom/connectionpool.cc: Modify the default pg_hba.conf to 
	allow TCP/IP connections from any host when doing self-hosting. 
	Previously it had mistakenly only allowed connections from 127.0.0.1 (localhost).
	Interestingly, not all local computers can be identified as 127.0.0.1  either, 
	so the connection was failing for some local computers too.
	(ChangeLog comments from Murray)

	svn path=/trunk/; revision=1070

2007-03-20  Murray Cumming  <murrayc@murrayc.com>

	Added a show_ok_dialog() method, becasue it is silly to always call the on

2007-03-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/utils.cc:
	* glom/libglom/utils.h: Added a show_ok_dialog() method, becasue it is silly to 
	always call the on in Frame_Glom.

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: create_self_hosting(): Take a parent window so we 
	can show some warning dialogs if something goes wrong. None of these have actually 
	been experienced though.

	* glom/application.cc: ui_file_select_save(): If doing self-hosting then check that the 
	directory does not exist already, and warn the user.
	For instance, you might specify test.glom, which would then creat test/test.glom, so it 
	will warn if test/ already exists.
	Bug # 420482 (Mathias Hasselmann)

	svn path=/trunk/; revision=1069

2007-03-20  Murray Cumming  <murrayc@murrayc.com>

	connection_request_password_and_choose_new_database_name(): Do not

2007-03-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: connection_request_password_and_choose_new_database_name(): 
	Do not redeclare response variable, so we do not mistakenly think we failed later. 
	This is just a fix of the last commit.

2007-03-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_new_self_hosted_connection.cc:
	* glom/dialog_new_self_hosted_connection.h:
	* glom/frame_glom.cc:
	* glom/glom.glade:
	* glom/mode_design/users/dialog_user.cc: Add a password confirm entry to the dialog, 
	check it, and check that the user name is not empty. As well as being obviously useful, 
	this will make it more obvious that you are entering a new user/password confirmation, 
	instead of an existing one.

	svn path=/trunk/; revision=1067

2007-03-19  Murray Cumming  <murrayc@murrayc.com>

	Removed an unnessary static keyword on a typedef, which broke the build

2007-03-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/utils.cc: Removed an unnessary static keyword on a typedef, which broke the 
	build with some compilers.

	svn path=/trunk/; revision=1063

2007-03-16  Murray Cumming  <murrayc@murrayc.com>

	Enable the Relationships Overview code.

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom/Makefile.am:
	* glom/frame_glom.cc: Enable the Relationships Overview code.

	svn path=/trunk/; revision=1061

2007-03-16  Josep Puigdemont i Casamajó  <joseppc@src.gnome.org>

	Updated Catalan translation by Gil Forcada.

	svn path=/trunk/; revision=1060

2007-03-15  Murray Cumming  <murrayc@src.gnome.org>

	Marked 1.4.0 in ChangeLog

	svn path=/trunk/; revision=1058

2007-03-12  Murray Cumming  <murrayc@src.gnome.org>

	Preparatins for a 1.4.0 release

	svn path=/trunk/; revision=1057

2007-03-11  David Lodge  <dlodge@src.gnome.org>

	Update en_GB translation

	svn path=/trunk/; revision=1056

2007-03-10  Murray Cumming  <murrayc@murrayc.com>

	Added check_password(), which warns about an empty password or a password

2007-03-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/users/dialog_user.cc:
	* glom/mode_design/users/dialog_user.h: Added check_password(), which warns about 
	an empty password or a password confirmation failure.
	* glom/mode_design/users/dialog_users_list.cc: When adding or editing a user, 
	check the password, using check_password().

	svn path=/trunk/; revision=1054

2007-03-09  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1052

2007-03-09  Murray Cumming  <murrayc@murrayc.com>

	Privs::get_table_privileges(): Cope with the changed pg_class.relacl

2007-03-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_privs.cc: Privs::get_table_privileges(): Cope with the changed 
	pg_class.relacl format in Postgres 8.x (8.2, maybe >=8.0), which does not have 
	the group  prefix, now that users and groups are both just roles to Postgres.
	The user/group distinction will remain in the Glom UI, because it is a sensible 
	way to organise the access rights.
	This should still be able to cope with earlier versions of Postgres, such as 
	Postgres 7.4, but I have not tested that myself. 

	* glom/main.cc: Stop when there is a problem parsing the command line options, 
	and give a hint about using --help.

	svn path=/trunk/; revision=1051

2007-03-07  Murray Cumming  <murrayc@src.gnome.org>

	Added missing files

	svn path=/trunk/; revision=1049

2007-03-07  Murray Cumming  <murrayc@murrayc.com>

	Commented-out the use of avahi, because our use of it seems to be

2007-03-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: Commented-out the use of avahi, because 
	our use of it seems to be unstable, and it does not do anything useful yet 
	anyway.

	svn path=/trunk/; revision=1048

2007-03-06  Murray Cumming  <murrayc@murrayc.com>

	Moved the avahi code into its own class, to keep the ConnectionPool class

2007-03-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/Makefile.am:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Moved the avahi code into its own class, 
	to keep the ConnectionPool class simpler.
	The async stuff might mean that we cannot tie the avahi publishing to an 
	instance lifetime, but lets see.
	* glom/libglom/test_avahi_publisher.cc: Added a test case for just the 
	avahi utility class.

	svn path=/trunk/; revision=1047

2007-03-05  Armin Burgmeier  <armin@openismus.com>

	Added a signal_script_button_clicked that is emitted when the user clicks

2007-03-04  Armin Burgmeier  <armin@openismus.com>

	* glom/utilitiy_widgets/db_adddel/db_adddel.h:
	* glom/utilitiy_widgets/db_adddel/db_adddel.cc: Added a
	signal_script_button_clicked that is emitted when the user
	clicks on a list button.

	* glom/mode_data/box_data.h:
	* glom/mode_data/box_data.cc: Added a execute_button_script()
	function.

	* glom/mode_data/box_data_details.cc: Make use of it.

	* glom/mode_data/box_data_list.h:
	* glom/mode_data/box_data_list.cc: Listen on
	signal_script_button_clicked from m_AddDel and execute the script.
	Refresh the list because the script may have altered it. This is done
	in an idle handler because it crashes Glom otherwise.

	svn path=/trunk/; revision=1044

2007-03-04  Murray Cumming  <murrayc@murrayc.com>

	Add a comment about the hope of using just the pg_ctl result code in

2007-03-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: Add a comment about the hope of using just the pg_ctl 
	result code in future.

	svn path=/trunk/; revision=1043

2007-03-03  Murray Cumming  <murrayc@murrayc.com>

	When checking if the postgres instance has finished starting, check for is

2007-03-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: When checking if the postgres instance 
	has finished starting, check for is running rather than postmaster is running, 
	because this message has changed in postgres 8.2.
	Yes, this is a nasty hack anyway, and we need a better way to programatically 
	know when the local server is running.

	svn path=/trunk/; revision=1042

2007-03-03  Armin Burgmeier  <armin@arbur.net>

	Remove shadow from Viewport that is created by Gtk::ScrolledWindow::add().

2007-03-02  Armin Burgmeier  <armin@arbur.net>

	* glom/mode_data/box_data_details.cc: Remove shadow from Viewport that
	is created by Gtk::ScrolledWindow::add().

	svn path=/trunk/; revision=1041

2007-03-02  Murray Cumming  <murrayc@murrayc-desktop>

	Use --copy with gnome-doc-prepare, because that is what gnome-common does.

2007-03-02  Murray Cumming  <murrayc@murrayc-desktop>

	* autogen.sh: Use --copy with gnome-doc-prepare, because that is 
	what gnome-common does.
	* configure.in: Specify 0.9.0 to GNOME_DOC_INIT()
	Change the default postgres tools path to use 8.2, as used on Ubuntu Feisty, 
	to make my life easier.

	svn path=/trunk/; revision=1040

2007-02-22  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1039

2007-02-22  Murray Cumming  <murrayc@murrayc.com>

	Add 5434 to the list of ports to try, because this is used in the current

2007-02-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: Add 5434 to the list of ports to try, because this 
	is used in the current Ubuntu Feisty beta for Postgres 8.2, though this might be changed 
	in later Ubuntu Feisty betas. Also added 5435 and 5436 for the future.

	svn path=/trunk/; revision=1038

2007-02-18  David Lodge  <dlodge@src.gnome.org>

	Updated en_GB translation

	svn path=/trunk/; revision=1037

2007-02-17  Murray Cumming  <murrayc@murrayc.com>

	Corrected the title of the relationships overview window.

2007-02-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Corrected the title of the relationships overview 
	window.

	svn path=/trunk/; revision=1036

2007-02-17  Murray Cumming  <murrayc@murrayc.com>

	More cleanup.

2007-02-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h:
	More cleanup.

	svn path=/trunk/; revision=1035

2007-02-17  Murray Cumming  <set EMAIL_ADDRESS environment variable>

	More syntax corrections.

2007-02-17  Murray Cumming,,,  <set EMAIL_ADDRESS environment variable>

	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h:
	More syntax corrections.

	svn path=/trunk/; revision=1034

2007-02-17  David Lodge  <dlodge@src.gnome.org>

	Updated (British) English translation

	svn path=/trunk/; revision=1033

2007-02-16  MMurray Cumming  <murrayc@murrayc.com>

	Remeber the windows size between instantiations, temporarily for the

2007-02-16  MMurray Cumming  <murrayc@murrayc.com>

	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h: 
	Remeber the windows size between instantiations, temporarily for the lifetime of the 
	application.

	svn path=/trunk/; revision=1032

2007-02-16  Rasmus Toftdahl Olesen  <halfdan@halfdans.net>

	Patch in Bug #408408 to correct the source code formatting.

2007-02-16  Rasmus Toftdahl Olesen  <halfdan@halfdans.net>

	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h:
	Patch in Bug #408408 to correct the source code formatting.

	svn path=/trunk/; revision=1031

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	fill_from_database() methods: Do not try to open a connection if the

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_list_find.cc: fill_from_database() methods: 
	Do not try to open a connection if the document is NULL, to stop a connection error dialog 
	while closing, after we have stopped self-hosting.

	svn path=/trunk/; revision=1030

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	When starting self-hosting, double-check that the directory is there so we

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/frame_glom.cc:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: When starting self-hosting, double-check that the directory 
	is there so we can fail more pleasantly, in this rare case. 

	svn path=/trunk/; revision=1029

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	Publishers table: Correct the Albums relationship, and add a list of

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_music_collection.glom: Publishers table: Correct the Albums relationship, 
	and add a list of related albums to the details view.

	svn path=/trunk/; revision=1028

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	Added an override of load_from_document() so that the tables are actually

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h: Added an override of 
	load_from_document() so that the tables are actually shown on the canvas.

	svn path=/trunk/; revision=1027

2007-02-16  Rasmus Toftdahl Olesen  <halfdan@halfdans.net>

	Updated for latest goocanvas API. Note that this code is disabled by

2007-02-16  Rasmus Toftdahl Olesen  <halfdan@halfdans.net>

	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h:
	Updated for latest goocanvas API. Note that this code is disabled by default.
	Bug #408408.

	svn path=/trunk/; revision=1026

2007-02-16  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1025

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	Added check_postgres_is_available_with_warning(), and install_postgress().

2007-02-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/Makefile.am:
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Added check_postgres_is_available_with_warning(), 
	and install_postgress(). That latter may be patched by distros that choose (wrongly, 
	I believe) not to make Glom depend on Postgres at install-time.
	There is some commented-out example code, with many helpful comments, implementing 
	the install-at-runtime code for Ubuntu/Debian.
	* glom/libglom/gst-package.c:
	* glom/libglom/gst-package.h: ifdefed-out helper code, taken from the Ubuntu/Debian patches 
	for gnome-system-tools.
	* glom/main.cc:  main(): Call check_postgres_is_available_with_warning().
	If Postgres is not installed, and cannot be installed, then Glom will quit.

	svn path=/trunk/; revision=1024

2007-02-13  Murray Cumming  <murrayc@src.gnome.org>

	Increase version

	svn path=/trunk/; revision=1023

2007-02-12  Murray Cumming  <murrayc@murrayc.com>

	Depend on avahi-glib.

2007-02-12  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Depend on avahi-glib.
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Added avahi_start_publishing() and 
	avahi_stop_publishing() and use them to advertise the database server when self-hosting, 
	with a made-up avahi service type name. This is rough code based on the avahi examples. 
	I want to clean it up and maybe separate it into a separate class.

	svn path=/trunk/; revision=1022

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	When creating a new database (not from an example) show the extended

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: When creating a new database (not from an example) show the extended 
	FileChooserDialog again, by setting our new boolean.

	svn path=/trunk/; revision=1021

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	get_connection_self_hosted_directory_uri(): Use just glom_postgres_data

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc: get_connection_self_hosted_directory_uri(): 
	Use just glom_postgres_data for the subdirectory name, to create and to look for, for 
	self hosting, instead of prefixing it by the glom file name. This is less ugly, and it should 
	be safe enough because it is all inside the directory.
	* glom/application.cc: get_file_uri_without_extension(): Do not ignore the return value of 
	Gnome::Vfs::Uri::append_string(). This should not have worked before, and still seems to work 
	now. Odd.

	svn path=/trunk/; revision=1020

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	Always use a dynamically-found port number when starting self-hosting,

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: Always use a dynamically-found port number when starting 
	self-hosting, instead of only determining it when creating the file, by using the -p and -h 
	arguments to postmaster instead of specifying the same information in a postgresql.conf file.

	svn path=/trunk/; revision=1019

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	Add discover_first_free_port() helper function, based on recommendation

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Add discover_first_free_port() helper function, based on 
	recommendation from Lennart Poettering. Use it to try a series of ports when deciding what port 
	to use for self-hosting. However, this should be tested every time we start the server, not just 
	when creating the files.

	svn path=/trunk/; revision=1018

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	Remove the Gtk::Paned parent widget. Its functionality was not used. It

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h: Remove the Gtk::Paned parent widget. Its functionality 
	was not used. It was just a relic from a previous nasty UI. Replaced it with a ScrolledWindow 
	that does vertical scrolling when necessary. Hopefully this will prevent the window from sometimes 
	being too high for the screen. Layout is variable height rather than variable width, so this makes 
	sense.
	I also need to make the window take as much vertical space as it can.

	svn path=/trunk/; revision=1017

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	Fix a typo.

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	* en_GB.po: Fix a typo.

	svn path=/trunk/; revision=1016

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	Added unfinished code for Relationships Overview feature, by Rasmus

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	* NEWS:
	* glom/Makefile.am:
	* glom/application.cc:
	* glom/frame_glom.cc:
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h:
	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h: Added unfinished 
	code for Relationships Overview feature, by Rasmus Toftdahl Olesen.
	(See http://halfdans.net/index.py/89 )
	The actual use of goocanvas is disabled in configure.ac, frame_glom.cc, and glom/Makefile.am, 
	because the code must be updated to build against the latest goocanvas API.

	svn path=/trunk/; revision=1015

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	Added unfinished code for Relationships Overview feature, by Rasmus

2007-02-11  Murray Cumming  <murrayc@murrayc.com>

	* NEWS:
	* glom/Makefile.am:
	* glom/application.cc:
	* glom/frame_glom.cc:
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h:
	* glom/relationships_overview/dialog_relationships_overview.cc:
	* glom/relationships_overview/dialog_relationships_overview.h: Added unfinished 
	code for Relationships Overview feature, by Rasmus Toftdahl Olesen.
	(See http://halfdans.net/index.py/89 )
	The actual use of goocanvas is disabled in configure.ac, frame_glom.cc, and glom/Makefile.am, 
	because the code must be updated to build against the latest goocanvas API.

	svn path=/trunk/; revision=1014

2007-02-07  Murray Cumming  <murrayc@murrayc.com>

	Made the same changes here - see the previous ChangeLog entry.

2007-02-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/python_embed/py_glom_relatedrecord.cc: Made the same changes here - 
	see the previous ChangeLog entry.

	svn path=/trunk/; revision=1013

2007-02-07  Murray Cumming  <murrayc@murrayc.com>

	PyMappingMethods: Remove (inquiry) and (binaryfunc) casts because they

2007-02-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/libglom/python_embed/py_glom_related.cc: PyMappingMethods: Remove (inquiry) 
	and (binaryfunc) casts because they should no longer be necessary and this might 
	help the build with Python 2.5.

	svn path=/trunk/; revision=1012

2007-02-07  Murray Cumming  <murrayc@murrayc.com>

	ifdef with PY_VERSION_HEX to adapt to the changed function pointer

2007-02-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/libglom/python_embed/py_glom_related.cc: ifdef with PY_VERSION_HEX to 
	adapt to the changed function pointer signature of the tp_as_mapping_length 
	callbacks for PyMappingMethods in Python 2.5, which now have a Py_ssize_t 
	return type. This broke the build on 64-bit systems.
	Also, take a PyObject* object instead of our derived struct, and cast inside 
	our functions, to avoid errors from more fussy compiler versions.
	(Problems found by Daniel Holbach) 

	svn path=/trunk/; revision=1011

2007-02-06  Murray Cumming  <murrayc@murrayc.com>

	Add m_ui_save_extra_showextras so we can turn off use of the custom

2007-02-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/application.h: Add m_ui_save_extra_showextras so we can turn off use of 
	the custom filechooser dialog completely in on_menu_file_save_as_example().
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added append_newline() and used it in 
	save_before() to break up the incredibly long lines. This is not as nice as 
	newlines plus indenting, but it is a start.
	* examples/example_smallbusiness.glom: Resaved this, using the newlines.

	svn path=/trunk/; revision=1010

2007-01-24  David Lodge  <dlodge@src.gnome.org>

	Updated (British) English docs translation

	svn path=/trunk/; revision=1009

2007-01-24  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

	svn path=/trunk/; revision=1008

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

	Added derived ComboBox for showing a list of fields, with an optional None

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

	* glom/Makefile.am:
	* glom/combobox_fields.cc:
	* glom/combobox_fields.h: Added derived ComboBox for 
	showing a list of fields, with an optional None item.
	* po/POTFILES.in: Added the new file.
	* glom/layout_item_dialogs/box_formatting.cc:
	* glom/layout_item_dialogs/box_formatting.h: 
	Use ComboBox_Fields instead of Combo_TextGlade for the 
	choices fields combo boxes, so we can show a None item 
	for the Also Show field combo box, so the user can clear it 
	after choosing something and then changing his mind.
	Bug #365051 from L Davison.

	svn path=/trunk/; revision=1007

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

	execute_command_line_and_wait_until_second_command_returns_success(): When

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

	* glom/libglom/spawn_with_feedback.cc:
	execute_command_line_and_wait_until_second_command_returns_success():
	When waiting for the specific text output from a second command, 
	temporarily set the LANG and LANGUAGE environment variables to C, 
	so that we get the same text in all locales.
	This is not pretty, but neither is this whole command-line spawning idea anyway.
	Bug #395511 from Aurelien.

	svn path=/trunk/; revision=1006

2007-01-21  Murray Cumming  <murrayc@murrayc.com>

	Actually show fixed text and button items in the list view. This needed us

2007-01-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: Actually show fixed text and button items 
	in the list view. This needed us to know when the column index was for the view or for the 
	model, to prevent us from trying to get a value for the wrong column.
	At the moment, nothing happens when you click on a button, and the button appears like text.

	svn path=/trunk/; revision=1005

2007-01-21  Murray Cumming  <murrayc@murrayc.com>

	Use the same layout and code for details, lists, and portals, reusing the

2007-01-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/dialog_layout.cc:
	* glom/mode_data/dialog_layout.h:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list.h:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.h:
	Use the same layout and code for details, lists, and portals, reusing 
	the UI and the implementation, just hiding some widgets for some dialogs. 

	svn path=/trunk/; revision=1004

2007-01-21  Murray Cumming  <murrayc@murrayc.com>

	Added glom/utility_widgets/filechooserdialog.cc

2007-01-21  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in: Added glom/utility_widgets/filechooserdialog.cc

	svn path=/trunk/; revision=1003

2007-01-19  Murray Cumming  <murrayc@murrayc.com>

	Require libgda 1.2.4, which has a fix for database and table encoding

2007-01-19  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Require libgda 1.2.4, which has a fix for database and table 
	encoding problem. Requiring this should encourage distro packagers to also update libgda, 
	which should fix crashes when creating databases, tables, fields, etc, with unusual 
	characters, which happens quite often.

	svn path=/trunk/; revision=1002

2007-01-13  Murray Cumming  <murrayc@murrayc.com>

	dialog_new_self_hosted_connection: Start with the focus in the user name

2007-01-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: dialog_new_self_hosted_connection: Start with the focus in 
	the user name instead of the password, because both are empty to start with.

	svn path=/trunk/; revision=1001

2007-01-13  Murray Cumming  <murrayc@murrayc.com>

	ui_file_select_save(): When self-hosting, create a directory and put the

2007-01-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/application.h: ui_file_select_save(): 
	When self-hosting, create a directory and put the file and the data directory 
	inside the directory, so that they are not separated easily.

	svn path=/trunk/; revision=1000

2007-01-10  Murray Cumming  <murrayc@murrayc.com>

	Removed this class and dialog.

2007-01-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/glom.glade:
	* glom/dialog_new_database.cc:
	* glom/dialog_new_database.h: Removed this class and dialog.
	* glom/utility_widgets/filechooserdialog.cc:
	* glom/utility_widgets/filechooserdialog.h: Add widgets from the 
	DialogNewDatabase dialog (asking for the title, and whether to self-host).
	* glom/application.cc:
	* glom/application.h: Add new m_ui_save_extra member variables for getting the 
	result of the extended save dialog while still using the Bakery file save API.
	ui_file_select_save(): Set and get the new member variables.
	on_document_load(): Use the new member variables (with values previously set by the 
	extended save dialog) instead of showing a new dialog to get the information.

	This removes one dialog, making new file creation simpler.

	svn path=/trunk/; revision=999

2007-01-10  Pema Geyleg  <pgeyleg@src.gnome.org>

	svn path=/trunk/; revision=998

	svn path=/trunk/; revision=998

2006-12-28  Murray Cumming  <murrayc@murrayc.com>

	Add a derived Gtk::FileChooserDialog, which can show our extra widgets. At

2006-12-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/filechooserdialog.cc:
	* glom/utility_widgets/filechooserdialog.h: Add a derived Gtk::FileChooserDialog,
	which can show our extra widgets. At the moment it can just show an extra text
	message.
	* glom/application.cc:
	* glom/application.h: Override Bakery::App_WithDoc::ui_file_select_save(), so
	we can use our custom file chooser dialog, using member variables to set the title
	and extra message if necessary.
	on_document_load(): Set the member variables so that we show the message about
	saving an example file in the file chooser dialog, instead of in a separate dialog.
	This removes one of the many dialogs.

2006-12-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/Makefile.am:
	* glom/python_embed/python_module/Makefile.am: Fix the cygwin (win32) build.
	Bug #338844 from Yselkowitz.

2006-12-28  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation.

2006-12-27  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

2006-12-27  Murray Cumming  <murrayc@src.gnome.org>

	Mentioned new file.

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	Added get_translatable_type_name_nontranslated() for in po message context

2006-12-21   Murray Cumming  <murrayc@murrayc.com>

	* glom/translation/window_translations.cc:
	* glom/translation/window_translations.h: Added get_translatable_type_name_nontranslated()
	for in po message context strings.
	* glom/libglom/data_structure/translatable_item.cc:
	* glom/libglom/data_structure/translatable_item.h:
	on_button_export(): Write context strings to the .po file to distinguish similar strings,
	and provide hints to translators.
	on_button_import(): Compare the context strings to more precisely identify the items.

2006-12-21  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	Do an extra sanity check on the postgres utils path, and complain if we

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Do an extra sanity check on the postgres utils path, and complain if
	we can't find postmaster.

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	Replaced execute_command_line_and_wait_fixed_seconds() with

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/spawn_with_feedback.cc:
	* glom/libglom/spawn_with_feedback.h:
	Replaced execute_command_line_and_wait_fixed_seconds() with
	execute_command_line_and_wait_until_second_command_returns_success(), so we
	can use pg_ctl status to check whether postmaster has started, instead of
	from pg_ctl, because I think that it always returns a success code, but I am
	not sure about that anymore.

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	Moved this class here, so we can use it from libglom, add add a

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/glom.glade:
	* glom/libglom/Makefile.am:
	* glom/libglom/dialog_progress_creating.cc:
	* glom/libglom/dialog_progress_creating.h: Moved this class here,
	so we can use it from libglom, add add a set_message() method, so we can
	change the text for each use.
	* glom/libglom/connectionpool.cc:
	* glom/libglom/spawn_with_feedback.cc:
	* glom/libglom/spawn_with_feedback.h: Moved the spawn utility functions
	here from connectionpool.cc.
	execute_command_line_and_wait(): Added message parameter, shown in a
	dialog with a pulsing progress bar. The command-line command is run in a
	separate thread, which signals us with a Glib::Cond condition when it is
	finished, so we can update the UI in the meantime.
	* glom/application.cc:
	* glom/main.cc: Call g_threads_init(), so we can use mutexes.

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	execute_command_line_and_wait(): Take a human-readable message, and show

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: execute_command_line_and_wait(): Take a human-readable message,
	and show it in a dialog while we are waiting. This is not ideal, but better than nothing. What
	we really need is to do the spawn_command_line_sync() in another thread, and wait for that thread
	to finish.

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	Added show_dialog_new_database() helper function. on_document_load(): When

2006-12-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_new_database.cc:
	* glom/dialog_new_database.h: Added show_dialog_new_database() helper function.
	* glom/application.cc: on_document_load(): When opening from an example, which always requires
	database creation, show the self-host question dialog. This also allows the user to change the
	database title, which is OK.

2006-12-20  Murray Cumming  <murrayc@murrayc.com>

	Added radio buttons, so the user can choose to self-host the database, or

2006-12-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_new_database.cc:
	* glom/dialog_new_database.h: Added radio buttons, so the user can choose to self-host the
	database, or create it on an external server.
	* glom/Makefile.am:
	* glom/dialog_new_self_hosted_connection.cc:
	* glom/dialog_new_self_hosted_connection.h:
	* glom/glom.glade: Added a new dialog, asking for the name and password for the first super user,
	when creating a new self-hosted database.
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added set_connection_is_self_hosted().
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Added create_self_hosting(), which creates
	the postgres files in a folder.
	* glom/frame_glom.cc: connection_request_password_and_choose_new_database_name():
	If the database should be self-hosted, ask for the initial details, and create it.
	* glom/dialog_connection.cc:
	* glom/dialog_connection.h: Added set_self_hosted_user_and_password(), because
	we currently use the connect_to_server_with_connection_settings() method from this
	class to actually connect. I should refactor that.

2006-12-16  Murray Cumming  <murrayc@murrayc.com>

	load_from_document(): Disable the hostname entry when the document is

2006-12-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_connection.cc: load_from_document(): Disable the hostname entry
	when the document is marked as being self-hosting.
	connect_to_server_with_connection_settings(): Always use localhost as the hostname
	when opening a self-hosted document.

2006-12-16  Murray Cumming  <murrayc@murrayc.com>

	Add a --with-postgres-utils option, so we can specify the location of

2006-12-16  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* config.h.in: Add a --with-postgres-utils option, so we can specify the
	location of postmaster and pg_ctl.
	* glom/application.cc:
	* glom/application.h: Added stop_self_hosting_of_document_database().
	on_document_load(): Start self-hosting before asking for connection details,
	if the document is marked as self-hosting. Stop self-hosting if the connection
	fails.
	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: Added set_self_hosting(),
	start_self_hosting(), stop_self_hosting();
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added get_connection_is_self_hosted(),
	and get_connection_self_hosted_directory_uri(). This bool is loaded from and
	saved to the document, though it is not yet changed to true by anything in the UI.
	Destructor: Stop self-hosting.

2006-12-16  Murray Cumming  <murrayc@murrayc.com>

	Remove unnecessary virtuals.

2006-12-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.h: Remove unnecessary virtuals.

2006-12-15  Murray Cumming  <murrayc@murrayc.com>

	Add text for the help sections for the connection and connection error

2006-12-15  Murray Cumming  <murrayc@murrayc.com>

	* docs/user-guide/C/glom.xml: Add text for the help sections for the connection and connection error
	dialogs, with a link to the web page for setting up Postgres. Otherwise, people who have never seen
	the Download web page will have no idea what to do.

2006-12-11  Francisco Javier F. Serrador  <serrador@openshine.com>

	Updated Spanish translation.

2006-12-11  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.

2006-12-10  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2006-12-10  Murray Cumming  <murrayc@murrayc.com>

	For child relationships, add an extra GROUP_BY (on the key of the target

2006-12-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/frame_glom.cc:
	* glom/libglom/utils.cc:
	* glom/libglom/utils.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: For child relationships, add an extra
	GROUP_BY (on the key of the target table) to ensure that we only get distinct records, with
	no repeats.

2006-12-10  Murray Cumming  <murrayc@murrayc.com>

	Hide the title label and entry. They are too confusing here.

2006-12-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade:
	* glom/mode_data/dialog_layout_list_related.cc: Hide the title label and entry. They are too
	confusing here.

2006-12-10  Murray Cumming  <murrayc@murrayc.com>

	Add a checkbox that allows us to use child (related) relationships, which

2006-12-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.h:
	* glom/glom.glade: Add a checkbox that allows us to use child (related) relationships,
	which are then shown in the combobox.
	* glom/combobox_relationship.cc:
	* glom/combobox_relationship.h: set_relationships(): Add boolean parameter allowing
	us to show related relationships without showing the parent table name too.
	* glom/frame_glom.cc:
	* glom/libglom/document/document_glom.cc: When saving/loading portals, save/load all levels
	of relationships, by using the existing utiltity function for saving UsesRelationship objects.
	* glom/libglom/data_structure/layout/usesrelationship.cc:
	* glom/libglom/data_structure/layout/usesrelationship.h:
	Added get_title_used(), get_to_field_used(), get_relationship_name_used(),
	get_relationship_used_allows_edit(), so we can use this generically, regardless
	of the level of relationships used by, for instance, a portal or layoutitem_field.
	* glom/base_db.cc:
	* glom/base_db.h: Add m_extra_join to FoundSet, for use when viewing records in a related relationship.
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h: refresh_data_from_database_with_foreign_key():
	When viewing a related relationship, specify an extra SQL join to make that possible, and adjust the
	WHERE clause too, providing these to the FoundSet object.
	* glom/libglom/utils.cc:
	* glom/libglom/utils.h: build_sql_select_with_where_clause(): Add extra_join parameter, specified when
	doing view of related relationship records.

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: refresh_from_database(): Provide the FoundSet
	extra_join to build_sql_select_with_where_clause().
	* glom/reports/report_builder.cc:
	* glom/utility_widgets/flowtablewithfields.cc: Use the generic UsesRelationship methods rather than
	extracting the main relationship and using that specifically, so we can adapt to related realationship
	portals, and even in future support >2 levels of relationships.

2006-12-07  Murray Cumming  <murrayc@src.gnome.org>

	Increase version

2006-12-07  Murray Cumming  <murrayc@murrayc.com>

	get_related_record_exists(): refresh_data_from_database(): In WHERE

2006-12-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc: get_related_record_exists():
	* glom/mode_data/box_data_list_related.cc: refresh_data_from_database():
	In WHERE clauses, specify the table name, to avoid ambiguity when two of
	the tables have the same field names. This avoids a SQL error.

2006-12-05  Francisco Javier F. Serrador  <serrador@openshine.com>

	Updated Spanish translation.

2006-12-05  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.

2006-12-03  Murray Cumming  <murrayc@murrayc.com>

	Start dialog: Change the packing options for the Entry, to try to stop the

2006-12-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Start dialog: Change the packing options for the Entry, to
	try to stop the lines from breaking unnecessarily, but this does not seem to
	have any effect on it. Bug #369602 from Javier F. Serrador.

2006-12-03  Murray Cumming  <murrayc@murrayc.com>

	create_layout_add_group(): Check that fields exist before adding them as

2006-12-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc: create_layout_add_group(): Check that fields
	exist before adding them as columns, to avoid SQL errors when we have failed
	(we should not fail) to rename something everywhere.

2006-11-19  Daniel Nylander  <po@danielnylander.se>

	Updated Swedish translation.

	2006-11-19  Daniel Nylander <po@danielnylander.se>

	* sv.po: Updated Swedish translation.

2006-11-19  Murray Cumming  <murrayc@murrayc.com>

	glom_evaluate_python_function_implementation(): Use Py_CompileString() and

2006-11-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/python_embed/glom_python.cc: glom_evaluate_python_function_implementation():
	Use Py_CompileString() and PyImport_ExecCodeModule() to make library scripts available
	for import. It works too.

2006-11-19  Murray Cumming  <murrayc@murrayc.com>

	Added new files so they can be translated.

2006-11-19  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in: Added new files so they can be translated.

2006-11-18  Djihed Afifi  <djihed@src.gnome.org>

	Updated Arabic

2006-11-18  Murray Cumming  <murrayc@murrayc.com>

	Added some commented-out experiments into making the script library

2006-11-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/python_embed/glom_python.cc: Added some commented-out experiments into
	making the script library importable from our Python scripts.

2006-11-18  Murray Cumming  <murrayc@murrayc.com>

	The UI for a script library now works, and it is saved and loaded in the

2006-11-18  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom/Makefile.am:
	* glom/frame_glom.cc:
	* glom/glom.glade:
	* glom/mode_data/box_data.cc:
	* glom/mode_design/Makefile.am:
	* glom/mode_design/script_library/Makefile.am:
	* glom/mode_design/script_library/dialog_new_script.cc:
	* glom/mode_design/script_library/dialog_new_script.h:
	* glom/mode_design/script_library/dialog_script_library.cc:
	* glom/mode_design/script_library/dialog_script_library.h:
	The UI for a script library now works, and it is saved and loaded in the
	document. Now I just need to make the embedded python able to import these
	modules.

2006-11-18  Murray Cumming  <murrayc@murrayc.com>

	Works slightly more. Yes, I shouldn't check stuff in before it is

2006-11-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc:
	* glom/glom.glade:
	* glom/libglom/document/document_glom.cc:
	* glom/mode_design/dialog_script_library.cc:
	* glom/mode_design/dialog_script_library.h: Works slightly more.
	Yes, I shouldn't check stuff in before it is finished.

2006-11-18  Murray Cumming  <murrayc@murrayc.com>

	Partial implementation of the UI for a reusable python script library.

2006-11-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/glom.glade:
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h:
	* glom/mode_design/Makefile.am:
	* glom/mode_design/dialog_script_library.cc:
	* glom/mode_design/dialog_script_library.h: Partial implementation of the UI
	for a reusable python script library.

2006-11-17  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2006-11-17  Murray Cumming  <murrayc@murrayc.com>

	Added get_document_format_version() and

2006-11-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added get_document_format_version()
	and get_latest_known_document_format_version().
	load_after(): Check the document format version, and fail if it is higher than
	we know about.
	save_before(): Save the document format version (as the latest known) when
	saving changes.
	* glom/frame_glom.cc: on_menu_userlevel_Developer(): When going into developer
	mode, warn that you might not be able to open the changed document with older
	versions of Glom.

2006-11-17  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2006-11-17  Murray Cumming  <murrayc@murrayc.com>

	connect(): Remember the port after the first successful connection (even

2006-11-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc: connect(): Remember the port after the first
	successful connection (even to the default database), and always try that first
	when connecting again, only trying the extra ports if it fails or if no port
	was remembered. This halves the number of connection attempts made.
	Bug #368787 (Craig Keogh).

2006-11-17  Murray Cumming  <murrayc@src.gnome.org>

	Fix build.

2006-11-16  Daniel Nylander  <po@danielnylander.se>

	Added initial Swedish translation. Added sv to DOC_LINGUAS.

	2006-11-16  Daniel Nylander <po@danielnylander.se>

	* sv/sv.po: Added initial Swedish translation.
	* Makefile.am: Added sv to DOC_LINGUAS.

2006-11-16  Murray Cumming  <murrayc@murrayc.com>

	get_find_where_clause_quick(): get_find_where_clause(): Put quotes around

2006-11-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_find_where_clause_quick():
	* glom/mode_data/box_data.cc: get_find_where_clause():
	Put quotes around the table names and field names, to avoid SQL errors when
	using names with, for instance, capital letters.
	Bug #375605 from William Manley.

2006-11-16  Murray Cumming  <murrayc@murrayc.com>

	Revert unrelated changes introduced by the patch from Johannes. The

2006-11-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Revert unrelated changes introduced by the patch from
	Johannes. The left-alignment of labels had been removed. I guess that this
	might have been caused by glade-3.

2006-11-16  Murray Cumming  <murrayc@murrayc.com>

	Translations window: Use a regular HBox instead of a ButtonBox, because

2006-11-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Translations window: Use a regular HBox instead of
	a ButtonBox, because the ButtonBox leaves lots of empty space so it
	looks odd.
	* glom/translation/window_translations.cc: on_button_export():
	Append the .po extension if it is not already in the filename.

2006-11-16  Murray Cumming  <murrayc@murrayc.com>

	Added an AC_CHECK_MEMBER() check for the latest libggettextpo

2006-11-16  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Added an AC_CHECK_MEMBER() check for the latest
	libggettextpo error-handling API, defining HAVE_GETTEXTPO_XERROR,
	so we can build with both the old and new APIs.
	* config.h.in: Added HAVE_GETTEXTPO_XERROR,
	defined in configure.
	* glom/translation/window_translations.cc: Use ifdefs to add
	alternative code for the older libgettextpo API.

	2006-10-26  Johannes Schmid <jhs@gnome.org>

	Openismus Gmbh:

	* glom/Makefile.am:
	Added -lgettext-po

	* glom/glom.glade:
	Added Import/Export buttons to translation_window in a new buttonbox

	* glom/translation/window_translations.cc:
	* glom/translation/window_translations.h:
	on_button_import(), on_button_export()
	Added the feature to export and import translation in po format using libgettext-po

2006-10-29  Francisco Javier F. Serrador  <serrador@openshine.com>

	Updated Spanish translations.

2006-10-30  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translations.

2006-10-22  David Lodge  <dave@cirt.net>

	Updated English (British) translation

	2006-10-22  David Lodge <dave@cirt.net>

	* en_GB.po: Updated English (British) translation

2006-10-22  Ilkka Tuohela  <ituohela@src.gnome.org>

	Updated Finnish translation

2006-10-20  Murray Cumming  <murrayc@murrayc.com>

	create_layout(): Do not call m_AddDel.set_columns_ready() because we do

2006-10-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc: create_layout(): Do not call
	m_AddDel.set_columns_ready() because we do that in fill_from_database(),
	and we do not want to do it twice.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	Constructor: Call refresh_from_database(), and make
	refresh_from_database() a protected method, so that model creation is
	the only time that the SQL query is run.
	* glom/utility_widgets/db_adddel/db_adddel.cc: refresh_from_database():
	Just call construct_specified_columns(), to recreate the model, instead
	of trying to reuse the existing model via refresh_from_database(),
	because that was having some strange side-effects and seems complex to fix.

2006-10-20  Murray Cumming  <murrayc@murrayc.com>

	Remove (empty) remove_all() method. It does not make sense for a TreeModel

2006-10-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: Remove (empty) remove_all() method. It
	does not make sense for a TreeModel that just shows what is in a database result.
	* glom/mode_data/box_data_list.cc:
	* glom/mode_find/box_data_list_find.cc: Do not use DbAddDel::remove_all().

2006-10-19  Murray Cumming  <murrayc@murrayc.com>

	Added get_has_script() method for efficient convenience.

2006-10-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/layout/layoutitem_button.cc:
	* glom/libglom/data_structure/layout/layoutitem_button.h: Added get_has_script()
	method for efficient convenience.
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added set/get_child_text_node() utility
	methods.
	load_after(), load_after_layout_group(): Load button scripts, field calculations,
	and example row data from child text nodes instead of attribute values, to avoid
	problems with newlines in attributes when using the .glom file with a different
	XML parser.
	Fall back to the now-deprecated attribute values if no child text node was found.
	save_before(), save_before_layout_group(): Save as child text nodes.
	Bug #357567.

2006-10-19  Johannes Schmid  <jhs@gnome.org>

	Added --debug_sql argument

	2006-10-19  Johannes Schmid <jhs@gnome.org>

	* glom/main.cc: Added --debug_sql argument

	* glom/application.cc:
	* glom/application.h:
	Added a global application instance which is available to all modules via the static
	Application::get_application() method
	Added get/set_sql_debug()
	Remove File->Exit, to simplify Glom by not supporting muliple documents per instance.

	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/libglom/python_embed/Makefile.am:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	Added debugging code for sql statements.

	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	Added debugging code but commented out for now because of linking issues. The debug
	flag needs to link against application.lo

2006-10-19  Murray Cumming  <murrayc@murrayc.com>

	Check for libgtksourceviewmm-1.0. Initialize gtksourceviewmm. Use a

2006-10-19  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Check for libgtksourceviewmm-1.0.
	* glom/main.cc: Initialize gtksourceviewmm.
	* glom/glom.glade: Use a GtkSourceView instead of a TextView for
	calculated fields and the buttons script.
	* glom/layout_item_dialogs/dialog_buttonscript.h:
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.h:
	* glom/mode_design/fields/dialog_fielddefinition.h: Use a GtkSourceView
	instead of a TextView for calculated fields and the buttons script, and
	set the language as python.
	Patch from bug #346896, with much help from Johannes Schmid and
	Dodju Seketeli.

2006-10-19  Murray Cumming  <murrayc@src.gnome.org>

	Marked the branch in the ChangeLog

2006-10-19  Josep Puigdemont i Casamajó  <joseppc@src.gnome.org>

	Updated Catalan translation.

2006-10-18  Murray Cumming  <murrayc@src.gnome.org>

	Increase version

2006-10-18  Murray Cumming  <murrayc@murrayc.com>

	Mark this as an example, so users are asked to save a copy. I think this

2006-10-18  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_film_manager.glom: Mark this as an example, so users are
	asked to save a copy. I think this had example data once too, but it is gone
	now.

2006-10-18  Murray Cumming  <murrayc@murrayc.com>

	Remove warn_about_images() and don't use it in on_button_add_field() and

2006-10-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list.h: Remove warn_about_images()
	and don't use it in on_button_add_field() and on_button_edit_field().
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: Make scale_keeping_ratio() public,
	so we can use it from elsewhere, and check for null pixbufs.
	* glom/utility_widgets/db_adddel/db_adddel.cc: treeviewcolumn_on_cell_data():
	Show pixbufs too, so that Image fields show up in the list view too.

2006-10-18  Murray Cumming  <murrayc@murrayc.com>

	Added field_has_non_unique_values(). change_definition(): If a field is

2006-10-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/box_db_table_definition.h: Added field_has_non_unique_values().
	change_definition(): If a field is being set to primary key,
	use field_has_non_unique_values() to check and warn, to avoid an error from Postgres.
	Bug #362895.

2006-10-17  Murray Cumming  <murrayc@murrayc.com>

	Added forget_layout_record_viewed(). change_definition(): When changing

2006-10-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added forget_layout_record_viewed().
	* glom/mode_design/fields/box_db_table_definition.cc: change_definition(): When
	changing whether a field is the primary key, use forget_layout_record_viewed()
	so that we do not try to use an inappropriate key value with a different field.

2006-10-17  Murray Cumming  <murrayc@murrayc.com>

	Added field_has_null_values(). change_definition(): If a field is being

2006-10-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/box_db_table_definition.h: Added field_has_null_values().
	change_definition(): If a field is being set to primary key,
	use field_has_null_values() to check and warn, to avoid an error from Postgres.
	Bug #362838.

2006-10-16  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-10-15  Francisco Javier F. Serrador  <serrador@openshine.com>

	Updated Spanish translation.

2006-10-15  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.

2006-10-14  Ilkka Tuohela  <ituohela@src.gnome.org>

	Updated Finnish translation

2006-10-13  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2006-10-13  Murray Cumming  <murrayc@murrayc.com>

	on_flowtable_script_button_clicked(): Check whether the current record

2006-10-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: on_flowtable_script_button_clicked():
	Check whether the current record still exists after the script has run,
	and signal that it was deleted if necessary.

2006-10-13  Murray Cumming  <murrayc@murrayc.com>

	load_after_layout_group(): When loading the portal navigation

2006-10-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc: load_after_layout_group(): When
	loading the portal navigation relationship, create the object before passing
	it to load_after_layout_item_usesrelationship(). This should have crashed
	before. Also, pass in the related table name, not the parent table name,
	so that the relationship can be found.

2006-10-13  Murray Cumming  <murrayc@src.gnome.org>

	Commented out some debug output.

2006-10-13  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_edit(): Make sure that the details dialog is transient for the

2006-10-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/box_db_table_definition.cc: on_adddel_edit():
	Make sure that the details dialog is transient for the current window.
	* glom/utility_widgets/dialog_properties.cc: Constructor: Call set_modal(),
	so that these windows are actually usuable when opened from other modal
	windows, such as dialogs. This was a bug that I introduced when I changed the
	base class from Dialog to Window. Fixed now.

2006-10-13  Murray Cumming  <murrayc@murrayc.com>

	Added MimeType entry, so Glom should really be used to open .glom

2006-10-13  Murray Cumming  <murrayc@murrayc.com>

	* glom.desktop.in.in: Added MimeType entry, so Glom should really be used
	to open .glom documents. Thanks to Denis Leroy.

2006-10-12  Johannes Schmid  <jhs@gnome.org>

	Fixed gnome_program_init to use PACKAGE and VERSION instead of

	2006-10-12  Johannes Schmid <jhs@gnome.org>

	* glom/main.cc: Fixed gnome_program_init to use PACKAGE and
	VERSION
	instead of PACKAGE_NAME and PACKAGE_VERSION

	Fixes (#349357) with special thanks to Don Scorgie

2006-10-12  Johannes Schmid  <jhs@gnome.org>

	For Openismus Gmbh (now that it's finally in place ;-)

	2006-10-12  Johannes Schmid <jhs@gnome.org>

	For Openismus Gmbh (now that it's finally in place ;-)

	* docs/user-guide/C/glom.xml:
	Added ids for all dialogs to be filled with a documentation

	* docs/user-guide/Makefile.am:
	* docs/user-guide/glom.omf.in:
	* docs/user-guide/glom-C.omf.in (removed):
	Mostly fixed documentation generation. There is still an issue with
	scrollkeeper but I hope I get this fixed soon.

	* glom/application.cc:
	* glom/base_db.cc:
	* glom/dialog_invalid_data.cc:
	* glom/frame_glom.cc:
	* glom/layout_item_dialogs/dialog_group_by.cc:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/translation/window_translations.cc:
	* glom/utility_widgets/datawidget.cc:
	Use dialog_run_with_help for all dialogs that contain help
	buttons.

	* glom/libglom/utils.h:
	* glim/libglom/utils.c:
	Added Utils::show_help which calls gnome_help_display and does
	some error handling.
	Added Utils::dialog_run_with_help with runs a dialog and return the
	Gtk::Reponse. If the user clicked help the dialog is kept up and a
	help browser is launched.

2006-10-11  Murray Cumming  <murrayc@src.gnome.org>

	Increased version.

2006-10-10  Murray Cumming  <murrayc@murrayc.com>

	Actually implement the record.connection attribute. This is incredibly

2006-10-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/python_embed/py_glom_record.cc: Actually implement the
	record.connection attribute. This is incredibly easy with pyobject_new().
	Added a record.table_name attribute.
	See http://www.glom.org/wiki/index.php?title=Calculated_Fields_API#Using_the_full_pygda_API
	to see the wonderful things this makes possible.

2006-10-09  Daniel Holbach  <daniel.holbach@ubuntu.com>

	Removed the class prefix from the method declaration, to fix the build.

2006-10-09  Daniel Holbach  <daniel.holbach@ubuntu.com>

	* glom/mode_data/dialog_layout_list_related.h: Removed the class prefix from
	the method declaration, to fix the build.

2006-10-09  Murray Cumming  <murrayc@src.gnome.org>

	2006-10-09  Murray Cumming  <murrayc@murrayc.com

	* glom/mode_data/notebook_data.cc: init_db_details(): Do not bother
	checking that the remembered record is in the found set if we are looking
	at all records.

2006-10-08  Murray Cumming  <murrayc@murrayc.com>

	Added get_primary_key_is_in_foundset(). init_db_details(): Do not bother

2006-10-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Added get_primary_key_is_in_foundset().
	* glom/mode_data/notebook_data.cc: init_db_details(): Do not bother
	checking whether the found set has changed, because it has always
	changed when we are navigating to a different table. Therfore, always
	try to view the last-viewed record for the table. But use
	get_primary_key_is_in_foundset() to prevent showing a not-found record
	when doing a find.
	* glom/reports/report_builder.cc: Put parts of the where clause in
	brackets, so that the AND has the desired effect, though I do not know
	of any bug caused by this.

2006-10-08  Murray Cumming  <murrayc@murrayc.com>

	glom_execute_python_function_implementation(): Added Gda::Connection

2006-10-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/python_embed/glom_python.cc:
	* glom/python_embed/glom_python.h:
	glom_execute_python_function_implementation(): Added Gda::Connection parameter,
	which is passed to PyGlomRecord_SetFields().
	* glom/libglom/python_embed/py_glom_record.cc:
	* glom/libglom/python_embed/py_glom_record.h:
	Record_getseters(): Added connection attribute to the python object, so
	that scripts can use the pygda API on the underlying database.
	BUT: This just returns None at the moment.
	PyGlomRecord_SetFields(): Take an extra connection parameter.
	* glom/base_db.cc: calculate_field():
	* glom/layout_item_dialogs/dialog_buttonscript.cc: on_button_test():
	* glom/mode_data/box_data.cc: set_primary_key_value():
	* glom/mode_data/box_data_details.cc: on_flowtable_script_button():
	* glom/mode_design/fields/dialog_fieldcalculation.cc: on_button_test():
	Pass the extra connection parameter when calling
	glom_evaluate_python_function_implementation().

2006-10-08  Murray Cumming  <murrayc@murrayc.com>

	on_flowtable_script_button_clicked(): Refresh the view after the script

2006-10-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: on_flowtable_script_button_clicked():
	Refresh the view after the script has run, in case the script changed the data,
	so we can see the new data.

2006-10-08  Murray Cumming  <murrayc@murrayc.com>

	Related Records layout: Add a Navigation frame, allowing the user to

2006-10-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.h:
	* glom/glom.glade: Related Records layout: Add a Navigation frame,
	allowing the user to choose the default navigation (based on the shown
	fields and whether their tables are hidden, or manually choosing a relationship.
	This is needed when the automatic choice is not appropriate, though it often is.
	* glom/libglom/data_structure/layout/layoutitem_portal.cc:
	* glom/libglom/data_structure/layout/layoutitem_portal.h:
	Added set/get_navigation_relationship_specific().
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Saved the extra portal information.
	* glom/base_db.cc:
	* glom/base_db.h: get_field_is_from_non_hidden_related_record(),
	get_field_identifies_non_hidden_related_record():  Move these here
	from Box_Data_List_Related.
	Added get_portal_navigation_relationship_automatic(),
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h: get_suitable_record_to_view_details():
	Use the specified relationship if appropriate, and reuse the methods used to show
	the automatic navigation choice in the layout dialog.
	* glom/mode_data/dialog_layout.cc:
	* glom/mode_data/dialog_layout.h: Added the make_sensitivity_depend_on_toggle_button()
	convenience method.

2006-10-06  Murray Cumming  <murrayc@murrayc.com>

	Moved value->pixbuf conversion code from here to:

2006-10-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/Makefile.am:
	* glom/utility_widgets/imageglom.cc: Moved value->pixbuf
	conversion code from here to:
	* glom/libglom/data_structure/glomconversions.cc:
	* glom/libglom/data_structure/glomconversions.h:
	* glom/utility_widgets/db_adddel/cellrenderer_button.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_button.h: renamed
	to
	* glom/utility_widgets/db_adddel/cellrenderer_buttonimage.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttonimage.h:
	Added:
	* glom/utility_widgets/db_adddel/cellrenderer_buttontext.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_buttontext.h:

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: add_column() now
	take a LayoutItem rather than only a LayoutItem_Field, so that
	the list can in future show other items, such as buttons.
	* glom/libglom/data_structure/layout/layoutgroup.cc:
	* glom/libglom/data_structure/layout/layoutitem.cc:
	* glom/libglom/data_structure/layout/layoutitem.h:
	* glom/libglom/data_structure/layout/layoutitem_field.cc:
	* glom/libglom/data_structure/layout/layoutitem_field.h:
	* glom/libglom/data_structure/layout/layoutitem_image.h:
	* glom/libglom/data_structure/layout/layoutitem_portal.cc:
	* glom/libglom/data_structure/layout/layoutitem_portal.h:
	* glom/libglom/utils.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h: Adapted.

2006-10-06  Murray Cumming  <murrayc@murrayc.com>

	append_column(): Use set_fixed_width(), followed by set_resizable(),

2006-10-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc: append_column():
	Use set_fixed_width(), followed by set_resizable(), instead of
	set_min_width, so columns can be made smaller too.

2006-10-06  Murray Cumming  <murrayc@murrayc.com>

	build_sql_select_with_where_clause(): Define the first-level relationship

2006-10-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/utils.cc: build_sql_select_with_where_clause():
	Define the first-level relationship (via a LEFT OUTER JOIN) of
	a related relationship, even if no fields from the intermediate
	relationship are shown, to avoid a SQL error and subsequent
	crash.

2006-10-05  Murray Cumming  <murrayc@src.gnome.org>

	Increase version.

2006-10-05  Murray Cumming  <murrayc@murrayc.com>

	cast_*(): Make the new sharedptr share the refcount with the original,

2006-10-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/sharedptr.h: cast_*(): Make the new sharedptr
	share the refcount with the original, avoiding early deletions of
	the object that they share. That was stupid of me.
	* glom/libglom/test_sharedptr_layoutitem.cc: More testing.

2006-10-05  Murray Cumming  <murrayc@src.gnome.org>

	Improve test

2006-10-05  Murray Cumming  <murrayc@murrayc.com>

	Added test.

2006-10-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/Makefile.am:
	* glom/libglom/test_sharedptr_layoutitem.cc: Added test.

2006-10-05  Murray Cumming  <murrayc@murrayc.com>

	add_column(): Do an extra, probably unnecessary, check for a null field

2006-10-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc: add_column(): Do an extra,
	probably unnecessary, check for a null field before dereferencing it.
	construct_specified_columns(): Do not clone the field - just use it.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	get_data_layout_groups_plus_new_fields(): When building a default
	layout, because no layout is defined, store that layout in the
	document (saving it to disk when in developer mode). This fixes a
	dereference of a deleted field, though that should not be necessary
	so I suspect a fundamental sharedptr problem. But luckily, this
	is the correct thing to do anyway, for efficiency, and so that
	layout data is preserved.

2006-10-04  Francisco Javier F. Serrador  <serrador@openshine.com>

	Updated Spanish translation.

2006-10-04  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.

2006-10-03  Murray Cumming  <murrayc@murrayc.com>

	get_table_fields_to_show_for_sequence_add_group(), Do not clone the layout

2006-10-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: get_table_fields_to_show_for_sequence_add_group(),
	Do not clone the layout items - just supply the originals, so that
	we can store some data in them and have that data preserved for next
	time. This should also be more efficient because it does less
	object copying and therefore less memory copying.
	* glom/libglom/data_structure/layout/layoutitem_field.cc:
	* glom/libglom/data_structure/layout/layoutitem_field.h: Added
	get/set_display_width() which is not saved in the document for now.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: add_column() Take a
	non-const layout item, so that we can store the display_width
	in it, in property changed signal for the ViewColumn width
	property. Use any previously set display_width when creating the
	columns.
	This means that columns widths are remembered when navigating
	between tables. Bug #358089 from Peter Williams.

2006-10-03  Ilkka Tuohela  <ituohela@src.gnome.org>

	Updated Finnish translation

2006-10-02  Murray Cumming  <murrayc@murrayc.com>

	get_find_where_clause(): When multiple fields are specified in a Find,

2006-10-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc: get_find_where_clause():
	When multiple fields are specified in a Find, join them together
	in the SQL where clause with AND, instead of just joining them
	together, because that would be an invalid SQL statement. Obviously.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	refresh_from_database(): When the SQL command fails, output it to
	stdcerr, to help debugging.

2006-10-02  Murray Cumming  <murrayc@src.gnome.org>

	Increased version.

2006-10-02  Murray Cumming  <murrayc@murrayc.com>

	string_separate(): Correct an if so that we really check for quoted

2006-10-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/utils.cc: string_separate(): Correct an if so that
	we really check for quoted separators when specified. This fixes a loss
	of rows when adding example data from an example glom file.

2006-09-30  Murray Cumming  <murrayc@murrayc.com>

	Moved get_relationship_exists() here so it can be used from frame_glom.cc.

2006-09-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/dialog_add_related_table.cc:
	* glom/mode_design/dialog_add_related_table.h:
	* glom/base_db.cc:
	* glom/base_db.h: Moved get_relationship_exists() here
	so it can be used from frame_glom.cc.
	* glom/frame_glom.cc: on_dialog_add_related_table_response():
	Check the inputs here instead of in on_response() of the dialog,
	because we can not stop a dialog from finishing. Instead we
	show it again.
	* glom/glom.glade: Change the dialog text slightly.
	* po/POTFILES.in: Mentioned dialog_add_related_table.cc.

2006-09-30  Murray Cumming  <murrayc@murrayc.com>

	Derive from Window instead of Dialog, because that is what it is in the

2006-09-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/dialog_design.cc:
	* glom/mode_design/dialog_design.h: Derive from Window instead
	of Dialog, because that is what it is in the .glade file, and
	that is how it is used.
	* glom/application.cc:
	* glom/base_db.cc:
	* glom/base_db.h: Added create_table_with_default_fields(),
	moving code from box_tables.cc.
	* glom/navigation/box_tables.cc: on_adddel_Add(): Call
	create_table_with_default_fields() to simplify code.
	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Added add_table((),
	so that create_table_with_default_fields() can update the
	document immediately each time.
	* glom/libglom/utils.cc:
	* glom/libglom/utils.h: Added string_remove_prefix().
	* glom/frame_glom.cc:
	* glom/frame_glom.h: Added do_menu_developer_fields() and
	called it from on_menu_developer_fields(), so we can show the
	fields dialog from other places.
	* glom/mode_design/Makefile.am:
	* glom/glom.glade:
	* glom/mode_design/dialog_add_related_table.cc:
	* glom/mode_design/dialog_add_related_table.h:
	Added Tables/Add-Related-Table menu item, to quickly create
	a related table and a relationship to it. Bug #355975.

2006-09-25  Francisco Javier F. Serrador  <serrador@openshine.com>

	Updated Spanish translation.

2006-09-25  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.

2006-09-25  Pawan Chitrakar  <pachimho@src.gnome.org>

	Updated Nepali Translation

2006-09-24  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2006-09-23  Murray Cumming  <murrayc@murrayc.com>

	get_field_identifies_non_hidden_related_record(): Return the relationship

2006-09-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	get_field_identifies_non_hidden_related_record(): Return the relationship
	used by the field, and use this to navigate to the related record
	even if no doubly-related field is show. For instance, this allows
	navigation when showing a product id, but not showing the product
	description.

2006-09-23  Murray Cumming  <murrayc@murrayc.com>

	get_suitable_record_to_view_details(): If the ID is invalid, because no

2006-09-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list_related.cc:
	get_suitable_record_to_view_details(): If the ID is invalid, because
	no such record exists, warn the user with a dialog.
	* glom/utility_widgets/flowtablewithfields.cc:
	on_portal_user_requested_details(): Do not bother signalling further if
	the primary key is empty.

2006-09-23  Murray Cumming  <murrayc@murrayc.com>

	Add show_hints_model(), which shows a single row, with a hint about

2006-09-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: Add show_hints_model(), which
	shows a single row, with a hint about editing the layout of the list or
	related records portal, if no fields have been specified yet.
	Bug #354073 from Peter Williams.

2006-09-23  Murray Cumming  <murrayc@src.gnome.org>

	Comment out some debug output.

2006-09-23  Murray Cumming  <murrayc@murrayc.com>

	Override set_file_uri() to avoid the call to set_modified() triggering a

2006-09-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc:
	* glom/libglom/document/document_glom.h: Override set_file_uri() to avoid
	the call to set_modified() triggering a save of the file to the old filename.
	This is necessary because we override/hack set_modified().

2006-09-23  Murray Cumming  <murrayc@murrayc.com>

	App_Glom::recreate_database(): Add the standard groups after creating the

2006-09-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: App_Glom::recreate_database(): Add the standard groups
	after creating the tables, instead of once for every table. This should be
	more efficient.

2006-09-20  Murray Cumming  <murrayc@murrayc.com>

	Field calculation editor, and button script editor: Mark the label with

	3540732006-09-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: Field calculation editor, and button script editor:
	Mark the label with the first part of the calculation as not for translation.
	Layout editors: Add tooltips to explain what the buttons do.
	This partly addreses bug #354073 from Peter Williams.

2006-09-17  Murray Cumming  <murrayc@murrayc.com>

	Added get_fixed_cell_height(). construct_specified_columns() Use

2006-09-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: Added get_fixed_cell_height().
	construct_specified_columns() Use CellRenderer::set_fixed_size(), using
	get_fixed_cell_height(), which asks Pango how high some example text should
	be. This should prevent multiline rows, and might be necessary for optimization

2006-09-17  Murray Cumming  <murrayc@murrayc.com>

	Field Formatting: For text fields, added a spin button to specify the

2006-09-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/glom.glade: Field Formatting: For text fields, added a
	spin button to specify the number of lines to show.
	* glom/libglom/data_structure/layout/fieldformatting.cc:
	* glom/libglom/data_structure/layout/fieldformatting.h: Added
	get/set_text_format_multiline_height_lines(), which defaults to
	6.
	* glom/layout_item_dialogs/box_formatting.cc:
	* glom/layout_item_dialogs/box_formatting.h:
	enforce_constraints(): Only make the new spin button sensitive
	when the multiline checkbox is checked.
	get/set_formatting(): get/set the new value to interpret and
	present it.
	* glom/libglom/document/document_glom.cc:
	save_before_layout_item_field_formatting(),
	load_after_layout_item_field_formatting(): Handle the new option.
	* glom/utility_widgets/datawidget.cc: Constructor: If the
	field is multiline text, ask pango how high it should be,
	based on the new option.
	* glom/utility_widgets/db_adddel/db_adddel.cc: construct_specified_columns():
	Use an ellipsize on text cells when their text is too long. This will be
	more likely with multiline fields.

2006-09-17  Murray Cumming  <murrayc@src.gnome.org>

	mark branch.

2006-09-15  Ilkka Tuohela  <ituohela@src.gnome.org>

	Updated Finnish translation

2006-09-12  David Lodge  <dave@cirt.net>

	Updated English (British) translation

	2006-09-12  David Lodge <dave@cirt.net>

	* en_GB.po: Updated English (British) translation

2006-09-11  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

2006-09-11  Murray Cumming  <murrayc@murrayc.com>

	Base_DB::create_table(): Quote the field names to avoid a postgres error

2006-09-11  Murray Cumming,  <murrayc@murrayc.com>

	* glom/base_db.cc:  Base_DB::create_table(): Quote the field names to avoid a postgres error when
	creating the table with an id field based on a table name with special characters such as -.

2006-09-10  Murray Cumming  <murrayc@murrayc.com>

	Fixed some validation problems. Add all example files to EXTRA_DIST, to

2006-09-10  Murray Cumming  <murrayc@murrayc.com>

	* docs/user-guide/C/glom.xml: Fixed some validation problems.
	* examples/Makefile.am: Add all example files to EXTRA_DIST, to fix distcheck.

2006-09-10  Murray Cumming  <murrayc@murrayc.com>

	Moved some checks from on_adddel_changed() to check_field_change(), and

2006-09-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/box_db_table_definition.h:
	* glom/mode_design/fields/box_db_table_definition.cc: Moved some checks from on_adddel_changed()
	to check_field_change(), and added a check for an existing primary key, so we can give a nice
	refusal warning to the user instead of a postgres error. This is then used from on_adddel_changed()
	and on_Properties_apply(). Bug #350636.

2006-09-10  Murray Cumming  <murrayc@src.gnome.org>

	Updated version ands NEWS

2006-09-09  Murray Cumming  <murrayc@murrayc.com>

	dialog_connection: Use underline mnemonics for the labels and mark them as

2006-09-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: dialog_connection: Use underline mnemonics for the labels
	and mark them as labels for the entries, for accessibility. Also use an underline
	mnemonic for the Connect button. Bug #349357 from Ryan Paul.

2006-09-09  Fryderyk Dziarmagowski  <freetz@gmx.net>

	Added update-mime-database configure option which sets/unsets

2006-09-09  Fryderyk Dziarmagowski  <freetz@gmx.net>

	* configure.in: Added update-mime-database configure option which sets/unsets UPDATE_MIME_DATABASE.
	* Makefile.am: Do not update the mime database if UPDATE_MIME_DATABASE is not set.
	This is apparently helpful for distro packagers, and other GNOME source tarballs have the same thing.
	Bug #351989.

2006-09-09  Murray Cumming  <murrayc@murrayc.com>

	insert_example_data(): Use the new ignore_quoted_separators option with

2006-09-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: insert_example_data(): Use the new ignore_quoted_separators
	option with Utils::string_separate() so we are not confused by nested newlines.
	And check for newlines in the resulting row so we can ignore those rows as errors.
	* glom/libglom/utils.cc: string_separate(): More efficient implementation when ignoring
	quoted separators, doing less memory copying.

2006-09-09  Murray Cumming  <murrayc@src.gnome.org>

	revert changes that I did not mean to commit yet.

2006-09-09  Johannes Schmid  <jhs@gnome.org>

	DataWidget::on_button_choose_date(): Fixed #349359 (Dates added with the

	2006-09-08  Johannes Schmid <jhs@gnome.org>

	* glom/utility_widgets/datawidget.cc: DataWidget::on_button_choose_date():
	Fixed #349359 (Dates added with the calendar dialog are not preserved), by
	emitting the edited signal.

2006-08-17  Murray Cumming  <murrayc@murrayc.com>

	separate_strings(): Added optional ignore_quoted_separators bool

2006-08-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/utils.cc:
	* glom/libglom/utils.h: separate_strings(): Added optional
	ignore_quoted_separators bool parameter. Added incredibly slow
	implementation, allowing us to handle example_rows data with
	newlines in text data. This is necessary because the newlines are also
	used to separate the field values. This is really slow and must be
	improved.

2006-08-16  Gabor Kelemen  <kelemeng@gnome.hu>

	Translation updated.

2006-08-16  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated.

2006-08-15  Murray Cumming  <murrayc@murrayc.com>

	on_button_new(): Do not dereference a null field, to avoid crashing when

2006-08-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: on_button_new(): Do not
	dereference a null field, to avoid crashing when adding a record when
	there is no primary key.

2006-08-15  Murray Cumming  <murrayc@murrayc.com>

	Frame_Glom::create_database(): When Gda::Connection::create_database()

2006-08-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: Frame_Glom::create_database():
	When Gda::Connection::create_database() fails, output a more exact
	error message for debugging. Added comment mentioning that,
	when this fails, it might be due to installation of the unstable
	libgda, which might not do a completely parallel install.

2006-08-05  Nguyen Thai Ngoc Duy  <pclouds@src.gnome.org>

	Fixed spelling

2006-08-03  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation.

2006-08-03  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

2006-07-07  Murray Cumming  <murrayc@src.gnome.org>

	Added examples screenshots.

2006-07-05  Murray Cumming  <murrayc@src.gnome.org>

	Put some sample data in this example.

2006-06-25  Murray Cumming  <murrayc@murrayc.com>

	App_Glom::App_Glom(): Catch the exception if the icon file is not found,

	2006-06-25  Murray Cumming <murrayc@murrayc.com>

	* glom/application.cc: App_Glom::App_Glom(): Catch the exception if
	the icon file is not found, though it will not happen if Glom is
	properly installed.
	* glom/frame_glom.cc: create_database(): Print a debug message if
	this fails, as well as showing the dialog.
	* icons/glom_icon_large.png: Updated.

2006-06-22  Murray Cumming  <murrayc@murrayc.com>

	Added a new simple example.

	2006-06-22  Murray Cumming <murrayc@murrayc.com>

	* examples/Makefile.am:
	* examples/example_music_collection.glom: Added a new simple example.

2006-06-21  Murray Cumming  <murrayc@src.gnome.org>

	Added half-done patch.

2006-06-21  Murray Cumming  <murrayc@murrayc.com>

	Added screenshots for use in the user guide. Updated. Added Calculated

	2006-06-21  Murray Cumming <murrayc@murrayc.com>

	* docs/user-guide/C/figures/glom_design_fields.png:
	* docs/user-guide/C/figures/glom_design_fields_dialog_calculated.pn
	g: Added screenshots for use in the user guide.
	* docs/user-guide/C/figures/start.png: Updated.
	* docs/user-guide/C/glom.xml: Added Calculated Fields appendix, based
	on the content in the Wiki.

2006-06-20  Murray Cumming  <murrayc@murrayc.com>

	Hmm, now gnome-doc-utils.make _does_ seem to be being autogenerated, by

2006-06-20  Murray Cumming  <murrayc@murrayc.com>

	* gnome-doc-utils.make: Hmm, now gnome-doc-utils.make _does_ seem
	to be being autogenerated, by gnome-doc-prepare --force.
	So I removed it from cvs again. Bug #345458.

2006-06-20  Murray Cumming  <murrayc@murrayc.com>

	Fixed typo to fix the build. Added some tables and relationships and

2006-06-20  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Fixed typo to fix the build.
	* examples/example_project_manager.glom: Added some tables and
	relationships and related records portals.

2006-06-19  Murray Cumming  <murrayc@murrayc.com>

	Restore this file, because it does not in fact seem to be autogenerated by

2006-06-19  Murray Cumming  <murrayc@murrayc.com>

	* gnome-doc-utils.make: Restore this file, because it does
	not in fact seem to be autogenerated by anything.
	* configure.in: Added AM_CONDITIONAL for SK_ENABLE, needed by the
	new (copied from gnome-doc-utls) version of gnome-doc-utils.make.
	* examples/Makefile.am:
	* examples/example_film_manager.glom:
	* examples/example_project_manager.glom: Added new examples.
	The project manager one is not started yet.

2006-06-15  Murray Cumming  <murrayc@murrayc.com>

	Removed old test patch from cvs. Removed generated file from cvs.

2006-06-15  Murray Cumming  <murrayc@murrayc.com>

	* add1000.patch: Removed old test patch from cvs.
	* gnome-doc-utils.make: Removed generated file from cvs.

2006-06-14  Elijah Newren  <newren gmail com>

	Fix unused variable warnings. #344815

2006-06-14  Elijah Newren  <newren gmail com>

	* glom/base_db.cc:
	* glom/combobox_relationship.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/reports/report_builder.cc:
	* glom/utility_widgets/comboglom.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	Fix unused variable warnings.  #344815

2006-06-14  Elijah Newren  <newren gmail com>

	Don't hardcode for autoheader2.50 and autoconf2.50 especially since it

2006-06-14  Elijah Newren  <newren gmail com>

	* autogen.sh: Don't hardcode for autoheader2.50 and autoconf2.50
	especially since it works with newer versions too.  #344807.

2006-06-05  Gabor Kelemen  <kelemeng@gnome.hu>

	Added hu to ALL_LINGUAS.

2006-06-05  Gabor Kelemen  <kelemeng@gnome.hu>

	* configure.in: Added hu to ALL_LINGUAS.

2006-06-05  Gabor Kelemen  <kelemeng@gnome.hu>

	Translation added.

2006-06-05  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation added.

2006-05-29  Kjartan Maraas  <kmaraas@gnome.org>

	Added nb to ALL_LINGUAS.

2006-05-29  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Added nb to ALL_LINGUAS.

2006-05-29  Kjartan Maraas  <kmaraas@gnome.org>

	Updated Norwegian bokmål translation.

2006-05-29  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

2006-05-27  Murray Cumming  <murrayc@murrayc.com>

	GlomUtils to Glom::Utils. GlomConversions to Glom::Conversions. GlomPrivs

2006-05-27  Murray Cumming  <murrayc@murrayc.com>

	* Changed namespaces:
	GlomUtils to Glom::Utils.
	GlomConversions to Glom::Conversions.
	GlomPrivs to Glom::Privs.

2006-05-27  Murray Cumming  <murrayc@murrayc.com>

	Almost all files: Put everthing in the Glom namespace.

2006-05-27  Murray Cumming  <murrayc@murrayc.com>

	Almost all files: Put everthing in the Glom namespace.

2006-05-26  Murray Cumming  <murrayc@murrayc.com>

	Moved static methods from Base_DB to GlomPrivs, GlomPostgres and

2006-05-26  Murray Cumming  <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/application.cc:
	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/frame_glom.cc:
	* glom/glom_postgres.cc:
	* glom/glom_postgres.h:
	* glom/glom_privs.cc:
	* glom/glom_privs.h:
	* glom/libglom/utils.cc:
	* glom/libglom/utils.h:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/navigation/box_tables.cc: Moved static methods from
	Base_DB to GlomPrivs, GlomPostgres and GlomUtils.

2006-05-26  Murray Cumming  <murrayc@murrayc.com>

	Moved Base_DB::postgres_*() methods into Glom_Postgres class which has

2006-05-26  Murray Cumming  <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/glom_postgres.cc:
	* glom/glom_postgres.h:
	* glom/mode_design/fields/box_db_table_definition.cc: Moved
	Base_DB::postgres_*() methods into Glom_Postgres class which has
	only static methods. Just to keep things separate.

2006-05-25  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	Moved the Base_DB::report_*() methods into a ReportBuilder object and use

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/frame_glom.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/reports/Makefile.am:
	* glom/reports/report_builder.cc:
	* glom/reports/report_builder.h: Moved the Base_DB::report_*()
	methods into a ReportBuilder object and use an instantiation of
	that object wherever we would call report_builder. This is a start on
	reducing the insane size of base_db.[h|cc].

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	Contacts reports: Restore the group-by fields. I wonder why these were

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom: Contacts reports: Restore the
	group-by fields. I wonder why these were lost.

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: report_build(): Try to catch the exception here,
	but it still crashes if there is a SQL error during report building.

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	report_build_records(): Add a space before LIMIT, to avoid it ever

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: report_build_records(): Add a space before LIMIT,
	to avoid it ever clashing with the ASC before it.

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	Use IT_PROG_INTLTOOL instead of AC_PROG_INTLTOOL for intltool. It is

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Use IT_PROG_INTLTOOL instead of AC_PROG_INTLTOOL
	for intltool. It is apparently the new way.

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	Remove the .png extension from the icon name, as advised by

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	* glom.desktop.in.in: Remove the .png extension from the
	icon name, as advised by http://live.gnome.org/GnomeGoals/AppIcon .
	* glom/mode_design/fields/dialog_fieldcalculation.cc: Remove the [?]
	* icons/Makefile.am: Add EXTRA_DIST stuff to fix distcheck
	from the list of dependent relationships. It looks like an errror.

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	Removed. We use the stuff in icons/ instead.

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	* Makefile.am:
	* configure.in:
	* glom.png: Removed. We use the stuff in icons/ instead.
	* icons/Makefile.am:
	* icons/glom.png:
	* icons/glom.svg:
	* icons/glom_icon_large.png:
	* logo/glom_icon.png:
	* logo/glom_icon.svg:
	* logo/glom_icon.xcf:
	* logo/glom_icon_large.png: Moved files from logo/ to icons/ and
	used the Makefile snippet from
	http://live.gnome.org/GnomeGoals/AppIcon .
	Among other things, this means that the scalable icon is installed.
	glom.svg: I increased the size of the window shape and removed the
	database-cylinder shadow to prevent wasted space.
	glom.png was regenerated from the svg.

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	Change canvas size to 480x480, so I can use 10px sizes that will be 1px in

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	* logo/glom_icon.svg: Change canvas size to 480x480, so I can use 10px sizes
	that will be 1px in the 48x48px icon.

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	Use the Tango color palette, though there is surely more to do to make it

2006-05-21  Murray Cumming  <murrayc@murrayc.com>

	* logo/glom_icon.svg: Use the Tango color palette, though there is surely more
	to do to make it a tango icon.

2006-05-20  Murray Cumming  <murrayc@murrayc.com>

	refresh_from_database(): Handle Gda exceptions here so we can fail a bit

2006-05-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: refresh_from_database():
	Handle Gda exceptions here so we can fail a bit more gracefully.

2006-05-20  Murray Cumming  <murrayc@murrayc.com>

	get_calculation_fields(): Check the relationships used by the calculation.

2006-05-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_calculation_fields(): Check the relationships used by the
	calculation. If a relationship is used, report that the from-field should trigger the
	calculation.
	This did not actually need the big changes below, though they might be useful some
	time.

2006-05-20  Murray Cumming  <murrayc@murrayc.com>

	Added predicate_LayoutItemIsEqual class for std::find_if.

2006-05-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Added predicate_LayoutItemIsEqual class for std::find_if.
	calculate_field(), set_field_value_in_database(), get_field_value_in_database(),
	do_calculations(), get_calculated_fields(), get_calculation_fields(),
	do_lookups(), refresh_related_fields(): Deal in LayoutItem_Field rather than Field,
	so we can trigger recalculations from related fields.
	Added LayoutFieldInRecord to replace FieldInRecord in most places. It preserves the
	parent table information.
	* glom/libglom/utils.cc:
	* glom/libglom/utils.h: Added build_sql_select_with_where_clause() and
	build_sql_select_with_key() that takes lists of non-const LayoutItems. This is
	annoying, but better than removing const from everywhere else.
	* 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_design/fields/dialog_fieldcalculation.cc: Adapted to API changes.

2006-05-20  Murray Cumming  <murrayc@murrayc.com>

	Rename get_record_field_values() to

2006-05-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Rename get_record_field_values() to
	get_record_field_values_for_calculation() to make things clearer.
	* glom/libglom/python_embed/py_glom_related.cc: Related_tp_as_mapping_getitem():
	Leave key_value_sqlized as empty if there is no key value to find related records.
	* glom/libglom/python_embed/py_glom_relatedrecord.cc:
	PyGlomRelatedRecord_SetRelationship(): Leave key_value_sqlized as null if there is
	no key value to find related records.
	RelatedRecord_generic_aggregate(), RelatedRecord_tp_as_mapping_getitem(): Do not
	try to get related records if the key is empty. This then returns a Py_None when
	the python calculation tries to get related records. It could test for it, or just
	let the error cause an overall Py_None return result.
	* glom/python_embed/glom_python.cc: glom_execute_python_function_implementation:
	Check whether the result is Py_None. If it
	is then return a suitable empty value, instead of converting it to a string.
	* glom/libglom/data_structure/glomconversions.cc:
	* glom/libglom/data_structure/glomconversions.h:
	Remove get_empty_value_suitable_for_python().
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc: Use get_empty_value() instead of
	get_empty_value_suitable_for_python() because the python calculations
	(and our code for getting related records from python) do need to know whether non-text
	fields are empty.

2006-05-19  Murray Cumming  <murrayc@murrayc.com>

	Added virtual set_primary_key_value(), so that record_new() can set the

2006-05-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h: Added virtual set_primary_key_value(),
	so that record_new() can set the primary key as soon as it has been
	set in the database.
	record_new(): Take a row iterator, so we can update the list row.
	After inserting the record, set the primary key value,
	and do lookups and refresh-related so that the other row fields update.
	Return the datamodel.
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h: Override set_primary_key_value()
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h: Override set_primary_key_value().
	on_adddel_user_added(): Provide the row iterator to record_new() and to
	on_record_added().
	on_record_added(): Take the row iterator
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h: on_record_added(): Take the row iterator,
	to avoid a slow lookup to discover it.

2006-05-15  Murray Cumming  <murrayc@murrayc.com>

	Use specific versions of aclocal, autoheader, autoconf, and automake,

2006-05-15  Murray Cumming  <murrayc@murrayc.com>

	* autogen.sh: Use specific versions of aclocal, autoheader, autoconf, and automake,
	because the default version on Ubuntu Dapper (and probably Debian) does not have
	AM_PATH_PYTHON(). This should help people not using jhbuild, though I guess it might
	make life worse for others if those versioned executables are not present. Tell me if
	it is a problem.

2006-05-07  Murray Cumming  <murrayc@murrayc.com>

	connect(): Attempt the connection on both port 5433 and 5432, to make life

2006-05-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/connectionpool.cc:
	* glom/libglom/connectionpool.h: connect(): Attempt the connection on both
	port 5433 and 5432, to make life easier for Ubuntu Dapper users, because it
	defaults postgres 8.1 to port 5433. Bug #340836 from Paul Schulz.

2006-05-07  Murray Cumming  <murrayc@murrayc.com>

	Invoices: Mark the invoice lines relationship as allowing editing, so that

2006-05-07  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom: Invoices: Mark the invoice lines relationship as allowing
	editing, so that people can actually edit the invoice lines portal. Bug #340919 from Hendrik Richter.

2006-05-07  Murray Cumming  <murrayc@murrayc.com>

	refresh_from_database(): Check for a null m_primary_key_field, to prevent

2006-05-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: refresh_from_database(): Check for a null m_primary_key_field,
	to prevent a crash when editing the fields so that no field is a primary key.

2006-05-07  Murray Cumming  <murrayc@murrayc.com>

	Added clone() methods, though we do not use them yet. operator==() check

2006-05-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/data_structure/relationship.cc:
	* glom/libglom/data_structure/relationship.h: Added clone() methods, though we do not use them
	yet.
	* glom/libglom/sharedptr.h: operator==() check for equality, though this did not stop the crash.
	* glom/mode_data/dialog_choose_relationship.cc: select_item(): If the relationship is null,
	unselect all items.
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h: offer_relationship_list(): Optionally take the current
	relationship as a parameter so that the current one is highlighted in the dialog. Just change the
	existing portal, instead of setting the portal in the model row, because this causes some kind of
	memory management confusion that caused a crash, and it is inefficient anyway. Bug #340888 from
	Hendrik Richter.
	Call row_changed() to tell the TreeView to update the display.

2006-05-06  Ilkka Tuohela  <ituohela@src.gnome.org>

	Updated Finnish translation

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	get_fields_for_table_from_database(): Report all primary keys are also

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: get_fields_for_table_from_database(): Report all primary keys are also
	being unique, because they all must be.
	postgres_change_column_extras(): When changing whether a field is a primary key, deal with
	the fact that the uniqueness was a side-effect of it being a primary key, and do not try
	to add/drop a non-existant uniqueness constraint, or specify uniqueness with both constraints.
	Also, use the correct postgres SQL syntax  for setting/unsetting whether a field is a primary
	key. It is very postgres specific.
	Return a modified version of the field definition, so that callers can display the new
	field definition correctly, so the constraints can be witnessed by the user.
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/box_db_table_definition.h: on_adddel_changed(): Update the row to
	show any constraints enforced when changing the field definition. This makes primary keys always
	unique and unchecks unique when it removes primary key, though uniquness can then be specified
	separately.
	* glom/mode_data/box_data_list.cc: get_record_counts(): Avoid a segfault when the model is
	null, which happens at the moment when there is no primary key.

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	postgres_change_column_extras(): Really set/unset the uniqueness

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: postgres_change_column_extras(): Really set/unset the uniqueness
	constraint. This is very Postgres specific. We should do this with libgda one day, if it
	can do it.

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	Put some stuff in LIBADD instead of LDFLAGS. This seems to work, and seems

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/python_embed/python_module/Makefile.am: Put some stuff in LIBADD instead of LDFLAGS.
	This seems to work, and seems to be necessary on cygwin. Bug #338844 from
	Yselkowitz.

2006-05-05  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	on_button_press_event_Popup(): Do not edit on double-click because it is

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/adddel.cc: on_button_press_event_Popup(): Do not edit
	on double-click because it is annoying/confusing when the cells are editable on
	single click as well. This affects the table list, and the field list, all of which
	have a separate Open/Edit button.

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/Makefile.am: Put everything in LIBADD instead of some in LDFLAGS.
	This seems to work, and seems to be necessary on cygwin. Bug #338844 from
	Yselkowitz.

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	Define ACLOCAL_AMFLAGS so that autoreconf works. Bug #338844 from

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	* Makefile.am: Define ACLOCAL_AMFLAGS so that autoreconf works. Bug #338844 from
	Yselkowitz.

2006-05-05  Murray Cumming  <murrayc@src.gnome.org>

	tiny whitespace change.

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	Do not make notebook tab titles bold. It gets annoying when there are many

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtablewithfields.cc: Do not make notebook tab titles bold. It gets
	annoying when there are many tabs, and is not that helpful, as well as being non-HIG.

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	Do not put the labels in Gtk::Alignments. They are not necessary. This

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h: Do not put the labels in Gtk::Alignments.
	They are not necessary. This should save a little memory and speed.

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	on_size_allocate(): Give the full max first-item width to first items,

2006-05-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h: on_size_allocate(): Give the full max first-item width to
	first items, instead of just what they request, so that labels can expand and align in the
	actually-available space, so that xalign is useful.
	* glom/utility_widgets/flowtablewithfields.cc: add_field_at_position():
	Use label xalign and yalign instead of the Gtk::Aligment alignment, because it is not
	needed. Align labels left, though I previously was trying to align them right. Right alignment
	is untidy when using groups, because the entries do not line up across groups, and that would be
	very difficult to implement. The vertical alignment of labels seems to be neater now.

2006-04-30  Murray Cumming  <murrayc@murrayc.com>

	show_table(): init_db_details(): Added optional

2006-04-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc:
	* glom/frame_glom.h: show_table(): init_db_details(): Added optional primary_key_value_for_details
	parameter. Pass it to show_table().
	on_notebook_data_record_details_requested(): Pass the primary key value to show_table() instead of
	calling show_details() afterwards, so that Glom does not show intermediate layouts.
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h: Added optional primary_key_value_for_details parameter and
	show the details layout with this record when it is specified.

2006-04-29  Murray Cumming  <murrayc@src.gnome.org>

	Removed some debug output.

2006-04-29  Murray Cumming  <murrayc@murrayc.com>

	Changes select_item() to take a LayoutItem_Field instead of an index, to

2006-04-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	* glom/mode_data/notebook_data.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc: Changes select_item() to
	take a LayoutItem_Field instead of an index, to simplify things.
	get_view_column_index(): Take the button column into account, so that, for instance,
	clicking Add on the list view doesn't sometimes activate the button, taking us to the
	details view instead.

2006-04-29  Murray Cumming  <murrayc@murrayc.com>

	regexxered some method names to all lowercase.

2006-04-29  Murray Cumming  <murrayc@murrayc.com>

	* regexxered some method names to all lowercase.

2006-04-29  Murray Cumming  <murrayc@murrayc.com>

	Added check_entered_value_for_uniqueness() and get_field_value_is_unique()

2006-04-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Added check_entered_value_for_uniqueness()
	and get_field_value_is_unique() and get_field_value_in_database().
	set_entered_field_data(): Catch exceptions here, and return false, so that the
	caller can handle errors more easily and more immediately.
	* glom/mode_data/box_data_details.cc: on_flowtable_field_edited():
	* glom/mode_data/box_data_list.cc: on_adddel_user_added(), on_adddel_user_changed():
	Warn the user if the new value would not be unique, if it needs to be. This adds a new
	translatable string, but the new string replaces an untranslated error message from
	Postgres.

2006-04-28  Murray Cumming  <murrayc@src.gnome.org>

	Increased version.

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	on_notebook_find_criteria(): Show a busy cursor while waiting for the

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc:  on_notebook_find_criteria(): Show a busy cursor while waiting
	for the results.
	on_menu_Mode_Find(): Show a busy cursor while showing the appropriate view, because it
	takes a long time to do that, unfortunately.

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	add_layout_notebook_at_position(): Use add_layoutwidgetbase(portal) so

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtablewithfields.cc: add_layout_notebook_at_position():
	Use add_layoutwidgetbase(portal) so that we connect signals, so that we save portal
	layout changes to the document.

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	handle_error(): handle_error(): Print more detailed information about

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: handle_error():
	* glom/libglom/connectionpool.cc: handle_error(): Print more detailed information about
	exceptions to stderr.

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	refresh_from_database(): Return false if the query returns no records, so

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: refresh_from_database():
	Return false if the query returns no records, so that on_notebook_find_criteria()
	can offer a new find if none are found.
	* glom/application.cc: set_mode_find(): Actually activate the find action, not the
	data action, so that a second find really works.

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	on_button_field_formatting(): Set m_modified so that the new formatting is

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_details.cc: on_button_field_formatting():
	Set m_modified so that the new formatting is actually used.

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	on_datawidget_layout_item_added(): Add a LayoutItem to the LayoutGroup of

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtablewithfields.cc: on_datawidget_layout_item_added():
	Add a LayoutItem to the LayoutGroup of the flowtable, which is shared with the document,
	and just let the parent rebuild the layout, instead of adding the actual widget here,
	and expecting the parent to read layout from that. This makes right-click adding work
	again.

2006-04-28  Murray Cumming  <murrayc@src.gnome.org>

	finally finished.

2006-04-28  Murray Cumming  <murrayc@src.gnome.org>

	more missing files.

2006-04-28  Murray Cumming  <murrayc@src.gnome.org>

	Added missing files.

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	Moved data_structure, document, and part of python_embed directories into

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom/Makefile.am:
	* po/POTFILES.in:
	* many files: Moved data_structure, document, and part of python_embed directories
	into libglom, so that the glom python module does not need to use symbols in the
	glom executable, because this is not allowed in cygwin, using --no-undefined.
	In future, this can be used as public API to make the document/database structure
	available to separate utilities and a web UI.

2006-04-28  Murray Cumming  <murrayc@src.gnome.org>

	restored files.

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	Moved data_structure, document, and part of python_embed directories into

2006-04-28  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom/Makefile.am:
	* po/POTFILES.in:
	* many files: Moved data_structure, document, and part of python_embed directories
	into libglom, so that the glom python module does not need to use symbols in the
	glom executable, because this is not allowed in cygwin, using --no-undefined.
	In future, this can be used as public API to make the document/database structure
	available to separate utilities and a web UI.

2006-04-27  Murray Cumming  <murrayc@murrayc.com>

	get_type_name_ui(): Actually return the translated string instead of the

2006-04-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/field.cc: get_type_name_ui(): Actually return
	the translated string instead of the string for SQL. This prevents an error+crash
	when adding a field in any locale that has been translated. Kind of important.

2006-04-27  Murray Cumming  <murrayc@murrayc.com>

	Moved these dialog classes into the layout_item_dialogs/ directory where

2006-04-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/layout_item_dialogs/Makefile.am:
	* glom/layout_item_dialogs/dialog_buttonscript.cc:
	* glom/layout_item_dialogs/dialog_buttonscript.h:
	* glom/layout_item_dialogs/dialog_textobject.cc:
	* glom/layout_item_dialogs/dialog_textobject.h:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_design/Makefile.am:
	* glom/mode_design/dialog_buttonscript.cc:
	* glom/mode_design/dialog_buttonscript.h:
	* glom/mode_design/dialog_textobject.cc:
	* glom/mode_design/dialog_textobject.h: Moved these dialog classes into
	the layout_item_dialogs/ directory where they belong.

2006-04-26  Murray Cumming  <murrayc@murrayc.com>

	on_box_find_criteria: Set the table name in the FoundSet, so that the

2006-04-26  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/dialog_choose_id.cc: on_box_find_criteria:
	Set the table name in the FoundSet, so that the init_db_details() can succeed,
	and not falsely say that there are no results.

2006-04-25  Murray Cumming  <murrayc@murrayc.com>

	Use memset to zero the tm structures, to fix a build problem with cygwin.

2006-04-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc: Use memset to zero the tm structures,
	to fix a build problem with cygwin. Bug #338844 from Yselkowitz.

2006-04-23  Murray Cumming  <murrayc@murrayc.com>

	1.0.2:

2006-04-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/Makefile.am:
	* glom/glom.glade:
	* glom/utility_widgets/dialog_choose_date.cc:
	* glom/utility_widgets/dialog_choose_date.h: New dialog, for choosing a date
	from a calendar.
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h: Constructor: Add a ... button next to
	dates so people can choose the date from a calendar. This might help to give clues
	about a strange locale bug that someone is experiencing with date fields.

	1.0.1:

2006-04-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: add_standard_groups(): Do not grant developer access to a
	table if the table does not exist yet. This avoids the failure during the first
	creation of the first example (though a second try worked.)

2006-04-14  Ilkka Tuohela  <ituohela@src.gnome.org>

	Updated Finnish translation

2006-04-10  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-04-01  Murray Cumming  <murrayc@murrayc.com>

	Added get_table_names(), using get_tables().

2006-04-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Added get_table_names(), using get_tables().
	* glom/base_db.cc:
	* glom/base_db.h: Renamed get_table_names() to get_table_names_from_database(),
	to be more explicit.
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/navigation/box_tables.cc: Call the appropriate get_table_names*(), so we
	never show table names that are not in the document, because that usually leads to
	problems later.

2006-04-01  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_Add(): If the table exists on the server, then try to reuse it

2006-04-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/navigation/box_tables.cc: on_adddel_Add(): If the table exists on the server,
	then try to reuse it and store it in the document. This should never happen, but it
	was just useful to me when I lost a more recent copy of my .glom document. It adds a
	translatable string, but users should never see this dialog anyway.

2006-03-30  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-03-28  Murray Cumming  <murrayc@murrayc.com>

	1.0.0:

2006-03-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list_related.cc: get_fields_to_show() Really make fields
	non-editable if the relationship does not allow editing.

2006-03-28  Murray Cumming  <murrayc@murrayc.com>

	load_from_document(): Use localhost if the host name is empty.

2006-03-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_connection.cc: load_from_document(): Use localhost if the host name is
	empty.
	* glom/frame_glom.cc: connection_request_password_and_choose_new_database_name():
	Store the successfully-used entered server host name in the document, so it is the
	default when the document is reopened.

2006-03-28  Murray Cumming  <murrayc@murrayc.com>

	Call set_field_value_in_database() with the optional

2006-03-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc: Call set_field_value_in_database() with the optional
	use_current_calculations value instead of mistakenly casting the window pointer to bool.

2006-03-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade: window_layout_report:
	* glom/reports/dialog_layout_report.cc:
	* glom/reports/dialog_layout_report.h: Add a show_table_title checkbutton, because the
	table title is sometimes superfluous.
	* glom/document/document_glom.cc: load_after(), save_before(): load and save
	the new report property.
	* glom/base_db.cc: build_report(): Put show_table_title in the xml.
	* xslt/print_report_to_html.xsl: Interepret show_table_title in the xml.
	* glom/data_structure/report.cc:
	* glom/data_structure/report.h: Added get/set_show_table_title().

2006-03-27  Murray Cumming  <murrayc@murrayc.com>

	Use TreeView::set_fixed_height_mode() and

2006-03-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc: Use TreeView::set_fixed_height_mode() and
	TreeViewColumn::set_fixed_width(), so that the TreeView does not request values that are
	not visible in the scrolled window. If libgda does things properly then this should mean
	that we do not get data from the database that we never see.

2006-03-27  Murray Cumming  <murrayc@src.gnome.org>

	Added a patch for hacking.

2006-03-27  Murray Cumming  <murrayc@murrayc.com>

	Added get_suitable_record_to_view_details() and

2006-03-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h: Added get_suitable_record_to_view_details()
	and get_has_suitable_record_to_view_details() so that the row button can go to a
	doubly-related record if the related table is hidden, based on the first related field
	in the portal.
	* glom/utility_widgets/flowtablewithfields.cc: on_portal_user_requested_details():
	If the related table is hidden, use get_has_suitable_record_to_view_details() instead.

2006-03-27  Murray Cumming  <murrayc@murrayc.com>

	create_related(): Connect to signals here, instead of from the caller.

2006-03-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtablewithfields.cc: create_related(): Connect to signals
	here, instead of from the caller. This makes the row details button work in Notebooks.

2006-03-27  Murray Cumming  <murrayc@murrayc.com>

	get_table_fields(): Hide the hidden system field, though it should never

2006-03-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	get_table_fields(): Hide the hidden system field, though it
	should never be in the document anyay.
	Added set_parent_window() so that the load/save methods can
	show a busy cursor, though this does not work yet.
	* glom/application.cc: init_create_document(): Call set_parent_window() on
	the document.
	* glom/standard_table_prefs_fields.h:
	Added GLOM_STANDARD_FIELD_LOCK - a hidden system field for
	each table, not used yet.
	* glom/base_db.h: get_fields_for_table_from_database():
	Optionally hide the hidden system field.
	* glom/base_db.cc: connect_to_server(), Query_Execute(): Added optional
	parent_window parameter, so they can show the busy cursor.
	* glom/box_db_table.cc:
	* glom/dialog_connection.cc:
	* glom/dialog_database_preferences.cc:
	* glom/frame_glom.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/navigation/box_tables.cc: Use the new parameters to show busy cursors.
	* glom/utility_widgets/db_adddel/db_adddel.cc: treeview_append_column():
	Escape underlines in column titles so that they are not interpreted as
	mnemmonics.
	* po/POTFILES.in: Added missing file.

2006-03-25  Murray Cumming  <murrayc@murrayc.com>

	Depend on latest Bakery, for BusyCursor API addition.

2006-03-25  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Depend on latest Bakery, for BusyCursor API addition.
	* glom/application.cc:
	* glom/base_db.cc:
	* glom/box_reports.cc:
	* glom/dialog_connection.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_list_find.cc:
	* glom/navigation/box_tables.cc: Correct the BusyCursor
	declarations so that they actually instantiate an object, so that they
	work.

2006-03-25  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2006-03-25  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2006-03-25  Murray Cumming  <murrayc@murrayc.com>

	offer_new_or_existing(): If creation of a new database fails, offer again.

2006-03-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: offer_new_or_existing(): If creation of a new database
	fails, offer again.
	* glom/frame_glom.cc: create_database(): Warn the user if creation failed.

2006-03-25  Murray Cumming  <murrayc@murrayc.com>

	set_table_privileges(): When granting create privileges, make sure to also

2006-03-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: set_table_privileges(): When granting
	create privileges, make sure to also grant edit privileges in the
	hidden autoincrement table.
	add_standard_groups(): Give them access to the standard prefs table too.
	auto_increment_insert_first_if_necessary(): Check that the user is allowed
	to edit the autoincrement table, and warn the user about this serious error if not.
	get_database_prefefrences(): Check that the user is allowed to view this table.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Added create_table_system_preferences() with
	no arguments.
	get_tables(): Added optional plus_system_prefs boolean.
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_groups_list.h: Show the table title instead of the
	name, and show the system prefs table too.
	on_button_group_new(): Grant access to the autoincrements table too.

2006-03-24  Murray Cumming  <murrayc@murrayc.com>

	fill_group_list(): Avoid a warning when using selection on a treeview with

2006-03-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/users/dialog_groups_list.cc: fill_group_list():
	Avoid a warning when using selection on a treeview with no model yet.

2006-03-24  Murray Cumming  <murrayc@murrayc.com>

	get_database_users():

2006-03-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_database_users():
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/utils.cc: build_sql_select_with_where_clause():
	Quote the table, group, and user names, because they otherwise fail
	when using reserved names, such as cast.

2006-03-24  Murray Cumming  <murrayc@murrayc.com>

	Pass sort_clause as a list of LayoutItem_Fields, so that

2006-03-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/data_structure/layout/report_parts/layoutitem_groupby.h:
	* glom/frame_glom.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utils.cc:
	* glom/utils.h: Pass sort_clause as a list of
	LayoutItem_Fields, so that build_sql_select_with_where_clause() can define
	the relationships used by the sort clause.
	* glom/data_structure/layout/usesrelationship.cc:
	* glom/data_structure/layout/usesrelationship.h:
	get_sql_join_alias_definition(): Put quotes around the relationship names, in
	some places where I forgot to do that.

2006-03-24  Peter Williams  <peter@newton.cx>

	Remove Frame_Glom:: from the

2006-03-24  Peter Williams  <peter@newton.cx>

	* glom/frame_glom.h: Remove Frame_Glom:: from the
	connection_request_password_and_choose_new_database_name() declaration,
	to fix the build with g++ 4.1 (in Fedora Core 5).

2006-03-23  Murray Cumming  <murrayc@murrayc.com>

	Call set_icon_from_file() so that metacity shows the Glom icon in various

2006-03-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/application.cc: Call set_icon_from_file() so that metacity
	shows the Glom icon in various places.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: Connect to the clicked
	signal of the TreeViewColumns, and change the sort order accordingly.

2006-03-23  Murray Cumming  <murrayc@murrayc.com>

	Added FoundSet class, instead of passing table_name, where_clause, and

2006-03-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Added FoundSet class, instead of
	passing table_name, where_clause, and sort_clause
	around separately.
	* glom/application.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h:
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_list_find.cc:
	* glom/mode_find/box_data_list_find.h:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	* glom/utility_widgets/dialog_choose_id.cc:
	* glom/utils.cc: Use FoundSet instead of separate
	parameters.
	* glom/frame_glom.cc:
	* glom/frame_glom.h: show_table(): Sort the list by
	primary key by default, so that the order is at least
	predictable.

2006-03-21  Murray Cumming  <murrayc@src.gnome.org>

	Increased version.

2006-03-21  Murray Cumming  <murrayc@murrayc.com>

	create_table_system_preferences(): Added a logo image field to the system

2006-03-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/standard_table_prefs_fields.h:
	* glom/document/document_glom.cc:
	create_table_system_preferences(): Added a logo image
	field to the system preferences table.
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/box_db_table_definition.h:
	* glom/base_db.cc:
	* glom/base_db.h: Moved postgres_add_column() and
	postgres_change_column_extras() to Base_DB.
	Added create_table_add_missing_fields() and called it from
	add_standard_tables() to make sure that existing databases
	get new fields.
	Added get_field_exists_in_database()
	get_database_preferences(), set_database_preferences():
	Check that the new field is in the database and do not try
	to use if it is it not there.
	* glom/data_structure/system_prefs.h: Added logo as a
	Gda::Value.
	* glom/glom.glade:
	* glom/dialog_database_preferences.cc:
	* glom/dialog_database_preferences.h: Add a new notebook
	tab for the logo.

2006-03-21  Murray Cumming  <murrayc@murrayc.com>

	field: Correct the xpaths to get the correct border-widths. Use more

2006-03-21  Murray Cumming  <murrayc@murrayc.com>

	* xslt/print_report_to_html.xsl: field: Correct the xpaths to get the
	correct border-widths. Use more specific apply-templates pattern, to put
	the header above the title.

2006-03-21  Murray Cumming  <murrayc@murrayc.com>

	report_build_headerfooter(): Handle images, so they appear on

2006-03-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: report_build_headerfooter(): Handle images, so they
	appear on header/footer parts of reports.
	* glom/reports/dialog_layout_report.cc: on_button_edit(): Handle images, so
	they can be edited.
	* xslt/print_report_to_html.xsl: Use xsl:variable and xsl:copy-of to reduce
	some copy and paste of node creation.

2006-03-21  Murray Cumming  <murrayc@murrayc.com>

	parse_value(): Handle images, assuming that the text is the escaped SQL

2006-03-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc: parse_value(): Handle images,
	assuming that the text is the escaped SQL image format. This means that
	the image layout items are actually loaded from the document.
	* glom/utility_widgets/flowtablewithfields.cc: add_textobject_at_position(),
	add_imageobject_at_position(): Pass true to add(), so that these widgets
	take up the full available width when they have no titles.

2006-03-21  Murray Cumming  <murrayc@murrayc.com>

	Added new image type, for arbitrary images on layouts and reports.

2006-03-21  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in:
	* glom/data_structure/layout/Makefile.am:
	* glom/data_structure/layout/layoutitem_image.cc:
	* glom/data_structure/layout/layoutitem_image.h:
	Added new image type, for arbitrary images on
	layouts and reports.
	* glom/base_db.cc:
	* glom/base_db.h: Added build_records_imageobject() and
	offer_imageobject(). Handle image fields in
	report_build_records_field().
	* glom/glom.glade:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h: Added Add Image
	button and handled it.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Load/Save the new layout
	item.
	* glom/layout_item_dialogs/Makefile.am:
	* glom/layout_item_dialogs/dialog_imageobject.cc:
	* glom/layout_item_dialogs/dialog_imageobject.h:
	New dialog for editing the new layout item.
	* glom/reports/dialog_layout_report.cc: Constructor:
	Add new image item to available parts.
	* glom/utils.cc:
	* glom/utils.h: Added create_local_image_uri(), to
	save a temporary copy of the image to the filesystem,
	for use in HTML report.
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: Added set_read_only().
	* xslt/print_report_to_html.xsl: Handle field nodes that
	have image_uri instead of value.

2006-03-20  Murray Cumming  <murrayc@murrayc.com>

	report_build_records_field(): Handle fields in headers and footers,

2006-03-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: report_build_records_field(): Handle fields in headers
	and footers, assuming that they are to single records, such as system preferences.

2006-03-20  Murray Cumming  <murrayc@murrayc.com>

	report_build_records_text(): Take bool vertical parameter, like

2006-03-20  Murray Cumming  <murrayc@murrayc.com>
        * glom/base_db.cc:
        * glom/base_db.h: report_build_records_text(): Take bool vertical parameter,
        like report_build_records_field(), so we can handle these properly in
        vertical groups.
        * glom/data_structure/layout/report_parts/layoutitem_verticalgroup.
        cc: Correct node name for XML/XSL reports.
        * xslt/print_report_to_html.xsl: Handle headers and footers.

2006-03-20  Murray Cumming  <murrayc@murrayc.com>

	Added some missing files.

2006-03-20  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in: Added some missing files.

2006-03-20  Murray Cumming  <murrayc@murrayc.com>

	Moved this dialog into a sub directory. Show different (less) available

2006-03-20  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom/Makefile.am:
	* glom/reports/Makefile.am:
	* glom/reports/dialog_layout_report.cc:
	* glom/reports/dialog_layout_report.h: Moved this dialog into
	a sub directory. Show different (less) available items for headers
	and footers, to avoid some confusion.
	* glom/reports/treestore_report_layout.cc:
	* glom/reports/treestore_report_layout.h: Added a custom treemodel,
	so that we can override row_drop_possible_vfunc(), to control
	what can be dropped where.

2006-03-18  Murray Cumming  <murrayc@murrayc.com>

	Put the report parts into a Notebook, with extra tabs, with extra

2006-03-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade:
	* glom/dialog_layout_report.cc:
	* glom/dialog_layout_report.h: Put the report
	parts into a Notebook, with extra tabs, with extra treeviews
	for the header and footer, because there is no point in
	allowing them to be added by the user anywhere but the start and end.
	* glom/base_db.cc: report_build(): Handle the Header and Footer parts,
	though it is reusing some datemodel-row-based functions in a hacky way,
	and it needs to create an equivalent of the HTML table and tr for the
	header parts.
	* xslt/print_report_to_html.xsl: Initial handling of header and footer
	parts.

2006-03-17  Murray Cumming  <murrayc@murrayc.com>

	Added virtual get_report_path_id() instead of hard-coding the node IDs in

2006-03-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutgroup.h:
	* glom/data_structure/layout/layoutitem.cc:
	* 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_text.cc:
	* glom/data_structure/layout/layoutitem_text.h:
	* glom/data_structure/layout/report_parts/layoutitem_fieldsummary.c
	c:
	* glom/data_structure/layout/report_parts/layoutitem_fieldsummary.h
	:
	* 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/layout/report_parts/layoutitem_verticalgroup.
	cc:
	* glom/data_structure/layout/report_parts/layoutitem_verticalgroup.
	h: Added virtual get_report_path_id() instead of hard-coding the
	node IDs in build_report() and friends.
	* glom/dialog_layout_report.cc:
	* glom/data_structure/layout/report_parts/layoutitem_footer.cc:
	* glom/data_structure/layout/report_parts/layoutitem_footer.h:
	* glom/data_structure/layout/report_parts/layoutitem_header.cc:
	* glom/data_structure/layout/report_parts/layoutitem_header.h:
	New layout report parts, not used yet.
	* glom/document/document_glom.cc: Load/Save the new report parts.
	* xslt/print_report_to_html.xsl: Some XSL to handle headers and footers.
	Might even work.
	* glom/base_db.cc:
	* glom/base_db.h: Added report_build_headerfooter(). Needs work.

2006-03-17  Murray Cumming  <murrayc@murrayc.com>

	on_menu_report_selected(): Build the report with the current found set

2006-03-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: on_menu_report_selected(): Build the report with
	the current found set only.

2006-03-17  Murray Cumming  <murrayc@murrayc.com>

	Added #includes to fix the build.

2006-03-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/utils.cc: Added #includes to fix the build.

2006-03-17  Murray Cumming  <murrayc@murrayc.com>

	Add header and footer parts for reports, though they are not used yet. Add

2006-03-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/report_parts/Makefile.am:
	* glom/data_structure/layout/report_parts/layoutitem_footer.cc:
	* glom/data_structure/layout/report_parts/layoutitem_footer.h:
	* glom/data_structure/layout/report_parts/layoutitem_header.cc:
	* glom/data_structure/layout/report_parts/layoutitem_header.h: Add
	header and footer parts for reports, though they are not used yet.
	* po/POTFILES.in: Add the new files.

2006-03-17  Murray Cumming  <murrayc@murrayc.com>

	report_build(): Take extra Gtk::Window* parameter.

2006-03-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: report_build(): Take extra Gtk::Window* parameter.
	* glom/frame_glom.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc: Call report_build() with extra
	Gtk::Window* parameter so that the dialog can be transient.
	* glom/utils.cc:
	* glom/utils.h: transform_and_open(): Show a dialog to hint to the user
	that they should look in their open web browser to see the report.
	* po/POTFILES.in: Added utils.c

2006-03-15  Murray Cumming  <murrayc@src.gnome.org>

	Increased version.

2006-03-15  Murray Cumming  <murrayc@murrayc.com>

	add_standard_groups(): Add the current user to the developer group here,

2006-03-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: add_standard_groups(): Add the current user to the developer group
	here, rather than expecting the caller to do it (it did not always do it), so that
	people who create databases successfully are always marked as developers, so they can
	always change their databases.
	* glom/applicationcc: recreate_database(): Do not make the user a developer here -
	let add_standard_groups() do it.

2006-03-15  Murray Cumming  <murrayc@murrayc.com>

	check_changes(): Do not allow any changes when the Entry is set to

2006-03-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/comboentryglom.cc: check_changes(): Do not allow any
	changes when the Entry is set to sensitive, to prevent changes via the
	combo menu. GtkComboBox has no set_editable() of its own. Show and informative dialog
	when changing the value back to the original one, so it does not just seem broken.
	* glom/utility_widgets/datawidget.cc: Do not make read-only comboboxentries insensitive,
	now that we can make them non-editable instead.

2006-03-14  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation for 1.0 release.

2006-03-14  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation for 1.0 release.

2006-03-14  Murray Cumming  <murrayc@src.gnome.org>

	Increased version.

2006-03-14  Murray Cumming  <murrayc@murrayc.com>

	record_new(): Do not ignore entered field data for related fields, because

2006-03-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc: record_new(): Do not ignore entered field data for
	related fields, because we just calculated them, and they are correct. Somehow or
	other this fixes the bug that caused calculated field values from the last-shown
	record to be inserted into new records.

2006-03-14  Murray Cumming  <murrayc@murrayc.com>

	set_value(): When clearing the image, also clear m_pixbuf_original, so

2006-03-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/imageglom.cc: set_value(): When clearing the image,
	also clear m_pixbuf_original, so that it doesn't come back when the image
	is rescaled. For instance, this makes sure that picture fields are empty when
	adding new records on the detail view.

2006-03-14  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-03-14  Murray Cumming  <murrayc@murrayc.com>

	set_userlevel(): Add some debug output. on_menu_userlevel_Developer(): Add

2006-03-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc: set_userlevel(): Add some debug output.
	* glom/frame_glom.cc: on_menu_userlevel_Developer(): Add some debug output,
	because someone has reported that they can not go to developer mode. This
	might help us find out exactly why.
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h: init_db(): Add optional
	show_title parameter.
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h: add_layout_notebook_at_position():
	Support Related Records portals as direct children of Notebook parts, putting their
	titles in the tab instead of having an alignment tab, and instead of requiring them
	to be inside a group.

2006-03-14  Murray Cumming  <murrayc@murrayc.com>

	Moved some code into report_build_records_field() and

2006-03-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Moved some code into report_build_records_field() and
	report_build_records_text(). Added report_build_records_verticalgroup().
	report_build() and report_build_records(): Handle vertical groups (recursively).
	* glom/data_structure/layout/report_parts/Makefile.am:
	* glom/data_structure/layout/report_parts/layoutitem_verticalgroup.cc:
	* glom/data_structure/layout/report_parts/layoutitem_verticalgroup.h:
	Added new report part, for stacked rows of fields in one cell of a record,
	for fitting more stuff into one row of a report.
	* glom/document/document_glom.cc: Load/Save the new layout item.
	* glom/dialog_layout_report.cc:
	* xslt/print_report_to_html.xsl: Handle vertical_group and field_vertical.
	* glom/utility_widgets/flowtablewithfields.cc:
	add_layout_notebook_at_position(): Make the notebook tabs bold, so they
	are as visible as group titles, which is what they are really. Make sure
	that the notebook pages have border spacing.

2006-03-13  Murray Cumming  <murrayc@src.gnome.org>

	Update NEWS.

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	Added Notebook part, which has Groups as child items for tabs.

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/data_structure/layout/Makefile.am:
	* glom/data_structure/layout/layoutitem_notebook.cc:
	* glom/data_structure/layout/layoutitem_notebook.h:
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* glom/glom.glade:
	* glom/layout_item_dialogs/Makefile.am:
	* glom/layout_item_dialogs/dialog_notebook.cc:
	* glom/layout_item_dialogs/dialog_notebook.h:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	* glom/utility_widgets/layoutwidgetbase.cc:
	* glom/utility_widgets/layoutwidgetbase.h:
	* glom/utility_widgets/notebookglom.cc:
	* glom/utility_widgets/notebookglom.h:
	* po/POTFILES.in: Added Notebook part, which has Groups as child items for tabs.

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	get_table_fields_to_show_for_sequence_add_group(): When getting full field

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: get_table_fields_to_show_for_sequence_add_group(): When getting
	full field details for related fields, use get_table_used() instead of the single-related to_table,
	so that this works with doubly-related fields. This makes doubly-related fields work in portals.
	* glom/mode_data/dialog_layout_list_related.cc: on_button_edit_field(): Show fields to the to_table,
	not the parent table.
	* glom/utility_widgets/db_adddel/db_adddel.cc: get_column_index(): Use is_same_field(), so that it
	works for doubly-related fields too.

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	Added get/set_use_custom_title().

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/custom_title.cc:
	* glom/data_structure/layout/custom_title.h: Added get/set_use_custom_title().
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h: Added get_title_or_name_no_custom().
	get_title_or_name(): Return an empty custom title if use_custom_title is set.
	* glom/data_structure/translatable_item.cc:
	* glom/data_structure/translatable_item.h: get_translatable_type_name(): Add a result for
	custom field titles.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: load_after_layout_item_field(), save_before_layout_item_field():
	Load/Save a bool use_custom_title attribute, to allow for empty custom titles.
	Added get_translatable_report_items().
	get_translatable_layout_items(): Handle GroupBy group-by fields and secondary fields.
	* glom/layout_item_dialogs/dialog_field_layout.cc: set_field(): Show the non-custom
	title as the default title, so it does not change if there is a custom title.
	* glom/translation/window_translations.cc: Use get_translatable_report_items() to get
	custom titles and GroupBy fields.

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	load_after_layout_group(), save_before_layout_group(): For GroupBy parts,

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc: load_after_layout_group(), save_before_layout_group():
	For GroupBy parts, save a whole LayoutItem node for the group-by field, so we can use
	related fields and custom formatting for it.
	* glom/glom.glade: dialog_group_by: Rename the Select button for Sort Fields to
	Edit, to match the button for secondary fields, which also has more than one field.
	* glom/layout_item_dialogs/dialog_group_by.cc:
	* glom/layout_item_dialogs/dialog_group_by.h: Added Formatting button, to allow us,
	for instance, to change the title of the group-by field.

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	report_build_groupby_children(): In the ORDER BY clause, use the

	2006-03-13  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc: report_build_groupby_children():
	In the ORDER BY clause, use the relationship alias name, instead of
	the table name, to avoid getting extra records because we would not be using
	the join.
	* glom/data_structure/layout/usesrelationship.cc:
	* glom/data_structure/layout/usesrelationship.h: Added get_sql_table_or_join_alias_name()
	for convenience.
	* glom/utils.cc: build_sql_select_with_where_clause(): Use get_sql_table_or_join_alias_name()
	to simplify the code.
	* glom/document/document_glom.cc: load_after_layout_group(): Fill the full field details for
	secondary fields of GroupBy parts.
	* glom/layout_item_dialogs/dialog_group_by.cc: update_labels(): Show the list of secondary fields.
	* xslt/print_report_to_html.xsl: Only indent child group_by divs, to avoid wasting space at the left
	margin.

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	treeviewcolumn_on_cell_data(): Check the type of the GdaValue before

	2006-03-13  Murray Cumming <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc: treeviewcolumn_on_cell_data():
	Check the type of the GdaValue before calling get_bool, to avoid warnings about
	it not being bool. It seems to be null sometimes. Not sure why.

2006-03-13  Murray Cumming  <murrayc@murrayc.com>

	report_build_groupby(): Use the border width also when using the group_by

	2006-03-13  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc: report_build_groupby(): Use the border width also
	when using the group_by node for non-grouped records.
	* glom/layout_item_dialogs/comboentry_borderwidth.cc:
	Constructor add a 0.05em border width choice, for a finer line.

2006-03-12  Murray Cumming  <murrayc@src.gnome.org>

	Update NEWS

2006-03-12  Murray Cumming  <murrayc@murrayc.com>

	Use a list of sort fields, instead of just one, for multiple sort levels.

	2006-03-13  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/layout/report_parts/layoutitem_groupby.cc:
	* glom/data_structure/layout/report_parts/layoutitem_groupby.h: Use a list of
	sort fields, instead of just one, for multiple sort levels.
	* glom/base_db.cc:
	* glom/dialog_layout_report.cc:
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* 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_sortfields.cc:
	* glom/layout_item_dialogs/dialog_groupby_sortfields.h:
	* glom/utils.cc: Handle the lsit of sort fields.
	* glom/data_structure/layout/layoutitem.cc:
	* glom/data_structure/layout/layoutitem.h: Add get_layout_display_name() as virtual
	method here, so we can call it polymorphically.

2006-03-12  Murray Cumming  <murrayc@src.gnome.org>

	More removal of copy/pasted code. Using get_layout_display_name() instead.

	* glom/layout_item_dialogs/dialog_groupby_secondaryfields.cc:
	* glom/mode_data/dialog_layout_export.cc:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list_related.cc: More removal of copy/pasted code. Using
	get_layout_display_name() instead.

2006-03-12  Murray Cumming  <murrayc@murrayc.com>

	on_cell_data_name(): Move the code to create the field display name (with

2006-03-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/mode_data/dialog_layout_details.cc: on_cell_data_name(): Move the code to
	create the field display name (with the :: separators) into LayoutItem_Field::get_display_name(),
	to avoid copy/paste wasteage and to make it show up properly in the Reports layout dialog.

2006-03-12  Murray Cumming  <murrayc@murrayc.com>

	set_selected_relationship() Fix a crash caused by use of wrong iterator.

2006-03-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/combobox_relationship.cc: set_selected_relationship() Fix a crash caused by use of wrong
	iterator.
	* glom/mode_data/dialog_choose_field.cc: set_document(): Specify the related_relationship if there is
	one, and make sure that the full list is visible if it's needed by the current field.

2006-03-12  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

2006-03-12  Murray Cumming  <murrayc@murrayc.com>

	Optionally show related relationships, to allow specifying doubly-related

2006-03-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade:
	* glom/combobox_relationship.cc:
	* glom/combobox_relationship.h:
	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_choose_field.h: Optionally show related relationships, to
	allow specifying doubly-related fields.
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h: Added get_is_same_field() to check the name,
	and both relationships easily.
	* glom/utility_widgets/flowtablewithfields.cc: get_field(): Use get_is_same_field()
	to handle doubly-related fields.
	* glom/data_structure/layout/usesrelationship.cc:
	* glom/data_structure/layout/usesrelationship.h: Added get/set_related_relationship()
	and associated methods.
	Added get_sql_join_alias_name() and get_sql_join_alias_definition(), moving SQL generation
	code from GlomUtils::build_sql_select_with_where_clause().
	* glom/utils.cc: GlomUtils::build_sql_select_with_where_clause(): Simplify by using the
	UsesRelationships methods. This can now support doubly-related fields by creating aliases in
	terms of other aliases.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Load/Save the related_relationship. Load layouts after all other
	table information has been loaded for all tables, because the layouts need the full information.
	* glom/data_structure/layout/fieldformatting.cc:
	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutitem_portal.cc:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/box_data.cc: Update appropriately.

2006-03-12  Murray Cumming  <murrayc@murrayc.com>

	Remove a lot of copying and pasting of near-identical offer_field_list()

2006-03-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/layout_item_dialogs/dialog_field_summary.cc:
	* glom/layout_item_dialogs/dialog_group_by.cc:
	* glom/layout_item_dialogs/dialog_groupby_secondaryfields.cc:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h:
	* glom/mode_data/dialog_layout_export.cc:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list_related.cc: Remove a lot of copying and pasting
	of near-identical offer_field_list() and offer_field_formatting() functions. Just use
	the one in Base_DB. Also made sure that these dialogs are always transient, by adding a
	Window* parameter.
	* glom/glom.glade:
	* glom/dialog_layout_report.cc:
	* glom/dialog_layout_report.h: Added a Formatting button. For instance, this allows
	the field titles to be changed (or removed) on reports.

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	Added get/set_border_width() for use when creating reports, for some

2006-03-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutgroup.h: Added get/set_border_width() for use
	when creating reports, for some slight formatting choice.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: load_after_layout_group(), save_before_layout_group():
	Handle the border_width.
	* glom/glom.glade:
	* glom/layout_item_dialogs/dialog_group_by.cc:
	* glom/layout_item_dialogs/dialog_group_by.h: Allow the user to choose a border width
	for the rows in the group.
	* glom/layout_item_dialogs/Makefile.am:
	* glom/layout_item_dialogs/comboentry_borderwidth.cc:
	* glom/layout_item_dialogs/comboentry_borderwidth.h: New widget for choosing the
	border width.
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h: Simplify the if/ifelse blocks that deal with
	layout parts.
	* xslt/print_report_to_html.xsl: Reduce copy/paste by using xsl::variables (though those
	xsl::variable blocks are copy/pasted). Use xsl::variables to apply a border-width style to
	td and the HTML blocks, depending on the border_width of the group-by. Add a horizontal line
	after the group-by titles.

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	get_layout_display_name(): Return the name even if the full details cache

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutitem_field.cc: get_layout_display_name(): Return the
	name even if the full details cache is invalid.
	* glom/document/document_glom.cc: load_after(): Fill the full field details when loading
	report items, so that they show up in the report when it is edited.

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	enable_buttons(): Enable the Add button even if the item can not be a

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_layout_report.cc: enable_buttons(): Enable the Add button even if the item
	can not be a parent of the new item, so that the new item can become a sibling instead, if
	parent would allow that.

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	report_build_records(): Instead of generating different node names for

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: report_build_records(): Instead of generating different
	node names for numeric field headings and field values, just add a field_type
	attribute.
	* xslt/print_report_to_html.xsl: In <xsl:template match=field_heading> and
	<xsl:template match=field>: Use xls:choose to do align=right if the node has
	a field_type=numeric attribute.

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	report_build_groupby(): Move child record generation into new

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: report_build_groupby(): Move child record generation into
	new report_build_groupby_children() method. Output child records even if there is no
	group_by field in the GroupBy part, so users can use it just to sort records, though
	that's a bit of a hack. I think adding an explicit SortBy part would confuse things,
	because it might not be clear what group of records are being sorted. But maybe it
	would work.
	* xslt/print_report_to_html.xsl: In <xsl:template match=group_by>:
	Do not print the group-by field title and value (with the : separator) if there is no
	group-by field, to avoid a lone :.

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	set_report(), get_report(): Allow non-group LayoutItems at the top level,

2006-03-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_layout_report.cc: set_report(), get_report(): Allow non-group
	LayoutItems at the top level, instead of putting them inside an automatically-created
	group.

2006-03-10  Murray Cumming  <murrayc@murrayc.com>

	Added data_structure/layout/layoutitem_text.cc

2006-03-10  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in: Added data_structure/layout/layoutitem_text.cc

2006-03-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2006-03-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2006-03-10  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-03-10  Murray Cumming  <murrayc@src.gnome.org>

	Update a couple of screenshots.

2006-03-10  Ilkka Tuohela  <ituohela@src.gnome.org>

	Updated Finnish translation

2006-03-09  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_Add(): Set the new report name in the row key, so we know what

2006-03-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/box_reports.cc: on_adddel_Add(): Set the new report name in the
	row key, so we know what row to edit in subsequent steps.

2006-03-09  Murray Cumming  <murrayc@murrayc.com>

	Added get_items_count(). get_original_report_name(): Do not crash if there

2006-03-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutgroup.h: Added get_items_count().
	* glom/dialog_layout_report.cc: get_original_report_name(): Do not crash if
	there are top-level fields. Still need to handle this properly though.
	* glom/utility_widgets/datawidget.cc: set_editable():
	Call set_sensitive() on ComboBoxes, because the menu still changes the
	value if we just call set_editable on its Entry.

2006-03-09  Murray Cumming  <murrayc@murrayc.com>

	report_build_records() takes a vector of LayoutItem instead of

2006-03-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: report_build_records() takes a vector of LayoutItem
	instead of LayoutItem_Field, so it can handle text items. So text objects
	now work on record rows of reports.

2006-03-09  Murray Cumming  <murrayc@murrayc.com>

	Added offer_textobject().

2006-03-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Added offer_textobject().
	* glom/data_structure/layout/Makefile.am:
	* glom/data_structure/layout/layoutitem_text.cc:
	* glom/data_structure/layout/layoutitem_text.h:
	Added Text layout part, for adding arbitrary text or empty text
	with a title, to a details layout. Does not work on reports yet.
	* glom/data_structure/translatable_item.cc:
	* glom/data_structure/translatable_item.h: get_translatable_type_name():
	Update.
	* glom/dialog_layout_report.cc: Constructor: Add the Text object as a
	possible part to add.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: load_after_group(), save_before_group():
	Handle the text object layout part.
	* glom/glom.glade:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h: Added Add Text button and
	handled it.
	* glom/mode_design/Makefile.am:
	* glom/mode_design/dialog_textobject.h
	* glom/mode_design/dialog_textobject.cc: New dialog for editing the
	text object.
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	add_layout_item_at_position(): Add a LabelGlom for text objects.
	* glom/utility_widgets/labelglom.cc:
	* glom/utility_widgets/labelglom.h: New widget for the text object.

2006-03-08  Murray Cumming  <murrayc@src.gnome.org>

	Increase version.

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	do_lookups(): Do not pass a instance constructor its own member variables.

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: do_lookups(): Do not pass a instance constructor its own member
	variables. Avoids occasional crash and occasional non-working lookups.

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	get_table_fields_to_show_for_sequence_add_group(): Do not recurse into

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	get_table_fields_to_show_for_sequence_add_group(): Do not recurse into portals,
	to avoid adding their fields to the SQL query for the parent table details view.
	* glom/document/document_glom.cc: load_after_layout_group(): In portals,
	load related (related from the related table) fields properly, so we remember
	the relationship.

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	parse_date(): Fix incorrect sanity check of the month, so that January is

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc: parse_date(): Fix incorrect sanity check
	of the month, so that January is not changed to February. tm.tm_mon _does_ start
	with 0.

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	parse_value(): If parsing of the time fails, fall back to trying the C

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc: parse_value(): If parsing of the time
	fails, fall back to trying the C locale. This is usually necessary. No idea why.

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	on_cell_button_clicked(): Do not interpret an edit request on a

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc: on_cell_button_clicked():
	Do not interpret an edit request on a placeholder row as a request to add. This
	means that Glom switches to an empty details view instead, as you would expect.

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	refresh_from_database(): If there are no rows it is not an error. There

2006-03-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc: refresh_from_database():
	If there are no rows it is not an error. There are just no records in the table
	yet.

2006-03-07  Murray Cumming  <murrayc@murrayc.com>

	get_editable_and_allowed(): Report calculated fields as always

2006-03-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutitem_field.cc: get_editable_and_allowed():
	Report calculated fields as always non-editable.
	* glom/layout_item_dialogs/dialog_field_layout.cc: set_field(): Do not allow
	calculated fields to be editable, by graying-out the checkbox.
	* glom/main.cc: Translate the command-line options, and add a --version
	option.
	* glom/utility_widgets/comboglomchoicesbase.cc: set_choices_with_second():
	For the optional second column in the popdown, use the correct formatting,
	instead of reusing the formatting from the first column.
	* glom/utility_widgets/datawidget.cc: set_editable(): For ComboBoxEntry
	widgets, set the child entry as non-editable.

2006-03-07  Murray Cumming  <murrayc@murrayc.com>

	Call PySys_SetArgv, to prevent use of pygtk from crashing when using pygtk

2006-03-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/main.cc: Call PySys_SetArgv, to prevent use of pygtk from
	crashing when using pygtk 2.9/2.10.
	* glom/mode_data/dialog_layout_details.cc: on_cell_data_name(): Name buttons as
	buttons in the name column, instead of leaving it blank.

2006-03-07  Murray Cumming  <murrayc@murrayc.com>

	on_document_load(): When saving from an example, temporarily increase the

2006-03-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: on_document_load(): When saving from an example, temporarily increase
	the user level, so that save_changes() always saves.
	* glom/document/document_glom.cc:
	set_modified(): Save even if modified is already set, because this can happen
	after unblocking save-on-modified. If there are endless loops then we need to
	fix them elsewhere instead.
	load_after(): Block setting of modified state while loading.

2006-03-06  Murray Cumming  <murrayc@murrayc.com>

	Prevent crashes when adding reports, or editing them.

2006-03-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/box_reports.cc:
	* glom/data_structure/report.cc:
	* glom/dialog_layout_report.cc:
	* glom/document/document_glom.cc: Prevent crashes when adding reports,
	or editing them.

2006-03-02  Ilkka Tuohela  <ituohela@src.gnome.org>

	Added Finnish translation

2006-02-28  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-02-24  Murray Cumming  <murrayc@murrayc.com>

	Added set_prevent_duplicates() and set_prevent_duplicates_warning().

2006-02-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/adddel/adddel.h: Added set_prevent_duplicates() and
	set_prevent_duplicates_warning().
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/navigation/box_tables.cc: Use the new AddDel methods to prevent, and warn about,
	duplicate tables, fields, and relationships, to prevent crashes.

2006-02-24  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-02-23  Murray Cumming  <murrayc@murrayc.com>

	postgres_change_column_type(): Data conversion commands: Fix crashes when

2006-02-23  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/box_db_table_definition.cc: postgres_change_column_type():
	Data conversion commands: Fix crashes when converting from text to boolean, and from
	boolean to number. Preserve information when converting from anything to boolean.
	|

2006-02-22  Murray Cumming  <murrayc@src.gnome.org>

	Increased version.

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	Do not allow people to put image fields on the list view, because it can

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list.h: Do not allow people to put image
	fields on the list view, because it can not show them yet.
	* glom/utility_widgets/db_adddel/db_adddel.cc: Some skeleton code to
	support (very scaled-down) images on the list view. But I have not actually
	implemented it because I do not want yet more versions of the code that
	works around the libgda 1.2 binary escaping problem.

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	postgres_change_column_type(): Use textcat() to add a preceding 0 when

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/box_db_table_definition.cc:
	postgres_change_column_type(): Use textcat() to add a preceding 0 when
	using to_number(), so that it always succeeds. Now I can not make glom
	crash or error when converting field types, though the results are a bit
	strange for text<->to date.

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	Add override of calculate_field_in_all_records() that does not need the

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Add override of
	calculate_field_in_all_records() that does not need the primary key
	spoon-fed to it. Get all the primary key values, not all the calculated
	field values.
	* glom/mode_design/fields/box_db_table_definition.cc:
	on_Properties_apply(): Warn about necessary recalculation and
	allow the user to cancel the change of field definition.
	change_definition(): Recalculate all values if necessary. This
	even works.

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	Move get_calculation_fields() to Base_DB, so it can return a

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/field.cc:
	* glom/data_structure/field.h:
	* glom/base_db.cc:
	* glom/base_db.h: Move get_calculation_fields() to Base_DB,
	so it can return a LayoutItem_Field, instead of a field name,
	so it can refer to related fields, though we are not using them
	yet.
	* glom/mode_data/box_data_details.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.cc: Adapt.

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	FieldInRecord: Change primary_key* to key*, so we can use this for foreign

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: FieldInRecord: Change primary_key*
	to key*, so we can use this for foreign keys for
	related records.
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc: Adapt.
	* glom/utils.cc:
	* glom/utils.h: Rename build_sql_select_with_primary_key() to
	build_sql_select_with_key

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	FieldInRecord: Change primary_key* to key*, so we can use this for foreign

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: FieldInRecord: Change primary_key*
	to key*, so we can use this for foreign keys for
	related records.
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc: Adapt.
	* glom/utils.cc:
	* glom/utils.h: Rename build_sql_select_with_primary_key() to
	build_sql_select_with_key

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	Added build_sql_select_with_primary_key().

2006-02-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/utils.cc:
	* glom/utils.h: Added build_sql_select_with_primary_key().
	* glom/base_db.cc:
	* glom/base_db.h: Added FieldInRecord inner class and
	used it to reduce the number of parameters for
	do_calculations(), do_lookups(), refresh_related_field(),
	calculate_field(), set_field_value_in_database().
	* 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: Change the method
	overrides and implementations to match.

2006-02-21  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-02-20  Murray Cumming  <murrayc@murrayc.com>

	Moved calculate_field(), get_record_field_values(),

2006-02-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/box_db_table.cc:
	* glom/box_db_table.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_details.h:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	* glom/base_db.cc:
	* glom/base_db.h: Moved calculate_field(), get_record_field_values(),
	set_entered_field_data(), set_field_value_in_database(), build_sql_select(),
	do_calculations(), get_calculated_fields(), do_lookups(), get_lookup_fields(),
	get_lookup_value(), and refresh_related_fields() down to the Base_DB class,
	with extra table_name arguments, so we can recalculate/lookup fields even if they
	the tables or records are not being shown currently.

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	connect(): Parse the result of SELECT version() and return it from

2006-02-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/connectionpool.cc:
	* glom/connectionpool.h: connect(): Parse the result of SELECT version() and return
	it from get_postgres_server_version(), so we can optionally use some new features,
	behind the scenes.

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	set_display_parent_table(): Add a separator after the table title, so that

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/combobox_relationship.cc:
	* glom/combobox_relationship.h: set_display_parent_table(): Add a separator after
	the table title, so that relationships are special.
	* glom/mode_data/dialog_choose_field.cc: set_document(): Scroll the current field
	into view, so it is always visible.

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	set_document(): Supply the table title as well as the name, so it shows

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_choose_field.cc: set_document(): Supply the table title as
	well as the name, so it shows up.

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	set_field(): Do not show the current table name in the list of

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/dialog_fielddefinition.cc: set_field(): Do not show the
	current table name in the list of relationships for lookups.

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	Rename the Default Value tab to Value. Use radiobuttons to make the

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom.glade:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/fields/dialog_fielddefinition.h: Rename the Default Value tab
	to Value. Use radiobuttons to make the calculation and the rest mutually exclusive.

2006-02-19  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	Make on_flowtable_field_edited() virtual again so that the override in

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.h: Make on_flowtable_field_edited()
	virtual again so that the override in BoxDataDetails_Find works again,
	to avoid odd regressions when finding.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utils.cc:
	* glom/base_db.cc: Try to print the SQL command on stdout when there
	is a problem with it.

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	on_notebook_find_criteria(): Show all records if the find was not

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: on_notebook_find_criteria(): Show all records if
	the find was not successful, and the user did not want to try again.

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	on_menu_Mode_Find(): Start the Find mode on the same layout (Details or

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: on_menu_Mode_Find(): Start the Find mode
	on the same layout (Details or List) as the Data mode was in.
	Add a little hack to make sure that we go back into Data mode in List
	view at first, to make sure that the first result will show up
	properly in the Details mode.
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h: Added set_current_view().
	* glom/mode_find/notebook_find.cc:
	* glom/mode_find/notebook_find.h: Added set_current_view().

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	scale(): Call Gtk::Image::get_storage_type() before

	2006-02-19  Murray Cumming, <murrayc@murrayc.com>

	* glom/utility_widgets/imageglom.cc: scale(): Call Gtk::Image::get_storage_type()
	before Gtk::Image::get_pixbuf(), to avoid a critical warning.

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	Overried on_expose_event() so we can scale the image when we actually have

2006-02-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: Overried on_expose_event() so we can
	scale the image when we actually have a real (>1) allocation.
	scale(): Do not call set_image() if the scaled pixbuf has exactly the same
	dimensions as the existing image. And do not try to scale the image if the
	allocation is very small, because this will generally fail. This fixes the
	disappearing image problem.

2006-02-19  Josep Puigdemont i Casamajó  <joseppc@src.gnome.org>

	Updated Catalan translation.

2006-02-18  Murray Cumming  <murrayc@murrayc.com>

	Added get_has_to_table(), for performance, to avoid string copying.

2006-02-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/relationship.cc:
	* glom/data_structure/relationship.h: Added get_has_to_table(), for
	performance, to avoid string copying.
	* glom/utils.cc: build_sql_select_with_where_clause(): Add to_table to the
	FROM list for non-key-linked relationships. libpq adds the implicit FROM if we
	do not do this, but it prints a warning on stdout.
	* glom/mode_data/dialog_layout_list_related.cc: on_combo_relationship_changed():
	Clear the list of fields when the relationship changes, so that there are no
	invalid fields.

2006-02-17  Murray Cumming  <murrayc@murrayc.com>

	get_translatable_items(): Return the CustomTitles of LayoutItem_Fields.

2006-02-17  Murray Cumming,  <murrayc@murrayc.com>

	* glom/document/document_glom.cc: get_translatable_items(): Return the CustomTitles of
	LayoutItem_Fields.
	* glom/translation/window_translations.cc: load_from_document(): Do not try to get the
	custom titles here, because get_translatable_items() gets them instead.

2006-02-17  Murray Cumming  <murrayc@murrayc.com>

	New translatable item, for use when layout items can optionally have

2006-02-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/Makefile.am:
	* glom/data_structure/layout/custom_title.cc:
	* glom/data_structure/layout/custom_title.h: New translatable
	item, for use when layout items can optionally have special
	titles, when the default (such as Street for contacts::address_street),
	is not appropriate.
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h: Add get/set_title_custom().
	* glom/data_structure/translatable_item.cc:
	* glom/data_structure/translatable_item.h: Add new item type and name.
	* glom/document/document_glom.cc: load_after_layout_item_field(),
	save_before_layout_item_field(): Load/Save the custom_title of
	LayoutItem_Field items.
	* glom/glom.glade: dialog_layout_field_properties.
	* glom/layout_item_dialogs/dialog_field_layout.cc:
	* glom/layout_item_dialogs/dialog_field_layout.h: Add widgets to allow
	a custom title.
	* glom/translation/window_translations.cc: load_from_document():
	Add the custom titles to the list.
	* glom/utility_widgets/datawidget.cc: on_menupopup_activate_layout():
	Save the new field properties, instead of replacing the whole item,
	so that the document gets the new information. Makes this work again.

2006-02-16  Murray Cumming  <murrayc@murrayc.com>

	Do not show the Triggered By information if there are not linking key

2006-02-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/combobox_relationship.cc: Do not show the
	Triggered By information if there are not linking key
	fields for a relationship.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: get_relationships():
	Optionally also return the extra System Properties
	relationship.
	get_relationship(): Return the extra System Properties
	relationship if it is asked for by name, even though it
	is not saved in the document.
	* glom/mode_data/dialog_choose_field.cc: Show the extra
	System Properties relationship too.
	* po/POTFILES.in: Added document_glom.cc

2006-02-14  Murray Cumming  <murrayc@murrayc.com>

	Added get_has_fields() to identify relationships that actually link fields

2006-02-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/relationship.cc:
	* glom/data_structure/relationship.h: Added
	get_has_fields() to identify relationships that
	actually link fields in tables.
	* glom/mode_data/box_data_list_related.cc: init_db_details(),
	fill_from_database(): Get all rows (with no where clause) if the
	relationship does not specify linking fields.
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/utils.cc: build_sql_select_with_where():
	If a related field's relationship doesn't specify
	linking fields, don't attempt a JOIN.

2006-02-14  Murray Cumming  <murrayc@murrayc.com>

	Code style uniformity: Change strTableName to table_name and

2006-02-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/box_db_table.cc:
	* glom/box_db_table.h:
	* glom/box_reports.cc:
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* glom/frame_glom.cc:
	* glom/frame_glom.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_details.h:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h:
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/mode_design/dialog_design.cc:
	* glom/mode_design/dialog_design.h:
	* glom/mode_design/dialog_fields.cc:
	* glom/mode_design/dialog_fields.h:
	* glom/mode_design/dialog_relationships.cc:
	* glom/mode_design/dialog_relationships.h:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/notebook_find.cc:
	* glom/mode_find/notebook_find.h:
	* glom/utils.cc: Code style uniformity: Change
	strTableName to table_name and strWhereClause to
	where_clause.

2006-02-14  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-02-13  Murray Cumming  <murrayc@murrayc.com>

	Added get_empty_value_suitable_for_python(). get_record_field_values():

2006-02-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/glomconversions.h: Added
	get_empty_value_suitable_for_python().
	* glom/mode_data/box_data.cc: get_record_field_values():
	Get full set of suitable empty values if there is no primary key,
	and replace null values with suitable non-null empty values, with
	get_empty_value_suitable_for_python(). This avoids warnings on the
	command line when adding records.

2006-02-13  Murray Cumming  <murrayc@src.gnome.org>

	Increase version.

2006-02-13  Murray Cumming  <murrayc@src.gnome.org>

	Update NEWS

2006-02-13  Murray Cumming  <murrayc@murrayc.com>

	Added get/set_script(). load_after_layout_group(),

2006-02-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutitem_button.cc:
	* glom/data_structure/layout/layoutitem_button.h:
	Added get/set_script().
	* glom/document/document_glom.cc: load_after_layout_group(),
	save_before_layout_group(): Load/Save the scripts for buttons.
	* glom/utility_widgets/buttonglom.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h: Handle button clicks and
	run the python code.
	* glom/glom.glade: Add a script editing dialog.
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h: on_button_edit():
	Allow editing of buttons and start editing of the title column
	if the item is a group.
	* glom/mode_design/Makefile.am:
	* glom/mode_design/dialog_buttonscript.cc:
	* glom/mode_design/dialog_buttonscript.h: Added button script
	editing dialog.
	* glom/python_embed/glom_python.cc:
	* glom/python_embed/glom_python.h: Added
	glom_execute_python_function_implementation() because we buttons
	do not care about the result.
	* examples/example_smallbusiness.glom: Add a Test Button to the
	Contacts layout, with a pygtk hello world script behind it.

2006-02-13  Murray Cumming  <murrayc@murrayc.com>

	Give it a translatable item type and name so it shows up properly in the

2006-02-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutitem_button.cc:
	* glom/data_structure/translatable_item.cc:
	* glom/data_structure/translatable_item.h: Give it a
	translatable item type and name so it shows up properly in the
	translations list.
	* glom/document/document_glom.cc: save_before_layout_item_field():
	Load the sequence number of child items. It was pure luck that this
	worked sometimes without this.
	* glom/document/document_glom.h:
	* glom/mode_data/dialog_layout_details.cc: on_button_*(): Set m_modified,
	so that all changes are always saved. I am surprised that this worked before.
	on_cell_data_name(): Mark buttons as such.
	on_cell_data_title(): Allow button titles to be edited.
	* glom/utility_widgets/flowtablewithfields.cc:
	add_button_at_position(): Set the button title and really show the widget.

2006-02-12  Murray Cumming  <murrayc@murrayc.com>

	Add Button layout item. Details Layout: Put the Add buttons vertically at

2006-02-12  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in:
	* glom/Makefile.am:
	* glom/data_structure/layout/Makefile.am:
	* glom/data_structure/layout/layoutitem_button.cc:
	* glom/data_structure/layout/layoutitem_button.h: Add Button
	layout item.
	* glom/glom.glade: Details Layout:
	Put the Add buttons vertically at the right-hand side Add
	an Add Button button.
	* glom/mode_data/treestore_layout.cc:
	* glom/mode_data/treestore_layout.h:
	* glom/mode_data/dialog_layout_details.h:
	* glom/mode_data/dialog_layout_details.cc:
	Use the LayoutItems only in the model, simplifying this
	dramatically, and making it easier to add new types of
	layout items.
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/buttonglom.cc:
	* glom/utility_widgets/buttonglom.h: Add a (non yet useful)
	button widget.

2006-02-10  Murray Cumming  <murrayc@src.gnome.org>

	2006-02-10  Murray Cumming  <murrayc@murrayc.com

	* Makefile.am: Install the logo used by the desktop file.

2006-02-10  Murray Cumming  <murrayc@murrayc.com>

	on_document_load(): When saving from an example, do not open the Save As

2006-02-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: on_document_load(): When saving from an
	example, do not open the Save As dialog box in the examples directory,
	because it is usually read-only and it is not a wise place to put your
	own stuff. Also see the latest Bakery 2.3.17 for fixes to prevent Save As
	in read-only paths.

2006-02-10  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-02-09  Murray Cumming  <murrayc@src.gnome.org>

	Increase version.

2006-02-09  Murray Cumming  <murrayc@murrayc.com>

	Added remove_relationship(), to remove any child items that use the

2006-02-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutgroup.h:
	Added remove_relationship(), to remove any
	child items that use the relationship.
	* glom/document/document_glom.cc:
	remove_relationship(): Also remove any layout or report
	parts that use the relationship.

2006-02-09  Murray Cumming  <murrayc@murrayc.com>

	Added remove_field().

2006-02-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutgroup.h: Added remove_field().
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Added remove_field().
	* glom/mode_design/fields/box_db_table_definition.cc:
	on_adddel_delete(): Call Document_Glom::remove_field() to prevent
	a crash when deleting a field that is used on a layout.

2006-02-09  Murray Cumming  <murrayc@murrayc.com>

	get_lookup_value(): Convert the key field value, in case the

2006-02-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc: get_lookup_value():
	Convert the key field value, in case the relationship's keys
	have different types.

2006-02-09  Murray Cumming  <murrayc@murrayc.com>

	save_to_document(): Actually add new relationships.

	2006-02-09  Murray Cumming, <murrayc@murrayc.com>

	* glom/mode_design/box_db_table_relationships.cc:
	save_to_document(): Actually add new relationships.

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	Added convert_value(), which attemps to convert between differing value

2006-02-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/glomconversions.h: Added convert_value(),
	which attemps to convert between differing value types if
	necessary.
	* glom/mode_data/box_data_details.cc:  do_lookups():
	* glom/mode_data/box_data_list.cc: do_lookups(): Use
	convert_value() to avoid errors when looking up a value from
	a field with a different field type.
	|

2006-02-08  Murray Cumming  <murrayc@src.gnome.org>

	Update ChangeLog with version.

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	get_title(): Really fall back to related translations. For instance, if

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/translatable_item.cc: get_title(): Really
	fall back to related translations. For instance, if you are in
	the German (Austria) locale, and there is no German (Austria)
	translation for a title, but there is one for German (Germany),
	use it.

2006-02-08  Murray Cumming  <murrayc@src.gnome.org>

	Update screenshot

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	set_translation_original_locale(): Mark the document as modified so that

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	set_translation_original_locale(): Mark the document
	as modified so that this is saved.
	* glom/glom.glade: Use language everywhere instead of
	locale.
	* glom/translation/Makefile.am:
	* glom/translation/dialog_change_language.h:
	* glom/translation/dialog_identify_original.cc:
	* glom/translation/dialog_identify_original.h: Show the
	locale name, not the ID.
	* glom/translation/dialog_copy_translation.cc:
	* glom/translation/dialog_copy_translation.h:
	* glom/translation/window_translations.cc:
	* glom/translation/window_translations.h: Implement
	original locale identification and translation copying.

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	Constructor: Call TranslatableItem::set_original_locale() so that

	2006-02-08  Murray Cumming <murrayc@murrayc.com>

	* glom/document/document_glom.cc: Constructor:
	Call TranslatableItem::set_original_locale() so that
	TranslatableItem::set_title() does the right thing as early
	as possible. This means that the automatically-generated
	table titles will be visible when loading the document.

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	Optimize the operator==() implementations, fixing Field::operator==()

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/field.cc:
	* glom/data_structure/groupinfo.cc:
	* glom/data_structure/numeric_format.cc:
	* glom/data_structure/privileges.cc:
	* glom/data_structure/relationship.cc:
	* glom/data_structure/translatable_item.cc:
	Optimize the operator==() implementations, fixing
	Field::operator==() along the way, so that entered field titles
	when in non-original locales are used as translations for that
	locale.
	* glom/translation/combobox_locale.cc: Constructor:
	Hide the locale IDs because they are not human-readable.

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	Added get_locale_name(), moving some of get_list_of_locales() into it.

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/iso_codes.cc:
	* glom/data_structure/iso_codes.h: Added get_locale_name(),
	moving some of get_list_of_locales() into it.
	* glom/data_structure/translatable_item.cc: get_title():
	If there is no translation then use the first translation with
	the same language (ignoring the country).
	* glom/translation/window_translations.cc: load_from_document():
	Use get_locale_name() to show the (believed) locale of the original
	strings.
	* glom/utils.cc:
	* glom/utils.h: Added locale_language_id() so we can reuse the code.

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	Put all field names in quotes too, to avoid crashes when using uppercase

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/dialog_database_preferences.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/python_embed/python_module/py_glom_relatedrecord.cc:
	* glom/utils.cc: Put all field names in quotes too, to avoid
	crashes when using uppercase characters in field names.

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	Put all table names in quotes in SQL statements, to avoid errors/crashes

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/connectionpool.cc:
	* glom/dialog_database_preferences.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/navigation/box_tables.cc:
	* glom/python_embed/python_module/py_glom_relatedrecord.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utils.cc: Put all table names in quotes in SQL statements,
	to avoid errors/crashes when using non-lowercase table names, and SQL keywords
	as table names.

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	get_list_of_locales(): Instead of just listing languages, get the full

2006-02-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/iso_codes.cc: get_list_of_locales():
	Instead of just listing languages, get the full list of locale IDs from
	/usr/share/i18n/locales/ (hopefully this works everywhere. If not, let's
	have some configure.in stuff), and build the locale name from the language
	part and country part. So it now also parses iso_3166.xml from iso-codes
	to get translated country names.
	* glom/utils.cc:
	* glom/utils.h: Added locale_simplify() so we can ignore weird parts of
	locale IDs.
	* glom/data_structure/translatable_item.cc: get_current_locale(): Return
	a locale instead of just a language.
	* glom/translation/combobox_locale.cc: Try (unsuccessfully) to align the
	second column. Sort it by name.
	* glom/translation/window_translations.cc: load_from_document(): Prevent
	a crash when the document is 0.

2006-02-07  Murray Cumming  <murrayc@murrayc.com>

	Use string_escape_underscores when building the reports and tables menus.

2006-02-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: Use string_escape_underscores when building
	the reports and tables menus.
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/adddel/adddel.h:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	* glom/utils.cc:
	* glom/utils.h: Move string_escape_underscores() to here.

2006-02-01  Clytie Siddall  <clyties@src.gnome.org>

	----------------------------------------------------------------------

	* configure.in	Added vi in ALL_LINGUAS line.
	CVS: ----------------------------------------------------------------------

2006-02-01  Clytie Siddall  <clyties@src.gnome.org>

	vi.po: Updated Vietnamese translation.

2006-02-01  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2006-01-31  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2006-01-27  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2006-01-27  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2006-01-27  Murray Cumming  <murrayc@murrayc.com>

	Add German translations. Avoid a null-sharedptr crash when doing a Save As

2006-01-27  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom: Add German translations.
	* glom/navigation/box_tables.cc: Avoid a null-sharedptr crash when
	doing a Save As Example.

2006-01-27  Murray Cumming  <murrayc@murrayc.com>

	Use LayoutItems via sharedptr so we can translate the titles of groups,

2006-01-27  Murray Cumming  <murrayc@murrayc.com>

	* Many: Use LayoutItems via sharedptr so we can translate the titles of
	groups, portals, and report parts. LayoutItems are now created during
	document loading, and by layout editing dialogs, but then just shared by the
	various widgets. This means that we no longer need to rebuild the whole layout
	from the widgets when a widget is changed - it is just shared, so we just
	mark the document as modified.

2006-01-26  Murray Cumming  <murrayc@murrayc.com>

	Use relationship via sharedptr so we can translate its title too. Derive

	2006-01-26  Murray Cumming <murrayc@murrayc.com>

	* Many: Use relationship via sharedptr so we can translate its title too.
	Derive LayoutItem_Field, LayoutItem_Portal, LayoutItem_Group, FieldFormatting
	from new UsesRelationship class to simplify the code.

2006-01-26  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2006-01-26  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2006-01-25  Murray Cumming  <murrayc@murrayc.com>

	Reuse the Translations window, so it shows the last-used locale when shown

2006-01-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: Reuse the Translations window, so it shows the
	last-used locale when shown again.

2006-01-25  Murray Cumming  <murrayc@murrayc.com>

	Use Report via sharedptr<> so that Report title translations are used.

2006-01-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/box_reports.cc:
	* glom/box_reports.h:
	* glom/dialog_layout_report.cc:
	* glom/dialog_layout_report.h:
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* glom/frame_glom.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/translation/window_translations.cc: Use Report via
	sharedptr<> so that Report title translations are used.

2006-01-25  Murray Cumming  <murray@murrayc.com>

	Use TableInfo via sharedptr<> so that Table title translations are used.

2006-01-25  Murray Cumming  <murray@murrayc.com>

	* glom/application.cc:
	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/dialog_database_preferences.cc:
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* glom/glom.glade:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/navigation/box_tables.cc:
	* glom/navigation/box_tables.h:
	* glom/relationships_overview/relationships_canvas.cc:
	* glom/relationships_overview/table_canvasitem.cc:
	* glom/relationships_overview/table_canvasitem.h:
	* glom/translation/window_translations.cc: Use TableInfo via
	sharedptr<> so that Table title translations are used.

2006-01-25  Murray Cumming  <murray@murrayc.com>

	Copy m_title (the original) in copy constructor and operator=(). This

2006-01-24  Murray Cumming  <murray@murrayc.com>

	* glom/data_structure/translatable_item.h: Copy m_title
	(the original) in copy constructor and operator=(). This makes
	the table titles show up again and be saved.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Save/load titles in
	load_after_translations() and save_before_translations() instead
	of separately.
	* glom/sharedptr.h: Added cast_dynamic<>, cast_static<>, and
	cast_const<>, based on RefPtr.
	* glom/glom.glade:
	* glom/translation/Makefile.am:
	* glom/translation/combobox_locale.cc:
	* glom/translation/combobox_locale.h: Added set_locale().
	* glom/application.cc:
	* glom/application.h:
	* glom/translation/dialog_change_language.cc:
	* glom/translation/dialog_change_language.h: New dialog
	used to choose a language to test temporarily.
	* po/POTFILES.in: Added dialog_change_language.cc.

2006-01-24  Murray Cumming  <murray@murrayc.com>

	Added a new base class for all items that have a non-translated ID name

2006-01-24  Murray Cumming  <murray@murrayc.com>

	* glom/data_structure/translatable_item.cc:
	* glom/data_structure/translatable_item.h: Added a new
	base class for all items that have a non-translated ID name and
	a translated title. This base class has a map of translated titles
	for locales.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Added load_after_translations()
	and save_before_translations() and used it for fields, reports,
	tables, and layout items, so these XML nodes get a translations
	node if they have any translations.
	* glom/application.cc:
	* glom/base_db.cc:
	* glom/box_reports.cc:
	* glom/data_structure/Makefile.am:
	* glom/data_structure/field.cc:
	* glom/data_structure/field.h:
	* glom/data_structure/groupinfo.cc:
	* glom/data_structure/groupinfo.h:
	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutgroup.h:
	* glom/data_structure/layout/layoutitem.cc:
	* glom/data_structure/layout/layoutitem.h:
	* glom/data_structure/relationship.cc:
	* glom/data_structure/relationship.h:
	* glom/data_structure/report.cc:
	* glom/data_structure/report.h:
	* glom/data_structure/tableinfo.cc:
	* glom/data_structure/tableinfo.h:
	* glom/dialog_database_preferences.cc:
	* glom/dialog_layout_report.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/navigation/box_tables.cc:
	* glom/utility_widgets/flowtablewithfields.cc: Use the base class
	API, removing superfluous API.
	* glom/translation/window_translations.cc:
	* glom/translation/window_translations.h: Store sharedptr<TranslatableItem>
	in the tree model.
	* po/POTFILES.in: Added the new files.

2006-01-23  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2006-01-23  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

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

	Just store a const reference (sharedptr) to the Field, instead of copying

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

	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Just store a const reference (sharedptr) to the
	Field, instead of copying it.

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

	Remove set_full_field_data_empty(). Instead, allow the field cache to be

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

	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Remove set_full_field_data_empty(). Instead, allow
	the field cache to be null and use m_name when
	there is no full data. Use a bool to mark when the
	cache is up-to-date, and do no try to use it when it
	is not up-to-date.
	* glom/mode_data/dialog_layout_details.cc:
	* glom/utils.cc: build_sql_select_with_where_clause():
	Cope with fields with no names, in case that happens.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: load_after_layout_item_field()
	and load_after_layout_item_field_formatting(): These functions
	now take the field type, and the table name that can be used to
	discover the field type if necessary. This is necessary in order
	to interperet default values and choices.

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

	on_adddel_add(): Call on_adddel_changed() to save the guessed title into

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

	* glom/mode_design/fields/box_db_table_definition.cc:
	on_adddel_add(): Call on_adddel_changed() to save the
	guessed title into the document, even when the title is
	not edited by the user.

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

	Use Field via sharedptr<Field>, to avoid unnecessary copying. However,

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

	* Many files: Use Field via sharedptr<Field>, to
	avoid unnecessary copying. However, LayoutItem_Field still
	copies it for now, to avoid conflicts.
	* glom/sharedptr.h: Various improvements, particularly to
	the nonconst->const cast, based on Glib::RefPtr.

2006-01-21  Murray Cumming  <murrayc@murrayc.com>

	Mention the desktop file.

2006-01-21  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in: Mention the desktop file.

2006-01-21  Murray Cumming  <murrayc@murrayc.com>

	Removed Added .in.in file instead, based on the same thing in

2006-01-21  Murray Cumming  <murrayc@murrayc.com>

	* configure.in:
	* glom.desktop: Removed
	* glom.desktop.in.in: Added .in.in file instead, based on
	the same thing in gnome-terminal, so that intltool can
	translate strings prefixed by underscores (_Name and _Comment),
	and so that configure.in can substitute the VERSION for
	bug-buddy.
	* glom.png:
	* Makefile.am: Actually install the application icon, and
	correct the install location for the .desktop file.

2006-01-21  Murray Cumming  <murrayc@murrayc.com>

	Removed .applications file because it is apparently the old way, for

2006-01-21  Murray Cumming  <murrayc@murrayc.com>

	* Makefile.am:
	* glom.applications: Removed .applications file because it is
	apparently the old way, for versions of GNOME with which Glom
	is not likely to work anyway.

2006-01-20  Murray Cumming  <murrayc@murrayc.com>

	Added get_list_of_locales(). The names will be translated.

2006-01-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/iso_codes.cc:
	* glom/data_structure/iso_codes.h: Added get_list_of_locales().
	The names will be translated.
	* configure.in:
	* glom/Makefile.am:
	* glom/application.cc:
	* glom/application.h:
	* glom/data_structure/field.h:
	* glom/data_structure/tableinfo.h:
	* glom/document/document_glom.cc:
	* glom/glom.glade:
	* glom/translation/Makefile.am:
	* glom/translation/combobox_locale.cc:
	* glom/translation/combobox_locale.h:
	* glom/translation/window_translations.cc:
	* glom/translation/window_translations.h: The beginnings of some UI
	to allow translation of field titles, table titles, etc. Not yet
	available via menus.

2006-01-20  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2006-01-19  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2006-01-18  Murray Cumming  <murrayc@src.gnome.org>

	Increase version.

2006-01-18  Murray Cumming  <murrayc@src.gnome.org>

	Use smaller image.

2006-01-18  Murray Cumming  <murrayc@src.gnome.org>

	Correct my web site address in the example and screenshot.

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

	Updated. Added more example data, and added a Position field to the Staff

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

	* docs/website/screenshots/glom_data_details.png:
	* docs/website/screenshots/glom_data_details_related.png:
	* docs/website/screenshots/glom_data_list.png: Updated.
	* examples/example_smallbusiness.glom: Added more example data, and
	added a Position field to the Staff table.

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

	init_menu_file(): Make the Save As Example menu item only available in

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

	* glom/application.cc: init_menu_file(): Make the Save As Example menu
	item only available in Developer mode, to avoid confusing operators.

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

	Try to show a pulsing progress dialog while recreating the example

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

	* glom/Makefile.am:
	* glom/application.cc:
	* glom/glom.glade:
	* glom/dialog_progress_creating.cc:
	* glom/dialog_progress_creating.h: Try to show a pulsing progress dialog
	while recreating the example database, but it does not show up until the
	end.
	* glom/frame_glom.cc: alert_no_table(): Correct the message. It is about a
	lack of tables, not of databases, and it is not an error.

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

	offer_new_or_existing(): Tell the document and the connection about the

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

	* glom/application.cc: offer_new_or_existing(): Tell the document and the
	connection about the actually-used database name.
	* glom/base_db.cc: add_standard_tables(): Set the title from the document,
	if the document already has a database title.
	* glom/frame_glom.h:
	* glom/frame_glom.cc: set_databases_selected(): Show the database title
	when showing a new database.
	create_database(): Re-connect to the new database, instead of staying in
	template1, before creating the glom system tables. Set the title as
	provided in a function parameter.

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

	offer_new_or_existing(): When creating a new file, discover and use an

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

	* NEWS:
	* glom/application.cc: offer_new_or_existing(): When creating a new file,
	discover and use an unused database name, based on the title.
	* glom/utils.cc:
	* glom/utils.h: Added create_name_from_title().
	* glom/dialog_new_database.cc:
	* glom/dialog_new_database.h:
	* glom/glom.glade: When creating a new file/database, do not ask the user
	for a database name - just guess one based on the human-readable title.

2006-01-18  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2006-01-17  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2006-01-17  Murray Cumming  <murrayc@murrayc.com>

	Make what() const and throw(), so that it really overrides

	2006-01-17  Murray Cumming <murrayc@murrayc.com>

	* glom/exception.[h|cc]: Make what() const and throw(), so that it really
	overrides std::exception::what() so we get real text in the error dialogs.
	* glom/frame_glom.cc: create_database(): Call add_standard_tables() and
	add_standard_groups() to avoid the error/crash when adding a record to a new
	table in a new database.

2006-01-17  Murray Cumming  <murrayc@murrayc.com>

	sql(): Move text escaping code into glom_escape_text() so it can be

2006-01-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/field.cc: sql(): Move text escaping code into
	glom_escape_text() so it can be reused. For IMAGE fields, assume that
	get_binary() is already the escaped binary format, but escape it
	again as text, so we get the \ needed for SQL commands.
	* glom/data_structure/glomconversions.cc: get_escaped_binary_data():
	Use one \, not \ to separate byte numbers, because that's the format
	used by get/set_binary() in libgda at the moment.
	* glom/utility_widgets/imageglom.cc:
	get_value(): Use GlomConversions::get_escaped_binary_data() before
	set_binary() because Glom must assume elsewhere that it is escaped
	in all GdaValues. This workaround will all be unnecessary in libgda-2.0,
	which properly unescapes binary buffers.
	Images are now saved properly into examples, and inserted properly into
	the new databases that are created when examples are opened.

2006-01-17  Murray Cumming  <murrayc@murrayc.com>

	on_menupopup_activate_clear(): Emit the signal to actually update the

2006-01-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/imageglom.cc:
	on_menupopup_activate_clear(): Emit the signal to actually update the database.
	on_menupopup_activate_paste(): Prevent crash when the received pixbuf is NULL.
	on_menupopup_activate_copy(): Prevent crash when the pixbuf is NULL.

2006-01-17  Murray Cumming  <murrayc@murrayc.com>

	export_data_to_*(): Use specified table name, not the current table name,

2006-01-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: export_data_to_*(): Use specified table name,
	not the current table name, so that all tables are properly exported.
	* glom/base_db.[h|cc]: Add recalculate_next_auto_increment_value(),
	which does a SELECT MAX() on the table.
	* glom/application.cc: recreate_database():  Recalculate next auto-increment
	values, and create glom system tables and groups before adding data.

2006-01-16  Murray Cumming  <murrayc@murrayc.com>

	on_menu_file_save_as_example(): Put the example data in a string instead

2006-01-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/application.cc: on_menu_file_save_as_example():
	Put the example data in a string instead of a stringstream,
	because it was somehow truncating the data.
	* glom/base_db.cc: insert_example_data(): Really return true
	for success.

2006-01-16  Murray Cumming  <murrayc@murrayc.com>

	When opening example documents, always save a copy and always create a

2006-01-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/dialog_connection.cc:
	* glom/dialog_connection.h:
	* glom/document/document_glom.cc:
	* glom/frame_glom.cc:
	* glom/frame_glom.h: When opening example documents,
	always save a copy and always create a database, choosing
	a new unused database name. Mark documents explicitly as examples.
	* glom/glom.glade: Rename Open Example button to
	New From Example.

2006-01-16  Adam Weinberger  <adamw@gnome.org>

	Added missing file. Updated Canadian English translation.

2006-01-15  Adam Weinberger  <adamw@gnome.org>

	* POTFILES.in: Added missing file.
	* en_CA.po: Updated Canadian English translation.

2006-01-15  Murray Cumming  <murrayc@murrayc.com>

	Added half-working File / Save As Example menu item, which stores the data

2006-01-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/application.h:
	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* glom/frame_glom.cc:
	* glom/frame_glom.h: Added half-working
	File / Save As Example menu item, which stores the
	data  in the .glom file, for use when creating the
	database from an example.

2006-01-15  Murray Cumming  <murrayc@murrayc.com>

	Remove formatting button, so we _always_ export in iso format.

2006-01-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout.cc:
	* glom/mode_data/dialog_layout_export.cc:
	* glom/mode_data/dialog_layout_export.h:
	* glom/glom.glade: Remove formatting button,
	so we _always_ export in iso format.
	* glom/filechooser_export.cc:
	* glom/filechooser_export.h: The Define Data Format
	button now works, though it opens in the background.
	It now exports only the requested fields.

2006-01-14  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2006-01-14  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2006-01-14  Murray Cumming  <murrayc@murrayc.com>

	Add a File/Export menu item, for exporting the found set as

2006-01-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc:
	* glom/frame_glom.h: Add a File/Export menu item, for exporting the found set as
	comma-separated text.
	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/box_db_table.cc:
	* glom/box_db_table.h:
	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	* glom/filechooser_export.cc:
	* glom/filechooser_export.h:
	* glom/mode_data/Makefile.am:
	* 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/box_data_list_related.cc:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h:
	* glom/base_db.cc:
	* glom/base_db.h:Moved various folders into Base_DB so that Frame_Glom can use them.
	* glom/Makefile.am:
	* glom/mode_data/dialog_layout_export.cc:
	* glom/mode_data/dialog_layout_export.h: New layout UI for export field sequences,
	not yet finished or used.

2006-01-13  Murray Cumming  <murrayc@murrayc.com>

	Move get_find_where_clause_quick() from Frame_Glom to Base_DB so we can

2006-01-13  Murray Cumming   <murrayc@murrayc.com>

	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/base_db.cc:
	* glom/base_db.h: Move get_find_where_clause_quick() from Frame_Glom to
	Base_DB so we can use it in Dialog_ChooseID.
	* glom/glom.glade:
	* glom/utility_widgets/dialog_choose_id.cc:
	* glom/utility_widgets/dialog_choose_id.h: Add the Quick Find feature
	to this dialog too.

2006-01-13  Murray Cumming  <murrayc@murrayc.com>

	Contacts: Add the web site field to the layout, and change it to text.

2006-01-13  Murray Cumming   <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom: Contacts: Add the web site
	field to the layout, and change it to text.
	* glom/mode_data/dialog_layout_details.cc: enable_buttons(): Properly
	enable/disable Up and Down for the first and last _child_ items.
	* glom/mode_data/dialog_layout_list.cc: enable_buttons(): Properly
	enable/disable Up and Down when adding fields.

2006-01-12  Murray Cumming  <murrayc@src.gnome.org>

	Remove some debug output.

2006-01-12  Murray Cumming  <murrayc@murrayc.com>

	Define the placeholder row as the last row, whose existance we cause just

2006-01-12  Murray Cumming   <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	Define the placeholder row as the last row, whose existance we
	cause just by increasing the number of rows, so that iter_next_vfunc() gives
	one more row, instead of marking a boolean. This simplifies things and
	prevents extra placeholder rows being generated.
	* glom/base_db.cc:
	* glom/frame_glom.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_find/box_data_list_find.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/imageglom.cc: Adapt to new API. And some changes to
	ensure that find results are shown in the appropriate view depending on whether
	there are >1 records found.

2006-01-11  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2006-01-11  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2006-01-11  Murray Cumming  <murrayc@murrayc.com>

	Added widgets at bottom-right to show the number of total and found

2006-01-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/glom.glade: Added widgets at bottom-right to show
	the number of total and found records, with a Find All button
	when appropriate.
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h: Added get_record_counts().
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h: Added get_record_counts().

2006-01-11  Murray Cumming  <murrayc@murrayc.com>

	Connect explicitly to the activate signal of the quick find entry, instead

2006-01-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: Connect explicitly to the activate
	signal of the quick find entry, instead of using default widgets.

2006-01-11  Murray Cumming  <murrayc@murrayc.com>

	Add a Quick Find entry and button, only shown when in Find mode. It is

2006-01-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/glom.glade: Add a Quick Find entry and button, only
	shown when in Find mode. It is probably inefficient, because
	it just ORs over all the fields.

2006-01-10  Murray Cumming  <murrayc@src.gnome.org>

	translate 2 strings to prove the concept.

2006-01-10  Murray Cumming  <murrayc@murrayc.com>

	Convert to the new gnome-doc-utils (xml2po) system, with a dummy de

2006-01-10  Murray Cumming  <murrayc@murrayc.com>

	* .cvsignore:
	* Makefile.am:
	* autogen.sh:
	* configure.in:
	* docs/user-guide/.cvsignore:
	* docs/user-guide/C/Makefile.am:
	* docs/user-guide/C/glom-C.omf:
	* docs/user-guide/C/glom.xml:
	* docs/user-guide/Makefile.am:
	* docs/user-guide/de/de.po:
	* docs/user-guide/glom-C.omf.in:
	* gnome-doc-utils.make: Convert to the new
	gnome-doc-utils (xml2po) system, with a
	dummy de translation, though I get warnings about
	the path to the images in figures.

2006-01-10  Murray Cumming  <murrayc@src.gnome.org>

	Add .cvsignore

2006-01-10  Murray Cumming  <murrayc@src.gnome.org>

	Increase version

2006-01-10  Murray Cumming  <murrayc@murrayc.com>

	Change all instances of can not to cannot. Bug #300139 from Adam

2006-01-10  Murray Cumming  <murrayc@murrayc.com>

	* docs/postgres_gda_test.c: (main):
	* glom/base_db.cc:
	* glom/document/document_glom.cc:
	* 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/box_data_list.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/navigation/box_tables.cc:
	* glom/python_embed/python_module/pygdavalue_conversions.c:
	(pygda_value_from_pyobject):
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/combo_textglade.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	* glom/utility_widgets/flowtablewithfields.cc: Change all
	instances of can not to cannot. Bug #300139 from Adam Weinberger.
	This may or maynot be necessary.

2006-01-10  Murray Cumming  <murrayc@murrayc.com>

	Field::sql(): Also escape ; characters, because libgda seems to cause

2006-01-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/field.cc:
	Field::sql(): Also escape ; characters, because
	libgda seems to cause postgres to be confused by these.
	And allocate a big enough string for PQescapeString(), to
	avoid crashes. Now bug #323266 seems to really be fixed.
	* glom/utils.cc:
	* glom/utils.h: Added inefficient string_replace() for use
	by Field::sql().

2006-01-10  Murray Cumming  <murrayc@murrayc.com>

	Field::sql(): Also escape ; characters, because libgda seems to cause

2006-01-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/field.cc:
	Field::sql(): Also escape ; characters, because
	libgda seems to cause postgres to be confused by these.
	And allocate a big enough string for PQescapeString(), to
	avoid crashes. Now bug #323266 seems to really be fixed.
	* glom/utils.cc:
	* glom/utils.h: Added inefficient string_replace() for use
	by Field::sql().

2006-01-09  Murray Cumming  <murrayc@murrayc.com>

	Add IDs for sections, to make sub-menu links work. Patch from Jorge

2006-01-09  Murray Cumming  <murrayc@murrayc.com>

	* docs/user-guide/C/glom.xml: Add IDs for
	sections, to make sub-menu links work.
	Patch from Jorge Gonzalez in bug #313107.

2006-01-09  Murray Cumming  <murrayc@murrayc.com>

	Field::sql(): Use a copy of the PQescapeString() function from Posrgres,

2006-01-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/field.cc: Field::sql():
	Use a copy of the PQescapeString() function from
	Posrgres, instead of gda_value_stringify() to really
	escape text for SQL. This should fix bug #323266
	(crash when typing quote) from Nicolas Chevreux.

2006-01-07  Josep Puigdemont i Casamajó  <joseppc@src.gnome.org>

	Updated Catalan translation.

2005-12-20  Murray Cumming  <murrayc@murrayc.com>

	Added glom/connectionpool.cc.

2005-12-20  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in: Added glom/connectionpool.cc.

2005-10-29  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2005-10-29  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2005-09-04  Josep Puigdemont i Casamajó  <joseppc@src.gnome.org>

	Added Catalan translation.

2005-08-24  Pawan Chitrakar  <pachimho@src.gnome.org>

	Added Nepali Translation

2005-08-17  Murray Cumming  <murrayc@murrayc.com>

	Removed new es SUBDIR because it does not have a Makefile.am and that

	2005-08-17  Murray Cumming <murrayc@murrayc.com>

	* docs/user-guide/Makefile.am: Removed new es SUBDIR because it
	does not have a Makefile.am and that breaks the build. This
	might need changing to the new gnome-doc-utils system anyway.

2005-08-16  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Added Spanish documentation.

2005-08-16  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Added Spanish documentation.

2005-08-16  Murray Cumming  <murrayc@murrayc.com>

	Added glomconversions.cc, because it now contains translatable strings.

2005-08-16  Murray Cumming  <murrayc@murrayc.com>

	* po/POTFILES.in: Added glomconversions.cc, because it now
	contains translatable strings.

2005-08-09  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation.

2005-08-09  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation.

2005-08-05  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2005-08-05  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2005-08-04  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2005-08-04  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2005-08-02  Murray Cumming  <murrayc@src.gnome.org>

	Removed some debug output

2005-08-02  Murray Cumming  <murrayc@murrayc.com>

	connect(): Reimplement with get_and_connect(). handle_error(): Reimplement

2005-08-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: connect(): Reimplement with
	get_and_connect().
	handle_error(): Reimplement with
	ConnectionPool::handle_error().
	* glom/connectionpool.cc:
	* glom/connectionpool.h: Added get_and_connect().
	Added handle_error().
	* glom/frame_glom.cc: Frame_Glom::create_database():
	Do not show the error dialog here because it is already shown
	by the calling function in application.cc.
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/python_embed/python_module/py_glom_relatedrecord.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	Call handle_error() to show a dialog when there is a
	database error.

2005-08-02  Murray Cumming  <murrayc@murrayc.com>

	call get_errors() when database creation fails, so we know why.

2005-08-02  Murray Cumming  <murrayc@murrayc.com>

	* docs/postgres_gda_test.c: (main): call get_errors()
	when database creation fails, so we know why.

2005-08-02  Murray Cumming  <murrayc@murrayc.com>

	Try to create a database, because that seems to fail sometimes, possibly

2005-08-02  Murray Cumming  <murrayc@murrayc.com>

	* docs/postgres_gda_test.c: (main): Try to create a
	database, because that seems to fail sometimes, possibly
	depending on the type of authentication used, and possibly
	not failing in the psql command-line tool.

2005-07-30  Adam Weinberger  <adamw@gnome.org>

	Added missing file. Updated Canadian English translation.

2005-07-30  Adam Weinberger  <adamw@gnome.org>

	* POTFILES.in: Added missing file.
	* en_CA.po: Updated Canadian English translation.

2005-07-30  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-07-30  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-07-30  Daniel Holbach  <dh@mailempfang.de>

	Changed the gnome_program_init() call again. Apparently it was crashing on

	2005-07-30  Daniel Holbach <dh@mailempfang.de>

	* glom/main.cc: Changed the gnome_program_init() call again.
	Apparently it was crashing on AMD64, though we do not know
	why.

2005-07-29  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	show_table_title(): Use pango markup to show a big title.

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame_glom.cc: show_table_title():
	Use pango markup to show a big title.
	* glom/utility_widgets/imageglom.cc:
	on_menupopup_activate_select_file(): Give the filter a name.

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	Added show_warning_no_records_found(), using the code from

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Added show_warning_no_records_found(),
	using the code from Frame_Glom::on_notebook_find_criteria(),
	so it can be reused.
	* glom/frame_glom.cc:
	* glom/mode_data/box_data.cc: on_Button_Find(): Warn the user
	if they have not entered any criteria.
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_details_find.h: Override
	on_flowtable_field_edited(), to stop it adding new records during
	finds.
	* glom/utility_widgets/dialog_choose_id.cc: on_box_find_criteria():
	show a warning if no records were found.

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	on_flowtable_field_edited(): Really add a new record when entering data on

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: on_flowtable_field_edited():
	Really add a new record when entering data on a blank record.

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	Added confirm_delete_record() based on the code in box_data_list.cc

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h: Added
	confirm_delete_record() based on the code
	in box_data_list.cc
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h: on_button_del():
	Use confirm_delete_record(), already used in list view.
	fill_from_database(): When no primary key value is
	specified, fill the fields with empty values, instead
	of preserving whatever was there last time.
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h: Use
	confirm_delete_record() in the base class instead of
	the existing code.

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	Removed unimplemented get_editable_and_allowed() function.

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/fieldformatting.h:
	Removed unimplemented get_editable_and_allowed() function.
	* glom/mode_data/dialog_layout_details.cc: on_button_field_formatting():
	get/set the editableness from the specific column, not from the formatting
	column, so we actually save the change.

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	Added get/set_layout_current() and get/set_layout_record_viewed() for

2005-07-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Added
	get/set_layout_current() and
	get/set_layout_record_viewed() for remembering
	(not saving in the document) information about
	the last-viewed records and layouts.
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h: Added get_layout_name().
	* glom/mode_data/box_data_details.cc: fill_from_database():
	Remember the record.
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h: Override on_switch_page_handler()
	so we can remember the last-viewed layout.
	init_db_details(): Open the last-viewed record and switch to the
	last-viewed layout.
	* glom/notebook_glom.h: Make on_switch_page_handler() virtual.

2005-07-29  Murray Cumming  <murrayc@src.gnome.org>

	Removed some debug output

2005-07-29  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-07-29  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-07-28  Murray Cumming  <murrayc@murrayc.com>

	Added get_primary_key_value_first() init_db_details(): Show the first

2005-07-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h: Added
	get_primary_key_value_first()
	* glom/mode_data/notebook_data.cc: init_db_details(): Show the first
	record from the list in the detauls.
	* glom/notebook_glom.cc: on_switch_page_handler():
	Do not call load_from_document() on the child page. It is
	superfluous.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	get_key_value(): Retrieve the data from the database
	if necessary. Previously we always called get_value()
	first.

2005-07-28  Murray Cumming  <murrayc@murrayc.com>

	Added sql_find(), like sql(), but with wildcards. Added a dialog for

2005-07-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/field.cc:
	* glom/data_structure/field.h: Added sql_find(), like sql(),
	but with wildcards.
	* glom/glom.glade: Added a dialog for finding an ID.
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/dialog_choose_id.cc:
	* glom/utility_widgets/dialog_choose_id.h: Added dialog.
	* glom/mode_data/box_data.cc: get_find_where_clause():
	Use sql_find() to do a substring search.
	* po/POTFILES.in: Added the new .cc file.
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h: Added set_read_only()
	to prevent editing when the list is only for selection.
	Added set_open_button_title() which delegates to the DbAddDel.
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_details_find.h:
	* glom/mode_find/notebook_find.cc: Override init_db_details(),
	without a primary key parameter.
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h: Added
	offer_related_record_id_find() and a Find button next to
	fields used in relationships. This opens a secondary dialog
	with the Find UI.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	Added set_open_button_title() so we can use Select instead
	of Open in the Find ID dialog.
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc:
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.h:
	Override set_allow_view_details() to show/hide the open
	button.

2005-07-27  Murray Cumming  <murrayc@src.gnome.org>

	Added missing files

2005-07-27  Murray Cumming  <murrayc@src.gnome.org>

	Added missing files

2005-07-26  Murray Cumming  <murrayc@src.gnome.org>

	Attempt to fix libtool problem by changin PKG_CONFIG_CHECK order

2005-07-26  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-07-26  Murray Cumming  <murrayc@src.gnome.org>

	Updated some screenshots

2005-07-26  Murray Cumming  <murrayc@src.gnome.org>

	Updated some screenshots

2005-07-26  Murray Cumming  <murrayc@murrayc.com>

	fill_layout_field_details(): Handle portals, so we do not lose field

2005-07-26  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc: fill_layout_field_details():
	Handle portals, so we do not lose field information for portals
	when editing the whole layout.
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/dialog_layout_details.cc:
	Dialog_Layout_Details::fill_group(): Handle portals.
	* glom/utility_widgets/flowtablewithfields.cc:

2005-07-25  Murray Cumming  <murrayc@murrayc.com>

	Depend on latest libgdamm.

2005-07-25  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Depend on latest libgdamm.
	* glom/utility_widgets/imageglom.cc:
	* glom/data_structure/field.cc: Change for latest libgdamm
	API change.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Remove unused
	set_relationship_data_layout_groups().
	* glom/mode_data/box_data_details.cc: on_flowtable_layout_changed():
	Actually save the new layout in the document. For instance, really
	save portal layout changes.

2005-07-25  Murray Cumming  <murrayc@murrayc.com>

	signal_clicked(): Add path parameter, so we know what row was clicked.

2005-07-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/cellrenderer_button.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_button.h:
	signal_clicked(): Add path parameter, so we know what row
	was clicked.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	Open the clicked row, not just the selected row.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h: Add an Open
	button next to foreign keys, when a unique non-hidden record is
	indicated.

2005-07-22  Murray Cumming  <murrayc@murrayc.com>

	Added virtual enable_buttons(), and moved some code there to stop the base

2005-07-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h: Added virtual
	enable_buttons(), and moved some code there to stop the
	base class from making the Open button visible again for
	hidden-table related records.
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc:
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.h:
	Added a show_all_vfunc() implementation in case a
	show_all() would show the hidden buttons.

2005-07-22  Murray Cumming  <murrayc@murrayc.com>

	Constructor: Use the OPEN stock item instead of EDIT for viewing details.

2005-07-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/cellrenderer_button.cc:
	Constructor: Use the OPEN stock item instead of EDIT for
	viewing details. Set mode to activatable so it actually
	responds to clicks.

2005-07-22  Murray Cumming  <set EMAIL_ADDRESS environment variable>

	Call DbAddDel::set_allow_view_details() so we get the open button and the

2005-07-22  Murray Cumming  <set EMAIL_ADDRESS environment variable>

	* glom/mode_data/box_data_list.cc: Call
	DbAddDel::set_allow_view_details() so we get the open button
	and the row open button.
	* glom/mode_data/box_data_list_related.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: Change
	*use_row_button to *allow_view_details.
	on_button_press_event_Popup(): Do not handle double-click on
	the row to open the details, because it is too easy to
	double-click when single-clicking to edit a cell.
	* glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc:
	setup_buttons(): Just hide the buttons when necessary,
	instead of adding and removing them.

2005-07-21  Murray Cumming  <murrayc@murrayc.com>

	Added get_table_is_hidden().

2005-07-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Added get_table_is_hidden().
	* glom/frame_glom.cc:
	* glom/frame_glom.h: Handle signal_record_details_requested on the
	Notebook_Data, to show a specific record in another table.
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h: Added
	signal_requested_related_details, emitted when a FlowTable emits
	its own signal_requested_related_details.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h: Added
	set_use_row_button().
	* glom/mode_data/box_data_list_related.cc: init_db_details():
	If the related table is not hidden, then add a button on each
	row, to navigate to the related record.
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h: Catch the signal from
	Box_Data_Details, and emit
	signal_details_requested signal_record_details_requested.
	Added show_details(), so the parent Frame can specify a
	record.
	* glom/utility_widgets/db_adddel/Makefile.am:
	* glom/utility_widgets/db_adddel/cellrenderer_button.cc:
	* glom/utility_widgets/db_adddel/cellrenderer_button.h: New
	derived CellRenderer, which is just an icon at the moment.
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h: Added
	signal_requested_related_details.

2005-07-21  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2005-07-21  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2005-07-21  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-07-21  Murray Cumming  <murrayc@src.gnome.org>

	Added some contacts fields

2005-07-21  Murray Cumming  <murrayc@murrayc.com>

	Added change_field_name() and change_relationship_name(), to update

2005-07-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/fieldformatting.cc:
	* glom/data_structure/layout/fieldformatting.h:
	Added change_field_name() and change_relationship_name(),
	to update choices when these change.
	* glom/data_structure/layout/layoutgroup.cc:
	Update field formatting too.
	* glom/document/document_glom.cc:
	change_relationship_name(), change_field_name():
	Update all the default formatting too.
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	on_adddel_user_requested_add(): Do not try to add
	related records to portals that have no columns,
	avoiding a database error.

2005-07-21  Murray Cumming  <murrayc@murrayc.com>

	Inherit from LayoutGroup instead of LayoutItem, so we can store the

2005-07-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutgroup.h:
	* glom/data_structure/layout/layoutitem_portal.cc:
	* glom/data_structure/layout/layoutitem_portal.h:
	Inherit from LayoutGroup instead of LayoutItem, so we
	can store the related records layout inside it, instead
	of in a separate hacked-up layout node in the document.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	Save LayoutItem_Portal layout groups.
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.h:
	* glom/mode_data/treestore_layout.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	Pass the whole LayoutItem_Portal around instead of just
	the relationship name, and don't try to store the
	portal layout separately in the document.

2005-07-21  Murray Cumming  <murrayc@murrayc.com>

	Added change_relationship_name() to update the layout when a relationship

2005-07-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutgroup.h: Added
	change_relationship_name() to update the layout
	when a relationship is renamed.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Added
	change_relationship_name().
	* glom/mode_design/box_db_table_relationships.cc:
	save_to_document(): Detect a rename and call
	Document_Glom::change_relationship_name() so it does not
	break the layout.

2005-07-20  Murray Cumming  <murrayc@murrayc.com>

	Added change_related_field_item_name(). change_field_item_name(): Process

2005-07-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutgroup.h: Added
	change_related_field_item_name(). change_field_item_name():
	Process child groups and self-related fields.
	* glom/document/document_glom.cc: change_field_name():
	Process all tables, to change related fields in layouts and
	reports.

2005-07-20  Murray Cumming  <murrayc@murrayc.com>

	Constructor: The list is now sorted alphabetically.

2005-07-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_choose_field.cc: Constructor:
	The list is now sorted alphabetically.
	* glom/utils.cc: build_sql_select_with_where_clause():
	Prefix aliases with relationship_ to avoid conflicts with table
	names.

2005-07-20  Murray Cumming  <murrayc@murrayc.com>

	Base_DB::set_database_preferences(): Save the title into the document as

2005-07-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: Base_DB::set_database_preferences(): Save
	the title into the document as well as the database, for the
	window title, and for database recreation.

2005-07-20  Murray Cumming  <murrayc@murrayc.com>

	Added get/set_allow_edit() get_editable_and_allowed(): Also check the

2005-07-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/relationship.cc:
	* glom/data_structure/relationship.h: Added get/set_allow_edit()
	* glom/data_structure/layout/layoutitem_field.cc:
	get_editable_and_allowed(): Also check the relationship, if any.
	* glom/document/document_glom.cc: Load/Save the allow_edit of
	the relationship.
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/mode_design/box_db_table_relationships.h: Add a column
	for allow_edit, so relationships can prevent editing of
	related fields.

2005-07-20  Murray Cumming  <murrayc@murrayc.com>

	fill_layout_field_details(): Get field details from the appropriate table,

2005-07-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc: fill_layout_field_details():
	Get field details from the appropriate table, even if it is a
	related field. This stops us losing related fields on layouts.

2005-07-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/utils.cc: build_sql_select(): Use AS to create an
	alias name for the related table, so we can use two
	relationships to the same table.

2005-07-19  Murray Cumming  <murrayc@murrayc.com>

	build_sql_select(): Use AS to create an alias name for the related table,

2005-07-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/utils.cc: build_sql_select(): Use AS to create an
	alias name for the related table, so we can use two
	relationships to the same table.

2005-07-18  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-07-18  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-07-18  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-07-18  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-07-18  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-07-17  Murray Cumming  <murrayc@murrayc.com>

	Add a suitable capitalized title when adding a relationship name.

2005-07-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/box_db_table_relationships.cc:
	* glom/mode_design/box_db_table_relationships.h: Add a suitable
	capitalized title when adding a relationship name.

2005-07-17  Murray Cumming  <murrayc@murrayc.com>

	get_data_layout_groups_plus_new_fields(): Create a more useful default

2005-07-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	get_data_layout_groups_plus_new_fields(): Create a more useful
	default details layout, with overview and details sections.
	* glom/utility_widgets/flowtable.cc:
	get_minimum_column_height(): Change a < to <= so we check
	all widgets, so that multi-column FlowTables work when they
	have only one item.

2005-07-17  Murray Cumming  <murrayc@murrayc.com>

	add_item(): Return a pointer to the added item. on_adddel_Add(): Add a

2005-07-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutgroup.cc:
	* glom/data_structure/layout/layoutgroup.h: add_item():
	Return a pointer to the added item.
	* glom/navigation/box_tables.cc: on_adddel_Add(): Add
	a description and comments field as well as an ID field
	when creating new tables.

2005-07-17  Murray Cumming  <murrayc@murrayc.com>

	Prevent items from being dragged directly under themselves, preventing a

2005-07-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/treestore_layout.cc: Prevent items from being
	dragged directly under themselves, preventing a crash.

2005-07-16  Murray Cumming  <murrayc@murrayc.com>

	get_suitable_width() constructor: Give images the same width as text

2005-07-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: get_suitable_width()
	* glom/utility_widgets/datawidget.cc: constructor:
	Give images the same width as text fields, with an equal height,
	so they line up more, though this might be too big.

2005-07-16  Murray Cumming  <murrayc@murrayc.com>

	Do not crash when reading bad image data from the database.

2005-07-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/imageglom.cc: Do not crash when reading bad
	image data from the database.

2005-07-15  Murray Cumming  <murrayc@murrayc.com>

	0.8.34:

2005-07-15  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_smallbusiness.cc: Contacts table: Made the ID
	autoincrement again and added choice for Title. This got lost
	somehow. Changed database name again to avoid clash with already-
	created examples.
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: Added a Clear context menu item.

2005-07-15  Murray Cumming  <murrayc@murrayc.com>

	Comment out the debug query output on stdout, because it slows us down

2005-07-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc: Comment out the debug query output on
	stdout, because it slows us down when we use lots of image data.
	* glom/data_structure/glomconversions.cc: Tried to use
	PQescapeBytea() instead of my custom (slow) encoding code, without
	success, so left that code commented-out.
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: Implemented copy/paste.

2005-07-15  Murray Cumming  <murrayc@src.gnome.org>

	Removed some debug warnings

2005-07-14  Murray Cumming  <murrayc@src.gnome.org>

	Updated screenshot

2005-07-14  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2005-07-14  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2005-07-14  Murray Cumming  <murrayc@murrayc.com>

	on_flowtable_field_edited(): Special case to avoid calling set_value()

2005-07-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc:on_flowtable_field_edited():
	Special case to avoid calling set_value() with a _correct_
	GdaValue, because we expect the current broken binary GdaValue.
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: Images show up again after
	loading, and after retrieval from database. Nifty.

2005-07-14  Murray Cumming  <murrayc@murrayc.com>

	Put the Gtk::Image in a Gtk::Frame so we can see it when it is empty.

2005-07-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: Put the Gtk::Image in a
	Gtk::Frame so we can see it when it is empty. Added a context
	menu for user mode, and restricted the file chooser to pixbuf
	types.

2005-07-14  Murray Cumming  <murrayc.com>

	sql(): Handle TYPE_IMAGE fields.

2005-07-14  Murray Cumming  <murrayc.com>

	* glom/data_structure/field.cc: sql(): Handle TYPE_IMAGE
	fields.
	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/glomconversions.h: Add
	get_escaped_binary_data() and parse_escaped_binary_data(),
	using a a copy of the PQunescapeBytea() function from
	Postgres, because gda_value_get_binary() does not unescape
	the data yet.
	* glom/utility_widgets/datawidget.cc: Connect to the
	LayoutWidgetField signals for the ImageGlom widget.
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: set_value():
	Use our copy of PQunescapeBytea().
	* glom/utility_widgets/layoutwidgetfield.cc:
	* glom/utility_widgets/layoutwidgetfield.h: Added
	get_has_original_data() for later optimisation.

2005-07-12  Murray Cumming  <murrayc@murryac.com>

	Document the IMAGE type as always being stored as PNG.

2005-07-12  Murray Cumming  <murrayc@murryac.com>

	* glom/data_structure/field.h: Document the IMAGE type
	as always being stored as PNG.
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: Implement set_value(),
	though I'm still not sure how to get/set it in SQL.

2005-07-12  Murray Cumming  <murrayc@murrayc.com>

	Scale images down to fit the allocated size of the Image widget.

2005-07-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: Scale images down to fit the
	allocated size of the Image widget.

2005-07-12  Murray Cumming  <murrayc@murrayc.com>

	Use a derived Image widget so we can catch button_press_events on it.

2005-07-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/imageglom.cc:
	* glom/utility_widgets/imageglom.h: Use a derived Image widget
	so we can catch button_press_events on it.

2005-07-12  Murray Cumming  <murrayc@murrayc.com>

	- Added map of possible field conversions, and get_conversion_possible().

2005-07-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/field.cc:
	* glom/data_structure/field.h:
	- Added map of possible field conversions, and
	get_conversion_possible().
	- Added TYPE_IMAGE, which maps to bytea in SQL and
	Gnome::Gda::Value::TYPE_BINARY.
	* glom/mode_design/fields/box_db_table_definition.cc:
	Don't cast the data if it is not possible.
	* glom/utility_widgets/datawidget.cc: Constructor: Create a
	Gtk::Image widget for image fields.

2005-07-11  Murray Cumming  <murrayc@src.gnome.org>

	More gradual canvas stuff

2005-07-11  Daniel Holbach  <dh@mailempfang.de>

	Pass G_PARAM_NONE to gnome_program_init() to avoid a crash at startup.

	2005-07-11  Daniel Holbach <dh@mailempfang.de>

	* glom/main.cc: Pass G_PARAM_NONE to gnome_program_init() to
	avoid a crash at startup.

2005-07-10  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation.

2005-07-10  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation.

2005-07-09  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-07-09  Murray Cumming  <murrayc@murrayc.com>

	on_cell_data_name(): Allow group names to be changed.

2005-07-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_details.cc: on_cell_data_name():
	Allow group names to be changed.

2005-07-09  Murray Cumming  <murrayc@murrayc.com>

	get_table_names(): Added optional bool ignore_system_tables parameter

2005-07-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: get_table_names(): Added optional bool
	ignore_system_tables parameter
	* glom/mode_design/box_db_table_relationships.cc:
	fill_from_database(): Hide the system tables.

2005-07-09  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-07-09  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-07-09  Murray Cumming  <set EMAIL_ADDRESS environment variable>

	reviewed by: <delete if not using a buddy>

2005-07-09  Murray Cumming  <set EMAIL_ADDRESS environment variable>

	reviewed by: <delete if not using a buddy>

	* configure.in: Depend on gnome-vfsmm 2.11, instead of just
	the version that bakery needs, because we need
	Uri::make_from_shell_arg().
	* glom/navigation/box_tables.cc: load_from_document(): Really
	hide the glom_system_* tables.

2005-07-08  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-07-08  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	Added get_first_table(). on_dialog_tables_hide(): If the current table was

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	* glom/document/document_glom.h: Added get_first_table().
	* glom/frame_glom.cc: on_dialog_tables_hide(): If the current
	table was deleted, show the default or first table.

2005-07-08  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	Really use GDate to parse dates that the C++ facet can not parse.

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc: Really use GDate
	to parse dates that the C++ facet can not parse.

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	Allow the filename to be specified even without a --file option name. And

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/main.cc: Allow the filename to be specified
	even without a --file option name. And convert
	the filename to a URI so it actually works.

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	remove_table(): Prevent infinite loop.

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc: remove_table():
	Prevent infinite loop.

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	Made fill_tables_menu() public.

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.h: Made fill_tables_menu() public.
	* glom/frame_glom.cc:
	* glom/frame_glom.h: When the tables dialog is hidden,
	in developer mode, update the tables menu, in case the
	list has changed.

2005-07-08  Murray Cumming  <murrayc@src.gnome.org>

	Some work in progress

2005-07-08  Murray Cumming  <murrayc@murrayc.com>

	Added a libgda test to test whether the installed libgda works.

	2005-07-08  Murray Cumming <murrayc@murrayc.com>

	* docs/Makefile.am:
	* docs/postgres_gda_test.c: Added a libgda test
	to test whether the installed libgda works.

2005-07-08  Murray Cumming  <murrayc@src.gnome.org>

	Mention include path on Ubuntu Breezy

2005-07-04  Murray Cumming  <murrayc@murrayc.com>

	App_Glom::on_document_load(): Add a Save As button to the dialog that

	2005-07-04  Murray Cumming <murrayc@murrayc.com>

	* glom/applications.cc:
	App_Glom::on_document_load(): Add a Save As button
	to the dialog that warns when an example is
	read only.

2005-07-03  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-07-03  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-07-01  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation.

2005-07-01  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation.

2005-07-01  Murray Cumming  <murrayc@src.gnome.org>

	Add some unfinished stuff before I wipe out my development checkouts. This shouldn't break the build.

2005-06-26  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation.

2005-06-26  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation.

2005-06-16  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-06-16  Murray Cumming  <murrayc@murrayc.com>

	Install the examples in <prefix>/share/glom/doc/, which I guess is

	2005-06-16  Murray Cumming <murrayc@murrayc.com>

	* examples/Makefile.am:
	Install the examples in <prefix>/share/glom/doc/,
	which I guess is correct.
	* glom/Makefile.am:
	* glom/application.cc: offer_new_or_existing():
	* glom/glom.glade:
	Add an Open Examples button that goes straight to
	the installed examples.
	* configure.in: Depend on bakery 2.3.14, to get
	changed API for this.

2005-06-14  Murray Cumming  <murrayc@src.gnome.org>

	moved file to wiki

2005-06-01  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation.

2005-06-01  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation.

2005-05-26  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2005-05-26  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2005-05-25  Murray Cumming  <murrayc@murrayc.com>

	Commented out a g_warning that was causing a compiler warning.

	2005-05-25  Murray Cumming <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable.cc: Commented out
	a g_warning that was causing a compiler warning.

2005-05-25  Murray Cumming  <murrayc@murrayc.com>

	Make Box_Formatting a sub-view so it has access to the document, so we can

	2005-05-25  Murray Cumming <murrayc@murrayc.com>

	* glom/layout_item_dialogs/box_formatting.cc:
	* glom/layout_item_dialogs/dialog_field_layout.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	Make Box_Formatting a sub-view so it has access
	to the document, so we can use choices from
	related tables again.

2005-05-25  Murray Cumming  <murrayc@src.gnome.org>

	Updated screenshots.

2005-05-25  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

2005-05-25  Murray Cumming  <murrayc@src.gnome.org>

	increase version

2005-05-19  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-05-19  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-05-18  Murray Cumming  <murrayc@murrayc.com>

	set_node_attribute_value_as_bool/as_decimal(): Save lots of space by

	2005-05-18  Murray Cumming <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	set_node_attribute_value_as_bool/as_decimal():
	Save lots of space by writing/interpreting
	non-existant attributes as false or zero.

2005-05-18  Murray Cumming  <murrayc@murrayc.com>

	constructor: Position the available parts hierarchically, to indicate

	2005-05-18  Murray Cumming <murrayc@murrayc.com>

	* glom/dialog_layout_report.cc: constructor:
	Position the available parts hierarchically, to
	indicate their expected relationship.

2005-05-18  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2005-05-18  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2005-05-18  Murray Cumming  <murrayc@murrayc.com>

	Add default field formatting, instead of custom formatting.

	2005-05-18  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom: Add default
	field formatting, instead of custom formatting.
	* glom/base_db.cc:
	* glom/data_structure/field.cc:
	* glom/data_structure/field.h: Added default_formatting.
	* glom/data_structure/layout/Makefile.am:
	* glom/data_structure/layout/fieldformatting.cc:
	* glom/data_structure/layout/fieldformatting.h:
	Added FieldFormatting to hold numeric formatting,
	text formatting, and the various choices.
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Replace individual formatting members with a
	FieldFormatting, and added boolean to specify
	use of the default.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	Save/load the formatting as a whole node, and save
	Field default formatting.
	* glom/glom.glade: Move field formatting into a
	VBox that can be used in both the field definition
	dialog and the field layout dialog for custom
	formatting.
	* glom/layout_item_dialogs/Makefile.am:
	* glom/layout_item_dialogs/box_formatting.cc:
	* glom/layout_item_dialogs/box_formatting.h:
	Added derived VBox for the formatting.
	* glom/layout_item_dialogs/dialog_field_layout.cc:
	* glom/layout_item_dialogs/dialog_field_layout.h:
	Use Box_Formatting instead of the individual
	formatting widgets.
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	Use the appropriate formatting, using custom formatting
	if specified.
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/fields/dialog_fielddefinition.h:
	Moved Extras tab into the main tab. Added Default
	Formatting tab.
	* glom/utility_widgets/comboentryglom.cc:
	* glom/utility_widgets/comboglom.cc:
	* glom/utility_widgets/comboglomchoicesbase.cc:
	* glom/utility_widgets/comboglomchoicesbase.h:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/entryglom.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/textviewglom.cc:
	* glom/utils.cc:
	Use the default formatting, if specified.

2005-05-17  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation.

2005-05-17  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation.

2005-05-16  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-05-16  Murray Cumming  <murrayc@murrayc.com>

	build_report(): Left align most fields and right-align numeric fields,

	2005-05-16  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	Do not call fill_from_database() if the connection is not ready, to

	2005-05-16  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	Added secondary_fields to the GroupBy report part, so we can show, for

	2005-05-15  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	Mention new files.

	2005-05-15  Murray Cumming <murrayc@murrayc.com>

	* po/POTFILES.in: Mention new files.

2005-05-15  Murray Cumming  <murrayc@murrayc.com>

	build_report_fields(): For numeric fields create a <field_numeric> instead

	2005-05-15  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc: build_report_fields(): For numeric fields
	create a <field_numeric> instead of <field> node.
	* xslt/print_report_to_html.xsl: Handle <field_numeric>, like
	<field>, but with align=right in the HTML <td>. Hopefully there is
	a better way to do this.

2005-05-14  Murray Cumming  <murrayc@murrayc.com>

	report_build_summary(): Implemented, so summary parts show up in reports.

	2005-05-15  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	type_vecLayoutItems now stores sharedptr<LayoutItem_Field>s instead of

	2005-05-14  Murray Cumming <murrayc@murrayc.com>

	* 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 sharedptr<LayoutItem_Field>s
	instead of by-value copying. This allows us to use the
	LayoutItem_Field polymorphically as well as improving
	performance.

2005-05-14  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

2005-05-14  Murray Cumming  <murrayc@murrayc.com>

	Moved report_build_* methods from Frame_Glom to Base_DB, so they can be

	2005-05-14  Murray Cumming <murrayc@murrayc.com>

	* 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-13  Murray Cumming  <murrayc@murrayc.com>

	Add a LayoutPart for the field summary report parts.

	2005-05-14  Murray Cumming <murrayc@murrayc.com>

	* 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-12  Murray Cumming  <murrayc@src.gnome.org>

	Make large logo a bit smaller

2005-05-12  Murray Cumming  <murrayc@src.gnome.org>

	Added large svg-to-png export

2005-05-12  Murray Cumming  <murrayc@src.gnome.org>

	Added logo from Luca Cav

2005-05-11  Murray Cumming  <murrayc@murrayc.com>

	Use SHADOW_IN for ScrolledWindows. The HIG wants that.

	2005-05-11  Murray Cumming <murrayc@murrayc.com>

	* 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.

2005-05-11  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-05-11  Murray Cumming  <murrayc@murrayc.com>

	Fixed a distcheck problem.

	2005-05-11  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@src.gnome.org>

	Updated screenshots and mentioned reports.

2005-05-11  Murray Cumming  <murrayc@murrayc.com>

	Moved get_layout_item_table_name() here from box_data. Added

	2005-05-11  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	Fix various problems with loading/saving report parts.

	2005-05-11  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	Added offer_field_list(), moved from B

	2005-05-10  Murray Cumming <murrayc@murrayc.com>

	* 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.

2005-05-10  Murray Cumming  <murrayc@murrayc.com>

	Moved dialog_field_layout.[h|cc] from mode_data/ to the new

	2005-05-10  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	Added utils.[h|cc] with some functions from GlomConversions:: and some

2005-05-10  Murray Cumming,,,  <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	fill_menu_tables(), fill_menu_reports(): Use UIManager::remove_ui() to

	2005-05-09  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	Set changes in the document.

	2005-05-09  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	Added Reports menu, like the new Tables menu.

	2005-05-08  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	Changed the Navigation menu to a Tables menu, with dynamic menu items for

	2005-05-08  Murray Cumming <murrayc@murrayc.com>

	* 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  <murrayc@murrayc.com>

	Beginnings of UI to add/remove reports, and to edit them.

	2005-05-08  Murray Cumming <murrayc@murrayc.com>

	* 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-07  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2005-05-07  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2005-05-06  Murray Cumming  <murrayc@src.gnome.org>

	Removed debug code.

2005-05-06  Murray Cumming  <murrayc@murrayc.com>

	Added a Developer/Reports menu item, with non-working beginnings of a

	2005-05-06  Murray Cumming <murrayc@murrayc.com>

	* 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.

2005-05-06  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2005-05-06  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2005-05-04  Murray Cumming  <murrayc@src.gnome.org>

	Increase version

2005-05-04  Murray Cumming  <murrayc@murrayc.com>

	Show the organisation name as well as the system name. Check for

	2005-05-04  Murray Cumming <murrayc@murrayc.com>

	* glom/frame_glom.cc: Show the organisation name as well as
	the system name.
	* glom/navigation/box_tables.cc: Check for glom_system_*
	tables and do not show them.

2005-05-04  Murray Cumming  <murrayc@murrayc.com>

	Pass the where_clause when calling refresh_from_database() on the model.

	2005-05-04  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	Pass the where_clause when calling refresh_from_database()
	on the model.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	refresh_from_database(): Take where_clause parameter as
	well as in the constructor. clear() existing records before
	getting them again.

2005-05-04  Murray Cumming  <murrayc@murrayc.com>

	get_next_autoincrement_value(): Really increment the value.

	2005-05-04  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc: get_next_autoincrement_value():
	Really increment the value.

2005-05-04  Murray Cumming  <murrayc@murrayc.com>

	Added auto_increment_insert_first_if_necessary() by moving some code from

	2005-05-04  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	Added auto_increment_insert_first_if_necessary()
	by moving some code from get_auto_increment_next_value().
	* glom/dialog_database_preferences.cc:
	* glom/dialog_database_preferences.h:
	load_from_document(): Iterate over all fields and
	call auto_increment_insert_first_if_necessary() for all
	primary keys, so they all show up in the dialog.

2005-05-04  Murray Cumming  <murrayc@murrayc.com>

	get_table_privileges(): Reverted a search/replace that broke parsing of

	2005-05-04  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc: get_table_privileges():
	Reverted a search/replace that broke parsing of
	user rights.

2005-05-04  Murray Cumming  <murrayc@src.gnome.org>

	Added missing files

2005-05-04  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-05-04  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-05-03  Murray Cumming  <murrayc@murrayc.com>

	Added get_next_auto_increment_value() add_standard_table(): add the

	2005-05-03  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h: Added
	get_next_auto_increment_value()
	add_standard_table(): add the
	glom_system_autoincrements table.
	* glom/dialog_database_preferences.cc:
	* glom/dialog_database_preferences.h:
	Read and write to the autoincrement table.
	* glom/mode_data/box_data.cc:
	* glom/standard_table_prefs_fields.h:
	Added structure for glom_system_autoincrements
	table.

2005-05-03  Murray Cumming  <murrayc@murrayc.com>

	Move Mode label to the bottom of the window. Show the system name at the

2005-05-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/application.h:
	* glom/base_db.cc:
	* glom/box_db.cc:
	* glom/box_db.h:
	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/glom.glade:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_list_find.cc:
	* glom/notebook_glom.cc:
	* glom/notebook_glom.h:
	Move Mode label to the bottom of the window.
	Show the system name at the top, from the
	database preferences. Remove crufty hints
	stuff.

2005-05-03  Murray Cumming  <murrayc@murrayc.com>

	Added dialog to show system-wide details and next auto-increment values.

	2005-05-03  Murray Cumming <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/dialog_database_preferences.cc:
	* glom/dialog_database_preferences.h:
	* glom/glom.glade:
	Added dialog to show system-wide details
	and next auto-increment values.
	* glom/data_structure/Makefile.am:
	* glom/data_structure/system_prefs.cc:
	* glom/data_structure/system_prefs.h:
	New class to hold system-wide preferences.
	* glom/standard_table_prefs_fields.h:
	Added list of #defines for the standard
	table database structure.
	* glom/application.cc: recreate_database():
	Call new add_standard_tables() method to
	hold system-wide preferences.
	* glom/base_db.cc:
	* glom/base_db.h:
	Move some of recreate_database() into
	create_table() and reused it in new
	add_standard_tables() method.
	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	Add Developer/Database Preferences menu
	item and handle it.

2005-05-02  Murray Cumming  <murrayc@murrayc.com>

	Use ScrolledWindow::set_policy(POLICY_AUTOMATIC) so we do not get useless

	2005-05-02  Murray Cumming <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	Use ScrolledWindow::set_policy(POLICY_AUTOMATIC) so
	we do not get useless scrollbars.

2005-05-02  Murray Cumming  <murrayc@murrayc.com>

	Override some signal handlers from the base class, to prevent adding new

	2005-05-02  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_find/box_data_list_find.cc:
	* glom/mode_find/box_data_list_find.h:
	Override some signal handlers from the base class, to
	prevent adding new rows to the database.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	get_value_vfunc(): Check the count of columns, not the
	count of columns in the data model, so we can show
	an empty placeholder row without database data, for
	instance in Find mode.

2005-05-02  Murray Cumming  <murrayc@murrayc.com>

	Added set_mode_find(). on_notebook_find_criteria(): Show a dialog when no

	2005-05-02  Murray Cumming <murrayc@murrayc.com>

	* glom/application.cc:
	* glom/application.h:
	Added set_mode_find().
	* glom/frame_glom.cc:
	on_notebook_find_criteria(): Show a dialog
	when no records were found, and offer to
	return to find mode. Show the mode in the
	Mode menu when programatically changing mode.

2005-05-02  Murray Cumming  <murrayc@murrayc.com>

	init_from_database(), fill_from_database(), and refresh_from_database()

	2005-05-02  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/box_db_table.cc:
	* glom/box_db_table.h:
	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/main.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h:
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/mode_design/box_db_table_relationships.h:
	* glom/mode_design/dialog_design.cc:
	* glom/mode_design/dialog_design.h:
	* glom/mode_design/dialog_fields.cc:
	* glom/mode_design/dialog_fields.h:
	* glom/mode_design/dialog_relationships.cc:
	* glom/mode_design/dialog_relationships.h:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/box_db_table_definition.h:
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_details_find.h:
	* glom/mode_find/box_data_list_find.cc:
	* glom/mode_find/box_data_list_find.h:
	* glom/mode_find/notebook_find.cc:
	* glom/mode_find/notebook_find.h:
	* glom/navigation/box_tables.cc:
	* glom/navigation/box_tables.h:
	init_from_database(), fill_from_database(), and
	refresh_from_database() now return a bool. This should
	let us detect empty results from finds.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	Add AddDel::refresh_from_database(), and
	DbTreeModel::refresh_from_database() so we can build
	the structure separately and refill it repeatedly with
	data.

2005-05-01  Murray Cumming  <murrayc@murrayc.com>

	Added sql_find_operator() Use it instead of LIKE.

	2005-05-01  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/field.cc:
	* glom/data_structure/field.h: Added
	sql_find_operator()
	* glom/mode_data/box_data.cc: Use it instead
	of LIKE.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	Fix crash due to use of old key column.

2005-04-30  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2005-04-30  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2005-04-29  Murray Cumming  <murrayc@murrayc.com>

	Added get_has_calculation() for performance.

	2005-04-29  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/field.cc:
	* glom/data_structure/field.h:
	Added get_has_calculation() for performance.
	* glom/mode_data/Makefile.am:
	* glom/mode_data/calcinprogress.cc:
	* glom/mode_data/calcinprogress.h:
	Added data structure for fields being calculated.
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	- Added m_FieldsCalculationInProgress, so we can
	maintain the state of all ongoing calculations
	when calculating fields.
	- Added calculate_field() which calculates and
	sets a calculated field and any calculated fields
	that it needs. Whenc called recursively, it
	is aware of existing calculations in
	m_FieldsCalculationInProgress.
	- do_calculations(),
	* glom/mode_data/box_data_details.cc:
	- recalculate_fields_for_related_records():
	Use calculate_field() to simplify the code.

2005-04-26  Murray Cumming  <murrayc@murrayc.com>

	construct_columns(): Right-align numeric fields.

	2005-04-26  Murray Cumming <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	construct_columns(): Right-align numeric fields.

2005-04-26  Murray Cumming  <murrayc@murrayc.com>

	Right-align number fields. Make set_layout_item() virtual so we can change

	2005-04-26  Murray Cumming <murrayc@murrayc.com>

	* glom/utility_widgets/comboentryglom.cc:
	* glom/utility_widgets/comboentryglom.h:
	* glom/utility_widgets/entryglom.cc:
	* glom/utility_widgets/entryglom.h:
	Right-align number fields.
	* glom/utility_widgets/layoutwidgetbase.h:
	Make set_layout_item() virtual so we can
	change parts of the derived widget according to
	the layout details.

2005-04-26  Murray Cumming  <murrayc@src.gnome.org>

	Updated screenshot

2005-04-26  Murray Cumming  <murrayc@murrayc.com>

	Make comments multiline formatted on Details views.

	2005-04-26  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom: Make comments
	multiline formatted on Details views.
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Added get/set_text_format_multiline().
	* glom/document/document_glom.cc:
	load_after(), save_before(): load/save the multiline
	text formatting bool.
	* glom/mode_data/dialog_field_layout.cc:
	load/save the multiline checkbox setting.
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/textviewglom.cc:
	* glom/utility_widgets/textviewglom.h:
	Added TextViewGlom which is a TextView in a
	ScrolledWindow. Use it for multiline text.
	* glom/utility_widgets/flowtable.cc:
	Expand the second item to take the remaining
	columns width,

2005-04-26  Murray Cumming  <murrayc@murrayc.com>

	Make comments multiline formatted on Details views.

	2005-04-26  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom: Make comments
	multiline formatted on Details views.
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Added get/set_text_format_multiline().
	* glom/document/document_glom.cc:
	load_after(), save_before(): load/save the multiline
	text formatting bool.
	* glom/mode_data/dialog_field_layout.cc:
	load/save the multiline checkbox setting.
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/textviewglom.cc:
	* glom/utility_widgets/textviewglom.h:
	Added TextViewGlom which is a TextView in a
	ScrolledWindow. Use it for multiline text.

2005-04-26  Murray Cumming  <murrayc@murrayc.com>

	Move get/set_value() and signal_edited() into a new LayoutWidgetField base

	2005-04-26  Murray Cumming <murrayc@murrayc.com>

	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/comboentryglom.h:
	* glom/utility_widgets/comboglomchoicesbase.cc:
	* glom/utility_widgets/comboglomchoicesbase.h:
	* glom/utility_widgets/entryglom.cc:
	* glom/utility_widgets/entryglom.h:
	* glom/utility_widgets/layoutwidgetfield.cc:
	* glom/utility_widgets/layoutwidgetfield.h:
	Move get/set_value() and signal_edited() into
	a new LayoutWidgetField base class.
	* glom/utility_widgets/datawidget.cc: Use
	LayoutWidgetField instances polymorphically via
	the base class, simplifying the code.

2005-04-25  Murray Cumming  <murrayc@murrayc.com>

	Use #defines for XML node and attribute names, to avoid errors when

	2005-04-25  Murray Cumming <murrayc@murrayc.com>

	* glom/document/document_glom.cc: Use #defines
	for XML node and attribute names, to avoid
	errors when repeating them.

2005-04-25  Murray Cumming  <murrayc@murrayc.com>

	Untranslated some pango markup that caused a crash. Do not translate

	2005-04-25  Murray Cumming <murrayc@murrayc.com>

	* pt_BR.po: Untranslated some pango markup that
	caused a crash. Do not translate markup.

2005-04-23  Murray Cumming  <murrayc@src.gnome.org>

	Increased version again

2005-04-23  Murray Cumming  <murrayc@src.gnome.org>

	Remove background from screenshot.

2005-04-23  Murray Cumming  <murrayc@src.gnome.org>

	Remove dot from screenshot.

2005-04-23  Murray Cumming  <murrayc@src.gnome.org>

	Update screenshot text

2005-04-23  Murray Cumming  <murrayc@src.gnome.org>

	Updated screenshot.

2005-04-23  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-04-23  Murray Cumming  <murrayc@murrayc.com>

	on_button_add_field(): Make fields editable by default.

	2005-04-23  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_details.cc:
	on_button_add_field(): Make fields editable
	by default.

2005-04-23  Murray Cumming  <murrayc@murrayc.com>

	Rename fill_from_database_layout() to create_layout(),

	2005-04-23  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/box_db_table.cc:
	* glom/box_db_table.h:
	* glom/dialog_invalid_data.cc:
	* glom/dialog_invalid_data.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_details.h:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_list_find.cc:
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/comboentryglom.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/entryglom.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	Rename fill_from_database_layout() to
	create_layout(), refresh_db_details() to
	refresh_data_from_database() and describe how
	these and the other 2 methods work together in
	the class documentation for Box_Data.

2005-04-23  Murray Cumming  <murrayc@murrayc.com>

	Remove fill_fields(). It has no use here. Its equivalent is the new

	2005-04-23  Murray Cumming<murrayc@murrayc.com>

	* glom/box_db_table.cc:
	* glom/box_db_table.h:
	Remove fill_fields(). It has no use here.
	Its equivalent is the new fill_database_layout()
	in Box_Data, a derived class.
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	Add virtual fill_database_layout() so the
	derived implementations can be called from
	init_db_details().
	* glom/mode_data/box_data_details.cc:
	fill_database_layout() is now called by the
	base class, at the appropriate time, so we
	do not need to call it from fill_database().
	refresh_db_details(): Call fill_from_database()
	instead of init_db_details() so we do not
	unnecessarily rebuild the whole layout UI.
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	fill_fields(): Rename to fill_database_layout(),
	which is now called from the base class.
	fill_from_database(): Do not call fill_fields/
	fill_database_layout() unnecessarily here.
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h:
	Rename on_Details_user_requested_details() to
	on_list_user_requested_details() because that it is
	a signal on list, not details.
	* glom/mode_design/fields/box_db_table_definition.cc:
	fill_from_database(): Call fill_fields() because
	the base class does not call it anymore.
	* glom/utility_widgets/flowtablewithfields.cc:
	add_layout_item_at_position(). When adding
	a Box_Data_List_Related portal, call add_view()
	before init_db_details() because the latter needs
	the document.

2005-04-22  Murray Cumming  <murrayc@murrayc.com>

	Add the DbAddDel as a view with add_view(), so it has the document.

	2005-04-22  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc:
	Add the DbAddDel as a view with add_view(), so
	it has the document.
	* glom/utility_widgets/cellrendererlist.cc:
	* glom/utility_widgets/cellrendererlist.h:
	Handle the editing_started signal to add the
	second column.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	Fill the second choices column of the
	CellRendererList.

2005-04-22  Murray Cumming  <murrayc@murrayc.com>

	Added some warnings for when relationships are unexpectedly empty.

	2005-04-22  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc:
	Added some warnings for when relationships are
	unexpectedly empty.
	* glom/data_structure/layout/layoutitem_field.cc:
	get_has_choices(). Return false if the choices
	information is empty, so we have no empty dropdown
	menus.
	* glom/data_structure/layout/layoutitem_portal.cc:
	* glom/data_structure/layout/layoutitem_portal.h:
	Store the whole Relationship information here.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	Use a more explicit data structure for layouts,
	clearly marking related (portal) layouts.
	update_relationships(): Update related (portal)
	layouts too.
	* glom/mode_data/dialog_layout_list_related.cc:
	on_button_formatting(): Specify the correct
	table name, so we get choices from the
	related table, not the parent table.

2005-04-22  Murray Cumming  <murrayc@murrayc.com>

	Details Layout: Add a Formatting button, because I can not yet implement a

	2005-04-22  Murray Cumming <murrayc@murrayc.com>

	* glom/glom.glade:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h:
	* glom/mode_data/treestore_layout.h:
	Details Layout: Add a Formatting button,
	because I can not yet implement a context
	menu for a GtkComboBox, and because nothing
	should be available only via a context menu
	anyway.

2005-04-22  Murray Cumming  <murrayc@murrayc.com>

	Move cellrendererlist out of adddel into utlity_widgets, because it is

2005-04-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/adddel/Makefile.am:
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/adddel/cellrendererlist.cc:
	* glom/utility_widgets/adddel/cellrendererlist.h:
	Move cellrendererlist out of adddel into
	utlity_widgets, because it is also used by
	DbAddDel.
	* glom/utility_widgets/cellrendererlist.cc:
	* glom/utility_widgets/cellrendererlist.h:
	* glom/utility_widgets/comboentryglom.cc:
	* glom/utility_widgets/comboentryglom.h:
	* glom/utility_widgets/comboglomchoicesbase.cc:
	* glom/utility_widgets/comboglomchoicesbase.h:
	Add ComboGlom and ComboGlomChoicesBase which is
	a base class for ComboGlom and ComboEntryGlom.
	* glom/utility_widgets/datawidget.cc:
	Use ComboGlom instead of ComboEntryGlom when
	the choices should be restricted.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	Restrict the choices when specified, using
	CellRendererCombo::property_has_entry().

2005-04-22  Gareth Owen  <gowen@src.gnome.org>

	Updated British English translation

2005-04-22  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-04-21  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-04-21  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

2005-04-21  Murray Cumming  <murrayc@murrayc.com>

	Add drop down choices for name_title.

	2005-04-21  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	Add drop down choices for name_title.
	* glom/data_structure/field.h:
	* glom/data_structure/glomconversions.cc:
	get_text_for_gda_value(): Prevent use of
	values that do not have the expected type.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	Added get/set_attribute_value_as_value()
	for convenience.
	load_after(), save_before(): load/save the
	custom choices.
	* glom/mode_data/dialog_field_layout.cc:
	* glom/mode_data/dialog_field_layout.h:
	Really save/load the custom choices, by
	storing and using the correct column index.

2005-04-21  Murray Cumming  <murrayc@murrayc.com>

	Add get_choice_values(), with code moved from DataWidget.

	2005-04-21  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/glomconversions.h:
	Add get_choice_values(), with code moved
	from DataWidget.
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	Use a CellRendererCombo on the List view,
	if the field layout has choices. However, it
	only shows the first column so far.
	* glom/base_db.cc:
	* glom/box_db.cc:
	* glom/dialog_connection.cc:
	* glom/dialog_connection.h:
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* glom/frame_glom.cc:
	* glom/main.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/dialog_field_layout.cc:
	* glom/mode_data/dialog_layout.cc:
	* glom/mode_data/dialog_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/mode_design/box_db_table_relationships.cc:
	* glom/mode_find/box_data_details_find.cc:
	* glom/navigation/box_tables.cc:
	Use get_document() from the View base class
	instead of another member variable. Use add_view()
	and remove_view() in some more places.

2005-04-21  Murray Cumming  <murrayc@murrayc.com>

	Added update_cache_relationship() and call it from set_relationship() and

2005-04-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	Added update_cache_relationship() and call it from
	set_relationship() and load_after() instead of
	filling-in relationship details along the way.
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/utility_widgets/comboentryglom.cc:
	* glom/utility_widgets/comboentryglom.h:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	Show data from the second related field in the
	drop down choice.

2005-04-21  Murray Cumming  <murrayc@murrayc.com>

	Invoice details: Added choice of contacts dropdown. util_trim(): reverse

2005-04-21  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	Invoice details: Added choice of contacts dropdown.
	* glom/data_structure/glomconversions.cc:
	util_trim(): reverse iterate from rbegin to rend,
	not the other way around. This avoids accessing
	invalid memory too.
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Add members and methods for choices drop-downs.
	* glom/document/document_glom.cc:
	Load/Save the choices details for LayoutItem_Fields.
	* glom/glom.glade:
	* glom/main.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_choose_relationship.cc:
	* glom/mode_data/dialog_choose_relationship.h:
	* glom/mode_data/dialog_field_layout.cc:
	* glom/mode_data/dialog_field_layout.h:
	* glom/mode_data/dialog_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/Makefile.am:
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/adddel/adddel.h:
	* glom/utility_widgets/adddel/adddel_withbuttons.cc:
	* glom/utility_widgets/adddel/adddel_withbuttons.h:
	* glom/utility_widgets/comboentryglom.cc:
	* glom/utility_widgets/comboentryglom.h:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h:
	* glom/utility_widgets/entryglom.cc:
	* glom/utility_widgets/entryglom.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/layoutwidgetbase.cc:
	* glom/utility_widgets/layoutwidgetbase.h:
	In the Layout Properties dialog, show a second tab
	for choices, either a custom list or a list from
	a related record. Only works on Details so far.
	* glom/frame_glom.cc:on_menu_developer_users(),
	* glom/mode_data/box_data_list_related.cc: destructor,
	* glom/mode_data/box_data.cc: destructor,
	Call remove_view() before deleting the dialog.

2005-04-20  Gareth Owen  <gowen@src.gnome.org>

	Updated British English translation

2005-04-19  Murray Cumming  <murrayc@murrayc.com>

	Add m_TableFields and fill it in fill_database(), as a cache instead of

	2005-04-19  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	Add m_TableFields and fill it in
	fill_database(), as a cache instead of
	repeatedly getting it from the document.
	get_lookup_fields(), get_calculated_fields(),
	* glom/mode_data/box_data_details.cc:
	recalculate_fields_for_related_records(),
	Examine all table fields, via m_TableFields,
	instead of just shown fields.

2005-04-19  Murray Cumming  <murrayc@murrayc.com>

	Remove 0 and NULL default values. Save default values with

	2005-04-18  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	Remove 0 and NULL default values.
	* glom/document/document_glom.cc:
	Save default values with
	GlomConversions::get_text_for_gda_value(), in
	iso-format, instead of Gda::Value::to_string().
	This stops empty default values being changed
	to 0s and NULLs.
	* glom/mode_data/box_data_list.cc:
	Specify the list row when calling
	set_field_value_in_database() so that lookups/
	calcs actually happen.

2005-04-19  Murray Cumming  <murrayc@murrayc.com>

	Add get_primary_key(), get_unique_key(), get_default_value(), etc, so we

2005-04-19  Murray Cumming,,,  <murrayc@murrayc.com>

	* glom/data_structure/field.cc:
	* glom/data_structure/field.h:
	Add get_primary_key(), get_unique_key(),
	get_default_value(), etc, so we do not always need
	to copy the whole FileAttributes member just to get
	a little information.
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	Use the Field methods instead of getting the
	FieldAttributes and using its methods. This should be
	more efficient.

2005-04-18  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

2005-04-18  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-04-18  Murray Cumming  <murrayc@murrayc.com>

	Remove 0 and NULL default values. Save default values with

	2005-04-18  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	Remove 0 and NULL default values.
	* glom/document/document_glom.cc:
	Save default values with
	GlomConversions::get_text_for_gda_value(), in
	iso-format, instead of Gda::Value::to_string().
	This stops empty default values being changed
	to 0s and NULLs.
	* glom/mode_data/box_data_list.cc:
	Specify the list row when calling
	set_field_value_in_database() so that lookups/
	calcs actually happen.

2005-04-18  Murray Cumming  <murrayc@murrayc.com>

	product: Add vat_percent field. invoice_lines: Lookup vat_percent along

	2005-04-18  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	product: Add vat_percent field.
	invoice_lines: Lookup vat_percent along with
	the other product information.
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h:
	* glom/mode_data/box_data_list.cc:
	Always use set_field_value_in_database()
	instead of custom UPDATE sql queries,
	and do all dependent recalcs/lookups/etc in
	set_field_value_in_database().

2005-04-18  Murray Cumming  <murrayc@murrayc.com>

	Added View_Composite::remove_view() calls before deleting widgets that

	2005-04-18  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_design/dialog_fields.cc:
	* glom/mode_design/dialog_relationships.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_find/notebook_find.cc:
	Added View_Composite::remove_view() calls before
	deleting widgets that have been add_view()ed. This
	fixes a crash when reopening the field definition
	details dialog.

2005-04-18  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-04-17  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-04-17  Murray Cumming  <murrayc@murrayc.com>

	Add VAT fields to invoice_lines and invoices, with calculations.

2005-04-17  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	Add VAT fields to invoice_lines and invoices,
	with calculations.
	* glom/data_structure/layout/layoutitem.cc:
	* glom/data_structure/layout/layoutitem.h:
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Add operator==().
	* glom/glom.glade:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.h:
	Add a Formatting button, as already in the regular
	List Layout dialog.
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	do_calculations(),
	* glom/mode_data/box_data_details.cc:
	recalculate_fields_for_related_records(): Recalculated
	fields that depend on the just-recalcualted fields, with
	some attempt to prevent circular fields. The dependency-
	sequence needs to be figured out all at once, however -
	see the TODO>
	* glom/python_embed/python_module/pygdavalue_conversions.c:
	(pygda_value_as_pyobject): Return a PyFloat for a GdaNumeric,
	instead of a PyLong.

2005-04-17  Francisco Javier Fernandez  <cyphra@vir.tecknolabs.com>

	Updated Spanish translation by Gorge Gonzalez.

2005-04-17  Francisco Javier Fernandez  <cyphra@vir.tecknolabs.com>

	* es.po: Updated Spanish translation by Gorge Gonzalez.

2005-04-17  Murray Cumming  <murrayc@murrayc.com>

	Emit the signal_record_changed signal when deleting related records, to

2005-04-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	Emit the signal_record_changed signal when
	deleting related records, to cause
	field recalculations.

2005-04-17  Murray Cumming  <murrayc@murrayc.com>

	record_new(): Iterate from begin to end, not begin to begin, so we

	2005-04-17  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc: record_new(): Iterate
	from begin to end, not begin to begin, so we actually
	set default values and calculate initial values.
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	set_field(): Monitor changes to the dynamically-created
	default value widget, not just the rest, so that
	changes to the default value enable the Save button.

2005-04-17  Murray Cumming  <murrayc@murrayc.com>

	fill_from_database(): Call DbAddDel::set_where_clause(), so that related

	2005-04-17  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc:
	fill_from_database(): Call
	DbAddDel::set_where_clause(), so that
	related records portals show only the related
	records instead of all records.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	Added set_where_clause(), and used it when
	creating the treemodel.
	get_is_placeholder(): Cope with invalid
	iterators.
	* po/POTFILES.in:
	Updated.

2005-04-17  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-04-17  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-04-16  Murray Cumming  <murrayc@murrayc.com>

	Updated.

	2005-04-17  Murray Cumming <murrayc@murrayc.com>

	* docs/website/index.html: Updated.
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	Add FlowTable::signal_related_record_changed() and
	Box_Data_List_Related::signal_record_changed() to allow
	the Box_Data_Details to recalculate fields that use
	the relationship whose records have changed.

2005-04-16  Murray Cumming  <murrayc@murrayc.com>

	Add count and total_price (calculated) fields to invoice_lines. Add

	2005-04-16  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	Add count and total_price (calculated) fields to invoice_lines.
	Add price_total (calculated) field to invoices.
	* glom/data_structure/field.cc:
	* glom/data_structure/field.h:
	Add get_calculation_relationships() to discover what relationships
	are used by a calculation.
	* glom/data_structure/glomconversions.cc:
	Change example value for numbers to 1 from 123, so we are more
	likely to find related records when testing calculations.
	* glom/python_embed/python_module/py_glom_record.cc:
	* glom/python_embed/python_module/py_glom_record.h:
	Remove the unused m_gda_connection member variable.
	* glom/python_embed/python_module/py_glom_relatedrecord.cc:
	Add sum(), count(), min(), and max() python methods. For instance,
	record[invoice_lines].sum(total_price);

2005-04-16  Murray Cumming  <murrayc@murrayc.com>

	Forward get/set_name() to m_field instead of using m_name from the base

2005-04-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Forward get/set_name() to m_field instead of
	using m_name from the base class.
	* glom/document/document_glom.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	Remove set_name() where we also set m_field with
	an identical name.

2005-04-16  Murray Cumming  <murrayc@src.gnome.org>

	Fixed a non-US spelling of recognized

2005-04-16  Murray Cumming  <murrayc@murrayc.com>

	RelatedRecord_tp_as_mapping_getitem(): Actually execute the SQ so that it

	2005-04-16  Murray Cumming <murrayc@murrayc.com>

	* glom/python_embed/python_module/py_glom_relatedrecord.cc:
	RelatedRecord_tp_as_mapping_getitem():
	Actually execute the SQ so that it actually gets the data.
	And also handle various errors and give interesting warnings.

2005-04-16  Murray Cumming  <murrayc@murrayc.com>

	Added record.related[relationship_name][field_name] syntax for calculated

	2005-04-16  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/python_embed/glom_python.cc:
	* glom/python_embed/glom_python.h:
	* glom/python_embed/python_module/Makefile.am:
	* glom/python_embed/python_module/py_glom_module.cc:
	* glom/python_embed/python_module/py_glom_module.h:
	* glom/python_embed/python_module/py_glom_record.cc:
	* glom/python_embed/python_module/py_glom_record.h:
	* glom/python_embed/python_module/py_glom_related.cc:
	* glom/python_embed/python_module/py_glom_related.h:
	* glom/python_embed/python_module/py_glom_relatedrecord.cc:
	* glom/python_embed/python_module/py_glom_relatedrecord.h:
	Added record.related[relationship_name][field_name] syntax for
	calculated fields, though it is not working yet.
	* glom/python_embed/python_module/pygdavalue_conversions.c:
	* glom/utility_widgets/adddel/eggcolumnchooser/eggcolumnchooserdial
	og.c:
	* glom/utility_widgets/adddel/eggcolumnchooser/eggcolumnmodel.c:
	Extra C casts needed for g++ 3.4.

2005-04-16  Murray Cumming  <murrayc@src.gnome.org>

	Updated dependencies

2005-04-16  Murray Cumming  <murrayc@src.gnome.org>

	Updated screenshot

2005-04-15  Murray Cumming  <murrayc@murrayc.com>

	Access field values via record[] instead of record.fields[].get().

2005-04-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/python_embed/glom_python.cc:
	* glom/python_embed/python_module/py_glom_record.cc:
	* glom/python_embed/python_module/py_glom_record.h:
	Access field values via record[] instead of
	record.fields[].get().
	* glom/data_structure/field.cc:
	get_calculation_fields(): Revise for the new syntax.
	* glom/python_embed/python_module/
	Added py_glom_related.[h|cc], which will, soon,
	provide access to related records.
	Added py_glom_module.[h|cc]: Added, and moved the
	module init stuff into here.

2005-04-15  Murray Cumming  <murrayc@src.gnome.org>

	in progress

2005-04-15  Murray Cumming  <murrayc@src.gnome.org>

	in progress

2005-04-15  Murray Cumming  <murrayc@src.gnome.org>

	in progress

2005-04-15  Murray Cumming  <murrayc@src.gnome.org>

	in progress

2005-04-15  Murray Cumming  <murrayc@src.gnome.org>

	Depend on pygda-1.2

2005-04-15  Murray Cumming  <murrayc@src.gnome.org>

	Let me use my own data again.

2005-04-15  Murray Cumming  <murrayc@src.gnome.org>

	some autotool change

2005-04-15  Murray Cumming  <murrayc@src.gnome.org>

	Addd some checks

2005-04-15  Murray Cumming  <murrayc@src.gnome.org>

	Increased version in database name, so that it will be recreated.

2005-04-15  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-04-14  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-04-14  Murray Cumming  <murrayc@src.gnome.org>

	Updated version

2005-04-14  Murray Cumming  <murrayc@murrayc.com>

	Invoice details: Show the related, calculated, Full Name instead of the

	2005-04-14  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	Invoice details: Show the related, calculated,
	Full Name instead of the individual name parts, now that
	calculated fields work.
	* glom/data_structure/layout/layoutgroup.h:
	Make the items map public so we can change it more
	efficiently.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	Add fill_layout_field_details() to fill layout groups
	with full field information.
	* glom/glom.glade:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list.h:
	Added a Formatting button to show the now-separate
	formatting dialog.
	set_document(): Get the full field information from
	the document.
	* glom/mode_data/box_data_list.cc:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/entryglom.cc:
	* glom/utility_widgets/layoutwidgetbase.cc:
	Move action creation into the base class instead of
	duplicating it.

2005-04-14  Murray Cumming  <murrayc@murrayc.com>

	Updated some screenshots and pictures.

	2005-04-14  Murray Cumming <murrayc@murrayc.com>

	* docs/website/screenshots/glom_data_details.png:
	* docs/website/screenshots/glom_design_layout_field_formatting.png:
	* docs/website/screenshots/glom_select_field.png:
	* docs/website/screenshots/index.html:
	Updated some screenshots and pictures.
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	Added get_record_field_values(), get_calculated_fields(), and
	do_calculations() which use them.
	* glom/mode_data/box_data_details.cc: on_flowtable_field_changed():
	* glom/mode_data/box_data_list.cc: on_adddel_user_changed():
	Call do_calculations() to update calculated field values.

2005-04-14  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-04-13  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-04-13  Murray Cumming  <murrayc@murrayc.com>

	Updated the screenshot to show these changes. Added a name_full fields to

2005-04-13  Murray Cumming  <murrayc@murrayc.com>

	* docs/website/screenshots/glom_design_fields_dialog_calculated.png
	: Updated the screenshot to show these changes.
	* examples/example_smallbusiness.glom:
	Added a name_full fields to contacts, as a simple calculated-field
	test.
	* glom/data_structure/field.cc:
	* glom/data_structure/field.h:
	Added get_caculation_fields() - it parses the python code and
	guesses what fields are used in the calculation.
	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/glomconversions.h:
	Added get_example_value(), so we have some field values for the
	calculation test dialog.
	* glom/glom.glade:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.h:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	Show the (according to our parsing) used fields, and show that
	we import the glom module implicitly.

2005-04-13  Murray Cumming  <murrayc@murrayc.com>

	glom_evaluate_python_function_implementation() Correctly check whether the

	2005-04-13  Murray Cumming <murrayc@murrayc.com>

	* glom/python_embed/glom_python.cc:
	glom_evaluate_python_function_implementation()
	Correctly check whether the result is a gda.Value
	and process it appropriately. This now works.

2005-04-13  Murray Cumming  <murrayc@murrayc.com>

	Link the module to the glom dependencies, to avoid undefined symbols when

	2005-04-13  Murray Cumming <murrayc@murrayc.com>

	* glom/python_embed/python_module/Makefile.am:
	Link the module to the glom dependencies, to
	avoid undefined symbols when using it from python.

2005-04-13  Murray Cumming  <murrayc@murrayc.com>

	Use pyexec_* instead of pkpyexec_* so that the module is not installed in

	2005-04-13  Murray Cumming <murrayc@murrayc.com>

	* glom/python_embed/python_module/Makefile.am:
	Use pyexec_* instead of pkpyexec_* so that the
	module is not installed in a package sub-directory,
	so that it can be imported.

2005-04-13  Murray Cumming  <murrayc@src.gnome.org>

	Add python test script.

2005-04-13  Murray Cumming  <murrayc@murrayc.com>

	Create glom.la, not libglom.la. That seems to be what python modules do.

	2005-04-13  Murray Cumming <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/python_embed/python_module/Makefile.am:
	Create glom.la, not libglom.la. That seems to be what
	python modules do.
	* glom/python_embed/python_module/py_glom_record.cc:
	* glom/python_embed/python_module/py_glom_record.h:
	Rename the initglomRecord() method to initglom(), in
	case that is what python is looking for. Still does
	not work though.

2005-04-13  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation.

2005-04-13  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation.

2005-04-13  Murray Cumming  <murrayc@murrayc.com>

	Put the python module in a sub directory, making the build easiert. Rename

	2005-04-13  Murray Cumming <murrayc@murrayc.com>

	* configure.in:
	* glom/Makefile.am:
	* glom/python_embed/Makefile.am:
	* glom/python_embed/glom_python.cc:
	* glom/python_embed/python_module/Makefile.am:
	* glom/python_embed/python_module/py_glom_record.cc:
	* glom/python_embed/python_module/py_glom_record.h:
	Put the python module in a sub directory, making the
	build easiert. Rename the python module from pyglom
	to glom, and import that. But python still says that
	the module does not exist when we import it.

2005-04-13  Murray Cumming  <murrayc@murrayc.com>

	record_new(), on_button_test(): Pass some test fields values to

	2005-04-13  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc: record_new(),
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	on_button_test(): Pass some test fields values to
	glom_evaluate_python_function_implementation().
	* glom/python_embed/Makefile.am:
	Try to actually build and install the glom python
	module.
	* glom/python_embed/glom_python.cc:
	* glom/python_embed/glom_python.h:
	glom_evaluate_python_function_implementation() now
	receives a map of field values to be used by the
	python function.
	* glom/python_embed/py_glom_record.cc:
	Add the fields attribute.

2005-04-12  Murray Cumming  <murrayc@murrayc.com>

	Get access to the python gda.Value type and use it instead of the hack.

	2005-04-12  Murray Cumming <murrayc@murrayc.com>

	* glom/python_embed/glom_python.cc: Get access to
	the python gda.Value type and use it instead of
	the hack.

2005-04-12  Murray Cumming  <murrayc@murrayc.com>

	pkg-config check for pygtk-2.0, because we need the header to access the

	2005-04-12  Murray Cumming <murrayc@murrayc.com>

	* configure.in: pkg-config check for pygtk-2.0,
	because we need the header to access the internals
	of the gda.Value object.
	* glom/python_embed/glom_python.cc:
	Handle the result as a gda.Value.

2005-04-10  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-04-10  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-04-10  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_user_added(): Call on_adddel_user_changed() to do lookups.

	2005-04-10  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	on_adddel_user_added(): Call
	on_adddel_user_changed() to do lookups.
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	DbAddDel::signal_user_added(): Pass the column
	index of the field that was filled-in to create
	the new row.

2005-04-10  Murray Cumming  <murrayc@murrayc.com>

	Added files that I think Christian Rose removed accidentally.

	2005-04-10  Murray Cumming <murrayc@murrayc.com>

	* po/POTFILES.in: Added files that I think
	Christian Rose removed accidentally.

2005-04-09  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-04-09  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-04-09  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2005-04-09  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2005-04-09  Murray Cumming  <murrayc@murrayc.com>

	Add get/set_hidden(), so we can add a hidden list column for keys, without

	2005-04-09  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Add get/set_hidden(), so we can add a hidden list
	column for keys, without showing them in the UI.
	* glom/mode_data/box_data_list.cc:
	Do not create rows in the AddDel from the database -
	allow it (the model) to fill itself.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	Use the new explicit get_last_row() method of the model
	instead of iterating back from end().
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	Constructor: create rows from the database automatically,
	as well as allowing creating of new empty rows.

2005-04-08  Murray Cumming  <murrayc@murrayc.com>

	Added Relationship::get_name_not_empty() and used it, for performance,

	2005-04-08  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	* glom/data_structure/relationship.cc:
	* glom/data_structure/relationship.h:
	Added Relationship::get_name_not_empty() and used it,
	for performance, instead of getting the whole string
	just to see if it is empty.
	* glom/glom.glade:
	* glom/mode_data/Makefile.am:
	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_choose_field.h:
	* 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_details.h:
	Moved formatting options to their own dialog.
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h:
	* glom/utility_widgets/entryglom.cc:
	* glom/utility_widgets/entryglom.h:
	* glom/utility_widgets/layoutwidgetbase.h:
	Added a context menu item for the new layout
	properties dialog.

2005-04-07  Murray Cumming  <murrayc@src.gnome.org>

	increased version

2005-04-07  Murray Cumming  <murrayc@murrayc.com>

	Remove the (huge) boost directory. boost::python is not worth the trouble

	2005-04-07  Murray Cumming <murrayc@murrayc.com>

	* glom/python_embed/: Remove the (huge) boost
	directory. boost::python is not worth the trouble for now,
	so I will use the C API instead.

2005-04-07  Murray Cumming  <murrayc@murrayc.com>

	Add set_columns_ready(). Only when this is called will the columns

	2005-04-07  Murray Cumming <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	Add set_columns_ready(). Only when this is called will
	the columns actually be constructed. This prevents
	multiple unnecessary data retrievals.
	* glom/mode_data/box_data_list.cc: fill_column_titles():
	Call DbAddDel::set_columns_ready().
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	create(): Add a where_clause parameter. Add a datamodel
	member variable and fill it from a SQL SELECT statement.
	The result is not actually used yet, but could be used to
	get rows only on demand when iterating.

2005-04-07  Murray Cumming  <murrayc@src.gnome.org>

	In progress

2005-04-07  Murray Cumming  <murrayc@src.gnome.org>

	in progress

2005-04-07  Murray Cumming  <murrayc@murrayc.com>

	Do not try to build the boost sub-directory. We do not use it anymore.

	2005-04-07  Murray Cumming <murrayc@murrayc.com>

	* glom/python_embed/Makefile.am:
	Do not try to build the boost sub-directory. We do not
	use it anymore.

2005-04-07  Murray Cumming  <murrayc@src.gnome.org>

	whitespace changes

2005-04-07  Murray Cumming  <murrayc@src.gnome.org>

	Added a comment.

2005-04-07  Murray Cumming  <murrayc@murrayc.com>

	Depend explicitly on libxslt. Stop using boost::python.

	2005-04-07  Murray Cumming <murrayc@murrayc.com>

	* Makefile.am:
	* configure.in:
	Depend explicitly on libxslt. Stop using boost::python.
	* glom/python_embed/py_glom_record.cc:
	* glom/python_embed/py_glom_record.h:
	Stop using boost::python, because it is too difficult to build ,
	inside glom, and is huge, and is not really necessary here.
	Add some more code for the PyGlomRecord object.
	* glom/python_embed/glom_python.cc:
	Pass a PyGlomRecord object to the python method.
	* glom/application.cc:
	App_Glom::init(): Add a print menu item. It is just a
	proof of concept at the moment.
	* glom/mode_data/box_data_details.cc:
	Added print_layout_group(), which creates an XML format
	for the data, and then converts it to HTML using an XSLT
	stylesheet, using libxslt.
	* xslt/ Added this directory, with .xslt which is
	installed for use by the application.
	* glom/base_db.cc:
	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/glomconversions.h:
	Add util_build_sql_select_with_where_clause(), moved from
	Box_Data(), so that the Db_AddDel can use it in future, to
	do on-demand data retrieval.
	* glom/data_structure/iso_codes.cc:
	Catch the exception if the iso_codes XML file can not be
	found, and then just return an empty list. This prevents
	a crash when iso_codes is not properly installed. For instance,
	Ubuntu Hoary currently installs an (obviously) incorrect .pc file.
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Cache the whole Relationship details here, instead of just storing
	the relationship_name. This means that code that uses this does not
	need to access the document to lookup the full details.
	* glom/dialog_connection.cc:
	* glom/document/document_glom.cc:
	* glom/frame_glom.cc:
	* glom/frame_glom.h:
	* glom/glom.glade:
	Made ScrolledWindows use automatic mode for scrollbars,
	so they are only shown when necessary. Remove the unused
	information dialog.
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	Make methods const.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	Store LayoutItem_Fields for each column, not just Fields.
	* glom/main.cc:
	* glom/mode_data/Makefile.am:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	* glom/mode_data/box_data_details.h:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_choose_relationship.cc:
	* glom/mode_data/dialog_layout.cc:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/notebook_data.cc:
	* glom/mode_data/notebook_data.h:
	* glom/mode_data/treestore_layout.h:
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/mode_design/dialog_design.cc:
	* glom/mode_design/dialog_fields.cc:
	* glom/mode_design/dialog_relationships.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/combo_fieldtype.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_user.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_list_find.cc:
	* glom/mode_find/notebook_find.cc:
	* glom/navigation/box_tables.cc:
	* glom/notebook_glom.cc:
	* glom/notebook_glom.h:
	* glom/utility_widgets/adddel/adddel.cc:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/entryglom.cc:
	* glom/data_structure/field.cc:
	Include glibmm/i18n.h instead of libintl.h in .cc files,
	so we can use _() instead of gettext().

2005-04-01  Steven Michael Murphy  <smurphy@src.gnome.org>

	Added new Language, Kinyarwanda (rw), to this package

2005-03-31  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation.

2005-03-31  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation.

2005-03-31  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-03-31  Murray Cumming  <murrayc@src.gnome.org>

	Added missing files

2005-03-31  Murray Cumming  <murrayc@src.gnome.org>

	Added screenshot.

2005-03-31  Murray Cumming  <murrayc@src.gnome.org>

	Mentioned automatic layout and numeric formatting

2005-03-31  Murray Cumming  <murrayc@murrayc.com>

	The optional add() expand parameter now works for first items, so related

	2005-03-31  Murray Cumming <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	The optional add() expand parameter now works for first
	items, so related records portals now take up the full
	column width.

2005-03-31  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2005-03-31  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2005-03-31  Murray Cumming  <murrayc@murrayc.com>

	Use the correct name with dgettext(), using a _ instead of a -. CUrrency

	2005-03-31  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/iso_codes.cc:
	Use the correct name with dgettext(), using a _
	instead of a -. CUrrency names are therefore now
	translated.
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	Add optional expand parameter to FlowTable::add() and
	use it for portals and groups in FlowTableWithFields.
	Does not quite work yet though.

2005-03-31  Adam Weinberger  <adamw@gnome.org>

	Updated Canadian English translation.

2005-03-30  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.

2005-03-30  Christian Rose  <menthos@menthos.com>

	Updated Swedish translation.

2005-03-30  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.

2005-03-30  Murray Cumming  <murrayc@murrayc.com>

	Depend on latest bakery, so we can use util_bold_message().

	2005-03-30  Murray Cumming <murrayc@murrayc.com>

	* configure.in:
	Depend on latest bakery, so we can use util_bold_message().
	* glom/application.cc:
	* glom/base_db.cc:
	* glom/frame_glom.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_design/dialog_fields.cc:
	* glom/mode_design/dialog_relationships.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/navigation/box_tables.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	Use util_bold_message() to avoid marking pango markup for
	translation.

2005-03-30  Christian Rose  <menthos@menthos.com>

	Removed unnecessary trailing spaces from translateable messages (bug

2005-03-30  Christian Rose  <menthos@menthos.com>

	* glom/glom.glade: Removed unnecessary trailing spaces from
	translateable messages (bug #172109).

2005-03-30  Murray Cumming  <murrayc@murrayc.com>

	Comment-out the boost python stuff until I can get it to build.

2005-03-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/python_embed/py_glom_record.h:
	Comment-out the boost python stuff until I can get it to build.

2005-03-30  Murray Cumming  <murrayc@src.gnome.org>

	Added missing files

2005-03-30  Murray Cumming  <murrayc@murrayc.com>

	Added boost/, containing lots of the boost files, needed by the

2005-03-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/python_embed/: Added boost/, containing lots of the
	boost files, needed by the boot::python library. We must
	copy the files instead of depending on a shared library,
	because the API is unstable.

2005-03-30  Christian Rose  <menthos@menthos.com>

	Updated Swedish translation.

2005-03-30  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.

2005-03-30  Murray Cumming  <murrayc@murrayc.com>

	Move glom_python.* to the python_emded subdirectory, where I plan to put

	2005-03-30  Murray Cumming <murrayc@murrayc.com>

	* configure.in:
	* glom/Makefile.am:
	* glom/box_db_table.cc:
	* glom/glom_python.cc:
	* glom/glom_python.h:
	* glom/mode_data/box_data.cc:
	* glom/mode_design/fields/dialog_fieldcalculation.cc:
	* glom/python_embed/Makefile.am:
	* glom/python_embed/glom_python.cc:
	* glom/python_embed/glom_python.h:
	Move glom_python.* to the python_emded subdirectory,
	where I plan to put more stuff.

2005-03-30  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

2005-03-30  Murray Cumming  <murrayc@murrayc.com>

	Added util_trim_string(). on_treeview_cell_edited(): Use the

	2005-03-30  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/glomconversions.h:
	Added util_trim_string().
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	on_treeview_cell_edited(): Use the numeric_format
	when parsing.
	* glom/utility_widgets/entryglom.cc:
	get_value(), check_for_change(): Use the
	numeric_format when parsing the value, so that currency
	symbols can be ignored.

2005-03-30  Murray Cumming  <murrayc@src.gnome.org>

	Use the currencies iso domain with dgettext.

2005-03-30  Murray Cumming  <murrayc@murrayc.com>

	Depend on iso-codes and define the prefix for its files in config.h.

2005-03-30  Murray Cumming  <murrayc@murrayc.com>

	* config.h.in:
	* configure.in:
	Depend on iso-codes and define the prefix for its files in
	config.h.
	* glom/Makefile.am:
	* glom/data_structure/Makefile.am:
	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/glomconversions.h:
	* glom/data_structure/iso_codes.cc:
	* glom/data_structure/iso_codes.h:
	Added a Currency class, and get_list_of_currency_symbols().
	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_choose_field.h:
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/comboentry_currency.cc:
	* glom/utility_widgets/comboentry_currency.h:
	Use a ComboBoxEntry for the currencies on the
	Field Layout dialog.
	* glom/utility_widgets/entry_numerical.cc:
	* glom/utility_widgets/entry_numerical.h:
	Removed this, because it's not used.

2005-03-29  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2005-03-29  Murray Cumming  <murrayc@murrayc.com>

	Add a currency_symbol member. Load/Save the currency symbol part of the

2005-03-29  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	* glom/data_structure/numeric_format.cc:
	* glom/data_structure/numeric_format.h:
	Add a currency_symbol member.
	* glom/document/document_glom.cc:
	Load/Save the currency symbol part of the
	numeric format.
	* glom/glom.glade:
	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_choose_field.h:
	Add a currency_symbol ComboBoxEntry. It
	is not used yet.

2005-03-29  Murray Cumming  <murrayc@murrayc.com>

	Allow layout field editing (editable, numeric formatting, etc) of related

	2005-03-29  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	* glom/glom.glade:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.h:
	Allow layout field editing (editable, numeric formatting,
	etc) of related records lists, like we already have for
	normal lists.

2005-03-29  Murray Cumming  <murrayc@murrayc.com>

	When creating default related records layouts, get the list of fields from

	2005-03-29  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	* glom/base_db.cc:
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.h:
	When creating default related records layouts, get
	the list of fields from the related table, not the
	parent table. Store the related records layout in
	the parent table's table part of the document,
	instead of pretending that it is a special table.

2005-03-29  Murray Cumming  <murrayc@murrayc.com>

	get_table_fields_to_show(): When creating default layouts, do not use the

	2005-03-29  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc: get_table_fields_to_show():
	When creating default layouts, do not use the 1000s
	separator with primary key IDs.

2005-03-29  Murray Cumming  <murrayc@murrayc.com>

	get_table_fields_to_show(): When creating default layouts, do not use the

	2005-03-29  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc: get_table_fields_to_show():
	When creating default layouts, do not use the 1000s
	separator with primary key IDs.

2005-03-29  Murray Cumming  <murrayc@murrayc.com>

	New class to represent the numeric format.

	2005-03-29  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/Makefile.am:
	* glom/data_structure/numeric_format.cc:
	* glom/data_structure/numeric_format.h:
	New class to represent the numeric format.
	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/glomconversions.h:
	Do special std:: stream stuff to format numbers
	as needed by the NumericFormat.
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Add a NumericFormat member.
	* glom/document/document_glom.cc:
	Load/Save the numeric format information with the
	LayoutItem.
	* glom/glom.glade:
	Add UI for the Numeric Format.
	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_choose_field.h:
	Use the Numeric Format UI. It is only shown for
	numeric fields.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	Use the Numeric format for the list.
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/entryglom.cc:
	Use the numeric format for details views.

2005-03-26  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2005-03-26  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2005-03-25  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2005-03-24  Murray Cumming  <murrayc@murrayc.com>

	The beginnings of UI for numeric formatting, hidden for now.

	2005-03-24  Murray Cumming <murrayc@murrayc.com>

	* glom/glom.glade:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/mode_design/users/dialog_users_list.h:
	The beginnings of UI for numeric formatting,
	hidden for now.
	* glom/utility_widgets/Makefile.am:
	* glom/utility_widgets/combo_textglade.cc:
	* glom/utility_widgets/combo_textglade.h:
	Moved these here from glom/mode_design/fields/.

2005-03-24  Murray Cumming  <murrayc@src.gnome.org>

	on_button_user_add(): Revoke all user privileges when adding a user to a

	* glom/mode_design/users/dialog_users_list.cc:
	on_button_user_add(): Revoke all user
	privileges when adding a user to a group, so
	that all the user privileges come from the group.

2005-03-23  Murray Cumming  <murrayc@murrayc.com>

	Install the glom file. In 0.8.16 I mistakenly made it not install, when

	2005-03-23  Murray Cumming <murrayc@murrayc.com>

	* glom/Makefile.am: Install the glom file.
	In 0.8.16 I mistakenly made it not install,
	when preventing the installation of a test.

2005-03-22  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	fill_from_database(): Disable the Add and Delete buttons if the current

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	fill_from_database(): Disable the Add and Delete
	buttons if the current user does not have those
	priviliges.

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	Store priv_view when we store priv_edit.

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	Store priv_view when we store priv_edit.
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	Do not get records if the table may not be viewed
	by the current user.
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h:
	Make field contents non-visible if necessary,
	though we do not even fill them with data in
	that case anyway.
	* glom/mode_design/users/dialog_groups_list.cc:
	When setting view to false, set everything else
	to false too, because anything else would be
	stupid.

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	on_menu_userlevel_Developer(): Prevent developer mode if the user is not

	2005-03-22  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/frame_glom.cc:
	on_menu_userlevel_Developer(): Prevent
	developer mode if the user is not in the
	developer group.

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	When editing a user, show the group (though we can not edit it here yet),

	2005-03-22  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_design/users/dialog_user.cc:
	* glom/mode_design/users/dialog_user.h:
	* glom/mode_design/users/dialog_users_list.cc:
	When editing a user, show the group (though
	we can not edit it here yet), and update the
	password in the connection if it is the
	current user.

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	Add a description of the special developers group.

	2005-03-22  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_groups_list.h:
	Add a description of the special developers group.
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/mode_design/users/dialog_users_list.h:
	Prevent removal of the last developer.

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	Store the privileges in the LayoutItem_Field, filling them in when we get

	2005-03-22  Murray Cumming <murrayc@murrayc.com>

	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/data_structure/layout/layoutitem.h:
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	Store the privileges in the LayoutItem_Field,
	filling them in when we get the field information
	from the database. Make widgets for non-editable
	fields to non-editable.
	* glom/frame_glom.cc:
	Update the layout when the Users window closes,
	to show changes.

2005-03-22  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2005-03-22  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2005-03-22  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	Added the table_privs. Do not use an invalid map iterator, to prevent a

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	Added the table_privs.
	* glom/document/document_glom.cc:
	Do not use an invalid map iterator, to
	prevent a crash.

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	recreate_database(): Add the developer group and make the user a member of

2005-03-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: recreate_database():
	Add the developer group and make the user a
	member of it.
	* glom/base_db.cc:
	* glom/base_db.h:
	Added get_current_privs().
	* glom/data_structure/Makefile.am:
	* glom/data_structure/groupinfo.cc:
	* glom/data_structure/groupinfo.h:
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	Moved GroupInfo class out of Document_Glom.
	* glom/mode_design/users/dialog_groups_list.cc:
	Set the groups in the document when we get
	them from the database. But just in case
	we need to recreate the database from the
	document.

2005-03-21  Murray Cumming  <murrayc@murrayc.com>

	Add API to get/set the groups, and load/save them in the XML. Not used

2005-03-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* glom/glom_document.dtd:
	Add API to get/set the groups, and load/save
	them in the XML. Not used yet.

2005-03-21  Murray Cumming  <murrayc@murrayc.com>

	Add a section to show the Groups window. Use SCROLLBARS_AUTOMATIC on some

	2005-03-21  Murray Cumming <murrayc@murrayc.com>

	* docs/website/screenshots/glom_design_groups.png:
	* docs/website/screenshots/index.html:
	Add a section to show the Groups window.
	* glom/glom.glade:
	Use SCROLLBARS_AUTOMATIC on some ScrolledWindows.

2005-03-21  Murray Cumming  <murrayc@murrayc.com>

	Remove nonsense table information.

2005-03-21  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	Remove nonsense table information.
	* glom/base_db.cc:
	* glom/base_db.h:
	Add add_standard_groups() - it ensures that
	there is always a developer group.
	* glom/mode_design/users/dialog_groups_list.cc:
	load_from_document(): Call add_standard_groups() to ensure
	that the developer group always exists.
	on_button_group_new(): Provide sensible default privilieges
	for new groups.
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	Add remove_table() and remove_relationship().
	* glom/navigation/box_tables.cc: on_adddel_Delete():
	Remove tables from the document as well as the database
	server.

2005-03-21  Murray Cumming  <murrayc@murrayc.com>

	User management is now group-based, with users in groups, and permissions

	2005-03-21  Murray Cumming <murrayc@murrayc.com>

	* configure.in:
	* glom/Makefile.am:
	* glom/application.cc:
	* glom/base_db.cc:
	* glom/base_db.h:
	* glom/box_db.h:
	* glom/data_structure/Makefile.am:
	* glom/data_structure/tableinfo.h:
	* glom/document/document_glom.cc:
	* glom/document/document_glom.h:
	* glom/frame_glom.cc:
	* glom/glom.glade:
	* glom/mode_design/Makefile.am:
	* glom/mode_design/dialog_user.cc:
	* glom/mode_design/dialog_user.h:
	* glom/mode_design/dialog_users_list.cc:
	* glom/mode_design/dialog_users_list.h:
	* glom/mode_design/fields/combo_textglade.cc:
	* glom/mode_design/fields/combo_textglade.h:
	* glom/mode_design/users/Makefile.am:
	* glom/mode_design/users/dialog_choose_user.cc:
	* glom/mode_design/users/dialog_choose_user.h:
	* glom/mode_design/users/dialog_groups_list.cc:
	* glom/mode_design/users/dialog_groups_list.h:
	* glom/mode_design/users/dialog_new_group.cc:
	* glom/mode_design/users/dialog_new_group.h:
	* glom/mode_design/users/dialog_user.cc:
	* glom/mode_design/users/dialog_user.h:
	* glom/mode_design/users/dialog_users_list.cc:
	* glom/mode_design/users/dialog_users_list.h:
	* glom/navigation/box_tables.cc:
	* glom/utility_widgets/adddel/adddel.cc:
	User management is now group-based, with
	users in groups, and permissions for each group.

2005-03-20  Murray Cumming  <murrayc@src.gnome.org>

	Fixed postgreSQL typo

2005-03-20  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2005-03-19  Murray Cumming  <murrayc@murrayc.com>

	Added very simple user administration, available from the Developer menu.

	2005-03-19  Murray Cumming <murrayc@murrayc.com>

	* glom/Makefile.am:
	* glom/frame_glom.cc:
	* glom/glom.glade:
	* glom/mode_data/box_data.cc:
	* glom/mode_design/Makefile.am:
	* glom/mode_design/dialog_user.cc:
	* glom/mode_design/dialog_user.h:
	* glom/mode_design/dialog_users_list.cc:
	* glom/mode_design/dialog_users_list.h:
	Added very simple user administration, available
	from the Developer menu.

2005-03-18  Murray Cumming  <murrayc@murrayc.com>

	Details view: You can now right-click on a Field Entry, to add a field,

	2005-03-18  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	* glom/Makefile.am:
	* glom/data_structure/layout/layoutitem_portal.h:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/treestore_layout.h:
	* glom/mode_design/dialog_relationships.cc:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h:
	* glom/utility_widgets/entryglom.cc:
	* glom/utility_widgets/entryglom.h:
	* glom/utility_widgets/flowtable.cc:
	* glom/utility_widgets/flowtable.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	* glom/utility_widgets/layoutwidgetbase.cc:
	* glom/utility_widgets/layoutwidgetbase.h:
	Details view: You can now right-click on a Field
	Entry, to add a field, group, or related records
	portal after the clicked field.

2005-03-17  Murray Cumming  <murrayc@src.gnome.org>

	Use better NEWS cvs url

2005-03-16  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2005-03-15  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-03-15  Murray Cumming  <murrayc@murrayc.com>

	Moved the related record creation/warning code from

	2005-03-15  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h:
	* glom/mode_data/box_data_list.cc:
	Moved the related record creation/warning
	code from
	Box_Data_Details::on_flowtable_field_edited()
	into the base Box_Data class, as
	Box_Data::add_related_record_for_field(), and
	used it from
	Box_Data_List::on_adddell_user_changed().
	This means that automatic creation of related
	records works from the List view too.

2005-03-15  Murray Cumming  <murrayc@murrayc.com>

	confirm_discard_unstored_data(): The buttons argument of MessageDialog is

	2005-03-15  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc:
	confirm_discard_unstored_data(): The buttons
	argument of MessageDialog is not a flag - really
	show both buttons.
	* glom/mode_data/box_data_details.cc:
	fill_from_database(): Call set_unstored_data(false)
	at the end. If there really is some unstored data
	then it is too late at this point.

2005-03-15  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_user_requested_add(): When the primary key value does not exist

	2005-03-15  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc:
	on_adddel_user_requested_add(): When the primary
	key value does not exist yet, call
	on_adddel_user_added() regardless of whether the
	field is autoincremented. This makes record
	adding work again if the primary key is not
	auto-increment.

2005-03-15  Murray Cumming  <murrayc@murrayc.com>

	generate_next_auto_increment(): unbreak this, so that adding records works

	2005-03-15  Murray Cumming <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc:
	* glom/data_structure/glomconversions.h:
	* glom/mode_data/box_data.cc:
	generate_next_auto_increment(): unbreak
	this, so that adding records works again
	if the primary key is auto incremented.

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	Glom_Db_TreeModel::on_treeview_cell_edited(): Do not set a bogus key value

	2005-03-14  Murray Cumming <murrayc@murrayc.com>

	* glom/document/document_glom.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
	* glom/utility_widgets/db_adddel/glom_db_treemodel.h:
	Glom_Db_TreeModel::on_treeview_cell_edited():
	Do not set a bogus key value when a column is the
	first to get a value, and do not mark it as no
	longer a placeholder. This prevents a crash
	when adding two field values without yet entereing
	a primary value. But the primary key value is still
	not used when it is entered.

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	Box_Data_Details::on_flowtable_field_edited(): When it's a related field

	2005-03-14  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	* glom/box_db_table.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/utility_widgets/db_adddel/db_adddel.cc:
	Box_Data_Details::on_flowtable_field_edited():
	When it's a related field that was edited,
	create a related record, where allowed by the
	relationship, and where possible, with warnings
	where not. This is quite a lot of code - it
	should be abstracted so it can be used for the
	list too.

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	Add get/set_auto_create() to specify whether details and lists view should

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	* glom/glom_document.dtd:
	* glom/document/document_glom.cc:
	* glom/data_structure/relationship.cc:
	* glom/data_structure/relationship.h:
	Add get/set_auto_create() to specify whether
	details and lists view should automatically
	create related fields when the user enters
	data into a record that does not yet exist.
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/mode_design/box_db_table_relationships.h:
	on_adddel_user_activated(): Do not clear the
	to_field when the user clicks on it.
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	If allow_add is false, deactivate the Add
	context menu item, and do not add new-record
	placeholder rows.
	* glom/mode_data/box_data_list_related.cc:
	Set DbAddDel::set_allow_add() according to the
	relationship.

2005-03-14  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	Box_Data_List::refresh_related_fields(): Now related fields are updated in

	2005-03-14  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_details.h:
	* glom/mode_data/box_data_list.cc:
	Box_Data_List::refresh_related_fields(): Now
	related fields are updated in the details view
	when the key value changes in the record.
	Dialog_Layout_List: The edit button now edits the
	properties of the current layout field.

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	refresh_related_fields(): The list view now updates the displayed value of

	2005-03-14  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc:
	refresh_related_fields(): The list view now updates
	the displayed value of related fields when you
	change the related key value in the current record.

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	Db_AddDel::get_column_index() now returns a list of indexes, so that

	2005-03-14  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	Db_AddDel::get_column_index() now returns a
	list of indexes, so that set_value() updates
	the value in all columns when a field is present
	more than once.

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	Db_AddDel::set_value(), and get_value() now identify the column by a

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	* 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/box_data_list.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	Db_AddDel::set_value(), and get_value() now
	identify the column by a LayoutItem_Field
	instead of a numerical index, so at least
	the inefficient index discovery is restricted
	to one method in Db_AddDel.

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_user_changed(): Editing of related fields in the list view now

	2005-03-14  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	on_adddel_user_changed(): Editing of related fields
	in the list view now works, using mostly copy/pasted
	code from Box_Data_List::on_flowtable_field_edited().

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	LayoutItem_Field: Add get_has_relationship_name() to reduce unnecessary

	2005-03-14  Murray Cumming, <murrayc@murrayc.com>

	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_design/box_db_table_relationships.cc:
	LayoutItem_Field: Add get_has_relationship_name()
	to reduce unnecessary string copying.

2005-03-14  Murray Cumming  <murrayc@murrayc.com>

	Editing of related fields on the details view now works.

	2005-03-14  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/utility_widgets/flowtablewithfields.cc:
	Editing of related fields on the details view
	now works.

2005-03-13  Murray Cumming  <murrayc@murrayc.com>

	FlowTableWithFields and Db_AddDel: Now identify fields via

2005-03-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/box_db_table.cc:
	* glom/box_db_table.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_details.h:
	* glom/mode_data/box_data_list.cc:
	* glom/mode_data/box_data_list.h:
	* glom/mode_design/box_db_table_relationships.cc:
	* glom/utility_widgets/db_adddel/db_adddel.cc:
	* glom/utility_widgets/db_adddel/db_adddel.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	FlowTableWithFields and Db_AddDel: Now identify
	fields via LayoutItem_Field rather than just Field,
	so related fields do not get confused with regular
	fields. This should allow me to make editing of
	related fields work soon.

2005-03-13  Murray Cumming  <murrayc@murrayc.com>

	build_sql_select_with_where_clause(): Use a LEFT OUTER JOIN for the

	2005-03-13  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	* glom/mode_data/box_data.cc:
	build_sql_select_with_where_clause():
	Use a LEFT OUTER JOIN for the related fields,
	because this does not hide records from
	the parent table when the key values are bogus,
	and does not give us duplicate records.

2005-03-13  Murray Cumming  <murrayc@murrayc.com>

	Stop storing the table name in the layoutitem, and saving it in the

	2005-03-13  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	* glom/data_structure/layout/layoutitem.h:
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	* glom/document/document_glom.cc:
	* 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/box_data_list_related.cc:
	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list.h:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.h:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	* glom/utility_widgets/flowtablewithfields.h:
	* glom/utility_widgets/layoutwidgetbase.cc:
	* glom/utility_widgets/layoutwidgetbase.h:
	Stop storing the table name in the layoutitem,
	and saving it in the document.
	It was a nasty hack, and it's better to cache it
	in the LayoutWidgetBase. It's only needed anyway
	for right-click layout editing.
	Moved SQL-building code into a reusable method
	in Box_Data and used it from both Box_Data_List and
	Box_Data_Details. This means that the List view can
	now also show related fields. Editing of related
	fields does not work yet, and the SELECT statement
	is not quite right - it sometimes gets duplicate
	records.

2005-03-13  Murray Cumming  <murrayc@murrayc.com>

	get_fields_to_show(): Reduce code duplication by calling the code in

2005-03-13  Murray Cumming,,,  <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data.h:
	* glom/mode_data/box_data_list_related.cc:
	get_fields_to_show(): Reduce code duplication
	by calling the code in Box_Data.

2005-03-12  Murray Cumming  <murrayc@murrayc.com>

	The Field Chooser dialog now offers fields from relationships, and the

	2005-03-12  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	* glom/box_db_table.cc:
	* glom/mode_data/box_data.cc:
	* glom/mode_data/box_data_details.cc:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h:
	* glom/utility_widgets/flowtablewithfields.cc:
	The Field Chooser dialog now offers fields from
	relationships, and the field data will be properly
	displayed on the details view. Editing of related
	fields does not work yet, and the list view can not
	do this yet.

2005-03-12  Murray Cumming  <murrayc@murrayc.com>

	Store vector of layouts instead of vector of fields for list and details

	2005-03-12  Murray Cumming <murrayc@murrayc.com>

	* glom/box_db.cc:
	* glom/box_db_table.cc:
	* glom/box_db_table.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/box_data_list.h:
	* glom/mode_data/box_data_list_related.cc:
	* glom/mode_data/box_data_list_related.h:
	* glom/mode_data/dialog_layout.cc:
	* glom/mode_data/dialog_layout.h:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list.h:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_design/fields/box_db_table_definition.cc:
	* glom/mode_design/fields/box_db_table_definition.h:
	* glom/mode_find/box_data_details_find.cc:
	* glom/mode_find/box_data_list_find.cc:
	Store vector of layouts instead of vector of fields
	for list and details views. Field Chooser dialog
	also uses layout items so it can edit the full
	field information, including the relationship,
	and the formatting in future.

2005-03-12  Murray Cumming  <murrayc@murrayc.com>

	Changing the selected relationship when choosing a field now changes the

	2005-03-12  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_choose_field.h:
	* glom/mode_data/dialog_layout_list_related.cc:
	Changing the selected relationship when
	choosing a field now changes the list of
	available fields.

2005-03-12  Murray Cumming  <murrayc@murrayc.com>

	LayoutItem_Fields now contain an optional relationship_name. When choosing

	2005-03-12  Murray Cumming <murrayc@murrayc.com>

	* examples/example_smallbusiness.glom:
	* glom/data_structure/layout/layoutgroup.h:
	* glom/data_structure/layout/layoutitem_field.cc:
	* glom/data_structure/layout/layoutitem_field.h:
	* glom/document/document_glom.cc:
	* glom/glom.glade:
	* glom/glom_document.dtd:
	* glom/mode_data/dialog_choose_field.cc:
	* glom/mode_data/dialog_choose_field.h:
	* glom/mode_data/dialog_layout.h:
	* glom/mode_data/dialog_layout_details.cc:
	* glom/mode_data/dialog_layout_details.h:
	* glom/mode_data/dialog_layout_list.cc:
	* glom/mode_data/dialog_layout_list.h:
	* glom/mode_data/dialog_layout_list_related.cc:
	* glom/mode_data/dialog_layout_list_related.h:
	* glom/mode_data/treestore_layout.h:
	* glom/mode_design/fields/combo_textglade.cc:
	* glom/mode_design/fields/combo_textglade.h:
	* glom/utility_widgets/datawidget.cc:
	* glom/utility_widgets/datawidget.h:
	LayoutItem_Fields now contain an optional relationship_name.
	When choosing fields, you can choose the relationship.

2005-03-11  Murray Cumming  <murrayc@murrayc.com>

	:MessageDialog::set_secondary_text() to make dialogs more HIGy, plus use

2005-03-11  Murray Cumming  <murrayc@murrayc.com>

	* Lots of use of Gtk::MessageDialog::set_secondary_text() to make
	dialogs more HIGy, plus use of set_transient_for().

2005-03-11  Murray Cumming  <murrayc@murrayc.com>

	Attempt to use Glib::Option from glibmm 2.6, to provide a --file option,

2005-03-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/main.cc: Attempt to use Glib::Option from glibmm 2.6, to
	provide a --file option, for debugging. But it does not work,
	probably because of conflicts with the libgnomeui and libgda uses of
	argc and argv.

2005-03-11  Murray Cumming  <murrayc@murrayc.com>

	glom now depends on gtkmm 2.6. Derive from the Gtk::CellRendererCombo in

2005-03-11  Murray Cumming  <murrayc@murrayc.com>

	* glom now depends on gtkmm 2.6.
	* glom/utility_widgets/adddel/cellrendererlist.[h|cc]: Derive from
	the Gtk::CellRendererCombo in gtkmm 2.6, instead of implementing
	all this ourselves.

2005-03-11  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2005-03-11  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2005-03-11  Murray Cumming  <murrayc@src.gnome.org>

	Added screenshot comment

2005-03-11  Murray Cumming  <murrayc@src.gnome.org>

	Added screenshot comment

2005-03-11  Murray Cumming  <murrayc@src.gnome.org>

	Added screenshot comment

2005-03-10  Murray Cumming  <murrayc@src.gnome.org>

	Increased version.

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	get_primary_key(): Return true for success, so that

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc: get_primary_key(): Return true
	for success, so that Box_Data::record_delete() works again, so that
	deleting records really deletes them from the database again.

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	Redid the screenshots and put them on a page.

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	* docs/website/: Redid the screenshots and put them on a page.

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	Invoices Lines: Lookup up the product name and price from the products

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_small_business.glom: Invoices Lines: Lookup up the
	product name and price from the products table.

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	Use a list of field info instead of a map, and search through it all

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable_withfields.[h|cc]: Use a list of
	field info instead of a map, and search through it all instead of
	using the map key, so we can have the same field more than once in
	a group. Otherwise, people change a field and see it disappear if it
	is already there.

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	on_flowtable_layout_changed(): Update the data as well as the structure,

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: on_flowtable_layout_changed():
	Update the data as well as the structure, because updating the
	structure clears the widgets.

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	Show a Choose Field context menu when in developer mode, and signal to the

2005-03-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/entry_glom.[h|cc]: Show a Choose Field context menu
	when in developer mode, and signal to the DataWidget when it has been
	selected.
	* glom/mode_data/dialog_choose_field.[h|cc]: set_document(): Select
	the current field at the start. Make double-click choose a field.

2005-03-09  Murray Cumming  <murrayc@src.gnome.org>

	Added missing files

2005-03-09  Murray Cumming  <murrayc@murrayc.com>

	Attempt to add a context menu to choose the field. Not working yet. Some

2005-03-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/datawidget.[h|cc]: Attempt to add a context menu
	to choose the field. Not working yet. Some EventBox problem maybe.

2005-03-08  Murray Cumming  <murrayc@murrayc.com>

	Invoices table: Make the contact name lookup a name from the contacts

2005-03-08  Murray Cumming  <murrayc@murrayc.com>

	* examples/example_small_business.glom: Invoices table: Make the
	contact name lookup a name from the contacts table.

2005-03-08  Murray Cumming  <murrayc@murrayc.com>

	More use of the stored primary key fields instead of getting them from the

2005-03-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/: More use of the stored primary key fields
	instead of getting them from the list of fields via their index. This
	means that the primary key can still be used when it is not shown.
	* glom/mode_data/box_data_list_related.cc: Set the foreign key value
	even if it is not shown. This means that related records portals
	no longer need to show the primary key or the foreign key, both of
	which are uninteresting to most operators.

2005-03-08  Murray Cumming  <murrayc@murrayc.com>

	Remove as_value from method names because they are all by value. Added

2005-03-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]: Remove as_value
	from method names because they are all by value. Added
	get/set_key_field() so it is easy to know the primary key for the
	table.
	* glom/utility_widgets/db_adddel/glom_db_treemodel.[h|cc]: create()
	now takes a list of fields - one for each column. This should allow
	us to construct a SQL query from the model itself in future.
	* glom/mode_data/box_data_list.[h|cc]: Store the primary key field
	in the AddDel.
	* glom/mode_data/box_data_details.[h|cc]: Store the primary key field
	in a member variable, instead of iterating for it every time.

2005-03-08  Murray Cumming  <murrayc@murrayc.com>

	get_portals(): Actually add relevant portals to the list.

2005-03-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable_withfields.cc: get_portals():
	Actually add relevant portals to the list.
	* glom/mode_data/box_data_list_related.cc: on_record_added(): When
	the to_field key is not auto-generated, really set it to the
	foreign key value, not to null. This makes adding of related records
	work, but so far only when all key fields are shown in the layout.

2005-03-07  Murray Cumming  <murrayc@murrayc.com>

	on_treeview_button_press_event(): Test the bool return from

2005-03-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/adddel.cc, db_adddel/db_adddel.cc:
	on_treeview_button_press_event(): Test the bool return from
	TreeView::get_path_at_pos to avoid using an invalid path. This
	stops the warning when right clicking where there is no row.

2005-03-07  Murray Cumming  <murrayc@murrayc.com>

	on_treeview_button_press_event(): Test the bool return from

2005-03-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/adddel.cc, db_adddel/db_adddel.cc:
	on_treeview_button_press_event(): Test the bool return from
	TreeView::get_path_at_pos to avoid using an invalid path. This
	stops the warning when right clicking where there is no row.

2005-03-07  Murray Cumming  <murrayc@murrayc.com>

	Show/edit the relationship titles here too. on_dialog_layout_hide():

2005-03-07  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/box_db_table_relationship.[h|cc]: Show/edit the
	relationship titles here too.
	* glom/mode_data/box_data_list_related.cc: on_dialog_layout_hide():
	Update the relationship title in case it has changed.

2005-03-07  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2005-03-06  Murray Cumming  <murrayc@localhost.localdomain>

	Constructor: Set a new layout name, so that the portals layouts are not

2005-03-06  Murray Cumming  <murrayc@localhost.localdomain>

	* glom/mode_data/box_data_list_related.cc: Constructor: Set a new
	layout name, so that the portals layouts are not confused with the
	standard layouts for those tables in the document. Use the new
	layout dialog.
	* glom/mode_data/: Add dialog_layout_list_related.[h|cc].
	* glom/glom.glade: Define the new dialog.

2005-03-06  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_user_requested_delete(): Ask the user whether he really wants to

2005-03-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_db_list.cc: on_adddel_user_requested_delete():
	Ask the user whether he really wants to delete the record.
	* glom/utilities/db_adddel.[h|cc]: Add a layout item to the right
	click menu, so that people can right click to edit list layouts and
	related records layouts. Still need to give related records layouts
	an id other than their underlying table.

2005-03-06  Murray Cumming  <murrayc@murrayc.com>

	on_adddel_user_requested_delete(): Ask the user whether he really wants to

2005-03-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_db_list.cc: on_adddel_user_requested_delete():
	Ask the user whether he really wants to delete the record.
	* glom/utilities/db_adddel.[h|cc]: Add a layout item to the right
	click menu, so that people can right click to edit list layouts and
	related records layouts. Still need to give related records layouts
	an id other than their underlying table.

2005-03-04  Murray Cumming  <murrayc@murrayc.com>

	on_document_load(): Warn if the user recreates a database using a

2005-03-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: on_document_load(): Warn if the user recreates
	a database using a read-only installed example file.
	* glom/frame_glom.cc: on_menu_userlevel_Developer(): If developer
	mode is not possible then warn the user and set it back to operator
	mode.

2005-02-22  Laurent Dhima  <laurenti@alblinux.net>

	Updated Albanian translation.

2005-02-22  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.

2005-02-19  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-02-19  Murray Cumming  <murrayc@murrayc.com>

	Make this actually work, by calling row_inserted(), row_deleted(), and

2005-02-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_addel/glom_db_treemodel.[h|cc]: Make this
	actually work, by calling row_inserted(), row_deleted(), and
	row_changed() in the appropriate places. This needs some speed
	optimisation and probably has some memory leaks of the GlueItems.

2005-02-19  Murray Cumming  <murrayc@src.gnome.org>

	removed some comments

2005-02-19  Murray Cumming  <murrayc@src.gnome.org>

	Fixed double-delete. TreeModel still not working fully.

2005-02-19  Murray Cumming  <murrayc@src.gnome.org>

	custom tree model almost works yet more.

2005-02-19  Murray Cumming  <murrayc@src.gnome.org>

	custom tree model almost works a bit more.

2005-02-19  Murray Cumming  <murrayc@murrayc.com>

	Use the Gda::Value-based treemodel. It almost works.

2005-02-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/db_adddel.[h|cc]: Use the
	Gda::Value-based treemodel. It almost works.

2005-02-18  Murray Cumming  <murrayc@murrayc.com>

	Added a Gda::Value-based custom treemodel, but it's not used yet.

2005-02-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_addel/: Added a Gda::Value-based custom
	treemodel, but it's not used yet.

2005-02-18  Murray Cumming  <murrayc@murrayc.com>

	Removed sources that are duplicated in adddel, and just include them from

2005-02-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/db_adddel/: Removed sources that are duplicated
	in adddel, and just include them from there. We can not using the
	custom popup cellrenderer anyway when we start using gtkmm 2.6.

2005-02-17  Murray Cumming  <murrayc@murrayc.com>

	No longer uses Fields and Gda::Values at all. A version of AddDel that

2005-02-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/: No longer uses Fields and Gda::Values
	at all.
	* glom/utility_widgets/db_addel/: A version of AddDel that deals with
	Fields and their Gda::Values, and nothing else.
	* glom/mode_data/box_data_list.[h|cc]: Use DbAddDel instead of AddDel,
	which deals with Values directly.
	* glom/data_structure/glomconversions.cc: parse_data() Prevent
	0 days and months, to avoid postgres errors.

2005-02-16  Murray Cumming  <murrayc@src.gnome.org>

	Fixed build

2005-02-16  Murray Cumming  <murrayc@src.gnome.org>

	Commit half-baked stuff so I can try a clean checkout of it.

2005-02-16  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2005-02-16  Murray Cumming  <murrayc@murrayc.com>

	init_db_details(): Get shared connection earlier and keep it longer, so

2005-02-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc, box_data_details.cc:
	init_db_details(): Get shared connection earlier and keep it longer,
	so that we make fewer individual connections when getting data from
	the database. This make things faster.

2005-02-16  Murray Cumming  <murrayc@murrayc.com>

	get_column_field(): Return the id, which is the field name, not the name,

2005-02-16  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/addedel/adddel.cc: get_column_field(): Return
	the id, which is the field name, not the name, which is the field
	title. This allows data entry in the list view when field titles
	are not equal to the names.

2005-02-15  Murray Cumming  <murrayc@murrayc.com>

	Actually use the host details, so people can connect to postgres servers

2005-02-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/connectionpool.cc: Actually use the host details, so people
	can connect to postgres servers that are not on the local host.

2005-02-13  David Lodge  <dave@cirt.net>

	Updated British translation.

	2005-02-13  David Lodge <dave@cirt.net>

	* en_GB.po: Updated British translation.

2005-02-10  Murray Cumming  <murrayc@src.gnome.org>

	Added postgres API test.

2005-02-10  Murray Cumming  <murrayc@murrayc.com>

	connect(): Specify the template1 default database when we do not want to

2005-02-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/connection_pool.cc: connect(): Specify the template1 default
	database when we do not want to specify a database, because that seems
	to fail with newer versions of postgres, or on some systems, though
	I am not sure where it works and where it does not. Hopefully this
	template1 name is used on all distros.

2005-02-10  Murray Cumming  <murrayc@src.gnome.org>

	Commit automatic changes

2005-01-05  Murray Cumming  <murrayc@murrayc.com>

	Add intltool-extract.in, intltool-merge.in, intltool-update.in to

2005-01-05  Murray Cumming  <murrayc@murrayc.com>

	* Makefile.am: Add intltool-extract.in, intltool-merge.in,
	intltool-update.in to EXTRA_DIST, possibly fixing the build on some
	platforms. Bug #162932.

2004-12-26  Murray Cumming  <murrayc@src.gnome.org>

	Added start of document about postgres setup.

2004-12-26  Murray Cumming  <murrayc@murrayc.com>

	constructor: Show the AddDel widget so that it actually appears on the

2004-12-26  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list_related.cc: constructor: Show the
	AddDel widget so that it actually appears on the Details layout.
	Put the AddDel in a HIG-style frame.

2004-12-25  Murray Cumming  <murrayc@murrayc.com>

	Added a remove() override, so we remove the widget from the list in

2004-12-25  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable.[h|cc]: Added a remove() override, so
	we remove the widget from the list in flowtable as well as from the
	base GtkContainer list. Do an extra reference() before calling
	gtk_widget_parent() if the widget is managed, like
	Gtk::Container::remove() does, so that this container acts like other
	gtkmm containers.

2004-12-24  Murray Cumming  <murrayc@murrayc.com>

	Keep a list of the portals, so we don't have to dynamic_cast the standard

2004-12-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable_withfields.[h|cc]: Keep a list of
	the portals, so we don't have to dynamic_cast the standard children()
	list so much. Use Bakery::View::remove_view() and delete in
	remove_all().

2004-12-24  Murray Cumming  <murrayc@murrayc.com>

	#included libintl.h to fix build on some systems. Bug 161936 from Mike

2004-12-24  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_connection.cc: #included libintl.h to fix build on some
	systems. Bug 161936 from Mike Castle.

2004-12-23  Murray Cumming  <murrayc@murrayc.com>

	init_db_details(): Remove the database_name parameter, because we only

2004-12-22  Murray Cumming  <murrayc@murrayc.com>

	* glom/base_db.[h|]cc], and all its derived classes:
	init_db_details(): Remove the database_name parameter, because we
	only every use one database now, and it is specified in the connection.
	Also split init_db_details() into init_db_details() and
	refresh_init_details(), so we can refresh the data without
	rebuilding the whole structure.
	* glom/mode_data/box_data_list_related.[h|cc]: Added
	get_relationship().
	* glom/utility_widgets/flowtable_withfields.[h|cc]: Added protected
	get_portals() to get all the related records portals whose from_key
	is the specified field. set_field_value(): Look for portals that
	should refresh when the field value changes, and refresh them.
	Make FlowTableWithFields inherit from View_Composite_Glom, so that
	it can be a sub-view, so that it can access the document, so that it
	can get the full Relationship details instead of just the relationship
	name.

2004-12-22  Vincent van Adrighem  <adrighem@gnome.org>

	Translation updated by Tino Meinen.

2004-12-22  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.

2004-12-21  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation.

2004-12-21  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation.

2004-12-12  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2004-12-11  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2004-12-11  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2004-12-10  Murray Cumming  <murrayc@murrayc.com>

	save_to_document(): Set the sequences of top-level groups, so they do not

2004-12-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_details.cc: save_to_document(): Set
	the sequences of top-level groups, so they do not all get the default
	zero, so that they all get loaded again, without replacing each other.
	* glom/glom.glade: dialog_design_layout: Added an Add Related button.
	Added dialog_choose_relationship.
	* glom/mode_data/treestore_layout.[h|cc]: Change the is_group model
	column to a enumed type column, so that items can be 1 of more than
	2 things.
	* glom/mode_data/dialog_layout_details.cc: Use the Add Related button,
	and the changed model column type.
	* glom/mode_data/: Added dialog_choose_relationship.[h|cc].
	* glom/data_structures/: Added layoutitem_related.[h|cc].
	* glom/document/document_glom.[h|cc]: save_before(), load_after():
	Load and save the new layout item type.
	* glom/navigation/box_tables.cc: fill_from_database(): Show the table
	title instead of the name when in operator mode.

2004-12-09  Hendrik Brandt  <heb@gnome-de.org>

	Updated German translation.

2004-12-09  Hendrik Brandt  <heb@gnome-de.org>

	* de.po: Updated German translation.

2004-12-08  Murray Cumming  <murrayc@murrayc.com>

	Upload to my dreamhost account instead of sourceforge, so I can stop using

2004-12-08  Murray Cumming  <murrayc@murrayc.com>

	* docs/Makefile: Upload to my dreamhost account instead of sourceforge,
	so I can stop using sourceforge altogether.

2004-12-08  Christian Krause  <chkr@plauener.de>

	:wrap() build error with gcc 3.4.3. Bug #160245.

2004-12-08  Christian Krause  <chkr@plauener.de>

	* Patch to fix Glib::wrap() build error with gcc 3.4.3.
	Bug #160245.

2004-12-07  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2004-12-07  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2004-12-07  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2004-12-06  Murray Cumming  <murrayc@murrayc_debian>

	Gave lots of dialogs default buttons.

2004-12-06  Murray Cumming  <murrayc@murrayc_debian>

	* glom/glom.glade: Gave lots of dialogs default buttons.

2004-12-06  Murray Cumming  <murrayc@murrayc.com>

	get_text_for_gda_value(): return empty string instead of NULL, because

2004-12-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/glom_conversions.cc: get_text_for_gda_value():
	return empty string instead of NULL, because this the result is meant
	for user display, not for SQL.
	* glom/data_structure/field.cc: sql(): Return NULL for non-text null.

2004-12-06  Murray Cumming  <murrayc@murrayc.com>

	load_after_layout_group(): Check for null pointers to avoid crash when

2004-12-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/Document/document_glom.cc: load_after_layout_group(): Check for
	null pointers to avoid crash when opening some documents.

2004-12-06  Murray Cumming  <murrayc@murrayc.com>

	offer_new_or_existing(): Remove double delete of the dialog, to stop crash

2004-12-06  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: offer_new_or_existing(): Remove double delete
	of the dialog, to stop crash when creating new documents.

2004-12-06  Funda Wang  <fwang@src.gnome.org>

	Added Simplified Chinese translation

2004-12-05  Murray Cumming  <murrayc@src.gnome.org>

	Added the examples directory

2004-12-05  Murray Cumming  <murrayc@murrayc.com>

	Add recreate_database() and use it from on_document_load() instead of

2004-12-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.[h|cc]: Add recreate_database() and use it from
	on_document_load() instead of showing the not-yet-implemented dialog.

2004-12-05  Murray Cumming  <murrayc@murrayc.com>

	Define ExceptionConnection, derived from std::exception. connect(): When

2004-12-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/connection_pool.[h|cc]: Define ExceptionConnection, derived
	from std::exception. connect(): When attempting to connect to a
	specific database, try to connect to the server in general. Throw
	an exception that tells the caller that the connection details are OK,
	but that the database does not exist yet.
	* glom/application.cc: on_document_load(): If the connection fails
	only because the database does not exist yet, then offer to recreate
	it. Recreation is not actually implemented, however.
	Return true/false (requires bakery 2.3.11) so that the document
	will be closed if the user cancels a dialog during loading.

2004-12-04  Funda Wang  <fwang@src.gnome.org>

	Added Simplified Chinese translation

2004-12-03  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2004-12-01  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2004-12-01  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2004-11-30  Murray Cumming  <murrayc@src.gnome.org>

	Updated NEWS

2004-11-30  Murray Cumming  <murrayc@murrayc_debian>

	offer_new_or_existing(): Respond to cancel of the new-database dialog.

2004-11-30  Murray Cumming  <murrayc@murrayc_debian>

	* glom/application.cc: offer_new_or_existing(): Respond to cancel of
	the new-database dialog.
	* glom/frame_glom.cc: alert_no_table(): Update the message. See the
	TODO.

2004-11-29  Murray Cumming  <murrayc@murrayc.com>

	Show an informative dialog if the connection fails. Add the

2004-11-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/frame.cc create_database(): Show an informative dialog if the
	connection fails.
	* glom/glom.glade: Add the dialog_error_connection dialog.
	* glom/mode_data/box_data_list.cc: on_adddel_user_requested_add():
	Prevent crash when there is only one field and it is auto-generating.
	And actually add a row in this case without requiring data entry.

2004-11-28  Murray Cumming  <murrayc@murrayc.com>

	connect(): specify the database name in the connection string, when it is

2004-11-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/connectoin_pool.cc: connect(): specify the database name in the
	connection string, when it is wanted, instead of using
	change_database(), because libgda needs that.

2004-11-28  Murray Cumming  <murrayc@murrayc.com>

	Added get/set_database() because postgres seems to need this specified at

2004-11-28  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/connection_pool.[h|cc]: Added get/set_database()
	because postgres seems to need this specified at connection time.
	* glom/dialog_connection.cc: Use ConnectionPool::set_database().
	* Removed several extra ;s that g++ 3.4 complains about.

2004-11-25  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2004-11-24  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2004-11-24  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2004-11-21  David Lodge  <dave@cirt.net>

	Updated British translation.

	2004-11-21  David Lodge <dave@cirt.net>

	* en_GB.po: Updated British translation.

2004-11-21  Murray Cumming  <murrayc@murrayc.com>

	Override Bakery::App::init_menus_file to remove useless Save and Save-As

2004-11-21  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.[h|cc]: Override Bakery::App::init_menus_file to
	remove useless Save and Save-As menu items.
	offer_new_or_existing(): Prefix new databases with glom_. The whole
	name could maybe be autogenerated in future. Start with an unprefixed
	name based on the filename.
	Offer a database name and title based on the filename.
	* glom/Document/document_glom.[h|cc]: Added get/set_database_title(), and
	save/load it in save_before() and load_after().
	* configure.in: Depend on bakery 2.3.9 because we need the new
	behaviour of Bakery::Document::get_name() for the default database
	name. Increase version.

2004-11-21  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2004-11-21  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2004-11-20  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2004-11-20  Murray Cumming  <murrayc@murrayc.com>

	Added dialog_new_database.[h|cc], to request database name and title.

2004-11-19  Murray Cumming  <murrayc@murrayc.com>

	* glom/: Added dialog_new_database.[h|cc], to request database name
	and title.
	* glom/: Added dialog_connection.[h|cc]: to replace
	glom/navigation/box_databases.[h|cc].
	* glom/frame.[h|cc]: Added create_database().
	* glom/application.[h|cc]: Ask for a new database name when creating
	new documents, and do not allow the user to navigate to a different
	database.
	* glom/glom.glade: UI for the 2 new dialogs.

2004-11-17  Murray Cumming  <murrayc@murrayc.com>

	Use noinst_PROGRAMS instead of bin_PROGRAMS so that my little test does

2004-11-17  Murray Cumming  <murrayc@murrayc.com>

	* utility_widgets/Makefile.am: Use noinst_PROGRAMS instead of
	bin_PROGRAMS so that my little test does not get installed.

2004-11-14  Murray Cumming  <murrayc@murrayc.com>

	Draw some simple dotted lines between the items to make the design mode

2004-11-14  Murray Cumming  <murrayc@murrayc.com>

	* utility_widgets/flowtable.[h|cc]: Draw some simple dotted lines
	between the items to make the design mode look different than the data
	mode.
	* mode_data/box_data_details.[h|cc]: Override on_userlevel_changed()
	to call FlowTable::set_design_mode(), to show or hide the lines. This
	doesn't quite work - it draws more lines immediately after switching
	to developer mode, but less when just switching tabs.
	* Document_Glom::get_table_info_with_add(): Set the table name of the
	new info when it adds, so that we actually remember new tables.

2004-11-06  Amanpreet Singh Alam  <aman@src.gnome.org>

	add Punjabi

2004-11-06  Amanpreet Singh Alam  <aman@src.gnome.org>

	add pa

2004-10-29  Mike Castle  <dalgoda@ix.netcom.com>

	Added lots of libintl.h includes to fix build on some platforms.

2004-10-29  Mike Castle  <dalgoda@ix.netcom.com>

	* Added lots of libintl.h includes to fix build on some platforms.

2004-10-17  Baris Cicek  <bcicek@src.gnome.org>

	Added tr to ALL_LINGUAS

2004-10-17  Baris Cicek  <bcicek@src.gnome.org>

	Updated Turkish Translation by Evren Alim

	* tr.po: Updated Turkish Translation by Evren Alim

2004-09-08  David Lodge  <dave@cirt.net>

	Updated British translation.

	2004-09-08  David Lodge <dave@cirt.net>

	* en_GB.po: Updated British translation.

2004-09-07  Vincent van Adrighem  <adrighem@gnome.org>

	Translation updated by Tino Meinen.

2004-09-08  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.

2004-08-20  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Updated Spanish translation.

2004-08-20  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

2004-08-20  Laurent Dhima  <laurenti@alblinux.net>

	Updated Albanian translation.

2004-08-20  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.

2004-08-18  Laurent Dhima  <laurenti@alblinux.net>

	Updated Albanian translation.

2004-08-18  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.

2004-08-13  Duarte Loreto  <happyguy_pt@hotmail.com>

	Updated Portuguese translation.

	2004-08-13  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.

2004-08-12  Gustavo Maciel Dias Vieira  <gustavo@sagui.org>

	Updated Brazilian Portuguese translation done by Raphael Higino

2004-08-12  Gustavo Maciel Dias Vieira  <gustavo@sagui.org>

	* pt_BR.po: Updated Brazilian Portuguese translation done by
	Raphael Higino <raphaelh@uai.com.br>.

2004-08-11  Ankitkumar Rameshchandra Patel  <ankitp@src.gnome.org>

	ankit@redhat.com 11/08/2004 * configure.in : Added gu to ALL_LINGUAS

2004-08-11  Ankitkumar Rameshchandra Patel  <ankitp@src.gnome.org>

	ankit@redhat.com 11/08/2004 * gu.po : Gujarati Translation Added

2004-08-11  Ankitkumar Rameshchandra Patel  <ankitp@src.gnome.org>

	ankit@redhat.com 11/08/2004

2004-08-10  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2004-08-11  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2004-08-10  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2004-08-09  Murray Cumming  <murrayc@murrayc.com>

	0.8.8:

2004-08-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/: Added layouts sub-directory, and moved layout
	classes into it. Created a polymorphic heirarchy of layout items -
	currently LayoutItem_Field and LayoutGroup for fields and groups of
	fields.
	* glom/data_structure/layoutgroup.[h|cc]: Removed m_others. Designers
	must put fields in a top-level group with no title, and that's the
	default.
	* glom/document/document_glom.[h}cc]: Allow nested layout groups.
	* glom/mode_data/dialog_layout_details.[h|cc]: Use only one TreeView
	instead of 2, using a TreeStore instead of a ListStore, to show fields
	inside groups, and with nested groups. Allow the user to specify the
	number of columns for the groups.
	* glom/mode_data/: Added treestore_layout.[h|cc], so that we can
	override the vfunc to control whether items can be dragged into other
	items.

2004-08-04  Adam Weinberger  <adamw@src.gnome.org>

	Updated Canadian English translation.

	* en_CA.po: Updated Canadian English translation.

2004-07-30  Murray Cumming  <murrayc@murrayc.com>

	Explain how to use glom as an Operator and as a Developer.

2004-07-18  Murray Cumming  <murrayc@murrayc.com>

	* docs/user-guide/C/glom.xml: Explain how to use glom as an Operator
	and as a Developer.

2004-07-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/field.cc: sql(): Create sql text representation
	depending on the expected value type rather than the actual value
	type, to prevent SQL errors when using relationships between fields of
	different types.

2004-07-29  Laurent Dhima  <laurenti@alblinux.net>

	Updated Albanian translation.

2004-07-29  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.

2004-07-28  Laurent Dhima  <laurenti@alblinux.net>

	Updated Albanian translation.

2004-07-28  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.

2004-07-17  David Lodge  <dave@cirt.net>

	Updated British translation

	2004-07-17  David Lodge <dave@cirt.net>

	* en_GB.po: Updated British translation

2004-07-14  Gustavo Maciel Dias Vieira  <gustavo@sagui.org>

	Updated Brazilian Portuguese translation done by Raphael Higino

2004-07-14  Gustavo Maciel Dias Vieira  <gustavo@sagui.org>

	* pt_BR.po: Updated Brazilian Portuguese translation done by
	Raphael Higino <raphaelh@uai.com.br>.

2004-07-13  Murray Cumming  <murrayc@murrayc.com>

	Actually delete relationships when the Delete button is pressed.

2004-07-13  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/tables_relationships.[h|cc]: Actually delete
	relationships when the Delete button is pressed.

2004-07-12  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	Added Spansih translation by Antonio Ognio.

2004-07-12  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Added Spansih translation by Antonio Ognio.

2004-07-12  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2004-07-11  Murray Cumming  <murrayc@src.gnome.org>

	Increased version for a release soon.

2004-07-10  Laurent Dhima  <laurenti@alblinux.net>

	Added sq to ALL_LINGUAS.

2004-07-10  Laurent Dhima  <laurenti@alblinux.net>

	* configure.in: Added sq to ALL_LINGUAS.

2004-07-10  Laurent Dhima  <laurenti@alblinux.net>

	Added Albanian translation.

2004-07-10  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Added Albanian translation.

2004-07-09  Murray Cumming  <murrayc@murrayc.com>

	get_item_max_width(): Don't ignore the vertical padding between widgets,

2004-07-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable.cc: get_item_max_width(): Don't
	ignore the vertical padding between widgets, so that this does not
	incorrectly report that more items could be in the column.
	on_size_allocate(): Use = instead of += when using the single_items
	width to get the maximum width, to prevent a big gap between the
	first and second columns.

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	save_before(): Store the layout item sequence, so that the layout is not

2004-07-09  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc: save_before(): Store the layout item
	sequence, so that the layout is not lost after a couple of saves.

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	load_after(): Load the field calculation from the field node rather than

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.cc: load_after(): Load the field
	calculation from the field node rather than the lookup node, because
	that is where we saved it.

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	Make the application quit if the user presses cancel on the

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/main.cc, application.[h|cc]: Make the application quit if the
	user presses cancel on the new-or-existing dialog.

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	Make glom_evaluate_python_function_implementation() return a Value instead

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/glom_python.cc: Make
	glom_evaluate_python_function_implementation() return a Value instead
	of a string, and take a field type parameter.
	* glom/box_db_table.cc: Remove record_new().
	* glom/mode_data/box_data.cc: Rename record_new_from_entered() to
	record_new() with an optional use_entered bool parameter, and use this
	everywhere instead of record_new_from_entered. This means that the
	first value entered in a new record in the list view will not be
	forgotten. Also, this now sets the default value from calculations
	where that is specified.

2004-07-08  Hendrik Brandt  <hebra@cvs.gnome.org>

	Updated German translation.

2004-07-08  Hendrik Brandt  <hebra@cvs.gnome.org>

	* po/de.po: Updated German translation.

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	Added datawidget.[h|cc]: This widget can hold either an EntryGlom or a

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/: Added datawidget.[h|cc]: This widget can hold
	either an EntryGlom or a checkbox, depending on the field type. Used
	this in the Field Definition dialog and the FlowTableWithFields for the
	Details view.

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	parse_value(): Return success when parsing empty date, time, and numbers

2004-07-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/glomconversions: parse_value(): Return success
	when parsing empty date, time, and numbers as nulls.
	* glom/mode_design/fields/dialog_fielddefinition.cc:
	on_combo_lookup_relationship_changed(): Clear the list of fields
	before adding more.
	* glom/utility_widgets/flowtablewithfields.cc: Add a checkbox instead
	of an entryglom if it is a boolean field.

2004-07-07  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2004-07-07  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2004-07-06  Murray Cumming  <murrayc@src.gnome.org>

	website updates

2004-07-06  Murray Cumming  <murrayc@murrayc.com>

	GLOM_ARG_ENABLE_WARNINGS: Add -Wno-long-long so that the C++ compiler does

2004-07-06  Murray Cumming  <murrayc@murrayc.com>

	* Embed python for calculated fields:
	* scripts/macros.m4: GLOM_ARG_ENABLE_WARNINGS: Add -Wno-long-long so
	that the C++ compiler does not complain about the long longs in the
	python headers.
	* Added acinclude.m4, copied from pygtk, with additions from the
	version in Plannet. Used the AM_CHECK_PYTHON_INCLUDES macro in
	configure.in to detect the python headers and libs.
	* glom/glade.glom: Added widgets for field calculation to the
	Field Definition dialog.
	* glom/mode_design/fields/dialog_fielddefinition.[h|cc]: Load and save
	the field calculation.
	* glom/mode_design/fields/: Added dialog_fieldcalculation.[h|cc] that
	can be opened from the Field Definition window to edit and test the
	python code.
	* glom/: Added glom_python.[h|cc]: With a function that can evaluate
	arbitrary python code as if it is a python function definition.
	* glom/main.cc: Intialize and terminate the python runtime.

2004-07-06  Murray Cumming  <murrayc@src.gnome.org>

	increased version

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	Accept a URI on the command line, and use it to open an existing document

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/main.cc: Accept a URI on the command line, and use it
	to open an existing document if any.
	* glom/application.[h|cc]: Add URI parameter to init(), and use it.
	* glom/data_structure/layoutgroup.[h|cc]: Add boolean m_others
	member variable and use it instead of checking the group name.

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	Use the UNIX user name by default, because it is often the same as the

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/navigation/box_databases.cc: Use the UNIX user name by default,
	because it is often the same as the postgres user name.

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	Add intermediate signal handlers for the User Level menu items because use

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.[h|cc]: Add intermediate signal handlers for the
	User Level menu items because use of sigc::bind with RefPtrs might be
	causing crashes.

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	In Table Navigation, change Cancel button to a close button, because this

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/glade.glom: In Table Navigation, change Cancel button to a close
	button, because this window is opened to edit as well as to navigate.
	* glom/navigatin/box_tables.cc: Make sure that changes are saved to
	the document immediately, because we no longer automatically ask
	all views to save into the document before writing to disk.

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	set_modified(): Call save_before() and write_to_disk() instead of save()

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/Document_Glom.cc: set_modified(): Call save_before()
	and write_to_disk() instead of save() because that gets all the data
	from the views again.

2004-07-04  Murray Cumming  <murrayc@murrayc.com>

	set_modified(): Do nothing if the modified status is already what it would

2004-07-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/Document_Glom.cc: set_modified(): Do nothing if the
	modified status is already what it would be set to, to prevent
	infinite loops.
	* glom/application.cc offer_new_or_existing(): Keep offering if the
	user cancels at some stage.

2004-07-04  Murray Cumming  <murrayc@src.gnome.org>

	Removed some debug warnings

2004-07-04  Vincent van Adrighem  <adrighem@gnome.org>

	Translation updated by Tino Meinen.

2004-07-04  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.

2004-07-04  Murray Cumming  <murrayc@murrayc.com>

	When in developer mode, save all changes immediately and automatically.

2004-07-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/Document_Glom.cc: When in developer mode, save all
	changes immediately and automatically. Lets see how much disk activity
	this creates.

2004-07-04  Murray Cumming  <murrayc@murrayc.com>

	Do not create the toolbar, because it is not useful for this application.

2004-07-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/applciation,cc init_layout(): Do not create the toolbar,
	because it is not useful for this application.

2004-07-03  Murray Cumming  <murrayc@localhost.com>

	save_to_document(): Only save something when something has been modified.

2004-07-04  Murray Cumming  <murrayc@localhost.com>

	* glom/navigation/box_db_tables.cc: save_to_document(): Only save
	something when something has been modified.

2004-07-03  Christophe Merlet  <redfox@src.gnome.org>

	Added French translation.

2004-07-03  Murray Cumming  <murrayc@src.gnome.org>

	removed crufty file

2004-07-03  Murray Cumming  <murrayc@murrayc.com>

	Cache all the data in member variables and only deal with the XML DOM when

2004-07-04  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/Document_Glom.[h|cc]: Cache all the data in
	member variables and only deal with the XML DOM when loading and
	saving, in overrides of load_before() and save_after(). This makes the
	code nicer and faster.

2004-07-02  Murray Cumming  <murrayc@src.gnome.org>

	reversed accidental commit

2004-07-02  Murray Cumming  <murrayc@src.gnome.org>

	Added missing file

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	Renamed all the ugly on_AddDel_* methods to slightly less ugly on_adddel_*

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	* Renamed all the ugly on_AddDel_* methods to slightly less ugly
	on_adddel_* methods.

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	Added glom.keys and glom.mime, and added rules in Makefile.am to install

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	* Added glom.keys and glom.mime, and added rules in Makefile.am to
	install them. This is for the old MIME-type registration system,
	because GNOME 2.6 seems to need both the old and new systems.

2004-07-02  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	Save the fields into m_Fields, so that get_WhereClause() knows about them.

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_find/box_data_list_find.cc fill_from_database(): Save the
	fields into m_Fields, so that get_WhereClause() knows about them. Find
	in the List view now works.

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	Handle field_edited signal of sub-flowtables so that glom responds to

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtablewithfields: Handle field_edited
	signal of sub-flowtables so that glom responds to editing of a field
	in a group on the Details view.

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	Change get_Entered_Field to get_entered_field_data() which takes a Field

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data.[h|cc] and derived classes: Change
	get_Entered_Field to get_entered_field_data() which takes a Field and
	returns a Gnome::Gda::Value. This makes Find mode work for the Details
	view at least.

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	Make the find mode show some widgets, by re-activating some old code and

2004-07-02  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_find/: Make the find mode show some widgets, by
	re-activating some old code and adding the boxes and notebooks to the
	Bakery composite View so that they know about the document.

2004-07-01  Murray Cumming  <murrayc@murrayc.com>

	on_AddDel_changed(): Update the document properly when a table is renamed,

2004-07-01  Murray Cumming  <murrayc@murrayc.com>

	* glom/navigation/box_db_tables.cc: on_AddDel_changed(): Update the
	document properly when a table is renamed, so that glom does not
	complain that it knows nothing about the table. Also, update the
	AddDel with the new table name as they key, so that it does not try
	to operate on the old table name.

2004-06-30  Murray Cumming  <murrayc@src.gnome.org>

	Removed generated file.

2004-06-30  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2004-06-30  Murray Cumming  <murrayc@murrayc.com>

	Correct x posititioning of 2nd column when using single items.

2004-06-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable.cc on_size_allocate(): Correct x
	posititioning of 2nd column when using single items.
	get_field(): Put the recursive stuff in the field(sting id) overload,
	because that's the one that gets called by the field(field) overload.

2004-06-30  Murray Cumming  <murrayc@murrayc.com>

	Added add_group() and used it in mode_data/box_table_data.cc

2004-06-30  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtablewithfields.cc: Added add_group() and
	used it in mode_data/box_table_data.cc fill_layout(). Layout groups
	are now shown inside a HIG-style frame.
	* glom/navigation/box_tables.cc on_AddDel_add(), and
	glom/mode_design/fields/box_db_tabledefnition.cc on_AddDel_add():
	Create a default title for tables and fields.

2004-06-30  Gareth Owen  <gowen@src.gnome.org>

	Updated en_GB translations from David Lodge <dave@cirt.net>

2004-06-27  Murray Cumming  <murrayc@murrayc.com>

	get_minimum_column_height(), get_column_height(): Make single items take

2004-06-27  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable.cc: get_minimum_column_height(),
	get_column_height(): Make single items take up the whole width,
	instead of affecting the width of the first sub-column.

2004-06-26  Murray Cumming  <murrayc@murrayc.com>

	Add get_default_button() virtual method, and add implementation in

2004-06-26  Murray Cumming  <murrayc@murrayc.com>

	* glom/box_db.[h|cc]: Add get_default_button() virtual method, and
	add implementation in glom/navigation/box_databases.cc, and used it in
	constructor Dialog_Glom, so that the connect button is the default
	button, so you can just press return in the password box to connect.

2004-06-24  Murray Cumming  <murrayc@murrayc.com>

	Removed AC_CONFIG_AUX_DIRS(), which was causing problems.

2004-06-25  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Removed AC_CONFIG_AUX_DIRS(), which was causing
	problems.

2004-06-24  Murray Cumming  <murrayc@src.gnome.org>

	Added missing file.

2004-06-24  Gustavo Maciel Dias Vieira  <gustavo@sagui.org>

	Updated Brazilian Portuguese translation done by Raphael Higino

2004-06-24  Gustavo Maciel Dias Vieira  <gustavo@sagui.org>

	* pt_BR.po: Updated Brazilian Portuguese translation done by
	Raphael Higino <raphaelh@uai.com.br>.

2004-06-24  Duarte Loreto  <happyguy_pt@hotmail.com>

	Added Portuguese (pt) to ALL_LINGUAS.

	2004-06-24  Duarte Loreto <happyguy_pt@hotmail.com>

	* configure.in: Added Portuguese (pt) to ALL_LINGUAS.

2004-06-24  Duarte Loreto  <happyguy_pt@hotmail.com>

	Added Portuguese translation.

	2004-06-24  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Added Portuguese translation.

2004-06-20  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2004-06-20  Murray Cumming  <murrayc@murrayc.com>

	Added on override of on_menu_help_init() to merge in a menu item for the

2004-06-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.[h|cc]: Added on override of on_menu_help_init() to
	merge in a menu item for the user guide. Called gnome_help_display() in
	the menu signal handler to show the docs.
	* glom/main.cc: Call gnome_program_init() so that gnome_help_display()
	has the information that it needs. Hopefully this coexists with our
	Gtk::Main initialisation.
	* configure.in: Depend on libgnome, because that is where
	gnome_help_display is. That is not good but at least it is not
	libgnomeui.
	* Makefile.am: Add some defines needed by gnome_program_init() - see
	comments in Makefile.am.

2004-06-20  Murray Cumming  <murrayc@murrayc.com>

	Added skeleton for the user guide.

2004-06-20  Murray Cumming  <murrayc@murrayc.com>

	* configure.in, docs/user-guide: Added skeleton for the user guide.

2004-06-19  Murray Cumming  <murrayc@murrayc.com>

	get_field_definition(): Prevent crash - do not try to use a

2004-06-20  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_design/fields/box_db_table_definition.cc:
	get_field_definition(): Prevent crash - do not try to use a
	TreeModel::iterator as the index to a vector.

2004-06-19  Murray Cumming  <murrayc@murrayc.com>

	Added glom.applications, to register glom as capable of opening glom

	2004-06-19  Murray Cumming  <murrayc@murrayc.com>

	* Added glom.applications, to register glom as capable of opening
	glom files.
	* Makefile.am: Install glom.applications in the applications-registry.
	* glom/navigation/box_tables.cc: fill_from_database(): Show tables
	that are in the database, but not in the document, as hidden, if in
	developer mode.
	* glom/utility_widgets/adddel/adddel.cc : set_column_choices(): Get the
	cellrenderer for the view column, not the model column. Among other
	things, this makes the Relationships dialog work again.
	* glom/mode_design/dialog_relationships.[h|cc]: Add an on_hide()
	override to actually save the relationships when the dialog is closed.

2004-06-19  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2004-06-18  Murray Cumming  <murrayc@murrayc.com>

	Make the column non-editable if it is an auto-increment field, because the

2004-06-18  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel.cc add_column(Field): Make the column
	non-editable if it is an auto-increment field, because the user should
	never change or create those values.
	* glom/glom.glade: Create a HIG information dialog. Use it in
	glom/frame_glom.cc show_ok_dialog().
	* glom/mode_design/box_db_tabledefinition.cc: on_AddDel_del(): Correct
	for loop, so that we actually delete the field.
	* glom/base_db: get_fields_for_table(): Ignore any fields that are no
	longer in the database. Among other things, this makes the field
	definition window update correctly after deleting a field.
	* glom/frame_glom.cc: Update the data view when the fields window
	is closed, because the structure might have changed.
	* glom/data_structure/glomconversions.cc: parse_value(): When parsing
	a string as a number, create a GdaNumeric-based GdaValue instead of a
	float, because that is the numeric type that we are using eveywhere.
	Actually, maybe it's not the best type.
	* All over the place: Fixed lots of primary_key arguments to be
	Gnome::Gda::Values rather than strings, and therefore made sure that
	Field::sql() was used with them.

2004-06-18  Miloslav Trmac  <mitr@volny.cz>

	Updated Czech translation.

2004-06-18  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.

2004-06-17  Murray Cumming  <murrayc@murrayc.com>

	Make the column non-editable if it is an auto-increment field, because the

2004-06-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel.cc add_column(Field): Make the column
	non-editable if it is an auto-increment field, because the user should
	never change or create those values.
	* glom/glom.glade: Create a HIG information dialog. Use it in
	glom/frame_glom.cc show_ok_dialog().
	* glom/mode_design/box_db_tabledefinition.cc: on_AddDel_del(): Correct
	for loop, so that we actually delete the field.
	* glom/base_db: get_fields_for_table(): Ignore any fields that are no
	longer in the database. Among other things, this makes the field
	definition window update correctly after deleting a field.
	* glom/frame_glom.cc: Update the data view when the fields window
	is closed, because the structure might have changed.

2004-06-17  Murray Cumming  <murrayc@murrayc.com>

	Added get_default_table(). on_Box_Databases_selected(): open the default

2004-06-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/document/document_glom.[h|cc]: Added get_default_table().
	* glom/frame_glom.cc: on_Box_Databases_selected(): open the default
	table instead of showing the list of tables, if there is a default
	table.

2004-06-17  Murray Cumming  <murrayc@murrayc.com>

	Moved Default Value into its own Notebook tab, with new Lookup widgets.

2004-06-17  Murray Cumming  <murrayc@murrayc.com>

	* glom/glade.glom, glom/mode_design/fields/dialog_fielddefinition.cc:
	Moved Default Value into its own Notebook tab, with new Lookup widgets.
	* glom/mode_data/box_data_list.cc: Make the rows have alternating
	colors when the theme does that. Among other things, this makes the
	data list look different to the field list.
	* The lookup details are not actually used yet to do any lookups.

2004-06-15  Murray Cumming  <murrayc@murrayc.com>

	Simplifified the code for the placeholder row a bit. Fixed some odd focus

2004-06-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel/adddel.[h|cc]: Simplifified the code for
	the placeholder row a bit.
	* glom/navigation/box_db_tables.cc,
	glom/mode_design/fields/box_table_field_definitions.cc: Fixed some odd
	focus errors (hopefully) caused by rebuilding the TreeModel in a
	CellRenderer signal handler.
	* glom/mode_design/fields/box_table_field_definitions.cc:
	get_field_definition(): Store the field title in the result, not in
	the temporary field instance, so that new titles are really saved.

2004-06-15  Murray Cumming  <murrayc@murrayc.com>

	on_AddDel_changed(): Implement renaming of tables.

2004-06-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/navigation/box_tables.cc: on_AddDel_changed(): Implement
	renaming of tables.

2004-06-15  Murray Cumming  <murrayc@murrayc.com>

	Corrected problems with the AddDel changes: Adding a record works again,

2004-06-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_list.cc: Corrected problems with the
	AddDel changes: Adding a record works again, and editing a list record
	shows the correct record in the Details view.

2004-06-15  Murray Cumming  <murrayc@src.gnome.org>

	unbroke the build

2004-06-15  Murray Cumming  <murrayc@murrayc.com>

	add_item(), remove_item(), get_row() now use a key value instead of the

2004-06-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel.[h|cc]: add_item(), remove_item(),
	get_row() now use a key value instead of the value in the first column.
	This is a hidden TreeModel column. There is also a bool placeholder
	column, used to mark the blank row that is for the user to add a new
	row. This scheme should make it easier to handle reorderered rows, and
	it allows us to get a uniquq identifier for a changed row even when
	responding to a change an it is the first row (such as a field name)
	that has changed.

2004-06-14  Murray Cumming  <murrayc@murrayc.com>

	The API now uses Gtk::TreeModel iterators instead of integer indexes. The

2004-06-14  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/adddel.[h|cc]: The API now uses Gtk::TreeModel
	iterators instead of integer indexes. The previous API was an
	abstraction layer that is no longer required now that we have
	Gtk::TreeView and plan to keep using it.
	* other files: Adapted accordingly.

2004-06-14  Miloslav Trmac  <mitr@volny.cz>

	Added cs to ALL_LINGUAS.

2004-06-14  Miloslav Trmac  <mitr@volny.cz>

	* configure.in: Added cs to ALL_LINGUAS.

2004-06-14  Miloslav Trmac  <mitr@volny.cz>

	Added Czech translation.

2004-06-14  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Added Czech translation.

2004-06-13  Vincent van Adrighem  <adrighem@gnome.org>

	Added nl to ALL_LINGUAS.

2004-06-13  Vincent van Adrighem  <adrighem@gnome.org>

	* configure.in: Added nl to ALL_LINGUAS.

2004-06-13  Vincent van Adrighem  <adrighem@gnome.org>

	Translation added by Tino Meinen.

2004-06-13  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation added by Tino Meinen.

2004-06-12  Murray Cumming  <murrayc@src.gnome.org>

	Increased version

2004-06-12  Murray Cumming  <murrayc@murrayc.com>

	show_hint(): Do not show the help hints at the bottom - they are just

2004-06-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.cc: show_hint(): Do not show the help hints at the
	bottom - they are just annoying and not really necessary anymore.

2004-06-12  Murray Cumming  <murrayc@murrayc.com>

	Simplify the time_get and time_put code by using the default template

2004-06-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/glomconversions.cc: Simplify the time_get and
	time_put code by using the default template iterators.

2004-06-12  Murray Cumming  <murrayc@murrayc_debian>

	Various corrections from Daniel Elstner (king of C++). Also fallback to

2004-06-12  Murray Cumming  <murrayc@murrayc_debian>

	* glom/data_structure/glomconversions.cc: Various corrections from
	Daniel Elstner (king of C++). Also fallback to parsing time in the C
	locale, because parsing in the current locale never seems to work.
	* glom/utility_widgets/adddel/adddel.cc: on_treeview_celledited(),
	glom/utility)widgets/entryglom: check_changed(): Update the entry
	with the text as it would be displayed in the locale, after editing,
	so that the user gets immediate feedback.

2004-06-12  Murray Cumming  <murrayc@src.gnome.org>

	Updated the screenshots

2004-06-12  Murray Cumming  <murrayc@murrayc.com>

	New dialog to show when the user enters incorrect data, with advice, and

2004-06-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/dialog_data_invalid.[h|cc}, glom.glade: New dialog to show
	when the user enters incorrect data, with advice, and offer to revert.
	glom/utility_widgets/entryglom.cc: check_for_changes(): Show the new
	dialog, and put the focus back in the entry if the user tries again.
	* glom/utility_widgets/adddel/adddel.cc: on_treeview_cell_edited():
	Do the same, though the cell is obviously not reactivated properly.

2004-06-12  Murray Cumming  <murrayc@murrayc.com>

	check_for_change(): Complain about unparseable data (such as dates and

2004-06-12  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/entryglom.cc: check_for_change(): Complain
	about unparseable data (such as dates and times) instead of sending
	garbage to the database. This dialog should be improved (see comments)
	and we need the same thing for the List view.

2004-06-12  Murray Cumming  <murrayc@murrayc_debian>

	Moved generic parse/format routines to

2004-06-12  Murray Cumming  <murrayc@murrayc_debian>

	* Moved generic parse/format routines to
	glom/data_structure/glomconversions.[h|cc] from
	glom/utility_widgets/entryglom.[h|cc].
	* glom/utility_widgets/adddel/adddel.[h|cc]: Add add_column() override
	that takes a Field. Add set_value(Gda::Value) and get_value_as_value()
	methods that use the glomconversions.
	* glom/mode_data/box_data_list.cc: fill_from_database(),
	on_adddel_changed(): Use the GdaValue-based AddDel API so that dates,
	times, and numbers are shown and parsed as per the locale.

2004-06-12  Murray Cumming  <murrayc@murrayc_debian>

	Change all parsing to use C++ streams and facets, and rearranged them into

2004-06-12  Murray Cumming  <murrayc@murrayc_debian>

	* glom/utility_widgets/flowtable_withfields.cc: Change all parsing to
	use C++ streams and facets, and rearranged them into generic
	conversion routines that can be used elsewhere and should be moved
	elsewhere too. Added conversions to ISO formats, fo use in SQL
	statments.
	* glom/data_structure/field.cc: sql(): Use these conversion routines
	to get text representations for SQL.

2004-06-11  Murray Cumming  <murrayc@src.gnome.org>

	Added to TODO.

2004-06-11  Murray Cumming  <murrayc@murrayc.com>

	get_suitable_width(): Use static locale-specific conversion function from

2004-06-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable_withfields.cc: get_suitable_width():
	Use static locale-specific conversion function from EntryGlom to get
	example text so that the number, date, and time fields have suitable
	widths in all locales.

2004-06-11  Murray Cumming  <murrayc@murrayc.com>

	Update it.po from Albert Paro. Re-enabled it.po now that the invalid

2004-06-11  Murray Cumming  <murrayc@murrayc.com>

	* po/: Update it.po from Albert Paro.
	* configure.in: Re-enabled it.po now that the invalid multibyte
	sequences are fixed.

2004-06-11  Murray Cumming  <murrayc@.com>

	Do locale-specific display and parsing of dates, times, and numbers in the

2004-06-11  Murray Cumming  <murrayc@.com>

	* Do locale-specific display and parsing of dates, times, and numbers
	in the Data Details.
	* glom/utility_widgets/entryglom.[h|cc]: Added Gda::Value-based
	get_value() and set_value(), which show and parse the text based on
	the field type and the locale, though there are still some TODOS in
	the code.
	* glom/mode_data/box_data_details.cc: Use EntryGlom::set/get_value()
	instead of set/get_text(), so we delegate parsing/representation to
	the EntryGlom.

2004-06-11  Adam Weinberger  <adamw@src.gnome.org>

	Added en_CA to ALL_LINGUAS. Added Canadian English translation.

	* configure.in: Added en_CA to ALL_LINGUAS.
	* po/en_CA.po: Added Canadian English translation.

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	Started to add validation, depending on the field type.

2004-06-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/entryglom.[h|cc]: Started to add validation,
	depending on the field type.

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	Removed fieldtype.[h|cc] to simplify things, moving some of the static

2004-06-11  Murray Cumming  <murrayc@murrayc.com>

	* glom/data_structure/: Removed fieldtype.[h|cc] to simplify things,
	moving some of the static functions into the Field class.

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	Use PangoLayout to calculate an appropriate width for fields of different

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/utility_widgets/flowtable_withstyles.[h|cc]: Use PangoLayout to
	calculate an appropriate width for fields of different types. Need to
	do locale-specific stuff here though.

2004-06-10  Gustavo Noronha Silva  <gns@src.gnome.org>

	added translation by Joao Paulo Gomes Vanzuita <joaopaulo99@terra.com.br>

	* pt_BR.po: added translation by
	Joao Paulo Gomes Vanzuita <joaopaulo99@terra.com.br>
	* configure.in: added pt_BR to ALL_LINGUAS

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	Added macros/macros.m4, and used the macro in configure.in, to add

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	* Added macros/macros.m4, and used the macro in configure.in, to add
	--enable-warnings configure options, and used them by default in
	autogen.sh. So now it builds with warnings by default.

2004-06-10  Murray Cumming  <murrayc@src.gnome.org>

	Added missing files.

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	Handle AddDel::signal_user_changed so that changes are saved immediately.

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/navigation/box_tables.cc: Handle AddDel::signal_user_changed so
	that changes are saved immediately. It does not update the list of
	non-hidden tables properly yet though. The AddDel columns are no
	longer editable when in operator mode.
	* glom/frame_glom.[h|cc]: Do not allow the user to design fields,
	relationships, or layouts if no table has been selected.
	* glom/application.cc, frame_glom.[h|cc]: on_menu_userlevel_*():
	Use sigc::bind to send the RadioAction to the signal handler, so we
	can check if it is active, because the signal seems to be sent both
	when the menu item is un-activated (as a result of another radioaction
	being activated) and when it is activated.

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	Move the database stuff into the Base_DB class to make the code a bit

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	* glom/box_db.[h|cc]: Move the database stuff into the Base_DB class to
	make the code a bit clearer. Connect to the signal of the document in
	a set_document() override instead of the on_load_document() override.

2004-06-09  Murray Cumming  <murrayc@murrayc.com>

	Italian translation from Alberto Paro. Alberto Paro added includes for

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	* po/il.po: Italian translation from Alberto Paro.
	* various headers: Alberto Paro added includes for libintl.h because
	he says gettext() is not defined without them. It is strange that it
	works for me, but they do no harm. I need to look at this properly.

2004-06-09  Murray Cumming  <murrayc@murrayc.com>

	German translation from Hendrik Brandt.

2004-06-10  Murray Cumming  <murrayc@murrayc.com>

	* po/de.po: German translation from Hendrik Brandt.

2004-06-09  Murray Cumming  <murrayc@murrayc.com>

	removed the Design Mode. Added Fields, Relatationships, Users, and Layout,

2004-06-09  Murray Cumming  <murrayc@murrayc.com>

	* Mode menu: removed the Design Mode.
	* Developer menu: Added Fields, Relatationships, Users, and Layout, to
	show the same functionality in secondary windows.

2004-06-09  Murray Cumming  <murrayc@src.gnome.org>

	added missing files.

2004-06-09  Christian Rose  <menthos@menthos.com>

	Added "sv" to ALL_LINGUAS. Removed nonexisting files and added a missing

2004-06-09  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "sv" to ALL_LINGUAS.
	* po/POTFILES.in: Removed nonexisting files and added a missing
	one.
	* po/.cvsignore: Added this.
	* po/sv.po: Added Swedish translation.

2004-06-08  Murray Cumming  <murrayc@murrayc.com>

	The AppState (User Level) is now dependent on the document so different

2004-06-08  Murray Cumming  <murrayc@murrayc.com>

	* glom/application.[h|cc], glom/Document/Document_Glom.[h|cc], and
	others: The AppState (User Level) is now dependent on the document so
	different instances (each with 1 document) can have different
	user levels. And the user level is Operator if the file is read-only.
	* glom/Navigation/Box_DB_Tables.cc: Enable/Disable the extra UI in
	fill_from_database() instead of the constructor, so that they are
	changed when the user level changes. The table title is not yet shown
	instead of the table name when in operator mode.

2004-06-08  Murray Cumming  <murrayc@murrayc.com>

	Changed all source code filenames to lowercase, because it was getting

2004-06-08  Murray Cumming  <murrayc@murrayc.com>

	* Changed all source code filenames to lowercase, because it was
	getting ugly, and imported into GNOME cvs.

2004-06-08  Murray Cumming  <murrayc@src.gnome.org>

	Importing files from sourceforge cvs.

2004-06-08  Murray Cumming  <murrayc@src.gnome.org>

	Initial revision

