- 21 Sep, 2009 4 commits
-
-
Murray Cumming authored
* glom/utils_ui.[h]cc]: Added get_filepath_with_extension() to add (if necessary) a specified file extension to a filepath. * glom/frame_glom.cc: on_menu_file_export(): Add a .csv file extension if not already specified, so we automatically see the export file in the file chooser when importing.
-
Murray Cumming authored
when accessing the vector of vectors. Note that this check is already in the appropriate place in the import_csv_refactored branch. This makes bug #593304 slighly clearer, though it is now an endless loop with debug output.
-
Murray Cumming authored
* glom/dialog_import_csv.cc: Set the number of sample rows to 2 by default, not 0. a secondary top-level object (textbuffer).
-
Murray Cumming authored
the .so name and header install location. Noticed by Chris Coulson.
-
- 18 Sep, 2009 4 commits
-
-
Murray Cumming authored
* glom/utility_widgets/entryglom.[h|cc]: * glom/utility_widgets/textviewglom.h: Use Hildon::TextView and Hildon::Entry.
-
Murray Cumming authored
-
Murray Cumming authored
* glom/dialog_import_csv.[h|cc]: get_field_for_column(): Return a sharedptr<const>, not a silly const sharedptr<>&. * glom/dialog_import_csv_progress.cc: * glom/import_csv.[h|cc]: add get_state() and get_rows_count(). Make some API private to make it clearer what needs to be done to make this a real self-contained class.
-
Murray Cumming authored
* glom/dialog_import_csv.cc: * glom/dialog_import_csv_progress.cc: * glom/import_csv.[h]cc]: Prefix the state enum with STATE_. Use 0 instead of NULL because this is C++. Remove some debug output. Make signal type and variable names consistent with other code. * tests/import/test_signals.cc: Add a last std::endl.
-
- 17 Sep, 2009 3 commits
-
-
Michael Hasselmann authored
* Makefile_tests.am: all tests now run within valgrind by default since mem leaks in testcases are potential mem leaks in the application. Parameters might need tweaking. * glom/import_csv.cc (CsvParser::on_idle_parse): Fixed a missing negation in a conditional, which was wrongfully leading to signal emissions. Found by the import signals testcase. * test/import/test_parsing.cc: Fixed a null byte issue when setting the raw contents of the parser. * test/import/test_signals.cc: This testcase checks the CsvParser's signal emission on varying input. The basic idea was to have on testcase for each code path that leads to a signal emission in glom/import_csv.cc, even if that leads to overlapping code coverage tests with the parser testcase.
-
Johannes Schmid authored
Reaching this branch would mean that the dialog returned an unhandled response.
-
Johannes Schmid authored
A typo caused the check for the glom module twice while the gda module wasn't checked at all
-
- 16 Sep, 2009 1 commit
-
-
Michael Hasselmann authored
* glom/glom.glade: The encoding info now has more space for itself and properly expands, whereas the encoding combobox doesn't take up more hspace than needed.
-
- 14 Sep, 2009 4 commits
-
-
Johannes Schmid authored
-
Murray Cumming authored
* glom/glom.glade: main_window: Put the Records:/Found: widgets in sub-hboxes, and change their order by hand in the .glade file because GtkBuilder and Glade do not seem to interpret the file in the same way.
-
Claude Paroz authored
-
Murray Cumming authored
2009-09-14 Murray Cumming <murrayc@murray.com> * glom/frame_glom.cc: * glom/utility_widgets/flowtable.cc: Fixed warnings-as-errors build problems with the latest gtkmm.
-
- 09 Sep, 2009 1 commit
-
-
Michael Hasselmann authored
* ChangeLog, Makefile_glom.am, glom/dialog_import_csv.[h|cc], glom/import_csv.[h|cc], glom/dialog_import_csv_progress.cc: Moved the inlined Parser class from the Dialog_Import_CSV class to the new CsvParser class. The CsvParser already handles the line scanning and encoding conversion but is supposed to take over the file reading responsibility as well. In order to allow the Dialog_Import_CSV class to parse a scanned line into its tree model the parser emits a lineScanned signal, with the currently scanned line as parameter.
-
- 08 Sep, 2009 1 commit
-
-
Johannes Schmid authored
-
- 05 Sep, 2009 11 commits
-
-
Murray Cumming authored
-
Murray Cumming authored
-
Murray Cumming authored
* glom/frame_glom.[h|cc]: connection_request_password_and_attempt(): Move some decision-making into handle_request_password_connection_error, to allow us to handle the no-exception API better, though this is clearer anyway, or would be without the ifdefs.
-
Murray Cumming authored
-
Murray Cumming authored
for unsupported backends.
-
Murray Cumming authored
Correct and ifdef to an ifndef.
-
Murray Cumming authored
* glom/application.[h|cc]: Remove unused (and unnecessary since the new initial dialog) on_menu_file_open() and on_menu_file_close() overrides and ui_file_select_open_with_browse(). * glom/dialog_existing_or_new.cc: on_select_clicked(): Use Hildon::FileChooserDialog on Maemo. * glom/bakery/app_withdoc_gtk.cc: Remove the uncommented undef of GLOM_ENABLE_MAEMO - no more nasty hacks please. Instead comment-out the set_menu() call with a TODO, leaving the rest of the maemo-specific code working.
-
Murray Cumming authored
* glom/application.[h|cc]: Added check_document_hosting_mode_is_supported() to warn the user if the build cannot use the hosting mode in the file, and call it from on_document_load(). * glom/libglom/document/bakery/document.cc: load(), load_from_data(): Call set_is_new(false) so we can check for this in App/View::on_document_load(), to avoid complaining about an unused default hosting mode.
-
Murray Cumming authored
actually handle the enum for opening an existing file in client mode.
-
Murray Cumming authored
* glom/application.cc: offer_new_or_existing(): Add error handling to show how GtkBuilder complains about Atk objects in .glade files on Maemo, and actually fails.
-
Murray Cumming authored
-
- 04 Sep, 2009 8 commits
-
-
Murray Cumming authored
* glom/application.cc: offer_new_or_existing(): Add error handling to show how GtkBuilder complains about Atk objects in .glade files on Maemo, and actually fails.
-
Murray Cumming authored
is used.
-
Murray Cumming authored
* glom/libglom/test_connectionpool.cc: * glom/libglom/test_document.cc: Fixed the build without exceptions. * Makefile_tests.am: Added test_load_python_library, using dlopen() to show the numpunct linker error (bug #594142) without actually using python.
-
Murray Cumming authored
* configure.ac: Add a comment about using the PYTHON environment variable to specify the python version. * glom/dialog_existing_or_new.cc: * glom/dialog_import_csv_progress.cc: * glom/utility_widgets/canvas/canvas_group_resizable.cc: Avoid some compiler warnings, mostly about missing returns in unlikely situations.
-
Murray Cumming authored
* glom/python_embed/glom_python.cc: glom_python_module_is_available(), gda_python_module_is_available(): Output a hint to the command-line too, in case maemo crashes when showing UI as mine does at the moment, and to mention the exact python module name that failed.
-
Daniel Elstner authored
* glom/base_db.cc (Base_DB::get_fields_for_table_from_database): For now, catch Glib::Error instead of Gnome::Gda::MetaStructError, which does not exist.
-
Murray Cumming authored
* configure.ac: Correct the AS_IF() calls so that we really do not need iso-codes in client-only mode. * glom/print_layout/canvas_layout_item.cc: * glom/print_layout/canvas_print_layout.cc: * glom/printoperation_printlayout.cc: Fix the build without exceptions, without properties and without default signal handlers, with ifdefs. * glom/base_db.cc: get_fields_for_table_from_database(): Actually add a no-exceptions ifdef for the use of Gda::MetaStruct::complement() instead of just ifdefing it out for Maemo. * glom/mode_data/notebook_data.cc: * glom/utility_widgets/adddel/adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/entryglom.cc: * glom/utility_widgets/imageglom.cc: Likewise, ifdef the use of get_accessible on GTKMM_ATKMM_ENABLED instead of GLOM_ENABLE_MAEMO, to fix the client-only non-maemo build on Maemo. Again, please stop abusing the MAEMO ifdef for hacks without even a TODO.
-
Murray Cumming authored
-
- 03 Sep, 2009 3 commits
-
-
Murray Cumming authored
* glom/libglom/data_structure/iso_codes.[h|cc]: * glom/utility_widgets/comboentry_currency.cc * glom/mode_design/translation/: Moved to glom/mode_design/. * glom/Makefile_glom.am, *.[h|cc]: * po/POTFILES.in: Adapted. * configure.ac: Make use of iso-codes dependent on client-only, not maemo, because that actually makes sense.
-
Murray Cumming authored
* glom/mode_design/print_layouts/canvas_layout_item.[h|cc]: * glom/mode_design/print_layouts/canvas_print_layout.[h|cc]: Moved to glom/print_layout/, because they are used by client-only mode too. * glom/Makefile_glom.am, *.[h|cc]: Adapted. * po/POTFILES.in: Update for moved files.
-
Murray Cumming authored
non-recursive build allows that without linker errors. * glom/combobox_fields.[h|cc]: * glom/combobox_relationship.[h|cc]: * glom/layout_item_dialogs/: * glom/mode_data/dialog_choose_field.[h|cc]: * glom/mode_data/dialog_choose_relationship.[h|cc]: * glom/mode_data/dialog_layout*.[h|cc]: * glom/mode_data/treestore_layout.[h|cc]: * glom/layout_item_dialogs/: Moved to glom/mode_design/layout/ * glom/reports/report_builder.[h|cc]: Moved to glom/ * glom/reports/dialog_layout_report.[h|cc]" * glom/reports/treestore_report_layout.[h|cc]: Moved to glom/mode_design/report_layout/ * glom/database_preferences.[h|cc]: * glom/relationships_overview/: Moved to glom/mode_design/ * glom/glom_developer.glade: * glom/dialog_new_self_hosted_connection.[h|cc]:Rename to glom/mode_design/dialog_initial_password.[h|cc], renaming the class too, because that's what this is now. * glom/utility_widgets/dialog_layoutitem_properties.[h|cc]: Removed this unused class. * glom/Makefile_glom.am, *.[h|cc]: Adapted.
-