2005-10-16  Kouhei Sutou  <kou@cozmixng.org>

	* NEWS: Added release 1.0.0.

2005-10-15  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext/rb_cairo_context.c: Use StringValuePtr
	instead of STR2CSTR.

	* packages/cairo/ext/rb_cairo_surface.c: Supported PS/PDF surface.
	* samples/ps.rb, samples/ps2.rb: Added PS surface sample.
	* samples/pdf.rb, samples/pdf2.rb: Added PDF surface sample.

2005-10-13  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext/rb_cairo_surface.c: Fixed a SEGV bug caused
	by Ruby's GC.
	(cr_image_surface_create_from_png_generic): Fixed a memory leak
	bug.

	* packages/cairo/ext/rb_cairo_pattern.c: Added
	Cairo::GradientPattern#add_color_stop_rgb and
	Cairo::GradientPattern#add_color_stop for convenience.

2005-10-12  Kouhei Sutou  <kou@cozmixng.org>

	* samples/png.rb: Use Cairo::Context#set_source_rgb instead of
	Cairo::Context#set_source.

	* packages/cairo/ext/rb_cairo_context.c (cr_set_source_rgb):
	Re-implemented for backward compatibility.

	* samples/png.rb: Use Cairo::Context#set_source_rgba instead of
	Cairo::Context#set_source.

	* packages/cairo/ext/rb_cairo_surface.c
	(cr_image_surface_create_from_png_generic): Set class of the
	surface.

	* packages/cairo/ext/rb_cairo_context.c (cr_set_source_generic):
	Fixed wrong variable name.

2005-10-11  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext/rb_cairo_context.c: Provided
	Cairo::Context#set_soruce_rgba.
	(cr_arc_negative, cr_arc): cx -> xc and cy -> yc.

	* packages/cairo/ext: Extracted Ruby object -> enum type codes.

	* packages/cairo/ext/rb_cairo_pattern.c
	(cr_gradient_pattern_add_color_stop_rgba): Renamed from
	cr_gradient_pattern_add_color_stop.

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

	* packages/cairo/ext/rb_cairo_pattern.c:
	(cr_gradient_pattern_add_color_stop): Make the code work when not
	passing the color as an array as well.

2005-10-11  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext/rb_cairo.c: Added cairo version info.

	* packages/cairo/lib/cairo.rb: Added bindings version info as
	  1.0.0-beta.

	* samples/canvas: Removed.
	
	* packages/cairo/ext/: Added CVS keywords.

	* packages/cairo/ext/rb_cairo_context.c: Renamed 'xform'.
	* packages/cairo/ext/rb_cairo_font_face.c: ditto.
	* packages/cairo/ext/rb_cairo_glyph.c: ditto.
	* packages/cairo/ext/rb_cairo_matrix.c: ditto.

	* packages/cairo/ext/rb_cairo_private.c: Changed prefix to
	  'rb_cairo__' from 'cr__'.
	* packages/cairo/ext/rb_cairo_matrix.c: ditto.
	* packages/cairo/ext/rb_cairo_context.c: ditto.
	* packages/cairo/ext/rb_cairo_private.h: ditto.

	* packages/cairo/ext/rb_cairo_glyph.c:
	  - Use Cairo::Glyph#initialize instead of Cairo::Glyph.new.
	  - Added Cairo::Glyph#to_s.

	* packages/cairo/ext/rb_cairo_font_extents.c:
	  - Removed Cairo::FontExtents.new.
	  - Added Cairo::FontExtents#to_s.

	* packages/cairo/ext/rb_cairo_text_extents.c:
	  - Removed Cairo::TextExtents.new.
	  - Added Cairo::TextExtents#to_s.

2005-10-10  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext/rb_cairo_constants.c: Supported all constants.

	* packages/cairo/ext/rb_cairo_matrix.c: Added a utility method.

	* packages/cairo/lib/cairo.rb: Remove deprecated API.
	
	* packages/cairo/ext/rb_cairo_matrix.c: Tidied cairo_matrix_t.
	* packages/cairo/lib/cairo.rb: ditto.

2005-10-09  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext/rb_cairo_context.c,
	  packages/cairo/ext/rb_cairo_matrix.c: Moved duplicated
	  functions to ...
	* packages/cairo/ext/rb_cairo_private.h: ... here.
	* packages/cairo/ext/rb_cairo_private.c: ditto.

	* packages/cairo/ext/rb_cairo_scaled_font.c: Implemented
	  cairo_scaled_font_t.
	* packages/cairo/ext/cairo.def: ditto.
	* packages/cairo/ext/rb_cairo.c: ditto.
	* packages/cairo/ext/rb_cairo.h: ditto.

	* packages/cairo/lib/cairo.rb: Removed deprecated wrapper API.

	* packages/cairo/ext/rb_cairo_surface.c:
	  - Implemented File I/O API by Ruby.
	  - SurfaceXXX -> XXXSurface.

	* packages/cairo/ext/rb_cairo_exception.c: Tidied exceptions.
	* packages/cairo/ext/cairo.def: ditto.
	* packages/cairo/ext/rb_cairo.h: ditto.
	* packages/cairo/ext/rb_cairo_context.c: ditto.
	* packages/cairo/ext/rb_cairo_font_options.c: ditto.
	* packages/cairo/ext/rb_cairo_matrix.c: ditto.
	* packages/cairo/ext/rb_cairo_pattern.c: ditto.
	* packages/cairo/ext/rb_cairo_surface.c: ditto.

	* packages/cairo/ext/rb_cairo_pattern.c: Implemented
	  cairo_pattern_t.
	* packages/cairo/ext/rb_cairo.c: ditto.
	* packages/cairo/ext/rb_cairo.h: ditto.
	* packages/cairo/ext/cairo.def: ditto.
	* packages/cairo/lib/cairo.rb: ditto.
	* packages/cairo/ext/rb_cairo_context.c: Followed the avobe changes.

	* packages/cairo/ext/rb_cairo_surface.c
	  (cr_surface_write_to_png): Don't use rb_need_block() for ruby <=
	  1.8.2.

2005-10-08  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext/rb_cairo_context.c: Supported all API for
	  cairo_t.
	* samples/png.rb: Followed the avobe changes.

	* packages/cairo/ext/rb_cairo_path.c: Implemented cairo_path_t.
	* packages/cairo/ext/rb_cairo.c: ditto.
	* packages/cairo/ext/rb_cairo.h: ditto.
	* packages/cairo/ext/cairo.def: ditto.

	* packages/cairo/ext/rb_cairo_font_options.c: Fixed a typo.

	* setup.rb: Added workaround for an error on Win32 platform.
	  Patch from Masao Mutoh <mutoh@highway.ne.jp>. Thanks!

	* packages/cairo/ext/rb_cairo_font_options.c: Implemented
	  cairo_font_options_t.
	* packages/cairo/ext/rb_cairo_surface.c: ditto.
	* packages/cairo/ext/rb_cairo.c: ditto.
	* packages/cairo/ext/rb_cairo.h: ditto.
	* packages/cairo/ext/cairo.def: ditto.
	* packages/cairo/lib/cairo.rb: ditto.

2005-10-07  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext: Added c-mode style configuration header for
	  Emacs.

	* samples/png.rb: Use Cairo::SurfaceImage instead of
	  Cairo::Surface.

	* packages/cairo/ext/rb_cairo_surface.c: Implemented
	  cairo_surface_t.

	* packages/cairo/ext/rb_cairo_exception.c: Sorted "case" in the
	  order of declaration cairo_status_t in cairo.h.

2005-10-06  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext/extconf.rb: Fixed Win32 platform problem.
	  Patch from Masao Mutoh <mutoh@highway.ne.jp>. Thanks!

2005-10-04  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext/rb_cairo.h: Support Win32 platform.

	* packages/cairo/ext/extconf.rb: ditto.

	* packages/cairo/ext/cairo.def: Added.

	* packages/cairo/ext/pkg-config.rb: Added. This file is from
	  Ruby/GLib.

2005-10-01  Kouhei Sutou  <kou@cozmixng.org>

	* setup.rb: update to 3.4.0.

2005-09-30  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/lib/cairo.rb: change indentation style to
	  style of ruby-mode.el.

	* README: update dependencies.

	* packages/gtkcairo, packages/svgcairo: remove.

	* setup.rb: update to 3.3.1.

2005-09-29  Kouhei Sutou  <kou@cozmixng.org>

	* packages/cairo/ext/extconf.rb: check modversion.
	* packages/svgcairo/ext/extconf.rb: ditto.

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.
