From c48bfb7ce11f9810cc3e612f165b08961f2248d2 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Fri, 23 Dec 2005 15:11:55 +0000 Subject: 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. --- ChangeLog | 2 ++ NEWS | 12 ++++++++++++ configure.in | 4 ++-- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3590fe0..22975ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +0.4.0: + 2005-12-17 Murray Cumming * cairomm/Makefile.am: diff --git a/NEWS b/NEWS index 3cea332..17e202a 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,15 @@ +0.4.0: + +* Add Cairo::RefPtr<> and use all reference-counted + objects via it. Use the static create() methods + instead of new for these classes. +* Context: + - 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(). +* FontFace: Remove get/set_user_data(), because it seems useless. + 0.3.0: * Context: diff --git a/configure.in b/configure.in index 0e11719..710f8ff 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ AC_INIT(cairomm/cairomm.h) #release versioning GENERIC_MAJOR_VERSION=0 -GENERIC_MINOR_VERSION=3 +GENERIC_MINOR_VERSION=4 GENERIC_MICRO_VERSION=0 GENERIC_VERSION=$GENERIC_MAJOR_VERSION.$GENERIC_MINOR_VERSION.$GENERIC_MICRO_VERSION AC_SUBST(GENERIC_MAJOR_VERSION) @@ -11,7 +11,7 @@ AC_SUBST(GENERIC_MICRO_VERSION) AC_SUBST(GENERIC_VERSION) #shared library versioning -GENERIC_LIBRARY_VERSION=0:3:0 +GENERIC_LIBRARY_VERSION=0:4:0 # | | | # +------+ | +---+ # | | | -- cgit v1.2.3