summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2005-12-23 15:11:55 +0000
committerMurray Cumming <murrayc@murrayc.com>2005-12-23 15:11:55 +0000
commitc48bfb7ce11f9810cc3e612f165b08961f2248d2 (patch)
treef6e6265758124416c13c5e6b57fb0c18071ffd86
parentc28ca168dc0de2b53a068e182dbb83463d586262 (diff)
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--ChangeLog2
-rw-r--r--NEWS12
-rw-r--r--configure.in4
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 <murrayc@murrayc.com>
* 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
# | | |
# +------+ | +---+
# | | |