1998-07-25  Marius Vollmer  <mvo@zagadka.ping.de>

	Prevent guile-gtk from registering missing types with Gtk+.
	
	* guile-gtk.c (gtk_type_register_builtin): Removed.
	(sgtk_register_type_infos): Do nothing with the sgtk_type_infos
	except putting them on the ALL_TYPE_INFOS list.  Do not try to
	find them and do not create them when they are missing from Gtk+'s
	run-time type system.  Do not enter them into our type info table.
	(sgtk_fillin_type_info): New function to perform the things on
	demand that sgtk_register_type_infos used to do.
	(sgtk_find_type_info): Try to find the sgtk_type_info in
	ALL_TYPE_INFOS when it is not found in the table.
	(sgtk_boxed2scm): Call sgtk_fillin_type_info.
	(sgtk_find_object_info): Return NULL when the found type_info is
	not for an GTK_TYPE_OBJECT.
	
	* Makefile.am (EXTRA_DIST): Distribute "continuations.scm", not
	"continuations.h", silly me.  Distribute "gnome-guile-checks.m4".

Wed Jul 22 00:01:07 1998  Tom Tromey  <tromey@cygnus.com>

	* gnome-guile-checks.m4: If no build-guile, link against readline
	before termcap.

1998-07-21  Marius Vollmer  <mvo@zagadka.ping.de>

	* gtk.defs (GtkProgressBar): Removed "percentage" field so that it
	compiles again.

1998-07-12  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-gtk.c (sgtk_valid_double, sgtk_double2scm,
	sgtk_scm2double): New functions.
	(sgtk_arg2scm, sgtk_scm2arg, sgtk_scm2ret): Use them for
	GTK_TYPE_DOUBLE.
	(sgtk_find_object_info_from_type, sgtk_find_object_info,
	sgtk_build_args): Made non-static.

	* guile-gtk.h (sgtk_valid_double, sgtk_double2scm,
	sgtk_scm2double, sgtk_find_object_info_from_type,
	sgtk_find_object_info, sgtk_build_args, gdk_event_button): New
	prototypes.

	* gtk-support.c (gdk_event_button): New function.
	* gdk.defs.guile (gdk_event_button): New definition.

	* build-guile-gtk.in (emit-funcs): Register "double" type.

1998-07-11  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-gtk.c (sgtk_find_arg_info): Do not use
	gtk_object_get_arg_type for long names.  Instead, search the
	object_info of the class part of the name, and start the search
	for the short name there.

1998-07-03  Raja R Harinath  <harinath@cs.umn.edu>

	* guile-gtk.c (gtk_type_register_builtin): Improve fix.  Use
	`memset' to initialize all fields, known or unknown, named or
	renamed, to 0.

1998-07-01  Jens Lautenbacher  <jens@tellux.de>

	* gtk.defs: (GtkSpinButtonUpdatePolicy) Grr. Is a enum in gtk, not
 	a flag.

1998-06-30  Jens Lautenbacher  <jens@tellux.de>

	* guile-gtk.c (gtk_type_register_builtin): removed arg_set_func
 	and arg_get_func to make it compile against new gtk versions.

1998-06-24  Raja R Harinath  <harinath@cs.umn.edu>

	* Makefile.am (gtk-glue.c): Tell build-guile-gtk.in to look in
	$(srcdir) for files to (import ...).
	(gdk-glue.c): Likewise.
	(main.c): Likewise.

1998-06-24  Jens Lautenbacher  <jens@tellux.de>

	* gtk.defs: (GtkSpinButtonUpdatePolicy) Removed obsolete
 	GTK_UPDATE_SNAP_TO_TICKS flag.

1998-06-20  Marius Vollmer  <mvo@zagadka.ping.de>

	* README: Added pointers to simple-gtk and wickel.

	From lutterdc@cs.purdue.edu (David Lutterkort):
	* gtk.defs (GtkButton): Add `child' to field option.
	(gtk_file_selection_show_fileop_buttons,
	gtk_file_selection_hide_fileop_buttons): New definitions.

1998-06-16  Marius Vollmer  <mvo@zagadka.ping.de>

	* examples/continuations.scm: New file.
	* Makefile.am (EXTRA_DIST): Distribute it.

1998-06-14  Marius Vollmer  <mvo@zagadka.ping.de>

	* gtk/dynlink.scm (do-libtool-link): Beautify warning message when
	a library could not be loaded.

	* gtk.defs: Corrected first line to use the string expected by
	configure to decide whether to install gtk.defs or not.
	Inactivated all stuff that refers to accelerators.
	
	* guiledlopenhelper.c (sgtk_dlopen): Print dlerror message to
	stderr when dlopen returned NULL.

	* guile-gtk.c (enter_proxy): Cast arguments to g_hash_table_new to
	GHashFunc and GCompareFunc, respectively.
	(sgtk_valid_composite): Use scm_ilength to test whether OBJ is a
	list.  Simplify loop over all list elements accordingly.
	(sgtk_slist2scm): Changed "gpointer" to "void".
	(sgtk_scm2slist): Changed "gpointer" to "void".  Allow SCM_EOL to
	be a list, too.
	(sgtk_scm2cvec, sgtk_cvec_free): New.
	* guile-gtk.h (sgtk_slist2scm, sgtk_scm2slist): Changed "gpointer"
	to "void".
	(sgtk_cvec, sgtk_scm2cvec, sgtk_cvec_free): New.
	(GtkWidgetFlags): Only define if G_ENUM isn't defined.

	* build-guile-gtk.in (emit-composite-helpers): Changed "gpointer"
	to "void".
	(realize-slist-type): Only types that don't have the fit-for-list
	property can't be used in lists, not those where
	scm2c-does-type-checking.
	(realize-cvec-type): New.
	(realize-type): Added case for `cvec' types.
	(register-boxed-converter, register-object-type): Set fit-for-list
	property.
	(emit-funcs): Set fit-for-list property for string, static_string,
	int, uint types.
	
	* gnome-guile-checks.m4: Copied from "../macros/".
	* autogen.sh: Changed -I location from "../macros" to "."
	* Makefile.am: Added ACLOCAL_AMFLAGS variable to pass "-I ." to
	aclocal when run by make.
	(EXTRA_DIST): Distribute README.gnome-guile.

	* examples/calc.scm: Read and push all values that are in the
	entry, not just the first.

1998-06-11  Marius Vollmer  <mvo@zagadka.ping.de>

	* gtk.defs: Correctly specify GtkBin as the base of GtkEventBox.
	Thanks to Jeff Dike.

1998-06-07  Marius Vollmer  <mvo@zagadka.ping.de>

	* configure.in: Bump version number to `0.11a'.

1998-06-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* Makefile.am (EXTRA_DIST): Removed README.libtool rule, as there
	is no such file.

1998-06-03  Martin Baulig  <baulig@merkur.uni-trier.de>

	* configure.in: Using GNOME_CHECK_GUILE again; I improved this macro
	a little bit, it makes sure guile really works and has a failflag
	like GNOME_INIT. In general, I think it is better to use a macro
	from the `macros' directory since this can more easily be changed.

	* acconfig.h (HAVE_GUILE): New tag.

	* Makefile.am (INCLUDES): Added $(GUILE_INCS).

	* autogen.sh: Added `-I ../macros' to invocation of `aclocal'.

1998-06-02  Marius Vollmer  <mvo@zagadka.ping.de>

	* gtk-compat.c: Include <gdk/gdkx.h> for GDK_ROOT_PARENT.
	(gtk_pixmap_new_interp): Call gdk_pixmap_create_from_xpm with
	GDK_ROOT_PARENT as window.  This is probably not correct, is it?
	
1998-05-31  Marius Vollmer  <mvo@zagadka.ping.de>

	First traces of composite types (lists and arrays).
	
	* build-guile-gtk.in (printable): New function.
	(make-type): Replace optional c2args parameter with more general
	`props' mechanism.  Changed callers.
	(type-prop): New function.
	(type-scm2c-does-type-checking): New function to remove
	overloading of type-isa.  See comment.
	(type-c2args): Use type-prop.
	(type-free): New function.
	(emitted-helpers, emit-composite-helpers, realize-slist-type,
	realize-type): New
	(lookup-type): Use assoc instead of assq to make it work with
	types that have lists as names.
	(emit-func): Call realize-type for every parameter type and the
	return type.  Use type-scm2c-does-type-checking instead of
	type-isa to figure out whether scm2c does type checking. Emit code
	to cleanup the converted parameters after the C function has been
	called.
	(register-type 'int, register-type 'uint): Always emit a useable
	type checker. Use scm2c-does-type-checking to signal that, well,
	scm2c does type checking.

	* gtk.defs (gtk_radio_button_group): New function.

	* guile-gtk.h (sgtk_valid_composite, sgtk_slist2scm,
	sgtk_scm2slist): New prototypes.
	* guile-gtk.c (sgtk_valid_composite, sgtk_slist2scm,
	sgtk_scm2slist): New functions.
	

1998-05-30  Marius Vollmer  <mvo@zagadka.ping.de>

	* autogen.sh, cleanit.sh: New.

1998-05-24  Marius Vollmer  <mvo@zagadka.ping.de>

	Released 0.10
	
	* guiledlopenhelper.c: New.

	* Makefile.am (lib_LTLIBRARIES): Add libguiledlopenhelper.la
	(libguiledlopenhelper_la_SOURCES,
	libguiledlopenhelper_la_LDFLAGS): New.
	(EXTRA_DIST): List new files from the examples/ directory.

	* build-guile-gtk.in (read-link-info): Convert init-func to a
	symbol before using it as a key.

	* example/Makefile.am, example/configure.in, example/foo.c,
	example/foo.h, example/foo.defs, example/foo.defs.guile,
	example/foo.scm, example/test-foo.scm: New.

	* gtk/dynlink.scm (pk, this-module, init-dlopen-funcs): New.
	(search-path): New function.
	(find-libtool-library): Use it.
	(default-lib-path): Search LD_LIBRARY_PATH before
	"/usr/local/lib".
	(find-soname): New.
	(dlopen-libtool-library): Use "libdir" from .la file for locating
	the real shared object.  Call init-dlopen-funcs.  Use %sgtk-dlopen
	instead of dynamic-link.  Use find-soname for the fallback case.
	Do not print warning here when fallback fails, too.
	(do-libtool-link): Print warning here, instead.
	(merge-compiled-code): Throw error when dlopen-libtool-library
	returns #f.  Use %sgtk-dlinit for dynamically linked functions.
	Still use dynamic-call for functions found in registered-modules.
	
1998-05-23  Marius Vollmer  <mvo@zagadka.ping.de>

	* Makefile.am (libguilegtk_la_LIBADD): Removed GUILE_LIBS.  The
	GUILE_LIBS are already provided by the guile executable and are
	likely to contain static libraries, which complicate dynamic
	linking.

	* gtk/dynlink.scm (find-libtool-library): Take path to search as
	parameter.  Return `#f' on failure instead of throwing.
	(default-lib-path): New function.
	(libtool-library-dlname): Removed (superseded by the following).
	(libtool-library-info): New function.
	(dlopen-libtool-library): Take optional path parameter.  Link all
	dependency_libs before linking this one.  Try ".so" lib when no
	".la" file could be found or it contains no dlname.  Merely print
	warning and return #f when library could not be linked.
	(make-word-scanner): New function.
	(do-libtool-link): New function.

	* gtk.defs (gtk_entry_new_with_max_length): Declare return type as
	GtkWidget, not none.

	* ltconfig: Remove inter-library dependency hack.  We are now back
	to using the official libtool.
	
1998-05-16  Marius Vollmer  <mvo@zagadka.ping.de>

	Released 0.9

	* ltconfig, ltmain.sh, README.libtool: Upgraded to libtool 1.2a.
	ltconfig is patched to make inter-library dependencies appear to
	work on GNU/Linux.

	* Makefile.in: Upgraded to automake 1.3.
	
	* Makefile.am (main.c): Generate from gtk.defs and gdk.defs
	instead of from the *.defs.guile files.  Include gtk.defs and
	gdk.defs in dependencies.

	* build-guile-gtk.in (form-options): Handle `define-object' and
	`define-boxed'.
	(emit-boxed-info): Get copy, free and size from the form options.
	(emit-field-accessors): Emit setter function when requested.
	(emit-funcs): Emit field accessors of boxed types.
	(emit-main): Use SGTK_REGISTER_GLUE instead of explicit module
	magic.

	* configure.in: Signal error when the right version of Gtk+ could
	not be found.  Check for qt_abort, not qtabort.

	* gdk.defs: Changed all `define-boxed' statements to new syntax,
	so that they can have options.
	(GdkVisibilityState, GdkInputSource): New enum definitions.

	* gdk.defs.guile: Added large number of GdkEvent accessor
	functions.

	* gtk/gtk.scm (gtk-standalone-main): New function.

	* gtk-support.c: Added large number of GdkEvent accessor
	functions.

	* gtk.defs: Changed all `define-boxed' statements to new syntax,
	so that they can have options.

	* guile-gtk.c (sgtk_init_noargs, sgtk_init, sgtk_init_with_gtk,
	sgtk_init_argv, sgtk_init_with_args): Renamed sgtk_init_noargs to
	sgtk_init.  Renamed sgtk_init_with_gtk to sgtk_init_with_args.
	Removed sgtk_init_argv.  Changed all callers.
	(sgtk_register_glue): New function.

	* guile-gtk.h: Updated to reflect guile-gtk.c and gtk-support.c
	
Mon May 11 00:33:27 1998  Marius Vollmer  <mvo@diaspora>

        * Makefile.am (gtkmoduledir): New installation directory.
	(install-data-local): Make $(gtkmoduledir) and populate it.
	(BUILT_SOURCES): Removed "gtk-glue.x", "gdk-glue.x" and "main.x".
  	Added "gtk-support.x".
	(CLEANFILES): Removed "gtk-glue.x", "gdk-glue.x".  Added
 	"gtk-support.x".
	(EXTRA_DIST): Added "README.libtool", "gtk/gdk.scm" and
 	"gtk/dynlink.scm".
	(main.c): New target.  "main.c" is now generated by
 	build-guile-gtk, too.

	* build-guile-gtk.in (*imported-initfuncs*): New variable.
	(read-file): New argument BACKEND.  Code for processing all
 	statements except `import' and `include' removed, call BACKEND
 	instead to do the processing.
	(glue-backend): New function to perform the processing formerly
 	done by read-file.
	(*inits*, add-init): New toplevel definitions.
	(emit-func): Do not emit "SCM_PROC" directives.  Directly generate
 	its definition instead and remember an appropriate
 	"scm_make_gsubr" with add-init.  Renamed "c_ret" to "cr_ret"
 	throughout.
	(->c-identifier, module->cfunc, module->cname): New unused
 	functions.
	(emit-glue): New function.
	(read-link-info, init-func->module-name, emit-main, run-system,
 	link-flags, do-link): New functions.
	(maybe-next-arg, rest-args): New functions.
	(defs-file): Removed.
	(at toplevel): Do not read "defs-file".  Moved most of the code
 	for the "glue" command into emit-glue.  New commands "main",
 	"libs", "cflags" and "link".

	* gdk.defs.guile: Removed snarf-file option.  Changed
 	init-func option to "sgtk_init_gtk_gdk_glue".
	
	* gtk.defs.guile: Removed snarf-file option.  Changed init-func
 	option to "sgtk_init_gtk_gtk_glue".  Added extra-init-code option
 	for calling sgtk_init_gtk_support.

	* gtk-support.c: Moved SCM_PROCs from guile-gtk.c to here.
	(sgtk_init_gtk_support): New function.

	* guile-gtk.c: Move Guile compatabilityy stuff from guile-gtk.h to
	here. Moved all SCM_PROCs to gtk-support.c
	(get_type_info, sgtk_get_type_info): Renamed.  Changed all
	callers.
	(sgtk_register_type_infos): Call sgtk_init_noargs.
	(sgtk_string_conversion): Only call SCM_COERCE_SUBSTRING on proper
	strings.
	(sgtk_init, sgtk_init_substrate): Renamed sgtk_init to
	sgtk_init_substrate and made static. Do not call
	sgtk_init_gdk_defs and sgtk_init_gtk_defs.
	(sgtk_inited): New variable.
	(sgtk_init_with_gtk): Return immediatly when we have already been
	inited.  Set sgtk_inited to 1 after initiliazing.
	(sgtk_init_noargs): Made non-static.
	(hack_compiled_switches): Moved from "main.c".
	(sgtk_shell): Moved from "main.c".  Call sgtk_init_with_gtk.

	* guile-gtk.h: Moved Guile compatability stuff to "guile-gtk.c".
  	(sgtk_get_type_info, sgtk_callback_trampoline, sgtk_shell): New
 	prototypes.

	* libtool: Updated to version 1.2.  Read README.libtool.

	* toolkits/gtk.scm: Contents moved to "gtk/gtk.scm".  Throw error
 	when loaded.

	* gtk/gtk.scm: Moved contents of "toolkits/gtk.scm" here.  Renamed
 	to be the (gtk gtk) module.  Don't use (gtk gtkstubs) module.  Use
 	(gtk dynlink) module.  Call merge-compiled-code instead of
 	merge-exports.
	(merge-exports): Removed.
	(gtk-update): Made public.
	(gtk-show-error): Set text to `#f' when the window is destroyed.
	(gtk-standalone-main): New function.
	
	* gtk/gdk.scm: New file.
	* gtk/dynlink.scm: New file.
	
Wed May  6 01:01:16 1998  Marius Vollmer  <mvo@diaspora>

	* toolkits/gtk.scm (gtk-destroyed?): Removed.

Sat May  2 19:46:53 1998  Marius Vollmer  <mvo@diaspora>

	* build-guile-gtk.in (emit-object-info): Fixed typo in emitted
 	code.
	(register-enum-converter): Added optional argument to specify C
 	name of type.
	(emit-funcs): Use it to make string-enums use "gchar*".

	* configure.in: Use "test -f" instead of "test -e".
	Do not call AC_PROG_LN_S.

	* gtk.defs (gtk_events_pending): New definition.
	* toolkits/gtk.scm (gtk-update): New function.
	
Mon Apr 27 00:14:02 1998  Marius Vollmer  <mvo@diaspora>

	* build-guile-gtk.in (import-path, add-import-dir,
 	search-in-path): New variable/functions.
	(with-input-from-defs-file): Use search-in-path.  Do not change
 	current working directory while reading.  Call PROC with the full
 	name of the file, not just the basename.
	(read-file-2): Changed accordingly.
	(register-type 'string): Implement c2sm converter with
 	scm_take0str.
	(usage): put "[OPTIONS]" after "OP".
	(next-arg, peek-arg): New functions.
	(opsym, defs-file): Use next-arg to get the values.  Additionally,
 	handle "-I" options.

	* gtk.defs (GtkAdjustment): List all accessible fields.
	(GtkText): Added `hadj', `vadj' fields.

	* guile-gtk.c (sgtk_arg2scm): New argument `free_mem'.  When
 	free_mem is true, free memory of GtkArg value for GTK_TYPE_STRING.
	(callback_trampoline, sgtk_callback_trampoline): New
 	variabale/function.
	(inner_callback_marshal): Use callback_trampoline.
	(sgtk_find_arg_info): Do not return pointer to static GtkArg info
 	structure, instead fill in new `GtkArg *arg' parameter.  Changed
 	callers.  Use `gtk_object_get_arg_type' for long names.
	(sgtk_gtk_widget_new, sgtk_gtk_widget_set): Removed.  Use
 	sgtk_gtk_object_new/sgtk_gtk_object_set instead in the SCM_PROC
 	lines.
	(sgtk_gtk_object_get): New function.
	(sgtk_init): Initialize callback_trampoline.

	* guile-gtk.h (sgtk_arg2scm): Update prototype for new free_mem
 	argument.

	* gtk.scm (gtk-show-error): New function.
 	(call-with-error-catching): Removed label argument. Call
 	gtk-show-error instead of printing to current-error-port.
	(gtk-signal-connect*): Removed.
	(at toplevel): Set callback-trampoline to wrap callbacks with
 	`with-error-catching'.
	
Sat Apr 25 22:19:24 1998  Marius Vollmer  <mvo@diaspora>

	* Makefile.am (gdk-glue.c, gtk-glue.c): Depend on
 	build-guile-gtk.in.  Use build-guile-gtk.in instead of
 	build-guile-gtk.  The substitutions are not needed for this
 	package and depending on configure generated files causes the glue
 	code to be regenerated during make by mere users.
	(EXTRA_DIST): Do not list build-guile-gtk.  Include
 	examples/test-gdk.scm.

	* build-guile-gtk.in: Renamed main module to build-guile-gtk.
	(emit-object-info): New function.
	(emit-type-info): Call it and include object info in type_infos.
  	This object info is needed to make gtk-object-new work with named
 	types.
	(type-isa, type-scm2c): New rule: when type-isa return `#f' for a
 	type, expect type-scm2c to do type checking and pass it more args
 	to do this job.
	(emit-func): Perform scm->c conversion during type checking when
 	type-isa returns #f for a argument type.
	(register-type 'int): Use "gint" for C type, return #f for
 	type-isa, use scm_num2long, scm_long2num for conversion.
  	scm_num2long does type checking.
	(register-type 'uint): Likewise, for unsiggned ints.
	(register-object-type 'GtkObject): Removed.
	(emit-funcs): Correctly get object options from the cdddr.

	* configure.in (AM_PATH_GTK): Request version 1.0.0.

	* gtk-support (gdk_event_x, gdk_event_y): Support
 	GDK_BUTTON_RELEASE.

	* gtk.defs: Add definition of GtkObject.

	* guile-gtk.c (DEBUG_GC, DEBUG_PRINT): Renamed DEBUG_GC to
 	DEUG_PRINT thru out.
	(sgtk_register_type_infos): Ignore sgtk_object_infos while
 	preparing builtin types.
	(sgtk_arg2scm, sgtk_scm2arg, sgtk_scm2ret): Renamed old
 	sgtk_scm2arg to sgtk_scm2ret.  Changed all callers.  New function
 	sgtk_scm2arg that uses the GTK_VALUE_* macros.  Added support for
 	all useful fundamental types.
	(sgtk_find_object_info, sgtk_find_object_info_from_type, xstrndup,
 	sgtk_find_arg_info, sgtk_build_args, sgtk_gtk_oject_new,
 	sgtk_gtk_widget_new, sgtk_gtk_objectc_set, sgtk_gtk_widget_set):
 	New functions.

	* guile-gtk.h (sgtk_object_info): New structure type.
	(sgtk_scm2arg, sgtk_scm2ret): Updated prototypes.

	* toolkits/gtk.scm (call-with-error-catching, with-error-catching,
 	gtk-signal-connect*): New functions/macro.
	
Thu Apr 23 23:37:57 1998  Marius Vollmer  <mvo@diaspora>

	Almost complete rewrite of the inner workings and the code
 	generation process.

	* Makefile.am
	(schemedir): Removed.
	(sitedir): Use $prefix instead of GUILE_SCMDIR.
	(bin_SCRIPTS): Added build-guile-gtk.
	(guile_gtk_LDFLAGS): Removed $GTK_LDFLAGS.
	(libguilegtk_la_SOURCES): Removed guile-compat.h, gtk-compat.h,
 	gtk-funcs.c, gtk-types.c, gtk-types.h.  Added gtk-support.c
 	gdk-glue.c, gtk-glue.c instead.
	(install-data-local): New target to install toolkits/gtk.scm by
 	hand.
	(defsdir, defs_DATA): New install variable for installing the
 	`*.defs' files.
	(BUILT_SOURCES): Removed gtk-types.h,, gtk-types.c, gtk-funcs.c
 	and gtk-funcs.x.  Added gdk-glue.c, gdk-glue.x, gtk-glue.c and
 	gtk-glue.x.
	(CLEAN_FILES): Removed gtk-funcs.x.  Added gdk-glue.x, gtk-glue.x.
	(guile-gtk.x, gtk-funcs.x, main.x, gtk-funcs.c, gtk-types.c,
 	gtk-types.h, install-exec-hook): Removed these targets.
	(gdk-glue.c, gtk-glue.c): New targets.
	(EXTRA_DIST): Removed PROPOSAL, guile.details, gen-typeinfo,
 	gtk-interp.patch.  Added gdk.defs, gdk.defs.details,
 	gtk.defs.details, build-guile-gtk.  Correctly reflect new location
 	of calc.scm, test-gtk.scm, hellow-world.scm.  Added
 	examples/test-gdk.scm.

	* build-guile-gtk.in: Renamed from gen-typeinfo.  Include
 	mini-format module inline and avoid dependency on SLIB/format.
  	Put main code into `build-guile-gtk' module.
	(defsdir): New variable.
	(*extra-options*, register-extra-options, extra-options,
 	*global-options*): New definitions to deal with options.
	(dirname, basename): New functions.
	(read-file): Incorporated `read-import-file' functionality. Search
 	also in defsdir.  Change cwd to the directory of the defs file
 	that is being read.  Handle new `import', `include', `add-options'
 	and `options' statements.  Read *.defs.guile file if it exists.
	(@, @@): Use mini-format instead of format.
	(string-map): Removed.
	(string-upcase, string-downcase): Use string-copy and
 	string-upcase!/string-downcase! instead of string-map.
	(canonicalize): Do not convert syllables to lowercase.
	(funcname): Convert syllables to lowercase.
	(typename): Do not captialize syllables.
	(scmname): Convert syllables to lowercase.
	(short-name): Removed.
	(form-options): New function.
	(undeferred-functions, type-conversions, overridden-funcs,
 	read-detail-file, undeferred, overridden-func): Removed.
	(type-conversion): Use get-opt-val.
	(get-opt): Made global.  New argument to return as default value
 	when option is not found.  Do return cdr of option, not the
 	complete option.  Changed all users.
	(get-opt-val): Made global.
	(emit-enum/flags-info, emit-boxed-info): Generate individual
 	struct object for each type.  Generate "extern" declaration for
 	imported types.
	(emit-infomac, emit-idmacs, emit-ids, emit-idfuncproto,
 	emit-idfunc): Removed.
	(emit-type-info): New function.
	(type-c2scm): Take additional `copy' argument.  Changed all
 	callers and specialized definitions.
	(emit-func): Use options instead of `defer?` argument.  Changed
 	all callers.  Deal with `ret' having options.  Generated code: do
 	not copy return value when `ret' has (copy #f) option.  Do not use
 	`short-name'.
	(emit-defined-func): Set `cur-protection' according to options of
 	function.
	(emit-funcs): Do not emit static set of include directives and
 	initialization function.
	(cur-protection): New local variable of `emit-funcs'.
	(register-type 'bool): Accept every SCM value as a boolean.
	(register-type 'callback): Use `sgtk_protect' with
 	`cur-protection'.
	(register-type 'gpointer): Renamed to `dont-use-gpointer'.
	(usage): Output new usage information.
	(import-file, detail-file): Removed.
	(main actions at toplevel): Do not test for "-import" option.
  	Move reading of definition files into error catching section.
  	Handle only "glue" operation.  Emit include directives and and
 	initialization function here, using stuff from *global-options*.

	* configure.in: (INSTALLED_DEFS_FILES): New substitution.  Checkk
 	whether gtk.defs, gdk.defs should be installed by us and add them
 	to INSTALLED_DEFS_FILES if yes.
	(AC_ACLOCAL_INCLUDE): Removed reference to "../macros".
	(GNOME_INIT): Removed.
	(libqt): Use "qtabort" to check for libqt and not "main".
	(AC_FIND_GUILE_H, AC_FIND_GUILE_LIB, --with-guile-incs,
 	--with-guile-libs): Removed.  Making the compiler search the right
 	places should be handled external to configure, IMO.  And we have
 	build-guile.
	(AC_PATH_X, AC_PATH_XTRA, GTK_LDFLAGS, GTK_LIBS): Removed.  This
 	is handled by gtk-config now.
	(AC_CHECK_FUNCS for Gtk+): Check only for gdk_color_copy and
 	gtk_widget_peek_colormap.
	(GUILE_SCMDIR): Removed.
	(AC_OUTPUT): Generate build-guile-gtk form build-guile-gtk.in and
 	make it executable.

	* examples/calc.scm: Do not handle the "delete_event" on toplevel
 	window.  Only call gtk_exit and gtk_main when we are standalone.

	* examples/test-gtk.scm (create-tooltips): Install tooltips object
 	into global variable to protect it from being collected.  Only
 	call gtk_exit and gtk_main when we are standalone.

	* gtk-compat.c (gtk_radio_menu_item_new_with_label_interp):
 	Renamed to gtk_radio_menu_item_new_with_label_from_widget.
	(gtk_radio_menu_item_new_interp): Renamed to
 	gtk_radio_menu_item_new_from_widget.
	(gdk_colormap_ref, gdk_colormap_unref, gdk_visual_ref,
 	gdk_visual_unref, gdk_window_ref, gdk_window_unref,
 	gdk_event_copy, gdk_event_free, gtk_tooltips_ref,
 	gtk_tooltips_unref, callback_data, unmarshal_callback,
 	gtk_timeout_add_interp, gtk_idle_add_interp, interp_data,
 	remarshal, renotify, gtk_signal_connect_interp,
 	gtk_radio_button_new_interp,
 	gtk_radio_button_new_with_label_interp, gtk_invoke_input_function,
 	gtk_input_add_interp): Removed, phew.

	* guile-gtk.h: Removed prototypes of removed function. Merged
 	remaining contents into guile-gtk.h. Removed file "guile-gtk.h".

	* gtk-support.c: New file for additional hand-written glue code.
	(gdk_color_intern, gdk_font_intern, gtk_style_fg_gc,
 	gtk_style_bg_gc, gdk_event_type, gdk_event_window, gdk_event_x,
 	gdk_event_y): New functions.

	* gtk.defs: Mark as being `installed by guile-gtk'.  Moved all Gdk
 	related definitions to gdk.defs.  Import gdk.defs.
	(GtkWidgetFlags): Added `destroyed' member.
	(gtk_main_level, GTK_OBJECT_DESTROYED): New defintions.
	(GtkWidget): Added `window' field.
	(gtk_clist_clist_set_row_data, gtk_clist_get_row_data,
 	gtk_clist_get_row_data): Commented out. Type gpointer is a no-no.
	(gtk_radio_button_new_interp): Renamed to
 	gtk_radio_button_new_from_widget.
	(gtk_radio_button_new_with_label_interp): Renamed to
 	gtk_radio_button_new_with_label_from_widget.
	(gtk_radio_menu_item_new_with_label_from_widget): Renamed to
	gtk_radio_menu_item_new_from_widget.
	(gtk_radio_menu_item_new_with_label_interp): Renamed to
	gtk_radio_menu_item_new_with_label_from_widget.

	* guile-compat.c: Don't include guile-compat.h, include
 	guile-gtk.h instead.

	* guile-gtk.c: Include guile-gtk.h as <guile-gtk.h> and not
 	"guile-gtk.h" for consistency.  Do not include guile-compat.h,
 	gtk-types.h, gtk-compat.h.
	(DEBUG_GC): New macro to control debugging output during GC.
	(proxy_tab, gpointer_hash, gpointer_compare, enter_proxy,
 	get_proxy, forget_proxy): New variable/functions for associating
 	proxies with gpointers.
	(type_info_tab, n_type_info_tab, enter_type_info, get_type_info,
 	must_get_type_info, all_type_infos, gtk_type_register_builtin,,
 	sgtk_register_type_infos, sgtk_finnd_type_info): New
 	variables/functions for connecting sgtk_type_info structures to
 	GtkType values.
	(sgtk_object_proxy, all_proxies): New type/variables for wrapping
 	GtkObjects with a SCM value.
	(global_protects, mark_traced_ref, tc16_gtkobj_marker_hook,
 	count_traced_ref, gtkobj_marker_hook, gtkobj_marker_hook_print,
 	install_marker_hook): New variables/functions for merging the
 	tracing collector of Guile with thhe ref_counting of GtkObjects.
	(handle_key): Removed.
	(gtkobj_mark): Also mark children of GtkContainers.
	(gtkobj_print): Do not handle proxies whos GtkObject has
 	disappeared.  It wont happen anymore.
	(gtkobj_free): Call gtk_object_unref on the GtkObject and get rid
 	of the proxy structure.
	(sgtk_protect, sgtk_unprotect, sgtk_unprotect_1): Semi-new
 	functions; extensions of the old and removed sgtk_protect_scm and
 	sgtk_unprotect_scm.
	(make_gtkobj): Properly ref/sink the GtkObject but do not connect
 	to the "destroy" signal and do not attach the SCM smob with
 	gtk_object_data.
	(sgtk_wrap_gtkobj): Get the smob with get_proxy and not with
 	gtk_object_get_data.
	(sgtk_destroyed_p, protects, sgtk_protect_scm,
 	sgtk_unprotect_scm): Removed.
	(sgtk_valid_flags): Do not require all bits to have a literal.
	(boxed, boxed_pool, new_boxed, free_boxed): Removed.
	(BOXED_SEQNO): New macro.
	(boxed_equal): Removed.
	(sgtk_boxed2scm): Store the gpointer directly in the cdr and the
 	seqno of the type in the free bits of the car.
	(sgtk_find_boxed_info, sgtk_find_enum_info, sgtk_find_flags_info):
 	Removed.  Changed all callers to use sgtk_find_type_info and casts
 	instead.
	(inner_callback_marshall): Removed jmpbuf argument. This gives
 	warnings for older Guile versions, but they are harmless.
	(sgtk_callback_marshal): Do not invoke callback when the GC is
 	active.
	(sgtk_callback_destroy): Use sgtk_unprotect.
	(standalone_p, sgtk_set_standalone, sgtk_is_standalone,
 	sgtk_standalone_p): New variable/functions.  No idea why I did
 	them in C.
	(sgtk_init): Initialize gtkobj_marker_hook smob and
 	global_protects.  Call install_marker_hook.
	(dgtk_init_with_gtk): Call sgtk_init after gtk_init.

	* guile-gtk.h: Merged in gtk-compat.h and guile-compat.h.
 	(sgtk_type_info): New structure.
	(sgtk_enum_info, sgtk_senum_info, sgtk_boxed_info): Use
 	sgtk_type_info as header.
	(sgtk_enum_infos, sgtk_flags_infos, sgtk_boxed_infos,
 	sgtk_senum_infos): Removed `external' declaration because these
 	arrays are no longer generated.
	(sgtk_register_type_infos): New prototype.
	(sgtk_protect, sgtk_unprotect): New prototypes.
	(sgtk_protect_scm, sgtk_uprotect_scm): Removed.
	(sgtk_callback_marshall): Changed n_args argument to guint.
	(sgtk_set_standalone, sgtk_is_standalone, sgtk_standalone_p): New
 	prototypes.

	* main.c: Do not include guile-compat.h.
	(hack_compiled_switches): Call sgtk_set_standalone(0) when going
 	to start our own event loop.

	* toolkits/gtk.scm: Added some aliases:
	(gtk-radio-menu-item-new -> 
	   gtk-radio-menu-item-new-from-widget)
	(gtk-radio-menu-item-new-with-label ->
   	   gtk-radio-menu-item-new-with-label-from-widget)
	(gtk-radio-button-new ->
           gtk-radio-button-new-from-widget)
	(gtk-radio-button-new-with-label ->
           gtk-radio-button-new-with-label-from-widget)
	(gtk-destroyed? -> gtk-object-destroyed)
	
Sun Mar 29 15:55:55 1998  Tom Tromey  <tromey@cygnus.com>

	* gtk.defs (gtk_combo_disable_activate): New function.  From
 	Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>.

1998-03-17  Marc Ewing  <marc@redhat.com>

	* removed ltmain.sh and ltconfig

1998-03-16  Marc Ewing  <marc@redhat.com>

	* Makefile.am: replace X_CFLAGS with GTK_CFLAGS
	* configure.in: added:
	  AM_ACLOCAL_INCLUDE(../macros)
	  AM_PATH_GTK
	  GNOME_INIT

Sun Mar 15 16:51:24 1998  Tom Tromey  <tromey@cygnus.com>

	* gen-typeinfo (emit-infomac): n-senums argument to loop comes
	after n-flags, not before.

	* gen-typeinfo (emit-lits): Handle define-string-enum.
	(emit-enum/flags-info): Emit string enum info.
	(emit-infomac): Handle define-string-enum.
	(emit-idmacs): Likewise.
	(emit-funcs): Likewise.
	(register-senum-converter): New function.

	* guile-gtk.h (sgtk_senum_literal, sgtk_senum_info): New types.
	* guile-gtk.c (sgtk_valid_senum): New function.
	(sgtk_senum2scm): Likewise.
	(sgtk_scm2senum): Likewise.

1998-03-15  Sascha Ziemann  <szi@aibon.ping.de>

	* configure.in: added --enable-debug

Sat Mar 14 01:48:24 1998  Tom Tromey  <tromey@cygnus.com>

	* Makefile.am (install-exec-hook): Make symlink, not hard link.

	* toolkits/gtk.scm (let-multi): Comment out.
	Don't require module (ice-9 syncase).

	* guile-gtk.h (sgtk_init_with_gtk): Declare.
	* gtk-guile.c (inner_main): Use sgtk_init_with_gtk.
	* guile-gtk.c (sgtk_init_with_gtk): New function.
	(sgtk_init): Changed interface.  Don't call gtk_init().
	(sgtk_init_noargs): Use sgtk_init_with_gtk.

1998-03-13   Marc Ewing <marc@redhat.com>

	* gtk-compat.h: update to reflect GTK.

Fri Mar 13 23:47:04 1998  Tom Tromey  <tromey@cygnus.com>

	* Makefile.am: Use ROOT to allow libgtkstubs to be relocated.  Use
	`rm -f', not $(RM).  Prefer a hard link over a soft link.

1998-03-11  Sascha Ziemann  <szi@aibon.ping.de>

	* guile-gtk.c (sgtk_init):
	* gen-typeinfo ((emit-funcs defs)):
	* Makefile.am (MKDEP): during MKDEP the .c file must not include the
	.x files either.

Tue Mar  3 10:08:33 1998  Tom Tromey  <tromey@cygnus.com>

	* Makefile.am (BUILT_SOURCES): Include main.x.

Mon Mar  2 00:00:24 1998  Tom Tromey  <tromey@cygnus.com>

	* gtk.defs (gtk_statusbar_push): Added context_id argument
	(gtk_statusbar_pop): Likewise.
	(gtk_statusbar_steal): Removed.
	(gtk_statusbar_get_context_id): New function.
	(gtk_statusbar_remove): Likewise.

	* gen-typeinfo (usage): New function.
	(imported-types): New define.
	(defs): Scan import file if required.
	(read-import-file): New function.
	(import-file): New define.
	(*imported-types*): New define.
	(imported-type?): New function.
	(emit-object-predicate): [emit-funcs] Only emit if not imported
	type.
	(emit-accessor): [emit-funcs] Likewise.

	* Makefile.am (gtk-funcs.c, gtk-types.c, gtk-types.h): Renamed tmp
	files to avoid problems with parallel builds.

1998-03-01  Sascha Ziemann  <szi@aibon.ping.de>

	* toolkits/gtk.scm (let-multi): Added a macro for multiple return
	values. Perhaps a call-with-values would be also usefull.

	* guile-gtk.c (sgtk_init):
	* gen-typeinfo ((emit-funcs defs)):
	* main.c (sgtk_init_main): Added a ifndef for guile-snarf to
	prevent including .x during creating the same

	* Makefile.am (EXTRA_DIST): Removed *.x files created by
	guile-snarf from dist. They depend on the local guile-snarf.

	* run-scheme: New shell script. This is a wrapper for different
	Scheme implementations. Probably usefull, if someone wants to port
	Guile-Gtk to another Scheme implementation.

Fri Feb 27 09:57:45 1998  Maciej Stachowiak  <mstachow@mit.edu>

	* gtk.defs: Update gtk.defs to the latest CVS gtk+ - all widgets
 	and almost all functions should be available. Some that could not
 	yet be added for various reasons are commented out.

1998-02-26  Lauri Alanko  <la@iki.fi>

	* gtk.defs: Added a couple of missing fields

Sat Feb 21 11:50:47 1998  Maciej Stachowiak  <mstachow@mit.edu>

	* gtk.defs: Replaced entry for gtk_tooltips_set_tips with one for
 	gtk_tooltips_set_tip, correcting the number of arguments.	

1998-02-03  Raja R Harinath  <harinath@cs.umn.edu>

	Update to latest CVS `gtk+' changes, enough to get it compiled.
	* gtk.defs (GtkTooltips): `define-object' instead of
	`define-boxed'.
	(GtkWidgetFlags): Comment out GTK_UNMAPPED, GTK_PROPAGATE_STATE,
	GTK_ANCHORED, and GTK_USER_STYLE.  `unmapped', and `anchored' were
	removed from gtk+, others became private.  New GTK_TOPLEVEL
	instead of GTK_ANCHORED.  New GTK_HAS_GRAB.

	* guile-gtk.h (GTK_WIDGET_FLAGS): Delete.  Now in `gtk+'.

1998-01-28  Raja R Harinath  <harinath@cs.umn.edu>

	* Makefile.am (INCLUDES): Add $(includedir).

1997-12-14  Tom Tromey  <tromey@cygnus.com>

	* gtk-compat.h (gtk_text_forward_delete): Define if
	gtk_text_forward_delete not found.
	* gtk.defs (gtk_text_forward_delete): Renamed from
	gtk_text_foreward_delete.
	* configure.in (LDFLAGS): Check for gtk_text_forward_delete.

1997-12-05  Tom Tromey  <tromey@cygnus.com>

	* guile-gtk.c (sgtk_font_conversion): Only run SCM_COERCE_SUBSTR
	once we know the font argument is a string.
	(sgtk_color_conversion): Likewise.
	
	* Makefile.am (SUFFIXES): New macro.
	(.c.x): Include DEFS, INCLUDES, CPPFLAGS on command line.

	* gtk.defs (GtkFileSelection, gtk_file_selection_new,
	gtk_file_selection_get_filename, gtk_file_selection_set_filename):
	New definitions.

1997-11-01  Marius Vollmer  <mvo@zagadka.ping.de>

	* configure.in: Don't touch LIBS while gathering GUILE_LIBS.
	(GTK_LIBS, GTK_LDFLAGS): New variables that contain all Gtk
	libraries and linker flags, including X.
	Use them while checking for Gtk features.
	* Makefile.am (all_xlibs, all_gtklibs): Removed.
	(guile_gtk_LDFLAGS, guile_gtk_LDADD): Use GTK_LDFLAGS and
	GTK_LIBS, respectively, instead of all_gtklibs and all_xlibs.
	(libguilegtk_la_LDFLAGS, libguilegtk_la_LDADD): Likewise.

1997-10-31  Marius Vollmer  <mvo@zagadka.ping.de>

	* gtk.defs (gtk_signal_disconnect): New definition.

1997-10-30  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-compat.c (scm_puts): New compatability function.
	* configure.in: Check whether it is needed.
	
	* configure.in: Don't check for -lX11, -lXext, -lgtk, -lgdk and
	-lgdk.  They simply are supposed to be there.  Set LIBS
	appropriately while checking for Gtk functions.
	* Makefile.am (all_xlibs, all_gtklibs): New variables to aid in
	constructing linker commands.
	(guile_gtk_LDFLAGS): Only include X_LIBS, which contains necessary
	linker flags (despite its name)
	(guile_LDADD): Use all_xlibs and all_gtklibs.
	(libguilegtk_la_LDFLAGS, libguilegtk_la_LIBADD): Likewise.

	* Makefile.am (toolkitdir, toolkit_DATA, schemedir, scheme_DATA):
	Include "toolkits" dir in installed file name, not in location.
	Rename variables accordingly.
	
1997-10-27  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-gtk.c: Replace scm_gen_puts with scm_puts throughout.
	
	* gtk.defs (gtk_input_add_interp): Change `source' parameter to
	type `file-descriptor', because that is what it is.

	* guile.details: Type conversion for `string' removed.  Overriding
	function definition for gtk_input_add_interp removed.

	* gen-typeinfo (emit-funcs): hard-wire conversion for `string'
	type here.  Renamed `portfd' type to `file-descriptor'.
	
Sun Oct 26 10:49:33 1997  Tom Tromey  <tromey@cygnus.com>

	* configure.in (LDFLAGS): Don't set CFLAGS or LDFLAGS.
	* Makefile.am (INCLUDES): New macro.
	(guile_gtk_LDFLAGS): Added X_LIBS.

	* Makefile.am (sitedir): New macro.
	(toolkitdir): Likewise.
	(site_DATA): Likewise.
	(toolkit_DATA): Likewise.
	(.c.x): Changed from GNU make rule to traditional rule.
	(install-data-local): Removed.

1997-10-25  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-gtk.c (sgtk_color_conversion, sgtk_font_conversion):
	Coerce argument to a regular string before using it.
	(sgtk_string_conversion): New function used to coerce every string
	argument to a regular string.
	* guile-gtk.h (sgtk_string_conversion): New prototype.

	* guile.details: Use sgtk_string_conversion for all `string'
	arguments.

1997-10-23  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-gtk.c (gtkobj_free): Don't forcibly destroy GtkObjects
	with ref_count of zero.  It is wrong for GtkWindows.  Print a
	warning instead.  The real fix is to correct the ref_counting of
	Gtk.

	* configure.in: Check for AC_PROG_LN_S.  Pass `--version' option
	while checking whether build-guile works.  Set GUILE_LIBS when
	manually checking for Guile libs, not LIBS.  Use AC_MSG_CHECKING
	and AC_MSG_RESULT instead of echo.

1997-10-13  Marius Vollmer  <mvo@zagadka.ping.de>

	Released 0.7

	* gtk.defs (GtkJustification, GtkCurveType, GtkFundamentalType):
	new enums from Tim Janik.  Thanks!

1997-10-12  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-gtk.c (sgtk_init_argv): New function.
	guile-gtk.h (sgtk_init_argv): New prototype.

	* gtk.defs (gtk_frame_new): Accept `#f' as the label.

1997-10-11  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-gtk.c: Include <gdk/gdkprivate.h> to get at gdk_display.
	(sgtk_init): Call gtk_init only when gdk_display is still NULL.

	* gen-typeinfo (emit-funcs): New type `gpointer', but only for
	quick hacks.

	* main.c: Include <config.h> before every other header file.
	* guile-compat.h: Don't include <config.h>.

	* guile-gtk.c: Replace `//' comments with `/* */`

	* gtk.defs, guile.details: Converted to new define-func syntax
	that allows for better extensibility.
	* gen-typeinfo (emit-func): Handle new define-func syntax.

1997-10-10  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-compat.h: Include "config.h" to get the HAVE_SCM_REVERSE_X
	definition.

	* gtk.defs: Added GtkPaned, GtkHPaned, GtkVPaned widgets.

	We no longer link libguilegtk against the guile libs, on the
	assumption that they are already included in the base guile
	application.  In particular, the static libqt.a was causing
	problems on Solaris.
	
	* configure.in: Do not include GUILE_LIBS in LIBS.  Substitute
	GUILE_LIBS into Makefile.  Temporarily add GUILE_LIBS to LIBS
	while checking for libguile functions.

	* Makefile.am (guile_gtk_LDADD): Link against @GUILE_LIBS@.
	(EXTRA_DIST): Distribute hello.scm.

1997-10-09  Marius Vollmer  <mvo@zagadka.ping.de>

	Released 0.6
	
	* main.c (sgtk_init_main): Include "main.x" instead of
	"gtk-guile.x", silly me.

Wed Oct  8 13:53:39 1997  Marius Vollmer  <mvo@zagadka.ping.de>

	* configure.in: Changed "test ==" to "test =".

1997-10-08  Marius Vollmer  <mvo@zagadka.ping.de>

	* configure.in: Check for scm_reverse_x.
	* guile-compat.h (scm_reverse_x): Define as alias for
	scm_list_reverse_x when not found during configure.

1997-10-07  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-gtk.c (xstrdup): New function.
	(make-argv): Use it for duplicating the strings.

	* guile-compat.h: Define SCM_LIST1 and SCM_LIST2 macros when they
	are not defined already.

	* configure.in: Check whether build-guile works before using it.

	* Makefile.am: Renamed gtk-guile.* to main.* in all places.

	Released 0.5
	
	* guile.details (gtk_input_add_interp): Override definition to use
	a port instead of the integer fd.

	* guile-gtk.c (sgtk_find_enum_info, sgtk_find_flags_info): New
	functions.
	(sgtk_arg2scm): Handle GTK_TYPE_FLAGS.
	(make_argv): New function.
	(sgtk_init_noargs): Use it to get argv back from Guile.
	
	* gtk.defs (gtk_input_add_interp, gtk_input_remove): New
	definitions.

	* gtk-interp.patch: Updated for gtk+970925.

	* gtk-guile.c (hack_compiled_switches, sgtk_shell,
	sgtk_init_main): New functions to start our own repl.
	(inner_main): Call sgtk_init_main.  Call sgtk_shell instead of
	scm_shell.
	
	* gtk-compat.c (gtk_input_add_interp, gtk_input_remove): New
	compatability functions.
	
	* gen-typeinfo: Add support for overriding function definitions in
	the detail file.  New type `portfd'.

	* event-repl.scm: New file.
	* toolkits/gtk.scm: New file.

	* configure.in: Use build-guile and guile to find out certain
	things about the guile installation.  Check for
	gtk_input_add_interp.

	* calc.scm: Use (toolkits gtk) module.

	* Makefile.am (guile_gtk_LDFLAGS): Changed -rdynamic to
	-export-dynamic.
	(libguilegtk_la_LDFLAGS): Removed -rpath, added -export-dynamic
	(gtk-guile.x): New dependency rule.
	(install-data-local): Install event-repl.scm into
	share/guile/site/ and toolkits/gtk.scm into share/guile/
	(install-exec-hook): Make symlink from libguilegtk.so into
	share/guile/toolkits/ so that it can be found for dynamic module
	linking.
	(EXTRA_DIST): Distribute toolkits/gtk.scm, event-repl and
	gtk-guile.x

1997-10-06  Marius Vollmer  <mvo@zagadka.ping.de>

	* guile-gtk.c (sgtk_init_noargs,
	scm_init_toolkits_gtkstubs_module): New functions.
	guile-gtk.h (scm_init_toolkits_gtkstubs_module): New prototype.
	
	* gtk-guile.c (inner_main): Register module instead of
	initializing.
	
1997-09-25  Marius Vollmer  <mvo@zagadka.ping.de>

	Released 0.4
	
	* gtk.defs: Some additions and rearrangements.

	* guile-compat.c: Include <config.h>
	* gtk-compat.c: Include <config.h>
	(gtk_list_append_item, gtk_list_prepend_item): New interp helper
	functions.

	* gen-typeinfo (emit-funcs): Allow `#f' and NULL as strings.

	* configure.in:  Use AM_CONFIG_HEADER.

	* Makefile.am: Add calc.scm and calcrc to EXTRA_DIST.

1997-09-21  Marius Vollmer  <mvo@zagadka.ping.de>

	Released 0.3

	* guile-gtk.c: Include "gtk-types.h" and "gtk-compat.h".
	(sgtk_wrap_gtkobj): Return SCM_BOOL_F when wrapping a NULL
	pointer.
	(sgtk_main): Removed.
	(sgtk_color_conversion, sgtk_font_conversion): New functions.
	* guile-gtk.h: Add prototypes for them.
	
	* gtk-compat.c (gdk_color_parse_interp): Return NULL when the
	parsing failed.
	(gtk_style_get_white_interp): New function.
	(gtk_widget_peek_colormap): New function, approximation to the
	real gtk_widget_peek_colormap.
	* gtk-compat.h: Add prototypes for above two functions.

	* Makefile.am (EXTRA_DIST): Added guile.details.
	(gtk-funcs.c, gtk-types.c gtk-types.h): Use guile.details for
	generating them.

	* gen-typeinfo: Added support for detail file.  Moved
	SCM_DEFER_INTS before scm->c conversions.  Added support for type
	conversions and function invokation without deferred ints.

	* guile.details: New file to capture all Guile specific interface
	details.

	* configure.in: Check for gtk_widget_peek_colormap.

	* gtk.defs: Minor additions.

	* gtk-interp.patch: Updated for gtk+970916 and my current
	gtk+-interp source tree.
	
1997-09-20  Marius Vollmer  <mvo@zagadka.ping.de>

	* test-gtk.scm (yes-or-no?): New function.
	(create-main-window): Use it for a modal annoyance.

