2015-09-21 Murray Cumming 1.12.0 2015-09-21 Murray Cumming RefPtr: Use noexcept, as in Glib::RefPtr. 2015-09-10 Chun-wei Fan cairomm/exception.h: Allow Build on Visual Studio 2013 Visual Studio 2013 has one catch for its C++-11 support: It does not support noexcept, but has its own _NOEXCEPT for the same purpose. Add a define for it, while defining the _ALLOW_KEYWORD_MACROS as newer Visual Studio Versions do not allow one to define known keywords, even if it is not supported, by default. 2015-09-10 Chun-wei Fan MSVC Builds: Support Visual Studio 2013 (and later) Only This removes the Visual Studio 2005 and 2008 projects, and updates the Visual Studio 2010 projects to become 2013 projects, as only Visual Studio 2013 and later support enough of C++-11 to build cairomm in its current state. Also update the README in MSVC_Net2013/ to reflect on this situation. 2015-08-21 Murray Cumming MSVC_Net2010/filelist.am: Correct the .props filenames 2015-08-20 Chun-wei Fan Overhaul The Visual Studio 2010 Projects Like the Visual Studio 2008 Projects, give the Visual Studio 2010 Projects an overhaul by using property sheets to consolidate commonly-used items, and moving all the projects to MSVC_Net2010, so that they can be more easily maintained. https://bugs.freedesktop.org/show_bug.cgi?id=84030 2015-08-20 Chun-wei Fan Update and Overhaul the Visual Studio 2008 Projects Move all the projects to MSVC_Net2008/, and add property sheets for the projects so that commonly-used items can be consolidated and referred from the projects, which will help simplify future maintenance. Also remove items from the projects that aren't really needed, as they add quite a bit of clutter. Add the newly-added source files to the cairomm project as well, as the cairomm project has bit rotted a little. https://bugs.freedesktop.org/show_bug.cgi?id=84030 2015-08-20 Chun-wei Fan fontface/fontoption: Check for CAIRO_HAS_FC_FONT This updates the fontface and fontoptions sources so that they will check for whether Cairo was built with FontConfig (in addition to FreeType) so that cairomm would still build when we have Cairo built with FreeType but without FontConfig, which for example may well be the case on Windows builds. https://bugs.freedesktop.org/show_bug.cgi?id=84033 2015-08-20 Murray Cumming Add TODO about using std::shared_ptr<> instead. 2015-08-20 Murray Cumming RefPtr: Add move constructors and move operator=(). Roughly based on the same changes in Glib::RefPtr<>. 2015-08-12 Murray Cumming 1.11.4 2015-07-31 Murray Cumming C++11: Use = delete instead of private constructors. 2015-07-31 Murray Cumming C++11: Use of nullptr. 2015-07-31 Murray Cumming C++11: Use auto. 2015-07-31 Murray Cumming C++11: Use the override keyword. 2015-07-31 Murray Cumming C++11: Use noexcept instead of throw(). 2015-07-31 Murray Cumming configure.ac: Add some more warnings for --enable-warnings=fatal. Not using -Wshadow because that breaks the build: matrix.cc:28:80: error: declaration of 'y0' shadows a member of 'this' [-Werror=shadow] Matrix::Matrix(double xx, double yx, double xy, double yy, double x0, double y0) 2015-07-31 Murray Cumming configure.ac: Avoid deprecated libsigc++ API. No code changes were necessary. 2015-07-31 Murray Cumming Use (and require) C++11. And use the latest version of libsigc++, which also requires C++11. 2014-04-09 David Weiß Update MSVC.Net 2010 project files. https://bugs.freedesktop.org/show_bug.cgi?id=76820 2014-02-21 Povilas Kanapickas Wrap cairo script device and script surface APIs 2014-02-21 Povilas Kanapickas Wrap FtFontFace::{get,set,unset}_synthesize 2014-02-21 Povilas Kanapickas Remove no longer useful .cvsignore files 2014-02-11 Murray Cumming Updating version to odd number for git. 2014-02-11 Murray Cumming 1.11.2, because we use even micros for releases. 2014-02-11 Murray Cumming 1.11.1 2014-02-11 Murray Cumming Autogenerate the ChangeLog 2014-01-28 Murray Cumming Improve some deprecation comments. 2014-01-28 Povilas Kanapickas Add Pattern::{set_extend,get_extend} * cairomm/pattern.{cc,h}: set_extend and get_extend functions apply not only to surface patterns, but to linear and radial gradients too. Bug #73775 2014-01-28 Anton Bachin Allow use from Objective-C instead of just allowing building. * cairomm/fontface.h: Surround the include line in surface.h with some directives that undefine nil and then redefine it. * cairomm/surface.h: This aso undefined nil but this appears to be unnecessary. Bug #66328 2014-01-28 Murray Cumming Avoid dereferencing empty std::vector<>s. * cairomm/context.cc: Check with empty() before using [0] on a vector. Apparently gcc allows this, but MSVC (probably correctly) does not. This fixes a crash on MS Windows. Bug #36020 (Robert Kurjata) 2014-01-28 Murray Cumming ScaledFont: Add the missing get_extents() method implementation. Bug #53981 (cheshirekow) 2012-03-12 Mark Vender Use GNOME style in the documentation 2012-03-12 Murray Cumming Fix linker problem with the examples. * examples/Makefile.am: Add CAIROMM_LIBS. This is needed now to a change in behaviour of the linker in recent distro versions. 2012-03-12 Mark Vender Update the documentation 2011-05-09 Murray Cumming 1.10.0 2010-12-31 Jonathon Jongsma Ignore some more msvc build files 2010-12-31 Jonathon Jongsma Bump micro version after release 2010-12-31 Jonathon Jongsma Disable fatal warnings on distcheck for now cairo.h has an extra comma at the end of an enumeration, which causes a warning, so making warnings fatal in distcheck makes it impossible to release. 2010-12-31 Jonathon Jongsma Update NEWS for 1.9.8 release, bump version Also require a newer cairo (1.10.0) 2010-12-30 Jonathon Jongsma Wrap cairo_surface_create_for_rectangle() 2010-12-30 Jonathon Jongsma Add PDF versioning API New PdfSurface functions: get_versions() restrict_to_version() version_to_string() 2010-12-30 Jonathon Jongsma Add Device documentation 2010-12-30 Jonathon Jongsma Add Device::Lock for acquiring devices safely To aid in acquiring devices in an exception-safe manner, a convenience class Device::Lock was added that acquires the specified device for the duration of the object. 2010-12-30 Jonathon Jongsma Wrap cairo_device_acquire|release() 2010-12-30 Jonathon Jongsma Wrap cairo_surface_get_device() 2010-12-30 Jonathon Jongsma Add Region documentation 2010-12-30 Jonathon Jongsma Wrap cairo_region_xor_* 2010-12-30 Jonathon Jongsma Wrap cairo_region_create_rectangles() 2010-12-30 Jonathon Jongsma Wrap Region::copy() 2010-12-30 Jonathon Jongsma Provide static factory functions for Region Since Region objects are ref-counted, don't allow them to be instantiated manually, but provide static create() functions for automatically managing them with RefPtrs. Also, remember to check the error status when creating them. 2010-12-30 Jonathon Jongsma Fix Region api to throw exception rather than return status All other API throws exceptions instead of returning error statuses, so make this be consistent as well. (the only possible error for these operations is NO_MEMORY) 2010-12-30 Jonathon Jongsma Add new surface type enums These are not really used in cairomm, but it's nice to have them defined in any case. 2010-11-03 Murray Cumming A NEWS entry for a future release. 2010-11-03 Murray Cumming Context::arc(): Correct the documentation, as in the C documentation. * cairomm/context.h: arc(): Update the documentation based on the latest version of the cairo_arc() documentation, which was apparently fixed since we last wrote the C++ documentation based on it. This fixes bug #31345 (Christopher Head) about bad math in arc() documentation. 2010-10-26 Murray Cumming Post-release version increment 2010-10-26 Armin Burgmeier Fix the build with MSVC (really) The previous commit only included the ChangeLog for some reason. 2009-10-26 Armin Burgmeier * MSVC_Net2005/cairomm/cairomm.rc.in: * MSVC_Net2008/cairomm/cairomm.rc.in: Replaced GENERIC_MAJOR_VERSION et al. by CAIROMM_MAJOR_VERSION, so that they are properly replaced during configure. * MSVC_Net2005/examples/image-surface/image-surface.vcproj: * MSVC_Net2005/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2005/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2005/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2005/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2005/examples/toy-text/toy-text.vcproj: * MSVC_Net2005/examples/user-font/user-font.vcproj: * MSVC_Net2008/examples/image-surface/image-surface.vcproj: * MSVC_Net2008/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2008/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2008/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2008/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2008/examples/toy-text/toy-text.vcproj: * MSVC_Net2008/examples/user-font/user-font.vcproj: Added $(SolutionDir)/cairomm to the include search paths, so that cairommconfig.h is found even if configure did not run. * cairomm/fontface.cc: MSVC does not allow to reinterpret_cast a bool to void*, so use an int instead. * examples/surfaces/image-surface.cc: * examples/surfaces/pdf-surface.cc: * examples/surfaces/ps-surface.cc: * examples/surfaces/svg-surface.cc: * examples/text/text-rotate.cc: Define _USE_MATH_DEFINES before including anything, to make sure we get the defines even if math.h is included indirectly via another header. * cairomm/context.cc: In set_dash(std::valarray), copy the valarray into a vector and then call set_dash(std::vector). The reason is that there is no guarantee that the memory in a std::valarray is contiguous, and also that in MSVC's STL (and also in the C++ standard) std::valarray::operator[](size_t) const returns a T, not a const T&, so &dashes[0] is a compiler error if dashes is a const std::valarray&. 2010-10-22 Armin Burgmeier Added support for 64 bit and Visual Studio 2010. * MSVC_Net2008/.cvsignore: * MSVC_Net2005/examples/png-file/png-file.vcproj: * MSVC_Net2008/examples/png-file/png-file.vcproj: Removed. * MSVC_Net2005/README: * MSVC_Net2005/cairomm.sln: * MSVC_Net2005/cairomm/cairomm.vcproj: * MSVC_Net2005/examples/image-surface/image-surface.vcproj: * MSVC_Net2005/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2005/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2005/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2005/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2005/examples/toy-text/toy-text.vcproj: * MSVC_Net2005/examples/user-font/user-font.vcproj: * MSVC_Net2005/gendef/gendef.vcproj: * MSVC_Net2008/README: * MSVC_Net2008/cairomm.sln: * MSVC_Net2008/cairomm/cairomm.vcproj: * MSVC_Net2008/examples/image-surface/image-surface.vcproj: * MSVC_Net2008/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2008/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2008/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2008/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2008/examples/toy-text/toy-text.vcproj: * MSVC_Net2008/examples/user-font/user-font.vcproj: * MSVC_Net2008/gendef/gendef.vcproj: * MSVC_Net2010/README: * MSVC_Net2010/cairomm.sln: * MSVC_Net2010/cairomm/cairomm.rc.in: * MSVC_Net2010/cairomm/cairomm.vcxproj: * MSVC_Net2010/cairomm/cairomm.vcxproj.filters: * MSVC_Net2010/examples/image-surface/image-surface.vcxproj: * MSVC_Net2010/examples/image-surface/image-surface.vcxproj.filters: * MSVC_Net2010/examples/pdf-surface/pdf-surface.vcxproj: * MSVC_Net2010/examples/pdf-surface/pdf-surface.vcxproj.filters: * MSVC_Net2010/examples/ps-surface/ps-surface.vcxproj: * MSVC_Net2010/examples/ps-surface/ps-surface.vcxproj.filters: * MSVC_Net2010/examples/svg-surface/svg-surface.vcxproj: * MSVC_Net2010/examples/svg-surface/svg-surface.vcxproj.filters: * MSVC_Net2010/examples/text-rotate/text-rotate.vcxproj: * MSVC_Net2010/examples/text-rotate/text-rotate.vcxproj.filters: * MSVC_Net2010/examples/toy-text/toy-text.vcxproj: * MSVC_Net2010/examples/toy-text/toy-text.vcxproj.filters: * MSVC_Net2010/examples/user-font/user-font.vcxproj: * MSVC_Net2010/examples/user-font/user-font.vcxproj.filters: * MSVC_Net2010/filelist.am: * MSVC_Net2010/gendef/gendef.cc: * MSVC_Net2010/gendef/gendef.vcxproj: * MSVC_Net2010/gendef/gendef.vcxproj.filters: * Makefile.am: * configure.ac: Added support for 64 bit and Visual Studio 2010. 2010-10-22 Murray Cumming Update for the 1.9.4 release that I made without pulling 2010-09-10 Murray Cumming Context, Surface: Add some new methods. * cairomm/context.[h|cc]: Added in_clip(). * cairomm/surface.[h|cc]: Added get_mime_data(), set_mime_data(), unset_mime_data(). 2010-09-07 Murray Cumming Added Device class. * cairomm/device.[h|cc]: Added these files, wrapping cairo_device_t. * cairomm/filelist.am: * cairomm/cairomm.h: Mention the new file. 2010-09-06 Murray Cumming 1.9.2 2010-09-02 Murray Cumming Context: set_dash(): Make the dashes parameter const. * cairomm/context.[h|cc]: set_dash(): Add versions that take a const vector parameter, deprecating the old versions. 2010-09-02 Murray Cumming Context: Make some methods const, deprecating the non-const versions. * cairomm/context.h: device_to_user(, device_to_user_distance(), user_to_device(), user_to_device_distance(): Deprecate the non-const versions, adding const versions. 2010-09-02 Ian Britten 2010-06-10 Ian Britten Cleanup of most -Weffc++ warnings (Continuation of previous commit) Bug #28246 * cairomm/fontface.h (FontFace::FontFace): * cairomm/path.h (Path::Path): * cairomm/pattern.h (Pattern::Pattern): * cairomm/scaledfont.h (ScaledFont::ScaledFont): * cairomm/surface.h (Surface::Surface): Declare a private copy constructor and assignment operator in order to explicitly prevent objects from being copied by value. That was never valid, and not disallowing it seems to have been merely an oversight. * cairomm/fontoptions.cc: * cairomm/scaledfont.cc: Initialize member(s) in initialization list. * cairomm/scaledfont.h: Declared ~ScaledFont() virtual 2010-07-19 Murray Cumming 1.9.1 2010-07-06 Murray Cumming Add Region, wrapping cairo_region_t, new in cairo 1.10. * cairomm/region.[h|cc]: Added this class, wrapping it like other reference-counted types, such as Pattern. * cairomm/cairomm.h: Add an include of it here. * cairomm/filelist.am: Mention the new files here. 2010-06-07 Daniel Elstner Disallow copying of Cairo::Context objects * cairomm/context.h (Cairo::Context): Declare a private copy constructor and assignment operator in order to explicitly prevent objects from being copied by value. That was never valid, and not disallowing it seems to have been merely an oversight. 2010-06-07 Daniel Elstner Do not unnecessarily cast booleans to pointers * cairomm/fontface.cc (USER_DATA_KEY_DEFAULT_TEXT_TO_GLYPHS): Put dummy object into an anonymous namespace and make it static. (UserFontFace::text_to_glyphs): Do not cast a boolean to a pointer in order to indicate state via the font face's user data. There are fairly safe alternative casts to do this, but it is much simpler to just take the address of any existing object to get a non-0 pointer. (UserFontFace::UserFontFace): Remove unnecessary casts. 2010-06-07 Armin Burgmeier Fix the build with MSVC 2009-10-26 Armin Burgmeier * MSVC_Net2005/cairomm/cairomm.rc.in: * MSVC_Net2008/cairomm/cairomm.rc.in: Replaced GENERIC_MAJOR_VERSION et al. by CAIROMM_MAJOR_VERSION, so that they are properly replaced during configure. * MSVC_Net2005/examples/image-surface/image-surface.vcproj: * MSVC_Net2005/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2005/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2005/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2005/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2005/examples/toy-text/toy-text.vcproj: * MSVC_Net2005/examples/user-font/user-font.vcproj: * MSVC_Net2008/examples/image-surface/image-surface.vcproj: * MSVC_Net2008/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2008/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2008/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2008/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2008/examples/toy-text/toy-text.vcproj: * MSVC_Net2008/examples/user-font/user-font.vcproj: Added $(SolutionDir)/cairomm to the include search paths, so that cairommconfig.h is found even if configure did not run. * cairomm/fontface.cc: MSVC does not allow to reinterpret_cast a bool to void*, so use an int instead. * cairomm/context.cc: * examples/surfaces/image-surface.cc: * examples/surfaces/pdf-surface.cc: * examples/surfaces/ps-surface.cc: * examples/surfaces/svg-surface.cc: * examples/text/text-rotate.cc: Define _USE_MATH_DEFINES before including anything, to make sure we get the defines even if math.h is included indirectly via another header. 2010-06-07 Augusto Jun Devegili Put ifdefs around 32-bit-only API, to fix the build on 64-bit machines. * cairomm/quartz_font.[h|cc]: Use #ifndef __LP64__, as cairo does. 2010-06-07 Murray Cumming Fix the ChangeLog. 2010-06-07 Murray Cumming Actually install cairomm-xlib-xrender-1.0.pc. * configure.ac: Fix a typo in the check for xlib-xrender support in cairo. Fixes bug #27066. 2010-04-20 Daniel Elstner Clean up configure.ac and add silent rules support * configure.ac (AC_INIT): Specify correct URLs for bug reports and the project home page. (AM_SILENT_RULES): Call macro if defined. (MM_PREREQ): Require mm-common 0.8. (BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB): Rewrite the fragile shell code of the boost check. 2009-10-19 Jonathon Jongsma bump to 1.8.4, update NEWS 2009-08-13 Jonathon Jongsma Don't force tests to be enabled when CAIROMM_DEVEL is defined This was hacked in to ensure that I always built with tests enabled, but the boost configure detection scripts are broken right now on my setup, so this just hinders my ability to get things done. remove it. 2009-08-13 Daniel Elstner Distribute mm-common documentation utilities * docs/Makefile.am (dist_noinst_DATA): List the utility scripts installed by mm-common-prepare here, so they will be distributed. 2009-08-13 Daniel Elstner Add missing call to MM_CONFIG_DOCTOOL_DIR * configure.ac: Call MM_CONFIG_DOCTOOL_DIR([docs]) to indicate to mm-common-prepare that this module cannot depend on the utilities shipped with glibmm, and needs its own copies. 2009-08-13 Daniel Elstner Fix left-over cairomm/cairommconfig.h includes * cairomm/cairomm.h: Remove directory prefix from cairommconfig.h include statement. * cairomm/context.cc: Include unconditionally instead of conditionally including . * examples/surfaces/*.cc: ditto, * examples/text/text-rotate.cc: ditto. 2009-08-13 Daniel Elstner Review and clean up after build overhaul * autogen.sh: Pass --enable-maintainer-mode to ./configure since the automatic rebuild of the reference documentation is only enabled in maintainer mode. AM_MAINTAINER_MODE is already in configure.ac. * configure.ac (AC_CONFIG_HEADERS): Prepend build/config.h to the list of header files, because the first file in the list has its .in file generated by autoheader, and will thus include every AC_DEFINE from every Autoconf macro that is used. The macros defined in the installed cairommconfig.h header should be namespaced and limited to meta information about the installed cairomm library. Also move cairommconfig.h to the top-level directory, in order to avoid the need to add the cairomm/ subdirectory to the include path. (PKG_CHECK_MODULES): Collapse the checks for optional cairo modules into a loop, and use PKG_CHECK_EXISTS() instead of the full-blown PKG_CHECK_MODULES(). Also, be a bit cleverer about the lists of .pc files and module names generated along the way. (AC_CONFIG_FILES): List all potentially installed files literally, instead of creating the list of output files dynamically. This is much simpler and also gets us free shipping. Remove data/Makefile. * cairommconfig.h.in: Add file to repository, as it should not be autogenerated. Of the content, keep only the CAIROMM_ namespaced macros. * cairomm/context*.cc: Remove cairomm/ prefix from cairommconfig.h include statements. This was already wrong before, but moving the file around made it visible. * Makefile.am: Clean up a bit. (DIST_SUBDIRS): Have Automake figure it out automatically. (cairomm_include_HEADERS): Remove, as cairomm/cairomm.h is already installed in cairomm/Makefile.am. (nodist_cairomm_libinclude_HEADERS): Relocate cairommconfig.h to the top-level directory. (nodist_pkgconfig_DATA): Use $(CAIROMM_INSTALL_PC) substitution from configure.ac to install the appropriate pkg-config data files. * cairomm/Makefile.am: Rewrite without using compile-binding.am, as it is not really the appropriate tool for the cairomm job. * cairomm/filelist.am (cairomm_cc): Rename from $(files_extra_cc). (cairomm_public_h): Rename variable from $(files_extra_h) and remove cairommconfig.h from the list. (cairomm_private_h): Rename variable from $(files_extra_ph). * docs/Makefile.am (doc_input): Adjust variable names. (dist_noinst_DATA): Add reference/cairomm.css to the list. (pubdocbase): Define for completeness. (htmlrefpub): Correct documentation URL. * docs/Doxyfile.in: Strip trailing whitespace from every line. (STRIP_FROM_PATH), (STRIP_FROM_INC_PATH), (INCLUDE_PATH): Do not strip the cairomm/ subdirectory prefix from the displayed filenames. (EXCLUDE): Remove list of files to exclude, since the list of input files is specified explicitly with the new build organization. (EXPAND_AS_DEFINED): Expand version number macros, although at the moment they are probably not used anywhere in the public headers. * data/cairomm-*.pc.in: Use @PACKAGE_VERSION@ instead of @VERSION@. * data/cairomm-1.0.pc.in (htmlrefpub): Correct documentation URL. (Cflags): Add missing -I${libdir}/@CAIROMM_MODULE_NAME@/include. * data/Makefile.am: Delete now unused build file. * docs/reference/Makefile.am: Delete left-over build file. 2009-08-13 David King Get rid of all Makefile.am in the MSVC dirs * MSVC_Net2005/**/.cvsignore: * MSVC_Net2008/**/.cvsignore: Remove obsolete .cvsignore files. * MSVC_Net2005/**/Makefile.am: * MSVC_Net2008/**/Makefile.am: Remove recursive build files. * MSVC_Net2005/filelist.am: * MSVC_Net2008/filelist.am: Recursively list all files that should go into the distribution. * configure.ac (AC_CONFIG_FILES): Remove all Makefile outputs to the MSVC subdirectories. (AC_CONFIG_COMMANDS): Copy the configuration header files into the MSVC subdirectories by making config.status execute custom configuration commands. This is easier than doing it at the Makefile level, where it was previously implemented. * Makefile.am: Include the filelist.am files from the MSVC subdirectories. (SUBDIRS): Remove MSVC_Net200[58] directories from the list. (dist_noinst_DATA): Distribute the MSVC project files. (DISTCLEANFILES): Include the copied configuration header files in a distclean. 2009-08-13 David King Switch to mm-common documentation build infrastructure * .gitignore: Add new generated documentation files. * Makefile.am: Remove old documentation generation build. * configure.ac: * docs/reference/Makefile.am: Remove, with switch to non-recursive documentation build. * data/cairomm-1.0.pc.in: * docs/Makefile.am: Switch to new documentation build infrastructure from mm-common. * docs/reference/Doxyfile.in: Modernise and disable several unused features of the Doxygen output. 2009-08-13 David King Simplify build system of examples and cairomm subdirectores * .gitignore: Add INSTALL, mm-common *.am files and .dirstamp. * Makefile.am: Change VERSION to PACKAGE_VERSION. Begin transition to use of new build infrastructure. * cairomm/Makefile.am: Simplify by moving significant portions to toplevel Makefile.am. * cairomm/filelist.am: List of files for libcairomm. Move private source files to files_extra_cc. * configure.ac: Use MM_INIT_MODULE and remove example subdirectory Makefile.am. * examples/surfaces/Makefile.am: * examples/text/Makefile.am: Remove. * examples/Makefile.am: Convert examples tree to non-recursive build, with single, slimmer Makefile.am. 2009-08-13 David King Initial changes to ease transition to mm-common build infrastructure * autogen.sh: Replace with a simple wrapper around mm-common-prepare and autoreconf. * build/*.m4: Move from m4 directory. * Makefile.am: Rename m4 directory to build. * configure.ac: Rename from configure.in, as it is recommended by Autoconf developers and currently required by mm-common-prepare. Major update to take advantage of mm-common build infrastructure. * INSTALL: Remove from repository, using GNU install instructions instead. * cairomm/Makefile.am: Remove unnecessary win32 conditionals. 2009-08-07 Christopher Harvey Added some documentation to the rel_* functions in the Context class 2009-07-08 Jonathon Jongsma update NEWS for release 2009-07-06 Jonathon Jongsma Bump version number for release 1.8.2 2009-07-05 Jānis Rukšāns Restore 1.6.x API / ABI that was unintentionally broken in 1.8.x 2009-01-26 Jonathon Jongsma Bump version to 1.8.0 release 2009-01-20 Jonathon Jongsma Fix documentation of ImageSurface::create() * cairomm/surface.h: fixed the documentation for ImageSurface::create() to match the cairo C documentation (it must have changed since we initially copied the documentation -- it'd really be nice to have a way to automatically generate the C++ documentation...) 2008-12-20 Jonathon Jongsma fix some distcheck failures 2008-12-20 Jonathon Jongsma Update NEWS and bump version to 1.7.2 2008-12-20 Jonathon Jongsma scaled_matrix() -> scaling_matrix() 2008-12-20 Armin Burgmeier Updated MSVC project files 2008-12-20 Armin Burgmeier * cairomm/pattern.h: Forward-declared Matrix as a class instead of as a struct, to prevent MSVC from complaining about "'Cairo::Matrix' : type name first seen using 'struct' now seen using 'class'". * MSVC_Net2005/examples/png_file: * MSVC_Net2008/examples/png_file: Removed, as the corresponding example has been removed. * MSVC_Net2005/cairomm/cairomm.vcproj: * MSVC_Net2008/cairomm/cairomm.vcproj: Link against libsigc++, added matrix.h, win32_font.h, matrix.cc and win32_font.cc to the project. * MSVC_Net2005/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2005/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2005/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2005/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2008/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2008/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2008/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2008/examples/text-rotate/text-rotate.vcproj: Adapt path to source files. * MSVC_Net2005/examples/image-surface/image-surface.vcproj: * MSVC_Net2005/examples/image-surface/Makefile.am: * MSVC_Net2005/examples/toy-text/toy-text.vcproj: * MSVC_Net2005/examples/toy-text/Makefile.am: * MSVC_Net2005/examples/user-font/user-font.vcproj: * MSVC_Net2005/examples/user-font/Makefile.am: * MSVC_Net2005/examples/Makefile.am: Added MSVC2005 projects for these examples. * MSVC_Net2008/examples/image-surface/image-surface.vcproj: * MSVC_Net2008/examples/image-surface/Makefile.am: * MSVC_Net2008/examples/toy-text/toy-text.vcproj: * MSVC_Net2008/examples/toy-text/Makefile.am: * MSVC_Net2008/examples/user-font/user-font.vcproj: * MSVC_Net2008/examples/user-font/Makefile.am: * MSVC_Net2008/examples/Makefile.am: Added MSVC2008 projects for these examples. * MSVC_Net2005/cairomm.sln: * MSVC_Net2008/cairomm.sln: Added the new example projects to the corresponding solution. * configure.in: Create Makefiles in the newly added directories. 2008-12-15 Jonathon Jongsma Revert virtual ScaledFont destructor (no ABI break) * cairomm/scaledfont.h: revert the virtual destructor since it's unnecessary and an ABI change. The ScaledFont subclasses don't have any virtual functions or any subclass-specific data that needs to be cleaned up, so a virtual destructor is not really necessary here. * tests/test-scaled-font.cc: a little paranoia test just to ensure that the base destructor is called correctly reducing the ref count when we delete a FtFontFace 2008-12-15 Jonathon Jongsma Add tests and fix a bug in UserFontFace * cairomm/fontface.cc: fixed a bug in UserFont where I was incorrectly using a function static variable and so it was not returning negative numbers for num_glyphs when I expected it to * tests/Makefile.am: * tests/test-font-face.cc: * tests/test-user-font.cc: Added tests for UserFontFace 2008-12-14 Jonathon Jongsma Really fix ScaledFont::get_font_face() bug * cairomm/scaledfont.cc: actually fix a reference-counting issue with ScaledFont::get_font_face() that I thought I had fixed in b1d01ff7 * tests/test-scaled-font.cc: add a test for the get_font_face() bug 2008-12-12 Jonathon Jongsma update ignores again 2008-12-12 Jonathon Jongsma bump version since we forgot to do it after release 2008-12-12 Jonathon Jongsma Cross-reference typedef-ed structs * cairomm/types.h: add cross-reference links to the cairo manual for all types that are just typedefs of C structs 2008-12-12 Jonathon Jongsma Minor changes to text-rotate example * .gitignore: ignore the new example executable names * examples/text/Makefile.am: normalize the text-rotate example executable name * examples/text/text-rotate.cc: print a message to the terminal explaining that a file was written 2008-12-12 Jonathon Jongsma Add surface examples to doxygen documentation 2008-12-12 Jonathon Jongsma Restructure examples directory Restructure the examples directory so that there aren't so many subdirs, which tends to slow down builds since they can't be done in parallel. Also 'standardize' the executable names a bit more and give the source files meaningful names rather than 'main.cc' or similar * configure.in: * examples/.cvsignore: Removed. * examples/Makefile.am: * examples/README: * examples/pdf-surface/.cvsignore: Removed. * examples/pdf-surface/Makefile.am: Removed. * examples/png_file/.cvsignore: Removed. * examples/png_file/Makefile.am: Removed. * examples/ps-surface/.cvsignore: Removed. * examples/ps-surface/Makefile.am: Removed. * examples/surfaces/image-surface.cc: Renamed from examples/png_file/main.cc. * examples/surfaces/pdf-surface.cc: Renamed from examples/pdf-surface/main.cc. * examples/surfaces/ps-surface.cc: Renamed from examples/ps-surface/main.cc. * examples/surfaces/svg-surface.cc: Renamed from examples/svg-surface/main.cc. * examples/svg-surface/.cvsignore: Removed. * examples/svg-surface/Makefile.am: Removed. 2008-12-12 Jonathon Jongsma Add clear warning about lifetime of UserFontFace objects Also include examples in doxygen documentation 2008-12-11 Jonathon Jongsma update ignores 2008-12-11 Jonathon Jongsma Enhance the UserFontFace example * examples/text/user-font.cc: enhanced the UserFontFace example quite a bit so that it shows a few different virtual functions and actually draws different sized boxes for different characters 2008-12-11 Jonathon Jongsma Fix up UserFontFace documentation from redesign 2008-12-08 Jonathon Jongsma Added a very simple UserFontFace example * examples/text/Makefile.am: * examples/text/user-font.cc: Added a very simple example of using a UserFontFace to draw text 2008-12-08 Jonathon Jongsma Fix UserFontFace::init() * cairomm/fontface.cc: Fix the default implementation of UserFontFace::init() to set up the font extents parameter correctly according to the documentation 2008-12-08 Jonathon Jongsma Fix the UserFontFace::text_to_glyphs default vfunc * cairomm/fontface.cc: 'fix' the text_to_glyphs implementation so that the default virtual function will be bypassed and the unicode_to_glyph will be called instead. This is done in the C implementation by passing a negative value for the num_glyphs output parameter, but since we're using a std::vector for the glyphs, it's not possible to return a negative value. So I'm using an ugly hack that will set a boolean flag the first time the default text_to_glyphs vfunc is called (which implies that that function has not been reimplemented in a derived class), and if we check that boolean flag and it is set, we will pass a negative value down to the C caller 2008-12-08 Jonathon Jongsma UserFontFace redesign to use virtual functions * cairomm/fontface.cc: * cairomm/fontface.h: Change UserFontFace implementation to a vfunc-based implementation rather than requiring people to supply callbacks at runtime as sigc::slot objects. This was requested by Ian Britten on the mailing list and was my original plan but ran into issues in my original implementation. This isn't a fully-working implementation yet, but I think I can overcome the issues now, so I'm moving forward on the redesign. * tests/test-font-face.cc: disable UserFontFace tests for now Conflicts: ChangeLog cairomm/fontface.cc cairomm/fontface.h 2008-12-05 Jonathon Jongsma Fix some ScaledFont referencing issues Fix an error in ScaledFont::get_font_face() where we were releasing a reference we didn't hold. Also fix a rather severe memory leak where we weren't calling cairo_scaled_font_destroy in the ScaledFont destructor. I added a virtual destructor to ScaledFont, which theoretically changes ABI, but I don't see how anybody could be using ScaledFont in cairomm currently without serious memory leaks, so I think it's worthwhile to make this change 2008-11-14 Jonathon Jongsma win32 build fixes 2008-11-14 Jonathon Jongsma Support --with-boost configure option * configure.in: support the --with-boost=[boost_path] option for specifying the install path of boost libraries 2008-10-30 Dave Evans Undefine 'nil' on OSX before including sigc++ header to fix compile 2008-10-29 Jonathon Jongsma distribute autogen.sh 2008-10-25 Jonathon Jongsma distcheck fixes 2008-10-25 Jonathon Jongsma mark 1.7.0 as unstable in the NEWS file 2008-10-22 Jonathon Jongsma add NEWS for 1.7.x 2008-10-22 Jonathon Jongsma Minor doxygen fixes * cairomm/matrix.h: add a link to the cairo reference for cairo_matrix_t * docs/reference/Doxyfile.in: don't generate docs for the members of the Cairo::Private namespace 2008-10-22 Jonathon Jongsma bump version to 1.7.0 2008-10-22 Jonathon Jongsma Add an overloaded Context::get_matrix() that returns a copy of the Matrix 2008-10-22 Jonathon Jongsma move pkgconfig files to a data/ subdir 2008-10-22 Jonathon Jongsma Fix broken Pattern::get/set_matrix() API that was using the C types * cairomm/pattern.h: Fix broken get/set_matrix() API that was using the C cairo_matrix_t type instead of Cairo::Matrix. This should be an ABI-compatible change since Cairo::Matrix is ABI-compatible with cairo_matrix_t, however it is a minor API change that could result in some compile warnings for existing code 2008-10-16 Jonathon Jongsma Fix missing build dependencies for optional features Add all of the _LIBS and _CFLAGS for those features that are supported (e.g. FT, PNG, PDF, etc) to the cairomm build flags/libs. 2008-10-16 Jonathon Jongsma Bump required cairo version to 1.8.0 2008-10-10 Jonathon Jongsma update changelog forgot with my last commit 2008-10-10 Armin Burgmeier Update MSVC project files * MSVC_Net2005/cairomm/cairomm.vcproj: Changed output file names to cairomm-vc80-1_0.dll or cairomm-vc80-d-1_0.dll, respectively. * MSVC_Net2008/cairomm.sln: * MSVC_Net2008/cairomm.rc.in: * MSVC_Net2008/Makefile.am: * MSVC_Net2008/*/*.vcproj: Added necesseary files for a Visual Studio 2008 build. * configure.in: * Makefile.am: Added the VS 2008 project files to the distribution. 2008-10-10 Jonathon Jongsma Add a bunch of extra .pc files for additional functionality This is done in a bit of a brute-force method at the moment. I have .pc.in templates for all possible files. Then I check the underlying cairo-XXX.pc files and if those exist, I generate the corresponding cairomm-XXX.pc file. It's not the prettiest solution, but it seems to work. So now, if you want to just use base cairo functionality, check for cairomm-1.0, but if you want to use other functionality that requires that you link your application against other libraries (e.g. freetype, xlib, etc), you should check for cairomm-ft-1.0, cairomm-xlib-1.0, etc. 2008-10-07 Jonathon Jongsma Add library version numbers to the cairommconfig.h file CAIROMM_MAJOR_VERSION, CAIROMM_MINOR_VERSION, and CAIROMM_MICRO_VERSION 2008-10-07 Jonathon Jongsma Update API to officially released 1.8 API * cairomm/context.cc: * cairomm/context.h: remove has_show_text_glyphs() (moved to Surface) * cairomm/surface.cc: * cairomm/surface.h: added has_show_text_glyphs() (moved from Context) * cairomm/enums.h: removed LcdFilter enum, added a TextClusterFlags enum * cairomm/fontface.cc: * cairomm/fontface.h: changed the 'backwards' bool argument of SlotTextToGlyphs to use TextClusterFlags instead. Same general change for the C callback text_to_glyphs_cb * cairomm/fontoptions.cc: * cairomm/fontoptions.h: remove get/set_lcd_filter() since it was removed from cairo just before the 1.8 release * cairomm/scaledfont.cc: * cairomm/scaledfont.h: changed the 'backwards' bool argument of text_to_glyphs() to use TextClusterFlags instead * tests/test-context.cc: * tests/test-font-face.cc: * tests/test-font-options.cc: * tests/test-scaled-font.cc: * tests/test-surface.cc: update tests for API changes 2008-10-06 Jonathon Jongsma Fixe some test failures that were accidentally introduced Also fix a distcheck issue where the example png file was not being opened from the correct location when builddir != srcdir 2008-10-05 Jonathon Jongsma Overhaul of the newly-wrapped Matrix API (+documentation) * cairomm/matrix.cc: * cairomm/matrix.h: Add documentation for newly-wrapped matrix functions. Also, changed how the cairo_matrix_init_XXX() functions are wrapped. Initially I had basically wrapped them directly (as Matrix::init_XXX()), however, on the advice of Chong Kai Xiong (descender) on IRC, I have moved these into standalone 'generator' functions: - scaled_matrix() - translation_matrix() - rotation_matrix() - identity_matrix() * tests/test-font-face.cc: * tests/test-matrix.cc: modify the tests for the change in API. The new API does make things much more comfortable to use. 2008-09-14 Jonathon Jongsma Inherit Cairo::Matrix from cairo_matrix_t 2008-09-14 Murray Cumming 2008-09-14 Murray Cumming * cairomm/fontface.h: Improve (and complete) the documenation for the set_*_func() methods. * cairomm/fontoptions.h: * cairomm/scaledfont.h: * cairomm/context.h: Corrected some @param Doxygen syntax. 2008-09-14 Murray Cumming More whitespace correction. 2008-09-14 Murray Cumming 2008-09-14 Murray Cumming * cairomm/fontface.[h|cc]: Simplify the code by using slots without new and delete. 2008-09-14 Murray Cumming 2008-09-14 Murray Cumming * cairomm/fontface.[h|cc]: Remove the useless/awkward get_*_func() methods. We do not have them in gtkmm either. 2008-09-14 Murray Cumming 2008-09-14 Murray Cumming * cairomm/*.h: Added many missing . to documentation, and corrected some whitespace. 2008-09-14 Murray Cumming 2008-09-14 Murray Cumming * cairomm/*.h: Added many missing . to documentation, and corrected some whitespace. 2008-09-12 Jonathon Jongsma Add Win32PrintingSurface 2008-09-11 Jonathon Jongsma style fixups: use cobj() instead of using m_cobject directly whenever possible 2008-09-11 Jonathon Jongsma Add some missing Win32Surface API * cairomm/win32_surface.cc: * cairomm/win32_surface.h: add Win32Surface::create_with_ddb (and an alias for create_with_dib()), and Win32Surface::get_image() 2008-09-10 Jonathon Jongsma Added Surface::get_fallback_resolution() + test 2008-09-10 Jonathon Jongsma Add Surface::get_content() + test 2008-09-10 Jonathon Jongsma Add ScaledFont::get_scale_matrix() + test 2008-09-10 Jonathon Jongsma Add PsSurface::get_eps() 2008-09-10 Jonathon Jongsma Add Context::has_show_text_glyphs() + test 2008-09-10 Jonathon Jongsma Change the names of the stream creation functions to 'create_for_stream()' In order to avoid ambiguous template overload issues (I was getting compile failures when passing a literal string for the std::string parameter of the normal create() function) 2008-09-10 Jonathon Jongsma add Context::get_font_options() 2008-09-10 Jonathon Jongsma Add QuartzFontFace class 2008-09-10 Jonathon Jongsma * cairomm/win32_font.h: fix header protection guards 2008-09-10 Jonathon Jongsma Add basic test for Win32FontFace from Armin 2008-09-10 Armin Burgmeier Fixed Windows build 2008-09-10 Jonathon Jongsma Add win32 font support 2008-09-10 Jonathon Jongsma * cairomm/cairomm.h: update, add missing includes 2008-09-10 Jonathon Jongsma add Freetype font support 2008-09-09 Jonathon Jongsma * cairomm/fontface.cc: use vector::empty() rather than ::size() 2008-09-03 Jonathon Jongsma Add UserFontFace text-to-glyphs API 2008-08-27 Jonathon Jongsma Add documentation for all remainting FontOptions API and the enums that are used for them 2008-08-27 Jonathon Jongsma Add LcdFilter enum and FontOptions API for LCD filtering 2008-08-27 Jonathon Jongsma add Context::show_text_glyphs() 2008-08-27 Jonathon Jongsma Add a default value for the font_options parameter of the ScaledFont constructor 2008-08-27 Jonathon Jongsma Add ScaledFont::text_to_glyphs() 2008-08-27 Jonathon Jongsma Add Context::get/set_scaled_font() 2008-08-27 Murray Cumming 2008-08-27 Armin Burgmeier * MSVC_Net2005/cairomm/cairomm.rc.in: Replaced #include afxres.h by #include which does the job equally well, and allows compilation with the freely available Visual Studio Express compiler. Bug #17322. 2008-08-21 Jonathon Jongsma All Image Surface creation tests now pass (no exceptions thrown) 2008-08-19 Jonathon Jongsma Add sigc::slot versions of all of the functions that take a cairo_write_func_t or cairo_read_func_t 2008-08-18 Jonathon Jongsma Add Documentation for the new FontFace API 2008-08-18 Jonathon Jongsma Fix some API warts and deprecate old accessor functions that don't begin with get_ 2008-08-18 Jonathon Jongsma Add UserFontFace API 2008-08-18 Jonathon Jongsma ScaledFont: Change fontface constructor param to a RefPtr The static ::create() function took a FontFace by reference rather than by RefPtr, which means the API was essentially unusably broken. So this is technically an API break, but I don't see any other option. 2008-08-14 Jonathon Jongsma Implement the ToyFontFace class 2008-08-14 Jonathon Jongsma add missing m4 file for boost unit test 2008-08-13 Jonathon Jongsma post-release bump (1.6.3) 2008-08-13 Jonathon Jongsma Update for 1.6.2 release 2008-08-13 Jonathon Jongsma Fix boost unit test detection 2008-08-13 Jonathon Jongsma update surface type enum 2008-08-13 Jonathon Jongsma change Cairo::logic_error::get_status() to get_status_code() 2008-08-11 Jonathon Jongsma Add ability to get the error code from a Cairo::logic_error exception New API: Cairo::logic_error::get_status() 2008-08-11 Jonathon Jongsma Fix Cairo::logic_error error message Fix embarrassing mistake where the error string was being initialized with random data since the m_status member had not yet been initialized. 2008-08-11 Murray Cumming 2008-08-09 Armin Burgmeier * MSVC_Net2005/cairomm/cairomm.rc.in: Removed #include resource.h since there is no resource.h, and it works well without that include. * MSVC_Net2005/cairomm/Makefile.am: Copy cairommconfig.h from cairomm/, so it is available to the visual studio project. * MSVC_Net2005/cairomm/cairomm.vcproj: Added cairomm/context_surface_win32.cc to the project. * Makefile.am: * configure.in: Adapt build files. 2008-08-09 Murray Cumming Copied MSVCNet2008 to MSVCNet2005 ready for Armin to put files there. 2008-08-07 Murray Cumming 2008-08-07 Murray Cumming * MSVC/: Renamed to MSVC_Net2008, ready to be patched by Armin or Cedric. 2008-04-25 Jonathon Jongsma cairomm/context.h: removed extra unused function declarations 2008-04-25 Benjamin Reed separate calls to possibly-conflicting surface calls On Mac OS X, if you have both the xlib and quartz backends enabled in cairo, cairomm fails to build with conflicting headers: /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DPNG_NO_MMX_CODE -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include -I/sw/include/cairo -I/usr/X11R6/include -I/usr/X11/include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/include -I/sw/include -I/usr/X11R6/include -g -O2 -c -o context.lo context.cc g++ -DHAVE_CONFIG_H -I. -I.. -DPNG_NO_MMX_CODE -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include -I/sw/include/cairo -I/usr/X11R6/include -I/usr/X11/include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/include -I/sw/include -I/usr/X11R6/include -g -O2 -c context.cc -fno-common -DPIC -o .libs/context.o /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:255: error: declaration does not declare anything /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:264: error: using typedef-name 'Cursor' after 'struct' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: using typedef-name 'Cursor' after 'struct' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: invalid type in declaration before ';' token /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: conflicting declaration 'typedef int Cursor' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration as 'typedef XID Cursor' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:296: error: using typedef-name 'Picture' after 'struct' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: using typedef-name 'Picture' after 'struct' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: invalid type in declaration before ';' token /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: conflicting declaration 'typedef int Picture' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration as 'typedef XID Picture' This patch fixes this by separating out the calls in the get_surface_wrapper call to individual .cc files which are then compiled with only the headers they need. 2008-04-11 Jonathon Jongsma Now post-release bump for real 2008-04-11 Jonathon Jongsma fix configure.in version for 1.6.0 tag 2008-04-11 Jonathon Jongsma Post-release version bump 2008-04-11 Jonathon Jongsma Wrap cairo_format_stride_for_width() 2008-04-11 Murray Cumming 2008-04-11 Murray Cumming * Add autoheader to autogen.sh, to create cairommconfig.h.in, to fix the build for me. 2008-03-23 Murray Cumming 2008-03-23 Murray Cumming * cairomm/enums.h (FONT_TYPE_ATSUI, FONT_TYPE_QUARTZ): Change the definition of FONT_TYPE_ATSUI from CAIRO_FONT_TYPE_ATSUI to CAIRO_FONT_TYPE_QUARTZ (the same numerical value) and document it as deprecated. The others should be documented too. Added FONT_TYPE_QUARTZ. 2008-03-10 Jonathon Jongsma Update for 1.5.0 release * configure.in: bump cairo requirement to at least 1.5.10 * NEWS: update for 1.5.0 release 2008-03-10 Jonathon Jongsma install config header * cairomm/Makefile.am: install the new cairommconfig.h header and make sure that the .in file is distributed 2008-03-10 Jonathon Jongsma Another build fix for solaris * cairomm/exception.cc: include to fix the build on solaris which apparently doesn't include string from their exception header (Tim Mooney). Fixes bug #14559 2008-03-10 Jonathon Jongsma new HAVE_MATH_H define I'm not sure this file should really be under version control, but there's a new preprocessor symbol, so I'm updating it 2008-02-19 Murray Cumming 2008-02-19 Tim Mooney * configure.in: Added check, defining HAVE_MATH_H. * cairomm/context.cc: * examples/pdf-surface/main.cc: * examples/png_file/main.cc: * examples/ps-surface/main.cc: * examples/svg-surface/main.cc: * examples/text-rotate/text-rotate.cc: Added includes of math.h to fix the build with Sun Workshop 12. Bug #14558. 2008-02-17 Tom Hughes Revert get_current_point as cairo_get_current_point has been reverted to it's previous interface. Also change new has_current_point method to call the new cairo_has_current_point routine. 2008-01-30 Jonathon Jongsma * cairomm/context.cc: * cairomm/context.h: add new has_current_point() API to deal with the fact that cairo_get_current_point() changed from a void to a cairo_status_t return type, and we don't necessarily want to throw an exception here or it could break existing applications. But this could be reconsidered 2008-01-30 Jonathon Jongsma * cairomm/xlib_surface.cc: * cairomm/xlib_surface.h: add new get_xrender_format() function (new in 1.5.8) and add missing static create_with_xrender_format() function * docs/reference/Doxyfile.in: add CAIRO_HAS_XLIB_XRENDER_SURFACE feature so that new xrender API shows up in docs 2008-01-30 Jonathon Jongsma * configure.in: bump cairo requirement to 1.5.8 * cairomm/context.cc: * cairomm/context.h: add get_path_extents function, new in 1.5.8 2008-01-30 Jonathon Jongsma * configure.in: enable people with CAIROMM_DEVEL variable set to explicitly deisable automated tests * m4/ax_boost_unit_test_framework.m4: update to slightly newer boost unittest checking scripts 2007-11-10 Jonathon Jongsma [PsSurface] Add new API to control PS language level * cairomm/surface.cc: * cairomm/surface.h: add new PsSurface API: set_eps(), restrict_to_level(), get_levels(), level_to_string() 2007-11-10 Jonathon Jongsma [Surface] add copy_page(), show_page() * cairomm/surface.cc: * cairomm/surface.h: add Surface::copy_page() and Surface::show_page() 2007-11-10 Jonathon Jongsma Start on cairo 1.5.x features * configure.in: bump version and minimum cairo version so that we can start implementing the 1.5.x features 2007-11-10 Jonathon Jongsma * docs/reference/Doxyfile.in: update doxygen config file since my version of doxygen now complains that there are obsolete config keys 2007-11-10 Jonathon Jongsma update NEWS and bump version for 1.4.6 release * NEWS: update news for 1.4.6 release * configure.in: bumped version 2007-08-13 Murray Cumming 2007-08-13 Murray Cumming * cairomm/context.cc: Add #include to fix the build on MacOS. Thanks to Elias N (Bug #11972). 2007-07-30 Murray Cumming Increased version post-release. 2007-07-30 Murray Cumming Increased version for release. 2007-07-21 Murray Cumming Fixed ChangeLog 2007-07-21 Murray Cumming 2007-07-21 Murray Cumming * m4/reduced.m4: Added, containing CAIROMM_ARG_ENABLE_API_EXCEPTIONS(). * configure.in: Use CAIROMM_ARG_ENABLE_API_EXCEPTIONS() to add a --enable-api-exceptions=yes/no option. Used to generate a cairomm/cairommconfig.h config file, which defines (or not) CAIROMM_EXCEPTIONS_ENABLED. * cairomm/cairommconfig.h.in: Added, used to generate cairommconfig.h * cairomm/private.cc: * cairomm/private.h: Use ifdef to replace throw_exception() with an empty implementation when exceptions are disabled. This allows cairomm to be built when using CXXFLAGS=-fno-exceptions. 2007-07-14 Jonathon Jongsma Post-release version number bump 2007-07-14 Jonathon Jongsma Get ready for 1.4.2 release * NEWS: updated for 1.4.2 release * configure.in: bumped version to 1.4.2 2007-07-14 Dave Beckett Update the GENERIC_LIBRARY_VERSION correctly Was: 1:0:0 in 1.2.4 current: interfaces were added, increment to 2 revision: set to zero since current was incremented age: increment since interfaces were added Changed to: 2:0:1 2007-07-14 Murray Cumming * cairomm/refptr.h: Added RefPtr(object, refcount) constructor for use in cast_*(), so that the casted RefPtr shares the same refcount, avoiding an early deletion. I do not like making this constructor public, but I do not see another way. 2007-07-12 Jonathon Jongsma Push docs and a doc-tarball to the web on release * Makefile.am: add doc-publish target and make release-publish depend on this. This automatically uploads the new API documentation on release * docs/reference/Makefile.am: upload the html documentation and a tarball of the documentation to the cairographics.org site 2007-07-12 Jonathon Jongsma * docs/reference/Makefile.am: hacky workaround to get distcheck to pass 2007-07-10 Jonathon Jongsma Bump version for release 2007-07-10 Jonathon Jongsma Add ability to use dynamic casting with the return values from more functions, including: Context::get_target() Context::get_target() const Context::get_source() Context::get_source() const Context::get_group_target() Context::get_group_target() const Context::pop_group() * tests/test-context.cc: a few additional tests to verify the const / non-const versions both work with dynamic casting. 2007-07-10 Jonathon Jongsma Improve the documentation style a little bit to make it more readable. Also build the documentation for the new QuartzSurface class 2007-07-10 Jonathon Jongsma Add alternate API for Context::set_dash() which takes a std::vector argument instead of the slightly unexpected std::valarray argument * tests/test-context.cc: test that both API work correctly and compile correctly without any problems 2007-07-04 Jonathon Jongsma Added some tests for matrix transformations and user-to-device coordinate mappings The matrix transformation 'test' does nothing more than call the functions to excercise them a bit Also used BOOST_CHECK_EQUAL in most places instead of BOOST_CHECK to get more meaningful failure messages. 2007-07-04 Jonathon Jongsma add missing 'break;' on the I/O error case statement 2007-07-04 Jonathon Jongsma Fix dynamic casting of Pattern retrieved with Context::get_source() * cairomm/context.cc: when getting the source pattern of a Cairo::Context, check which type of Pattern it is so that we create the correct C++ wrapper. Without this, RefPtr<>::cast_dynamic() doesn't seem to work as we would expect it to. * tests/test-context.cc: improve the Context::get_source() / Context::set_source () tests now that dynamic casting works correctly 2007-07-04 Jonathon Jongsma examples/, tests/: fix a bunch of minor compile errors when compiling with -Werror 2007-07-04 Jonathon Jongsma Enable extra compiler warnings and -Werror if the CAIROMM_DEVEL environment variable is set to 'on'. This caught the following mistake: * cairomm/pattern.cc: forgot to return the ColorStop vector 2007-07-04 Jonathon Jongsma Context: fix a FIXME to match the style of ScaledFont::glyph_extents since MSVC (and possibly other compilers) complain when allocating an array on the stack and the size of the array is not a compile-time constante 2007-06-04 Jonathon Jongsma Update Makefile.am release procedures for git instead of CVS make release-publish automatically tags the repository for us, update it to tag in git instead of in cvs 2007-05-31 Jonathon Jongsma more .gitignore additions 2007-05-31 Jonathon Jongsma Add files to .gitignore so they don't pollute git status 2007-05-31 Jonathon Jongsma Fix Makefile dependency issue when trying to `make dist` without building the docs first 2007-04-16 Murray Cumming 2007-04-16 Hugo Vincent * Added QuartzSurface for MacOS X (when cairo is built with Quartz support), similar to the existing Win32Surface and XlibSurface. These allow use of platform-specific features and data structures. 2007-03-24 Jonathon Jongsma 2007-03-23 Jonathon Jongsma * Makefile.am: * autogen.sh: * configure.in: * m4/ax_boost_base.m4: * m4/ax_boost_unit_test_framework.m4: Add some basic test infrastructure. It's disabled by default, and must be explicitly enabled by passing --enable-tests to configure (or by setting the CAIROMM_DEVEL environment variable to "on"). It uses the boost unit test framework, but this should not be required unless you've explicitly enabled tests. If tests are enabled, you can easily run them with 'make check' * tests/Makefile.am: * tests/test-context.cc: added the beginning of a test for Cairo::Context. Most of these tests are really very interesting. Basically what I'm trying to do is a) test some basic behaviors, and b) excercise the functionality a little bit. One of the tests currently fails due to a RefPtr::cast_dynamic failure, so I have to see what's going on there. 2007-03-22 Murray Cumming 2007-03-22 Murray Cumming * cairomm/enums.h: Restored FORMAT_RGB16_565 and marked it as deprecated. Note that CAIRO_FORMAT_RGB16_565 has not really been removed from cairo. It has just moved from the enum to a #define in cairo-deprecated. * cairomm/context.cc: * cairomm/context.h: Made get_dash() const. Renamed clip_extents() to get_clip_extents(), to match the other get_*_extents() methods (in Context, if not in other classes), and made it const. Made copy_clip_rectangle_list() const. * cairomm/pattern.cc: * cairomm/pattern.h: Make the RadialGradient::get_radial_circles(), LinearGradient::get_linear_points(), and Gradient::get_color_stops() methods const. Added a non-const method overload of get_surface(). Correc the get_color_stops() implementation to match the declaration. 2007-03-22 Murray Cumming Update ChangeLog to show what was added 2007-03-22 Murray Cumming Update ChangeLog to show what was added 2007-03-22 Jonathon Jongsma 2007-03-22 Jonathon Jongsma * cairomm/context.cc: Minor comment cleanups * cairomm/pattern.cc: get the gradient stops by reference parameter instead of returning by value. This saves an extra copy of the vector. 2007-03-21 Jonathon Jongsma 2007-03-21 Jonathon Jongsma * cairomm/context.cc: * cairomm/context.h: * cairomm/enums.h: * cairomm/pattern.cc: * cairomm/pattern.h: * configure.in: Add initial support for new cairo 1.4.x API. It will probably still need quite a bit of work, but I wanted to commit what I have now so that it doesn't keep sitting in my working directory. 2007-02-01 Jonathon Jongsma 2007-02-01 Jonathon Jongsma * configure.in: Fixes for building on Cygwin from yselkowitz@users.sourceforge.net. Closes bug #9726 2007-01-28 Jonathon Jongsma 2007-01-28 Jonathon Jongsma * configure.in: bump rev to 1.2.5 2007-01-28 Jonathon Jongsma 2007-01-28 Jonathon Jongsma * docs/reference/Doxyfile.in: fixes building the cairomm documentation where builddir != srcdir. Patch from yselkowitz@users.sourceforge.net for bug #9727 2007-01-18 Jonathon Jongsma 2007-01-17 Jonathon Jongsma * NEWS: updated news for 1.2.4 release * configure.in: bumped version to 1.2.4 2006-09-27 Murray Cumming Fix typo in ChangeLog. 2006-09-27 Murray Cumming 2006-09-27 Murray Cumming * cairomm/refptr.h: cast_static() and cast_dynamic(): Use the refcount_() accessor instead of the member variable, to avoid compilation errors, as we already doing in the templated copy constructor. 2006-08-21 Jonathon Jongsma 2006-08-21 Jonathon Jongsma * NEWS: update for 1.2.2 * configure.in: bump to next even number (1.2.2) 2006-08-21 Jonathon Jongsma 2006-08-21 Cedric Gustin * cairomm/win32_surface.cc: Explicitly cast Cairo::Format to cairo_format_t. 2006-08-20 Jonathon Jongsma 2006-08-20 Jonathon Jongsma * Makefile.am: fix up the release announcement template to explain what cairomm is at the top of the email before telling where to get it. * configure.in: post-release bump (1.2.1) 2006-08-20 Jonathon Jongsma 2006-08-20 Jonathon Jongsma * NEWS: Update information about new stuff in 1.2.0 * configure.in: bump the release version number to 1.2.0 and the shared library version number to 1:0:0 since interfaces were changed and added and we're now guaranteeing API/ABI stability 2006-08-20 Jonathon Jongsma 2006-08-20 Jonathon Jongsma * examples/pdf-surface/.cvsignore: * examples/png_file/.cvsignore: * examples/ps-surface/.cvsignore: * examples/svg-surface/.cvsignore: added image files produced by the example programs to .cvsignore 2006-08-20 Jonathon Jongsma 2006-08-19 Jonathon Jongsma * Makefile.am: get rid of the concept of a snapshot. It doesn't really make that much sense for cairomm, honestly, since we're just a simple wrapper library. 2006-08-20 Jonathon Jongsma Hopefully they'll get added for real this time 2006-08-20 Jonathon Jongsma 2006-08-19 Jonathon Jongsma * MSVC/examples/.cvsignore: * MSVC/examples/Makefile.am: * MSVC/examples/pdf-surface/.cvsignore: * MSVC/examples/pdf-surface/Makefile.am: * MSVC/examples/pdf-surface/pdf-surface.vcproj: * MSVC/examples/png_file/.cvsignore: * MSVC/examples/png_file/Makefile.am: * MSVC/examples/png_file/png_file.vcproj: * MSVC/examples/ps-surface/.cvsignore: * MSVC/examples/ps-surface/Makefile.am: * MSVC/examples/ps-surface/ps-surface.vcproj: * MSVC/examples/svg-surface/.cvsignore: * MSVC/examples/svg-surface/Makefile.am: * MSVC/examples/svg-surface/svg-surface.vcproj: * MSVC/examples/text-rotate/.cvsignore: * MSVC/examples/text-rotate/Makefile.am: * MSVC/examples/text-rotate/text-rotate.vcproj: * MSVC/gendef/.cvsignore: * MSVC/gendef/Makefile.am: * MSVC/gendef/gendef.cc: * MSVC/gendef/gendef.vcproj: added a bunch of MSVC / windows-specific things that got missed last time. 2006-08-19 Jonathon Jongsma 2006-08-18 Jonathon Jongsma * cairomm/win32_surface.cc: * cairomm/win32_surface.h: add some missing win32 API that I had overlooked: cairo_win32_surface_get_dc() and cairo_win32_surface_create_with_dib(), updated documentation for standard Win32Surface::create() function. 2006-08-19 Jonathon Jongsma 2006-08-18 Cedric Gustin * cairomm/context.cc: Define M_PI for MSVC. * cairomm/scaledfont.cc: Allocate glyph_array as a dynamic array as MSVC does not like non-const arguments as array size. * examples/pdf-surface/main.cc, examples/png_file/main.cc, examples/ps-surface/main.cc, examples/svg-surface/main.cc, examples/text-rotate/text-rotate.cc: Define M_PI for MSVC. * configure.in, Makefile.am: Generate Makefiles in the MSVC subdirectories. * .cvsignore: Added Eclipse .project to the list of ignored files. * MSVC/*: Added project and resource files for Visual Studio 2005. 2006-08-18 Jonathon Jongsma 2006-08-18 Jonathon Jongsma * cairomm/context.cc: * cairomm/context.h: API CHANGE: some API was changed to maintain a closer similarity to the underlying cairo API (while also attempting to avoid confusion with the C++ 'new' keyword) in preparation for freezing the cairomm API. Two functions are affected: - Context::clear_path() -> Context::begin_new_path() - Context::new_sub_path() -> Context::begin_new_sub_path() * configure.in: bump the libtool version to indicate API change 2006-08-16 Jonathon Jongsma 2006-08-15 Jonathon Jongsma * cairomm/context.cc: remove another TODO. I looked at cairo_append_path, and it just copies the data from the supplied path and appends that to the current path -- it doesn't modify the passed in path -- so it can stay const. 2006-08-16 Jonathon Jongsma 2006-08-15 Jonathon Jongsma * cairomm/context.h: remove a FIXME that was resolved on the mailing list 2006-08-15 Murray Cumming Remove unnecessary TODO comment. 2006-07-11 Murray Cumming 2006-07-11 Murray Cumming * cairomm/refptr.h: unref(): Only delete the refcount int when the refcount has reached 0, instead of deleting it every time. Thanks valgrind. 2006-07-11 Murray Cumming 2006-07-11 Murray Cumming * cairomm/refptr.h: From-C-object Constructor: Added documentation explaining how/when to use it and when to do an extra reference(). This will help us, though it should rarely be necessary for an application developer to understand it. Made pCppRefcount_ mutable, so that refcount_() can be a const method so that the templated constructor compiles. Added class documentation to explain why we even want to use this class. 2006-07-05 Jonathon Jongsma * cairomm/refptr.h: copy constructors: initialize the pCppRefcount_ member variable, using a public refcount_() method when necessary to access a different RefPtr<> specialization. 2006-07-11 Murray Cumming * cairomm/refptr.h: Use an int to reference-count the C++ object, and only reference/unreference the object (and hence the underlying C object) when receiving/deleting the C++ object. Without this, we never delete the C++ object. Fixes bug #7442. 2006-07-09 Jonathon Jongsma 2006-07-09 Jonathon Jongsma * NEWS: add NEWS for 1.1.10 release * configure.in: bump version to 1.1.12 2006-07-06 Jonathon Jongsma 2006-07-05 Jonathon Jongsma * Makefile.am: Ooops, I had accidentally removed dependency info for release-publish target 2006-07-05 Murray Cumming 2006-07-05 Murray Cumming * cairomm/context.h: * cairomm/fontface.h: * cairomm/pattern.h: * cairomm/surface.cc: * cairomm/surface.h: * cairomm/xlib_surface.cc: * cairomm/xlib_surface.h: Fix the generic text about reference-counted objects, because we no longer use copy constructors for this. And some pedantic white space changes. 2006-07-05 Murray Cumming 2006-07-05 Murray Cumming * cairomm/scaledfont.cc: * cairomm/scaledfont.h: create(): Make the font_matrix and ctm parameters const (they are now const in the C API too). Maybe the font parameter should be const, but maybe there is a reason that it is not const in the C API. Pass FontOptions by const reference instead of by value. glyph_extents(): Pass the vector by const reference instead of by value. I would prefere to make all the extents() functions use return values instead of output parameters, but I suppose this might be slightly less efficient in some circumstances. 2006-07-05 Murray Cumming 2006-07-05 Murray Cumming * cairomm/cairomm.h: * cairomm/context.h: * cairomm/path.h: * cairomm/scaledfont.h: * cairomm/surface.h: * cairomm/win32_surface.h: * cairomm/xlib_surface.h: Use @ instead of \ for doxygen commands, to be consistent with gtkmm, which uses it because it is the same as JavaDoc, with which some people are already familiar. 2006-07-05 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * Makefile.am: add ability to do snapshot releases to the cairographics.org/snapshots/ directory in addition to official releases * configure.in: bumped the revision to 1.1.10 in preparation for a snapshot release of the 1.2 API * docs/reference/Makefile.am: fixed some distcheck errors 2006-07-04 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * .cvsignore, cairomm/.cvsignore: ignore some autotools files and *.swp files (from vim) 2006-07-04 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * cairomm/scaledfont.cc, cairomm/scaledfont.h: wrap ScaledFont, including new API for cairo 1.2 * cairomm/Makefile.am: add scaledfont.* to list of sources 2006-07-04 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * cairomm/surface.h: Remove comments stating that PDF, PS, and SVG are experimental surfaces. As of 1.2.0, these three surfaces are officially supported by the cairo library. 2006-07-04 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * cairomm/xlib_surface.h: add a bit more documentation for the new XlibSurface API 2006-07-04 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * cairomm/surface.cc, cairomm/surface.h: added SvgSurface::get_versions() and SvgSurface::version_to_string() API. They're implemented as static members right now. 2006-07-01 Jonathon Jongsma 2006-06-30 Jonathon Jongsma * configure.in: bumped cairomm version to 0.7.0 and bumped cairo requirement to 1.2.0 2006-07-01 Jonathon Jongsma 2006-06-30 Jonathon Jongsma * cairomm/xlib_surface.cc, cairomm/xlib_surface.h: add new get_height() and get_width() API to XlibSurface 2006-06-28 Jonathon Jongsma 2006-06-27 Jonathon Jongsma * cairomm/enums.h: Added enum types to support the new get_type() and SVG Version API * cairomm/fontface.cc, cairomm/fontface.h: add new get_type() API * cairomm/pattern.cc, cairomm/pattern.h: add new get_type() API * cairomm/surface.cc, cairomm/surface.h: add new get_type() API and SvgSurface::restrict_to_version() API 2006-06-27 Jonathon Jongsma 2006-06-26 Jonathon Jongsma * cairomm/surface.cc, cairomm/surface.h: add new PsSurface and PdfSurface API: set_size, dsc_comment, dsc_begin_setup, dsc_begin_page_setup * cairomm/xlib_surface.cc, cairomm/xlib_surface.h: add new XlibSurface API: get_display, get_drawable, get_screen, get_visual, get_depth 2006-06-26 Jonathon Jongsma 2006-06-26 Jonathon Jongsma * cairomm/surface.cc: * cairomm/surface.h: Added new Surface and ImageSurface API from 1.1.x snapshots 2006-06-23 Jonathon Jongsma 2006-06-23 Jonathon Jongsma * cairomm/context.cc: * cairomm/context.h: added Context::new_sub_path() and new push/pop group API. 2006-06-23 Jonathon Jongsma 2006-06-23 Jonathon Jongsma * cairomm/enums.h: fix stupid error from last commit 2006-06-23 Jonathon Jongsma 2006-06-23 Jonathon Jongsma * cairomm/enums.h: add new FORMAT_RGB16_565 format 2006-06-13 Jonathon Jongsma forgot to modify the changelog 2006-06-13 Jonathon Jongsma update for new cairo API cairo_surface_set_fallback_resolution() 2006-05-11 Jonathon Jongsma 2006-05-10 Jonathon Jongsma * docs/reference/cairomm.css: minor documentation stylesheet fix 2006-05-09 Jonathon Jongsma 2006-05-08 Jonathon Jongsma * cairomm/context.h: * cairomm/path.h: added some preliminary documentation explaining that the caller is responsible for freeing Path objects returned from Context::copy_path() and Context::copy_path_flat(). 2006-05-09 Jonathon Jongsma 2006-05-08 Jonathon Jongsma * cairomm/cairomm.h: Add doxygen API introduction test here. * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: * docs/reference/cairomm-header.html: * docs/reference/cairomm.css: * docs/reference/introduction.h: fix up some documentation presentation issues that turned up with newer versions of doxygen. 2006-05-09 Jonathon Jongsma 2006-05-08 Jonathon Jongsma * configure.in: remove check for perl since we're not using any of the gmmproc stuff for cairomm * docs/reference/Makefile.am: add documentation dependency on all of the headers in the cairomm/ directory so that if a header changes the documentation will be rebuilt. 2006-04-20 Murray Cumming 2006-04-20 Murray Cumming * cairomm/context.cc: * cairomm/context.h: mask(pattern) and mask(surface): Make the parameter const, because I am fairly sure that the C function does not change it. 2006-04-07 Jonathon Jongsma 2006-04-06 Jonathon Jongsma * Makefile.am: Add a brief description of cairomm to the release announcement template 2006-04-05 Jonathon Jongsma 2006-04-04 Jonathon Jongsma * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: A couple minor build fixes to make distcheck happy 2006-04-05 Jonathon Jongsma 2006-04-04 Jonathon Jongsma * NEWS: add news for 0.6.0 release * configure.in: bump version to 0.6.0 2006-04-03 Jonathon Jongsma 2006-04-03 Jonathon Jongsma * examples/text-rotate/text-rotate.cc: protect PNG functions with #ifdef in case cairo wasn't compiled with PNG support 2006-04-01 Jonathon Jongsma 2006-03-31 Danilo Piazzalunga * Makefile.am: * docs/Makefile.am: * docs/reference/Makefile.am: add convenience targets for cleaning and rebuilding documentation (doc-clean and doc-rebuild). 2006-03-31 Jonathon Jongsma 2006-03-30 Danilo Piazzalunga * configure.in: enable documentation even if doxygen and/or graphviz are missing, so the docs will be installed when building a release. * docs/reference/Makefile.am: don't remove html directory with `make clean`, so that users of the tarball releases don't destroy the pre-built documentation when running make clean. Change to maintainer-clean 2006-03-30 Jonathon Jongsma 2006-03-29 Jonathon Jongsma * configure.in: added tests for doxygen and graphviz which displays a warning if the user has --enable-docs set but doesn't have doxygen or graphviz installed. 2006-03-30 Jonathon Jongsma 2006-03-28 Danilo Piazzalunga * cairomm/enums.h: Stop using CAIRO_EXTEND_PAD, as it only exists in the 1.1.1 development branch. 2006-03-15 Jonathon Jongsma 2006-03-14 Jonathon Jongsma * configure.in: * examples/Makefile.am: * examples/text-rotate/.cvsignore: * examples/text-rotate/Makefile.am: * examples/text-rotate/text-rotate.cc: Added another basic example, borrowed from a test-case in cairo. This one is just a simple example of using text in cairomm 2006-03-15 Jonathon Jongsma 2006-03-14 Jonathon Jongsma * cairomm/fontface.h: * cairomm/fontoptions.h: * cairomm/path.h: * cairomm/pattern.h: include instead of since it didn't want to compile on windows without these * cairomm/win32_surface.cc: * cairomm/win32_surface.h: Move the include of cairo-win32.h from the source file to the header since the declaration of create() needs the HDC type definition. With these changes, cairomm should compile the Win32Surface cleanly with mingw on Microsoft Windows 2006-03-13 Jonathon Jongsma 2006-03-12 Danilo Piazzalunga * autogen.sh: Allow overriding aclocal, automake, autoconf and libtoolize using environment variables. Taken from cairo's autogen.sh. 2006-03-06 Jonathon Jongsma 2006-03-06 Jonathon Jongsma * cairomm/*.cc, *.h: add vim modelines to set proper indentation for cairomm when using vim 2006-03-01 Jonathon Jongsma 2006-02-28 Jonathon Jongsma * cairomm/context.cc: * cairomm/context.h: * cairomm/enums.h: * cairomm/fontoptions.cc: * cairomm/fontoptions.h: * cairomm/pattern.cc: * cairomm/pattern.h: * cairomm/surface.h: wrapped all of the enum types with cairomm types within the Cairo namespace, so now (for example) the values for Cairo::Format are something like Cairo::FORMAT_ARGB32 instead of the base cairo types like CAIRO_FORMAT_ARGB_32. * examples/png_file/main.cc: fixed example to work with the new namespaced enum types 2006-02-28 Jonathon Jongsma 2006-02-27 Jonathon Jongsma * cairomm/exception.h: * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: hide some of the private types and functions from the Doxygen API reference documentation 2006-02-28 Jonathon Jongsma 2006-02-27 Stefan Kersten * cairomm/surface.cc: fix an extra trailing parentheses in GlitzSurface::create() 2006-02-23 Jonathon Jongsma 2006-02-22 Danilo Piazzalunga * examples/README: Write some basic information about each example 2006-02-23 Jonathon Jongsma 2006-02-22 Jonathon Jongsma * docs/reference/Makefile.am: add target for publishing the API reference to cairographics.org 2006-02-21 Jonathon Jongsma 2006-02-20 Danilo Piazzalunga * Makefile.am: Include MAINTAINERS in distribution. Fixes Bug #5982 2006-02-21 Jonathon Jongsma 2006-02-17 Danilo Piazzalunga * COPYING: Use the text from the Library GPL 2.0, which is the actual license of cairomm. Fixes Bug #5934 * all: Update FSF's postal address in GPL/LGPL comment headings. Fixes Bug #5933 2006-02-21 Jonathon Jongsma 2006-02-17 Danilo Piazzalunga * COPYING: Use the text from the Library GPL 2.0, which is the actual license of cairomm. Fixes Bug #5934 * cairomm/*: Update FSF's postal address in GPL/LGPL comment headings. Fixes Bug #5933 2006-02-17 Jonathon Jongsma 2006-02-17 Danilo Piazzalunga * examples/*/.cvsignore: Bug #5927: added .cvsignore files to examples directories 2006-02-17 Jonathon Jongsma 2006-02-17 Danilo Piazzalunga * AUTHORS: * INSTALL: * README: * cairomm/exception.cc: * cairomm/exception.h: Remove lingering references to libxml++ 2006-02-17 Jonathon Jongsma 2006-02-17 Danilo Piazzalunga * configure.in: Bug #5929: Output files in docs subdir only if --enable-docs is set. This prevents configure from generating files which are not cleaned up when --disable-docs is used. Use AC_CONFIG_FILES and AC_OUTPUT as recommended. 2006-02-17 Jonathon Jongsma 2006-02-16 Jonathon Jongsma * docs/reference/Doxyfile.in: * docs/reference/cairomm.css: added some style customisations to the API doc so that it fits in with the overall Cairo style a bit better 2006-02-17 Jonathon Jongsma 2006-02-16 Jonathon Jongsma * AUTHORS: * MAINTAINERS: Add my information to the Maintainers and authors file 2006-02-09 Jonathon Jongsma 2006-02-09 Jonathon Jongsma * docs/reference/Makefile.am: added a 'html' target to satisfy the dist rule 2006-02-08 Jonathon Jongsma 2006-02-08 Jonathon Jongsma * cairomm/context.h: Added a lot of documentation for the Cairo::Context class taken from the cairo docs. It's not complete, but the basics are all covered now. * docs/reference/Makefile.am: make use of existing Makefile variable * NEWS: update for 0.5.0 release 2006-02-08 Jonathon Jongsma 2006-02-07 Jonathon Jongsma * Makefile.am: add docs/ subdir * configure.in: added an --enable-docs switch to the configure script (enabled by default), and added AC_OUTPUT directives for the documentation Makefiles, etc. * docs/.cvsignore: * docs/Makefile.am: * docs/reference/.cvsignore: * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: * docs/reference/introduction.h: Added infrastructure to build and install the API documentation for cairomm (based on libxml++ makefiles). 2006-01-29 Murray Cumming 2006-01-27 Jonathon Jongsma * .cvsignore: * cairomm/.cvsignore: update .cvsignore files * cairomm/surface.cc: * cairomm/surface.h: change Surface::create function to take a RefPtr instead of Surface& 2006-01-27 Murray Cumming 2006-01-27 Murray Cumming * examples/pdf-surface/Makefile.am: Remove extra LDADD that was breaking the distcheck. 2006-01-27 Murray Cumming Increase version. 2006-01-26 Murray Cumming 2006-01-25 Jonathon Jongsma * configure.in: * examples/Makefile.am: * examples/pdf-surface/: * examples/ps-surface/: * examples/svg-surface/: add examples for additional surfaces 2006-01-24 Murray Cumming 2006-01-24 Murray Cumming * cairomm/Makefile.am: * cairomm/surface.cc: * cairomm/surface.h: * cairomm/xlib_surface.cc: * cairomm/xlib_surface.h: * cairomm/win32_surface.cc: * cairomm/win32_surface.h: Moved XlibSurface and Win32Surface into separate files, not #included by the main cairomm.h file, so that developers do not need to suffer the Xlib.h or Windows namespace pollution unless they really need to. For instance, this fixes the gtkmm 2.9 build which was broken by the Display struct in Xlib.h. 2006-01-21 Murray Cumming 2006-01-15 Jonathon Jongsma * cairomm/surface.cc: * cairomm/surface.h: backwards-incompatible API change for the Surface types. Cairo::Surface is now a base class for all of the other surface types, and should not be used directly. New Surface types include ImageSurface, XlibSurface, Win32Surface, PdfSurface, PsSurface, SvgSurface, and GlitzSurface. Modified Surface::write_to_png() and Surface::write_to_png_stream() so that they throw exceptions like the other functions instead of returning a cairo_status_t value. Added API documentation for all Surface classes and all member functions of the Surface class heirarchy. * examples/png_file/Makefile.am: added generated PNG file to CLEANFILES * examples/png_file/main.cc: updated the PNG example to use the new ImageSurface class instead of using the Surface class directly. * cairomm/*: Renamed the Cairo::Status type to Cairo::ErrorStatus since it conflicts with a #define Status in XLib and is not used exposed in the API anyway. 2006-01-07 Murray Cumming 2006-01-06 Jonathon Jongsma * cairomm/surface.cc: * cairomm/surface.h: Added implementation of write_to_png() and write_to_png_stream() when PNG support is available in the base cairo library * examples/png_file/*: Added an example of creating an image surface and saving it to a png image file * examples/Makefile.am: add new example directory to SUBDIRS list * configure.in: added output declaration for examples/png_file/Makefile * examples/makefile.am_fragment: fix leftover libxml boilerplate 2006-01-06 Murray Cumming 2006-01-03 Jonathon Jongsma * cairomm/surface.cc: added missing implementations for reference() and unreference() functions 2005-12-23 Murray Cumming 0.4.0: 2005-12-17 Murray Cumming * cairomm/Makefile.am: * cairomm/refptr.h: Add shared reference-counting smartpointer, using the reference-count in the object. A copy of the tried and tested glibmm RefPtr. * cairomm/context.cc: * cairomm/context.h: * cairomm/fontface.cc: * cairomm/fontface.h: * cairomm/pattern.cc: * cairomm/pattern.h: * cairomm/surface.cc: * cairomm/surface.h: Make constructors protected and add public static create() methods that return instances in RefPtr<>s. This allows reference-counted objects to be clearly const or non-const, and allows casting between related types. 2005-12-20 Murray Cumming 2005-12-17 Murray Cumming * cairomm/Makefile.am: * cairomm/refptr.h: Add shared reference-counting smartpointer, using the reference-count in the object. A copy of the tried and tested glibmm RefPtr. * cairomm/context.cc: * cairomm/context.h: * cairomm/fontface.cc: * cairomm/fontface.h: * cairomm/pattern.cc: * cairomm/pattern.h: * cairomm/surface.cc: * cairomm/surface.h: Make constructors protected and add public static create() methods that return instances in RefPtr<>s. This allows reference-counted objects to be clearly const or non-const, and allows casting between related types. 2005-12-17 Murray Cumming 2005-12-17 Murray Cumming * cairomm/context.cc: * cairomm/context.h: Change set_dash(void) to unset_dash(). Change rotate_deg() to rotate_degrees(). Change identity_matrix() to set_identity_matrix(). Change new_path() to clear_path(). * cairomm/fontface.cc: * cairomm/fontface.h: Comment-out get/set_user_data(), because it seems useless. 2005-12-08 Murray Cumming 2005-12-08 Murray Cumming * cairomm/pattern.cc: * cairomm/pattern.h: Create a hierarchy of pattern classes, as suggested by the C documentation, because not all functions are meaningful for all pattern types. 2005-12-07 Murray Cumming 2005-12-07 Murray Cumming * cairomm/context.cc: * cairomm/context.h: font_extents(), stroke_extents(), glyph_extents(), fill_extents(): Add get_ prefix and make them const. 2005-12-07 Murray Cumming 2005-12-07 Murray Cumming * cairomm/context.cc: * cairomm/context.h: Add typedef for Matrix, though we probably want to derive a class with a C++-like matrix API, with operator overloading. 2005-12-07 Murray Cumming 2005-12-07 Murray Cumming * cairomm/exception.cc: * cairomm/exception.h: Rename to logic_error, because the cairo documentation says that most of them are programming errors, not runtime errors. Derive from std::logic_error because of this. * cairomm/private.cc: * cairomm/private.h: Throw std::bad_alloc for memory errors, and std::io_base::failure for read/write runtime errors, as suggested by the cairo language-binding documentation. 2005-12-07 Murray Cumming 2005-12-07 Murray Cumming * cairomm/context.cc: * cairomm/fontoptions.cc: * cairomm/surface.cc: Check for errors in constructors, as per the error-handling advice in the language bindings section of the cairo documentation. 2005-12-07 Murray Cumming 2005-12-07 Murray Cumming * cairomm/context.cc: * cairomm/context.h: Change mask_surface() to mask() and set_source_surface() to set_source(), as per the method overloading advice in the language bindings section of the cairo documentation. 2005-12-02 Murray Cumming Increase version. 2005-12-02 Murray Cumming 2005-12-02 Murray Cumming * cairomm/cairomm.h: Put sensible stuff in here, instead of my copy/paste stuff from libxml++. * cairomm/context.cc: * cairomm/context.h: * cairomm/enums.h: * cairomm/exception.cc: * cairomm/exception.h: * cairomm/fontface.cc: * cairomm/fontface.h: * cairomm/fontoptions.cc: * cairomm/fontoptions.h: * cairomm/path.cc: * cairomm/path.h: * cairomm/pattern.cc: * cairomm/pattern.h: * cairomm/private.cc: * cairomm/private.h: * cairomm/surface.cc: * cairomm/surface.h: Add LGPL comment headings. 2005-12-02 Murray Cumming Initial revision