2015-07-13 Murray Cumming 1.29.5 2015-07-13 Murray Cumming AppWindow: Use std::bind() instead of sigc::bind(). This was a typo in this commit: https://git.gnome.org/browse/glom/commit/?id=bfc14b42493dfc208413af8e79198dda2585975b 2015-07-13 Murray Cumming configure.ac: Require python 3. It's now on all the distros. 2015-07-13 Murray Cumming configure.ac: Require python 3. It's now on all the distros. 2015-07-13 Murray Cumming AX_BOOST_PYTHON(): PYTHON_LDFLAGS (from AX_PYTHON_DEVEL) really has LIBS, not LDFLAGS. Using it as LDFLAGS instea of LIBS puts the -L and -l arguments in the wrong position, leading to linker failures. This fixes it. See https://savannah.gnu.org/patch/?8701 2015-07-13 Murray Cumming macros: Update the ax_* boost and python m4 macros. 2015-07-07 Murray Cumming C++11: range-based for loops: Don't get the container separately. Don't use an intermediate variable to get the container. Range-based for loops only evaluate the second part once so this is fine. This simplifies code by not making us think about whether the variable is used later in the method. This is only useful with containers that don't need to be const-iterated. We can const_cast<> the container, but that is lengthy and involves mentining the type. 2015-07-07 Murray Cumming LayoutGroup: Correct the constructor and operator=. I made a mistake when converting to range-based for loops in this commit: b2c579589fa4b70f1584bcc4687d9406b6545a74 2015-07-06 Murray Cumming Remove unused typedef. 2015-07-06 Murray Cumming DbUtils::add_standard_tables(): Fix a typo. This was a regression in commit 24350bba237d9436d601cf1bf13b242043e8c1aa 2015-07-06 Murray Cumming Bakery::Document::get_read_only(): Add a missing !. So this works as expected now that the code reaches this far due to commit 16d5d1dfa185e9c46f965ae0cb7af22584fc6af9 2015-07-06 Murray Cumming tests: Avoid some more shadowed variables. 2015-07-06 Murray Cumming Fix the build with -Wshadow. This seems useful. It can catch real errors. 2015-07-06 Murray Cumming configure.ac: Use -Wshadow with --enable-warnings=fatal. 2015-07-06 Murray Cumming Rename response variables because they shadow Gtk::Dialog::response(). 2015-07-06 Murray Cumming event handlers: Rename the event parameters. Because they shadow an event() method in gtkmm. 2015-07-06 Murray Cumming Box_Data_Details::on_flowtable_field_edited: Avoid shadowed variable. By just using the one in the larger scope that is set in the same way. 2015-07-06 Murray Cumming Dialog_Import_CSV_Progress::on_idle_import: Fix a shadowed variable. This was obviously a real mistake. That code path just has no test yet. 2015-07-05 Murray Cumming Bakery::Document::get_read_only(): Avoid a shadowed variable. The exception probably catches the null that we check for later, but this was obviously a mistake. 2015-07-05 Murray Cumming DbAddDel::select_item(): Set the correct variable. This regression was introduced when converting to range-based for loops. Hopefully it, and others, can be prevented by using the -Wshadow g++ warning. 2015-07-05 Murray Cumming DbAddDel::get_column_index(): Check for null before dereferencing. 2015-07-04 Murray Cumming C++11: Check std::function slots before calling them. Annoyingly, std::function throws an exception when you try to invoke it if is an "empty" function. sigc::slot just ignores that. 2015-07-03 Murray Cumming C++11: More use of auto. 2015-07-03 Murray Cumming C++11: Use nullptr. 2015-07-03 Murray Cumming C++11: More use of auto, in templates. 2015-07-03 Murray Cumming C++11: Use {} initialization for std::vectors. Instead of lots of push_back(). 2015-07-02 Murray Cumming C++11: Add some uses of the override keyword. But we need the -Wsuggest-override warning to catch them all. 2015-07-02 Murray Cumming configure.ac: Add -Wsuggest-override to --enable-warnings=fatal. Though this is only supported (and therefore only used by our macro, which checks that the option may be used) by, I think, gcc 5.0. 2015-07-02 Murray Cumming C++11: More use of auto. 2015-07-02 Murray Cumming C++11: More use of auto. 2015-07-02 Murray Cumming C++11: Use for range loops. This changes most for loops that used iterator (not const_iterator). 2015-07-02 Murray Cumming C++11: Use range-based for loops. This replaces all for loops that use const_iterator. This doesn't actually give use a const_iterator, unless the thing we are iterating is const, but it's worth it for the shorter code. 2015-07-01 Murray Cumming C++: Use auto 2015-07-01 Murray Cumming LayoutItemGroupBy: Remove unused methods. 2015-07-01 Murray Cumming C++11: DocumentTableInfo: Prevent implicit move constructor. 2015-07-01 Murray Cumming C++11: DocumentTableInfo: Use "= delete" instead of private declarations. To prevent copying. 2015-07-01 Murray Cumming ConnectionPool: Prevent copying and moving. By using C++11's "= delete". 2015-07-01 Murray Cumming Prevent implicit generation of some move contructors. By using C++11's "= delete". These move constructors are not needed now, so this will hopefully tell us when they are needed. 2015-07-01 Murray Cumming Add some move constructors and move assignment operators. These are the only ones that seem to be used. 2015-06-30 Murray Cumming tests_selfhosting_utils.cc: Restore a wrongly-changed code line. This seems to have happened during a rebase. 2015-06-30 Murray Cumming configure.ac: Use AX_CXX_COMPILE_STDCXX_11() to enforce use of C++11. 2015-06-30 Murray Cumming C++11: Use std::function instead of sigc::slot. 2015-06-30 Murray Cumming C++11: Use std::make_shared. 2015-06-30 Murray Cumming C++11: Replace Glom::sharedptr with std::shared_ptr.