commit 012a12a67b66f3809fa203f91ff8920936c25361
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 13:54:55 2008 -0400

    [configure.in,NEWS] Release 1.7.4

 NEWS         |    8 ++++++++
 configure.in |    6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)

commit b176b5c29d931bfab16601dcb89dd6b6728bc386
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 15:06:10 2008 -0400

    [test/get-xrender-format.c] Don't fail if DISPLAY is not set

 test/get-xrender-format.c |    2 +-
 test/xlib-surface.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit bbd5f03fd8b04b92c9f8f06a386894d88650c0b4
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 14:28:00 2008 -0400

    [test/xlib-surface-source] Skip test if DISPLAY not set

 test/xlib-surface-source.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 5d307b58b9a056ee866ea56305900f2eaa88441a
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 13:54:39 2008 -0400

    [doc] More template changes.  Donno why they keep changing.

 doc/public/tmpl/cairo-font-options.sgml |   18 +++++++++---------
 doc/public/tmpl/cairo-status.sgml       |    4 ++--
 doc/public/tmpl/cairo-text.sgml         |   24 ++++++++++++------------
 3 files changed, 23 insertions(+), 23 deletions(-)

commit 2c53acea0bc474fb46310384da5df0b32a675181
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 13:54:26 2008 -0400

    [src/Makefile.am] Include missing header file

 src/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 0e8afe87eca795be9e820ad73aed31deb1c0bf62
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 13:09:46 2008 -0400

    [RELEASING] Mention git-shortlog

 RELEASING |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

commit c6273564602e603d8caa59a7010ca5991ff1c03d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 12:12:32 2008 -0400

    [configure.in] Increment version to 1.7.3 post release

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 057a832f9e806f9321648e47ee314a62e82e6ba4
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 03:28:32 2008 -0400

    [configure.in,NEWS] Release 1.7.2

 NEWS         |  218 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 configure.in |    6 +-
 2 files changed, 186 insertions(+), 38 deletions(-)

commit 3dc2fc4cd953206313255b01aa382a8dbef50be1
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 04:45:52 2008 -0400

    [doc] Update templates

commit d266648276cbd293a5cfa82bdc323695517098d8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Aug 11 08:40:22 2008 +0100

    [configure.in] Revert addition of MACRO_DIR()
    
    Without it we get a three line warning under Ubuntu. However, it just
    causes more problems than it is worth with older autoconf/automake.

 Makefile.am  |    2 --
 configure.in |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)

commit d073b6f1459cdc1584da1061b1f5d36c7981fbca
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 01:58:32 2008 -0400

    [RELEASING] Update for cairo-features-win32.h

 RELEASING |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 177729ba938d544e470625d519e9126023aac8d7
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 01:54:21 2008 -0400

    [ChangeLog.mk] Revert 21ab44f11d3d20eead5d988c7a6cf48eebff08c7
    
    That commit made the ChangeLog regenration rule to depend on .git/HEAD,
    not .git/.  However, the contents and timestamp of that file does not
    change when you commit something locally.  Hence, ChangeLog could remain
    stale.  Depending on .git/ does the job.

 ChangeLog.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 650a6a32762576063069d9c87dd23d9d0f30ea09
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 01:48:10 2008 -0400

    [RELEASING] Easier to see API diff than log

 RELEASING |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 6e4ed9ce84ba98be3050e5a6b0da2c65cfdc75fc
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 01:44:54 2008 -0400

    Fix doc syntax

 src/cairo-scaled-font-subsets-private.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 591d5160f810656bf394306570ed5154e4285a37
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 01:41:37 2008 -0400

    [RELEASING] Update for external pixman

 RELEASING |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 549dd9adb53aff95640a3c113887f04aa8c8de65
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Aug 11 01:40:27 2008 -0400

    [test] Update ref image list

 test/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

commit f2db80bf9ef5c454da77beeb263193d46f6b3d8c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Aug 10 23:39:44 2008 -0400

    [gstate] Revert Check for NULL font_face in _cairo_gstate_set_font_face
    
    Revert commit b67d34e960fa07cfafb13e3a5b5b4a63cfb024d3.
    cairo_set_font_face() is documented to accept NULL to restore default
    font face.  Revert commit that made it reject NULL.

 src/cairo-gstate.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

commit e797f6791ec17b490e9cddf8eddc695ec1631e3c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Aug 10 23:39:28 2008 -0400

    [test/Makefil.am] Cosmetic

 test/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit fef03ef98a116021a688d9f39b80844bc1c332e6
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Aug 10 08:31:19 2008 +0100

    [xlib] Check for depth == 0 in create_surface_internal().
    
    Validate that we find an appropriate depth for the Xlib surface, before
    attempting to create the surface. This was manifesting itself with
    XInitImage() failures during _draw_image_surface() (actually detected as
    a segmentation fault in XPutPixel() due to an incomplete XImage).  So we
    also add a couple of asserts to ensure that XInitImage() is successful -
    which to the best of our knowledge, they should always be.

 src/cairo-xlib-surface.c |   87 +++++++++++++++++++++++++++------------------
 1 files changed, 52 insertions(+), 35 deletions(-)

commit c014e51dc9288ca999b91ed078ee318bcd9fe4d1
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Aug 10 14:49:30 2008 +0930

    NEWS: Win32 font backend has been fixed

 NEWS |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

commit ac2781ec0820e9352b28335e7d9553926d069ff2
Author: Vladimir Vukicevic <vladimir@pobox.com>
Date:   Sun Aug 10 05:05:28 2008 -0700

    [dfb] fix crashes due to cached glyphs going away during operation

 src/cairo-directfb-surface.c |   73 +++++++++++++++++++++++++++++++-----------
 1 files changed, 54 insertions(+), 19 deletions(-)

commit 7fbda72137d8685718a8e8fe1d3af5b1d377521c
Author: Vladimir Vukicevic <vladimir@pobox.com>
Date:   Sun Aug 10 05:05:27 2008 -0700

    [dfb] optimize DirectFB blits

 boilerplate/cairo-boilerplate-directfb.c |   28 ++-
 src/cairo-directfb-surface.c             |  399 +++++++++---------------------
 2 files changed, 140 insertions(+), 287 deletions(-)

commit a097bafd287ae3ee5ed3677a83b31d8d9d225a0c
Author: Vladimir Vukicevic <vladimir@pobox.com>
Date:   Sun Aug 10 05:05:27 2008 -0700

    [dfb] correctly handle case of 0 boxes in clip region

 src/cairo-directfb-surface.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit a0cfd9962f5c7bbb047698d966923af30e9c3221
Author: Vladimir Vukicevic <vladimir@slide.(none)>
Date:   Sun Aug 10 05:05:27 2008 -0700

    [dfb] Propagate clip correctly to surface returned from acquire_dest_image
    
    If the internal buffer is wrapped in an image surface in acquire_dest_image,
    that image surface needs the current clip region propagated to it.  If not,
    then the clip needs to be applied at release_dest_image time.

 src/cairo-directfb-surface.c |   63 ++++++++++++++++++++++++++++++++++++------
 1 files changed, 54 insertions(+), 9 deletions(-)

commit 71f010bb522dd9387d749703a170de026a3fa8d6
Author: Vladimir Vukicevic <vladimir@slide.(none)>
Date:   Sun Aug 10 05:05:26 2008 -0700

    [dfb] convert RUN_CLIPPED macro to function with helpers
    
    This helps with debugging and prepares the way for some future
    code cleanup.

 src/cairo-directfb-surface.c |  241 ++++++++++++++++++++++++++++++++----------
 1 files changed, 186 insertions(+), 55 deletions(-)

commit bc4635f07729d6a73054971f0e7ec04433f414da
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Aug 10 14:24:48 2008 +0930

    Update _cairo_scaled_font_subsets_map_glyph() docs

 src/cairo-scaled-font-subsets-private.h |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

commit 4c8317941815971f1d060243e1f6153df06866ca
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Aug 10 14:24:16 2008 +0930

    Win32-printing: Fix Type 1 font printing so fallback is not used
    
    Using glyph indices with Type 1 fonts on a printer DC does not work.
    Previously there was a temporary fix where Type 1 fonts were printed
    as filled paths.
    
    Now that _cairo_scaled_font_subsets_map_glyph() provides the reverse
    mapping of the glyph index fix this by converting the glyph indices
    back to the unicode values when printing Type 1 fonts.

 src/cairo-win32-printing-surface.c |   63 ++++++++++++++++++++++++++++++------
 src/cairo-win32-private.h          |    1 +
 src/cairo-win32-surface.c          |   22 ++++++++++++-
 3 files changed, 75 insertions(+), 11 deletions(-)

commit b34c248b92b2d1544a23c20ecaa12f64792cb1d3
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Aug 10 14:18:52 2008 +0930

    Fix _cairo_sub_font_map_glyph() to return correct unicode value

 src/cairo-scaled-font-subsets.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

commit d1c619bc7d51a8e96eaf391691bec142dbd34e0e
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Aug 10 14:17:01 2008 +0930

    win32-font: Make cairo_show_text() work again
    
    For now implement _ucs4_to_index() and leave _text_to_glyphs()
    disabled.

 src/cairo-win32-font.c |   34 ++++++++++++++++++++++++++++++++--
 1 files changed, 32 insertions(+), 2 deletions(-)

commit e9933ba28cad1fc2219f145f5da47750b19acc7b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Aug 8 17:12:07 2008 -0400

    [NEWS] Add some notes about recent happenings

 NEWS |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 52 insertions(+), 0 deletions(-)

commit 8f6e52b0681384a5188277641d700f0e80e2c202
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Aug 8 17:10:35 2008 -0400

    [doc] Add short user-font section docs

 doc/public/tmpl/cairo-user-fonts.sgml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

commit 5227897b17d04fc6b8604d84847f85a1deb0c1f2
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Aug 8 17:06:21 2008 -0400

    Add note about zero-glyph clusters

 src/cairo.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 322c3ef7f94c67d00c6113d0b8ae92a82b67e8a4
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 8 10:09:55 2008 +0100

    [.gitignore] Update list of tests

 test/.gitignore |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

commit 893b50a98068fa3912c90c8b70c423a3da72a91c
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 8 10:05:53 2008 +0100

    [test] Update reference image for leaky-dashed-rectangle.
    
    Bah, it seems someone fixed the code and the error lay in discrepancies
    with the antialiasing in the reference image.

 test/Makefile.am                       |    3 ++-
 test/leaky-dashed-rectangle-ps-ref.png |  Bin 0 -> 444 bytes
 test/leaky-dashed-rectangle-ref.png    |  Bin 444 -> 366 bytes
 3 files changed, 2 insertions(+), 1 deletions(-)

commit 49fb0e834ecf31ac61735e2e35a1b486d5290db6
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 8 09:11:10 2008 +0100

    [matrix] Prefer a return parameter for _compute_determinant().
    
    Returning a double tends to be slightly more efficient than passing a
    pointer to fill, and is a lot easier to read.

 src/cairo-matrix.c      |   13 ++++++-------
 src/cairo-path-stroke.c |    7 ++-----
 src/cairo-pen.c         |    8 +-------
 src/cairoint.h          |    4 ++--
 4 files changed, 11 insertions(+), 21 deletions(-)

commit eabe572981e1e415171dbfde81c3bf94297355b4
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Aug 8 00:56:36 2008 -0400

    Document all new API
    
    Also validate clusters generated by font backends.

 doc/public/cairo-sections.txt          |    5 +
 doc/public/tmpl/cairo-scaled-font.sgml |   18 +++
 doc/public/tmpl/cairo-text.sgml        |   34 ++++++
 doc/public/tmpl/cairo-user-fonts.sgml  |    5 +
 src/cairo-misc.c                       |   76 +++++++++++++-
 src/cairo-scaled-font.c                |  182 +++++++++++++++++++++++++++++++-
 src/cairo.c                            |  135 +++++++++++++++---------
 src/cairo.h                            |   75 +++++++++++--
 src/cairoint.h                         |   17 +++
 9 files changed, 482 insertions(+), 65 deletions(-)

commit 08e8a42ea149deea760b94b62d9690393ce7cfcd
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Aug 8 02:22:26 2008 -0400

    [test/user-font] Fix comments

 test/user-font.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 38c5f0d49b2ce1a6146cbea5ec3376a52cac8e68
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Aug 8 02:18:25 2008 -0400

    [scaled-font-subsets] Fix UTF-8 mapping
    
    Prevously all show_text_glyphs() clusters were using ActualText.  This
    fixes that.
    
    I have a feeling that the following scenario is broken still though:
    
      - show_text_glyphs maps glyph 1 to some utf8 text different from
        what index_to_ucs4 will give for glyph 1.  This will assign the
        utf8 text to glyph 1's ToUnicode.
    
      - show_glyphs shows glyph 1.  Since cluster has no utf8 text, we
        won't use ActualText and fall back to ToUnicode.  But the ToUnicode
        value assigned to glyph 1 is non-standard now.  We should use
        ActualText.
    
    I have not verified this hypothesis though.

 src/cairo-scaled-font-subsets.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

commit bc4d363e9238da0908ce01d0c08c3f344bd9d34f
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Aug 8 01:27:41 2008 -0400

    [pdf-operators] Add note about clusters with no glyphs

 src/cairo-pdf-operators.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 1bc404e3460a32ba94b420725ecff25bda7a0c35
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Aug 8 01:27:12 2008 -0400

    Make utf8 handling in font subsets more consistent

 src/cairo-pdf-operators.c       |    4 ++--
 src/cairo-scaled-font-subsets.c |    7 +++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

commit 849159ddd15b21b4feee05aebe82b3acfd94ba38
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Aug 8 00:54:54 2008 -0400

    [truetype] Fix gcc warning about possibly-infinite-loops

 src/cairo-truetype-subset.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

commit 178789c37a2a6edaba14a453817b3f9338eab1bd
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Aug 8 00:52:47 2008 -0400

    [cairo-scaled-font-subsets] Make utf8 handling more robust

 src/cairo-scaled-font-subsets.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

commit 597bfa922ae28ae4e7aa0ee72b856b5868799d4e
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Aug 7 22:48:38 2008 -0400

    [test/user-font] Document glyph-not-found situation

 test/user-font.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

commit d9408041aa220c8a61e520de25bce9671ba4d0a9
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Aug 7 22:06:15 2008 -0400

    Add cairo_scaled_font_text_to_glyphs()
    
    And update user-font text_to_glyphs() method to match.
    
    Currently disable the win32-font text_to_glyphs(), until that one
    is updated.  Or better yet, remove it and implement ucs4_to_index().
    It's the toy font API afterall.

 src/cairo-gstate.c      |   35 ++++++---
 src/cairo-scaled-font.c |  183 +++++++++++++++++++++++++++++++++++++----------
 src/cairo-user-font.c   |   38 +++++-----
 src/cairo-win32-font.c  |    2 +-
 src/cairo.c             |   59 +++++++++------
 src/cairo.h             |   23 +++++-
 src/cairoint.h          |   40 +++++-----
 test/user-font-proxy.c  |   49 ++++++++++---
 8 files changed, 301 insertions(+), 128 deletions(-)

commit b8fc845094e07ad2520a2c10f27c532bd3273720
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Aug 7 21:46:36 2008 -0400

    [cairo-scaled-font-subsets] Fix bug with utf8 handling

 src/cairo-scaled-font-subsets.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 6b3f6dc77abbc48d741b92cd62f93da68f00b9a2
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Aug 7 20:45:54 2008 -0400

    [unicode] Add _cairo_utf8_get_char_validated()

 src/cairo-unicode.c |   42 ++++++++++++++++++++++++++++++++++++++++--
 src/cairoint.h      |    4 ++++
 2 files changed, 44 insertions(+), 2 deletions(-)

commit 8c514a40b80e11cc904db3ce9ee353839321044e
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Aug 7 20:44:45 2008 -0400

    Add cairo_glyph/text_cluster_allocate/free
    
    These are needed by the upcoming cairo_scaled_font_text_to_glyphs()

 src/cairo-misc.c |  104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/cairo.h      |   12 ++++++
 2 files changed, 116 insertions(+), 0 deletions(-)

commit b01ad0835d25fbee91d037e4484ba652075ffb39
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Aug 7 15:44:11 2008 -0400

    [user-font] Add a cairo_t argument to cairo_user_scaled_font_init_func_t
    
    The init func does not actually need to draw anything, but having a cairo_t
    similar to that passed to render_glyph is handy for computing font extents.
    This is because cairo makes doing some things really hard (if not impossible)
    without a cairo_t.
    
    The user-font-proxy test case is a great example of how the added cairo_t
    makes life much easier.

 src/cairo-user-font.c  |   44 ++++++++++++++++++++++++++------
 src/cairo.h            |    8 ++++++
 test/user-font-proxy.c |   64 ++++++++++++++++++++++-------------------------
 test/user-font.c       |    1 +
 4 files changed, 74 insertions(+), 43 deletions(-)

commit d6ae23478ae6bde0714a50b2ed77e788f17cc03d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Aug 7 15:43:21 2008 -0400

    Check for NULL pointer in cairo_set_scaled_font

 src/cairo.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

commit b67d34e960fa07cfafb13e3a5b5b4a63cfb024d3
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Aug 7 15:42:58 2008 -0400

    [gstate] Check for NULL font_face in _cairo_gstate_set_font_face

 src/cairo-gstate.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit 7e57892983bbc639fe4a402a427b255e4d4ab746
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed Aug 6 21:37:36 2008 -0400

    Add toy font constructor and getters
    
    New public API:
    
    	cairo_toy_font_face_create()
    	cairo_toy_font_face_get_family()
    	cairo_toy_font_face_get_slant()
    	cairo_toy_font_face_get_weight()

 doc/public/cairo-sections.txt     |    4 +
 doc/public/tmpl/cairo-status.sgml |    2 +
 doc/public/tmpl/cairo-text.sgml   |   38 +++++++
 src/cairo-font-face.c             |  196 ++++++++++++++++++++++++++++++++++---
 src/cairo-gstate.c                |    4 +-
 src/cairo-misc.c                  |    4 +
 src/cairo-surface.c               |    2 +
 src/cairo.c                       |    6 +-
 src/cairo.h                       |   24 +++++-
 src/cairoint.h                    |   10 +--
 test/.gitignore                   |    1 +
 test/Makefile.am                  |    3 +
 test/toy-font-face.c              |  129 ++++++++++++++++++++++++
 test/user-font-proxy-pdf-ref.png  |  Bin 0 -> 10174 bytes
 test/user-font-proxy-ps-ref.png   |  Bin 8452 -> 7227 bytes
 test/user-font-proxy.c            |   43 ++++----
 16 files changed, 421 insertions(+), 45 deletions(-)

commit bca9a21e98c870cdb4695c9155517377757beaea
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed Aug 6 20:40:23 2008 -0400

    [docs] Update private header list

 doc/public/Headers.mk  |    1 +
 doc/public/Makefile.am |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

commit 4bb7388b65ea56287f877f8241caa7a189c0c519
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed Aug 6 20:38:29 2008 -0400

    Remove unnecessary checks for CAIRO_STATUS_INVALID_STRING
    
    We check that all input text is valid UTF-8.  Not sure why the code
    was being lenient to invalid strings.

 src/cairo-pdf-surface.c         |    2 +-
 src/cairo-scaled-font-subsets.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit 5bac12252c79ea017457222b3cda2b82c8c33702
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 8 01:47:36 2008 +0100

    [xlib] Free regions on failure.
    
    Fix leak of regions along error path.

 src/cairo-xlib-surface.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

commit 16939e1a8623a3671bf5ce848841616a45f79df2
Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
Date:   Thu Aug 7 19:19:39 2008 -0400

    Center the group pattern transform around the device_transformed origin
    
    When popping a group, transform it by the ctm centered at the origin
    specified by the device_transform so that it ends up in the right place
    when we try to paint. This fixes the regressions caused by
    1a9809baab5d8adf6ccf165e8f5d294b498c2fd5 as shown by the pdf backend.

 src/cairo.c |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

commit e8ddbd1a1425586eac0d40675127d529b7029ea1
Author: Jeff Muizelaar <jrmuizel@jrmuizel-desktop.(none)>
Date:   Thu Aug 7 19:06:31 2008 -0400

    Add a test case showing the invariance of push/pop_group
    
    This shows the regressions caused by
    1a9809baab5d8adf6ccf165e8f5d294b498c2fd5

 test/Makefile.am              |    3 +
 test/clipped-group-ps-ref.png |  Bin 0 -> 343 bytes
 test/clipped-group-ref.png    |  Bin 0 -> 350 bytes
 test/clipped-group.c          |   96 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 99 insertions(+), 0 deletions(-)

commit f916e2178b6f52e3b3600d100dfe75bfa4bf12cb
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Aug 7 23:54:25 2008 +0100

    [meta] Use the pre-computed device_transform_inverse.
    
    Avoid repeatedly inverting the same matrix by using the pre-computed
    inverse.

 src/cairo-meta-surface.c |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

commit 523f7258014f9db421297d14804e71e1da9f9761
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Aug 7 22:00:30 2008 +0100

    [meta] Remove debugging assert.
    
    Remove an old assertion that no error occurred.

 src/cairo-meta-surface.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 34eb420cc70f1d9df665d35dc9902a4313e7aace
Author: Vladimir Vukicevic <vladimir@pobox.com>
Date:   Thu Aug 7 13:25:02 2008 -0700

    [misc] Remove trailing comma on enum

 src/cairoint.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit afdf3917ee86a7d8ae17f556db96478682674a76
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Aug 6 09:19:02 2008 +0100

    [configure.in] Slight massage for recent Ubuntu autotools.
    
    Fix up a couple of minor complaints about possibly undefined macros,
    cached conditional values and suggested improvements.

 Makefile.am  |    2 ++
 configure.in |   16 +++++++---------
 2 files changed, 9 insertions(+), 9 deletions(-)

commit 7c1078b830ac7b88a56dd2afa5dc48234e3b6e84
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Aug 6 09:23:18 2008 +0100

    Check return from pixman_image_set_filter().
    
    Adding warn_unused_result to pixman detected a couple of instances where
    we abused the knowledge that the code currently can not fail, but in
    deference to its independent existence we should be more cautious.

 src/cairo-image-surface.c |   18 ++++++++++++++----
 src/cairo-pattern.c       |    9 +++++++--
 2 files changed, 21 insertions(+), 6 deletions(-)

commit 56619a16ddc6add30b4a5c51ce02d7030752429f
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Aug 7 08:25:37 2008 +0100

    [cairo-surface] Use the pre-computed device_transform_inverse.
    
    Avoid inverting the device_transform when copying the pattern for the
    destination surface by using the pre-computed inverse.

 src/cairo-surface.c |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

commit 6a4ddb6f47c552f416e6dec069eb57ebe16005fd
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Aug 6 13:45:08 2008 +0100

    [pattern] Set the reference count for stack allocations to 0.
    
    Keep the reference count as zero for temporary, on-stack patterns in
    order to detect attempts to keep references beyond their scope. (And
    mismatched _init()/_destroy()).

 src/cairo-pattern.c |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

commit ae7bdd7ee0642c5b0f2e1ea3dabf38e79cf18c0b
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Aug 6 13:00:21 2008 +0100

    [valgrind] More suppressions for XrmGetStringDatabase().
    
    Another variation in the callstack needs suppressing.

 test/.valgrind-suppressions |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

commit 64ba6c74dbc5464da3093867b4f26166da7fbaff
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed Aug 6 18:37:03 2008 -0400

    Fix Ubuntu-specific issue with FC_LCD_NONE et al
    
    No idea if Ubuntu will ever learn not to modify public API of
    common libraries without any clue of what kind of problems they
    create by doing that.  They could very well define
    FC_UBUNTU_LCD_FILTER if they wanted to, but no, they defined
    FC_LCD_FILTER as if it's an upstream thing.  It wasn't.

 src/cairo-ft-font.c     |    3 +++
 src/cairo-xlib-screen.c |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

commit 1dc0f3a1ad2cfa7f910e4a729943fbddbb90637d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed Aug 6 02:14:59 2008 -0400

    [test/user-font] Document that Poppler is buggy with glyph 0

 test/user-font.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 0ec6c9ca6210649006e40d031a118c4c7ef437ea
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Aug 6 11:11:24 2008 +0100

    [pdf] Propagate status from emit_glyph()
    
    Propagate the error status from _cairo_pdf_operators_emit_glyph().

 src/cairo-pdf-operators.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

commit 2dfee9986c739b2fdadf551dd71e104df332b2b8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Aug 6 10:51:34 2008 +0100

    [pdf] Fixup a couple of inverted tests.
    
    Check for NULL returns from malloc, instead of reporting errors and
    leaking on success.

 src/cairo-pdf-surface.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 7ffd8bbcb0078fe305a6bc7a37f809c0c6e1011a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Aug 6 00:36:47 2008 +0100

    [cairo-font-options] Add private alias for set_lcd_filter()
    
    check-plt was rightfully claiming about an internal use of a public
    symbol, so add the missing private alias.

 src/cairo-font-options.c |    1 +
 src/cairoint.h           |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

commit 221599ab0fc1a2fa878659fe5bef88104e56a07c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Aug 5 16:30:02 2008 -0400

    Finish off lcd-filter merge

 configure.in                            |    2 +-
 doc/public/tmpl/cairo-font-options.sgml |   29 ++++++++++++++++++
 doc/public/tmpl/cairo-text.sgml         |    2 +
 src/cairo-font-options.c                |    4 ++
 src/cairo-ft-font.c                     |   48 ++++++++++++++++++++----------
 src/cairo.h                             |    2 +
 6 files changed, 70 insertions(+), 17 deletions(-)

commit 19b36fb88757e34e8340de175f3723e882b92de7
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Aug 5 14:54:55 2008 -0400

    [win32] Fix build

 src/Makefile.win32 |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

commit 65d017a4063242d221365371301e1aab5b3c6299
Author: Sylvain Pasche <sylvain.pasche@gmail.com>
Date:   Tue Aug 5 13:52:13 2008 +0200

    Add tests for the new LCD filter API

 test/Makefile.am                         |    4 ++
 test/font-options.c                      |    6 ++-
 test/text-antialias-subpixel-ref.png     |  Bin 1121 -> 974 bytes
 test/text-antialias-subpixel.c           |    1 +
 test/text-lcd-filter-fir3-ref.png        |  Bin 0 -> 974 bytes
 test/text-lcd-filter-fir3.c              |   85 ++++++++++++++++++++++++++++++
 test/text-lcd-filter-fir5-ref.png        |  Bin 0 -> 974 bytes
 test/text-lcd-filter-fir5.c              |   85 ++++++++++++++++++++++++++++++
 test/text-lcd-filter-intra-pixel-ref.png |  Bin 0 -> 974 bytes
 test/text-lcd-filter-intra-pixel.c       |   85 ++++++++++++++++++++++++++++++
 test/text-lcd-filter-none-ref.png        |  Bin 0 -> 974 bytes
 test/text-lcd-filter-none.c              |   85 ++++++++++++++++++++++++++++++
 12 files changed, 350 insertions(+), 1 deletions(-)

commit 45ec5e77bb26b0f93b0b1e11bd3055e8c9611111
Author: Sylvain Pasche <sylvain.pasche@gmail.com>
Date:   Wed Jan 23 00:05:00 2008 +0100

    Add symbols for setting the LCD filter type on font options

 doc/public/cairo-sections.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit a0cad6c398f5e30e3d10fb19fe51d4266b1c0b4c
Author: Sylvain Pasche <sylvain.pasche@gmail.com>
Date:   Wed Jan 23 00:03:01 2008 +0100

    [cairo-ft] Interaction with Fontconfig to deal with the LCD filter type

 src/cairo-ft-font.c |   72 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 71 insertions(+), 1 deletions(-)

commit f64cf7fb098e8c9be8a454d4675e6a8b7fd22589
Author: Sylvain Pasche <sylvain.pasche@gmail.com>
Date:   Wed Jan 23 00:00:53 2008 +0100

    [cairo-xlib] Support to retrieve the LCD filter type from the Xrm database

 src/cairo-xlib-screen.c |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

commit 28d18f3f936988483a47dd30f55ee2403bc006c3
Author: Sylvain Pasche <sylvain.pasche@gmail.com>
Date:   Tue Jan 22 23:59:36 2008 +0100

    [cairo-ft] Fontconfig defines for LCD constants when using Fontconfig < 2.6
    
    This adds define for compatibility when without the new lcd filtering
    constants (Fontconfig patch not yet applied, see bug 13566).

 src/cairo-ft-font.c     |    9 +++++++++
 src/cairo-xlib-screen.c |    9 +++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)

commit 0013f2c2696146e71f043437a4727a1b18706b09
Author: Sylvain Pasche <sylvain.pasche@gmail.com>
Date:   Tue Jan 22 23:57:32 2008 +0100

    Add lcd filter type to the public API and font options
    
    New struct cairo_lcd_filter_t and new functions
    cairo_font_options_set_lcd_filter
    cairo_font_options_get_lcd_filter

 src/cairo-font-options.c  |   47 ++++++++++++++++++++++++++++++++++++++++++++-
 src/cairo-types-private.h |    1 +
 src/cairo.h               |   26 ++++++++++++++++++++++++
 3 files changed, 73 insertions(+), 1 deletions(-)

commit 4b5e0ba7200159f732c815bea616367fc851f245
Author: Sylvain Pasche <sylvain.pasche@gmail.com>
Date:   Tue Jan 22 23:53:17 2008 +0100

    [cairo-ft] LCD filtering patch coding style corrections

 src/cairo-ft-font.c |  493 ++++++++++++++++++++++++--------------------------
 1 files changed, 237 insertions(+), 256 deletions(-)

commit 7f870035177da7aa63fa33dce837528f442d9ffe
Author: Sylvain Pasche <sylvain.pasche@gmail.com>
Date:   Tue Jan 22 23:51:32 2008 +0100

    [cairo-ft] LCD filtering patch from David Turner
    
    This is the patch David Turner wrote some times ago and can be found on
    http://david.freetype.org/lcd/cairo-1.2.4-lcd-filter-1.patch. It was
    somewhat modified for compatibility with cairo 1.5

 src/cairo-ft-font.c |  592 +++++++++++++++++++++++++++++++++++----------------
 1 files changed, 404 insertions(+), 188 deletions(-)

commit acdc306905b4a39911fd58e9d72aa3db5e1b8760
Author: Vladimir Vukicevic <vladimir@pobox.com>
Date:   Tue Aug 5 13:16:17 2008 -0700

    [win32] Adding cairo-features-win32.h to EXTRA_DIST

 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 924a242f89ab1d86750512c8e4ee367c270ee07a
Author: Vladimir Vukicevic <vladimir@pobox.com>
Date:   Tue Aug 5 12:57:51 2008 -0700

    [win32] Update win32 build, remove gcc dependency

 Makefile.win32             |   13 ++++++++++---
 src/Makefile.win32         |   20 ++++----------------
 src/cairo-features-win32.h |   40 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 54 insertions(+), 19 deletions(-)

commit e1132d434e329c625667f6aff30634522108241e
Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
Date:   Wed Jul 30 13:05:01 2008 -0700

    Make cairo_scaled_font_glyph_extents() unconditionally zero the extents
    
    This makes cairo_scaled_font_glyph_extents() match a similar pattern of
    initialization in cairo_glyph_extents(). It also fixes the 'text-zero-len' test
    that was broken by 676b221326cacdd205c225bba8ac43378b4abb81.

 src/cairo-scaled-font.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

commit d560a3d96563d681f5c0d8ebea0d255ac35bbc99
Author: Peter Weilbacher <mozilla@Weilbacher.org>
Date:   Fri Jul 25 11:19:11 2008 -0400

    [OS/2] Fix build

 src/cairo-os2-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit ba95b9dee8e6daddbeb0660d920c7b46801edc80
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jul 21 16:34:10 2008 -0400

    [cairo-ft] Use FcFreeTypeCharIndex instead of FT_Get_Char_Index

 src/cairo-ft-font.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

commit bc42989501e8e604cbf8eb5348d4eb86d5a7cc4b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jul 21 16:29:57 2008 -0400

    [configure.in] Cosmetic

 configure.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 1a9809baab5d8adf6ccf165e8f5d294b498c2fd5
Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
Date:   Mon Jul 21 22:24:42 2008 -0400

    Fix scaling with a device offset
    
    Apply the device offset transformation to the pattern before the ctm one.
    Fixes bug #16469.

 src/cairo-gstate.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

commit 3074ba02a1c7ebdef45f7514f2e9505fc664ae6e
Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
Date:   Mon Jul 21 22:08:46 2008 -0400

    Add a test for scaling a surface with device offset.

 test/Makefile.am                 |    2 +
 test/device-offset-scale-ref.png |  Bin 0 -> 145 bytes
 test/device-offset-scale.c       |   81 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+), 0 deletions(-)

commit 96c9e2a1a8c96b22fe1ae1fb76e5885003148b68
Author: Vladimir Vukicevic <vladimir@pobox.com>
Date:   Fri Jul 18 15:55:11 2008 -0700

    Fix cairo-quartz-image-surface compilation error

 src/cairo-quartz-image-surface.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

commit ec9337697ea8d9fb10576c42ef2c29ff27636f86
Author: Carl Worth <cworth@cworth.org>
Date:   Thu Jul 17 19:31:11 2008 -0700

    cairo.h: Remove trailing comma in enumeration

 src/cairo.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 5284f8cab488c12db0ff0b12a4485072138b8008
Author: Frederic Plourde <frederic.plourde@polymtl.ca>
Date:   Thu Jul 17 13:56:22 2008 -0700

    [win32] Make cairo-perf-diff run on win32

 perf/Makefile.win32          |    4 +++
 perf/README                  |   21 +++++++++++++++
 perf/cairo-perf-diff         |    6 +++-
 perf/cairo-perf-diff-files.c |   56 ++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 84 insertions(+), 3 deletions(-)

commit d61c7df1c0f9c69b0022c58efd001855551af7dd
Author: Vladimir Vukicevic <vladimir@pobox.com>
Date:   Wed Jul 9 13:20:53 2008 -0700

    [quartz] Take snapshot instead of using CGImageCreateCopy
    
    CGImageCreateCopy doesn't copy the data provider, so it's possible to
    free the data underneath an image without snapshotting it first.

 src/cairo-quartz-surface.c |   30 +++++++++++++++++++++---------
 1 files changed, 21 insertions(+), 9 deletions(-)

commit e534b0bed1bcf19017f76ee3a15bb26f42717b50
Author: Vladimir Vukicevic <vladimir@pobox.com>
Date:   Wed Jul 9 13:06:23 2008 -0700

    [quartz] Protect against NULL from CGFontGetHMetricsPtr
    
    Seems to happen on 10.4 only for unknown reasons.  Protect against a crash at least.

 src/cairo-quartz-font.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit 7127089fe67690db997f86fd89b71820aa4fcdf0
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jul 8 22:46:04 2008 +0930

    PDF/PS: Remember the current line style
    
    So we don't need to emit line style parameters that are already set.

 src/cairo-pdf-operators-private.h |   13 ++++++++++
 src/cairo-pdf-operators.c         |   48 ++++++++++++++++++++++++++----------
 2 files changed, 47 insertions(+), 14 deletions(-)

commit 837bf73f082f3bb0158b57cf7c456380531853b3
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jul 8 22:00:15 2008 +0930

    Add PDF operators function to reset any remembered state

 src/cairo-pdf-operators-private.h |    3 +++
 src/cairo-pdf-operators.c         |   15 +++++++++++++++
 src/cairo-pdf-surface.c           |    4 ++++
 src/cairo-ps-surface.c            |    5 +++++
 4 files changed, 27 insertions(+), 0 deletions(-)

commit 9b302fac63e461d2239435d058c5a114b8aa21a7
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jul 8 21:51:41 2008 +0930

    PDF: Oops - turn compression back on

 src/cairo-pdf-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 50eb1e71f3199922f50992e53f045614177365f8
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jul 8 21:36:19 2008 +0930

    PS: Ensure the color is re-emitted after resetting the clip path
    
    because the graphics state has been restored.

 src/cairo-ps-surface.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit b082c15df649467e2bd51535802f27c762eee257
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jul 8 21:18:45 2008 +0930

    PDF: Don't use a Form dictionary for the content stream
    
    because pdfTeX (and maybe other PDF consumers) can not handle it.
    
    Previously the content stream was an Form dictionary because at the
    time the content is written it is not known whether the content stream
    will be belong to the page or be an XObject in a knockout group. With
    the additional of the paginated surface function
    set_fallback_images_required() this information is now known at the
    time the content is emitted.

 src/cairo-pdf-surface.c |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

commit 4fcdc364cd3f9d7d5cd8026adac23a651b608781
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jul 8 21:12:54 2008 +0930

    Add paginated surface backend function _set_fallback_images_required

 src/cairo-paginated-private.h |    8 ++++++++
 src/cairo-paginated-surface.c |    9 +++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)

commit 0c05aa60f5bfa4b6f280aedec684c20aed793a90
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jul 8 21:12:28 2008 +0930

    PDF: Limit precision of Td operands
    
    As the translation is in text space, the full precision of a double
    for numbers close to zero is not required. Limit the precision to the
    same as for numbers > 1.

 src/cairo-pdf-operators.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit d5c7b87ca989d3b4b5faeafc6e579b6c63d1e8dc
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jul 8 20:57:57 2008 +0930

    PDF: Ensure clip is not emitted outside of stream
    
    Sylvain Munaut discovered a bug in
    _cairo_pdf_surface_emit_meta_surface() where the clip may be emitted
    after the stream is closed. Fix this by moving the call to
    _cairo_surface_set_clip() to before the stream is closed.

 src/cairo-pdf-surface.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

commit 130cd29a700c858ef3c8a839479bd02b70403569
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jul 8 20:55:38 2008 +0930

    PDF: remove meta surface group clean
    
    The group that was being cleaned up was removed in
    099810b6c39cc6b5529f740282b64185cf56c8d7

 src/cairo-pdf-surface.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

commit fe7973d60a53b5c7465fd616c515f8fc1ac6cb12
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Jul 6 15:15:15 2008 +0100

    [cairo-scaled-font-subsets] Fix memleak.
    
    Valgrind reported that sub_font_glyph->utf8 was not being freed along
    with the cairo_sub_font_glyph_t.

 src/cairo-scaled-font-subsets.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 07b39ee3c0f053598fdebdd160dc881566ad7fcd
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Jul 6 15:14:22 2008 +0100

    [cairo-scaled-font-subsets] Fix use of unitialised variable.
    
    Valgrind reported that pdf-operators tried to use an uninitialised
    subset_glyph->utf8_is_mapped.

 src/cairo-scaled-font-subsets.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit f92131c38a21a15a5adfbc831cf6eea7a749714d
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sat Jul 5 16:23:43 2008 +0930

    PS: Remember current color
    
    This allows PDF operators to merge text strings together when they are
    all the same color.

 src/cairo-ps-surface-private.h |    6 ++++++
 src/cairo-ps-surface.c         |   34 +++++++++++++++++++++++++++++++---
 2 files changed, 37 insertions(+), 3 deletions(-)

commit dac22cf2b9541c1da72e12a1fb66c5a58775f3b3
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sat Jul 5 16:22:35 2008 +0930

    PDF: Fix glyph positioning bug in Tj operator
    
    Previously this was not correctly checking the position of the first
    glyph and falling back to using TJ if the glyph was not at the the
    standard glyph advance.

 src/cairo-pdf-operators.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit c9c4b0eded58e44e527806f24aa76e7874fb2111
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sat Jul 5 16:19:30 2008 +0930

    PDF: Fix glyph positioning bug in TJ operator
    
    Previously this was not correctly positioning the first glyph in a TJ
    string if the glyph was not at the the standard glyph advance.

 src/cairo-pdf-operators.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

commit 0f748df6705731b94204d6dd0c903e18f1d4a8a5
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sat Jul 5 16:14:31 2008 +0930

    PS: Remember position when changing font
    
    Previously the PS emulation of the PDF operators would change the
    current position to the text line matrix instead of the the text
    matrix when changing the font.

 src/cairo-ps-surface.c |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

commit 1c729f85edf967d086eeb85b9222466087e70da4
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jul 3 19:15:53 2008 -0400

    [cairo-pattern] Fix crash in solid-pattern-surface cache
    
    Ickle knew something when he only extended cache size when we are
    committed to inserting something into the cache.  I broke that while
    fixing other issues a while ago.  This cache just doesn't want to
    give us any rest...

 src/cairo-pattern.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

commit 7c9536b653c062884e2a389d6d3428c42b86aae2
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jul 3 18:05:27 2008 -0400

    [analysis-surface] Fix crashers introduced in my previous commit
    
    Oops!

 src/cairo-analysis-surface.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 37ed55acef5ff9d6d053cfb76af8bdcd1f91edd5
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Thu Jul 3 20:27:50 2008 +0930

    Add missing status checks

 src/cairo-pdf-operators.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

commit 85de817e097c83136fdf827c9202416c02d72bbb
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed Jul 2 19:21:50 2008 -0400

    [analysis-surface] Fallback between show_glyphs and show_text_glyphs
    
    This is needed because analysis-surface takes any UNSUPPORTED returns
    as a signal for using image fallbacks.  So the fallback mechanism in
    _cairo_surface_show_text_glyphs() is not enough.  Reported by Adrian
    Johnson.

 src/cairo-analysis-surface.c |   47 ++++++++++++++++++++++++++++++-----------
 src/cairo-surface.c          |    8 ++++--
 2 files changed, 39 insertions(+), 16 deletions(-)

commit d19d9b414946f668f0c073f39bc5e413cabdb069
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jun 30 22:13:44 2008 -0400

    [cairo-pdf-operators] Fix backward cluster iteration
    
    It's trickier than it appears...
    
    There still remains the question of whether the loop should iterate
    utf8 forward and glyphs backward (as it does now), or iterate glyphs
    forward and utf8 backward.
    
    Doing utf8 forward has the benefit that glyphs appear in the PDF stream
    in the logical order of text.  That may be a good thing.
    
    Doing glyphs forward has the benefit of most glyphs taking their natural
    width, providing for a more compact PDF output.
    
    Firefox 3 currently calls cairo_show_glyphs() with glyphs going
    right-to-left for RTL runs.  That's like going utf8 forward.
    
    On the other hand, if we are fine doing glyphs backward, then we may as
    well remove the "backward" flag and ask callers of show_text_glyphs to
    produce glyph array going right to left for RTL runs.  The idea behind
    having a backward flag in the first place was to allow keeping utf8 in
    logical order and glyphs in visual left-to-right order.  If we don't
    do that in practice, there's no point in having the flag.  Another design
    idea of the flag was to mark right-to-left runs explicitly so the backend
    can use this information.  In that case we probably better rename it to
    "rtl" as the current semantics make it perfectly fine to set a LTR segment
    with backward flag on: just revers the glyph array...
    
    Anyway, the way to determine the right thing to do is to see how Acrobat
    extracts text for RTL text in logical vs visual order.  Then we can decide
    what to do in the PDF backend and whether the flag is worth keeping.
    Going to experiment with that.

 src/cairo-pdf-operators.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

commit c29029ce436709fc3f3ce651a92eebcee11f3203
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jun 30 22:11:48 2008 -0400

    Remove _cairo_surface_show_glyphs() in favor of _cairo_surface_show_text_glyphs()

 src/cairo-paginated-surface.c |   43 ++--------------------------------
 src/cairo-surface.c           |   22 +----------------
 src/cairoint.h                |    8 ------
 src/test-meta-surface.c       |   50 +++++++++++++++++++++++++++++-----------
 src/test-paginated-surface.c  |   51 ++++++++++++++++++++++++++++++----------
 5 files changed, 79 insertions(+), 95 deletions(-)

commit 17a5f10f5342ae6b946ad7491f6656a43df66aa3
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 29 15:00:10 2008 -0400

    [show_text_glyphs] Allow clusters with zero text
    
    As Adrian points out, PDF can handle it, and it doesn't harm allowing.

 src/cairo.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

commit 686fa2600d25a2f69762b85435ce7f3a9907533b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 29 13:56:14 2008 -0400

    [PDF] Remove show_glyphs that was a wrapper to show_text_glyphs
    
    The cairo-surface layer already does that itself.  Just set show_glyphs
    to NULL.

 src/cairo-pdf-surface.c |   21 +--------------------
 1 files changed, 1 insertions(+), 20 deletions(-)

commit 6227d808446a0212d3872be9d09d67e3ce644cd3
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Jun 29 14:32:17 2008 +0100

    [cairo-scaled-font-subsets] And free the allocated memory on failure.
    
    Why, oh why, did I only spot this when reading cairo-commit?

 src/cairo-scaled-font-subsets.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

commit c394b72ee99882882897776115b007f40a96fe95
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Jun 29 13:16:10 2008 +0100

    [cairo-scaled-font] Suppress compiler warning about unused variables.
    
    Use _cairo_error_throw() for the cases where we cannot propagate the
    status return.

 src/cairo-scaled-font.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 5b7903d5a75b10c924c91654e22a78650796ae63
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Jun 29 13:09:17 2008 +0100

    [cairo-scaled-font-subsets] Add missing malloc check.
    
    A minor oversight in d77b04fd0635c1648bb024b5308b715c220e1e74.

 src/cairo-scaled-font-subsets.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 22facbe66e5fd72c6c5ce780d3699fe7a63dc7fb
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:55:41 2008 +0930

    Add show_text_glyphs to PDF surface

 src/cairo-pdf-surface-private.h |    5 ++
 src/cairo-pdf-surface.c         |   97 +++++++++++++++++++++++++++++++-------
 2 files changed, 84 insertions(+), 18 deletions(-)

commit 770b7c9a74e3497692020255686c5c5b4e38001e
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:38:13 2008 +0930

    Add show_text_glyphs to PDF operators

 src/cairo-pdf-operators-private.h |   16 ++-
 src/cairo-pdf-operators.c         |  293 +++++++++++++++++++++++++++++--------
 src/cairo-pdf-surface.c           |   20 ++-
 src/cairo-ps-surface.c            |   15 ++-
 4 files changed, 264 insertions(+), 80 deletions(-)

commit 55dda8c64fc38cda75878f1a34eb1f86b1a445cb
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:36:29 2008 +0930

    Remove unused map_glyphs_to_unicode functions

 src/cairo-ft-font.c    |   35 -----------------
 src/cairo-win32-font.c |   96 ------------------------------------------------
 src/cairoint.h         |    4 --
 3 files changed, 0 insertions(+), 135 deletions(-)

commit 2012d4f7364f9efa0789996e7906f269d5d59d41
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:36:10 2008 +0930

    Removed unused cairo_truetype_create_glyph_to_unicode_map()

 src/cairo-truetype-subset.c |  147 -------------------------------------------
 1 files changed, 0 insertions(+), 147 deletions(-)

commit 154324f121e7aad8af474ac26e0e320cddd37579
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:35:43 2008 +0930

    Use subset utf8 mapping to create the glyph names for PS fonts

 src/cairo-scaled-font-subsets.c |   36 ++++++++++++++++--------------------
 1 files changed, 16 insertions(+), 20 deletions(-)

commit 2a21fafa078a2519dea7881b4553d74667c928f2
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:35:12 2008 +0930

    Use subset utf8 mapping in PDF ToUnicode stream

 src/cairo-pdf-surface.c |   69 ++++++++++++++++++++++++++++++++---------------
 src/cairoint.h          |    2 +-
 2 files changed, 48 insertions(+), 23 deletions(-)

commit d77b04fd0635c1648bb024b5308b715c220e1e74
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:33:58 2008 +0930

    Allow _cairo_scaled_font_subsets_map_glyph() to specify utf8 mapping

 src/cairo-pdf-operators.c               |    1 +
 src/cairo-scaled-font-subsets-private.h |   14 +++-
 src/cairo-scaled-font-subsets.c         |  112 ++++++++++++++++++++++++++++++-
 src/cairo-svg-surface.c                 |    1 +
 src/cairoint.h                          |    1 +
 5 files changed, 124 insertions(+), 5 deletions(-)

commit f4d6e714a63ab44e388a06fba8d849f2ad7f0000
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:32:19 2008 +0930

    Add _cairo_ucs4_to_utf8

 src/cairo-unicode.c |   39 +++++++++++++++++++++++++++++++++++++++
 src/cairoint.h      |    4 ++++
 2 files changed, 43 insertions(+), 0 deletions(-)

commit 2f99a294cd2367c4649428534b3429522448260c
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:31:47 2008 +0930

    Add _cairo_truetype_index_to_ucs4()
    
    for doing reverse cmap lookups on truetype/opentype fonts one glyph at
    a time.

 src/cairo-scaled-font-subsets-private.h |   22 +++++
 src/cairo-truetype-subset.c             |  151 +++++++++++++++++++++++++++++++
 2 files changed, 173 insertions(+), 0 deletions(-)

commit 95771d62c57c081fe350e0d33326aaa6a27139da
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:31:23 2008 +0930

    Implement win32 index_to_ucs4 font backend function

 src/cairo-win32-font.c |   93 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 93 insertions(+), 0 deletions(-)

commit 4619b0b309861daa64b9c3ced9fdea20c461edf2
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:30:14 2008 +0930

    Add index_to_ucs4 font backend function and FT implementation

 src/cairo-ft-font.c |   31 +++++++++++++++++++++++++++++++
 src/cairoint.h      |    7 ++++++-
 2 files changed, 37 insertions(+), 1 deletions(-)

commit 54f63e7859baeff18f7345cf22630d6a9b709e1c
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 29 19:28:39 2008 +0930

    PDF: Ensure text object is closed before emitting fill or stroke

 src/cairo-pdf-operators.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit 4ffea75d908ef041fbc5aa1da9a5b725d3c24263
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Jun 27 11:18:22 2008 -0400

    Change cairo_text_cluster_t members signed
    
    Also reject clusters with no text.

 src/cairo.c |   19 ++++++++++---------
 src/cairo.h |    4 ++--
 2 files changed, 12 insertions(+), 11 deletions(-)

commit 4530c0b0ecdd19cfcbcb6d21b1db426ab42793d9
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 26 17:15:42 2008 -0400

    [meta-surface] Implement show_text_glyphs; Remove show_glyphs
    
    One is enough.  The only downside is that meta-surface will consume
    32 more bytes per show_glyphs() call now.  If that's a concern,
    the show_glyphs implementation can be added back.

 src/cairo-meta-surface-private.h |   13 +++-
 src/cairo-meta-surface.c         |  131 ++++++++++++++++++++++++++-----------
 2 files changed, 101 insertions(+), 43 deletions(-)

commit 93c3eebc6ec740317650e8ec166ae5311c12f0d7
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 26 16:45:09 2008 -0400

    [paginated-surface] Implement show_text_glyphs

 src/cairo-paginated-surface.c |   60 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 59 insertions(+), 1 deletions(-)

commit 8f02cadf3dc0ed4aedfafad4644a5fdc9d3e8168
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 26 16:44:59 2008 -0400

    [analysis-surface] Implement show_text_glyphs

 src/cairo-analysis-surface.c |   82 +++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 81 insertions(+), 1 deletions(-)

commit 047566fd526f7936a49b630ed47c570dd70e837f
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 26 16:15:12 2008 -0400

    Add cairo_show_text_glyphs API
    
    New public API:
    
    	cairo_text_cluster_t
    	cairo_has_show_text_glyphs()
    	cairo_show_text_glyphs()
    
    Add accompanying gstate and surface functions, and surface backend methods.
    No backends implement them just yet.

 doc/public/cairo-sections.txt     |    3 +
 doc/public/tmpl/cairo-status.sgml |    1 +
 doc/public/tmpl/cairo-text.sgml   |   31 ++++++++++
 src/cairo-gstate.c                |   38 +++++++++----
 src/cairo-misc.c                  |    2 +
 src/cairo-scaled-font.c           |   14 +++-
 src/cairo-surface.c               |  110 +++++++++++++++++++++++++++++++------
 src/cairo.c                       |  109 +++++++++++++++++++++++++++++++++++-
 src/cairo.h                       |   22 +++++++-
 src/cairoint.h                    |   48 +++++++++++++++-
 10 files changed, 336 insertions(+), 42 deletions(-)

commit dff0dd0c63e530e21471531299a8f260cf88f001
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 26 15:58:06 2008 -0400

    Allow NULL output in _cairo_utf8_to_ucs4()
    
    The function can be used to validate UTF-8 text now.

 src/cairo-unicode.c |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

commit 883c972a9bc0aafb817a02c7b4a8c6f250796405
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 26 16:08:39 2008 -0400

    [cairo-types] fix doc syntax

 src/cairo-types-private.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 787fb135663ebd9ab4a8d38da8fafc5e82d47ec5
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 26 16:08:21 2008 -0400

    [xlib] Use _cairo_xlib_surface_create_internal() directly

 src/cairo-xlib-surface.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

commit ba62d2d30a960d921f6efe84e2d6dc93d0de6e39
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 26 16:20:47 2008 -0400

    Update .gitignore files

 boilerplate/.gitignore |    1 +
 doc/public/.gitignore  |    1 +
 test/.gitignore        |    2 ++
 3 files changed, 4 insertions(+), 0 deletions(-)

commit 425846dedbca749a4a19e8a8827887bb70201c8d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Jun 24 15:09:33 2008 -0400

    Oops.  Fix thinko in previous commit.

 src/cairo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 74789a702bf5c62bc0d0361f139b2c94f67d5c6e
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Jun 24 15:07:07 2008 -0400

    Cleanup _set_error functions a bit

 src/cairo-font-face.c   |    2 ++
 src/cairo-pattern.c     |    7 +++++--
 src/cairo-scaled-font.c |    4 ++--
 src/cairo-surface.c     |    5 +++--
 src/cairo.c             |    7 +++++--
 5 files changed, 17 insertions(+), 8 deletions(-)

commit ace3a98a53ab596c83df5a163e580770b9771bf2
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Jun 24 15:02:14 2008 -0400

    Make sure cairo_int_status_t values fit in int8_t
    
    It was reported by Liu Yubao that cairo_status_t may be chosen to be
    an int8_t by the compiler, in that case cairo_int_status_t values
    assigned to cairo_status_t would overflow.  Fix this by allocating
    the values in int8_t range, and add compile-time sanity checks.

 src/cairo-misc.c          |    2 ++
 src/cairo-types-private.h |   13 ++++++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)

commit f32090fb34f93d42bd134ee7c007f60dd1cd1c13
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jun 23 17:56:28 2008 -0400

    Return CAIRO_STATUS_NEGATIVE_COUNT if num_glyphs is negative

 src/cairo-scaled-font.c |    6 ++++++
 src/cairo.c             |   15 +++++++++++++++
 2 files changed, 21 insertions(+), 0 deletions(-)

commit 498f3ddf2e8f6b7c381c7153cbd39fa22c32ceea
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jun 23 17:53:25 2008 -0400

    Add status CAIRO_STATUS_NEGATIVE_COUNT
    
    To be used for things like passing a negative number of glyphs
    to cairo_show_glyphs().

 doc/public/tmpl/cairo-status.sgml     |    1 +
 doc/public/tmpl/cairo-user-fonts.sgml |    2 --
 src/cairo-misc.c                      |    2 ++
 src/cairo-surface.c                   |    1 +
 src/cairo.h                           |    4 +++-
 src/cairoint.h                        |    2 +-
 6 files changed, 8 insertions(+), 4 deletions(-)

commit ce24588d1c5e82e598cdad68c910a64f64864c7b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jun 23 17:51:32 2008 -0400

    [doc] Update doc/public/Headers.mk

 doc/public/Headers.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 676b221326cacdd205c225bba8ac43378b4abb81
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jun 23 17:39:16 2008 -0400

    Protect against NULL glyphs array in text API
    
    We still don't do anything if num_glyphs is negative.  Why isn't
    that argument unsigned int...

 src/cairo-scaled-font.c |    9 +++++++++
 src/cairo.c             |   24 +++++++++++++++++++++---
 2 files changed, 30 insertions(+), 3 deletions(-)

commit 233b387c29f2108a41fca14cc275337903117169
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jun 23 00:30:04 2008 -0400

    Use #include "cairo-*." instead of #include <cairo-*.h>
    
    The rule is simple: <x.h> for system / other project includes,
    "x.h" for local includes.

 src/cairo-beos.h               |    2 +-
 src/cairo-directfb.h           |    2 +-
 src/cairo-ft-private.h         |    4 ++--
 src/cairo-ft.h                 |    2 +-
 src/cairo-glitz.h              |    2 +-
 src/cairo-mutex-impl-private.h |    2 +-
 src/cairo-mutex-type-private.h |    2 +-
 src/cairo-os2-private.h        |    2 +-
 src/cairo-os2.h                |    2 +-
 src/cairo-pdf.h                |    2 +-
 src/cairo-ps.h                 |    2 +-
 src/cairo-quartz-image.h       |    2 +-
 src/cairo-quartz-private.h     |    2 +-
 src/cairo-quartz.h             |    2 +-
 src/cairo-svg.h                |    2 +-
 src/cairo-win32-private.h      |    4 ++--
 src/cairo-win32.h              |    2 +-
 src/cairo-xcb-xrender.h        |    2 +-
 src/cairo-xcb.h                |    2 +-
 src/cairo-xlib-xrender.h       |    2 +-
 src/cairo-xlib.h               |    2 +-
 src/cairo.h                    |    4 ++--
 22 files changed, 25 insertions(+), 25 deletions(-)

commit 9fea50a1e6c15ad6a80c941f6ddaba768e84e951
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 22 15:15:44 2008 -0400

    Rename _cairo_font_reset_static_data to _cairo_font_face_reset_static_data

 src/cairo-debug.c     |    6 +++---
 src/cairo-font-face.c |    2 +-
 src/cairoint.h        |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

commit 7407362d705516262fed9f5bccfb8d3d5a26632f
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 22 15:13:42 2008 -0400

    Rename cairo_quartz_scaled_font_backend to _cairo_quartz_scaled_font_backend

 src/cairo-quartz-font.c |    4 ++--
 src/cairoint.h          |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 4240794ea4d25bfa9c0edd10243a94ab00275387
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 22 15:13:15 2008 -0400

    Rename cairo_win32_scaled_font_backend to _cairo_win32_scaled_font_backend

 src/cairo-win32-font.c |    8 ++++----
 src/cairoint.h         |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

commit e09f20fe01f17f093acefd341a517fcb83b6ea1e
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 22 14:50:08 2008 -0400

    [gstate] Fix huge-font path;fill fallback options

 src/cairo-gstate.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit d9784c8c37a2c6dbcccd3e96e746f32b12a2b468
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 22:24:13 2008 -0400

    [cairo-xlib] Don't undither pseudocolor, doesn't look good

 src/cairo-xlib-surface.c |   20 +++++++-------------
 1 files changed, 7 insertions(+), 13 deletions(-)

commit fe41d100aa5cddb56b8a5f043c01fdf1f1a1e4c5
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Jun 13 21:39:19 2008 -0400

    [cairo-xlib-surface] Fix core solid_fill_rectangles to do dithering
    
    Do this by tiling the surface form the solid pattern.  The pattern in
    turn calls into xlib's create_solid_surface which returns a dithered
    pattern.
    
    This can get into infinite loop right now, because of the way solid
    surface cache tries to repaint cached surfaces.

 src/cairo-xlib-surface.c |   70 ++++++++++++++++++++++-----------------------
 1 files changed, 34 insertions(+), 36 deletions(-)

commit abac0f96cb39b60a88433918d193f6d5091ea8d9
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Jun 13 21:37:45 2008 -0400

    [cairo-xlib-surface] Implement create_solid_pattern_surface
    
    If render is disabled, this will create a surface the size of the
    dither pattern and paint it with dithering.

 src/cairo-xlib-surface.c |   76 ++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 73 insertions(+), 3 deletions(-)

commit fb8f2b3854114a653d11263e8868eae042ee4b94
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Jun 13 02:35:30 2008 -0400

    [cairo-xlib-surface] Make _draw_image_surface handle arbitrary image formats
    
    This is not a useful change.  Just committing because I already did it.

 src/cairo-xlib-surface.c |   42 +++++++++++++++++++++++++++---------------
 1 files changed, 27 insertions(+), 15 deletions(-)

commit bc4b788ec187c84c2f8a6c0f68c1892ecaab3bcc
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Jun 13 02:44:37 2008 -0400

    [cairo-xlib-surface] In _get_image_surface only use pixman formats >= 24bpp
    
    Otherwise we can't do dithering.  This drastically improves gradient rendering
    on 16bit displays, essentially making them indistinguishable from 32bit ones
    with a naked eye.

 src/cairo-xlib-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 5faf8663b228eafa60fee1f0a1ac9e9f9406134d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Jun 13 00:46:01 2008 -0400

    [cairo-xlib-surface] Force buggy_repeat to TRUE if Render is not available
    
    So we use more core protocol paths.

 src/cairo-xlib-surface.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

commit e7c1fc5bf53b4adf16f2d0c7e613c848bede6824
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Mar 25 17:50:37 2008 +0430

    [xlib] Implement dithering
    
    Remove the intermediate rgb333 for PseudoColor and work on the
    cube directly.  Also upgrade to a 6x6x6 cube instead of 5x5x5.
    Do dithering on both PseudoColor and TrueColor, using a 4x4 pattern.
    
    This only affects X servers with no XRender.

 src/cairo-xlib-private.h |   12 +++-
 src/cairo-xlib-surface.c |  189 ++++++++++++++++++++++++++++++++-------------
 src/cairo-xlib-visual.c  |  103 +++++++++++++++++--------
 3 files changed, 215 insertions(+), 89 deletions(-)

commit c0176dc54cf16a3a9504977d80184e4608783052
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Jun 13 00:43:31 2008 -0400

    [cairo-xlib-surface] Remove unused macro

 src/cairo-xlib-surface.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

commit 93efdce43a05299abef4f2b8220d3b7d9869597b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Jun 13 21:36:14 2008 -0400

    Add a create_solid_pattern_surface surface backend method
    
    This can be used by _cairo_pattern_acquire_surface_for_solid() to let
    the backend create custom surfaces for solid fill instead of a 1x1
    similar surface.

 src/cairo-pattern.c |   10 ++--------
 src/cairo-surface.c |   37 +++++++++++++++++++++++++++++++++++++
 src/cairoint.h      |   20 ++++++++++++++++++--
 3 files changed, 57 insertions(+), 10 deletions(-)

commit ff1371a0a7494f986385730a82823cbf56790d5b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 21:06:07 2008 -0400

    [cairo-surface] Remove optional pattern argument from create_similar_solid()
    
    This was added in 41c6eebcd1fab94fd3a91d09f1ef6ee0d8c7a044, to avoid
    allocating short-lived patterns.  However, this was error prune as the
    color information was duplicated in the pattern and could get out of
    sync.  Indeed, it was out of sync before this commit in the call from
    cairo-clip.c.
    
    By allocating the solid pattern on the stack we fix the original problem
    without creating new ones.

 src/cairo-clip.c          |    3 +--
 src/cairo-glitz-surface.c |    3 +--
 src/cairo-pattern.c       |    3 +--
 src/cairo-surface.c       |   24 +++++++-----------------
 src/cairoint.h            |    6 +-----
 5 files changed, 11 insertions(+), 28 deletions(-)

commit 240cb59fe8706b1b0d3aae4a4ed3d13472033d1d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 19:49:23 2008 -0400

    [cairo-pattern] Clean up _cairo_pattern_acquire_surface_for_solid()

 src/cairo-pattern.c |   54 ++++++++++++++++++++++++++++++++------------------
 1 files changed, 34 insertions(+), 20 deletions(-)

commit 2a592877110f34753da0b9e61d5c5f8c83f4ddd9
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 19:28:49 2008 -0400

    Fix comment

 src/cairo-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit b0d112756f1f8af7cf38d1e7542cb2e4453e7b07
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 19:25:33 2008 -0400

    Remove opaque solid pattern COLOR_ALPHA optimization from call sites
    
    As we do this in _cairo_pattern_init_solid() now.

 src/cairo-glitz-surface.c |    5 +----
 src/cairo-pattern.c       |   10 ++--------
 2 files changed, 3 insertions(+), 12 deletions(-)

commit e93e9903241bc0996bfce7c43d030f33cd33730b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 19:22:02 2008 -0400

    [cairo-pattern] In init_solid() convert COLOR_ALPHA to COLOR if color is opaque
    
    Moving this further than, so it benefits all callers.

 src/cairo-pattern.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 333a49d01d431a808c754cfa900e83a733010083
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 19:18:57 2008 -0400

    [cairo-pattern] Don't call _cairo_stock_color() directly

 src/cairo-pattern.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

commit 4eae72317f117941617b426daa682fa4f1bf3d25
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 19:08:50 2008 -0400

    [cairo-pattern] Remove stale comment

 src/cairo-pattern.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 52cf67a8f2c2ca2c5c233756cfa7f56855e67f27
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 17:44:43 2008 -0400

    Rename cairo_* global vars to _cairo_*

 src/cairo-ft-font.c |    8 ++++----
 src/cairo-pattern.c |    2 +-
 src/cairo.c         |    6 +++---
 src/cairoint.h      |    6 +++---
 4 files changed, 11 insertions(+), 11 deletions(-)

commit 9388cc71db8d6e019061f289c0a72ebaa3432c8c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 17:43:52 2008 -0400

    [src/check-def.sh] Make sure no global variables are named cairo_*
    
    Even if they are marked cairo_private.

 src/check-def.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit aef25b83450e3e17bedce2ffbae58f7b326e0f61
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 19 17:31:10 2008 -0400

    [cairo-pattern] Fix solid surface cache to check for content match too
    
    The code in that cache is becoming uglier and uglier.  But at least it
    works correctly again.  Time for a rewrite.
    
    (Also move the destroy after unlocking)

 src/cairo-pattern.c |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

commit 565644e616ea64f97769d8939beb155f4031da2f
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jun 19 11:42:43 2008 +0100

    [cairo-pattern] Band-aid for the solid surface cache.
    
    Behdad noticed that the mixing of dissimilar surfaces within the cache
    was fubar
    (http://lists.cairographics.org/archives/cairo/2008-June/014348.html).
    
    This corrects the dereferencing of the evicted surface, but leaves open
    the question of the future of the cache.

 src/cairo-pattern.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

commit 47d8739ea198510919b2611c34a44aa3c63f3f59
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jun 19 11:38:38 2008 +0100

    [test/xlib-surface-source] Build under --disable-xlib-xrender.
    
    Add an ifdef to support compiling without XRender.

 test/xlib-surface-source.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 38c4bcc2da225b36455ee3da396305a7d93d4c1d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jun 19 09:44:58 2008 +0100

    [test/solid-pattern-cache-stress] Do what it says on the tin.
    
    Actually draw to the surface after setting the source in order to
    trigger use of the solid surface cache.

 test/Makefile.am                        |    1 +
 test/solid-pattern-cache-stress-ref.png |  Bin 0 -> 107 bytes
 test/solid-pattern-cache-stress.c       |  148 ++++++++++++++++++++++++-------
 3 files changed, 118 insertions(+), 31 deletions(-)

commit 233ba271d626832c2a6332515e2301d68e6051e5
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed Jun 18 20:14:42 2008 -0400

    [cairo-xlib-xrender] Simplify dummy XRender function stubs
    
    for the case of missing Xrender that is.  This compiles
    warning-clean now.

 src/cairo-xlib-xrender-private.h |  113 +++++++++++++++++---------------------
 1 files changed, 51 insertions(+), 62 deletions(-)

commit d36347e0e2079840ebde0e83791fdce4844e2994
Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
Date:   Wed Jun 18 18:35:42 2008 +0300

    Bug: tessellator sometimes ends rightmost trapezoids too late
    
    Reported on the cairo mailing list:
    
    http://lists.cairographics.org/archives/cairo/2008-May/014233.html
    
    The tessellator would sometimes produce self-intersecting trapezoids
    because it would skip the last edge in the active list when deciding
    whether we can continue the current trapezoid or not.
    
    The bug never caused a problem with pixman based rasterisation
    because pixman stops filling in a trapezoid once it detects a self
    intersection.

 src/cairo-bentley-ottmann.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit f2ea46edf4cec3d59f56d90c6f12b0896715022d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Oct 11 22:51:09 2007 +0100

    [cairo-xlib-surface] Optimize away clip that covers the entire surface.
    
    Replace a clip rectangle that covers the entire surface with no
    clipping as this is quite a common operation when toolkits (i.e. GTK+)
    clear surfaces before drawing and avoids a redundant
    XRenderSetClipRectangles.

 src/cairo-xlib-surface.c |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

commit b06bd9379a9841da1d1448534c320fb45e6d6d83
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 28 20:32:40 2008 +0100

    [cairo-xlib-surface] Handle a NULL visual along core FillRectangles path.
    
    It is possible for an XRender capable surface to use
    _cairo_xlib_surface_solid_fill_rectangle() if the surface
    HAS_CREATE_PICTURE() && ! HAS_FILL_RECTANGLES(), in which case we need to
    handle the surface having no associated visual.
    
    Fixes test/xlib-expose-event.

 src/cairo-xlib-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit db32e5ffcc9b06aab623987ecb3b64b9aaf8eca2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 28 17:44:35 2008 +0100

    [check-def.sh] Ignore magic PPC symbols
    
    It appears that the PowerPC Linux ABI specifies a number of magic
    functions for register saves and restores which currently appear as
    exported symbols in the shared object. Ignore them.

 src/check-def.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit ad9a334e2c86ec3745d45f4d1f113999a731ed70
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 28 15:42:09 2008 +0100

    Allocate the correct pattern type on the stack.
    
    Instead of allocating the union of all possible pattern types, just
    allocate the specific pattern as used by the function in order to trim
    the stack space consumption and flag potential misuse.

 src/cairo-clip.c                   |    4 ++--
 src/cairo-glitz-surface.c          |    4 ++--
 src/cairo-ps-surface.c             |    4 ++--
 src/cairo-quartz-surface.c         |    6 +++---
 src/cairo-surface-fallback.c       |   24 ++++++++++++------------
 src/cairo-win32-printing-surface.c |    5 +++--
 src/cairo-win32-surface.c          |    4 ++--
 src/cairo-xcb-surface.c            |    4 ++--
 src/cairo-xlib-surface.c           |    4 ++--
 src/cairo.c                        |    4 ++--
 10 files changed, 32 insertions(+), 31 deletions(-)

commit 74c1e9b5455cd14bfc077a5be2d45a47df666cd4
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat May 10 08:11:54 2008 +0100

    Trivial warning fixes to silence the compiler.

 src/cairo-analysis-surface.c |   56 +++++++++++++++++++++++++++++++++++++----
 src/cairo-xlib-surface.c     |   25 +++++++++---------
 2 files changed, 63 insertions(+), 18 deletions(-)

commit b235050316256b15f9547f2f587847c6a561c76c
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri May 9 11:26:39 2008 +0100

    [cairo-pattern] Generate an opaque solid colour if alpha >= 1.
    
    If the user supplies an alpha value of >= 1 to
    cairo_pattern_create_rgba(), substitute a call to
    cairo_pattern_create_rgb() instead.

 src/cairo-pattern.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 40e1aa60f2c0cd8c4b897c8e9806d1750632b43d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 8 20:48:19 2008 +0100

    [cairo-pattern] Try to repaint the evicted surface from the solid surface cache.
    
    Behdad Esfahbod complained that commit
    8457374c9cf350841a7c16f1ef1657aeb354e5c9 overwhelmed the function with
    added complexity and arbitrary limited a backend to one-quarter of the
    cache. The elegant solution, he outlined, was to look at the surface that
    would be evicted and if possible repaint it, instead of creating a
    replacement. This not only simplifies the code, reduces the number of
    checks performed to find a match (or victim) and allows the cache to be
    naturally shared between the various backends.

 src/cairo-pattern.c |  111 +++++++++++++++++++++++----------------------------
 1 files changed, 50 insertions(+), 61 deletions(-)

commit ea79af728c2ac9c8ca8536010bb2b92cf366ab70
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 8 17:23:44 2008 +0100

    [cairo-xlib] Scan for a glyphset to match a pending free glyph.
    
    In order to avoid re-rasterising a glyph that is pending an
    XRenderFreeGlyph, we first scan all glyphsets and their arrays of
    pending_free_glyphs for a matching glyph. The additional cost of
    scanning the extra arrays should be negligble as most fonts will only
    have the single array (which we would scan anyway) but we potentially
    save an expensive rasterisation and short-lived image surface.
    
    (As suggested by Behdad Esfahbod.)

 src/cairo-xlib-surface.c |   90 ++++++++++++++++++++++++++++++++++++---------
 1 files changed, 72 insertions(+), 18 deletions(-)

commit c2963fa6c1f6da2117663d69505efb3bf2cc4145
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 8 09:02:12 2008 +0100

    [cairo-boilerplate] Silence compiler warning.
    
    Mark the optstr argument as const to silence a compiler warning in
    cairo-perf.

 boilerplate/cairo-boilerplate-getopt.c |    2 +-
 boilerplate/cairo-boilerplate-getopt.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit ac44817c4a8464ed5c665cc8b20d1463cf8a5de3
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 8 09:00:56 2008 +0100

    [cairo-perf] Only allocate arrays once.
    
    Store the array of times on the cairo_perf_t context to avoid
    reallocating it for every perf-case.

 perf/cairo-perf.c |   30 ++++++++++++++----------------
 perf/cairo-perf.h |    3 +++
 2 files changed, 17 insertions(+), 16 deletions(-)

commit 335ed745898a3e110a4ffd1abd8f55edfb407639
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 7 09:34:49 2008 +0100

    Enlarge the embedded arrays to eliminate frequent allocations.
    
    Enlarge the embedded arrays of edges and points for cairo_polygon_t and
    cairo_spline_t respectively, such that the frequent allocations are
    eliminated whilst running a firefox3 benchmark.

 src/cairo-polygon.c       |   19 +++++--------------
 src/cairo-types-private.h |    4 ++--
 2 files changed, 7 insertions(+), 16 deletions(-)

commit 963ff0b9485dbd4b3d5d1a65f6cdd73b170a6a79
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 7 09:32:29 2008 +0100

    [cairo-pen] Embed a small array of vertices into cairo_pen_t.
    
    Eliminate allocation of the vertex array for the common cases.

 src/cairo-pen.c           |   73 +++++++++++++++++++++++++++-----------------
 src/cairo-types-private.h |    3 +-
 2 files changed, 47 insertions(+), 29 deletions(-)

commit d9b2e8f0045dcde8beafed7fe08728ae15194ffa
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 7 09:20:17 2008 +0100

    [cairo-path-stroke] Avoid allocation for single rectangle.
    
    The most common case for path stroking is a single rectangle, so embed
    sufficient segments into the stroker to avoid an extra allocation.

 src/cairo-path-stroke.c |   41 ++++++++++++++++++++++++-----------------
 1 files changed, 24 insertions(+), 17 deletions(-)

commit ba6b2d092ab45e9d28ab5c016315458d1ad670ff
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 7 09:18:30 2008 +0100

    [cairo-hull] Attempt to allocate vertices on stack.
    
    First try to allocate the vertices using an on-stack array, otherwise, if
    we need more vertices than can be accomodated, fallback to using a heap
    array.

 src/cairo-hull.c |   40 +++++++++++++++++++---------------------
 1 files changed, 19 insertions(+), 21 deletions(-)

commit b2eadb94f8e34d7c997b5ccfbca4d21e173fdd56
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 29 11:56:21 2008 +0100

    [cairo] Cache freed gstates.
    
    Reduce the malloc pressure from frequent cairo_save()/cairo_restore() by
    caching the freed gstates in a list on the context.

 src/cairo-gstate.c  |   66 ++++++++++++++------------------------------------
 src/cairo-private.h |    1 +
 src/cairo.c         |   21 ++++++++++------
 src/cairoint.h      |    4 +-
 4 files changed, 35 insertions(+), 57 deletions(-)

commit c57b1eca18db12b8d56d73093d5cae28ed388298
Merge: b9acf62... cba1543...
Author: Søren Sandmann <sandmann@redhat.com>
Date:   Fri Jun 13 16:18:13 2008 -0400

    Merge branch 'region32'

commit b9acf625d64f11253b5c8d32e890bb94e78809b4
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 12 21:03:19 2008 -0400

    Make check-*.sh scripts more portable (#16299)

 doc/public/check-doc-coverage.sh |   20 +++++++++++---------
 doc/public/check-doc-syntax.sh   |    2 +-
 src/check-cairoint.sh            |    6 +++---
 src/check-def.sh                 |   10 ++++++----
 src/check-doc-syntax.sh          |   24 +++++++++++++-----------
 src/check-headers.sh             |    6 +++---
 src/check-plt.sh                 |   10 ++++++----
 7 files changed, 43 insertions(+), 35 deletions(-)

commit d47142907f01ae610fa06987c20741ae1382a4b7
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Mar 25 17:33:47 2008 +0430

    [xlib-visual] Make the 5x5x5 color cube better approximate the rgb333 space
    
    That is, instead of uniformly spreading the colors at 0/4, 1/4, 2/4, 3/4, 4/4
    intensities, we do 0/7, 1.5/7, 3.5/7, 5.5/7, 7/7 now.  Those better
    approximate the 0/7..7/7 of the rgb333 space that we first convert to.

 src/cairo-xlib-visual.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 4fcef1a490508f0b489a4035dd7951f3ae2e6649
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Mar 25 17:26:51 2008 +0430

    [xlib-visual] Allocate 8-entry gray ramp instead of 16-entry
    
    We convert to rgb333 before doing pseudo-color lookup, so we cannot
    get more than 8 gray levels anyway.

 src/cairo-xlib-visual.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

commit cba1543c9274db5a84aab26a4d6642a1151106c1
Author: Søren Sandmann <sandmann@redhat.com>
Date:   Mon Jun 9 03:30:26 2008 -0400

    Remove large-clip from xfail list

 test/Makefile.am |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit a95e81261f246874bab157dd83131a4f0baebe06
Author: Søren Sandmann <sandmann@redhat.com>
Date:   Mon Jun 9 03:04:06 2008 -0400

    Require pixman 0.11.2 for 32 bit regions

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit c3121543f87e372d18aaa5b8a132d28bcc4bf450
Author: Søren Sandmann <sandmann@redhat.com>
Date:   Mon Jun 9 01:11:38 2008 -0400

    Fix xlib incarnation of the large-clip bug.
    
    Intersect the clip region with the bounds of the surface to prevent
    overflows when converting from 32 to 16 bits.

 src/cairo-xlib-surface.c |   29 ++++++++++++++++++++++++++---
 1 files changed, 26 insertions(+), 3 deletions(-)

commit 75fdccc1db2d78a546528164054a54509dac1490
Author: Søren Sandmann <sandmann@redhat.com>
Date:   Mon Jun 9 00:43:47 2008 -0400

    Use 32 bit pixman regions for cairo_region_t

 src/cairo-image-surface.c  |    2 +-
 src/cairo-region-private.h |    2 +-
 src/cairo-region.c         |   38 +++++++++++++++++++-------------------
 3 files changed, 21 insertions(+), 21 deletions(-)

commit bd0cf0562349e88857943a521bf37fca5709f47e
Author: Søren Sandmann <sandmann@redhat.com>
Date:   Mon Jun 9 00:09:25 2008 -0400

    Add the correct reference image for the large-clip test

 test/large-clip-ref.png |  Bin 362 -> 350 bytes
 1 files changed, 0 insertions(+), 0 deletions(-)

commit 60971fb5142dedc6d5248133bacf6e08b585abc4
Author: Søren Sandmann <sandmann@redhat.com>
Date:   Sun Jun 8 17:48:19 2008 -0400

    New large-clip test
    
    This tests clipping to a rectangle that doesn't fit in 16 bits.

 test/Makefile.am        |    3 ++
 test/large-clip-ref.png |  Bin 0 -> 362 bytes
 test/large-clip.c       |   58 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 61 insertions(+), 0 deletions(-)

commit 4210bab61a1f680b0ca393e1f5fec0549ddcfcec
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Jun 10 02:17:21 2008 -0400

    [cairo-ft-font] Make font face caching work again
    
    Recent change to the cache key had broken all caching as we were always
    comparing unscaled->face.

 src/cairo-ft-font.c |   30 ++++++++++++++++++------------
 1 files changed, 18 insertions(+), 12 deletions(-)

commit c5b1674349154049646b491cac571d93328b5e0c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Jun 10 01:05:09 2008 -0400

    [cairo-ft-font] Fix thinko in _cairo_ft_unscaled_font_keys_equal()

 src/cairo-ft-font.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 9e1b4704ce420cd5fd9377e3cb0f522297e00a1a
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jun 9 15:21:18 2008 -0400

    [cairo-xlib-screen] Protect fontconfig call with CAIRO_HAS_FT_FONT

 src/cairo-xlib-screen.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit c8fc587edea8619ecd30a170063e79f9d4183011
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Mon Jun 9 23:14:47 2008 +0930

    Update user-font test PS/PDF ref images
    
    The PDF output no longer requires a PDF specific reference image. The
    lastest poppler from git is required to get the fix for a bug in Type
    3 font rendering.

 test/user-font-pdf-ref.png |  Bin 6388 -> 0 bytes
 test/user-font-ps-ref.png  |  Bin 0 -> 5043 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)

commit 42c212135d22654f9220a06779c7611fe6f0a714
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 8 17:03:05 2008 +0930

    Implement PS Type 3 font image support
    
    There does not appear to be any way of emulating PDF inline images in
    PostScript so we call back to the PS or PDF surface to emit the image.

 src/cairo-pdf-surface.c                 |   44 +++++++++++++++++++++++++++-
 src/cairo-ps-surface.c                  |   49 ++++++++++++++++++++++++++++++-
 src/cairo-type3-glyph-surface-private.h |    9 ++++-
 src/cairo-type3-glyph-surface.c         |   32 ++++----------------
 4 files changed, 104 insertions(+), 30 deletions(-)

commit 5b05034cc9d943a5acb052763c1a595ac0e347fb
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 8 16:57:58 2008 +0930

    Implement PS Type 3 font subsetting of user fonts

 src/cairo-ps-surface.c |  150 +++++++++---------------------------------------
 1 files changed, 28 insertions(+), 122 deletions(-)

commit 100a34bea66545c4d962604ed9beefd3180e53fc
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 8 17:11:39 2008 +0930

    Implement PDF Type 3 font subsetting of user fonts
    
    show_glyphs inside a Type 3 font currently results in a fallback
    image. Some refactoring is required before font subsets can be created
    while emitting all the font subsets.

 src/Makefile.am                         |    2 +
 src/cairo-pdf-surface.c                 |  133 ++-------
 src/cairo-scaled-font-subsets.c         |    4 +-
 src/cairo-type3-glyph-surface-private.h |   69 +++++
 src/cairo-type3-glyph-surface.c         |  465 +++++++++++++++++++++++++++++++
 src/cairo-types-private.h               |    3 +-
 6 files changed, 568 insertions(+), 108 deletions(-)

commit 1e1c05e58f808c07ac0e7c0a4ba2c6f8ccb18792
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Jun 8 16:50:34 2008 +0930

    Change _cairo_font_face_is_user() from static to cairo_private

 src/cairo-user-font-private.h |   45 +++++++++++++++++++++++++++++++++++++++++
 src/cairo-user-font.c         |    3 +-
 2 files changed, 47 insertions(+), 1 deletions(-)

commit d157e4861aabe9e154eb3f98106f1d86df36b396
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sat Jun 7 08:58:39 2008 +0930

    Fix win32-printing show_glyphs analysis

 src/cairo-win32-printing-surface.c |   32 +++++++++++++++++++-------------
 1 files changed, 19 insertions(+), 13 deletions(-)

commit 06b15d2f2da2ffd841a6a88c9713424d416d7388
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 5 22:58:57 2008 -0400

    [doc] Document user-font callback types

 src/cairo.h |  133 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 133 insertions(+), 0 deletions(-)

commit 4c17a5ee1155cf2f1465d9b14b625a309bd108a2
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 5 22:58:33 2008 -0400

    [configure.in] Change version to 1.7.1
    
    We branched weeks ago.

 configure.in |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

commit a87c94d24774b79e4bc51fc6814558ed4aa1ab77
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 5 19:29:47 2008 -0400

    [user-font] Add XXX mark for text_to_glyphs memory allocation issue

 src/cairo-user-font.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit adcfe8335629e76f2ad12432d90d94fec12871c0
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 5 19:19:27 2008 -0400

    [user-font] Reorder methods to the order they should appear in docs

 src/cairo-user-font.c |   52 ++++++++++++++++++++++++------------------------
 src/cairo.h           |   22 ++++++++++----------
 2 files changed, 37 insertions(+), 37 deletions(-)

commit 6702c7edc4a6e3e1129d8c6e6b4989ba2410add4
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 5 18:42:50 2008 -0400

    [user-font] Let user decide to fall back to unicode_to_glyph in text_to_glyphs
    
    User does this by not setting *num_glyphs.

 src/cairo-user-font.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 3b1b0746959956155dd33cf71989e7bcb63886f5
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 5 18:32:54 2008 -0400

    [user-font] Add XXX mark about metrics-hinting the font extents

 src/cairo-user-font.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 60cf2ef8449e1fd09fe0f2d8c8dc5fa2bb855e5a
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 5 15:44:37 2008 -0400

    [cairo-ft] Respect FC_FT_FACE element of pattern
    
    Based on patch from Stuart Parmenter.  Now one can use
    cairo_ft_font_face_create_for_pattern() to create cairo-ft font
    faces using provided FT_Face but also requesting advanced
    options like emboldening and hinting.

 src/cairo-ft-font.c |  117 +++++++++++++++++++++++++++++++-------------------
 1 files changed, 72 insertions(+), 45 deletions(-)

commit 4c5370dad87cb822a17905dd8dbb058fce11d132
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Wed Jun 4 23:27:05 2008 +0930

    Update PDF/PS ref images of text-rotate and ft-show-glyphs-positioning

 test/ft-show-glyphs-positioning-pdf-ref.png |  Bin 3114 -> 3133 bytes
 test/text-rotate-pdf-ref.png                |  Bin 0 -> 16639 bytes
 test/text-rotate-ps-ref.png                 |  Bin 6796 -> 6851 bytes
 3 files changed, 0 insertions(+), 0 deletions(-)

commit a922a0c5cf2c7862eba4db0b71bda75136a9012a
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Wed Jun 4 22:59:53 2008 +0930

    Bit swap when writing FORMAT_A1 to PNG on little endian

 src/cairo-png.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 1d8596d5b068c383c236f312f7dc753911a5f9b7
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Wed Jun 4 22:59:33 2008 +0930

    Optimize PDF operators show_glyphs() to use Tj operator
    
    The Tj operator displays a string of glyphs positioned at their glyph
    advances.

 src/cairo-pdf-operators.c |   39 +++++++++++++++++++++++++++++++++++++--
 1 files changed, 37 insertions(+), 2 deletions(-)

commit 71fe8c8881d495e8c1bd2ebbb8748761adc6bcd9
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Wed Jun 4 22:57:43 2008 +0930

    PS: Make PDF emulation work with the new show_glyphs optimizations
    
    The implementation of the Tf, Td, and Tm operators has been extended
    to allow calling these operators in any order.

 src/cairo-ps-surface.c |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

commit 83e4825fae85acb49ec032c0ddf51a615ee76a9e
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Wed Jun 4 22:47:50 2008 +0930

    Rewrite _cairo_pdf_operators_show_glyphs()
    
    Rewrite the PDF operators show_glyphs() function to make it more
    maintainable and better optimized.
    
    The changes include:
    
    - Use a separate function to output each text operator and update the
    internal state.
    
    - Store glyphs in a buffer until they can be written out as one
    string. This reduces the complexity of the code for emitting glyph
    strings and significantly optimizes the output size as glyphs from
    multiple calls to show_glyphs() can be accumulated and written in one
    string.
    
    - The code now better handles rotated text. Previously, using rotated
    text resulted in the text matrix emitted for every glyph. Now rotated
    text can be emitted as strings in the some way as non rotated
    text. This is particulary useful for printing in landscape mode where
    all text on the page is rotated.

 src/cairo-pdf-operators-private.h |   28 ++-
 src/cairo-pdf-operators.c         |  527 +++++++++++++++++++++++--------------
 2 files changed, 361 insertions(+), 194 deletions(-)

commit f3d457db0c5cf79264bf48f0bef9209d68bd259f
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Wed Jun 4 22:36:10 2008 +0930

    Store y_advance in cairo_scaled_font_subsets_glyph_t

 src/cairo-scaled-font-subsets-private.h |    1 +
 src/cairo-scaled-font-subsets.c         |   10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

commit 6139fdc1073c0fe1bc5a3809f15c2ee8b5028469
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jun 3 20:56:11 2008 +0930

    PDF: Don't emit a new text object for every call to show_glyphs
    
    A text object is a series of text operations enclosed in a 'BT'/'ET'
    pair.
    
    After a call to _cairo_pdf_operators_show_glyphs() the closing 'ET'
    will not be emitted. This allows subsequent calls to show_glyphs() to
    emit text into the same text object. A call to any other operator or
    _cairo_pdf_operators_flush() will close the text object.

 src/cairo-pdf-operators-private.h |    1 +
 src/cairo-pdf-operators.c         |   27 +++++++++++++++++++++++----
 src/cairo-pdf-surface.c           |   10 ++++++++++
 3 files changed, 34 insertions(+), 4 deletions(-)

commit 6258f1a4e29e0457465e83bd5be1900a10c75473
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jun 3 20:55:30 2008 +0930

    PDF: Remember the current color
    
    Don't emit the set fill or stroke color operator if the required fill
    or stroke color is already selected.

 src/cairo-pdf-surface-private.h |    7 ++++
 src/cairo-pdf-surface.c         |   71 ++++++++++++++++++++++++++++----------
 2 files changed, 59 insertions(+), 19 deletions(-)

commit fd42b74a4f35154d7c9a03b4f248801cd0b7c339
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue Jun 3 20:55:03 2008 +0930

    Add _cairo_pdf_operators_flush()
    
    The optimizations planned for pdf-operators will mean that it will no
    longer emit complete operations on each call to
    fill/stroke/show_glyphs. For example a call to _show_glyphs() may not
    finish the text operation to allow a subsequent call to _show_glyphs()
    to be merged into the same text object.
    
    A flush function is required to force pdf_operators to complete the
    current operation before the pdf surface can emit any pdf operators.

 src/cairo-pdf-operators-private.h |    5 ++-
 src/cairo-pdf-operators.c         |   24 +++++++++-
 src/cairo-pdf-surface.c           |   92 ++++++++++++++++++++++++++++++++----
 src/cairo-ps-surface.c            |   36 ++++++++++++++-
 4 files changed, 142 insertions(+), 15 deletions(-)

commit e1bc97a7e506c16467d97a525b35722ea30027c3
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Thu May 1 23:29:20 2008 +0930

    Disable UniqueID font check in Type 1 subset font
    
    Some Type 1 fonts have some PostScript code at the start of the font
    that checks if the font is already cached in the printer (based on the
    font UniqueID key). This breaks our subsetted font as it is not the
    same as the original font.
    
    Checking for and removing a random blob of PostScript is difficult so
    this patch takes the simpler approach of searching for the PS code
    that checks if the UniqueID dictionary entry exists
    
    ie
    
      /UniqueID known
    
    this code leaves the value "true" or "false" on the PS interpreter
    stack depending on whether the "UniqueID" key exists.
    
    Then the patch inserts the PS code " pop false " after the above code
    to remove the old result and place "false" on the stack to make it
    appear that UniqueID does not exist.
    
    This approach should be able to handle any type of PostScript code
    that attempts to do something with the UniqueID value in the font
    dictionary.

 src/cairo-type1-subset.c |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

commit 34c42202f0575be10a2e409fe66f1da95886353f
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Thu May 1 22:55:07 2008 +0930

    Remove XUID key from subsetted Type 1 fonts
    
    Subsetted fonts must not share the same XUID as the original font.

 src/cairo-type1-subset.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

commit 6ae1061508d6b14b128a8fbf7558d3a64f9551fa
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Thu May 1 23:24:57 2008 +0930

    Remove UniqueID key from subsetted Type 1 fonts
    
    Subsetted fonts must not share the same UniqueID as the original
    font.

 src/cairo-type1-subset.c |   59 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 59 insertions(+), 0 deletions(-)

commit e30cd617c89fa7511d2002a155d4ccdfa2ec9aa9
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue May 13 21:41:56 2008 +0930

    Make font subsetting output fonts in order of the font subset id
    
    This ensures that PS/PDF output is always the same for the same cairo
    input. Previously the order of the embedded fonts depended on the hash
    key of the fonts which depended on the memory location of fonts.

 src/cairo-scaled-font-subsets.c |   58 +++++++++++++++++++++++++++------------
 1 files changed, 40 insertions(+), 18 deletions(-)

commit 0dbb5c9f6222660b1083420419d0eaa71c809ac5
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sat May 31 20:15:04 2008 +0930

    Ensure eexec encryption in subsetted Type 1 font is compliant (#13679)
    
    In the eexec encryption used in Type 1 fonts, the first four bytes of
    ciphertext must not start with a white space character or contain an
    ASCII Hex character. Some fonts do not comply with this
    restriction. This may cause problems for some PDF consumers.
    
    Fix this by overwriting the four random bytes at the start of the
    decrypted cleartext with spaces. When re-encrypted the first four
    bytes of ciphertext will always be 0xf0, 0x83, 0xef, 0x00 which
    complies with the restrictions.

 src/cairo-type1-subset.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

commit 2f4d8fd0717fc7158d49f7a14335bc13dd09d55a
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Jun 2 22:46:21 2008 -0400

    [cairo-gstate] Return immediately if clip bounds is empty

 src/cairo-gstate.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

commit 3f5051fab161da167fdedcdad0280da1f57a1828
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 1 19:14:13 2008 -0400

    Fix now-detected doc formatting issues

 src/cairo-base85-stream.c         |    3 ++-
 src/cairo-beos-surface.cpp        |    2 +-
 src/cairo-deflate-stream.c        |    3 ++-
 src/cairo-ft-font.c               |    1 +
 src/cairo-meta-surface.c          |    2 +-
 src/cairo-os2-surface.c           |    4 ++--
 src/cairo-output-stream-private.h |    4 ++--
 src/cairo-paginated-private.h     |    4 ++--
 src/cairo-path-fixed.c            |    2 ++
 src/cairo-surface.c               |    2 +-
 src/cairo-unicode.c               |    3 ++-
 src/cairo-xcb-surface.c           |    4 ++--
 src/cairo-xlib-surface.c          |    4 ++--
 src/cairo.c                       |   27 +++++++++++++--------------
 src/cairo.h                       |    8 ++++----
 src/cairoint.h                    |   24 ++++++++++++------------
 16 files changed, 51 insertions(+), 46 deletions(-)

commit 0c208f28268028fbb4fe2cc175131b279626975c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 1 19:13:49 2008 -0400

    [src/check-doc-syntax.sh] Detect malformatted functions at line start

 src/check-doc-syntax.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 3f02e0d74b9b04f6e8ad32d12768aafa0076bd97
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 1 18:46:45 2008 -0400

    Fix newly detected doc syntax issues

 src/cairo-array.c                       |    6 +++---
 src/cairo-bentley-ottmann.c             |    2 +-
 src/cairo-cache.c                       |    2 +-
 src/cairo-hash.c                        |    8 ++++----
 src/cairo-meta-surface.c                |    2 +-
 src/cairo-pattern.c                     |    2 +-
 src/cairo-png.c                         |   10 +++++-----
 src/cairo-scaled-font-subsets-private.h |   26 +++++++++++++-------------
 src/cairo-scaled-font.c                 |    8 ++++----
 src/cairo-surface.c                     |    4 ++--
 src/cairo.c                             |   14 +++++++-------
 src/cairo.h                             |    8 ++++----
 12 files changed, 46 insertions(+), 46 deletions(-)

commit b37c7557303e750c672648fe00922262d2a56a5a
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 1 18:46:23 2008 -0400

    [src/check-doc-syntax.sh] Detect malformatted enums starting the line

 src/check-doc-syntax.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 0ea7d5d6dbd7d48f7d88280dedeba2c1bc36d1ea
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Jun 1 15:32:42 2008 -0400

    [cairo-mutex] Remove debugging stuff that I accidentally committed
    
    We should add read mutex debugging facilities when the debugging
    infrastructure is in place.

 src/cairo-mutex-type-private.h |   21 +--------------------
 1 files changed, 1 insertions(+), 20 deletions(-)

commit 54f1a426f75ed44ea2d67b605c78951798f4c1d1
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 30 15:23:32 2008 -0400

    [cairo-xcb] Oops.  Fix build.

 src/cairo-xcb-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit fbe7044f10c2d36f1ee4e1edd3d3289e0cad8779
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 30 15:18:22 2008 -0400

    [user-font] Improve docs.

 src/cairo-user-font.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit 45be1459b2b8f7fab124fe6c773944618bd5e046
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 29 02:35:09 2008 -0400

    [user-font] Document all public functions
    
    Remains to do: callback types.

 src/cairo-user-font.c |  125 ++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 118 insertions(+), 7 deletions(-)

commit 9a05c0e7f46f5c6bd29354f53adf2fd340543414
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 29 02:34:07 2008 -0400

    Fix doc syntax.

 src/cairo-types-private.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit d0bc3ca1a224bf6ff6578ea4bf3a5ebe9e4f52a1
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 20:58:35 2008 -0400

    [doc] Add Index of 1.8 symbols

 doc/public/cairo-docs.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 4e68140aca75536127a7efc983d9123fd7af4109
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 20:57:36 2008 -0400

    [doc] Document remaining CAIRO_HAS_* macros
    
    I'm sure I had done them all before.  No idea what happened.
    Perhaps gtk-doc was not seeing them as missing.

 doc/public/tmpl/cairo-ft.sgml           |    3 ++-
 doc/public/tmpl/cairo-quartz-fonts.sgml |    3 ++-
 doc/public/tmpl/cairo-quartz.sgml       |    3 ++-
 doc/public/tmpl/cairo-xlib.sgml         |    3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

commit 65cc905c2f7707723858917d9d1e93566214b640
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 20:54:38 2008 -0400

    [doc] Add stub for user-fonts

 doc/public/Headers.mk                 |    1 +
 doc/public/cairo-docs.xml             |    1 +
 doc/public/cairo-sections.txt         |   18 ++++
 doc/public/tmpl/cairo-user-fonts.sgml |  146 +++++++++++++++++++++++++++++++++
 4 files changed, 166 insertions(+), 0 deletions(-)

commit a9b2461c41dba6bb097ee316f093d5b9d3fb6d56
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 20:29:11 2008 -0400

    [user-font] Handle metrics-hinting font option

 src/cairo-user-font.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit b0796bf200de86cb37e84c8241f8f72d8d5657d2
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 20:20:46 2008 -0400

    [user-font] Cache extent-space scale in the scaled font

 src/cairo-user-font.c |   70 ++++++++++++++++++++++++++++++++-----------------
 1 files changed, 46 insertions(+), 24 deletions(-)

commit abdf04c671235a120f23a1444a53893afdd949b0
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 19:52:56 2008 -0400

    [user-font] Handle the case of a null render_glyph callback

 src/cairo-user-font.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

commit 50e6957e8089f9f0db36b1e44249f41041cf405d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 19:31:51 2008 -0400

    [user-font] Remove completed TODO item
    
    The user-font-proxy test case already does this.

 src/cairo-user-font.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

commit f2b385558b185a723ae0043ad1381621c17318d8
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 19:30:39 2008 -0400

    [cairo-user-font] Add comment about possibly doing metrics-hinting

 src/cairo-user-font.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 9b1cbcde3272dac176bd9184ceb21c953c30517d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 19:27:58 2008 -0400

    [user-font] Handle antialiasing font option

 src/cairo-user-font.c |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

commit e8e23862333f4be69e2afd9ee41c9a27817f9659
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 19:10:09 2008 -0400

    Remove some bogus XXX marks
    
    These are all perfectly correct code.  Most are simply there because when
    we support vertical text writing mode we need to update there, but that's
    pretty trivial.  No special markers needed.
    
    /me is trying to make user-font clean of XXX and TODO marks

 src/cairo-arc.c         |    1 -
 src/cairo-ft-font.c     |    2 +-
 src/cairo-scaled-font.c |    4 ++--
 src/cairo-user-font.c   |    4 ++--
 4 files changed, 5 insertions(+), 6 deletions(-)

commit 4e1024114872a01fef01ec0b9136e09f4613e5d2
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 17:12:51 2008 -0400

    Fix whitespace

 src/cairo-mutex-type-private.h |    8 ++++----
 src/cairo-svg-surface.c        |    2 +-
 src/cairo-types-private.h      |    4 ++--
 src/cairo-xlib-surface.c       |   24 ++++++++++++------------
 src/cairo.h                    |   16 ++++++++--------
 5 files changed, 27 insertions(+), 27 deletions(-)

commit 78b9e2917857714bc1a712ea9d1a18af77000f78
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 17:04:09 2008 -0400

    [cairo-xlib] Rewrite cairo_xlib_glyph_t as a union of cairo_glyph_t
    
    Someone reported on cairo list that on some system with gcc, he had the
    compile-time assertion failing, meaning that the following struct:
    
    typedef struct {
      unsigned long index;
      union {
        struct {
          double x;
          double y;
        } d;
        struct {
          int x;
          int y;
        } i;
      } p;
    } cairo_xlib_glyph_t;
    
    had a different size from:
    
    typedef struct {
      unsigned long        index;
      double               x;
      double               y;
    } cairo_glyph_t;
    
    That looks quite a weird thing for a compiler to do.  Anyway, rewriting
    our struct like this may help in those weird situations:
    
    typedef union {
      cairo_glyph_t d;
      unsigned long index;
      struct {
        unsigned long index;
        int x;
        int y;
      } i;
    } cairo_xlib_glyph_t;
    
    That's what we do now.

 src/cairo-xlib-surface.c |   34 +++++++++++++++-------------------
 1 files changed, 15 insertions(+), 19 deletions(-)

commit 51885e9a1e6dcebe0ae72834770e9000063187bf
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 16:52:19 2008 -0400

    [test/user-font.c] Fix compiler warnings

 test/user-font.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 9b16b528dcfffc896cecbda87249ff09a7987eb7
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 16:48:13 2008 -0400

    [cairo-unicode] Make unicode conversion funcs take const char *utf8
    
    Instead of the previous const unsigned char *utf8.  This is in line
    with our public API now.

 src/cairo-scaled-font.c |    2 +-
 src/cairo-unicode.c     |   34 ++++++++++++++++++----------------
 src/cairoint.h          |   16 ++++++++--------
 3 files changed, 27 insertions(+), 25 deletions(-)

commit df5ad168aa40ae0dfff8bf1b0830c9f4931d3b97
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 16:47:55 2008 -0400

    [cairo-path-fixed] Fixe compiler warning

 src/cairo-path-fixed.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 6938f158983a62cd8041e19fa544f997cf49eecf
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 16:47:37 2008 -0400

    [cairo-win32-surface] Remove unused variable

 src/cairo-win32-surface.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 12646f81cafa01c04e864a98c4344e16d958e980
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 16:46:55 2008 -0400

    [cairo-compiler-private] Make it build with wine
    
    One can build cairo with wine easily now:
    
    ./configure CC=winegcc LD=winegcc

 src/cairo-compiler-private.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit b70e6e1d98021879edfed2cf8e29d18cdf37b71b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 16:09:56 2008 -0400

    One more remaining_glyphs compile fix

 src/cairo-win32-printing-surface.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 907620608099f6840b64a17b75a1d7938e76d953
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 16:08:37 2008 -0400

    Fix two more compile errors
    
    When adding remaining_glyphs argument to show_glyphs(), I missed
    a few places.

 src/cairo-win32-private.h |    3 ++-
 src/cairo-xcb-surface.c   |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

commit 295dee36e3043fd63a2a93715f144aad92d16917
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 13:10:07 2008 -0400

    [cairo-xlib] Use newly-added COMPILE_TIME_ASSERT

 src/cairo-xlib-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 2e4d6acd09f0af5d51c4da5707b3430cdd54f0a5
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 13:09:52 2008 -0400

    [cairoint.h] Add COMPILE_TIME_ASSERT()

 src/cairoint.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 043ed895adb4f17912ae5c44d4c63ca6350d5b75
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 13:09:43 2008 -0400

    [cairo-xlib] Fix compiler warning

 src/cairo-xlib-surface.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 26aec31f244bbb4243dda629683bed045ec42734
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 12:07:13 2008 -0400

    [src/check-def.sh] Don't report anything if skipping test

 src/check-def.sh |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

commit f07407335503e5612dcf07cc8f44e1781367d263
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 12:01:38 2008 -0400

    [configure.in] Dont let a missing FcFini disable the freetype font backend!

 configure.in            |    7 ++++---
 src/cairo-os2-surface.c |    2 ++
 2 files changed, 6 insertions(+), 3 deletions(-)

commit d7ddde8a324c5bfd9ca00d1fbb47cd3f1730bbfb
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 11:00:01 2008 -0400

    [cairo-user-font] Make backend struct static

 src/cairo-user-font.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 3306aa5e8d162f90c2ae957a9d72c42ac1ce62d9
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 10:59:35 2008 -0400

    [src/check-def.sh] Also check for public variables (#16129)

 src/check-def.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit f3a3a0594d457dcc7d11b794afe8408aee07a1ee
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 10:43:47 2008 -0400

    [cairo-xlib] Add recently-added byteswap macros (#16128)

 src/cairo-xlib-surface.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

commit 0bf941c9b25503047be6d01b134f9fe2597423fd
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 10:43:22 2008 -0400

    Add support for byteswap macros bswap_16 and bswap_32

 configure.in                     |    2 +-
 src/cairo-wideint-type-private.h |   16 ++++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

commit 5c732badbc6148087cf99c906eb5f99c92ea0b92
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed May 28 09:00:13 2008 -0400

    [src/check-def.sh] Improve test comment

 src/check-def.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit e8dd97fde81a31c8875f03edbbcdb83da3830283
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue May 27 23:07:04 2008 -0400

    [cairo-scaled-font] Fix assertion failure
    
    Revert 127c4b8e643560c029818509e20fc5ca87408611
    We assume that all scaled fonts with ref count 0 are in holdover cache.
    That commit was breaking this assumption.

 src/cairo-scaled-font.c |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

commit 8c4f4a758bf4c1138f313d9cafa5564ac827b61d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue May 27 20:27:18 2008 -0400

    [cairo-gstate] Use clip, not surface, extents to drop invisible glyphs

 src/cairo-gstate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit c752bd665ae707edf207653f183b6d132dd0384e
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue May 27 20:27:07 2008 -0400

    [cairo-gstate] Add _cairo_gstate_int_clip_extents()

 src/cairo-gstate.c |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

commit 0f07c45fa30279cb1aba6092bc84a859dd479054
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue May 27 17:53:35 2008 -0400

    [test/user-font] Use user_data to access glyphs array
    
    This way the same callback code can be used to render multiple different
    glyph arrays.  Change done for education purposes, otherwise doesn't
    make any difference in the test.

 test/user-font.c |   67 ++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 43 insertions(+), 24 deletions(-)

commit 626edfc333b77604b6955c12ae111d14c174034c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon May 26 20:28:23 2008 -0400

    [cairo-mutex] Prepare mutex infrastructure for adding mutex debugging facilities
    
    Essentially renaming cairo-mutex-type-private.h to cairo-mutex-impl-private.h
    and changing all its namespace from cairo_mutex to cairo_mutex_impl.
    cairo-mutex-type-private.h then does all the sanity checks on the
    implementation that used to be in cairo-mutex-private.h.  Plus, defines macros
    for the cairo-mutex namespace to map to the cairo-mutex-impl namespace.  This
    extra mapping layer allows for add debugging facilities.

 src/Makefile.am                |    1 +
 src/cairo-mutex-impl-private.h |  226 +++++++++++++++++++++++++++++++++
 src/cairo-mutex-private.h      |  129 ++------------------
 src/cairo-mutex-type-private.h |  269 +++++++++++++++++++---------------------
 src/cairo-mutex.c              |   18 ++--
 5 files changed, 374 insertions(+), 269 deletions(-)

commit 07fef4f4802639a2cb16284841635d1bcc9b8e8f
Author: Ginn Chen <ginn.chen@sun.com>
Date:   Tue May 27 04:44:08 2008 -0400

    [cairo-xlib] Implement _cairo_xlib_surface_solid_fill_rectangles() (#11529)

 src/cairo-xlib-surface.c |   66 ++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 64 insertions(+), 2 deletions(-)

commit f90b155b5a59211bed7502b537dbf207b3d4bf5e
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue May 27 04:41:03 2008 -0400

    [cairo-xlib] Delay using fallback if xrender is not available
    
    So we can use XCopyArea when Render is not available.  Based on patch by
    Ginn Chen.

 src/cairo-xlib-surface.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 30a16df29ba434d298d0c8d9dbb70c1b0a398f35
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon May 26 19:56:09 2008 -0400

    [util/backtrace-symbols] Implement backtrace_symbols_fd()

 util/backtrace-symbols.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

commit ce56e0cd0c0afc887bc0c4d46d51b934923f2d2c
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue May 27 12:44:50 2008 +0930

    Add missing argument to _cairo_pdf_surface_show_glyphs()
    
    cf473f4a75ca0d3c815222287d7c144e72de5add missed the PDF surface when
    it added an argument to the show_glyphs() surface backend function.

 src/cairo-pdf-surface.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 8d86e725ceb58fd93a9e9638f86636f5a4d88833
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun May 25 02:30:14 2008 -0400

    [cairo-gstate] Add code for switching to path;fill for huge show_glyph()s
    
    For really huge font sizes, we can just do path;fill instead of
    show_glyphs, as show_glyphs would put excess pressure on the cache,
    and moreover, not all components below us correctly handle huge font
    sizes.  I wanted to set the limit at 256.  But alas, seems like cairo's
    rasterizer is something like ten times slower than freetype's for huge
    sizes.  So, no win just yet.  For now, do it for insanely-huge sizes,
    just to make sure we don't make anyone unhappy.  When we get a really
    fast rasterizer in cairo, we may want to readjust this.

 src/cairo-gstate.c |   43 +++++++++++++++++++++++++++++++++++++------
 1 files changed, 37 insertions(+), 6 deletions(-)

commit f5fbb8b24e381f3438e24340965ce2aeea56ac33
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun May 25 01:53:44 2008 -0400

    Fix typo.

 src/cairo-scaled-font.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 238a3117f191c927abcce6b0f5c555d8f34af59c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun May 25 01:51:05 2008 -0400

    [cairo-scaled-font] Clean up recent locking changes
    
    Based on feedback from Keith.

 src/cairo-scaled-font-private.h |    2 +-
 src/cairo-scaled-font.c         |  141 +++++++++++++++++++++------------------
 src/cairo-user-font.c           |    4 +-
 src/cairoint.h                  |    4 +-
 4 files changed, 81 insertions(+), 70 deletions(-)

commit 0621f412ff7986bc883a613d332f121da62e38fe
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun May 25 00:55:36 2008 -0400

    [cairo-matrix] Move IS_FINITE(det) checks before det==0 checks
    
    I'm still getting floating point exceptions in test suite in a
    made-to-overflow test though.  Not sure why isfinite() doesn't work.

 src/cairo-matrix.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 9827dae57085f9452889499ff799c378abd5c60e
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun May 25 00:17:43 2008 -0400

    [user-font] Fix fontmap locking
    
    After consulting with Keith Packard we came up with a farily simple
    solution.  Documented in the code.

 src/cairo-scaled-font-private.h |    2 +
 src/cairo-scaled-font.c         |  117 +++++++++++++++++++++++++++++++++++++-
 src/cairo-user-font.c           |   20 +++----
 src/cairoint.h                  |    5 ++
 4 files changed, 129 insertions(+), 15 deletions(-)

commit 96f7178226640226625c0e4db57257035e0b48c6
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 23:28:15 2008 -0400

    [user-font] Lock the font mutex such that user doesn't accidentally use it yet

 src/cairo-user-font.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

commit 8dc1e6d945ca86b4af33ad9a5f627688fa15a5cc
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 22:13:01 2008 -0400

    One more typo fix

 src/cairo-scaled-font.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 8ff0fa112da0d13da2596c4ca6815f5b441c9c7d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 22:11:41 2008 -0400

    Fix typos

 src/cairo-scaled-font.c |    2 +-
 src/cairo-user-font.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit a3d9918428daf96811b050c1e27b6330bbccd35e
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 20:51:43 2008 -0400

    [user-font] Note possible locking issue

 src/cairo-user-font.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

commit 4c1c9d33b1b89d8098c06bbb4d430811947ed86c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 20:48:38 2008 -0400

    [user-font] Release fontmap lock around user callback
    
    This makes the user-font-proxy to work now.

 src/cairo-user-font.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit 127c4b8e643560c029818509e20fc5ca87408611
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 20:48:07 2008 -0400

    [src/cairo-scaled-font] Only take fontmap mutex if touching it

 src/cairo-scaled-font.c |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

commit a715671c6f3bd2f6f692b79cba7d7f7bc49f06f9
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 20:34:41 2008 -0400

    [test/user-font-proxy] New test using fonts inside a user-font
    
    PDF fails and needs some fixes in the PDF surface instead of a new
    ref image IMO.

 test/Makefile.am                 |    4 +
 test/user-font-proxy-ps-ref.png  |  Bin 0 -> 8452 bytes
 test/user-font-proxy-ref.png     |  Bin 0 -> 18121 bytes
 test/user-font-proxy-svg-ref.png |  Bin 0 -> 17902 bytes
 test/user-font-proxy.c           |  190 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 194 insertions(+), 0 deletions(-)

commit c914377f35e1e3396571fc027b7f53854db7d896
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 20:33:15 2008 -0400

    Add public API cairo_scaled_font_get_scale_matrix()

 doc/public/cairo-sections.txt          |    1 +
 doc/public/tmpl/cairo-scaled-font.sgml |    9 +++++++++
 src/cairo-scaled-font.c                |   24 ++++++++++++++++++++++++
 src/cairo.h                            |    4 ++++
 4 files changed, 38 insertions(+), 0 deletions(-)

commit 90d62a0d33cd9e0736bb747d7f025a0fb1025732
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 20:31:24 2008 -0400

    [src] Make make check pass

 src/cairo-surface.c |    1 +
 src/cairoint.h      |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

commit 9cc147a142e98b49b7f8289a340f2e498970ef99
Author: Jeff Muizelaar <jeff@infidigm.net>
Date:   Sat May 24 20:17:38 2008 -0400

    Avoid deadlock when clearing caches
    
    cairo_surface_destroy and _cairo_scaled_font_fini will call destroy closures
    which may call functions that attempt to acquire the mutex resulting in a
    deadlock. We fix this by releasing the lock for the call to
    cairo_surface_destroy or _cairo_scaled_font_fini.

 src/cairo-pattern.c     |   17 ++++++++++++-----
 src/cairo-scaled-font.c |   19 +++++++++++++------
 2 files changed, 25 insertions(+), 11 deletions(-)

commit 4957a7894741f5a1941dcc06cc5a3a0551afcdad
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 15:16:44 2008 -0400

    [test/surface-finish-twice.c] Adapt to recent change that multiple finish is ok

 test/surface-finish-twice.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

commit a30209402c7160af257e1ea027e9e2cdab5b5aec
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 14:57:56 2008 -0400

    [cairo-gstate] Drop glyphs out of surface boundaries in show_glyphs()

 src/cairo-gstate.c |   93 ++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 76 insertions(+), 17 deletions(-)

commit 1b5e2144fb77ffeb0626dff558d9d82351279e0b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 14:57:31 2008 -0400

    [cairo-scaled-font] Implement _cairo_scaled_font_get_max_scale()

 src/cairo-scaled-font-private.h |    1 +
 src/cairo-scaled-font.c         |   10 ++++++++++
 src/cairoint.h                  |    3 +++
 3 files changed, 14 insertions(+), 0 deletions(-)

commit 479936ecea5d0e7cf3eee1aad6b016067f63e20b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 14:57:06 2008 -0400

    [cairoint] Sort prototypes

 src/cairoint.h |   39 ++++++++++++++++++++-------------------
 1 files changed, 20 insertions(+), 19 deletions(-)

commit e638e7652f8be552b50927bd332e9f46dcd92ab7
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 14:25:13 2008 -0400

    [cairo-xlib] Fix bug introduced in yesterday's code shuffling.  Oops.

 src/cairo-xlib-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 31c68e708f18c1f81efc3590346eeb684ef3702d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 24 13:17:31 2008 -0400

    [cairo-surface] Minor code reshuffling

 src/cairo-surface.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

commit c20072c88174a99bf4deb562f5b3bc07cc9e133d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 23 20:57:21 2008 -0400

    [cairo-xlib] Upon seeing glyphs with large position, just let fallback handle
    
    This now fixes the large-font test for xlib again.

 src/cairo-xlib-surface.c |   33 ++++++++++++---------------------
 1 files changed, 12 insertions(+), 21 deletions(-)

commit e55252bd3b3ee8ad07aeda558dd469e98fedd620
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 23 20:46:36 2008 -0400

    [cairo-xlib] Shift range of allowed glyph positions
    
    From -1024..15359, to -4096..122887.  This still does not fix the
    large-font test as that uses a 10000 font.  Working on a proper fix
    for glyph dropping now.

 src/cairo-xlib-surface.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 74818d2b0002d2133a95019265a23a8fd8ba0217
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 23 20:43:08 2008 -0400

    [cairo-xlib] Some code reshuffling, in preparation for a fix

 src/cairo-xlib-surface.c |   32 +++++++++++++++-----------------
 1 files changed, 15 insertions(+), 17 deletions(-)

commit d947ee0ef68cbc371d058b13b98c013b82f794ba
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 23 20:41:26 2008 -0400

    [test/large-font] Make the font REALLY LARGE
    
    10000 that is.  xlib fails now again.  Not because of glyph size issues.
    Because we skip rendering any glyphs with positions not in range -1024..15359.
    Working on a fix.

 test/Makefile.am           |    1 -
 test/large-font-ps-ref.png |  Bin 5630 -> 0 bytes
 test/large-font-ref.png    |  Bin 9819 -> 6936 bytes
 test/large-font.c          |   20 +++++---------------
 4 files changed, 5 insertions(+), 16 deletions(-)

commit db1b18232b6854d14a1ee45a31bc2508ef36bc1a
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 23 19:04:13 2008 -0400

    [cairo-xlib] Fix max-request size calculations
    
    First, XMaxRequestSize returns number of 4-byte words.  So multiply by 4 is
    needed in all uses.  Next, XRenderAddGlyphs uses BIG-REQUEST extension if
    available, so when checking for glyph size overflow, we should use
    XExtendedMaxRequestSize() first.
    
    Also use the right format when calculating glyph size.
    
    These changes combined, push the biggest font size that can be uploaded to the
    server from under 200 to about 5000.
    
    See bug #4339 for history.

 src/cairo-xlib-surface.c |   27 ++++++++++++---------------
 1 files changed, 12 insertions(+), 15 deletions(-)

commit cf473f4a75ca0d3c815222287d7c144e72de5add
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 23 19:57:48 2008 -0400

    [cairo-xlib] Fix show_glyphs when failing to upload a glyph
    
    Originally reported here:
    http://lists.cairographics.org/archives/cairo/2008-May/014032.html
    and analyized later in the thread.
    
    Change (font and surface) backend show_glyphs() API to take a
    int *remaining_glyphs argument.  It's used to communicate to the caller,
    by way of setting remaining_glyphs and returning INT_STATUS_UNSUPPORTED,
    that some of the glyphs were shown but not the others.  The xlib backend
    now correctly uses this to handle failure to upload a glyph to the server.
    So the large-font test passes now.
    
    An alternative approach could be to add some public value for glyphs
    indices that are not shown.  -1 perhaps (the xlib backend already uses
    that value internally).  Then instead of remaining_glyphs, a backend
    could simply set glyph indices of glyphs shown to that -1 value.

 src/cairo-analysis-surface.c       |   10 ++++++----
 src/cairo-directfb-surface.c       |    3 ++-
 src/cairo-meta-surface.c           |    3 ++-
 src/cairo-paginated-surface.c      |    3 ++-
 src/cairo-ps-surface.c             |    3 ++-
 src/cairo-quartz-surface.c         |    3 ++-
 src/cairo-scaled-font.c            |    7 ++++++-
 src/cairo-surface.c                |   17 +++++++++++++++--
 src/cairo-svg-surface.c            |    3 ++-
 src/cairo-win32-font.c             |    3 ++-
 src/cairo-win32-printing-surface.c |    3 ++-
 src/cairo-win32-surface.c          |    3 ++-
 src/cairo-xcb-surface.c            |    3 ++-
 src/cairo-xlib-surface.c           |   28 +++++++++++++++++++++++-----
 src/cairoint.h                     |    6 ++++--
 src/test-meta-surface.c            |    3 ++-
 src/test-paginated-surface.c       |    3 ++-
 17 files changed, 78 insertions(+), 26 deletions(-)

commit e66e198ab04f2e19093aad4ed9f9c24e2756b8a7
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 23 17:11:43 2008 -0400

    [cairo-xlib] Remove unused variable

 src/cairo-xlib-surface.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

commit 1ccfc4afd573e1003319a06624aadff90d351e83
Author: Carl Worth <cworth@cworth.org>
Date:   Fri May 23 08:14:00 2008 -0700

    Revert "BUGGY: Add surface_backend->acquire_source_image_transformed"
    
    This reverts commit ddcd6781a24463df5a1f25cd5ffdbce47f35cf2f.
    
    This was an experimental commit that was intended to be on a side
    branch but accidentally got committed and pushed to master. Sorry
    for the noise.

 src/cairo-meta-surface.c |   40 ++++++----------------------------------
 src/cairo-pattern.c      |    9 +++------
 src/cairo-surface.c      |   20 --------------------
 src/cairoint.h           |   12 ------------
 4 files changed, 9 insertions(+), 72 deletions(-)

commit b957beb0df53a513b60cbcfc4e5e847980789b1f
Author: Carl Worth <cworth@cworth.org>
Date:   Fri May 23 08:05:18 2008 -0700

    Add large-font test to exercise a cairo-xlib bug.
    
    The original bug report is here:
    
    	corrupt glyph positions with large font
    	https://bugzilla.redhat.com/show_bug.cgi?id=448104

 test/.gitignore            |    1 +
 test/Makefile.am           |    3 +
 test/large-font-ps-ref.png |  Bin 0 -> 5630 bytes
 test/large-font-ref.png    |  Bin 0 -> 9819 bytes
 test/large-font.c          |   93 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 97 insertions(+), 0 deletions(-)

commit ddcd6781a24463df5a1f25cd5ffdbce47f35cf2f
Author: Carl Worth <cworth@cworth.org>
Date:   Wed May 21 12:06:37 2008 -0700

    BUGGY: Add surface_backend->acquire_source_image_transformed
    
    This is an initial attempt at addressing the recently noticed
    fallback-resolution bug. It isn't working correctly yet.
    
    I'm just committing so that behdad can see what I'm up to.

 src/cairo-meta-surface.c |   40 ++++++++++++++++++++++++++++++++++------
 src/cairo-pattern.c      |    9 ++++++---
 src/cairo-surface.c      |   20 ++++++++++++++++++++
 src/cairoint.h           |   12 ++++++++++++
 4 files changed, 72 insertions(+), 9 deletions(-)

commit 8efb103600e9c034f8652f495d390d6a4178061e
Author: Carl Worth <cworth@cworth.org>
Date:   Wed May 21 10:23:37 2008 -0700

    Extend fallback-resolution test to expose bug with groups
    
    Groups appear to always be rendered with a fallback resolution of
    72.0 ppi rather than the desired fallback resolution.

 test/fallback-resolution.c |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

commit 26eeb1c7ee2416e4029e1ceee7afe779cca6dfc5
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 16 21:59:45 2008 -0400

    [cairo-surface] Allow flush and finish calls after surface is finished
    
    Flushing and finishing a surface after it has already been finished is a
    very well-defined operation: no-op.  Allow and document that.

 src/cairo-surface.c |   33 +++++++++++----------------------
 1 files changed, 11 insertions(+), 22 deletions(-)

commit 168447cc2b53e446bf8e67e2f457c54256bcbada
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 15 20:09:17 2008 -0400

    [user-font] Use opaque colors such that PS backend gets tested
    
    Also update ref images.  All backends pass now.

 test/user-font-pdf-ref.png |  Bin 6085 -> 6388 bytes
 test/user-font-ref.png     |  Bin 6165 -> 6183 bytes
 test/user-font-svg-ref.png |  Bin 6085 -> 6134 bytes
 test/user-font.c           |    8 ++++----
 4 files changed, 4 insertions(+), 4 deletions(-)

commit 556b16d6a20f11627c75c1365dea5a6332091779
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 15 20:03:05 2008 -0400

    [cairo-traps] Fix overflow in traps_path code
    
    This was causing the user-font test failure in type1 subsetting
    code as the type1 code creates a font at size 1000.

 src/cairo-traps.c |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

commit b355ac7a9fe8ecf550ec5f615969b82f0e45a6d6
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 15 20:02:33 2008 -0400

    [cairo-fixed] Implement _cairo_fixed_mul_div()
    
    Computes a*b/c where a,b,c are cairo_fixed_t.

 src/cairo-fixed-private.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

commit 84606a900f0664a0010034f5eb4bdaf159e77bfe
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 15 19:41:49 2008 -0400

    [cairo-surface] Fix compiler warnings
    by adding new status value to switch.

 src/cairo-surface.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 142ba306047363af8343f29b2cf97c25919042e9
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 15 18:50:55 2008 -0400

    [test/Makefile.am] Add 'make run' target
    
    It runs tests under a tool specified tool.  For example:
    
    	make run TOOL=gdb TESTS=user-font TARGETS=pdf

 test/Makefile.am |   20 ++++++++++++++------
 test/README      |   19 +++++++++++++++++++
 2 files changed, 33 insertions(+), 6 deletions(-)

commit 537ffa762833c990e4e4237f2dbae64c7e311662
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 15 18:47:24 2008 -0400

    [cairo-xlib-surface.c] Fix memmove bug
    
    This was introduced in b7272e9e8e716b04752058855aeb74c42af0b395

 src/cairo-xlib-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 4dd4d96fb11354e37f662eaabb1d874dbf47e368
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 15 17:19:53 2008 -0400

    [cairo-surface] Add cairo_surface_get_fallback_resolution()

 doc/public/cairo-sections.txt      |    1 +
 doc/public/tmpl/cairo-surface.sgml |   10 ++++++++++
 src/cairo-surface.c                |   23 +++++++++++++++++++++++
 src/cairo.c                        |    3 +++
 src/cairo.h                        |    5 +++++
 src/cairoint.h                     |    4 ++++
 6 files changed, 46 insertions(+), 0 deletions(-)

commit 2321b91cbad7f9531ab99a7b1875eba0dcc167db
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 15 16:38:56 2008 -0400

    [cairo-pattern] Make a free() call conditional
    to emphasize that the pointer may be NULL

 src/cairo-pattern.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 62652ecab7c3163d6b0cf9af3312806ae6bda21a
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 15 13:28:03 2008 -0400

    [test/user-font] Another minor tweak to the font

 test/user-font-pdf-ref.png |  Bin 6130 -> 6085 bytes
 test/user-font-ref.png     |  Bin 6202 -> 6165 bytes
 test/user-font-svg-ref.png |  Bin 6130 -> 6085 bytes
 test/user-font.c           |    2 +-
 4 files changed, 1 insertions(+), 1 deletions(-)

commit df9deb1853ab199b576cd4313b80cb3dd536f74f
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 15 13:13:30 2008 -0400

    [user-font] Set correct device-offset for rotated text
    
    Part of patch from Peter Clifton

 src/cairo-user-font.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

commit 16fe67ea19bca66ed68c263bb48a5fbd19993e3f
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue May 13 16:10:28 2008 -0400

    [cairo-path-fixed] Implement full-matrix _cairo_path_fixed_transform()
    
    Based on patch from Peter Clifton.

 src/cairo-clip.c         |    2 +-
 src/cairo-meta-surface.c |    2 +-
 src/cairo-path-fixed.c   |   52 +++++++++++++++++++++++++++++++---------------
 src/cairoint.h           |    4 +-
 4 files changed, 39 insertions(+), 21 deletions(-)

commit f68fb2c747afd45252a333260cdb3bf9986d4a94
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue May 13 11:42:23 2008 -0400

    [test/user-font] Add some more glyphs
    
    The glyph for 'z' now reveals a bug in PDF type1 code.

 test/user-font-pdf-ref.png |  Bin 4549 -> 6130 bytes
 test/user-font-ref.png     |  Bin 4681 -> 6202 bytes
 test/user-font-svg-ref.png |  Bin 4642 -> 6130 bytes
 test/user-font.c           |   39 +++++++++++++++++++++------------------
 4 files changed, 21 insertions(+), 18 deletions(-)

commit 569cc3041195db9408c9c6531dc35b6f77434a25
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 10 14:58:11 2008 +0200

    [user-font] Normalize the space we compute extents in
    
    This way we wouldn't suffer from the limited precision of cairo_fixed_t.
    Bug reported by Peter Clifton on mailing list.

 src/cairo-user-font.c |   32 +++++++++++++++++++++++++++-----
 1 files changed, 27 insertions(+), 5 deletions(-)

commit f1a0e9df0e390759afb7951afacb6d353ac812cf
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 10 13:49:23 2008 +0200

    [user-font] Round glyph origin position

 src/cairo-user-font.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 17f21ea3071ef5d7833c615271b18ae35673c349
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 16:01:37 2008 +0200

    [cairo-user-font] Implement user fonts

 doc/public/tmpl/cairo-font-face.sgml |    1 +
 doc/public/tmpl/cairo-status.sgml    |    3 +
 src/Makefile.am                      |    1 +
 src/cairo-misc.c                     |    4 +
 src/cairo-user-font.c                |  486 ++++++++++++++++++++++++++++++++++
 src/cairo.h                          |   68 +++++-
 src/cairoint.h                       |    2 +-
 test/.gitignore                      |    1 +
 test/Makefile.am                     |    4 +
 test/user-font-pdf-ref.png           |  Bin 0 -> 4549 bytes
 test/user-font-ref.png               |  Bin 0 -> 4681 bytes
 test/user-font-svg-ref.png           |  Bin 0 -> 4642 bytes
 test/user-font.c                     |  236 ++++++++++++++++
 13 files changed, 803 insertions(+), 3 deletions(-)

commit 9f2971440b59c311d88beeeb31e1d456489b107d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 10 01:19:41 2008 +0200

    [doc] Remove cairo-quartz-image-surface from docs
    
    Docs only include stable API.

 doc/public/cairo-docs.xml     |    1 +
 doc/public/cairo-sections.txt |    9 +++------
 2 files changed, 4 insertions(+), 6 deletions(-)

commit 74eea0f297a62be5aba84b7482832485d11995e1
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 10 00:58:07 2008 +0200

    [cairo-quartz-image-surface] Remove one abuse of out-of-memory status
    
    Vlad, you need to stop throwing random OOM errors...

 src/cairo-quartz-image-surface.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit dca892c83ea7d115fba0ce66a69464c36cadf74c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sat May 10 00:57:44 2008 +0200

    Fix gtk-doc warnings

 src/cairo-path-fixed.c           |    2 +-
 src/cairo-quartz-font.c          |   12 ++++++------
 src/cairo-quartz-image-surface.c |   12 ++++++------
 3 files changed, 13 insertions(+), 13 deletions(-)

commit 1246ff8aec9054d1d550dd1401b67fac4035cce0
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 17:14:02 2008 +0200

    [cairo-test] Implement cairo_test_log_path() to dump a cairo_path_t to logs
    
    Dumping paths is so hard in C.  Shouldn't be.  At least not when debugging...

 test/cairo-test.c |   31 +++++++++++++++++++++++++++++++
 test/cairo-test.h |    3 +++
 2 files changed, 34 insertions(+), 0 deletions(-)

commit dc33760fcb67c41358bb073d63810b5a86099f43
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 15:59:00 2008 +0200

    [cairo-scaled-font] In _cairo_scaled_glyph_lookup, better handle UNSUPPORTED
    
    If we ask for a glyph info piece and the backend doesn't provide it,
    we should return UNSUPPORTED, even if the backend returned SUCCESS
    (perhaps because the backend doesn't know about that particular piece
    of glyph info).

 src/cairo-scaled-font.c |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

commit a63dc133779de9c623a85c5aefb5e3da01a8b7d6
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 15:56:35 2008 +0200

    [cairo-scaled-font] Add a meta-surface member to scaled glyphs
    
    No one currently uses it.

 src/cairo-scaled-font.c |   17 +++++++++++++++++
 src/cairoint.h          |   13 ++++++++++---
 2 files changed, 27 insertions(+), 3 deletions(-)

commit 11a0884168afe341d53e5c86a49aa48a0142e6ef
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 15:29:10 2008 +0200

    Add CAIRO_INTERNAL_SURFACE_TYPE_NULL and cairo_nul_surface_create()
    
    It creates a surface that does nothing.  This can be used with
    cairo-analysis-surface, to compute bounds of cairo drawings without doing any
    actual drawings.

 src/cairo-analysis-surface-private.h |    4 ++
 src/cairo-analysis-surface.c         |   55 ++++++++++++++++++++++++++++++++++
 src/cairo-types-private.h            |    3 +-
 3 files changed, 61 insertions(+), 1 deletions(-)

commit 08334be905edf5f557250e5946bd61391823da27
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 15:32:57 2008 +0200

    [cairo-meta-surface] Add _cairo_meta_surface_get_path()
    
    Which generates the path for each cairo operation.  If there's any paint,
    mask, or intersect-clip-path operations in the meta-surface, UNSUPPORTED
    is returned.
    
    Strokes are currently tesselated to traps, then traps converted to path.
    Should be made to use stroke_to_path() when we implement that.

 src/cairo-meta-surface-private.h |    4 ++
 src/cairo-meta-surface.c         |   71 ++++++++++++++++++++++++++++++++++++++
 src/cairo.c                      |    7 +++-
 3 files changed, 80 insertions(+), 2 deletions(-)

commit 674cba89fe6165d3dc9986c3d5f083867498e6c1
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 15:31:45 2008 +0200

    [cairo-traps] Add _cairo_traps_path()
    
    It appends path for each trap to the path.

 src/cairo-traps.c |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 src/cairoint.h    |    4 ++++
 2 files changed, 50 insertions(+), 0 deletions(-)

commit af1e168bbbbaddbf564c661111a74064fbbb5334
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 15:25:40 2008 +0200

    [cairo-meta/analysis-surface] Make width/height of -1,-1 mean unbounded surface

 src/cairo-analysis-surface.c |   15 +++++++++++----
 src/cairo-meta-surface.c     |    3 +++
 2 files changed, 14 insertions(+), 4 deletions(-)

commit a6eb9be1066559233d51dbd17bcef18dd61e29fc
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 14:46:22 2008 +0200

    [_cairo_surface_get_extents()] return UNSUPPORTED if surface has no bounds
    and set the extents to the infinite bounds.
    
    A surface has no bounds if it does not provide get_extents(), or if its
    get_extents() returns UNSUPPORTED.

 src/cairo-analysis-surface.c |   12 ++++++------
 src/cairo-surface.c          |   21 +++++++++++++++++----
 src/cairoint.h               |   10 +++++++---
 3 files changed, 30 insertions(+), 13 deletions(-)

commit d37788f9953b296675860cd48a0b3c14be49c1da
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 14:34:22 2008 +0200

    [cairo-analysis-surface] Initialize page bounding box
    
    If there was no operations played to the analysis surface, page_bbox
    was being left uninitialized.

 src/cairo-analysis-surface.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit ee3672efdbb4d3ebd3e0bd9e2d63273ad1273e64
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 14:05:04 2008 +0200

    [cairo-pattern] Extend infinite pattern extents to negative coordinates too
    
    With things like meta-surface, the assumption that coordinates are always
    non-negative make no sense.  Extend the "infinite" extents accordingly.
    
    Also remove stale comment.  extents->width/height are unsigned these days and
    cover the full range.

 src/cairo-pattern.c |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

commit f81b857e1ffa48559c794e2fb427413e3a88a271
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:25:16 2008 +0200

    [cairo-paginated-surface] Clean up reference counting mess
    
    Previously the paginated constructor didn't reference the target surface, but
    simply assume ownership of the reference, and then unref it when shutting
    down.  The callers to paginated constructor then, where just give away their
    reference to paginated and not unref the reference they were holding.  While
    this works correctly, it's against the usual idioms that everyone is
    responsible for the reference they are holding, and should get their own
    reference if they need to keep an object alive.  Fix it all.

 src/cairo-paginated-surface.c      |    2 +-
 src/cairo-pdf-surface.c            |    6 +++++-
 src/cairo-ps-surface.c             |    5 ++++-
 src/cairo-svg-surface.c            |    5 ++++-
 src/cairo-win32-printing-surface.c |   16 +++++++++++-----
 src/test-paginated-surface.c       |    5 ++++-
 6 files changed, 29 insertions(+), 10 deletions(-)

commit 440b339da793ba2f71f504328417aefc7d44ee7f
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:23:02 2008 +0200

    [cairo-analysis-surface] Hold reference to target surface

 src/cairo-analysis-surface.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 25700f5cd052e5353c868ba0311ff53850e3f549
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 11:32:35 2008 +0200

    [cairo-ft-font.c] Throw error on font type mismatch and remove unused function

 src/cairo-ft-font.c    |   16 ++++++++++------
 src/cairo-ft-private.h |    3 ---
 2 files changed, 10 insertions(+), 9 deletions(-)

commit 2a1661fba9db1e263079e0ff101c628a443702e8
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 11:31:54 2008 +0200

    [cairo-win32-font.c] Return error on font type mismatch

 src/cairo-win32-font.c |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

commit 2a9bb6f78c8a0fa47908da7863979560230a62a2
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:07:45 2008 +0200

    Add CAIRO_STATUS_FONT_TYPE_MISMATCH

 src/cairo-misc.c |    2 ++
 src/cairo.h      |    4 +++-
 src/cairoint.h   |    2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

commit 4d77dfc78d2ea1925d0035080f57b68b0269a5f0
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 11:27:55 2008 +0200

    [cairo-analysis-surface] Add _cairo_analysis_surface_[gs]et_ctm()
    
    The functionality was there.  Just add getter/setter for the ctm.

 src/cairo-analysis-surface-private.h |    8 ++++++++
 src/cairo-analysis-surface.c         |   20 ++++++++++++++++++++
 2 files changed, 28 insertions(+), 0 deletions(-)

commit ad7cfb4af98e8bf7792dad0ef4fd772cd6f1d270
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:20:02 2008 +0200

    [cairo-analysis-surface] Use _cairo_matrix_transform_bounding_box_fixed()
    and other conversion functions.

 src/cairo-analysis-surface.c |   29 +++++++----------------------
 1 files changed, 7 insertions(+), 22 deletions(-)

commit bdfda97f191fa6ffa64abad5b6f035244d91f44c
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:17:30 2008 +0200

    [cairo-matrix] Add _cairo_matrix_transform_bounding_box_fixed()

 src/cairo-matrix.c |   12 ++++++++++++
 src/cairoint.h     |    5 +++++
 2 files changed, 17 insertions(+), 0 deletions(-)

commit 6c9902fd746d70d9cc22c938f4ca68640e48bb73
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:16:13 2008 +0200

    Add more consts to function signatures and remove stale prototype

 src/cairo-bentley-ottmann.c |    6 +++---
 src/cairo-traps.c           |   10 ++++++----
 src/cairoint.h              |   21 +++++++++------------
 3 files changed, 18 insertions(+), 19 deletions(-)

commit 0e965c970bd310bd8f06cd59ed0cf631ae88659a
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:13:52 2008 +0200

    [cairo-path-fixed] Add _cairo_path_fixed_append()

 src/cairo-path-fixed.c |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 src/cairoint.h         |    5 +++++
 2 files changed, 51 insertions(+), 0 deletions(-)

commit e9b6bb06d60584a867256e52732aad25c9e137c5
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:13:15 2008 +0200

    [cairo-path-fixed] Add a couple consts to function signatures

 src/cairo-path-fixed.c |    4 ++--
 src/cairoint.h         |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 2a3eec1731d0cfdbc1abc204c08ff14296f297ef
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:10:44 2008 +0200

    [cairo-rectangle] Add new convenience functions for working with cairo_box_t
    
    _cairo_box_from_doubles, _cairo_box_to_doubles, _cairo_box_from_rectangle.

 src/cairo-rectangle.c |   35 ++++++++++++++++++++++++++++++++++-
 src/cairoint.h        |   17 ++++++++++++++++-
 2 files changed, 50 insertions(+), 2 deletions(-)

commit 6836b2b8bac0a0f5594e0c56629b075387fe1d22
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:14:23 2008 +0200

    [cairoint.h] Fix file name in comments

 src/cairoint.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

commit ca8b917102ddfad67300f907732dbd69a2c86957
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:28:31 2008 +0200

    [cairo-surface] Call backend->flush even if backend->finish is null
    
    Trivial bug.

 src/cairo-surface.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

commit 07cd614039cf7d3c776413ff26e94aa7dc27ea23
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 15:27:40 2008 +0200

    [cairo-scaled-font] Tolerate null scaled_font->backend->fini

 src/cairo-scaled-font.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 1f05cae0a9aaff23a4d80b309d30ed5047198113
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:03:51 2008 +0200

    [cairo-font-face] Tolerate null font_face->backend->destroy()

 src/cairo-font-face.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 96599225e2fd1f7d11071a19f1ceb2c33f2a453b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 11:36:33 2008 +0200

    Define CAIRO_RECT_INT_MIN/MAX such that ints do not overflow when converted to fixed
    
    There's not much point in having integers that will overflow.

 src/cairo-types-private.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

commit eb63e5609ebb2b666f0cce552dec4c335f210baf
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 13:00:28 2008 +0200

    [_cairo_surface_set_device_scale] zero xy and yx matrix entries
    
    Just in case...

 src/cairo-surface.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 80c59062675ad86d7201352140043f9e27d4b7d4
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 12:59:07 2008 +0200

    [cairo-surface] Tone down a Caution comment
    
    We have tested the case of device transforms that have both translate and
    scale.  So it basically works.  We just are not sure that we handle it in
    all places (In fact we know we don't.)

 src/cairo-surface.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

commit 901c56cba28f9eef3a7a27a25dfbb993b492518b
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 11:35:08 2008 +0200

    [image surface] Rename cairo_image_surface_backend to _cairo_image_surface_backend

 src/cairo-image-surface.c |    6 +++---
 src/cairo-surface.c       |    2 +-
 src/cairoint.h            |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

commit 5744b0b9a563e5cf329cc0ba31f96ff238d86210
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 11:41:05 2008 +0200

    [cairo-deprecated.h] Remove mention of cairoint.h from public header

 src/cairo-deprecated.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

commit 5f633580189fa48f5b650d3c63c585521bb833a9
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 09:53:40 2008 -0400

    [src/check-doc-syntax.sh] Fix some bugs in the check and fix errors found

 src/cairo-lzw.c                |    2 +-
 src/cairo-mutex-type-private.h |   32 ++++++++++++++++++++++----------
 src/cairo-output-stream.c      |    6 ++++--
 src/cairo-paginated-private.h  |   12 ++++++------
 src/cairo-surface.c            |    4 ++--
 src/cairo.h                    |   12 ++++++------
 src/check-doc-syntax.sh        |   40 ++++++++++++++--------------------------
 7 files changed, 55 insertions(+), 53 deletions(-)

commit 7dce5360424a98e4100bd78e768c220959633145
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 15:28:02 2008 +0200

    Add XXX marker

 src/cairo-scaled-font.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit a3c091e29264eec2d3f881dd7c66796d1779d845
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 8 18:18:17 2008 -0400

    [src/check-doc-syntax.sh] Use cairo_all_source_files if available

 src/check-doc-syntax.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit e39127627a71fc6655854804de36a802f73c0d42
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu May 8 18:13:32 2008 -0400

    [Makefile.am] Rename cairo_all_source_file to cairo_all_source_files

 src/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit d6654ce2a69c3ad30e437d50825166214a5411c2
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri May 9 11:23:42 2008 +0200

    [Makefile.am] Sort source files

 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit b7272e9e8e716b04752058855aeb74c42af0b395
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 1 19:46:58 2008 +0100

    [cairo-xlib] Batch XRenderFreeGlyphs
    
    For every glyph evicted from the cache we would allocate a very small
    structure to push onto the xlib work queue. This quickly becomes
    noticably for an app that consumes a lot of scaled fonts and glyphs,
    e.g. trying to draw text at various angles. So we maintain a small array
    of glyphs pending finalisation and issue the XRenderFreeGlyphs() once the
    array is full.

 src/cairo-xlib-surface.c |   95 +++++++++++++++++++++++++++++++++-------------
 1 files changed, 68 insertions(+), 27 deletions(-)

commit 3428acf25db6c67ca48d619e98406a6bd4868880
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 6 14:52:02 2008 +0100

    [cairo-scaled-font] Mark the scaled font as finished during destruction.
    
    During the destruction of every font used with an xlib surface, we send
    an XRenderFreeGlyphs() for every single glyph in the cache. These
    requests are redundant as the server-side glyphs will be released along
    with the XRenderFreeGlyphSet(), so we skip the individual glyph
    destruction if the font is marked as finished.

 src/cairo-scaled-font-private.h |    2 ++
 src/cairo-scaled-font.c         |    5 +++++
 src/cairo-xlib-surface.c        |    4 ++++
 3 files changed, 11 insertions(+), 0 deletions(-)

commit 24284c5101363f8d418083e821c1bad88830dbcb
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 1 18:05:08 2008 +0100

    [cairo-xlib] Enlarge the on-stack arrays.
    
    Grow the on-stack arrays for the XRectangles and XTrapezoids to the
    standard size in order to reduce the frequency of allocations.

 src/cairo-xlib-surface.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

commit fda95868020effcbc56ff687a763af650a758ba2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 1 15:44:22 2008 +0100

    [cairo-xlib] Cache standard xrender formats.
    
    XRender performs a round-trip in order to query the available formats on
    the xserver, before searching for a matching format. In order to save
    that round-trip and to avoid the short-lived allocation of the array of
    available formats, we cache the result on the display.

 src/cairo-xlib-display.c |   35 ++++++++++
 src/cairo-xlib-private.h |    7 ++
 src/cairo-xlib-surface.c |  159 +++++++++++++++++++++++-----------------------
 3 files changed, 122 insertions(+), 79 deletions(-)

commit 8457374c9cf350841a7c16f1ef1657aeb354e5c9
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Apr 30 22:03:21 2008 +0100

    [cairo-pattern] Repaint existing cached similar solid surfaces.
    
    The current solid surface cache returns an existing similar surface only
    if it is an exact match for the desired colour.  This gives a high hit
    rate for the original goal of drawing text, but fails when using a lot
    of colours - for example drawing a pie-chart, the mosaic perf case, or
    browsing the web.  So instead of creating a new surface from scratch we
    can repaint an existing one, providing that we have sufficient surfaces
    already cached, i.e. if we are going to evict a surface, we may as well
    just repaint it.

 src/cairo-pattern.c |   62 +++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 50 insertions(+), 12 deletions(-)

commit 4b3f9c7c7d6ba01cf02815994af7da663e85bb9b
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 6 14:18:18 2008 +0100

    [cairo-arc] Protect against division-by-zero.
    
    Avoid a division-by-zero which can only happen if the start angle is
    exactly equal to the end angle.
    
    Fixes test/degenerate-arc.

 src/cairo-arc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit ff596c64fb08b9845e2176146ee129b60fe5775a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 6 10:58:57 2008 +0100

    [test] Add degenerate-arc
    
    This test case is to exercise the divide-by-zero error reported by
    Luiz Americo Pereira Camara <luizmed@oi.com.br>,
    http://lists.cairographics.org/archives/cairo/2008-May/014054.html.

 test/.gitignore                |    1 +
 test/Makefile.am               |    3 +
 test/degenerate-arc-ps-ref.png |  Bin 0 -> 585 bytes
 test/degenerate-arc-ref.png    |  Bin 0 -> 616 bytes
 test/degenerate-arc.c          |   82 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 86 insertions(+), 0 deletions(-)

commit fed9d9060eb950a6692334a7ba3879009b597532
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 6 11:31:14 2008 +0100

    [test/invalid-matrix] Disable floating point exception.
    
    test/invalid-matrix purposely feeds invalid numbers into cairo, in
    order to check its detection of garbage values. In doing so, cairo
    raises an Invalid exception, but as this is a direct result of an abuse
    of the API we can treat it as expected behaviour and ignore the
    exception.

 configure.in          |    2 +-
 test/invalid-matrix.c |    9 +++++++++
 2 files changed, 10 insertions(+), 1 deletions(-)

commit 1755a2d27def853163f9c496c07ae79070c5002e
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 6 10:29:20 2008 +0100

    [test] Enable floating point exceptions.
    
    Some platforms and applications enable floating point exceptions, so it
    seems sensible to run the test-suite with the most serious exceptions
    enabled - divide by zero, invalid result and overflow.

 configure.in      |    9 ++++++---
 test/cairo-test.c |    7 +++++++
 2 files changed, 13 insertions(+), 3 deletions(-)

commit bf49015202523c6e9f4130c3160e8b5c50f16db8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 6 10:19:59 2008 +0100

    [configure.in] Add lcov-1.6 to list of valid versions.
    
    Accept version 1.6 of lcov.

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 504132db6d9f08c36c9ae82f472caf422a032dfd
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun May 4 23:05:01 2008 +0930

    win32-font: Check status in load_truetype_table

 src/cairo-win32-font.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 2a7c5cd1ee3d3b75e4a65362d33d89c95f8eb03b
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun May 4 23:01:48 2008 +0930

    Eliminate warning in win32 load_truetype_table with bitmap fonts
    
    Use cairo_win32_scaled_font_select_font() instead of
    _cairo_win32_scaled_font_select_unscaled_font() to select the font.
    Because _cairo_win32_scaled_font_select_unscaled_font() displays a
    warning when used with a bitmap font.

 src/cairo-win32-font.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 7063e7b0bf1d33c4166dc3b73ec33f6d9a708ce3
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun May 4 22:56:50 2008 +0930

    Fix bug in win32 font metrics with bitmap fonts
    
    The glyph width caculation was not compensating for the
    WIN32_FONT_LOGICAL_SCALE resulting in a glyph width and glyph advance
    32 times larger than it should be.

 src/cairo-win32-font.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit d35d6eec24c1b7ab0a49149a51bf65ea8e223203
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun May 4 22:54:02 2008 +0930

    Fix win32 bitmap font metrics when device scale != 1
    
    158d24412bba9 fixed win32 printing of bitmap fonts by forcing the use
    of fallback images. This exposed a bug in the win32 bitmap font
    metrics when a device scale is used that resulted in clipped glyphs.

 src/cairo-win32-font.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 158d24412bba99a4f57907d7fd22a86aae6e87af
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun May 4 22:46:41 2008 +0930

    Make win32-printing surface work with bitmap fonts
    
    The win32 printing surface has the same problem with bitmap fonts as
    it does with Type 1 fonts. ie ExtTextOutW() with glyph indices works
    for a display DC but not a printer DC.
    
    Fix this by forcing fallback for bitmap fonts.

 src/cairo-win32-font.c             |   10 ++++++++++
 src/cairo-win32-printing-surface.c |   14 ++++++++++++++
 src/cairo-win32-private.h          |    3 +++
 3 files changed, 27 insertions(+), 0 deletions(-)

commit 547e2f552cff264b943803d3a1ff03d05bde35c0
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun May 4 22:43:08 2008 +0930

    Fix win32-printing show_glyphs analysis for Type 1 fonts
    
    The analysis code needs to include the Type 1 font check that was
    previously adding the the rendering code.

 src/cairo-win32-printing-surface.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 141bca74ba154d79fab49db74a51cd41f04e3a34
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun May 4 22:40:49 2008 +0930

    Make cairo_win32_surface_get_dc work with win32 printing surface
    
    The win32 printing surface is a paginated surface so we need to get
    the paginated surface target to get to the win32_printing surface.

 src/cairo-win32-surface.c |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

commit 8742429c7958bb7f87595b1c018b4da7856b2f92
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 29 15:19:40 2008 +0100

    [test] Add test case for a leaky dashed rectangle.
    
    Franz Schmid reported on the mailing list,
    http://lists.cairographics.org/archives/cairo/2008-April/013912.html,
    an issue with drawing a dashed rubber band in Scribus. The problem
    appears when segments of the dashed rectangle are outside the image,
    with the errant dash connecting the ends of the visible segments.

 test/.gitignore                     |    1 +
 test/Makefile.am                    |    2 +
 test/leaky-dashed-rectangle-ref.png |  Bin 0 -> 444 bytes
 test/leaky-dashed-rectangle.c       |   92 +++++++++++++++++++++++++++++++++++
 4 files changed, 95 insertions(+), 0 deletions(-)

commit afa4ff8df598b60ab75a95ceac9bc0dafedd3b22
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 29 10:02:51 2008 +0100

    [check] Filter programlistings for check-doc-syntax.sh
    
    We do not want to enforce the gtk-doc markup in the preformated
    examples, so run the files through sed to filter out <programlisting>
    before checking with the error detecting regexp.

 src/check-doc-syntax.sh |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

commit e94126fb678cecfc61e1b1afb62b8e75e2aec286
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 29 09:20:30 2008 +0100

    [cairo-ft] Add a demonstration of how to handle the lifetime of the FT_Face.
    
    Extend the documentation for cairo_ft_font_face_create_for_ft_face() to
    demonstrate using cairo_font_face_set_user_data() to destroy the FT_Face
    after the final reference to the cairo_font_face_t has been dropped.

 src/cairo-ft-font.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

commit 78cb05a1b7b4160b8914c75479bd60d0b34b0663
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 29 09:10:50 2008 +0100

    [cairo-ft-font] Fixup doc reference to cairo_ft_font_face_create_for_ft_face()
    
    The documentation referred to cairo_ft_font_face_create_for_face().

 src/cairo-ft-font.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit f43e5e9ed975f40e4fab06cef89e40a18a5e170e
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 29 09:09:22 2008 +0100

    [cairo-ft] Correct the function references in the docs.
    
    The docs reference cairo_ft_font_lock_face() instead of the correct
    cairo_ft_scaled_font_lock_face() (and friends).

 src/cairo-ft-font.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

commit 5d20479b99c187ee90ebce36b97a9064acff8f0d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 29 09:03:00 2008 +0100

    [test/ft-font-create-for-ft-face] Fix the lifetime issues of FT_Face.
    
    The font_face created from cairo_ft_font_face_create_for_ft_face()
    was being kept alive by a reference from the context beyond the
    lifetime of the parent cairo_scaled_font_t (which owned the FT_Face).
    Correct the example in the test code to remove this errant reference
    before cleaning up the fonts. (To be fair, to actually trigger a bug
    one has to evict the FT_Face from the cache before using the font_face
    - merely creating a cairo_scaled_font_t for every font on the system is
    enough.)

 test/ft-font-create-for-ft-face.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

commit 00965edf49a989c56d1236807f5b2901bb157005
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 29 08:59:37 2008 +0100

    [cairo-ft] Remove unused private aliases.
    
    cairo_ft_scaled_font_lock_face() and friends are unused internally
    (instead _cairo_ft_unscaled_font_lock_face() is used directly), so
    remove the unnecessary aliases.

 src/cairo-ft-font.c    |    4 ++--
 src/cairo-ft-private.h |    3 ---
 2 files changed, 2 insertions(+), 5 deletions(-)

commit 122a31a0757d0483f72af0cf3816a52bded5afb6
Author: Vladimir Vukicevic <vladimir@pobox.com>
Date:   Sun Apr 27 15:20:43 2008 -0700

    [quartz] Fix CGFont leaks when creating quartz fonts
    
    The toy font constructor and the _with_atsu_font_id constructor were
    not properly managing the refcount of the CGFontRef.

 src/cairo-quartz-font.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

commit 76e655e5084270b7e5a9ed153e50e2f544c9b46f
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Apr 27 22:59:22 2008 +0930

    Fix group-paint PDF test failure

 src/cairo-pdf-surface.c |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

commit 5e102b06d1a3c62a1dd0f381fbd1123961bebdf8
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Apr 27 21:51:05 2008 +0930

    PDF: Fix unbalanced save/restore

 src/cairo-pdf-surface.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 3a2a86721096a5efdec25a3ec041d9fc7eec6cf8
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Apr 27 17:49:04 2008 +0930

    PS: Fix gradients with one stop

 src/cairo-ps-surface.c |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

commit f99d86e7082a59f2c6e53f021f8fd62973a0d1ef
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Apr 27 17:32:41 2008 +0930

    PDF: Fix gradients with one stop

 src/cairo-pdf-surface.c |   38 ++++++++++++++++++++++++++++++++------
 1 files changed, 32 insertions(+), 6 deletions(-)

commit 6135ee716b4f2567f578fd023ba2d85c86cb7fda
Author: Sebastien Pouliot <sebastien@ximian.com>
Date:   Fri Apr 25 18:43:01 2008 +0100

    [configure.in] Build fails on Solaris due to non-POSIX ctime_r()
    
    Check for a Solaris build host and adjust the CFLAGS to force POSIX
    semantics.
    
    (Fixes https://bugs.freedesktop.org/show_bug.cgi?id=15463.)

 configure.in |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

commit b4b77cedc9db73f1ba8af16704302a4b2cc3f184
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 21 22:50:59 2008 +0100

    [test/Makefile.am] EXTRA_DIST += create-from-png*-ref.png
    
    Add the new reference images for create-from-png to the distributable.

 test/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

commit 63bba7e60c0c83f5456aa52611212264478148b4
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 21 20:15:28 2008 +0100

    [cairo-png] Call png_set_filler() before png_read_update_info().
    
    Otherwise libpng gets very confused and we start scribbling over invalid
    memory whilst reading in the PNG.

 src/cairo-png.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 20b1b33c0fc76d2ec2b4f83d9ce058429c4f49db
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 21 19:54:48 2008 +0100

    [cairo-png] Recheck png_info after setting transformation options.
    
    After specifying how to transform the various colour modes into ones we
    can handle, re-read the image header to confirm that the output on
    reading the PNG will be RGB24 or ARGB32. This simplifies our logic
    considerably as we no longer have to second guess the colour space
    transformation that will be performed by libpng. (And allows for some
    paranoid checks.)

 src/cairo-png.c |   38 ++++++++++++++++++++------------------
 1 files changed, 20 insertions(+), 18 deletions(-)

commit a313547f6d0ed060de7fc27dc2886ef09b8598d4
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 21 19:44:11 2008 +0100

    [test/create-from-png] Check loading of various colour types.
    
    Check that when loading from index/gray/rgb PNGs, with and without
    alpha/transparency, that the correct surface is generated by read_png(),
    i.e. if the PNG contains an alpha channel then the image must be an
    ARGB32 surface.

 test/create-from-png-alpha-ref.png         |  Bin 0 -> 150 bytes
 test/create-from-png-gray-alpha-ref.png    |  Bin 0 -> 142 bytes
 test/create-from-png-gray-ref.png          |  Bin 0 -> 124 bytes
 test/create-from-png-indexed-alpha-ref.png |  Bin 0 -> 172 bytes
 test/create-from-png-indexed-ref.png       |  Bin 0 -> 159 bytes
 test/create-from-png-ref.png               |  Bin 100 -> 131 bytes
 test/create-from-png.c                     |  121 ++++++++++++++++++++++++++++
 7 files changed, 121 insertions(+), 0 deletions(-)

commit f2f91db131e7c7df1e87bcd41ae17c07429bbcb8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 21 18:20:16 2008 +0100

    [cairo-png] Create an ARGB32 surface for paletted PNGs.
    
    jeremie54 reported a regression in the handling of transparent paletted
    PNGs beween 1.4.14 and 1.6.4. This was caused by the change to load
    opaque PNGs into a RGB24 image surface, which made the assumption that
    indexed PNGs were opaque. However, alpha/transparency in PNG is more
    complicated, as PNG uses a tRNS chunk to supply transparency data for
    paletted images and other image types that don't need a full alpha
    channel. Therefore if the PNG contains a tRNS chunk always generate an
    ARGB32 surface.

 src/cairo-png.c |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

commit ea6dbfd36f2182fda16cb82bca92007e0f7b8d77
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Apr 16 17:24:43 2008 +0100

    [cairo-meta-surface] Save and restore the original clip.
    
    When replaying the meta-surface to the target, we apply a stack-based
    clip to the surface. However, we did not remove this clip from the
    surface and so a pointer into our stack existed beyond the scope of
    function.
    
    Saving the original clip pointer and restoring it before leaving the
    function resolves the issue and appears to fix
    https://bugzilla.mozilla.org/show_bug.cgi?id=429071.

 src/cairo-meta-surface.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

commit a2c4fd057217b70c74a66076acc4f42f676192ae
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Fri Apr 18 18:18:30 2008 +0930

    Add "Since: 1.6" to win32 printing surface

 src/cairo-win32-printing-surface.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 212357cb4c859bb29649f86e808f498efb6d7315
Author: Robert O'Callahan <roc@ocallahan.org>
Date:   Fri Apr 18 06:15:26 2008 +0200

    Clone surface correctly when doing a deep clip copy
    
    The rect specifies the clip surface location within the owning surface;
    when cloned, the x/y should be 0 to get the entire surface.
    
    Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=409227

 src/cairo-clip.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit a0d71e5a38a5b6a9621da1ce773d591b6e500b1e
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Apr 16 14:31:25 2008 +0100

    [Makefile.am] Fix breakage in previous commit.
    
    I checked with --disable-pdf and with --disable-ps, but forgot to
    check with them both enabled. D'oh.

 src/Makefile.am |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

commit 472637da054ec90d8dc4b0095be6e9a134f507e0
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Apr 16 14:18:32 2008 +0100

    [Makefile.am] Add cairo-pdf-operators*.[ch] to ps_sources
    
    The postscript backends depends upon cairo-pdf-operators.c, so list it
    as a requirement in ps_sources. This enables the postscript backend to
    build even if the pdf backend is disable by the user during configure.
    
    (Fixes http://bugs.freedesktop.org/show_bug.cgi?id=15532.)

 src/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 12831201d2461ae4452d91ad42bf74881da12e04
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Apr 15 15:57:41 2008 -0400

    [doc/tutorial/src/singular.c] Fix a bug in delta computation

 doc/tutorial/src/singular.c |   38 +++++++++++++++++++++-----------------
 1 files changed, 21 insertions(+), 17 deletions(-)

commit cafdd0161941413547d253c743c743323e790400
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Apr 15 13:33:50 2008 -0400

    [Makefile.am] Document why beos was removed from build, and remove some cruft

 src/Makefile.am |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

commit 0e315b1e6092d7ba44a89076567257d68ab3e1f9
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 14 20:32:29 2008 +0100

    [test/a8-mask] Perform the stride API checking once.
    
    The stride API is independent of the surface and does not need to be
    repeated for every surface.

 test/a8-mask.c |   97 +++++++++++++++++++++++++++++---------------------------
 1 files changed, 50 insertions(+), 47 deletions(-)

commit 8b36ca085844ada8f13d0164719772b6bb78dff6
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 14 20:32:29 2008 +0100

    [test/a1-mask] Perform the stride API checking once.
    
    The stride API is independent of the surface and does not need to be
    repeated for every surface.

 test/a1-mask.c |   99 ++++++++++++++++++++++++++++---------------------------
 1 files changed, 50 insertions(+), 49 deletions(-)

commit fa5e87ad230db18be26b971dc0351abd342c7894
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 14 20:11:44 2008 +0100

    [cairo-test] Spelling fixes in comments.
    
    Skim through the comments fixing trivial smelling pistakes.

 test/cairo-test.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

commit 8514d334442312774c8646dc46a630351cff83f5
Author: Richard Hult <richard@imendio.com>
Date:   Mon Apr 14 16:55:23 2008 -0700

    Fix to install cairo-quartz-font.pc

 src/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 4ff59960f343f072efd10bfbfd78b8b2fbe1d4be
Author: Kouhei Sutou <kou@cozmixng.org>
Date:   Mon Apr 14 16:53:37 2008 -0700

    Fix typo in documentation (missing stride argument)

 src/cairo-image-surface.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit e01072d4eae5a40f09a46373680d4ba6afa5c4e4
Author: Carl Worth <cworth@cworth.org>
Date:   Mon Apr 14 16:52:40 2008 -0700

    RELEASING: Send announcement of major releases to pr@lwn.net as well

 RELEASING |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

commit 9db764c732ef6e3405866a60762592625aa94ca4
Merge: d96fdd5... 44e6cdd...
Author: Carl Worth <cworth@cworth.org>
Date:   Mon Apr 14 16:39:27 2008 -0700

    Merge in '1.6'
    
    This gets us a fix for not linking with g++ from 1.6.4
    
    We don't take from 1.6.4 the revert of the addition of
    missing locking from the GC cache, (meanwhile, we've
    already got a corrected fix for this).
    
    Conflicts:
    
    	src/cairo-xlib-screen.c

commit d96fdd58abf8d6c8692dbb08ec54cdd80accba79
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sun Apr 13 22:16:52 2008 +0930

    win32: Fix broken printing of type1 fonts
    
    ExtTextOut() does not work with Type 1 font glyph indices when
    printing. The same code works fine when dst->dc is a display. It
    appears that ExtTextOut expects unicode character values when using
    Type 1 fonts and a printer DC.
    
    Fix this by making Type 1 fonts in the win32-printing surface use the
    fallback path for non Windows fonts. ie the glyphs will be emitted as
    filled paths.

 src/cairo-win32-font.c             |   10 ++++++++++
 src/cairo-win32-printing-surface.c |    1 +
 src/cairo-win32-private.h          |    3 +++
 3 files changed, 14 insertions(+), 0 deletions(-)

commit af94b8d2a312500d0f81697021ba2c653accfeee
Author: Carl Worth <cworth@cworth.org>
Date:   Fri Apr 11 16:13:18 2008 -0700

    README: Note that quartz is no longer experimental

 README |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit ff5376563b1042ebea8a438acb309bcd8678cdc5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Apr 11 23:47:07 2008 +0100

    [xlib] Clear the gc_needs_clip_reset after use.
    
    If you think this commit is reminiscent of
    40558cb15e5f7276a29847b00c9dae08b9d9380e, you would be right as it fixes
    exactly the same bug I made then and reintroduced in dc714106e156cb7901.
    
    So quoting 40558cb:
    After consuming the GC we need to unset the clip reset flag, so that
    if we try and get a new GC without first putting a fresh one we do not
    try to call XSetClipMask on a NULL GC.

 src/cairo-xlib-screen.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 28a1dabed8cf50d9bec552bd9d3a18580c1c6711
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Apr 11 23:40:36 2008 +0100

    [test] Add a regression test for bug 10921
    
    This bug first was fixed in 40558cb15e5f7276a29847b00c9dae08b9d9380e,
    but then reintroduced in 9cfd82e87b60c0d65e9cafda026cb9a498874575, which
    became part of the 1.6.2 quick release.
    
    As penance to make sure I never repeat this same bug again, I offer this
    test case which exercises the XSetClipMask(NULL) path and hopefully
    simulates some 'typical' usage of cairo by GUI toolkits.

 test/.gitignore                |    1 +
 test/Makefile.am               |    2 +
 test/xlib-expose-event-ref.png |  Bin 0 -> 40736 bytes
 test/xlib-expose-event.c       |  275 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 278 insertions(+), 0 deletions(-)

commit 44e6cdd9b1eb3330d3f4ef4929d0af50cd0010e5
Author: Carl Worth <cworth@cworth.org>
Date:   Fri Apr 11 14:48:18 2008 -0700

    Increment version to 1.6.5 after the 1.6.4 release

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 08a804806355d99d7968976d6afb98bbc0f2613d
Author: Carl Worth <cworth@cworth.org>
Date:   Fri Apr 11 14:33:12 2008 -0700

    Increment version to 1.6.4

 configure.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit a96176e12fa99b293453fa0321b1dfa4fd242917
Author: Carl Worth <cworth@cworth.org>
Date:   Fri Apr 11 14:32:37 2008 -0700

    NEWS: Add notes for cairo 1.6.4

 NEWS |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

commit 32e576382bc08ffaf98ebfc11c96e1453c437bbe
Author: Carl Worth <cworth@cworth.org>
Date:   Fri Apr 11 14:13:03 2008 -0700

    Prevent cairo from being linked unnecessarilly with g++
    
    The beos backend involves a source file written in C++.
    Apparently, automake sees the conditional inclusion of
    that source file and insists on doing the final link of
    cairo with g++ even though that file isn't being compiled
    at all.
    
    We definitely don't want that as it makes libcairo link
    and depend on libstdc++ unnecessarily, (which can break
    distribution packaging when not expecting it, etc.).

 src/Makefile.am |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 8f1c8d4b26d6da11101c51ef388d1dcc7177cfb4
Author: Carl Worth <cworth@cworth.org>
Date:   Fri Apr 11 13:48:38 2008 -0700

    Revert "[xlib] Add locking around GC cache."
    
    This reverts commit 9cfd82e87b60c0d65e9cafda026cb9a498874575.
    
    The fix was broken as it introduced crashes by calling
    XSetClipMask with a NULL GC, (basically a reintroduction
    of the bug originally fixed here:
    
    	7802de6d5edaf998c98b141870dc2c6b4c0f3e91
    
    Let's revert for sake of the release, and fix this correctly
    on master.

 src/cairo-xlib-private.h |    1 -
 src/cairo-xlib-screen.c  |   31 ++++++++++---------------------
 2 files changed, 10 insertions(+), 22 deletions(-)

commit 75001079c1c6361f116409dc13263e87081637d1
Merge: a5770c3... f57100a...
Author: Carl Worth <cworth@cworth.org>
Date:   Fri Apr 11 10:08:14 2008 -0700

    Merge in origin/master, (a few changes in parallel to 1.6.2 release)

commit a5770c3335fccd1591f2cd58ab950a6eba77f271
Author: Carl Worth <cworth@cworth.org>
Date:   Fri Apr 11 10:05:18 2008 -0700

    Increment version to 1.6.3 after the 1.6.2 release

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 5bc6fd71398f8aa902fcffe2da5d1e70fb94aa8a
Author: Carl Worth <cworth@cworth.org>
Date:   Fri Apr 11 09:52:28 2008 -0700

    Increment version to 1.6.2

 configure.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 0c32497c3447d6d02d45a14ff4c400b6d1ea37da
Author: Carl Worth <cworth@cworth.org>
Date:   Fri Apr 11 09:50:53 2008 -0700

    NEWS: Add notes for 1.6.2 release

 NEWS |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

commit 9cfd82e87b60c0d65e9cafda026cb9a498874575
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Apr 10 14:49:47 2008 +0100

    [xlib] Add locking around GC cache.
    
    The per-screen cached of most-recently freed GCs lacks suitable locking
    for it to be threadsafe.
    (cherry picked from commit dc714106e156cb7901e376c0935922446ae9bcdf)

 src/cairo-xlib-private.h |    1 +
 src/cairo-xlib-screen.c  |   31 +++++++++++++++++++++----------
 2 files changed, 22 insertions(+), 10 deletions(-)

commit cf057c1e8603014033c079189369e91aecac2adf
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Fri Apr 11 21:42:19 2008 +0930

    PS: Fix inefficient implementation of Tm/Td operators that was crashing printers
    
    The Td and Tm operator emulation were setting the font matrix like this:
    
      /some_font [xx yx xy yy x0 y0] selectfont
    
    where [xx yx xy yy] is the font matrix and [x0 y0] is the position of
    the first glyph to be drawn. This seemed to be the easiest way to
    emulate the Tm operator since the six arguments to Tm required by PDF
    are xx,yx,xy,yy,x0,y0.
    
    Before the switch to pdf-operators the font matrix was set like this:
    
      /somefont [xx yx xy yy 0 0] selectfont x0 y0 moveto
    
    The selectfont operator is equivalent to calling findfont, makefont,
    and setfont. The makefont operator creates a new font dictionary for
    specified font that contains the specified font matrix. The
    description of the makefont operator in the PostScript Language
    Reference Manual states:
    
      "The interpreter keeps track of font dictionaries recently created
       by makefont. Calling makefont multiple times with the same font and
       matrix will usually return the same font rather than create a new
       one."
    
    So the emulation of Tm and Td was creating a new font dictionary every
    time a text string was displayed due to the change in the translation
    components of the font matrix. Previously the font dictionary was
    re-used as with the translation components of the matrix set to zero,
    the font matrix did not change frequently.
    
    Some printers did not handle well the frequent creation a font
    dictionary every time a few glyphs were displayed.
    
    Fix this by ensuring the translation components of the font matrix
    used in the emulation of Tm and Td operators is always set to
    zero. Use moveto instead for the translation components.
    (cherry picked from commit c5814d2aa3cb68a13bc9cc8b6a47f660febcad71)

 src/cairo-ps-surface.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

commit f57100acd4937486bfb69d38dfc72d42427e2851
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Apr 11 11:36:24 2008 +0100

    [test] Handle TEST_CONTENT_COLOR_ALPHA_FLATTENED similar surfaces.
    
    Convert the boilerplate specific flattened content value to the ordinary
    CAIRO_CONTENT_COLOR_ALPHA for use with cairo_push_group_with_content() -
    otherwise cairo rightfully flags an error and the test harness decides
    that the similar surface is not available.

 boilerplate/cairo-boilerplate.c |   14 ++++++++++----
 boilerplate/cairo-boilerplate.h |    3 +++
 perf/cairo-perf.c               |    6 ++++--
 test/cairo-test.c               |    8 +++-----
 4 files changed, 20 insertions(+), 11 deletions(-)

commit e4fc5279cc490b8d7c1f611d73601e6782c944a5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Mar 31 15:48:51 2008 +0100

    [cairo-font-options] Eliminate internal use of cairo_font_options_create()
    
    Within the library, we know the precise size of the struct and so can
    allocate temporary font options on the stack - eliminating the need
    to export an internal alias of cairo_font_options_(create|destory).

 src/cairo-font-options.c |    2 --
 src/cairo-surface.c      |    9 +++------
 src/cairoint.h           |    2 --
 3 files changed, 3 insertions(+), 10 deletions(-)

commit b72fe9bb5ff20bfc3d30a8a4bb353e52818b5fb7
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Apr 10 16:48:42 2008 +0100

    [cairo-arc] Check that the context is not error before proceeding.
    
    We depend on values stored on the context that become invalid upon an
    error, so stop processing as soon as an error occurs. Prior to
    adjusting, the values returned from the error context, this would cause
    an infinite loop whilst calculating the number of segments required for
    a tolerance of 0.

 src/cairo-arc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit f6834dacef3e6f798c54829b9a309c8f96ed39f5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Apr 10 16:43:10 2008 +0100

    [cairo] Return defaults when the context is in error.
    
    Return the default values instead of zero for an error context. This
    helps to prevent application logic faults when using the values from
    the error context (for an example, see _cairo_arc_in_direction()).

 src/cairo.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

commit 68f53282b9a7ebf1bb2117b5a630237f458b99b0
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Apr 10 14:58:30 2008 +0100

    [xlib] Clear the Visual cache upon display closure.
    
    Clear the Visual cache, similarly to flushing the GC cache, upon
    XCloseDisplay.

 src/cairo-xlib-screen.c |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

commit a2608cdde54dd677290da83cc9f8b98b139ff774
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Apr 10 14:56:12 2008 +0100

    [xlib] Convert the Visual cache to use the screen mutex.
    
    Use the per-screen mutex, introduced for the GC cache, to lock access to
    the Visual cache (instead of the per-display mutex).

 src/cairo-xlib-screen.c |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

commit dc714106e156cb7901e376c0935922446ae9bcdf
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Apr 10 14:49:47 2008 +0100

    [xlib] Add locking around GC cache.
    
    The per-screen cached of most-recently freed GCs lacks suitable locking
    for it to be threadsafe.

 src/cairo-xlib-private.h |    1 +
 src/cairo-xlib-screen.c  |   31 +++++++++++++++++++++----------
 2 files changed, 22 insertions(+), 10 deletions(-)

commit 9166686abd92f8b2c7067002b051220e2f8fe780
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Fri Apr 11 22:50:52 2008 +0930

    Refresh text-rotate PS reference image

 test/text-rotate-ps-ref.png |  Bin 6878 -> 6796 bytes
 1 files changed, 0 insertions(+), 0 deletions(-)

commit c5814d2aa3cb68a13bc9cc8b6a47f660febcad71
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Fri Apr 11 21:42:19 2008 +0930

    PS: Fix inefficient implementation of Tm/Td operators that was crashing printers
    
    The Td and Tm operator emulation were setting the font matrix like this:
    
      /some_font [xx yx xy yy x0 y0] selectfont
    
    where [xx yx xy yy] is the font matrix and [x0 y0] is the position of
    the first glyph to be drawn. This seemed to be the easiest way to
    emulate the Tm operator since the six arguments to Tm required by PDF
    are xx,yx,xy,yy,x0,y0.
    
    Before the switch to pdf-operators the font matrix was set like this:
    
      /somefont [xx yx xy yy 0 0] selectfont x0 y0 moveto
    
    The selectfont operator is equivalent to calling findfont, makefont,
    and setfont. The makefont operator creates a new font dictionary for
    specified font that contains the specified font matrix. The
    description of the makefont operator in the PostScript Language
    Reference Manual states:
    
      "The interpreter keeps track of font dictionaries recently created
       by makefont. Calling makefont multiple times with the same font and
       matrix will usually return the same font rather than create a new
       one."
    
    So the emulation of Tm and Td was creating a new font dictionary every
    time a text string was displayed due to the change in the translation
    components of the font matrix. Previously the font dictionary was
    re-used as with the translation components of the matrix set to zero,
    the font matrix did not change frequently.
    
    Some printers did not handle well the frequent creation a font
    dictionary every time a few glyphs were displayed.
    
    Fix this by ensuring the translation components of the font matrix
    used in the emulation of Tm and Td operators is always set to
    zero. Use moveto instead for the translation components.

 src/cairo-ps-surface.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

commit 0ac8130ae3d74a09343f4b9a2d69f938910b4ab9
Merge: eac9251... 11299ae...
Author: Carl Worth <cworth@cworth.org>
Date:   Thu Apr 10 18:07:12 2008 -0700

    Merge in  origin/master, (just a few 1.5.21 changes alongside 1.6.0 release)

commit eac9251d9a78e8d7bf00098b367a5176ed7dbce6
Author: Carl Worth <cworth@cworth.org>
Date:   Thu Apr 10 18:02:59 2008 -0700

    Increment version to 1.6.1 after 1.6.0 release

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 11299ae5c5374f0b754636635c0df82fd30e3ffc
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed Apr 9 11:17:14 2008 -0500

    Add doc/tutorial/src/singular.c

 doc/tutorial/src/singular.c |  158 +++++++++++++++++++++++++++++++++++++++++++
 src/cairo-matrix.c          |    4 +
 2 files changed, 162 insertions(+), 0 deletions(-)

commit 089bf98df1708b77e0a66f52abb83856a93eff9d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 8 15:33:47 2008 +0100

    [test] Add group-paint
    
    The experience of running the entire test suite under cairo_push_group()
    did at least reveal that there was a potential bug in the pdf backend.
    This test is just the simplest of drawing operations - simply filling
    the similar surface with solid blue, and then blitting that surface to
    the destination.

 test/.gitignore          |    1 +
 test/Makefile.am         |    2 +
 test/group-paint-ref.png |  Bin 0 -> 118 bytes
 test/group-paint.c       |   57 ++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+), 0 deletions(-)

commit 39100439cad575b3c542bbe31eaea699ff76b3c8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 8 11:32:51 2008 +0100

    Check surface->status and finished in cairo_surface_write_to_png_stream
    
    Cut'n'paste from commit c1f765:
    Without these checks, a user could hit an assertion failure by passing
    a finished surface to cairo_surface_write_to_png_stream.  Now we return
    a nice CAIRO_STATUS_SURFACE_FINISHED error in that case instead.

 src/cairo-png.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit 935b0bbf6e260180298dcd5643b5db3fde7af1fd
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Apr 8 10:57:51 2008 +0100

    [test/filter-bilinear-extents] Memleak.
    
    Destroy the temporary image surface.

 test/filter-bilinear-extents.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit c7cd5b30c4ef3ecf5c1f21257fcfac51308b701d
Author: Carl Worth <cworth@cworth.org>
Date:   Tue Apr 8 03:11:50 2008 -0700

    Increment cairo version to 1.5.21 after the 1.5.20 snapshot

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
