head 1.104; access; symbols rel-1-060:1.97 rel-1-053:1.94 rel-1-052:1.92 rel-1-045:1.73.2.5 rel-1-051:1.88 rel-1-044:1.73.2.2 stable-1-04:1.73.0.2 stable-1-02:1.43.2.8.0.2 rel-1-050:1.80 rel-1-043:1.73 rel-1-042:1.66 rel-1-041:1.62 rel-1-040:1.59 rel-1-023:1.43.2.8 rel-1-031:1.53 rel-1-022:1.43.2.6 rel-1-030:1.48 rel-1-021:1.43.2.3 stable-1-0:1.43.0.2 rel-1-02:1.43 rel-1-01:1.41 rel-1-00:1.38 rel-0-92:1.34 rel-0-91:1.30 rel-0-90:1.28 rel-0-04:1.24 rel-0-03:1.17 rel-0-02:1.13 rel-0-01:1.10; locks; strict; comment @# @; 1.104 date 2008.10.05.21.21.16; author tsch; state Exp; branches; next 1.103; commitid JtkkXu8cTCi42ult; 1.103 date 2008.10.05.19.59.40; author tsch; state Exp; branches; next 1.102; commitid jap73dqgVgT1Atlt; 1.102 date 2008.09.07.18.09.38; author tsch; state Exp; branches; next 1.101; commitid kd7G38J5lHn6SRht; 1.101 date 2008.09.06.19.22.51; author tsch; state Exp; branches; next 1.100; commitid kZPSvJNkzbRdjKht; 1.100 date 2008.09.06.18.43.32; author tsch; state Exp; branches; next 1.99; commitid qVo2igZWuRJJ5Kht; 1.99 date 2008.09.06.18.42.47; author tsch; state Exp; branches; next 1.98; commitid g8AvqfrXW1bu5Kht; 1.98 date 2008.06.01.14.37.11; author tsch; state Exp; branches; next 1.97; commitid nCwP7CL7T4mxQf5t; 1.97 date 2008.04.19.16.38.51; author tsch; state Exp; branches; next 1.96; commitid qdLnwgJc0XkWTJZs; 1.96 date 2008.04.19.16.13.10; author tsch; state Exp; branches; next 1.95; commitid tMRzZk4xF156LJZs; 1.95 date 2008.03.22.18.34.57; author tsch; state Exp; branches; next 1.94; commitid T6641I5t7NqAr9Ws; 1.94 date 2008.02.24.14.06.19; author tsch; state Exp; branches; next 1.93; commitid KRD7WP5Sa67ePESs; 1.93 date 2008.02.24.14.03.07; author tsch; state Exp; branches; next 1.92; commitid JzC4ZDgWgbH8OESs; 1.92 date 2008.02.12.20.18.08; author tsch; state Exp; branches; next 1.91; commitid z5CyKgtZofxIg9Rs; 1.91 date 2008.02.10.18.37.19; author tsch; state Exp; branches; next 1.90; commitid 0m0QlRl3ZIB7MSQs; 1.90 date 2008.02.10.18.36.33; author tsch; state Exp; branches; next 1.89; commitid DnXwZmbIx6KQLSQs; 1.89 date 2008.02.10.18.02.33; author tsch; state Exp; branches; next 1.88; commitid exEpQJuWqKTbASQs; 1.88 date 2008.01.07.17.57.44; author tsch; state Exp; branches; next 1.87; commitid Vym923GND9miEvMs; 1.87 date 2008.01.07.17.54.08; author tsch; state Exp; branches; next 1.86; commitid 9NaUzz0Vmmb3DvMs; 1.86 date 2008.01.07.17.41.01; author tsch; state Exp; branches; next 1.85; commitid eqd37OHbRZLyyvMs; 1.85 date 2008.01.07.17.34.54; author tsch; state Exp; branches; next 1.84; commitid PKbUdk2OMjwqwvMs; 1.84 date 2008.01.07.17.34.09; author tsch; state Exp; branches; next 1.83; commitid DgkkF7411CNcwvMs; 1.83 date 2008.01.07.17.13.33; author tsch; state Exp; branches; next 1.82; commitid e5wpYT9pIpG6pvMs; 1.82 date 2007.12.29.13.58.25; author tsch; state Exp; branches; next 1.81; commitid qlAU744klkx8CkLs; 1.81 date 2007.12.29.13.56.29; author tsch; state Exp; branches; next 1.80; commitid FWkjNvA6INSsBkLs; 1.80 date 2007.11.20.19.17.10; author tsch; state Exp; branches; next 1.79; commitid xCnL8AhfwvJcDlGs; 1.79 date 2007.11.20.19.11.15; author tsch; state Exp; branches; next 1.78; commitid iYjwNumGusG9BlGs; 1.78 date 2007.11.20.19.10.32; author tsch; state Exp; branches; next 1.77; commitid mpH4SCk3qGXUAlGs; 1.77 date 2007.10.24.16.32.05; author tsch; state Exp; branches; next 1.76; commitid n4jyLFAXsD0mARCs; 1.76 date 2007.10.24.16.15.23; author tsch; state Exp; branches; next 1.75; commitid UpUiCBrqHcWDuRCs; 1.75 date 2007.10.18.16.32.49; author tsch; state Exp; branches; next 1.74; commitid 8JL4vpV4joezM5Cs; 1.74 date 2007.10.14.18.03.42; author tsch; state Exp; branches; next 1.73; commitid VDYWUxA6toWCpABs; 1.73 date 2007.10.13.22.42.19; author tsch; state Exp; branches 1.73.2.1; next 1.72; commitid acrFVNwcFCbiZtBs; 1.72 date 2007.10.13.22.40.13; author tsch; state Exp; branches; next 1.71; commitid oICkCn4WGoJBYtBs; 1.71 date 2007.10.13.21.23.16; author tsch; state Exp; branches; next 1.70; commitid HNHsZaR17qW9ytBs; 1.70 date 2007.10.07.19.03.00; author tsch; state Exp; branches; next 1.69; commitid 8W8htx004tm1YGAs; 1.69 date 2007.10.07.13.11.58; author tsch; state Exp; branches; next 1.68; commitid Ozbp20I1ML5B1FAs; 1.68 date 2007.10.06.11.58.38; author tsch; state Exp; branches; next 1.67; commitid Bh8TFpM5EHqmEwAs; 1.67 date 2007.09.30.12.54.32; author tsch; state Exp; branches; next 1.66; commitid PfPFbmmBLvIy9Lzs; 1.66 date 2007.09.27.20.26.16; author tsch; state Exp; branches; next 1.65; commitid tVLvjPh9hBhwKpzs; 1.65 date 2007.09.27.20.23.40; author tsch; state Exp; branches; next 1.64; commitid wBLUAylKIxSCJpzs; 1.64 date 2007.09.09.19.56.20; author tsch; state Exp; branches; next 1.63; commitid zvcBotnuSO48a6xs; 1.63 date 2007.08.13.19.26.11; author tsch; state Exp; branches; next 1.62; 1.62 date 2007.05.27.12.37.43; author tsch; state Exp; branches; next 1.61; 1.61 date 2007.05.27.12.34.20; author tsch; state Exp; branches; next 1.60; 1.60 date 2007.05.13.10.58.05; author tsch; state Exp; branches; next 1.59; 1.59 date 2007.05.10.19.05.35; author tsch; state Exp; branches; next 1.58; 1.58 date 2007.05.10.19.04.16; author tsch; state Exp; branches; next 1.57; 1.57 date 2007.05.10.19.01.12; author tsch; state Exp; branches; next 1.56; 1.56 date 2007.05.06.11.54.01; author tsch; state Exp; branches; next 1.55; 1.55 date 2007.05.06.11.28.37; author tsch; state Exp; branches; next 1.54; 1.54 date 2007.03.17.16.13.32; author tsch; state Exp; branches; next 1.53; 1.53 date 2007.01.21.15.12.44; author tsch; state Exp; branches; next 1.52; 1.52 date 2007.01.21.15.09.07; author tsch; state Exp; branches; next 1.51; 1.51 date 2007.01.18.19.53.39; author tsch; state Exp; branches; next 1.50; 1.50 date 2007.01.05.21.01.47; author tsch; state Exp; branches; next 1.49; 1.49 date 2006.12.30.19.16.31; author tsch; state Exp; branches; next 1.48; 1.48 date 2006.12.28.19.12.17; author tsch; state Exp; branches; next 1.47; 1.47 date 2006.12.28.18.53.09; author tsch; state Exp; branches; next 1.46; 1.46 date 2006.11.23.19.09.12; author tsch; state Exp; branches; next 1.45; 1.45 date 2006.11.09.19.43.43; author tsch; state Exp; branches; next 1.44; 1.44 date 2006.11.09.19.37.15; author tsch; state Exp; branches; next 1.43; 1.43 date 2006.11.09.19.24.51; author tsch; state Exp; branches 1.43.2.1; next 1.42; 1.42 date 2006.11.09.18.44.49; author tsch; state Exp; branches; next 1.41; 1.41 date 2006.09.24.21.26.40; author tsch; state Exp; branches; next 1.40; 1.40 date 2006.09.24.21.13.15; author tsch; state Exp; branches; next 1.39; 1.39 date 2006.09.24.12.20.43; author tsch; state Exp; branches; next 1.38; 1.38 date 2006.09.04.15.38.05; author tsch; state Exp; branches; next 1.37; 1.37 date 2006.08.27.12.42.32; author tsch; state Exp; branches; next 1.36; 1.36 date 2006.08.20.18.33.22; author tsch; state Exp; branches; next 1.35; 1.35 date 2006.08.20.18.09.47; author tsch; state Exp; branches; next 1.34; 1.34 date 2006.08.15.14.06.47; author tsch; state Exp; branches; next 1.33; 1.33 date 2006.08.13.18.53.26; author tsch; state Exp; branches; next 1.32; 1.32 date 2006.08.11.18.51.45; author tsch; state Exp; branches; next 1.31; 1.31 date 2006.08.10.23.13.57; author tsch; state Exp; branches; next 1.30; 1.30 date 2006.08.10.18.27.31; author tsch; state Exp; branches; next 1.29; 1.29 date 2006.08.10.17.34.40; author tsch; state Exp; branches; next 1.28; 1.28 date 2006.07.15.16.05.17; author tsch; state Exp; branches; next 1.27; 1.27 date 2006.07.15.15.58.53; author tsch; state Exp; branches; next 1.26; 1.26 date 2006.07.15.14.41.11; author tsch; state Exp; branches; next 1.25; 1.25 date 2006.07.02.13.10.44; author tsch; state Exp; branches; next 1.24; 1.24 date 2006.06.15.21.08.28; author tsch; state Exp; branches; next 1.23; 1.23 date 2006.06.15.21.00.11; author tsch; state Exp; branches; next 1.22; 1.22 date 2006.06.14.18.20.23; author tsch; state Exp; branches; next 1.21; 1.21 date 2006.06.03.14.21.09; author tsch; state Exp; branches; next 1.20; 1.20 date 2006.05.14.13.43.10; author tsch; state Exp; branches; next 1.19; 1.19 date 2006.05.07.14.18.57; author tsch; state Exp; branches; next 1.18; 1.18 date 2006.05.07.14.17.39; author tsch; state Exp; branches; next 1.17; 1.17 date 2006.01.29.19.30.17; author tsch; state Exp; branches; next 1.16; commitid df943dd17c64567; 1.16 date 2006.01.29.19.27.21; author tsch; state Exp; branches; next 1.15; commitid c9b43dd17164567; 1.15 date 2006.01.28.17.36.37; author tsch; state Exp; branches; next 1.14; commitid 1abe43dbab9f4567; 1.14 date 2006.01.08.17.06.29; author tsch; state Exp; branches; next 1.13; commitid 64a343c146924567; 1.13 date 2005.08.31.22.32.09; author tsch; state Exp; branches; next 1.12; commitid 289d43162fe14567; 1.12 date 2005.08.31.22.00.15; author tsch; state Exp; branches; next 1.11; commitid 1704431628664567; 1.11 date 2005.08.18.11.22.55; author tsch; state Exp; branches; next 1.10; commitid 474443046f8b4567; 1.10 date 2005.08.15.18.59.17; author tsch; state Exp; branches; next 1.9; commitid 1ef4300e6004567; 1.9 date 2005.08.10.17.01.53; author tsch; state Exp; branches; next 1.8; commitid 55d042fa32fe4567; 1.8 date 2005.07.29.17.19.55; author tsch; state Exp; branches; next 1.7; commitid 3b1e42ea65374567; 1.7 date 2005.07.12.20.29.47; author tsch; state Exp; branches; next 1.6; commitid 758542d428324567; 1.6 date 2005.02.06.16.21.26; author rwmcfa1; state Exp; branches; next 1.5; 1.5 date 2005.01.20.16.35.08; author cworth; state Exp; branches; next 1.4; 1.4 date 2004.11.28.18.27.10; author rwmcfa1; state Exp; branches; next 1.3; 1.3 date 2004.11.12.03.26.34; author rwmcfa1; state Exp; branches; next 1.2; 1.2 date 2004.11.11.02.24.34; author rwmcfa1; state Exp; branches; next 1.1; 1.1 date 2004.11.09.02.59.43; author rwmcfa1; state Exp; branches; next ; 1.73.2.1 date 2007.11.20.20.01.07; author tsch; state Exp; branches; next 1.73.2.2; commitid aezRK0InoZjgSlGs; 1.73.2.2 date 2007.11.20.20.04.10; author tsch; state Exp; branches; next 1.73.2.3; commitid KdMQRhRqSq3hTlGs; 1.73.2.3 date 2007.12.29.14.03.52; author tsch; state Exp; branches; next 1.73.2.4; commitid 2Vxybvpfv0d0EkLs; 1.73.2.4 date 2007.12.29.14.04.13; author tsch; state Exp; branches; next 1.73.2.5; commitid fRZwcUidsTi7EkLs; 1.73.2.5 date 2008.01.07.18.07.06; author tsch; state Exp; branches; next 1.73.2.6; commitid yMHtRD3jKouvHvMs; 1.73.2.6 date 2008.02.10.17.58.01; author tsch; state Exp; branches; next 1.73.2.7; commitid 7VmjYVMLxmqDySQs; 1.73.2.7 date 2008.02.10.18.02.55; author tsch; state Exp; branches; next ; commitid rgBDU1m1GLMjASQs; 1.43.2.1 date 2006.11.09.19.36.16; author tsch; state Exp; branches; next 1.43.2.2; 1.43.2.2 date 2006.11.11.20.04.22; author tsch; state Exp; branches; next 1.43.2.3; 1.43.2.3 date 2006.11.11.20.07.55; author tsch; state Exp; branches; next 1.43.2.4; 1.43.2.4 date 2006.11.23.19.13.01; author tsch; state Exp; branches; next 1.43.2.5; 1.43.2.5 date 2006.12.30.19.17.05; author tsch; state Exp; branches; next 1.43.2.6; 1.43.2.6 date 2006.12.30.19.19.03; author tsch; state Exp; branches; next 1.43.2.7; 1.43.2.7 date 2007.01.05.21.02.49; author tsch; state Exp; branches; next 1.43.2.8; 1.43.2.8 date 2007.02.25.12.17.41; author tsch; state Exp; branches; next ; desc @@ 1.104 log @ * MakeHelper.pm: Use the correct enum type instead of int for the enum converters. @ text @2008-10-05 Torsten Schoenfeld * MakeHelper.pm: Use the correct enum type instead of int for the enum converters. 2008-10-05 Torsten Schoenfeld * Cairo.pm: * Cairo.xs: * CairoFont.xs: * CairoFt.xs: * CairoMatrix.xs: * CairoPath.xs: * CairoPattern.xs: * CairoSurface.xs: * MakeHelper.pm: * Makefile.PL: * cairo-perl-private.h: * cairo-perl.h: * cairo-perl.typemap: * examples/simple.pl: * t/Cairo.t: * t/CairoFont.t: * t/CairoFt.t: * t/CairoMatrix.t: * t/CairoPath.t: * t/CairoPattern.t: * t/CairoSurface.t: In preparation of the move to SVN, use the Id keyword in place of Header. 2008-09-07 Torsten Schoenfeld * Makefile.PL: When prompting for auto-installing dependencies, default to 'no' so that automatic testers with CPANPLUS.pm don't end up invoking CPAN.pm. (RT #38286) 2008-09-06 Torsten Schoenfeld * README: Fix the dependency versions for EU::Depends and EU::PkgConfig. * Cairo.pm: Mention http://cairographics.org/manual/ in the API documentation section. Fix a POD error. * Makefile.PL: Support the enum value CAIRO_FONT_TYPE_QUARTZ. (RT #34681) 2008-06-01 Torsten Schoenfeld * t/CairoSurface.t: Cairo::PsSurface->create can under certain conditions apparently return a surface that is not a PS surface. Handle this gracefully. (RT #33871) 2008-04-19 Torsten Schoenfeld * Cairo.pm * NEWS: Stable release 1.060. 2008-04-19 Torsten Schoenfeld * Cairo.pm: Add documentation for new API. 2008-03-22 Torsten Schoenfeld * Makefile.PL: Trap exceptions thrown by EU::PkgConfig->find. When one occurs, exit with status 0 to indicate to CPAN testers that their system isn't supported. 2008-02-24 Torsten Schoenfeld * Cairo.pm * NEWS: Unstable release 1.053. 2008-02-24 Torsten Schoenfeld * Cairo.pm * Cairo.xs * t/Cairo.t: Wrap cairo_has_current_point. 2008-02-12 Torsten Schoenfeld * Cairo.pm * NEWS: Unstable release 1.052. 2008-02-10 Torsten Schoenfeld * Cairo.xs * t/Cairo.t: Wrap cairo_path_extents. * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_format_stride_for_width. Adapt to API changes: cairo_surface_copy_page and cairo_surface_show_page don't return cairo_status_t anymore. * CairoPath.xs: Fix the tied interface for paths on perl 5.6, whose magic support was slightly broken. Also cleanup the tie code a bit. 2008-01-07 Torsten Schoenfeld * Cairo.pm * NEWS: Unstable release 1.051. 2008-01-07 Torsten Schoenfeld * Cairo.pm * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_surface_copy_page and cairo_surface_show_page. * Cairo.pm * Makefile.PL * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_ps_surface_restrict_to_level, cairo_ps_get_levels, and cairo_ps_level_to_string. * Cairo.pm * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_ps_surface_set_eps and cairo_ps_surface_get_eps. 2007-12-29 Torsten Schoenfeld * Cairo.xs * CairoFont.xs * CairoMatrix.xs * CairoSurface.xs: Use perl's New*/Safefree facilities instead of calloc/malloc/free as the latter aren't safe on some platforms, notably Win32. Patch by T.J. Ferraro. * t/CairoSurface.t: Mark the isa_ok test for PDF surfaces returned by create_similar() as TODO, since the returned surface's type is not reliable at this point. 2007-11-20 Torsten Schoenfeld * Cairo.pm * NEWS: Unstable release 1.050. 2007-11-20 Torsten Schoenfeld * Cairo.pm: Add entries for the various surfaces to the API listing. * Makefile.PL: Update the list of exported symbols. (Reported by spicy jack) 2007-10-24 Torsten Schoenfeld * t/CairoFont.t: Really don't use the hash-ref variant of the constant pragma this time. * Cairo.pm * Cairo.xs * CairoFt.xs * Makefile.PL * cairo-perl.h * cairo-perl.typemap * examples/freetype-font.pl * t/CairoFt.t: Add support for part of cairo's FreeType integration API. Currently, that's just Cairo::FtFontFace::create, which lets you create a cairo font face from a FreeType font face. 2007-10-18 Torsten Schoenfeld * t/Cairo.t * t/CairoPattern.t: When Test::Number::Delta is not available, skip the relevant tests instead of faking passes. (Suggested by Aristotle Pagaltzis) 2007-10-14 Torsten Schoenfeld * t/Cairo.t * t/CairoFont.t * t/CairoPath.t * t/CairoPattern.t * t/CairoSurface.t: Don't use the hash-ref variant of the constant pragma. It's not supported by the version that ships with perl 5.6. 2007-10-14 Torsten Schoenfeld * Cairo.pm * NEWS * README: Release 1.043. 2007-10-13 Torsten Schoenfeld * Makefile.PL: Use BEGIN { require 5.006; } instead of require v5.6.0. Make missing Test::Number::Delta non-fatal; add it to the build_requires META.yml field. * t/Cairo.t * t/CairoPattern.t: Cope with Test::Number::Delta being unavailable. 2007-10-07 Torsten Schoenfeld * Makefile.PL: Make EU::MM output configure_requires and no_index information when generating META.yml. * t/CairoSurface.t (PNG surface tests): Since exceptions are actually propagated now, throw the same kind of exception we test for. 2007-10-06 Torsten Schoenfeld * Makefile.PL: Require perl >= 5.6.0 for some features we use, like `our“. 2007-09-30 tsch * ppport.h * Cairo.xs * CairoPath.xs * CairoPattern.xs * CairoSurface.xs * MANIFEST * cairo-perl-private.h * cairo-perl.h: Add and use the portability header ppport.h from Devel::PPPort to hopefully fix compilation on older perls. 2007-09-27 tsch * Cairo.pm * NEWS * README: Stable release 1.042. 2007-09-27 tsch * Makefile.PL: Make missing prerequisites fatal. 2007-09-09 tsch * cairo-perl.typemap: Add const char * for backwards compatibility. 2007-08-13 tsch * doctypes: Add missing type names. 2007-05-27 tsch * Cairo.pm, NEWS, README: Stable release 1.041. 2007-05-27 tsch * t/CairoSurface.t: Use proper version checks to decide when to skip the create_for_stream tests. 2007-05-13 tsch * Makefile.PL, README, t/Cairo.t, t/CairoPattern.t: Use Test::Number::Delta to make floating point number comparisons more reliable. 2007-05-10 tsch * Cairo.pm, NEWS, README: Stable release 1.040. 2007-05-10 tsch * t/CairoSurface.t: For now, skip tests that make cairo crash. 2007-05-06 tsch * Cairo.pm: Document new API. Mark functions that were added after cairo 1.0. 2007-05-06 tsch * Cairo.xs * CairoPattern.xs * Makefile.PL * cairo-perl.h * t/Cairo.t * t/CairoPattern.t: Use 1.4.0 in version checks. * Cairo.xs: If CAIRO_PERL_DEBUG is true, call cairo_debug_reset_static_data at exit. 2007-03-17 tsch * Cairo.xs * t/Cairo.t: Wrap cairo_get_scaled_font. * CairoSurface.xs * t/CairoSurface.t: Re-add the binding for cairo_surface_finish. It was orignally removed because its effect can also be achieved by destroying the surface or letting it go out of scope. But Oleksandr Alex Protasenko convinced me that it's still a good idea to have it anyway, mainly for paginated surfaces like PDF and PS which defer rendering as long as they can. With $surf->finish you can more clearly express what you're intending to do than with $surf = undef. * examples/png-streams.pl: Fix indention. 2007-01-21 tsch * Cairo.pm, NEWS, README: Unstable release 1.031. 2007-01-21 tsch * Cairo.xs: Track upstream API change: cairo_get_dash_count returns the count directly; cairo_get_dash_count and cairo_get_dash don't return a status anymore. 2007-01-18 tsch * t/Cairo.t, Cairo.xs: Track upstream API improvement: cairo_copy_clip_rectangles -> cairo_copy_clip_rectangle_list. 2007-01-05 tsch * t/CairoSurface.t: Fix an endianness problem. 2006-12-30 tsch * MakeHelper.pm: Fix the valid-value lists in enum error messages. 2006-12-28 tsch * Cairo.pm, NEWS, README: Unstable release 1.030. 2006-12-28 tsch * Cairo.xs, cairo-perl.h, t/Cairo.t: Wrap and test cairo_copy_clip_rectangles and cairo_clip_extents. 2006-11-23 tsch * CairoSurface.xs, t/CairoSurface.t: Make Cairo::ImageSurface::get_data usable by specifying the buffer length. * MANIFEST, Makefile.PL, doctypes: Describe our types. * NEWS: Merge from stable-1-0. 2006-11-09 tsch * Cairo.xs, cairo-perl-private.h: Export cairo_perl_alloc_temp privately. * Cairo.xs: Remove the DOUBLES_ macros and inline them. They were used only in one place. * Cairo.xs, t/Cairo.t: Wrap cairo_get_dash. * CairoPattern.xs, cairo-perl-private.h, t/CairoPattern.t: Wrap cairo_pattern_get_rgba, cairo_pattern_get_surface, cairo_pattern_get_color_stop_rgba, cairo_pattern_get_points, and cairo_pattern_get_circles. * Makefile.PL: Support new cairo_status_t values. 2006-11-09 tsch * Cairo.pm, NEWS, README: Stable release 1.02. 2006-11-09 tsch * MakeHelper.pm, CairoSurface.t: When comparing enum values, look at length+1, not just length, bytes to discern string pairs like 'color' and 'color-alpha'. Duh! Many thanks to Martijn van Beers for finding this bug. 2006-09-24 tsch * Cairo.pm, NEWS: Stable release 1.01. 2006-09-24 tsch * t/CairoSurface.t: Skip the create_for_stream test for ps and pdf surfaces if cairo < 1.2.0. Earlier versions didn't handle errors correctly and thus caused too many tests. Also partly revert the previous change and instead do a conditional type check on surfaces create with create_similar. 2006-09-24 tsch * t/CairoSurface.t: Don't check the specific type of similar surfaces created from PS and PDF surfaces; it's not reliable. * xs/CairoSurface.xs: Cosmetical changes. 2006-09-04 tsch * Cairo.pm, NEWS, README: Stable release 1.00. 2006-08-27 tsch * Makefile.PL: Make EU::MM export our symbols on Win32. 2006-08-20 tsch * MakeHelper.pm: Revert the last commit which used real enum types instead of int; it broke compilation. Also alter the way unknown enum types are dealt with: don't declare and implement stub converters, just omit them. Still declare typemaps for them though, to make xsubpp happy. 2006-08-20 tsch * MakeHelper.pm: Add the infrastructure necessary to support protecting the enum related things with #ifdef, if needed. Also use the real enum types for the enum converters, instead of just int. 2006-08-15 tsch * Cairo.pm, MANIFEST, NEWS, README: Beta release 0.92. 2006-08-13 tsch * CairoSurface.xs (read_func_marshaller): Use POPs, SvPV, and sv_len instead of POPpx to avoid problems on perl 5.8.8 reported by Joe Smith and Alexey Tourbin. 2006-08-11 tsch * examples/png-streams.pl: New example that demonstrates how to use the PNG stream functions. * t/CairoSurface.t: Whitespace fix. 2006-08-11 tsch * CairoSurface.xs: Patch from Yaakov S puts version guards around a few PDF and PS functions that appeared in 1.2.0. * t/CairoSurface.t: Do the same for the corresponding tests. 2006-08-10 tsch * Cairo.pm, NEWS, README: Beta release 0.91. 2006-08-10 tsch * Cairo.xs, CairoFont.xs, CairoPattern.xs, CairoSurface.xs, MakeHelper.pm, Makefile.PL, cairo-perl-private.h, t/Cairo.t, t/CairoFont.t, t/CairoPattern.t, t/CairoSurface.t: Make it possible to compile and run the bindings against cairo 1.0.x. Use a package lookup table for patterns and surfaces to work around the lack of type accessors. Add version guards around things that were introduced in 1.2.0. * CairoSurface.xs: Use OUTLIST for cairo_surface_get_device_offset. * CairoPattern.xs, CairoSurface.xs, cairo-perl-private.h: Rename cair_perl_set_isa to cairo_perl_set_isa. Doh! * t/CairoSurface.t: Explicitly clear the image surface on cairo 1.0.x before writing it out since 1.0.x doesn't do it for us. Use lexical surface variables to make sure they get destroyed before execution ends which in turn makes sure all tests inside callbacks are run before Test::More checks if reality matches the test plan. 2006-07-15 tsch * Cairo.pm, NEWS, README: Beta release 0.90. 2006-07-15 tsch * Cairo.pm: Update existing, add new documentation. * TODO: Update. 2006-07-15 tsch * Cairo.xs: Remove Cairo::HAS_XLIB_SURFACE and HAS_FT_FONT. * Cairo.pm, Cairo.xs, CairoPattern.xs, CairoSurface.xs, cairo-perl-private.h: Add cairo_perl_set_isa and use it for surfaces and patterns. * CairoSurface.xs, Makefile.PL, cairo-perl.h, t/CairoSurface.t: Add support for svg surfaces if available. * t/CairoSurface.t: Remove TODO block and revert workaround related to the weird unknown surface types. It's been fixed upstream: https://bugs.freedesktop.org/show_bug.cgi?id=7322 2006/07/02 tsch * Makefile.PL: Require cairo 1.2.0. Add CAIRO_FORMAT_RGB16_565. * Cairo.pm, CairoFont.xs: Cosmetical changes. * Cairo.xs: Add Cairo::VERSION and Cairo::VERSION_ENCODE. * t/CairoSurface.t: Shuffle a few tests around to avoid some strange singularities. 2006/06/15 tsch * Cairo.pm, MANIFEST, NEWS, README: Release 0.04. 2006/06/15 tsch * t/CairoSurface.t: Wrap two tests that recently started failing in TODO blocks. 2006/06/14 tsch * Makefile.PL: Require cairo >= 1.1.8. * CairoSurface.xs, t/CairoSurface.t: Wrap and test cairo_surface_set_fallback_resolution, cairo_image_surface_get_data, cairo_image_surface_get_format, and cairo_image_surface_get_stride. Remove the wrappers and tests for cairo_pdf_surface_set_dpi and cairo_ps_surface_set_dpi. * t/CairoSurface.t: Test Cairo::ImageSurface::get_width and get_height. 2006/06/03 tsch * Cairo.pm: Document Cairo::get_group_target, Cairo::new_sub_path, Cairo::Pattern::get_type, Cairo::set_scaled_font, Cairo::version, and Cairo::version_string. * t/Cairo.t, Cairo.xs: Allow Cairo::version[_string] to be called as a function and as a class method. * CairoPattern.xs, CairoSurface.xs, t/CairoSurface.t, Makefile.PL, examples/simple.pl, examples/png/caps_joins.pl, examples/png/hering.pl: Whitespace fixes. * t/CairoSurface.t, CairoSurface.xs: Wrap cairo_surface_get_content. * MakeHelper.pm: Don't add a linebreak to croaks so perl prints line information. * Makefile.PL: Require cairo 1.1.7. * examples/png/README, examples/png/bevels.pl, examples/png/spline-pipeline.pl, examples/png/text-rotate.pl, examples/png/text.pl: New example ports. 2006/05/14 tsch * t/CairoSurface.t, CairoSurface.xs: Remove Cairo::Surface::finish; it's memory management related and not needed, as far as I can tell. Scream if you used it. * t/CairoSurface.t, CairoSurface.xs: Bind and test cairo_surface_write_to_png_stream, cairo_image_surface_create_from_png_stream, cairo_pdf_surface_create_for_stream, and cairo_ps_surface_create_for_stream. * CairoSurface.xs: Don't leak cairo_surface_create_similar's return value. * cairo-perl-private.h: Remove CAIRO_PERL_UNUSED. * cairo-perl-private.h, Cairo.xs, CairoFont.xs, CairoMatrix.xs, CairoPattern.xs: Rename pcairo_copy_matrix to cairo_perl_copy_matrix. * TODO: Update. 2006/05/07 tsch * .cvsignore, MANIFEST.SKIP: Update. * Cairo.pm: Update copyright notice. * MANIFEST, cairo-perl-private.h: Add a private header file for non-public declarations that are used in more than one place. * MakeHelper.pm: Improve the enum converters to produce more useful error messages. * Makefile.PL: Incorporate a slightly modified patch from Christopher Oezbek to prompt the user if he wants to install EU::Depends and EU::PkgConfig if they can't be found. Require cairo >= 1.1.6. Update and rearrange enums. * cairo-perl.h, Cairo.xs: Move CAIRO_PERL_CALL_BOOT to Cairo.xs. * cairo-perl.h, CairoSurface.xs, CairoPattern.xs, Makefile.PL: Use cairo_surface_get_type and cairo_pattern_get_type to redo the sub-type handling for surfaces and patterns. * cairo-perl-private.h, Cairo.xs, CairoMatrix.xs, CairoPattern.xs: Add pcairo_copy_matrix and use it all over the place to make matrix handling more robust. * Cairo.xs, t/Cairo.t: Wrap cairo_version, cairo_version_string, cairo_push_group, cairo_push_group_with_content, cairo_pop_group, cairo_pop_group_to_source, cairo_new_sub_path, cairo_set_scaled_font, and cairo_get_group_target. * CairoFont.xs, t/CairoFont.t: Wrap cairo_font_face_get_type, cairo_scaled_font_get_type, cairo_scaled_font_text_extents, cairo_scaled_font_get_font_face, cairo_scaled_font_get_font_matrix, cairo_scaled_font_get_ctm, and cairo_scaled_font_get_font_options. * CairoPattern.xs, t/CairoPattern.t: Wrap cairo_pattern_get_type. * CairoSurface.xs, t/CairoSurface.t: Wrap cairo_surface_get_device_offset, cairo_surface_get_type, cairo_pdf_surface_set_size, cairo_ps_surface_set_dpi, cairo_ps_surface_set_size, cairo_ps_surface_dsc_comment, cairo_ps_surface_dsc_begin_setup, and cairo_ps_surface_dsc_begin_setup. 2006/01/29 tsch * Cairo.pm, NEWS, README: Release 0.03. 2006/01/29 tsch * Cairo.pm, CairoPattern.xs, Makefile.PL, cairo-perl.h, t/CairoPattern.t: Add Cairo::SolidPattern::create_rgb and create_rgba. 2006/01/28 tsch * Cairo.pm: Add documentation for Cairo::Context, paths, patterns, transformations, and text. 2006/01/08 tsch * Cairo.pm: Make DynaLoader export all our symbols. * Cairo.xs, MakeHelper.pm, Makefile.PL, cairo-perl.h: Revamp the type conversion API. Instead of implementing everything in the typemap, we now have macros like newSVCairoPattern and SvCairoPattern. These get exported, so other modules can make use of them. * cairo-perl.h: Remove the DBG macro. * cairo-perl.typemap: Use T_UV instead of T_IV for cairo_bool_t. 2005/09/01 tsch * Cairo.pm, MANIFEST, Makefile.PL, NEWS, README: Release 0.02. Require cairo 1.0.0. 2005/08/31 tsch * MakeHelper.pm, Makefile.PL: Surround our _noinc typedefs for the PS and PDF backends with appropriate ifdefs to fix compilation when these backends were not installed with cairo. 2005/08/18 tsch * Cairo.pm: Fix incorrect package line that read GStreamer instead of Cairo. 2005/08/15 tsch * Cairo.pm, README: Release 0.01. Also add stub documentation. * MANIFEST.SKIP: Remove CairoEnums.xs. * Makefile.PL: Add ABSTRACT_FROM to the WriteMakefile call. * TODO: Update to reflect the present situation. 2005/08/10 tsch * t/Cairo.t, Cairo.xs: Bind cairo_set_antialias and cairo_get_antialias. * t/CairoSurface.t, CairoSurface.xs: Bind cairo_surface_flush, cairo_surface_mark_dirty, cairo_surface_mark_dirty_rectangle. * MANIFEST, META.yml: Remove META.yml; let EU::MakeMaker generate it on "make dist". * Makefile.PL: Require cairo 0.9.0. Add our prerequisites to the WriteMakefile call so that they appear in the generated META.yml. Support CAIRO_STATUS_FILE_NOT_FOUND. 2005/07/29 tsch * t/Cairo.t, xs/Cairo.xs: Wrap cairo_get_font_options. * t/CairoFont.t, xs/CairoFont.xs: Wrap cairo_font_face_status, cairo_scaled_font_status, cairo_font_options_*. Update cairo_scaled_font_create. * t/CairoSurface.t, CairoSurface.xs: Wrap cairo_surface_status, cairo_surface_get_font_options. * Makefile.PL: Wrap the new cairo_font_options_t stuff. * Makefile.PL: Require cairo 0.6.0. Add new and update the old enums. Install all files necessary for other modules to use Cairo. * cairo-perl.typemap: Add a cairo_bool_t typemap. 2005/07/12 tsch * Cairo.pm, Cairo.xs, t/Cairo.t: Replace the %backends hash with Cairo::HAS_PS_SURFACE, HAS_PDF_SURFACE, HAS_XLIB_SURFACE, HAS_FT_FONT and HAS_PNG_FUNCTIONS. * Cairo.pm, CairoPattern.xs, CairoSurface.xs, Makefile.PL: Implement the pattern and surface hierarchy suggested by the language bindings guidelines. * Cairo.xs: Use Cairo::Context for the namespace of cairo_t, instead of just Cairo, as suggested by the guidelines. * Cairo.xs, CairoFont.xs, CairoMatrix.xs, CairoPattern.xs, CairoSurface.xs, cairo-perl.h: Add new, remove old API. Shuffle some things around. * Cairo.xs: Convert font and text extents and glyphs to and from native Perl data structures. * Cairo.xs, cairo-perl.h, cairo-perl.typemap: Remove everything that cannot be used from Perl, like the XLib and Glitz stuff. * CairoPath.xs, t/CairoPath.t: Add support for cairo_path_t, including a nice tied interface that lets you iterate over paths as if they were normal array references. * MakeHelper.pm: Extend the typemap generator to support "const" and "_noinc" types. Change the enum handling to use the Glib convention, i.e. lowercase and hyphen instead of underscore. * Makefile.PL, README: Use ExtUtils::Depends. * examples/simple.pl, examples/png/caps_join.pl, examples/png/hering.pl, examples/png/outline.pl, examples/png/spiral.pl, examples/png/splines_tolerance.pl, examples/png/stars.pl: Update the examples to make them work again after all those API changes. * t/Cairo.t, t/CairoFont.t, CairoMatrix.t, CairoPattern.t, CairoSurface.t: Redo and/or expand the whole test suite. 2005/02/06 11:18 (-0500) rwmcfa1 * CairoSurface.xs: fixed a bug in wrapping of cairo_surface_xlib_create where the return value wasn't being caught in RETVAL. thank you -Wall -W * cairo-perl.h: wrapped new includes (prev log msg) in #ifdef HAS's so that we can build on systems where no all backends are supported. XS code already supports this. 2005-01-20 Carl Worth * cairo-perl.h: Track split-up of cairo.h. 2004/11/28 13:20 (-0500) rwmcfa1 * Makefile.PL, MakeHelper.pm: initial import of MakeHelper, mess of code moved out of Makefile.PL into it. beginning of cleaning all that up. File::Spec now used. * examples/png/*: initial import of port of cairo-demo/png examples, except text. * META.yml: unknown version * MANIFEST, MANIFEST.SKIP: updates 2004/11/11 22:10 (-0500) rwmcfa1 * t/CairoMatrix.t, t/CairoPattern.t, t/CairoSurface.t: initial import, 95% complete tests * Cairo.xs, CairoMatrix.xs, CairoSurface.xs, CairoPattern.xs: no more new's, not really a good idea. * CairoFont.xs: all disabled for now * CairoMatrix.xs: copy, multiply, and transforms fixed while doing tests * CairoPattern.xs: get_matrix fixed whlie doing tests * CairoSurface.xs: cleaned up the namespace problems herein. fixed several output funcs. * MANIFEST: added TODO and new tests. * MANIFEST.SKIP: skip CairoEnums.xs * t/Cairo.t: no new test, change Surface stuff due to namespace above 2004/11/10 21:08 (-0500) rwmcfa1 * TODO: initial import * Cairo.pm, Cairo.xs: added %backends facility * Cario.xs, CairoSurface.xs: stuff moved out of Cairo.xs that belonged here * Cairo.xs: fixed some OUTLIST stuff (IN_OUTLIST.) cairo_current_matrix fixed. * CairoPattern.xs: added class param to create_for_surface * Makefile.PL: seperated structs out of objects. add refs to object typemaps OUTPUT sections. don't return full strings for OUTPUT enum types. * cairo-perl.h: don't need stdio.h * t/Cairo.t: test most all of cairo type. 90% done. 2004/11/08 20:44 (-0500) rwmcfa1 * Cairo.xs, CairoMatrix.xs, CairoPattern.xs, CairoSurface.xs: all of the create functions have been cleaned up/fixed. debug prints removed. create's alised to new's where appropriate. * MANIFEST, MANIFEST.SKIP: ChangeLog added. build and CVS skipped * Makefile.PL, cairo-perl.h, Cairo.xs: new (write_)boot code added, in progress. use build dir for most of autogen'd stuff @ 1.103 log @In preparation of the move to SVN, use the Id keyword in place of Header. @ text @d3 5 @ 1.102 log @ * Makefile.PL: When prompting for auto-installing dependencies, default to 'no' so that automatic testers with CPANPLUS.pm don't end up invoking CPAN.pm. (RT #38286) @ text @d1 25 @ 1.101 log @ * README: Fix the dependency versions for EU::Depends and EU::PkgConfig. @ text @d1 6 @ 1.100 log @ * Cairo.pm: Mention http://cairographics.org/manual/ in the API documentation section. Fix a POD error. @ text @d3 3 @ 1.99 log @ * Makefile.PL: Support the enum value CAIRO_FONT_TYPE_QUARTZ. (RT #34681) @ text @d3 3 @ 1.98 log @ * t/CairoSurface.t: Cairo::PsSurface->create can under certain conditions apparently return a surface that is not a PS surface. Handle this gracefully. (RT #33871) @ text @d1 5 @ 1.97 log @ * Cairo.pm * NEWS: Stable release 1.060. @ text @d1 6 @ 1.96 log @ * Cairo.pm: Add documentation for new API. @ text @d3 5 @ 1.95 log @ * Makefile.PL: Trap exceptions thrown by EU::PkgConfig->find. When one occurs, exit with status 0 to indicate to CPAN testers that their system isn't supported. @ text @d1 4 @ 1.94 log @ * Cairo.pm * NEWS: Unstable release 1.053. @ text @d1 6 @ 1.93 log @ * Cairo.pm * Cairo.xs * t/Cairo.t: Wrap cairo_has_current_point. @ text @d4 5 @ 1.92 log @ * Cairo.pm * NEWS: Unstable release 1.052. @ text @d1 6 @ 1.91 log @ * Cairo.xs * t/Cairo.t: Wrap cairo_path_extents. @ text @d1 5 @ 1.90 log @ * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_format_stride_for_width. Adapt to API changes: cairo_surface_copy_page and cairo_surface_show_page don't return cairo_status_t anymore. @ text @d3 3 @ 1.89 log @ * CairoPath.xs: Fix the tied interface for paths on perl 5.6, whose magic support was slightly broken. Also cleanup the tie code a bit. @ text @d3 5 @ 1.88 log @ * Cairo.pm * NEWS: Unstable release 1.051. @ text @d1 6 @ 1.87 log @ * Cairo.pm * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_surface_copy_page and cairo_surface_show_page. * Cairo.pm * Makefile.PL * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_ps_surface_restrict_to_level, cairo_ps_get_levels, and cairo_ps_level_to_string. * Cairo.pm * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_ps_surface_set_eps and cairo_ps_surface_get_eps. @ text @d4 5 @ 1.86 log @ * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_ps_surface_set_eps and cairo_ps_surface_get_eps. @ text @d3 1 d8 1 d14 1 @ 1.85 log @Forgot the Makefile.PL changes. @ text @d12 4 @ 1.84 log @ * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_ps_surface_restrict_to_level, cairo_ps_get_levels, and cairo_ps_level_to_string. @ text @d7 1 @ 1.83 log @ * CairoSurface.xs * t/CairoSurface.t: Wrap cairo_surface_copy_page and cairo_surface_show_page. @ text @d7 4 @ 1.82 log @ * t/CairoSurface.t: Mark the isa_ok test for PDF surfaces returned by create_similar() as TODO, since the returned surface's type is not reliable at this point. @ text @d1 6 @ 1.81 log @ * Cairo.xs * CairoFont.xs * CairoMatrix.xs * CairoSurface.xs: Use perl's New*/Safefree facilities instead of calloc/malloc/free as the latter aren't safe on some platforms, notably Win32. Patch by T.J. Ferraro. @ text @d10 4 @ 1.80 log @ * Cairo.pm * NEWS: Unstable release 1.050. @ text @d1 9 @ 1.79 log @ * Cairo.pm: Add entries for the various surfaces to the API listing. @ text @d3 5 @ 1.78 log @ * Makefile.PL: Update the list of exported symbols. (Reported by spicy jack) @ text @d3 3 @ 1.77 log @ * Cairo.pm * Cairo.xs * CairoFt.xs * Makefile.PL * cairo-perl.h * cairo-perl.typemap * examples/freetype-font.pl * t/CairoFt.t: Add support for part of cairo's FreeType integration API. Currently, that's just Cairo::FtFontFace::create, which lets you create a cairo font face from a FreeType font face. @ text @d1 5 @ 1.76 log @ * t/CairoFont.t: Really don't use the hash-ref variant of the constant pragma this time. @ text @d6 12 @ 1.75 log @ * t/Cairo.t * t/CairoPattern.t: When Test::Number::Delta is not available, skip the relevant tests instead of faking passes. (Suggested by Aristotle Pagaltzis) @ text @d1 5 @ 1.74 log @ * t/Cairo.t * t/CairoFont.t * t/CairoPath.t * t/CairoPattern.t * t/CairoSurface.t: Don't use the hash-ref variant of the constant pragma. It's not supported by the version that ships with perl 5.6. @ text @d1 7 @ 1.73 log @ * Cairo.pm * NEWS * README: Release 1.043. @ text @d3 10 @ 1.73.2.1 log @ * Cairo.pm: Add entries for the various surfaces to the API listing. * Makefile.PL: Update the list of exported symbols. (Reported by spicy jack) * t/Cairo.t * t/CairoPattern.t: When Test::Number::Delta is not available, skip the relevant tests instead of faking passes. (Suggested by Aristotle Pagaltzis) * t/Cairo.t * t/CairoFont.t * t/CairoPath.t * t/CairoPattern.t * t/CairoSurface.t: Don't use the hash-ref variant of the constant pragma. It's not supported by the version that ships with perl 5.6. @ text @a0 23 2007-11-20 Torsten Schoenfeld Merge from HEAD: * Cairo.pm: Add entries for the various surfaces to the API listing. * Makefile.PL: Update the list of exported symbols. (Reported by spicy jack) * t/Cairo.t * t/CairoPattern.t: When Test::Number::Delta is not available, skip the relevant tests instead of faking passes. (Suggested by Aristotle Pagaltzis) * t/Cairo.t * t/CairoFont.t * t/CairoPath.t * t/CairoPattern.t * t/CairoSurface.t: Don't use the hash-ref variant of the constant pragma. It's not supported by the version that ships with perl 5.6. @ 1.73.2.2 log @ * Cairo.pm * NEWS: Stable release 1.044. @ text @a2 5 * Cairo.pm * NEWS: Stable release 1.044. 2007-11-20 Torsten Schoenfeld @ 1.73.2.3 log @ * Cairo.xs * CairoFont.xs * CairoMatrix.xs * CairoSurface.xs: Use perl's New*/Safefree facilities instead of calloc/malloc/free as the latter aren't safe on some platforms, notably Win32. Patch by T.J. Ferraro. @ text @a0 11 2007-12-29 Torsten Schoenfeld Merge from HEAD: * Cairo.xs * CairoFont.xs * CairoMatrix.xs * CairoSurface.xs: Use perl's New*/Safefree facilities instead of calloc/malloc/free as the latter aren't safe on some platforms, notably Win32. Patch by T.J. Ferraro. @ 1.73.2.4 log @ * t/CairoSurface.t: Mark the isa_ok test for PDF surfaces returned by create_similar() as TODO, since the returned surface's type is not reliable at this point. @ text @a11 4 * t/CairoSurface.t: Mark the isa_ok test for PDF surfaces returned by create_similar() as TODO, since the returned surface's type is not reliable at this point. @ 1.73.2.5 log @ * Cairo.pm * NEWS: Stable release 1.045. @ text @a0 5 2008-01-07 Torsten Schoenfeld * Cairo.pm * NEWS: Stable release 1.045. @ 1.73.2.6 log @ * Cairo.pm: Fix POD for Cairo::SvgSurface::get_versions and version_to_string. @ text @a0 7 2008-02-10 Torsten Schoenfeld Merge from HEAD: * Cairo.pm: Fix POD for Cairo::SvgSurface::get_versions and version_to_string. @ 1.73.2.7 log @ * CairoPath.xs: Fix the tied interface for paths on perl 5.6, whose magic support was slightly broken. Also cleanup the tie code a bit. @ text @a7 4 * CairoPath.xs: Fix the tied interface for paths on perl 5.6, whose magic support was slightly broken. Also cleanup the tie code a bit. @ 1.72 log @Fix typo. @ text @d1 6 @ 1.71 log @ * Makefile.PL: Use BEGIN { require 5.006; } instead of require v5.6.0. Make missing Test::Number::Delta non-fatal; add it to the build_requires META.yml field. * t/Cairo.t * t/CairoPattern.t: Copy with Test::Number::Delta being unavailable. @ text @d8 1 a8 1 * t/CairoPattern.t: Copy with Test::Number::Delta being @ 1.70 log @ * Makefile.PL: Make EU::MM output configure_requires and no_index information when generating META.yml. @ text @d1 10 @ 1.69 log @ * t/CairoSurface.t (PNG surface tests): Since exceptions are actually propagated now, throw the same kind of exception we test for. @ text @d3 3 @ 1.68 log @ * Makefile.PL: Require perl >= 5.6.0 for some features we use, like `our“. @ text @d1 6 @ 1.67 log @ * ppport.h * Cairo.xs * CairoPath.xs * CairoPattern.xs * CairoSurface.xs * MANIFEST * cairo-perl-private.h * cairo-perl.h: Add and use the portability header ppport.h from Devel::PPPort to hopefully fix compilation on older perls. @ text @d1 5 @ 1.66 log @ * Cairo.pm * NEWS * README: Stable release 1.042. @ text @d1 12 @ 1.65 log @ * Makefile.PL: Make missing prerequisites fatal. @ text @d3 6 @ 1.64 log @ * cairo-perl.typemap: Add const char * for backwards compatibility. @ text @d1 4 @ 1.63 log @ * doctypes: Add missing type names. @ text @d1 5 @ 1.62 log @ * Cairo.pm, NEWS, README: Stable release 1.041. @ text @d1 4 @ 1.61 log @ * t/CairoSurface.t: Use proper version checks to decide when to skip the create_for_stream tests. @ text @d3 4 @ 1.60 log @ * Makefile.PL, README, t/Cairo.t, t/CairoPattern.t: Use Test::Number::Delta to make floating point number comparisons more reliable. @ text @d1 5 @ 1.59 log @Fix typo. @ text @d1 6 @ 1.58 log @ * Cairo.pm, NEWS, README: Stable release 1.400. @ text @d3 1 a3 1 * Cairo.pm, NEWS, README: Stable release 1.400. @ 1.57 log @ * t/CairoSurface.t: For now, skip tests that make cairo crash. @ text @d3 4 @ 1.56 log @ * Cairo.pm: Document new API. Mark functions that were added after cairo 1.0. @ text @d1 4 @ 1.55 log @ * Cairo.xs * CairoPattern.xs * Makefile.PL * cairo-perl.h * t/Cairo.t * t/CairoPattern.t: Use 1.4.0 in version checks. * Cairo.xs: If CAIRO_PERL_DEBUG is true, call cairo_debug_reset_static_data at exit. @ text @d3 5 @ 1.54 log @ * Cairo.xs * t/Cairo.t: Wrap cairo_get_scaled_font. * CairoSurface.xs * t/CairoSurface.t: Re-add the binding for cairo_surface_finish. It was orignally removed because its effect can also be achieved by destroying the surface or letting it go out of scope. But Oleksandr Alex Protasenko convinced me that it's still a good idea to have it anyway, mainly for paginated surfaces like PDF and PS which defer rendering as long as they can. With $surf->finish you can more clearly express what you're intending to do than with $surf = undef. * examples/png-streams.pl: Fix indention. @ text @d1 12 @ 1.53 log @ * Cairo.pm, NEWS, README: Unstable release 1.031. @ text @d1 17 @ 1.52 log @ * Cairo.xs: Track upstream API change: cairo_get_dash_count returns the count directly; cairo_get_dash_count and cairo_get_dash don't return a status anymore. @ text @d3 4 @ 1.51 log @ * t/Cairo.t, Cairo.xs: Track upstream API improvement: cairo_copy_clip_rectangles -> cairo_copy_clip_rectangle_list. @ text @d1 6 @ 1.50 log @ * t/CairoSurface.t: Fix an endianness problem. @ text @d1 5 @ 1.49 log @ * MakeHelper.pm: Fix the valid-value lists in enum error messages. @ text @d1 4 @ 1.48 log @ * Cairo.pm, NEWS, README: Unstable release 1.030. @ text @d1 4 @ 1.47 log @ * Cairo.xs, cairo-perl.h, t/Cairo.t: Wrap and test cairo_copy_clip_rectangles and cairo_clip_extents. @ text @d3 4 @ 1.46 log @ * CairoSurface.xs, t/CairoSurface.t: Make Cairo::ImageSurface::get_data usable by specifying the buffer length. * MANIFEST, Makefile.PL, doctypes: Describe our types. * NEWS: Merge from stable-1-0. @ text @d1 5 @ 1.45 log @ * Cairo.xs, cairo-perl-private.h: Export cairo_perl_alloc_temp privately. * Cairo.xs: Remove the DOUBLES_ macros and inline them. They were used only in one place. * Cairo.xs, t/Cairo.t: Wrap cairo_get_dash. * CairoPattern.xs, cairo-perl-private.h, t/CairoPattern.t: Wrap cairo_pattern_get_rgba, cairo_pattern_get_surface, cairo_pattern_get_color_stop_rgba, cairo_pattern_get_points, and cairo_pattern_get_circles. * Makefile.PL: Support new cairo_status_t values. @ text @d1 10 @ 1.44 log @Fix typo. @ text @d3 17 @ 1.43 log @ * Cairo.pm, NEWS, README: Stable release 1.01. @ text @d3 1 a3 1 * Cairo.pm, NEWS, README: Stable release 1.01. @ 1.43.2.1 log @Fix typo. @ text @d3 1 a3 1 * Cairo.pm, NEWS, README: Stable release 1.02. @ 1.43.2.2 log @ * t/CairoSurface.t: Skip content tests on old cairo's. @ text @a0 4 2006-11-11 tsch * t/CairoSurface.t: Skip content tests on old cairo's. @ 1.43.2.3 log @ * Cairo.pm, NEWS, README: Brown paper bag release 1.021. @ text @a2 4 * Cairo.pm, NEWS, README: Brown paper bag release 1.021. 2006-11-11 tsch @ 1.43.2.4 log @ * CairoSurface.xs, t/CairoSurface.t: Make Cairo::ImageSurface::get_data usable by specifying the buffer length. @ text @a0 8 2006-11-23 tsch Merge from HEAD: * CairoSurface.xs, t/CairoSurface.t: Make Cairo::ImageSurface::get_data usable by specifying the buffer length. @ 1.43.2.5 log @ * MakeHelper.pm: Fix the valid-value lists in enum error messages. @ text @a0 6 2006-12-30 tsch Merge from HEAD: * MakeHelper.pm: Fix the valid-value lists in enum error messages. @ 1.43.2.6 log @ * Cairo.pm, NEWS, README: Stable release 1.022. @ text @a2 4 * Cairo.pm, NEWS, README: Stable release 1.022. 2006-12-30 tsch @ 1.43.2.7 log @ * t/CairoSurface.t: Fix an endianness problem. @ text @a0 6 2007-01-05 tsch Merge from HEAD: * t/CairoSurface.t: Fix an endianness problem. @ 1.43.2.8 log @ * Cairo.pm, NEWS, README: Stable release 1.023. @ text @a0 4 2007-02-25 tsch * Cairo.pm, NEWS, README: Stable release 1.023. @ 1.42 log @ * MakeHelper.pm, CairoSurface.t: When comparing enum values, look at length+1, not just length, bytes to discern string pairs like 'color' and 'color-alpha'. Duh! Many thanks to Martijn van Beers for finding this bug. @ text @d3 4 @ 1.41 log @ * Cairo.pm, NEWS: Stable release 1.01. @ text @d1 7 @ 1.40 log @ * t/CairoSurface.t: Skip the create_for_stream test for ps and pdf surfaces if cairo < 1.2.0. Earlier versions didn't handle errors correctly and thus caused too many tests. Also partly revert the previous change and instead do a conditional type check on surfaces create with create_similar. @ text @d3 4 @ 1.39 log @ * t/CairoSurface.t: Don't check the specific type of similar surfaces created from PS and PDF surfaces; it's not reliable. * xs/CairoSurface.xs: Cosmetical changes. @ text @d3 8 @ 1.38 log @ * Cairo.pm, NEWS, README: Stable release 1.00. @ text @d1 7 @ 1.37 log @ * Makefile.PL: Make EU::MM export our symbols on Win32. @ text @d1 4 @ 1.36 log @ * MakeHelper.pm: Revert the last commit which used real enum types instead of int; it broke compilation. Also alter the way unknown enum types are dealt with: don't declare and implement stub converters, just omit them. Still declare typemaps for them though, to make xsubpp happy. @ text @d1 4 @ 1.35 log @ * MakeHelper.pm: Add the infrastructure necessary to support protecting the enum related things with #ifdef, if needed. Also use the real enum types for the enum converters, instead of just int. @ text @d3 8 @ 1.34 log @ * Cairo.pm, MANIFEST, NEWS, README: Beta release 0.92. @ text @d1 7 @ 1.33 log @ * CairoSurface.xs (read_func_marshaller): Use POPs, SvPV, and sv_len instead of POPpx to avoid problems on perl 5.8.8 reported by Joe Smith and Alexey Tourbin. @ text @d1 4 @ 1.32 log @ * examples/png-streams.pl: New example that demonstrates how to use the PNG stream functions. * t/CairoSurface.t: Whitespace fix. @ text @d1 6 @ 1.31 log @ * CairoSurface.xs: Patch from Yaakov S puts version guards around a few PDF and PS functions that appeared in 1.2.0. * t/CairoSurface.t: Do the same for the corresponding tests. @ text @d3 7 @ 1.30 log @ * Cairo.pm, NEWS, README: Beta release 0.91. @ text @d1 7 @ 1.29 log @ * Cairo.xs, CairoFont.xs, CairoPattern.xs, CairoSurface.xs, MakeHelper.pm, Makefile.PL, cairo-perl-private.h, t/Cairo.t, t/CairoFont.t, t/CairoPattern.t, t/CairoSurface.t: Make it possible to compile and run the bindings against cairo 1.0.x. Use a package lookup table for patterns and surfaces to work around the lack of type accessors. Add version guards around things that were introduced in 1.2.0. * CairoSurface.xs: Use OUTLIST for cairo_surface_get_device_offset. * CairoPattern.xs, CairoSurface.xs, cairo-perl-private.h: Rename cair_perl_set_isa to cairo_perl_set_isa. Doh! * t/CairoSurface.t: Explicitly clear the image surface on cairo 1.0.x before writing it out since 1.0.x doesn't do it for us. Use lexical surface variables to make sure they get destroyed before execution ends which in turn makes sure all tests inside callbacks are run before Test::More checks if reality matches the test plan. @ text @d3 4 @ 1.28 log @ * Cairo.pm, NEWS, README: Beta release 0.90. @ text @d1 22 @ 1.27 log @ * Cairo.pm: Update existing, add new documentation. * TODO: Update. @ text @d3 4 @ 1.26 log @ * Cairo.pm, Cairo.xs, CairoPattern.xs, CairoSurface.xs, cairo-perl-private.h: Add cairo_perl_set_isa and use it for surfaces and patterns. * CairoSurface.xs, Makefile.PL, cairo-perl.h, t/CairoSurface.t: Add support for svg surfaces if available. * t/CairoSurface.t: Remove TODO block and revert workaround related to the weird unknown surface types. It's been fixed upstream: https://bugs.freedesktop.org/show_bug.cgi?id=7322 @ text @d3 8 d295 1 a295 1 code moved out of Makefile.PL into it. beginning of cleaning all that d312 1 a312 1 d339 1 a339 1 fixed. d353 1 a353 1 * Cairo.xs, CairoMatrix.xs, CairoPattern.xs, CairoSurface.xs: all of @ 1.25 log @ * Makefile.PL: Require cairo 1.2.0. Add CAIRO_FORMAT_RGB16_565. * Cairo.pm, CairoFont.xs: Cosmetical changes. * Cairo.xs: Add Cairo::VERSION and Cairo::VERSION_ENCODE. * t/CairoSurface.t: Shuffle a few tests around to avoid some strange singularities. @ text @d1 13 @ 1.24 log @ * Cairo.pm, MANIFEST, NEWS, README: Release 0.04. @ text @d1 11 @ 1.23 log @ * t/CairoSurface.t: Wrap two tests that recently started failing in TODO blocks. @ text @d3 4 @ 1.22 log @ * Makefile.PL: Require cairo >= 1.1.8. * CairoSurface.xs, t/CairoSurface.t: Wrap and test cairo_surface_set_fallback_resolution, cairo_image_surface_get_data, cairo_image_surface_get_format, and cairo_image_surface_get_stride. Remove the wrappers and tests for cairo_pdf_surface_set_dpi and cairo_ps_surface_set_dpi. * t/CairoSurface.t: Test Cairo::ImageSurface::get_width and get_height. @ text @d1 5 @ 1.21 log @ * Cairo.pm: Document Cairo::get_group_target, Cairo::new_sub_path, Cairo::Pattern::get_type, Cairo::set_scaled_font, Cairo::version, and Cairo::version_string. * t/Cairo.t, Cairo.xs: Allow Cairo::version[_string] to be called as a function and as a class method. * CairoPattern.xs, CairoSurface.xs, t/CairoSurface.t, Makefile.PL, examples/simple.pl, examples/png/caps_joins.pl, examples/png/hering.pl: Whitespace fixes. * t/CairoSurface.t, CairoSurface.xs: Wrap cairo_surface_get_content. * MakeHelper.pm: Don't add a linebreak to croaks so perl prints line information. * Makefile.PL: Require cairo 1.1.7. * examples/png/README, examples/png/bevels.pl, examples/png/spline-pipeline.pl, examples/png/text-rotate.pl, examples/png/text.pl: New example ports. @ text @d1 13 @ 1.20 log @ * t/CairoSurface.t, CairoSurface.xs: Remove Cairo::Surface::finish; it's memory management related and not needed, as far as I can tell. Scream if you used it. * t/CairoSurface.t, CairoSurface.xs: Bind and test cairo_surface_write_to_png_stream, cairo_image_surface_create_from_png_stream, cairo_pdf_surface_create_for_stream, and cairo_ps_surface_create_for_stream. * CairoSurface.xs: Don't leak cairo_surface_create_similar's return value. * cairo-perl-private.h: Remove CAIRO_PERL_UNUSED. * cairo-perl-private.h, Cairo.xs, CairoFont.xs, CairoMatrix.xs, CairoPattern.xs: Rename pcairo_copy_matrix to cairo_perl_copy_matrix. * TODO: Update. @ text @d1 25 @ 1.19 log @Remove trailing spaces. @ text @d1 23 @ 1.18 log @ * .cvsignore, MANIFEST.SKIP: Update. * Cairo.pm: Update copyright notice. * MANIFEST, cairo-perl-private.h: Add a private header file for non-public declarations that are used in more than one place. * MakeHelper.pm: Improve the enum converters to produce more useful error messages. * Makefile.PL: Incorporate a slightly modified patch from Christopher Oezbek to prompt the user if he wants to install EU::Depends and EU::PkgConfig if they can't be found. Require cairo >= 1.1.6. Update and rearrange enums. * cairo-perl.h, Cairo.xs: Move CAIRO_PERL_CALL_BOOT to Cairo.xs. * cairo-perl.h, CairoSurface.xs, CairoPattern.xs, Makefile.PL: Use cairo_surface_get_type and cairo_pattern_get_type to redo the sub-type handling for surfaces and patterns. * cairo-perl-private.h, Cairo.xs, CairoMatrix.xs, CairoPattern.xs: Add pcairo_copy_matrix and use it all over the place to make matrix handling more robust. * Cairo.xs, t/Cairo.t: Wrap cairo_version, cairo_version_string, cairo_push_group, cairo_push_group_with_content, cairo_pop_group, cairo_pop_group_to_source, cairo_new_sub_path, cairo_set_scaled_font, and cairo_get_group_target. * CairoFont.xs, t/CairoFont.t: Wrap cairo_font_face_get_type, cairo_scaled_font_get_type, cairo_scaled_font_text_extents, cairo_scaled_font_get_font_face, cairo_scaled_font_get_font_matrix, cairo_scaled_font_get_ctm, and cairo_scaled_font_get_font_options. * CairoPattern.xs, t/CairoPattern.t: Wrap cairo_pattern_get_type. * CairoSurface.xs, t/CairoSurface.t: Wrap cairo_surface_get_device_offset, cairo_surface_get_type, cairo_pdf_surface_set_size, cairo_ps_surface_set_dpi, cairo_ps_surface_set_size, cairo_ps_surface_dsc_comment, cairo_ps_surface_dsc_begin_setup, and cairo_ps_surface_dsc_begin_setup. @ text @d4 1 a4 1 d6 1 a6 1 d9 1 a9 1 d12 1 a12 1 d17 1 a17 1 d19 1 a19 1 d23 1 a23 1 d27 1 a27 1 d32 1 a32 1 d37 1 a37 1 d39 1 a39 1 @ 1.17 log @ * Cairo.pm, NEWS, README: Release 0.03. @ text @d1 45 @ 1.16 log @ * Cairo.pm, CairoPattern.xs, Makefile.PL, cairo-perl.h, t/CairoPattern.t: Add Cairo::SolidPattern::create_rgb and create_rgba. @ text @d3 4 d22 3 a24 2 typemap, we now have macros like newSVCairoPattern SvCairoPattern. These get exported, so other modules can make use of them. @ 1.15 log @ * Cairo.pm: Add documentation for Cairo::Context, paths, patterns, transformations, and text. @ text @d1 6 @ 1.14 log @ * Cairo.pm: Make DynaLoader export all our symbols. * Cairo.xs, MakeHelper.pm, Makefile.PL, cairo-perl.h: Revamp the type conversion API. Instead of implementing everything in the typemap, we now have macros like newSVCairoPattern SvCairoPattern. These get exported, so other modules can make use of them. * cairo-perl.h: Remove the DBG macro. * cairo-perl.typemap: Use T_UV instead of T_IV for cairo_bool_t. @ text @d1 5 @ 1.13 log @ * Cairo.pm, MANIFEST, Makefile.PL, NEWS, README: Release 0.02. Require cairo 1.0.0. @ text @d1 13 @ 1.12 log @ * MakeHelper.pm, Makefile.PL: Surround our _noinc typedefs for the PS and PDF backends with appropriate ifdefs to fix compilation when these backends were not installed with cairo. @ text @d1 5 d15 1 a15 1 of Ciaro. @ 1.11 log @ * Cairo.pm: Fix incorrect package line that read GStreamer instead of Ciaro. @ text @d1 6 @ 1.10 log @ * Cairo.pm, README: Release 0.01. Also add stub documentation. * MANIFEST.SKIP: Remove CairoEnums.xs. * Makefile.PL: Add ABSTRACT_FROM to the WriteMakefile call. * TODO: Update to reflect the present situation. @ text @d1 5 @ 1.9 log @ * t/Cairo.t, Cairo.xs: Bind cairo_set_antialias and cairo_get_antialias. * t/CairoSurface.t, CairoSurface.xs: Bind cairo_surface_flush, cairo_surface_mark_dirty, cairo_surface_mark_dirty_rectangle. * MANIFEST, META.yml: Remove META.yml; let EU::MakeMaker generate it on "make dist". * Makefile.PL: Require cairo 0.9.0. Add our prerequisites to the WriteMakefile call so that they appear in the generated META.yml. Support CAIRO_STATUS_FILE_NOT_FOUND. @ text @d1 10 @ 1.8 log @ * t/Cairo.t, xs/Cairo.xs: Wrap cairo_get_font_options. * t/CairoFont.t, xs/CairoFont.xs: Wrap cairo_font_face_status, cairo_scaled_font_status, cairo_font_options_*. Update cairo_scaled_font_create. * t/CairoSurface.t, CairoSurface.xs: Wrap cairo_surface_status, cairo_surface_get_font_options. * Makefile.PL: Wrap the new cairo_font_options_t stuff. * Makefile.PL: Require cairo 0.6.0. Add new and update the old enums. Install all files necessary for other modules to use Cairo. * cairo-perl.typemap: Add a cairo_bool_t typemap. @ text @d1 15 @ 1.7 log @ * Cairo.pm, Cairo.xs, t/Cairo.t: Replace the %backends hash with Cairo::HAS_PS_SURFACE, HAS_PDF_SURFACE, HAS_XLIB_SURFACE, HAS_FT_FONT and HAS_PNG_FUNCTIONS. * Cairo.pm, CairoPattern.xs, CairoSurface.xs, Makefile.PL: Implement the pattern and surface hierarchy suggested by the language bindings guidelines. * Cairo.xs: Use Cairo::Context for the namespace of cairo_t, instead of just Cairo, as suggested by the guidelines. * Cairo.xs, CairoFont.xs, CairoMatrix.xs, CairoPattern.xs, CairoSurface.xs, cairo-perl.h: Add new, remove old API. Shuffle some things around. * Cairo.xs: Convert font and text extents and glyphs to and from native Perl data structures. * Cairo.xs, cairo-perl.h, cairo-perl.typemap: Remove everything that cannot be used from Perl, like the XLib and Glitz stuff. * CairoPath.xs, t/CairoPath.t: Add support for cairo_path_t, including a nice tied interface that lets you iterate over paths as if they were normal array references. * MakeHelper.pm: Extend the typemap generator to support "const" and "_noinc" types. Change the enum handling to use the Glib convention, i.e. lowercase and hyphen instead of underscore. * Makefile.PL, README: Use ExtUtils::Depends. * examples/simple.pl, examples/png/caps_join.pl, examples/png/hering.pl, examples/png/outline.pl, examples/png/spiral.pl, examples/png/splines_tolerance.pl, examples/png/stars.pl: Update the examples to make them work again after all those API changes. * t/Cairo.t, t/CairoFont.t, CairoMatrix.t, CairoPattern.t, CairoSurface.t: Redo and/or expand the whole test suite. @ text @d1 19 @ 1.6 log @ * CairoSurface.xs: fixed a bug in wrapping of cairo_surface_xlib_create where the return value wasn't being caught in RETVAL. thank you -Wall -W * cairo-perl.h: wrapped new includes (prev log msg) in #ifdef HAS's so that we can build on systems where no all backends are supported. XS code already supports this. @ text @d1 42 @ 1.5 log @ * cairo-perl.h: Track split-up of cairo.h. @ text @d1 9 @ 1.4 log @ * Makefile.PL, MakeHelper.pm: initial import of MakeHelper, mess of code moved out of Makefile.PL into it. beginning of cleaning all that up. File::Spec now used. * examples/png/*: initial import of port of cairo-demo/png examples, except text. * META.yml: unknown version * MANIFEST, MANIFEST.SKIP: updates @ text @d1 4 @ 1.3 log @ * t/CairoMatrix.t, t/CairoPattern.t, t/CairoSurface.t: initial import, 95% complete tests * Cairo.xs, CairoMatrix.xs, CairoSurface.xs, CairoPattern.xs: no more new's, not really a good idea. * CairoFont.xs: all disabled for now * CairoMatrix.xs: copy, multiply, and transforms fixed while doing tests * CairoPattern.xs: get_matrix fixed whlie doing tests * CairoSurface.xs: cleaned up the namespace problems herein. fixed several output funcs. * MANIFEST: added TODO and new tests. * MANIFEST.SKIP: skip CairoEnums.xs * t/Cairo.t: no new test, change Surface stuff due to namespace above @ text @d1 13 @ 1.2 log @missed in commit @ text @d1 24 @ 1.1 log @ * Cairo.xs, CairoMatrix.xs, CairoPattern.xs, CairoSurface.xs: all of the create functions have been cleaned up/fixed. debug prints removed. create's alised to new's where appropriate. * MANIFEST, MANIFEST.SKIP: ChangeLog added. build and CVS skipped * Makefile.PL, cairo-perl.h, Cairo.xs: new (write_)boot code added, in progress. use build dir for most of autogen'd stuff. fixed bug in enums creation (= -> ==) @ text @d1 22 @