From 760c4938e485677a0254aec064f2b5514b2de2f4 Mon Sep 17 00:00:00 2001 From: rjohnson Date: Mon, 4 Jan 1999 19:25:00 +0000 Subject: Updated the version to 8.0.5. --- README | 14 ++++++++------ changes | 46 +++++++++++++++++++++++++++++----------------- generic/tcl.h | 9 +++++---- library/init.tcl | 3 ++- mac/README | 10 +++++----- unix/configure.in | 4 ++-- unix/tclUnixChan.c | 5 ++++- win/README | 6 +++--- win/README.binary | 10 +++++----- win/tclWinChan.c | 5 ++++- 10 files changed, 67 insertions(+), 45 deletions(-) diff --git a/README b/README index f29ca50..639d0fd 100644 --- a/README +++ b/README @@ -1,13 +1,13 @@ Tcl -RCS: @(#) $Id: README,v 1.11 1998/10/13 19:03:52 escoffon Exp $ +RCS: @(#) $Id: README,v 1.12 1999/01/04 19:25:00 rjohnson Exp $ 1. Introduction --------------- This directory and its descendants contain the sources and documentation for Tcl, an embeddable scripting language. The information here -corresponds to release 8.0.4, which is the fourth patch update for Tcl +corresponds to release 8.0.5, which is the fourth patch update for Tcl 8.0. This patch provides compatibility with [incr Tcl] 3.0. Tcl 8.0 is a major new release that replaces the core of the interpreter with an on-the-fly bytecode compiler to improve execution @@ -87,7 +87,7 @@ Before trying to compile Tcl you should do the following things: without changing any features, so you should normally use the latest patch release for the version of Tcl that you want. Patch releases are available in two forms. A file like - tcl8.0.4.tar.Z is a complete release for patch level 4 of Tcl + tcl8.0.5.tar.Z is a complete release for patch level 4 of Tcl version 8.0. If there is a file with a higher patch level than this release, just fetch the file with the highest patch level and use it. @@ -395,6 +395,8 @@ bug fixes only. A patch release (e.g Tcl 7.6p2) should be completely compatible with the base release from which it is derived (e.g. Tcl 7.6), and you should normally use the highest available patch release. -As of 8.0.3, the patch releases use a second . instead of 'p'. So, the -8.0 release went to 8.0p1, 8.0p2, 8.0.3, and 8.0.4. The alphas and betas -will still use the 'a' and 'b' letters in their tcl_patchLevel. +As of 8.0.3, the patch releases use a second . instead of 'p'. So, +the 8.0 release went to 8.0p1, 8.0p2, 8.0.3, 8.0.4, and 8.0.5. The +alphas and betas will still use the 'a' and 'b' letters in their +tcl_patchLevel. + diff --git a/changes b/changes index d552cfe..da1915d 100644 --- a/changes +++ b/changes @@ -1,6 +1,6 @@ Recent user-visible changes to Tcl: -RCS: @(#) $Id: changes,v 1.36 1998/12/04 01:04:15 stanton Exp $ +RCS: @(#) $Id: changes,v 1.37 1999/01/04 19:25:00 rjohnson Exp $ 1. No more [command1] [command2] construct for grouping multiple commands on a single command line. @@ -3641,8 +3641,9 @@ problem. (RJ) tcl_platform array on Windows platform. The existence of the debug element of the tcl_platform array indicates that the particular Tcl shell has been compiled with debug information. Using -"info exists tcl_platform(debug)" a Tcl script can direct the interpreter -to load debug versions of DLLs with the load command. (SKS) +"info exists tcl_platform(debug)" a Tcl script can direct the +interpreter to load debug versions of DLLs with the load +command. (SKS) 10/20/98 (feature change) The Makefile and configure scripts have been changed for IRIX to build n32 binaries instead of the old 32 abi @@ -3650,31 +3651,42 @@ format. If you have extensions built with the o32 abi's you will need to update them to n32 for them to work with Tcl. (RJ) *** POTENTIAL INCOMPATIBILITY *** -10/23/98 (bug fix) tcl_findLibrary had a stray ] in one of the pathnames -it searched for the initialization script. tclInitScript.h was incorrectly -adding the parent of tcl_library to tcl_pkgPath. This logic was moved -into init.tcl, and the initialization of auto_path was documented. -Thanks to Donald Porter and Tom Silva for related patches. (BW) +10/23/98 (bug fix) tcl_findLibrary had a stray ] in one of the +pathnames it searched for the initialization script. tclInitScript.h +was incorrectly adding the parent of tcl_library to tcl_pkgPath. This +logic was moved into init.tcl, and the initialization of auto_path was +documented. Thanks to Donald Porter and Tom Silva for related +patches. (BW) 10/29/98 (bug fix) Fixed Tcl_NotifyChannel to use Tcl_Preserve instead of Tcl_RegisterChannel so that 1) unregistered channels do not get closed after their first fileevent, and 2) errors that occur during -close in a fileevent script are actually reflected by the close command. (BW) +close in a fileevent script are actually reflected by the close +command. (BW) 10/30/98 (bug fix) Overhaul of pkg_mkIndex to deal with transitive package requires and packages split among scripts and binary files. Also fixed ommision of global for errorInfo in tcl_findLibrary. (BW) -11/08/98 (bug fix) Fixed the resource command to always detect the case where a file -is opened a second time with the same permissions. IM claims that this will -always cause the same FileRef to be returned, but in MacOS 8.1+, this is no longer the -case, so we have to test for this equality explicitly. (JI) +11/08/98 (bug fix) Fixed the resource command to always detect the +case where a file is opened a second time with the same permissions. +IM claims that this will always cause the same FileRef to be returned, +but in MacOS 8.1+, this is no longer the case, so we have to test for +this equality explicitly. (JI) -11/10/98 (feature change) When compiling with Metrowerk's MSL, use the exit function from -MSL rather than ExitToShell. This allows MSL to clean up its temporary files. Thanks to -Vince Darley for this improvement. (JI) +11/10/98 (feature change) When compiling with Metrowerk's MSL, use the +exit function from MSL rather than ExitToShell. This allows MSL to +clean up its temporary files. Thanks to Vince Darley for this +improvement. (JI) ------------------ Released 8.0.4, 11/20/98 ------------------------- +----------------- Released 8.0.4, 11/19/98 ----------------------- + +11/20/98 (bug fix) Handle possible NULL return in TclGetStdFiles. (RJ) + +11/20/98 (bug fix) The dltests would not build on SGI. They reported +that you could not mix n32 with 032 binaries. The configure script +has been modified to get the EXTRA_CFLAGS from the tcl configure +script. [Bug id: 840] (RJ) 12/3/98 (bug fix) Windows NT creates sockets so they are inheritable by default. Fixed socket code so it turns off this bit right after diff --git a/generic/tcl.h b/generic/tcl.h index 3d3a517..5dd83ea 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -7,12 +7,12 @@ * Copyright (c) 1987-1994 The Regents of the University of California. * Copyright (c) 1994-1997 Sun Microsystems, Inc. * Copyright (c) 1993-1996 Lucent Technologies. - * Copyright (c) 1998 by Scriptics Corporation. + * Copyright (c) 1998-1999 Scriptics Corporation. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tcl.h,v 1.29 1998/10/17 00:19:24 escoffon Exp $ + * RCS: @(#) $Id: tcl.h,v 1.30 1999/01/04 19:25:01 rjohnson Exp $ */ #ifndef _TCL @@ -29,6 +29,7 @@ * win/makefile.vc (only if major.minor changes, not patchlevel) * win/README * win/README.binary + * mac/README * * The release level should be 0 for alpha, 1 for beta, and 2 for * final/patch. The release serial value is the number that follows the @@ -41,10 +42,10 @@ #define TCL_MAJOR_VERSION 8 #define TCL_MINOR_VERSION 0 #define TCL_RELEASE_LEVEL 2 -#define TCL_RELEASE_SERIAL 4 +#define TCL_RELEASE_SERIAL 5 #define TCL_VERSION "8.0" -#define TCL_PATCH_LEVEL "8.0.4" +#define TCL_PATCH_LEVEL "8.0.5" /* * The following definitions set up the proper options for Windows diff --git a/library/init.tcl b/library/init.tcl index 65d903e..f7b35c2 100644 --- a/library/init.tcl +++ b/library/init.tcl @@ -3,10 +3,11 @@ # Default system startup file for Tcl-based applications. Defines # "unknown" procedure and auto-load facilities. # -# RCS: @(#) $Id: init.tcl,v 1.22 1998/11/12 05:54:02 welch Exp $ +# RCS: @(#) $Id: init.tcl,v 1.23 1999/01/04 19:25:02 rjohnson Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. +# Copyright (c) 1998-1999 Scriptics Corporation. # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. diff --git a/mac/README b/mac/README index b6f5d0b..956a0ec 100644 --- a/mac/README +++ b/mac/README @@ -1,4 +1,4 @@ -Tcl 8.0.3 for Macintosh +Tcl 8.0.5 for Macintosh by Ray Johnson Scriptics Corporation @@ -8,7 +8,7 @@ Jim Ingham Cygnus Solutions jingham@cygnus.com -RCS: @(#) $Id: README,v 1.3 1998/09/14 18:40:04 stanton Exp $ +RCS: @(#) $Id: README,v 1.4 1999/01/04 19:25:03 rjohnson Exp $ 1. Introduction --------------- @@ -96,7 +96,7 @@ Macintosh Tcl is distributed in three different forms. This should make it easier to only download what you need. The packages are as follows: -mactk8.0.3.sea.hqx +mactk8.0.5.sea.hqx This distribution is a "binary" only release. It contains an installer program that will install a 68k, PowerPC, or Fat @@ -104,13 +104,13 @@ mactk8.0.3.sea.hqx it installs the Tcl & Tk libraries in the Extensions folder inside your System Folder. -mactcltk-full-8.0.3.sea.hqx +mactcltk-full-8.0.5.sea.hqx This release contains the full release of Tcl and Tk for the Macintosh plus the More Files packages which Macintosh Tcl and Tk rely on. -mactcl-source-8.0.3.sea.hqx +mactcl-source-8.0.5.sea.hqx This release contains the complete source for Tcl 8.0. In addition, Metrowerks CodeWarrior libraries and project files diff --git a/unix/configure.in b/unix/configure.in index 1d5c418..8b6a51e 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -2,12 +2,12 @@ dnl This file is an input file used by the GNU "autoconf" program to dnl generate the file "configure", which is run during Tcl installation dnl to configure the system for the local environment. AC_INIT(../generic/tcl.h) -# RCS: @(#) $Id: configure.in,v 1.22 1998/10/28 18:34:23 suresh Exp $ +# RCS: @(#) $Id: configure.in,v 1.23 1999/01/04 19:25:04 rjohnson Exp $ TCL_VERSION=8.0 TCL_MAJOR_VERSION=8 TCL_MINOR_VERSION=0 -TCL_PATCH_LEVEL=".4" +TCL_PATCH_LEVEL=".5" VERSION=${TCL_VERSION} if test "${prefix}" = "NONE"; then diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index 5da3024..4fe0144 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixChan.c,v 1.7 1998/09/14 18:40:17 stanton Exp $ + * RCS: @(#) $Id: tclUnixChan.c,v 1.8 1999/01/04 19:25:04 rjohnson Exp $ */ #include "tclInt.h" /* Internal definitions for Tcl. */ @@ -2320,6 +2320,9 @@ TclGetDefaultStdChannel(type) } channel = Tcl_MakeFileChannel((ClientData) fd, mode); + if (channel == NULL) { + return NULL; + } /* * Set up the normal channel options for stdio handles. diff --git a/win/README b/win/README index 3e2b574..559672f 100644 --- a/win/README +++ b/win/README @@ -1,10 +1,10 @@ -Tcl 8.0.4 for Windows +Tcl 8.0.5 for Windows by Scott Stanton Scriptics Corporation scott.stanton@scriptics.com -RCS: @(#) $Id: README,v 1.7 1998/10/17 00:20:50 escoffon Exp $ +RCS: @(#) $Id: README,v 1.8 1999/01/04 19:25:05 rjohnson Exp $ 1. Introduction --------------- @@ -41,7 +41,7 @@ In order to compile Tcl for Windows, you need the following items: Visual C++ 2.x/4.x/5.x Visual C++ 1.5 (to build tcl1680.dll for Win32s support of exec) -In practice, the 8.0.4 release is built with Visual C++ 5.0 +In practice, the 8.0.5 release is built with Visual C++ 5.0 In the "win" subdirectory of the source release, you will find two files called "makefile.bc" and "makefile.vc". These are the makefiles diff --git a/win/README.binary b/win/README.binary index 759fb0c..fc8d4a1 100644 --- a/win/README.binary +++ b/win/README.binary @@ -1,11 +1,11 @@ -Tcl/Tk 8.0.4 for Windows, Binary Distribution +Tcl/Tk 8.0.5 for Windows, Binary Distribution -%Z% $Id: README.binary,v 1.2 1998/10/17 00:20:50 escoffon Exp $ +%Z% $Id: README.binary,v 1.3 1999/01/04 19:25:05 rjohnson Exp $ 1. Introduction --------------- -This directory contains the binary distribution of Tcl/Tk 8.0.4 for +This directory contains the binary distribution of Tcl/Tk 8.0.5 for Windows. It was compiled with Microsoft Visual C++ 5.0 using Win32 API, so that it will run under Windows NT and Windows 95. The information here corresponds to release 8.0. This patch provides @@ -22,11 +22,11 @@ release fixes various bugs in Tcl 8.0, plus it adds a few minor features to support the TclPro 1.0 tool set and [incr Tcl] 3.0. Please check the changes file in the source release for details. -This release also corresponds to Tk 8.0.4. This is a major release with +This release also corresponds to Tk 8.0.5. This is a major release with significant new features such as native look and feel on Macintoshes and PCs, a new font mechanism, application embedding, and proper support for Safe-Tcl. See below for details. There should be no -backward incompatibilities in Tk 8.0.4 that affect scripts. +backward incompatibilities in Tk 8.0.5 that affect scripts. Note: with this release the Tk version number skips from 4.2 to 8.0. The jump was made in order to synchronize the Tcl and Tk version diff --git a/win/tclWinChan.c b/win/tclWinChan.c index 1ff36ce..3d2c4e6 100644 --- a/win/tclWinChan.c +++ b/win/tclWinChan.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinChan.c,v 1.3 1998/09/14 18:40:19 stanton Exp $ + * RCS: @(#) $Id: tclWinChan.c,v 1.4 1999/01/04 19:25:05 rjohnson Exp $ */ #include "tclWinInt.h" @@ -1167,6 +1167,9 @@ TclGetDefaultStdChannel(type) } channel = Tcl_MakeFileChannel(handle, mode); + if (channel == NULL) { + return NULL; + } /* * Set up the normal channel options for stdio handles. -- cgit v0.12