glom r1149 - in trunk: . glom/libglom glom/libglom/data_structure glom/libglom/data_structure/layout glom/utility_widgets/db_adddel



Author: murrayc
Date: 2007-09-28 17:10:58 +0100 (Fri, 28 Sep 2007)
New Revision: 1149
ViewCVS link: http://svn.gnome.org/viewcvs/glom?rev=1149&view=rev

Modified:
   trunk/ChangeLog
   trunk/glom/libglom/connectionpool.cc
   trunk/glom/libglom/data_structure/fieldtypes.cc
   trunk/glom/libglom/data_structure/layout/layoutitem_field.cc
   trunk/glom/libglom/data_structure/layout/layoutitem_field.h
   trunk/glom/libglom/utils.cc
   trunk/glom/utility_widgets/db_adddel/glom_db_treemodel.cc
   trunk/glom/utility_widgets/db_adddel/glom_db_treemodel.h
Log:
2007-09-28  Murray Cumming  <murrayc murrayc com>

* glom/libglom/data_structure/layout/layoutitem_field.cc:
* glom/libglom/data_structure/layout/layoutitem_field.h: Added get_sql_name(), 
to get the fully qualified field name (with the table name and .).
* glom/libglom/utils.cc: build_sql_select_with_where_clause(): 
Use get_sql_name() instead of building the name here, to simplify that code 
slightly.

* glom/libglom/connectionpool.cc: handle_error(): When getting the text of 
errors, ignore any events that are not Gnome::Gda::CONNECTION_EVENT_ERROR, 
to avoid showing other irrelevant warnings. This requires the latest libgdamm.

* glom/utility_widgets/db_adddel/glom_db_treemodel.h: Remove the useless 
m_column_record member variable.
* glom/utility_widgets/db_adddel/glom_db_treemodel.cc:
refresh_from_database(), fill_values_if_necessary(): Create an iter-only 
model (needs the latest libgda, glibmm, and rebuilt libgdamm), to 
hopefully only get the data that we actually want.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]