0.8.1: 2004-06-12 Murray Cumming * glom/application.cc: show_hint(): Do not show the help hints at the bottom - they are just annoying and not really necessary anymore. 2004-06-12 Murray Cumming * glom/data_structure/glomconversions.cc: Simplify the time_get and time_put code by using the default template iterators. 2004-06-12 Murray Cumming * glom/data_structure/glomconversions.cc: Various corrections from Daniel Elstner (king of C++). Also fallback to parsing time in the C locale, because parsing in the current locale never seems to work. * glom/utility_widgets/adddel/adddel.cc: on_treeview_celledited(), glom/utility)widgets/entryglom: check_changed(): Update the entry with the text as it would be displayed in the locale, after editing, so that the user gets immediate feedback. 2004-06-12 Murray Cumming * glom/dialog_data_invalid.[h|cc}, glom.glade: New dialog to show when the user enters incorrect data, with advice, and offer to revert. glom/utility_widgets/entryglom.cc: check_for_changes(): Show the new dialog, and put the focus back in the entry if the user tries again. * glom/utility_widgets/adddel/adddel.cc: on_treeview_cell_edited(): Do the same, though the cell is obviously not reactivated properly. 2004-06-12 Murray Cumming * glom/utility_widgets/entryglom.cc: check_for_change(): Complain about unparseable data (such as dates and times) instead of sending garbage to the database. This dialog should be improved (see comments) and we need the same thing for the List view. 2004-06-12 Murray Cumming * Moved generic parse/format routines to glom/data_structure/glomconversions.[h|cc] from glom/utility_widgets/entryglom.[h|cc]. * glom/utility_widgets/adddel/adddel.[h|cc]: Add add_column() override that takes a Field. Add set_value(Gda::Value) and get_value_as_value() methods that use the glomconversions. * glom/mode_data/box_data_list.cc: fill_from_database(), on_adddel_changed(): Use the GdaValue-based AddDel API so that dates, times, and numbers are shown and parsed as per the locale. 2004-06-12 Murray Cumming * glom/utility_widgets/flowtable_withfields.cc: Change all parsing to use C++ streams and facets, and rearranged them into generic conversion routines that can be used elsewhere and should be moved elsewhere too. Added conversions to ISO formats, fo use in SQL statments. * glom/data_structure/field.cc: sql(): Use these conversion routines to get text representations for SQL. 2004-06-11 Murray Cumming * glom/utility_widgets/flowtable_withfields.cc: get_suitable_width(): Use static locale-specific conversion function from EntryGlom to get example text so that the number, date, and time fields have suitable widths in all locales. 2004-06-11 Murray Cumming * po/: Update it.po from Albert Paro. * configure.in: Re-enabled it.po now that the invalid multibyte sequences are fixed. 2004-06-11 Murray Cumming * Do locale-specific display and parsing of dates, times, and numbers in the Data Details. * glom/utility_widgets/entryglom.[h|cc]: Added Gda::Value-based get_value() and set_value(), which show and parse the text based on the field type and the locale, though there are still some TODOS in the code. * glom/mode_data/box_data_details.cc: Use EntryGlom::set/get_value() instead of set/get_text(), so we delegate parsing/representation to the EntryGlom. 2004-06-10 Adam Weinberger * configure.in: Added en_CA to ALL_LINGUAS. 2004-06-11 Murray Cumming * glom/utility_widgets/entryglom.[h|cc]: Started to add validation, depending on the field type. 2004-06-11 Murray Cumming * glom/data_structure/: Removed fieldtype.[h|cc] to simplify things, moving some of the static functions into the Field class. 2004-06-10 Murray Cumming * glom/utility_widgets/flowtable_withstyles.[h|cc]: Use PangoLayout to calculate an appropriate width for fields of different types. Need to do locale-specific stuff here though. 2004-06-10 Gustavo Noronha Silva * configure.in: added pt_BR to ALL_LINGUAS 2004-06-10 Murray Cumming * Added macros/macros.m4, and used the macro in configure.in, to add --enable-warnings configure options, and used them by default in autogen.sh. So now it builds with warnings by default. 2004-06-10 Murray Cumming * glom/navigation/box_tables.cc: Handle AddDel::signal_user_changed so that changes are saved immediately. It does not update the list of non-hidden tables properly yet though. The AddDel columns are no longer editable when in operator mode. * glom/frame_glom.[h|cc]: Do not allow the user to design fields, relationships, or layouts if no table has been selected. * glom/application.cc, frame_glom.[h|cc]: on_menu_userlevel_*(): Use sigc::bind to send the RadioAction to the signal handler, so we can check if it is active, because the signal seems to be sent both when the menu item is un-activated (as a result of another radioaction being activated) and when it is activated. 2004-06-10 Murray Cumming * glom/box_db.[h|cc]: Move the database stuff into the Base_DB class to make the code a bit clearer. Connect to the signal of the document in a set_document() override instead of the on_load_document() override. 2004-06-10 Murray Cumming * po/il.po: Italian translation from Alberto Paro. * various headers: Alberto Paro added includes for libintl.h because he says gettext() is not defined without them. It is strange that it works for me, but they do no harm. I need to look at this properly. 2004-06-10 Murray Cumming * po/de.po: German translation from Hendrik Brandt. 2004-06-09 Murray Cumming * Mode menu: removed the Design Mode. * Developer menu: Added Fields, Relatationships, Users, and Layout, to show the same functionality in secondary windows. 2004-06-09 Christian Rose * configure.in: Added "sv" to ALL_LINGUAS. 2004-06-08 Murray Cumming * glom/application.[h|cc], glom/Document/Document_Glom.[h|cc], and others: The AppState (User Level) is now dependent on the document so different instances (each with 1 document) can have different user levels. And the user level is Operator if the file is read-only. * glom/Navigation/Box_DB_Tables.cc: Enable/Disable the extra UI in fill_from_database() instead of the constructor, so that they are changed when the user level changes. The table title is not yet shown instead of the table name when in operator mode. 2004-06-08 Murray Cumming * Changed all source code filenames to lowercase, because it was getting ugly, and imported into GNOME cvs.