CVSROOT:        /cvs/gnome
Module name:    glom
Changes by:     murrayc 06/05/20 15:04:41

Modified files:
        .              : ChangeLog 
        glom           : base_db.cc base_db.h 
        glom/libglom   : calcinprogress.h utils.cc utils.h 
        glom/mode_data : box_data.cc box_data.h box_data_details.cc 
                         box_data_list.cc 
        glom/mode_design/fields: dialog_fieldcalculation.cc 

Log message:
2006-05-20  Murray Cumming  <[EMAIL PROTECTED]>

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

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glom&who=murrayc&date=explicit&mindate=2006-05-20%2015:03&maxdate=2006-05-20%2015:05

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

Reply via email to