summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* wip: Use undefined-behavior sanitizerundefined-behavior-sanitizerMurray Cumming2019-10-272-2/+2
| | | | | | | In theory, this should cause failures when the tests run (make check) if there are problems. Ideally, we could enable this only for some builds in the CI.
* 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
|
* configure.ac: Set `foreign` option to fix buildJürg Billeter2019-02-131-1/+1
| | | | | | | | | Without the `foreign` option, automake requires a README file, which no longer exists. Makefile.am: error: required file './README' not found Fixes: 8a0cb176 ("README: Rename to README.md and reformat as markdown")
* README.md: Add some build hintsMurray Cumming2019-01-101-3/+54
| | | | | | | | | This fixes issue #18: https://github.com/libsigcplusplus/libsigcplusplus/issues/18 Note that this file should not duplicate too much from the website. Information should be on the website or in the README.md, but rarely in both places.
* README: Rename to README.md and reformat as markdownMurray Cumming2019-01-102-56/+24
| | | | | | | | And remove: - the description of the directory structure, which is outdated and not very useful. - the contact information section. There is no need to duplicate what is on the website, which we link to.
* tests: Fix a couple of imports in testsLennard Berger2019-01-023-0/+3
| | | | See pull request #15
* docs: Remove unused docs/docs/index.htmlMurray Cumming2018-12-054-76/+0
| | | | | | | And remove the .gif images that it used. This fixes issue #12 https://github.com/libsigcplusplus/libsigcplusplus/issues/12
* Create only .tar.xz tarballsKjell Ahlstedt2018-11-111-1/+1
| | | | | * configure.ac: This is what ftp.gnome.org wants, so this avoids it doing any repackaging. This is what gtkmm does.
* 2.99.122.99.12Kjell Ahlstedt2018-10-302-1/+21
|
* Add necessary #include<>sKjell Ahlstedt2018-10-262-0/+3
| | | | | * sigc++/adaptors/tuple_visitor_visit_each.h * sigc++/reference_wrapper.h
* cmake: Require C++17 supportKjell Ahlstedt2018-10-031-1/+1
| | | | Fixes #9
* slot, signal: Fix the Doxygen documentationKjell Ahlstedt2018-09-102-0/+4
| | | | | | Hide the forward declarations of sigc::slot and sigc::signal from Doxygen. If Doxygen sees the forward declarations, it does not care about what's in the complete class definitions.
* Update .gitignoreKjell Ahlstedt2018-09-101-2/+3
|
* build: Add a README.txt for Visual Studio buildsChun-wei Fan2018-09-102-0/+49
|
* build: Build the examples and tests on MSVC buildsChun-wei Fan2018-09-106-11/+69
| | | | | | Also add a BOOST_DLL option for one to build the benchmark program for libsigc++, which is needed on Visual Studio builds if the installed Boost libraries are built as DLLs.
* tests: Include <string> as neededChun-wei Fan2018-09-102-0/+2
| | | | | Some compilers do insist that <string> be included so that things like to_string() and stoi() becomes part of the std namespace.
* build: Remove the Visual Studio project filesChun-wei Fan2018-09-1063-6088/+0
| | | | | We now use NMake, so we don't need to keep the project files around anymore.
* Build: Use NMake Makefiles for MSVC BuildsChun-wei Fan2018-09-1013-67/+471
| | | | | | | | | | | | Since the MSVC projects are not created upon 'make dist' but is manually updated, use a set of NMake Makefiles that consumes sigc++/filelist.am as needed, so that whenever the list of sources is updated, we do not have to worry that the generated release tarballs have broken Visual Studio build files. The next commit will remove the Visual Studio project files. This should make maintenance of the Visual Studio build files easier.
* build: Split out source listingChun-wei Fan2018-09-102-5/+7
| | | | | | Consolidate the source listing from sigc++/Makefile.am to sigc++/filelist.am, so that we can let other Makefile-based build systems consume sigc++/filelist.am as well.
* build: Rename MSVC_Net2017 to MSVC_NMakeChun-wei Fan2018-09-1068-7/+7
| | | | | | This is to prepare the transition from Visual Studio project files to NMake Makefiles. This is done in order to simplify maintainance of the Visual Studio build files.