| 1 |
2026-06-03 Kjell Ahlstedt <[email protected]> |
| 2 |
|
| 3 |
1.18.1 |
| 4 |
|
| 5 |
2026-05-31 hana-kami <[email protected]> |
| 6 |
|
| 7 |
Fix memory leak in Context::pop_group() due to double reference count |
| 8 |
|
| 9 |
See MR !38 |
| 10 |
|
| 11 |
2026-05-31 Kjell Ahlstedt <[email protected]> |
| 12 |
|
| 13 |
cairomm.h: Add the Basic Usage section |
| 14 |
|
| 15 |
2026-05-31 Kjell Ahlstedt <[email protected]> |
| 16 |
|
| 17 |
Meson build: Don't require the 'dot' command |
| 18 |
|
| 19 |
Make it possible to build documentation without the dot command. |
| 20 |
Set the HAVE_DOT option in Doxyfile during configuration. |
| 21 |
In Autotools builds it's still unconditionally YES. |
| 22 |
The inheritance diagrams don't look as nice without the dot |
| 23 |
command from the GraphViz package. |
| 24 |
|
| 25 |
2026-05-31 Kjell Ahlstedt <[email protected]> |
| 26 |
|
| 27 |
CI: Install packages that cairomm's test programs require |
| 28 |
|
| 29 |
and don't test subprojects. |
| 30 |
|
| 31 |
2026-05-31 Kjell Ahlstedt <[email protected]> |
| 32 |
|
| 33 |
Update tools/release-publish.sh |
| 34 |
|
| 35 |
Describe how to make a release instead of referring to wiki.gnome.org. |
| 36 |
Make checksum with sha256sum instead of sha1sum. |
| 37 |
|
| 38 |
2026-01-02 Chun-wei Fan <[email protected]> |
| 39 |
|
| 40 |
NMake Makefiles: Make build process more robust |
| 41 |
|
| 42 |
In order to generate the object/executable lists for our build, we generate a |
| 43 |
temporary makefile snippet and include it immediately to carry out the build, |
| 44 |
but this poses an issue when a different toolchain carry out the build using |
| 45 |
NMake. |
| 46 |
|
| 47 |
This makes the snippet use the toolset version, config and target arch for the |
| 48 |
build which should greatly improve the situation without adding much complexity |
| 49 |
|
| 50 |
2025-12-29 Chun-wei Fan <[email protected]> |
| 51 |
|
| 52 |
MSVC-Builds.md: Update build documentation for NMake |
| 53 |
|
| 54 |
Make the build options that were added for NMake known to people |
| 55 |
|
| 56 |
2025-12-29 Chun-wei Fan <[email protected]> |
| 57 |
|
| 58 |
NMake Makefiles: Allow specifying paths for dependencies |
| 59 |
|
| 60 |
Add ability to set base, Cairo, GLib, libsigc++ (SIGC), FreeType, FontConfig |
| 61 |
(FC), and Boost, paths for includes and libs to add more flexibility to the |
| 62 |
build files, if needed. |
| 63 |
|
| 64 |
One can pass <dependency>_INCLUDEDIR and <dependency>_LIBDIR in addition to |
| 65 |
PREFIX and the all-encompassing BASE_INCLUDEDIR and BASE_LIBDIR to help the |
| 66 |
compiler and linker locate the header and .lib files without tinkering with |
| 67 |
%INCLUDE% and %LIB%, if needed. |
| 68 |
|
| 69 |
2025-12-29 Chun-wei Fan <[email protected]> |
| 70 |
|
| 71 |
MSVC-Builds.md: Add info for VS2026 builds |
| 72 |
|
| 73 |
2025-12-29 Chun-wei Fan <[email protected]> |
| 74 |
|
| 75 |
NMake Makefiles: Make VS2026 builds disctinct from VS2022 |
| 76 |
|
| 77 |
Set the toolset version to be 'vc145' when the compiler version is 19.50 or |
| 78 |
later. |
| 79 |
|
| 80 |
Also drop some cruft as VS2017 or later is required. |
| 81 |
|
| 82 |
2025-12-29 Chun-wei Fan <[email protected]> |
| 83 |
|
| 84 |
meson.build: Make VS2026 builds distinct from VS2022 builds |
| 85 |
|
| 86 |
Use the compiler version, which is for 19.50, for VS2026, and set the toolset |
| 87 |
version to be 'vc145' for such builds. |
| 88 |
|
| 89 |
2025-10-04 Kjell Ahlstedt <[email protected]> |
| 90 |
|
| 91 |
CI: Use ubuntu:latest |
| 92 |
|
| 93 |
Problem using ubuntu:rolling. Ubuntu 24.10 (oracular) is |
| 94 |
sometimes used. It does not work (perhaps not updated any more). |
| 95 |
Should be Ubuntu 25.04 (plucky). |
| 96 |
|
| 97 |
2025-09-21 Kjell Ahlstedt <[email protected]> |
| 98 |
|
| 99 |
Meson build: Use the Python installation that Meson uses |
| 100 |
|
| 101 |
and remove the unused Meson variable cpp_compiler_id. |
| 102 |
See glibmm!67 concerning Python installation. |
| 103 |
|
| 104 |
2025-08-20 Benjamin Gilbert <[email protected]> |
| 105 |
|
| 106 |
meson: use SPDX expression for license |
| 107 |
|
| 108 |
This is the recommended format. |
| 109 |
|
| 110 |
2025-06-11 Kjell Ahlstedt <[email protected]> |
| 111 |
|
| 112 |
meson.build: License is Lesser GPL 2.1 |
| 113 |
|
| 114 |
2025-04-27 Kjell Ahlstedt <[email protected]> |
| 115 |
|
| 116 |
Meson build: Better detection of MSVC-like compilers |
| 117 |
|
| 118 |
Treat all compilers with MSVC-like argument syntax the same. |
| 119 |
Use cpp_compiler.get_define('_MSC_VER') instead of |
| 120 |
cpp_compiler.version() to check compiler version. |
| 121 |
Suggested by Tim-Philipp Müller and Chun-wei Fan. |
| 122 |
Fixes #32, see also !30 |
| 123 |
|
| 124 |
2025-04-07 Kjell Ahlstedt <[email protected]> |
| 125 |
|
| 126 |
Change license info to mention Lesser GPL 2.1 instead of Library GPL 2 |
| 127 |
|
| 128 |
The GNU Library General Public License has been superseded by |
| 129 |
the GNU Lesser General Public License. |
| 130 |
https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html |
| 131 |
|
| 132 |
Remove obsolete FSF (Free Software Foundation) address. |
| 133 |
|
| 134 |
2025-02-12 Kjell Ahlstedt <[email protected]> |
| 135 |
|
| 136 |
Meson build: Add install_tag keyword argument |
| 137 |
|
| 138 |
2025-02-05 Kjell Ahlstedt <[email protected]> |
| 139 |
|
| 140 |
CI: Publish the generated cairomm-1.16.tag file |
| 141 |
|
| 142 |
and use libsigc++'s published tag file. |
| 143 |
The *-doc modules don't install the tag files. |
| 144 |
|
| 145 |
2024-12-29 Kjell Ahlstedt <[email protected]> |
| 146 |
|
| 147 |
Context documentation: Fix enum names |
| 148 |
|
| 149 |
Cairo::[Operator,FillRule,LineCap,LineJoin] -> |
| 150 |
Cairo::Context::[Operator,FillRule,LineCap,LineJoin] |
| 151 |
|
| 152 |
2024-09-03 Julia DeMille <[email protected]> |
| 153 |
|
| 154 |
Meson: stop warning from probing for features |
| 155 |
|
| 156 |
2024-09-03 Julia DeMille <[email protected]> |
| 157 |
|
| 158 |
Meson: require normal find for cairo when subproject |
| 159 |
|
| 160 |
2024-08-31 Julia DeMille <[email protected]> |
| 161 |
|
| 162 |
fix(meson): detect cl-like compilers |
| 163 |
|
| 164 |
2024-07-20 Kjell Ahlstedt <[email protected]> |
| 165 |
|
| 166 |
Meson build: Use Meson's pkgconfig module |
| 167 |
|
| 168 |
instead of using the *.pc.in templates. |
| 169 |
|
| 170 |
Require meson >= 0.62. Remove the can_add_dist_script variable. |
| 171 |
It's unnecessary when the meson version >= 0.58. |
| 172 |
|
| 173 |
Simplify the calls to dependency().get_variable(). |
| 174 |
Possible when meson version >= 0.51. |
| 175 |
|
| 176 |
2024-07-03 Kjell Ahlstedt <[email protected]> |
| 177 |
|
| 178 |
meson.build: Require python3 >= 3.7 |
| 179 |
|
| 180 |
That's what Meson requires. |
| 181 |
|
| 182 |
2024-07-03 Kjell Ahlstedt <[email protected]> |
| 183 |
|
| 184 |
docs/reference/Doxyfile.in: Remove obsolete entries |
| 185 |
|
| 186 |
2024-03-15 Benjamin A. Beasley <[email protected]> |
| 187 |
|
| 188 |
Fix outdated FSF mailing address in COPYING |
| 189 |
|
| 190 |
Use the latest LGPL-2.0 license text from https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt, which has an updated mailing address and some insignificant whitespace changes. |
| 191 |
|
| 192 |
2024-01-15 Kjell Ahlstedt <[email protected]> |
| 193 |
|
| 194 |
meson.build, data/cairomm.pc.in: Update htmlrefpub |
| 195 |
|
| 196 |
2023-12-11 Kjell Ahlstedt <[email protected]> |
| 197 |
|
| 198 |
meson.build: Don't fail if warning_level=everything |
| 199 |
|
| 200 |
2023-10-09 Kjell Ahlstedt <[email protected]> |
| 201 |
|
| 202 |
Surface: Fix typos, add a TODO comment |
| 203 |
|
| 204 |
2023-10-06 Kjell Ahlstedt <[email protected]> |
| 205 |
|
| 206 |
Add tools/webpage.sh |
| 207 |
|
| 208 |
2023-09-27 Kjell Ahlstedt <[email protected]> |
| 209 |
|
| 210 |
1.18.0 |
| 211 |
|
| 212 |
2023-09-27 Kjell Ahlstedt <[email protected]> |
| 213 |
|
| 214 |
tools/*.sh: Improve comments |
| 215 |
|
| 216 |
2023-09-27 Kjell Ahlstedt <[email protected]> |
| 217 |
|
| 218 |
meson_options.txt: boost-shared defaults to true |
| 219 |
|
| 220 |
The shared Boost libraries can be a safer choice. |
| 221 |
The static libraries have caused problems building the test programs. |
| 222 |
|
| 223 |
2023-07-16 Kjell Ahlstedt <[email protected]> |
| 224 |
|
| 225 |
1.17.1 |
| 226 |
|
| 227 |
2023-07-06 Kjell Ahlstedt <[email protected]> |
| 228 |
|
| 229 |
Remove AUTHORS and MAINTAINERS and add info to README.md |
| 230 |
|
| 231 |
2023-06-29 Chun-wei Fan <[email protected]> |
| 232 |
|
| 233 |
Update Visual Studio build docs |
| 234 |
|
| 235 |
* Convert MSVC_NMake/README to MarkDown, to make the formatting easier |
| 236 |
on the eye, and use UNIX line endings. |
| 237 |
* Update the info there, mentioning that cairo-1.17.x is recommended, |
| 238 |
and give a better outline on how the build is carried out with NMake |
| 239 |
and Meson. |
| 240 |
|
| 241 |
2023-06-17 Kjell Ahlstedt <[email protected]> |
| 242 |
|
| 243 |
Doxyfile.in: Remove obsolete entries |
| 244 |
|
| 245 |
2023-06-15 Daniel Boles <[email protected]> |
| 246 |
|
| 247 |
context: Fix typos of "teh" to "the" + missing "a" |
| 248 |
|
| 249 |
2023-03-20 Kjell Ahlstedt <[email protected]> |
| 250 |
|
| 251 |
Use callback functins with C linkage |
| 252 |
|
| 253 |
* cairomm/script.cc: |
| 254 |
* cairomm/surface.cc: Use local 'extern "C"' callback functions. |
| 255 |
Code that mixes up C linkage and C++ linkage has undefined behavior. |
| 256 |
Most compilers make no difference between C and C++ linkage, so it |
| 257 |
has not been an issue so far. But see issue glibmm#1. |
| 258 |
|
| 259 |
2023-03-14 Vitaly Dyachkov <[email protected]> |
| 260 |
|
| 261 |
Implement get_text_extents() and get_glyph_extents() of ScaledFont |
| 262 |
|
| 263 |
ScaledFont::get_text_extents() and ScaledFont::get_glyph_extents() |
| 264 |
were declared in the header but their implementations were missing. |
| 265 |
Fixes #30 |
| 266 |
|
| 267 |
2023-03-12 Kjell Ahlstedt <[email protected]> |
| 268 |
|
| 269 |
README.md: meson -> meson setup |
| 270 |
|
| 271 |
2023-03-12 Kjell Ahlstedt <[email protected]> |
| 272 |
|
| 273 |
meson.build: Simplify if-file-exists test |
| 274 |
|
| 275 |
2023-03-12 Kjell Ahlstedt <[email protected]> |
| 276 |
|
| 277 |
CI: Install all dependencies with apt, meson -> meson setup |
| 278 |
|
| 279 |
Ubuntu 22.10 contains libsigc++-3.0-dev. |
| 280 |
|
| 281 |
2023-01-04 Kjell Ahlstedt <[email protected]> |
| 282 |
|
| 283 |
meson.build: Simplify lookup of python command |
| 284 |
|
| 285 |
See libsigcplusplus PR#83 |
| 286 |
|
| 287 |
2023-01-04 Kjell Ahlstedt <[email protected]> |
| 288 |
|
| 289 |
meson.build: Fix the evaluation of is_git_build on Windows |
| 290 |
|
| 291 |
See gtkmm#131 |
| 292 |
|
| 293 |
2023-01-04 Kjell Ahlstedt <[email protected]> |
| 294 |
|
| 295 |
Meson build: Don't copy files with configure_file() |
| 296 |
|
| 297 |
It's deprecated from Meson 0.64. The replacement, fs.copyfile(), |
| 298 |
is not useful here. It only copies from the source directory to |
| 299 |
the build directory. |
| 300 |
|
| 301 |
2022-09-27 Kjell Ahlstedt <[email protected]> |
| 302 |
|
| 303 |
meson.build: Detect if we build from a git subtree |
| 304 |
|
| 305 |
See https://gitlab.gnome.org/GNOME/gtkmm/-/merge_requests/72 (William Roy) |
| 306 |
|
| 307 |
2022-09-22 Kjell Ahlstedt <[email protected]> |
| 308 |
|
| 309 |
NEWS: Prepare for next cairomm release |
| 310 |
|
| 311 |
and require cairo >= 1.14.0 |
| 312 |
|
| 313 |
2022-09-11 Kjell Ahlstedt <[email protected]> |
| 314 |
|
| 315 |
Convert README to README.md |
| 316 |
|
| 317 |
2022-08-16 Kjell Ahlstedt <[email protected]> |
| 318 |
|
| 319 |
Autotools build: Add --disable-deprecated-api |
| 320 |
|
| 321 |
Make it possible to exclude deprecated API from the build. |
| 322 |
See #29 |
| 323 |
|
| 324 |
2022-05-24 Chun-wei Fan <[email protected]> |
| 325 |
|
| 326 |
Meson: Re-organize warnings-related compiler flags for MSVC |
| 327 |
|
| 328 |
Add a short description for the warning-related compiler flags for Visual |
| 329 |
Studio. |
| 330 |
|
| 331 |
Also, use the `/wd4267` compiler flag only when building a 64-bit build, since |
| 332 |
warning C4267 only applies for 64-bit builds. |
| 333 |
|
| 334 |
2022-05-23 Chun-wei Fan <[email protected]> |
| 335 |
|
| 336 |
Meson/MSVC: Compensate for the lack of msvc_recommended_pragmas.h |
| 337 |
|
| 338 |
Since cairomm does not hard-depend on GLib, it may be the case that |
| 339 |
msvc_recommended_pragmas.h is not available during the build. If it is not, |
| 340 |
disable warnings C4244 and C4101, which are part of the warnings that it |
| 341 |
disables. |
| 342 |
|
| 343 |
2022-05-19 Kjell Ahlstedt <[email protected]> |
| 344 |
|
| 345 |
meson.build: Avoid configuration warnings |
| 346 |
|
| 347 |
2022-03-18 Kjell Ahlstedt <[email protected]> |
| 348 |
|
| 349 |
CI: Use artifacts to transfer data between stages |
| 350 |
|
| 351 |
2022-02-13 Kjell Ahlstedt <[email protected]> |
| 352 |
|
| 353 |
meson.build: Specify 'check' option in run_command() |
| 354 |
|
| 355 |
The default value will be changed in future Meson releases. |
| 356 |
|
| 357 |
Don't use deprecated python3.path() and execute(..., gui_app: ...). |
| 358 |
Don't distribute .gitlab-ci.yml. |
| 359 |
|
| 360 |
2022-02-02 Kjell Ahlstedt <[email protected]> |
| 361 |
|
| 362 |
Surface docs: Use cairomm names where possible |
| 363 |
|
| 364 |
such as Cairo::ScaledFont::create() instead of cairo_scaled_font_create(). |
| 365 |
|
| 366 |
2022-02-02 Kjell Ahlstedt <[email protected]> |
| 367 |
|
| 368 |
Surface::set_device_scale() docs: Refer to Context::scale() |
| 369 |
|
| 370 |
The reference to cairo_translate() in the cairo_surface_set_device_scale() |
| 371 |
documentation must be wrong. See !22 |
| 372 |
|
| 373 |
Add @newin to set/get_device_scale() |
| 374 |
|
| 375 |
2022-01-18 Thomas Holder <[email protected]> |
| 376 |
|
| 377 |
Surface device scale convenience overloads |
| 378 |
|
| 379 |
2022-01-18 Thomas Holder <[email protected]> |
| 380 |
|
| 381 |
Wrapping surface device scale functions |
| 382 |
|
| 383 |
2021-11-10 Chun-wei Fan <[email protected]> |
| 384 |
|
| 385 |
build: Support Visual Studio 2022 |
| 386 |
|
| 387 |
Make these builds distinct from the Visual Studio 2019 builds. |
| 388 |
|
| 389 |
2021-08-26 Kjell Ahlstedt <[email protected]> |
| 390 |
|
| 391 |
CI: Add .gitlab-ci.yml |
| 392 |
|
| 393 |
2021-08-18 Kjell Ahlstedt <[email protected]> |
| 394 |
|
| 395 |
meson.build: Check if Perl is required for building documentation |
| 396 |
|
| 397 |
New versions of mm-common use the Python scripts doc_postprocess.py |
| 398 |
and doc_install.py instead of the Perl scripts doc-postprocess.pl and |
| 399 |
doc-install.pl when documentation is built. |
| 400 |
|
| 401 |
2021-06-11 Kjell Ahlstedt <[email protected]> |
| 402 |
|
| 403 |
Update examples/README |
| 404 |
|
| 405 |
2021-06-09 Kjell Ahlstedt <[email protected]> |
| 406 |
|
| 407 |
Surface::Type: Really deprecate WIN32 with CAIROMM_DISABLE_DEPRECATED |
| 408 |
|
| 409 |
2021-06-09 Kjell Ahlstedt <[email protected]> |
| 410 |
|
| 411 |
Update SaveGuard |
| 412 |
|
| 413 |
and add a test in tests/test-context.cc. Fixes #9 |
| 414 |
|
| 415 |
2021-06-09 Kjell Ahlstedt <[email protected]> |
| 416 |
|
| 417 |
Doxyfile.in: Add the @newin alias and CAIROMM_API= |
| 418 |
|
| 419 |
2021-06-08 Jason Rhinelander <[email protected]> |
| 420 |
|
| 421 |
Add Cairo::SaveGuard save/restore object |
| 422 |
|
| 423 |
See #9 |
| 424 |
|
| 425 |
2021-05-20 Kjell Ahlstedt <[email protected]> |
| 426 |
|
| 427 |
1.16.1 |
| 428 |
|
| 429 |
2021-05-18 Kjell Ahlstedt <[email protected]> |
| 430 |
|
| 431 |
Add dependencies to Doxygen tag files in subprojects |
| 432 |
|
| 433 |
Doxygen in a main project shall not be called before tag files have been |
| 434 |
created or updated in subprojects. |
| 435 |
|
| 436 |
2021-05-14 Kjell Ahlstedt <[email protected]> |
| 437 |
|
| 438 |
Fix build as subproject without building documentation |
| 439 |
|
| 440 |
* meson.build: If mm-common-get is not found in maintainer-mode |
| 441 |
with 'required: false', try with 'required: true'. |
| 442 |
Don't try to use tag_file, if documentation is not built. |
| 443 |
* docs/reference/meson.build: Don't use variables from modules |
| 444 |
that don't define doxytagfile. These are subprojects that don't build |
| 445 |
their documentation. |
| 446 |
|
| 447 |
2021-05-11 Chun-wei Fan <[email protected]> |
| 448 |
|
| 449 |
meson: Reorganize warnings on Visual Studio builds |
| 450 |
|
| 451 |
We can now drop the ignores for warnings C4251, C4273 and C4275 along with |
| 452 |
C4530, since our code and compiler flags should now make us free of them, |
| 453 |
since we use /EHsc to build our code and we are clean of classes that we |
| 454 |
export as a whole that derives from std::xxx classes. |
| 455 |
|
| 456 |
Ignore warning C4800, and warning C4127 in the examples, since these warnings |
| 457 |
are really spurious and safe to ignore as a whole. |
| 458 |
|
| 459 |
2021-05-11 Chun-wei Fan <[email protected]> |
| 460 |
|
| 461 |
MSVC_NMake/config-msvc.mak: Clean up compiler flags |
| 462 |
|
| 463 |
Since we eliminated the C4251, C4273 and C4275 warnings, don't ignore them |
| 464 |
along with C4530, since we are now using /EHsc. This will make the compiler |
| 465 |
flags a bit cleaner |
| 466 |
|
| 467 |
2021-05-11 Chun-wei Fan <[email protected]> |
| 468 |
|
| 469 |
cairomm/exception.h: Export Cairo::logic_error selectively |
| 470 |
|
| 471 |
Since this class derives std::logic_error, don't export the class as a whole |
| 472 |
but instead export its member methods as necessary on Windows. This will make |
| 473 |
the compiled DLL to not be locked in a single compiler/STL version, and will |
| 474 |
remove the compiler warnings C4251, C4273 and C4275 on Visual Studio. |
| 475 |
|
| 476 |
Also remove the workaround for Visual Studio 2013 since Visual Studio 2017 or |
| 477 |
later is required for cairomm master. |
| 478 |
|
| 479 |
2021-05-05 Kjell Ahlstedt <[email protected]> |
| 480 |
|
| 481 |
Subprojects can use meson.add_dist_script() if meson.version() >= 0.58.0 |
| 482 |
|
| 483 |
* meson.build: |
| 484 |
* docs/reference/meson.build: |
| 485 |
Call add_dist_script() in a subproject, if meson.version() >= 0.58.0. |
| 486 |
|
| 487 |
2021-04-07 Kjell Ahlstedt <[email protected]> |
| 488 |
|
| 489 |
Meson build: No implicit_include_directories |
| 490 |
|
| 491 |
2021-03-26 Kjell Ahlstedt <[email protected]> |
| 492 |
|
| 493 |
Meson build: No implicit_include_directories |
| 494 |
|
| 495 |
It shall not be possible to find a cairomm header file |
| 496 |
with #include <xxx.h> instead of #include <cairomm/xxx.h>. |
| 497 |
|
| 498 |
2021-03-16 Kjell Ahlstedt <[email protected]> |
| 499 |
|
| 500 |
Meson build: Make it possible to use cairomm as a subproject |
| 501 |
|
| 502 |
cairo and sigc++ can be subprojects of cairomm. |
| 503 |
|
| 504 |
2021-03-09 Chun-wei Fan <[email protected]> |
| 505 |
|
| 506 |
cairommconfig.h.*: Don't dllimport on MinGW |
| 507 |
|
| 508 |
This will fix warnings when building items using cairomm with MinGW/GCC. |
| 509 |
|
| 510 |
Please see: https://gitlab.gnome.org/GNOME/gtkmm/-/issues/90 |
| 511 |
|
| 512 |
2021-02-20 Kjell Ahlstedt <[email protected]> |
| 513 |
|
| 514 |
Surface::Type: Deprecate WIN32, add WIN32_SURFACE |
| 515 |
|
| 516 |
WIN32 can be a preprocessor macro. Fixes #26 |
| 517 |
|
| 518 |
2021-02-20 Kjell Ahlstedt <[email protected]> |
| 519 |
|
| 520 |
docs/reference/Doxyfile.in: Remove obsolete entries |
| 521 |
|
| 522 |
2021-02-19 Kjell Ahlstedt <[email protected]> |
| 523 |
|
| 524 |
tools/release-publish.sh: Add comments |
| 525 |
|
| 526 |
Add commented-out commands for signing the tarball, |
| 527 |
and uploading the detached signature file. See #25 |
| 528 |
|
| 529 |
2020-10-04 Kjell Ahlstedt <[email protected]> |
| 530 |
|
| 531 |
tools/doc-publish.sh, release-publish.sh: Exit on error |
| 532 |
|
| 533 |
2020-09-30 Kjell Ahlstedt <[email protected]> |
| 534 |
|
| 535 |
Add tools/doc-publish.sh and release-publish.sh |
| 536 |
|
| 537 |
Scripts that simplify releasing new versions of cairomm. |
| 538 |
|
| 539 |
2020-09-29 Kjell Ahlstedt <[email protected]> |
| 540 |
|
| 541 |
1.16.0 |
| 542 |
|
| 543 |
2020-09-29 Kjell Ahlstedt <[email protected]> |
| 544 |
|
| 545 |
Meson build: Fix versioning on macOS |
| 546 |
|
| 547 |
See https://github.com/libsigcplusplus/libsigcplusplus/pull/65 |
| 548 |
|
| 549 |
2020-09-29 Kjell Ahlstedt <[email protected]> |
| 550 |
|
| 551 |
Require cairo >= 1.12.0 |
| 552 |
|
| 553 |
Has been a requirement for a long time, but configure.ac |
| 554 |
and meson.build had not been updated. |
| 555 |
|
| 556 |
2020-09-12 Kjell Ahlstedt <[email protected]> |
| 557 |
|
| 558 |
Autotools builds: Create only .tar.xz tarballs |
| 559 |
|
| 560 |
This is what Meson does. Cairo does it when built with Autotools. |
| 561 |
|
| 562 |
2020-08-26 Kjell Ahlstedt <[email protected]> |
| 563 |
|
| 564 |
Remove RefPtrDeleter() |
| 565 |
|
| 566 |
It's right for C++ classes wrapping GObject subclasses in glibmm and |
| 567 |
gtkmm, but it is not right for wrappers in cairomm. |
| 568 |
|
| 569 |
Fixes #23 |
| 570 |
|
| 571 |
2020-08-14 Kjell Ahlstedt <[email protected]> |
| 572 |
|
| 573 |
tests: Fix tests in Autotools builds |
| 574 |
|
| 575 |
* build/ax_boost_base.m4: |
| 576 |
* build/ax_boost_unit_test_framework.m4: Newer versions have been fetched |
| 577 |
from www.gnu.org/software/autoconf-archive |
| 578 |
|
| 579 |
2020-08-13 Kjell Ahlstedt <[email protected]> |
| 580 |
|
| 581 |
tests: Don't include deprecated Boost header files |
| 582 |
|
| 583 |
2020-08-12 Kjell Ahlstedt <[email protected]> |
| 584 |
|
| 585 |
Add Context::get_source_for_surface() |
| 586 |
|
| 587 |
Fixes #5 |
| 588 |
|
| 589 |
2020-07-23 Chun-wei Fan <[email protected]> |
| 590 |
|
| 591 |
Update .gitignore |
| 592 |
|
| 593 |
We don't need to track generated files that are in under MSVC_NMake/ |
| 594 |
|
| 595 |
2020-07-23 Chun-wei Fan <[email protected]> |
| 596 |
|
| 597 |
NMake Makefiles: Use Meson-style DLL and .lib naming if requested |
| 598 |
|
| 599 |
To make things more consistent and less prone to confusion, if 'USE_MESON_LIBS' |
| 600 |
is specified in the NMake command line, build the DLLs and .lib's that are |
| 601 |
named like the Meson counterparts. Binaries built with Meson+Visual Studio |
| 602 |
and the ones that are built via NMake using 'USE_MESON_LIBS' are |
| 603 |
interchangeable, provided that they are built with the same Visual Studio |
| 604 |
version. |
| 605 |
|
| 606 |
2020-07-23 Chun-wei Fan <[email protected]> |
| 607 |
|
| 608 |
NMake Makefiles: Fix builds from release tarballs |
| 609 |
|
| 610 |
This avoids needlessly enerating cairommconfig.h and cairomm.rc, and when we do |
| 611 |
need to generate these files, we ensure that they always have the right version |
| 612 |
info in them. |
| 613 |
|
| 614 |
Also streamline the build process that this file generating is done in the |
| 615 |
'all' target, so that one does not need to use the -prep-git-build' target |
| 616 |
beforehand. |
| 617 |
|
| 618 |
2020-07-09 Chun-wei Fan <[email protected]> |
| 619 |
|
| 620 |
NMake Makefiles: Look for headers in $(PREFIX)\include also |
| 621 |
|
| 622 |
The needed headers can be in $(PREFIX)\include as well, so we ought to look for |
| 623 |
them there |
| 624 |
|
| 625 |
2020-07-09 Chun-wei Fan <[email protected]> |
| 626 |
|
| 627 |
NMake Makefiles: Support ARM64 Windows builds |
| 628 |
|
| 629 |
This will make the NMake Makefiles capable of building ARM64 binaries of |
| 630 |
cairomm, which can be used on Windows 10 on ARM systems. |
| 631 |
|
| 632 |
2020-06-29 Kjell Ahlstedt <[email protected]> |
| 633 |
|
| 634 |
docs/reference/: Update for Doxygen >= 1.8.16 |
| 635 |
|
| 636 |
* docs/reference/meson.build: Doxygen 1.8.16 and later does not store |
| 637 |
tag file names in the html files. This requires changes in meson.build |
| 638 |
and in doc-install.pl (in mm-common). Otherwise references to other modules |
| 639 |
won't be updated in the html files when they are installed. |
| 640 |
* docs/reference/Doxyfile.in: Remove PERL_PATH and MSCGEN_PATH. |
| 641 |
Doxygen since version 1.8.0 does not use them. |
| 642 |
|
| 643 |
2020-06-25 Chun-wei Fan <[email protected]> |
| 644 |
|
| 645 |
Meson/Visual Studio builds: Include toolset version by default |
| 646 |
|
| 647 |
This makes the built DLL and .lib's contain the toolset version if |
| 648 |
the build is carried out using Visual Studio 2017 or later, unless |
| 649 |
the 'msvc14x-parallel-installable' option is set to be false during |
| 650 |
configuration. |
| 651 |
|
| 652 |
The reasoning behind this change is that there may be subtle problems |
| 653 |
when, for instance, one tries to link to a Visual Studio 2017-built |
| 654 |
cairomm with Visual Studio 2019. This is unfortunate as Microsoft |
| 655 |
did try hard to make interoperating between binaries built with Visual |
| 656 |
Studio 2017 and 2019 as easy as possible in terms of ABI and API, but |
| 657 |
unfortunately this may hit the corner cases where this compatibility |
| 658 |
does not work. |
| 659 |
|
| 660 |
As the name suggests, this attempts to make Visual Studio 2017 |
| 661 |
and 2019 builds share a single set of underlying C DLLs easier, |
| 662 |
while avoiding possible breakages caused by such subtle differences. |
| 663 |
|
| 664 |
2020-06-16 Chun-wei Fan <[email protected]> |
| 665 |
|
| 666 |
NMake Makefiles: Use toolset version in DLL/.lib filenames |
| 667 |
|
| 668 |
We now use the toolset version ('vc141' for Visual Studio 2017 and 'vc142' for |
| 669 |
Visual Studio 2019) in the DLL anbd .lib filenames by default, to be consistent |
| 670 |
with what is now being done in the 'cairo-1-14' branch. |
| 671 |
|
| 672 |
If using the old naming convention is desired, a command line option |
| 673 |
'USE_COMPAT_LIBS' is added to facilitate such builds |
| 674 |
|
| 675 |
2020-06-05 Kjell Ahlstedt <[email protected]> |
| 676 |
|
| 677 |
README: Update with instructions for building cairomm |
| 678 |
|
| 679 |
2020-05-05 Chun-wei Fan <[email protected]> |
| 680 |
|
| 681 |
Drop gendef from the sources |
| 682 |
|
| 683 |
We are no longer using it, so just drop it from the source tree. |
| 684 |
|
| 685 |
2020-05-05 Chun-wei Fan <[email protected]> |
| 686 |
|
| 687 |
meson: Don't use gendef on Visual Studio |
| 688 |
|
| 689 |
Instead, we use the newly-added CAIROMM_API which is defined to be |
| 690 |
__declspec(dllexport) to export the symbols directly. |
| 691 |
|
| 692 |
This will also allow some cleanup in the Meson build files, as we do not |
| 693 |
need to differentiate how the cairomm library is built on different |
| 694 |
compilers. |
| 695 |
|
| 696 |
2020-05-05 Chun-wei Fan <[email protected]> |
| 697 |
|
| 698 |
NMake Makefiles: Stop using gendef.exe by |
| 699 |
|
| 700 |
Define CAIROMM_API as __declspec(dllexport) (when building) or |
| 701 |
__declspec(dllimport) (when using). |
| 702 |
|
| 703 |
This will enable us to reduce the size of the built cairomm DLL and |
| 704 |
.lib. |
| 705 |
|
| 706 |
2020-05-05 Chun-wei Fan <[email protected]> |
| 707 |
|
| 708 |
cairomm/*.h: Decorate public symbols with CAIROMM_API |
| 709 |
|
| 710 |
This include the public class definitions and function prototypes, so |
| 711 |
that we can use compiler directives to export these items. By doing so |
| 712 |
we will no longer need to use gendef.exe to export symbols for Visual |
| 713 |
Studio DLL builds. |
| 714 |
|
| 715 |
2020-05-05 Chun-wei Fan <[email protected]> |
| 716 |
|
| 717 |
cairommconfig.h.[in|meson]: Add CAIROMM_API |
| 718 |
|
| 719 |
This macro can be used to decorate public class and API prototypes, so |
| 720 |
that we can use it to export symbols with compiler directives, such as |
| 721 |
__declspec(dllexport) in the case of Visual Studio-style builds. |
| 722 |
|
| 723 |
We can even decide to not use it by keeping CAIROMM_API empty, such as |
| 724 |
in the case of building static libraries or when using GCC's |
| 725 |
autoexporting mechanism. |
| 726 |
|
| 727 |
2020-05-04 Kjell Ahlstedt <[email protected]> |
| 728 |
|
| 729 |
configure.ac: Substitute CAIROMM_EXTRA_LIBS during configuration |
| 730 |
|
| 731 |
CAIROMM_EXTRA_LIBS has been added to data/cairomm.pc.in. It's used only |
| 732 |
in Meson builds. During an Autotools build it must be replaced by an |
| 733 |
empty string. |
| 734 |
|
| 735 |
2020-04-30 Kjell Ahlstedt <[email protected]> |
| 736 |
|
| 737 |
Replace NULL by nullptr |
| 738 |
|
| 739 |
* cairomm/surface.cc: |
| 740 |
* tests/test-font-face.cc: |
| 741 |
* tests/test-scaled-font.cc: Replace NULL by nullptr |
| 742 |
* cairomm/surface.h: Remove the "#ifdef nil" section. It's not necessary. |
| 743 |
Cairomm-1.16 depends on libsigc++-3.0. Only libsigc++-2.0 defines nil. |
| 744 |
|
| 745 |
2020-04-29 Kjell Ahlstedt <[email protected]> |
| 746 |
|
| 747 |
Don't use zero as null pointer |
| 748 |
|
| 749 |
Turn on the -Wzero-as-null-pointer-constant warning when -Dwarnings=max |
| 750 |
or fatal. Replace 0 by nullptr where appropriate. |
| 751 |
|
| 752 |
2020-04-29 Kjell Ahlstedt <[email protected]> |
| 753 |
|
| 754 |
tests/test-scaled-font.cc: Remove an extra semicolon |
| 755 |
|
| 756 |
With -Dwarnings=fatal g++ reacts to such trifles. |
| 757 |
|
| 758 |
2020-04-29 Chun-wei Fan <[email protected]> |
| 759 |
|
| 760 |
meson: Allow linking to shared Boost::Test |
| 761 |
|
| 762 |
This adds an option to the Meson builds so that we can choose to use a |
| 763 |
shared build of Boost::Test if needed. |
| 764 |
|
| 765 |
2020-04-29 Chun-wei Fan <[email protected]> |
| 766 |
|
| 767 |
NMake: Fix building tests |
| 768 |
|
| 769 |
This will make the tests build and link with Visual Studio + Boost DLL |
| 770 |
builds... |
| 771 |
|
| 772 |
However, some more work is required to make the tests recognized by the |
| 773 |
Boost test framework, which will be in the next commit. |
| 774 |
|
| 775 |
2020-04-29 Chun-wei Fan <[email protected]> |
| 776 |
|
| 777 |
tests: Use Boost's automatic test registration |
| 778 |
|
| 779 |
This makes it easier for all if we are going to choose between building |
| 780 |
static or dynamic builds of Boost, which will be covered in the next |
| 781 |
commit. |
| 782 |
|
| 783 |
2020-04-29 Chun-wei Fan <[email protected]> |
| 784 |
|
| 785 |
tests: Fix building tests with FreeType but no FontConfig |
| 786 |
|
| 787 |
Cairo could have been built with FreeType support but has no FontConfig |
| 788 |
support, so we need to check for that too. |
| 789 |
|
| 790 |
Also allow building the tests on Windows even if FontConfig is not |
| 791 |
found, as a result. |
| 792 |
|
| 793 |
2020-04-29 Chun-wei Fan <[email protected]> |
| 794 |
|
| 795 |
test-font-face.cc: Fix build on Windows |
| 796 |
|
| 797 |
The code must be updated for the Windows bits as well, as per commit 715d9dd9 |
| 798 |
|
| 799 |
2020-04-29 Chun-wei Fan <[email protected]> |
| 800 |
|
| 801 |
NMake Makefiles: Speed up builds |
| 802 |
|
| 803 |
Just use 'md' to create the intermediate build directories, instead of calling |
| 804 |
nmake on the NMake Makefile to create these directories. This makes things |
| 805 |
faster by reducing the frequency that we need to create and read the file lists |
| 806 |
|
| 807 |
Fixes #22 |
| 808 |
|
| 809 |
2020-04-29 Chun-wei Fan <[email protected]> |
| 810 |
|
| 811 |
NMake Makefiles: Add rule to generate versioned files |
| 812 |
|
| 813 |
This will make building directly from a GIT checkout easier, by using PERL to |
| 814 |
read the configure.ac file to acquire the version info, and using this info to |
| 815 |
generate the full cairommconfig.h and cairomm.rc files that we need for our |
| 816 |
Visual Studio builds. |
| 817 |
|
| 818 |
This will also enable us to build from a Meson-generated source tarball, |
| 819 |
as we may well need to generate these files ourselves. |
| 820 |
|
| 821 |
2020-04-29 Chun-wei Fan <[email protected]> |
| 822 |
|
| 823 |
NMake Makefiles: Split outdir by toolset version |
| 824 |
|
| 825 |
This reduces the likelihood of accidently mixing binaries linked against |
| 826 |
different CRT versions. |
| 827 |
|
| 828 |
2020-04-29 Chun-wei Fan <[email protected]> |
| 829 |
|
| 830 |
NMake Makefiles: Support Meson-built libsigc++ |
| 831 |
|
| 832 |
This allows one to link to the correct .lib that is produced by the |
| 833 |
Meson builds of libsigc++ in an easier way, by using USE_MESON_LIBS. |
| 834 |
|
| 835 |
2020-04-29 Chun-wei Fan <[email protected]> |
| 836 |
|
| 837 |
NMake Makefiles: Use /utf-8 and /EHsc for the builds |
| 838 |
|
| 839 |
This makes builds more efficient and prevents warnings that are caused when |
| 840 |
attempting to build on an East Asian locale of Windows (which can indicate |
| 841 |
broken builds) |
| 842 |
|
| 843 |
2020-04-25 Chun-wei Fan <[email protected]> |
| 844 |
|
| 845 |
meson: Improve installing pkg-config files |
| 846 |
|
| 847 |
We need to search for the headers and/or functions manually if the pkg-config |
| 848 |
files for Cairo are not found. |
| 849 |
|
| 850 |
2020-04-25 Chun-wei Fan <[email protected]> |
| 851 |
|
| 852 |
meson: Improve cairomm pkg-config file |
| 853 |
|
| 854 |
We only put Cairo as a required package if Cairo was found via pkg-config, but |
| 855 |
if Cairo was found manually, we make the pkg-config file link to the cairo |
| 856 |
library directly (-lcairo). |
| 857 |
|
| 858 |
2020-04-25 Chun-wei Fan <[email protected]> |
| 859 |
|
| 860 |
Meson: Define _USE_MATH_DEFINES on Windows |
| 861 |
|
| 862 |
Visual Studio and some MinGW versions require defining this to use M_PI |
| 863 |
|
| 864 |
2020-04-25 Chun-wei Fan <[email protected]> |
| 865 |
|
| 866 |
meson: Improve Cairo check |
| 867 |
|
| 868 |
The Visual Studio build files for Cairo do not generate pkg-config files for |
| 869 |
us, so we need to look for the cairo library and the header files. Since we |
| 870 |
are doing this for Visual Studio builds only, we want to look for both cairo.h |
| 871 |
and cairo-win32.h. |
| 872 |
|
| 873 |
2020-04-25 Kjell Ahlstedt <[email protected]> |
| 874 |
|
| 875 |
Add support for building cairomm with Meson |
| 876 |
|
| 877 |
cairomm can be built with either Autotools or Meson. |
| 878 |
|
| 879 |
Fixes #20 |
| 880 |
|
| 881 |
2020-04-22 Kjell Ahlstedt <[email protected]> |
| 882 |
|
| 883 |
tests: Update the source code |
| 884 |
|
| 885 |
2020-04-22 Kjell Ahlstedt <[email protected]> |
| 886 |
|
| 887 |
data/: Rename the .pc.in files |
| 888 |
|
| 889 |
* configure.ac: Update the call to AC_CONFIG_FILES() with the new file names. |
| 890 |
* data/*.pc.in: Don't include the API version (1.16) in the file names. |
| 891 |
This makes it easier to change the API name in the future. This is how .pc.in |
| 892 |
files are named in libsigc++, glibmm, etc. |
| 893 |
The API version is still included in the names of the generated .pc files. |
| 894 |
|
| 895 |
2020-04-22 Chun-wei Fan <[email protected]> |
| 896 |
|
| 897 |
Sources: Remove #define _USE_MATH_DEFINES |
| 898 |
|
| 899 |
We now pass in /D_USE_MATH_DEFINES in our NMake compiler flags, so |
| 900 |
there is no need to define them in the sources. This will silence |
| 901 |
C4005 warnings (macro redefinition) in Visual Studio builds. |
| 902 |
|
| 903 |
Fixes #7 |
| 904 |
|
| 905 |
2020-04-22 Chun-wei Fan <[email protected]> |
| 906 |
|
| 907 |
build: Remove the Visual Studio projects |
| 908 |
|
| 909 |
We now use the NMake Makefiles to build cairomm, so we can now remove |
| 910 |
the Visual Studio projects. |
| 911 |
|
| 912 |
2020-04-22 Chun-wei Fan <[email protected]> |
| 913 |
|
| 914 |
build: Add NMake Makefiles for MSVC builds |
| 915 |
|
| 916 |
This adds a set of NMake Makefiles to build cairomm, and its example |
| 917 |
programs and its test programs (the test programs are not buildable |
| 918 |
in their current state). Visual Studio 2017 is still the minimum |
| 919 |
required version of Visual Studio required, with verion 15.8.0 or |
| 920 |
later recommended. |
| 921 |
|
| 922 |
The NMake Makefiles will consume cairomm/filelist.am, so that additions |
| 923 |
and removal of sources will only need to be done there, which will |
| 924 |
reduce the likelyhood of the MSVC build files getting out-of-date. |
| 925 |
|
| 926 |
Dist only the NMake Makefiles, and also dist the gendef, |
| 927 |
cairommconfig.h and cairomm.rc(.in) as we did before. The Visual |
| 928 |
Studio projects will be dropped in the next commit. |
| 929 |
|
| 930 |
2020-04-22 Chun-wei Fan <[email protected]> |
| 931 |
|
| 932 |
build: Rename MSVC_Net2017 to MSVC_NMake |
| 933 |
|
| 934 |
This is to prepare for the transition of the Visual Studio build files |
| 935 |
into NMake Makefiles rather than the Visual Studio project files, to |
| 936 |
ease future maintenance. |
| 937 |
|
| 938 |
2020-04-21 Kjell Ahlstedt <[email protected]> |
| 939 |
|
| 940 |
Build: Fix silent builds |
| 941 |
|
| 942 |
* configure.ac: Pass yes to AM_SILENT_RULES, thus enabling silent builds. |
| 943 |
* docs/reference/Doxyfile.in: Set QUIET=YES. |
| 944 |
Update for doxygen 1.8.11 (not necessary for silent builds). |
| 945 |
|
| 946 |
2018-04-22 Ting-Wei Lan <[email protected]> |
| 947 |
|
| 948 |
configure.ac: Require C++17. |
| 949 |
|
| 950 |
Because the lastest (unstable) libsigc++-3.0 release requires C++17. |
| 951 |
|
| 952 |
See |
| 953 |
https://bugs.freedesktop.org/show_bug.cgi?id=106172 |
| 954 |
|
| 955 |
2017-08-25 Murray Cumming <[email protected]> |
| 956 |
|
| 957 |
1.15.5 |
| 958 |
|
| 959 |
2017-05-02 John Ralls <[email protected]> |
| 960 |
|
| 961 |
enums.h: Guard the FT-specific include and the enum with an ifdef. |
| 962 |
|
| 963 |
To fix the build if there is no cairo-ft present. Bug #100894. |
| 964 |
|
| 965 |
2017-04-30 John Ralls <[email protected]> |
| 966 |
|
| 967 |
configure.ac: Require C++14, because libsigc++-3.0 does. |
| 968 |
|
| 969 |
Bug 100884 - Configure requires C++11 with no extensions... |
| 970 |
|
| 971 |
but clang detects C++14 features in libsigc++ headers. |
| 972 |
|
| 973 |
2017-04-26 Murray Cumming <[email protected]> |
| 974 |
|
| 975 |
1.15.4 |
| 976 |
|
| 977 |
2017-04-19 Murray Cumming <[email protected]> |
| 978 |
|
| 979 |
Change Cairo::RegionOverlap enum to Cairo::Region::Overlap. |
| 980 |
|
| 981 |
And change this from an old-style enum to a C++11 enum class. |
| 982 |
|
| 983 |
2017-04-19 Murray Cumming <[email protected]> |
| 984 |
|
| 985 |
Change Cairo::PatternType enum to Cairo::Pattern::Type. |
| 986 |
|
| 987 |
And change this from an old-style enum to a C++11 enum class. |
| 988 |
|
| 989 |
2017-04-19 Murray Cumming <[email protected]> |
| 990 |
|
| 991 |
Change Cairo::FontWeight enum to Cairo::ToyFontFace::Weight. |
| 992 |
|
| 993 |
And change this from an old-style enum to a C++11 enum class. |
| 994 |
|
| 995 |
2017-04-19 Murray Cumming <[email protected]> |
| 996 |
|
| 997 |
Change Cairo::FontSlant enum to Cairo::ToyFontFace::Slant. |
| 998 |
|
| 999 |
And change this from an old-style enum to a C++11 enum class. |
| 1000 |
|
| 1001 |
2017-04-19 Murray Cumming <[email protected]> |
| 1002 |
|
| 1003 |
Change Cairo::SurfaceType enum to Cairo::Surface::Type. |
| 1004 |
|
| 1005 |
And change this from an old-style enum to a C++11 enum class. |
| 1006 |
|
| 1007 |
2017-04-19 Murray Cumming <[email protected]> |
| 1008 |
|
| 1009 |
Change Cairo::HintMetrics enum to Cairo::FontOptions::HintMetrics. |
| 1010 |
|
| 1011 |
And change this from an old-style enum to a C++11 enum class. |
| 1012 |
|
| 1013 |
2017-04-19 Murray Cumming <[email protected]> |
| 1014 |
|
| 1015 |
Change Cairo::HintStyle enum to Cairo::FontOptions::HintStyle. |
| 1016 |
|
| 1017 |
And change this from an old-style enum to a C++11 enum class. |
| 1018 |
|
| 1019 |
2017-04-19 Murray Cumming <[email protected]> |
| 1020 |
|
| 1021 |
Change Cairo::Filter enum to Cairo::SurfacePattern::Filter. |
| 1022 |
|
| 1023 |
And change this from an old-style enum to a C++11 enum class. |
| 1024 |
|
| 1025 |
2017-04-19 Murray Cumming <[email protected]> |
| 1026 |
|
| 1027 |
Change Cairo::Extend enum to Cairo::Pattern::Extend. |
| 1028 |
|
| 1029 |
And change this from an old-style enum to a C++11 enum class. |
| 1030 |
|
| 1031 |
2017-04-19 Murray Cumming <[email protected]> |
| 1032 |
|
| 1033 |
Change Cairo::Format enum to Cairo::Surface::Format. |
| 1034 |
|
| 1035 |
And change this from an old-style enum to a C++11 enum class. |
| 1036 |
|
| 1037 |
2017-04-19 Murray Cumming <[email protected]> |
| 1038 |
|
| 1039 |
Change Cairo::DeviceType enum to Cairo::Device::DeviceType. |
| 1040 |
|
| 1041 |
And change this from an old-style enum to a C++11 enum class. |
| 1042 |
|
| 1043 |
2017-04-19 Murray Cumming <[email protected]> |
| 1044 |
|
| 1045 |
Change Cairo::LineJoin enum to Cairo::Context::LineJoin. |
| 1046 |
|
| 1047 |
And change this from an old-style enum to a C++11 enum class. |
| 1048 |
|
| 1049 |
2017-04-19 Murray Cumming <[email protected]> |
| 1050 |
|
| 1051 |
Change Cairo::LineCap enum to Cairo::Context::LineCap. |
| 1052 |
|
| 1053 |
And change this from an old-style enum to a C++11 enum class. |
| 1054 |
|
| 1055 |
2017-04-19 Murray Cumming <[email protected]> |
| 1056 |
|
| 1057 |
Change Cairo::FillRule enum to Cairo::Context::FillRule. |
| 1058 |
|
| 1059 |
And change this from an old-style enum to a C++11 enum class. |
| 1060 |
|
| 1061 |
2017-04-19 Murray Cumming <[email protected]> |
| 1062 |
|
| 1063 |
Change Cairo::Operator enum to Cairo::Context::Operator. |
| 1064 |
|
| 1065 |
And change this from an old-style enum to a C++11 enum class. |
| 1066 |
|
| 1067 |
2017-03-22 Chun-wei Fan <[email protected]> |
| 1068 |
|
| 1069 |
Visual Studio builds: Require Visual Studio 2017 |
| 1070 |
|
| 1071 |
cairomm 1.16 requires libsigc++-3.0, which requires C++-14 features that |
| 1072 |
are supported with Visual Studio 2017 or later, so update the projects |
| 1073 |
and README files accordingly. Also update the DLL version as the ABI |
| 1074 |
version was updated for 1.16. |
| 1075 |
|
| 1076 |
Also, use the property sheets to define the version of libsigc++ so that |
| 1077 |
it is easier to update it in case we need to in the future. |
| 1078 |
|
| 1079 |
Bug 100210 |
| 1080 |
|
| 1081 |
2017-03-22 Chun-wei Fan <[email protected]> |
| 1082 |
|
| 1083 |
Win32: Remove leftovers from removing deprecated Win32::create() |
| 1084 |
|
| 1085 |
The removal of this member function missed out the implementation in |
| 1086 |
win32_surface.cc, causing builds to break on Visual Studio at least. |
| 1087 |
|
| 1088 |
Bug 100210. |
| 1089 |
|
| 1090 |
2016-12-13 Murray Cumming <[email protected]> |
| 1091 |
|
| 1092 |
1.15.3 |
| 1093 |
|
| 1094 |
2016-12-09 Kalev Lember <[email protected]> |
| 1095 |
|
| 1096 |
Fix the build with MinGW headers |
| 1097 |
|
| 1098 |
Guard _USE_MATH_DEFINES with _WIN32 instead of _MSC_VER as it is needed |
| 1099 |
for MinGW builds as well. While at this, also remove a duplicate version |
| 1100 |
of the exact same define a few lines below. |
| 1101 |
|
| 1102 |
https://bugs.freedesktop.org/show_bug.cgi?id=92112 |
| 1103 |
|
| 1104 |
2016-12-07 Murray Cumming <[email protected]> |
| 1105 |
|
| 1106 |
RefPtr: Make this an alias for shared_ptr<> instead. |
| 1107 |
|
| 1108 |
Specifying a Deleter in make_refptr_for_instance(). |
| 1109 |
|
| 1110 |
2016-12-07 Murray Cumming <[email protected]> |
| 1111 |
|
| 1112 |
Add and use make_refptr_for_instance(). |
| 1113 |
|
| 1114 |
2016-12-07 Murray Cumming <[email protected]> |
| 1115 |
|
| 1116 |
Context: Remove unnecessary const casts. |
| 1117 |
|
| 1118 |
2016-12-07 Murray Cumming <[email protected]> |
| 1119 |
|
| 1120 |
1.15.2 |
| 1121 |
|
| 1122 |
2016-12-02 Murray Cumming <[email protected]> |
| 1123 |
|
| 1124 |
Remove deprecated API. |
| 1125 |
|
| 1126 |
2016-12-02 Murray Cumming <[email protected]> |
| 1127 |
|
| 1128 |
Remove old API that takes cairo_matrix_t*. |
| 1129 |
|
| 1130 |
2016-11-15 Murray Cumming <[email protected]> |
| 1131 |
|
| 1132 |
1.15.1 |
| 1133 |
|
| 1134 |
2016-11-15 Murray Cumming <[email protected]> |
| 1135 |
|
| 1136 |
NEWS entry for 1.31.1 (from cairomm-1-14 branch) |
| 1137 |
|
| 1138 |
2016-11-15 Murray Cumming <[email protected]> |
| 1139 |
|
| 1140 |
NEWS entyr for 1.12.2 (from cairomm-1-12 branch) |
| 1141 |
|
| 1142 |
2016-11-15 Murray Cumming <[email protected]> |
| 1143 |
|
| 1144 |
NEWS entry for 1.12.1 (from cairomm-1-12 branch) |
| 1145 |
|
| 1146 |
2016-11-15 Murray Cumming <[email protected]> |
| 1147 |
|
| 1148 |
Make the ABI cairomm-1.16 instead of cairomm-1.14 |
| 1149 |
|
| 1150 |
So we can have one more stable release cycle to get a little new API |
| 1151 |
out before the (parallel-installing) ABI break. |
| 1152 |
|
| 1153 |
2016-11-11 Murray Cumming <[email protected]> |
| 1154 |
|
| 1155 |
Use libsigc++-3.0 instead of libsigc++-2.0 |
| 1156 |
|
| 1157 |
2016-11-11 Murray Cumming <[email protected]> |
| 1158 |
|
| 1159 |
Change ABI from cairomm-1.0 to cairomm-1.14 |
| 1160 |
|
| 1161 |
2016-04-10 Murray Cumming <[email protected]> |
| 1162 |
|
| 1163 |
C++11: RefPtr: Make operator bool explicit. |
| 1164 |
|
| 1165 |
See https://bugzilla.gnome.org/show_bug.cgi?id=626858#c4 |
| 1166 |
|
| 1167 |
2016-04-10 Murray Cumming <[email protected]> |
| 1168 |
|
| 1169 |
RecordingSurface: Correct some whitespace. |
| 1170 |
|
| 1171 |
2016-04-10 Jason Rhinelander <[email protected]> |
| 1172 |
|
| 1173 |
Added C++ wrapper around cairo_recording_surface |
| 1174 |
|
| 1175 |
Bug #121359 |
| 1176 |
|
| 1177 |
2016-02-09 Murray Cumming <[email protected]> |
| 1178 |
|
| 1179 |
C++11: Use override keyword on destructors. |
| 1180 |
|
| 1181 |
2015-11-23 Murray Cumming <[email protected]> |
| 1182 |
|
| 1183 |
RefPtr: Use nullptr instead of 0. |
| 1184 |
|
| 1185 |
2015-09-21 Murray Cumming <[email protected]> |
| 1186 |
|
| 1187 |
1.12.0 |
| 1188 |
|
| 1189 |
2015-09-21 Murray Cumming <[email protected]> |
| 1190 |
|
| 1191 |
RefPtr: Use noexcept, as in Glib::RefPtr. |
| 1192 |
|
| 1193 |
2015-09-10 Chun-wei Fan <[email protected]> |
| 1194 |
|
| 1195 |
cairomm/exception.h: Allow Build on Visual Studio 2013 |
| 1196 |
|
| 1197 |
Visual Studio 2013 has one catch for its C++-11 support: It does |
| 1198 |
not support noexcept, but has its own _NOEXCEPT for the same purpose. |
| 1199 |
Add a define for it, while defining the _ALLOW_KEYWORD_MACROS as newer |
| 1200 |
Visual Studio Versions do not allow one to define known keywords, even if |
| 1201 |
it is not supported, by default. |
| 1202 |
|
| 1203 |
2015-09-10 Chun-wei Fan <[email protected]> |
| 1204 |
|
| 1205 |
MSVC Builds: Support Visual Studio 2013 (and later) Only |
| 1206 |
|
| 1207 |
This removes the Visual Studio 2005 and 2008 projects, and updates |
| 1208 |
the Visual Studio 2010 projects to become 2013 projects, as only |
| 1209 |
Visual Studio 2013 and later support enough of C++-11 to build |
| 1210 |
cairomm in its current state. |
| 1211 |
|
| 1212 |
Also update the README in MSVC_Net2013/ to reflect on this situation. |
| 1213 |
|
| 1214 |
2015-08-21 Murray Cumming <[email protected]> |
| 1215 |
|
| 1216 |
MSVC_Net2010/filelist.am: Correct the .props filenames |
| 1217 |
|
| 1218 |
2015-08-20 Chun-wei Fan <[email protected]> |
| 1219 |
|
| 1220 |
Overhaul The Visual Studio 2010 Projects |
| 1221 |
|
| 1222 |
Like the Visual Studio 2008 Projects, give the Visual Studio 2010 Projects |
| 1223 |
an overhaul by using property sheets to consolidate commonly-used items, |
| 1224 |
and moving all the projects to MSVC_Net2010, so that they can be more easily |
| 1225 |
maintained. |
| 1226 |
|
| 1227 |
https://bugs.freedesktop.org/show_bug.cgi?id=84030 |
| 1228 |
|
| 1229 |
2015-08-20 Chun-wei Fan <[email protected]> |
| 1230 |
|
| 1231 |
Update and Overhaul the Visual Studio 2008 Projects |
| 1232 |
|
| 1233 |
Move all the projects to MSVC_Net2008/, and add property sheets for the |
| 1234 |
projects so that commonly-used items can be consolidated and referred from |
| 1235 |
the projects, which will help simplify future maintenance. Also remove |
| 1236 |
items from the projects that aren't really needed, as they add quite a bit |
| 1237 |
of clutter. Add the newly-added source files to the cairomm project as |
| 1238 |
well, as the cairomm project has bit rotted a little. |
| 1239 |
|
| 1240 |
https://bugs.freedesktop.org/show_bug.cgi?id=84030 |
| 1241 |
|
| 1242 |
2015-08-20 Chun-wei Fan <[email protected]> |
| 1243 |
|
| 1244 |
fontface/fontoption: Check for CAIRO_HAS_FC_FONT |
| 1245 |
|
| 1246 |
This updates the fontface and fontoptions sources so that they will check |
| 1247 |
for whether Cairo was built with FontConfig (in addition to FreeType) so |
| 1248 |
that cairomm would still build when we have Cairo built with FreeType but |
| 1249 |
without FontConfig, which for example may well be the case on Windows |
| 1250 |
builds. |
| 1251 |
|
| 1252 |
https://bugs.freedesktop.org/show_bug.cgi?id=84033 |
| 1253 |
|
| 1254 |
2015-08-20 Murray Cumming <[email protected]> |
| 1255 |
|
| 1256 |
Add TODO about using std::shared_ptr<> instead. |
| 1257 |
|
| 1258 |
2015-08-20 Murray Cumming <[email protected]> |
| 1259 |
|
| 1260 |
RefPtr: Add move constructors and move operator=(). |
| 1261 |
|
| 1262 |
Roughly based on the same changes in Glib::RefPtr<>. |
| 1263 |
|
| 1264 |
2015-08-12 Murray Cumming <[email protected]> |
| 1265 |
|
| 1266 |
1.11.4 |
| 1267 |
|
| 1268 |
2015-07-31 Murray Cumming <[email protected]> |
| 1269 |
|
| 1270 |
C++11: Use = delete instead of private constructors. |
| 1271 |
|
| 1272 |
2015-07-31 Murray Cumming <[email protected]> |
| 1273 |
|
| 1274 |
C++11: Use of nullptr. |
| 1275 |
|
| 1276 |
2015-07-31 Murray Cumming <[email protected]> |
| 1277 |
|
| 1278 |
C++11: Use auto. |
| 1279 |
|
| 1280 |
2015-07-31 Murray Cumming <[email protected]> |
| 1281 |
|
| 1282 |
C++11: Use the override keyword. |
| 1283 |
|
| 1284 |
2015-07-31 Murray Cumming <[email protected]> |
| 1285 |
|
| 1286 |
C++11: Use noexcept instead of throw(). |
| 1287 |
|
| 1288 |
2015-07-31 Murray Cumming <[email protected]> |
| 1289 |
|
| 1290 |
configure.ac: Add some more warnings for --enable-warnings=fatal. |
| 1291 |
|
| 1292 |
Not using -Wshadow because that breaks the build: |
| 1293 |
matrix.cc:28:80: error: declaration of 'y0' shadows a member of 'this' [-Werror=shadow] |
| 1294 |
Matrix::Matrix(double xx, double yx, double xy, double yy, double x0, double y0) |
| 1295 |
|
| 1296 |
2015-07-31 Murray Cumming <[email protected]> |
| 1297 |
|
| 1298 |
configure.ac: Avoid deprecated libsigc++ API. |
| 1299 |
|
| 1300 |
No code changes were necessary. |
| 1301 |
|
| 1302 |
2015-07-31 Murray Cumming <[email protected]> |
| 1303 |
|
| 1304 |
Use (and require) C++11. |
| 1305 |
|
| 1306 |
And use the latest version of libsigc++, which also requires C++11. |
| 1307 |
|
| 1308 |
2014-04-09 David Weiß <[email protected]> |
| 1309 |
|
| 1310 |
Update MSVC.Net 2010 project files. |
| 1311 |
|
| 1312 |
https://bugs.freedesktop.org/show_bug.cgi?id=76820 |
| 1313 |
|
| 1314 |
2014-02-21 Povilas Kanapickas <[email protected]> |
| 1315 |
|
| 1316 |
Wrap cairo script device and script surface APIs |
| 1317 |
|
| 1318 |
2014-02-21 Povilas Kanapickas <[email protected]> |
| 1319 |
|
| 1320 |
Wrap FtFontFace::{get,set,unset}_synthesize |
| 1321 |
|
| 1322 |
2014-02-21 Povilas Kanapickas <[email protected]> |
| 1323 |
|
| 1324 |
Remove no longer useful .cvsignore files |
| 1325 |
|
| 1326 |
2014-02-11 Murray Cumming <[email protected]> |
| 1327 |
|
| 1328 |
Updating version to odd number for git. |
| 1329 |
|
| 1330 |
2014-02-11 Murray Cumming <[email protected]> |
| 1331 |
|
| 1332 |
1.11.2, because we use even micros for releases. |
| 1333 |
|