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.

