head 1.19; access; symbols goocanvas-0-4:1.9.0.2 GOO_CANVAS_0_4_ANCHOR:1.9 V0_3:1.4 V0_2:1.1.1.1 DAMON:1.1.1; locks; strict; comment @# @; 1.19 date 2008.04.27.11.51.37; author damon; state Exp; branches; next 1.18; commitid SOILJRpOUq1p3K0t; 1.18 date 2008.03.23.23.33.41; author damon; state Exp; branches; next 1.17; commitid lmX5Kw9MVJy04jWs; 1.17 date 2007.08.14.10.50.46; author damon; state Exp; branches; next 1.16; 1.16 date 2007.04.03.09.58.05; author damon; state Exp; branches; next 1.15; 1.15 date 2007.02.27.14.45.07; author damon; state Exp; branches; next 1.14; 1.14 date 2007.02.19.11.16.14; author damon; state Exp; branches; next 1.13; 1.13 date 2007.02.17.13.48.35; author damon; state Exp; branches; next 1.12; 1.12 date 2007.02.12.14.21.15; author damon; state Exp; branches; next 1.11; 1.11 date 2007.02.09.13.41.03; author damon; state Exp; branches; next 1.10; 1.10 date 2006.11.29.18.47.02; author damon; state Exp; branches; next 1.9; 1.9 date 2006.10.12.12.53.47; author damon; state Exp; branches; next 1.8; 1.8 date 2006.09.11.11.09.14; author damon; state Exp; branches; next 1.7; 1.7 date 2006.08.24.08.06.22; author damon; state Exp; branches; next 1.6; 1.6 date 2006.07.19.13.38.13; author damon; state Exp; branches; next 1.5; 1.5 date 2006.05.16.10.09.43; author damon; state Exp; branches; next 1.4; 1.4 date 2006.04.24.15.14.33; author damon; state Exp; branches; next 1.3; 1.3 date 2006.04.12.15.29.21; author damon; state Exp; branches; next 1.2; 1.2 date 2006.04.12.10.42.20; author damon; state Exp; branches; next 1.1; 1.1 date 2005.12.15.15.32.00; author damon; state Exp; branches 1.1.1.1; next ; commitid 2dcb43a18c6f4567; 1.1.1.1 date 2005.12.15.15.32.00; author damon; state Exp; branches; next ; commitid 2dcb43a18c6f4567; desc @@ 1.19 log @0.10 release @ text @dnl Process this file with autoconf to produce a configure script. AC_INIT(goocanvas, 0.10) AC_PREREQ(2.50) AC_CONFIG_SRCDIR(src/goocanvas.c) AC_CONFIG_HEADERS(config.h) AM_INIT_AUTOMAKE # Libtool versioning - only update before a public release. # 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=4 LT_REVISION=0 LT_AGE=1 LT_VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE" AC_SUBST(LT_VERSION_INFO) AM_MAINTAINER_MODE AC_ISC_POSIX AC_PROG_CC AC_HEADER_STDC AM_PROG_LIBTOOL pkg_modules="gtk+-2.0 >= 2.10.0 glib-2.0 >= 2.10.0 cairo >= 1.4.0" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) GETTEXT_PACKAGE=goocanvas AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.]) dnl Add the languages which your application supports here. ALL_LINGUAS="en_GB es ja" AM_GLIB_GNU_GETTEXT GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` AC_SUBST(GLIB_GENMARSHAL) GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` AC_SUBST(GLIB_MKENUMS) AC_ARG_ENABLE(rebuilds, [AC_HELP_STRING([--disable-rebuilds], [disable all source autogeneration rules])],, [enable_rebuilds=yes]) # define a MAINT-like variable REBUILD which is set if Perl # and awk are found, so autogenerated sources can be rebuilt AC_PATH_PROGS(PERL, perl5 perl) REBUILD=\# if test "x$enable_rebuilds" = "xyes" && \ test -n "$PERL" && \ $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then REBUILD= fi AC_SUBST(REBUILD) AC_MSG_CHECKING([for some Win32 platform]) case "$host" in *-*-mingw*|*-*-cygwin*) platform_win32=yes ;; *) platform_win32=no ;; esac AC_MSG_RESULT([$platform_win32]) AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes") GTK_DOC_CHECK(1.8) AC_OUTPUT([ Makefile src/Makefile demo/Makefile docs/Makefile po/Makefile.in goocanvas.pc ]) @ 1.18 log @2008-03-23 Damon Chaplin * src/goocanvasitemsimple.c: made "stroke-color-rgba" and "fill-color-rgba" properties read/write. * configure.in (pkg_modules): depend on cairo >= 1.4.0 for cairo_pattern_get_rgba(). * demo/demo.c (test_color_properties): added some test code. @ text @d3 1 a3 1 AC_INIT(goocanvas, 0.9) d13 1 a13 1 LT_CURRENT=3 d15 1 a15 1 LT_AGE=0 @ 1.17 log @released 0.9 @ text @d27 1 a27 1 pkg_modules="gtk+-2.0 >= 2.10.0 glib-2.0 >= 2.10.0" @ 1.16 log @2007-04-03 Damon Chaplin * Released GooCanvas 0.8 2007-04-03 Damon Chaplin * 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. @ text @d3 1 a3 1 AC_INIT(goocanvas, 0.8) d13 1 a13 1 LT_CURRENT=2 @ 1.15 log @2007-02-27 Damon Chaplin * Released GooCanvas 0.7 2007-02-27 Damon Chaplin * src/goocanvas.c (goo_canvas_get_items_in_area): new function to get items inside or outside a given area. * demo/demo.c: added little test for goo_canvas_get_items_at() and goo_canvas_get_items_in_area(). @ text @d3 1 a3 1 AC_INIT(goocanvas, 0.7) d13 1 a13 1 LT_CURRENT=1 @ 1.14 log @2007-02-19 Damon Chaplin * configure.in: * src/Makefile.am: rewrote the stuff that handles the autogeneration of goocanvasmarshal.[hc] and goocanvasenumtypes.[hc], copying what GTK+ does. It now has a --disable-rebuilds option to disable the autogeneration and it doesn't try autogeneration if Perl isn't available. @ text @d3 1 a3 1 AC_INIT(goocanvas, 0.6) @ 1.13 log @2007-02-17 Damon Chaplin * Released GooCanvas 0.6 2007-02-17 Damon Chaplin * 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. @ text @d17 2 a18 2 VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE" AC_SUBST(VERSION_INFO) d46 28 @ 1.12 log @2007-02-12 Damon Chaplin * ja.po: * es.po: added new po files. @ text @d13 1 a13 1 LT_CURRENT=0 d46 1 a46 1 GTK_DOC_CHECK(1.4) @ 1.11 log @2007-02-09 Damon Chaplin * demo/demo-item.c (goo_demo_item_update): don't convert bounds to device space. * src/*.h: added padding to all *Class structs, to allow a bit of expansion without breaking backwards compatibility. * docs/*.xml: added example code to the introductory sections. Needs more explanation at some point. * configure.in: * src/Makefile.am: added libtool version numbers. @ text @d37 1 a37 1 ALL_LINGUAS="en_GB" @ 1.10 log @Updated demo and docs for new code @ text @d9 11 @ 1.9 log @2006-10-12 Damon Chaplin Applied patch from Paul Davis to use glib_mkenums, slightly modified: * configure.in: use pkg-config to get the glib_genmarshal and glib_mkenums binaries. * src/Makefile.am: use glib_mkenums to generate goocanvasenums.[hc]. * src/goocanvasutils.c: removed goo_canvas_pointer_events_get_type() and goo_canvas_item_visibility_get_type() as they're generated now. * src/goocanvasutils.h: removed get_type() declarations that are now in goocanvasenums.h, and modifed GooCanvasPointerEvents so glib_mkenums could parse it. * src/goocanvas.h: * src/goocanvasitem.c: include goocanvasenums.h. @ text @d3 1 a3 1 AC_INIT(goocanvas, 0.4) d5 1 a5 1 AC_CONFIG_SRCDIR(src/goocanvasview.c) @ 1.8 log @2006-09-11 Damon Chaplin * src/goocanvaspolylineview.c: be more careful about using points and arrow data. * demo/demo.c (setup_lines): add checks for polylines with 0 and 1 points. * configure.in: require GTK+ 2.10.0, for GtkUnit (Gian Mario Tagliaretti). @ text @d29 5 a33 2 AC_ARG_VAR(GLIB_GENMARSHAL, [The glib-genmarshal executable.]) AC_CHECK_PROG(GLIB_GENMARSHAL, glib-genmarshal, glib-genmarshal) @ 1.7 log @2006-08-24 Damon Chaplin * Released GooCanvas 0.4 2006-08-24 Damon Chaplin * src/*.c: updated docs to point to goo_canvas_view_get_item_view() as a simple alternative for setting up signal handlers. * src/goocanvasview.c (goo_canvas_view_pointer_ungrab): only call gdk_display_pointer_ungrab() if we have an active pointer grab. So maybe we can now use goo_canvas_view_pointer_ungrab() to ungrab passive grabs on canvas item views (need to test this though). @ text @d16 1 a16 1 pkg_modules="gtk+-2.0 >= 2.8.0 glib-2.0 >= 2.10.0" @ 1.6 log @2006-07-19 Damon Chaplin * configure.in: depend on glib 2.10.0 (from Gian Mario Tagliaretti). * src/goocanvasutils.c (goo_canvas_pointer_events_get_type): use a flags type rather than an enum type (from Gustavo J. A. M. Carneiro). * src/goocanvasitem.c (goo_canvas_item_base_init): * src/goocanvasitemsimple.c: * src/goocanvasgroup.c: updated to use the flags type for "pointer-events" instead of enum. * src/goocanvasprivate.h: * src/goocanvasutils.h: The type GOO_TYPE_CAIRO_MATRIX is used in a public interface (a property in the GooCanvasItem interface), therefore it has to be public (from Gustavo J. A. M. Carneiro). @ text @d3 1 a3 1 AC_INIT(goocanvas, 0.3) @ 1.5 log @2006-05-16 Damon Chaplin * goocanvas.pc.in: * Makefile.am: * configure.in: added .pc file (patch from Gian Mario Tagliaretti). @ text @d16 1 a16 1 pkg_modules="gtk+-2.0 >= 2.8.0" @ 1.4 log @2006-04-24 Damon Chaplin * Released GooCanvas 0.3 2006-04-24 Damon Chaplin * src/goocanvasview.c: added "model", "scale", "anchor", "x1", "y1", "x2", "y2" properties, and goo_canvas_view_get_bounds() and goo_canvas_view_get_scale() accessors. Removed goo_canvas_view_set_anchor() as the property should be enough. (I think we should only have accessor functions for major properties.) @ text @d40 1 @ 1.3 log @2006-04-12 Damon Chaplin * configure.in: updated to use newer forms of macros. * COPYING: added LGPL license. * src/Makefile.am (libgoocanvasincludedir): install headers into $(includedir)/goocanvas-1.0 rather than $(includedir)/libgoocanvas-1.0. @ text @d3 1 a3 1 AC_INIT(goocanvas, 0.2) @ 1.2 log @2006-04-12 Damon Chaplin * autogen.sh: * configure.in: * Makefile.am: setup to use gtk-doc. * src/Makefile.am: build libgoocanvas as a library now, so we can document it with gtk-doc. The demo will be moved to a separate directory. * src/goocanvastext.h: * src/goocanvasitem.h: rename a few parameters to match the sources, since gtk-doc complains if they are different. @ text @d3 6 a8 3 AC_INIT(configure.in) AM_INIT_AUTOMAKE(goocanvas, 0.2) AM_CONFIG_HEADER(config.h) a12 1 AM_PROG_CC_STDC @ 1.1 log @Initial revision @ text @d12 1 d30 2 d35 2 @ 1.1.1.1 log @Cairo canvas widget for GTK+ @ text @@