From 9d032378848167e7dc9a66e4f8c5423abe3798c7 Mon Sep 17 00:00:00 2001 From: Dave Beckett Date: Mon, 8 Nov 2004 13:33:42 +0000 Subject: [PATCH] require libpixman 0.1.2 since src/cairo_glitz_surface.c depends on two new functions of 0.1.2 - pixman_format_get_masks and pixman_image_get_format --- ChangeLog | 226 ++------------------------------------------------- configure.in | 2 +- 2 files changed, 8 insertions(+), 220 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54e3a79eb..a9bf8e6e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-11-08 Dave Beckett + + * configure.in: require libpixman 0.1.2 since + src/cairo_glitz_surface.c depends on two new functions of 0.1.2 - + pixman_format_get_masks and pixman_image_get_format + 2004-11-05 Graydon Hoare * src/cairo_ft_font.c: Change the signs of a variety of @@ -606,225 +612,7 @@ trapezoids just by using offscreen drawing. (_cairo_gl_surface_create_similar): Inherit anti-aliasing properties. - * src/cairo_gstate.c (_cairo_gstate_create_pattern): Get solid color - from color stop components. - - * src/cairoint.h: Removed cairo color from color stop. - - * src/cairo_pattern.c: Added MULTIPLY_COLORCOMP macro. - (cairo_pattern_add_color_stop): Do not pre-multiply stop color. - (_cairo_pattern_calc_color_at_pixel): Multiply with alpha. - -2004-05-28 Carl Worth - - * These two fixes are from David Reveman : - - * src/cairo_surface.c (_cairo_surface_create_similar_scratch) - (_cairo_surface_create_similar_solid): Move NULL test from - create_similar_scratch to create_similar_solid. - - * src/cairo_font.c (_cairo_glyph_surface_init): Fix for when - surface->backend != image->backend, but the backend does use - images for similar surfaces. - -2004-05-28 Keith Packard - - * configure.in: - * src/Makefile.am: - Add WARN_CFLAGS, autodetection for 64/128 bit ints and - cairo_wideint.[ch] - - * src/cairo_gstate.c: (_cairo_gstate_show_glyphs): - Check status return from _cairo_gstate_glyph_extents - - * src/cairo_pattern.c: (_cairo_image_data_set_radial), - (_cairo_pattern_get_image): - * src/cairo_png_surface.c: (_cairo_png_surface_copy_page): - * src/cairo_surface.c: (_cairo_surface_composite): - Quiet compiler warnings about uninitialized variables - - * src/cairo_traps.c: (_det16_32), (_det32_64), - (_fixed_16_16_to_fixed_32_32), (_line_segs_intersect_ceil): - Switch to alternate exact line intersection code. - - * src/cairo_wideint.c: (_cairo_uint64_divrem), - (_cairo_uint32_to_uint64), (_cairo_int32_to_int64), - (_cairo_uint32s_to_uint64), (_cairo_uint64_add), - (_cairo_uint64_sub), (_cairo_uint32x32_64_mul), - (_cairo_uint64_mul), (_cairo_uint64_lsl), (_cairo_uint64_rsl), - (_cairo_uint64_rsa), (_cairo_uint64_lt), (_cairo_uint64_eq), - (_cairo_int64_lt), (_cairo_uint64_not), (_cairo_uint64_negate), - (_cairo_leading_zeros32), (_cairo_uint64x32_normalized_divrem), - (_cairo_int64_divrem), (_cairo_uint128_divrem), - (_cairo_uint32_to_uint128), (_cairo_int32_to_int128), - (_cairo_uint64_to_uint128), (_cairo_int64_to_int128), - (_cairo_uint128_add), (_cairo_uint128_sub), (uint64_lo), - (uint64_hi), (uint64_shift32), (_cairo_uint64x64_128_mul), - (_cairo_uint128_mul), (_cairo_uint128_lsl), (_cairo_uint128_rsl), - (_cairo_uint128_rsa), (_cairo_uint128_lt), (_cairo_int128_lt), - (_cairo_uint128_eq), (_cairo_uint128x64_normalized_divrem), - (_cairo_leading_zeros64), (_cairo_int128_negate), - (_cairo_int128_not), (_cairo_int128_divrem): - * src/cairo_wideint.h: - Add 64/128-bit wide integer arithmetic. - - * src/cairoint.h: - Switch to stdint.h types (and new wide types). - -2004-05-24 David Reveman - - * src/cairo.c (cairo_restore): Moved CAIRO_CHECK_SANITY below - declarations. - (cairo_current_font): Moved CAIRO_CHECK_SANITY below declarations. - - * src/cairoint.h: Added cairo_glyph_size_t, cairo_glyph_surface_t, - cairo_glyph_surface_node_t and cairo_glyph_cache_t. - Added font backend functions text_bbox, glyph_bbox and create_glyph. - Added source offset parameter to show_text and show_glyphs. - Added drawable parameter to backend function create_similar. - cairo_font_t now contains a glyph_cache pointer. - Added _cairo_font_text_bbox, _cairo_font_glyph_bbox, - _cairo_font_lookup_glyph and _cairo_surface_create_similar_scratch. - - * src/cairo_xlib_surface.c (_cairo_xlib_surface_create_similar): - (_cairo_xlib_surface_clone_similar): - Added drawable parameter to backend function create_similar. - - * src/cairo_xcb_surface.c (_cairo_xcb_surface_create_similar): - (_cairo_xcb_surface_clone_similar): - Added drawable parameter to backend function create_similar. - - * src/cairo_surface.c: Added _cairo_surface_create_similar_scratch. - Added drawable parameter to backend function create_similar. - - * src/cairo_ps_surface.c (_cairo_ps_surface_create_similar): - Added drawable parameter to backend function create_similar. - - * src/cairo_png_surface.c (_cairo_png_surface_create_similar): - Added drawable parameter to backend function create_similar. - - * src/cairo_image_surface.c (_cairo_image_surface_create_similar): - Added drawable parameter to backend function create_similar. - - * src/cairo_gstate.c (_cairo_gstate_show_text): Use new text - bounding box function. Pass pattern source offset to show_text. - (_cairo_gstate_show_glyphs): Use new text - bounding box function. Pass pattern source offset to show_glyps. - - * src/cairo_gl_surface.c (_cairo_gl_surface_create_similar): Added - drawable parameter to backend function create_similar. Use glitz's - new create similar interface. Support for read-only surfaces. - (_cairo_gl_surface_clone_similar): Added drawable parameter to - backend function create_similar. - - * src/cairo_ft_font.c: Use new glyph caching system. Added bounding box - font backend functions. - - * src/cairo_font.c: Added glyph caching system. Added bounding box - font backend functions. - (_cairo_font_init): Create new glyph cache. - (_cairo_font_copy): Take a reference to other fonts glyph cache. - (_cairo_font_show_text): - (_cairo_font_show_glyphs): Handle source offset. - (cairo_font_destroy): Destroy glyph cache. - -2004-05-20 Graydon Hoare - - * configure.in: Add sanity checking feature configury. - - * src/cairo-features.h.in: Add sanity checking feature. - - * src/cairo.c: Add sanity checking. - - * src/cairoint.h: Add prototypes. - - * src/cairo_fixed.c - (_cairo_fixed_is_integer): - (_cairo_fixed_integer_part): New functions. - - * src/cairo_matrix.c - (_cairo_matrix_is_integer_translation): New function. - - * src/cairo_gstate.c - (extract_transformed_rectangle): Use fixed functions. - (_cairo_gstate_clip): Arithmetic fixes. - (_cairo_gstate_clip_and_composite_trapezoids): - (_cairo_gstate_show_surface): - (_cairo_gstate_show_text): - (_cairo_gstate_show_glyphs): Corrections to clipping. - - * src/cairo_xlib_surface.c - (_cairo_xlib_surface_composite): Add XCopyArea fast path. - (_cairo_xlib_surface_set_clip_region): Drive clip to drawable. - -2004-05-17 Carl Worth - - * src/cairo.c (cairo_show_text): Do nothing when passed a NULL - string. - -2004-05-11 Øyvind Kolås - - * src/cairoint.h : changed CAIRO_FILTER_DEFAULT to CAIRO_FILTER_BEST - to make gradients easier. - -2004-05-11 David Reveman - - * src/cairo_pattern.c (_cairo_pattern_get_image): Removed - pattern_offset. - - * src/cairo_surface.c (_cairo_surface_create_pattern): Removed - pattern_offset. - - * src/cairo_gstate.c: Removed pattern_offset. - - * src/cairoint.h: Removed pattern_offset. - -2004-05-11 Carl Worth - - * configure.in: Increment CAIRO_VERSION to 0.1.23. - - * NEWS: Added notes for snapshot 0.1.23. - - * RELEASING: Add reminder to mention incompatible API changes in - NEWS. Re-order steps to avoid clobbering pre-existing tar - files. - -2004-05-11 Carl Worth - - * BUGS: Several people have reported that cairo_clip is not - working right now. And it's always been slow. - -2004-05-11 David Reveman - - * configure.in: Require glitz 0.1.2. - - * src/cairo_gl_surface.c: Added opacity attribute. Fixed broken - CAIRO_GL_COMPOSITE_TRAPEZOIDS_SUPPORT macro. - (_cairo_gl_surface_composite_trapezoids): Use polygon opacity. - (_cairo_gl_surface_create_pattern): Added surface pattern support. - (_cairo_gl_surface_create): Initialize opacity to 0xffff. - -2004-05-07 Carl Worth - - * src/cairo_ft_font.c (_utf8_to_ucs4): Bail on NULL utf8 string. - - * src/cairo_spline.c (_cairo_spline_add_point): Don't add two - consecutive, identical points when decomposing the spline, (which - was leading to an infinte loop in the stroke algorithm when it - found a slope of (0,0)). - -2004-05-04 Carl Worth - - * src/cairo_png_surface.c (cairo_png_surface_create): Move all - libpng-related code into copy_page. - (unpremultiply_data): Add missing unpremultiply step. - (_cairo_png_surface_copy_page): Move PNG output to copy_page. Add - support for A8 and A1 images. Remove time from header (we may want - to add it again later, but for now it messes up my test suite). - (_cairo_png_surface_destroy): Call copy_page if it hasn't been - called already. - (_cairo_png_surface_show_page): Add implementation. - (_cairo_png_surface_copy_page): Don't close a file we didn't open. + * src/cairo_gstate.c (_cairo_gstate_creat 2004-05-04 David Reveman diff --git a/configure.in b/configure.in index 31e70211d..e90780405 100644 --- a/configure.in +++ b/configure.in @@ -185,7 +185,7 @@ PKG_CHECK_MODULES(FONTCONFIG, fontconfig) CAIRO_CFLAGS="$CAIRO_CFLAGS $FONTCONFIG_CFLAGS" CAIRO_LIBS="$CAIRO_LIBS $FONTCONFIG_LIBS" -PKG_CHECK_MODULES(PIXMAN, libpixman >= 0.1.1) +PKG_CHECK_MODULES(PIXMAN, libpixman >= 0.1.2) CAIRO_CFLAGS="$CAIRO_CFLAGS $PIXMAN_CFLAGS" CAIRO_LIBS="$CAIRO_LIBS $PIXMAN_LIBS"