[cairo-commit]
goocanvas ChangeLog, 1.77, 1.78 NEWS, 1.4, 1.5 README,
1.6, 1.7 TODO, 1.23, 1.24 configure.in, 1.12, 1.13
Damon Chaplin
commit at pdx.freedesktop.org
Sat Feb 17 05:48:44 PST 2007
- Previous message: [cairo-commit] goocanvas/demo demo-item.c,1.3,1.4
- Next message: [cairo-commit] goocanvas/src goocanvasellipse.c, 1.9,
1.10 goocanvasgroup.c, 1.18, 1.19 goocanvasimage.c, 1.12,
1.13 goocanvasitem.c, 1.19, 1.20 goocanvasitemmodel.c, 1.8,
1.9 goocanvasitemsimple.c, 1.20, 1.21 goocanvasitemsimple.h,
1.17, 1.18 goocanvaspath.c, 1.10, 1.11 goocanvaspolyline.c,
1.11, 1.12 goocanvasrect.c, 1.9, 1.10 goocanvastable.c, 1.5,
1.6 goocanvastext.c, 1.11, 1.12 goocanvaswidget.c, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: damon
Update of /cvs/cairo/goocanvas
In directory kemper:/tmp/cvs-serv8775
Modified Files:
ChangeLog NEWS README TODO configure.in
Log Message:
2007-02-17 Damon Chaplin <damon at gnome.org>
* Released GooCanvas 0.6
2007-02-17 Damon Chaplin <damon at gnome.org>
* src/goocanvasitemsimple.h (struct _GooCanvasItemSimpleClass): renamed
create_path, update, paint and get_item_at class methods to
simple_create_path, simple_update, simple_paint and simple_get_item_at.
This avoids confusion with the GooCanvasItem interface methods with the
same name (and may avoid problems with language bindings etc.)
* src/goocanvasellipse.c (goo_canvas_ellipse_class_init):
* src/goocanvasimage.c (goo_canvas_image_class_init):
* src/goocanvaspath.c (goo_canvas_path_class_init):
* src/goocanvaspolyline.c (goo_canvas_polyline_class_init):
* src/goocanvasrect.c (goo_canvas_rect_class_init):
* src/goocanvastext.c (goo_canvas_text_class_init):
* src/goocanvaswidget.c (goo_canvas_widget_class_init):
* demo/demo-item.c (goo_demo_item_class_init):
* src/goocanvasitemsimple.c: updated use of above class methods.
* src/goocanvasgroup.c (goo_canvas_group_update): handle children with
empty bounds (i.e. ignore their bounds when computing the group's
bounds).
* src/goocanvastable.c (goo_canvas_table_paint)
(goo_canvas_table_get_item_at):
* src/goocanvasgroup.c (goo_canvas_group_get_item_at)
(goo_canvas_group_paint): don't check the
child bounds here. Leave it up to the children to do that.
* src/goocanvasitemsimple.c (goo_canvas_item_simple_get_item_at)
(goo_canvas_item_simple_paint): check the item's bounds here.
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- ChangeLog 15 Feb 2007 14:18:50 -0000 1.77
+++ ChangeLog 17 Feb 2007 13:48:34 -0000 1.78
@@ -1,3 +1,38 @@
+2007-02-17 Damon Chaplin <damon at gnome.org>
+
+ * Released GooCanvas 0.6
+
+2007-02-17 Damon Chaplin <damon at gnome.org>
+
+ * src/goocanvasitemsimple.h (struct _GooCanvasItemSimpleClass): renamed
+ create_path, update, paint and get_item_at class methods to
+ simple_create_path, simple_update, simple_paint and simple_get_item_at.
+ This avoids confusion with the GooCanvasItem interface methods with the
+ same name (and may avoid problems with language bindings etc.)
+
+ * src/goocanvasellipse.c (goo_canvas_ellipse_class_init):
+ * src/goocanvasimage.c (goo_canvas_image_class_init):
+ * src/goocanvaspath.c (goo_canvas_path_class_init):
+ * src/goocanvaspolyline.c (goo_canvas_polyline_class_init):
+ * src/goocanvasrect.c (goo_canvas_rect_class_init):
+ * src/goocanvastext.c (goo_canvas_text_class_init):
+ * src/goocanvaswidget.c (goo_canvas_widget_class_init):
+ * demo/demo-item.c (goo_demo_item_class_init):
+ * src/goocanvasitemsimple.c: updated use of above class methods.
+
+ * src/goocanvasgroup.c (goo_canvas_group_update): handle children with
+ empty bounds (i.e. ignore their bounds when computing the group's
+ bounds).
+
+ * src/goocanvastable.c (goo_canvas_table_paint)
+ (goo_canvas_table_get_item_at):
+ * src/goocanvasgroup.c (goo_canvas_group_get_item_at)
+ (goo_canvas_group_paint): don't check the
+ child bounds here. Leave it up to the children to do that.
+
+ * src/goocanvasitemsimple.c (goo_canvas_item_simple_get_item_at)
+ (goo_canvas_item_simple_paint): check the item's bounds here.
+
2007-02-15 Damon Chaplin <damon at gnome.org>
* src/goocanvasutils.c:
Index: NEWS
===================================================================
RCS file: /cvs/cairo/goocanvas/NEWS,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- NEWS 24 Aug 2006 08:06:22 -0000 1.4
+++ NEWS 17 Feb 2007 13:48:34 -0000 1.5
@@ -1,4 +1,35 @@
+
+GooCanvas 0.6 (Feb 17 2007)
+=============
+
+ o Major rewrite to make the model optional, so people can choose to have
+ either a simple canvas or a model/view canvas. The standard items can be
+ used in either scenario.
+ o Added support for cascading style properties (things like fill color, stroke
+ width, font etc.). Properties use a GQuark for a unique identifier, and a
+ GValue for the property value, so they are very flexible.
+ o Added GooCanvasTable item to layout child items.
+ o Made it much easier to create new items, by subclassing GooCanvasItemSimple
+ which handles most of the work. See demo/demo-item.c for a simple item.
+ o Added support for different units - pixels, points, inches or millimeters,
+ and allow setting of vertical and horizontal resolution (dpi).
+ o Added workaround for cairo's 16-bit limit, to support large canvases.
+ o Added demo/scalability-demo which creates 100,000 items over a large canvas.
+ It takes a few seconds to create all the items, but once created it seems
+ to work fast enough.
+ o Improved the animation code, supporting relative or absolute values for
+ the x, y, scale and rotation.
+ o Added "clip-path" and "clip-fill-rule" to specify a clip path for an item.
+
+
+GooCanvas 0.5 (Oct 10 2006)
+=============
+
+ o This was just a development release previewing the new optional model-view
+ rewrite.
+
+
GooCanvas 0.4 (Aug 24 2006)
=============
Index: README
===================================================================
RCS file: /cvs/cairo/goocanvas/README,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- README 8 Feb 2007 22:56:45 -0000 1.6
+++ README 17 Feb 2007 13:48:34 -0000 1.7
@@ -9,7 +9,8 @@
It is usable now, though the API may change slightly before 1.0.
To build it run './configure' and 'make'. To run the demo cd into 'demo' and
-run './demo'. (Or run ./simple-demo for the very simple demo.)
+run './demo'. (Or run ./simple-demo for the very simple demo, or ./mv-demo
+for the model-view demo.)
Features:
@@ -23,6 +24,7 @@
o Layers/stacking order with raise/lower functions.
o Cascading styles - line width/style/dashes, colors, fill patterns.
o Affine transformations for all items - rotations/scales/skews.
+ o Clip paths to support clipping items.
o Event handling - button/motion events, "pointer-events" property like SVG.
o Grabs - support for pointer & keyboard grabs.
o Keyboard focus traversal.
Index: TODO
===================================================================
RCS file: /cvs/cairo/goocanvas/TODO,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- TODO 15 Feb 2007 14:18:50 -0000 1.23
+++ TODO 17 Feb 2007 13:48:35 -0000 1.24
@@ -2,9 +2,9 @@
Bugs
o Demo text layout is changing when scale is changed. Maybe bug 341481.
- o Text item bounds should use ink rect.
- o Should clip in goo_canvas_paint()? (e.g. for printing)
- o Table should clip children.
+ o Text item bounds should use ink rect, though layout maybe should use logical
+ o Should clip in goo_canvas_paint() if bounds passed in? (e.g. for printing)
+ o Table should clip children, if it had to shrink.
Features definitely needed:
Index: configure.in
===================================================================
RCS file: /cvs/cairo/goocanvas/configure.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- configure.in 12 Feb 2007 14:21:15 -0000 1.12
+++ configure.in 17 Feb 2007 13:48:35 -0000 1.13
@@ -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=0
+LT_CURRENT=1
LT_REVISION=0
LT_AGE=0
@@ -43,7 +43,7 @@
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
AC_SUBST(GLIB_MKENUMS)
-GTK_DOC_CHECK(1.4)
+GTK_DOC_CHECK(1.8)
AC_OUTPUT([
Makefile
- Previous message: [cairo-commit] goocanvas/demo demo-item.c,1.3,1.4
- Next message: [cairo-commit] goocanvas/src goocanvasellipse.c, 1.9,
1.10 goocanvasgroup.c, 1.18, 1.19 goocanvasimage.c, 1.12,
1.13 goocanvasitem.c, 1.19, 1.20 goocanvasitemmodel.c, 1.8,
1.9 goocanvasitemsimple.c, 1.20, 1.21 goocanvasitemsimple.h,
1.17, 1.18 goocanvaspath.c, 1.10, 1.11 goocanvaspolyline.c,
1.11, 1.12 goocanvasrect.c, 1.9, 1.10 goocanvastable.c, 1.5,
1.6 goocanvastext.c, 1.11, 1.12 goocanvaswidget.c, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list