1.6.15:

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)

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).

2008-04-15  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data.cc (Glom.record_new,
	Glom.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).

2008-04-15  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, and when adding a related record via a related field, 
	as seen in bug #526386 (Jani Monoses), though this does not completely 
	fix the main problem in that bug.
	(This change was backported from svn trunk.)

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).

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

	* glom/application.cc fill_menu_tables(), fill_menu_reports():
	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.
