2019-12-22 Murray Cumming 3.0.1 2019-12-20 Chun-wei Fan meson.build: Enable /utf-8 for MSVC builds This avoids warnings and mis-compilations on certain system locales when building on Visual Studio, in particular Chinese, Japanese and Korean versions of Windows. 2019-12-20 Chun-wei Fan meson: State clearly mm-common-get is required for maintainer mode Instead of showing that 'mm-common-get' is not found, state that it is required for maintainer-mode. 2019-12-20 Chun-wei Fan Meson: Fix Visual Studio builds We need to make sure that SIGC_BUILD and _WINDLL are defined when building the libsigc++ DLL, so that it gets build properly. 2019-12-20 Kjell Ahlstedt Add support for building libsigc++-3.0 with Meson libsigc++-3.0 can be built with either Autotools or Meson. 2019-12-10 Kjell Ahlstedt Make libsigc_manual.xml valid Fix errors reported by "xmllint --postvalid". 2019-11-03 Murray Cumming tests: Remove unused SIGC_CXX_TYPEOF alternative code This was apparently related to some long-since removed libsigc++ support for a non-standard a gcc typeof() extension. https://gcc.gnu.org/onlinedocs/gcc/Typeof.html 2019-11-02 Murray Cumming test_mem_fun(): Re-enable tests of overloaded functions But, as with test_ptr_fun(), we need to specify the types. The compiler doesn't seem to be able to figure it out based on the values passed. 2019-11-02 Murray Cumming test_ptr_fun: Re-enable tests of overloaded functions 2019-10-29 Murray Cumming GitHub Actions CI: Remove extra configure calls ./autogen.sh already runs configure, passing the arguments. This is why the builds didn't fail when there were compiler errors. 2019-10-29 Murray Cumming test_limit_reference: Avoid virtual-move-assign warning "= delete" Bases's move operations because the defaulted one would call non-trivial assignment operators in the virtual bases. This avoids this compiler warning, at least with g++ 9.2: test_limit_reference.cc:12:7: error: defaulted move assignment for ‘{anonymous}::Base’ calls a non-trivial move assignment operator for virtual base ‘sigc::trackable’ [-Werror=virtual-move-assign] 12 | class Base : virtual public sigc::trackable | ^~~~ test_limit_reference.cc:22:7: error: defaulted move assignment for ‘{anonymous}::Derived’ calls a non-trivial move assignment operator for virtual base ‘{anonymous}::Base’ [-Werror=virtual-move-assign] 22 | class Derived : virtual public Base, public Base2 It would be nice if this test had a comment saying what it is testing. 2019-10-29 Murray Cumming signal: slot_iterator_buf: Remove T_result default type This expected a result_type type alias. Luckily, in the few places where we use this, we always specify the type, ignoring the default. 2019-10-29 Murray Cumming tests: Remove unnecessary result_type aliases This was necessary with older pre-C++11 versions of libsigc++. 2019-10-28 Murray Cumming Reformat code with make format 2019-10-28 Murray Cumming Build: Add target to format code with clang-format This lets us do "make format" to reformat the code. 2019-10-27 Murray Cumming GitHub Actions CI: Specify CXX before make distcheck As in the build step. Otherwise, the distcheck's configure run will just pick up the default compiler again. 2019-10-27 Murray Cumming GitHub Actions CI: Add a clang++ 9 build This uses a newer Ubuntu version by specifying a different docker image. Because of that, we no longer need to use sudo with apt. 2019-10-27 Murray Cumming GitHub Actions CI: autotools-clang-8: Don't try to use Ubuntu 19.10 The uses: line was actually a separate step that didn't influence the following step. Ubuntu 18.04 (what GitHub actions uses for "ubuntu-latest") actually has clang-8 anyway. 2019-10-27 Kjell Ahlstedt sigc++/adaptors/bind.h: Make bind_functor::bound_ public It's used by sigc::visitor::do_visit_each(). Add a test case in tests/test_bind.cc. Fixes #26 2019-10-25 Stuart Dootson MSVC build: Add version check to MSVC warning removal CMake 3.15 removes /W3 as a default flag for MSVC, so we no longer need to remove it. 2019-10-25 Stuart Dootson MSVC build: Add code comments 2019-10-25 Stuart Dootson MSVC build: Silence 'C4100: unreferenced formal parameter' warnings Added 'static_cast(parameter-name)' in all paths where the parameter isn't used 2019-10-25 Stuart Dootson MSVC build: Disable C4244 (conversion, possible loss of data) for relevant tests 2019-10-25 Stuart Dootson MSVC build: Fix 'C4127: conditional expression is constant' warning 2019-10-25 Stuart Dootson Add default warning flags 2019-10-11 Stuart Dootson CMake Build: tests: Let MSVC find the library Use 'cmake -E env ... ' to execute the test executable. The '-E env' option allows the environment to be altered for the executed test. Use generator expressions to retrieve the build directory/file for the sigc++ & test targets 2019-10-11 Murray Cumming GitHub Actions: Add workflow on Windows (MSVC compiler) 2019-10-11 Murray Cumming Github Actions: Use --enable-warnings=fatal This enables more warnings and makes the build fail if they happen. 2019-09-28 Murray Cumming GitHub Actions: Add workflow for clang 8 Using Ubuntu 19.10 (Eoan) instead of Ubuntu 18.04. 2019-09-28 Murray Cumming GitHub Actions: Add workflow for gcc 9 Using Ubuntu 19.10 (Eoan) instead of Ubuntu 18.04. 2019-09-28 Murray Cumming GitHub Actions: Use specific compiler versions We only try compiler versions that are known to have C++17 support. There is no point in trying older compiler versions. 2019-09-28 Murray Cumming GitHub Actions: Better workflow names 2019-09-27 Murray Cumming Add GitHub Actions build workflow (cmake build) 2019-09-27 Murray Cumming Add GitHub Actions build workflow (autotools build) 2019-09-26 Murray Cumming tests: Add test_connection, to check copying For now, this just confirms that we can now copy empty sigc::connection instances. (See the previous commit.) 2019-09-26 AIGRIND Empty connections can be safely copied now Copy constructor and `operator=` could fail if `src` was empty. ``` sigc::connection con1; sigc::connection con2(con1); // failed ``` ``` sigc::connection con3; sigc::connection con4; con3 = con4; // failed ```