2011-10-09  Damon Chaplin  <damon@gnome.org>

	* Released GooCanvas 2.0.1

2011-10-09  Damon Chaplin  <damon@gnome.org>

	* src/goocanvaspolyline.[hc]: Added GOO_CANVAS_POLYLINE_ prefix to
	NUM_ARROW_POINTS to silence gir warnings.

	* src/goocanvas.c (goo_canvas_render): added example code for printing.

	* src/goocanvasitem.c: added (element-type GooCanvas.CanvasItem)
	annotation to get_items_at().

2011-10-07  Damon Chaplin  <damon@gnome.org>

	* src/goocanvasitem.c (goo_canvas_item_get_transform)
	(goo_canvas_item_get_transform_for_child): use (out) annotation for the
	transformation matrix. Though it won't work at the moment as there is
	currently no introspection support for cairo_matrix_t. (See #651043)
	Also don't (skip) the return value.

	* src/goocanvasgrid.c (goo_canvas_grid_model_new): removed the (skip)
	annotation on the varargs - none of the other new() functions have it.

2011-09-26  Murray Cumming  <murrayc@murrayc.com>

  GooCanvasImage: Correct the image appearance when using non-pixel units.
    
	* src/goocanvasimage.c: (goo_canvas_image_convert_pixbuf_sizes):
	Store the scale factor so we can use it later when drawing the image.
	(goo_canvas_image_new): Move the call to
	goo_canvas_image_convert_pixbuf_sizes() until after adding the item,
	so that it can get the canvas, instead of passing the parent item
	instead. We need to pass the actual item so we can store the
	scale factor.
	(goo_canvas_image_paint): Use the scale factor.
	Bug #657592
	
2011-09-24  Krzesimir Nowak  <qdlacz@gmail.com>

	Add GdkRGBA properties. #651125.

	* src/goocanvasutils.c: Added helper functions for GdkRGBA.
	* src/goocanvasprivate: Ditto.
	* src/goocanvas.c: Added GdkRGBA version color properties.
	* src/goocanvasgrid.c: Ditto.
	* src/goocanvasitemsimple.c: Ditto.

	(committed by Damon with a few minor changes)

2011-09-07  Murray Cumming  <murrayc@murrayc.com>

	GooCanvasImage: Correct the size when using units other than pixels.
	#657592.

	* src/goocanvas.[h|c]: Added goo_canvas_convert_units_to_pixels() and
	goo_canvas_convert_units_from_pixels(), which ignore the scale and
	ignore the bounds.
	Added a static units_to_pixels_ratios() function shared by these new
	functions and the existing recalculate_scales() function.
	* src/goocanvasimage.c: Added static
	goo_canvas_image_convert_pixbuf_sizes()	function, used by
	goo_canvas_image_new() and goo_canvas_image_set_common_property() to
	get the true size of the image in the units that are used.

	(committed by Damon with a few minor changes)

2011-09-14  Damon Chaplin  <damon@gnome.org>

	* src/goocanvasitem.h: added get_requested_area_for_width() method.
	get_requested_height() didn't work for aligned text items as the
	position of the item moves horizontally due to the allocated width,
	and this wasn't being taken into account in the layout code.

	* src/goocanvastable.c (goo_canvas_table_update_requested_heights): use
	get_requested_area_for_width() if available.

	* src/goocanvastext.c (goo_canvas_text_get_requested_area_for_width): 
	use this instead of get_requested_height() so aligned text should work.

	* demo/mv-demo-table.c: 
	* demo/demo-table.c: added tests for the above.

2011-08-17  Damon Chaplin  <damon@gnome.org>

	* src/goocanvastext.c (goo_canvas_text_get_requested_height): when
	the height property is set make sure the bounds are still calculated.
	Fixes redraw problems. (The way layout is done is too confusing.)
	#656391

2011-08-11  Murray Cumming  <murrayc.com>

	GooCanvasTable: Warn if setting child properties on a non-child.

	* src/goocanvastable.c (goo_canvas_table_set_child_property):
	If the child wasn't added yet then issue a g_warning(). This gives 
	the programmer a clue.

2011-08-11  Murray Cumming  <murrayc@murrayc.com>

	Table demo: Correct the box packing of the scrolled windows.

	* demo/mv-table-demo.c (main):
	* demo/table-demo.c (main): Pack the scrolled windows with expand=true.
	I wonder when this broke and why.