Index: AUTHORS ================================================================== --- AUTHORS +++ AUTHORS @@ -1,1 +1,2 @@ Johannes Zellner http://www.zellner.org/ +Mark Patton Index: ChangeLog ================================================================== --- ChangeLog +++ ChangeLog @@ -1,6 +1,19 @@ +2000-08-27 Johannes Zellner + + * added Mark to AUTHORS :) + +2000-08-27 Mark Patton + + * converted tclreadline::readline to be an object + command. This was the simplest way to fix the + Tcl_Obj mem leak. + + * added the command readline text and readline update + that retrieve the current input and redraw it respecively. + 2000-07-27 Johannes Zellner * configure.in: changed a == to = in a sh test (reported by "Daniel O'Connor" ) Index: configure.in ================================================================== --- configure.in +++ configure.in @@ -1,8 +1,8 @@ dnl -*- autoconf -*- dnl FILE: "/home/joze/src/tclreadline/configure.in" -dnl LAST MODIFICATION: "Don, 27 Jul 2000 15:10:24 +0200 (joze)" +dnl LAST MODIFICATION: "Son, 27 Aug 2000 16:10:18 +0200 (joze)" dnl (C) 1998 - 2000 by Johannes Zellner, dnl $Id$ dnl --- dnl tclreadline -- gnu readline for tcl dnl http://www.zellner.org/tclreadline/ @@ -15,11 +15,11 @@ AC_REVISION($Revision$) AC_CONFIG_AUX_DIR(./aux) MAJOR=2 MINOR=0 -PATCHLEVEL=2 +PATCHLEVEL=3 VERSION=$MAJOR.$MINOR PATCHLEVEL_STR=$VERSION.$PATCHLEVEL AC_SUBST(MAJOR) AC_SUBST(MINOR) Index: tclreadline.c ================================================================== --- tclreadline.c +++ tclreadline.c @@ -1,9 +1,9 @@ /* ================================================================== FILE: "/home/joze/src/tclreadline/tclreadline.c" - LAST MODIFICATION: "Sat, 08 Jul 2000 21:25:15 +0200 (joze)" + LAST MODIFICATION: "Son, 27 Aug 2000 16:11:02 +0200 (joze)" (C) 1998 - 2000 by Johannes Zellner, $Id$ --- tclreadline -- gnu readline for tcl http://www.zellner.org/tclreadline/ @@ -199,11 +199,11 @@ } static int TclReadlineCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { - int i, obj_idx, status; + int obj_idx, status; static char *subCmds[] = { "read", "initialize", "write", "add", "complete", "customcompleter", "builtincompleter", "eofchar", "reset-terminal", "bell", "text", "update",