[cairo-commit] Changes to '1.4'

Carl Worth cworth at kemper.freedesktop.org
Tue Nov 20 20:53:17 PST 2007


New branch '1.4' available with the following commits:
commit e76d05f044dcc84fb160ecd7a63ebe1d6c83a9cc
Author: Carl Worth <cworth at cworth.org>
Date:   Tue Nov 20 20:48:47 2007 -0800

    Mark bitmap-font as XFAIL
    
    I don't know where the PDF failure is coming from, (it appears
    to be using a too-small font in the rotate cairo_show_text
    case), but I'm seeing the same behavior in 1.4.10 so this
    is not a regression compared to that for the purpose of the
    1.4.12 release.

commit 3704144769098ac4189dabb74049bcfb70b7aace
Author: Carl Worth <cworth at cworth.org>
Date:   Tue Nov 20 20:45:42 2007 -0800

    Update two PS reference images for mysterious single-pixel change
    
    It seems ft-vertical-layout-type1 and ft-vertical-layout-type3
    change rasterization slightly from time to time, (may be due
    to changes in the system installation of ghostscript).

commit 352dce7eca01c715acf1862138d6b242ec5a2ceb
Author: Richard Hult <richard at imendio.com>
Date:   Mon Nov 5 10:05:07 2007 +0000

    [atsui] Use ascent+descent+leading to get the distance between baselines
    
    The height is currently mapped to the atsui metrics property capHeight, which
    is documented as "The height of a capital letter in the font from the baseline
    to the top of the letter".
    
    That doesn't match what height is in cairo, it should be the disctance between
    baselines. This patch that fixes that (and makes webkit on GTK+ OS X
    layout nicely).
    (cherry picked from commit 4270cd3358fabf0d3e6ac4e866099b172082b592)

commit 788ab6f4d067b17208d6e6bebed286d575c6da57
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Mon Nov 5 10:05:04 2007 +0000

    [configure.in] fix atsui experimental warning
    
    The 'experimental' warning for atsui was appearing
    for --enable-quartz not --enable-atsui as it should.
    (cherry picked from commit 3141b21c0c581dabc09a6ec9cdf0a071701b0e42)

commit 7d797270e3bc0073d9d4b68f3256fe2f566754f4
Author: Keith Packard <keithp at koto.keithp.com>
Date:   Tue Oct 30 22:00:59 2007 -0700

    Force non-AA text when using a bitmap strike with only scaling transform.
    
    When the current font size matches one of the available fixed sizes, and
    the overall transform has only scaling components, FreeType will use the
    fixed size bitmaps by default. For glyphs which do not have bitmaps,
    force them to be rendered in monochrome instead of anti-aliased so
    that they all match nicely.
    (cherry picked from commit 06af5c2891b89da28581c30afcde06c5442884db)

commit b9bdb48870b25d1a5d43f310bc46bbb9255a3891
Author: Carl Worth <cworth at cworth.org>
Date:   Tue Oct 30 17:09:56 2007 -0700

    Fix degenerate-pen test case by removing the triggering assertion
    
    Instead we choose either the first or last pen vertex as
    appropriate.
    
    This makes the degenerate-pen pass stop failing on an
    assertion, and passes for most backends. It's still failing
    for the PDF backend, but that looks like a new, PDF-specific
    bug.
    (cherry picked from commit 448c9314252bba779194d2b01950b8738b26fd13)

commit 885105989f11b29969386e169892f594d8d0e6b6
Author: Carl Worth <cworth at cworth.org>
Date:   Mon Oct 29 17:55:28 2007 -0700

    Limit miters for small angles
    
    This fixes the current failure get-path-extents, which is a
    demonstration of the following bug:
    
    	cairo_stroke_extents() gives wrong result for arcs in some cases
    	https://bugs.freedesktop.org/show_bug.cgi?id=7245
    
    Many thanks to Michael Urman whose review of early versions of
    this work found a fatal mistake in my algebra.
    (cherry picked from commit 00d701ff7de68609aa8cec7871d93b27a108fd14)

commit 342cd546166f601e932308f125058b2da54943ff
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Oct 30 11:13:44 2007 +0000

    [cairo-surface] Fix typo in doc.
    
    s/INVALUE_FORMAT/INVALID_FORMAT/
    (cherry picked from commit 0d42af2427d1de27845cb8a6b3d290a562c28fc6)

commit 6a4406576b656ae7e8262ae87e047979045f8867
Author: Carl Worth <cworth at cworth.org>
Date:   Fri Oct 26 22:58:57 2007 -0700

    Fix typo in _cairo_gstate_fini
    
    Obrigado a Luiz Americo Pereira Camara <luizmed at oi.com.br>
    (cherry picked from commit a69d4731300b430b802222d317698c313c75a31a)

commit 5b630262b2915e9cb8f7cb3e6311e5d274b36710
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Sat Oct 20 23:41:46 2007 +0100

    [quartz] return status instead of CGPatternRef
    
    Returning status improves error handling, since
    returning NULL doesn't let us distinguish different
    types of error.
    (cherry picked from commit 8f6abdbc26ee15451b5a386610f7d5a7a9114d63)

commit 59458afa6fa8551d2e91f68166e4efd52116af16
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Sat Oct 20 23:41:32 2007 +0100

    [quartz] return status instead of cairo_quartz_surface_t
    
    Returning status improves error handling, since
    returning NULL doesn't let us distinguish different
    types of error.
    (cherry picked from commit cfb26fdf0f490b4902106b50d02628cffd53a0eb)

commit 060ebf51fc5446a9a379b7980310f780ba28606b
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Sat Oct 20 22:45:30 2007 +0100

    [quartz] return status instead of CGShadingRef
    
    Returning status improves error handling, since
    returning NULL doesn't let us distinguish different
    types of error. Suggested by Chris Wilson.
    (cherry picked from commit dec3099585eeb184ed51b5c720eb891314d7ea51)

commit 3e392518e02fdce3e519aaf2492aa30186b79724
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Sun Jul 1 14:37:57 2007 +0100

    implement clipping with surface masks.
    
    This implements clipping using CGContextClipToMask, which
    means that it will only have an effect on OS X 10.4+.
    No additional tests pass with this fix - mainly due to
    text effects and problems with the IN, OUT, DEST_IN, DEST_ATOP
    operators.
    (cherry picked from commit 481ce2b8cb2dc376419e7d6cbdd73bd4ebcd5b5b)

commit 0d4c0d3c43cbee4c6398574358b4a8c90ee6459a
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Sun Jun 24 23:53:47 2007 +0100

    fix dash-zero-length test
    
    Quartz was failing the dash-zero-length test for odd numbers
    of dashes; it seems cairo wants 3 dashes to be on-off-on,
    off-on-off, wheras quartz uses on-off-on, on-off-on. Fixed
    by doubling the number of dashes used.
    (cherry picked from commit b9c065df74027b06e15e105fee5e4a4d350e0abf)

commit 6da4bb7bc4ca18b3021e0b3f44a1e9e1b4970435
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Sun Jun 24 01:17:58 2007 +0100

    Implement EXTEND_NONE for gradients.
    
    Fixes linear and radial gradients, which were displaying with
    extend_pad when extend_none was requested. Makes the
    radial-gradient test pass.
    (cherry picked from commit f334ee0397963e12c9efcb2690792aac83734661)

commit 46af8ef96592fa892cc5369fd4036746e3bbb115
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Sat Jun 23 23:36:32 2007 +0100

    call _cairo_error on failure
    
    Call _cairo_error to enable setting a breakpoint on quartz errors.
    (cherry picked from commit 0eeec372c0e7849d81bde8c8c5bf491919f51a6e)

commit c644de58bd011c33013579823a1ad916b33dfb3f
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Sat Jun 23 12:34:24 2007 +0100

    do not return a cairo_status_t of UNSUPPORTED
    
    We had a bug which converted cairo_int_status_t to cairo_status_t,
    causing an assertion; reported at http://developer.imendio.com/node/128.
    Return the generic out of memory error instead.
    (cherry picked from commit 8c8ec63903f8ad67a88394eff1359607bb93cf88)

commit 7675a032d8d23cad19d39d303c9f9e0b81902cb7
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Mon Jun 18 00:07:33 2007 +0100

    do not ignore errors, return NULL instead (moz#874315)
    
    In the quartz backend there are occasional errors where returning NULL
    can be used to signal that an error has occured.
    
    Mozilla bug #874315.
    (cherry picked from commit 6fec51990e90901ebafbb872a9e618cb70d17911)

commit 51e2f760b52967e2d947128cc184b973086d70e6
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Mon Jun 18 00:07:33 2007 +0100

    do not ignore errors in setup_source
    
    In setup_source we were ignoring a return value, but we can't relay
    it to the caller. This patch treats the error as an unsupported
    operation.
    (cherry picked from commit 07fd091e3e6b925c588b9a16f6f10efcd46615c2)

commit 91393e32dd134a7f3555a07ed932cbd76910b965
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Tue Jun 19 21:13:39 2007 +0100

    do not ignore errors when creating styles.
    
    This fixes statuses being ignored when calling
    CreateSizedCopyOfStyle. As a side effect, it cleans up
    two other bugs - the font object was sometimes not
    freed, and a the scaled font mutex was aquired recursively,
    causing a hang in the invalid-matrix test.
    (cherry picked from commit b6b9cef7136453f97543173bcb2ade46b1c46b77)

commit fd11a1a1f2e747df6532e9ea55c296673adf92c9
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Mon Jun 18 00:07:33 2007 +0100

    do not ignore ATSUI errors.
    
    This fixes multiple instances where the return value of an ATSUI
    call was ignored and converts them into CAIRO_STATUS_NO_MEMORY.
    As a side effect it fixes a utf8 array not being freed.
    (cherry picked from commit 4885a12c6863321a566e7103bf6dccdd5d13a986)

commit dbd4807ad2c4fc25dffbff7390eb933bce2f08d0
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Mon Jun 18 00:07:33 2007 +0100

    do not ignore errors in glyph paths
    
    When interpreting glyph paths in ATSUI callbacks we were ignoring
    the cairo status. We need to return this to the caller. In order
    to do this we introduce a custom OSStatus code in the range that
    Apple reccommend.
    (cherry picked from commit b498c928be73635614596243d17a922e9d5ff008)

commit ecff9ad7b68f65f0bf08fda7d24e56bcd81816a5
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Oct 19 22:45:15 2007 +0100

    [cairo-xlib] Check source for XRender support.
    
    Do not rely on the assumption that if the destination has render support
    then the source has it as well - breaks when the boilerplate disables
    render support for a surface.
    
    Similarly do not set the XRender attributes on the source surface
    unless it actually has a xrender_format.
    (cherry picked from commit 3211d810d31a6607c8d78a50f577a8ca8eb705e6)

commit 2a5c5654721e9e41e7c8b2a1cf84a85530926cb3
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Fri Oct 19 15:02:03 2007 -0400

    [cairo-xlib] Release glyph surfaces if we made them to be generated
    
    The reasoning is that right now, applications render glyphs to images,
    upload it to the X server, and keep a local copy in the cache.  The X
    server works hard to reuse glyph renderings, by hashing glyph images and
    reusing them.  So we are wasting memory in cairo apps that don't use the
    glyph surface after uploading to the server, which is the case if you
    don't use the glyph in an image surface.  The patch does not release the
    glyph surface if it already existed in the cache, so, worst case
    scenario is that we render the glyph twice, if you first use it with
    xlib, then with image surface.  That effect should be negligible.
    (cherry picked from commit 76e3b3cdc3dda986d420637cfc2445aca481a863)

commit 0a69b788331ecc1cc93a66b1d6c3d39454ddb3ad
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Oct 18 20:07:12 2007 +0100

    [cairo-xlib-surface] Match content to xrender_format using the channel masks.
    
    _xrender_format_to_content() was using the channel offset to determine
    whether the format supported a content type.
    For example, the XRenderPictFormat for the A8 format looks like:
        direct.alpha = 0; direct.alphaMask = 0xff;
        direct.red   = 0; direct.redMask   = 0x00;
        direct.green = 0; direct.greenMask = 0x00;
        direct.blue  = 0; direct.blueMask  = 0x00;
    which _xrender_format_to_content() matched as CAIRO_CONTENT_COLOR.
    
    Switch to using the channel masks for deducing content type.
    (cherry picked from commit 8ae778273799ee9f6d3c13e9c41730daeda2c743)

commit 70afd65cdfd319e84e3fe39c5d7e54e47337c34a
Author: Chris Heath <chris at heathens.co.nz>
Date:   Mon Oct 15 17:31:50 2007 -0400

    [autogen.sh] Tolerate tput failure (#12757)
    (cherry picked from commit 189feaf352f59b0a049202552024578715ef8cc7)

commit 9367400607c4f44cf8a5ca3a8b58acfd12fcc32d
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Tue Oct 2 10:54:44 2007 -0700

    [win32] return a nil surface, not NULL
    
    Missed an error return
    (cherry picked from commit c99d33b10e84883ade1402c3c1d1efdb4b46f66e)

commit d19a7f84977f5b4df2581716eecf9b7488503329
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Tue Oct 2 10:48:59 2007 -0700

    [win32] report error correctly if CreateCompatibleBitmap fails
    
    These errors were being dropped on the floor, leading to
    rendering errors in out of video memory conditions.
    (cherry picked from commit 4dbf495515d6de933de7f567b935c5fdceed5f6f)

commit a336d6547ab1dc6624ecfecea44b9b66c7963eb1
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Oct 9 15:54:58 2007 -0400

    [ChangeLog.mk] Fix changelog generation rules
    
    Previously it was trying to get logs of 1.2.0..1.4 while I really meant
    was 1.2.0..1.4.0.  It was a simple typo.
    (cherry picked from commit b12ed375cf7ad02a30324616e121a1e9ab8998cb)

commit d85402a00226e06c842915ef7f3a336628c60bc1
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Oct 4 16:04:49 2007 +0100

    [cairo-scaled-font] Acquire mutex around _cairo_scaled_font_glyph_path().
    
    All calls that manipulate the scaled_font->cache must hold its mutex.
    (cherry picked from commit 6e93941a7605a3958269de195dc16f255dda7bfd)

commit be88ee1ea590bc2c8fb9be39467783e5acd0b03a
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Oct 4 09:08:46 2007 +0100

    [cairo-path] Check for an empty path in cairo_append_path().
    
    As we now generate empty paths, we must be able to handle empty paths
    in the user facing API. cairo_append_path() has an explicit check, and
    raises an error, for a NULL path->data, so we need to check the
    path->num_data first for empty paths.
    (cherry picked from commit ef5f460eb1f86a73e016c1150723ae1e70b3b037)

commit f3c4f0e9552e74788bb39b772238a657638f6ff2
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Oct 3 23:25:10 2007 +0100

    [malloc] Take advantage of calloc() argument checking.
    
    calloc() will check its arguments for integer overflows so it is safer
    not to pre-multiply them.
    (cherry picked from commit 66664596559c55913fb0b9c8784fe8ab862c217b)

commit bc7fb1879a49b07e688b969d2e48ca5c8d54bcde
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Oct 3 23:19:10 2007 +0100

    [malloc] Check for integer overflow when realloc'ing.
    
    Perform similar sanity checks to Vlad's _cairo_malloc_ab() but on the
    arguments to realloc instead.
    (cherry picked from commit e49bcde27f88e21d5b8037a0089a226096f6514b)

commit 0cab95bf7d3c235a48a73847af5fedd9aaa8742d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Oct 1 17:59:57 2007 +0100

    [cairo-path] Don't raise an error when attempting to create an empty path.
    
    Generate a real empty path structure instead of returning
    _cairo_path_nil, if we have been asked to create an empty path.
    
    (Also add a couple of missing _cairo_error()s and an appropriate test
    case.)
    
    Spotted by Fred Kiefer.
    (cherry picked from commit b4f86638cc4b87bfaf10568ae9beb89626e26613)

commit caa3dbca4098f2ee138f7662940256c02c6b4cf9
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sat Sep 29 07:55:48 2007 +0930

    CFF Subetting: Fix for #10849
    
    This fixes the problem Apple Preview has with viewing PDFs with CFF
    font subsets.
    (cherry picked from commit 042c382c094d1ea6f9a5a162d4d1d9ac83413233)

commit 91f086d6eecbedd1bedf9bcb1fb8402969191da3
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sun Sep 23 11:37:02 2007 +0930

    Truetype Subsetting: Avoid failing when fonts are missing optional tables
    
    Previously, the TrueType subsetting would fail if any of the "cvt",
    "fpgm", or "prep" tables were missing from the source font. However
    these tables are optional and not required in the subsetted font if
    they do not appear in the source font.
    
    The "name" table has been removed from the subsetted font as the
    Type42 specification does not require this table.
    (cherry picked from commit b20e08999e2f6e7a72ee75a7c3fd865bf0368794)

commit ba8f6b24a88de94f2ba0bbcd404afadefe9e20e5
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Sun Sep 23 02:52:01 2007 +0100

    [type1-subset] only subset ft fonts
    
    If atsui and ft were both enabled, the code crashed trying to subset
    type-1 fonts; fixed by checking if fonts really are ft before using
    them as ft fonts. This is a temporary fix until we support subsetting
    across all font backends.
    (cherry picked from commit 8132b8b417c75388ce4c4671fffddaa44a5d1be0)

commit 1b856ae5e7dabcfd4c30733f3c8c3778a75e77a4
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Fri Sep 21 11:02:42 2007 -0700

    Avoid divide-by-zero when trying to allocate a 0-sized array
    
    Fix up the _cairo_malloc_* wrappers to avoid blindly dividing by zero;
    any attempt to allocate a zero-sized chunk of memory will result in
    NULL.
    (cherry picked from commit 6020f67f1a49cfe3844c4938d4af24c63c8424cc)

commit 13764b11e82874b22dc69b2b24ba13f27ed429d4
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Wed Aug 29 16:30:49 2007 -0700

    Make NO_MUTEX really mean no mutexes
    (cherry picked from commit e3c16e15e39d98f96e2ce20e397d88214f5a821e)

commit 004218ee6eba49413f242236218e9e6adbf32cb5
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Sep 12 17:45:11 2007 -0400

    [cairo-ft-font] Ignore FT_Load_Glyph errors other than out-of-memory
    Same for FT_Render_Glyph.
    
    When the user asks us to render a glyph that is not available in the font,
    it's mostly an unavoidable kind of error for them, as in, they can't
    avoid such a call.  So it's not nice to put cairo_t in an error state and
    refuse any further drawying.
    
    Many PDF files are created using buggy software and cause such glpyh-not-found
    errors for CID 0 for example.
    
    Eventually we should propagate these kind of errors up and return it from
    the function call causing it, but that needs API change to add return value
    to all text functions, so for now we just ignore these errors.
    (cherry picked from commit 79d975f84bcc32e91db517d71a7312e2e1d653d4)

commit 2586f84493163e1c52f3b4910ba04b24f571943d
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Sep 17 16:41:52 2007 -0400

    =?utf-8?q?[ChangeLog.mk]=20Make=20make=20rule=20depend=20on=20.git/HEAD,=20not=20.git
    
    =20That=20is=20exactly=20what=20we=20want.=20=20Kristian=20H=C3=B8gsberg=20suggested=20it.
    =20(cherry=20picked=20from=20commit=2021ab44f11d3d20eead5d988c7a6cf48eebff08c7)?=
    MIME-Version: 1.0
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: 8bit

commit b1b364de1690b60f99818bbcb3d1f345653a046d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Sep 5 08:07:41 2007 +0100

    [cairo-ft-font] Early detection of a zero sized bitmap.
    
    Under rare circumstances we may need to extract a surface that
    represents a bitmap with width==0 and rows==0. Detect this case at the
    start and simply return a zero-sized surface.
    
    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=12284.
    (cherry picked from commit d62f8861689d8b9a9a837043fb78813f0407abd4)

commit 9975f52b2b335fe99f4293e4c3778bd9dbddcd03
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Wed Sep 5 22:53:43 2007 +0930

    Create meta-surface source image with same content type as the
    meta-surface
    (cherry picked from commit 1e21220f0e2540e3befa66e4764f75589d0eef82)

commit d281910ce937352e9763295ecf44553bff76a656
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Wed Sep 5 22:51:13 2007 +0930

    Eliminate unclipped CLEAR from meta-surface playback
    
    The optimization that avoids replaying commands prior to an unclipped
    CLEAR operation now starts playback from the first command after the
    CLEAR. This avoids the need to handle the unclipped CLEAR in the PDF
    surface.
    (cherry picked from commit 875e32178e5d990a09f3c41262d890888035f04f)

commit e09f0c91a3102bf3593a07f398a059ad9db8c4fe
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Sep 5 00:26:56 2007 -0400

    [configure.in] Fix non-pkgconfig Xrender detection path (#4724)
    (cherry picked from commit b85032584b32af968dc8d8a0fcfc9f3e1d2770a0)

commit bbf2e62edab2f57ac741ac77180ca516ddf431bb
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Tue Aug 28 23:40:18 2007 +0930

    Fix PDF gradients bug
    
    The PDF surface was adding extra stops at the 0.0 and 1.0 offset when
    there was not already stops at these offsets. This has been replaced
    with code to move the coordinates of the linear gradient line in to
    the position of the first and last offset.
    (cherry picked from commit 3216275fd9a9cd8d51b1c3a8671393912d50d899)

commit fb6f3a73f0a38c97f3b30da26d0484963e1f9620
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Wed Aug 29 12:52:00 2007 -0700

    [win32] call scaled_font_fini in create before returning NULL
    (cherry picked from commit bdc70d1fc2a31aa829571244c54f98210e97a2cf)

commit a368e14a4247f275187a4c1a408071fa97cc1f3b
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Aug 29 12:18:16 2007 -0400

    [configure.in] Make PS backend require zlib too (#12210)
    
    The PS backend uses zlib these days.  Make it depend on zlib being available
    like PDF has been doing.
    (cherry picked from commit 114b07881e8b09f97394dd4fe8f2900ee9f4c348)

commit 77a163f038b16ab2ea4423cb56141054e5d7e5b6
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Tue Aug 28 16:47:24 2007 -0700

    Fix previous create_similar fallback patch
    
    We can't use composite, as some backends don't implement it.
    Use paint() instead.
    (cherry picked from commit 93aee43690c329f43be9e7b840851267ceb17956)

commit 444feaff3eef72b341f7d0afbfe2832bee8b40f4
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Tue Aug 28 10:47:52 2007 -0700

    [win32] call free() and not scaled_font_destroy() if scaled init fails
    
    If scaled_font_destroy() is called, a deadlock can result; there's no
    reason to call destroy since the initialization failed (and, indeed,
    it might not be valid to do so anyway).
    (cherry picked from commit 6525d4debb6df67126b04609bb04d23d9c9bd7a6)

commit 0f2b17b5ee688dcfbdc7dcada94a227dd8c1fa56
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Mon Aug 27 16:30:52 2007 -0700

    Implement fallback for clone_similar
    (cherry picked from commit 69dae7ee4ace8a92226140ce5ccb690e7f62e35c)

commit 3cb8da2265c79038412b0c900e96374af69d2bc7
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Mon Aug 27 14:26:19 2007 -0700

    [win32] check correct surface for BitBlt support in get_subimage
    (cherry picked from commit f4a8633fce5262c09b323eef212fd6efe57d8f10)

commit cf5c67fe8b6ace3c503d0e4e13396a499a195ac9
Author: Carl Worth <cworth at cworth.org>
Date:   Tue Aug 21 10:03:00 2007 -0700

    Ensure the Render extension is initialized before calling XESetCloseDisplay
    
    This avoids a potential crash from the Render extension being cleaned
    up during XCloseDisplay before the cairo CloseDisplay hook goes on to
    call into XRenderFreePicture.
    (cherry picked from commit 9f4e6436496fe561aa124bb2b89e1c6711684d98)

commit ec9d145838ff815c62b1038fde8faf73599b530d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Aug 16 12:21:49 2007 +0100

    [cairo-ft-font] Decrement lock count on error.
    
    As noted in http://bugs.freedesktop.org/show_bug.cgi?id=12026 the error
    path of _cairo_ft_unscaled_font_lock_face() failed to reset the
    unscaled->lock_count before releasing the mutex and returning NULL.
    (cherry picked from commit bc635da45a32eb9b7aff6fa5f7f560ebf99092a8)

commit 9557625b7142ba8dd26de1d05a42cf3c9975c0fa
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Fri Aug 10 20:10:29 2007 +0930

    PDF: Fix regression in pdf_surface_set_size()
    (cherry picked from commit 8881265cca73790a49068b3bab5362cb73f8deb6)

commit 2db05c0bd90ea6a1be5b25cb894d6b12bdde998d
Author: Carl Worth <cworth at cworth.org>
Date:   Mon Aug 6 11:06:47 2007 -0700

    Ensure that a copied pattern gets its own user_data array
    
    This fixes the bug reported here:
    
    	Segfault with cairo_pattern_set_user_data
    	https://bugs.freedesktop.org/show_bug.cgi?id=11855
    (cherry picked from commit 13cae8b5e6d3fc93c4eb1853b91ba356b572b551)

commit 71ab8fc8ec2a777c6498f574ad6e461cc536505e
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sun Aug 5 00:50:23 2007 +0930

    PDF: Fix gradients regression
    (cherry picked from commit 72c1f5d802c32f97ae5c0cbf899dc3a12fc28222)

commit e4cf4abd3b952df7bbebc0e8e5e5c8f0ca896d9d
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Thu Aug 2 21:25:46 2007 +0930

    CFF Subsetting: fix integer encoding bug
    
    Bug report at https://bugzilla.mozilla.org/show_bug.cgi?id=368668
    (cherry picked from commit f52aa4c13e91339e575ca2c52c9e3a1f4d95b106)

commit 1786c05f6e4fb86ccf0360b6c5ed54ec0e2c1baa
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Tue Jun 19 13:15:21 2007 -0700

    [fix] Avoid int overflow when allocating large buffers
    
    This patch introduces three macros: _cairo_malloc_ab,
    _cairo_malloc_abc, _cairo_malloc_ab_plus_c and replaces various calls
    to malloc(a*b), malloc(a*b*c), and malloc(a*b+c) with them.  The macros
    return NULL if int overflow would occur during the allocation.  See
    CODING_STYLE for more information.
    (cherry picked from commit 5c7d2d14d78e4dfb1ef6d2c40f0910f177e07360)

commit cf0e1b8e8917224a5d546109685efacb9529e5b8
Author: Carl Worth <cworth at cworth.org>
Date:   Tue Nov 20 19:41:31 2007 -0800

    Update version to 1.4.11 after the 1.4.10 release



More information about the cairo-commit mailing list