CVSROOT:        /cvs/gnome
Module name:    glom
Changes by:     murrayc 06/03/12 10:38:23

Modified files:
        .              : ChangeLog 
        glom           : base_db.cc base_db.h combobox_relationship.cc 
                         combobox_relationship.h glom.glade utils.cc 
        glom/data_structure/layout: fieldformatting.cc layoutgroup.cc 
                                    layoutitem_field.cc 
                                    layoutitem_field.h 
                                    layoutitem_portal.cc 
                                    usesrelationship.cc 
                                    usesrelationship.h 
        glom/document  : document_glom.cc document_glom.h 
        glom/mode_data : box_data.cc dialog_choose_field.cc 
                         dialog_choose_field.h dialog_layout_details.cc 
                         dialog_layout_list.cc 
        glom/utility_widgets: flowtablewithfields.cc 
Removed files:
        glom/data_structure/layout: usesrelationship.cc~ 
                                    usesrelationship.h~ 

Log message:
2006-03-12  Murray Cumming  <[EMAIL PROTECTED]>

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

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glom&who=murrayc&date=explicit&mindate=2006-03-12%2010:37&maxdate=2006-03-12%2010:39

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to