Commit graph

13 commits

Author SHA1 Message Date
adam
1348ed4b6d Changes 1.8.4:
* move to new mm-common build infrastructure
2009-10-22 08:47:23 +00:00
wiz
04bb02d1cb Update to 1.8.2. Set LICENSE.
1.8.2:

* Fix accidental ABI breakage from 1.8.0.  All users are urged to please upgrade
  from 1.8.0 to 1.8.2 as soon as possible
2009-07-18 13:06:44 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
wiz
e88d3b5f19 Update to 1.8.0:
1.8.0:

* No notable changes since 1.7.2

1.7.2 (UNSTABLE):

* API Changes (all API changes are in unstable API introduced in 1.7.x)
  * UserFontFace is not implemented with virtual functions rather than by
    registering callbacks
  * Cairo::scaled_matrix() -> Cairo::scaling_matrix() to match other matrix
    convenience functions
* Bugfixes
  * Incorrect refcounting on ScaledFont
  * build fixes for Mac OSX
* Contributors for this release:
     1	Armin Burgmeier
     1	Dave Evans
    22	Jonathon Jongsma


1.7.0 (UNSTABLE):

 * API Changes
   * ScaledFont: Change fontface constructor parameter to be a RefPtr
     * This is an API break, but the old interface was essentially unusably
       broken
   * Cairo::Matrix now inherits from cairo_matrix_t
     * Previously, we had used Cairo::Matrix throughout our API, but
       Cairo::Matrix was just a typedef for cairo_matrix_t
     * This could be considered an API change, but the new Cairo::Matrix still
       is-a cairo_matrix_t even if it's not exactly a cairo_matrix_t.  This
       change does not break ABI either, as there are no data members or virtual
       functions.  So I believe this is a safe change, but feedback is appreciated.
     * Provides a much more C++-friendly API for handling matrices
     * Also added a set of standalone 'generator' functions for generating
       starting matrices:
       * Cairo::identity_matrix(), rotation_matrix(), translation_matrix(),
         scaled_matrix().  This allows for convenient use such as:
           cr->set_matrix(Cairo::identity_matrix());
         rather than something like what was required before:
           Cairo::Matrix identity_matrix;
           cairo_matrix_init_identity(&identity_matrix);
           cr->set_matrix(identity_matrix);
   * Pattern: get/set_matrix() functions were using a cairo_matrix_t parameter in
     the API.  This is the only place where we used this type and so it was
     inconsistent with every other matrix-related API in cairomm.  Previously
     this wasn't really an issue since cairo_matrix_t and Cairo::Matrix were
     typedefed to the same type.  However, with the the change to Cairo::Matrix
     mentioned above, this because a much bigger issue.
     * This is an ABI-compatible change, but it is a minor API change that could
       result in some warnings or compile problems in some situations`
 * New API (some of these are new in cairo 1.8, some are older API that were
   not wrapped in cairomm previously)
   * Add Context::get/set_scaled_font()
   * add Context::show_text_glyphs()
   * add Context::get_font_options()
   * Add Surface::has_show_text_glyphs()
   * Add Surface::get_content() + test
   * Added Surface::get_fallback_resolution()
   * Add ScaledFont::text_to_glyphs()
   * Add PsSurface::get_eps()
   * Add missing Win32Surface API: create_with_ddb(), create_with_dib(), and get_image()
   * Add Win32PrintingSurface
   * Vastly improved font support
     * ToyFontFace
     * UserFontFace
     * Add Freetype font support (FtFontFace, etc)
     * Add win32 font support (Win32FontFace, etc)
     * Add quartz font support (QuartzFontFace, etc)
     * Add ScaledFont::get_scale_matrix()
 * Fix API inconsistencies by adding overloads and deprecating old versions
   * Deprecated FontFace::extents() in favor of FontFace::get_extents()
   * Deprecated FontFace::text_extents() in favor of FontFace::get_text_extents()
   * Deprecated FontFace::glyph_extents() in favor of FontFace::get_glyph_extents()
   * Add sigc::slot versions of all of the functions that take a
     cairo_write_func_t or cairo_read_func_t
     * This adds a new dependency on libsigc++, but offers a much more flexible
       and C++-like solution
     * Old API using cairo_write_func_t / cairo_read_func_t still exist, but are
       deprecated in favor of the new API
   * Add a default value for the font_options parameter of the ScaledFont constructor
 * Added new macros for determining library version:
   * CAIROMM_MAJOR_VERSION, CAIROMM_MINOR_VERSION, and CAIROMM_MICRO_VERSION
 * Add a bunch of extra .pc files for additional functionality
   * like cairo, create convenience .pc files for using some of the optional
     features.  For example, cairomm-ft-1.0, cairomm-pdf-1.0, cairomm-xlib-1.0, etc.
 * Numerous windows build improvements
 * Added a *lot* of automated tests
2009-02-21 16:23:02 +00:00
adam
26ad7ac9c2 Changes 1.6.4:
* Windows build: Fix the build on the freely available Visual Studio Express
   compiler.

Changes 1.6.2:
* Fix build on OSX when both Quartz and Xlib surfaces are enabled
* Fixed a bug where an exception message would often report "Success" when it
  should have reported an error message
* Added ability to get the error status code from an exception:
  Cairo::logic_error::get_status_code()
* Added new elements to the surface type enumeration
2008-09-11 13:29:58 +00:00
adam
9d029f7711 Changes 1.6.0:
* wrap cairo_format_stride_for_width().  All new cairo 1.6 API should now be
  implemented in cairomm

Changes 1.5.0:
* Unstable release wrapping new API in cairo 1.5 series
* Bugfixes
2008-04-21 15:00:18 +00:00
adam
4a14da9ff2 Changes 1.4.6:
* Bugfixes:
  - Bug 11972: Cannot build cairomm with Quartz enabled
2007-11-18 08:44:49 +00:00
reed
8a26e6f339 This depends on cairo >= 1.4 to build.
Maybe the cairo buildlink should be fixed I don't know.

I didn't bump PKGREVISION. I don't know if it requires >= 1.4 to run.
2007-10-03 21:13:22 +00:00
adam
a5b6568cad Changes 1.4.4:
* Added the --enable-api-exceptions=yes/no configure option, to allow
  cairomm to build when exceptions are disabled. For instance, when
  using CXXFLAGS=-fno-exceptions with g++.

Changes 1.4.2:
* Bugfixes:

Changes 1.4.0:
* Wrapped new API added in cairo 1.4
* Added support for Quartz surfaces
* ability to use dynamic casting for surfaces and patterns returned from
  Context::get_target(), Context::get_source(), etc.
* Various build and bug fixes
2007-08-12 12:24:34 +00:00
adam
29643ccb6d Changes 1.2.4:
* Fixed an error that prevented Cairo::RefPtr<>::cast_static() and
  Cairo::RefPtr<>::cast_dynamic() from compiling.
2007-03-18 12:30:23 +00:00
joerg
6e82078eef DESTDIR support. 2006-11-05 17:17:04 +00:00
adam
7a818ba0e0 cairomm is a C++ wrapper for the cairo graphics library. It offers all the
power of cairo with an interface familiar to C++ developers, including use of
the Standard Template Library where it makes sense.
2006-09-06 19:56:40 +00:00