summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* build: Support NMake builds from Meson tarballsChun-wei Fan2019-12-296-2/+66
| | | | | | | | | This adds the MSVC files in MSVC_NMake/ that are generated during Meson's configure step to the generated release tarball. The NMake Makefiles are updated so that they will be able to find files that are now in untracked/MSVC_NMake, when a release tarball is generated with Meson.
* meson: Build Windows .rc files on WindowsChun-wei Fan2019-12-292-1/+10
| | | | | This ensures that on Windows, the version info resources are indeed linked into the libsigc++ DLL.
* meson/Windows: Fix builds when builddir is a subdir of source treeChun-wei Fan2019-12-291-1/+1
| | | | | | | | | It appears that Meson did not construct the paths properly for shutil.copy2() when building in a build directory that is a subdirectory of the sources, when using meson.current_build_dir(), possibly due how path separators are handled. Fix this by constructing the paths using project_build_root / 'MSVC_NMake'.
* meson.build: Fix 'meson dist' on WindowsChun-wei Fan2019-12-291-1/+1
| | | | | | | | | | | | Since we are assured that we are using Python 3.x on when we run Meson, we do not really need to look for the 'python3' executable, but we could just use whatever Python interpreter that is used to run Meson. This will fix situations where it is commonly the case where we may have multiple Python 3.x installations on Windows (www.python.org, and those from Cygwin/mingw-w64), so that Meson really uses one and only one Python installation to run everything that is Python-related, which will thus fix '[meson|ninja] dist' on Visual Studio builds.
* 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
|