1.23.3:

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

        Fix the build with MySQL disabled.

        * glom/glom_create_from_example.cc:
        * glom/glom_test_connection.cc: Move the ifdefs around.

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

        MySQL: Actually allow self-hosting in Glom itself.

        * glom/appwindow.cc: ui_file_select_save():
	Recognise MySQL self-hosting as self-hosting, so we 
	create a sub-directory and initialize the data.

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

        MySQL: Support MySQL in the command-line utiltiies.

        * glom/glom_create_from_example.cc:
        * glom/glom_test_connection.cc: Add ifdefed code for MySQL.

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

        MySQL: Add comments about AppArmor stopping use of MySQL on Ubuntu.

        * glom/libglom/connectionpool_backends/mysql_self.cc:
        * tests/test_selfhosting_utils.cc: Mention this bug:
	https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1095370

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

        MySQL: Add checkboxes to select MySQL when it is in the build.

        * glom/utility_widgets/filechooserdialog_saveextras.[h|cc]:
	Add checkboxes for self-hosting and central MySQL servers.
        * glom/frame_glom.cc: Handle MySQL too, though the 
	MySQL startup does not actually work here, though it
	does in the tests.

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

        FileChooserDialog_SaveExtras: Simplify the ifdefing.

        * glom/utility_widgets/filechooserdialog_saveextras.cc:
	Do not worry about so many combinations of options.
	Let people worry about that if they use it.

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

        MySQL: Use MySQL syntax to change columns

	* glom/libglom/connnectionpool_backends/mysql.cc:
	MYSQL uses:
	ALTER TABLE tablename CHANGE oldfieldname newfieldname oldfieldtype
	to rename columns, instead of PostgreSQL's:
	ALTER TABLE tablename RENAME oldfieldname TO newfieldname

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

        MySQL: Avoid affecting PostgreSQL field types.

        * glom/libglom/db_utils.[h|cc]: create_table():
	Take the hosting mode so we can only do checks for
	relevant hosting modes.
        * glom/appwindow.cc: Adapt.

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

        MySQL: Use double instead of DECIMAL for numeric values.

        * glom/libglom/db_utils.cc: create_table():
	Do not use DECIMAL with no parameters because that means
	0 decimal points, so we lose data when reading values
	back.

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

        tests: Add try/catch around all calls of the test functions.

        * tests/test_selfhosting_utils.[h|cc]: 
	Check for uncaught exceptions.

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

        tests: Add: test_selfhosting_new_from_example_float.cc

        * Makefile_tests.am:
        * tests/test_selfhosting_utils.[h|cc]:
	Add test_check_numeric_value_type().
        * tests/test_selfhosting_new_from_example_float.cc: Add
	this simple test that gets a float value, to check that
	we do not lose precision. It seems to fail with MySQL.
	It also seems to cause a crash or hang with PostgreSQL
	during cleanup.

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

        tests: Avoid some copy/pasting.

	* tests/test_selfhosting_utils.[h|cc]:
	Add test_all_hosting_modes().
        * tests/test_selfhosting_new_empty.cc:
        * tests/test_selfhosting_new_empty_change_sysprefs.cc:
        * tests/test_selfhosting_new_empty_then_users.cc:
        * tests/test_selfhosting_new_from_example.cc:
        * tests/test_selfhosting_new_from_example_operator.cc:
        * tests/test_selfhosting_new_from_example_strangepath.cc:
        * tests/test_selfhosting_new_then_alter_table.cc:
        * tests/test_selfhosting_new_then_change_columns.cc:
        * tests/test_selfhosting_new_then_choices.cc:
        * tests/test_selfhosting_new_then_image.cc:
        * tests/test_selfhosting_new_then_lookup.cc:
        * tests/test_selfhosting_new_then_report.cc:
        * tests/test_selfhosting_non_numeric_primary_keys.cc:
        * tests/test_selfhosting_sqlinjection.cc: Use this,
	passing a callback slot, instead of having the same repeated
	code in each file.

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

        MySQL: Use the new PROTOCOL connection parameter with libgda.

        * glom/libglom/connectionpool_backends/mysql.cc: attempt_connect():
	We must specify the TCP protocol when using MySQL on a non-standard 
	port. See libgda bug #691069

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

        Privs::get_default_developer_user_name(): Take hosting_mode parameters.

        * glom/libglom/privs.[h|cc]:
	get_default_developer_user_name(): Take the hosting_mode as a parameter
	so we can use a shortened username for MySQL without changing it
	for PostgreSQL.
        * glom/appwindow.cc:
        * glom/frame_glom.cc:
        * glom/glom_create_from_example.cc:
        * tests/test_selfhosting_utils.cc: Adapted.

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

        tests: Avoid some copy/pasting.

	* tests/test_selfhosting_utils.[h|cc]:
	Add test_all_hosting_modes().
        * tests/test_selfhosting_new_empty.cc:
        * tests/test_selfhosting_new_empty_change_sysprefs.cc:
        * tests/test_selfhosting_new_empty_then_users.cc:
        * tests/test_selfhosting_new_from_example.cc:
        * tests/test_selfhosting_new_from_example_operator.cc:
        * tests/test_selfhosting_new_from_example_strangepath.cc:
        * tests/test_selfhosting_new_then_alter_table.cc:
        * tests/test_selfhosting_new_then_change_columns.cc:
        * tests/test_selfhosting_new_then_choices.cc:
        * tests/test_selfhosting_new_then_image.cc:
        * tests/test_selfhosting_new_then_lookup.cc:
        * tests/test_selfhosting_new_then_report.cc:
        * tests/test_selfhosting_non_numeric_primary_keys.cc:
        * tests/test_selfhosting_sqlinjection.cc: Use this,
	passing a callback slot, instead of having the same repeated
	code in each file.

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

        Added more strings that need translations for gwt-glom.

        * glom/onlineglom_strings.cc: Added strings used by
	the login page.

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

        Added some strings that need translations for gwt-glom.

        * glom/onlineglom_strings.cc: Added strings used by
	the login page.

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

        tests: Test the use of a relationship to get data.

        * tests/test_selfhosting_utils.cc:
	test_example_musiccollection_data(): Also get the value 
	of a related field, to test value comparison with both
	numeric and text fields (this is used by at least two tests).

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

        tests: Add a test that uses an example with text primary keys.

        * Makefile_tests.am:
        * tests/test_example_music_collection_text_pk_fields.glom:
        * tests/test_selfhosting_non_numeric_primary_keys.cc: Added a test
	that uses a test-only .glom file that has had all its primary keys
	changed to text fields.