[cairo-commit] 3 commits - cairo-version.h NEWS src/drm

Bryce Harrington bryce at kemper.freedesktop.org
Tue Jun 13 22:23:14 UTC 2017


 NEWS                                    |   61 ++++++++++++++++++++++++++++++++
 cairo-version.h                         |    2 -
 src/drm/cairo-drm-intel-brw-eu.h        |    1 
 src/drm/cairo-drm-intel-brw-structs.h   |    1 
 src/drm/cairo-drm-intel-ioctl-private.h |    4 +-
 src/drm/cairo-drm-radeon-surface.c      |    8 ++--
 6 files changed, 70 insertions(+), 7 deletions(-)

New commits:
commit 13ddd7297729e77de07f409b91b61cbae2d16141
Author: Bryce Harrington <bryce at osg.samsung.com>
Date:   Tue Jun 13 15:22:55 2017 -0700

    Bump version for new development tree, 1.15.7

diff --git a/cairo-version.h b/cairo-version.h
index 33d6ee0b..bd37466e 100644
--- a/cairo-version.h
+++ b/cairo-version.h
@@ -3,6 +3,6 @@
 
 #define CAIRO_VERSION_MAJOR 1
 #define CAIRO_VERSION_MINOR 15
-#define CAIRO_VERSION_MICRO 6
+#define CAIRO_VERSION_MICRO 7
 
 #endif
commit c31721ab27c65941dd9e0c29662d7ebb5caa2a01
Author: Bryce Harrington <bryce at osg.samsung.com>
Date:   Tue Jun 13 12:25:01 2017 -0700

    1.15.6 release

diff --git a/NEWS b/NEWS
index dd1c9a55..a8cb5aa2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,64 @@
+Release 1.15.6     (2017-06-13 Bryce Harrington <bryce at osg.samsung.com>)
+========================================================================
+This new snapshot incorporates changes over the past half-year since the
+1.15.4 snapshot, including all the fixes from the 1.14 release series.
+
+The PDF code continues to be enhanced, and we're restored MacOSX 10.4
+support.  Font-related fixes and improved error handling for X round out
+the release.
+
+For a complete log of changes, please see
+
+    http://cairographics.org/releases/ChangeLog.1.15.6
+
+
+Features and Enhancements
+-------------------------
+* Detect if variable fonts have	synthesized bold/italic	or non-default
+  variants, and	     use a fallback font where needed.
+
+* Restore MacOSX 10.4 support.	    Cairo had dropped 10.4 support when
+  moving to the CoreText API.  Now we automatically detect which API to
+  use via dynamic linking, so can resume supporting this older version
+  of MacOSX.
+
+
+API Changes
+-----------
+None
+
+Dependency Changes
+------------------
+None
+
+Performance Optimizations
+-------------------------
+None
+
+Bug Fixes
+---------
+* Fix error reporting in the xcb backend if fallback fails.  Instead of
+  returning NULL when the X11 server can't do some operation, return a
+  surface in an error state.
+
+* Call XSync in the xlib backend before setting the error handler to
+  ignore errors for certain requests, to make sure all pending errors
+  are handled first.
+
+* Fix text-glyph-range for quartz-font.	 Use 0xFFFF instead of 0 for
+  invalid index	       tracking.
+
+* Fix handling of Supplementary Multilingual Plane (SMP) Unicode
+  characters in quartz-font.
+
+* Fix various issues in the drm backend	including updating API usage and
+  general code cleanup.
+
+* Clarify documentation	regarding device scale inheritance and the units
+  used in cairo_surface_create_similar_image.
+  Bug #99094.
+
+
 Release 1.15.4     (2016-12-9 Bryce Harrington <bryce at osg.samsung.com>)
 =======================================================================
 This new snapshot incorporates changes over the past year since the
diff --git a/cairo-version.h b/cairo-version.h
index 2bd308ce..33d6ee0b 100644
--- a/cairo-version.h
+++ b/cairo-version.h
@@ -3,6 +3,6 @@
 
 #define CAIRO_VERSION_MAJOR 1
 #define CAIRO_VERSION_MINOR 15
-#define CAIRO_VERSION_MICRO 5
+#define CAIRO_VERSION_MICRO 6
 
 #endif
commit ce68336f7da58822a4c9c4cd49d5336d55bd36fd
Author: Bryce Harrington <bryce at osg.samsung.com>
Date:   Tue Jun 13 14:53:55 2017 -0700

    drm: Add/reorder headers as required by check-preprocessor-syntax.sh
    
    If cairo-drm-intel-brw-eu.h and/or cairo-drm-intel-brw-structs.h are
    intended to be private headers, then the change to include cairo.h can
    be dropped but the headers should be renamed *-private.h to conform with
    Cairo standards.
    
    I'm not certain why check-preprocessor-syntax.sh started flagging these
    issues, as it doesn't look like there's been changes to them recently.
    But the release scripts won't move forward without these being fixed.

diff --git a/src/drm/cairo-drm-intel-brw-eu.h b/src/drm/cairo-drm-intel-brw-eu.h
index 2662a2e7..ef6e9771 100644
--- a/src/drm/cairo-drm-intel-brw-eu.h
+++ b/src/drm/cairo-drm-intel-brw-eu.h
@@ -32,6 +32,7 @@
 #ifndef CAIRO_DRM_INTEL_BRW_EU_H
 #define CAIRO_DRM_INTEL_BRW_EU_H
 
+#include "cairo.h"
 #include "cairo-drm-intel-brw-structs.h"
 #include "cairo-drm-intel-brw-defines.h"
 
diff --git a/src/drm/cairo-drm-intel-brw-structs.h b/src/drm/cairo-drm-intel-brw-structs.h
index f42483ed..3ea9c6c3 100644
--- a/src/drm/cairo-drm-intel-brw-structs.h
+++ b/src/drm/cairo-drm-intel-brw-structs.h
@@ -28,6 +28,7 @@
 #ifndef CAIRO_DRM_INTEL_BRW_STRUCTS_H
 #define CAIRO_DRM_INTEL_BRW_STRUCTS_H
 
+#include "cairo.h"
 #include "cairo-types-private.h"
 
 /* Command packets:
diff --git a/src/drm/cairo-drm-intel-ioctl-private.h b/src/drm/cairo-drm-intel-ioctl-private.h
index 6853304d..4a766d7e 100644
--- a/src/drm/cairo-drm-intel-ioctl-private.h
+++ b/src/drm/cairo-drm-intel-ioctl-private.h
@@ -30,10 +30,10 @@
 #ifndef CAIRO_DRM_INTEL_IOCTL_PRIVATE_H
 #define CAIRO_DRM_INTEL_IOCTL_PRIVATE_H
 
-#include <drm/i915_drm.h>
-
 #include "cairo-drm-intel-command-private.h"
 
+#include <drm/i915_drm.h>
+
 struct drm_i915_gem_real_size {
 	uint32_t handle;
 	uint64_t size;
diff --git a/src/drm/cairo-drm-radeon-surface.c b/src/drm/cairo-drm-radeon-surface.c
index a0a97a05..687d4f20 100644
--- a/src/drm/cairo-drm-radeon-surface.c
+++ b/src/drm/cairo-drm-radeon-surface.c
@@ -27,10 +27,6 @@
  *
  */
 
-#include <stddef.h>
-#include <inttypes.h>		/* workaround for broken <drm/radeon_drm.h> */
-#include <drm/radeon_drm.h>
-
 #include "cairoint.h"
 
 #include "cairo-drm-private.h"
@@ -40,6 +36,10 @@
 #include "cairo-error-private.h"
 #include "cairo-image-surface-private.h"
 
+#include <stddef.h>
+#include <inttypes.h>		/* workaround for broken <drm/radeon_drm.h> */
+#include <drm/radeon_drm.h>
+
 /* Basic stub surface for radeon chipsets */
 
 #define MAX_SIZE 2048


More information about the cairo-commit mailing list