2019-10-28 Murray Cumming 1.32.0 2019-10-28 Murray Cumming DialogImage*Progress: Use correct MessageDialog constructor parameters Noticed by g++: glom/utility_widgets/dialog_image_load_progress.cc:160:127: warning: enum constant in boolean context [-Wint-in-bool-context] 160 | Gtk::MessageDialog dialog(*this, Glib::ustring::compose(_("Error loading %1"), m_file->get_parse_name()), Gtk::MESSAGE_ERROR); 2019-10-28 Murray Cumming Build: Remove mentions of removed test_sharedptr_layoutitem 2019-10-28 Murray Cumming Revert "Build: Tests: Actually build test_sharedptr_layoutitem" This reverts commit df5b6691fd391e0f0de7f8fe4b0572bf2ed9b709. Because we removed this file when we removed Glom::shared_ptr. 2019-10-28 Murray Cumming Avoid misleading indentation 2019-10-28 Murray Cumming Avoid a indirect gtksourceviewmm include Because it currently causes so many warnings about #warning (in the gtksourceview headers) being a GNU-only extension. 2019-10-28 Murray Cumming Remove an unused variable 2019-10-28 Murray Cumming Remove some extra semicolons to avoid compiler warnings 2019-09-27 Murray Cumming Build: reference docs: Build when srcdir != builddir 2019-09-27 Murray Cumming Build: Tests: Actually build test_sharedptr_layoutitem 2019-09-27 Murray Cumming Added ro.po file for Romanian translation, to fix build This file needs to exist because ro was added to LINGUAS. This doesn't contain any actual Romanian translations yet. 2019-09-27 Murray Cumming Build: Require libgda 5.2.9 So that Glom can work with recent versions of PostgreSQL. See libgda issue: https://gitlab.gnome.org/GNOME/libgda/issues/24 2019-08-20 Daniel Șerbănescu Added Romanian Translation for lesson_planner music_collection and smallbusiness examples. 2019-08-20 Florentina Mușat Update Romanian translation 2019-08-20 Daniel Șerbănescu Added Romanian Translation for example_film_manager. 2019-08-20 Daniel Șerbănescu Added Romanian to LINGUAS. 2019-08-20 Daniel Șerbănescu Added Romanian Translation for example_project_manager. 2019-05-07 Serdar Sağlam Update Turkish translation 2018-12-05 Murray Cumming tests: Add simple test of adding tables and reading the list back. So that when this fails, we get a more obvious clue that this is what failed. This seems to fail currently due to this libgda bug: ttps://gitlab.gnome.org/GNOME/libgda/issues/24 2018-12-04 Murray Cumming Build: Really require python 3 Note that AM_PATH_PYTHON() sets PYTHON_VERSION, so the advice from AX_PYTHON_DEVEL() to set PYTHON_VERSION is useless, because that would be overridden. So this also corrects the helpful comment in configure.ac, to instead advise people to set PYTHON. 2018-12-04 Murray Cumming Build: Update AX_PYTHON_DEVEL By downloading it from: https://www.gnu.org/software/autoconf-archive/ax_python_devel.html 2018-02-24 Murray Cumming Correct some license headers As the only author of these files, I can change the license from GPL v2-only to GPL v2 or later. Bug #790683 (Jeremy Bicha) 2017-11-11 Ask Hjorth Larsen Updated Danish translation 2017-10-25 Anders Jonsson Update Swedish translation 2017-06-21 Murray Cumming FileChooserDialog_SaveExtras: Remove (deprecated) backend parameter. 2017-06-21 Murray Cumming Use Gtk::Menu::popup_at_pointer() instead of (deprecated) popup(). Strangely, popup() is not deprecated in GTK+ 4. 2017-06-21 Murray Cumming Use gtk_show_uri_on_window() instead of gtk_show_uri(). gtk_show_uri() is deprecated. 2017-06-21 Murray Cumming Build: Require gtkmm-3.22 (and therefore gtk+-3.22) Because that is the current version, and that makes it easier to build against the not-deprecated API. 2017-06-21 Murray Cumming Add missing std::hash<> template types to fix the build. 2017-06-20 Murray Cumming Document:remove_field(): Remove from the vector, not a copy. And test this. This regression was probably introduced by the conversion to use auto with C++11. 2017-06-20 Murray Cumming Document: Minor const improvements. 2017-06-20 Murray Cumming Document::change_relationship_name(): Avoid a vector copy. 2017-06-20 Murray Cumming Document::remove_relationship(): Remove from the vector, not a copy. This was probably a regression since converting to use of auto with C++11. 2017-06-20 Murray Cumming tests: document_load_and_change: Use the correct table name. This bad test was revealed by the correction to return EXIT_SUCCESS, instead of false, from main(). 2017-06-20 Murray Cumming Don't return boolean literal from main(). Noticed by a g++ warning. 2017-03-05 Inaki Larranaga Murgoitio Update Basque language 2017-03-03 Tim Howard flatpak: update to flatpak 0.8.2 w/version 1.31.6 of glom https://bugzilla.gnome.org/show_bug.cgi?id=779228 2017-02-17 Andika Triwidada Update Indonesian translation 2017-02-14 Daniel Mustieles Updated Spanish translation 2016-11-20 Rafael Fontenelle Update Brazilian Portuguese translation 2016-11-18 Мирослав Николић Updated Serbian translation 2016-11-10 Murray Cumming if(): continue instead of nesting. 2016-11-10 Murray Cumming if(): Declare variables inside condition. This ensures that we don't dereference a (smart)pointer later when it is sure to be null. 2016-11-10 Murray Cumming if(): Prefer return/continue shortcut instead of nesting. 2016-11-08 Murray Cumming C++11: Use =default for simple destructors. 2016-11-08 Murray Cumming C++11: More default implementations. 2016-11-08 Murray Cumming C++11: Specify default move operations. Using =default instead of =delete. We don't seem to need them or use them, but it's hard to be sure, and we should generally have them whenever we have copy operations. 2016-11-07 Murray Cumming C++11: Use =default for simple move opertions. 2016-11-07 Murray Cumming C++11: Use =default for simple copy operations. 2016-11-07 Murray Cumming Don't use 0 for a boolean. 2016-11-07 Murray Cumming C++11: Use c* headers instead of *.h. 2016-11-07 Murray Cumming C++11: Some using instead of typedef. With help from clang-tidy. 2016-11-07 Murray Cumming C++11: More use of nullptr. With help from clang-tidy. 2016-11-07 Murray Cumming Minor indentation fixes. 2016-11-07 Murray Cumming Avoid unnecessary copying when calling get_format_used(). Noticed by clang-tidy-3.9 --checks=-*,performance-* 2016-11-07 Murray Cumming Correct some const by-value parameters Noticed by clang-tidy-3.9 --checks=-*,performance-* 2016-11-07 Murray Cumming Fix the build. 2016-11-07 Murray Cumming Avoid a null shared_ptr dereference. Found by clang-tidy. 2016-11-06 Murray Cumming Replace most std::list with std::vector. Because vectors generally have better performance, because they are contiguous, without pointer chasing. Most of these uses are small vectors being built up gradually, but the small object optimization should help there. 2016-11-06 Murray Cumming FlowTableWithFields: Remove unused member variable. Found by clang++-3.9 2016-11-06 Murray Cumming Don't use static members for simple constants. 2016-11-06 Murray Cumming C++11: More use of auto. 2016-11-06 Murray Cumming C++11: Remove more unnecessary typedefs. These were useful before we used auto with C++11. 2016-11-06 Murray Cumming Remove unnecessary typedefs. These were useful before we used auto with C++11. 2016-11-06 Murray Cumming Use a std::unordered_set instead of a std::unordered_map with bool value. 2016-11-06 Murray Cumming C++11: Use std::unordered_map instead of std::map. 2016-10-27 Murray Cumming Correct indentation to avoid g++6 warning. 2016-10-02 Piotr Drąg Updated Polish translation 2016-10-01 Mario Blättermann Updated German translation 2016-09-30 Anders Jonsson Updated Swedish translation 2016-09-30 Gábor Kelemen Updated Hungarian translation 2016-09-30 Murray Cumming Use Glib::WeakRef instead of Glib::RefPtr with sigc::bind(). As suggested in Herb Sutter's 2016 CppCon talk, for parameters captured for lambdas: https://www.youtube.com/watch?v=JfmTagWcqoE I don't much like that this is a change in the signature of the handler, which isn't obvious from the code that connects the handler. 2016-09-30 Murray Cumming Use std::weak_ptr instead of shared_ptr with sigc::bind(). As suggested in Herb Sutter's 2016 CppCon talk, for parameters captured for lambdas: https://www.youtube.com/watch?v=JfmTagWcqoE I don't much like that this is a change in the signature of the handler, which isn't obvious from the code that connects the handler. 2016-09-30 Murray Cumming Revert "Use std::weak_ptr instead of shared_ptr for callbacks." This reverts commit 84042a5a29f0bb7b9ea31d1b97079460bae30b11. Because this is only necessary for bound parameters. 2016-09-29 Marek Černocký Updated Czech translation 2016-09-29 Murray Cumming Rename some methods. 2016-09-29 Murray Cumming Box_Tables::on_adddel_changed(): Don't try to rename before an add. 2016-09-29 Murray Cumming Box_Tables::on_adddel_add(): Don't allow a space in a table name. Warn the user if the table name hase a space and then don't try to create the table. This is not user friendly but I would prefer not to escape/unescape all the table names. That seems fragile and I would rather hope that the libgda bug is fixed one day. Bug #763534 (m.rick.mac). Also adjust the test because we currently expect this to fail. 2016-09-29 Murray Cumming Revert "IsoCodes::get_locale_name(): Don't hard code /usr/share/i18n/locales." This reverts commit 7d880162fd6db1900408de1c0f93ba78caf55c5a. /usr/share/i18n/locales is not the same as /usr/share/locale/ 2016-09-29 Murray Cumming IsoCodes::get_locale_name(): Don't hard code /usr/share/i18n/locales. We already have a test for this in test_iso_codes.cc. Bug #770403 (m.rick.mac) 2016-09-28 Murray Cumming glom_python_call(): Handle nulls. Otherwise boost::python throws an exception, which we do not handle. 2016-09-28 Murray Cumming Use std::weak_ptr instead of shared_ptr for callbacks. As suggested in Herb Sutter's 2016 CppCon talk: https://www.youtube.com/watch?v=JfmTagWcqoE 2016-09-08 Piotr Drąg Updated Polish translation 2016-09-08 Piotr Drąg Updated Polish translation 2016-09-08 Piotr Drąg Updated Polish translation 2016-09-07 Tiago Santos Updated Portuguese translation 2016-08-19 Piotr Drąg Updated Polish translation 2016-08-05 Murray Cumming Python code: Remove unnecessary semicolons. 2016-08-05 Murray Cumming Avoid an unnecessary comparison to true. 2016-08-01 Tiago Santos Updated Portuguese translation 2016-07-29 Murray Cumming More not taking a shared_ptr<> when the function doesn't share ownership. As suggested by: Bjarne Stroustrup: 2015: Writing Good C++14: video: https://www.youtube.com/watch?v=1OEu9C51K2A slide: https://github.com/isocpp/CppCoreGuidelines/blob/master/talks/Stroustrup%20-%20CppCon%202015%20keynote.pdf C++ Core Guidelines: "F.7: For general use, take T* or T& arguments rather than smart pointers": https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#f7-for-general-use-take-t-or-t-arguments-rather-than-smart-pointers 2016-07-29 Murray Cumming Don't take a shared_ptr<> when the method does not share ownership. As suggested by recent talks by: Bjarne Stroustrup: 2015: Writing Good C++14: video: https://www.youtube.com/watch?v=1OEu9C51K2A slide: https://github.com/isocpp/CppCoreGuidelines/blob/master/talks/Stroustrup%20-%20CppCon%202015%20keynote.pdf C++ Core Guidelines: "F.7: For general use, take T* or T& arguments rather than smart pointers": https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#f7-for-general-use-take-t-or-t-arguments-rather-than-smart-pointers 2016-07-17 Piotr Drąg Add Language headers to po files Future versions of gettext will fail if this header is missing. 2016-07-17 Piotr Drąg Add Language headers to po files Future versions of gettext will fail if this header is missing. 2016-06-14 Murray Cumming Print Layout Edit: Show the whole toolbar. By setting vexpand. This must be a regression from when hexpand/vexpand was added to GTK+ a few years ago. 2016-06-13 Andika Triwidada Updated Indonesian translation (cherry picked from commit dffed24cc237ad08218c7f8da0d7abeb2e364c54) 2016-06-13 Andika Triwidada Updated Indonesian translation