summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* meson.build: Update version to 3.0.1Kjell Ahlstedt2019-12-231-1/+1
|
* 3.0.13.0.1Murray Cumming2019-12-222-1/+25
|
* meson.build: Enable /utf-8 for MSVC buildsChun-wei Fan2019-12-201-1/+1
| | | | | | This avoids warnings and mis-compilations on certain system locales when building on Visual Studio, in particular Chinese, Japanese and Korean versions of Windows.
* meson: State clearly mm-common-get is required for maintainer modeChun-wei Fan2019-12-201-1/+7
| | | | | Instead of showing that 'mm-common-get' is not found, state that it is required for maintainer-mode.
* Meson: Fix Visual Studio buildsChun-wei Fan2019-12-201-0/+8
| | | | | We need to make sure that SIGC_BUILD and _WINDLL are defined when building the libsigc++ DLL, so that it gets build properly.
* Add support for building libsigc++-3.0 with MesonKjell Ahlstedt2019-12-2014-0/+1040
| | | | libsigc++-3.0 can be built with either Autotools or Meson.
* Make libsigc_manual.xml validKjell Ahlstedt2019-12-101-4/+4
| | | | Fix errors reported by "xmllint --postvalid".
* tests: Remove unused SIGC_CXX_TYPEOF alternative codeMurray Cumming2019-11-031-20/+0
| | | | | | 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
* test_mem_fun(): Re-enable tests of overloaded functionsMurray Cumming2019-11-022-24/+10
| | | | | | 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.
* test_ptr_fun: Re-enable tests of overloaded functionsMurray Cumming2019-11-021-17/+8
|
* GitHub Actions CI: Remove extra configure callsMurray Cumming2019-10-298-8/+0
| | | | | ./autogen.sh already runs configure, passing the arguments. This is why the builds didn't fail when there were compiler errors.
* test_limit_reference: Avoid virtual-move-assign warningMurray Cumming2019-10-291-0/+5
| | | | | | | | | | | | | | | "= 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.
* signal: slot_iterator_buf: Remove T_result default typeMurray Cumming2019-10-291-1/+1
| | | | | This expected a result_type type alias. Luckily, in the few places where we use this, we always specify the type, ignoring the default.
* tests: Remove unnecessary result_type aliasesMurray Cumming2019-10-298-38/+2
| | | | This was necessary with older pre-C++11 versions of libsigc++.
* Reformat code with make formatMurray Cumming2019-10-2853-573/+566
|
* Build: Add target to format code with clang-formatMurray Cumming2019-10-281-0/+6
| | | | This lets us do "make format" to reformat the code.
* GitHub Actions CI: Specify CXX before make distcheckMurray Cumming2019-10-278-8/+32
| | | | | As in the build step. Otherwise, the distcheck's configure run will just pick up the default compiler again.
* GitHub Actions CI: Add a clang++ 9 buildMurray Cumming2019-10-271-0/+24
| | | | | This uses a newer Ubuntu version by specifying a different docker image. Because of that, we no longer need to use sudo with apt.
* GitHub Actions CI: autotools-clang-8: Don't try to use Ubuntu 19.10Murray Cumming2019-10-271-1/+0
| | | | | | 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.
* sigc++/adaptors/bind.h: Make bind_functor::bound_ publicKjell Ahlstedt2019-10-272-1/+10
| | | | | | It's used by sigc::visitor::do_visit_each(). Add a test case in tests/test_bind.cc. Fixes #26
* MSVC build: Add version check to MSVC warning removalStuart Dootson2019-10-251-5/+6
| | | CMake 3.15 removes /W3 as a default flag for MSVC, so we no longer need to remove it.
* MSVC build: Add code commentsStuart Dootson2019-10-254-0/+5
|
* MSVC build: Silence 'C4100: unreferenced formal parameter' warningsStuart Dootson2019-10-254-0/+6
| | | Added 'static_cast<void>(parameter-name)' in all paths where the parameter isn't used
* MSVC build: Disable C4244 (conversion, possible loss of data) for relevant testsStuart Dootson2019-10-251-0/+4
|
* MSVC build: Fix 'C4127: conditional expression is constant' warningStuart Dootson2019-10-251-5/+3
|
* Add default warning flagsStuart Dootson2019-10-251-0/+17
|
* CMake Build: tests: Let MSVC find the libraryStuart Dootson2019-10-111-1/+3
| | | | | | | | Use 'cmake -E env ... <test-executable>' 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
* GitHub Actions: Add workflow on Windows (MSVC compiler)Murray Cumming2019-10-111-0/+18
|
* Github Actions: Use --enable-warnings=fatalMurray Cumming2019-10-117-7/+7
| | | | This enables more warnings and makes the build fail if they happen.
* GitHub Actions: Add workflow for clang 8Murray Cumming2019-09-281-0/+24
| | | | Using Ubuntu 19.10 (Eoan) instead of Ubuntu 18.04.
* GitHub Actions: Add workflow for gcc 9Murray Cumming2019-09-281-0/+24
| | | | Using Ubuntu 19.10 (Eoan) instead of Ubuntu 18.04.
* GitHub Actions: Use specific compiler versionsMurray Cumming2019-09-286-19/+115
| | | | | We only try compiler versions that are known to have C++17 support. There is no point in trying older compiler versions.
* GitHub Actions: Better workflow namesMurray Cumming2019-09-282-2/+2
|
* Add GitHub Actions build workflow (cmake build)Murray Cumming2019-09-271-0/+17
|
* Add GitHub Actions build workflow (autotools build)Murray Cumming2019-09-271-0/+19
|
* tests: Add test_connection, to check copyingMurray Cumming2019-09-265-1/+50
| | | | | For now, this just confirms that we can now copy empty sigc::connection instances. (See the previous commit.)
* Empty connections can be safely copied nowAIGRIND2019-09-261-2/+5
| | | | | | | | | | | | 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 ```
* 3.0.03.0.0Kjell Ahlstedt2019-09-052-1/+21
|
* README_build: Refer MSVC users to MSVC_NMake/README.txtKjell Ahlstedt2019-09-051-2/+1
|
* tuple_transform_each(): Fix for libc++Kjell Ahlstedt2019-09-021-5/+8
| | | | | | | | | Tuples which are input data to std::tuple_cat() are not declared const. Some versions of libc++ has a bug in std::tuple_cat(): All output elements coming from a const tuple become const. It can break 'make check' when using clang++ and -stdlib=libc++. Fixes issue #25
* tests: Don't call static method via instanceMurray Cumming2019-09-011-2/+2
|
* tests: Remove an unnecessary semicolonMurray Cumming2019-09-011-1/+1
|
* tests/test_track_obj.cc: Remove obsolete commentsKjell Ahlstedt2019-08-291-11/+4
|
* bind(), track_obj() documentation: Remove obsolete restrictionsKjell Ahlstedt2019-08-292-3/+0
| | | | | | The number of objects and arguments are not restricted to max 7 now that variadic templates have replaced the .m4 files in libsigc++-2 that generated 7 copies.
* tests/test_track_obj: Fix for clang++Kjell Ahlstedt2019-07-031-4/+7
| | | | | | clang++ complains if private members are unused, so make them protected. error: private field 'bar_' is not used [-Werror,-Wunused-private-field]
* 2.99.132.99.13Kjell Ahlstedt2019-06-122-1/+25
|
* CMake: supply SIGC_BUILD and use CMAKE_CXX_STANDARD, for MSVCJeff Trull2019-06-032-1/+2
|
* Doxyfile.in: Remove obsolete preprocessor macrosKjell Ahlstedt2019-03-211-6/+2
| | | | The removed macros are not used anywhere in libsigc++ 3.0.
* sigc::tuple_transform_each: std::result_of -> std::invoke_resultKjell Ahlstedt2019-02-171-2/+2
| | | | | | std::result_of is deprecated in C++17 and will be removed in C++20. Fixes issue #19
* Makefile.am: Distribute README.mdKjell Ahlstedt2019-02-131-1/+6
|