[cairo-commit] goocanvas ChangeLog, 1.104, 1.105 NEWS, 1.6, 1.7 README, 1.9, 1.10 TODO, 1.29, 1.30 configure.in, 1.15, 1.16

Damon Chaplin commit at pdx.freedesktop.org
Tue Apr 3 02:58:14 PDT 2007


Committed by: damon

Update of /cvs/cairo/goocanvas
In directory kemper:/tmp/cvs-serv9410

Modified Files:
	ChangeLog NEWS README TODO configure.in 
Log Message:
2007-04-03  Damon Chaplin  <damon at gnome.org>

	* Released GooCanvas 0.8

2007-04-03  Damon Chaplin  <damon at gnome.org>

	* demo/mv-demo.c (create_canvas_primitives): 
	* demo/demo.c (create_canvas_primitives): set the maximum scale to 50,
	since if we go above that we hit the cairo 16-bit limit and the large
	rectangle isn't painted correctly.

	* src/goocanvasitemsimple.c (goo_canvas_item_simple_install_common_properties): improved docs for fill/stroke properties.

	* src/goocanvaswidget.c (goo_canvas_widget_new) 
	(goo_canvas_widget_set_widget): keep our own reference to the widget,
	rather than just relying on the canvas widget's reference. Otherwise
	once the widget is removed from the canvas we have an invalid pointer.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- ChangeLog	30 Mar 2007 11:40:28 -0000	1.104
+++ ChangeLog	3 Apr 2007 09:58:05 -0000	1.105
@@ -1,3 +1,21 @@
+2007-04-03  Damon Chaplin  <damon at gnome.org>
+
+	* Released GooCanvas 0.8
+
+2007-04-03  Damon Chaplin  <damon at gnome.org>
+
+	* demo/mv-demo.c (create_canvas_primitives): 
+	* demo/demo.c (create_canvas_primitives): set the maximum scale to 50,
+	since if we go above that we hit the cairo 16-bit limit and the large
+	rectangle isn't painted correctly.
+
+	* src/goocanvasitemsimple.c (goo_canvas_item_simple_install_common_properties): improved docs for fill/stroke properties.
+
+	* src/goocanvaswidget.c (goo_canvas_widget_new) 
+	(goo_canvas_widget_set_widget): keep our own reference to the widget,
+	rather than just relying on the canvas widget's reference. Otherwise
+	once the widget is removed from the canvas we have an invalid pointer.
+
 2007-03-30  Damon Chaplin  <damon at gnome.org>
 
 	* src/goocanvasutils.c (goo_canvas_boolean_handled_accumulator): new

Index: NEWS
===================================================================
RCS file: /cvs/cairo/goocanvas/NEWS,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- NEWS	27 Feb 2007 14:45:07 -0000	1.6
+++ NEWS	3 Apr 2007 09:58:05 -0000	1.7
@@ -1,5 +1,24 @@
 
 
+GooCanvas 0.8	(Apr 3 2007)
+=============
+
+ o Added support for "width-for-height" layout - items whose requested
+   height changes according to their allocated width (typically text items).
+ o Added "background-color" and "background-color-rgb" properties to
+   GooCanvas.
+ o Added "ellipsize" property to GooCanvasText.
+ o Added goo_canvas_item_remove() and goo_canvas_item_model_remove()
+   convenience functions to remove an item or model from the canvas.
+ o Fixed bug removing widget items.
+ o Fixed bug which meant that the fill pattern couldn't be reset to NULL.
+ o Fixed the item event signals, so that returning TRUE from a handler
+   stops the signal emission.
+ o Added a few things that will be needed to support tooltips, when GTK+
+   2.12 is available. (Though I don't want to depend on GTK+ 2.12 yet.)
+ o Added "const" to arguments, where appropriate.
+
+
 GooCanvas 0.7	(Feb 27 2007)
 =============
 

Index: README
===================================================================
RCS file: /cvs/cairo/goocanvas/README,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- README	6 Mar 2007 12:08:15 -0000	1.9
+++ README	3 Apr 2007 09:58:05 -0000	1.10
@@ -51,5 +51,5 @@
 
 Damon Chaplin (damon at gnome.org)
 
-(FooCanvas can be found in GNOME cvs in the 'foocanvas' module.
+(FooCanvas can be found in GNOME svn in the 'foocanvas' module.
 FooCanvas was based on GnomeCanvas, which is in the 'libgnomecanvas' module.)

Index: TODO
===================================================================
RCS file: /cvs/cairo/goocanvas/TODO,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- TODO	27 Feb 2007 14:45:07 -0000	1.29
+++ TODO	3 Apr 2007 09:58:05 -0000	1.30
@@ -1,17 +1,34 @@
 
 Bugs
 
- o There are no known bugs at present!
+ o Currently the canvas widget must be placed in a GTK+ window before any
+   calls are used that would cause a canvas update.
+   This is because the canvas needs a window to create a cairo_t to do the
+   position calculations. We may use a temporary image cairo_t in future to
+   avoid this issue.
+
+ o I need to check the bounds are being calculated correctly so that they
+   are correct for all zoom settings. Since cairo uses fixed point maths
+   and I think only calculates up to a certain tolerance there might be
+   slight errors in our gdouble results. So as the canvas is scaled this
+   could eventually lead to the bounds being a pixel out, leading to painting
+   errors. Maybe we should extend any bounds returned from cairo slightly to
+   cover the maximum possible errors.
+
+ o GooCanvasImage - redrawing artifacts in demo when zoom>1.
+   Seems to be a bug in cairo, introduced in 1.3.12.
+   See http://bugs.freedesktop.org/show_bug.cgi?id=10508
 
 
 Features definitely needed:
 
  o Editable text item - a port of GtkTextView.
+ o Tooltips - I have code to support tooltips using the new API in GTK+ 2.12.
 
 
 Possible additional features:
 
- o Caching of rendered items to improved performance. Items would have a cache
+ o Caching of rendered items to improve performance. Items would have a cache
    option with choices like Never, Always and WhenVisible.
  o Sticky items that don't move at all as the canvas is scrolled & zoomed.
  o Filters like in SVG, to add graphical effects.

Index: configure.in
===================================================================
RCS file: /cvs/cairo/goocanvas/configure.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- configure.in	27 Feb 2007 14:45:07 -0000	1.15
+++ configure.in	3 Apr 2007 09:58:05 -0000	1.16
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(goocanvas, 0.7)
+AC_INIT(goocanvas, 0.8)
 AC_PREREQ(2.50)
 AC_CONFIG_SRCDIR(src/goocanvas.c)
 AC_CONFIG_HEADERS(config.h)
@@ -10,7 +10,7 @@
 # If the code has changed at all: REVISION++.
 # If any interfaces have changed at all: CURRENT++, REVISION=0.
 # If it is backwards compatible: AGE++, else AGE=0.
-LT_CURRENT=1
+LT_CURRENT=2
 LT_REVISION=0
 LT_AGE=0
 



More information about the cairo-commit mailing list