1999-12-18 Mikael Djurfeldt * configure.in: Define SCM_MUTEX_INIT_TWO_ARGS if scm_mutex_init takes an extra attributes arg. * guile-tcl.c (scm_init_gtcl): Conditionally add extra arg to scm_mutex_init. 1999-03-04 Mikael Djurfeldt * tcltk.scm (tk-widget): Also accept strings as widget names. (Added for vbackward compatibility.) New automake: 1.4 * config.guess, config.sub, install-sh, mdate-sh, missing, mkinstalldirs: New versions. * Makefile.in, aclocal.m4, configure: Regenerated. 1998-11-29 Marius Vollmer Using the dynlink approach from guile-gtk. * gtcltk.scm, dynlink.scm, guiledlopenhelper.c: New files. * configure.in: Do not add Guile libraries to $LIBS. Instead, put them in $GUILE_LIBS and AC_SUBST that. * gtcltk-module.c (scm_init_gtcltk): Made non-static. (scm_init_tcltk_gtcltk_module): Register as the magic "tcltk %static-initfuncs% scm_init_gtcltk" module. * Makefile.am (lib_LTLIBRARIES): Added libguiledlopenhelper.la (guile_tcltk_LDADD): Added $(GUILE_LIBS). They are no longer contained in $(LIBS) because libgtcltk should not reference them. (libguiledlopenhelper_la_SOURCES, libguiledlopenhelper_la_LDFLAGS): New. (subpkgdata_DATA): Added dynlink.scm and gtcltk.scm. (install-exec-hook): Commented out; no longer needed. 1998-11-27 Mikael Djurfeldt * tcltk.scm: Export a widget command `top' for the top level window ".". Re-export bindings from the gtcltk module. (tcl-get-var): Return contents of tcl variable NAME in the-interpreter. (tcl-get-number): Return number in tcl variable NAME. 1998-11-24 Mikael Djurfeldt * Makefile.am (install-exec-hook): Do test -r instead of test -e in order to be backward compatible. 1998-11-24 Mikael Djurfeldt * configure.in: Check if we have guile-config or build-guile. * Makefile.am: Added install-exec-hook which creates links to the gtcltk library in the tcltk module directory. (libgtcltk_la_LDFLAGS): Added -export-dynamic. * gtcltk-module.c (scm_init_tcltk_gtcltk_module): Renamed from scm_init_ice_9_gtcltk_module. * guile-tcltk.c (inner_main): Call scm_init_tcltk_gtcltk_module instead of scm_init_gtcl and scm_init_gtk. * tcltk.scm: Use module (tcltk gtcltk). 1998-10-29 Jim Blandy * guile-tcl.c (mark_interp): Assume that the caller has set the mark bit, and we will only be called once. (Thanks to John Brodie.) 1998-07-21 Mikael Djurfeldt * tcltk.scm (->tcl-arg-string): Added ability to convert lists. 1998-07-10 Mikael Djurfeldt * tcltk.scm (errcat): Export (since it is used in a macro). 1998-07-07 Mikael Djurfeldt * guile-tcl.c (scm_tcl_global_eval, scm_tcl_create_command, scm_tcl_delete_command, scm_tcl_get_int, scm_tcl_get_double, scm_tcl_get_boolean, scm_tcl_trace_var2, scm_tcl_untrace_var2, scm_tcl_set_var2, scm_tcl_get_var2): Use SCM_COERCE_SUBSTR instead of repeating code. (scm_tcl_trace_var2, scm_tcl_untrace_var2, scm_tcl_set_var2, scm_tcl_get_var2): Bugfix: Test for NIMP before coercing. (Index can be SCM_BOOL_F.) 1998-06-28 Mikael Djurfeldt * tcltk.scm (tcl-type-converters): Added `string' to set of type converters. Thu Jun 25 06:07:32 1998 Mikael Djurfeldt * configure.in: Move checks for X in front of check for tk.h so that proper CPPFLAGS are used during the test. 1998-06-01 Mikael Djurfeldt * Makefile.am: Install headers under $(includedir)/guile-tcltk 1998-05-09 Dave Love * configure.in (TCLTK_INCLUDE): Look for headers in a `tcl' subdirectory and set variable appropriately if found. (CPPFLAGS): Add TCLTK_INCLUDE, TK_INCLUDE here. (CFLAGS): Remove them from here. 1998-04-21 Mikael Djurfeldt * hand.scm: New demo. * Makefile.am: Add new demo. * README: Describe new demo. 1998-04-20 Mikael Djurfeldt * breakout.scm (loop): Use `usleep' for game-loop. * configure.in: Test that tcl/tk is of a reasonable version. 1998-04-19 Mikael Djurfeldt * Makefile.am (libgtcltk_la_LDFLAGS): Bump version number to 1.0. * README: Some minor docs. * graph.scm, breakout.scm: Demos. * guile-tk.c (scm_init_main_window, scm_main_loop, scm_num_main_windows): Renamed to scm_tk_init_main_window, scm_tk_main_loop, scm_tk_num_main_windows. (scm_tk_loop_p): New procedure: Returns #t if the tk handler loop is active. 1998-04-18 Mikael Djurfeldt * tcltk.scm (tk-make-main-window): Don't create main application window if it already exists. (tk-main-window?): New procedure. 1998-04-15 Mikael Djurfeldt * configure.in: If library names aren't supplied by the user through --with-tcl and --with-tk, then test both tcl7.6 and tcl7.5 as well as tk4.2 and tk4.1. 1998-04-14 Mikael Djurfeldt * Makefile.am (BUILT_SOURCES): Added. Used to build .x-files. 1998-04-12 Mikael Djurfeldt * guile-tcl.c, guile-tcl.h, guile-tcltk.c, guile-tk.c, guile-tk.h: Thread system adaptions. * tclInt.h, tclUnixNotfy.c, tclUnixPort.h, license.terms: New files: Adapted from the tcl7.6 distribution. Makes tcl use scm_internal_select and makes some functions accessible to make smooth interaction with Guile threads possible. * Use libtool-1.2 and automake-1.3. * Makefile.am, configure.in: Detect if we're using threads. In that case build tclUnixNotfy. * Makefile.in, aclocal.m4, configure: Regenerated. * tcltk.scm: Some prototype code to make it easier to use the Tk interface. Sat Oct 25 03:09:02 1997 Jim Blandy * guile-tcl.c: Accomodate the removal of Guile's mbstring support: Call scm_puts and scm_putc, not scm_gen_puts and scm_gen_putc. * configure.in: Don't check for -lqt and -lguile in the usual way. Run "build-guile link" to make sure Guile's installed, and tack its output onto the end of LIBS. (For some vague reason, I'd rather call build-guile at make time, rather than configure time, but this seems to work okay...) * configure: Regenerated. * Makefile.in, aclocal.m4: Regenerated with automake-1.2c. * ltconfig, ltmain.sh, config.guess, config.sub: Updated to libtool 1.0e. * configure: Regenerated. Wed Oct 1 21:48:41 1997 Mikael Djurfeldt * ltconfig, ltmain.sh: Updated to libtool-1.0c. (Thanks to Dave Love.) Sat Sep 27 16:19:37 1997 Jim Blandy * Makefile.in, aclocal.m4, config.guess, config.sub, configure: Regenerated with automake 1.2a. Fri Aug 15 13:08:07 1997 Jim Blandy * Makefile.in: Regenerated with automake 1.1p. Thu Aug 14 16:52:43 1997 Jim Blandy * aclocal.m4, configure: Regenerated with automake 1.1p. Wed Jul 23 18:51:34 1997 Mikael Djurfeldt * * configure.in: Added new configuration option --with-tkdir which can be optionally used on systems where Tcl and Tk reside in different directories. (This is a common situation.) INSTALL: Updated to reflect the above change. Makefile.in, aclocal.m4, configure: Updated. Tue May 13 17:08:29 1997 Jim Blandy * Makefile.in, aclocal.m4, configure: Rebuilt using automake 1.1p. Mon May 12 12:59:03 1997 Jim Blandy * README, INSTALL: New files. Tue May 6 20:36:09 1997 Jim Blandy * configure.in: Check for -lm, -ldl, -lsocket, -lnsl before checking for -lguile. Otherwise, the link will fail. * configure: Regenerated. Mon May 5 17:25:25 1997 Jim Blandy Make the Guile/Tcl/Tk glue library a separate module. * Makefile.am: (EXTRA_LTLIBRARIES): Deleted; nothing is optional any more. (lib_LTLIBRARIES): Move libgtcltk.la to here, since it's always built. (bin_PROGRAMS): New program: guile-tcltk. (guile_tcltk_LDADD): List the libraries we have to link it against. (INCLUDES): Deleted. We use the installed headers now. (SNARF): Deleted. We use the installed snarfer now. * configure.in (AM_INIT_AUTOMAKE): Call this, instead of ... (AC_INIT_GUILE_MODULE): ... this. (AM_MAINTAINER_MODE): Deleted; not needed. (AC_ARG_WITH): Fix option name from "tcl" to "tk". (AC_PATH_X): Removed; AC_PATH_XTRA is a superset of it. Put the cflags and libs we find directly in CFLAGS and LIBS. Nothing is optional any more; require that Tcl, Tk, and Guile be installed. Don't look for SNARF; just use the installed snarfer. Don't create plugin files. (AC_FUNC_ALLOCA): Don't check for this. * guile-tcl.c, guile-tcl.h, guile-tk.c, guile-tk.h: Just #include , don't try to grab a bunch of internal stuff. * guile-tcltk.c: New file, built into the installed executable. * Makefile.in, aclocal.m4, configure: Degeneraret. Fri Apr 11 20:09:14 1997 Jim Blandy Don't run the snarfer if Tcl/Tk support isn't enabled. * Makefile.am: Let the configure script specify the name of the snarfer, via the @SNARF@ substitution. * configure.in: Set @SNARF@ to the real snarfer name iff Tcl/Tk support is actually enabled; otherwise, set it to ":", so the snarfing commands don't do anything. * Makefile.in, configure: Rebuilt. Thu Apr 10 15:07:23 1997 Jim Blandy * Makefile.am (MKDEP): Use -MM, not -M, so we don't get dependencies for system header files. We still get deps for the stuff within the Guile dist, though. * Makefile.in: Rebuilt. Wed Apr 9 17:57:44 1997 Jim Blandy Changes to work with automake-1.1n, which has better libtool support. * Makefile.am: Use lib_LTLIBRARIES instead of lib_PROGRAMS. Use EXTRA_LTLIBRARIES instead of EXTRA_PROGRAMS. (libgtcltk_la_SOURCES): Formatting fix. * Makefile.in: Regenerated. Mon Mar 17 01:27:37 1997 Mikael Djurfeldt * * configure.in: Added configuration options --with-tcltk for supplying parent directory of the Tk include and lib directories; Added configuration options --with-tcl and --with-tk for supplying names of the tcl and tk libraries; Added generation of PLUGIN files. * Makefile.am: Removed SUBDIRS = PLUGIN. * PLUGIN/Makefile.am, PLUGIN/Makefile.in, PLUGIN/guile.config.in: Removed. Mon Feb 24 21:45:53 1997 Mikael Djurfeldt * configure.in: Added AM_MAINTAINER_MODE Sun Jan 12 21:03:55 1997 Marius Vollmer * gtcltk-module.c: New file. See libguile/DYNAMIC-LINKING. * Makefile.am (libgtcltk_la_SOURCES): Added gtcltk-module.c Sat Jan 11 14:42:14 1997 Marius Vollmer * configure.in: Replaced AC_PROG_RANLIB with AM_PROG_LIBTOOL. * Makefile.am: Made libgtcltk into a libtool library. * PLUGIN/Makefile.am (guile.config): Removed "-L ../gtcltk-lib" from xtra_cflags. Set libtool_libs to indicate that gtcltk is a libtool library. See guile/ChangeLog for details. * .cvsignore: ignore "*.lo", the libtool library objects. Wed Jan 8 08:31:40 1997 Gary Houston * configure.in: when checking for /usr/local/inclue use $GCC, not $gcc. Tue Jan 7 18:58:34 1997 Jim Blandy * configure.in: Make sure we search /usr/local/lib and /usr/local/include, if they exist. This helps us find Tcl on some systems. * configure: Rebuilt. Tue Dec 31 20:27:14 1996 Mikael Djurfeldt * guile-tcl.c (scm_tcl_create_interp, scm_tcl_merge): SCM_CXR --> SCM_SETCXR Sat Dec 21 14:42:04 1996 Mikael Djurfeldt * configure.in, PLUGIN/{Makefile.{am,in},guile.config.in}: Also include -lsocket and -lnsl when testing for presence of Tcl. Renamed LD_LIBS --> TCL_EXTRA_LIBS Mon Dec 9 17:21:57 1996 Tom Tromey * Makefile.am: Use guile-snarf. Sun Dec 8 02:09:53 1996 Gary Houston * Makefile.am (.c.x): define COMPILE with $(X_CFLAGS) added to the default. (MKDEP): add $(X_CFLAGS) Fri Dec 6 22:27:32 1996 Tom Tromey * configure.in: Use $DL_LIBS, not -ldl, in tcl7.5 check. Fri Dec 6 20:41:05 1996 Mark Galassi * configure.in: added -ldl in the tcl7.5 check, although you would think it would have been there because of the previous -ldl check, but it was not working. Sat Nov 30 23:49:43 1996 Tom Tromey * PLUGIN/Makefile.am: New file. * PLUGIN/greet, guile.inits, guile.libs: Removed. * Makefile.am, aclocal.m4: New files. * configure.in: Updated for Automake. Wed Nov 6 16:40:11 1996 Mikael Djurfeldt * guile-tcl.c: Added #include . Sat Nov 2 19:47:22 1996 Mikael Djurfeldt * guile-tk.c (scm_tk_do_one_event): Renamed and moved to guile-tcl.c. * guile-tcl.c (scm_tcl_defined_p): New function: Check if an identifier exists in the namespace of an interpreter. (scm_tcl_do_one_event): Renamed and moved from guile-tk.c. Thu Oct 24 22:34:09 1996 Mikael Djurfeldt * guile-tcl.c: #include "eval.h", #include "alist.h", #include "smob.h" Thu Oct 10 14:30:41 1996 Jim Blandy * guile-tcl.c (print_interp): Fix type of third argument to smob printer. How did we miss this? (Patch thanks to Marius Vollmer.) * guile-tk.h: Use SCM_P macro to declare prototypes. Sun Sep 29 15:19:03 1996 Jim Blandy Bug fix from Marius Vollmer : * guile-tcl.c (scm_tcl_merge): Make sure args is a valid list. Free argv, if we allocated it at all. Wed Sep 11 14:34:20 1996 Jim Blandy Find the libguile headers correctly when building in a separate dir. * Makefile.in (ALL_CFLAGS): Refer to GTCLTK_INCLUDES and LIBGUILE_INCLUDES; the net effect is to add -I$(srcdir) and -I.. to the header path. (GTCLTK_INCLUDES, LIBGUILE_INCLUDES): New variables. Tue Sep 10 16:51:03 1996 Jim Blandy * guile-tcl.c, guile-tk.c: Use the SCM_P macro to declare prototypes, instead of the PROTO macro, which libguile.h doesn't #define any more. Wed Sep 4 00:47:01 1996 Jim Blandy * Makefile.in (ALL_CFLAGS): Don't search $(srcdir)/../gtcl or $(srcdir)/../gtk; they don't exist any more. * Makefile.in (pkgincludedir): Variable deleted. (install): Don't create $(pkgincludedir); instead, install guile-tcl.h and guile-tk.h directly in $(includedir). (uninstall): Changed to match. * Makefile.in (ALL_CFLAGS): Check for headers in $(srcdir)/.., to accomodate the new libguile header file arrangement. Fri Aug 30 15:34:06 1996 Jim Blandy * PLUGIN/guile.config.in (xtra_cflags): Remove references to gtcl and gtk directories; they're long gone. * Makefile.in (exec_prefix, bindir, libdir, includedir, infodir): Get values directly from autoconf, instead of deriving them ourselves. * Makefile.in (glsdir): Not used; removed. (pkgincludedir): New variable. (install): Create the $(prefix) directory. Don't create $(glsdir). Create and install the header files in $(pkgincludedir), instead of $(includedir). (uninstall): Remove the header files from the appropriate directory. * configure.in: Get the current Guile version, and substitute it into Makefile, so we can compute pkgincludedir. * configure: Rebuilt. Thu Aug 15 19:04:34 1996 Jim Blandy * configure.in: Check for -ldl; if present, add it to the list of libraries Guile should link against. * PLUGIN/guile.config.in (xtra_libs): Here's where it goes, if it's present. Thu Aug 15 17:25:36 1996 Jim Blandy Rework the strategy for selectively omitting this subdir from the build. The old idea was to not configure it at all, but then disties don't work. See the top-level ChangeLog. * PLUGIN/guile.inits, PLUGIN/guile.libs: Replace PLUGIN/guile.inits.in and PLUGIN/guile.libs.in; they're constant, and distributed as-is. Not creating them was a kludge. * configure.in (AC_OUTPUT): Don't create PLUGIN/guile.inits or PLUGIN/guile.libs. * Makefile.in (dist): Distribute PLUGIN/guile.inits and PLUGIN/guile.libs. Thu Aug 15 03:29:58 1996 Jim Blandy This subtree shouldn't participate in the build process at all if the top-level makefile elected not to configure it. * PLUGIN/guile.config, PLUGIN/guile.inits, PLUGIN/guile.libs: All renamed to mumble.in. * configure.in: Construct the PLUGIN/mumble files from the PLUGIN/mumble.in files. This way, if we're never configured, the mumble files will not appear, and other subdirs won't get confused. * GUILE.vars.in: Remove this; integrate its guts into... * PLUGIN/guile.config.in: here. * Makefile.in (ancillary, dist-dir): Distribution code adjusted appropriately. Thu Aug 15 01:31:49 1996 Jim Blandy * Added the gtcltk-lib tree to Guile. Thu Mar 21 19:58:44 1996 Jim Blandy * Makefile.in (X_CFLAGS): New variable, whose value is provided by the configure script. (ALL_CFLAGS): Include the value of X_CFLAGS, so the pre-processor can find the X Window System #include files. Fri Mar 1 12:47:41 1996 Tom Lord * guile-tcl.c (scm_tcl_apply_command): handle arguments which are procedures correctly. Thu Feb 29 18:35:48 1996 Tom Lord * guile-tcl.c (scm_tcl_global_eval): defer/allow ints (invoke_tcl_command): mark ints during callout (scm_tcl_delete_command): defer/allow ints (scm_tcl_get_int): not leaking result any more (scm_tcl_get_double): not leaking result any more (scm_tcl_get_boolean): not leaking result any more (scm_tcl_split_list): not leaking result any more, defer/allow ints better (scm_tcl_merge): defer/allow ints better (scm_tcl_trace_var2): not leaking result any more, defer/allow ints better (scm_tcl_apply_command): handle ints/memory less spastically (trace_variable): mask ints during trace * guile-tcl.c (scm_tcl_untrace_var2): This looks bogus. Tue Jan 30 15:12:31 1996 Tom Lord * Makefile.in (ALL_CFLAGS): standards.info Fri Jan 26 13:53:10 1996 Tom Lord * (in gtk): fixed bug reported by Aleksandar Bakic . Anonymous procedures as menu-item commands didn't work, now they do. Wed Aug 16 13:19:31 1995 Tom Lord * Makefile.in (install): Install the header files. (reported by webbb@lx3.tucson.saic.com (Brian Webb)) * Gtcl.scm ((reify-tcl-command interp name)): allowed widget names to be unquoted when passed to a Tcl command. (reported by hjstein@MATH.HUJI.AC.IL) Sat Jul 1 23:20:25 1995 Tom Lord * PTTTTHHROK