2006-01-10 Murray Cumming * docs/postgres_gda_test.c: (main): * glom/base_db.cc: * glom/document/document_glom.cc: * 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_data/box_data_list.h: * glom/mode_data/box_data_list_related.cc: * glom/mode_data/notebook_data.cc: * glom/mode_data/notebook_data.h: * glom/mode_design/fields/box_db_table_definition.cc: * glom/mode_design/fields/dialog_fielddefinition.cc: * glom/mode_design/users/dialog_groups_list.cc: * glom/navigation/box_tables.cc: * glom/python_embed/python_module/pygdavalue_conversions.c: (pygda_value_from_pyobject): * glom/utility_widgets/adddel/adddel.cc: * glom/utility_widgets/combo_textglade.cc: * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.h: * glom/utility_widgets/flowtablewithfields.cc: Change all instances of can not to cannot. Bug #300139 from Adam Weinberger. This may or maynot be necessary. 2006-01-10 Murray Cumming * glom/utility_widgets/db_adddel/db_adddel.cc: get_row(): Do not crash if there is not model yet. * glom/mode_data/box_data_list.cc: * glom/mode_data/box_data_list.h: Added set_primary_key_value_selected(). * glom/mode_data/notebook_data.cc: * glom/mode_data/notebook_data.h: on_switch_page_handler(): Refresh the list when showing it, trying to keep the same row selected. This means that new records (added in Details) show up. Thanks to Daniel Holbach and Greg Breland. 2006-01-10 Murray Cumming * glom/data_structure/field.cc: Field::sql(): Also escape ; characters, because libgda seems to cause postgres to be confused by these. And allocate a big enough string for PQescapeString(), to avoid crashes. Now bug #323266 seems to really be fixed. * glom/utils.cc: * glom/utils.h: Added inefficient string_replace() for use by Field::sql(). 2006-01-09 Murray Cumming * docs/user-guide/C/glom.xml: Add IDs for sections, to make sub-menu links work. Patch from Jorge Gonzalez in bug #313107. 2006-01-09 Murray Cumming * glom/data_structure/field.cc: Field::sql(): Use a copy of the PQescapeString() function from Posrgres, instead of gda_value_stringify() to really escape text for SQL. This should fix bug #323266 (crash when typing quote) from Nicolas Chevreux. 2005-12-20 Murray Cumming * po/POTFILES.in: Added glom/connectionpool.cc. 2005-09-04 Josep Puigdemont * configure.in: Added 'ca' to ALL_LINGUAS. 2005-08-24 Pawan Chitrakar * configure.in: Added ne in ALL_LINGUAS 2005-08-17 Murray Cumming * docs/user-guide/Makefile.am: Removed new es SUBDIR because it does not have a Makefile.am and that breaks the build. This might need changing to the new gnome-doc-utils system anyway. 2005-08-16 Murray Cumming * po/POTFILES.in: Added glomconversions.cc, because it now contains translatable strings. 2005-08-02 Murray Cumming * glom/base_db.cc: * glom/base_db.h: connect(): Reimplement with get_and_connect(). handle_error(): Reimplement with ConnectionPool::handle_error(). * glom/connectionpool.cc: * glom/connectionpool.h: Added get_and_connect(). Added handle_error(). * glom/frame_glom.cc: Frame_Glom::create_database(): Do not show the error dialog here because it is already shown by the calling function in application.cc. * glom/mode_data/box_data_details.cc: * glom/mode_data/box_data_list.cc: * glom/mode_design/fields/box_db_table_definition.cc: * glom/python_embed/python_module/py_glom_relatedrecord.cc: * glom/utility_widgets/db_adddel/glom_db_treemodel.cc: Call handle_error() to show a dialog when there is a database error. 2005-08-02 Murray Cumming * docs/postgres_gda_test.c: (main): call get_errors() when database creation fails, so we know why. 2005-08-02 Murray Cumming * docs/postgres_gda_test.c: (main): Try to create a database, because that seems to fail sometimes, possibly depending on the type of authentication used, and possibly not failing in the psql command-line tool. 2005-07-30 Daniel Holbach * glom/main.cc: Changed the gnome_program_init() call again. Apparently it was crashing on AMD64, though we do not know why.