2005-09-13  Øyvind Kolås  <pippin@gimp.org>

     Patch from Kouhei Sutou

    * packages/cairo/ext:
      - add (or rename) internal (static) functions to 'cr_XXX' prefix.
      - XXX_v -> rb_XXX
      - get_XXX -> XXX
      - remove needless RUBY_METHOD_FUNC cast.
      - call rb_obj_call_init() in new method.

    * packages/cairo/ext/rb_cairo_font_face.c
      (rb_cairo_font_extents, rb_cairo_font_glyph_extents):
      move to ...

    * packages/cairo/ext/rb_cairo_context.c:
      - ... here.
      - add some status checks.

    * packages/cairo/ext/rb_cairo_context.c,
      packages/cairo/ext/rb_cairo.h:
      - rb_cairo_{from,to}_ruby_object ->
	rb_cairo_context_{from,to}_ruby_object

    * packages/cairo/lib/cairo.rb: auto-generate XXX=.
      (Cairo::Context#save: move to the C-side.

2005-09-10  Øyvind Kolås  <pippin@gimp.org>
	
	* AUTHORS: added Kouhei Sutou

2005-09-10  Øyvind Kolås  <pippin@gimp.org>

	Patch from Kouhei Sutou <kou@cozmixng.org>.

	Hiding free functions, cleanup of ruby <-> C conversion functions.
	
  	- rename ruby <-> C convert functions name.
	ruby -> C: rb_cairo_XXX_from_ruby_object().
    	C -> ruby: rb_cairo_XXX_to_ruby_object().
	
	- provide ruby <-> C convert macros.
	   ruby -> C: RVAL2CRXXX()
	   C -> ruby: CRXXX2RVAL()
	
  	- _SELF use RVAL2CRXXX()
  	- rb_cairo_XXX_from_ruby_object() uses rb_obj_is_kind_of()
	  instead of 'CLASS_OF() !=3D rb_cCairo_XXX'.
  	- add 'static' or remove free functions.

2005-09-09  Øyvind Kolås  <pippin@freedesktop.org>

	Missed a couple of files when applying the previous patch.

	* packages/cairo/ext/rb_cairo_font_extents.h: removed.
	* packages/cairo/ext/post-install.rb: added.

2005-09-09  Øyvind Kolås  <pippin@freedesktop.org>

	Header cleanup patch from Kouhei Sutou <kou@cozmixng.org>.

	* packages/cairo/ext/rb_cairo_*.h: removed. The
   	  contents of packages/cairo/ext/rb_cairo_*.h are moved to
   	  packages/cairo/ext/rb_cairo.h.
	* packages/cairo/ext/rb_cairo_*.c: include rb_cairo.h instead of
          rb_cairo_*.h, Init_*() declarations are moved ...
   	* packages/cairo/ext/rb_cairo.c: ... here.

2005-09-08  Øyvind Kolås  <pippin@freedesktop.org>

	Integrated patch from Kouhei Sutou <kou@cozmixng.org>.

	* packages/cairo/ext/rb_cairo_exception.h:
	* packages/cairo/ext/rb_cairo_exception.c:
		(rb_cairo_raise_exception),
		(Init_cairo_exception): Added new error types, made exception
		retrieve the status string itself.
	* packages/cairo/ext/rb_cairo_context.c:
		(check_context_status): Simplified exception raising.
	* packages/cairo/ext/rb_cairo_matrix.c:
		(rb_cairo_matrix_copy): create a new matrix when copying.
		(rb_cairo_matrix_invert): do status checking.
		(Init_cairo_matrix): register invert! method.

2005-06-23  Øyvind Kolås  <pippin@freedesktop.org>

	API shakeup, watch out for falling parts.

	* packages/cairo/ext/*.c: large changes, and regressions.
	* packages/cairo/ext/rb_cairo_font.[ch]: removed
	* packages/cairo/ext/rb_cairo_font_face.[ch]: added
	* packages/cairo/lib/cairo.rb:
	* samples/*.rb: removed
	* samples/png.rb: initial test case for new API.
	* README: fixed spelling error.
	* AUTHORS: added Ilmari Heikkinen.

2005-03-21  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/cairo/ext/rb_cairo_context.c: Rename methods to eliminate
	abbreviations (following changes in cairo.h):
        cairo_concat_matrix             -> cairo_transform
        cairo_transform_point           -> cairo_user_to_device
        cairo_transform_distance        -> cairo_user_to_device_distance
        cairo_inverse_transform_point   -> cairo_device_to_user
        cairo_inverse_transform_distance-> cairo_device_to_user_distance
        cairo_init_clip                 -> cairo_reset_clip


2005-03-20  Øyvind Kolås  <pippin@freedesktop.org>

	* README: reworked, borrowing ideas and style from pycairo README.
	* COPYING,
	* GPL,
	* AUTHORS: added.


2005-03-17  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/cairo/ext/rb_cairo_exception.c: added WriteError and
	SurfaceFinishedError.
	* packages/cairo/ext/rb_cairo_surface.c:
	added finish method.
	fixed typo in define, that mistook define for PDF as PS.
	* packages/cairo/ext/rb_cairo_*:
	search and replace to use rb_cairo_exception_raise instead
	of cairo_raise_exception
	* samples/pdf.rb: removed
	* samples/pdf-a4_grid.rb: added


2005-03-15  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/cairo/ext/rb_cairo_context.c:
	* packages/cairo/lib/cairo.rb: Following API shakeup in cairo,
	s/cairo_current_foo/cairo_get_foo/ .


2005-02-15  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/cairo/ext/rb_cairo.c: added initialization of pattern.
	* packages/cairo/ext/rb_cairo_constants.c: added filter and extend
	enums.
	* packages/cairo/ext/rb_cairo_context.c: added pattern setting and
	getting, rewrote current_matrix to use rb_cairo_matrix_wrap.
	* packages/cairo/ext/rb_cairo_matrix.c: convenience function to
	wrap a cairo_matrix_t.
	* packages/cairo/ext/rb_cairo_pattern.c: added implementation for
	surface and linear/radial gradients.
	* packages/cairo/lib/cairo.rb: syntactic sugar for initializing
	gradient patterns with blocks.
	* samples/gradients.rb: sample showing the syntax of gradients.


2005-02-10  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/cairo/lib/cairo.rb: added optional 'handler' parameters to
	Context::current_path and Context#current_path_flat.
	patch from <mental@rydia.net>

2005-02-10  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/cairo/lib/cairo.rb: made save_internal private,
	patch from <mental@rydia.net>

2005-02-10  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/svgcairo/ext/rb_svgcairo.c: added error handling.
	usage of a port for passing FILE stream to the parser.
	* packages/svgcairo/ext/extconf.rb: added -W to the compile flags.

2005-02-10  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/svgcairo/ext: added initial binding for libsvg-cairo,
	without error checking, and good integration with the ruby file
	handling.

005-02-09  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/cairo/lib/cairo.rb: Fixed naming of Transform class to be
	Matrix.

2005-02-09  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/cairo/lib/cairo.rb: Added the ability for save to
	take a block.

2005-02-07  Øyvind Kolås  <pippin@freedesktop.org>

	* splitted into seperate files for classes
	* made use of _SELF macro for more direct access
	* unified under a rb_ namespace
	* added font handling and extents

2005-02-06  Øyvind Kolås  <pippin@freedesktop.org>

	* imported mental guys ruby binding to my local tree
	* added ps and pdf surfaces
	* reindented according to GNU coding style
	* made stroke, fill, in_stroke, in_fill, fill_extents and
	  stroke_extents accept blocks that define the path, in spirit
	  of the previous binding.
	* added show_text, text_path, select_font, scale_font and
	  transform_font
	* made to work with gtkcairo


2005-02-06  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/cairo/cairo.c: add new headers
	* packages/cairo/gen-Cairo.c: remove unneeded hack to force
	unit size on newly set font.

2004-11-19  Øyvind Kolås  <pippin@freedesktop.org>

	* packages/canvas/lib/canvas.rb Labal.width: access extents by atom
	instead of string.

2004-11-19  Øyvind Kolås  <pipipn@freedesktop.org>

	* packages/cairo/ext/*.[ch]: reformatted code.
	* packages/gtkcairo/ext/*.[ch]: reformatted code.
