[cairo-commit] 2 commits - build/aclocal.cairo.m4 NEWS

Bryce Harrington bryce at kemper.freedesktop.org
Wed Oct 14 18:14:07 PDT 2015


 NEWS                   |   63 ++++++++++++++++++++++++-------------------------
 build/aclocal.cairo.m4 |    2 -
 2 files changed, 33 insertions(+), 32 deletions(-)

New commits:
commit e294ca19f2777fa2abbd59eb7aa375f801c92eb6
Author: Bryce Harrington <bryce at bryceharrington.org>
Date:   Wed Oct 14 18:13:22 2015 -0700

    NEWS: Whitespace cleanup

diff --git a/NEWS b/NEWS
index 29102a9..ffe3c28 100644
--- a/NEWS
+++ b/NEWS
@@ -117,6 +117,7 @@ Bug Fixes
    (fdo bugs #89338, #89340, #89356, #89354)
  * Fix various documentation warnings and errors
 
+
 Release 1.14.0 (2014-10-13 Bryce Harrington <bryce at osg.samsung.com>)
 ====================================================================
 Hard to believe it's been over a year since our last release, but it's
@@ -618,7 +619,7 @@ Bug fixes
  and then back again to user coordinates (cairo_copy_path,
  cairo_append_path)
  https://bugs.freedesktop.org/show_bug.cgi?id=54732
- 
+
  Fix extents computations for a degenerate path consisting only of a
  move-to
  https://bugs.freedesktop.org/show_bug.cgi?id=54549
@@ -626,7 +627,7 @@ Bug fixes
  Prevent crashing on a degenerate project edge after polygon
  intersection
  https://bugs.freedesktop.org/show_bug.cgi?id=54822
- 
+
 
 
 Release 1.12.2 (2012-04-29 Chris Wilson <chris at chris-wilson.co.uk>)
@@ -646,7 +647,7 @@ Bug fixes
 
  Allow applications to create 0x0 xlib surfaces, such as used by LibreOffice.
  https://bugs.freedesktop.org/show_bug.cgi?id=49118
- 
+
  Trim composite extents for SOURCE/CLEAR operators to the mask.
 
  Use fallback fonts in PDF for unhandled computed glyph widths
@@ -960,7 +961,7 @@ drawing commands made by an application. This can be used to inspecting
 applications to understand issues and as a means for profiling
 real-world usage of cairo.
 
-The traces generated by cairo-trace have been collected in 
+The traces generated by cairo-trace have been collected in
 
   git://git.cairographics.org/git/cairo-traces
 
@@ -1176,7 +1177,7 @@ API additions
     The Cairo region API was actually added a couple of snapshots ago, but we
     forgot to mention it at the time. A simple API for the handling of
     rectangular pixel-aligned regions by Soeren Sandmann.
-  
+
 
 Backend-specific improvements
 -----------------------------
@@ -1381,10 +1382,10 @@ New experimental backends:
    QT
 
    OpenVG - The initial work was done by Øyvind Kolås, and made ready for
-            inclusion by Pierre Tardy.
+	    inclusion by Pierre Tardy.
 
    OpenGL - An advanced OpenGL compositor. The aim is to write a integrate
-            directed rendering using OpenGL at a high-level into Cairo. In
+	    directed rendering using OpenGL at a high-level into Cairo. In
 	    contrast to the previous attempt using Glitz which tried to
 	    implement the RENDER protocol on top of OpenGL, using the
 	    high-level interface should permit greater flexibility and
@@ -2823,7 +2824,7 @@ Rename ATSUI font backend to Quartz font backend. This affects the
 following usage:
 
 	--enable-atsui		-> --enable-quartz-font
-	CAIRO_HAS_ATSUI_FONT 	-> CAIRO_HAS_QUARTZ_FONT
+	CAIRO_HAS_ATSUI_FONT	-> CAIRO_HAS_QUARTZ_FONT
 	CAIRO_FONT_TYPE_ATSUI	-> CAIRO_FONT_TYPE_QUARTZ
 
 	cairo_atsui_font_face_create_for_atsu_font_id ->
@@ -3636,8 +3637,8 @@ complain that some cleanup work is already done, but there you have
 it.) This fixes the bug causing OpenOffice.org to crash as described
 here:
 
-        XError on right click menus in OOo.
-        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243811
+	XError on right click menus in OOo.
+	https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243811
 
 Use IncludeInferiors when using xlib surface as a source (Ryan Lortie)
 ----------------------------------------------------------------------
@@ -3817,16 +3818,16 @@ notes on using it:
 
     To build, do:
 
-        make malloc-stats.so
+	make malloc-stats.so
 
     inside util/, and to use, run:
 
-        LD_PRELOAD=malloc-stats.so some-program
+	LD_PRELOAD=malloc-stats.so some-program
 
     For binaries managed by libtool, eg, cairo-perf, do:
 
-        ../libtool --mode=execute /bin/true ./cairo-perf
-        LD_PRELOAD="../util/malloc-stats.so" .libs/lt-cairo-perf
+	../libtool --mode=execute /bin/true ./cairo-perf
+	LD_PRELOAD="../util/malloc-stats.so" .libs/lt-cairo-perf
 
 Finally, the cairo-perf-diff-files utility was enhanced to allow for
 generating performance reports from several runs of the same backend
@@ -5669,9 +5670,9 @@ support this use case, we have added 4 new function calls that are
 specific to the PostScript backend:
 
 	cairo_ps_surface_set_size
-        cairo_ps_surface_dsc_comment
-        cairo_ps_surface_dsc_begin_setup
-        cairo_ps_surface_dsc_begin_page_setup
+	cairo_ps_surface_dsc_comment
+	cairo_ps_surface_dsc_begin_setup
+	cairo_ps_surface_dsc_begin_page_setup
 
 These functions allow variation of the page size/orientation from one
 page to the next in the PostScript output. They also allow the toolkit
@@ -6957,23 +6958,23 @@ Major API changes
 	cc `pkg-config --cflags --libs cairo` -o foo foo.c
 
    IMPORTANT: Users with old versions of cairo installed will need to
-              manually remove cairo.h and cairo-features.h from the
-              system include directories in order to prevent the old
-              headers from being used in preference to the new ones.
+	      manually remove cairo.h and cairo-features.h from the
+	      system include directories in order to prevent the old
+	      headers from being used in preference to the new ones.
 
 2) The backend-specific portions of the old monolithic cairo.h have
    been split out into individual public header files. The new files
    are:
 
 	cairo-atsui.h
-        cairo-ft.h
-        cairo-glitz.h
-        cairo-pdf.h
-        cairo-png.h
-        cairo-ps.h
+	cairo-ft.h
+	cairo-glitz.h
+	cairo-pdf.h
+	cairo-png.h
+	cairo-ps.h
 	cairo-quartz.h
-        cairo-xcb.h
-        cairo-xlib.h
+	cairo-xcb.h
+	cairo-xlib.h
 
    Applications will need to be modified to explicitly include the new
    header files where appropriate.
@@ -7337,10 +7338,10 @@ Better text support
 This snapshot provides much better text support by implementing the
 following four functions:
 
-        cairo_text_extents
-        cairo_glyph_extents
-        cairo_text_path
-        cairo_glyph_path
+	cairo_text_extents
+	cairo_glyph_extents
+	cairo_text_path
+	cairo_glyph_path
 
 The text/glyph_extents functions can be used to determine the bounding
 box (and advance) for text as if drawn by show_text/glyphs.
commit 7cc77d1ceea850d5728f4fad59ec18984dbc9ccb
Author: Bryce Harrington <bryce at bryceharrington.org>
Date:   Wed Oct 14 18:10:22 2015 -0700

    build: Use memory barriers for ARM
    
    ARM has much weaker memory ordering guarantees than x86 by default, and
    needs the memory barriers.  A similar fix exists in the Skia codebase.
    Fix suggested by Nathan Froyd.
    
    Fixes: FDO #90302
    
    Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
    Acked-by: "Henry (Yu) Song" <henry.song at samsung.com>

diff --git a/build/aclocal.cairo.m4 b/build/aclocal.cairo.m4
index 44ba5fd..f0ea23c 100644
--- a/build/aclocal.cairo.m4
+++ b/build/aclocal.cairo.m4
@@ -215,7 +215,7 @@ AC_DEFUN([CAIRO_CHECK_ATOMIC_OP_NEEDS_MEMORY_BARRIER],
 		case $host_cpu in
 		    i?86)	cairo_cv_atomic_op_needs_memory_barrier="no"  ;;
 		    x86_64)	cairo_cv_atomic_op_needs_memory_barrier="no"  ;;
-		    arm*)	cairo_cv_atomic_op_needs_memory_barrier="no"  ;;
+		    arm*)	cairo_cv_atomic_op_needs_memory_barrier="yes"  ;;
 		    *)		cairo_cv_atomic_op_needs_memory_barrier="yes" ;;
 		esac
 	])


More information about the cairo-commit mailing list