| 1 |
2023-10-01 Kjell Ahlstedt <[email protected]> |
| 2 |
|
| 3 |
3.6.0 |
| 4 |
|
| 5 |
2023-09-07 Kjell Ahlstedt <[email protected]> |
| 6 |
|
| 7 |
signal: Add connect_first() |
| 8 |
|
| 9 |
Add connect_first(const slot_base&) and connect_first(slot_base&&) |
| 10 |
in internal::signal_impl, signal_base, signal_with_accumulator and |
| 11 |
trackable_signal_with_accumulator. |
| 12 |
Replace some calls to connect() by connect_first() in test_signal |
| 13 |
and test_scoped_connection. |
| 14 |
Fixes #81 |
| 15 |
|
| 16 |
2023-08-06 Daniel Boles <[email protected]> |
| 17 |
|
| 18 |
manual: Add paragraph about new scoped_connection |
| 19 |
|
| 20 |
2023-07-29 Kjell Ahlstedt <[email protected]> |
| 21 |
|
| 22 |
Docs: Update a link in libsigc_manual.xml |
| 23 |
|
| 24 |
2023-07-28 Kjell Ahlstedt <[email protected]> |
| 25 |
|
| 26 |
CI: Use the ubuntu-latest runner |
| 27 |
|
| 28 |
and use the default versions of gcc and clang. |
| 29 |
|
| 30 |
2023-07-28 Kjell Ahlstedt <[email protected]> |
| 31 |
|
| 32 |
CI: Add meson-msvc |
| 33 |
|
| 34 |
and trigger cmake-msvc only manually. |
| 35 |
|
| 36 |
Fixes #98 |
| 37 |
|
| 38 |
2023-07-28 Kjell Ahlstedt <[email protected]> |
| 39 |
|
| 40 |
Meson build: Don't require the 'dot' command |
| 41 |
|
| 42 |
Make it possible to build documentation without the dot command. |
| 43 |
Set the HAVE_DOT option in Doxyfile during configuration. |
| 44 |
In Autotools builds it's still unconditionally YES. |
| 45 |
The inheritance diagrams don't look as nice without the dot |
| 46 |
command from the GraphViz package. |
| 47 |
|
| 48 |
See #98 |
| 49 |
|
| 50 |
2023-07-23 Kjell Ahlstedt <[email protected]> |
| 51 |
|
| 52 |
scoped_connection.h: Add one more SIGC_API |
| 53 |
|
| 54 |
2023-07-23 Kjell Ahlstedt <[email protected]> |
| 55 |
|
| 56 |
scoped_connection.h: Add SIGC_API on swap() |
| 57 |
|
| 58 |
2023-07-23 Kjell Ahlstedt <[email protected]> |
| 59 |
|
| 60 |
test_scoped_connection.cc: not -> ! |
| 61 |
|
| 62 |
MSVC does not accept the 'not' boolean operator. |
| 63 |
|
| 64 |
2023-07-23 Kjell Ahlstedt <[email protected]> |
| 65 |
|
| 66 |
scoped_connection: Remaining minor fixes |
| 67 |
|
| 68 |
2023-07-23 Kjell Ahlstedt <[email protected]> |
| 69 |
|
| 70 |
CI: Trigger clang-format-check only manually |
| 71 |
|
| 72 |
2023-07-23 Daniel Boles <[email protected]> |
| 73 |
|
| 74 |
scoped_connection: new wrapper to auto-disconnect… |
| 75 |
|
| 76 |
…a contained sigc::connection, when the scoped_connection is destructed. |
| 77 |
|
| 78 |
https://github.com/libsigcplusplus/libsigcplusplus/issues/87 |
| 79 |
|
| 80 |
2023-07-06 Kjell Ahlstedt <[email protected]> |
| 81 |
|
| 82 |
Remove AUTHORS and add general information to README.md |
| 83 |
|
| 84 |
See https://gitlab.gnome.org/GNOME/gtkmm/-/issues/140 |
| 85 |
|
| 86 |
2023-07-05 Chun-wei Fan <[email protected]> |
| 87 |
|
| 88 |
sigc++config.h.*: Update comment on MSVC warning C4251 |
| 89 |
|
| 90 |
This still applies here today, sadly, so make the comment clearer. |
| 91 |
|
| 92 |
2023-07-05 Chun-wei Fan <[email protected]> |
| 93 |
|
| 94 |
sigc++config.h.*: Drop Visual Studio noexcept workaround |
| 95 |
|
| 96 |
We already need Visual Studio 2017 or later, so this part is not used |
| 97 |
at all here. |
| 98 |
|
| 99 |
2023-06-27 Chun-wei Fan <[email protected]> |
| 100 |
|
| 101 |
MSVC-Builds.md: Add info on CMake and Meson |
| 102 |
|
| 103 |
Let people know it is also supported to build libsigc++ using CMake or Meson |
| 104 |
with Visual Studio and the tools required for builds directly from GIT |
| 105 |
checkouts |
| 106 |
|
| 107 |
2023-06-27 Chun-wei Fan <[email protected]> |
| 108 |
|
| 109 |
Visual Studio builds: Convert build docs to MarkDown |
| 110 |
|
| 111 |
Convert the README.txt to MarkDown format so that it is easier on the eye in |
| 112 |
terms of formatting, and update some of the info: |
| 113 |
|
| 114 |
* ARM64 is actually supported |
| 115 |
* Move the part on static builds as appropriate |
| 116 |
* Some other minor tweaks |
| 117 |
|
| 118 |
2023-06-26 Chun-wei Fan <[email protected]> |
| 119 |
|
| 120 |
MSVC_NMake/README.txt: Mention about static builds |
| 121 |
|
| 122 |
2023-06-26 Chun-wei Fan <[email protected]> |
| 123 |
|
| 124 |
sigc++.pc.in: Set -DLIBSIGCXX_STATIC in cxxflags as needed |
| 125 |
|
| 126 |
Update the Meson build files to put in -DLIBSIGCXX_STATIC when we are building |
| 127 |
a static build of libsigc++. |
| 128 |
|
| 129 |
For the CMake and autotools build, this is not used. |
| 130 |
|
| 131 |
2023-06-26 Chun-wei Fan <[email protected]> |
| 132 |
|
| 133 |
NMake Makefiles: Accomodate static builds during "install" |
| 134 |
|
| 135 |
Copy the built DLL and PDB only if building a shared build, and copy the |
| 136 |
appropriate .lib file according to the build type. |
| 137 |
|
| 138 |
2023-06-26 Chun-wei Fan <[email protected]> |
| 139 |
|
| 140 |
build: Actually support MSVC static builds |
| 141 |
|
| 142 |
Apply -DLIBSIGCXX_STATIC as appropriate when we request a static build to be |
| 143 |
done for the Meson and NMake builds, and skip building the version .rc file |
| 144 |
if a static build is requested. |
| 145 |
|
| 146 |
For the NMake builds, separate the build artifacts from the static and shared |
| 147 |
builds. |
| 148 |
|
| 149 |
The CMake builds are not updated here as it always assumes a shared build, nor |
| 150 |
are the autotools builds since it is not used for Visual Studio builds at all. |
| 151 |
|
| 152 |
2023-06-26 Chun-wei Fan <[email protected]> |
| 153 |
|
| 154 |
build: Drop _WINDLL from sigc++config.h.[in|meson|cmake] |
| 155 |
|
| 156 |
...and add a new check macro LIBSIGCXX_STATIC, to use the appropriate macros to |
| 157 |
build and link against libsigc++. Drop this from the build files as well. |
| 158 |
|
| 159 |
2023-06-26 Chun-wei Fan <[email protected]> |
| 160 |
|
| 161 |
meson: Disallow default_library == 'both' on Visual Studio |
| 162 |
|
| 163 |
We need different defines/cflags for building static and shared builds of |
| 164 |
libsigc++, so we can't really support default_library = 'both' for libsigc++ |
| 165 |
without much retinkering. |
| 166 |
|
| 167 |
So, just disallow such builds at least for now. |
| 168 |
|
| 169 |
Also, save up whether we are attempting a static build in the Visual Studio |
| 170 |
build. |
| 171 |
|
| 172 |
2023-05-31 Kjell Ahlstedt <[email protected]> |
| 173 |
|
| 174 |
connection: Improve the class documentation |
| 175 |
|
| 176 |
Fixes #88 |
| 177 |
|
| 178 |
2023-05-31 Kjell Ahlstedt <[email protected]> |
| 179 |
|
| 180 |
Doxyfile.in: Remove obsolete entries |
| 181 |
|
| 182 |
2023-05-31 Kjell Ahlstedt <[email protected]> |
| 183 |
|
| 184 |
sigc++.pc.in: Update htmlrefpub |
| 185 |
|
| 186 |
2023-04-03 Kjell Ahlstedt <[email protected]> |
| 187 |
|
| 188 |
README.md, CI: meson -> meson setup |
| 189 |
|
| 190 |
2023-04-03 Kjell Ahlstedt <[email protected]> |
| 191 |
|
| 192 |
meson.build: Simplify if-file-exists test |
| 193 |
|
| 194 |
2023-01-21 Francesco Emanuele D'Agostino <[email protected]> |
| 195 |
|
| 196 |
introducing protection to prevent multiple target declaration for uninstall. |
| 197 |
|
| 198 |
2023-01-04 Kjell Ahlstedt <[email protected]> |
| 199 |
|
| 200 |
meson.build: Fix the evaluation of is_git_build on Windows |
| 201 |
|
| 202 |
See gtkmm#131 |
| 203 |
|
| 204 |
2023-01-04 Kjell Ahlstedt <[email protected]> |
| 205 |
|
| 206 |
Meson build: Don't copy files with configure_file() |
| 207 |
|
| 208 |
It's deprecated from Meson 0.64. The replacement, fs.copyfile(), |
| 209 |
is not useful here. It only copies from the source directory to |
| 210 |
the build directory. |
| 211 |
|
| 212 |
2022-12-23 Kjell Ahlstedt <[email protected]> |
| 213 |
|
| 214 |
3.4.0 |
| 215 |
|
| 216 |
2022-12-23 Kjell Ahlstedt <[email protected]> |
| 217 |
|
| 218 |
meson.build: Don't distribute the .github directory |
| 219 |
|
| 220 |
2022-12-18 Kjell Ahlstedt <[email protected]> |
| 221 |
|
| 222 |
CI: Add publish-docs.yml |
| 223 |
|
| 224 |
2022-11-07 Kjell Ahlstedt <[email protected]> |
| 225 |
|
| 226 |
Meson build: Always call subdir('tests') |
| 227 |
|
| 228 |
Make the build_tests check more like the check in cairomm and libxml++. |
| 229 |
Then it's possible to combine build-tests=false with benchmark=true. |
| 230 |
See PR#84 |
| 231 |
|
| 232 |
2022-11-07 Fabrice Fontaine <[email protected]> |
| 233 |
|
| 234 |
add build_tests option |
| 235 |
|
| 236 |
Allow the user to disable build of test programs |
| 237 |
|
| 238 |
Signed-off-by: Fabrice Fontaine <[email protected]> |
| 239 |
|
| 240 |
2022-11-07 wael <[email protected]> |
| 241 |
|
| 242 |
meson: simplify lookup of python command |
| 243 |
|
| 244 |
2022-10-25 Kjell Ahlstedt <[email protected]> |
| 245 |
|
| 246 |
docs/devel.md: Change libsigc-list to Discourse |
| 247 |
|
| 248 |
The libsigc-list will soon be closed for new contributions. |
| 249 |
|
| 250 |
2022-09-27 Kjell Ahlstedt <[email protected]> |
| 251 |
|
| 252 |
meson.build: Detect if we build from a git subtree |
| 253 |
|
| 254 |
See https://gitlab.gnome.org/GNOME/gtkmm/-/merge_requests/72 (William Roy) |
| 255 |
|
| 256 |
2022-08-15 Kjell Ahlstedt <[email protected]> |
| 257 |
|
| 258 |
Fix build with -Dbuild-deprecated-api=false |
| 259 |
|
| 260 |
Fixes #82 |
| 261 |
|
| 262 |
2022-07-20 Kjell Ahlstedt <[email protected]> |
| 263 |
|
| 264 |
Update README.md |
| 265 |
|
| 266 |
2022-05-31 Kjell Ahlstedt <[email protected]> |
| 267 |
|
| 268 |
test_accumulated.cc: clang++ requires another 'template' |
| 269 |
|
| 270 |
2022-05-31 Kjell Ahlstedt <[email protected]> |
| 271 |
|
| 272 |
Add trackable_signal_with_accumulator and trackable_signal |
| 273 |
|
| 274 |
trackable_signal_with_accumulator derives from trackable. |
| 275 |
A slot made with trackable_signal_with_accumulator::make_slot() is |
| 276 |
automatically disconnected when the signal is deleted, as in sigc++2. |
| 277 |
Fixes #80 |
| 278 |
|
| 279 |
2022-05-31 Kjell Ahlstedt <[email protected]> |
| 280 |
|
| 281 |
Revert "signal_with_accumulator derives from trackable" |
| 282 |
|
| 283 |
This reverts commit 8fb78907ccf3c4425d23ba1555f365f22d376685. |
| 284 |
It's not safe. See #80 |
| 285 |
|
| 286 |
2022-05-30 Kjell Ahlstedt <[email protected]> |
| 287 |
|
| 288 |
test_limit_reference.cc: Don't use auto where a slot is required |
| 289 |
|
| 290 |
The return values of sigc::bind() and sigc::bind_return() shall be |
| 291 |
converted to sigc::slot, otherwise automatic disconnection does not work. |
| 292 |
Fixes #44 |
| 293 |
|
| 294 |
2022-05-30 Kjell Ahlstedt <[email protected]> |
| 295 |
|
| 296 |
signal_with_accumulator derives from trackable |
| 297 |
|
| 298 |
A slot made with signal_with_accumulator::make_slot() is then |
| 299 |
automatically disconnected when the signal is deleted, as in sigc++2. |
| 300 |
Fixes #80 |
| 301 |
|
| 302 |
2022-05-24 Chun-wei Fan <[email protected]> |
| 303 |
|
| 304 |
Meson/MSVC: Re-organize warnings-related compiler flags |
| 305 |
|
| 306 |
Add a short description for each of the warnings-related compiler flags that we |
| 307 |
are using. |
| 308 |
|
| 309 |
Also, only apply '/wd4267' for 64-bit builds, since it is a warning that should |
| 310 |
only be related to 64-bit builds. |
| 311 |
|
| 312 |
2022-05-23 Chun-wei Fan <[email protected]> |
| 313 |
|
| 314 |
Meson: Compensate for the lack of msvc_recommended_pragmas.h |
| 315 |
|
| 316 |
libsigc++ does not depend on GLib, so msvc_recommended_pragmas.h may not be |
| 317 |
available. If it isn't, disable warning C4244 to compensate for it. |
| 318 |
|
| 319 |
2022-05-19 Kjell Ahlstedt <[email protected]> |
| 320 |
|
| 321 |
Format source code to suit clang-format-12 |
| 322 |
|
| 323 |
Format sigc++/signal_base.h. |
| 324 |
|
| 325 |
2022-05-19 Kjell Ahlstedt <[email protected]> |
| 326 |
|
| 327 |
signal::make_slot() docs: Note that signal does not derive from trackable |
| 328 |
|
| 329 |
and therefore the made slot must be manually disconnected if the |
| 330 |
signal is deleted. See #80 |
| 331 |
|
| 332 |
2022-05-17 Kjell Ahlstedt <[email protected]> |
| 333 |
|
| 334 |
CI: Remove some tests with autotools |
| 335 |
|
| 336 |
Remove the tests with autotools build and clang 8, clang 9, gcc 8 and gcc 9. |
| 337 |
Test meson build with gcc 10 instead of gcc 9. |
| 338 |
|
| 339 |
2022-05-17 Kjell Ahlstedt <[email protected]> |
| 340 |
|
| 341 |
meson.build: Avoid configuration warnings |
| 342 |
|
| 343 |
2022-04-27 Kjell Ahlstedt <[email protected]> |
| 344 |
|
| 345 |
examples/member_method: Make on_print() non-virtual |
| 346 |
|
| 347 |
so it can be compiled with the -Wnon-virtual-dtor compiler option. |
| 348 |
|
| 349 |
2022-04-27 Kjell Ahlstedt <[email protected]> |
| 350 |
|
| 351 |
Fix some comments |
| 352 |
|
| 353 |
2022-04-20 Kjell Ahlstedt <[email protected]> |
| 354 |
|
| 355 |
Format source code to suit clang-format-12 |
| 356 |
|
| 357 |
Format sigc++/adaptors/track_obj.h. |
| 358 |
|
| 359 |
2022-04-20 Kjell Ahlstedt <[email protected]> |
| 360 |
|
| 361 |
Add track_object(), deprecate track_obj() |
| 362 |
|
| 363 |
track_object() checks that the listed objects derive from sigc::trackable. |
| 364 |
Fixes #78 |
| 365 |
|
| 366 |
2022-02-11 Kjell Ahlstedt <[email protected]> |
| 367 |
|
| 368 |
3.2.0 |
| 369 |
|
| 370 |
2022-02-11 Kjell Ahlstedt <[email protected]> |
| 371 |
|
| 372 |
meson.build: Specify 'check' option in run_command() |
| 373 |
|
| 374 |
The default value will be changed in future Meson releases. |
| 375 |
|
| 376 |
Don't use deprecated python3.path() and execute(..., gui_app: ...). |
| 377 |
|
| 378 |
2022-02-11 Kjell Ahlstedt <[email protected]> |
| 379 |
|
| 380 |
docs/docs/reference/Doxyfile.in: Remove obsolete entry |
| 381 |
|
| 382 |
2022-01-31 Kjell Ahlstedt <[email protected]> |
| 383 |
|
| 384 |
tools/tutorial-custom-cmd.py: Add comment about used stylesheet |
| 385 |
|
| 386 |
2022-01-09 Kjell Ahlstedt <[email protected]> |
| 387 |
|
| 388 |
CI: Install docbook-xsl where documentation is built |
| 389 |
|
| 390 |
If docbook-xsl is installed, the xsltproc command reads stylesheets |
| 391 |
from local files instead of from http://docbook.sourceforge.net. |
| 392 |
Faster and safer. Reading from docbook.sourceforge.net sometimes fails. |
| 393 |
|
| 394 |
Remove test with g++-7. |
| 395 |
|
| 396 |
2021-12-29 Kjell Ahlstedt <[email protected]> |
| 397 |
|
| 398 |
docs: Fix links to sigc::slot and sigc::signal |
| 399 |
|
| 400 |
Doxygen creates links to sigc::slot and sigc::signal only if |
| 401 |
template parameters are included in the documentation. |
| 402 |
sigc::slot<T_return(T_arg...)>, sigc::signal<T_return(T_arg...)>. |
| 403 |
|
| 404 |
2021-12-26 Kjell Ahlstedt <[email protected]> |
| 405 |
|
| 406 |
ptr_fun(), mem_fun() docs: Remove left-overs from sigc++-2.0 |
| 407 |
|
| 408 |
Some documentation of template parameters described sigc++-2.0 |
| 409 |
rather than sigc++-3.0. |
| 410 |
|
| 411 |
2021-12-26 Kjell Ahlstedt <[email protected]> |
| 412 |
|
| 413 |
Reformat to suit clang-format-12 |
| 414 |
|
| 415 |
2021-12-26 Kjell Ahlstedt <[email protected]> |
| 416 |
|
| 417 |
CI: Use clang-format-12 |
| 418 |
|
| 419 |
and call clang-format directly without using autogen.sh + make. |
| 420 |
|
| 421 |
2021-12-23 Kjell Ahlstedt <[email protected]> |
| 422 |
|
| 423 |
Second attempt to suit clang-format 10 |
| 424 |
|
| 425 |
Irritating that different versions of clang-format don't agree on what's |
| 426 |
an acceptable format, and that clang-format 10 is not easily installable |
| 427 |
on Ubuntu 21.10. |
| 428 |
|
| 429 |
2021-12-23 Kjell Ahlstedt <[email protected]> |
| 430 |
|
| 431 |
Format source code to suit clang-format |
| 432 |
|
| 433 |
* sigc++/functors/mem_fun.h: |
| 434 |
* sigc++/functors/ptr_fun.h: |
| 435 |
* tests/test_rvalue_ref.cc: Reformated with clang-format 13, |
| 436 |
but CI uses clang-format 10. |
| 437 |
|
| 438 |
Also add #include <utility> where std::forward was added. Doesn't seem |
| 439 |
to be necessary with g++ or clang++. Mostly a precaution. |
| 440 |
|
| 441 |
2021-12-23 Slava Andrejev <[email protected]> |
| 442 |
|
| 443 |
Add missing perfect forwarding in mem_functor and pointer_functor |
| 444 |
|
| 445 |
This is a missed addition to the commit that allowed rvalue references |
| 446 |
in slot parameters. |
| 447 |
|
| 448 |
2021-12-23 Slava Andrejev <[email protected]> |
| 449 |
|
| 450 |
Add missing perfect forwarding in bound_mem_functor::operator() |
| 451 |
|
| 452 |
This is a missed addition to the commit that allowed rvalue references |
| 453 |
in slot parameters. |
| 454 |
|
| 455 |
2021-12-19 Kjell Ahlstedt <[email protected]> |
| 456 |
|
| 457 |
CMakeLists.txt: Update sigc++ version to 3.0.7 |
| 458 |
|
| 459 |
Should have been done when configure.ac and meson.build were updated. |
| 460 |
|
| 461 |
2021-11-09 Chun-wei Fan <[email protected]> |
| 462 |
|
| 463 |
NMake Makefiles: Support building with VS2022 |
| 464 |
|
| 465 |
Make the VS2019 builds distinct from VS2022 builds. |
| 466 |
|
| 467 |
2021-09-27 Kjell Ahlstedt <[email protected]> |
| 468 |
|
| 469 |
docs/docs/manual, Meson config: Check if xmllint can be used |
| 470 |
|
| 471 |
2021-09-24 Kjell Ahlstedt <[email protected]> |
| 472 |
|
| 473 |
CI, Meson build: Install packages for validating XML file |
| 474 |
|
| 475 |
libxml2-utils and docbook5-xml are necessary in order to validate |
| 476 |
the XML file in docs/docs/manual/. |
| 477 |
|
| 478 |
2021-09-19 Kjell Ahlstedt <[email protected]> |
| 479 |
|
| 480 |
docs/docs/manual: Upgrade from DocBook 4.1 to DocBook 5.0 |
| 481 |
|
| 482 |
2021-08-22 Kjell Ahlstedt <[email protected]> |
| 483 |
|
| 484 |
Require meson >= 0.54.0 |
| 485 |
|
| 486 |
2021-08-17 Kjell Ahlstedt <[email protected]> |
| 487 |
|
| 488 |
meson.build: Check if Perl is required for building documentation |
| 489 |
|
| 490 |
New versions of mm-common use the Python scripts doc_postprocess.py |
| 491 |
and doc_install.py instead of the Perl scripts doc-postprocess.pl and |
| 492 |
doc-install.pl when documentation is built. |
| 493 |
|
| 494 |
2021-07-04 Kjell Ahlstedt <[email protected]> |
| 495 |
|
| 496 |
docs: Remove some obsolete files |
| 497 |
|
| 498 |
Remove docs/docs/manual/README, docs/docs/reference/README |
| 499 |
and docs/Makefile. |
| 500 |
|
| 501 |
2021-07-04 Kjell Ahlstedt <[email protected]> |
| 502 |
|
| 503 |
docs/docs/manual: Add some formatting when html files are generated |
| 504 |
|
| 505 |
making it slightly more similar to gtkmm-documentation and libxml++. |
| 506 |
In Autotools builds, don't distribute the empty manual/README file. |
| 507 |
|
| 508 |
2021-07-04 Kjell Ahlstedt <[email protected]> |
| 509 |
|
| 510 |
docs/docs/manual/libsigc_manual.xml: Add id on <sect1> elements |
| 511 |
|
| 512 |
2021-06-02 Kjell Ahlstedt <[email protected]> |
| 513 |
|
| 514 |
test_rvalue_ref: Small fixes |
| 515 |
|
| 516 |
* tests/.gitignore: |
| 517 |
* tests/CMakeLists.txt: |
| 518 |
* tests/Makefile.am: Add test_rvalue_ref. |
| 519 |
* tests/test_rvalue_ref.cc: Avoid [-Werror=unused-parameter] |
| 520 |
when building with warnings=fatal. |
| 521 |
|
| 522 |
Some files have been reformated with clang-format in order to |
| 523 |
make the CI tests happy. Reformated with clang-format 12, but CI |
| 524 |
uses clang-format 10. |
| 525 |
|
| 526 |
2021-06-02 Kjell Ahlstedt <[email protected]> |
| 527 |
|
| 528 |
Revert "test_rvalue_ref: Small fixes" |
| 529 |
|
| 530 |
This reverts commit 01652fdbc9f6fc2e72b217c9de8c89c93f95ba7c. |
| 531 |
|
| 532 |
2021-06-02 Kjell Ahlstedt <[email protected]> |
| 533 |
|
| 534 |
test_rvalue_ref: Small fixes |
| 535 |
|
| 536 |
* tests/.gitignore: |
| 537 |
* tests/CMakeLists.txt: |
| 538 |
* tests/Makefile.am: Add test_rvalue_ref. |
| 539 |
* tests/test_rvalue_ref.cc: Avoid [-Werror=unused-parameter] |
| 540 |
when building with warnings=fatal. |
| 541 |
|
| 542 |
Some files have also been reformated with clang-format in order to |
| 543 |
make the CI tests happy. Reformated with clang-format 12, but CI |
| 544 |
uses clang-format 10. |
| 545 |
|
| 546 |
2021-06-02 Slava Andrejev <[email protected]> |
| 547 |
|
| 548 |
Allow slots with rvalue reference parameters |
| 549 |
|
| 550 |
In code based on Glibmm it's quite common to convert a Glib C structure |
| 551 |
to a Glib::Object's descendant before passing it as a parameter to a |
| 552 |
slot. If the slot is not supposed to modify the object, then everything |
| 553 |
is fine, we can declare the parameter as a const reference and the |
| 554 |
temporary object will be accurately dealt with by the compiler. However, |
| 555 |
if the Glib based object is getting modified, the only way to pass it to |
| 556 |
the slot is to declare it a Glib::RefPtr shared pointer. This creates a |
| 557 |
lot of unnecessary churn of memory allocations for a simple deal of |
| 558 |
calling a signal. However, C++ has a specific mean for this particular |
| 559 |
semantic of passing a temporary object: rvalue reference. |
| 560 |
|
| 561 |
For example, somewhere inside Gtkmm might be a declaration: |
| 562 |
_WRAP_SIGNAL(void sun_rose(const Glib::RefPtr<Gtk::Sun> &new_sun), |
| 563 |
"sun-rose") |
| 564 |
|
| 565 |
Instead its more semantically correct to write: |
| 566 |
_WRAP_SIGNAL(void sun_rose(Gtk::Sun &&new_sun), "sun-rose") |
| 567 |
|
| 568 |
And later somewhere in your code: |
| 569 |
world->signal_sun_rose().connect([&](auto &&new_sun) { |
| 570 |
new_sun.shine(); |
| 571 |
}); |
| 572 |
|
| 573 |
This commit makes a couple of simple modifications that allow declaring |
| 574 |
signals and slots with rvalue reference parameter. |
| 575 |
|
| 576 |
2021-05-20 Kjell Ahlstedt <[email protected]> |
| 577 |
|
| 578 |
3.0.7 |
| 579 |
|
| 580 |
2021-05-18 Chun-wei Fan <[email protected]> |
| 581 |
|
| 582 |
Visual Studio build files: Some cleanups |
| 583 |
|
| 584 |
Replace /wd4530 with /EHsc, as that is the more proper CXXFlag to use for C++ programs |
| 585 |
|
| 586 |
2021-05-18 Kjell Ahlstedt <[email protected]> |
| 587 |
|
| 588 |
Add dependencies to Doxygen tag files in subprojects |
| 589 |
|
| 590 |
Doxygen in a main project shall not be called before tag files have been |
| 591 |
created or updated in subprojects. |
| 592 |
|
| 593 |
2021-05-14 Kjell Ahlstedt <[email protected]> |
| 594 |
|
| 595 |
Fix build as subproject without building documentation |
| 596 |
|
| 597 |
* meson.build: If mm-common-get is not found in maintainer-mode |
| 598 |
with 'required: false', try with 'required: true'. |
| 599 |
Don't try to use tag_file, if documentation is not built. |
| 600 |
* docs/docs/reference/meson.build: Don't use variables from modules |
| 601 |
that don't define doxytagfile. These are subprojects that don't build |
| 602 |
their documentation. |
| 603 |
|
| 604 |
Fixes #71 |
| 605 |
|
| 606 |
2021-05-05 Kjell Ahlstedt <[email protected]> |
| 607 |
|
| 608 |
Subprojects can use meson.add_dist_script() if meson.version() >= 0.58.0 |
| 609 |
|
| 610 |
* meson.build: |
| 611 |
* MSVC_NMake/meson.build: |
| 612 |
* docs/docs/manual/meson.build: |
| 613 |
* docs/docs/reference/meson.build: |
| 614 |
Call add_dist_script() in a subproject, if meson.version() >= 0.58.0. |
| 615 |
* tools/handle-built-files.py: |
| 616 |
* tools/tutorial-custom-cmd.py: |
| 617 |
Use MESON_PROJECT_DIST_ROOT if it exists, else MESON_DIST_ROOT. |
| 618 |
It exists if meson.version() >= 0.58.0. |
| 619 |
|
| 620 |
2021-04-08 Kjell Ahlstedt <[email protected]> |
| 621 |
|
| 622 |
Meson build: No implicit_include_directories |
| 623 |
|
| 624 |
2021-03-26 Kjell Ahlstedt <[email protected]> |
| 625 |
|
| 626 |
Meson build: No implicit_include_directories |
| 627 |
|
| 628 |
It shall not be possible to find a sigc++ header file |
| 629 |
with #include <xxx.h> instead of #include <sigc++/xxx.h>. |
| 630 |
|
| 631 |
2021-03-13 Kjell Ahlstedt <[email protected]> |
| 632 |
|
| 633 |
Meson build: Require only meson.version() >= 0.51.0 |
| 634 |
|
| 635 |
meson.version() >= 0.54.0 is necessary if sigc++ is a subproject, |
| 636 |
or if mm-common is a subproject of sigc++. |
| 637 |
Only meson.version() <= 0.53.2 is available in CI. Make it possible |
| 638 |
to build with version 0.53.2 as long as no subprojects are used. |
| 639 |
|
| 640 |
2021-03-12 Kjell Ahlstedt <[email protected]> |
| 641 |
|
| 642 |
Meson build: Make it possible to use sigc++ as a subproject |
| 643 |
|
| 644 |
mm-common can be a subproject of sigc++. |
| 645 |
|
| 646 |
2021-03-11 Kjell Ahlstedt <[email protected]> |
| 647 |
|
| 648 |
docs/docs/reference/Doxyfile.in: Remove obsolete entries |
| 649 |
|
| 650 |
2021-01-24 Murray Cumming <[email protected]> |
| 651 |
|
| 652 |
GitHub Actions CI: Check formatting with clang-format |
| 653 |
|
| 654 |
This requires clang-format-10, which is available in ubuntu-20.04. |
| 655 |
|
| 656 |
2021-01-24 Murray Cumming <[email protected]> |
| 657 |
|
| 658 |
Build: Add target to check code formatting with clang-format |
| 659 |
|
| 660 |
However, this requires clang 10. |
| 661 |
|
| 662 |
2021-01-24 Murray Cumming <[email protected]> |
| 663 |
|
| 664 |
sigc++config.h.* Format with clang-format (clang-format-10) |
| 665 |
|
| 666 |
So the generated sigc++config.h will have the correct formatting. |
| 667 |
|
| 668 |
2021-01-24 Murray Cumming <[email protected]> |
| 669 |
|
| 670 |
run make format (with clang-format-10), to format the code |
| 671 |
|
| 672 |
2021-01-02 Murray Cumming <[email protected]> |
| 673 |
|
| 674 |
GitHub Actions: Try gcc 8 and gcc 9 too |
| 675 |
|
| 676 |
2021-01-02 Murray Cumming <[email protected]> |
| 677 |
|
| 678 |
GitHub Actions: Try clang-10 too |
| 679 |
|
| 680 |
2021-01-02 Murray Cumming <[email protected]> |
| 681 |
|
| 682 |
GitHub actions: Use ubuntu-20.04 directly |
| 683 |
|
| 684 |
GitHub Actions now supports ubuntu-20.04 directly, not only via a |
| 685 |
separate container: |
| 686 |
https://github.com/actions/virtual-environments |
| 687 |
|
| 688 |
And use ubuntu-18.04 instead of ubuntu-latest, because that's what it |
| 689 |
currently is, but ubuntu-latest will change to mean ubuntu-20.04 soon: |
| 690 |
https://github.com/actions/virtual-environments/issues/1816 |
| 691 |
|
| 692 |
2020-12-25 Kjell Ahlstedt <[email protected]> |
| 693 |
|
| 694 |
docs: Update the web page |
| 695 |
|
| 696 |
The changes are automatically published at |
| 697 |
libsigcplusplus.github.io/libsigcplusplus. |
| 698 |
|
| 699 |
2020-12-14 Kjell Ahlstedt <[email protected]> |
| 700 |
|
| 701 |
CI: Test clang-9 in Ubuntu 20.04 |
| 702 |
|
| 703 |
2020-12-11 Kjell Ahlstedt <[email protected]> |
| 704 |
|
| 705 |
CI: Do some tests with Meson |
| 706 |
|
| 707 |
Remove test with clang 7. |
| 708 |
Test gcc 9 and clang 10 with meson instead of autotools. |
| 709 |
|
| 710 |
2020-12-01 Kjell Ahlstedt <[email protected]> |
| 711 |
|
| 712 |
CI: Remove tests with clang 5 and clang 6 |
| 713 |
|
| 714 |
Building with clang 7, 8, 9 and 10 is enough. |
| 715 |
|
| 716 |
2020-12-01 Kjell Ahlstedt <[email protected]> |
| 717 |
|
| 718 |
CI: Update the MSVC check and run it on push |
| 719 |
|
| 720 |
2020-11-25 Kjell Ahlstedt <[email protected]> |
| 721 |
|
| 722 |
CI: Don't run MSVC check on push |
| 723 |
|
| 724 |
This test does not work any more. I don't know how to fix it. |
| 725 |
Run it only manually. |
| 726 |
|
| 727 |
Unable to process command '##[add-path]C:\Program Files (x86)\ |
| 728 |
Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin' successfully. |
| 729 |
|
| 730 |
The `add-path` command is disabled. Please upgrade to using Environment Files |
| 731 |
or opt into unsecure command execution by setting the |
| 732 |
`ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. |
| 733 |
For more information see: https://github.blog/changelog/ |
| 734 |
2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ |
| 735 |
|
| 736 |
2020-11-25 Kjell Ahlstedt <[email protected]> |
| 737 |
|
| 738 |
3.0.6 |
| 739 |
|
| 740 |
2020-10-12 Kjell Ahlstedt <[email protected]> |
| 741 |
|
| 742 |
sigc++/sigc++.h: Fix a typo |
| 743 |
|
| 744 |
2020-10-12 Kjell Ahlstedt <[email protected]> |
| 745 |
|
| 746 |
sigc++/sigc++.h: Describe how to use libsigc++ with meson |
| 747 |
|
| 748 |
2020-10-04 Kjell Ahlstedt <[email protected]> |
| 749 |
|
| 750 |
Docs: Change libsigc++ webpage mentions to GitHub |
| 751 |
|
| 752 |
Change libsigc.sourceforge.net to |
| 753 |
libsigcplusplus.github.io/libsigcplusplus. |
| 754 |
|
| 755 |
2020-09-28 Tom Schoonjans <[email protected]> |
| 756 |
|
| 757 |
Meson build: fix versioning on macOS |
| 758 |
|
| 759 |
See pull request #65 |
| 760 |
|
| 761 |
2020-09-27 Kjell Ahlstedt <[email protected]> |
| 762 |
|
| 763 |
3.0.4 |
| 764 |
|
| 765 |
2020-07-23 Chun-wei Fan <[email protected]> |
| 766 |
|
| 767 |
NMake Makefiles: Use Meson-style DLL and .lib naming if requested |
| 768 |
|
| 769 |
To make things more consistent and less prone to confusion, if 'USE_MESON_LIBS' |
| 770 |
is specified in the NMake command line, build the DLLs and .lib's that are |
| 771 |
named like the Meson counterparts. Binaries built with Meson+Visual Studio |
| 772 |
and the ones that are built via NMake using 'USE_MESON_LIBS' are |
| 773 |
interchangeable. |
| 774 |
|
| 775 |
2020-07-22 Chun-wei Fan <[email protected]> |
| 776 |
|
| 777 |
NMake Makefiles: Streamline builds from GIT checkouts |
| 778 |
|
| 779 |
Streamline the source generating process into the 'all' target, so there |
| 780 |
is no more need to run the 'prep-git-build' target. |
| 781 |
|
| 782 |
2020-07-08 Chun-wei Fan <[email protected]> |
| 783 |
|
| 784 |
NMake Makefiles: Support ARM64 Windows builds |
| 785 |
|
| 786 |
This will make the NMake Makefiles capable of building ARM64 binaries of glibmm |
| 787 |
and giomm, which can be used on Windows 10 on ARM systems. |
| 788 |
|
| 789 |
2020-06-29 Kjell Ahlstedt <[email protected]> |
| 790 |
|
| 791 |
docs/docs/reference/: Update for Doxygen >= 1.8.16 |
| 792 |
|
| 793 |
* docs/docs/reference/meson.build: Doxygen 1.8.16 and later does not store |
| 794 |
tag file names in the html files. This requires changes in meson.build |
| 795 |
and in doc-install.pl (in mm-common). Otherwise references to other modules |
| 796 |
won't be updated in the html files when they are installed. |
| 797 |
* docs/docs/reference/Doxyfile.in: Remove PERL_PATH and MSCGEN_PATH. |
| 798 |
Doxygen since version 1.8.0 does not use them. |
| 799 |
|
| 800 |
2020-06-27 Kjell Ahlstedt <[email protected]> |
| 801 |
|
| 802 |
docs/docs/manual/libsigc_manual.xml: Fix description of sigc::retype() |
| 803 |
|
| 804 |
Although sigc::retype() is a template function, no template parameters |
| 805 |
shall be specified when it's called. |
| 806 |
|
| 807 |
2020-06-26 Kjell Ahlstedt <[email protected]> |
| 808 |
|
| 809 |
docs/docs/manual/libsigc_manual.xml: Fix previous commit |
| 810 |
|
| 811 |
Correct the comment about libsigc++2. It accepts both sigc::signal<void,int> |
| 812 |
and sigc::signal<void(int)>. sigc::signal<void,int> is deprecated. |
| 813 |
|
| 814 |
2020-06-25 Kjell Ahlstedt <[email protected]> |
| 815 |
|
| 816 |
docs/docs/manual/libsigc_manual.xml: Update signal and slot syntax |
| 817 |
|
| 818 |
Update the syntax of template parameters. |
| 819 |
sigc::signal<void,int> -> sigc::signal<void(int)>. |
| 820 |
|
| 821 |
Mention lambda expressions. |
| 822 |
|
| 823 |
Fixes #59 |
| 824 |
|
| 825 |
2020-06-18 Chun-wei Fan <[email protected]> |
| 826 |
|
| 827 |
NMake Makefiles: Use toolset version in DLL filename by default |
| 828 |
|
| 829 |
The libsigc++ DLL and .lib was only named 'sigc-vc150(d)-3_0' until the |
| 830 |
previous patches in this series improved Visual Studio 2019 support to |
| 831 |
name the DLL and .lib by using 'sigc-vc160(d)-3_0'. |
| 832 |
|
| 833 |
This updates the naming of the DLL and .lib to the toolset version as |
| 834 |
defined by Microsoft by default, i.e. 'vc141' for Visual Studio 2017 |
| 835 |
and 'vc142' for Visual Studio 2019. If the former DLL naming ('vc150') |
| 836 |
is desired, passing 'USE_COMPAT_LIBS=1' will achive this. |
| 837 |
|
| 838 |
2020-06-18 Chun-wei Fan <[email protected]> |
| 839 |
|
| 840 |
Update MSVC_NMake/README |
| 841 |
|
| 842 |
Fix some typos and reflect the build information more accurately |
| 843 |
|
| 844 |
2020-06-18 Chun-wei Fan <[email protected]> |
| 845 |
|
| 846 |
Rework NMake Makefiles |
| 847 |
|
| 848 |
Clean up the NMake Makefiles so that they will become easier to maintain and |
| 849 |
faster to run by: |
| 850 |
|
| 851 |
* Rename instances of 'libsigcpp' to 'sigc' |
| 852 |
* Just use 'md' directly to create all intermediate directories |
| 853 |
* "Generate" the rules to build the example and test programs, instead of using |
| 854 |
generic hand-written rules for all of them, as most of them share common |
| 855 |
rules. |
| 856 |
* Add a 'prep-git-build' rule to allow building directly from a GIT checkout |
| 857 |
|
| 858 |
2020-06-18 Chun-wei Fan <[email protected]> |
| 859 |
|
| 860 |
NMake Makefiles: Fix header installation |
| 861 |
|
| 862 |
We ought to install sigc++.h, too |
| 863 |
|
| 864 |
2020-06-18 Chun-wei Fan <[email protected]> |
| 865 |
|
| 866 |
NMake Makefiles: Support Visual Studio 2019 better |
| 867 |
|
| 868 |
We ought to separate Visual Studio 2019 from 2017, by all means |
| 869 |
|
| 870 |
2020-06-18 Chun-wei Fan <[email protected]> |
| 871 |
|
| 872 |
NMake Makefiles: Use 'md' instead of 'mkdir' |
| 873 |
|
| 874 |
This ensure that we don't accidentally use Cygwin's or MSYS's/MSYS64's mkdir |
| 875 |
command |
| 876 |
|
| 877 |
2020-04-26 Murray Cumming <[email protected]> |
| 878 |
|
| 879 |
GitHub Actions CI: Add a clang++ 10 build |
| 880 |
|
| 881 |
Like the clang-10 CI, this uses a newer Ubuntu version (20.04) by |
| 882 |
specifying a different docker image. Because of that, we no longer need |
| 883 |
to use sudo with apt. |
| 884 |
|
| 885 |
2020-04-25 Murray Cumming <[email protected]> |
| 886 |
|
| 887 |
run make format, to clang-format the code |
| 888 |
|
| 889 |
This was with clang-format-9 |
| 890 |
|
| 891 |
2020-04-02 Kjell Ahlstedt <[email protected]> |
| 892 |
|
| 893 |
Meson build: Set default value of the 'warnings' option to 'min' |
| 894 |
|
| 895 |
* MSVC_NMake/meson.build: Copy sigc++config.h with configure_file(). |
| 896 |
* Makefile.am: Remove tools/dist-cmd.py. |
| 897 |
* docs/docs/manual/meson.build: |
| 898 |
* docs/docs/reference/meson.build: Don't use tools/dist-cmd.py. |
| 899 |
* meson.build: Use dist-warnings when a tarball is tested by |
| 900 |
'ninja dist' or 'meson dist'. Check if doc-reference.py exists, if not |
| 901 |
maintainer-mode. |
| 902 |
* meson_options.txt: Set default value of the 'warnings' to 'min'. |
| 903 |
Add 'dist-warnings' with default value 'fatal'. |
| 904 |
* tools/dist-cmd.py: Removed file. It's not necessary in add_dist_script() |
| 905 |
when the first parameter is python3.path(). |
| 906 |
|
| 907 |
2020-03-25 Kjell Ahlstedt <[email protected]> |
| 908 |
|
| 909 |
3.0.3 |
| 910 |
|
| 911 |
2020-03-25 Kjell Ahlstedt <[email protected]> |
| 912 |
|
| 913 |
README.md: Better describe when maintainer-mode is necessary |
| 914 |
|
| 915 |
As a libsigc++-3 tarball does not contain generated source code, |
| 916 |
maintainer-mode is not always necessary when you build with Meson |
| 917 |
from a tarball that was created by Autotools. |
| 918 |
|
| 919 |
2020-03-24 Kjell Ahlstedt <[email protected]> |
| 920 |
|
| 921 |
README.md: Improve the Build section |
| 922 |
|
| 923 |
and remove README_build. All build information is in README.md. |
| 924 |
|
| 925 |
2020-03-10 Kjell Ahlstedt <[email protected]> |
| 926 |
|
| 927 |
meson.build: Update version to 3.0.2 |
| 928 |
|
| 929 |
2020-03-10 Kjell Ahlstedt <[email protected]> |
| 930 |
|
| 931 |
examples: Disable deprecated API when building with Meson |
| 932 |
|
| 933 |
Deprecated SIGCXX API is disabled when example programs are built |
| 934 |
with Autotools. Do the same when building with Meson. |
| 935 |
|
| 936 |
2020-01-13 Kjell Ahlstedt <[email protected]> |
| 937 |
|
| 938 |
README.md, README_build: Describe building with Meson |
| 939 |
|
| 940 |
2020-01-08 Robert Middleton <[email protected]> |
| 941 |
|
| 942 |
Added example of using libsigc++ with Qt |
| 943 |
|
| 944 |
Pull Request #35. |
| 945 |
|
| 946 |
2020-01-06 Lennard Berger <[email protected]> |
| 947 |
|
| 948 |
tests: Replace C-style casts with static_cast<> |
| 949 |
|
| 950 |
murrayc-tuple-utils Pull Request #4 . |
| 951 |
|
| 952 |
2020-01-02 Kjell Ahlstedt <[email protected]> |
| 953 |
|
| 954 |
docs/docs/reference/meson.build: Check if perl is found |
| 955 |
|
| 956 |
Don't use perl.path() when configuring Doxyfile, if perl is not found. |
| 957 |
Perl is not required, if build-documentation=false. |
| 958 |
Fixes #53 |
| 959 |
|
| 960 |
2020-01-01 Murray Cumming <[email protected]> |
| 961 |
|
| 962 |
3.0.2 |
| 963 |
|
| 964 |
2019-12-30 Kjell Ahlstedt <[email protected]> |
| 965 |
|
| 966 |
meson.build: Change project name, sigc++ -> libsigc++ |
| 967 |
|
| 968 |
Autotools make tarballs called libsigc++-x.y.z.tar.xz. No reason to |
| 969 |
change that. The leading "lib" is now also restored in some locations |
| 970 |
in the reference documentation. |
| 971 |
|
| 972 |
2019-12-30 Kjell Ahlstedt <[email protected]> |
| 973 |
|
| 974 |
Update untracked/README |
| 975 |
|
| 976 |
2019-12-29 Kjell Ahlstedt <[email protected]> |
| 977 |
|
| 978 |
meson.build: Check if .git is a directory or a file |
| 979 |
|
| 980 |
In a git worktree, .git is a regular file. |
| 981 |
|
| 982 |
See https://gitlab.gnome.org/GNOME/pangomm/merge_requests/8 |
| 983 |
|
| 984 |
2019-12-29 Kjell Ahlstedt <[email protected]> |
| 985 |
|
| 986 |
sigc++/meson.build: Library name is sigc-3.0 |
| 987 |
|
| 988 |
Pointed out by Chun-wei Fan in PR #51. |
| 989 |
|
| 990 |
2019-12-29 Chun-wei Fan <[email protected]> |
| 991 |
|
| 992 |
NMake: Split outdir by toolset version |
| 993 |
|
| 994 |
This makes it less likely for one to accidently mix binaries linked to |
| 995 |
different CRTs in a single buildtree. |
| 996 |
|
| 997 |
2019-12-29 Chun-wei Fan <[email protected]> |
| 998 |
|
| 999 |
build: Support NMake builds from Meson tarballs |
| 1000 |
|
| 1001 |
This adds the MSVC files in MSVC_NMake/ that are generated during |
| 1002 |
Meson's configure step to the generated release tarball. |
| 1003 |
|
| 1004 |
The NMake Makefiles are updated so that they will be able to find files |
| 1005 |
that are now in untracked/MSVC_NMake, when a release tarball is |
| 1006 |
generated with Meson. |
| 1007 |
|
| 1008 |
2019-12-29 Chun-wei Fan <[email protected]> |
| 1009 |
|
| 1010 |
meson: Build Windows .rc files on Windows |
| 1011 |
|
| 1012 |
This ensures that on Windows, the version info resources are indeed |
| 1013 |
linked into the libsigc++ DLL. |
| 1014 |
|
| 1015 |
2019-12-29 Chun-wei Fan <[email protected]> |
| 1016 |
|
| 1017 |
meson/Windows: Fix builds when builddir is a subdir of source tree |
| 1018 |
|
| 1019 |
It appears that Meson did not construct the paths properly for |
| 1020 |
shutil.copy2() when building in a build directory that is a |
| 1021 |
subdirectory of the sources, when using meson.current_build_dir(), |
| 1022 |
possibly due how path separators are handled. |
| 1023 |
|
| 1024 |
Fix this by constructing the paths using project_build_root / 'MSVC_NMake'. |
| 1025 |
|
| 1026 |
2019-12-29 Chun-wei Fan <[email protected]> |
| 1027 |
|
| 1028 |
meson.build: Fix 'meson dist' on Windows |
| 1029 |
|
| 1030 |
Since we are assured that we are using Python 3.x on when we run Meson, we |
| 1031 |
do not really need to look for the 'python3' executable, but we could |
| 1032 |
just use whatever Python interpreter that is used to run Meson. |
| 1033 |
|
| 1034 |
This will fix situations where it is commonly the case where we may have |
| 1035 |
multiple Python 3.x installations on Windows (www.python.org, and those |
| 1036 |
from Cygwin/mingw-w64), so that Meson really uses one and only one |
| 1037 |
Python installation to run everything that is Python-related, which will |
| 1038 |
thus fix '[meson|ninja] dist' on Visual Studio builds. |
| 1039 |
|
| 1040 |
2019-12-23 Kjell Ahlstedt <[email protected]> |
| 1041 |
|
| 1042 |
meson.build: Update version to 3.0.1 |
| 1043 |
|
| 1044 |
2019-12-22 Murray Cumming <[email protected]> |
| 1045 |
|
| 1046 |
3.0.1 |
| 1047 |
|
| 1048 |
2019-12-20 Chun-wei Fan <[email protected]> |
| 1049 |
|
| 1050 |
meson.build: Enable /utf-8 for MSVC builds |
| 1051 |
|
| 1052 |
This avoids warnings and mis-compilations on certain system locales when |
| 1053 |
building on Visual Studio, in particular Chinese, Japanese and Korean |
| 1054 |
versions of Windows. |
| 1055 |
|
| 1056 |
2019-12-20 Chun-wei Fan <[email protected]> |
| 1057 |
|
| 1058 |
meson: State clearly mm-common-get is required for maintainer mode |
| 1059 |
|
| 1060 |
Instead of showing that 'mm-common-get' is not found, state that it is |
| 1061 |
required for maintainer-mode. |
| 1062 |
|
| 1063 |
2019-12-20 Chun-wei Fan <[email protected]> |
| 1064 |
|
| 1065 |
Meson: Fix Visual Studio builds |
| 1066 |
|
| 1067 |
We need to make sure that SIGC_BUILD and _WINDLL are defined when |
| 1068 |
building the libsigc++ DLL, so that it gets build properly. |
| 1069 |
|
| 1070 |
2019-12-20 Kjell Ahlstedt <[email protected]> |
| 1071 |
|
| 1072 |
Add support for building libsigc++-3.0 with Meson |
| 1073 |
|
| 1074 |
libsigc++-3.0 can be built with either Autotools or Meson. |
| 1075 |
|
| 1076 |
2019-12-10 Kjell Ahlstedt <[email protected]> |
| 1077 |
|
| 1078 |
Make libsigc_manual.xml valid |
| 1079 |
|
| 1080 |
Fix errors reported by "xmllint --postvalid". |
| 1081 |
|
| 1082 |
2019-11-03 Murray Cumming <[email protected]> |
| 1083 |
|
| 1084 |
tests: Remove unused SIGC_CXX_TYPEOF alternative code |
| 1085 |
|
| 1086 |
This was apparently related to some long-since removed libsigc++ support |
| 1087 |
for a non-standard a gcc typeof() extension. |
| 1088 |
https://gcc.gnu.org/onlinedocs/gcc/Typeof.html |
| 1089 |
|
| 1090 |
2019-11-02 Murray Cumming <[email protected]> |
| 1091 |
|
| 1092 |
test_mem_fun(): Re-enable tests of overloaded functions |
| 1093 |
|
| 1094 |
But, as with test_ptr_fun(), we need to specify the types. |
| 1095 |
The compiler doesn't seem to be able to figure it out based on the |
| 1096 |
values passed. |
| 1097 |
|
| 1098 |
2019-11-02 Murray Cumming <[email protected]> |
| 1099 |
|
| 1100 |
test_ptr_fun: Re-enable tests of overloaded functions |
| 1101 |
|
| 1102 |
2019-10-29 Murray Cumming <[email protected]> |
| 1103 |
|
| 1104 |
GitHub Actions CI: Remove extra configure calls |
| 1105 |
|
| 1106 |
./autogen.sh already runs configure, passing the arguments. |
| 1107 |
This is why the builds didn't fail when there were compiler errors. |
| 1108 |
|
| 1109 |
2019-10-29 Murray Cumming <[email protected]> |
| 1110 |
|
| 1111 |
test_limit_reference: Avoid virtual-move-assign warning |
| 1112 |
|
| 1113 |
"= delete" Bases's move operations because the defaulted one |
| 1114 |
would call non-trivial assignment operators in the virtual bases. |
| 1115 |
|
| 1116 |
This avoids this compiler warning, at least with g++ 9.2: |
| 1117 |
|
| 1118 |
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] |
| 1119 |
12 | class Base : virtual public sigc::trackable |
| 1120 |
| ^~~~ |
| 1121 |
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] |
| 1122 |
22 | class Derived : virtual public Base, public Base2 |
| 1123 |
|
| 1124 |
It would be nice if this test had a comment saying what it is testing. |
| 1125 |
|
| 1126 |
2019-10-29 Murray Cumming <[email protected]> |
| 1127 |
|
| 1128 |
signal: slot_iterator_buf: Remove T_result default type |
| 1129 |
|
| 1130 |
This expected a result_type type alias. Luckily, in the few places where |
| 1131 |
we use this, we always specify the type, ignoring the default. |
| 1132 |
|
| 1133 |
2019-10-29 Murray Cumming <[email protected]> |
| 1134 |
|
| 1135 |
tests: Remove unnecessary result_type aliases |
| 1136 |
|
| 1137 |
This was necessary with older pre-C++11 versions of libsigc++. |
| 1138 |
|
| 1139 |
2019-10-28 Murray Cumming <[email protected]> |
| 1140 |
|
| 1141 |
Reformat code with make format |
| 1142 |
|
| 1143 |
2019-10-28 Murray Cumming <[email protected]> |
| 1144 |
|
| 1145 |
Build: Add target to format code with clang-format |
| 1146 |
|
| 1147 |
This lets us do "make format" to reformat the code. |
| 1148 |
|
| 1149 |
2019-10-27 Murray Cumming <[email protected]> |
| 1150 |
|
| 1151 |
GitHub Actions CI: Specify CXX before make distcheck |
| 1152 |
|
| 1153 |
As in the build step. Otherwise, the distcheck's configure run will |
| 1154 |
just pick up the default compiler again. |
| 1155 |
|
| 1156 |
2019-10-27 Murray Cumming <[email protected]> |
| 1157 |
|
| 1158 |
GitHub Actions CI: Add a clang++ 9 build |
| 1159 |
|
| 1160 |
This uses a newer Ubuntu version by specifying a different docker image. |
| 1161 |
Because of that, we no longer need to use sudo with apt. |
| 1162 |
|
| 1163 |
2019-10-27 Murray Cumming <[email protected]> |
| 1164 |
|
| 1165 |
GitHub Actions CI: autotools-clang-8: Don't try to use Ubuntu 19.10 |
| 1166 |
|
| 1167 |
The uses: line was actually a separate step that didn't influence the |
| 1168 |
following step. Ubuntu 18.04 (what GitHub actions uses for |
| 1169 |
"ubuntu-latest") actually has clang-8 anyway. |
| 1170 |
|
| 1171 |
2019-10-27 Kjell Ahlstedt <[email protected]> |
| 1172 |
|
| 1173 |
sigc++/adaptors/bind.h: Make bind_functor::bound_ public |
| 1174 |
|
| 1175 |
It's used by sigc::visitor::do_visit_each(). |
| 1176 |
Add a test case in tests/test_bind.cc. |
| 1177 |
Fixes #26 |
| 1178 |
|
| 1179 |
2019-10-25 Stuart Dootson <[email protected]> |
| 1180 |
|
| 1181 |
MSVC build: Add version check to MSVC warning removal |
| 1182 |
|
| 1183 |
CMake 3.15 removes /W3 as a default flag for MSVC, so we no longer need to remove it. |
| 1184 |
2019-10-25 Stuart Dootson <[email protected]> |
| 1185 |
|
| 1186 |
MSVC build: Add code comments |
| 1187 |
|
| 1188 |
2019-10-25 Stuart Dootson <[email protected]> |
| 1189 |
|
| 1190 |
MSVC build: Silence 'C4100: unreferenced formal parameter' warnings |
| 1191 |
|
| 1192 |
Added 'static_cast<void>(parameter-name)' in all paths where the parameter isn't used |
| 1193 |
2019-10-25 Stuart Dootson <[email protected]> |
| 1194 |
|
| 1195 |
MSVC build: Disable C4244 (conversion, possible loss of data) for relevant tests |
| 1196 |
|
| 1197 |
2019-10-25 Stuart Dootson <[email protected]> |
| 1198 |
|
| 1199 |
MSVC build: Fix 'C4127: conditional expression is constant' warning |
| 1200 |
|
| 1201 |
2019-10-25 Stuart Dootson <[email protected]> |
| 1202 |
|
| 1203 |
Add default warning flags |
| 1204 |
|
| 1205 |
2019-10-11 Stuart Dootson <[email protected]> |
| 1206 |
|
| 1207 |
CMake Build: tests: Let MSVC find the library |
| 1208 |
|
| 1209 |
Use 'cmake -E env ... <test-executable>' to execute the test executable. |
| 1210 |
The '-E env' option allows the environment to be altered for the executed test. |
| 1211 |
|
| 1212 |
Use generator expressions to retrieve the build directory/file for the |
| 1213 |
sigc++ & test targets |
| 1214 |
|
| 1215 |
2019-10-11 Murray Cumming <[email protected]> |
| 1216 |
|
| 1217 |
GitHub Actions: Add workflow on Windows (MSVC compiler) |
| 1218 |
|
| 1219 |
2019-10-11 Murray Cumming <[email protected]> |
| 1220 |
|
| 1221 |
Github Actions: Use --enable-warnings=fatal |
| 1222 |
|
| 1223 |
This enables more warnings and makes the build fail if they happen. |
| 1224 |
|
| 1225 |
2019-09-28 Murray Cumming <[email protected]> |
| 1226 |
|
| 1227 |
GitHub Actions: Add workflow for clang 8 |
| 1228 |
|
| 1229 |
Using Ubuntu 19.10 (Eoan) instead of Ubuntu 18.04. |
| 1230 |
|
| 1231 |
2019-09-28 Murray Cumming <[email protected]> |
| 1232 |
|
| 1233 |
GitHub Actions: Add workflow for gcc 9 |
| 1234 |
|
| 1235 |
Using Ubuntu 19.10 (Eoan) instead of Ubuntu 18.04. |
| 1236 |
|
| 1237 |
2019-09-28 Murray Cumming <[email protected]> |
| 1238 |
|
| 1239 |
GitHub Actions: Use specific compiler versions |
| 1240 |
|
| 1241 |
We only try compiler versions that are known to have C++17 support. |
| 1242 |
There is no point in trying older compiler versions. |
| 1243 |
|
| 1244 |
2019-09-28 Murray Cumming <[email protected]> |
| 1245 |
|
| 1246 |
GitHub Actions: Better workflow names |
| 1247 |
|
| 1248 |
2019-09-27 Murray Cumming <[email protected]> |
| 1249 |
|
| 1250 |
Add GitHub Actions build workflow (cmake build) |
| 1251 |
|
| 1252 |
2019-09-27 Murray Cumming <[email protected]> |
| 1253 |
|
| 1254 |
Add GitHub Actions build workflow (autotools build) |
| 1255 |
|
| 1256 |
2019-09-26 Murray Cumming <[email protected]> |
| 1257 |
|
| 1258 |
tests: Add test_connection, to check copying |
| 1259 |
|
| 1260 |
For now, this just confirms that we can now copy empty sigc::connection |
| 1261 |
instances. (See the previous commit.) |
| 1262 |
|
| 1263 |
2019-09-26 AIGRIND <[email protected]> |
| 1264 |
|
| 1265 |
Empty connections can be safely copied now |
| 1266 |
|
| 1267 |
Copy constructor and `operator=` could fail if `src` was empty. |
| 1268 |
``` |
| 1269 |
sigc::connection con1; |
| 1270 |
sigc::connection con2(con1); // failed |
| 1271 |
``` |
| 1272 |
``` |
| 1273 |
sigc::connection con3; |
| 1274 |
sigc::connection con4; |
| 1275 |
con3 = con4; // failed |
| 1276 |
``` |
| 1277 |
2019-09-05 Kjell Ahlstedt <[email protected]> |
| 1278 |
|
| 1279 |
3.0.0 |
| 1280 |
|
| 1281 |
2019-09-05 Kjell Ahlstedt <[email protected]> |
| 1282 |
|
| 1283 |
README_build: Refer MSVC users to MSVC_NMake/README.txt |
| 1284 |
|
| 1285 |
2019-09-02 Kjell Ahlstedt <[email protected]> |
| 1286 |
|
| 1287 |
tuple_transform_each(): Fix for libc++ |
| 1288 |
|
| 1289 |
Tuples which are input data to std::tuple_cat() are not declared const. |
| 1290 |
Some versions of libc++ has a bug in std::tuple_cat(): All output |
| 1291 |
elements coming from a const tuple become const. |
| 1292 |
It can break 'make check' when using clang++ and -stdlib=libc++. |
| 1293 |
|
| 1294 |
Fixes issue #25 |
| 1295 |
|
| 1296 |
2019-09-01 Murray Cumming <[email protected]> |
| 1297 |
|
| 1298 |
tests: Don't call static method via instance |
| 1299 |
|
| 1300 |
2019-09-01 Murray Cumming <[email protected]> |
| 1301 |
|
| 1302 |
tests: Remove an unnecessary semicolon |
| 1303 |
|
| 1304 |
2019-08-29 Kjell Ahlstedt <[email protected]> |
| 1305 |
|
| 1306 |
tests/test_track_obj.cc: Remove obsolete comments |
| 1307 |
|
| 1308 |
2019-08-29 Kjell Ahlstedt <[email protected]> |
| 1309 |
|
| 1310 |
bind(), track_obj() documentation: Remove obsolete restrictions |
| 1311 |
|
| 1312 |
The number of objects and arguments are not restricted to max 7 |
| 1313 |
now that variadic templates have replaced the .m4 files in libsigc++-2 |
| 1314 |
that generated 7 copies. |
| 1315 |
|
| 1316 |
2019-07-03 Kjell Ahlstedt <[email protected]> |
| 1317 |
|
| 1318 |
tests/test_track_obj: Fix for clang++ |
| 1319 |
|
| 1320 |
clang++ complains if private members are unused, so make them protected. |
| 1321 |
|
| 1322 |
error: private field 'bar_' is not used [-Werror,-Wunused-private-field] |
| 1323 |
|
| 1324 |
2019-06-12 Kjell Ahlstedt <[email protected]> |
| 1325 |
|
| 1326 |
2.99.13 |
| 1327 |
|
| 1328 |
2019-06-03 Jeff Trull <[email protected]> |
| 1329 |
|
| 1330 |
CMake: supply SIGC_BUILD and use CMAKE_CXX_STANDARD, for MSVC |
| 1331 |
|
| 1332 |
2019-03-21 Kjell Ahlstedt <[email protected]> |
| 1333 |
|
| 1334 |
Doxyfile.in: Remove obsolete preprocessor macros |
| 1335 |
|
| 1336 |
The removed macros are not used anywhere in libsigc++ 3.0. |
| 1337 |
|
| 1338 |
2019-02-17 Kjell Ahlstedt <[email protected]> |
| 1339 |
|
| 1340 |
sigc::tuple_transform_each: std::result_of -> std::invoke_result |
| 1341 |
|
| 1342 |
std::result_of is deprecated in C++17 and will be removed in C++20. |
| 1343 |
|
| 1344 |
Fixes issue #19 |
| 1345 |
|
| 1346 |
2019-02-13 Kjell Ahlstedt <[email protected]> |
| 1347 |
|
| 1348 |
Makefile.am: Distribute README.md |
| 1349 |
|
| 1350 |
2019-02-13 Jürg Billeter <[email protected]> |
| 1351 |
|
| 1352 |
configure.ac: Set `foreign` option to fix build |
| 1353 |
|
| 1354 |
Without the `foreign` option, automake requires a README file, which no |
| 1355 |
longer exists. |
| 1356 |
|
| 1357 |
Makefile.am: error: required file './README' not found |
| 1358 |
|
| 1359 |
Fixes: 8a0cb176 ("README: Rename to README.md and reformat as markdown") |
| 1360 |
|
| 1361 |
2019-01-10 Murray Cumming <[email protected]> |
| 1362 |
|
| 1363 |
README.md: Add some build hints |
| 1364 |
|
| 1365 |
This fixes issue #18: |
| 1366 |
https://github.com/libsigcplusplus/libsigcplusplus/issues/18 |
| 1367 |
|
| 1368 |
Note that this file should not duplicate too much from the website. |
| 1369 |
Information should be on the website or in the README.md, but rarely in |
| 1370 |
both places. |
| 1371 |
|