1.12.2: 2009-10-05 Murray Cumming Import: Handle large unquoted text (binary image data). * glom/import_csv/csv_parser.cc: on_idle_parse(): When we reach the end of the buffer without finding a newline, store all of the remaining text instead of just since the last quote, so we don't discard parts of large unquoted text, such as parts of binary image data. This seems to break the test_fail_on_non_matching_quotes test, but the tests are too hard to run until we have removed the idle handling (and its timing problems) from CSvParser. * glom/libglom/data_structure/field.cc: to_file_format(): Also escape carriage-returns, just in case. * tests/import/test_parsing.cc: Comment out the test_skip_on_no_ending_newline test, because I see no reason why we would want to ignore last lines with no newline. 2009-10-05 Murray Cumming Export: Correct problems in the binary data for images: Escape newlines. * glom/libglom/data_structure/field.cc: to_file_format(): Escape newlines as \012 instead of removing them, because this is probably what gda_binary_to_string() intends. 2009-10-05 Murray Cumming Export: Correct problems in the binary data for images. * glom/libglom/data_structure/field.cc: to_file_format(): Escape newlines and quotes in binary data text, to workaround libgda bug https://bugzilla.gnome.org/show_bug.cgi?id=597390 * glom/frame_glom.cc: export_data_to_stream(): Double check that image data contains no newlines or quotes. * glom/libglom/utils.cc: string_replace(): Avoid an endless loop when the search_for input parameter is empty. This fixes bug #593304 (Michael Hasselmann) 2009-10-04 Murray Cumming Fix regression: Actually show field choices again in combo boxes. * glom/libglom/utils.cc: get_choice_values(): Move the list_values.push_back() out of the ifdef block so we actually show field choices again in the combo boxes. This was broken by the commit from Johannes on 2009-07-30. Hopefully ldtp tests will avoid this in future. 2009-10-02 Murray Cumming Maemo: Avoid multi-column details layouts. * glom/libglom/document/document.[h|cc]: Added maemo_restrict_layouts_to_single_column_group(). * glom/application.cc: on_document_load(): On maemo, call it to make the layout more suitable by default, if no custom maemo layout is defined. 2009-10-02 Murray Cumming Maemo: Fix the build. * glom/frame_glom.cc: * glom/import_csv/dialog_import_csv.cc: * glom/import_csv/dialog_import_csv_progress.cc: Added no-exceptions ifdefs, and corrected the hildonmm code. 1.12.1: