CVSROOT: /cvs/gnome Module name: glom Changes by: murrayc 05/04/16 16:48:51
Modified files: . : ChangeLog examples : example_smallbusiness.glom glom/data_structure: field.cc field.h glomconversions.cc glom/python_embed/python_module: py_glom_record.cc py_glom_record.h py_glom_relatedrecord.cc Log message: 2005-04-16 Murray Cumming <[EMAIL PROTECTED]> * examples/example_smallbusiness.glom: Add count and total_price (calculated) fields to invoice_lines. Add price_total (calculated) field to invoices. * glom/data_structure/field.cc: * glom/data_structure/field.h: Add get_calculation_relationships() to discover what relationships are used by a calculation. * glom/data_structure/glomconversions.cc: Change example value for numbers to 1 from 123, so we are more likely to find related records when testing calculations. * glom/python_embed/python_module/py_glom_record.cc: * glom/python_embed/python_module/py_glom_record.h: Remove the unused m_gda_connection member variable. * glom/python_embed/python_module/py_glom_relatedrecord.cc: Add sum(), count(), min(), and max() python methods. For instance, record[invoice_lines].sum(total_price); URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glom&who=murrayc&date=explicit&mindate=2005-04-16%2016:47&maxdate=2005-04-16%2016:49 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list