[cairo-commit] 5 commits - build/Makefile.am.changelog build/Makefile.am.releasing NEWS perf/cairo-perf-graph RELEASING src/cairo-path-fixed.c

Chris Wilson ickle at kemper.freedesktop.org
Sun Dec 14 08:43:36 PST 2008


 NEWS                        |   49 ++++++++++++++++++++++++++++++++++++++++++++
 RELEASING                   |   10 ++++----
 build/Makefile.am.changelog |    4 +--
 build/Makefile.am.releasing |    4 +--
 perf/cairo-perf-graph       |    2 -
 src/cairo-path-fixed.c      |    2 -
 6 files changed, 60 insertions(+), 11 deletions(-)

New commits:
commit 8cec548854d86dac8f0c99e99461421c8ad653b1
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Dec 14 14:06:07 2008 +0000

    [NEWS] Add notes for 1.8.6
    
    Add the historical blurb for 1.8.6.

diff --git a/NEWS b/NEWS
index ec14701..cd694d8 100644
--- a/NEWS
+++ b/NEWS
@@ -37,6 +37,55 @@ EXTEND_PAD.
 Better handling of large scale-factors on image patterns.
 Emit /Interpolate for PS,PDF images.
 
+Release 1.8.6 (2008-12-13 Chris Wilson <chris at chris-wilson.co.uk>)
+=========================================================
+The cairo community is pleased to announce the 1.8.6 release of the
+cairo graphics library. This is the third update to cairo's stable
+1.8 series and contains a small number of bug fixes (in particular a
+few fixes for failures of cairo 1.8.4 on Quartz and PDF, and build fixes for
+a couple of backends). This is being released just under a month after
+cairo 1.8.4.
+
+We recommend that everyone using cairo upgrade to 1.8.6.
+
+-Chris
+
+Build fixes
+-----------
+Fix build of DirectFB backend with debugging enabled:
+
+   Bug in _cairo_directfb_surface_release_source_image function
+   http://bugs.freedesktop.org/show_bug.cgi?id=18322
+
+Fix build on OS/2.
+
+Bug fixes
+---------
+Workaround a mis-compilation of cairo_matrix_invert() that generated invalid
+matrices and triggered assertion failures later. The issue was reported by
+Peter Hercek.
+
+Invalid computation of the modulus:
+
+   https://bugzilla.mozilla.org/show_bug.cgi?id=466258
+
+Invalid referencing of patterns in the Quartz backend:
+
+   Failed assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE
+   (&pattern->ref_count)' when using cairo quartz backend
+   http://bugs.freedesktop.org/show_bug.cgi?id=18632
+
+Invalid references to glyphs after early culling, causing segmentation faults
+in the PDF backend:
+
+   http://lists.cairographics.org/archives/cairo/2008-December/015976.html
+
+Check for XRender in the XCB backend, or else we may attempt an invalid memory
+access:
+
+    XCB backend fails with missing render.
+    https://bugs.freedesktop.org/show_bug.cgi?id=18588
+
 Release 1.8.4 (2008-11-14 Carl Worth <cworth at cworth.org>)
 =========================================================
 The cairo community is pleased to announce the 1.8.4 release of the
commit 0a1d194ad85398c8711268fd9ba679f8609206a1
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Dec 14 14:53:27 2008 +0000

    [perf] Fix for git-1.6
    
    git-1.6 moved all the subcommands out of the PATH so update our usage.

diff --git a/perf/cairo-perf-graph b/perf/cairo-perf-graph
index 4d25953..aa05bf1 100755
--- a/perf/cairo-perf-graph
+++ b/perf/cairo-perf-graph
@@ -79,7 +79,7 @@ fi
 
 git_setup() {
     SUBDIRECTORY_OK='Yes'
-    . git-sh-setup
+    . "$(git --exec-path)/git-sh-setup"
     CAIRO_DIR=`dirname $GIT_DIR`
     if [ "$CAIRO_DIR" = "." ]; then
 	CAIRO_DIR=`pwd`
commit 1c2eba92c16207a48f9c8f52065fbf9a65d16fcd
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Dec 14 13:05:01 2008 +0000

    [RELEASING] Update Makefile for git-1.6
    
    Git moved all the subcommands out of the PATH, so we need to update our
    usage.

diff --git a/build/Makefile.am.changelog b/build/Makefile.am.changelog
index 888f4e7..07e6036 100644
--- a/build/Makefile.am.changelog
+++ b/build/Makefile.am.changelog
@@ -37,7 +37,7 @@ $(srcdir)/ChangeLog:
 	@if test -d "$(srcdir)/.git"; then \
 		version=$(CURR_CHANGELOG_VERSION); \
 		prev=$(PREV_CHANGELOG_VERSION).0; \
-		nearest_tag=`git-describe | sed 's/-.*//'`; \
+		nearest_tag=`git describe | sed 's/-.*//'`; \
 		before=$(srcdir)/ChangeLog.cache-$$prev..$$nearest_tag; \
 		after=$(srcdir)/ChangeLog.cache-$$nearest_tag..; \
 		$(MAKE) $(AM_MAKEFLAGS) $$before $$after && \
@@ -71,7 +71,7 @@ $(srcdir)/ChangeLog.cache-% $(srcdir)/ChangeLog.pre-%:
 		test "x$$from" = xinitial || from=$$from.0; \
 		spec=$$from..$$to; \
 	  fi; \
-	  $(top_srcdir)/build/missing --run git-log --stat "$$spec") > $@.tmp \
+	  $(top_srcdir)/build/missing --run git log --stat "$$spec") > $@.tmp \
 	  && mv -f $@.tmp $@ \
 	  || ($(RM) $@.tmp; \
 	      echo Failed to generate $@, your $@ may be outdated >&2); \
diff --git a/build/Makefile.am.releasing b/build/Makefile.am.releasing
index c3b0216..84eed5f 100644
--- a/build/Makefile.am.releasing
+++ b/build/Makefile.am.releasing
@@ -19,7 +19,7 @@ dist-clear-sticky-bits:
 
 snapshot:
 	distdir="$(distdir)-`date '+%Y%m%d'`"; \
-	test -d "$(srcdir)/.git" && distdir=$$distdir-`cd "$(srcdir)" && git-rev-parse HEAD | cut -c 1-6`; \
+	test -d "$(srcdir)/.git" && distdir=$$distdir-`cd "$(srcdir)" && git rev-parse HEAD | cut -c 1-6`; \
 	TAR_OPTIONS="$(TAR_OPTIONS)" $(MAKE) $(AM_MAKEFLAGS) distdir="$$distdir" snapshot-dist
 
 snapshot-dist: dist
@@ -97,7 +97,7 @@ release-upload: $(tar_file) $(sha1_file) $(gpg_file)
 	scp $(tar_file) $(sha1_file) $(gpg_file) $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR)
 	mv $(tar_file) $(sha1_file) $(gpg_file) releases
 	ssh $(RELEASE_UPLOAD_HOST) "rm -f $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-[0-9]* && ln -s $(tar_file) $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-$(VERSION)"
-	git-tag -s  -m "cairo $(CAIRO_VERSION_MAJOR).$(CAIRO_VERSION_MINOR).$(CAIRO_VERSION_MICRO) release" $(CAIRO_VERSION_MAJOR).$(CAIRO_VERSION_MINOR).$(CAIRO_VERSION_MICRO)
+	git tag -s  -m "cairo $(CAIRO_VERSION_MAJOR).$(CAIRO_VERSION_MINOR).$(CAIRO_VERSION_MICRO) release" $(CAIRO_VERSION_MAJOR).$(CAIRO_VERSION_MINOR).$(CAIRO_VERSION_MICRO)
 
 release-publish-message: releases/$(sha1_file)
 	@echo "Please follow the instructions in RELEASING to push stuff out and"
commit 2fa6b6353740b7941e90e50bf6b0eb5f06aa11b5
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Dec 14 11:40:12 2008 +0000

    [RELEASING] Correct a few minor typos.
    
    As I was reading through the instructions, take the opportunity to fix a
    few spelling mistakes.

diff --git a/RELEASING b/RELEASING
index 2fa24f0..a1edceb 100644
--- a/RELEASING
+++ b/RELEASING
@@ -1,13 +1,13 @@
 Here are the steps to follow to create a new cairo release:
 
-1) Ensure that there are no local, uncommitted/unspushed
+1) Ensure that there are no local, uncommitted/unpushed
    modifications. You're probably in a good state if both "git diff
    HEAD" and "git log master..origin/master" give no output.
 
 2) Verify that the code passes "make distcheck"
 
 	First, make sure you have 'nm' and 'readelf' commands in PATH.
-	this should be Ok with any Linux distro.
+	this should be OK with any Linux distro.
 
 	Running "make distcheck" should result in no warnings or
 	errors and end with a message of the form:
@@ -43,7 +43,7 @@ Here are the steps to follow to create a new cairo release:
 3) Fill out an entry in the NEWS file
 
 	Sift through the logs since the last release. This is most
-	easily done with a comand such as:
+	easily done with a command such as:
 
 		git log --stat X.Y.Z..
 
@@ -72,7 +72,7 @@ Here are the steps to follow to create a new cairo release:
 	and reset cairo_version_micro to 0. NOTE: The minor version is
 	only incremented for releases, not for snapshots.
 
-	Otherwise, (ie. there are only bug fixes), increment
+	Otherwise, (i.e. there are only bug fixes), increment
 	cairo_version_micro to the next larger (even) number.
 
 5) Commit the changes to NEWS and cairo-version.h
@@ -124,7 +124,7 @@ Here are the steps to follow to create a new cairo release:
     using the text provided from "make release-publish", adding the excerpt
     from NEWS, your signature, followed by the standard "What is cairo" and
     "Where to get more information about cairo" blurbs from README, and
-    inally the shortlog of all changes since last release, generated by:
+    finally the shortlog of all changes since last release, generated by:
 
 	git shortlog X.Y.Z...
 
commit 1950abd14c28d58913c085d3829eb99a078cf2d1
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Dec 14 11:26:56 2008 +0000

    [doc] Fix erroneous doc comment.
    
    A normal comment was marked as a gtk-doc entry and thus causing gtk-doc to
    complain.

diff --git a/src/cairo-path-fixed.c b/src/cairo-path-fixed.c
index 437c9b9..6e963ae 100644
--- a/src/cairo-path-fixed.c
+++ b/src/cairo-path-fixed.c
@@ -960,7 +960,7 @@ _cairo_path_fixed_is_empty (cairo_path_fixed_t *path)
     return FALSE;
 }
 
-/**
+/*
  * Check whether the given path contains a single rectangle.
  */
 cairo_bool_t


More information about the cairo-commit mailing list