diff options
author | Murray Cumming <murrayc@murrayc.com> | 2005-12-23 15:11:55 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2005-12-23 15:11:55 +0000 |
commit | c48bfb7ce11f9810cc3e612f165b08961f2248d2 (patch) | |
tree | f6e6265758124416c13c5e6b57fb0c18071ffd86 | |
parent | c28ca168dc0de2b53a068e182dbb83463d586262 (diff) |
0.4.0:RELEASE_0_4_0
2005-12-17 Murray Cumming <murrayc@murrayc.com>
* 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.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | NEWS | 12 | ||||
-rw-r--r-- | configure.in | 4 |
3 files changed, 16 insertions, 2 deletions
@@ -1,3 +1,5 @@ +0.4.0: + 2005-12-17 Murray Cumming <murrayc@murrayc.com> * cairomm/Makefile.am: @@ -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 # | | | # +------+ | +---+ # | | | |