1. 25 Feb, 2007 1 commit
  2. 05 Jan, 2007 1 commit
  3. 30 Dec, 2006 2 commits
  4. 23 Nov, 2006 1 commit
  5. 11 Nov, 2006 2 commits
  6. 09 Nov, 2006 3 commits
  7. 24 Sep, 2006 3 commits
  8. 04 Sep, 2006 1 commit
  9. 27 Aug, 2006 1 commit
  10. 20 Aug, 2006 2 commits
  11. 15 Aug, 2006 1 commit
  12. 13 Aug, 2006 1 commit
  13. 11 Aug, 2006 1 commit
  14. 10 Aug, 2006 3 commits
    • Torsten Schönfeld's avatar
      Patch from Yaakov S puts version guards around a few PDF and PS functions · 06935451
      Torsten Schönfeld authored
      	* 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.
      
      svn path=/trunk/; revision=46
      06935451
    • Torsten Schönfeld's avatar
      Beta release 0.91. · 1495812c
      Torsten Schönfeld authored
      	* Cairo.pm, NEWS, README: Beta release 0.91.
      
      svn path=/trunk/; revision=44
      1495812c
    • Torsten Schönfeld's avatar
      Make it possible to compile and run the bindings against cairo 1.0.x. Use · 7b2f495d
      Torsten Schönfeld authored
      	* 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.
      
      svn path=/trunk/; revision=43
      7b2f495d
  15. 15 Jul, 2006 3 commits
  16. 02 Jul, 2006 2 commits
  17. 15 Jun, 2006 2 commits
  18. 14 Jun, 2006 1 commit
    • Torsten Schönfeld's avatar
      Require cairo >= 1.1.8. · 7db7e6cc
      Torsten Schönfeld authored
      	* 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.
      
      svn path=/trunk/; revision=33
      7db7e6cc
  19. 03 Jun, 2006 1 commit
    • Torsten Schönfeld's avatar
      Document Cairo::get_group_target, Cairo::new_sub_path, · 95a92918
      Torsten Schönfeld authored
      	* 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.
      
      svn path=/trunk/; revision=32
      95a92918
  20. 14 May, 2006 1 commit
    • Torsten Schönfeld's avatar
      Remove Cairo::Surface::finish; it's memory management related and not · 141fb457
      Torsten Schönfeld authored
      	* 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.
      
      svn path=/trunk/; revision=31
      141fb457
  21. 07 May, 2006 2 commits
    • Torsten Schönfeld's avatar
      Remove trailing spaces. · 2a4d2fe1
      Torsten Schönfeld authored
      svn path=/trunk/; revision=30
      2a4d2fe1
    • Torsten Schönfeld's avatar
      Update. · af91a287
      Torsten Schönfeld authored
      	* .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.
      
      svn path=/trunk/; revision=29
      af91a287
  22. 29 Jan, 2006 2 commits
  23. 28 Jan, 2006 1 commit
  24. 08 Jan, 2006 1 commit
    • Torsten Schönfeld's avatar
      Make DynaLoader export all our symbols. · d799bf3b
      Torsten Schönfeld authored
      	* 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.
      
      svn path=/trunk/; revision=24
      d799bf3b
  25. 31 Aug, 2005 1 commit