summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* GitHub Actions: Try clang-10 tooactions-add-clang-10Murray Cumming2021-01-021-0/+27
|
* GitHub actions: Use ubuntu-20.04 directlyMurray Cumming2021-01-024-15/+12
| | | | | | | | | | GitHub Actions now supports ubuntu-20.04 directly, not only via a separate container: https://github.com/actions/virtual-environments And use ubuntu-18.04 instead of ubuntu-latest, because that's what it currently is, but ubuntu-latest will change to mean ubuntu-20.04 soon: https://github.com/actions/virtual-environments/issues/1816
* docs: Update the web pageKjell Ahlstedt2020-12-253-4/+7
| | | | | The changes are automatically published at libsigcplusplus.github.io/libsigcplusplus.
* CI: Test clang-9 in Ubuntu 20.04Kjell Ahlstedt2020-12-141-5/+7
|
* CI: Do some tests with MesonKjell Ahlstedt2020-12-115-79/+70
| | | | | Remove test with clang 7. Test gcc 9 and clang 10 with meson instead of autotools.
* CI: Remove tests with clang 5 and clang 6Kjell Ahlstedt2020-12-012-50/+0
| | | | Building with clang 7, 8, 9 and 10 is enough.
* CI: Update the MSVC check and run it on pushKjell Ahlstedt2020-12-011-4/+2
|
* CI: Don't run MSVC check on pushKjell Ahlstedt2020-11-251-1/+3
| | | | | | | | | | | | | | This test does not work any more. I don't know how to fix it. Run it only manually. Unable to process command '##[add-path]C:\Program Files (x86)\ Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin' successfully. The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/ 2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
* 3.0.63.0.6Kjell Ahlstedt2020-11-253-2/+16
|
* sigc++/sigc++.h: Fix a typoKjell Ahlstedt2020-10-121-1/+1
|
* sigc++/sigc++.h: Describe how to use libsigc++ with mesonKjell Ahlstedt2020-10-121-0/+19
|
* Docs: Change libsigc++ webpage mentions to GitHubKjell Ahlstedt2020-10-043-7/+5
| | | | | Change libsigc.sourceforge.net to libsigcplusplus.github.io/libsigcplusplus.
* Meson build: fix versioning on macOSTom Schoonjans2020-09-282-1/+3
| | | | See pull request #65
* 3.0.43.0.4Kjell Ahlstedt2020-09-273-2/+21
|
* NMake Makefiles: Use Meson-style DLL and .lib naming if requestedChun-wei Fan2020-07-231-4/+10
| | | | | | | | To make things more consistent and less prone to confusion, if 'USE_MESON_LIBS' is specified in the NMake command line, build the DLLs and .lib's that are named like the Meson counterparts. Binaries built with Meson+Visual Studio and the ones that are built via NMake using 'USE_MESON_LIBS' are interchangeable.
* NMake Makefiles: Streamline builds from GIT checkoutsChun-wei Fan2020-07-224-19/+25
| | | | | Streamline the source generating process into the 'all' target, so there is no more need to run the 'prep-git-build' target.
* NMake Makefiles: Support ARM64 Windows buildsChun-wei Fan2020-07-081-0/+4
| | | | | This will make the NMake Makefiles capable of building ARM64 binaries of glibmm and giomm, which can be used on Windows 10 on ARM systems.
* docs/docs/reference/: Update for Doxygen >= 1.8.16Kjell Ahlstedt2020-06-292-7/+7
| | | | | | | | | * docs/docs/reference/meson.build: Doxygen 1.8.16 and later does not store tag file names in the html files. This requires changes in meson.build and in doc-install.pl (in mm-common). Otherwise references to other modules won't be updated in the html files when they are installed. * docs/docs/reference/Doxyfile.in: Remove PERL_PATH and MSCGEN_PATH. Doxygen since version 1.8.0 does not use them.
* docs/docs/manual/libsigc_manual.xml: Fix description of sigc::retype()Kjell Ahlstedt2020-06-271-7/+5
| | | | | Although sigc::retype() is a template function, no template parameters shall be specified when it's called.
* docs/docs/manual/libsigc_manual.xml: Fix previous commitKjell Ahlstedt2020-06-261-6/+7
| | | | | Correct the comment about libsigc++2. It accepts both sigc::signal<void,int> and sigc::signal<void(int)>. sigc::signal<void,int> is deprecated.
* docs/docs/manual/libsigc_manual.xml: Update signal and slot syntaxKjell Ahlstedt2020-06-251-16/+31
| | | | | | | | | Update the syntax of template parameters. sigc::signal<void,int> -> sigc::signal<void(int)>. Mention lambda expressions. Fixes #59
* NMake Makefiles: Use toolset version in DLL filename by defaultChun-wei Fan2020-06-183-18/+36
| | | | | | | | | | | The libsigc++ DLL and .lib was only named 'sigc-vc150(d)-3_0' until the previous patches in this series improved Visual Studio 2019 support to name the DLL and .lib by using 'sigc-vc160(d)-3_0'. This updates the naming of the DLL and .lib to the toolset version as defined by Microsoft by default, i.e. 'vc141' for Visual Studio 2017 and 'vc142' for Visual Studio 2019. If the former DLL naming ('vc150') is desired, passing 'USE_COMPAT_LIBS=1' will achive this.
* Update MSVC_NMake/READMEChun-wei Fan2020-06-181-2/+9
| | | | Fix some typos and reflect the build information more accurately
* Rework NMake MakefilesChun-wei Fan2020-06-185-65/+80
| | | | | | | | | | | | Clean up the NMake Makefiles so that they will become easier to maintain and faster to run by: * Rename instances of 'libsigcpp' to 'sigc' * Just use 'md' directly to create all intermediate directories * "Generate" the rules to build the example and test programs, instead of using generic hand-written rules for all of them, as most of them share common rules. * Add a 'prep-git-build' rule to allow building directly from a GIT checkout
* NMake Makefiles: Fix header installationChun-wei Fan2020-06-181-0/+1
| | | | We ought to install sigc++.h, too
* NMake Makefiles: Support Visual Studio 2019 betterChun-wei Fan2020-06-181-1/+3
| | | | We ought to separate Visual Studio 2019 from 2017, by all means
* NMake Makefiles: Use 'md' instead of 'mkdir'Chun-wei Fan2020-06-182-6/+6
| | | | | This ensure that we don't accidentally use Cygwin's or MSYS's/MSYS64's mkdir command
* GitHub Actions CI: Add a clang++ 10 buildMurray Cumming2020-04-261-0/+28
| | | | | | Like the clang-10 CI, this uses a newer Ubuntu version (20.04) by specifying a different docker image. Because of that, we no longer need to use sudo with apt.
* run make format, to clang-format the codeMurray Cumming2020-04-251-14/+14
| | | | This was with clang-format-9
* Meson build: Set default value of the 'warnings' option to 'min'Kjell Ahlstedt2020-04-027-34/+40
| | | | | | | | | | | | | | * MSVC_NMake/meson.build: Copy sigc++config.h with configure_file(). * Makefile.am: Remove tools/dist-cmd.py. * docs/docs/manual/meson.build: * docs/docs/reference/meson.build: Don't use tools/dist-cmd.py. * meson.build: Use dist-warnings when a tarball is tested by 'ninja dist' or 'meson dist'. Check if doc-reference.py exists, if not maintainer-mode. * meson_options.txt: Set default value of the 'warnings' to 'min'. Add 'dist-warnings' with default value 'fatal'. * tools/dist-cmd.py: Removed file. It's not necessary in add_dist_script() when the first parameter is python3.path().
* 3.0.33.0.3Kjell Ahlstedt2020-03-253-2/+19
|
* README.md: Better describe when maintainer-mode is necessaryKjell Ahlstedt2020-03-251-4/+7
| | | | | | As a libsigc++-3 tarball does not contain generated source code, maintainer-mode is not always necessary when you build with Meson from a tarball that was created by Autotools.
* README.md: Improve the Build sectionKjell Ahlstedt2020-03-242-63/+50
| | | | and remove README_build. All build information is in README.md.
* meson.build: Update version to 3.0.2Kjell Ahlstedt2020-03-101-1/+1
|
* examples: Disable deprecated API when building with MesonKjell Ahlstedt2020-03-101-0/+1
| | | | | Deprecated SIGCXX API is disabled when example programs are built with Autotools. Do the same when building with Meson.
* README.md, README_build: Describe building with MesonKjell Ahlstedt2020-01-132-3/+47
|
* Added example of using libsigc++ with QtRobert Middleton2020-01-086-0/+190
| | | | Pull Request #35.
* tests: Replace C-style casts with static_cast<>Lennard Berger2020-01-062-8/+8
| | | | murrayc-tuple-utils Pull Request #4 .
* docs/docs/reference/meson.build: Check if perl is foundKjell Ahlstedt2020-01-021-1/+1
| | | | | | Don't use perl.path() when configuring Doxyfile, if perl is not found. Perl is not required, if build-documentation=false. Fixes #53
* 3.0.23.0.2Murray Cumming2020-01-012-1/+6
|
* meson.build: Change project name, sigc++ -> libsigc++Kjell Ahlstedt2019-12-301-2/+2
| | | | | | Autotools make tarballs called libsigc++-x.y.z.tar.xz. No reason to change that. The leading "lib" is now also restored in some locations in the reference documentation.
* Update untracked/READMEKjell Ahlstedt2019-12-301-1/+4
|
* meson.build: Check if .git is a directory or a fileKjell Ahlstedt2019-12-291-6/+3
| | | | | | In a git worktree, .git is a regular file. See https://gitlab.gnome.org/GNOME/pangomm/merge_requests/8
* sigc++/meson.build: Library name is sigc-3.0Kjell Ahlstedt2019-12-291-2/+3
| | | | Pointed out by Chun-wei Fan in PR #51.
* NMake: Split outdir by toolset versionChun-wei Fan2019-12-296-43/+50
| | | | | This makes it less likely for one to accidently mix binaries linked to different CRTs in a single buildtree.
* 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
|