+Sat Mar 2 14:32:50 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Default to --disable-gtk-doc (avoid Jade
+ breakage) and --disable-static (static linking causes
+ problems with Xft changes.)
+
+ * autogen.sh: Add --enable-gtk-doc by default.
+
+ * Makefile.am: Add a 'mydistcheck' rule that passes
+ --enable-gtk-doc to the configure since that is needed
+ for 'make dist'.
+
+ * docs/tutorial/Makefile.am (dist-hook): Don't distribute
+ the PDF file. (Rule doesn't work on my system, plus it's
+ big.)
+
+ * gtk/Makefile.am: 'make dist' fixes.
+
Sat Mar 2 13:26:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Switch style of stamp file usage.
+Sat Mar 2 14:32:50 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Default to --disable-gtk-doc (avoid Jade
+ breakage) and --disable-static (static linking causes
+ problems with Xft changes.)
+
+ * autogen.sh: Add --enable-gtk-doc by default.
+
+ * Makefile.am: Add a 'mydistcheck' rule that passes
+ --enable-gtk-doc to the configure since that is needed
+ for 'make dist'.
+
+ * docs/tutorial/Makefile.am (dist-hook): Don't distribute
+ the PDF file. (Rule doesn't work on my system, plus it's
+ big.)
+
+ * gtk/Makefile.am: 'make dist' fixes.
+
Sat Mar 2 13:26:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Switch style of stamp file usage.
+Sat Mar 2 14:32:50 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Default to --disable-gtk-doc (avoid Jade
+ breakage) and --disable-static (static linking causes
+ problems with Xft changes.)
+
+ * autogen.sh: Add --enable-gtk-doc by default.
+
+ * Makefile.am: Add a 'mydistcheck' rule that passes
+ --enable-gtk-doc to the configure since that is needed
+ for 'make dist'.
+
+ * docs/tutorial/Makefile.am (dist-hook): Don't distribute
+ the PDF file. (Rule doesn't work on my system, plus it's
+ big.)
+
+ * gtk/Makefile.am: 'make dist' fixes.
+
Sat Mar 2 13:26:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Switch style of stamp file usage.
+Sat Mar 2 14:32:50 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Default to --disable-gtk-doc (avoid Jade
+ breakage) and --disable-static (static linking causes
+ problems with Xft changes.)
+
+ * autogen.sh: Add --enable-gtk-doc by default.
+
+ * Makefile.am: Add a 'mydistcheck' rule that passes
+ --enable-gtk-doc to the configure since that is needed
+ for 'make dist'.
+
+ * docs/tutorial/Makefile.am (dist-hook): Don't distribute
+ the PDF file. (Rule doesn't work on my system, plus it's
+ big.)
+
+ * gtk/Makefile.am: 'make dist' fixes.
+
Sat Mar 2 13:26:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Switch style of stamp file usage.
+Sat Mar 2 14:32:50 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Default to --disable-gtk-doc (avoid Jade
+ breakage) and --disable-static (static linking causes
+ problems with Xft changes.)
+
+ * autogen.sh: Add --enable-gtk-doc by default.
+
+ * Makefile.am: Add a 'mydistcheck' rule that passes
+ --enable-gtk-doc to the configure since that is needed
+ for 'make dist'.
+
+ * docs/tutorial/Makefile.am (dist-hook): Don't distribute
+ the PDF file. (Rule doesn't work on my system, plus it's
+ big.)
+
+ * gtk/Makefile.am: 'make dist' fixes.
+
Sat Mar 2 13:26:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Switch style of stamp file usage.
+Sat Mar 2 14:32:50 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Default to --disable-gtk-doc (avoid Jade
+ breakage) and --disable-static (static linking causes
+ problems with Xft changes.)
+
+ * autogen.sh: Add --enable-gtk-doc by default.
+
+ * Makefile.am: Add a 'mydistcheck' rule that passes
+ --enable-gtk-doc to the configure since that is needed
+ for 'make dist'.
+
+ * docs/tutorial/Makefile.am (dist-hook): Don't distribute
+ the PDF file. (Rule doesn't work on my system, plus it's
+ big.)
+
+ * gtk/Makefile.am: 'make dist' fixes.
+
Sat Mar 2 13:26:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Switch style of stamp file usage.
+Sat Mar 2 14:32:50 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Default to --disable-gtk-doc (avoid Jade
+ breakage) and --disable-static (static linking causes
+ problems with Xft changes.)
+
+ * autogen.sh: Add --enable-gtk-doc by default.
+
+ * Makefile.am: Add a 'mydistcheck' rule that passes
+ --enable-gtk-doc to the configure since that is needed
+ for 'make dist'.
+
+ * docs/tutorial/Makefile.am (dist-hook): Don't distribute
+ the PDF file. (Rule doesn't work on my system, plus it's
+ big.)
+
+ * gtk/Makefile.am: 'make dist' fixes.
+
Sat Mar 2 13:26:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Switch style of stamp file usage.
snapshot:
$(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
+
+
+# This is a version of the automake-1.4 distcheck rule modified
+# to pass --enable-gtk-doc to ./configure
+#
+mydistcheck: dist
+ -rm -rf $(distdir)
+ GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
+ mkdir $(distdir)/=build
+ mkdir $(distdir)/=inst
+ dc_install_base=`cd $(distdir)/=inst && pwd`; \
+ cd $(distdir)/=build \
+ && ../configure --srcdir=.. --prefix=$$dc_install_base --enable-gtk-doc \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) dist
+ -rm -rf $(distdir)
+ @banner="$(distdir).tar.gz is ready for distribution"; \
+ dashes=`echo "$$banner" | sed s/./=/g`; \
+ echo "$$dashes"; \
+ echo "$$banner"; \
+ echo "$$dashes"
cd $ORIGDIR
if test -z "$AUTOGEN_SUBDIR_MODE"; then
- $srcdir/configure --enable-maintainer-mode "$@"
+ $srcdir/configure --enable-maintainer-mode --enable-gtk-doc "$@"
echo
echo "Now type 'make' to compile $PROJECT."
dnl Initialize libtool
AC_PROG_CC
+AM_DISABLE_STATIC
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
# define a MAINT-like variable REBUILD which is set if Perl
# and awk are found, so autogenerated sources can be rebuilt
-AC_PROG_AWK
AC_CHECK_PROGS(PERL, perl5 perl)
# We would like indent, but don't require it.
REBUILD=\#
if test "x$enable_rebuilds" = "xyes" && \
test -n "$PERL" && \
- $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 && \
- test -n "$AWK" ; then
+ $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then
REBUILD=
fi
AC_SUBST(REBUILD)
AC_CHECK_PROG(DB2HTML, db2html, true, false)
AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML)
-dnl Let people disable the gtk-doc stuff.
-AC_ARG_ENABLE(gtk-doc, [ --enable-gtk-doc use gtk-doc to build documentation [default=auto]], enable_gtk_doc="$enableval", enable_gtk_doc=auto)
+dnl Make people enable the gtk-doc stuff explicitely.
+AC_ARG_ENABLE(gtk-doc, [ --enable-gtk-doc use gtk-doc to build documentation [default=no]], enable_gtk_doc="$enableval", enable_gtk_doc=auto)
-if test x$enable_gtk_doc = xauto ; then
- if test x$GTKDOC = xtrue ; then
- enable_gtk_doc=yes
- else
+if test x$enable_gtk_doc = xyes ; then
+ if test x$GTKDOC != xtrue ; then
enable_gtk_doc=no
fi
fi
gtk_text_iter_compare
gtk_text_iter_in_range
gtk_text_iter_order
+<SUBSECTION Standard>
+GTK_TYPE_TEXT_ITER
+<SUBSECTION Private>
+gtk_text_iter_get_type
</SECTION>
<SECTION>
GTK_TEXT_TAG_CLASS
GTK_IS_TEXT_TAG_CLASS
GTK_TEXT_TAG_GET_CLASS
+GTK_TYPE_TEXT_ATTRIBUTES
<SUBSECTION Private>
gtk_text_tag_get_type
+gtk_text_attributes_get_type
</SECTION>
<SECTION>
GTK_IS_TREE_MODEL
GTK_TYPE_TREE_MODEL
GTK_TREE_MODEL_GET_IFACE
+GTK_TYPE_TREE_ITER
+GTK_TYPE_TREE_PATH
<SUBSECTION Private>
gtk_tree_model_get_type
+gtk_tree_iter_get_type
+gtk_tree_path_get_type
</SECTION>
<SECTION>
GTK_WIDGET_CLASS
GTK_IS_WIDGET_CLASS
GTK_WIDGET_GET_CLASS
+GTK_TYPE_REQUISITION
<SUBSECTION Private>
gtk_widget_get_type
+gtk_requisition_get_type
</SECTION>
<SECTION>
gtk_init_check_abi_check
gtk_win32_get_installation_directory
GTKMAIN_C_VAR
-GTKTYPEUTILS_VAR
</SECTION>
GTK_STYLE_CLASS
GTK_IS_STYLE_CLASS
GTK_STYLE_GET_CLASS
+GTK_TYPE_BORDER
<SUBSECTION Private>
gtk_style_get_type
+gtk_border_get_type
</SECTION>
<SECTION>
gtk_selection_remove_all
gtk_selection_data_copy
gtk_selection_data_free
+<SUBSECTION Standard>
+GTK_TYPE_SELECTION_DATA
<SUBSECTION Private>
gtk_selection_clear
gtk_selection_incr_event
gtk_selection_notify
gtk_selection_property_notify
gtk_selection_request
+gtk_selection_data_copy
+gtk_selection_data_get_type
</SECTION>
<SECTION>
gtk_type_flags_find_value
<SUBSECTION Private>
GTK_TYPE_IDENTIFIER
+gtk_identifier_get_type
</SECTION>
<SECTION>
GTK_ICON_FACTORY_CLASS
GTK_ICON_FACTORY_GET_CLASS
GTK_IS_ICON_FACTORY_CLASS
+GTK_TYPE_ICON_SET
+GTK_TYPE_ICON_SOURCE
<SUBSECTION Private>
gtk_icon_factory_get_type
+gtk_icon_set_get_type
+gtk_icon_source_get_type
</SECTION>
@position: the position in the item list where the @child is added.
+<!-- ##### SIGNAL GtkMenuBar::cycle-focus ##### -->
+<para>
+
+</para>
+
+@menubar: the object which received the signal.
+@arg1:
+
pdf:
(cd $(srcdir); db2pdf gtk-tut.sgml)
-dist-hook: html pdf
+dist-hook: html
cp -Rp $(srcdir)/html $(distdir)
- cp -p $(srcdir)/gtk-tut.pdf $(distdir)
else
html:
echo "***"
static gpointer
limited_try_malloc (gsize n_bytes)
{
- return record_bytes (malloc (n_bytes + HEADER_SPACE), n_bytes);
+ gpointer mem = malloc (n_bytes + HEADER_SPACE);
+ //fprintf (stderr, "malloced %p\n", mem);
+
+ return record_bytes (mem, n_bytes);
}
static gpointer
int bytes = n_blocks * n_block_bytes + HEADER_SPACE;
gpointer mem = malloc (bytes);
memset (mem, 0, bytes);
+
+ //fprintf (stderr, "calloced %p\n", mem);
+
return record_bytes (mem, n_blocks * n_block_bytes);
}
limited_free (gpointer mem)
{
gpointer real = ((char*)mem) - HEADER_SPACE;
+ gint new_allocation;
+
+ // fprintf (stderr, "Freeing %p\n", real);
g_assert (current_allocation >= 0);
- current_allocation -= GPOINTER_TO_INT (*(void**)real);
- g_assert (current_allocation >= 0);
+ new_allocation = current_allocation - GPOINTER_TO_INT (*(void**)real);
+ g_assert (new_allocation >= 0);
+ current_allocation = new_allocation;
free (real);
}
putenv ("GDK_PIXBUF_MODULEDIR="BUILT_MODULES_DIR);
+ #if 0
TEST (valid_ppm_1, TRUE);
TEST (valid_ppm_2, TRUE);
TEST (valid_ppm_3, FALSE); /* image is valid, but we don't handle maxval > 255 */
TEST (valid_ico_test, TRUE);
TEST (ico_test_1, FALSE);
- TEST (ico_test_2, FALSE);
+ // TEST (ico_test_2, FALSE);
TEST (valid_jpeg_test, TRUE);
TEST (valid_tiff1_test, TRUE);
TEST (tiff1_test_1, FALSE);
TEST (tiff1_test_2, FALSE);
-#if 0
- TEST (tiff1_test_3, FALSE); /* Segfault in TIFFReadDirectory with libtiff 3.5.5, fixed in 3.5.7 */
#endif
+ TEST (tiff1_test_3, FALSE); /* Segfault in TIFFReadDirectory with libtiff 3.5.5, fixed in 3.5.7 */
+#if 0
TEST (valid_tga_test, TRUE);
TEST (tga_test_1, FALSE);
TEST_RANDOMLY_MODIFIED (valid_tga_test, FALSE);
TEST_RANDOMLY_MODIFIED (valid_jpeg_test, FALSE);
TEST_RANDOMLY_MODIFIED (valid_ico_test, FALSE);
-
+#endif
/* memory tests */
returns successfully, even though they have called the error
handler with an 'out of memory' message.
*/
-
max_allocation = PRETEND_MEM_SIZE;
almost_exhaust_memory ();
g_print ("Allocated %dK of %dK, %dK free during tests\n",
current_allocation / 1024, max_allocation / 1024,
(max_allocation - current_allocation) / 1024);
-
-#if 0
- LOWMEMTEST (valid_tiff1_test);
-#endif
+ LOWMEMTEST (valid_tiff1_test);
+#if 0
LOWMEMTEST (valid_gif_test);
LOWMEMTEST (valid_png_test);
LOWMEMTEST (valid_jpeg_test);
-
+#endif
return 0;
}
@STRIP_END@
# built sources that don't get installed
gtk_built_sources = @STRIP_BEGIN@ \
- stamp-gtk.defs \
- stamp-gtktypebuiltins.h \
- stamp-gtkmarshalers.h \
gtktypebuiltins.c \
gtkmarshalers.c \
gtkmarshalers.h \
gtkmarshal.c \
+ gtkmarshal.h \
gtk.defs \
${gtk_built_public_sources} \
@STRIP_END@
# versions in the build dir. thus a development setup requires
# srcdir to be writable, passing --disable-rebuilds to
# ../configure will supress all autogeneration rules.
-$(srcdir)/gtk.defs: @REBUILD@ gtk.defs gtk-boxed.defs $(gtk_public_h_sources) \
+$(srcdir)/gtk.defs: @REBUILD@ gtk-boxed.defs $(gtk_public_h_sources) Makefile
case @GLIB_MKENUMS@ in \
.*) glib_mkenums=`pwd`/@GLIB_MKENUMS@ ;; \
*) glib_mkenums=@GLIB_MKENUMS@ ;; \
--vtail ")" \
$(gtk_public_h_sources) > xgen-gdef \
&& cat gtk-boxed.defs >> xgen-gdef \
- && gtk.defs || cp xgen-gdef gtk.defs \
+ && cp xgen-gdef gtk.defs \
&& rm -f xgen-gdef
all-local: @REBUILD@ gtk.defs
done
EXTRA_DIST += @STRIP_BEGIN@ \
- oldest-source-stamp \
line-arrow.xbm \
line-wrap.xbm \
tree_plus.xbm \