2026-06-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  1.19.1

2026-05-30  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  cairomm.h: Add the Basic Usage section

2026-03-21  hana-kami  <1361509590@qq.com>

  Fix memory leak in Context::pop_group() due to double reference count

2026-01-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: Don't require the 'dot' command

  Make it possible to build documentation without the dot command.
  Set the HAVE_DOT option in Doxyfile during configuration.
  In Autotools builds it's still unconditionally YES.
  The inheritance diagrams don't look as nice without the dot
  command from the GraphViz package.

2026-01-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Install packages that cairomm's test programs require

  and don't test subprojects.

2026-01-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Update tools/release-publish.sh

  Describe how to make a release instead of referring to wiki.gnome.org.
  Make checksum with sha256sum instead of sha1sum.

2026-01-02  Chun-wei Fan  <fanc999@yahoo.com.tw>

  NMake Makefiles: Make build process more robust

  In order to generate the object/executable lists for our build, we generate a
  temporary makefile snippet and include it immediately to carry out the build,
  but this poses an issue when a different toolchain carry out the build using
  NMake.
  
  This makes the snippet use the toolset version, config and target arch for the
  build which should greatly improve the situation without adding much complexity

2026-01-02  Chun-wei Fan  <fanc999@yahoo.com.tw>

  NMake Makefiles: Build path-iter example

2026-01-02  Chun-wei Fan  <fanc999@yahoo.com.tw>

  MSVC-Builds.md: Update build documentation for NMake

  Make the build options that were added for NMake known to people

2026-01-02  Chun-wei Fan  <fanc999@yahoo.com.tw>

  NMake Makefiles: Allow specifying paths for dependencies

  Add ability to set base, Cairo, GLib, libsigc++ (SIGC), FreeType, FontConfig
  (FC), and Boost, paths for includes and libs to add more flexibility to the
  build files, if needed.
  
  One can pass <dependency>_INCLUDEDIR and <dependency>_LIBDIR in addition to
  PREFIX and the all-encompassing BASE_INCLUDEDIR and BASE_LIBDIR to help the
  compiler and linker locate the header and .lib files without tinkering with
  %INCLUDE% and %LIB%, if needed.

2026-01-02  Chun-wei Fan  <fanc999@yahoo.com.tw>

  MSVC-Builds.md: Add info for VS2026 builds

2026-01-02  Chun-wei Fan  <fanc999@yahoo.com.tw>

  NMake Makefiles: Make VS2026 builds disctinct from VS2022

  Set the toolset version to be 'vc145' when the compiler version is 19.50 or
  later.
  
  Also drop some cruft as VS2017 or later is required.

2026-01-02  Chun-wei Fan  <fanc999@yahoo.com.tw>

  meson.build: Make VS2026 builds distinct from VS2022 builds

  Use the compiler version, which is for 19.50, for VS2026, and set the toolset
  version to be 'vc145' for such builds.

2025-12-29  Chun-wei Fan  <fanc999@yahoo.com.tw>

  path.h: Mark Cairo::Path::[Element|const_iterator] for export

  These sub-classes need to marked separately for export for Visual Studio
  builds

2025-10-10  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  1.19.0

2025-10-10  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  tools/test_scripts: Add testheaders.sh and testmmh.sh

  Similar to the corresponding files in glibmm.

2025-10-10  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  cairomm.h: Add missing #include lines

2025-10-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  enum FtSynthesize: Deprecate FT_SYNTHESIZE_BOLT, add FT_SYNTHESIZE_BOLD

2025-10-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Docs: Add links to the text-rotate and mapped-surface examples

  * cairomm/fontface.h: Add @example text-rotate.cc.
  * cairomm/surface.h: Add @example mapped-surface.cc

2025-10-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Wrap mesh pattern API

  * cairomm/context.cc: get_source() can create a MeshPattern.
  * cairomm/filelist.am:
  * cairomm/meson.build: Add mesh_pattern.cc and mesh_pattern.h.
  * cairomm/pattern.h: Add enumerator Pattern::Type::MESH.
  * cairomm/mesh_pattern.[cc|h]: New files.
  
  This patch is an updated version of a patch by
  Povilas Kanapickas <povilas@radix.lt> from 2014.
  Fixes #8

2025-10-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Wrap Surface member functions that were new in cairo 1.12

  * cairomm/surface.[cc|h]: Add create_similar_image(),
  supports_mime_type(), map_to_image(), class MappedImageSurface.
  * examples/Makefile.am:
  * examples/meson.build: Add examples/surfaces/mapped-surface.cc.
  * examples/surfaces/mapped-surface.cc: New file.
  
  This patch is an updated version of a patch by
  Povilas Kanapickas <povilas@radix.lt> from 2014.
  See #8

2025-10-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Wrap Xlib device API

  * cairomm/filelist.am:
  * cairomm/meson.build: Add new .h and .cc files.
  * cairomm/surface.cc: get_device() can create an XlibDevice.
  * cairomm/xlib_device.[cc|h]: New files.
  
  This patch is an updated version of a patch by
  Povilas Kanapickas <povilas@radix.lt> from 2014.
  See #8

2025-10-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Wrap XCB device and XCB surface APIs

  * cairomm/filelist.am: Add new .h and .cc files.
  * cairomm/meson.build: Generate and install cairomm-xcb-1.16.pc if
  cairo supports cairo-xcb. Add new .h and .cc files.
  * configure.ac: Generate and install cairomm-xcb-1.16.pc if cairo
  supports cairo-xcb.
  * cairomm/context.cc: get_target() and get_group_target() can create
  an XcbSurface.
  * cairomm/surface.cc: get_device() can create an XcbDevice.
  * docs/reference/Doxyfile.in: Define CAIRO_HAS_XCB_SURFACE.
  * data/cairomm-xcb.pc.in: New file. It's used only in Autotools builds.
  Meson does not use it.
  * cairomm/xcb_device.[cc|h]:
  * cairomm/xcb_surface.[cc|h]: New files.
  
  This patch is an updated version of a patch by
  Povilas Kanapickas <povilas@radix.lt> from 2014 (11 years ago)
  See #8

2025-10-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add .pc files for cairomm-fc and cairomm-script

  * cairomm/meson.build:
  * configure.ac: Generate and install cairomm-fc-1.16.pc and
  cairomm-script-1.16.pc if cairo supports cairo-fc and cairo-script.
  * cairomm/script.h:
  * cairomm/script_surface.h: Note that cairo must have been compiled
  with script support.
  * cairomm/surface.h: Note that cairo does not support GlitzSurface.
  * docs/reference/Doxyfile.in: Define CAIRO_HAS_FC_FONT and
  CAIRO_HAS_SCRIPT_SURFACE.
  * data/cairomm-fc.pc.in:
  * data/cairomm-script.pc.in: New files. They are used only in
  Autotools builds. Meson does not use them.

2025-10-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Replace Path::create() by Context::copy_path[_flat]2()

  * cairomm/context.[cc|h]: Add copy_path2() and copy_path_flat2().
  * cairomm/path.[cc|h]: Remove create(). It has not been included
  in a stable cairomm version.
  * examples/path-iter/path-iter.cc: Replace calls to Path::create().

2025-10-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Use ubuntu:latest

  Problem using ubuntu:rolling. Ubuntu 24.10 (oracular) is
  sometimes used. It does not work (perhaps not updated any more).
  Should be Ubuntu 25.04 (plucky).

2025-10-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add Path iterator

  * cairomm/context.[cc|h]: Deprecate copy_path() and copy_path_flat().
  * cairomm/path.[cc|h]: Add create(), begin(), cbegin(), end(), cend(),
  get_status(), enum Path::ElementType, class Path::Element,
  class Path::const_iterator.
  * examples/path-iter/path-iter.cc: New file.
  * examples/Makefile.am:
  * examples/meson.build: Add path-iter/path-iter.cc.
  
  Based on a patch by Jonathon Jongsma from 2006 (19 years ago!)
  Fixes #2

2025-09-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: Use the Python installation that Meson uses

  and remove the unused Meson variable cpp_compiler_id.
  See glibmm!67 concerning Python installation.

2025-08-20  Benjamin Gilbert  <bgilbert@backtick.net>

  meson: use SPDX expression for license

  This is the recommended format.

2025-06-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: License is Lesser GPL 2.1

2025-04-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: Better detection of MSVC-like compilers

  Treat all compilers with MSVC-like argument syntax the same.
  Use cpp_compiler.get_define('_MSC_VER') instead of
  cpp_compiler.version() to check compiler version.
  Suggested by Tim-Philipp Müller and Chun-wei Fan.
  Fixes #32, see also !30

2025-04-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Change license info to mention Lesser GPL 2.1 instead of Library GPL 2

  The GNU Library General Public License has been superseded by
  the GNU Lesser General Public License.
  https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html
  
  Remove obsolete FSF (Free Software Foundation) address.

2025-02-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: Add install_tag keyword argument

2025-02-05  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Publish the generated cairomm-1.16.tag file

  and use libsigc++'s published tag file.
  The *-doc modules don't install the tag files.

2024-12-29  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Context documentation: Fix enum names

  Cairo::[Operator,FillRule,LineCap,LineJoin] ->
  Cairo::Context::[Operator,FillRule,LineCap,LineJoin]

2024-09-03  Julia DeMille  <me@jdemille.com>

  Meson: stop warning from probing for features

2024-09-03  Julia DeMille  <me@jdemille.com>

  Meson: require normal find for cairo when subproject

2024-08-31  Julia DeMille  <me@jdemille.com>

  fix(meson): detect cl-like compilers

2024-07-20  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: Use Meson's pkgconfig module

  instead of using the *.pc.in templates.
  
  Require meson >= 0.62. Remove the can_add_dist_script variable.
  It's unnecessary when the meson version >= 0.58.
  
  Simplify the calls to dependency().get_variable().
  Possible when meson version >= 0.51.

2024-07-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Require python3 >= 3.7

  That's what Meson requires.

2024-07-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  docs/reference/Doxyfile.in: Remove obsolete entries

2024-03-15  Benjamin A. Beasley  <code@musicinmybrain.net>

  Fix outdated FSF mailing address in COPYING

  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.

2024-01-15  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build, data/cairomm.pc.in: Update htmlrefpub

2023-12-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Don't fail if warning_level=everything

2023-10-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Surface: Fix typos, add a TODO comment

2023-10-06  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add tools/webpage.sh

2023-09-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  1.18.0

2023-09-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  tools/*.sh: Improve comments

2023-09-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson_options.txt: boost-shared defaults to true

  The shared Boost libraries can be a safer choice.
  The static libraries have caused problems building the test programs.

2023-07-16  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  1.17.1

2023-07-06  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Remove AUTHORS and MAINTAINERS and add info to README.md

2023-06-29  Chun-wei Fan  <fanc999@yahoo.com.tw>

  Update Visual Studio build docs

  * Convert MSVC_NMake/README to MarkDown, to make the formatting easier
    on the eye, and use UNIX line endings.
  * Update the info there, mentioning that cairo-1.17.x is recommended,
    and give a better outline on how the build is carried out with NMake
    and Meson.

2023-06-17  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Doxyfile.in: Remove obsolete entries

2023-06-15  Daniel Boles  <dboles.src@gmail.com>

  context: Fix typos of "teh" to "the" + missing "a"

2023-03-20  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Use callback functins with C linkage

  * cairomm/script.cc:
  * cairomm/surface.cc: Use local 'extern "C"' callback functions.
  Code that mixes up C linkage and C++ linkage has undefined behavior.
  Most compilers make no difference between C and C++ linkage, so it
  has not been an issue so far. But see issue glibmm#1.

2023-03-14  Vitaly Dyachkov  <obyknovenius@me.com>

  Implement get_text_extents() and get_glyph_extents() of ScaledFont

  ScaledFont::get_text_extents() and ScaledFont::get_glyph_extents()
  were declared in the header but their implementations were missing.
  Fixes #30

2023-03-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  README.md: meson -> meson setup

2023-03-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Simplify if-file-exists test

2023-03-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Install all dependencies with apt, meson -> meson setup

  Ubuntu 22.10 contains libsigc++-3.0-dev.

2023-01-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Simplify lookup of python command

  See libsigcplusplus PR#83

2023-01-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Fix the evaluation of is_git_build on Windows

  See gtkmm#131

2023-01-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: Don't copy files with configure_file()

  It's deprecated from Meson 0.64. The replacement, fs.copyfile(),
  is not useful here. It only copies from the source directory to
  the build directory.

2022-09-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Detect if we build from a git subtree

  See https://gitlab.gnome.org/GNOME/gtkmm/-/merge_requests/72 (William Roy)

2022-09-22  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  NEWS: Prepare for next cairomm release

  and require cairo >= 1.14.0

2022-09-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Convert README to README.md

2022-08-16  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Autotools build: Add --disable-deprecated-api

  Make it possible to exclude deprecated API from the build.
  See #29

2022-05-24  Chun-wei Fan  <fanchunwei@src.gnome.org>

  Meson: Re-organize warnings-related compiler flags for MSVC

  Add a short description for the warning-related compiler flags for Visual
  Studio.
  
  Also, use the `/wd4267` compiler flag only when building a 64-bit build, since
  warning C4267 only applies for 64-bit builds.

2022-05-23  Chun-wei Fan  <fanchunwei@src.gnome.org>

  Meson/MSVC: Compensate for the lack of msvc_recommended_pragmas.h

  Since cairomm does not hard-depend on GLib, it may be the case that
  msvc_recommended_pragmas.h is not available during the build.  If it is not,
  disable warnings C4244 and C4101, which are part of the warnings that it
  disables.

2022-05-19  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Avoid configuration warnings

2022-03-18  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Use artifacts to transfer data between stages

2022-02-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Specify 'check' option in run_command()

  The default value will be changed in future Meson releases.
  
  Don't use deprecated python3.path() and execute(..., gui_app: ...).
  Don't distribute .gitlab-ci.yml.

2022-02-02  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Surface docs: Use cairomm names where possible

  such as Cairo::ScaledFont::create() instead of cairo_scaled_font_create().

2022-02-02  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Surface::set_device_scale() docs: Refer to Context::scale()

  The reference to cairo_translate() in the cairo_surface_set_device_scale()
  documentation must be wrong. See !22
  
  Add @newin to set/get_device_scale()

2022-01-18  Thomas Holder  <thomas@thomas-holder.de>

  Surface device scale convenience overloads

2022-01-18  Thomas Holder  <thomas@thomas-holder.de>

  Wrapping surface device scale functions

2021-11-10  Chun-wei Fan  <fanchunwei@src.gnome.org>

  build: Support Visual Studio 2022

  Make these builds distinct from the Visual Studio 2019 builds.

2021-08-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Add .gitlab-ci.yml

2021-08-18  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Check if Perl is required for building documentation

  New versions of mm-common use the Python scripts doc_postprocess.py
  and doc_install.py instead of the Perl scripts doc-postprocess.pl and
  doc-install.pl when documentation is built.

2021-06-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Update examples/README

2021-06-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Surface::Type: Really deprecate WIN32 with CAIROMM_DISABLE_DEPRECATED

2021-06-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Update SaveGuard

  and add a test in tests/test-context.cc. Fixes #9

2021-06-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Doxyfile.in: Add the @newin alias and CAIROMM_API=

2021-06-08  Jason Rhinelander  <jason@imaginary.ca>

  Add Cairo::SaveGuard save/restore object

  See #9

2021-05-20  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  1.16.1

2021-05-18  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add dependencies to Doxygen tag files in subprojects

  Doxygen in a main project shall not be called before tag files have been
  created or updated in subprojects.

2021-05-14  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Fix build as subproject without building documentation

  * meson.build: If mm-common-get is not found in maintainer-mode
  with 'required: false', try with 'required: true'.
  Don't try to use tag_file, if documentation is not built.
  * docs/reference/meson.build: Don't use variables from modules
  that don't define doxytagfile. These are subprojects that don't build
  their documentation.

2021-05-11  Chun-wei Fan  <fanchunwei@src.gnome.org>

  meson: Reorganize warnings on Visual Studio builds

  We can now drop the ignores for warnings C4251, C4273 and C4275 along with
  C4530, since our code and compiler flags should now make us free of them,
  since we use /EHsc to build our code and we are clean of classes that we
  export as a whole that derives from std::xxx classes.
  
  Ignore warning C4800, and warning C4127 in the examples, since these warnings
  are really spurious and safe to ignore as a whole.

2021-05-11  Chun-wei Fan  <fanchunwei@src.gnome.org>

  MSVC_NMake/config-msvc.mak: Clean up compiler flags

  Since we eliminated the C4251, C4273 and C4275 warnings, don't ignore them
  along with C4530, since we are now using /EHsc.  This will make the compiler
  flags a bit cleaner

2021-05-11  Chun-wei Fan  <fanchunwei@src.gnome.org>

  cairomm/exception.h: Export Cairo::logic_error selectively

  Since this class derives std::logic_error, don't export the class as a whole
  but instead export its member methods as necessary on Windows.  This will make
  the compiled DLL to not be locked in a single compiler/STL version, and will
  remove the compiler warnings C4251, C4273 and C4275 on Visual Studio.
  
  Also remove the workaround for Visual Studio 2013 since Visual Studio 2017 or
  later is required for cairomm master.

2021-05-05  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Subprojects can use meson.add_dist_script() if meson.version() >= 0.58.0

  * meson.build:
  * docs/reference/meson.build:
  Call add_dist_script() in a subproject, if meson.version() >= 0.58.0.

2021-04-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: No implicit_include_directories

2021-03-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: No implicit_include_directories

  It shall not be possible to find a cairomm header file
  with #include <xxx.h> instead of #include <cairomm/xxx.h>.

2021-03-16  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: Make it possible to use cairomm as a subproject

  cairo and sigc++ can be subprojects of cairomm.

2021-03-09  Chun-wei Fan  <fanchunwei@src.gnome.org>

  cairommconfig.h.*: Don't dllimport on MinGW

  This will fix warnings when building items using cairomm with MinGW/GCC.
  
  Please see: https://gitlab.gnome.org/GNOME/gtkmm/-/issues/90

2021-02-20  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Surface::Type: Deprecate WIN32, add WIN32_SURFACE

  WIN32 can be a preprocessor macro. Fixes #26

2021-02-20  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  docs/reference/Doxyfile.in: Remove obsolete entries

2021-02-19  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  tools/release-publish.sh: Add comments

  Add commented-out commands for signing the tarball,
  and uploading the detached signature file. See #25

2020-10-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  tools/doc-publish.sh, release-publish.sh: Exit on error

2020-09-30  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add tools/doc-publish.sh and release-publish.sh

  Scripts that simplify releasing new versions of cairomm.

2020-09-29  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  1.16.0

2020-09-29  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: Fix versioning on macOS

  See https://github.com/libsigcplusplus/libsigcplusplus/pull/65

2020-09-29  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Require cairo >= 1.12.0

  Has been a requirement for a long time, but configure.ac
  and meson.build had not been updated.

2020-09-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Autotools builds: Create only .tar.xz tarballs

  This is what Meson does. Cairo does it when built with Autotools.

2020-08-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Remove RefPtrDeleter()

  It's right for C++ classes wrapping GObject subclasses in glibmm and
  gtkmm, but it is not right for wrappers in cairomm.
  
  Fixes #23

2020-08-14  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  tests: Fix tests in Autotools builds

  * build/ax_boost_base.m4:
  * build/ax_boost_unit_test_framework.m4: Newer versions have been fetched
  from www.gnu.org/software/autoconf-archive

2020-08-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  tests: Don't include deprecated Boost header files

2020-08-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add Context::get_source_for_surface()

  Fixes #5

2020-07-23  Chun-wei Fan  <fanchunwei@src.gnome.org>

  Update .gitignore

  We don't need to track generated files that are in under MSVC_NMake/

2020-07-23  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Use Meson-style DLL and .lib naming if requested

  To make things more consistent and less prone to confusion, if 'USE_MESON_LIBS'
  is specified in the NMake command line, build the DLLs and .lib's that are
  named like the Meson counterparts.  Binaries built with Meson+Visual Studio
  and the ones that are built via NMake using 'USE_MESON_LIBS' are
  interchangeable, provided that they are built with the same Visual Studio
  version.

2020-07-23  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Fix builds from release tarballs

  This avoids needlessly enerating cairommconfig.h and cairomm.rc, and when we do
  need to generate these files, we ensure that they always have the right version
  info in them.
  
  Also streamline the build process that this file generating is done in the
  'all' target, so that one does not need to use the -prep-git-build' target
  beforehand.

2020-07-09  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Look for headers in $(PREFIX)\include also

  The needed headers can be in $(PREFIX)\include as well, so we ought to look for
  them there

2020-07-09  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Support ARM64 Windows builds

  This will make the NMake Makefiles capable of building ARM64 binaries of
  cairomm, which can be used on Windows 10 on ARM systems.

2020-06-29  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  docs/reference/: Update for Doxygen >= 1.8.16

  * docs/reference/meson.build: Doxygen 1.8.16 and later does not store
  tag file names in the html files. This requires changes in meson.build
  and in doc-install.pl (in mm-common). Otherwise references to other modules
  won't be updated in the html files when they are installed.
  * docs/reference/Doxyfile.in: Remove PERL_PATH and MSCGEN_PATH.
  Doxygen since version 1.8.0 does not use them.

2020-06-25  Chun-wei Fan  <fanchunwei@src.gnome.org>

  Meson/Visual Studio builds: Include toolset version by default

  This makes the built DLL and .lib's contain the toolset version if
  the build is carried out using Visual Studio 2017 or later, unless
  the 'msvc14x-parallel-installable' option is set to be false during
  configuration.
  
  The reasoning behind this change is that there may be subtle problems
  when, for instance, one tries to link to a Visual Studio 2017-built
  cairomm with Visual Studio 2019.  This is unfortunate as Microsoft
  did try hard to make interoperating between binaries built with Visual
  Studio 2017 and 2019 as easy as possible in terms of ABI and API, but
  unfortunately this may hit the corner cases where this compatibility
  does not work.
  
  As the name suggests, this attempts to make Visual Studio 2017
  and 2019 builds share a single set of underlying C DLLs easier,
  while avoiding possible breakages caused by such subtle differences.

2020-06-16  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Use toolset version in DLL/.lib filenames

  We now use the toolset version ('vc141' for Visual Studio 2017 and 'vc142' for
  Visual Studio 2019) in the DLL anbd .lib filenames by default, to be consistent
  with what is now being done in the 'cairo-1-14' branch.
  
  If using the old naming convention is desired, a command line option
  'USE_COMPAT_LIBS' is added to facilitate such builds

2020-06-05  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  README: Update with instructions for building cairomm

2020-05-05  Chun-wei Fan  <fanchunwei@src.gnome.org>

  Drop gendef from the sources

  We are no longer using it, so just drop it from the source tree.

2020-05-05  Chun-wei Fan  <fanchunwei@src.gnome.org>

  meson: Don't use gendef on Visual Studio

  Instead, we use the newly-added CAIROMM_API which is defined to be
  __declspec(dllexport) to export the symbols directly.
  
  This will also allow some cleanup in the Meson build files, as we do not
  need to differentiate how the cairomm library is built on different
  compilers.

2020-05-05  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Stop using gendef.exe by

  Define CAIROMM_API as __declspec(dllexport) (when building) or
  __declspec(dllimport) (when using).
  
  This will enable us to reduce the size of the built cairomm DLL and
  .lib.

2020-05-05  Chun-wei Fan  <fanchunwei@src.gnome.org>

  cairomm/*.h: Decorate public symbols with CAIROMM_API

  This include the public class definitions and function prototypes, so
  that we can use compiler directives to export these items.  By doing so
  we will no longer need to use gendef.exe to export symbols for Visual
  Studio DLL builds.

2020-05-05  Chun-wei Fan  <fanchunwei@src.gnome.org>

  cairommconfig.h.[in|meson]: Add CAIROMM_API

  This macro can be used to decorate public class and API prototypes, so
  that we can use it to export symbols with compiler directives, such as
  __declspec(dllexport) in the case of Visual Studio-style builds.
  
  We can even decide to not use it by keeping CAIROMM_API empty, such as
  in the case of building static libraries or when using GCC's
  autoexporting mechanism.

2020-05-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  configure.ac: Substitute CAIROMM_EXTRA_LIBS during configuration

  CAIROMM_EXTRA_LIBS has been added to data/cairomm.pc.in. It's used only
  in Meson builds. During an Autotools build it must be replaced by an
  empty string.

2020-04-30  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Replace NULL by nullptr

  * cairomm/surface.cc:
  * tests/test-font-face.cc:
  * tests/test-scaled-font.cc: Replace NULL by nullptr
  * cairomm/surface.h: Remove the "#ifdef nil" section. It's not necessary.
  Cairomm-1.16 depends on libsigc++-3.0. Only libsigc++-2.0 defines nil.

2020-04-29  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Don't use zero as null pointer

  Turn on the -Wzero-as-null-pointer-constant warning when -Dwarnings=max
  or fatal. Replace 0 by nullptr where appropriate.

2020-04-29  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  tests/test-scaled-font.cc: Remove an extra semicolon

  With -Dwarnings=fatal g++ reacts to such trifles.

2020-04-29  Chun-wei Fan  <fanchunwei@src.gnome.org>

  meson: Allow linking to shared Boost::Test

  This adds an option to the Meson builds so that we can choose to use a
  shared build of Boost::Test if needed.

2020-04-29  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake: Fix building tests

  This will make the tests build and link with Visual Studio + Boost DLL
  builds...
  
  However, some more work is required to make the tests recognized by the
  Boost test framework, which will be in the next commit.

2020-04-29  Chun-wei Fan  <fanchunwei@src.gnome.org>

  tests: Use Boost's automatic test registration

  This makes it easier for all if we are going to choose between building
  static or dynamic builds of Boost, which will be covered in the next
  commit.

2020-04-29  Chun-wei Fan  <fanchunwei@src.gnome.org>

  tests: Fix building tests with FreeType but no FontConfig

  Cairo could have been built with FreeType support but has no FontConfig
  support, so we need to check for that too.
  
  Also allow building the tests on Windows even if FontConfig is not
  found, as a result.

2020-04-29  Chun-wei Fan  <fanchunwei@src.gnome.org>

  test-font-face.cc: Fix build on Windows

  The code must be updated for the Windows bits as well, as per commit 715d9dd9

2020-04-29  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Speed up builds

  Just use 'md' to create the intermediate build directories, instead of calling
  nmake on the NMake Makefile to create these directories.  This makes things
  faster by reducing the frequency that we need to create and read the file lists
  
  Fixes #22

2020-04-29  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Add rule to generate versioned files

  This will make building directly from a GIT checkout easier, by using PERL to
  read the configure.ac file to acquire the version info, and using this info to
  generate the full cairommconfig.h and cairomm.rc files that we need for our
  Visual Studio builds.
  
  This will also enable us to build from a Meson-generated source tarball,
  as we may well need to generate these files ourselves.

2020-04-29  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Split outdir by toolset version

  This reduces the likelihood of accidently mixing binaries linked against
  different CRT versions.

2020-04-29  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Support Meson-built libsigc++

  This allows one to link to the correct .lib that is produced by the
  Meson builds of libsigc++ in an easier way, by using USE_MESON_LIBS.

2020-04-29  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Use /utf-8 and /EHsc for the builds

  This makes builds more efficient and prevents warnings that are caused when
  attempting to build on an East Asian locale of Windows (which can indicate
  broken builds)

2020-04-25  Chun-wei Fan  <fanchunwei@src.gnome.org>

  meson: Improve installing pkg-config files

  We need to search for the headers and/or functions manually if the pkg-config
  files for Cairo are not found.

2020-04-25  Chun-wei Fan  <fanchunwei@src.gnome.org>

  meson: Improve cairomm pkg-config file

  We only put Cairo as a required package if Cairo was found via pkg-config, but
  if Cairo was found manually, we make the pkg-config file link to the cairo
  library directly (-lcairo).

2020-04-25  Chun-wei Fan  <fanchunwei@src.gnome.org>

  Meson: Define _USE_MATH_DEFINES on Windows

  Visual Studio and some MinGW versions require defining this to use M_PI
