0.9.4: 2006-02-09 Murray Cumming * 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 * 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 * 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 * glom/mode_design/box_db_table_relationships.cc: save_to_document(): Actually add new relationships. 2006-02-09 Murray Cumming * 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.