-2002-12-19 Christopher Faylor <cgf@redhat.com>
+2002-10-22 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tclWinInit.c (TclpInitLibraryPath): Default to correct location
- for installLib on cygwin.
+ *** 8.4.1 TAGGED FOR RELEASE ***
-2002-12-19 Christopher Faylor <cgf@redhat.com>
+ * changes: updated for 8.4.1 release
- * cygwin/configure.in: Set TCL_BUILD_LIB_SPEC.
- * cygwin/configure: Regenerate.
+ * win/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.
+ * win/configure: regen
+ * win/configure.in: removed SC_ENABLE_MEMDEBUG call
+ * win/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
+ SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
-2002-10-05 Christopher Faylor <cgf@redhat.com>
+2002-10-22 Daniel Steffen <das@users.sourceforge.net>
- * win/tclWin32Dll.c (tclWinTCharEncoding): Remove 'static' since it is
- declared in header as exportable extern.
+ * library/auto.tcl (tcl_findLibrary):
+ * library/package.tcl (tclPkgUnknown): on macosx, search inside the
+ Resources/Scripts subdirectory of any potential package directory
+ * macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs
+ to TCL_PACKAGE_PATH make argument.
+ * unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded
+ framework dirs to tcl_pkgPath: @executable_path/../Frameworks and
+ @executable_path/../PrivateFrameworks (if they exist), as well as
+ the dirs in DYLD_FRAMEWORK_PATH (if set). [Patch #624509]
+ use standard MAXPATHLEN instead of literal 1024
-2002-09-13 Keith Seitz <keiths@redhat.com>
+2002-10-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- From Mo Dejong <supermo@bayarea.net>:
- * win/tclWin32Dll.c (DllMain): Remove unused os
- variable since VC++ treats warnings as errors
- when compiling with symbols.
+ * doc/StringObj.3, doc/Object.3: Documented that Tcl_Obj's
+ standard string form is a modified UTF-8; apparently, this was not
+ mentioned anywhere in the main docs, and lead to [Bug 624919].
- * win/tclWinPort.h: Remove undefine of PASCAL
- symbol added on 2001-09-12. It caused
- crashing problems with sockets.
+2002-10-21 Daniel Steffen <das@users.sourceforge.net>
-2002-07-31 Keith Seitz <keiths@redhat.com>
+ * macosx/Tcl.pbproj/project.pbxproj: bumped version to 8.4.1
+ * generic/tcl.h: Added reminder comment to edit
+ macosx/Tcl.pbproj/project.pbxproj when version number changes.
- * generic/tclIntDecls.h (TclIntStubs): Do not include definitions
- for tclpAlloc, tclpFree, or pRealloc on cygwin.
+2002-10-18 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tcl.hpj.in: Copied here from tools/tcl.hpj.in.
-
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Add TCL_DLL_BASE, DDE_DLL_BASE,
- and REG_DLL_BASE variables to define DLL image bases on cygwin.
- Do not link with "-e _WinMain@16" on cygwin.
- * win/configure.in (TCL_DLL_BASE): Substitute into makefile.
- (DDE_DLL_BASE): Likewise.
- (REG_DLL_BASE): Likewise.
- * win/configure: Regenerated.
- * win/Makefile.in: Use TCL_DLL_BASE, DDE_DLL_BASE, and
- REG_DLL_BASE to build DLLs.
+ * library/reg/pkgIndex.tcl:
+ * win/configure:
+ * win/configure.in:
+ * win/Makefile.in:
+ * win/makefile.vc:
+ * win/makefile.bc: Updated to reg1.1
-2002-07-30 Keith Seitz <keiths@redhat.com>
+ * doc/registry.n: Added support for broadcasting changes to
+ * tests/registry.test: the registry Environment. Noted proper code
+ * win/tclWinReg.c: in the docs. [Patch #625453]
- From Mo DeJong <supermo@bayarea.net>
- * cygwin/configure: Regenerated.
- * cygwin/configure.in: Emit a tclConfig.sh file
- so that expect can load it at configure time.
- * win/configure: Regenerated.
- * win/configure.in: Don't emit a ../unix/tclConfig.sh
- file, this was a hack to get expect to build.
+ * unix/Makefile.in (dist): add any mac/tcl*.sea.hqx files
-2002-04-09 Keith Seitz <keiths@redhat.com>
+2002-10-17 Don Porter <dgp@users.sourceforge.net>
- * test/iOUtil.test: Removed. Conflicted with real ioUtil.test
- file.
+ * generic/tclVar.c: Fixed code that check for proper # of args to
+ * tests/var.test: [array names]. Added test. [Bug 624755]
-2001-10-28 Christopher Faylor <cgf@redhat.com>
+2002-10-16 Jeff Hobbs <jeffh@ActiveState.com>
- * cygwin/configure.in: Check for cygwin host rather than cygwin target.
- * cygwin/configure: Regenerate.
+ * win/configure: add workaround for cygwin windres
+ * win/tcl.m4 (SC_CONFIG_CFLAGS): problem. [Patch #624010] (howell)
-2001-10-28 Christopher Faylor <cgf@redhat.com>
+2002-10-15 Jeff Hobbs <jeffh@ActiveState.com>
- * win/configure.in: Modify 2001-10-05 change to check for cygwin host
- rather than cygwin target.
- * win/configure: Regenerate.
+ * README: added archives.tcl.tk note
-Fri Oct 5 16:03:53 2001 Christopher Faylor <cgf@cygnus.com>
+ * unix/configure:
+ * unix/tcl.m4: Correct AIX-5 ppc build flags.
+ Correct HP 11 64-bit gcc building. [Patch #601051] (martin)
- * win/configure.in: Add detection for -mwin32 option requirement under
- cygwin.
- * win/configure: Regenerate.
+2002-10-15 Vince Darley <vincentdarley@users.sourceforge.net>
-2001-09-13 Ian Roxborough <irox@redhat.com>
-
- * generic/tclStubInit.tcl: Export tclAlloc functions
- if __MINGW32__ is defined.
- * generic/tclAlloc.c: Revert changes from 2001-09-12.
- * generic/tcl.h: Use tclAlloc function if __WIN32__
- is defined.
- * win/tclWinPort.h: Fixed typer __MWIN32 should read
- __WIN32__.
-
-2001-09-12 Ian Roxborough <irox@redhat.com>
-
- * Makefile.in: Add 'cygwin' subdirectory to 'make all'
- target.
- * configure.in: Configure 'cygwin' and 'win' directory
- for a cygwin host.
- * configure: Regenerated.
- * cygwin/configure.in: Change version number to 8.3.
- * cygwin/configure: Regenerated.
- * cygwin/Makefile.am: Added/removed files to be build
- for Tcl8.3.
- * cygwin/Makefile.in: Regenerated.
- * generic/tcl.h: Don't define __WIN32__ for cygwin or
- mwing32 builds. Don't define USE_TCLALLOC when building
- for cygwin. Don't use __declspec unless building Tcl or
- tk or build with USE_TCL_STUBS.
- * generic/tclAlloc.c: For cygwin hosts, don't using
- anything in this file unless build with __TCL_UNIX_VARIANT.
- * generic/tclClock.c: Declare 'timezone' as an int, if it
- hasn't been #defined.
- * generic/tclStubInit.c: Don't export any tclAlloc function
- when build for a cygwin host.
- * win/configure.in: Set DL_LIBS and MATH_LIBS. Create
- unix/tclConfig.sh.
- * win/configure: Regenerated.
- * win/tclWinPort.h: Added missing #endif.
- * win/tclWinFile.c (TclpChdir): Don't invert change
- directory results on cygwin.
-
-2001-08-08 Mo DeJong <mdejong@redhat.com>
+ * generic/tclCmdMZ.c:
+ * tests/trace.test: applied patch from Hemang Levana to fix
+ [Bug #615043] in execution traces with idle tasks firing.
- * cygtcl.m4 (TCL_TOOL_PATH, TCL_TOOL_SHARED_LIB_LONGNAME):
- Raise an error if the CYGPATH variable is not defined when
- TCL_TOOL_PATH is invoked. Add cygwin to the list of hosts
- that do not use a "lib" prefix for shared library names.
- * unix/configure: Regen.
- * win/configure: Regen.
+2002-10-14 Jeff Hobbs <jeffh@ActiveState.com>
-2001-08-06 Mo DeJong <mdejong@redhat.com>
+ * generic/tclEnv.c (Tcl_PutEnv): correct possible mem leak.
+ [Patch #623269] (brouwers)
- * cygtcl.m4 (TCL_TOOL_STATIC_LIB_LONGNAME,
- TCL_TOOL_SHARED_LIB_LONGNAME,
- TCL_TOOL_LIB_SHORTNAME): Use TCL_VENDOR_PREFIX instead
- of VENDORPREFIX to support using these macros in
- extensions that load tclConfig.sh.
- * unix/configure: Regen.
- * unix/configure.in: Subst VENDORPREFIX into tclConfig.sh.
- * unix/tclConfig.sh.in: Add TCL_VENDOR_PREFIX.
- * win/configure: Regen.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Set vendor prefix to "rh"
- instead of "sn" when compiling with VC++ or gcc. When
- compiling with Cygwin set the prefix to "cyg". Set the
- TCL_VENDOR_PREFIX to support the tcl tool macros in Tcl.
- * win/tclConfig.sh.in: Add TCL_VENDOR_PREFIX.
+2002-10-11 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-2001-08-06 Mo DeJong <mdejong@redhat.com>
+ * generic/tcl.h: Need a different strategy through the maze of
+ #defines to let people building with Cygwin build correctly. Also
+ made some comments less misleading...
- * win/Makefile.in: Subst DDE_DLL_FILE, DDE_LIB_FILE, REG_DLL_FILE,
- REG_LIB_FILE, and PIPE_DLL_FILE from the configure script instead
- of figuring them out in the Makefile.
- * win/configure: Regen.
- * win/configure.in: Use TCL_TOOL_STATIC_LIB_LONGNAME and
- TCL_TOOL_SHARED_LIB_LONGNAME macros to figure out values for
- DDE_DLL_FILE, DDE_LIB_FILE, REG_DLL_FILE, REG_LIB_FILE, and
- PIPE_DLL_FILE and subst them into the Makefile.
-
-2001-08-01 Mo DeJong <mdejong@redhat.com>
-
- * cygtcl.m4 (TCL_TOOL_STATIC_LIB_LONGNAME,
- TCL_TOOL_SHARED_LIB_LONGNAME): Rename
- TCL_TOOL_LIB_LONGNAME to TCL_TOOL_STATIC_LIB_LONGNAME.
- Add new TCL_TOOL_SHARED_LIB_LONGNAME to construct
- shared library names in a cross platform way.
- * unix/configure: Regen.
- * unix/configure.in: Use TCL_TOOL_SHARED_LIB_LONGNAME
- and TCL_TOOL_STATIC_LIB_LONGNAME to generate lib names.
- * win/configure: Regen.
- * win/configure.in: Use TCL_TOOL_SHARED_LIB_LONGNAME
- and TCL_TOOL_STATIC_LIB_LONGNAME to generate lib names.
+2002-10-10 Jeff Hobbs <jeffh@ActiveState.com>
-2001-07-24 Mo DeJong <mdejong@redhat.com>
+ * README: fixed minor nits [Bug #607776] (virden)
* win/configure:
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't pass explicit
- Cygwin libs on the command line since linking is now
- done using $CC and not $LD.
+ * win/tcl.m4: enable USE_THREAD_ALLOC (new threaded allocator) by
+ default in cygwin configure on Windows.
-2001-07-24 Mo DeJong <mdejong@redhat.com>
+2002-10-10 Don Porter <dgp@users.sourceforge.net>
- * win/tclWinThrd.c (Tcl_CreateThread, TclpThreadExit):
- When building under Cygwin, call CreateThread instead
- of _beginthreadex and call ExitThread instead of
- _endthreadex. Cygwin does not support these msvcrt
- methods and does not suffer from the memory leak
- problems that prompted their use.
+ * doc/Tcl.n: Clarified that namespace separators are legal in
+ the variable names during $-subtitution. [Bug 615139]
+
+ * doc/regexp.n: Typo correction. Thanks Ronnie Brunner. [Bug 606826]
-2001-07-24 Mo DeJong <mdejong@redhat.com>
+2002-10-10 Vince Darley <vincentdarley@users.sourceforge.net>
- * win/configure: Regen.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in
- Cygwin version of windres and work around that
- case by passing a POSIX path instead of a Windows
- native path. One can't always pass a POSIX path
- because the mingw native toolchain accepts only
- Windows native paths.
+ * unix/tclLoadAout.c
+ * unix/tclLoadDl.c
+ * unix/tclLoadDld.c
+ * unix/tclLoadDyld.c
+ * unix/tclLoadNext.c
+ * unix/tclLoadOSF.c
+ * unix/tclLoadShl.c
+ * win/tclWinLoad.c: allow either full paths or simply dll names
+ to be specified when loading files (the latter will be looked
+ up by the OS on your PATH/LD_LIBRARY_PATH as appropriate).
+ Fixes [Bug 611108]
-2001-07-24 Mo DeJong <mdejong@redhat.com>
+2002-10-09 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tclWinThrd.c (Tcl_CreateThread): Close Windows
- HANDLE returned by _beginthreadex. The MS documentation
- states that this handle is not closed by a later call to
- _endthreadex.
+ * unix/README: doc'ed --enable-symbols options.
+ * unix/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.
+ * unix/configure: regen
+ * unix/configure.in: removed SC_ENABLE_MEMDEBUG call
+ * unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
+ SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
-2001-07-17 Frank Ch. Eigler <fche@redhat.com>
+2002-10-09 Kevin B. Kenny <kennykb@acm.org>
- * generic/tclInitScript.h (initScript): Check that nameofexecutable
- is valid (file exists) before traversing it as a possible link.
+ * win/tclWinTime.c: Added code to set an exit handler that
+ terminates the thread that calibrates the performance counter, so
+ that the thread won't outlive unloading the Tcl DLL. [Tcl bug
+ 620735].
-2001-07-16 Mo DeJong <mdejong@redhat.com>
+2002-10-09 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tcl.h: Define __WIN32__ when
- __CYGWIN__ or __MINGW32__ is defined.
- * generic/tclAlloc.c: Define caddr_t when
- compiling with VC++ or mingw. This type is
- already defined when compiling with Cygwin.
+ * doc/binary.n: More clarification of [binary scan]'s behaviour.
-2001-07-16 Mo DeJong <mdejong@redhat.com>
+2002-10-09 Daniel Steffen <das@users.sourceforge.net>
- * win/tclWinConsole.c:
- * win/tclWinPipe.c:
- * win/tclWinPort.h:
- * win/tclWinThrd.c:
- Remove unnecessary #includes of dos.h, direct.h,
- and tchar.h. This will help the Cygwin porting
- effort since these headers do not exist under Cygwin.
+ * generic/tclIntDecls.h: fixed botched regen.
-2001-07-12 Mo DeJong <mdejong@redhat.com>
+2002-10-09 Daniel Steffen <das@users.sourceforge.net>
- * unix/Makefile.in:
- * unix/configure: Regen.
- * unix/configure.in:
- * unix/tcl.m4:
- * win/Makefile.in:
- * win/configure: Regen.
- * win/configure.in:
- * win/tcl.m4:
- Revert ill-conceived EXTRA_CFLAGS changes made on 2001-07-09.
- The change ended up causing big problems with the
- tclConfig.sh file since it exported EXTRA_CFLAGS and did
- not deal with the debug/non-debug case.
+ * generic/tclInt.decls: made TclSetPreInitScript() declaration
+ generic as it is used on mac & aqua as well.
+ * generic/tclIntDecls.h:
+ * generic/tclStubInit.c: regen.
+ * generic/tclCompile.h: added prototype for TclCompileVariableCmd.
-2001-07-11 Mo DeJong <mdejong@redhat.com>
+ * mac/tclMacPort.h: removed incorrect <fcntl.h> definitions
+ and obsolete <stat.h> definitions.
+ * mac/tclMacChan.c: removed obsolete GetOpenMode() and replaced
+ associated constants with the <fcntl.h> analogues (they existing
+ defs were inconsistent with <fcntl.h> which was causing havoc when
+ Tcl_GetOpenMode was used instead of private GetOpenMode).
- * unix/configure: Regen.
- * unix/tcl.m4 (SC_CONFIG_CFLAGS): Avoid using AC_CHECK_TOOL
- since Tcl's configure script is not setup properly.
+ * mac/tclMacFCmd.c: removed GenerateUniqueName(), use equivalent
+ (and identiaclly named) routine from MoreFiles instead.
-2001-07-11 Mo DeJong <mdejong@redhat.com>
+ * mac/tclMacLoad.c: CONSTification, fixes to Vince's last changes.
- * unix/Makefile.in: Add AR variable for use in STLIB_LD.
- * unix/configure: Regen.
- * unix/configure.in: Use STLIB_LD when defining MAKE_LIB
- and MAKE_STUB_LIB. Subst RANLIB and AR.
- * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add doc comment about
- STLIB_LD command. Check ${AR} env var when setting
- STLIB_LD and delay evaluation until make time.
- * win/configure: Regen.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Pass AR arguments in
- STLIB_LD to better match the Unix implementation. Don't
- bother defining AR when using VC++ since it is not used.
+ * mac/tclMacFile.c:
+ * mac/tclMacTest.c:
+ * mac/tclMacUnix.c: CONSTification.
-2001-07-10 Mo DeJong <mdejong@redhat.com>
+ * mac/tclMacOSA.c: CONSTificcation, sprintf fixes, UH 3.4.x changes;
+ fix for missing autoname token from TclOSACompileCmd. (bdesgraupes)
+ * mac/AppleScript.html(AppleScript delete): doc fix. (bdesgraupes)
- * win/configure:
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Use STLIB_LD in MAKE_LIB instead
- of AR which can be overridden on the make command line.
+ * mac/tcltkMacBuildSupport.sea.hqx: updated MoreFiles to 1.5.3,
+ updated build instructions for 8.4.
+ * mac/tclMacProjects.sea.hqx: rebuilt archive.
-2001-07-09 Mo DeJong <mdejong@redhat.com>
+2002-10-09 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * win/configure:
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Fix quoting of CYGPATH
- argument to AC_CHECK_PROG.
+ * doc/Alloc.3: Added a note to mention that attempting to allocate
+ a zero-length block can return NULL. [Tk bug 619544]
-2001-07-09 Mo DeJong <mdejong@redhat.com>
+2002-10-04 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * unix/Makefile.in: Add EXTRA_CFLAGS_DEBUG and EXTRA_CFLAGS_OPTIMIZE
- variables. These two do not actually differ in the unix version
- but are there to keep in sync with the Windows version.
- * unix/configure: Regen.
- * unix/configure.in: Don't subst EXTRA_CFLAGS. Subst EXTRA_CFLAGS_DEFAULT,
- EXTRA_CFLAGS_DEBUG, and EXTRA_CFLAGS_OPTIMIZE.
- * unix/tcl.m4 (SC_ENABLE_SYMBOLS, SC_CONFIG_CFLAGS): Define
- EXTRA_CFLAGS_DEFAULT based on the --enable-smbols option.
- Set EXTRA_CFLAGS_DEBUG instead of EXTRA_CFLAGS and then set
- EXTRA_CFLAGS_OPTIMIZE to the value of EXTRA_CFLAGS_DEBUG since
- they are the same under Unix.
- * win/Makefile.in: Add EXTRA_CFLAGS_DEBUG and EXTRA_CFLAGS_OPTIMIZE
- variables. This is needed so that the proper runtime lib gets linked
- into VC++ produced .obj files when CFLAGS is reset on the command line.
- * win/configure: Regen.
- * win/configure.in: Don't subst EXTRA_CFLAGS. Subst EXTRA_CFLAGS_DEFAULT,
- EXTRA_CFLAGS_DEBUG, and EXTRA_CFLAGS_OPTIMIZE.
- * win/tcl.m4 :(SC_ENABLE_SYMBOLS, SC_CONFIG_CFLAGS): Define
- EXTRA_CFLAGS_DEFAULT based on the --enable-smbols option. Set
- EXTRA_CFLAGS_DEBUG and EXTRA_CFLAGS_OPTIMIZE based on the runtime
- option when compiled with VC++.
+ * doc/binary.n: Doc improvements [Patch 616480]
-2001-07-06 Mo DeJong <mdejong@redhat.com>
+ * tests/fCmd.test, tests/winFCmd.test:
+ * tools/eolFix.tcl, tools/genStubs.tcl: [file exist] -> [file exists]
+ Thanks to David Welton.
- * win/configure: Regen.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Pass -e _WinMain@16 in
- addition to the -mwindows flag to work around a problem
- with ld when it incorrectly uses main() as the executable
- entry point when both WinMain() and main() are available.
+2002-10-03 Don Porter <dgp@users.sourceforge.net>
-2001-07-06 Mo DeJong <mdejong@redhat.com>
+ * doc/tcltest.n: fixed typo [Bug 618018]. Thanks to "JJM".
- * unix/configure: Regen.
- * unix/configure.in: Replace call to SC_ENABLE_GCC with
- AC_PROG_CC so that CC passed in from the caller is respected.
- * unix/tcl.m4: Remove the unused SC_ENABLE_GCC macro.
- * win/configure: Regen.
- * win/configure.in: Replace call to SC_ENABLE_GCC with
- AC_PROG_CC so that CC passed in from the caller is respected.
- * win/tcl.m4: Remove unused SC_ENABLE_GCC macro.
+2002-10-03 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-2001-07-06 Mo DeJong <mdejong@redhat.com>
+ * tools/man2help2.tcl:
+ * tests/http.test, tests/httpd, tests/httpold.test:
+ * tests/env.test, tests/binary.test, tests/autoMkindex.test:
+ * library/init.tcl, library/http/http.tcl: [info exist] should
+ really be [info exists]. [Bug 602566]
- * win/Makefile.in: Subst DEPARG directly instead
- of relying on a variable. This will make Cygwin
- builds faster since an extra exec will be avoided.
- * win/configure: Regen.
- * win/configure.in: Subst DEPARG.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Set DEPARG based
- on CYGPATH.
+ * doc/lsearch.n: Better specification of what happens when -sorted
+ is mixed with other options. [Bug 617816]
-2001-06-26 Mo DeJong <mdejong@redhat.com>
+2002-10-01 Jeff Hobbs <jeffh@ActiveState.com>
- * cygtcl.m4 (TCL_TOOL_PATH): Use CYGPATH variable instead of
- invoking cygpath directly. Handle cross compile by not
- using CYGPATH when set to echo.
- * unix/configure: Regen.
- * win/Makefile.in: Remove PATHTYPE variable.
- * win/configure: regen.
- * win/configure.in: Remove PATHTYPE subst + extra CYGPATH subst.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE variable. Search
- for cygpath in the PATH and set CYGPATH="cygpath -w" if found.
- Remove old cross compiling hack.
+ * generic/tclProc.c (TclCreateProc): mask out VAR_UNDEFINED for
+ precompiled locals to support 8.3 precompiled code.
+ (Tcl_ProcObjCmd): correct 2002-09-26 fix to look for tclProcBodyType.
-2001-06-26 Mo DeJong <mdejong@redhat.com>
+2002-10-01 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * win/Makefile.in: Don't use VPSEP in the VPATH,
- just use : as the spearator.
- * win/configure: Regen.
- * win/configure.in: Don't subst VPSEP.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove VPSEP.
+ * doc/socket.n: Mentioned that ports may be specified as serivce
+ names as well as integers. [Bug 616843]
-2001-06-25 Mo DeJong <mdejong@redhat.com>
+2002-09-30 Jeff Hobbs <jeffh@ActiveState.com>
- * win/configure: Regen.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): When building with
- gcc, don't attempt to link with LD or support dllwrap.
- Simply require a recent version of Cygwin gcc or Mingw
- gcc that supports -shared. When linking, use gcc instead
- of ld since gcc automatically includes libs like -lmsvcrt.
-
-2001-06-22 Mo DeJong <mdejong@redhat.com>
-
- * unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
- Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG
- and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works.
- This will support user set CFLAGS or LDFLAGS at configure time.
- * unix/configure: Regen.
- * unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
- subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEFAULT,
- LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
- * unix/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that
- it uses a Makefile variable just like CFLAGS_DEFAULT.
- * win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
- Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@.
- This will support user set CFLAGS or LDFLAGS at configure time.
- * win/configure: Regen.
- * win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
- CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
- * win/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that
- it uses a Makefile variable just like CFLAGS_DEFAULT.
+ * generic/tclCompCmds.c (TclCompileRegexpCmd): correct the
+ checking for bad re's that didn't terminate the re string.
+ Resultant compiles were correct, but much slower than necessary.
-2001-06-22 Mo DeJong <mdejong@redhat.com>
+2002-09-29 David Gravereaux <davygrvy@pobox.com>
- * configure: Regen.
- * configure.in: When a windows32 host is detected
- configure in the win subdirectory.
- * cygtcl.m4 (TCL_TOOL_PATH, TCL_TOOL_LIB_LONGNAME,
- TCL_TOOL_LIB_SHORTNAME, TCL_TOOL_LIB_SPEC):
- Add support for mingw32 and windows32 hosts. Remove
- check for cygwin since we are really cross compiling
- when building win32 executables.
- * unix/configure: Regen.
- * win/configure: Regen.
+ * win/tclAppInit.c: Added proper exiting conditions using Win32
+ console signals. This handles the existing lack of a Ctrl+C exit
+ to call exit handlers when built for thread support. Also, properly
+ handles exits from other conditions such as CTRL_CLOSE_EVENT,
+ CTRL_LOGOFF_EVENT, and CTRL_SHUTDOWN_EVENT signals. In all cases,
+ exit handlers will be called. [Bug 219355]
-2001-06-22 Mo DeJong <mdejong@redhat.com>
+ * win/makefile.vc: Added missing tclThreadAlloc.c to the build
+ rules and defines USE_THREAD_ALLOC when TCL_THREADS is defined
+ to get the new behavior by default.
- * win/configure:
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't set LDFLAGS_DEBUG
- to -g or LDFLAGS_OPTIMIZE to -O when compiling with gcc.
- These flags are not needed and can cause problems with
- the Cygwin version of ld.
+2002-09-27 Don Porter <dgp@users.sourceforge.net>
-2001-06-20 Mo DeJong <mdejong@redhat.com>
+ * README: Bumped to version 8.4.1 to avoid confusion
+ * generic/tcl.h: of CVS snapshots with the actual 8.4.0
+ * tools/tcl.wse.in: release.
+ * unix/configure.in:
+ * unix/tcl.spec:
+ * win/configure.in:
- * generic/tcl.h: Define __WIN32__ when __MINGW32__
- is defined to support building under Cygwin gcc
- with the -mno-cygwin flag.
+ * unix/configure: autoconf
+ * win/configure:
-2001-06-14 Mo DeJong <mdejong@redhat.com>
+2002-09-26 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/Makefile.in: Avoid burning install TCL_LIBRARY into
- tclUnixInit.o at compile time.
- * unix/tclUnixInit.c (TclpInitLibraryPath): Fix location
- independence by searching for Tcl library in share/tclX.X
- instead of lib/tclX.X. This logic is no longer effected by a
- burned in TCL_LIBRARY.
- * win/tclWinInit.c (TclpInitLibraryPath): Search for Tcl library
- in share/tclX.X instead of lib/tclX.X. Remove a couple of
- Cygnus local hacks since they were not doing anything useful.
+ * unix/configure: regen.
+ * unix/tcl.m4: improve AIX-4/5 64bit compilation support.
-2001-06-08 Mo DeJong <mdejong@redhat.com>
+ * generic/tclProc.c (Tcl_ProcObjCmd): correct overeager
+ optimization of noop proc to handle the precompiled case. (sofer)
- * win/Makefile.in: Set TCL_LIBRARY to
- $INSTALL/share/tcl8.3 instead of
- $INSTALL/lib/tcl8.3.
+ * unix/ldAix (nmopts): add -X32_64 to make it work for 32 or 64bit
+ mode compilation.
-2001-06-08 Mo DeJong <mdejong@redhat.com>
+ * library/encoding/koi8-u.enc: removed extraneous spaces that
+ confused encoding reader. [Bug #615115]
- * win/tclConfig.sh.in: Correct the definition
- of TCL_LIB_FULL_PATH. It was inclosed in `
- characters instead of ' characters.
+ * unix/Makefile.in: generate source dists with -src designator and
+ do not generate .Z anymore (just .gz and .zip).
-2001-06-05 Mo DeJong <mdejong@redhat.com>
+2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>
- * unix/configure: Regen.
- * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add a TCL_LIB_SUFFIX variable
- to make the TCL_TOOL_LIB_SHORTNAME macro happy.
- * unix/tclConfig.sh.in: Add TCL_LIB_SUFFIX variable.
+ Added basic Cygwin support.
-2001-06-05 Mo DeJong <mdejong@redhat.com>
+ * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
+ (SC_PATH_TKCONFIG): Likewise.
+ (SC_PROG_TCLSH): Likewise.
+ (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
+ flags. Add -mwin32 to extra_cflags and extra_ldflags.
+ Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW.
+ * win/configure.in: Allow Cygwin build.
+ (SEH test): Define to be 1 instead of empty value.
+ (EXCEPTION_DISPOSITION): Add test.
+ * win/configure: Regenerate.
- * cygtcl.m4 (TCL_TOOL_LIB_PATH): Call TCL_TOOL_PATH so that a
- Windows native path is generated for PATH variables.
- * unix/configure: Regen.
- * win/configure: Regen.
+ * generic/tcl.h: Don't explicitly define __WIN32__ for Cygwin, let
+ the user decide whether to use Windows or POSIX personality.
+ (TCL_WIDE_INT_TYPE, TCL_LL_MODIFIER, struct Tcl_StatBuf): Define
+ for Cygwin.
+ * generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for
+ Cygwin.
+ * generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX
+ to native format.
+ (TclDoGlob): Likewise.
+ * generic/tclPlatDecls.h (TCHAR): Define for Cygwin.
+ * win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree,
+ TclpSysRealloc): Define for Cygwin.
-2001-06-01 Mo DeJong <mdejong@redhat.com>
+2002-09-26 Daniel Steffen <das@users.sourceforge.net>
- * cygtcl.m4 (TCL_TOOL_PATH, TCL_TOOL_LIB_SHORTNAME): Check that argument to
- TCL_TOOL_PATH is not "". Use new TCL_LIB_SUFFIX variable in the
- TCL_TOOL_LIB_SHORTNAME macro under Windows.
- * unix/configure: Regen.
- * win/configure: Regen.
- * win/configure.in: Don't subst SHLIB_SUFFIX.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Set TCL_LIB_SUFFIX so that Tcl
- sees the same variable name that an extension will.
- * win/tclConfig.sh.in: Set the TCL_SHLIB_SUFFIX and TCL_LIB_SUFFIX vars.
+ * macosx/Makefile: preserve environment value of INSTALL_ROOT.
+ When embedding only use deployment build. Force relink before
+ embedded build to ensure new linker flags are picked up.
-2001-05-30 Mo DeJong <mdejong@redhat.com>
+ * macosx/Tcl.pbproj/project.pbxproj: add symbolic links to
+ debug lib, stub libs and tclConfig.sh in framework toplevel.
+ Configure target dependency fix. Fix to 'clean' action. Added
+ private tcl headers to framework. Install tclsh symbolic link.
+ Html doc build works when no installed tclsh available. Made
+ html doc structure in framework more like in Apple frameworks.
- * unix/configure: Regen.
- * unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):
- Check in win subdirectory in addition to unix subdirectory for
- tclConfig.sh and tkConfig.sh files.
+2002-09-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-2001-05-30 Mo DeJong <mdejong@redhat.com>
+ * unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Yet more robust 64-bit value
+ detection to close [Bug 613117] on more systems.
- * cygtcl.m4: Add FIXME note.
- * unix/configure: Regen.
- * unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):
- Generate an error instead of a warning if the Tcl, or Tk
- configuration files cannot be found.
+ * generic/tclCompile.c (TclPrintSource): More CONSTifying.
+ * generic/tclExecute.c (EvalStatsCmd): Object-ify to reduce
+ warnings. Thanks to 'CoderX2' on the chat for bringing this to my
+ attention...
-2001-05-26 Mo DeJong <mdejong@redhat.com>
+ * unix/tcl.m4: Forgot to define TCL_WIDE_INT_IS_LONG at the
+ appropriate moment. I believe this is the cause of [Bug 613117]
- * cygtcl.m4 (TCL_TOOL_PATH, TCL_TOOL_LIB_LONGNAME,
- TCL_TOOL_LIB_SHORTNAME, TCL_TOOL_LIB_SPEC): Create cross
- platform versions of the TCL_TOOL* macros.
- * unix/aclocal.m4: Include ../cygtcl.m4.
- * unix/configure: Regen.
- * unix/tcl.m4 (TCL_TOOL_PATH, TCL_TOOL_LIB_LONGNAME,
- TCL_TOOL_LIB_SHORTNAME, TCL_TOOL_LIB_SPEC): Remove macros.
- * win/aclocal.m4: Include ../cygtcl.m4.
- * win/configure: Regen.
- * win/tcl.m4 (TCL_TOOL_PATH, TCL_TOOL_LIB_LONGNAME,
- TCL_TOOL_LIB_SHORTNAME, TCL_TOOL_LIB_SPEC): Remove macros.
-
-2001-05-24 Mo DeJong <mdejong@redhat.com>
+ * doc/lset.n: Changed 'list' to 'varName' for consistency with
+ lappend documentation. Thanks to Glenn Jackman [Bug 611719]
- * unix/configure: Regen.
- * unix/configure.in: Add missing TCL_LIB_FULL_PATH
- variable.
+2002-09-22 Don Porter <dgp@users.sourceforge.net>
-2001-05-11 Mo DeJong <mdejong@redhat.com>
+ * library/tcltest/tcltest.tcl: Corrected [puts -nonewline] within
+ test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788]
+ Also corrected reporting of body return code. Thanks to David
+ Taback [Bug 611922]
+ * library/tcltest/pkgIndex.tcl: Bump to version 2.2.1.
+ * tests/tcltest.test: added tests for these bugs.
- * unix/configure:
- * unix/tcl.m4 (SC_ENABLE_SYMBOLS):
- * win/configure:
- * win/tcl.m4 (SC_ENABLE_SYMBOLS): Back port of CFLAGS_DEFAULT fix
- from Tcl 8.4. A Makefile variable name is now used for the CFLAGS.
+2002-09-15 Mo DeJong <mdejong@users.sourceforge.net>
-2001-05-09 Mo DeJong <mdejong@redhat.com>
+ * unix/configure: Regen.
+ * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add PEEK_XCLOSEIM
+ define under Linux. This is used by Tk to double
+ check that an X input context is cleaned up
+ before it is closed.
- * win/tcl.m4 (TCL_TOOL_PATH): Assign literal macro
- value to a tmp variable before running cygpath
- thus avoiding a problem with a quoted argument.
+2002-09-12 David Gravereaux <davygrvy@pobox.com>
-2001-05-09 Mo DeJong <mdejong@redhat.com>
+ * win/coffbase.txt: Added BLT to the virtual base address
+ listings table should BLT's build tools decide to use it.
- * unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of
- STUB_LIB_FILE subst when defining STUB_LIB_FILE.
- * unix/configure: Regen.
- * unix/configure.in: Use new path macros.
- * unix/tcl.m4 (TCL_TOOL_LIB_LONGNAME, TCL_TOOL_LIB_SHORTNAME,
- TCL_TOOL_LIB_SPEC, TCL_TOOL_LIB_PATH): Add macros
- to deal with library path translations.
- * win/Makefile.in: Add FIXME note.
- * win/configure: Regen.
- * win/configure.in: Use new path macros.
- * win/tcl.m4 (TCL_TOOL_LIB_LONGNAME, TCL_TOOL_LIB_SHORTNAME,
- TCL_TOOL_LIB_SPEC, TCL_TOOL_LIB_PATH): Add macros
- to deal with library path translations.
+2002-09-12 Daniel Steffen <das@users.sourceforge.net>
-2001-04-09 Mo DeJong <mdejong@redhat.com>
+ * generic/tcl.h:
+ * mac/tclMacApplication.r:
+ * mac/tclMacLibrary.r:
+ * mac/tclMacResource.r: unified use of the two equivalent
+ resource compiler header inclusion defines RC_INVOKED and
+ RESOURCE_INCLUDED, now use RC_INVOKED throughout.
- * unix/configure: Regen.
- * unix/tcl.m4: Add placeholder TCL_TOOL_PATH macro.
- * win/configure: Regen.
- * win/configure.in: Set TCL_LIB_FLAG, TCL_BUILD_LIB_SPEC,
- TCL_LIB_SPEC, TCL_LIB_FULL_PATH and subst them.
- * win/tcl.m4: Add TCL_TOOL_PATH macro, it will call
- cygpath -w and replace \ with / to create a native
- Windows path that VC++ will understand.
- * win/tclConfig.sh.in: Add TCL_LIB_FULL_PATH variable.
-
-2001-04-06 Christopher Faylor <cgf@redhat.com>
-
- Throughout change __CYGWIN32__ to __CYGWIN__.
- * cygwin/configure.in: When targeting cygwin, detect if C compiler
- supports -mno-win32 flag and use it if so.
- * cygwin/Makefile.in (EXTRA_CFLAGS): New variable. Holds results of
- -mno-win32 test.
- (COMPILE): Add EXTRA_CFLAGS variable to options.
- * generic/tclEnv.c: Only compile special Cygwin code if building under
- Cygwin and want native windows understanding.
- * win/tclWin32Dll.c (DllMain): #ifdef out CYGWIN impure_ptr stuff.
- * win/Makefile.in: Add -D__USE_W32_SOCKETS to accomodate newer
- newlib/w32api conventions.
-
-2001-04-05 Mo DeJong <mdejong@redhat.com>
+2002-09-10 Mo DeJong <mdejong@users.sourceforge.net>
- * win/configure: Regen.
- * win/configure.in: Subst the TCL_LIB_VERSIONS_OK variable.
- * win/tcl.m4: Add Cygnus local search for tcl8.1/win directory. Add
- TCL_LIB_VERSIONS_OK variable, it will get substituted into the
- tclConfig.sh file. Remve the SC_PROG_TCLSH macro.
+ * unix/README: Add note about building extensions
+ with the same compiler Tcl was built with.
+ [Tk Bug 592096]
-2001-04-05 Mo DeJong <mdejong@redhat.com>
+2002-09-10 Daniel Steffen <das@users.sourceforge.net>
- * generic/tclAlloc.c:
- * win/tclWinPort.h:
- Check for #define of WIN32 instead of VC++ specific symbol.
+ * macosx/Tcl.pbproj/project.pbxproj: disabled building html
+ documentation during embedded build.
-2001-03-31 Mo DeJong <mdejong@redhat.com>
+2002-09-10 Daniel Steffen <das@users.sourceforge.net>
- * unix/Makefile.in: Remove second
- assignment to SCRIPT_INSTALL_DIR
- variable. This seems to have been
- a merge error. It was installing
- Tcl lib files in the lib directory
- instead of share/tcl8.3.
+ * unix/Makefile.in: added DYLIB_INSTALL_DIR variable for macosx
+ and set it to default value ${LIB_RUNTIME_DIR}
+ * unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
+ LIB_RUNTIME_DIR in the -install_name argument to ld.
+ * unix/configure: regen.
-2001-03-28 Ian Roxborough <irox@redhat.com>
+ * macosx/Tcl.pbproj/project.pbxproj:
+ * macosx/Makefile: added support for building Tcl as an embedded
+ framework, i.e. using an dyld install_name containing
+ @executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
+ unix/Makefile variable.
+
+2002-09-10 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/tclConfig.sh.in: Set TCL_CFLAGS to CFLAGS,
- otherwise tclConfig.sh won't work correctly.
+ *** 8.4.0 TAGGED FOR RELEASE ***
-2000-09-15 Syd Polk <spolk@redhat.com>
+2002-09-06 Don Porter <dgp@users.sourceforge.net>
- * Updated for the 8.3.2 release.
+ * doc/file.n: Format correction, and clarified [file normalize]
+ returns an absolute path.
-2000-08-08 Jeff Hobbs <hobbs@ajubasolutions.com>
+ * doc/tcltest.n: Added examples section, as long promised.
- 8.3.2 RELEASE finalized
+2002-09-06 Reinhard Max <max@suse.de>
- * changes: updated for release notes version of ChangeLog
+ * tests/tcltest.test: Added nonRoot flag to tests 8.3, 8.4, and 8.12.
- * library/msgcat1.0/pkgIndex.tcl:
- * library/msgcat1.0/msgcat.tcl: bumped msgcat version to 1.1.
+2002-09-05 Don Porter <dgp@users.sourceforge.net>
-2000-08-07 Jeff Hobbs <hobbs@ajubasolutions.com>
+ * doc/tcltest.n: Clarified phrasing.
- * doc/ChnlStack.3:
- * doc/CrtChannel.3: updated the docs to be aware of the
- TCL_CHANNEL_VERSION_2 style of Tcl channels.
+ * generic/tclBasic.c (TclRenameCommand,CallCommandTraces):
+ * tests/trace.test (trace-27.1): Corrected memory leak when a rename
+ trace deleted the command being traced. Test added. Thanks to
+ Hemang Lavana for the fix. [Bug 604609]
- * generic/tclIO.c (Tcl_CreateChannel): added assertion to verify
- that the new channel versioning will be binary compatible with
- older channel drivers.
+ * generic/tclVar.c (TclDeleteVars): Corrected logic for setting the
+ TCL_INTERP_DESTROYED flag when calling variable traces. [Tk Bug 605121]
- * BACKPORTED FROM 8.4 (HEAD) BRANCH:
+2002-09-04 Miguel Sofer <msofer@users.sourceforge.net>
- * doc/memory.n: Man page for Tcl "memory" command, which is
- created when TCL_MEM_DEBUG is defined at compile time.
+ * generic/tclVar.c (DeleteArray): leak plug [Bug 604239]. Thanks
+ to dkf and dgp for the long and difficult discussion in the chat.
- * doc/TCL_MEM_DEBUG.3: Man page with overall information about
- TCL_MEM_DEBUG usage.
+2002-09-03 Jeff Hobbs <jeffh@ActiveState.com>
- * doc/DumpActiveMemory.3: Man page for Tcl_DumpActiveMemory,
- Tcl_InitMemory, and Tcl_ValidateAllMemory [Bug: 1816, 1835].
+ * generic/tclVar.c (Tcl_UpVar2): code cleanup to not use goto
- * doc/Init.3: Man page for Tcl_Init [Bug: 1820].
+ * unix/configure: remove -pthread from LIBS on FreeBSD in thread
+ * unix/tcl.m4: enabled build. [Bug #602849]
- * unix/Makefile.in: add tclsh.ico and tcl.spec to dist target
+2002-09-03 Miguel Sofer <msofer@users.sourceforge.net>
- * unix/mkLinks: Regen'd with new mkLinks.tcl.
- * unix/mkLinks.tcl: Fixed indentation, made link setup more
- intelligent (only do one existance test per man page, instead of
- one per function).
+ * generic/tclInterp.c (AliasCreate): a Tcl_Obj was leaked on error
+ return from TclPreventAliasLoop.
+
+2002-09-03 Daniel Steffen <das@users.sourceforge.net>
- * doc/AddErrInfo.3:
- * doc/ChnlStack.3:
- * doc/Exit.3:
- * doc/GetIndex.3:
- * doc/Notifier.3:
- * doc/Object.3:
- * doc/RegExp.3:
- * doc/SetResult.3:
- * doc/SplitList.3:
- * doc/Thread.3: Added missing entries to NAME section.
+ * macosx/Tcl.pbproj/project.pbxproj: Bumped version number to
+ 8.4.0 and updated copyright info.
- * doc/AddErrInfo.3:
- * doc/CrtObjCmd.3:
- * doc/RecEvalObj.3: Changed Tcl_EvalObj to Tcl_EvalObjEx
+2002-09-03 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclVar.c (Tcl_UpVar2): a Tcl_Obj was being leaked on
+ error return from TclGetFrame.
- * doc/library.n: Added entries for auto_qualify and auto_import
- [Bug: 1271].
- * doc/library.n: Fixed .SH NAME macro to include each function
- documented on the page, so that mkLinks will know about the
- functions listed there, and so that the Windows help file index
- will get set up correctly [Bug: 1898, 5273].
+2002-09-03 Don Porter <dgp@users.sourceforge.net>
- * doc/expr.n: Added documentation for each of the math library
- functions that expr supports [Bug: 1054].
+ * changes: Updated changes for 8.4.0 release.
- * doc/regsub.n: correct regsub docs [Bug: 5346]
+2002-09-02 Jeff Hobbs <jeffh@ActiveState.com>
- * doc/scan.n: minor doc fixes [Bug: 5396]
+ * unix/tclUnixFile.c (TclpObjLink): removed unnecessary/unfreed
+ extra native char*.
- * doc/RegExp.3: Replaced instances of "Tcl_GetRegExpInfo" with
- "Tcl_RegExpGetInfo", the correct name of the function [Bug: 5901].
+ * unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): make sure to init
+ flags field of TcpState ptr to 0.
- * doc/package.n: Corrected information about [package forget]
- arguments [Bug: 5418].
+ * unix/configure:
+ * unix/tcl.m4: added 64-bit gcc compilation support on HP-11.
+ [Patch #601051] (martin)
- * generic/tclCkalloc.c: Fixed some function headers.
+ * README: Bumped version number to 8.4.0
+ * generic/tcl.h:
+ * tools/tcl.wse.in:
+ * unix/configure:
+ * unix/configure.in:
+ * unix/tcl.spec:
+ * win/README.binary:
+ * win/configure:
+ * win/configure.in:
- * tests/clock.test: Added test for "2 days 2 hours ago" style
- specifications.
+ * generic/tclInterp.c (SlaveCreate): make sure that the memory and
+ checkmem commands are initialized in non-safe slave interpreters
+ when TCL_MEM_DEBUG is used. [Bug #583445]
- * generic/tclDate.c: Regenerated from tclGetDate.y.
+ * win/tclWinConsole.c (ConsoleCloseProc): only wait on writable
+ pipe if there was something to write. This may prevent infinite
+ wait on exit.
- * generic/tclGetDate.y: Tweaked grammar to properly handle the
- "ago" keyword when it follows multiple relative unit specifiers,
- as in "2 days 2 hours ago". [Bug: 5497].
+ * tests/exec.test: marked exec-18.1 unixOnly until the Windows
+ incompatability (in the test, not the core) can be resolved.
- * generic/tclClock.c (FormatClock): correct code to handle locale
- specific return values from strftime, if any. [Bug: 3345]
+ * tests/http.test (http-3.11): added close $fp that was causing an
+ error on Windows because the file was not closed before deleting.
- * unix/tclUnixInit.c (TclpSetInitialEncodings): attempt to
- correct setlocale calls for XIM support and locale issues.
- [BUG: 5422 3345 4236 2522 2521]
+ * unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): made this static
+ function only appear when HAVE_CFBUNDLE is defined.
- * library/init.tcl (auto_import): added check to see if a valid
- pattern was coming in, to avoid simple error cases [Bug: 3326]
+2002-08-31 Daniel Steffen <das@users.sourceforge.net>
- * library/history.tcl: Corrected an off-by-one error in HistIndex,
- which was causing [history redo] to start its search at the wrong
- event index. [Bug: 1269].
+ * unix/tcl.m4: added TK_SHLIB_LD_EXTRAS analogue of existing
+ TCL_SHLIB_LD_EXTRAS for linker settings only used when linking Tk.
- * generic/tclPosixStr.c (Tcl_SignalMsg): clarified #defines for
- Linux on Sparc to compile correctly. [Bug: 5364]
+ * unix/configure: regen
- * generic/tclEnv.c: cast cleanup [Bug: 5624]
- * win/tclWinFCmd.c: cast cleanup [Bug: 5627]
+2002-08-31 Daniel Steffen <das@users.sourceforge.net>
- * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Corrected
- caching of the index ptr to account for offsets != sizeof(char *).
- [Bug: 5153]
+ *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***
- * tests/opt.test:
- * library/opt0.4/optparse.tcl: Applied patch from [Bug: 5922], which
- corrected an incorrect use of [string match].
+ * generic/tcl.decls: added new macosx specific entry to stubs table.
- * tests/stringObj.test: Tweaked tests to avoid hardcoded
- high-ASCII characters (which will fail in multibyte locales);
- instead used \uXXXX syntax. [Bug: 3842].
+ * tools/genStubs.tcl: added generation of platform guards for
+ macosx. This is a little more complex than it seems, because MacOS
+ X IS "unix" plus a little bit, for the purposes of Tcl. BUT
+ unfortunately, Tk uses "unix" to mean X11. So added platform keys
+ for macosx (the little added to "unix"), "aqua" and "x11" to
+ distinguish these for Tk.
+
+ * generic/tcl.h: added a #ifnded RESOURCE_INCLUDED so that tcl.h
+ can be passed to the resource compiler.
+
+ * generic/tcl.h:
+ * generic/tclNotify.c: added a few Notifier procs, to be able to
+ modify more bits of the Tcl notifier dynamically. Required to get
+ Mac OS X Tk to live on top of the Tcl Unix threaded notifier.
+ Changes the size of the Tcl_NotifierProcs structure, but doesn't
+ move any elements around.
-2000-08-05 Jeff Hobbs <hobbs@scriptics.com>
+ * unix/tclUnixNotfy.c: moved the call to Tcl_ConditionNotify till
+ AFTER we are done mucking with the pointer swap. Fixes cases where
+ the thread waiting on the condition wakes & accesses the
+ waitingListPtr before it gets reset, causing a hang.
- * generic/tclIOGT.c (TclChannelTransform): fixed segfault that
- would occur when transforming a channel with a proc that did not
- yet exist. (Kupries)
+ * library/auto.tcl (tcl_findLibrary): added checking the
+ directories in the tcl_pkgPath for library files on macosx to
+ enable support of the standard Mac OSX library locations
- * generic/tclTest.c (TestChannelCmd): added some lint init'ing of
- statePtr and chan vars.
+ * unix/Makefile.in:
+ * unix/configure.in:
+ * unix/tcl.m4: added MAC_OSX_DIR. Added PLAT_OBJS to the OBJS:
+ there are some MacOS X specific files now for Tcl, and when I get
+ he resource & applescript stuff ported over, and restore support
+ for FindFiles, etc, there will be a few more.
+ Added LD_LIBRARY_PATH_VAR configure variable to avoid having to set
+ all possible LD_LIBRARY_PATH analogues on all platforms.
+ LD_LIBRARY_PATH_VAR is "LD_LIBRARY_PATH" by default, "LIBPATH" on
+ AIX, "SHLIB_PATH" on HPUX and "DYLD_LIBRARY_PATH" on Mac OSX.
+ Added configure option to package Tcl as a framework on Mac OSX.
-2000-07-28 Mo DeJong <mdejong@redhat.com>
+ * macosx/tclMacOSXBundle.c (new): support for finding Tcl extension
+ packaged as 'bundles' in the standard Mac OSX library locations.
- * win/Makefile.in:
- * win/configure.in:
- * win/tcl.m4:
- * win/tclConfig.sh.in: Back port of gcc for windows
- build system from 8.4.
+ * unix/tclUnixInit.c: added support for findig the tcl script
+ library inside Tcl packaged as a framework on Mac OSX.
-2000-07-26 Jeff Hobbs <hobbs@scriptics.com>
+ * macosx/Tcl.pbproj/jingham.pbxuser (new):
+ * macosx/Tcl.pbproj/project.pbxproj (new): project for Apple's
+ ProjectBuilder IDE.
- * merged core-8-3-1-io-rewrite back into core-8-3-1-branch.
- The core-8-3-1-io-rewrite branch should now be considered defunct.
+ * macosx/Makefile (new): simple makefile for building the project
+ from the command line via the ProjectBuilder tool 'pbxbuild'.
+ * unix/configure:
* generic/tclStubInit.c:
- * generic/tclDecls.h:
- * generic/tcl.decls:
- * generic/tcl.h:
- * generic/tclIO.c: moved the Tcl_Channel* macros from tcl.h to
- tclIO.c and made them proper stubbed functions. These are:
- Tcl_ChannelName, Tcl_ChannelVersion, Tcl_ChannelBlockModeProc,
- Tcl_ChannelCloseProc, Tcl_ChannelClose2Proc, Tcl_ChannelInputProc,
- Tcl_ChannelOutputProc, Tcl_ChannelSeekProc, Tcl_ChannelSetOptionProc,
- Tcl_ChannelGetOptionProc, Tcl_ChannelWatchProc,
- Tcl_ChannelGetHandleProc, Tcl_ChannelFlushProc,
- and Tcl_ChannelHandlerProc. These should be used to access the
- Tcl_ChannelType structure instead of direct pointer dereferencing.
+ * generic/tclPlatDecls.h: regen
- * unix/Makefile.in: undid 07-25 Makefile.in changes because we
- don't really want to force all private makefiles on everyone.
- This needs to be addressed again in the future. Best possible
- solution is to create a tcl/ subdir in the installing include dir
- (as is done already with the lib dir).
+2002-08-29 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * tests/iogt.test: added RCS string, marked tests 2.* to be
- unixOnly due to underlying system differences.
+ * win/tclWinThrd.c (TclpFinalizeThreadData, TclWinFreeAllocCache):
+ Applied patch for bug #599428, provided by Miguel Sofer
+ <msofer@users.sourceforge.net>.
- * tests/all.tcl: corrected additional sets by Kupries for testing.
+2002-08-28 David Gravereaux <davygrvy@pobox.com>
-2000-07-26 Syd Polk <spolk@redhat.com>
+ * generic/tclEnv.c:
+ * unix/configure.in:
+ * win/tclWinPort.h: putenv() on some systems copies the buffer
+ rather than taking reference to it. This causes memory leaks
+ and is know to effect mswindows (msvcrt) and NetBSD 1.5.2 . This
+ patch tests for this behavior and turns on -DHAVE_PUTENV_THAT_COPIES=1
+ when approriate. Thanks to David Welton for assistance.
+ [Bug 414910]
- * win/tcl.m4: Building libraries is significantly different on Cygwin
- now; rewhacked.
- * win/configure.in: Ditto.
- * win/Makefile.in: Ditto.
- * win/configure: Regenerated.
- * win/tclWinPort.h: tchar.h and direct.h are not defined on Cygwin,
- nor or they needed.
+ * unix/configure: regen'd
+2002-08-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-2000-07-25 Brent Welch <welch@ajubasolutions.com>
+ * doc/eval.n: Added mention of list command and corrected "SEE ALSO".
- * unix/Makefile.in: Need to install all the Tcl headers because
- Itcl depends on internal headers.
+ * unix/configure.in: Cache handling of ac_cv_type_socklen_t was
+ wrong. [Bug 600931] reported by John Ellson. Fixed by putting the
+ brackets where they belong.
-2000-07-25 Andreas Kupries <a.kupries@westend.com>
+2002-08-26 Miguel Sofer <msofer@users.sourceforge.net>
- * tests/iogt.test: (line 866f) New tests iogt-6.[01], highlighting
- buffering trouble when stacking and unstacking transformations.
- iogt-6.0 is solved, see the changes below. iogt-6.1 remains, for
- now, due to the perceived complexity of solutions.
+ * generic/tclCompCmds.c: fix for [Bug 599788] (error in element
+ name causing segfault), reported by Tom Wilkason. Fixed by copying
+ the tokens instead of the source string.
- * generic/tclIO.h: (line 139f) struct Channel, added a buffer
- queue, to hold data pushed back when stacking a transformation.
+2002-08-26 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclIO.c:
- (line 91f, line 7434f) New internal function 'CopyBuffer'.
- Derived from 'CopyAndTranslateBuffer', with translation
- removed.
- (line 1025f, line 1212f): Initialization of new queue.
- (line 1164f, Tcl_StackChannel): Pushback of input queue.
- (line 1293f, Tcl_UnstackChannel): Discard input and pushback.
- (line 3748f, Tcl_ReadRaw): Modified to use data in the push back
- area before going to the driver. Uses 'CopyBuffer', s.a.
- (line 4702f, GetInput): Modified to use data in the push back
- area before going to the driver.
- (line 4867f, Tcl_Seek): Modified to take pushback of the topmost
- channel in a stack into account.
- (line 5620f, Tcl_InputBuffered): See above. Added
- 'Tcl_ChannelBuffered'. Analogue to 'Tcl_InputBuffered' but for
- the buffer area in the channel.
+ * generic/tclThreadAlloc.c: small optimisation, reducing the
+ new allocator's overhead.
+
+2002-08-23 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tcl.decls: New public API 'Tcl_ChannelBuffered'. S.a.
+ * generic/tclObj.c (USE_THREAD_ALLOC): fixed leak [Bug 597936].
+ Thanks to Zoran Vasiljevic.
-2000-07-19 Jeff Hobbs <hobbs@scriptics.com>
+2002-08-23 Miguel Sofer <msofer@users.sourceforge.net>
- * tests/socket.test: removed doTestsWithRemoteServer constraint
- from socket-12.*. It requires 'exec', not a remote server.
- Cleaned up some coding errors.
+ * generic/tclThreadAlloc.c (USE_THREAD_ALLOC): moving objects
+ between caches as a block, instead of one-by-one.
-2000-07-18 Brent Welch <welch@ajubasolutions.com>
+2002-08-22 Miguel Sofer <msofer@users.sourceforge.net>
- * win/Makefile.in: Added rules for static tcldde and tclreg libraries.
+ * generic/tclBasic.c:
+ * generic/tclCmdMZ.c: fix for freed memory r/w in delete traces
+ [Bug 589863], patch by Hemang Lavana.
-2000-07-17 Jeff Hobbs <hobbs@scriptics.com>
+2002-08-20 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * README:
- * win/README:
- * win/README.binary:
+ * win/Makefile.in (CFLAGS):
+ * unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@.
* win/configure.in:
+ * unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG.
+ * win/tcl.m4:
+ * unix/tcl.m4: Added macro SC_ENABLE_MEMDEBUG. Allows a user of
+ configure to (de)activate memory validation and debugging
+ (TCL_MEM_DEBUG). No need to modify the makefile anymore.
+
+2002-08-20 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclCkalloc.c: CONSTified MemoryCmd and CheckmemCmd.
+
+ * README: Bumped version number to 8.4b3 to distinguish
+ * generic/tcl.h: HEAD from the 8.4b2 release.
+ * tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
- * tools/tcl.wse.in:
- * generic/tcl.h (TCL_RELEASE_SERIAL): updated to patchlevel 8.3.2
+ * win/README.binary:
+ * win/configure.in:
- * unix/Makefile.in:
- * win/Makefile.in:
- * win/makefile.vc: added tclIOGT.c to objects list to compile.
+ * unix/configure: autoconf
+ * win/configure:
- * generic/tclStubInit.c:
- * generic/tclIntDecls.h:
- * generic/tclInt.decls: commented out internal decls for
- TclTestChannelCmd and TclTestChannelEventCmd as they were moved to
- tclTest.c. Added new decls for TclChannelEventScriptInvoker and
- TclChannelTransform.
-
- * generic/tclIO.h: new file that contains the main internal
- structures of Tcl_Channel code to allow for multiple files to
- access them.
- * generic/tclTest.c:
- * generic/tclIO.c: broke into 3 files - tclIO.c core code, tclIO.h
- header code, and tclIOGT.c - the giot test code from Kupries. The
- channel test code also moved to tclTest.c.
- * generic/tclIO.c (CloseChannel): stopped masking out of the
- TCL_READABLE|TCL_WRITABLE bits from the state flags in
- CloseChannel, instead adding extra intelligence to
- CheckChannelErrors with a new CHANNEL_RAW_MODE bit for special
- behavior when called from Raw channel APIs.
+ * library/http/http.tcl: Corrected installation directory of
+ * library/msgcat/msgcat.tcl: the package tcltest 2.2. Added
+ * library/opt/optparse.tcl: comments in other packages to remind
+ * library/tcltest/tcltest.tcl: that installation directories need
+ * unix/Makefile.in: updates to match increasing version
+ * win/Makefile.in: numbers. [Bug 597450]
+ * win/makefile.bc:
+ * win/makefile.vc:
-2000-07-13 Jeff Hobbs <hobbs@scriptics.com>
+2002-08-19 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * generic/tclIO.c (StackSetBlockMode): moved set of chanPtr
- outside of blockModeProc check to avoid infinite loop when
- blockModeProc was NULL (Kupries). updated TransformSeekProc to
- not call Tcl_Seek directly (Kupries).
+ * unix/tclUnixTest.c (TestfilehandlerCmd): Changed
+ readable/writable to the more common readable|writable.
- * win/tclWinChan.c: updated fileChannelType to v2 channel struct
- * win/tclWinConsole.c: updated consoleChannelType to v2 channel struct
- * win/tclWinPipe.c: updated pipeChannelType to v2 channel struct
- * win/tclWinSerial.c: updated serialChannelType to v2 channel struct
- * win/tclWinSock.c: updated tcpChannelType to v2 channel struct
+ Fixes SF #596034 reported by Larry Virden
+ <lvirden@users.sourceforge.net>.
-2000-07-11 Brent Welch <welch@ajubasolutions.com>
+2002-08-16 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * win/tclConfig.sh.in: Cleaned up unix-specific autoconf variables.
+ * tests/fCmd.test: Added test to make sure that the cause of the
+ problem is detectable with an unpatched Tcl.
+ * doc/ObjectType.3: Added note on the root cause of this problem
+ to the documentation, since it is possible for user code to
+ trigger this sort of behaviour too.
+ * generic/tclIOUtil.c (SetFsPathFromAny): Objects should only have
+ their old representation deleted when we know that we are about to
+ install a new one. This stops a weird TclX bug under Linux with
+ certain kinds of memory debugging enabled which essentally came
+ down to a double-free of a string.
-2000-07-11 Jeff Hobbs <hobbs@scriptics.com>
+2002-08-14 Miguel Sofer <msofer@users.sourceforge.net>
- * tests/iogt.test: made tests [345].0 not run by default as they
- were failing in the new design, but I'm not convinced that the
- returned result isn't correct.
+ * generic/tclInt.h:
+ * generic/tclObj.c: (code cleanup) factored the parts in the macros
+ TclNewObj() / TclDecrRefCount() into a common part for all
+ memory allocators and two new macros TclAllocObjStorage() /
+ TclFreeObjStorage() that are specific to each allocator and fully
+ describe the differences. Removed allocator-specific code from
+ tclObj.c by using the macros.
+
+2002-08-12 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclDecls.h:
- * generic/tclStubInit.c:
- * generic/tcl.decls: added Tcl_GetTopChannel C API that returns
- the current top channel of a channel stack. Tcl_GetChannel was
- changed earlier to return the bottommost channel of a stack
- because that is the one that is guaranteed to stay around the
- longest, and this was needed to compensate for certain
- operations that want to look at the state of the main channel.
- Most channel APIs already compensate for grabbing the top, so it
- shouldn't be needed often.
-
- * generic/tclIO.c (Tcl_StackChannel, Tcl_UnstackChannel): Added
- flushing of buffers (Kupries), removed use of DownChannel macro,
- added Tcl_GetTopChannel public API to get to the top channel of
- the channel stack (necessary for TLS). Rewrote Tcl_NotifyChannel
- for new channel design (Kupries). Did some code cleanup in the
- transform code. tclIO.c must still be broken into bits (separate
- out test code and giot code, create tclIO.h).
-
-2000-07-10 Andreas Kupries <a.kupries@westend.com>
-
- * tests/iogt.test: Reverted some earlier changes as a fix by Jeff
- revived the original and correct behaviour. IOW, the tests showed
- a genuine error and I didn't see it :(.
-
- * generic/tclIO.c (Tcl_Read|Write_Raw): Changed to directly use
- the drivers and not DoRead|DoWrite. The latter use the buffering
- system, encoding and eol-translation and this wreaks havoc with
- the data going through the transformations. Both procedures use
- CheckForchannelErrors and let it believe that there is no
- background copy in progress or else stacked channels could not
- be used for that.
-
- * generic/tclIO.c (TclCopyChannel, CopyData): Moved access to the
- topmost channel from the first to the second procedure to make
- the decision about that at the last possible time (Callbacks can
- change the stacking).
-
- test suite: failures of iogt-[345].0
+ * generic/tclCmdMZ.c: fixing UMR in delete traces, [Bug 589863].
-2000-07-06 Jeff Hobbs <hobbs@scriptics.com>
+2002-08-08 David Gravereaux <davygrvy@pobox.com>
- * tests/iogt.test: new tests for stacked channel stuff based off
- new 'testchannel transform|unstack' code (Kupries IOGT extension).
- * generic/tcl.decls:
- * generic/tcl.h:
- * generic/tclDecls.h:
- * generic/tclStubsInit.c:
- * generic/tclIO.c: complete rewrite of Tcl Channel code for
- stacked channels. Channels are now designed to work in a more
- stacked fashion with a shared ChannelState data structure.
+ * tools/man2help.tcl: Fixed $argv handling bug where if -bitmap
+ wasn't specified $argc was off by one.
-2000-06-16 Syd Polk <spolk@redhat.com>
+2002-08-08 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclEnv.c win/tclWin32Dll.c: Fix impurePtr to work with
- modern Cygwin.
- * win/tcl.m4: Use --compat-implib.
- * win/configure: Regenerate.
+ * tests/uplevel.test: added 6.1 to test [uplevel] with shadowed
+ commands [Bug 524383]
-Sat Jun 10 22:43:00 2000 Christopher Faylor <cgf@cygnus.com>
+ * tests/subst.test: added 5.8-10 as further tests for [Bug 495207]
- * win/tclWinFile.c (TclMatchFiles): Revert Mon Jun 5 18:48:32 2000
- Christopher Faylor <cgf@cygnus.com>. Fails on Windows 95.
+2002-08-08 Don Porter <dgp@users.sourceforge.net>
-Tue Jun 6 22:09:02 2000 Christopher Faylor <cgf@cygnus.com>
+ * tests/README: Noted removal of defs.tcl.
- * win/Makefile.in: Set up and use autoconf variables throughout to
- allow overriding variables from the make command line.
+2002-08-08 Jeff Hobbs <jeffh@ActiveState.com>
-Tue Jun 6 12:17:46 2000 Christopher Faylor <cgf@cygnus.com>
+ * doc/lsearch.n: corrected lsearch docs to use -inline in examples.
- * generic/tclFilename.c (Tcl_TranslateFileName): Reinstate Mon Jun 5
- 18:18:32 2000 Christopher Faylor <cgf@cygnus.com> minus a typo.
+ *** 8.4b2 TAGGED FOR RELEASE ***
-Tue Jun 6 17:05:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
+ * tests/fCmd.test:
+ * tests/unixFCmd.test: updated tests for new link copy behavior.
+ * generic/tclFCmd.c (CopyRenameOneFile): changed the behavior to
+ follow links to endpoints and copy that file/directory instead of
+ just copying the surface link. This means that trying to copy a
+ link that has no endpoint (danling link) is an error.
+ [Patch #591647] (darley)
+ (CopyRenameOneFile): this is currently disabled by default until
+ further issues with such behavior (like relative links) can be
+ handled correctly.
- * generic/tclFileName.c (Tcl_TranslateFileName): Revert Mon Jun 5
- 18:48:32 2000 Christopher Faylor <cgf@cygnus.com>, didn't compile.
+ * tests/README: slight wording improvements
-Mon Jun 5 18:48:32 2000 Christopher Faylor <cgf@cygnus.com>
+2002-08-07 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclFileName.c (Tcl_TranslateFileName): Cygwin paths (and
- Windows in general, actually) do not need to have '/'s translated into
- '\'s.
- (TclDoGlob): Ditto.
- * win/tclWinFile.c (TclMatchFiles): Ditto.
- * generic/tclInitScript.h: Look in "../bin/usr/share" as well as
- "../bin/share".
+ * docs/BoolObj.3: added description of valid string reps for a
+ boolean object [Bug 584794]
+ * generic/tclObj.c: optimised Tcl_GetBooleanFromObj and
+ SetBooleanFromAny to avoid parsing the string rep when it can be
+ avoided [Bugs 584650, 472576]
+
+2002-08-07 Miguel Sofer <msofer@users.sourceforge.net>
-2000-06-02 Jeff Hobbs <hobbs@scriptics.com>
+ * generic/tclCompile.h:
+ * generic/tclObj.c: making tclCmdNameType static ([Bug 584567],
+ Don Porter).
+
+2002-08-07 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclIO.c (CloseChannel): removed the &ing out of
- (TCL_READABLE|TCL_WRITABLE) from the flags, as CloseChannel does
- this on the next pass through for the top channel, and it appeared
- to be causing hangs by not allowing the final flush.
+ * generic/tclObj.c (Tcl_NewObj): added conditional code for
+ USE_THREAD_ALLOC; objects allocated through Tcl_NewObj() were
+ otherwise being leaked. [Bug 587488] reported by Sven Sass.
+
+2002-08-06 Daniel Steffen <das@users.sourceforge.net>
-2000-06-01 Jeff Hobbs <hobbs@scriptics.com>
+ * generic/tclInt.decls:
+ * unix/tclUnixThrd.c: Added stubs and implementations for
+ non-threaded build for the tclUnixThrd.c procs TclpReaddir,
+ TclpLocaltime, TclpGmtime and TclpInetNtoa.
+ Fixes link errors in stubbed & threaded extensions that include
+ tclUnixPort.h and use any of the procs readdir, localtime,
+ gmtime or inet_ntoa (e.g. TclX 8.4) [Bug 589526]
+ * generic/tclIntPlatDecls.h:
+ * generic/tclStubInit.c: Regen.
+
+2002-08-05 Don Porter <dgp@users.sourceforge.net>
+
+ * library/tcltest/tcltest.tcl: The setup and cleanup scripts are now
+ * library/tcltest/pkgIndex.tcl: skipped when a test is skipped, fixing
+ * tests/tcltest.test: [Bug 589859]. Test for bug added, and
+ corrected tcltest package bumped to version 2.2.
+
+ * generic/tcl.decls: Restored Tcl_Concat to return (char *). Like
+ * generic/tclDecls.h: Tcl_Merge, it transfers ownership of a dynamic
+ * generic/tclUtil.c: allocated string to the caller.
+
+2002-08-04 Don Porter <dgp@users.sourceforge.net>
+
+ * doc/CmdCmplt.3: Applied Patch 585105 to fully CONST-ify
+ * doc/Concat.3: all remaining public interfaces of Tcl.
+ * doc/CrtCommand.3: Notably, the parser no longer writes on
+ * doc/CrtSlave.3: the string it is parsing, so it is no
+ * doc/CrtTrace.3: longer necessary for Tcl_Eval() to be
+ * doc/Eval.3: given a writable string. Also, the
+ * doc/ExprLong.3: refactoring of the Tcl_*Var* routines
+ * doc/LinkVar.3: by Miguel Sofer is included, so that the
+ * doc/ParseCmd.3: "part1" argument for them no longer needs
+ * doc/SetVar.3: to be writable either.
+ * doc/TraceVar.3:
+ * doc/UpVar.3: Compatibility support has been enhanced so
+ * generic/tcl.decls that a #define of USE_NON_CONST will remove
+ * generic/tcl.h all possible source incompatibilities with
+ * generic/tclBasic.c the 8.3 version of the header file(s).
+ * generic/tclCmdMZ.c The new #define of USE_COMPAT_CONST now does
+ * generic/tclCompCmds.c what USE_NON_CONST used to do -- disable
+ * generic/tclCompExpr.c only those new CONST's that introduce
+ * generic/tclCompile.c irreconcilable incompatibilities.
+ * generic/tclCompile.h
+ * generic/tclDecls.h Several bugs are also fixed by this patch.
+ * generic/tclEnv.c [Bugs 584051,580433] [Patches 585105,582429]
+ * generic/tclEvent.c
+ * generic/tclInt.decls
+ * generic/tclInt.h
+ * generic/tclIntDecls.h
+ * generic/tclInterp.c
+ * generic/tclLink.c
+ * generic/tclObj.c
+ * generic/tclParse.c
+ * generic/tclParseExpr.c
+ * generic/tclProc.c
+ * generic/tclTest.c
+ * generic/tclUtf.c
+ * generic/tclUtil.c
+ * generic/tclVar.c
+ * mac/tclMacTest.c
+ * tests/expr-old.test
+ * tests/parseExpr.test
+ * unix/tclUnixTest.c
+ * unix/tclXtTest.c
+ * win/tclWinTest.c
+
+2002-08-01 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclExecute.c: bugfix (reading freed memory). Testsuite
+ passed on linux/i386, compile-13.1 hung on linux/alpha.
+
+2002-08-01 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclExecute.c: added a reference count for the complete
+ execution stack, instead of Tcl_Preserve/Tcl_Release.
+
+2002-08-01 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * generic/tclCkalloc.c (TclFinalizeMemorySubsystem):
+ Don't lock the ckalloc mutex before invoking the
+ Tcl_DumpActiveMemory function since it also
+ locks the same mutex. This code is only executed
+ when "memory onexit filename" has been executed
+ and Tcl is compiled with -DTCL_MEM_DEBUG.
+
+2002-08-01 Reinhard Max <max@suse.de>
+
+ * win/tclWinPort.h: The windows headers don't provide socklen_t,
+ so we have to do it.
+
+2002-07-31 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclInt.h (USE_THREAD_ALLOC): for unshared objects,
+ TclDecrRefCount now frees the internal rep before the string rep -
+ just like the non-macro Tcl_DecrRefCount/TclFreeObj [Bug 524802].
+ For the other allocators the fix was done on 2002-03-06.
+
+2002-07-31 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclInterp.c: signed/unsigned comparison warning fixed
+ (Vince Darley).
+
+2002-07-31 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * unix/tcl.m4 (SC_BUGGY_STRTOD): Enabled caching of test results.
+
+ * unix/tcl.m4 (SC_BUGGY_STRTOD): Solaris 2.8 still has a buggy
+ strtod() implementation; make sure we detect it.
+
+ * tests/expr.test (expr-22.*): Marked as non-portable because it
+ seems that these tests have an annoying tendency to fail in
+ unexpected ways. [Bugs 584825, 584950, 585986]
+
+2002-07-30 Andreas Kupries <andreas_kupries@users.sourceforge.net>
+
+ * tests/io.test:
+ * generic/tclIO.c (WriteChars): Added flag to break out of loop if
+ nothing of the input is consumed at all, to prevent infinite
+ looping of called with a non-UTF-8 string. Fixes Bug 584603
+ (partially). Added new test "io-60.1". Might need additional
+ changes to Tcl_Main so that unprintable results are printed as
+ binary data.
+
+2002-07-29 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * unix/Makefile.in: Use CC_SEARCH_FLAGS instead of
+ LD_SEARCH_FLAGS when linking with ${CC}.
+ * unix/configure: Regen.
+ * unix/configure.in: Don't subst CC_SEARCH_FLAGS or
+ LD_SEARCH_FLAGS since this is now done in tcl.m4.
+ * unix/tcl.m4 (SC_CONFIG_CFLAGS): Document and
+ set CC_SEARCH_FLAGS whenever LD_SEARCH_FLAGS is set.
+ [Tcl patch 588290]
- * generic/tclIO.c (CloseChannel): Rewrote CloseChannel code to
- unstack a channel during the close process. Fixed a refcount bug
- in Tcl_UnstackChannel. [Bug: 5623]
- (CloseChannel): further extended CloseChannel in the stacked case
- to effect certain operations on the next channel that would have
- been done in Tcl_Close. Also added CHANNEL_CLOSED and removed
- (TCL_READABLE|TCL_WRITABLE) bits from chanPtr->flags. Changed
- final reset of the WatchProc to check the chanDownPtr's (next)
- interestMask.
+2002-07-29 Reinhard Max <max@suse.de>
-2000-05-29 Sandeep Tamhankar <sandeep@scriptics.com>
+ * unix/tcl.m4 (SC_SERIAL_PORT): Fixed detection for cases when
+ configure's stdin is not a tty.
+
+ * unix/tclUnixPort.h:
+ * generic/tclIOSock.c: Changed size_t to socklen_t in
+ socket-related function calls.
- * tests/http.test
- * doc/http.n
- * library/http2.3/http.tcl: Fixed bug 5741, where unsuccessful
- geturl calls sometimes leaked memory and resources (sockets).
- Also, switched around some of the logic so that http::wait never
- throws an exception. This is because in an asynchronous geturl,
- the command callback will probably end up doing all the error
- handling anyway, and in an asynchronous situation, the user
- expects to check the state when the transaction completes, as
- opposed to being thrown an exception. For the http package, this
- menas the user can check http::status for "error" and http::error
- for the error message after doing the http::wait.
+ * unix/configure.in: Added test and fallback definition
+ for socklen_t.
+
+ * unix/configure: generated.
-2000-04-26 Jeff Hobbs <hobbs@scriptics.com>
+2002-07-29 Miguel Sofer <msofer@users.sourceforge.net>
- 8.3.1 RELEASE
+ * generic/tclObj.c: fixed a comment
- * README:
- * mac/README:
- * tools/tcl.wse.in:
- * unix/README:
- * unix/tcl.spec:
- * win/README:
- * win/README.binary: Updating URLs to reference dev.scriptics.com
+ * generic/tcl.h:
+ * generic/tclBasic.c:
+ * generic/tclInterp.c: added the new flag TCL_EVAL_INVOKE to
+ the interface of the Tcl_Eval* functions, removing the
+ TCL_EVAL_NO_TRACEBACK added yesterday: alias invocations not only
+ require no tracebacks, but also look up the command name in the
+ global scope - see new test interp-9.4
+ * tests/interp.test: added 9.3 to test for safety of aliases to
+ hidden commands, 9.4 to test for correct command lookup scope.
+
+2002-07-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * generic/regc_locale.c (cclass): [[:xdigit:]] is only a defined
+ concept on western characters, so should not allow any unicode
+ digit, and hence number of ranges in [[:xdigit:]] is fixed.
+ * tests/reg.test: Added test to detect the bug.
+ * generic/regc_cvec.c (newcvec): Corrected initial size value in
+ character vector structure. [Bug 578363] Many thanks to
+ pvgoran@users.sf.net for tracking this down.
+
+2002-07-28 Miguel Sofer <msofer@users.sourceforge.net>
-2000-04-25 Jeff Hobbs <hobbs@scriptics.com>
+ * generic/tcl.h:
+ * generic/tclBasic.c: added the new flag TCL_EVAL_NO_TRACEBACK to
+ the interface of the Tcl_Eval* functions. Modified the error
+ message for too many nested evaluations.
+ * generic/tclInterp.h: changed the Alias struct to be of variable
+ length and store the prefix arguments directly (instead of a
+ pointer to a Tcl_Obj list). Made AliasObjCmd call Tcl_EvalObjv
+ instead of TclObjInvoke - thus making aliases trigger execution
+ traces [Bug 582522].
+ * tests/interp.test:
+ * tests/stack.test: adapted to the new error message.
+ * tests/trace.test: added tests for aliases firing the exec
+ traces.
+
+2002-07-27 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * unix/Makefile.in: Revert fix for Tcl bug 529801
+ since it was incorrect and broke the build on
+ other systems. Fix Tcl bug 587299.
+ Add MAJOR_VERSION, MINOR_VERSION, PATCH_LEVEL,
+ SHLIB_LD_FLAGS, SHLIB_LD_LIBS, CC_SEARCH_FLAGS,
+ LD_SEARCH_FLAGS, and LIB_FILE variables to support
+ more generic library build/install rules.
+ * unix/configure: Regen.
+ * unix/configure.in: Move AC_PROG_RANLIB into
+ tcl.m4. Move shared build test and setting
+ of MAKE_LIB and MAKE_STUB_LIB into tcl.m4.
+ Move subst of a number of variables into
+ tcl.m4 where they are defined.
+ * unix/tcl.m4 (SC_ENABLE_SYMBOLS, SC_CONFIG_CFLAGS):
+ Subst vars where they are defined. Add MAKE_LIB,
+ MAKE_STUB_LIB, INSTALL_LIB, and INSTALL_STUB_LIB
+ rules to deal with the ugly details of running
+ ranlib on static libs at build and install time.
+ Replace TCL_SHLIB_LD_EXTRAS with SHLIB_LD_FLAGS
+ and use it when building a shared library.
+ * unix/tclConfig.sh.in: Add TCL_CC_SEARCH_FLAGS.
+
+2002-07-26 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclExecute.c: fixed Tcl_Obj leak in code corresponding
+ to the macro NEXT_INST_V(x, 0, 1) [Bug 587495].
+
+2002-07-26 Miguel Sofer <msofer@users.sourceforge.net>
- * unix/Makefile.in:
- * win/Makefile.in:
- * win/makefile.vc: updated for http change and some cleanup
- * library/http2.[13]: moved dir http2.1 to http2.3 to match version
+ * generic/tclVar.c (TclObjLookupVar): leak fix and improved
+ comments.
- * doc/Utf.3: clarified docs for Tcl_(UniChar|Utf)AtIndex
+2002-07-26 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/tclUnixThrd.c: removed {}s around PTHREAD_MUTEX_INITIALIZER
- [Bug: 5254]
+ * generic/tclVar.c (TclLookupVar): removed early returns that
+ prevented the parens from being restored. also removed goto label
+ as it was not necessary.
- * unix/tclLoadDyld.c (TclpLoadFile): removed use of interp->result
+2002-07-24 Miguel Sofer <msofer@users.sourceforge.net>
-2000-04-25 Eric Melski <ericm@scriptics.com>
+ * generic/tclExecute.c:
+ * tests/expr-old.test: fix for erroneous error messages in [expr],
+ [Bug 587140] reported by Martin Lemburg.
- * unix/mkLinks:
- * doc/AddErrInfo.3: Added information about Tcl_LogCommandInfo
- [Bug: 1818].
+2002-07-25 Joe English <jenglish@users.sourceforge.net>
+ * generic/tclProc.c: fix for Tk Bug #219218 "error handling
+ with bgerror in Tk"
-2000-04-24 Eric Melski <ericm@scriptics.com>
+2002-07-24 Miguel Sofer <msofer@users.sourceforge.net>
- * unix/mkLinks:
- * doc/OpenFileChnl.3: Added man entry for Tcl_Ungets [Bug: 1834].
+ * generic/tclExecute.c: restoring full TCL_COMPILE_DEBUG
+ functionality.
- * unix/mkLinks:
- * doc/SourceRCFile.3: Man page for Tcl_SourceRCFile [Bug: 1833].
+2002-07-24 Don Porter <dgp@users.sourceforge.net>
- * unix/mkLinks:
- * doc/ParseCmd.3: Added documentation for Tcl_ParseVar [Bug: 1828].
+ * tests/unixInit.test: relaxed unixInit-3.1 to accept iso8859-15
+ as a valid C encoding. [Bug 575336]
-2000-04-24 Jeff Hobbs <hobbs@scriptics.com>
+2002-07-24 Miguel Sofer <msofer@users.sourceforge.net>
- * unix/tclUnixNotfy.c (Tcl_FinalizeNotifier, NotifierThreadProc):
- added write of 'q' into triggerPipe for notifier in threaded case,
- so that Tcl doesn't hang when children are still running [Bug: 4139]
+ * generic/tclExecute.c: restoring the tcl_traceCompile
+ functionality while I repair tcl_traceExec. The core now compiles
+ and runs also under TCL_COMPILE_DEBUG, but execution in the
+ bytecode engine can still not be traced.
- * unix/tclUnixThrd.c (Tcl_MutexLock): minor comment fixes.
+2002-07-24 Daniel Steffen <das@users.sourceforge.net>
-2000-04-23 Jim Ingham <jingham@cygnus.com>
+ * unix/Makefile.in:
+ * unix/configure.in: corrected fix for [Bug 529801]: ranlib
+ only needed for static builds on Mac OS X.
+ * unix/configure: Regen.
+ * unix/tclLoadDyld.c: fixed small bugs introduced by Vince,
+ implemented library unloading correctly (needs OS X 10.2).
- These changes make some error handling marginally better for Mac
- sockets. It is still somewhat flakey, however.
+2002-07-23 Joe English <jenglish@users.sourceforge.net>
- * mac/tclMacSock.c (TcpClose): Add timeouts to the close - these
- don't seem to be honored, however.
- Use a separate PB for the release, since an async connect socket
- will still be using the original buffer.
- Make sure TCPRelease returns noErr before freeing the recvBuff.
- If the call returns an error, then the buffer is not right.
- * mac/tclMacSock.c (CreateSocket): Add timeouts to the async
- create. These don't seem to trigger, however. Sigh...
- * mac/tclMacSock.c (WaitForSocketEvent): If an TCP_ASYNC_CONNECT
- socket errors out, then return EWOULDBLOCK & error out.
- * mac/tclMacSock.c (NotifyRoutine): Added a NotifyRoutine for
- experimenting with MacTCP.
+ * doc/OpenFileChnl.3: (Updates from Larry Virden)
+ * doc/open.n:
+ * doc/tclsh.1: Fix section numbers in Unix man page references.
+ * doc/lset.n: In EXAMPLES section, include command to set the
+ initial value used in subsequent examples.
+ * doc/http.n: Package version updated to 2.4.
-2000-04-22 Jim Ingham <jingham@cygnus.com>
+2002-07-23 Mo DeJong <mdejong@users.sourceforge.net>
- * library/package.tcl (tclPkgUnknown): Fixed a typo in the Mac package
- search part of tclPkgUnknown.
+ * unix/configure: Regen.
+ * unix/tcl.m4 (SC_CONFIG_CFLAGS): Enable 64 bit compilation
+ when using the native compiler on a 64 bit version of IRIX.
+ [Tcl bug 219220]
-2000-04-21 Sandeep Tamhankar <sandeep@scriptics.com>
+2002-07-23 Mo DeJong <mdejong@users.sourceforge.net>
- * library/http2.1/http.tcl: Fixed a newly introduced bug where if
- there's a -command callback and something goes wrong, geturl threw
- an exception, called the callback, and unset the token. I changed
- it so that it will not call the callback when throwing an
- exception (so the caller only finds out about a given error from
- one place). Also, fixed http::ncode so that it actually gives you
- back the http return code (i.e. 200, 404, etc.) instead of the
- first digit of the version of HTTP being used (i.e. 1).
+ * unix/Makefile.in: Combine ranlib tests and
+ avoid printing unless ranlib is actually run.
-2000-04-21 Brent Welch <welch@scriptics.com>
+2002-07-23 Mo DeJong <mdejong@users.sourceforge.net>
- * library/http2.1/http.tcl: More thrashing with the "server closes
- without reading post data" scenario. Reverted to the previous
- filevent configuratiuon, which seems to work better with small
- amounts of post data.
+ * unix/tcl.m4 (SC_PATH_X): Set XINCLUDES to "" instead
+ of "# no special path needed" or "# no include files found"
+ when x headers cannot be located.
-2000-04-20 Jeff Hobbs <hobbs@scriptics.com>
+2002-07-22 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclAlloc.c: wrapped caddr_t define to not be done on Unix
- * unix/tclUnixPort.h: added Tclp*Alloc defines to allow the use of
- USE_TCLALLOC on Unix. [Bug: 4731]
+ * generic/tclIOUtil.c: made tclNativeFilesystem static
+ (since 07-19 changes removed its usage elsewhere), and
+ added comments about its usage.
+ * generic/tclLoad.c:
+ * generic/tcl.h:
+ * generic/tcl.decls:
+ * doc/FileSystem.3: converted last load-related ClientData
+ parameter to Tcl_LoadHandle opaque structure, removing a
+ couple of casts in the process.
+
+ * generic/tclInt.h: removed tclNativeFilesystem declaration
+ since it is now static again.
+
+2002-07-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-2000-04-19 Jeff Hobbs <hobbs@scriptics.com>
+ * tests/expr.test (expr-22.*): Added tests to help detect the
+ corrected handling.
+ * generic/tclExecute.c (IllegalExprOperandType): Improved error
+ message generated when attempting to manipulate Inf and NaN values.
+ * generic/tclParseExpr.c (GetLexeme): Allowed parser to recognise
+ 'Inf' as a floating-point number. [Bug 218000]
- * library/dde1.1/pkgIndex.tcl:
- * library/reg1.0/pkgIndex.tcl:
- * win/tclWinChan.c:
- * win/tclWinThrd.c: converted CRLF to LF the */tcl.hpj.in files
- were not converted, as it confuses hcw locally. [Bug: 5096]
+2002-07-21 Don Porter <dgp@users.sourceforge.net>
- * win/Makefile.in: expanded cleanup target for help files
+ * tclIOUtil.c: Silence compiler warning. [Bug 584408].
- * doc/Thread.3: minor macro cleanup
+2002-07-19 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclFileName.c (SplitUnixPath): added support for QNX
- node ids.
+ * generic/tclIOUtil.c: fix to GetFilesystemRecord
+ * win/tclWinFile.c:
+ * unix/tclUnixFile.c: fix to subtle problem with links shown
+ up by latest tclkit builds.
-2000-04-18 Jeff Hobbs <hobbs@scriptics.com>
+2002-07-19 Mo DeJong <mdejong@users.sourceforge.net>
- * README:
- * generic/tcl.h:
- * tools/tcl.wse.in:
+ * unix/configure:
* unix/configure.in:
- * unix/tcl.spec:
- * win/configure.in:
- * win/README.binary: bumped version to 8.3.1
+ * win/configure:
+ * win/configure.in: Add AC_PREREQ(2.13) in an attempt
+ to make it more clear that the configure scripts
+ must be generated with autoconf version 2.13.
+ [Bug 583573]
- * win/tcl.hpj.in: updated copyright date
+2002-07-19 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclEnv.c: environment support for Mac OS/X
- * unix/tclUnixPort.h: environment support for Mac OS/X
- * unix/tclLoadDyld.c: new file for Mac OS/X dl functions
- * unix/Makefile.in: added install-strip target; bindir, libdir,
- mandir, includedir vars; tclLoadDyld.c target [Bug: 2527]
+ * unix/Makefile.in: fix to build on MacOS X [Bug 529801], bug
+ report and fix from jcw.
- * unix/tclUnixChan.c (CreateSocket): force a socket back into
- blocking mode (default state) after a -async connect succeeds.
- [Bug: 4388]
+2002-07-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tclEvent.c (TclInitSubsystems): Moved tclLibraryPath to
- thread-local storage to prevent thread-related race condition.
- [Bug: 5033]
- * unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets the
- library path as it was unnecessary and conflicts with move of
- tclLibraryPath to thread-local storage.
+ * win/tclWinSerial.c (no_timeout): Made this variable static.
-2000-04-18 Scott Redman <redman@scriptics.com>
+ * generic/tclExecute.c, generic/tclCompile.c, generic/tclBasic.c:
+ * generic/tclCompile.h (builtinFuncTable, instructionTable): Added
+ prefix to these symbols because they are visible outside the Tcl
+ library.
- * win/Makefile.in:
- * win/tcl.rc:
- * win/tclsh.rc:
- * win/tclsh.ico: Modified copyright dates in Windows resource
- files. Added an icon for tclsh.exe.
+ * generic/tclCompExpr.c (operatorTable):
+ * unix/tclUnixTime.c (tmKey):
+ * generic/tclIOUtil.c (theFilesystemEpoch, filesystemWantToModify,
+ filesystemIteratorsInProgress, filesystemOkToModify): Made these
+ variables static.
-2000-04-17 Brent Welch <welch@scriptics.com>
+ * unix/tclUnixFile.c: Renamed nativeFilesystem to
+ * win/tclWinFile.c: tclNativeFilesystem and declared
+ * generic/tclIOUtil.c: it properly in tclInt.h
+ * generic/tclInt.h:
- * generic/tcl.h, generic/tclThreadTest.c, unix/tclUnixThrd.c,
- win/tclWinThread.c, mac/tclMacThread.c:
- Added Tcl_CreateThreadType and TCL_RETURN_THREAD_TYPE
- macros for declaring the NewThread callback proc.
+ * generic/tclUtf.c (totalBytes): Made this array static and const.
-2000-04-14 Jeff Hobbs <hobbs@scriptics.com>
+ * generic/tclParse.c (typeTable): Made this array static and const.
+ (Tcl_ParseBraces): Simplified error handling case so that scans
+ are only performed when needed, and flags are simpler too.
- * unix/tclUnixChan.c (TtyParseMode): Only allow setting mark/space
- parity on platforms that support it [Bug: 5089]
+ * license.terms: Added AS to list of copyright holders; it's only
+ fair for the current gatekeepers to be listed here!
- * generic/tclBasic.c (Tcl_GetVersion): adjusted use of major/minor
- to not conflict with global decl on some systems [Bug: 2882]
+ * tests/cmdMZ.test: Renamed constraint for clarity. [Bug#583427]
+ Added tests for the [time] command, which was previously only
+ indirectly tested!
- * doc/AppInit.3:
- * doc/Async.3:
- * doc/BackgdErr.3:
- * doc/CrtChannel.3:
- * doc/CrtInterp.3:
- * doc/CrtMathFnc.3:
- * doc/DString.3:
- * doc/Eval.3:
- * doc/ExprLong.3:
- * doc/GetInt.3:
- * doc/GetOpnFl.3:
- * doc/Interp.3:
- * doc/LinkVar.3:
- * doc/OpenFileChnl.3:
- * doc/OpenTcp.3:
- * doc/PkgRequire.3:
- * doc/RecordEval.3:
- * doc/SetResult.3:
- * doc/SplitList.3:
- * doc/StaticPkg.3:
- * doc/TraceVar.3:
- * doc/Translate.3:
- * doc/UpVar.3:
- * doc/load.n: removed or updated references to interp->result use.
+2002-07-18 Vince Darley <vincentdarley@users.sourceforge.net>
+
+ * generic/tclInt.h:
+ * generic/tcl.h:
+ * */*Load*.c: added comments on changes of 07/17 and
+ replaced clientData with Tcl_LoadHandle in all locations.
+
+ * generic/tclFCmd.c:
+ * tests/fileSystem.test: fixed a 'knownBug' with 'file
+ attributes ""'
+ * tests/winFCmd.test:
+ * tests/winPipe.test:
+ * tests/fCmd.test:
+ * tessts/winFile.test: added 'pcOnly' constraint to some
+ tests to make for more useful 'tests skipped' log from
+ running all tests on non-Windows platforms.
+
+2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclBasic.c (CallCommandTraces): delete traces now
+ receive the FQ old name of the command.
+ [Bug 582532] (Don Porter)
-2000-04-13 Jeff Hobbs <hobbs@scriptics.com>
+2002-07-18 Vince Darley <vincentdarley@users.sourceforge.net>
- * doc/regexp.n: doc clarification [Bug: 5037]
- * doc/update.n: typo fix [Bug: 4996]
+ * tests/ioUtil.test: added constraints to 1.4,2.4 so they
+ don't run outside of tcltest. [Bugs 583276,583277]
+
+2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
- * unix/tcl.m4 (SC_ENABLE_THREADS): enhanced the detection of
- pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added
- --enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
+ * generic/tclVar.c (DupParsedVarName): nasty bug fixed, reported
+ by Vince Darley.
-2000-04-12 Jeff Hobbs <hobbs@scriptics.com>
+2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
- * doc/dde.n: corrected dde poke docs. [Bug: 4991]
+ * generic/tclVar.c (TclPtrIncrVar): missing CONST in declarations,
+ inconsistent with tclInt.h. Thanks to Vince Darley for reporting,
+ boo to gcc for not complaining.
+
+2002-07-17 Vince Darley <vincentdarley@users.sourceforge.net>
-2000-04-11 Eric Melski <ericm@scriptics.com>
+ * generic/tclInt.h:
+ * generic/tclIOUtil.c:
+ * generic/tclLoadNone.c:
+ * unix/tclLoadAout.c:
+ * unix/tclLoadDl.c:
+ * unix/tclLoadDld.c:
+ * unix/tclLoadDyld.c:
+ * unix/tclLoadNext.c:
+ * unix/tclLoadOSF.c:
+ * unix/tclLoadShl.c:
+ * mac/tclMacLoad.c:
+ * win/tclWinLoad.c: modified to move more functionality
+ to the generic code and avoid duplication. Partial replacement
+ of internal uses of clientData with opaque Tcl_LoadHandle. A
+ little further work still needed, but significant changes are done.
+
+2002-07-17 D. Richard Hipp <drh@hwaci.com>
+
+ * library/msgcat/msgcat.tcl: fix a comment that was causing
+ problems for programs (ex: mktclapp) that embed the initialization
+ scripts in strings.
+
+2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
- * win/tclWinPipe.c: Added "CONST" keyword to declaration of char
- *native in TclpCreateTempFile, to supress compiler warnings.
+ * generic/tclInt.decls:
+ * generic/tclIntDecls.h:
+ * generic/tclStubInit.c:
+ * generic/tclVar.c: removing the now redundant functions to access
+ indexed variables: Tcl(Get|Set|Incr)IndexedScalar() and
+ Tcl(Get|Set|Incr)ElementOfIndexedArray().
-2000-04-10 Brent Welch <welch@scriptics.com>
+2002-07-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tcl.h: Fixed Tcl_CreateThread declaration.
- * library/tcltest1.0/tcltest.tcl: Fixed the "mainThread"
- initialization to work with either testthread or the thread extension
- * unix/tclUnixThrd.c: Fixed compiler warning when compiling
- with -DTCL_THREADS
+ * generic/tclExecute.c (TclExecuteByteCode): Minor fixes to make
+ this file compile with SunPro CC...
-2000-04-10 Eric Melski <ericm@scriptics.com>
+2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
- * win/tclWinPipe.c (TclpCreateTempFile): Added conversion of
- contents string from UTF to native encoding [Bug: 4030].
+ * generic/tclExecute.c: modified to do variable lookup explicitly,
+ and then either inlining the variable access or else calling the new
+ TclPtr(Set|Get|Incr)Var functions in tclVar.c
+ * generic/tclInt.h: declare some functions previously local to
+ tclVar.c for usage by TEBC.
+ * generic/tclVar.c: removed local declarations; moved all special
+ accessor functions for indexed variables to the end of the file -
+ they are unused and ready for removal, but left there for the time
+ being as they are in the internal stubs table.
- * tests/regexp.test: Added tests for infinite looping in [regexp
- -all].
+ ** WARNING FOR BYTECODE MAINTAINERS **
+ TCL_COMPILE_DEBUG is currently not functional; will be fixed ASAP.
- * generic/tclCmdMZ.c: Fixed infinite loop bug with [regexp -all]
- [Bug: 4981].
+2002-07-16 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/*.test: Changed all occurances of "namespace import
- ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
+ * unix/Makefile.in:
+ * win/Makefile.in: Add a more descriptive warning
+ in the event `make genstubs` needs to be rerun.
-2000-04-09 Brent Welch <welch@scriptics.com>
+2002-07-16 Mo DeJong <mdejong@users.sourceforge.net>
- * lib/httpd2.1/http.tcl: Worked on the "server closes before
- reading post data" case, which unfortunately causes different
- error cases on Solaris, which can read the reply, and Linux
- and Windows, which cannot read anything. This is all in the
- loop-back case - client and server on the same host. Also
- unified the error handling so the "ioerror" status goes away
- and errors are reflected in a more uniform way. Updated the
- man page to document the behavior.
+ * unix/Makefile.in: Use dltest.marker file
+ to keep track of when the dltest package
+ is up to date. This fixes [Tcl bug 575768]
+ since tcltest is no longer linked every time.
+ * unix/dltest/Makefile.in: Create ../dltest.marker
+ after a successful `make all` run in dltest.
-2000-04-09 Jeff Hobbs <hobbs@scriptics.com>
+2002-07-16 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/reg.test (matchexpected): corrected tests to use tcltest
- constraint types to skip certain tests.
+ * unix/configure: Regen.
+ * unix/configure.in: Remove useless subst of TCL_BIN_DIR.
- * generic/tclBasic.c (Tcl_SetCommandInfo): comment fix
+2002-07-15 Miguel Sofer <msofer@users.sourceforge.net>
- * unix/tclUnixThrd.c (Tcl_CreateThread): moved TCL_THREADS ifdef
- inside of func as it is declared for non-threads builds as well.
- In the non-threads case, it always returns TCL_ERROR (couldn't
- create thread).
+ * generic/tclVar.c: inaccurate comment fixed
+
+2002-07-15 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclBasic.c (Tcl_AddObjErrorInfo):
+ * generic/tclExecute.c (TclUpdateReturnInfo):
+ * generic/tclInt.h:
+ * generic/tclProc.c:
+ Added two Tcl_Obj to the ExecEnv structure to hold the fully
+ qualified names "::errorInfo" and "::errorCode" to cache the
+ addresses of the corresponding variables. The two most frequent
+ setters of these variables now profit from the new variable name
+ caching.
+
+2002-07-15 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclVar.c: refactorisation to reuse already looked-up Var
+ pointers; definition of three new Tcl_Obj types to cache variable
+ name parsing and lookup for later reuse; modification of internal
+ functions to profit from the caching.
+
+ * generic/tclInt.decls:
+ * generic/tclInt.h:
+ * generic/tclIntDecls.h:
+ * generic/tclNamesp.c: adding CONST qualifiers to variable names
+ passed to Tcl_FindNamespaceVar and to variable resolvers; adding
+ CONST qualifier to the 'msg' argument to TclLookupVar. Needed to
+ avoid code duplication in the new tclVar.c code.
+
+ * tests/set-old.test:
+ * tests/var.test: slight modification of error messages due to the
+ modifications in the tclVar.c code.
+
+2002-07-15 Don Porter <dgp@users.sourceforge.net>
+
+ * tests/unixInit.test: Improved constraints to protect /tmp.
+ [Bug 581403]
+
+2002-07-15 Vince Darley <vincentdarley@users.sourceforge.net>
+
+ * tests/winFCmd.test: renamed 'win2000' and 'notWin2000' to
+ more appropriate constraint names.
+ * win/tclWinFile.c: updated comments to reflect 07-11 changes.
+ * win/tclWinFCmd.c: made ConvertFileNameFormat static again,
+ since no longer used in tclWinFile.c
+ * mac/tclMacFile.c: completed TclpObjLink implementation which
+ was previously lacking.
+ * generic/tclIOUtil.c: comment cleanup and code speedup.
+
+2002-07-14 Don Porter <dgp@users.sourceforge.net>
-2000-04-08 Andreas Kupries <a.kupries@westend.com>
+ * generic/tclInt.h: Removed declarations that duplicated entries
+ in the (internal) stub table.
+
+ * library/tcltest/tcltest.tcl: Corrected errors in handling of
+ configuration options -constraints and -limitconstraints.
- * Overall change: Definition of a public API for the creation of
- new threads.
+ * README: Bumped HEAD to version 8.4b2 so we can
+ * generic/tcl.h: distinguish it from the 8.4b1 release.
+ * tools/tcl.wse.in:
+ * unix/configure*:
+ * unix/tcl.spec:
+ * win/README.binary:
+ * win/configure*:
- * generic/tclInt.h (line 1802f): Removed the definition of
- 'TclpThreadCreate'. (line 793f) Removed the definition of
- 'Tcl_ThreadCreateProc'.
+2002-07-11 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tcl.h (line 388f): Readded the definition of
- 'Tcl_ThreadCreateProc'. Added Win32 stuff send in by David
- Graveraux <davygrvy@bigfoot.com> to that too (__stdcall,
- ...). Added macros for the default stacksize and allowed flags.
+ * doc/file.n:
+ * win/tclWinFile.c: on Win 95/98/ME the long form of the path
+ is used as a normalized form. This is required because short
+ forms are not a robust representation. The file normalization
+ function has been sped up, but more performance gains might be
+ possible, if speed is still an issue on these platforms.
- * generic/tcl.decls (line 1356f): Added definition of
- 'Tcl_CreateThread', slot 393 of the stub table. Two new
- arguments in the public API, for stacksize and flags.
+2002-07-11 Don Porter <dgp@users.sourceforge.net>
- * win/tclWinThrd.c:
- * mac/tclMacThrd.c: Renamed TclpThreadCreate to Tcl_CreateThread,
- added handling of the stacksize. Flags are currently ignored.
+ * library/tcltest/tcltest.tcl: Corrected reaction to existing but
+ false ::tcl_interactive.
- * unix/tclUnixThrd.c: See above, but handles joinable
- flag. Ignores the specified stacksize if the macro
- HAVE_PTHREAD_ATTR_SETSTACKSIZE is not defined.
+ * doc/Hash.3: Overlooked CONST documentation update.
- * generic/tclThreadTest.c (line 363): See below.
+2002-07-11 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * unix/tclUnixNotfy.c (line 210): Adapted to the changes
- above. Uses default stacksize and no flags now.
+ * generic/tclCkalloc.c: ckalloc() and friends take the block size
+ as an unsigned, so we should use %ud when reporting it in fprintf()
+ and panic().
- * unic/tcl.m4 (line 382f): Added a check for
- 'pthread_attr_setstacksize' to detect platforms not implementing
- this feature of pthreads. If it is implemented, configure will
- define the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE (See
- unix/tclUnixThrd.c too).
+2002-07-11 Miguel Sofer <msofer@users.sourceforge.net>
- * doc/Thread.3: Added Tcl_CreateThread and its arguments to the
- list of described functions. Removed stuff about not providing a
- public C-API for thread-creation.
+ * generic/tclCompile.c: now setting local vars undefined at
+ compile time, instead of waiting until the proc is initialized.
+ * generic/tclProc.c: use macro TclSetVarUndefined instead of
+ directly etting the flag.
-2000-04-07 Jeff Hobbs <hobbs@scriptics.com>
+2002-07-11 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * doc/binary.n: clarified docs on sign extension in binary scan
- [Bug: 3466]
+ * tests/cmdAH.test: [file attr -perm] is Unix-only, so add [catch]
+ when not inside a suitably-protected test.
- * library/tcltest1.0/tcltest.tcl (initConstraints): removed win32s
- references (no longer supported)
+2002-07-10 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/fCmd.test: marked test 8.1 knownBug because it is
- dangerous on poorly configured systems [Bug: 3881]
- and added 8.2 to keep essence of 8.1 tested.
+ * tests/unixFCmd.test, tests/fileName.test:
+ * tests/fCmd.test: Removed [exec] of Unix utilities that have
+ equivalents in standard Tcl. [Bug 579268] Also simplified some
+ of unixFCmd.test while I was at it.
-2000-04-05 Andreas Kupries <a.kupries@westend.com>
+2002-07-10 Don Porter <dgp@users.sourceforge.net>
- * generic/tclIO.c (Tcl_UnstackChannel, line 1831): Forcing
- interest mask to the correct value after an unstack and
- re-initialization of the notifier via the watchProc. Without this
- the first fileevent after an unstack will come through and be
- processed, but no more. [Bug: ??].
+ * tests/tcltest.test: Greatly reduced the number of [exec]s, using
+ slave interps instead.
+ * library/tcltest/tcltest.tcl: Fixed bug uncovered in the conversion
+ where a message was written to stdout instead of [outputChannel].
-2000-03-04 Brent Welch <welch@scriptics.com>
+ * tests/basic.test: Cleaned up, constrained, and reduced the
+ * tests/compile.test: amount of [exec] usage in the test suite.
+ * tests/encoding.test:
+ * tests/env.test:
+ * tests/event.test:
+ * tests/exec.test:
+ * tests/io.test:
+ * tests/ioCmd.test:
+ * tests/regexp.test:
+ * tests/regexpComp.test:
+ * tests/socket.test:
+ * tests/tcltest.test:
+ * tests/unixInit.test:
+ * tests/winDde.test:
+ * tests/winPipe.test:
- * {win,unix}/Makefile.in: added dependency of tclStubInit.c on
- tcl.decls and tclInt.decls
- * generic/tclThread.c: Tweak so this compiles w/out TCL_THREADS
- * generic/{tcl.decls,tclStubInit.c}: Just touched the tcl.decls and
- regenerated the tclStubInit.c file
+2002-07-10 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-2000-03-29 Sandeep Tamhankar <sandeep@scriptics.com>
+ * tests/cmdAH.test: Removed [exec] of Unix utilities. [Bug 579211]
- * library/http2.1/http.tcl: For the -querychannel option,
- fconfigure the socket to be binary so that we don't translate
- anything while reading the data. This is because we determine the
- content length of the data on the channel by using seek (to the end
- of the file) and tell on the file handle, and we need the
- content-length to match the amount of data actually sent, and
- translation can affect the number of bytes posted.
+ * tests/expr.test: Added tests to make sure that this works.
+ * generic/tclExecute.c (ExprCallMathFunc): Functions should also
+ be able to return wide-ints. [Bug 579284]
-2000-04-03 Andreas Kupries <a.kupries@westend.com>
+2002-07-08 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * Overall change: Definition of public API's for the finalization
- of conditions and mutexes. [Bug: 4199].
+ * tests/socket.test: Fixed bug #578164. The original reason for
+ the was a DNS outage while running the testsuite. Changed [info
+ hostname] to 127.0.0.1 to bypass DNS, knowing that we operate on
+ the local host.
- * generic/tclInt.h: Removed definitions of TclFinalizeMutex and
- TclFinalizeCondition.
+2002-07-08 Don Porter <dgp@users.sourceforge.net>
- * generic/tcl.decls: Added declarations of Tcl_MutexFinalize and
- Tcl_ConditionFinalize.
+ * doc/tcltest.n: Fixed incompatibility in [viewFile].
+ * library/tcltest/tcltest.tcl: Corrected docs. Bumped to 2.2.1.
+ * library/tcltest/pkgIndex.tcl: [Bug 578163]
- * generic/tclThread.c: Renamed TclFinalizeMutex to
- Tcl_MutexFinalize. Renamed TclFinalizeCondition to
- Tcl_ConditionFinalize.
+2002-07-08 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclNotify.c: Changed usage of TclFinalizeMutex to
- Tcl_MutexFinalize.
+ * tests/cmdAH.test:
+ * tests/fCmd.test:
+ * tests/fileName.test: tests which rely on 'file link' need a
+ constraint so they don't run on older Windows OS. [Bug 578158]
+ * generic/tclIOUtil.c:
+ * generic/tcl.h:
+ * generic/tclInt.h:
+ * generic/tclTest.c:
+ * mac/tclMacChan.c:
+ * unix/tclUnixChan.c:
+ * win/tclWinChan.c:
+ * doc/FileSystem.3: cleaned up internal handling of
+ Tcl_FSOpenFileChannel to remove duplicate code, and make
+ writing external vfs's clearer and easier. No
+ functionality change. Also clarify that objects with refCount
+ zero should not be passed in to the Tcl_FS API, and prevent
+ segfaults from occuring on such user errors. [Bug 578617]
+
+2002-07-06 Don Porter <dgp@users.sourceforge.net>
+
+ * tests/pkgMkIndex.test: Constrained tests of [load] package indexing
+ to those platforms where the testing shared libraries have been built.
+ [Bug 578166].
+
+2002-07-05 Don Porter <dgp@users.sourceforge.net>
+ * changes: added recent changes
+
+2002-07-05 Reinhard Max <max@suse.de>
+
+ * generic/tclClock.c (FormatClock): Convert the format string to
+ UTF8 before calling TclpStrftime, so that non-ASCII characters
+ don't get mangled when the result string is being converted back.
+ * tests/clock.test: Added a test for that.
+
+2002-07-05 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * unix/Makefile.in (ro-test,ddd,GDB,DDD): Created new targets to
+ allow running the test suite with a read-only current directory,
+ running under ddd instead of gdb, and factored out some executable
+ names for broken sites (like mine) where gdb and ddd are installed
+ with non-standard names...
+
+ * tests/httpold.test: Altered test names to httpold-* to avoid
+ clashes with http.test, and stopped tests from failing when the
+ current directory is not writable...
+
+ * tests/event.test: Stop these tests from failing
+ * tests/ioUtil.test: when the current directory is
+ * tests/regexp.test: not writable...
+ * tests/regexpComp.test:
+ * tests/source.test:
+ * tests/unixFile.test:
+ * tests/unixNotfy.test:
+
+ * tests/unixFCmd.test: Trying to make these test-files
+ * tests/macFCmd.test: not bomb out with an error when
+ * tests/http.test: the current directory is not
+ * tests/fileName.test: writable...
+ * tests/env.test:
- * unix/tclUnixNotfy.c:
- * generic/tclThreadTest.c: Changed usages of TclFinalizeCondition to
- Tcl_ConditionFinalize.
+2002-07-05 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tcl.h: Added empty macros for Tcl_MutexFinalize and
- Tcl_ConditionFinalize, to be used when the core is compiled
- without threads.
+ *** 8.4b1 TAGGED FOR RELEASE ***
- * doc/Thread.3: Added description the new API's.
+2002-07-04 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-2000-04-03 Jeff Hobbs <hobbs@scriptics.com>
+ * tests/cmdMZ.test (cmdMZ-1.4):
+ * tests/cmdAH.test: More fixing of writable-current-dir
+ assumption. [Bug 575824]
- * generic/tclCmdIL.c (InfoVarsCmd): checked for non-NULL procPtr
- to prevent itcl info override crash [Bug: 4064]
+2002-07-04 Miguel Sofer <msofer@users.sourceforge.net>
- * tests/foreach.test:
- * tests/namespace.test:
- * tests/var.test: Added lsorts to avoid random sorted return
- problems. [Bug: 2682]
+ * tests/basic.test: Same issue as below; fixed [Bug 575817]
+
+2002-07-04 Andreas Kupries <andreas_kupries@users.sourceforge.net>
+
+ * tests/socket.test:
+ * tests/winPipe.test:
+ * tests/pid.test: Fixed SF Bug #575848. See below for a
+ description the general problem.
+
+ * All the bugs below are instances of the same problem: The
+ testsuite assumes [pwd] = [temporaryDirectory] and writable.
+
+ * tests/iogt.test: Fixed bug #575860.
+ * tests/io.test: Fixed bug #575862.
+ * tests/exec.test:
+ * tests/ioCmd.test: Fixed bug #575836.
+
+2002-07-03 Don Porter <dgp@users.sourceforge.net>
+
+ * tests/pkg1/direct1.tcl: removed
+ * tests/pkg1/pkgIndex.tcl: removed
+ * tests/pkgMkIndex.test: Imported auxilliary files from tests/pkg1
+ into the test file pkgMkIndex.test itself. Formatting fixes.
+
+ * unix/Makefile.in: removed tests/pkg/* from `make dist`
+
+ * tests/pkg/circ1.tcl: removed
+ * tests/pkg/circ2.tcl: removed
+ * tests/pkg/circ3.tcl: removed
+ * tests/pkg/global.tcl: removed
+ * tests/pkg/import.tcl: removed
+ * tests/pkg/pkg1.tcl: removed
+ * tests/pkg/pkg2_a.tcl: removed
+ * tests/pkg/pkg2_b.tcl: removed
+ * tests/pkg/pkg3.tcl: removed
+ * tests/pkg/pkg4.tcl: removed
+ * tests/pkg/pkg5.tcl: removed
+ * tests/pkg/pkga.tcl: removed
+ * tests/pkg/samename.tcl: removed
+ * tests/pkg/simple.tcl: removed
+ * tests/pkg/spacename.tcl: removed
+ * tests/pkg/std.tcl: removed
+ * tests/pkgMkIndex.test: Fixed [Bug 575857] where this test file
+ expected to be able to write to [file join [testsDirectory]
+ pkg]. Part of the fix was to import several auxilliary files
+ into the test file itself.
+
+ * tests/main.test: Cheap fix for [Bugs 575851, 575858]. Avoid
+ * tests/tcltest.test: non-writable . by [cd [temporaryDirectory]].
+
+ * library/auto.tcl: Fix [tcl_findLibrary] to be sure it sets
+ $varName only if a successful library script is found.
+ [Bug 577033]
+
+2002-07-03 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclCompCmds.c (TclCompileCatchCmd): return
+ TCL_OUT_LINE_COMPILE instead of TCL_ERROR: let the failure
+ happen at runtime so that it can be caught [Bug 577015].
+
+2002-07-02 Joe English <jenglish@users.sourceforge.net>
+
+ * doc/tcltest.n: Markup fixes, spellcheck.
+
+2002-07-02 Don Porter <dgp@users.sourceforge.net>
+
+ * doc/tcltest.n: more refinements of the documentation.
+
+ * library/tcltest/tcltest.tcl: Added trace to be sure the stdio
+ constraint is updated whenever the [interpreter] changes.
+
+ * doc/tcltest.n: Reverted [makeFile] and [viewFile] to
+ * library/tcltest/tcltest.tcl: their former behavior, and documented
+ * tests/cmdAH.test: it. Corrected misspelling of hook
+ * tests/event.test: procedure. Restored tests.
+ * tests/http.test:
+ * tests/io.test:
- * tests/fileName.test: fixed 14.1 test fragility [Bug: 1482]
+ * library/tcltest/tcltest.tcl: Simplified logic of
+ [GetMatchingFiles] and [GetMatchingDirectories], removing
+ special case processing.
- * tools/man2help2.tcl: fixed winhelp cross-linking error [Bug: 4156]
- improved translation to winhelp [Bug: 3679]
+ * doc/tcltest.n: More documentation updates. Reference sections
+ are complete. Only examples need adding.
- * unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir
- correctly [Bug: 4085]
+2002-07-02 Vince Darley <vincentdarley@users.sourceforge.net>
- * unix/dltest/pkg[a-e].c: Cleaned up test packages [Bug: 2293]
+ * tests/fCmd.test:
+ * generic/tclCmdAH.c: clearer error msgs for 'file link',
+ as per the man page.
-2000-04-03 Eric Melski <ericm@scriptics.com>
+2002-07-01 Joe English <jenglish@users.sourceforge.net>
- * unix/tclUnixFCmd.c (SetGroupAttribute):
- * unix/tclUnixFCmd.c (SetOwnerAttribute): Added (uid_t) and (gid_t)
- casts to avoid compiler warnings.
+ * doc/Access.3:
+ * doc/AddErrInfo.3:
+ * doc/Alloc.3:
+ * doc/Backslash.3:
+ * doc/CrtChannel.3:
+ * doc/CrtSlave.3:
+ * doc/Encoding.3:
+ * doc/Eval.3:
+ * doc/FileSystem.3:
+ * doc/Notifier.3:
+ * doc/OpenFileChnl.3:
+ * doc/ParseCmd.3:
+ * doc/RegExp.3:
+ * doc/Tcl_Main.3:
+ * doc/Thread.3:
+ * doc/TraceCmd.3:
+ * doc/Utf.3:
+ * doc/WrongNumArgs.3:
+ * doc/binary.n:
+ * doc/clock.n:
+ * doc/expr.n:
+ * doc/fconfigure.n:
+ * doc/glob.n:
+ * doc/http.n:
+ * doc/interp.n:
+ * doc/lsearch.n:
+ * doc/lset.n:
+ * doc/msgcat.n:
+ * doc/packagens.n:
+ * doc/pkgMkIndex.n:
+ * doc/registry.n:
+ * doc/resource.n:
+ * doc/safe.n:
+ * doc/scan.n:
+ * doc/tclvars.n: Spell-check, fixed typos (Updates from Larry Virden).
-2000-03-31 Eric Melski <ericm@scriptics.com>
+2002-07-01 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tclGet.c (Tcl_GetDouble): Added additional conditions to
- error test (previously only errno was checked, but the return
- value of strtod() should be checked as well). [Bug: 4118].
+ * unix/tcl.m4 (SC_CONFIG_CFLAGS): Made Solaris use gcc for linking
+ when building with gcc to resolve problems with undefined symbols
+ being present when tcl library used with non-gcc linker at later
+ stage. Symbols were compiler-generated, so it is the compiler's
+ business to define them. [Bug #541181]
- * tests/exec.test: Added test for proper conversion of UTF data
- when used with "<< $dataWithUTF" on exec's.
+2002-07-01 Don Porter <dgp@users.sourceforge.net>
- * unix/tclUnixPipe.c (TclpCreateTempFile): Added
- Tcl_UtfToExternalDString call, so that if there is UTF content in
- the string it will be properly converted to the system encoding
- before being written [Bug: 4030].
- (TclpCreateTempFile): Added a check on the return value of tmpnam;
- some systems (Linux, for example) will start to return NULL after
- tmpnam has been called TMP_MAX times; not checking for this can
- have bad results (overwriting temp files, core dumps, etc.)
+ * doc/tcltest.n: more work in progress updating tcltest docs.
-2000-03-30 Jeff Hobbs <hobbs@scriptics.com>
+ * library/tcltest/tcltest.tcl: Change [configure -match] to
+ stop treating an empty list as a list of the single pattern "*".
+ Changed the default value to [list *] so default operation
+ remains the same.
- * generic/tclBasic.c (Tcl_DeleteCommandFromToken): Added comments
- noting the need to pair ckalloc with ckfree. [Bug: 4262]
+ * tests/pkg/samename.tcl: restored. needed by pkgMkIndex.test.
- * generic/tclInt.decls:
- * generic/tclIntPlatDecls.h:
- * generic/tclStubInit.c:
- * win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s
- support).
-
- * win/tclWinReg.c: made use of TclWinGetPlatformId instead of
- getting info again
-
- * win/tclWinPort.h:
- * win/Makefile.in:
- * win/configure.in:
- * win/tcl.m4: Added support for gcc/mingw on Windows [Bug: 4234]
-
-2000-03-29 Jeff Hobbs <hobbs@scriptics.com>
-
- * generic/tclCompile.c (TclCleanupByteCode): made ByteCode cleanup
- more aware of TCL_BYTECODE_PRECOMPILED flagged structs (gen'd by
- tbcload), to correctly clean them up.
-
- * generic/tclClock.c (FormatClock): moved check for empty format
- earlier, commented 0 result return value
-
-2000-03-29 Sandeep Tamhankar <sandeep@scriptics.com>
-
- * library/http2.1/http.tcl: Removed an unnecessary fileevent
- statement from the error processing part of the Write method.
- Also, fixed two potential memory leaks in wait and reset, in which
- the state array wasn't being unset before throwing an exception.
- Prior to this version, Brent checked in a fix to catch a
- fileevent statement that was sometimes causing a stack trace when
- geturl was called with -timeout. I believe Brent's fix is
- necessary because TLS closes bad sockets for secure connections,
- and the fileevent was trying to act on a socket that no longer
- existed.
-
-2000-03-27 Jeff Hobbs <hobbs@scriptics.com>
-
- * tests/httpd: removed unnecessary 'puts stderr "Post Dispatch"'
-
- * tests/namespace.test:
- * generic/tclNamesp.c (Tcl_Export): added a uniq'ing test to the
- export list so only one instance of each export pattern would
- exist in the list.
-
- * generic/tclExecute.c (TclExecuteByteCode): optimized case for
- the empty string in ==/!= comparisons
-
-2000-03-27 Eric Melski <ericm@scriptics.com>
-
- * unix/tclUnixChan.c: Added (off_t) type casts in lseek() call
- [Bug: 4409].
-
- * unix/tclLoadAout.c:
- * unix/tclUnixPipe.c: Added (off_t) type casts in lseek() calls
- [Bug: 4410].
-
-2000-03-22 Sandeep Tamhankar <sandeep@scriptics.com>
-
- * library/http2.1/http.tcl: Fixed a bug where string query data
- that was bigger than queryblocksize would get duplicate characters
- at block boundaries.
-
-2000-03-22 Sandeep Tamhankar <sandeep@scriptics.com>
-
- * library/http2.1/http.tcl: Fixed bug 4463, where we were getting
- a stack trace if we tried to publish a project to a good host but
- a port where there was no server listening. It turned out the
- problem was a stray fileevent that needed to be cleared. Also,
- fixed a bug where http::code could stack trace if called on a bad
- token (one which didn't represent a successful geturl) by adding
- an http element to the state array in geturl.
-
-2000-03-21 Eric Melski <ericm@scriptics.com>
-
- * tests/clock.test: Modified some tests that were not robust with
- respect to the time zone in which they were run and were thus
- failing.
-
- * doc/clock.n: Clarified meaning of -gmt with respect to -base
- when used with [clock scan] (-gmt does not affect the
- interpretation of -base).
-
-2000-03-19 Sandeep Tamhankar <sandeep@scriptics.com>
-
- * library/http2.1/http.tcl: geturl used to throw an exception when
- the connection failed; I accidentally returned a token with the
- error info, breaking backwards compatibility. I changed it back
- to throwing an exception, but unsetting the state array first
- (thus still eliminating the original memory leak problem).
-
-2000-03-19 Sandeep Tamhankar <sandeep@scriptics.com>
-
- * library/http2.1/http.tcl: Added -querychannel option and altered
- some of Brent's modifications to allow asynchronous posts (via
- -command). Also modified -queryprogress so that it calls the
- query callback as <callback> <token> <total size> <current size>
- to be consistent with -progress. Added -queryblocksize option
- with default 8192 bytes for post blocksize. Fixed a bunch of
- potential memory leaks for the case when geturl receives bad args
- or can't open a socket, etc. Overall, the package really rocks
- now.
-
- * doc/http.n: Added -queryblocksize, -querychannel, and
- -queryprogress. Also, changed the description of -blocksize,
- which states that the -progress callback will be called for each
- block, to now qualify that with an "if -progress is specified".
-
- * tests/http.test: Added a querychannel test for synchronous and
- asynchronous posts, altered the queryprogress test such that the
- callback conforms to the -progress format. Also, had to use the
- -queryblocksize option to do the post 16K at a time to match
- Brent's expected results (and to test that -queryblocksize works).
-
-2000-03-15 Brent Welch <welch@scriptics.com>
-
- * library/http2.1/http.tcl: Added -queryprogress callback to
- http::geturl and also changed it so that writing the post data
- is event driven if the queryprogress callback or a timeout is given.
- This allows a timeout to occur when writing lots of post data.
- The queryprogress callback is called after each block of query
- data is posted. It has the same signature as the -progress callback.
-
-2000-03-06 Eric Melski <ericm@scriptics.com>
-
- * library/package.tcl: Applied patch from Bug: 2570; rather than
- setting geometry of slave interp to 0x0 when Tk was loaded, it now
- does "wm withdraw .". Both remove the main window from the
- display, but the former caused some internal structures to get
- initialized to zero, which caused crashes with some extensions.
-
-2000-03-02 Jeff Hobbs <hobbs@scriptics.com>
-
- * library/package.tcl (tclPkgUnknown): extended to allow
- recognizes changes in the auto_path while sourcing in other
- pkgIndex.tcl files
-
- * doc/FindExec.3: fixed doc for declaration of Tcl_FindExecutable
- [Bug: 4275]
-
- * generic/tclFileName.c (Tcl_TranslateFileName): Applied patch
- from Newman to significantly speedup file split/join on Windows
- (replaces regexp with custom parser). [Bug: 2867]
-
- * win/README.binary: change mailing lists from @consortium.org
- to @scriptics.com [Bug: 4173]
-
-2000-02-28 Eric Melski <ericm@scriptics.com>
-
- * tests/clock.test: Added test for ISO bases < 100000
-
- * generic/tclDate.c: (generated on Solaris)
- * generic/tclGetDate.y: Changed condition for deciding if a number
- is an ISO 8601 base from number >= 100000 to numberOfDigits >= 6.
- Previously it would fail to recognize 000000 as an ISO base.
-
-2000-02-14 Eric Melski <ericm@scriptics.com>
-
- * unix/Makefile.in: Added rpm target to generate Tcl binary RPM.
-
- * unix/tcl.spec: RPM specification file for a Tcl binary RPM for
- Linux.
-
-2000-02-10 Jeff Hobbs <hobbs@scriptics.com>
-
- 8.3.0 RELEASE
-
- * changes: updated for 8.3.0 release
-
- * doc/load.n: added notes about dll load errors on Windows
-
- * unix/README:
- * unix/Makefile.in (dist): removed porting.notes and porting.old
- from distribution and CVS. The information was very outdated. Now
- refer to http://dev.scriptics.com/services/support/platforms.html
-
- * tests/unixInit.test: fixed japanese LANG encoding test [Bug: 3549]
-
- * unix/configure.in:
- * unix/tcl.m4: correct CFLAG_WARNING setting,
- fixed gcc config for AIX,
- added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
-
- * win/tclWinLoad.c (TclpLoadFile): improved error message for load
- failures, could perhaps be even more intelligent.
-
-2000-02-09 Jim Ingham <jingham@cygnus.com>
-
- * mac/tclMacSock.c: Don't panic when you get an error closing an async
- socket. This doesn't seem to hurt anything, and we return the error so
- the caller can do the right thing.
-
- New Files:
- * mac/MW_TclHeader.h:
- * mac/MW_TclTestHeader.h:
- * mac/MW_TclTestHeader.pch:
- * mac/MW_TclAppleScriptHeader.h: More convenient to use .h prefix files
- in the preference panels...
-
- The above are curtesy of Daniel Steffen (steffen@math.mq.edu.au)
-
-2000-02-08 Eric Melski <ericm@scriptics.com>
-
- * tests/clock.test: Added tests for "next monthname" constructs.
- * generic/tclDate.c:
- * generic/tclGetDate.y (Message): Added a grammar rule for "next
- monthname" so that we can handle "next january" and similar
- constructs (bug #4146).
-
-2000-02-08 Jeff Hobbs <hobbs@scriptics.com>
-
- * README:
- * tools/tcl.wse.in:
- * unix/configure.in:
- * win/configure.in:
- * win/README:
- * win/README.binary:
- * generic/tcl.h (TCL_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
-
- * doc/library.n:
- * library/auto.tcl: fixed crufty puts code and docs [Bug: 4122]
-
- * library/tcltest1.0/tcltest.tcl: correctly protected searchDirectory
- list to allow dirnames with spaces
-
- * unix/tcl.m4: changed all -fpic to -fPIC
-
- * generic/tclDecls.h:
- * generic/tcl.decls: change Tcl_GetOpenFile to use decl of 'int
- forWriting' instead of 'int write' to avoid shadowing [Bug: 4121]
-
- * tests/httpold.test: changed test script to source in the httpd
- server procs from httpd instead of having its own set.
-
- * tests/httpd: improved query support in test httpd to handle fix
- in http.tcl. [Bug: 4089 change 2000-02-01]
-
- * unix/README: fixed notes about --enable-shared and add note
- about --disable-shared.
-
-2000-02-07 Eric Melski <ericm@scriptics.com>
-
- * tests/package.test:
- * library/tclIndex:
- * library/package.tcl: Renamed ::package namespace to ::pkg.
-
-2000-02-03 Eric Melski <ericm@scriptics.com>
-
- * doc/Package.n:
- * doc/packagens.n: Renamed Package.n -> packagens.n because Windows
- can't deal with case-sensitive names.
-
-2000-02-02 Jeff Hobbs <hobbs@scriptics.com>
-
- * tests/regexp.test: added tests for -all and -inline switches
- * doc/regexp.n: added docs for -all and -inline switches
- * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): added extra comments for
- new -all and -inline switches to regexp command
-
-2000-02-01 Eric Melski <ericm@scriptics.com>
-
- * library/init.tcl: Applied patch from rfe 1734 regarding
- auto_load errors not setting error message and errorInfo properly.
-
-2000-02-01 Jeff Hobbs <hobbs@scriptics.com>
-
- * win/Makefile.in (install-*): reduced verbosity of install
-
- * generic/tclFileName.c (Tcl_JoinPath): improved support for special
- QNX node id prefixes in pathnames [Bug: 4053]
-
- * library/http1.0/http.tcl:
- * library/http2.1/http.tcl: The query data POSTed was newline
- terminated when it shouldn't be altered [Bug: 4089]
-
-2000-01-31 Eric Melski <ericm@scriptics.com>
-
- * tests/package.test:
- * library/tclIndex:
- * library/package.tcl: Added ::package namespace and
- ::package::create function.
-
- * library/init.tcl: Fixed problem with auto_load and determining
- if commands were loaded.
-
- * library/auto.tcl: "Fixed" issues with $ in files to be auto indexed.
-
- * doc/Package.n: New man page for package::create function.
-
- * doc/pkgMkIndex.n: Added additional information.
-
- * doc/library.n: Added additional qualification regarding auto_mkindex.
-
-2000-01-28 Eric Melski <ericm@scriptics.com>
-
- * tests/pkg/magicchar2.tcl:
- * tests/autoMkindex.test: Test for auto loader fix (bug #2480).
-
- * library/init.tcl: auto_load was using [info commands $name] to
- determine if a given command was available; if the command name
- had * or [] it, this would fail because info commands uses
- glob-style matching. This is fixed. (Bug #2480).
-
- * tests/pkg/spacename.tcl:
- * tests/pkgMkIndex.test: Tests for fix for bug #2360.
-
- * library/package.tcl: Fixed to extract only the first element of
- the list returned by auto_qualify (bug #2360).
-
- * tests/pkg/magicchar.tcl:
- * tests/autoMkindex.test: Test for fix for bug #2611.
-
- * library/auto.tcl: Fixed the regular expression that performs $
- escaping before sourcing a file to index. It was erroneously
- adding \ escapes even to $'s that were already escaped,
- effectively "un-escaping" those $'s. (bug #2611).
-
-2000-01-27 Eric Melski <ericm@scriptics.com>
-
- * tests/autoMkindex.test:
- * library/auto.tcl: Applied patch (with slight modification) from
- bug #2701: auto_mkIndex uses platform dependent file paths.
- Added test for fix.
-
-2000-01-27 Jennifer Hom <jenn@scriptics.com>
-
- * library/tcltest1.0/tcltest.tcl: Changed NormalizePath to
- normalizePath and exported it as a public proc. This proc
- creates an absolute path given the name of the variable containing
- the path to modify. The path is modified in place.
- * library/tcltest1.0/pkgIndex.tcl: Added normalizePath.
- * tests/all.tcl: Changed code to use normalizePath.
-
-2000-01-27 Eric Melski <ericm@scriptics.com>
-
- * tests/pkg/samename.tcl: test file for bug #1983
-
- * tests/pkgMkIndex.test:
- * doc/pkgMkIndex.n:
- * library/package.tcl: Per rfe #4097, optimized creation of direct
- load packages to bypass computing the list of commands added by
- the new package. Also made direct loading the default, and added
- a -lazy option.
- Fixed bug #1983, dealing with pkg_mkIndex incorrectly handling
- situations with two procs by the same name but in different
- namespaces (ie, foo::baz and bar::baz).
-
-2000-01-26 Eric Melski <ericm@scriptics.com>
-
- * generic/tclNamesp.c: Undid fix for #956, which broke backwards
- compatibility.
-
- * doc/variable.n:
- * doc/trace.n:
- * doc/namespace.n:
- * doc/info.n: Added further information about differences between
- "namespace which" and "info exists".
-
- * doc/SetErrno.3: Added descriptions of ErrnoId() and ErrnoMsg()
- functions.
-
-2000-01-25 Jeff Hobbs <hobbs@scriptics.com>
-
- * unix/tcl.m4: modified EXTRA_CFLAGS to add -DHAVE_TZSET for
- OSF1-V* and ULTRIX-4.* when not using gcc. Also added higher min
- stack size for OSF1-V* when building with threads. [Bug: 4063]
-
- * generic/tclClock.c (FormatClock): inlined resultPtr, as it
- conflicted with var creation for HAVE_TZSET #def [Bug: 4063]
-
- * generic/tclCmdIL.c (Tcl_LsortObjCmd): fixed potential leak
- when calling lsort -command with bad command [Bug: 4067]
-
- * generic/tclFileName.c (Tcl_JoinPath): added support for special
- QNX node id prefixes in pathnames [Bug: 4053]
-
- * doc/ListObj.3: clarified Tcl_ListObjGetElements docs [Bug: 4080]
-
- * doc/glob.n: clarified Mac path separator determination docs.
-
- * win/makefile.vc: added some support for building helpfile on Windows
-
-2000-01-23 Jeff Hobbs <hobbs@scriptics.com>
-
- * library/init.tcl (auto_execok): added 'start' to list of
- recognized built-in commands for COMSPEC on NT. [Bug: 2858]
-
- * unix/tclUnixPort.h: moved include of <utime.h> lower since some
- systems (UTS) require sys/types.h to be included first [Bug: 4031]
-
- * unix/tclUnixChan.c (CreateSocketAddress): changed comparison
- with -1 to 0xFFFFFFFF, to ensure 32 bit comparison even on 64 bit
- systems. [Bug: 3878]
-
- * generic/tclFileName.c: improved guessing of path separator
- for the Mac. (Darley)
-
- * generic/tclInt.h:
- * generic/tcl.decls: moved Tcl_ProcObjCmd to stubs table [Bug: 3827]
- and removed 'register' from stub definition of
- Tcl_AppendUnicodeToObj [Bug: 4038]
-
-2000-01-21 Eric Melski <ericm@scriptics.com>
-
- * unix/mkLinks:
- * doc/GetHostName.3: Man page for Tcl_GetHostName (bug #1817).
-
- * doc/lreplace.n: Corrected man page with respect to treatment of
- empty lists, and "prettied up" the page. (bug #1705).
-
-2000-01-20 Eric Melski <ericm@scriptics.com>
-
- * tests/namespace.test: Added test for undefined variables with
- namespace which (bug #956).
-
- * generic/tclNamesp.c: Added check for undefined variables in
- NamespaceWhichCmd (bug #956).
-
- * tests/var.test: Added tests for corrected variable behavior
- (bug #981).
-
- * doc/upvar.n: Expanded explanation of upvar behavior with respect to
- variable traces. (bugs 3917 1433 2110).
-
- * generic/tclVar.c: Changed behavior of variable command when name
- refers to an element in an array (ie, "variable foo(x)") to always
- return an error, regardless of existance of that element in the
- array (now behavior is consistant with docs too) (bug #981).
-
-2000-01-20 Jeff Hobbs <hobbs@scriptics.com>
-
- * generic/tclCmdIL.c (InfoBodyCmd): made [info body] return a
- string if the body has been bytecompiled.
- * generic/tclBasic.c (Tcl_EvalObjEx): added pedantic check for
- originating proc body of bytecompiled code, #def'd out as the
- change for [info body] should make it unnecessary
-
- * unix/tclUnixNotfy.c (Tcl_InitNotifier): added cast for tsdPtr
-
- * tests/set.test: added test for complex array elem name compiling
- * generic/tclCompCmds.c (TclCompileSetCmd): Fixed parsing of array
- elements during compiling, and slightly optimised same [Bug: 3889]
-
- * doc/tclvars.n: added definitions for tcl_(non)wordchars
-
- * doc/vwait.n: added notes about requirement for vwait var being
- globally scoped [Bug: 3329]
-
- * library/word.tcl: changed tcl_(non)wordchars settings to use
- new unicode regexp char class escapes instead of char sequences
-
-2000-01-14 Eric Melski <ericm@scriptics.com>
-
- * tests/var.test: Added a test for the array multiple delete
- protection in Tcl_UnsetVar2.
-
- * generic/tclVar.c: Added protection in Tcl_UnsetVar2 against
- attempts to multiply delete arrays when unsetting them (bug
- #3453). This could happen if there was an unset trace on an array
- element and the trace proc made a global or upvar link to the
- array, and then the array was unset at the global level. See the
- bug reference for more information.
-
- * unix/tclUnixTime.c: New clock format format.
-
- * compat/strftime.c: New clock format format.
-
- * generic/tclGetDate.y: New clock scan format.
-
-2000-01-13 Jeff Hobbs <hobbs@scriptics.com>
-
- * changes: updated changes file to reflect 8.3b2 mods
-
- * README:
- * generic/tcl.h:
- * tools/tcl.wse.in:
- * unix/configure.in:
- * unix/tcl.m4:
- * win/README.binary:
- * win/configure.in: updated to patchlevel 8.3b2
-
- * generic/regexec.c: added var initialization to prevent compiler
- warning
-
-2000-01-13 Eric Melski <ericm@scriptics.com>
-
- * tests/cmdIL.test: Added tests for lsort -dictionary with
- characters that occur between Z and a in ASCII.
-
- * generic/tclCmdIL.c: Modified DictionaryCompare function (used by
- lsort -dictionary) to do upper/lower case equivalency before doing
- character comparisons, instead of after. This fixes bug #1357, in
- which lsort -dictionary [list ` AA c CC] and lsort -dictionary
- [list AA c ` CC] gave different (and both wrong) results.
-
-2000-01-12 Eric Melski <ericm@scriptics.com>
-
- * tests/clock.test: Added tests for "next <day-of-week>" and
- "<day-of-week>"
- Added tests for "monday 1 week ago", etc, from RFE #3671.
-
- * doc/tests/clock.test: Added numerous tests for clock scan.
-
- * doc/generic/tclGetDate.y: Fixed some shift/reduce conflicts in
- clock grammar.
-
- * doc/doc/clock.n: Added documentation for new supported clock
- scan formats and additional explanation of daylight savings time
- correction algorithm.
-
-2000-01-12 Jeff Hobbs <hobbs@scriptics.com>
-
- * doc/file.n:
- * tests/unixFCmd.test:
- * unix/tclUnixFCmd.c: added support for symbolic permissions
- setting in SetPermissionsAttribute (file attr $file -perm ...)
- [Bug: 3970]
-
- * generic/tclClock.c: fixed support for 64bit handling of clock
- values [Bug: 1806]
-
- * generic/tclThreadTest.c: upped a buffer size to hold double
-
- * tests/info.test:
- * generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong)
-
- * generic/tclNamesp.c: made imported commands also import their
- compile proc [Bug: 2100]
-
- * tests/expr.test:
- * unix/Makefile.in:
- * unix/configure.in:
- * unix/tcl.m4: recognize strtod bug on Tru64 v5.0 [Bug: 3378]
- and added tests to prevent unnecessary chmod +x in sources while
- installing, as well as more intelligent setsockopt/gethostbyname
- checks [Bug: 3366, 3389]
-
- * unix/tclUnixThrd.c: added compile time support (through use of
- the TCL_THREAD_STACK_MIN define) for increasing the default stack
- size for a thread. [Bug: 3797, 1966]
-
-2000-01-11 Eric Melski <ericm@scriptics.com>
-
- * generic/tclGetDate.y: Added comments for the Convert function.
- Added a fix for daylight savings time handling for relative time
- spans of days, weeks or fortnights. (bug 3441, 3868).
-
- * generic/tclDate.c: Fixed compiler warning issues.
-
-2000-01-10 Jeff Hobbs <hobbs@scriptics.com>
-
- * compat/waitpid.c: use pid_t type instead of int [Bug: 3999]
-
- * tests/utf.test: fixed test that allowed \8 as octal value
- * generic/tclUtf.c: changed Tcl_UtfBackslash to not allow
- non-octal digits (8,9) in \ooo substs. [Bug: 3975]
-
- * generic/tcl.h: noted need to change win/tcl.m4 and
- tools/tclSplash.bmp for minor version changes
-
- * library/http2.1/http.tcl: trim value for $state(meta) key
-
- * unix/tclUnixFile.c: fixed signature style on functions
-
- * unix/Makefile.in: made sure tcl.m4 would be installed with dist
-
- * unix/tcl.m4: added ELF support for NetBSD [Bug: 3959]
-
-2000-01-10 Eric Melski <ericm@scriptics.com>
-
- * generic/tclGetDate.y: Added rules for ISO 8601 formats (BUG #847):
- CCYY-MM-DD
- CCYYMMDD
- YY-MM-DD
- YYMMDD
- CCYYMMDDTHHMMSS
- CCYYMMDD HHMMSS
- CCYYMMDDTHH:MM:SS
- Fixed "clock scan <number>" to scan the number as an hour for the
- current day, rather than a minute after 00:00 for the current day
- (bug #2732).
-
-
-2000-01-07 Eric Melski <ericm@scriptics.com>
-
- * generic/tclClock.c: Changed switch in Tcl_ClockObjCmd to use
- enumerated values instead of constants. (ie, COMMAND_SCAN instead
- of 3).
-
-1999-12-22 Jeff Hobbs <hobbs@scriptics.com>
-
- * changes: updated changes file
- * tools/tclSplash.bmp: updated to show 8.3
-
-1999-12-21 Jeff Hobbs <hobbs@scriptics.com>
-
- * README:
- * generic/tcl.h:
- * mac/README:
- * unix/configure.in:
- * tools/tcl.wse.in:
- * win/README.binary:
- * win/configure.in: updated to patch level 8.3b1
-
- * unix/Makefile.in: added -srcdir=... for 'make html'
-
- * doc/Hash.3: fixed reference to ckfree [Bug: 3912]
- * doc/RegExp.3: fixed calling params for Tcl_RegExecFromObj
- * doc/open.n: fixed minor formatting errors
- * doc/string.n: fixed minor formatting errors
-
- * doc/lsort.n: added -unique docs
- * tests/cmdIL.test:
- * generic/tclCmdIL.c: added -unique option to lsort
-
- * generic/tclThreadTest.c: changed thread ids to longs [Bug: 3902]
-
- * mac/tclMacOSA.c: fixed applescript for I18N [Bug: 3644]
-
- * win/mkd.bat:
- * win/rmd.bat: removed necessity of tag.txt [Bug: 3874]
-
- * win/tclWinThrd.c: changed CreateThread to _beginthreadex and
- ExitThread to _endthreadex
-
-1999-12-12 Jeff Hobbs <hobbs@scriptics.com>
-
- * doc/glob.n:
- * tests/fileName.test:
- * generic/tclInt.decls:
- * generic/tclInt.h:
- * generic/tclIntDecls.h:
- * generic/tclStubInit.c:
- * generic/tclEncoding.c:
- * generic/tclFileName.c:
- * mac/tclMacFile.c:
- * unix/tclUnixFile.c:
- * win/tclWinFile.c: enhanced the glob command with the new options
- -types -path -directory and -join. Deprecated TclpMatchFiles with
- TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added
- GlobTypeData structure. [Bug: 2363]
-
-1999-12-10 Jeff Hobbs <hobbs@scriptics.com>
-
- * tests/var.test:
- * generic/tclCompile.c: fixed problem where setting to {} array
- would intermittently not work. (Fontaine) [Bug: 3339]
-
- * generic/tclCmdMZ.c:
- * generic/tclExecute.c: optimized INST_TRY_CVT_TO_NUMERIC to
- recognize boolean objects. (Spjuth) [Bug: 2815]
-
- * tests/info.test:
- * tests/parseOld.test:
- * generic/tclCmdAH.c:
- * generic/tclProc.c: changed Tcl_UplevelObjCmd (uplevel) and
- Tcl_EvalObjCmd (eval) to use TCL_EVAL_DIRECT in the single arg
- case as well, to take advantage of potential pure list input
- optimization. This means that it won't get byte compiled though,
- which should be acceptable.
- * generic/tclBasic.c: made Tcl_EvalObjEx pure list object aware in
- the TCL_EVAL_DIRECT case for efficiency.
- * generic/tclUtil.c: made Tcl_ConcatObj pure list object aware,
- and return a list object in that case [Bug: 2098 2257]
-
- * generic/tclMain.c: changed Tcl_Main to not constantly reuse the
- commandPtr object (interactive case) as it could be shared. (Fellows)
-
- * unix/configure.in:
- * unix/tcl.m4:
- * unix/tclUnixPipe.c: removed checking for compatible vfork
- function and use of the vfork function. Modern VM systems rarely
- suffer any performance degradation when fork is used, and it
- solves multiple problems with vfork. Users that still want vfork
- can add -Dfork=vfork to the compile flags. [Bug: 942 2228 1312]
-
-1999-12-09 Jeff Hobbs <hobbs@scriptics.com>
-
- * win/aclocal.m4: made it just include tcl.m4
-
- * doc/exec.n:
- * doc/open.n:
- * win/tclWin32Dll.c:
- * win/tclWinChan.c:
- * win/tclWinFCmd.c:
- * win/tclWinInit.c:
- * win/tclWinPipe.c:
- * win/tclWinSock.c: removed all code that supported Win32s. It
- was no longer officially supported, and likely didn't work anyway.
- * win/makefile.vc: removed 16 bit stuff, cleaned up.
-
- * win/tcl16.rc:
- * win/tclWin16.c:
- * win/winDumpExts.c: these files have been removed from the
- source tree (no longer necessary to build)
-
-1999-12-07 Jeff Hobbs <hobbs@scriptics.com>
-
- * tests/io.test: removed 'knownBug' tests that were for
- unsupported0, which is now fcopy (that already has tests)
-
- * mac/tclMacPort.h: added utime.h include
-
- * generic/tclDate.c:
- * unix/Makefile.in: fixed make gendate to swap const with CONST
- so it uses the Tcl defined CONST type [Bug: 3521]
-
- * generic/tclIO.c: removed panic that could occur in FlushChannel
- when a "blocking" channel would receive EAGAIN, instead treating
- it the same as non-blocking. [Bug: 3773]
-
- * generic/tclUtil.c: fixed Tcl_ScanCountedElement to not step
- beyond the end of the counted string [Bug: 3336]
-
-1999-12-03 Jeff Hobbs <hobbs@scriptics.com>
-
- * doc/load.n: added note about NT's buggy handling of './' with
- LoadLibrary
-
- * library/http2.1/http.tcl: fixed error handling in http::Event
- [Bug: 3752]
-
- * tests/env.test: removed knownBug limitation from working test
- * tests/all.tcl: ensured that ::tcltest::testsDirectory would be
- set to an absolute path
-
- * tests/expr-old.test:
- * tests/parseExpr.test:
- * tests/string.test:
- * generic/tclGet.c:
- * generic/tclInt.h:
- * generic/tclObj.c:
- * generic/tclParseExpr.c:
- * generic/tclUtil.c:
- * generic/tclExecute.c: added TclCheckBadOctal routine to enhance
- error message checking for when users use invalid octal numbers
- (like 08), as well as replumbed the Expr*Funcs with a new
- VerifyExprObjType to simplify type handling. [Bug: 2467]
-
- * tests/expr.test:
- * generic/tclCompile.c: fixed 'bad code length' error for
- 'expr + {[incr]}' case, with new test case [Bug: 3736]
- and seg fault on 'expr + {[error]}' (different cause) that
- was caused by a correct optimization that didn't correctly
- track how it was modifying the source string in the opt.
- The optimization was removed, which means that:
- expr 1 + {[string length abc]}
- will be not be compiled inline as before, but this should be
- written:
- expr {1 + [string length abc]}
- which will be compiled inline for speed. This prevents
- expr 1 + {[mindless error]}
- from seg faulting, and only affects optimizations for
- degenerate cases [Bug: 3737]
-
-1999-12-01 Scott Redman <redman@scriptics.com>
-
- * generic/tcl.decls :
- * generic/tclMain.c :
- * unix/tclAppInit.c:
- * win/tclAppInit.c: Added two new internal functions,
- TclSetStartupScriptFileName() and TclGetStartupScriptFileName()
- and added hooks into the main() code for supporting TclPro and
- other "big" shells more easily without requiring a copy of the
- main() code.
-
- * generic/tclEncoding.c:
- * generic/tclEvent.c: Moved encoding-related startup code from
- tclEvent.c into the more appropriate tclEncoding.c.
-
-1999-11-30 Jeff Hobbs <hobbs@scriptics.com>
-
- * generic/tclIO.c: fix from Kupries for Tcl_UnstackChannel that
- correctly handles resetting translation and encoding.
-
- * generic/tclLoad.c: #def'd out the unloading of DLLs at finalize
- time for Unix in TclFinalizeLoad. [Bug: 2560 3373] Should be
- parametrized to allow for user to specify unload or not.
-
- * win/tclWinTime.c: fixed handling of %Z on NT for time zones
- that don't have DST.
-
-1999-11-29 Jeff Hobbs <hobbs@scriptics.com>
-
- * library/dde1.1/pkgIndex.tcl:
- * library/reg1.0/pkgIndex.tcl: added supported for debugged
- versions of the libraries
-
- * unix/tclUnixPipe.c: fixed PipeBlockModeProc to properly set
- isNonBlocking flag on pipe. [Bug: 1356 710]
- removed spurious fcntl call from PipeBlockModeProc
-
- * tests/scan.test:
- * generic/tclScan.c: fixed scan where %[..] didn't match anything
- and added test case [Bug: 3700]
-
-1999-11-24 Jeff Hobbs <hobbs@scriptics.com>
-
- * doc/open.n:
- * win/tclWinSerial.c: adopted patch from Schroedter to handle
- fconfigure $sock -lasterror on Windows. [RFE: 3368]
-
- * generic/tclCmdIL.c: made SORTMODE_INTEGER work with Longs
- [Bug: 3652]
-
-1999-11-23 Scott Stanton <stanton@scriptics.com>
-
- * library/tcltest1.0/tcltest.tcl: Fixed bug where tcltest output
- went to stdout instead of the specified output file in some
- cases.
-
-1999-11-19 Jeff Hobbs <hobbs@scriptics.com>
-
- * generic/tclProc.c: backed out change from 1999-11-18 as it
- could affect return string from upvar as well.
-
- * tools/tcl.wse.in: added tcltest1.0 library to distribution list
-
- * doc/http.n:
- * library/http2.1/http.tcl:
- * library/http2.1/pkgIndex.tcl: updated http package to 2.2
-
-1999-11-18 Jeff Hobbs <hobbs@scriptics.com>
-
- * unix/tcl.m4: added defined for _THREAD_SAFE in --enable-threads
- case; added check for pthread_mutex_init in libc; in AIX case,
- with --enable-threads ${CC}_r is used; fixed flags when using gcc
- on SCO
-
- * generic/tclProc.c: corrected error reporting for default case
- at the global level for uplevel command.
-
- * generic/tclIOSock.c: changed int to size_t type for len
- in TclSockMinimumBuffers.
-
- * generic/tclCkalloc.c: fixed Tcl_DbCkfree to return a value
- on NULL input. [Bug: 3400]
-
- * generic/tclStringObj.c: fixed support for passing in negative
- length to Tcl_SetUnicodeObj, et al handling routines. [Bug: 3380]
-
- * doc/scan.n:
- * tests/scan.test:
- * generic/tclScan.c: finished support for inline scan by
- supporting XPG identifiers.
-
- * doc/http.n:
- * library/http2.1/http.tcl: added register and unregister
- commands to http:: package (better support for tls/SSL),
- as well as -type argument to http::geturl. [RFE: 2617]
-
- * generic/tclBasic.c: removed extra decr of numLevels in
- Tcl_EvalObjEx that could cause seg fault. (mjansen@wendt.de)
-
- * generic/tclEvent.c: fixed possible lack of MutexUnlock in
- Tcl_DeleteExitHandler [Bug: 3545]
-
- * unix/tcl.m4: Added better pthreads library check and inclusion
- of _THREAD_SAFE in --enable-threads case
- Added support for gcc config on SCO
-
- * doc/glob.n: added note about ..../ glob behavior on Win9*
- * doc/tcltest.n: fixed minor example errors [Bug: 3551]
-
-1999-11-17 Brent Welch <welch@scriptics.com>
- * library/http2.1/http.tcl: Correctly fixed the -timeout
- problem mentioned in the 10-29 change. Also added error
- handling for failed writes on the socket during the protocol.
-
-1999-11-09 Jeff Hobbs <hobbs@scriptics.com>
-
- * doc/open.n: corrected docs for 'a' open mode.
-
- * generic/tclIOUtil.c: changed Tcl_Alloc to ckalloc
-
- * generic/tclInt.h:
- * generic/tclObj.c: rolled back changes from 1999-10-29
- Purify noted new leaks with that code
-
- * generic/tclParse.c: added code in Tcl_ParseBraces to test for
- possible unbalanced open brace in a comment
-
- * library/init.tcl: removed the installed binary directory from
- the auto_path variable
-
- * tools/tcl.wse.in: updated to 8.3a1, fixed install of twind.tcl
- and koi8-r.enc files
-
- * unix/tcl.m4: added recognition of pthreads library for AIX
-
-1999-10-29 Brent Welch <welch@scriptics.com>
- * generic/tclInt.h: Modified the TclNewObj and TclDecrRefCount
- in two ways. First, in the case of TCL_THREADS, we do not use
- the special Tcl_Obj allocator because that is a source of
- lock contention. Second, general code cleanup to eliminate
- duplicated code. In particular, TclDecrRefCount now uses
- TclFreeObj instead of duplicating that code, so it is now
- identical to Tcl_DecrRefCount.
-
- * generic/tclObj.c: Changed Tcl_NewObj so it uses the
- TclNewObj macro instead of duplicating the code. Adjusted
- TclFreeObj so it understands the TCL_THREADS case described
- above.
-
- * library/http2.1/http.tcl: Fixed a bug in the handling of
- the state(status) variable when the -timeout flag is specified.
- Previously it was possible to leave the status undefined
- instead of empty, which caused errors in http::status
-
-1999-10-28 Jeff Hobbs <hobbs@scriptics.com>
-
- * unix/aclocal.m4: made it just include tcl.m4
-
- * library/tcltest1.0/tcltest.tcl: updated makeFile to return
- full pathname of file created
-
- * generic/tclStringObj.c: fixed Tcl_AppendStringsToObjVA so it only
- iterates once over the va_list (avoiding a memcpy of it,
- which is not portable).
-
- * generic/tclEnv.c: fixed possible ABR error in environ array
-
- * tests/scan.test:
- * generic/tclScan.c: added support for use of inline scan,
- XPG3 currently not included
-
- * tests/incr.test:
- * tests/set.test:
- * generic/tclCompCmds.c: fixed improper bytecode handling of
- 'eval {set array($unknownvar) 5}' (also for incr) [Bug: 3184]
-
- * win/tclWinTest.c: added testvolumetype command, as atime is
- completely ignored for Windows FAT file systems
- * win/tclWinPort.h: added sys/utime.h to includes
- * unix/tclUnixPort.h: added utime.h to includes
- * doc/file.n:
- * tests/cmdAH.test:
- * generic/tclCmdAH.c: added time arguments to atime and mtime
- file command methods (support 'touch' functionality)
-
-1999-10-20 Jeff Hobbs <hobbs@scriptics.com>
-
- * unix/tclUnixNotfy.c: fixed event/io threading problems by
- making triggerPipe non-blocking [Bug: 2792]
-
- * library/tcltest1.0/tcltest.tcl:
- * generic/tclThreadTest.c: fixed mem leaks in threads
-
- * generic/tclResult.c: fixed Tcl_AppendResultVA so it only
- iterates once over the va_list (avoiding a memcpy of it,
- which is not portable).
-
- * generic/regc_color.c: fixed mem leak and assertion, from HS
-
- * generic/tclCompile.c: removed savedChar trick that appeared to
- be causing a segv when the literal table was released
-
- * tests/string.test:
- * generic/tclCmdMZ.c: fixed [string index] to return ByteArrayObj
- when indexing into one (test case string-5.16) [Bug: 2871]
-
- * library/http2.1/http.tcl: protected gets with catch [Bug: 2665]
-
-1999-10-19 Jennifer Hom <jenn@scriptics.com>
-
- * tests/tcltest.test:
- * doc/tcltest.n:
- * library/tcltest1.0/tcltest.tcl: Removed the extra return at the
- end of the tcltest.tcl file, added version information about tcl.
-
- Applied patches sent in by Andreas Kupries to add helper procs for
- debug output, add 3 new flags (-testsdir, -load, -loadfile), and
- internally refactors common code for dealing with paths into
- separate procedures. [Bug: 2838, 2842]
-
- Merged code from core-8-2-1 branch that changes the checks for the
- value of tcl_interactive to also incorporate a check for the
- existence of the variable.
-
- * tests/autoMkindex.test:
- * tests/pkgMkIndex.test: Explicitly cd to
- ::tcltest::testsDirectory at the beginning of the test run
-
- * tests/basic.test: Use version information defined in tcltest
- instead of hardcoded version number
-
- * tests/socket.test: package require tcltest before attempting to
- use variable defined in tcltest namespace
-
- * tests/unixInit.test:
- * tests/unixNotfy.test: Added explicit exits needed to avoid
- problems when the tests area run in wish.
-
-1999-10-12 Jim Ingham <jingham@scriptics.com>
-
- * mac/tclMacLoad.c: Stupid bug - we converted the filename to
- external, but used the unconverted version.
- * mac/tclMacFCmd.c: Fix a merge error in the bug fix for [Bug: 2869]
-
-1999-10-12 Jeff Hobbs <hobbs@scriptics.com>
-
- * generic/regc_color.c:
- * generic/regc_cvec.c:
- * generic/regc_lex.c:
- * generic/regc_locale.c:
- * generic/regcomp.c:
- * generic/regcustom.h:
- * generic/regerrs.h:
- * generic/regex.h:
- * generic/regexec.c:
- * generic/regguts.h:
- * generic/tclRegexp.c:
- * generic/tclTest.c:
- * tests/reg.test: updated to Henry Spencer's new regexp engine
- (mid-Sept 99). Should greatly reduce stack space reqs.
-
- * library/tcltest1.0/pkgIndex.tcl: fixed procs in pkgIndex.tcl file
-
- * generic/tclEnv.c: fixed mem leak with putenv and DStrings
- * doc/Encoding.3: corrected docs
- * tests/basic.test: updated test cases for 8.3
- * tests/encoding.test: fixed test case that change system
- encoding to a double-byte one (this causes a bogus mem read
- error for purify)
- * unix/Makefile.in: purify has to use -best-effort to instrument
- * unix/tclAppInit.c: identified potential mem leak when compiling
- tcltest (not critical)
- * unix/tclUnixPipe.c: fixed mem leak in TclpCreateProcess when
- doing alloc between vfork and execvp.
- * unix/tclUnixTest.c: fixed mem leak in findexecutable test command
-
-1999-10-05 Jeff Hobbs <hobbs@scriptics.com>
-
- * {win,mac,unix,tools,}/README:
- * win/README.binary:
- * win/makefile.vc:
- * {win,unix}/configure.in:
- * generic/tcl.h:
- * library/init.tcl: updated to 8.3a1 from 8.2.0.
-
- * library/http2.1/http.tcl: fixed possible use of global c var.
-
- * win/tclWinReg.c: fixed registry command to properly 'get'
- HKEY_PERFORMANCE_DATA root key data. Needs more work.
-
- * generic/tclNamesp.c:
- * generic/tclVar.c:
- * generic/tclCmdIL.c: fixed comment typos
-
- * mac/tclMacFCmd.c: fixed filename stuff to support UTF-8 [Bug: 2869]
-
- * win/tclWinSerial.c: changed SerialSetOptionProc to return
- TCL_OK by default. (patch from Rolf Schroedter)
-
-1999-09-21 Jennifer Hom <jenn@scriptics.com>
-
- * library/tcltest1.0/tcltest.tcl: Applied patches sent in by
- Andreas Kupries to fix typos in comments and ::tcltest::grep,
- fix hook redefinition problems, and change "string compare" to
- "string equal." [Bug: 2836, 2837, 2839, 2840]
-
-1999-09-20 Jeff Hobbs <hobbs@scriptics.com>
-
- * tests/env.test:
- * unix/Makefile.in: added support for AIX LIBPATH env var [Bug: 2793]
- removed second definition of INCLUDE_INSTALL_DIR (the one that
- referenced @includedir@) [Bug: 2805]
- * unix/dltest/Makefile.in: added -lc to LIBS [Bug: 2794]
-
-1999-09-16 Jeff Hobbs <hobbs@scriptics.com>
-
- * tests/timer.test: changed after delay in timer test 6.29 from
- 1 to 10. [Bug: 2796]
-
- * tests/pkg.test:
- * generic/tclPkg.c: fixed package version check to disallow 1.2..3
- [Bug: 2539]
-
- * unix/Makefile.in: fixed gendate target - this never worked
- since RCS was intro'd.
- * generic/tclGetDate.y: updated to reflect previous changes
- to tclDate.c (leap year calc) and added CEST and UCT time zone
- recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954,
- 1245, 1249]
-
- * generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really
- dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc
- and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719]
- and changed Tcl_Alloc, et al to not panic when a alloc request
- for zero came through and NULL was returned (valid on AIX, Tru64)
- [Bug: 2795, etc]
-
- * tests/clock.test:
- * doc/clock.n:
- * generic/tclClock.c: added -milliseconds switch to clock clicks
- to guarantee that the return value of clicks is in the millisecs
- granularity [Bug: 2682, 1332]
-
-1999-09-15 Jeff Hobbs <hobbs@scriptics.com>
-
- * generic/tclIOCmd.c: fixed potential core dump in conjunction
- with stacked channels with result obj manipulation in
- Tcl_ReadChars [Bug: 2623]
-
- * tests/format.test:
- * generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605]
-
- * doc/msgcat.n: fixed \\ bug in example [Bug: 2548]
-
- * unix/tcl.m4:
- * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition
- [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610]
-
- * doc/array.n:
- * tests/var.test:
- * tests/set.test:
- * generic/tclVar.c: added an array unset operation, with docs
- and tests. Variation of [Bug: 1775]. Added fix in TclArraySet
- to check when trying to set in a non-existent namespace. [Bug: 2613]
-
-1999-09-14 Jeff Hobbs <hobbs@scriptics.com>
-
- * tests/linsert.test:
- * doc/linsert.n:
- * generic/tclCmdIL.c: fixed end-int interpretation of linsert
- to correctly calculate value for end, added test and docs [Bug: 2693]
-
- * doc/regexp.n:
- * doc/regsub.n:
- * tests/regexp.test:
- * generic/tclCmdMZ.c: add -start switch to regexp and regsub
- with docs and tests
-
- * doc/switch.n: added proper use of comments to example.
- * generic/tclCmdMZ.c: changed switch to complain when an error
- occurs that seems to be due to a misplaced comment.
-
- * generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions
- in regsub [Bug: 2723]
-
- * generic/tclCmdMZ.c: changed [string equal] to return an Int
- type object (was a Boolean)
-
-1999-09-01 Jennifer Hom <jenn@scriptics.com>
-
- * library/tcltest1.0/tcltest.tcl: Process command-line arguments
- only ::tcltest doesn't have a child namespace (requires that
- command-line args are processed in that namespace)
-
-1999-09-01 Jeff Hobbs <hobbs@scriptics.com>
-
- * generic/tclParseExpr.c: changed '"' to '\"' to make FreeBSD
- happy [Bug: 2625]
- * generic/tclProc.c: moved static buf to better location and
- changed static msg that would overflow in ProcessProcResultCode
- [Bug: 2483] and added Tcl_DStringFree to Tcl_ProcObjCmd.
- Also reworked size of static buffers.
- * tests/stringObj.test: added test 9.11
- * generic/tclStringObj.c: changed Tcl_AppendObjToObj to
- properly handle the 1-byte dest and mixed src case where
- both had had Unicode string len checks made on them. [Bug: 2678]
- * unix/aclocal.m4:
- * unix/tcl.m4: adjusted fix from 8-21 to add -bnoentry to the
- AIX-* case and readjusted the range
-
-1999-08-31 Jennifer Hom <jenn@scriptics.com>
-
- * library/tcltest1.0/tcltest.tcl:
- * doc/tcltest.n:
- * tests/README: Modified testConstraints variable so that it isn't
- unset every time ::tcltest::initConstraints is called and cleaned up
- documentation in the README file and the man page.
-
-1999-08-27 Jennifer Hom <jenn@scriptics.com>
-
- * tests/env.test:
- * tests/exec.test:
- * tests/io.test:
- * tests/event.test:
- * tests/tcltest.test: Added 'exit' calls to scripts that the tests
- themselves write, and removed accidental checkin of knownBugThreaded
- constraints for Solaris and Linux.
-
- * library/tcltest1.0/tcltest.tcl: Modified tcltest so that
- variables are only initialized to their default values if they did
- not previously exist.
-
-1999-08-26 Jennifer Hom <jenn@scriptics.com>
-
- * tests/tcltest.test:
- * library/tcltest1.0/tcltest.tcl: Added a -args flag that sets a
- variable named ::tcltest::parameters based on whatever's being
- sent in as the argument to the -args flag.
-
-1999-08-23 Jennifer Hom <jenn@scriptics.com>
-
- * tests/tcltest.test: Added additional tests for -tmpdir, marked
- all tests that use exec as unixOrPc.
-
- * tests/encoding.test:
- * tests/interp.test:
- * tests/macFCmd.test:
- * tests/parseOld.test:
- * tests/regexp.test: Applied patches from Jim Ingham to add
- encoding to a Mac only interp test, change an error message in
- macFCmd.tet, put a comment in parseOld.test, fix tests using the
- testencoding path command, and put unixOrPc constraints on tests
- that use exec.
-
-1999-08-21 Jeff Hobbs <hobbs@scriptics.com>
-
- * unix/aclocal.m4: Changed AIX-4.[2-9] check to AIX-4.[1-9]
- [Bug: 1909]
-
-1999-08-20 Jeff Hobbs <hobbs@scriptics.com>
->>>>>>> 1.1.1.5
-
-<<<<<<< ChangeLog
-Thu Apr 20 17:01:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
-=======
- * generic/tclPosixStr.c: fixed typo [Bug: 2592]
->>>>>>> 1.1.1.5
-
-<<<<<<< ChangeLog
- From Alexandre Oliva <aoliva@cygnus.com>
- * generic/tclPosixStr.c (Tcl_SignalId, Tcl_SignalMsg): Do not
- issue SIGPWR case if it's the same as SIGLOST.
-=======
- * doc/*: fixed various nroff bugs in man pages [Bug: 2503 2588]
->>>>>>> 1.1.1.5
-
-<<<<<<< ChangeLog
-2000-01-26 DJ Delorie <dj@cygnus.com>
-=======
-1999-08-19 Jeff Hobbs <hobbs@scriptics.com>
->>>>>>> 1.1.1.5
-
-<<<<<<< ChangeLog
- * win/tclWin32Dll.c (DllMain): Use standard _imp__reent_data,
- not old-style __imp_reent_data
- * generic/tclEnv.c (environ): ditto for _imp____cygwin_environ
-
-2000-01-17 Drew Moseley <dmoseley@cygnus.com>
-=======
- * win/README.binary: fixed version info and some typos [Bug: 2561]
-
- * doc/interp.n: updated list of commands available in a safe
- interpreter [Bug: 2526]
-
- * generic/tclIO.c: changed Tcl_GetChannelNames* to use style guide
- headers (pleases HP cc)
->>>>>>> 1.1.1.5
-
-<<<<<<< ChangeLog
- * cygwin/configure.in: Fixed bug in setting of shell variable which
- caused it to be interpreted as a subcommand rather than a variable.
- * cygwin/configure: Regenerated.
-=======
-1999-08-18 Jeff Hobbs <hobbs@scriptics.com>
->>>>>>> 1.1.1.5
-
-<<<<<<< ChangeLog
-1999-11-09 DJ Delorie <dj@cygnus.com>
-=======
- * doc/Eval.3: fixed doc on input args [Bug: 2114]
-
- * doc/OpenFileChnl.3:
- * doc/file.n:
- * tests/cmdAH.test:
- * tclIO.c:
- * tclCmdAH.c: added "file channels ?pattern?" tcl command, with
- associated Tcl_GetChannelNames and Tcl_GetChannelNamesEx public
- C APIs (added to tcl.decls as well), with docs and tests.
-
- * tests/expr.test:
- * generic/tclCompile.c: add TCL_TOKEN_VARIABLE to the part types
- that cause differed compilation for exprs, to correct the expr
- double-evaluation problem for vars. Added test cases.
- Related to [Bug: 732]
-
- * unix/Makefile.in: changed the dependency structure so that
- install-* is dependent on * (ie - install-binaries is dependent
- on binaries).
-
- * library/auto.tcl:
- * library/init.tcl:
- * library/ldAout.tcl:
- * library/package.tcl:
- * library/safe.tcl:
- * library/word.tcl:
- * library/http2.1/http.tcl:
- * library/msgcat1.0/msgcat.tcl: updated libraries to better
- Tcl style guide (no more string comparisons with == or !=, spacing
- changes).
-
-1999-08-05 Jim Ingham <jingham@cygnus.com>
-
- * mac/tclMacProjects.sea.hqx: Rearrange the projects so that the build
- directory is separate from the sources. Much more convenient!
-
-1999-08-13 Scott Redman <redman@scriptics.com>
-
- * /: 8.2.0 tagged for final release
-
-1999-08-12 Scott Stanton <stanton@scriptics.com>
-
- * win/Makefile.in: Added COMPILE_DEBUG_FLAGS macro to make it
- easier to turn on compiler tracing.
-
- * tests/parse.test:
- * generic/tclParse.c: Fixed bug in Tcl_EvalEx where the termOffset
- was not being updated in cases where the evaluation returned a non
- TCL_OK error code. [Bug: 2535]
-
-1999-08-12 Scott Redman <redman@scriptics.com>
-
- * win/tclWinSerial.c: Applied patch from Petteri Kettunen to
- remove compiler warning.
-
-1999-08-10 Scott Redman <redman@scriptics.com>
-
- * generic/tclAlloc.c:
- * generic/tclCmdIL.c:
- * generic/tclIO.c:
- * generic/tclThread.c:
- * win/tclWinThrd.c:
- * unix/tclUnixThrd.c: Fixed Brent's changes so that they work on
- Windows (and he fixed the bug in the Unix thread implementation).
-
-1999-08-09 Brent Welch <welch@scriptics.com>
-
- * generic/tcl.decls:
- * generic/tclAlloc.c:
- * generic/tclCkalloc.c:
- * generic/tclCmdIL.c:
- * generic/tclDecls.h:
- * generic/tclIO.c:
- * generic/tclInt.decls:
- * generic/tclIntDecls.h:
- * generic/tclStubInit.c:
- * generic/tclVar.c:
- * mac/tclMacThrd.c:
- * unix/tclUnixThrd.c:
- * win/tclWinThrd.c: Added use of Tcl_GetAllocMutex to tclAlloc.c
- and tclCkalloc.c so they can be linked against alternate thread
- packages. Added Tcl_GetChannelNames to tclIO.c. Added
- TclVarTraceExists hook so "info exists" triggers read traces
- exactly like it did in Tcl 7.6. Stubs table changes to reflect new
- internal and external APIs.
-
-1999-08-09 Jeff Hobbs <hobbs@scriptics.com>
-
- * tests/string.test: added largest_int proc to adapt for >32 bit
- machines and int overflow testing.
- * tests/tcltest.test: fixed minor error in 8.2 result (from dgp)
-
- * doc/Object.3: clarified Tcl_DecrRefCount docs [Bug: 1952]
- * doc/array.n: clarified array pattern docs [Bug: 1330]
- * doc/clock.n: fixed clock docs [Bug: 693]
- * doc/lindex.n: clarified to account for new end-int behavior.
- * doc/string.n: fixed formatting errors [Bug: 2188 2189]
- * doc/tclvars.n: fixed doc error [Bug: 2042]
- * library/init.tcl: fixed path handling in auto_execok (it could
- miss including the normal path on some Windows machines) [Bug: 1276]
-
-1999-08-05 Jeff Hobbs <hobbs@scriptics.com>
-
- * doc/tclvars.n: Made it clear that tcl_pkgPath was not set
- for Windows (already mentioned in init.tcl) [Bug: 2455]
- * generic/tclLiteral.c: fixed reference to bytes that might
- not be null terminated (using objPtr->bytes, which is) [Bug: 2496]
- * library/http2.1/http.tcl: Made use of "i" in init section use
- local var and start at 0 (was 1). [Bug: 2502]
-
-1999-08-04 Scott Stanton <stanton@scriptics.com>
-
- * tests/reg.test: Added test for REG_EXPECT bug fixed by Henry's
- patch.
-
- * generic/regc_nfa.c:
- * generic/regcomp.c:
- * generic/rege_dfa.c:
- * generic/regexec.c:
- * generic/regguts.h: Applied patches supplied by Henry Spencer to
- greatly enhance the performance of certain classes of regular
- expressions. [Bug: 2440, 2447]
-
-1999-08-03 Scott Redman <redman@scriptics.com>
->>>>>>> 1.1.1.5
-
-<<<<<<< ChangeLog
- * cygwin/*: redone with automake for cygwin-specific info (from cgf)
- to support cross-host builds
-=======
- * win/tclWinInt.h: Remove function declarations in header that was
- moved to tclInt.decls file in previous changes.
->>>>>>> 1.1.1.5
-
-<<<<<<< ChangeLog
-1999-10-26 DJ Delorie <dj@cygnus.com>
-
- * cygwin/*: new; replicate unix/* setup (other modules look
- in unix/* for "local" builds; we don't want them to find the
- cygwin version)
- * unix/Makefile.in: undo
- * configure.in: For cygwin, build win and cygwin
- * Makefile.in: re-enable multi-dir support
-
-Tue Oct 26 13:16:09 1999 Christopher Faylor <cgf@cygnus.com>
-
- * win/configure.in: Add better detection of cross-compilation
- environment.
- * win/configure: Regenerate.
-=======
-1999-08-02 Scott Redman <redman@scriptics.com>
-
- * unix/configure.in:
- * win/configure.in: Change beta level to b2.
-
- * generic/tcl.h:
- * generic/tcl.decls:
- * generic/tclDecls.h:
- * generic/tclInt.h:
- * generic/tclInt.decls:
- * generic/tclIntDecls.h:
- * generic/tclRegexp.h:
- * generic/tclStubInit.c: Move some exported public and internal
- functions to the stub tables. Removed functions that are in the
- stub tables (from this and previous changes) from the original
- header files.
-
-1999-08-01 Scott Redman <redman@scriptics.com>
-
- * win/tclWinSock.c: Added comment block to SocketThread()
- function. Added code to avoid calling TerminateThread(), but
- instead to send a message to the socket event window to tell it to
- terminate its thread.
-
-1999-07-30 Jennifer Hom <jenn@scriptics.com>
-
- * tests/tcltest.test:
- * library/tcltest1.0/tcltest.tcl: Exit with non-zero status if
- there were problems with the way the test suite was started
- (e.g. wrong # arguments).
-
-1999-07-30 Jeff Hobbs <hobbs@scriptics.com>
-
- * generic/tclInt.decls: added declaractions necessary for the
- Tcl test code to work wth stubs [Bug: 2445]
-
-1999-07-30 <redman@scriptics.com>
-
- * win/tclWinPipe.c:
- * win/Makefile.in: Fixing launching of 16-bit apps on Win9x from
- wish. The command line was primed with tclpip82.dll, but it was
- ignored. Fixed that, then fixed the gmake makefile to build
- tclpip82.dll as an executable.
-
- * win/tclWinSock.c: Applied small patch to get thread-specific
- data after initializing the socket driver.
-
- * unix/tclUnixThrd.c: Applied patch to fix threads on Irix 6.5.
- Patch from James Dennett. [Bug: 2450]
-
- * tests/info.test: Enable test for tclParse.c change (info
- complete).
-
-1999-07-30 <hobbs@scriptics.com>
-
- * tclIO.c: added fix for Kupries' trf patch [Bug: 2386]
-
- * tclParse.c: fixed bug in info complete regarding nested square
- brackets [Bug: 2382, 2466]
-
-1999-07-29 <redman@scriptics.com>
-
- * win/tclWinChan.c: Allow tcl to open CON and NUL, even for std
- channels. Checking for bad/unusable std channels was moved to Tk
- since its only purpose was to check whether to use the Tk Console
- Window for the std channels. [Bug: 2393 2392 2209 2458]
-
- * unix/mkLinks.tcl: Applied patch to avoid linking pack.n to
- pack-old.n. Patch from Don Porter. [Bug: 2469]
-
- * doc/Encoding.n: Applied patch to fix typo in .SH NAME line.
- Patch from Don Porter. [Bug: 2451]
-
- * win/tclWinSock.c: Free Win32 Event handles when destroying
- the socket helper thread.
-
-1999-07-28 <jenn@scriptics.com>
-
- * tests/tcltest.test:
- * library/tcltest1.0/tcltest.tcl: Fixed the condition under which
- ::tcltest::PrintError had an infinite loop problem and added a
- test case for it. Added an optional argument to
- ::tcltest::getMatchingFiles telling it where to search for test
- files.
-
-1999-07-27 <redman@scriptics.com>
-
- * tools/tclSplash.bmp: Updated Windows installer bitmap
- to ready Tcl/Tk Version 8.2.
-
-1999-07-26 <redman@scriptics.com>
-
- * tests/tcltest.test: Need to close the new core file, there
- seems to be a hang in threaded WinNT if the file isn't closed.
- Open issue, need to fix that hang.
-
- * tests/httpold.test: Add time delay in response from Http server
- so that test cases can properly detect timeout conditions with
- threads enabled on multi-CPU WinNT.
-
- * tests/winFCmd.test: Test case winFcmd-1.33 was looking for
- c:\windows, which may not exist. Instead, create a new directory
- on c:\ and use it for the test.
-
- * win/tclWinConsole.c:
- * win/tclWinPipe.c:
- * win/tclWinSock.c: Fix terminating helper threads by holding any
- mutexes from the primary thread while waiting for the helper
- thread to terminate. Without these changes, the test suite hangs
- on WinNT with 2 CPUs and threads enabled. Open issue, seems to be
- a sporadic hang on dual CPU systems still (very rare).
-
-1999-07-26 Jennifer Hom <jenn@scriptics.com>
+ * library/tcltest/tcltest.tcl: restored writeability testing of
+ -tmpdir, augmented by a special exception for the deafault value.
- * tests/tcltest.test:
- * library/tcltest1.0/tcltest.tcl:
- * doc/tcltest.n: Cleaned up code in ::tcltest::PrintError, revised
- documentation, and added tests for the tcltest package.
-
-1999-07-23 <redman@scriptics.com>
-
- * tests/info.test:
- * generic/tclParse.c: Removed patch for info command, breaks test
- cases on Unix. Patch was bad and needs to be redone
- properly. [Bug: 2382]
-
-1999-07-22 <redman@scriptics.com>
-
- * Changed version to 8.2b2.
-
- * win/tclWinSock.c: Fixed hang with threads enabled, fixed
- semaphores with threads disabled.
-
- * win/safe.test: Fixed safe-6.3 with threads enabled.
-
- * win/Makefile.in: Fixed calling of tcltest to fix safe.test
- failures due to path TCL_LIBRARY path.
-
- * win/tclWinPort.h: Block out include of sys/*.h in order to
- build extensions with MetroWerks compiler for Win32. [Bug: 2385]
-
- * generic/tclCmdMZ.c:
- * generic/tclIO.c: Fix ANSI-style prototypes based on patch from
- Ulrich Ring. [Bug: 2391]
-
- * unix/Makefile.in: Need to make install-sh executable before
- calling (with chmod +x). [Bug: 2413]
-
- * tests/var.test:
- * generic/tclVar.c: Fixed bug that caused a seg. fault when using
- "array set a(b) {}", which is a bad array name anyway. Now the
- "array set" command will return an error in this case. Added test
- case and fixed existing test. [Bug: 2427]
-
-1999-07-21 <redman@scriptics.com>
-
- * tests/info.test:
- * generic/tclParse.c: Applied patch to fix "info complete"
- for the string {[a [b]}. Patch from Peter Spjuth. [Bug: 2382]
-
- * doc/Utf.3:
- * generic/tcl.decls:
- * generic/tclDecls.h:
- * generic/tclUtf.c: Changed function declarations in
- non-platform-specific public APIs to use "unsigned long" instead of
- "size_t", which may not be defined on certain compilers (rather
- than include sys/types.h, which may not exist).
-
- * unix/Makefile.in: Added the Windows configure script to the
- distribution file list, already shipping configure.in and the .m4
- files, but needed the configure script itself.
-
- * win/makefile.vc: Changed version number of DDE package in VC++
- makefile to use 1.1 instead of 1.0.
-
- * doc/open.n: Added documentation of \\.\comX notation for opening
- serial ports on Windows (alternative to comX:).
-
- * tests/ioCmd.test:
- * doc/open.n:
- * win/tclWinSerial.c: Applied patch from Rolf Schroedter to add
- -pollinterval option to fconfigure to modify the maxblocktime used
- in the fileevent polling. Added documentation and fixed the test
- case as well.
-
- * win/tclWinSock.c: Modified 8.1.0 version of the Win32 socket
- driver to move the handling of the socket event window in a
- separate thread. It also turned out that Win95 & Win98 were, in
- some cases, getting multiple FD_ACCEPTs but only handling one.
- Added a count for the FD_ACCEPT to take care of this. Tested on
- NT4 SP3, NT4 SP4, Win95, and Win98.
- [Bug: 2178 2256 2259 2329 2323 2355]
-
-1999-07-21 <jpeek@scriptics.com>
-
- * README: Small tweaks to clean up typos and wording.
-
-1999-07-20 Melissa Hirschl <hershey@matisse.scriptics.com>
-
- * generic/tclInitScript.h:
- * unix/tclUnixInit.c: merged code with 8.0.5. We now use an
- intermediate global tcl var "tclDefaultLibrary" to keep the
- "tcl_library" var from being set by the default value in the
- Makefile. Also fixed a bug in which caused the value of
- TCL_LIBRARY env var to be ignored.
- * unix/tclWinInit.c: just updated some comments.
-
-1999-07-19 Melissa Hirschl <hershey@matisse.scriptics.com>
-
- * library/http2.1/http.tcl: updated -useragent text to say version
- 2.1.
+2002-07-01 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-1999-07-16 <redman@scriptics.com>
+ * doc/concat.n: Documented the *real* behaviour of [concat]!
- * generic/tcl.decls:
- * generic/tclDecls.h:
- * generic/tclStubInit.c: Add Tcl_SetNotifier to stub table.
- [Bug: 2364]
-
- * unix/aclocal.m4:
- * unix/tcl.m4: Add check for Alpha/Linux to correct the IEEE
- floating flag to the compiler, should be -mieee. Patch from Don
- Porter.
-
- * tools/tcl.hpj.in: Change version number of .cnt file referenced
- in .HPJ file.
-
-1999-07-15 <redman@scriptics.com>
-
- * tools/tcl.wse.in: Fixed naming of target files for Windows.
-
-1999-07-14 <jpeek@scriptics.com>
-
- * doc/re_syntax.n: Deleted sentence as suggested by Scott S.
-
-1999-07-12 <jpeek@scriptics.com>
-
- * doc/re_syntax.n: Removed two notes to myself (oops), cleaned
- up wording, fixed changebars, made two examples easier to read.
-
-1999-07-11 <redman@scriptics.com>
-
- * win/makefile.vc: Since the makefile.vc should continue to work
- while we're working out bugs/issues in the new TEA-style
- autoconf/configure/gmake build mechanism for Windows, the version
- numbers of the Tcl libraries need to remain in sync. Modified the
- version numbers in the makefile to reflect the change to 8.2b1.
-
-1999-07-09 <redman@scriptics.com>
-
- * win/configure.in: Eval DLLSUFFIX, LIBSUFFIX, and EXESUFFIX in
- the configure script so that substitutions get expanded before
- being placed in the Makefile. The "d" portion for debug libraries
- and DLLs was not being set properly.
-
-1999-07-08 <stanton@scriptics.com>
-
- * tests/string.test:
- * generic/tclCmdMZ.c: Fixed bug in string range bounds checking
- code.
+2002-06-30 Don Porter <dgp@users.sourceforge.net>
-1999-07-08 Jennifer Hom <jenn@scriptics.com>
+ * doc/tcltest.n: more work in progress updating tcltest docs.
- * doc/tcltest.n:
- * library/tcltest1.0/tcltest.tcl: Removed -asidefromdir and
- -relateddir flags, removed unused ::tcltest::dotests proc, cleaned
- up implementation of core file checking, and fixed the code that
- checks for 1-letter flag abbreviations.
-
-1999-07-08 <stanton@scriptics.com>
-
- * win/Makefile.in: Added tcltest target so runtest works
- properly. Added missing names to the clean/distclean targets.
-
- * tests/reg.test:
- * generic/rege_dfa.c: Applied fix supplied by Henry Spencer for
- bug in DFA state caching under lookahead conditions. [Bug: 2318]
-
-1999-07-07 <stanton@scriptics.com>
-
- * doc/fconfigure.n: Clarified default buffering behavior for the
- standard channels. [Bug: 2335]
-
-1999-07-06 <redman@scriptics.com>
+ * tests/README: Updated the instructions on running and
+ * tests/cmdMZ.test: adding to the test suite. Also updated
+ * tests/encoding.test: several tests, mostly to correctly create
+ * tests/fCmd.test: and destroy any temporary files in the
+ * tests/info.test: [temporaryDirectory] of tcltest.
+ * tests/interp.test:
- * win/tclWinSerial.c: New implementation of serial port driver
- from Rolf Shroedter (Rolf.Schroedter@dlr.de) that allows more than
- one byte to be read from the port. Implemented using polling
- instead of threads, there is a max. 10ms latency between checking the
- port for file events. [Bug: 1980 2217]
+ * library/tcltest/tcltest.tcl: Stopped checking for writeability
+ of -tmpdir value because no default directory can be guaranteed to
+ be writeable.
-1999-07-06 <welch@scriptics.com>
+ * tests/autoMkindex.tcl: removed.
+ * tests/pkg/samename.tcl: removed.
+ * tests/pkg/magicchar.tcl: removed.
+ * tests/pkg/magicchar2.tcl: removed.
+ * tests/autoMkindex.test: Updated auto_mkIndex tests to use
+ [makeFile] and [removeFile] so tests are done in [temporaryDirecotry]
+ where write access is guaranteed.
- * library/http2.0/http.tcl: Fixed the -timeout option so it
- handles timeouts that occur during connection attempts to
- hosts that are down (the only case that really matters!)
+ * library/tcltest/tcltest.tcl: Fixed [makeFile] and [viewFile] to
+ * tests/cmdAH.test: accurately reflect a file's contents.
+ * tests/event.test: Updated tests that depended on buggy
+ * tests/http.test: behavior. Also added warning messages
+ * tests/io.test: to "-debug 1" operations to debug test
+ * tests/iogt.test: calls to (make|remove)(File|Directory).
-1999-07-03 <welch@scriptics.com>
+ * unix/mkLinks: `make mklinks` on 6-27 commits.
- * doc/ChnlStack.3:
- * generic/tcl.decls:
- * generic/tclIO.c: Added a new variant of the "Trf patch"
- from Andreas Kupres that adds new C APIs Tcl_StackChannel,
- Tcl_UnstackChannel, and Tcl_GetStackedChannel.
+2002-06-28 Miguel Sofer <msofer@users.sourceforge.net>
-1999-07-03 <welch@scriptics.com>
+ * generic/tclCompile.h: modified the macro TclEmitPush to not
+ call its first argument repeatedly or pass it to other macros,
+ [Bug 575194] reported by Peter Spjuth.
- * generic/tclNotify.c:
- * unix/tclUnixNotfy.c:
- * unix/tclXtTest.c:
- * unix/tclXtNotify.c:
- * win/tclWinNotify.c:
- * mac/tclMacNotify.c: Added Tcl_SetNotifier and the associated
- hook points in the notifiers to be able to replace the notifier
- calls at runtime The Xt notifier and test program use this hook.
+2002-06-28 Don Porter <dgp@users.sourceforge.net>
-1999-07-03 <welch@scriptics.com>
+ * docs/tcltest.n: Doc revisions in progress.
+ * library/tcltest/tcltest.tcl: Corrected -testdir default value.
+ Was not reliable, and disagreed with docs! Thanks to Hemang Lavana.
+ [Bug 575150]
- * generic/tclParse.c: Changed parsing of variable names to
- allow empty array names. Now "$(foo)" is a variable reference!
- Previous you had to use something like $::(foo), which is slower.
- This change is requested by Jean-Luc Fontaine for his STOOOP
- package.
+2002-06-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-1999-07-01 <redman@scriptics.com>
+ * unix/tclUnixThrd.c: Renamed the Tcl_Platform* #defines to
+ * unix/tclUnixPipe.c: TclOS* because they are only used
+ * unix/tclUnixFile.c: internally. Also stopped double-#def
+ * unix/tclUnixFCmd.c: of TclOSlstat [Bug #566099, post-rename]
+ * unix/tclUnixChan.c:
+ * unix/tclUnixPort.h:
- * generic/tclCmdAH.c:
- * generic/tclFCmd.c: Call TclStat instead of TclpStat in order to
- allow Tcl_Stat hooks to work properly.
+ * doc/string.n: Improved documentation for [string last] along
+ lines described in Bug #574799 so it indicates that the supplied
+ index marks the end of the search space.
-1999-06-29 Jennifer Hom <jenn@scriptics.com>
+2002-06-27 Don Porter <dgp@users.sourceforge.net>
- * library/tcltest1.0/pkgIndex.tcl:
- * library/tcltest1.0/tcltest.tcl:
+ * doc/dde.n: Work in progress updating the documentation
+ * doc/http.n: of the packages that come bundled with
+ * doc/msgcat.n: the Tcl source distribution, notably tcltest.
+ * doc/registry.n:
* doc/tcltest.n:
- * tests/all.tcl: Added -preservecore, -limitconstraints, -help,
- -file, -notfile, -relateddir and -asidefromdir flags to the
- tcltest package along with exported proc
- ::tcltest::getMatchingFiles. The documentation was modified to
- match and all.tcl was modified to use the new functionality
- instead of implementing -file itself.
-
-1999-06-28 <redman@scriptics.com>
-
- * generic/tclIndexObj.c:
- * doc/GetIndex.3:
- * tests/binary.test:
- * tests/winDde.test: Applied patch from Peter Hardie (with
- changes) to fix problem with Tcl_GetIndexFromObj() when the key
- being passed is the empty string. It used to match "" and return
- TCL_OK, but it should have returned TCL_ERROR instead. Added test
- case to "binary" and "dde" commands to check the behavior. Added
- documentation note as well.
-
-1999-06-26 <redman@scriptics.com>
-
- * win/tclWinDde.c: Applied patch from Peter Hardie to add poke
- command to dde. Also rev'd version of dde package to 1.1.
- [Bug: 1738]
-
-1999-06-25 Jennifer Hom <jenn@scriptics.com>
-
- * unix/Makefile.in:
- * win/Makefile.in:
- * library/tcltest1.0/pkgIndex.tcl:
- * library/tcltest1.0/tcltest.tcl:
- * library/tcltest1.0: Added initial implementation of the Tcl test
- harness package. This package was based on the defs.tcl file that
- was part of the tests directory. Reversed the way that tests were
- evaluated to fix a problem with false passes.
-
- * doc/tcltest.n: Added documentation for the tcltest package.
-
- * tests/README:
- * tests/defs.tcl:
- * tests/all.tcl: Modified all test files (tests/*.test) and
- all.tcl to use the new tcltest package and removed references to
- the defs.tcl file. Modified the README file to point to the man
- page for tcltest.
-
-1999-06-25 <stanton@scriptics.com>
-
- * tests/reg.test:
- * generic/regexec.c: Fixed bugs in non-greedy quantifiers.
-
-1999-06-23 <jpeek@scriptics.com>
-
- * doc/re_syntax.n:
- * doc/switch.n:
- * doc/lsearch.n:
- * doc/RegExp.3:
- * doc/regexp.n:
- * doc/regsub.n: Moved information about syntax of 8.1 regular
- expressions from regexp(n) manpage into new re_syntax(n) page.
- Added pointers from other manpages to new re_syntax(n) page.
-
-1999-06-23 <stanton@scriptics.com>
-
- * unix/Makefile.in: Changed install-doc to install-man.
-
- * tools/uniParse.tcl:
- * tools/uniClass.tcl:
- * tools/README:
- * tests/string.test:
- * generic/regc_locale.c:
- * generic/tclUniData.c:
- * generic/tclUtf.c:
- * doc/string.n: Updated Unicode character tables to reflect latest
- Unicode 2.1 data. Also rationalized "regexp" and "string is"
- definitions of character classes.
-
-1999-06-21 <stanton@scriptics.com>
-
- * unix/tclUnixThrd.c (TclpThreadCreate): Fixed memory leak where
- thread attributes were not being released. [Bug: 2254]
-
-1999-06-17 <stanton@scriptics.com>
-
- * tests/regexp.test:
- * generic/tclCmdMZ.c:
- * generic/tclCmdIL.c: Changed to use new regexp interfaces. Added
- -expanded, -line, -linestop, and -lineanchor switches to regsub.
-
- * doc/RegExp.3: Documented the new regexp interfaces and
- the compile/execute flags.
-
- * generic/tclTest.c:
- * generic/tclRegexp.h:
- * generic/tclRegexp.c:
- * generic/tcl.h:
- * generic/tcl.decls: Renamed Tcl_RegExpMatchObj to
- Tcl_RegExpExecObj and added a new Tcl_RegExpMatchObj that is
- equivalent to Tcl_RegExpMatch. Added public macros for the regexp
- compile/execute flags. Changed to store either an object pointer
- or a string pointer in the TclRegexp structure. Changed to avoid
- adding a reference to the object or copying the string.
-
- * generic/regcomp.c: lint
-
- * tests/reg.test:
- * generic/regex.h:
- * generic/regc_lex.c: Added REG_BOSONLY flag to allow Expect to
- iterate through a string an only find matches that start at the
- current position within the string.
-
-1999-06-16 <wart@scriptics.com>
-
- * unix/configure.in:
- * unix/Makefile.in:
- * unix/tcl.m4:
- * unix/aclocal.m4: Numerous build changes to make Tcl conform to the
- proposed TEA spec
-
-1999-06-16 Melissa Hirschl <hershey@matisse.scriptics.com>
-
- * generic/tclVar.c (Tcl_VariableObjCmd): fixed premature increment
- in loop that was causing out-of-bounds reads on array "varName".
-
-1999-06-16 <stanton@scriptics.com>
-
- * tests/execute.test:
- * generic/tclExecute.c (TclExecuteByteCode): Fixed crash caused by
- a bug in INST_LOAD_SCALAR1 where the scalar index was read as
- a signed 1 byte value instead of unsigned. [Bug: 2243]
-
-1999-06-14 Melissa Hirschl <hershey@matisse.scriptics.com>
-
- * doc/StringObj.3
- * test/stringObj.test
- * unix/Makefile.in
- * win/Makefile.in
- * win/makefile.vc
- * generic/tclStringObj.c:
- Merged String and Unicode object types. Added new functions to
- the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj,
- Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange,
- Tcl_AppendUnicodeToObj.
-
-1999-06-09 <stanton@scriptics.com>
-
- * generic/tclUnicodeObj.c: Lots of cleanup and simplification.
- Fixed several memory bugs. Added TclAppendUnicodeToObj.
-
- * generic/tclInt.h: Added declarations for various Unicode string
- functions.
-
- * generic/tclRegexp.c:
- * generic/tclCmdMZ.c: Changed to use new Unicode string interfaces
- for better performance.
-
- * generic/tclRegexp.h:
- * generic/tclRegexp.c:
- * generic/tcl.h:
- * generic/tcl.decls: Added Tcl_RegExpMatchObj and
- Tcl_RegExpGetInfo calls to access lower level regexp API. These
- features are needed by Expect. This is a preliminary
- implementation pending final review and cleanup.
-
- * generic/tclCmdMZ.c:
- * tests/string.test: Fixed bug where string map failed on null
- strings.
-
- * generic/regexec.c:
- * unix/tclUnixNotfy.c: lint
-
- * tools/genStubs.tcl: Changed to always write output in LF mode.
-
-1999-06-08 <stanton@scriptics.com>
-
- * win/tclWinSock.c: Rolled back to the 8.1.0 implementation
- because of serious problems with the new driver. Basically no
- incoming socket connections would be reported to a server port.
- The 8.1.1 code needs to be redesigned and fixed correctly.
-
-1999-06-07 Melissa Hirschl <hershey@matisse.scriptics.com>
-
- * tests/string.test:
- * generic/tclVar.c (Tcl_SetVar2Ex):
- * generic/tclStringObj.c (Tcl_AppendObjToObj):
- * generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string
- index, string length, string range, and append command in cases
- where the object's internal rep is a bytearray. Objects with
- other internal reps are converted to have the new unicode internal
- rep.
-
- * unix/Makefile.in:
- * win/Makefile.in:
- * win/Makefile.vc:
- * tests/unicode.test:
- * generic/tclInt.h:
- * generic/tclObj.c:
- * generic/tclUnicodeObj.c: added a new object type to store the
- unicode representation of a string.
-
- * generic/tclTestObj.c: added the objtype option to the testobj
- command. This option returns the name of the type of internal rep
- an object has.
-
-1999-06-04 <stanton@scriptics.com>
-
- * win/configure.in:
- * win/Makefile.in: Windows build now handles static/dynamic
- debug/nodebug builds and supports the standard targets using
- Cygwin user tools plus GNU make and autoconf.
-
-1999-06-03 <stanton@scriptics.com>
-
- * generic/tclCmdMZ.c (Tcl_StringObjCmd):
- * tests/string.test: Fixed bug where string equal/compare -nocase
- reported wrong result on null strings. [Bug: 2138]
-
-1999-06-02 <stanton@scriptics.com>
-
- * generic/tclUtf.c (Tcl_UtfNcasecmp): Fixed incorrect computation
- of relative ordering. [Bug: 2135]
-
-1999-06-01 <stanton@scriptics.com>
-
- * unix/configure.in: Fixed various small configure.in patches
- submitted by Jan Nijtmans. [Bug: 2121]
-
- * tests/reg.test:
- * generic/regc_color.c:
- * generic/regc_cvec.c:
- * generic/regc_lex.c:
- * generic/regc_locale.c:
- * generic/regc_nfa.c:
- * generic/regcomp.c:
- * generic/regcustom.h:
- * generic/rege_dfa.c:
- * generic/regerror.c:
- * generic/regerrs.h:
- * generic/regex.h:
- * generic/regexec.c:
- * generic/regfree.c:
- * generic/regfronts.c:
- * generic/regguts.h:
- * generic/tclCmdMZ.c:
- * generic/tclRegexp.c:
- * generic/tclRegexp.h:
- * generic/tclTest.c: Applied Henry Spencer's latest regexp patches
- that fix an infinite loop bug and add support for testing whether
- a string could match with additional input. [Bug: 2117]
-
-1999-05-28 <stanton@scriptics.com>
-
- * generic/tclObj.c: Changed to eliminate use of isupper/tolower in
- favor of the Unicode versions.
-
- * win/Makefile.in:
- * win/configure.in: Added preliminary TEA implementation.
-
- * win/tclWinDde.c: Fixed bug where dde calls were being passed an
- invalid dde handle because Initialize had not been called.
- [Bug: 2124]
-
-1999-05-26 <redman@scriptic.com>
-
- * generic/tclThreadTest.c: Fixed race condition in testthread
- code that showed up in the WinNT test suite intermittently.
-
- * win/tclWinSock.c: Fixed a hang in the WinNT socket driver, wake
- up the socket thread every 100ms to check for events on the
- sockets that did not wake up the thread (race condition).
-
-1999-05-24 <stanton@scriptics.com>
-
- * tools/genStubs.tcl: Changed to allow a list of platforms instead
- of just one at a time.
-
- * generic/tcl.decls:
- * generic/tclCmdMZ.c:
- * generic/tclDecls.h:
- * generic/tclInt.decls:
- * generic/tclIntDecls.h:
- * generic/tclPort.h:
- * generic/tclStubInit.c:
- * generic/tclStubLib.c: Various header file related changes and other
- lint to try to get the Mac builds working.
-
-1999-05-21 <redman@scriptics.com>
-
- * win/tclWinPipe.c: Fix bug when launching command.com on
- Win95/98. Need to wait for the procInfo.hProcess of the process that
- was created, not the hProcess of the current process. [Bug: 2105]
-
-1999-05-20 <redman@scriptics.com>
-
- * library/init.tcl: Add the directory where the executable is, and
- the ../lib directory relative to that, to the auto_path variable.
-
-1999-05-19 <stanton@scriptics.com>
-
- Merged in various changes submitted by Jeff Hobbs:
-
- * generic/tcl.decls:
- * generic/tclUtf.c: Added Tcl_UniCharIs* functions for control,
- graph, print, and punct classes.
-
- * generic/tclUtil.c:
- * doc/StrMatch.3: Added Tcl_StringCaseMatch() implementation to
- support case-insensitive globbing.
-
- * doc/string.n:
- * unix/mkLinks:
- * tests/string.test:
- * generic/tclCmdMZ.c: Added additional character class tests,
- added -nocase switch to "string match", changed string first/last
- to use offsets.
-
-1999-05-19 <redman@scriptics.com>
-
- * generic/tcl.h: Add extern "C" block around entire header file for
- C++ compilers to fix linkage issues. Submitted by Don Porter and
- Paul Duffin.
-
- * generic/tclRegexp.c: Fix bug when the regexp cache is empty
- and an empty pattern is used in regexp ( such as {} or "" ).
-
-1999-05-18 <stanton@scriptics.com>
-
- * win/tclWinChan.c: Modified initialization code to avoid
- inherenting closed or invalid channels. If the standard input is
- anything other than a console, file, serial port, or pipe, then we
- fall back to the standard Tk window console.
-
-1999-05-14 <stanton@scriptics.com>
-
- * generic/tclCmdAH.c (Tcl_ForObjCmd): Fixed crash caused by
- failure to reset the result before evaluating the test
- expression.
-
-1999-05-14 <surles@scriptics.com>
-
- * generic/tclBasic.c (Tcl_CreateInterp): Added introspection
- variable for threaded interps. If the interp was compiled with
- threads enabled, the tcl_platform(threaded) variable will exist.
-
-1999-05-14 <redman@scriptics.com>
-
- * generic/tclDate.c: Applied patch to fix 100-year and 400-year
- boundaries in leap year code, from Isaac Hollander. [Bug: 2066]
-
-1999-05-13 <stanton@scriptics.com>
-
- * unix/Makefile.in:
- * unix/tclAppInit.c: Minor cleanup related to Xt notifier.
-
- * unix/tclUnixInit.c (TclpSetInitialEncodings): Tcl now looks for
- an encoding subfield in the LANG/LC_ALL variables in cases where
- the locale is not found in the locale table. Ensure that
- setlocale() is called at least once so X11 will initialize
- properly. Also, forces the LC_NUMERIC locale to be "C" so numeric
- processing in scripts is not affected by the current locale
- setting. [Bug: 1989]
-
- * generic/tclRegexp.c: Increased per-thread regexp cache to 30
- slots. This seems to be about the right number for larger
- applications like exmh. [Bug: 1063]
-
-1999-05-12 <stanton@scriptics.com>
-
- * doc/tclsh.1: Updated references to rc script names to accurately
- reflect the platform differences on Windows.
-
- * tests/regexp.test:
- * generic/tclInt.h:
- * generic/tclBasic.c:
- * generic/tclRegexp.h:
- * generic/tclRegexp.c: Replaced the per-interpreter regexp cache
- with a per-thread cache. Changed the Regexp object to take
- advantage of this extra cache. Added a reference count to the
- TclRegexp type so regexps can be shared by multiple objects.
- Removed the per-interp regexp cache from the interpreter. Now
- regexps can be used with no need for an interpreter. [Bug: 1063]
-
- * win/tclWinInit.c (TclpSetVariables): Avoid calling GetUserName
- if the value can be determined from the USERNAME environment
- variable. GetUserName is very slow.
-
-1999-05-07 <stanton@scriptics.com>
-
- * win/winDumpExts.c:
- * win/makefile.vc: Removed incorrect patch. [Bug: 1998]
-
- * generic/tcl.decls: Replaced const with CONST.
-
- * generic/tclResult.c (Tcl_AppendResultVA):
- * generic/tclStringObj.c (Tcl_AppendStringsToObjVA): Fixed to copy
- arglist using memcpy instead of assignment so it works properly on
- OS/390. [Bug: 1997]
-
- * generic/tclLoadNone.c: Updated to use current interfaces, added
- TclpUnloadFile. [Bug: 2003]
-
- * win/winDumpExts.c:
- * win/makefile.vc: Changed to emit library name in defs
- file. [Bug: 1998]
-
- * unix/configure.in: Added fix for OS/390. [Bug: 1976]
-
-1999-05-06 <stanton@scriptics.com>
-
- * tests/string.test:
- * generic/tclCmdMZ.c:
- * doc/string.n: Fixed bug in string equal/compare code when using
- -length option. Cleaned up docs a bit more.
-
- * tests/http.test: Unset "data" array before running tests to
- avoid failures due to previous tests.
-
- * doc/string.n:
- * tests/cmdIL.test:
- * tests/cmdMZ.test:
- * tests/error.test:
- * tests/ioCmd.test:
- * tests/lindex.test:
- * tests/linsert.test:
- * tests/lrange.test:
- * tests/lreplace.test:
- * tests/string.test:
- * tests/cmdIL.test:
- * generic/tclUtil.c:
- * generic/tclCmdMZ.c: Replaced "string icompare/iequal" with
- -nocase and -length switches to "string compare/equal". Added a
- -nocase option to "string map". Changed index syntax to allow
- integer or end?-integer? instead of a full expression. This is
- much simpler with safeTcl scripts since it avoids double
- substitution issues.
-
- * doc/Utf.3:
- * generic/tclStubInit.c:
- * generic/tclDecls.h:
- * generic/tclUtf.c:
- * generic/tcl.decls: Added Tcl_UtfNcmp and Tcl_UtfNcasecmp.
-
-1999-05-05 <stanton@scriptics.com>
-
- * win/makefile.vc: Added encoding directory to install-libraries
- target.
-
-1999-05-03 <stanton@scriptics.com>
- * doc/string.n:
- * tests/cmdMZ.test:
- * tests/string.test:
- * generic/tclCmdMZ.c (Tcl_StringObjCmd): Changed "string length"
- to avoid regenerating the string rep of a ByteArray object.
-
- * tests/cmdIL.test:
- * tests/cmdMZ.test:
- * tests/error.test:
- * tests/lindex.test:
- * tests/linsert.test:
- * tests/lrange.test:
- * tests/lreplace.test:
- * tests/string.test:
- * generic/tclCmdMZ.c (Tcl_StringObjCmd):
- * generic/tclUtil.c (TclGetIntForIndex): Applied Jeff Hobbs's
- string patch which includes the following changes [Bug: 1845]:
-
- - string compare now takes optional length arg (for strncmp
- behavior)
-
- - added string equal (just a few lines of code blended
- in with string compare)
-
- - added string icompare/iequal for case-insensitive comparisons
-
- - string index's index can now be ?end[+-]?expression
- I made this change in the private TclGetIntForIndex,
- which means that the list commands also benefit, as
- well as string range, et al.
-
- - added [string repeat string count]
- Repeats given string number of times
-
- - added string replace, string equiv to lreplace
- (quasi opposite of string range):
- string replace first last ?string?
- Example of use, replacing end of string with ...
- should the string be more than 16 chars long:
- string replace $string 16 end "..."
- This just returns the string len < 16, so it
- will only affect the long strings.
-
- - added optional first and last args to string to*
- This allows you to just affect certain regions of
- a string with the command (like just capping the
- first letter). I found the original totitle to
- be too draconian to be useful.
-
- - added [string map charMap string]
- where charMap is a {from to from to} list that equates to
- what one might get from [array get]. Each and
- can be multiple chars (or none at all). For Tcl/CGI users,
- this is a MAJOR speed booster.
-
- * generic/tclParse.c (Tcl_ParseCommand): Changed to avoid
- modifying eval'ed strings that are already null terminated.
- [Bug: 1793]
+ * library/tcltest/tcltest.tcl: Made sure that the TCLTEST_OPTIONS
+ environment variablle configures tcltest at package load time.
- * tests/binary.test:
- * generic/tclBinary.c (DupByteArrayInternalRep): Fixed bug where
- type was not being set in duplicated object. [Bug: 1975, 2047]
+2002-06-26 Vince Darley <vincentdarley@users.sourceforge.net>
-1999-04-30 <stanton@scriptics.com>
-
- * Changed version to 8.1.1.
+ * tests/fileSystem.test:
+ * generic/tclIOUtil.c: fix to handling of empty paths ""
+ which are not claimed by any filesystem (Bug #573758).
+ Ensure good error messages are given in all cases.
+ * tests/cmdAH.test:
+ * unix/tclUnixFCmd.c: fix to bug reported as part of
+ (Patch #566669). Thanks to Taguchi, Takeshi for the report.
-1999-04-30 <stanton@scriptics.com>
-
- * Merged changes from 8.1.0 branch:
-
- * generic/tclParse.c: Fixed memory leak in CommandComplete.
-
- * generic/tclPlatDecls.h:
- * generic/tclIntPlatDecls.h:
- * generic/tclIntDecls.h:
- * generic/tclDecls.h:
- * tools/genStubs.tcl: Added 'extern "C" {}' block around the stub
- table pointer declaration so the stub library can be used from
- C++. [Bug: 1934]
-
- * Lots of documentation and other release engineering fixes.
-
-1999-04-28 <stanton@scriptics.com>
-
- * mac/tclMacResource.c:
- * generic/tclListObj.c:
- * generic/tclObj.c:
- * generic/tclStringObj.c: Changed to avoid freeing the string
- representation before freeing the internal rep. This helps with
- debugging since the string rep will still be valid when the free
- proc is invoked.
-
-1999-04-27 <stanton@scriptics.com>
-
- * generic/tclLiteral.c (TclHideLiteral): Fixed so hidden literals
- get duplicated to avoid accidental sharing in the global object
- table.
-
-1999-04-23 <stanton@scriptics.com>
-
- * generic/tclStubInit.c:
- * tools/genStubs.tcl: Changed to avoid the need for forward
- declarations in stub initializers.
+2002-06-26 Reinhard Max <max@suse.de>
-1999-04-23 <stanton@scriptics.com>
+ * unix/tclUnixTime.c: Make [clock format] respect locale settings.
+ * tests/clock.test: Bug #565880. ***POTENTIAL INCOMPATIBILITY***
- * library/encoding/koi8-r.enc:
- * tools/encoding/koi8-r.txt: Added support for the koi8-r Cyrillic
- encoding. [Bug: 1771]
+2002-06-26 Miguel Sofer <msofer@users.sourceforge.net>
-1999-04-22 <stanton@scriptics.com>
-
- * win/tclWinFCmd.c:
- * win/tclWin32Dll.c: Changed uses of "try" to "__try", since that
- is the actual keyword. This eliminates the need for some -D flags
- from the makefile.
-
- * generic/tclPort.h: Added include of tcl.h since it defines
- various Windows macros that are needed before deciding which
- platform porting file to use.
-
- * generic/tclEvent.c: lint
-
- * win/tclWinInit.c (TclpInitPlatform): Added call to TclWinInit
- when building a static library since DllMain will not be invoked.
- This could break old code that explicitly called TclWinInit, but
- should be simpler in the long run.
-
-1999-04-22 Scott Stanton <stanton@scriptics.com>
-
- * generic/tclInt.h:
- * generic/tclInt.decls:
- * generic/tclCompile.c: Added TclSetByteCodeFromAny that takes a
- hook procedure to invoke after compilation but before the byte
- codes are emitted. This makes it possible to do postprocessing on
- the compiled byte codes before the ByteCode is generated.
-
- * generic/tclLiteral.c: Added TclHideLiteral and TclAddLiteralObj
- to make it possible to create local unshared literal objects.
-
- * win/tclWinInit.c:
- * unix/tclUnixInit.c: Changed initial search path to match that
- found used by tcl_findLibrary.
-
-1999-04-22 <redman@scriptics.com>
-
- * win/tclWinPort.h:
- * win/tclWinSock.c: Added code to use WinSock 2.0 API on NT to
- avoid creating a window to handle sockets. API not available on
- Win95 and needs to be fixed on Win98, until then continue to use
- the older (window-based) scheme on those two OSes.
+ * doc/CrtInterp.3:
+ * doc/StringObj.3: clarifications by Don Porter, bugs #493995 and
+ #500930.
-1999-04-15 <stanton@scriptics.com>
+2002-06-24 Don Porter <dgp@users.sourceforge.net>
- * Merged 8.1 back into the main trunk
+ * library/tcltest/tcltest.tcl: Corrected suppression of -verbose skip
+ * tests/tcltest.test: and start by [test -output]. Also
+ corrected test suite errors exposed by corrected code. [Bug 564656]
-1999-04-13 <stanton@scriptics.com>
+2002-06-25 Reinhard Max <max@suse.de>
- * library/encoding/gb2312.enc:
- * library/encoding/euc-cn.enc:
- * tools/encoding/gb2312.txt:
- * tools/encoding/cp950.txt:
- * tools/encoding/Makefile: Restored the double byte definition of
- GB2312 and added the EUC-CN encoding. EUC-CN is a variant of
- GB2312 that shifts the characters into bytes with the high bit set
- and includes ASCII as a subset. [Bug: 632]
+ * unix/tcl.m4: New macro SC_CONFIG_MANPAGES.
+ * unix/configure.in: Added support for symlinks and compression
+ * unix/Makefile.in: when installing the manpages. [Patch 518052]
+ * unix/mkLinks.tcl: Default is still hardlinks and no compression.
-1999-04-13 <redman@scriptics.com>
-
- * win/tclWinSock.c: Apply patch to allow write access to a socket
- if FD_WRITE is sent but FD_CONNECT is not. Some strange problem
- with either Win32 or a socket driver. [Bug: 1664 1776]
-
-1999-04-09 <redman@scriptics.com>
+ * unix/mkLinks: generated
+ * unix/configure:
- * unix/tclUnixNotfy.c: Fixed notifier deadlock situation when the
- pipe used to talk back notifier thread is filled with data. When
- calling the write() function to feed data down that pipe, unlock
- the notifierMutex to allow the notifier to wake up again. Found
- as a result of the focus.test for Tk hanging. [Bug: 1700]
+ * unix/README: Added documentation for the new features.
-1999-04-06 <stanton@scriptics.com>
+ * unix/tcl.m4 (SC_PATH_TCLCONFIG): Replaced ${exec_prefix}/lib by
+ ${libdir}.
- * tests/unixNotfy.test: Fixed hang in tests when built with thread
- support.
+2002-06-25 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/httpold.test: Fixed broken test that didn't wait long
- enough for events to arrive.
+ * generic/tclUtil.c (TclGetIntForIndex): Fix of critical bug
+ #533364 generated when the index is bad and the result is a shared
+ object. The T_ASTO(T_GOR, ...) idiom likely exists elsewhere
+ though. Also removed some cruft that just complicated things to
+ no advantage.
+ (SetEndOffsetFromAny): Same fix, though this wasn't on the path
+ excited by the bug.
- * tests/unixInit.test: Fixed race condition in test.
-
- * tests/unixInit.test:
- * tests/fileName.test: Minor test nits.
+2002-06-24 Don Porter <dgp@users.sourceforge.net>
- * unix/tclUnixInit.c (TclpSetInitialEncodings): Fixed bad initial
- encoding string.
+ * library/tcltest/tcltest.tcl: Implementation of TIP 101. Adds
+ * tests/parseOld.test: and exports a [configure] command
+ * tests/tcltest.test: from tcltest.
-1999-04-06 <surles@scriptics.com>
+2002-06-22 Don Porter <dgp@users.sourceforge.net>
- * generic/tclVar.c:
- * generic/tclEnv.c: Moved the "array set" C level code into a
- common routine (TclArraySet). The TclSetupEnv routine now uses
- this API to create an env array w/ no elements.
+ * changes: updated changes file for 8.4b1 release.
- * generic/tclEnv.c:
- * generic/tclWinInit.h:
- * generic/tclUnixInit.h:
- * generic/tclInt.h: Made the Env module I18N compliant. Changed the
- FindVariable routine to TclpFindVariable, that now does a case
- insensitive string comparison on Windows, and not on UNIX. [Bug:
- 1299, 1500]
+ * library/tcltest/tcltest.tcl: Corrections to tcltest and the
+ * tests/basic.test: Tcl test suite so that a test
+ * tests/cmdInfo.test: with options -constraints knownBug
+ * tests/compile.test: -limitConstraints 1 only tests the
+ * tests/encoding.test: knownBug tests. Mostly involves
+ * tests/env.test: replacing direct access to the
+ * tests/event.test: testConstraints array with calls
+ * tests/exec.test: to the testConstraint command
+ * tests/execute.test: (which requires tcltest version 2)
+ * tests/fCmd.test:
+ * tests/format.test:
+ * tests/http.test:
+ * tests/httpold.test:
+ * tests/ioUtil.test:
+ * tests/link.test:
+ * tests/load.test:
+ * tests/namespace.test:
+ * tests/pkgMkIndex.test:
+ * tests/reg.test:
+ * tests/result.test:
+ * tests/scan.test:
+ * tests/stack.test:
-1999-04-05 <stanton@scriptics.com>
+2002-06-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/io.test: Minor test cleanup.
+ * tools/tcl.wse.in (Disk Label), unix/tcl.spec (version):
+ * win/README.binary, README, win/configure.in, unix/configure.in:
+ * generic/tcl.h (TCL_RELEASE_*, TCL_PATCH_LEVEL): Bump to beta1.
- * generic/tclEncoding.c (Tcl_CreateEncoding): Minor lint to make
- it easier to compile on Digital-unix. [Bug: 1659]
+2002-06-21 Joe English <jenglish@users.sourceforge.net>
- * unix/configure.in:
- * unix/tclUnixPort.h: Applied patch for OS/390 to handle lack of
- sys/param.h. [Bug: 1725]
+ * generic/tclCompExpr.c:
+ * generic/tclParseExpr.c: LogSyntaxError() should reset
+ the interpreter result [Bug 550142 "Tcl_ExprObj -> abort"]
- * unix/configure.in: Fixed BSD/OS 4.* configuration to support
- shared libraries properly. [Bug: 1730]
+2002-06-21 Don Porter <dgp@users.sourceforge.net>
-1999-04-05 <redman@scriptics.com>
-
- * win/tclWinDde.c: decrease timeout value for DDE calls to 30k
- [Bug: 1639]
-
- * generic/tcl.decls:
+ * unix/Makefile.in: Updated all package install directories
+ * win/Makefile.in: to match current Major.minor versions
+ * win/makefile.bc: of the packages. Added tcltest package
+ * win/makefile.vc: to installation on Windows.
+
+ * library/init.tcl: Corrected comments and namespace style
+ issues. Thanks to Bruce Stephens. [Bug 572025]
+
+2002-06-21 Vince Darley <vincentdarley@users.sourceforge.net>
+
+ * tests/cmdAH.test: Added TIP#99 implementation
+ * tests/fCmd.test: of 'file link'. Supports creation
+ * tests/fileName.test: of symbolic and hard links in the
+ * tests/fileSystem.test: native filesystems and in vfs's,
+ * generic/tclTest.c: when the individual filesystem
+ * generic/tclCmdAH.c: supports the concept.
+ * generic/tclIOUtil.c:
* generic/tcl.h:
- * generic/tclDecls.h:
- * generic/tclInt.decls:
- * generic/tclInt.h:
- * generic/tclIntDecls.h:
- * generic/tclStubInit.c:
- * generic/tclUtil.c: Added more functions to the Tcl stubs table,
- including all Tcl_ functions not already in it (except Cmd
- functions) and Tcl_GetCwd() and Tcl_Chdir() (new functions).
-
- * tests/safe.test:
- * doc/safe.n:
- * generic/tclBasic.c:
- * library/safe.tcl: The encoding command is not safe as-is, so
- create a safe alias to mask out the "encoding system <name>" but
- allow all other uses including "encoding system". Added test cases
- and updated the man page for Safe Tcl.
-
-1999-04-05 <stanton@scriptics.com>
-
- * tests/winTime.test:
- * win/tclWinTime.c: Fixed crash in clock command that occurred
- when manipulating negative time values in timezones east of
- GMT. [Bug: 1142, 1458]
-
- * tests/platform.test:
- * tests/fileName.test: Fixed broken tests.
-
- * generic/tclFileName.c: Moved global regexps into thread local
- storage.
-
- * tests/socket.test: Changed so tests don't reuse sockets,
- since Windows is slow to release sockets.
-
- * win/tclWinConsole.c:
- * win/tclWinPipe.c:
- * win/tclWinSerial.c: Fixed race condition where background
- threads were terminated while they still held a lock in the
- notifier.
-
-1999-04-02 <stanton@scriptics.com>
-
- * tests/http.test: Fixed bad test initialization code.
-
- * generic/tclThreadTest.c (ThreadExitProc): Fixed bug where static
- memory was being returned instead of a dynamically allocated
- result in error cases.
-
-1999-04-02 <redman@scriptics.com>
-
- * doc/dde.n:
- * tools/tcl.wse.in:
- * win/makefile.vc:
- * win/pkgIndex.tcl:
- * win/tclWinDde.c: Add new DDE package, code removed from Tk now
- separated into its own package. Changed DDE-based send code into
- "dde eval" command. Can be loaded into tclsh (not just wish).
- Windows only.
-
-1999-04-02 <stanton@scriptics.com>
-
- * tests/expr.test:
- * tests/for-old.test:
- * tests/for.test:
- * tests/foreach.test:
- * tests/format.test:
- * tests/httpold.test:
- * tests/if.test:
- * tests/init.test:
- * tests/interp.test:
- * tests/while.test: Added some tests for known bugs (marked with
- knownBug constraint), and cleaned up a few bad tests.
-
- * generic/regc_locale.c:
- * generic/regcustom.h:
- * generic/tcl.decls:
- * generic/tclCmdIL.c:
- * generic/tclCmdMZ.c:
- * generic/tclInt.h:
- * generic/tclRegexp.c:
- * generic/tclScan.c:
- * generic/tclTest.c:
- * generic/tclUtf.c:
- * win/tclWinFCmd.c:
- * win/tclWinFile.c: Made various Unicode utility functions
- public. The following functions were made public and added to the
- stubs table:
- Tcl_UtfToUniCharDString, Tcl_UniCharToUtfDString,
- Tcl_UniCharLen, Tcl_UniCharNcmp, Tcl_UniCharIsAlnum,
- Tcl_UniCharIsAlpha, Tcl_UniCharIsDigit, Tcl_UniCharIsLower,
- Tcl_UniCharIsSpace, Tcl_UniCharIsUpper, Tcl_UniCharIsWordChar
-
-1999-04-01 <stanton@scriptics.com>
-
- * tests/registry.test:
- * win/tclWinReg.c: Internationalized the registry code. It now
- uses Unicode interfaces on NT. [Bug: 1197]
-
- * tests/parse.test:
- * generic/tclParse.c: Fixed crash due to multiple frees in parser
- during error cleanup when parsing commands with more tokens than
- will fit in the static area of the parse structure. [Bug: 1681]
-
- * generic/tclInt.h: Removed duplicate declarations.
-
- * generic/tclInt.decls:
- * generic/tcl.decls: Added Tcl_WinUtfToTChar and Tcl_WinTCharToUtf
- to the tclPlat table.
-
-1999-04-01 <redman@scriptics.com>
-
* generic/tcl.decls:
- * generic/tcl.h:
- * generic/tclBasic.c:
- * generic/tclDecls.h:
- * generic/StubInit.c:
- * tools/genStubs.tcl:
- * unix/Makefile.in:
- * win/makefile.vc: Applied patch from Jan Nijtmans to fix Ultrix
- multiple symbol definition problem. Now, even Tcl includes a copy
- of the Tcl stub library. Also fixed TCL_MEM_DEBUG mode (for Tk).
-
-1999-03-31 <redman@scriptics.com>
-
- * win/tclWinConsole.c: WinNT has a bug when reading a single
- character from the console. Rewrote the code for the console to
- read an entire line at a time using the reader thread.
-
-1999-03-30 <stanton@scriptics.com>
-
- * unix/Makefile.in: Removed trailing backslash that broke the
- "depend" target.
-
- * unix/tclUnixInit.c (TclpSetInitialEncodings): Changed to avoid
- calling setlocale(). We now look directly at env(LANG) and
- env(LC_CTYPE) instead. [Bug: 1636]
-
- * generic/tclFileName.c:
- * generic/tclDecls.h:
- * generic/tcl.decls: Removed CONST from Tcl_JoinPath and
- Tcl_TranslateFileName because it changes the signature of
- Tcl_JoinPath in an incompatible manner.
-
- * generic/tclInt.h:
- * generic/tclLoad.c (TclFinalizeLoad):
- * generic/tclEvent.c (Tcl_Finalize): Defer unloading of loadable
- modules until all exit handlers have been invoked.
- [Bug: 998, 1273, 1573, 1593]
+ * doc/FileSystem.3:
+ * doc/file.n:
+ * mac/tclMacFile.c:
+ * unix/tclUnixFile.c:
+ * win/tclWinFile.c: Also enhanced speed of 'file normalize' on
+ Windows.
-1999-03-29 <stanton@scriptics.com>
+2002-06-20 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclFileName.c:
- * generic/tclDecls.h:
- * generic/tcl.decls: Added CONST to Tcl_JoinPath and
- Tcl_TranslateFileName.
+ * generic/tclBasic.c (TclEvalObjvInternal): fix for [Bug 571385]
+ in the implementation of TIP#62 (command tracing). Vince Darley,
+ Hemang Lavana & Don Porter: thanks.
-1999-03-29 <redman@scriptics.com>
+2002-06-20 Miguel Sofer <msofer@users.sourceforge.net>
- * tools/genStubs.tcl:
- * unix/configure.in:
- * unix/Makefile.in:
- * win/makefile.vc:
- * generic/tcl.h:
- * generic/tclBasic.c:
- * generic/tclDecls.h:
- * generic/tclIntDecls.h:
- * generic/tclPlatDecls.h:
- * generic/tclIntPlatDecls.h: Removed the stub functions and
- changed the stub macros to just use the name without params. Pass
- &tclStubs into the interp (don't use tclStubsPtr because of
- collisions with the stubs on Solaris).
-
-1999-03-27 <redman@scriptics.com>
+ * generic/tclExecute.c (TclCompEvalObj): clarified and simplified
+ the logic for compilation/recompilation.
- * win/makefile.bc: Removed makefile for Borland compiler, no
- longer supported.
+2002-06-19 Joe English <jenglish@users.sourceforge.net>
+ * doc/file.n: Fixed indentation. No substantive changes.
-1999-03-26 <redman@scriptics.com>
+2002-06-19 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tclWinSerial.c:
- * win/tclWinConsole.c:
- * win/tclWinPipe.c: Don't close the Win32 handle for a channel if
- it's a stdio handle (GetStdHandle()) during shutdown of a thread
- to prevent it from destroying the stdio of other threads.
+ * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): get the resultPtr again
+ as the Tcl_ObjSetVar2 may cause the result to change.
+ [Patch #558324] (watson)
-1999-03-26 <suresh@scriptics.com>
+2002-06-19 Miguel Sofer <msofer@users.sourceforge.net>
- * unix/configure.in
- --nameble-shared is now the default and build Tcl as a shared
- library; specify --disable-shared to build a static Tcl library
- and shell.
+ * generic/tclExecute.c (TEBC): removing unused "for(;;)" loop;
+ improved comments; re-indentation.
-1999-03-25 <stanton@scriptics.com>
+2002-06-18 Miguel Sofer <msofer@users.sourceforge.net>
- * tests/interp.test:
- * generic/tclInterp.c (AliasObjCmd): Changed so aliases are
- invoked at current scope in the target interpreter instead of at
- the global scope. This was an incompatibility introduced in 8.1
- that is being removed. [Bug: 1153, 1556]
-
- * library/encoding/big5.enc:
- * library/encoding/gb2312.enc:
- * tools/encoding/big5.enc:
- * tools/encoding/gb2312.enc: Added ASCII to big5 and gb2312
- encodings. [Bug: 632]
-
- * generic/tclPkg.c (Tcl_PkgRequireEx): Fixed broken clientData
- initialization in package code.
+ * generic/tclExecute.c (TEBC):
+ - elimination of duplicated code in the non-immediate INST_INCR
+ instructions.
+ - elimination of 103 (!) TclDecrRefCount macros. The different
+ instructions now jump back to a common "DecrRefCount zone" at
+ the top of the loop. The macro "ADJUST_PC" was replaced by two
+ macros "NEXT_INST_F" and "NEXT_INST_V" that take three params
+ (pcAdjustment, # of stack objects to discard, resultObjPtr
+ handling flag). The only instructions that retain a
+ TclDecrRefCount are INST_POP (for speed), the common code for
+ the non-immediate INST_INCR, INST_FOREACH_STEP and the two
+ INST_LSET.
- * unix/Makefile.in (dist): Added tcl.decls and tclInt.decls to
- source distribution. [Bug: 1571]
+ The object size of tclExecute.o was reduced by approx 20% since
+ the start of the consolidation drive, while making room for some
+ peep-hole optimisation at runtime.
- * doc/Thread.3: Updated documentation of Tcl_MutexLock to indicate
- that the recursive locking behavior is undefined. On Windows, it
- does not block, on Unix it deadlocks. [Bug: 1275]
+2002-06-18 Miguel Sofer <msofer@users.sourceforge.net>
-1999-03-24 <stanton@scriptics.com>
+ * generic/tclExecute.c (TEBC, INST_DONE): small bug in the panic
+ code for tcl-stack corruption.
- * tests/execute.test:
- * generic/tclExecute.c (TclExecuteByteCode): Fixed expression code
- that incorrectly returned floating point values for integers if
- the internal rep happened to be a double. Now we check to see if
- the object has a string rep that looks like an integer before
- using the double internal rep. [Bug: 1516]
+2002-06-17 David Gravereaux <davygrvy@pobox.com>
-1999-03-24 <redman@scriptics.com>
+ Trims to support the removal of RESOURCE_INCLUDED from rc
+ scripts from FR #565088.
- * generic/tclAlloc.c:
- * generic/tclEncoding.c:
- * generic/tclProc.c:
- * unix/tclUnixTime.c:
- * win/tclWinSerial.c: Fixed compilation warnings/errors for VC++
- 5.0 and 6.0 and HP-UX native compiler without -Aa or -Ae.
- [Bug: 1323 1518 1324 1583 1585 1586]
-
- * win/tclWinSock.c: Make sockets thread-safe on Windows. The
- current implementation uses windows to handle events on the
- socket, one for each thread (thread local storage). Previously,
- there was only one window shared between threads, which didn't
- work. [Bug: 1326]
-
-1999-03-23 <stanton@scriptics.com>
-
- * tools/tcl.wse: Fixed file association to look in the right place
- for the wish icon. [Bug: 1544]
-
- * tests/winNotify.test:
- * tests/ioCmd.test:
- * tests/event.test: Changed to use new style conditionals.
-
- * tests/encoding.test: Fixed nonportable test.
-
- * unix/dltest/configure.in:
- * unix/dltest/Makefile.in: Added missing DBGX macros. [Bug: 1564]
-
- * tests/winNotify.test:
- * mac/tclMacNotify.c:
- * win/tclWinNotify.c:
- * unix/tclUnixNotfy.c:
- * generic/tclNotify.c: Added a new Tcl_ServiceModeHook interface
- that is invoked whenever the service mode changes. This is needed
- to allow the Windows notifier to create a communication window the
- first time Tcl is about to enter an external modal event loop
- instead of at startup time. This will avoid the various problems
- that people have been seeing where the system hangs when tclsh
- is running outside of the event loop. [Bug: 783]
+ * generic/tcl.h: moved the #ifndef RC_INVOKED start block up in
+ the file. rc scripts don't need to know thread mutexes.
- * generic/tclInt.h:
- * generic/tcl.decls: Renamed TclpAlertNotifier back to
- Tcl_AlertNotifier since it is part of the public notifier driver
- API.
+ * win/tcl.rc:
+ * win/tclsh.rc: removed the #define RESOURCE_INCLUDED to let the
+ built-in -DRC_INVOKED to the work.
-1999-03-23 <redman@scriptics.com>
+2002-06-17 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tclWinSerial.c: Fixed problem with fileevent on the serial
- port and nonblocking mode. Gets no longer hangs, fileevents fire
- whenever there is any character data on the port.
-
- * tests/winConsole.test:
- * win/tclWinConsole.c: Fixed problem with fileevents and gets from
- a console stdin. Previously, fileevents were firing before an
- entire line was available for reading, which meant that when you
- did a gets or read, it blocked (even in nonblocking mode). Now, it
- should work the same as Unix: fileevents fire when an entire line
- is ready, and gets and read do not block in non-blocking mode.
- Added an interactive test case to check for this.
+ * doc/CrtTrace.3: Added TIP#62 implementation of command
+ * doc/trace.n: execution tracing [FR #462580] (lavana).
+ * generic/tcl.h: This includes enter/leave tracing as well
+ * generic/tclBasic.c: as inter-procedure stepping.
+ * generic/tclCmdMZ.c:
+ * generic/tclCompile.c:
+ * generic/tclExecute.c:
+ * generic/tclInt.decls:
+ * generic/tclInt.h:
+ * generic/tclIntDecls.h:
+ * generic/tclStubInit.c:
+ * generic/tclVar.c:
+ * tests/trace.test:
-1999-03-22 <stanton@scriptics.com>
+2002-06-17 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * tests/reg.test:
- * generic/regc_color.c: Applied regexp bug fix from Henry Spencer.
+ * win/tclWinPipe.c (BuildCommandLine): Fixed bug #554068 ([exec]
+ on windows did not treat { in filenames well.). Bug reported by
+ Vince Darley <vincentdarley@users.sourceforge.net>, patch
+ provided by Vince too.
-1999-03-19 <redman@scriptics.com>
+2002-06-17 Joe English <jenglish@users.sourceforge.net>
- * generic/tclCmdIL.c: Fixed the initialization of an array so that
- the Sun 5.0 C compiler wouldn't complain.
+ * generic/tcl.h: #ifdef logic for K&R C backwards compatibility
+ changed to assume modern C by default. See SF FR #565088 for
+ full details.
- * unix/configure.in: Added support for --enable-64bit. For now,
- this is only supported on Solaris 7 64bit (SunOS 5.7) using the Sun
- compiler (not gcc).
-
-1999-03-18 <stanton@scriptics.com>
+2002-06-17 Don Porter <dgp@users.sourceforge.net>
- * win/tclWinChan.c (TclpOpenFileChannel, Tcl_MakeFileChannel):
- Changed to only test for console or comm handles when the type is
- FILE_TYPE_CHAR to avoid useless tests on simple files. Also
- reordered tests so consoles are tested first as this is more
- common.
+ * doc/msgcat.n: Corrected en_UK references to en_GB. UK is not
+ a country designation recognized in ISO 3166.
- * win/makefile.vc: Regularized usage of mkd and rmd and rm.
+ * library/msgcat/msgcat.tcl: More Windows Registry locale codes
+ from Bruno Haible.
- * library/encoding/shiftjis.enc:
- * tools/encoding/shiftjis.txt: Missing/incorrect characters in
- shift-jis table. [Bug: 1008, 1526]
+ * doc/msgcat.n:
+ * library/msgcat/msgcat.tcl:
+ * library/msgcat/pkgIndex.tcl:
+ * tests/msgcat.test: Revised locale initialization to interpret
+ environment variable locale values according to XPG4, and to
+ recognize the LC_ALL and LC_MESSAGES values over that of LANG.
+ Also added many Windows Registry locale values to those
+ recognized by msgcat. Revised tests and docs. Bumped to
+ version 1.3. Thanks to Bruno Haible for the report and
+ assistance crafting the solution. [Bug 525522, 525525]
- * generic/tclInt.decls:
- * generic/tcl.decls: Eliminated use of "string" and "list" from
- argument lists to avoid conflicts with C++ STL. [Bug: 1181]
+2002-06-16 Miguel Sofer <msofer@users.sourceforge.net>
- * win/tclWinFile.c (TclpMatchFiles): Changed to ignore the
- FS_CASE_IS_PRESERVED bit and always return exactly what we get
- from the system.
+ * generic/tclCompile.c (TclCompileTokens): a better algorithm for
+ the previous bug fix.
-1999-03-17 <stanton@GASPODE>
+2002-06-16 Miguel Sofer <msofer@users.sourceforge.net>
- * win/README.binary:
- * win/README:
- * unix/configure.in:
- * generic/tcl.h:
- * README: Updated version to 8.1b3.
-
-1999-03-14 <stanton@GASPODE>
-
- * win/tclWinConsole.c:
- * win/tclWinPipe.c:
- * win/tclWinSerial.c: Changed so channel drivers wait for the
- reader/writer threads to exit before returning during a close
- operation. This ensures that the main thread is the last thread
- to exit, so the process return value is set properly.
-
- * generic/tclIntDecls.h:
- * generic/tclIntPlatDecls.h:
- * generic/tclIntPlatStubs.c:
- * generic/tclIntStubs.c:
- * generic/tclPlatDecls.h:
- * generic/tclPlatStubs.c:
- * generic/tclStubInit.c:
- * generic/tclStubs.c: Fixed bad eol characters.
+ * generic/tclCompile.c (TclCompileTokens):
+ * tests/compile.test: [Bug 569438] in the processing of dollar
+ variables; report by Georgios Petasis.
- * generic/tclInt.decls: Changed "const" to "CONST" in
- declarations for better portability.
+2002-06-16 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tcl.decls: Renamed panic and panicVA to Tcl_Panic and
- Tcl_PanicVA in the stub files.
+ * generic/tclExecute.c: bug in the consolidation of the
+ INCR_..._STK instructions; the bug could not be exercised as the
+ (faulty) instruction INST_INCR_ARRAY_STK was never compiled-in
+ (related to [Bug 569438]).
- * generic/tclInterp.c (Tcl_MakeSafe): Remove tcl_platform(user)
- from safe interps.
+2002-06-14 Miguel Sofer <msofer@users.sourceforge.net>
-1999-03-11 <stanton@GASPODE>
+ * generic/tclExecute.c (TclExecuteByteCode): runtime peep-hole
+ optimisation of variables (INST_STORE, INST_INCR) and commands
+ (INST_INVOKE); faster check for the existence of a catch.
+ (TclExecuteByteCode): runtime peep-hole optimisation of
+ comparisons.
+ (TclExecuteByteCode): runtime peep-hole optimisation of
+ INST_FOREACH - relies on peculiarities of the code produced by the
+ bytecode compiler.
- * unix/Makefile.in:
- * unix/configure.in: Include compat files in the stub library in
- addition to the main library. Compat files are now built for
- dynamic use in all cases.
-
- * generic/tcl.h: Changed magic number so it doesn't match the plus
- patch, at Jan's request.
-
- * unix/tclConfig.sh.in:
- * unix/dltest/Makefile.in:
- * unix/dltest/configure.in:
- * unix/dltest/pkga.c:
- * unix/dltest/pkgb.c:
- * unix/dltest/pkgc.c:
- * unix/dltest/pkgd.c:
- * unix/dltest/pkge.c:
- * unix/dltest/pkgf.c: Changed package tests to build against the
- stubs library.
-
-1999-03-10 <stanton@GASPODE>
+2002-06-14 David Gravereaux <davygrvy@pobox.com>
- * generic/tcl.h:
- * generic/tcl.decls: Changed Tcl_ReleaseType from an enum to
- macros so it can be used in .rc files.
- Added Tcl_GetString.
+ * win/rules.vc: The test for compiler optimizations was in error.
+ Thanks goes to Roy Terry <royterry@earthlink.net> for his
+ assistance with this.
- * mac/tclMacNotify.c:
- * generic/tclNotify.c:
- * generic/tclInt.h:
- * win/tclWinNotify.c:
- * generic/tcl.h: Renamed Tcl_AlertNotifier to TclpAlertNotifier.
+2002-06-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tclInt.decls: Added TclWinAddProcess to make it possible
- for expect to use Tcl_WaitForPid(). This patch is from Gordon
- Chaffee.
+ * doc/trace.n, tests/trace.test:
+ * generic/tclCmdMZ.c (Tcl_TraceObjCmd,TclTraceCommandObjCmd)
+ (TclTraceVariableObjCmd): Changed references to "trace list" to
+ "trace info" as mandated by TIP#102.
- * mac/tclMacPort.h:
- * win/tclWinInit.c:
- * unix/tclUnixPort.h:
- * generic/tclAsync.c: Added TclpAsyncMark to fix bug in async
- handling on Windows where async events don't wake up the event
- loop. This patch comes from Gordon Chaffee.
+2002-06-13 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tcl.decls: Fixed declarations of reserved slots.
-
-1999-03-10 <redman@scriptic.com>
+ * generic/tclExecute.c (TclExecuteByteCode): consolidated code for
+ the conditional branch instructions.
- * generic/tclCompile.h: Ensure that the ByteCode struct is binary
- compatible with the version in 8.0.6.
+2002-06-13 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tcl.h:
- * generic/tclBasic.c: Add Tcl_GetVersion() function to the public
- C API to allow programs to check the version number of the Tcl
- library at runtime. Also added an enum to clarify the release
- level (alpha, beta, final).
+ * generic/tclExecute.c (TclExecuteByteCode): fixed the previous
+ patch - wouldn't compile with TCL_COMPILE_DEBUG set.
-1999-03-09 <stanton@GASPODE>
+2002-06-13 Miguel Sofer <msofer@users.sourceforge.net>
- * Integrated changes from Tcl 8.0 including:
- stubs mechanism
- configure patches from Jan Nijtmans
- rename of panic to Tcl_Panic
-
-1999-03-08 <lfb@scriptics.com>
+ * generic/tclExecute.c (TclExecuteByteCode): consolidated the
+ handling of exception returns to INST_INVOKE and INST_EVAL, as
+ well as most of the code for INST_CONTINUE and INST_BREAK, in the
+ new jump target "processExceptionReturn".
+
+2002-06-13 Miguel Sofer <msofer@users.sourceforge.net>
- * win/tclWin32Dll.c: Removed Dll instance from thread-local
- storage.
+ * generic/tclExecute.c (TclExecuteByteCode): consolidated variable
+ handling opcodes, replaced redundant code with some 'goto'. All
+ store/append/lappend opcodes on the same data type now share the
+ main code; same with incr opcodes.
+ * generic/tclVar.c: added the bit TCL_TRACE_READS to the possible
+ flags to Tcl_SetVar2Ex - it causes read traces to be fired prior
+ to setting the variable. This is used in the core for [lappend].
-1999-03-08 <stanton@GASPODE>
+ ***NOTE*** the usage of TCL_TRACE_READS in Tcl_(Obj)?GetVar.* is
+ not documented; there, it causes the call to create the variable
+ if it does not exist. The new usage in Tcl_(Obj)?SetVar.* remains
+ undocumented too ...
- * generic/tcl.h: Moved Tcl_Mutex, etc. macros above the inclusion
- of tclDecls.h to avoid macro conflicts.
+2002-06-13 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclInt.h:
- * generic/regc_color.c:
- * generic/regcomp.c:
- * generic/tclCmdIL.c:
+ * tests/fCmd.test:
+ * tests/winFile.test:
+ * tests/fileSystem.test:
+ * generic/tclTest.c:
* generic/tclCmdAH.c:
- * generic/tclIOCmd.c:
- * generic/tclParse.c:
- * generic/tclStringObj.c:
- * unix/tclUnixNotfy.c: Cleaned up various compiler warnings,
- eliminated UCHAR bugs.
-
- * unix/tclUnixNotfy.c:
- * unix/tclUnixThrd.c:
- * generic/tclThreadTest.c:
- * mac/tclMacThrd.c: Changed TclpCondition*() to Tcl_Condition*().
+ * generic/tclIOUtil.c:
+ * doc/FileSystem.3:
+ * mac/tclMacFile.c:
+ * unix/tclUnixFile.c:
+ * win/tclWinFile.c: fixed up further so both compiles and
+ actually works with VC++ 5 or 6.
+ * win/tclWinInt.h:
+ * win/tclWin32Dll.c: cleaned up code and vfs tests and
+ added tests for the internal changes of 2002-06-12, to see
+ whether WinTcl on NTFS can coexist peacefully with links
+ in the filesystem. Added new test command 'testfilelink'
+ to enable the newer code to be tested.
+ * tests/fCmd.test: (made certain tests of 'testfilelink' not
+ run on unix).
+
+2002-06-12 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * tclBasic.c (Tcl_DeleteTrace): fixed [Bug 568123] (thanks to
+ Hemang Lavana)
- * INTEGRATED PATCHES FROM 8.0.6:
-
- * generic/tcl.decls:
- * generic/tcl.h:
- * generic/tclBasic.c:
- * generic/tclDecls.h:
- * generic/tclInt.decls:
- * generic/tclInt.h:
- * generic/tclIntDecls.h:
- * generic/tclIntPlatDecls.h:
- * generic/tclIntPlatStubs.c:
- * generic/tclIntStubs.c:
- * generic/tclPlatDecls.h:
- * generic/tclPlatStubs.c:
- * generic/tclStubInit.c:
- * generic/tclStubLib.c:
- * generic/tclStubs.c:
- * tools/genStubs.tcl:
- * unix/configure.in:
- * unix/Makefile.in:
- * unix/tclConfig.sh.in:
- * win/makefile.vc:
- * win/tclWinPort.h: Added Tcl stubs implementation. There are
- now two new macros USE_TCL_STUBS and USE_TCL_STUB_PROCS that
- enable use of stubs and disable stub macros respectively. All of
- the public and private function declarations from tcl.h and
- tclInt.h have moved into the *.decls files and the *Stubs.c and
- *Decls.h files are generated using the genStubs.tcl script.
+2002-06-12 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/Makefile.in:
- * unix/configure.in:
- * unix/ldAix: Enhanced AIX shared library support.
+ * win/tclWinFile.c: corrected the symbolic link handling code to
+ allow it to compile. Added real definition of REPARSE_DATA_BUFFER
+ (found in winnt.h). Most of the added definitions appear to have
+ correct, cross-Win-version equivalents in winnt.h and should be
+ removed, but just making things "work" for now.
- * win/tclWinSock.c: Removed a bunch of extraneous PASCAL FAR
- attributes from internal functions.
+2002-06-12 Vince Darley <vincentdarley@users.sourceforge.net>
- * win/tclWinReg.c: Changed registry package to use stubs mechanism
- so it no longer depends on the specific version of Tcl.
+ * generic/tclIOUtil.c:
+ * generic/tcl.decls:
+ * generic/tclDecls.h: made code for Tcl_FSNewNativePath
+ agree with man pages.
+
+ * doc/FileSystem.3: clarified the circumstances under which
+ certain functions are called in the presence of symlinks.
+
+ * win/tclWinFile.c:
+ * win/tclWinPort.h:
+ * win/tclWinInt.h:
+ * win/tclWinFCmd.c: Fix for Windows to allow 'file lstat',
+ 'file type', 'glob -type l', 'file copy', 'file delete',
+ 'file normalize', and all VFS code to work correctly in the
+ presence of symlinks (previously Tcl's behaviour was not very
+ well defined). This also fixes possible serious problems in
+ all versions of WinTcl where 'file delete' on a NTFS symlink
+ could delete the original, not the symlink.
+ Note: symlinks cannot yet be created in pure Tcl.
+
+2002-06-11 Miguel Sofer <msofer@users.sourceforge.net>
- * doc/AddErrInfo.3:
- * doc/Eval.3:
- * doc/PkgRequire.3:
- * doc/SetResult.3:
- * doc/StringObj.3:
- * generic/tcl.h:
* generic/tclBasic.c:
- * generic/tclPanic.c:
- * generic/tclStringObj.c:
- * generic/tclUtil.c:
- * unix/mkLinks: Added va_list versions of all VARARGS
- functions so they can be invoked from the stub functions.
-
- * doc/package.n:
- * doc/PkgRequire.3:
- * generic/tclPkg.c: Added Tcl_PkgProvideEx, Tcl_RequireEx,
- Tcl_PresentEx, and Tcl_PkgPresent. Added "package present"
- command.
-
- * generic/tclFileName.c:
- * mac/tclMacFile.c:
- * mac/tclMacShLib.exp:
- * unix/tclUnixFile.c:
- * win/tclWinFile.c: Changed so TclGetUserHome is defined on
- all platforms, even though it is currently a noop on mac and
- windows, and renamed it to TclpGetUserHome.
-
- * generic/tclPanic.c:
- * generic/panic.c: Renamed panic to Tcl_Panic.
+ * generic/tclCompCmds.c:
+ * generic/tclInt.h: reverted the new compilation functions;
+ replaced by a more general approach described below.
+
+ * generic/tclCompCmds.c:
+ * generic/tclCompile.c: made *all* compiled variable access
+ attempts create an indexed variable - even get or incr without
+ previous set. This allows indexed access to local variables that
+ are created and set at runtime, for example by [global], [upvar],
+ [variable], [regexp], [regsub].
+
+2002-06-11 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * doc/global.n:
+ * doc/info.n:
+ * test/info.test:
+ * generic/tclCmdIL.c: fix for [Bug 567386], [info locals] was
+ reporting some linked variables.
-1999-02-25 <redman@scriptics.com>
+ * generic/tclBasic.c:
+ * generic/tclCompCmds.c:
+ * generic/tclInt.h: added compile functions for [global],
+ [variable] and [upvar]. They just declare the new local variables,
+ the commands themselves are not compiled-in. This gives a notably
+ faster read access to these linked variables.
- * win/makefile.vc: Added tclWinConsole.c and tclWinSerial.c
-
- * win/tclWinConsole.c: New code to properly deal with fileevents
- and nonblocking mode on consoles.
-
- * win/tclWinSerial.c: New code to properly deal with fileevents
- and nonblocking mode on serial ports.
+2002-06-11 Miguel Sofer <msofer@users.sourceforge.net>
- * win/tclWinPipe.c:
- * win/tclWinPort.h: Exported functions to allow creation of pipe
- channels from tclWinChan.c
+ * generic/tclExecute.c: optimised algorithm for exception range
+ lookup; part of [Patch 453709].
- * win/tclWinChan.c: Check the type of a channel, including for the
- standard (stdin/stdout/stderr), and use the correct channel type
- to create the channel (file, serial, console, or pipe).
+2002-06-10 Vince Darley <vincentdarley@users.sourceforge.net>
-1999-02-11 <stanton@GASPODE>
+ * unix/tclUnixFCmd.c: fixed [Bug #566669]
+ * generic/tclIOUtil.c: improved and sped up handling of
+ native paths (duplication and conversion to normalized paths),
+ particularly on Windows.
+ * modified part of above commit, due to problems on Linux.
+ Will re-examine bug report and evaluate more closely.
- * README:
- * generic/tcl.h:
- * win/README.binary:
- * win/README:
- * unix/configure.in:
- * mac/README: Updated version numbers to 8.1b2.
+2002-06-07 Don Porter <dgp@users.sourceforge.net>
-1999-02-10 <stanton@GASPODE>
+ * tests/tcltest.test: More corrections to test suite so that tests
+ of failing [test]s don't show up themselves as failing tests.
- * library/auto.tcl: Fixed auto_mkindex so it handles .tbc files.
- Did some general cleanup to handle bad eval statements that didn't
- use "list".
+2002-06-07 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * unix/mkLinks:
- * doc/SetVar.3:
- * generic/tcl.h:
- * generic/tclVar.c: Restored Tcl_ObjGetVar2 and Tcl_ObjSetVar2
- from 8.0. Renamed Tcl_Get/SetObjVar2 to Tcl_GetVar2Ex and
- Tcl_SetVar2Ex.
->>>>>>> 1.1.1.5
+ * generic/tclExecute.c: Tidied up headers in relation to float.h
+ to cut the cruft and ensure DBL_MAX is defined since doubles seem
+ to be the same size everywhere; if the assumption isn't true, the
+ variant platforms had better have run configure...
-1999-02-10 <stanton@GASPODE>
+ * unix/tclUnixPort.h (EOVERFLOW): Added code to define it if it
+ wasn't previously defined. Also some other general tidying and
+ adding of comments. [Tcl bugs 563122, 564595]
+ * compat/tclErrno.h: Added definition for EOVERFLOW copied from
+ Solaris headers; I've been unable to find any uses of EFTYPE,
+ which was the error code previously occupying the slot, in Tcl, or
+ any definition of it in the Solaris headers.
- INTEGRATED PATCHES FROM 8.0.5b2:
+2002-06-06 Mo DeJong <mdejong@users.sourceforge.net>
- * test/winPipe.test: Changed to remove echoArgs.tcl temporary file
- when done.
-
- * tests/cmdAH.test:
- * generic/tclFileName.c (TclGetExtension): Changed behavior so the
- split happens at the last period in the name instead of the first
- period of the last run of periods. So, "foo..o" is split into
- "foo." and ".o" now. [Bug: 1126]
-
- * win/makefile.vc: Added better support for paths with spaces in
- the name. Added .lib and support .dlls to the install-binaries
- target. Added generate of a pkgIndex.tcl script to the
- install-libraries target.
-
- * win/tclAppInit.c:
- * unix/tclAppInit.c:
- * mac/tclMacAppInit.c:
- * generic/tclTest.c: Changed some EXTERN declarations to extern
- since they are not defining exported interfaces. This avoids
- generating useless declspec() attributes and makes the windows
- makefile simpler.
-
- * generic/tcl.h: Moved Tcl_AppInit declaration to end and cleared
- out TCL_STORAGE_CLASS so it is not declared with a declspec().
+ * unix/dltest/Makefile.in: Remove hard coded CFLAGS=-g
+ and add CFLAGS_DEBUG, CFLAGS_OPTIMIZE, and
+ CFLAGS_DEFAULT varaibles. [Tcl bug 565488]
- * tests/interp.test:
- * generic/tclInterp.c (DeleteAlias): Changed to use
- Tcl_DeleteCommandFromToken so we handle renames properly. This
- avoids senseless panic. [Bug: 736]
+2002-06-06 Don Porter <dgp@users.sourceforge.net>
- * unix/tclUnixChan.c:
- * win/tclWinSock.c:
- * doc/socket.n: Applied Gordon Chaffee's patch to handle failures
- during asynchronous socket connection operations. This adds a new
- "-error" fconfgure option to socket channels. [Bug: 893]
+ * tests/tcltest.test: Corrections to test suite so that tests
+ of failing [test]s don't show up themselves as failing tests.
- * generic/tclProc.c:
- * generic/tclNamesp.c:
- * generic/tclInt.h:
- * generic/tclCmdIL.c:
- * generic/tclBasic.c:
- * generic/tclVar.c: Applied patch from Viktor Dukhovni to
- rationalize TCL_LEAVE_ERR_MSG behavior when creating variables.
-
- * generic/tclVar.c: Fixed bug in namespace tail computation.
- Fixed bug where upvar could resurrect a namespace variable whose
- namespace had been deleted.
+ * tests/io.test: Fixed up namespace variable resolution issues
+ revealed by running test suite with "-singleproc 1".
- * generic/tclCompile.c (TclCompileExprCmd): Eliminated yet another
- bogus optimization in expression compilation.
+ * doc/tcltest.n:
+ * library/tcltest/tcltest.tcl:
+ * tests/tcltest.test: Several updates to tcltest.
+ 1) changed to lazy initialization of test constraints
+ 2) deprecated [initConstraintsHook]
+ 3) repaired badly broken [limitConstraints].
+ 4) deprecated [threadReap] and [mainThread]
+ [Patch 512214, Bug 558742, Bug 461000, Bug 534903]
+
+2002-06-06 Daniel Steffen <das@users.sourceforge.net>
+
+ * unix/tclUnixThrd.c (TclpReaddir, TclpLocaltime, TclpGmtime):
+ added mutex wrapped calls to readdir, localtime & gmtime in
+ case their thread-safe *_r counterparts are not available.
+ * unix/tcl.m4: added configure check for readdir_r
+ * unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on
+ MacOSX (where posix file apis expect utf-8, not iso8859-1).
+ * unix/configure: regen
+ * unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel
+ to LD_LIBRARY_PATH for MacOSX dynamic linker.
+ * generic/tclEnv.c (TclSetEnv): fix env var setting on
+ MacOSX (adapted from patch #524352 by jkbonfield).
+
+2002-06-05 Don Porter <dgp@users.sourceforge.net>
+
+ * doc/Tcl_Main.3: Documented $tcl_rcFileName and added more
+ clarifications about the intended use of Tcl_Main(). [Bug 505651]
+
+2002-06-05 Daniel Steffen <das@users.sourceforge.net>
+
+ * generic/tclFileName.c (TclGlob): mac specific fix to
+ recent changes in 'glob -tails' handling.
+ * mac/tclMacPort.h:
+ * mac/tclMacChan.c: fixed TIP#91 bustage.
+ * mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf
+ conversion of text resource contents.
+ * tests/macFCmd.test (macFCmd-1.2): allow CWIE creator.
+
+2002-06-04 Don Porter <dgp@users.sourceforge.net>
+
+ * library/tcltest/tcltest.tcl:
+ * tests/init.test:
+ * tests/tcltest.test: Added more TIP 85 tests from Arjen Markus.
+ Converted tcltest.test to use a private namespace. Fixed bugs in
+ [tcltest::Eval] revealed by calling [tcltest::test] from a non-global
+ namespace, and namespace errors in init.test.
+
+2002-06-04 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * win/README: Update msys+mingw URL.
+
+2002-06-03 Don Porter <dgp@users.sourceforge.net>
- * unix/configure.in: Added branch for BSD/OS-4* to shared library
- case statement. [Bug: 975]
- Fixed to correctly handle IRIX 6.5 n32 library support. [Bug: 1117]
-
- * win/winDumpExts.c: Patched to be pickier about stripping
- @'s. [Bug: 920]
-
- * library/http2.0/http.tcl: Added catch around eof test in
- CopyDone since the user may have already called http::reset.
- [Bug: 1108]
-
- * unix/configure.in: Changed Linux and IRIX to set SHLIB_LIBS to
- LIBS so shared libraries are linked with the system
- libraries. [Bug: 1018]
-
- * generic/tclCompile.c (CompileExprWord): Fixed exception stack
- overflow bug caused by missing statement. [Bug: 928]
-
- * generic/tclIOCmd.c:
- * generic/tclBasic.c: Objectified the "open" command. [Bug: 1113]
-
- * generic/tclPosixStr.c (Tcl_ErrnoId, Tcl_ErrnoMsg): When using
- egcs, ENOTSUP and EOPNOTSUPP are the same, so now we handle that
- case. [Bug: 1137]
-
- * library/init.tcl: Various small changes requested by Jan Nijtmans.
- - If the variable $tcl_library contains the empty string, this
- empty string will be put in $auto_path. This is not useful at all,
- it only slows down later package processing.
- - If the variable tcl_pkgPath is not set, the "unset __dir"
- fails. Thich makes init.tcl totally unusable. Better put a "catch"
- around it.
- - In the function tcl_findLibraries, the "string match" function
- only works correctly if $tcl_patchLevel is in one of the forms
- "?.?a?", "?.?b?" or "?.?.?". Could a "regexp" be used instead,
- then it allows anything to be appended to the patchLevel
- string. And it is more efficient.
- - The tclPkgSetup function assumes that if $type != "load" then
- the type must be "source". This needn't be true. Some users want
- to add their own setup types.
- [RFE: 1138] [Bug: 978]
-
- * win/tclWinReg.c:
- * doc/registry.n: Added support for HKEY_PERFORMANCE_DATA and
- HKEY_DYN_DATA keys. [Bug: 1109]
-
- * win/tclWinInit.c (TclPlatformInit): Added code to ensure
- tcl_pkgPath is set to "" when no registry entry is found. [Bug: 978]
-
-1999-02-01 <stanton@GASPODE>
+ * doc/tcltest.n:
+ * library/tcltest/tcltest.tcl:
+ * library/tcltest/pkgIndex.tcl:
+ * tests/tcltest.test: Implementation of TIP 85. Allows tcltest
+ users to add new legal values of the -match option to [test],
+ associating each with a Tcl command that does the matching of
+ expected results with actual results of tests. Thanks to
+ Arjen Markus. => tcltest 2.1 [Patch 521362]
- * generic/tclBasic.c:
- * generic/tclCmdAH.c:
- * generic/tclCmdIL.c:
- * generic/tclCmdMZ.c:
- * generic/tclExecute.c:
- * generic/tclHistory.c:
- * generic/tclIO.c:
- * generic/tclIOUtil.c:
- * generic/tclInterp.c:
- * generic/tclMain.c:
- * generic/tclNamesp.c:
- * generic/tclParse.c:
- * generic/tclProc.c:
- * generic/tclTest.c:
- * generic/tclTimer.c:
- * generic/tcl.h: Made eval interfaces compatible with 8.0 by
- renaming Tcl_EvalObj to Tcl_EvalObjEx, renaming Tcl_Eval2 to
- Tcl_EvalEx and restoring Tcl_EvalObj and Tcl_GlobalEvalObj
- interfaces so they match Tcl 8.0.
+2002-06-03 Miguel Sofer <msofer@users.sourceforge.net>
-1999-01-28 <stanton@GASPODE>
+ * doc/namespace.n: added description of [namepace forget]
+ behaviour for unqualified patterns [Bug 559268]
- * Merged Tcl 8.0.5b1 changes.
-
- * generic/tclUtil.c (Tcl_DStringSetLength): Changed so the buffer
- overallocates in a manner similar to Tcl_DStringAppend. This
- should improve performance for TclUniCharToUtfDString.
+2002-06-03 Miguel Sofer <msofer@users.sourceforge.net>
-1998-12-11 === Tcl 8.1b1 Release ===
+ * generic/tclExecute.c: reverting an accidental modification in
+ the last commit.
-1998-12-10 <stanton@GASPODE>
+2002-06-03 Miguel Sofer <msofer@users.sourceforge.net>
-2000-03-21 Syd Polk <spolk@cygnus.com>
+ * doc/Tcl.n: clarify the empty variable name issue ([Bug 549285]
+ reported by Tom Krehbiel, patch by Don Porter).
- * configure.in: Check for cygwin, not cygwin32.
- * configure: Regenerate.
+2002-05-31 Don Porter <dgp@users.sourceforge.net>
- * generic/tclInitScript.h: Added newline at end of file to make
- current gcc happy.
+ * library/package.tcl: Fixed leak of slave interp in [pkg_mkIndex].
+ Thanks to Helmut for report. [Bug 550534]
-1999-12-06 Mo DeJong <mdejong@cygnus.com>
+ * tests/io.test:
+ * tests/main.test: Use the "stdio" constraint to control whether
+ an [open "|[interpreter]"] is attempted.
+
+ * generic/tclExecute.c (TclMathInProgress,TclExecuteByteCode
+ ExprCallMathFunc):
+ * generic/tclInt.h (TclMathInProgress):
+ * unix/Makefile.in (tclMtherr.*):
+ * unix/configure.in (NEED_MATHERR):
+ * unix/tclAppInit.c (matherr):
+ * unix/tclMtherr.c (removed file):
+ * win/tclWinMtherr.c (_matherr): Removed internal routine
+ TclMathInProgress and Unix implementation of matherr(). These
+ are now obsolete, dealing with very old versions of the C math
+ library. Windows version is retained in case Borland compilers
+ require it, but it is inactive. Thanks to Joe English.
+ [Bug 474335, Patch 555635].
+ * unix/configure: regen
+
+2002-05-30 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclCompExpr.c:
+ * generic/tclCompile.c:
+ * generic/tclCompile.h: removed exprIsJustVarRef and
+ exprIsComparison from the ExprInfo and CompileEnv structs. These
+ were set, but not used since dec 1999 [Bug 562383].
+
+2002-05-30 Vince Darley <vincentdarley@users.sourceforge.net>
+
+ * generic/tclFileName.c (TclGlob): fix to longstanding
+ 'knownBug' in fileName tests 15.2-15.4, and fix to a new
+ Tcl 8.4 bug in certain uses of 'glob -tails'.
+ * tests/fileName.test: removed 'knownBug' flag from some tests,
+ added some new tests for above bugs.
+
+2002-05-29 Jeff Hobbs <jeffh@ActiveState.com>
- * win/Makefile.in: added cl flags needed for VC++ 6.0
+ * unix/configure: regen'ed
+ * unix/configure.in: replaced bigendian check with autoconf
+ standard AC_C_BIG_ENDIAN, which defined WORDS_BIGENDIAN on
+ bigendian systems.
+ * generic/tclUtf.c (Tcl_UniCharNcmp):
+ * generic/tclInt.h (TclUniCharNcmp): use WORDS_BIGENDIAN instead of
+ TCL_OPTIMIZE_UNICODE_COMPARE to enable memcmp alternative.
-1999-06-21 Syd Polk <spolk@cygnus.com>
+ * generic/tclExecute.c (TclExecuteByteCode INST_STR_CMP):
+ * generic/tclCmdMZ.c (Tcl_StringObjCmd): changed the case for
+ choosing the Tcl_UniCharNcmp compare to when both objs are of
+ StringType, as benchmarks show that is the optimal check (both
+ bigendian and littleendian systems).
- * generic/tclIO.c: Bug fixes from Scriptics to get exit status
- correct on pipe channels.
+2002-05-29 Don Porter <dgp@users.sourceforge.net>
-1999-04-22 Syd Polk <spolk@cygnus.com>
+ * generic/tclMain.c: Removed "dummy" reference to Tcl_LinkVar.
+ It is no longer needed since Tcl_Main() now actually calls
+ Tcl_LinkVar(). Thanks to Joe English for pointing that out.
- * unix/Makefile.in: Don't install tcl.h for install-libaries.
+2002-05-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-1999-02-16 Syd Polk <spolk@cygnus.com>
-
- * win/configure.in: TCL_SRC_DIR needs to have forward slashes
- for the MS build.
- * win/configure: Regenerate.
- * win/tclWinInit.c: Stupid Visual C++ compiler has limit on
- number of characters in string constant.
+ * generic/tclExecute.c (TclExecuteByteCode):
+ * generic/tclCmdMZ.c (Tcl_StringObjCmd): Use the macro version.
+ * generic/tclInt.h (TclUniCharNcmp): Optimised still further with
+ a macro for use in sensitive places like tclExecute.c
-1999-02-11 Syd Polk <spolk@cygnus.com>
+ * generic/tclUtf.c (Tcl_UniCharNcmp): Use new flag to figure out
+ when we can use an optimal comparison scheme, and default to the
+ old scheme in other cases which is at least safe.
+ * unix/configure.in (TCL_OPTIMIZE_UNICODE_COMPARE): New optional
+ flag that indicates when we can use memcmp() to compare Unicode
+ strings (i.e. when the high-byte of a Tcl_UniChar precedes the
+ low-byte.)
- * generic/tclInitScript.h: The tclInit proc that Jim Ingham wrote
- blew MS's string buffer away, so I hacked the original in for the
- Microsoft build, which only SN is using anyway. Yuck.
+2002-05-29 Jeff Hobbs <jeffh@ActiveState.com>
-1999-02-08 Syd Polk <spolk@cygnus.com>
+ * generic/tclInt.decls:
+ * generic/tclIntDecls.h:
+ * generic/tclStubInit.c:
+ * generic/tclUtf.c: added TclpUtfNcmp2 private command that
+ mirrors Tcl_UtfNcmp, but takes n in bytes, not utf-8 chars. This
+ provides a faster alternative for comparing utf strings internally.
+ (Tcl_UniCharNcmp, Tcl_UniCharNcasecmp): removed the explicit end
+ of string check as it wasn't correct for the function (by doc and
+ logic).
+
+ * generic/tclCmdMZ.c (Tcl_StringObjCmd): reworked the string equal
+ comparison code to use TclpUtfNcmp2 as well as short-circuit for
+ equal objects or unequal length strings in the equal case.
+ Removed the use of goto and streamlined the other parts.
+
+ * generic/tclExecute.c (TclExecuteByteCode): added check for
+ object equality in the comparison instructions. Added
+ short-circuit for != length strings in INST_EQ, INST_NEQ and
+ INST_STR_CMP. Reworked INST_STR_CMP to use TclpUtfNcmp2 where
+ appropriate, and only use Tcl_UniCharNcmp when at least one of the
+ objects is a Unicode obj with no utf bytes.
+
+ * generic/tclCompCmds.c (TclCompileStringCmd): removed error
+ creation in code that no longer throws an error.
-<<<<<<< ChangeLog
- * unix/configure.in unix/tclConfig.sh.in: Export TCL_LIB_FULL_PATH
- for dependencies.
-=======
- * unix/configure.in: Fixed problem with test in --enable-symbols.
->>>>>>> 1.1.1.5
- * unix/configure: Regenerated.
- * library/auto.tcl: Fixed a problem with the regsub inside of
- auto_mkindex since the regsub semantics changed.
+ * tests/string.test:
+ * tests/stringComp.test: added more string comparison checks.
-1999-02-04 James Ingham <jingham@cygnus.com>
+ * tests/clock.test: better qualified 9.1 constraint check for %s.
- * generic/tclInitScript.h: Change the tclInit proc to find the Tcl
- library in both build & install trees.
- * library/auto.tcl (tcl_findLibrary): Change tcl_findLibrary to
- search around the executible for the tclConfig.sh, and then use
- this to find the source tree. This works in many more cases than
- the Scriptics version.
+2002-05-28 Jeff Hobbs <jeffh@ActiveState.com>
- * configure.in: If no value is given for --enable-symbols, use the
- value from AC_PROG_CC, this adds -g for gcc.
+ * generic/tclThreadAlloc.c (TclpRealloc, TclpFree): protect
+ against the case when NULL is based.
-<<<<<<< ChangeLog
- * library/init.tcl (auto_mkindex_parser::mkindex): Clean out the parser
- interpreter completely between each file, rather than
- trying to remove imports by hand. The latter method loses with
- IncrTcl, since that imports the class command by hand, and if you
- ever do "namespace import itcl::*" in your code, this will get
- undone.
-=======
-1999-01-19 Ben Elliston <bje@cygnus.com>
->>>>>>> 1.1.1.5
+ * tests/clock.test: added clock-9.1
+ * compat/strftime.c:
+ * generic/tclClock.c:
+ * generic/tclInt.decls:
+ * generic/tclIntDecls.h:
+ * unix/tclUnixTime.c: fix for Windows msvcrt mem leak caused by
+ using an env(TZ) setting trick for in clock format -gmt 1. This
+ also makes %s seem to work correctly with -gmt 1 as well as
+ making it a lot faster by avoid the env(TZ) hack. TclpStrftime
+ now takes useGMT as an arg. [Bug #559376]
- * tools/encoding/shiftjis.txt: Map tilde in ShiftJIS to tilde in
- Unicode.
+2002-05-28 Vince Darley <vincentdarley@users.sourceforge.net>
- * library/encoding/shiftjis.enc: Regenerate.
+ * generic/tclIOUtil.c: fixes to Tcl_FSLoadFile when called on
+ a file inside a vfs. This should avoid leaving temporary
+ files sitting around on exit. [Bug #545579]
+
+2002-05-27 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * win/tclWinError.c: Added comment on conversion of
+ ERROR_NEGATIVE_SEEK because that is a mapping that really belongs,
+ and not a catch-all case.
+ * win/tclWinPort.h (EOVERFLOW): Should be either EFBIG or EINVAL
+ * generic/tclPosixStr.c (Tcl_ErrnoId, Tcl_ErrnoMsg): EOVERFLOW can
+ potentially be a synonym for EINVAL.
+
+2002-05-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ === Changes due to TIP#91 ===
+
+ * win/tclWinPort.h: Added declaration of EOVERFLOW.
+ * doc/CrtChannel.3: Added documentation of wideSeekProc.
+ * generic/tclIOGT.c (TransformSeekProc, TransformWideSeekProc):
+ Adapted to use the new channel mechanism.
+ * unix/tclUnixChan.c (FileSeekProc, FileWideSeekProc): Renamed
+ FileSeekProc to FileWideSeekProc and created new FileSeekProc
+ which has the old-style interface and which errors out with
+ EOVERFLOW when the returned file position can't fit into the
+ return type (int for historical reasons.)
+ * win/tclWinChan.c (FileSeekProc, FileWideSeekProc): Renamed
+ FileSeekProc to FileWideSeekProc and created new FileSeekProc
+ which has the old-style interface and which errors out with
+ EOVERFLOW when the returned file position can't fit into the
+ return type (int for historical reasons.)
+ * mac/tclMacChan.c (FileSeek): Reverted to old interface; Macs
+ lack large-file support because I can't see how to add it.
+ * generic/tclIO.c (Tcl_Seek, Tcl_Tell): Given these functions
+ knowledge of the new arrangement of channel types.
+ (Tcl_ChannelVersion): Added recognition of new version code.
+ (HaveVersion): New function to do version checking.
+ (Tcl_ChannelBlockModeProc, Tcl_ChannelFlushProc)
+ (Tcl_ChannelHandlerProc): Made these functions use HaveVersion for
+ ease of future maintainability.
+ (Tcl_ChannelBlockModeProc): Obvious lookup function.
+ * generic/tcl.h (Tcl_ChannelType): New wideSeekProc field, and
+ seekProc type restored to old interpretation.
+ (TCL_CHANNEL_VERSION_3): New channel version.
+
+2002-05-24 Andreas Kupries <andreas_kupries@users.sourceforge.net>
+
+ * tests/winPipe.test: Applied patch for SF Tcl Bug #549617. Patch
+ and bug report by Kevin Kenny <kennykb@users.sourceforge.net>.
-1998-12-21 Syd Polk <spolk@cygnus.com>
+ * win/tclWinSock.c (TcpWatchProc): Fixed SF Tcl Bug #557878. We
+ are not allowed to mess with the watch mask if the socket is a
+ server socket. I believe that the original reporter is George
+ Peter Staplin.
- * generic/tclCompExpr.c: Remove another instance of string
- blasting.
+2002-05-21 Mo DeJong <mdejong@users.sourceforge.net>
- * generic/tclLiteral.c (TclDeleteLiteralTable): Make code
- that detects infinite loops exit gracefully in production
- build and panic in development build.
+ * unix/configure: Regen.
+ * unix/configure.in: Invoke SC_ENABLE_SHARED before
+ calling SC_CONFIG_CFLAGS so that the SHARED_BUILD
+ variable can be checked inside SC_CONFIG_CFLAGS.
+ * unix/tcl.m4 (SC_CONFIG_CFLAGS): Pass -non_shared
+ instead of -shared to ld when configured with
+ --disable-shared under OSF. [Tcl bug 540390]
-1998-12-21 Khamis Abuelkomboz <khamis@cygnus.com>
+2002-05-20 Daniel Steffen <das@users.sourceforge.net>
- * generic/tclLiteral.c (TclDeleteLiteralTable): added a daemon to catch
- a hanging bug by deleteing a literal.
+ * generic/tclInt.h: added prototype for TclpFilesystemPathType().
+ * mac/tclMacChan.c: use MSL provided creator type if available
+ instead of the default 'MPW '.
-1998-12-19 Syd Polk <spolk@cygnus.com>
+2002-05-16 Joe English <jenglish@users.sf.net>
- * generic/tclCompile.c (tclCompileScript): Localize modifying
- the compiled string to the call which needs it. This prevents
- the string getting hashed incorrectly later.
+ * doc/CrtObjCmd.3:
+ Added Tcl_GetCommandFromObj, Tcl_GetCommandFullName
+ (Tcl Bug #547987, #414921)
- * generic/tclAlloc.c: Latest patch from Scriptics.
+2002-05-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-1998-12-16 Syd Polk <spolk@cygnus.com>
+ * unix/tclUnixChan.c (TtyOutputProc): #if/#endif-ed this function
+ out to stop compiler warnings. Also much general tidying of
+ comments in this file and removal of whitespace from blank lines.
- * tools/encoding/shiftjis.txt: Unicode character 0xFF5E
- was missing from the shiftjis table.
- * library/encoding/shiftjis.enc: Regnerated.
+2002-05-13 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-1998-12-16 Ben Elliston <bje@sanguine.cygnus.com>
+ * unix/tclUnixChan.c (SETBREAK): Solaris thinks ioctl() takes a
+ signed second argument, and Linux thinks ioctl() takes an unsigned
+ second argument. So need a longer definition of this macro to get
+ neither to spew warnings...
- * generic/tclBasic.c (builtInCmds): Add `encoding'. Patch from
- Scriptics.
+2002-05-13 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclCmdAH.c (Tcl_EncodingObjCmd): New function. Patch
- from Scriptics.
+ * generic/tclEvent.c:
+ * generic/tclIOUtil.c:
+ * generic/tclInt.h: clean up all memory allocated by the
+ filesystem, via introduction of 'TclFinalizeFilesystem'.
+ Move TclFinalizeLoad into TclFinalizeFilesystem so we can
+ be sure it is called at just the right time.
+ Fix bad comment also. [Bug #555078 and 'fs' part of #543549]
+ * win/tclWinChan.c: fix comment referring to wrong function.
+
+2002-05-10 Don Porter <dgp@users.sourceforge.net>
- * generic/tclEncoding.c: Changed at the same time as the rest of
- these files, so it might be important. Patch from Scriptics.
+ * tests/load.test:
+ * tests/safe.test:
+ * tests/tcltest.test: Corrected some list-quoting issues and
+ other matters that cause tests to fail when the patch includes
+ special characters. Report from Vince Darley. [Bug 554068].
- * doc/encoding.n: New file. From Scriptics.
+2002-05-08 David Gravereaux <davygrvy@pobox.com>
-1998-12-03 Syd Polk <spolk@cygnus.com>
+ * doc/file.n:
+ * tools/man2tcl.c:
+ * tools/man2help2.tcl: Thanks to Peter Spjuth
+ <peter.spjuth@space.se>, again. My prior fix for
+ single-quote macro mis-understanding was wrong. Reverted to
+ reimpliment the 'macro2' proc which handles single-quote macros
+ and restored file.n text arrangement to avoid single-quotes on
+ the first line. Sorry for all the confusion.
- * generic/tclIO.c: Integrated more complete fix to
- channel problem from Scott Stanton at Scriptics.
+2002-05-08 David Gravereaux <davygrvy@pobox.com>
-1998-12-02 Syd Polk <spolk@cygnus.com>
+ * tools/man2tcl.c:
+ * tools/man2help2.tcl: Proper source of macro error mis-
+ understanding single-quote as the leading macro command found
+ and repaired.
- * generic/tclIO.c: Fixed problem when writing out to a
- channel set to -crlf translations.
+ * doc/file.n: Reverted to prior state before I messed with
+ it.
-1998-12-02 Ian Roxborough <irox@cygnus.com>
+2002-05-08 Don Porter <dgp@users.sourceforge.net>
- * win/tclWinChan.c: Merged in WishCon0.1 Changes to
- support pipe IO at console level of a WishShell.
+ * library/tcltest/tcltest.tcl: Corrected [uplevel] quoting when
+ [source]-ing test script in subdirectories.
+ * tests/fileName.test:
+ * tests/load.test:
+ * tests/main.test:
+ * tests/tcltest.test:
+ * tests/unixInit.test: Fixes to test suite when there's a space
+ in the working path. Thanks to Kevin Kenny.
-1998-11-24 Syd Polk <spolk@cygnus.com>
+2002-05-07 David Gravereaux <davygrvy@pobox.com>
- * win/Makefile.in: Under MSVC, use the Tcl dumpexts method
- to generate exports.
- * win/tclWinPort.h tclWinSock.c: Do not #define PASCAL away.
- It is needed in calls to DLLs.
+ -- Changes from Peter Spjuth <peter.spjuth@space.se>
+ * tools/man2tcl.c: Increased line buffer size and a bail-out if
+ that should ever be over-run.
+ * tools/man2help.tcl: Include Courier New font in rtf header.
+ * tools/man2help2.tcl: Improved handling of CS/CE fields. Use
+ Courier New for code samples and indent better.
-1998-11-18 Syd Polk <spolk@cygnus.com>
+ * doc/file.n:
+ * doc/TraceCmd.3: winhelp conversion tools where understanding
+ a ' as the first character on a line to be an unknown macro.
+ Not knowing how to repair tools/man2tcl.c, I decided to rearrange
+ the text in the docs instead.
- * generic/tclAlloc.c: Made sure that blocks are allocated on
- eight-byte boundaries.
- * unix/tclUnixPort.h: Added a CYGNUS LOCAL comment.
+2002-05-07 Vince Darley <vincentdarley@users.sourceforge.net>
-1998-11-09 Ben Elliston <bje@cygnus.com>
+ * generic/tclFileName.c: fix to similar segfault when using
+ 'glob -types nonsense -dir dirname -join * *'. [Bug 553320]
+
+ * doc/FileSystem.3: further documentation on vfs.
+ * tests/cmdAH.test:
+ * tests/fileSystem.test:
+ * tests/pkgMkindex.test: Fix to testsuite bugs when running out
+ of directory whose name contains '{' or '['.
+
+2002-05-07 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * tests/basic.test: Fix for [Bug 549607]
+ * tests/encoding.test: Fix for [Bug 549610]
+ These are testsuite bugs that caused failures when the filename
+ contained spaces. Report & fix by Kevin Kenny.
+
+2002-05-02 Vince Darley <vincentdarley@users.sourceforge.net>
+
+ * generic/tclFileName.c: fix to freeing a bad object
+ (i.e. segfault) when using 'glob -types nonsense -dir dirname'.
+ * generic/tclWinFile.c: fix to [Bug 551306], also wrapped some
+ long lines.
+ * tests/fileName.test: added several tests for the above bugs.
+ * doc/FileSystem.3: clarified documentation on refCount
+ requirements of the object returned by the path type function.
+ * generic/tclIOUtil.c:
+ * win/tclWinFile.c:
+ * unix/tclUnixFile.c:
+ * mac/tclMacFile.c: moved TclpFilesystemPathType to the
+ platform specific directories, so we can add missing platform-
+ specific implementations. On Windows, 'file system' now returns
+ useful results like "native NTFS", "native FAT" for that system.
+ Unix and MacOS still only return "native".
+ * doc/file.n: clarified documentation.
+ * tests/winFile.test: test for 'file system' returning correct
+ values.
+ * tests/fileSystem.test: test for 'file system' returning correct
+ values. Clean up after failed previous test run.
+
+2002-04-26 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tclVar.c (TclGetIndexedScalar): Fix a general problem
- with compiled local variables that are upvar'ed. Contributed by
- Scott Stanton <stanton@scriptics.com>.
+ * unix/configure:
+ * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so
+ that the .sl knows its dependent libs.
-1998-11-04 Ian Roxborough <irox@cygnus.com>
-
- * win/tclWinPort.h: #endif in the wrong place and missing ')'.
+2002-04-26 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-1998-11-06 Syd Polk <spolk@cygnus.com>
+ * tests/obj.test (obj-11.[56]): Test conversion to boolean more
+ thoroughly.
+ * generic/tclObj.c (SetBooleanFromAny): Was not calling an integer
+ parsing function on native 64-bit platforms! [Bug 548686]
- * win/tclWinPort.h: Updated from Scriptics. Tcl_Realloc no longer
- fails with blocks that are more than 64K.
+2002-04-24 Jeff Hobbs <jeffh@ActiveState.com>
-1998-11-04 Ian Roxborough <irox@cygnus.com>
+ * generic/tclInt.h: corrected TclRememberJoinableThread decl to
+ use VOID instead of void.
+ * generic/tclThreadJoin.c: noted that this code isn't needed on Unix.
- * generic/panic.c (panic): Removed a #define _DEBUG,
- under MSVC if you want an exception Breakpoint instead
- of a panic dialog, CFLAGS must contain -D_DEBUG.
+2002-04-23 Jeff Hobbs <jeffh@ActiveState.com>
-1998-11-03 Ian Roxborough <irox@cygnus.com>
+ * doc/exec.n:
+ * doc/tclvars.n: doc updates [Patch #509426] (gravereaux)
- * generic/panic.c (panic): If compiling with Microsoft, have this
- generate an exception Breakpoint.
+2002-04-24 Daniel Steffen <das@users.sourceforge.net>
-1998-11-03 Syd Polk <spolk@cygnus.com>
+ * mac/tclMacResource.r: added check of
+ TCLTK_NO_LIBRARY_TEXT_RESOURCES #define to allow disabling the
+ inclusion of the tcl library code in the resource fork of Tcl
+ executables and shared libraries.
- * generic/panic.c: If compiling with Microsoft, have this generate
- a core dump so that we can actually see where it is happening when
- we have co stdout/stderr.
+2002-04-23 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-1998-10-29 Syd Polk <spolk@cygnus.com>
+ * doc/TraceCmd.3: New file that documents Tcl_CommandTraceInfo,
+ Tcl_TraceCommand and Tcl_UntraceCommand [Bug 414927]
- * win/configure.in: Removed check for caddr_t. This configure.in
- is not really ready for autoheader and the other garbage.
- * win/configure: Regenerated.
- * generic/tclAlloc.c: Put declaration of caddr_t inside of
- #ifdef _MSC_VER. It appears that this is the only compiler that
- is missing this typedef.
+2002-04-22 Jeff Hobbs <jeffh@ActiveState.com>
-1998-10-29 Syd Polk <spolk@cygnus.com>
+ * generic/tclAlloc.c:
+ * generic/tclInt.h:
+ * generic/tclThreadAlloc.c (new):
+ * unix/Makefile.in:
+ * unix/tclUnixThrd.c:
+ * win/Makefile.in:
+ * win/tclWinInt.h:
+ * win/tclWinThrd.c: added new threaded allocator contributed by
+ AOL that significantly reduces lock contention when multiple
+ threads are in use. Only Windows and Unix implementations are
+ ready, and the Windows one may need work. It is only used by
+ default on Unix for now, and requires that USE_THREAD_ALLOC be
+ defined (--enable-threads on Unix will define this).
- * win/Makefile.in: The directory for encodings is called 'encoding',
- not 'encodings'.
+ * generic/tclIOUtil.c (Tcl_FSRegister, Tcl_FSUnregister):
+ corrected calling of Tcl_ConditionWait to ensure that there would
+ be a condition to wait upon.
-1998-10-29 Syd Polk <spolk@cygnus.com>
+ * generic/tclCmdAH.c (Tcl_FileObjCmd): added cast in FILE_SIZE.
- * unix/configure.in: Fix merge problem with socket libraries. Run
- autoconf test for caddr_t.
- * unix/configure: Regenerate.
- * win/configure.in Run autoconf test for caddr_t.
- * win/configure: Regnerate.
- * generic/tclAlloc.c: Remove declaration of caddr_t. Should be
- provided by configure now.
+ * win/tclWinFCmd.c (DoDeleteFile): check return of setattr API
+ calls in file deletion for correct Win32 API handling.
-1998-10-28 Syd Polk <spolk@cygnus.com>
+ * win/Makefile.in: correct dependencies for shell, gdb, runtest
+ targets.
- * unix/Makefile.in: Install encodings from make install.
- * win/Makefile.in: Install encodings from make install.
+ * doc/clock.n:
+ * compat/strftime.c (_fmt): change strftime to correctly handle
+ localized %c, %x and %X on Windows. Added some notes about how
+ the other values could be further localized.
-1998-10-28 Ben Elliston <bje@cygnus.com>
+2002-04-19 Don Porter <dgp@users.sourceforge.net>
- * win/configure.in (TCL_BUILD_INCLUDES): Remove. Do not subst.
- * win/configure: Regenerate.
+ * generic/tclMain.c (Tcl_Main): Free the memory allocated for the
+ startup script path. [Bug 543549]
-1998-10-26 Syd Polk <spolk@cygnus.com>
+ * library/msgcat/msgcat.tcl: [mcmax] wasn't using the caller's
+ namespace when determining the max translated length. Also
+ made revisions for better use of namespace variables and more
+ efficient [uplevel]s.
- * win/Makefile.in: Fix references to old opt0.1 library.
+ * doc/msgcat.n:
+ * library/msgcat/msgcat.tcl:
+ * library/msgcat/pkgIndex.tcl: Added [mcload] to the export list
+ of msgcat; bumped to 1.2.3. [Bug 544727]
-1998-10-20 Syd Polk <spolk@cygnus.com>
+2002-04-20 Daniel Steffen <das@users.sourceforge.net>
- * unix/Makefile.in: Fix references to old opt0.1 library.
+ * generic/tclInt.decls:
+ * generic/tclIntPlatDecls.h:
+ * generic/tclStubInit.c:
+ * mac/tclMacFCmd.c:
+ * mac/tclMacFile.c:
+ * mac/tclMacUtil.c: Modified TclpObjNormalizePath to be alias
+ file aware, and replaced various calls to FSpLocationFrom*Path
+ by calls to new alias file aware versions FSpLLocationFrom*Path.
+ The alias file aware routines don't resolve the last component of
+ a path if it is an alias. This allows [file copy/delete] etc. to
+ act correctly on alias files. (c.f. discussion in Bug #511666)
-1998-10-19 Ben Elliston <bje@cygnus.com>
+2002-04-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * unix/configure.in: Compute a value for @TCL_BUILD_INCLUDES@.
+ * tests/lindex.test (lindex-3.7):
+ * generic/tclUtil.c (TclGetIntForIndex): Stopped indexes from
+ hitting wide ints. [Bug #526717]
- * unix/configure: Regenerate.
+2002-04-18 Miguel Sofer <msofer@users.sourceforge.net>
- * unix/tclConfig.sh.in (TCL_BUILD_INCLUDES): Set.
-
- * win/configure.in: Compute a value for @TCL_BUILD_INCLUDES@.
+ * generic/tclNamesp.c:
+ * tests/info.test: [Bug 545325] info level didn't report
+ namespace eval, bug report by Richard Suchenwirth.
- * win/configure: Regenerate.
+2002-04-18 Don Porter <dgp@users.sourceforge.net>
-1998-10-14 Syd Polk <spolk@cygnus.com>
+ * doc/subst.n: Clarified documentation on handling unusual return
+ codes during substitution, and on variable substitutions implied
+ by command substitution, and vice versa. [Bug 536838]
- * win/configure.in Makefile.in: More fixes for the tcl8.l build
- * win/configure: Regenerated
+2002-04-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-1998-10-14 Syd Polk <spolk@cygnus.com>
+ * generic/tclCmdIL.c (InfoBodyCmd):
+ * tests/info.test (info-2.6): Proc bodies without string reps
+ would report as empty [Bug #545644]
- * generic/tclCmdIL.c (SortCompare}: Support as much of the old
- comparison semantics as possible. It is now possible to do
- lsort -command {foo bar} {1 3 45}.
- * tests/cmdIL.test (cmdIL-3.16}: Restore test.
+ * generic/tclCmdMZ.c (Tcl_SubstObj): More clarification for
+ comment on behaviour when substitutions are not well-formed,
+ prompted by [Bug #536831]; alas, removing the ill-defined
+ behaviour is a lot of work.
-1998-10-08 Syd Polk <spolk@cygnus.com>
+2002-04-18 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclCmdIL.c (SortCompare): Make the comparison callback
- object based for performance.
- * tests/cmdIL.test (cmdIL-3.16): Test relied on incorrect behavior
- of old string based comparison callback, which was a bug. Corrected
- test.
- * unix/configure.in: Minor fixes for gcc
- * unix/configure: Regenerated
- * unix/dltest/configure.in: GCC needs -f writeable-strings
- * unix/dltest/Makefile.in: Fixed invalid TCL_CFLAGS reference
- * unix/dltest/configure: Regenerated.
+ * generic/tclExecute.c:
+ * tests/expr-old.test: fix for [Bug #542588] (Phil Ehrens), where
+ "too large integers" were reported as "floating-point value" in
+ [expr] error messages.
-1998-10-01 Ben Elliston <bje@cygnus.com>
+2002-04-17 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tclCmdIL.c (InfoEncodingsCmd): New function. Implement a
- Tcl ``info encodings'' command.
- (Tcl_InfoObjCmd): Detect ``encodings'' subcommand.
+ * generic/tclEncoding.c (EscapeFromUtfProc):
+ * generic/tclIO.c (WriteChars, Tcl_Close): corrected the handling
+ of outputting end escapes for escape-based encodings.
+ [Bug #526524] (yamamoto)
- * doc/info.n: Update documentation.
-
-1998-09-29 Syd Polk <spolk@cygnus.com>
+2002-04-17 Don Porter <dgp@users.sourceforge.net>
- * win/Makefile.in: Still some hard-coded references to 8.0.
- Fix problems with try and except
- * win/configure.in: Likewise
- * win/configure: Regenerated
- * win/tclWin32Dll.c: try and except not supported under gcc.
+ * doc/tcltest.n: Removed [saveState] and [restoreState] from
+ tcltest 2 documentation, effectively deprecating them. [Bug 495660]
+ * library/tcltest/tcltest.tcl: Made separate export for commands
+ kept only for tcltest 1 compatibility.
-1998-09-28 Syd Polk <spolk@cygnus.com>
-
- * generic/tclClock.c: timezone needs to be declared somewhere
- * win/Makefile.in: Fixed OBJEXT problems
- * win/tclWinFile.c win/tclWinInit.c: Fixed merge problems
- * win/tclWinPipe.c: Removed Cygnus thread stuff to use the tcl 8.1
- thread stuff instead.
+ * tests/iogt.test: Revised to run tests in a namespace, rather than
+ use the useless and buggy [saveState] and [restoreState] commands
+ of tcltest. Updated to use tcltest 2 as well. [Patch 544911]
-1998-09-28 Syd Polk <spolk@cygnus.com>
+2002-04-16 Don Porter <dgp@users.sourceforge.net>
- * win/configure.in: Merged from 4.2 branch
- * win/configure: Regenerated
- * win/Makefile.in: Updated for tcl8.1.
+ * tests/io.test: Revised to run tests in a namespace, rather than
+ use the useless and buggy [saveState] and [restoreState] commands
+ of tcltest. Updated to use tcltest 2 as well. [Patch 544546]
-Wed Aut 19 17:48:00 PDT 1998 Syd Polk <spolk@cygnus.com>
+2002-04-15 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclProc.c:
+ * tests/proc-old.test: Improved stack trace for TCL_BREAK and
+ TCL_CONTINUE returns from procs. Patch by Don Porter
+ [Bug 536955].
- * 8.1 integration continues.
+ * generic/tclExecute.c:
+ * tests/compile.test: made bytecodes check for a catch before
+ returning; the compiled [return] is otherwise non-catchable.
+ [Bug 542142] reported by Andreas Kupries.
+
+2002-04-15 Don Porter <dgp@users.sourceforge.net>
-Thu Apr 30 18:10:15 1998 Geoffrey Noer <noer@cygnus.com>
+ * tests/socket.test: Increased timeout values so that tests have
+ time to successfully complete even on slow/busy machines. [Bug 523470]
- * win/Makefile.in: invoke gcc instead of ld when producing
- dlls. Pass the linker options down via args to -Wl options.
+ * doc/tcltest.n:
+ * library/tcltest/tcltest.tcl:
+ * tests/tcltest.test: Revised [tcltest::test] to return errors
+ when called with invalid syntax and to accept exactly two arguments
+ as documented. Improved error messages. [Bug 497446, Patch 513983]
+ ***POTENTIAL INCOMPATIBILITY***: Incompatible with previous
+ tcltest 2.* releases, found only in alpha releases of Tcl 8.4.
+
+2002-04-11 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * generic/tclNotify.c (TclFinalizeNotifier): remove remaining
+ unserviced events on finalization.
+
+ * win/tcl.m4: Enabled COFF as well as CV style debug info with
+ --enable-symbols to allow Dr. Watson users to see function info.
+ More info on debugging levels can be obtained at:
+ http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
+
+ * tests/ioCmd.test: fixed iocmd-8.15 to have mac and unixPc variants.
+
+ * generic/tclParse.c (Tcl_ParseVar): conditionally incr obj
+ refcount to prevent possible mem leak.
+
+2002-04-08 Daniel Steffen <das@users.sourceforge.net>
+
+ * generic/tcl.h: no <sys/types.h> on mac.
+ * mac/tclMacFile.c: minor fixes to Vince's changes from 03-24.
+ * mac/tclMacOSA.c:
+ * mac/tclMacResource.c: added missing Tcl_UtfToExternalDString
+ conversions of resource file names.
+ * mac/tclMacSock.c (TcpGetOptionProc): fixed bug introduced
+ by Andreas on 02-25; changed strcmp's to strncmp's so that
+ option comparison behaves like on other platforms.
+ * mac/tcltkMacBuildSupport.sea.hqx (CW Pro6 changes): added
+ support to allow Tk to hookup C library stderr/stdout to TkConsole.
+ * tests/basic.test:
+ * tests/cmdAH.test:
+ * tests/encoding.test:
+ * tests/fileSystem.test:
+ * tests/ioCmd.test: fixed tests failing on mac: check for
+ existence of [exec], changed some result strings.
-Mon Apr 20 11:40:23 MEST 1998 Khamis Abuelkomboz <khamis@cygnus.com>
- *tcl/win tclWinPipe.c
- (PipeWatchProc): Mask PipeThread using (LPTHREAD_START_ROUTINE) to
- remind bogus messages.
+2002-04-06 Jeff Hobbs <jeffh@ActiveState.com>
-Tue Apr 7 16:36:49 1998 Ian Lance Taylor <ian@cygnus.com>
+ * unix/tclUnixFCmd.c (Realpath): added a little extra code to
+ initialize a realpath arg when compiling in PURIFY mode in order
+ to prevent spurious purify warnings. We should really create our
+ own realpath implementation, but this will at least quiet purify
+ for now.
- * win/tclWinFile.c: If __CYGWIN32__, call chdir rather than
- SetCurrentDirectory, so that the cygwin32 DLL knows the current
- directory when doing path munging.
+2002-04-05 Don Porter <dgp@users.sourceforge.net>
-Sat Mar 21 21:18:06 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
-
- Merged changes from Foundry (list follows in reverse chronological
- order)
+ * generic/tclCmdMZ.c (Tcl_SubstObj):
+ * tests/subst.test: Corrected [subst] so that return codes
+ TCL_BREAK and TCL_CONTINUE returned by variable substitution
+ have the same effect as when those codes are returned by command
+ substitution. [Bug 536879]
- - Tom Tromey <tromey@cygnus.com>
- * library/init.tcl (auto_execok): If ide_cygwin_path command is
- defined, the convert PATH environment variable to Win32 path list
- before use.
- * win/stub16.c: Include <string.h>.
- * win/tclWinInit.c (TclPlatformInit): Don't look in registry to
- find default tcl_library setting.
+2002-04-03 Jeff Hobbs <jeffh@ActiveState.com>
- - Ian Lance Taylor <ian@cygnus.com>
- * win/Makefile.in ($(TCLDLL)): Don't generate relocs for debugging
- information.
- ($(TCLPLUGINDLL), $(TCLREGDLL)): Likewise.
- * generic/tclIOUtil.c (Tcl_EvalFile): Put the newly allocated
- buffer into an object and use Tcl_EvalObj, rather than having
- Tcl_Eval copy the buffer.
- * generic/tclEnv.c (TclSetEnv): Don't set the env array if the
- value is the same as the one we are trying to set.
-
-Sat Feb 21 08:59:00 1998 Chris Provenzano <proven@cygnus.com>
+ * library/tcltest/tcltest.tcl: added getMatchingFiles back (alias
+ to GetMatchingFiles), which was a public function in tcltest 1.0.
- * Makefile.in, unix/Makefile.in
- Don't set shell to /bin/sh. Set it to @SHELL@
+2002-04-01 Vince Darley <vincentdarley@users.sourceforge.net>
- * configure: Regenerated with support for @SHELL@ substitution
+ * generic/tclEnv.c:
+ * generic/tclIOUtil.c: invalidate filesystem cache when the
+ user changes env(HOME). Fixes [Bug #535621]. Also cleaned up
+ some of the documentation.
+ * tests/fileSystem.test: added test for bug just fixed.
+
+2002-04-01 Kevin Kenny <kennykb@acm.org>
-Mon Feb 9 16:02:47 1998 Ian Lance Taylor <ian@cygnus.com>
+ * win/tclWinTime.c (Tcl_GetTime): made the checks of clock
+ frequency more permissive to cope with the fact that Win98SE
+ is observed to return 1.19318 in place of 1.193182 for the
+ performance counter frequency.
+
+2002-03-29 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * generic/tclCmdMZ.c (Tcl_TraceObjCmd, TraceVarProc)
+ (TraceCommandProc, TclTraceCommandObjCmd): corrected
+ potential double-free of traces on variables by flagging in
+ Trace*Proc that it will free the var in case the eval wants to
+ delete the var trace as well. [Bug #536937]
+ Also converted Tcl_UntraceVar -> Tcl_UntraceVar2 and Tcl_Eval to
+ Tcl_EvalEx in Trace*Proc for slight efficiency improvement.
+
+2002-03-29 Don Porter <dgp@users.sourceforge.net>
+
+ * doc/AllowExc.3:
+ * generic/tclBasic.c (Tcl_EvalObjv,Tcl_EvalEx,Tcl_EvalObjEx):
+ * generic/tclCompile.h (TclCompEvalObj):
+ * generic/tclExecute.c (TclCompEvalObj,TclExecuteByteCode):
+ * tests/basic.test: Corrected problems with Tcl_AllowExceptions
+ having influence over the wrong scope of Tcl_*Eval* calls. Patch
+ from Miguel Sofer. Report from Jean-Claude Wippler. [Bug 219181]
+
+2002-03-28 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclVar.c: Refactored CallTraces to collect repeated
+ handling of its returned value into CallTraces itself.
+
+2002-03-28 David Gravereaux <davygrvy@pobox.com>
+
+ * tools/feather.bmp:
+ * tools/man2help.tcl:
+ * tools/man2help2.tcl:
+ * win/makefile.vc: More winhelp target fixups. Added a feather
+ bitmap to the non-scrollable area and changed the color to be
+ yellow from a plain white. The colors can be whatever we want
+ them to be, but thought I would start with something bold.
+ [Bug 527941]
- * win/configure.in: Call AC_PROG_RANLIB so that TCL_RANLIB gets
- set correctly in tclConfig.sh.
- * win/configure: Rebuild.
+ * doc/SetVar.3:
+ * doc/TraceVar.3:
+ * doc/UpVar.3: .AP macro syntax repair.
-Tue Jan 20 19:24:22 1998 Ian Lance Taylor <ian@cygnus.com>
+2002-03-27 David Gravereaux <davygrvy@pobox.com>
- * win/tclWinChan.c (TclGetDefaultStdChannel): Check for error
- return from Tcl_MakeFileChannel.
+ * tools/man2help.tcl:
+ * win/makefile.vc: winhelp target now copies all needed files
+ from tools/ to a workarea under $(OUT_DIR) and builds it from
+ there. No build cruft is left in tools/ anymore. All paths
+ used in man2help.tcl are now relative to where the script is.
+ [Bug 527941]
-Tue Dec 23 16:25:02 1997 Ian Lance Taylor <ian@cygnus.com>
+2002-03-27 David Gravereaux <davygrvy@pobox.com>
- * win/Makefile.in ($(TCLDLL)): Don't generate relocs for debugging
- information.
- ($(TCLPLUGINDLL), $(TCLREGDLL)): Likewise.
+ * win/.cvsignore:
+ * win/buildall.vc.bat:
+ * win/coffbase.txt:
+ * win/makefile.vc:
+ * win/nmakehlp.c (new):
+ * win/rules.vc: First draft fix for [Bug 527941]. More changes
+ need to done to the makehelp target to get to stop leaving build
+ files in the tools/ directory. This does not address the syntax
+ errors in the man files. Having the contents of tcl.hpj(.in)
+ inside makefile.vc allows for version numbers to be replaced with
+ macros.
+
+ The new nmakehlp.c is built by rules.vc in preprocessing and removes
+ the need to use tricky shell syntax that wasn't compatible on Win9x
+ systems. Clean targets made Win9x complient. This is a first draft
+ repair for [Bug 533862].
-Wed Nov 5 00:50:32 1997 Martin M. Hunt <hunt@cygnus.com>
+2002-03-28 Miguel Sofer <msofer@users.sourceforge.net>
- * library/word.tcl: Always use Motif-style selections.
+ * generic/tclBasic.c (Tcl_EvalEx): passing the correct commandSize
+ to TclEvalObjvInternal. [Bug 219362], fix by David Knoll.
-Tue Oct 28 17:44:15 1997 Martin M. Hunt <hunt@cygnus.com>
+2002-03-28 Miguel Sofer <msofer@users.sourceforge.net>
- * win/tclWinChan.c (Tcl_OpenFileChannel): Patch "winchan.txt"
- from net. Fixes problems with PC-NFS access.
+ * generic/tclBasic.c (Tcl_EvalEx):
+ * tests/basic.test: avoid exceptional returns at level 0
+ [Bug 219181]
- * win/tclWinSock.c (Tcl_GetHostName): Fix problem where
- [info hostname] crashes on NT 4.0 machines that do not have
- networking installed. Patch from Darrel Schneider
- <darrel@gemstone.com>
+2002-03-27 Don Porter <dgp@users.sourceforge.net>
-Tue Oct 28 16:31:46 1997 Ian Lance Taylor <ian@cygnus.com>
+ * doc/tcltest.n ([mainThread]):
+ * library/tcltest/tcltest.tcl:
+ * tests/tcltest.test: Major code cleanup to deal with whitespace,
+ coding conventions, and namespace issues, with several minor bugs
+ fixed in the process.
- * Makefile.in (install-minimal): New target.
- * win/Makefile.in (install-minimal): New target.
+ * tests/main.test: Added missing [after cancel]s.
-Wed Oct 15 18:58:32 1997 Ian Lance Taylor <ian@cygnus.com>
+2002-03-25 Don Porter <dgp@users.sourceforge.net>
- * win/tclWinPort.h: If __CYGWIN32__, define TclpAlloc, TclpFree,
- and TclpRealloc rather than TclpSysAlloc, TclpSysFree, and
- TclpSysRealloc.
- * win/Makefile.in (TCLOBJS): Remove tclAlloc.o.
+ * tests/main.test: Removed workarounds for Bug 495977.
-Thu Sep 25 02:57:00 1997 Martin M. Hunt <hunt@cygnus.com>
+ * library/tcltest/tcltest.tcl: Keep the value of $::auto_path
+ unchanged, so that the tcltest package can test code that depends
+ on auto-loading. If a testing application needs $::auto_path pruned,
+ it should do that itself. [Bug 495726]
+ Improve the processing of the -constraints option to [test] so that
+ constraint lists can have arbitrary whitespace, and non-lists don't
+ blow things up. [Bug 495977]
+ Corrected faulty variable initialization. [Bug 534845]
- * generic/tclCmdAH.c (Tcl_FormatObjCmd): This fixes an
- off-by-one error in the format command that can lead to memory
- corruption on some systems, most notable little endian systems,
- such as Intel. Patch "format.txt" from patches archive.
+2002-03-25 Miguel Sofer <msofer@users.sourceforge.net>
- * unix/tclUnixChan.c (TcpGetOptionProc): Applied patch
- "unixchan.txt" from patches archive.
+ * doc/CrtTrace.3: small doc correction
+ * generic/tclBasic.c (Tcl_DeleteTrace): Allow NULL callback on
+ trace deletions [Bug 534728] (Hemang Lavana).
-Tue Sep 23 14:31:01 1997 Tom Tromey <tromey@cygnus.com>
+2002-03-24 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclStringObj.c (Tcl_DbNewStringObj): Don't die if
- bytes==NULL. From schoenw@gaertner.de (Juergen Schoenwaelder).
+ * generic/tclBasic.c (Tcl_EvalObjv): replaced obscure, incorrect
+ code as described in [Bug 533907] (Don Porter).
- * generic/tclIO.c (Tcl_SetChannelOption): Allow output translation
- mode to be "auto". From Dave Dykstra <dwd@bell-labs.com>.
+2002-03-24 Don Porter <dgp@users.sourceforge.net>
-Thu Sep 4 11:29:14 1997 Martin M. Hunt <hunt@cygnus.com>
+ * library/tcltest/tcltest.tcl: Use [interpreter] to set/query the
+ executable currently running the tcltest package. [Bug 454050]
- * generic/tclIO.c: Applied patch "io.txt" from the
- patches archive.
+ * library/tcltest/tcltest.tcl: Allow non-proc commands to be used
+ as the customization hooks. [Bug 495662]
-Tue Sep 2 16:49:16 PDT 1997 Khamis Abuelkomboz <khamis@cygnus.com>
- * library/menu.tcl
- In this file I have found two bugs:
- One in focus policy (wrong function call)
- and the main error was by the tkMenuUnpost procedure (toplevel problem).
- Generaly this script doesn't work correctly at all and I don't
- know if we have the latest version of this file.
+2002-03-24 Vince Darley <vincentdarley@users.sourceforge.net>
-Thu Aug 28 17:20:57 1997 Ian Lance Taylor <ian@cygnus.com>
+ * generic/tclFilename.c:
+ * generic/tclFCmd.c:
+ * generic/tclTest.c:
+ * generic/tcl.h:
+ * generic/tclIOUtil.c:
+ * win/tclWinFile.c:
+ * win/tclWinFCmd.c:
+ * win/tclWinPipe.c:
+ * unix/tclUnixFile.c:
+ * unix/tclUnixFCmd.c:
+ * mac/tclMacFile.c:
+ * doc/FileSystem.3:
+ * doc/file.n:
+ * tests/cmdAH.test:
+ * tests/fileName.test:
+ * tests/fileSystem.test: (new file)
+ * tests/winFCmd.test: fix [Bug 511666] and [Bug 511658],
+ and improved documentation of some aspects of the filesystem,
+ particularly 'Tcl_FSMatchInDirectory' which now might match
+ a single file/directory only, and 'file normalize' which
+ wasn't very clear before. Removed inconsistency betweens
+ docs and the Tcl_Filesystem structure. Also fixed
+ [Bug 523217] and corrected file normalization on Unix so that
+ it expands symbolic links. Added some new tests of the
+ filesystem code (in the new file 'fileSystem.test'), and
+ some extra tests for correct handling of symbolic links.
+ Fix to [Bug 530960] which shows up on Win98. Made comparison
+ with ".com" case insensitive in tclWinPipe.c
+
+ ***POTENTIAL INCOMPATIBILITY***: But only between alpha
+ releases (users of the new Tcl_Filesystem lookup table in Tcl
+ 8.4a4 need to handle the new way in which Tcl may call
+ Tcl_FSMatchInDirectory, and 'file normalize' on unix now
+ behaves correctly). Only known impact is with the 'tclvfs'
+ extension.
- * win/Makefile.in (install-libraries): Install http2.0 and
- opt0.1.
+2002-03-22 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclEnv.c (TclCygwin32Putenv): Call unsetenv rather than
- putenv to remove the variable.
+ * tests/basic.test (basic-46.1): adding test for [Bug 533758],
+ fixed earlier today.
+
+2002-03-22 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tclAlloc.c: Don't define caddr_t if __CYGWIN32__.
+ * win/tclWinInt.h: moved undef of TCL_STORAGE_CLASS. [Bug #478579]
-Thu Aug 28 15:31:05 MET DST 1997 Zsolt Koppany <zkoppany@multix.de>
- * generic/tclCompile.c generic/tclEnv.c generic/tclTestObj.c
- unix/tclUnixFCmd.c
+2002-03-22 Miguel Sofer <msofer@users.sourceforge.net>
- * Memory bug fixes.
-Sun Aug 24 21:35:19 1997 Ian Lance Taylor <ian@cygnus.com>
+ * generic/tclBasic.c (Tcl_EvalObjEx):
+ * generic/tclExecute.c (TclCompEvalObj): fixed the errorInfo for
+ return codes other than (TCL_OK, TCL_ERROR) to runLevel 0
+ [Bug 533758]. Removed the static RecordTracebackInfo(), as its
+ functionality is easily replicated by Tcl_LogCommandInfo. Bug
+ and redundancy noted by Don Porter.
- * win/Makefile.in ($(TCLDLL)): Set base address to 0x66000000.
- ($(TCLREGDLL)): Set base address to 0x66200000.
+2002-03-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-Thu Aug 21 12:49:47 1997 Ian Lance Taylor <ian@cygnus.com>
+ * doc/expr.n: Improved documentation for ceil and floor [Bug 530535]
- * win/tclWinPipe.c (Tcl_WaitPid): If __CYGWIN32__, handle a
- cygwin32 signal exit status correctly.
+2002-03-20 Don Porter <dgp@users.sourceforge.net>
- * win/tclWinPipe.c (PipeThread): Only set PIPE_READAHEAD if we
- really did read a byte. Set PIPE_READABLE if ReadFile completes.
- (PipeProc): Don't bother to set PIPE_READABLE either.
- (PipeSetupProc): Handle a read from a pipe without a thread.
- (PipeCheckProc): Likewise.
+ * doc/SetVar.3:
+ * doc/TraceVar.3:
+ * doc/UpVar.3:
+ * generic/tcl.h (Tcl_VarTraceProc):
+ * generic/tcl.decls (Tcl_GetVar2, Tcl_SetVar2, Tcl_TraceVar2,
+ Tcl_UnsetVar2, Tcl_UntraceVar2, Tcl_UpVar2, Tcl_VarTraceInfo2,
+ Tcl_GetVar2Ex, TclSetVar2Ex):
+ * generic/tclCmdMZ.c (TraceVarProc):
+ * generic/tclEnv.c (EnvTraceProc):
+ * generic/tclEvent.c (VwaitVarProc):
+ * generic/tclInt.decls (TclLookupVar,TclPrecTraceProc):
+ * generic/tclLink.c (LinkTraceProc):
+ * generic/tclUtil.c (TclPrecTraceProc):
+ * generic/tclVar.c (CallTraces, MakeUpvar, VarErrMsg, TclLookupVar,
+ Tcl_GetVar2, Tcl_SetVar2, Tcl_TraceVar2, Tcl_UnsetVar2,
+ Tcl_UntraceVar2, Tcl_UpVar2, Tcl_VarTraceInfo2, Tcl_GetVar2Ex,
+ TclSetVar2Ex): Updated interfaces of generic/tclVar.c according
+ to TIP 27. In particular, the "part2" arguments were CONSTified.
+ [Patch 532642]
+ * generic/tclDecls.h:
+ * generic/tclIntDecls.h: make genstubs
-Wed Aug 20 23:17:23 1997 Ian Lance Taylor <ian@cygnus.com>
+2002-03-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * win/tclWinPipe.c (PIPE_READABLE, PIPE_CLOSED): Define.
- (PIPE_HAS_THREAD, PIPE_READAHEAD): Define.
- (PipeInfo): Add fields: flagsMutex, mutex, tryReadEvent,
- readAhead.
- (pipeHwnd): New static variable.
- (PipeGetFlags, PipeSetFlag, PipeResetFlag): New static functions.
- Use them for all access to the flags field of a pipe.
- (PipeThread): New static function.
- (PipeProc): New static function.
- (PipeInit): Set up pipe window class and window.
- (PipeExitHandler): Unregister the class and destroy the window.
- (PipeSetupProc): Only set the block time to 0 for a readable pipe
- if we know that it is readable. If we want read events, tell the
- thread to try a read.
- (PipeCheckProc): Only post an event for a readable pipe if we know
- that it is readable.
- (TclpCreateCommandChannel): Create the flags mutex.
- (PipeCloseProc): If the pipe has a thread, tell the thread the
- pipe is closed, and let it free everything. Otherwise, close the
- flags mutex.
- (PipeInputProc): Lock the pipe during the function. Use the
- readahead byte if it is available. Reset PIPE_READABLE.
- (PipeEventProc): Check PIPE_READABLE if we have a thread.
- (PipeWatchProc): Create a thread if we want read events.
+ * tests/compile.test (compile-12.3): Test to detect bug 530320.
+ * generic/tclCompile.c (TclCompileTokens): Fixed buffer overrun
+ reported in bug 530320.
-Tue Aug 19 16:34:54 MET DST 1997 Zsolt Koppany <zkoppany@multix.de>
- * generic/tclEnv.c
- Removed patch from EnvExitProc()
+2002-03-14 Mo DeJong <mdejong@users.sourceforge.net>
-Mon Aug 18 20:15:23 1997 Ian Lance Taylor <ian@cygnus.com>
+ * win/configure: Regen.
+ * win/configure.in: Add configure time test for SEH
+ support in the compiler.
+ * win/tclWin32Dll.c (ESP, EBP, TclpCheckStackSpace,
+ _except_checkstackspace_handler):
+ * win/tclWinChan.c (ESP, EBP, Tcl_MakeFileChannel,
+ _except_makefilechannel_handler):
+ * win/tclWinFCmd.c (ESP, EBP, DoRenameFile,
+ _except_dorenamefile_handler,
+ DoCopyFile, _except_docopyfile_handler):
+ Implement SEH support under gcc using inline asm.
+ Tcl and Tk should now compile with Mingw 1.1. [Patch 525746]
- * win/tclWinPipe.c (TclpCreateProcess): Make sure the pipe stuff
- is initialized.
+2002-03-14 Mo DeJong <mdejong@users.sourceforge.net>
- * win/tclWin32Dll.c (TclSetSystemEnv): If we set Path, clear
- PATH. If we set PATH, clear Path.
+ * win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Handle
+ an SEH exception with EXCEPTION_EXECUTE_HANDLER instead
+ of restarting the faulting instruction with
+ EXCEPTION_CONTINUE_EXECUTION. Bug 466102 provides an
+ example of how restarting could send Tcl into an
+ infinite loop. [Patch 525746]
-Fri Aug 15 19:20:44 1997 Ian Lance Taylor <ian@cygnus.com>
+2002-03-11 Mo DeJong <mdejong@users.sourceforge.net>
- * win/tclWinInit.c (initScript): Look up one more level, to allow
- for exec-prefix being a subdirectory of prefix.
+ * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, DoDeleteFile,
+ DoRemoveJustDirectory): Make sure we don't pass NULL or ""
+ as a path name to Win32 API functions since this was
+ crashing under Windows 98.
-Wed Aug 13 13:22:15 1997 Ian Lance Taylor <ian@cygnus.com>
+2002-03-11 Don Porter <dgp@users.sourceforge.net>
- * generic/tclPipe.c (TclCreatePipeline): Check explicitly for
- redirecting stderr to stdout, and handle it by making the stderr
- file a copy of the stdout file.
+ * library/tcltest/tcltest.tcl:
+ * library/tcltest/pkgIndex.tcl: Bumped tcltest package to 2.0.2.
- * generic/tclEnv.c (TclSetEnv): Call TclSetSystemEnv before
- calling Tcl_SetVar2.
+2002-03-11 Mo DeJong <mdejong@users.sourceforge.net>
-Mon Aug 11 19:39:45 1997 Ian Lance Taylor <ian@cygnus.com>
+ * library/tcltest/tcltest.tcl (getMatchingFiles): Pass
+ a proper list to foreach to avoid munging a Windows
+ patch like D:\Foo\Bar into D:FooBar before the glob.
- * configure.in: Call AC_CANONICAL_HOST. Check host, not target,
- for cygwin32.
- * configure: Rebuild.
+2002-03-11 Mo DeJong <mdejong@users.sourceforge.net>
-Sat Aug 9 20:27:48 1997 Ian Lance Taylor <ian@cygnus.com>
+ * generic/tclEncoding.c: Fix typo in comment.
+ * generic/tclIO.c (DoReadChars, ReadBytes, ReadChars):
+ Use NULL value instead of pointer set to NULL to make
+ things more clear. Reorder arguments so that they
+ match the function signatures. Cleanup little typos
+ and add more descriptive comment.
- * win/tclWinSock.c (SocketEventProc): Handle an FD_CONNECT event
- for a client channel. On FD_CLOSE for a client channel, set
- TCL_WRITABLE.
- (Tcl_MakeTcpClientChannel): Select for FD_CONNECT.
- (TcpWatchProc): Watch for FD_CLOSE on a client channel when
- looking for writable. Watch for FD_CONNECT on a client channel in
- all cases.
+2002-03-08 Mo DeJong <mdejong@users.sourceforge.net>
-Thu Aug 7 12:44:49 1997 Ian Lance Taylor <ian@cygnus.com>
+ * win/README: Update to indicate that Mingw 1.1 is
+ required to build Tcl. Add section describing new
+ msys based build process. Update Cygwin build
+ instructions so users know where to find Mingw 1.1.
- * win/tclWinSock.c: Add clientChannel field.
- (SocketEventProc): Handle FD_ACCEPT on a client channel by setting
- TCL_READABLE.
- (NewSocketInfo): Initialize clientChannel field to 0.
- (Tcl_MakeTcpClientChannel): Set clientChannel field to 1. Select
- for FD_ACCEPT.
+2002-03-08 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tclWinInit.c (initScript): Use share rather than lib.
-
-Wed Aug 6 20:49:13 1997 Ian Lance Taylor <ian@cygnus.com>
+ * win/tclWinFCmd.c (DoCopyFile): correctly set retval to TCL_OK.
- * win/Makefile.in: Update for Tcl 8.0.
- * win/configure.in: Likewise.
- * win/configure: Rebuild.
- * win/tclWin32Dll.c (TclSetSystemEnv): Handle a NULL value.
- * win/tclWinChan.c (Tcl_OpenFileChannel): Move conv_to_win32_path
- call after Tcl_TranslateFileName call.
- * win/tclWinFile.c: Don't include <shlobj.h> if __CYGWIN32__.
- (TclWinStat): Don't adjust stat times if __CYGWIN32__.
+2002-03-07 Mo DeJong <mdejong@users.sourceforge.net>
-Tue Aug 5 13:25:43 1997 Tom Tromey <tromey@cygnus.com>
+ * win/tclWin32Dll.c (TclpCheckStackSpace):
+ * win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Replace
+ hard coded constants with Win32 symbolic names.
+ Move control flow statements out of __try blocks
+ since the documentation indicates it is frowned upon.
- * win/tclWinPipe.c: Preserved local changes.
- * win/tclWinSock.c: Preserved local changes.
- * win/tclWinChan.c: Preserved local changes.
+2002-03-07 Don Porter <dgp@users.sourceforge.net>
-Mon Aug 4 16:23:53 1997 Tom Tromey <tromey@cygnus.com>
+ * doc/interp.n:
+ * generic/tclInterp.c(Tcl_InterpObjCmd,SlaveObjCmd,SlaveRecursionLimit):
+ * generic/tclTest.c:
+ * tests/interp.test: Added the [interp recursionlimit] command to
+ set/query the recursion limit of an interpreter. Proposal and
+ implementation from Stephen Trier. [TIP 87, Patch 522849]
- * tests/fCmd.test: fCmd-8.1 test marked nonportable; removed local
- changes.
+2002-03-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/defs: Preserved local changes.
+ * generic/tcl.h, tools/tcl.wse.in, unix/configure.in,
+ * unix/tcl.spec, win/README.binary, win/configure.in, README:
+ Bumped patchlevel; this might need to change in the future, but it
+ will help us distinguish between the CVS version and the most
+ recent released version.
-Fri Aug 1 16:51:03 1997 Ian Lance Taylor <ian@cygnus.com>
+2002-03-06 Miguel Sofer <msofer@users.sourceforge.net>
- * win/tclWinChan.c (Tcl_OpenFileChannel): If __CYGWIN32__, convert
- the path name to a win32 path name.
+ * generic/tclInt.h: for unshared objects, TclDecrRefCount now
+ frees the internal rep before the string rep - just like the
+ non-macro Tcl_DecrRefCount/TclFreeObj [Bug 524802].
-Wed Jul 23 20:03:07 1997 Ian Lance Taylor <ian@cygnus.com>
+2002-03-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * win/tclWinSock.c (TclWinWatchSocket): Only set the maximum block
- time to zero if we have an event that matches something in the
- desired mask.
+ * doc/lsearch.n: Documentation of new features, plus examples.
+ * tests/lsearch.test: Tests of new features.
+ * generic/tclCmdIL.c (Tcl_LsearchObjCmd): TIP#80 support. See
+ http://purl.org/tcl/tip/80 for details.
-Mon Jun 30 13:38:43 1997 Ian Lance Taylor <ian@cygnus.com>
+2002-03-05 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tclWinPipe.c (TclpCreateProcess): Our DLL is named
- cygtclpip, not tclpip.
+ *** 8.4a4 TAGGED FOR RELEASE ***
- * generic/tclEnv.c: If __CYGWIN32__, define environ as a static
- variable.
- (EnvInit): If __CYGWIN32__, initialize environ from
- __imp___cygwin_environ.
- * win/tclWinPort.h (__imp___cygwin_environ): Don't declare.
- (environ): Don't define.
- (TclSetSystemEnv): If __CYGWIN32__, declare as function, don't
- define as macro.
- * win/tclWin32Dll.c (TclSetSystemEnv): New function.
+ * unix/tclUnixChan.c: initial remedy for [Bug #525783] flush
+ problem introduced by TIP #35. This may not satisfy true serial
+ channels, but it restores the correct flushing of std* channels on
+ exit.
-Thu Jun 26 13:56:01 1997 Ian Lance Taylor <ian@cygnus.com>
+ * unix/README: added --enable-langinfo doc.
- * win/Makefile.in (WINDRES): New variable.
- (install-binaries): Don't install DLLs here...
- (install-libraries): ...install them here instead.
- ($(TCLDLL)): Depend upon and link with tclres.o.
- ($(TCLSH)): Depend upon and link with tclshres.o.
- ($(TCLTEST)): Likewise.
- (tclres.o, tclshres.o): New targets.
- * win/configure.in: Define and substitute WINDRES.
- * win/configure: Rebuild.
+ * unix/tcl.spec:
+ * tools/tcl.wse.in: fixed URL refs to use www.tcl.tk or SF.
-Mon Jun 23 10:15:10 1997 Ian Lance Taylor <ian@cygnus.com>
+2002-03-04 Jeff Hobbs <jeffh@ActiveState.com>
- * Makefile.in (install-binaries, install-libraries): New targets.
+ * README:
+ * mac/README:
+ * unix/Makefile.in:
+ * unix/README:
+ * win/README:
+ * win/README.binary: updated to use www.tcl.tk URL.
-Wed Jun 18 12:12:36 1997 Ian Lance Taylor <ian@cygnus.com>
+ * unix/Makefile.in: added older ChangeLogs to dist target.
- * win/Makefile.in: Copy install, install-binaries, and
- install-libraries rules, and associated variables from
- unix/Makefile.in, with appropriate adjustments.
+ * tests/io.test:
+ * tests/encoding.test: corrected iso2022 encoding results.
+ added encoding-24.*
+ * generic/tclEncoding.c (EscapeFromUtfProc): corrected output of
+ escape codes as per RFC 1468. [Patch #474358] (taguchi)
+ (TclFinalizeEncodingSubsystem): corrected potential double-free
+ when encodings were finalized on exit. [Bug #219314, #524674]
-Thu Jun 12 19:12:20 1997 Ian Lance Taylor <ian@cygnus.com>
+2002-03-01 Jeff Hobbs <jeffh@ActiveState.com>
- * win/Makefile.in ($(TMPDIR)/tclcyg.def): Don't export
- impure_ptr.
+ * library/encoding/iso2022-jp.enc:
+ * library/encoding/iso2022.enc:
+ * tools/encoding/iso2022-jp.esc:
+ * tools/encoding/iso2022.esc: gave <ESC>$B precedence over <ESC>$@,
+ based on comments (point 1) in [Bug #219283] (rfc 1468)
-Fri Jun 6 15:52:50 1997 Ian Lance Taylor <ian@cygnus.com>
+ * tests/encoding.test: added encoding-23.* tests
+ * generic/tclIO.c (FilterInputBytes): reset the TCL_ENCODING_START
+ flags in the ChannelState when using 'gets'. [Bug #523988]
+ Also reduced the value of ENCODING_LINESIZE from 30 to 20 as this
+ seems to improve the performance of 'gets' according to tclbench.
- Add support for building with cygwin32:
- * win/Makefile.in: Rewrite completely based on makefile.vc.
- * win/configure.in: Rewrite completely.
- * win/configure: Rebuild.
- * win/tclWinPort.h (__imp___cygwin_environ): Declare if
- __CYGWIN32__.
- (environ): Define if __CYGWIN32__.
- * win/tclWin32Dll.c (_impure_ptr): Define if __CYGWIN32__.
- (__imp_reent_data): Declare if __CYGWIN32__.
- (DllMain): Initialize _impure_ptr if __CYGWIN32__.
- * win/tclWinFCmd.c (TclpRenameFile): Don't use try and except if
- __GNUC__.
- (TclpCopyFile): Likewise.
- * win/tclWinPipe.c: Don't include dos.h if __CYGWIN32__.
- * win/tclWinSock.c (InitSockets): Don't cast to PASCAL FAR if
- __GNUC__.
+2002-02-28 Jeff Hobbs <jeffh@ActiveState.com>
-Thu Jun 5 18:17:53 1997 Ian Lance Taylor <ian@cygnus.com>
+ * generic/tclCmdMZ.c (TraceCommandProc): ensure that TraceCommandInfo
+ structure was also deleted when a command was deleted to prevent a
+ mem leak.
- * generic/tcl.h (USE_TCLALLOC): Don't define USE_TCLALLOC if it is
- already defined (this modifies a CYGNUS LOCAL patch).
+ * generic/tclBasic.c (Tcl_CreateObjTrace): set tracePtr->flags
+ correctly.
-Fri May 9 09:36:00 1997 Tom Tromey <tromey@cygnus.com>
+ * generic/tclTimer.c (TimerExitProc): remove remaining events in
+ tls on thread exit.
- * patchlevel.h: Removed.
+2002-02-28 Miguel Sofer <msofer@users.sourceforge.net>
-Wed Apr 9 17:31:41 1997 Bob Manson <manson@charmed.cygnus.com>
+ * generic/tclNamesp.c: allow cached fully-qualified namespace
+ names to be usable from different namespaces within the same
+ interpreter without forcing a new lookup [Patch 458872].
- * generic/regexp.c (regmatch): Speed up .* matching
- significantly. Treat a single bracketed character the same as a
- string.
+2002-02-28 Miguel Sofer <msofer@users.sourceforge.net>
-Thu Mar 20 14:27:45 1997 Geoffrey Noer <noer@cygnus.com>
+ * generic/tclExecute.c: Replaced a few direct stack accesses
+ with the POP_OBJECT() macro [Bug 507181] (Don Porter).
- * compat/strncasecmp.c: fix args in prototype for strcasecmp
+2002-02-27 Don Porter <dgp@users.sourceforge.net>
-Fri Mar 14 10:36:30 1997 Tom Tromey <tromey@cygnus.com>
+ * doc/GetIndex.3:
+ * generic/tcl.decls (Tcl_GetIndexFromObjStruct):
+ * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Revised the
+ prototype of the Tcl_GetIndexFromObjStruct to take its struct
+ table as a (CONST VOID *) argument, better describing what it is,
+ maintaining source compatibility, and adding CONST correctness
+ according to TIP 27. Thanks to Joe English for an elegant
+ solution. [Bug 520304]
- * tests/fCmd.test: Commented out fcmd-8.1 test.
+ * generic/tclDecls.h: make genstubs
-Fri Mar 7 10:46:04 1997 Tom Tromey <tromey@cygnus.com>
+ * generic/tclMain.c (Tcl_Main,StdinProc): Corrected some reference
+ count management errors on the interactive command Tcl_Obj found by
+ Purify. Thanks to Jeff Hobbs for the report and assistance.
- * Updated to Tcl 7.6p2 and preserved Cygnus changes.
+2002-02-27 Jeff Hobbs <jeffh@ActiveState.com>
-Wed Mar 5 12:00:44 1997 Martin <hunt@cyber>
+ * generic/tclBasic.c (Tcl_EvalTokensStandard): corrected mem leak
+ in error case.
- * Makefile.in, configure.in: Added support for building
- the windows directory.
- * configure: Rebuilt.
+ * generic/tclTest.c (TestStatProc[123]): correct harmless UMRs.
-Fri Dec 13 15:47:07 1996 Tom Tromey <tromey@cygnus.com>
+ * generic/tclLink.c (Tcl_LinkVar): correct mem leak in error case.
- * compat/strtod.c: Include ../compat/stdlib.h, not
- compat/stdlib.h. From Donald Koch <koch@cognex.com>.
+2002-02-27 Andreas Kupries <andreas_kupries@users.sourceforge.net>
-Wed Nov 20 14:07:06 1996 Tom Tromey <tromey@cygnus.com>
+ * tests/socket.test (2.7): Accepted and applied patch for Tcl SF
+ bug #523470 provided by Don Porter <dgp@users.sourceforge.net>
+ to avoid timing problems in that test.
- * generic/tclAlloc.c: Removed; functionality has been integrated
- into Tcl core.
+ * unix/tclUnixChan.c (TclpOpenFileChannel): Added code to regonize
+ "/dev/tty" (by name) and to not handle it as tty / serial
+ line. This is the controlling terminal and is special. Setting
+ it into raw mode as is done for other tty's is a bad idea. This
+ is a hackish fix for expect SGF Bug #520624. The fix has
+ limitation: Tcl_MakeFileChannel handles tty's specially too, but
+ is unable to recognize /dev/tty as it only gets a file
+ descriptor, and no name for it.
-Tue Nov 19 09:30:41 1996 Tom Tromey <tromey@cygnus.com>
+2002-02-26 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tcl.h: Remove redundant decls of Tcl_Alloc and friends.
+ * generic/tclCmdAH.c (StoreStatData): corrected mem leak.
-Mon Nov 18 14:59:47 1996 Tom Tromey <tromey@cygnus.com>
+ * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): prevent obj leak in
+ remedial regsub case.
- * generic/tclAlloc.c (Tcl_Alloc): Renamed.
- * generic/tcl.h: Always define USE_TCLALLOC.
+ * generic/tclFileName.c (Tcl_TranslateFileName): decr refcount for
+ error case to prevent mem leak.
- * Imported Tcl 7.6 and preserved local changes.
+ * generic/tclVar.c (Tcl_ArrayObjCmd): removed extra obj allocation.
-Mon Aug 5 10:41:11 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * unix/tclUnixSock.c (Tcl_GetHostName): added an extra
+ gethostbyname check to guard against failure with truncated
+ names returned by uname.
- * Makefile.in (configure): Don't depend on configure.in.
- (config.status): Depend on configure.
+ * unix/configure:
+ * unix/tcl.m4 (SC_SERIAL_PORT): added sys/modem.h check and defined
+ _XOPEN_SOURCE_EXTENDED for HP-11 to get updated header decls.
-Wed Jul 31 14:41:34 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * unix/tclUnixChan.c: added Unix implementation of TIP #35, serial
+ port support. [Patch #438509] (schroedter)
- * tests/socket.test: Commented out test socket-8.1; it can fail on
- Solaris 2.4.
+2002-02-26 Miguel Sofer <msofer@users.sourceforge.net>
-Tue Jul 30 14:53:59 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * generic/tclCmpCmds.c: (bugfix to the bugfix, hopefully the last)
+ Bugfix to the new [for] compiling code: was setting a
+ exceptArray parameter using another param which wasn't yet
+ initialised, thus filling it with noise.
- * tests/socket.test: Find remote.tcl in srcdir.
- * tests/io.test: Find io.test in srcdir.
- * tests/defs: Find "defs" in directory $srcdir.
+2002-02-25 Andreas Kupries <andreas_kupries@users.sourceforge.net>
-Wed Jun 26 12:36:57 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
+ * mac/tclMacSock.c (TcpGetOptionProc): Changed to recognize the
+ option "-error". Essentially ignores the option, always
+ returning an empty string.
- * configure.in (AC_PREREQ): autoconf 2.5 or higher.
- * configure: Rebuilt.
+2002-02-25 Jeff Hobbs <jeffh@ActiveState.com>
-Thu Jun 6 15:04:44 1996 Gordon Irlam <gordoni@snuffle.cygnus.com>
+ * doc/Alloc.3:
+ * doc/LinkVar.3:
+ * doc/ObjectType.3:
+ * doc/PkgRequire.3:
+ * doc/Preserve.3:
+ * doc/TCL_MEM_DEBUG.3: Updated documentation to describe the ckalloc,
+ ckfree, ckrealloc, attemptckalloc, and attemptckrealloc macros, and
+ to accurately describe when and how they are used. [Bug #497459] (dgp)
+
+ * generic/tclHash.c (AllocArrayEntry, AllocStringEntry):
+ Before invoking ckalloc when creating a Tcl_HashEntry,
+ check that the amount of memory being allocated is
+ at least as large as sizeof(Tcl_HashEntry). The previous
+ code was allocating memory regions that were one
+ or two bytes short. [Bug #521950] (dejong)
+
+2002-02-25 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclBasic.c (Tcl_EvalEx): avoiding a buffer overrun
+ reported by Joe English, and restoring tcl7.6 behaviour for
+ [subst]: badly terminated nested scripts will raise an error
+ and not be evaluated. [Bug #495207]
+
+2002-02-25 Don Porter <dgp@users.sourceforge.net>
+
+ * unix/tclUnixPort.h: corrected strtoll prototype mismatch on Tru64.
+ * compat/strtod.c (strtod): simplified #includes
+ * compat/strtol.c (strtol): gather result in a long before returning
+ as a long: necessary on platforms where sizeof(int) != sizeof(long).
+
+2002-02-25 Daniel Steffen <das@users.sourceforge.net>
+
+ * unix/tclLoadDyld.c: updated to use Mac OS X 10.1 dyld APIs that
+ have more libdl-like semantics. (bug #514392)
+
+2002-02-25 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclCompCmds: fixing a bug in patch dated 2002-02-22, in
+ the code for [for] and [while]. Under certain conditions, for long
+ bodies, the exception range parameters were badly computed. Tests
+ forthcoming: I still can't reproduce the conditions in the
+ testsuite (!), although the bug (with assorted segfault or panic!)
+ can be triggered from the console or with the new parse.bench in
+ tclbench.
+
+2002-02-25 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * doc/usenix.ps, doc/usenix.text: Removed because copyright status
- unclear.
+ * compat/strtoul.c, compat/strtol.c, compat/strtod.c: Added UCHAR,
+ CONST and #includes to clean up GCC output.
-Mon May 20 16:11:55 1996 Tom Tromey <tromey@creche.cygnus.com>
+2002-02-23 Don Porter <dgp@users.sourceforge.net>
- * tcltk-man-html.tcl: Moved to devo/inet.
+ * compat/strtoull.c (strtoull):
+ * compat/strtoll.c (strtoll):
+ * compat/strtoul.c (strtoul): Fixed failure to handle leading
+ sign symbols '+' and '-' and '0X' and raise overflow errors.
+ [Bug 440916] Also corrects prototype and errno problems.
-Mon May 6 15:21:14 1996 Tom Tromey <tromey@lisa.cygnus.com>
+2002-02-23 Mo DeJong <mdejong@users.sourceforge.net>
- * tcltk-man-html.tcl: Search Tk section 3 man pages if possible.
+ * configure: Regen.
+ * unix/tcl.m4 (SC_CONFIG_CFLAGS): Link with -n32
+ instead of -32 when building on IRIX64-6.* system.
+ [Tcl bug 521707]
-Wed May 1 15:17:14 1996 Tom Tromey <tromey@lisa.cygnus.com>
+2002-02-22 Don Porter <dgp@users.sourceforge.net>
- * tcltk-man-html.tcl: New file.
+ * generic/tclInt.h:
+ * generic/tclObj.c: renamed global variable emptyString ->
+ tclEmptyString because it is no longer static.
+ * generic/tclPkg.c: Fix for panic when library is loaded on a
+ platform without backlinking without proper use of stubs. [Bug 476537]
-Thu Mar 7 10:01:05 1996 Tom Tromey <tromey@creche.cygnus.com>
+2002-02-22 Jeff Hobbs <jeffh@ActiveState.com>
- * Makefile.in (config.status): Don't depend on configure.
+ * tests/regexpComp.test: updated regexp-11.[1-4] to match changes
+ in regexp.test for new regsub syntax
-Wed Mar 6 10:48:56 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * unix/configure:
+ * unix/tcl.m4: added --enable-64bit support for AIX-4 (using -q64
+ flag) when using IBM's xlc compiler.
+
+ * tests/safe.test: updated safe-8.5 and safe-8.7
+ * library/safe.tcl (CheckFileName): removed the limit on
+ sourceable file names (was only *.tcl or tclIndex files with no
+ more than one dot and 14 chars). There is enough internal
+ protection in a safe interpreter already. Fixes [Tk Bug #521560].
+
+2002-02-22 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclCompCmds: [FR 465811]. Optimising [if], [for] and
+ [while] for constant conditions; in addition, [for] and [while]
+ are now compiled with the "loop rotation" optimisation (thanks to
+ Kevin Kenny).
+
+2002-02-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ --- TIP#76 CHANGES ---
+ * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): Final-argument-less
+ [regsub] returns the modified string.
+ * doc/regsub.n: Updated docs.
+ * tests/regexp.test: Updated and added tests.
+
+ * compat/strtoll.c (strtoll):
+ * compat/strtoull.c (strtoull):
+ * unix/tclUnixPort.h:
+ * win/tclWinPort.h: Const-ing 64-bit compatability declarations.
+ Note that the return pointer is non-const because it is entirely
+ legal for the functions to be called from somewhere that owns the
+ string being passed. Fixes problem reported by Larry Virden.
+
+2002-02-21 David Gravereaux <davygrvy@pobox.com>
+
+ * win/mkd.bat (removed):
+ * win/coffbase.txt (new):
+ * win/makefile.bc:
+ * win/makefile.vc: Changed the 'setup' target to stop using
+ the mkd.bat file and just make the directory right in the rule.
+ Same change to makefile.bc. configure.in nor Makefile.in use
+ it.
+
+ coffbase.txt will be the master list for our "prefered base
+ addresses" set by the linker. This should improve load-time
+ (NT only) by avoiding relocations. Submissions to the list
+ by extension authors are encouraged.
+
+ Added a 'tidy' target to compliment 'clean' and 'hose' to remove
+ just the outputs. Also removed the $(winlibs) macro as it wasn't
+ being used.
+
+ Stuff left to do:
+ 1) get the winhelp target to stop building in the tools/
+ directory.
+ 2) stop using rmd.bat
+ 3) add more dependacy rules.
+
+ * win/tclAppInit.c: Reverted back to -r1.6, as the header file
+ change to tclPort.h won't allow for easy embedded support
+ outside of the source dist. Thanks to Don Porter for pointing
+ this out to me.
+
+2002-02-21 David Gravereaux <davygrvy@pobox.com>
- * Makefile.in (Makefile): Removed redundant rule.
+ * win/makefile.vc:
+ * win/rules.vc: Added a new "loimpact" option that sets the
+ -ws:aggressive linker option. Off by default. It's said to
+ keep the heap use low at the expense of alloc speed.
-Thu Feb 29 21:27:38 1996 Fred Fish <fnf@ninemoons.com>
+ * win/tclAppInit.c: Changed #include "tcl.h" to be tclPort.h to
+ remove the raw windows.h include. tclPort.h brings in windows.h
+ already and lessens the pre-compiled-header mush and the randomly
+ useless #pragma comment (lib,...) references throughout the big
+ windows.h tree (as observed at high linker warning levels).
- * Makefile.in (configure): Run autoconf in source dir,
- not build dir.
+2002-02-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-Thu Feb 29 09:08:52 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * generic/tcl.h: Better guessing of LP64/ILP32 architecture, but
+ now sensitive to presence of (suitable) <limits.h>
- * Makefile.in (Makefile): New rule.
- (config.status): New rule.
+2002-02-20 Don Porter <dgp@users.sourceforge.net>
- * tests/all: Use $srcdir to find tests.
- Source `defs' here.
- Only print filename, not entire path.
+ * generic/tcl.decls (Tcl_RegExpRange,Tcl_GetIndexFromObjStruct):
+ Overlooked a few source incompatibilities. Now using CONST84.
+ * generic/tclDecls.h: make genstubs
+ * generic/tcl.h (Tcl_CmdObjTraceProc): silence warning from Sun
+ Workshop compiler.
-Tue Feb 27 20:40:56 1996 Rob Savoye <rob@chinadoll.cygnus.com>
+2002-02-20 David Gravereaux <davygrvy@pobox.com>
- * unix/configure.in: Use -fpic for dltests, as gcc now support
- shared libraries on HPUX.
- * configure: Rebuild.
+ * win/buildall.vc.bat:
+ * win/makefile.vc:
+ * win/rules.vc: General clean-ups. Added compiler and linker tests
+ for a) the pentium 0x0F errata, b) optimizing (not all have this),
+ and c) linker v6 section alignment confusion. All these are tested
+ first to make sure any D4002 or LNK1117 warnings aren't displayed.
+ The pentium 0x0F errata is a recommended switch. The v5 linker's
+ section alignment default is 512, but the v6 linker was changed
+ to 4096 in an attempt to speed loading on Win98. I changed the
+ default to always be 512 across both linkers, unless linking
+ statically, then 4096 is used for the claimed speed effect. Using
+ a 512 alignment saves 12k bytes of dead space in the DLL.
-Mon Feb 12 14:55:34 1996 Rob Savoye <rob@chinadoll.cygnus.com>
+ Added IA64 B-stepping errata switch when the compiler supports it.
- * unix/configure.in: Set the shared lib flags so the dynamic
- loading tests work for SunOS and Solaris when using GCC.
+ Added profiling to $(lflags) when requested and also removed the
+ explict -entry option as the default works fine as is.
-Wed Jan 24 09:41:00 1996 Tom Tromey <tromey@creche.cygnus.com>
+ Removed win/tclWinInit.c from the special case section to let it
+ use the common implicit rule as the $(EXTFLAGS) macro it had was
+ never referenced anywhere.
- * Makefile.in: Replaced realclean with maintainer-clean.
+2002-02-20 Donal K. Fellows <fellowsd@cs.man.ac.uk>
-Mon Jan 22 14:42:47 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * generic/tcl.h: Added code to guess the correct settings for
+ TCL_WIDE_INT_IS_LONG and TCL_WIDE_INT_TYPE when configure doesn't
+ tell us them, as can happen with extensions.
- * tests/all: Print message when tests finished.
+2002-02-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * Makefile.in (check): Use absolute directory when finding
- TCL_LIBRARY.
+ * doc/format.n: Updated docs to list the specification.
+ * generic/tclCmdAH.c (Tcl_FormatObjCmd): Made behaviour on 64-bit
+ platforms correctly meet the specification, that %d works with the
+ native word-sized integer, instead of trying to guess (wrongly)
+ from the value being passed.
-Fri Jan 19 10:35:16 1996 Tom Tromey <tromey@creche.cygnus.com>
+2002-02-19 Don Porter <dgp@users.sourceforge.net>
- * Makefile.in (check installcheck): Moved from unix/Makefile.in.
+ * changes: First draft of updated changes for 8.4a4 release.
-Thu Jan 11 14:41:35 1996 Tom Tromey <tromey@creche.cygnus.com>
+2002-02-15 Jeff Hobbs <jeffh@ActiveState.com>
- * Makefile.in (test): New target.
+ * unix/tclUnixPort.h: add strtoll/strtoull declarations for
+ platforms that do not define them.
-Wed Jan 10 11:21:38 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * generic/tclIndexObj.c (STRING_AT): removed ptrdiff_t cast and
+ use of VOID* in default case (GNU-ism).
- * Makefile.in (mostlyclean-recursive clean-recursive
- distclean-recursive realclean-recursive): Separated out recursive
- rules.
+2002-02-15 Kevin Kenny <kennykb@acm.org>
-Tue Jan 9 17:34:56 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * compat/strtoll.c:
+ * compat/strtoul.c:
+ * compat/strtoull.c:
+ * generic/tclIOUtil.c:
+ * generic/tclPosixStr.c:
+ * generic/tclTest.c:
+ * generic/tclTestObj.c:
+ * tests/get.test:
+ * win/Makefile.vc: Further tweaks to the TIP 72 patch to make it
+ compile under VC++.
+
+2002-02-15 Andreas Kupries <andreas_kupries@users.sourceforge.net>
+
+ * tclExecute.c:
+ * tclIOGT.c:
+ * tclIndexObj.c: Touchups to the TIP 72 patch to make it
+ compileable under Windows again. The changes are not complete,
+ there is one nasty regarding _stati64
+
+2002-02-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ +----------------------+
+ | TIP #72 IMPLEMENTED. |
+ +----------------------+
+
+ There are a lot of changes from this TIP, so please see
+ http://purl.org/tcl/tip/72.html for discussion of
+ backward-compatability issues, but the main ones modifications are
+ in:
+
+ * generic/tcl.h: New types.
+ * generic/tcl.decls: New public functions.
+ * generic/tclExecute.c: 64-bit aware bytecode engine.
+ * generic/tclBinary.c: 64-bit handling in [binary] command.
+ * generic/tclScan.c: 64-bit handling in [scan] command.
+ * generic/tclCmdAH.c: 64-bit handling in [file] and [format]
+ commands.
+ * generic/tclBasic.c: New "wordSize" entry in ::tcl_platform.
+ * generic/tclFCmd.c: Large-file support (with many consequences.)
+ * generic/tclIO.c: Large-file support (with many consequences.)
+ * compat/strtoll.c, compat/strtoull.c: New support functions.
+ * unix/tcl.m4, unix/configure: 64-bit support and greatly enhanced
+ cacheing.
+
+ Most other changes, including all those in doc/* and test/* as
+ well as the majority in the platform directories, follow on from
+ these.
+
+ Also coming out of the woodwork:
+ * generic/tclIndex.c: Better support for Cray PVP.
+ * win/tclWinMtherr.c: Better Borland support.
+
+ Note that, in a number of places through the Unix part of the
+ platform support, there are Tcl_Platform* references. These are
+ expanded into the correct way to call that particular underlying
+ function, i.e. with or without a '64' suffix, and should be used
+ by people working on the core in preference to the API functions
+ they overlay so that the code remains portable depending on the
+ presence or absence of 64-bit support on the underlying platform.
+
+ ***POTENTIAL INCOMPATIBILITY***: Extracted from the TIP
+
+ SUMMARY OF INCOMPATIBILITIES AND FIXES
+ ======================================
+
+ The behaviour of expressions containing constants that appear
+ positive but which have a negative internal representation will
+ change, as these will now usually be interpreted as wide
+ integers. This is always fixable by replacing the constant with
+ int(constant).
+
+ Extensions creating new channel types will need to be altered as
+ different types are now in use in those areas. The change to the
+ declaration of Tcl_FSStat and Tcl_FSLstat (which are the new
+ preferred API in any case) are less serious as no non-alpha
+ releases have been made yet with those API functions.
+
+ Scripts that are lax about the use of the l modifier in format and
+ scan will probably need to be rewritten. This should be very
+ uncommon though as previously it had absolutely no effect.
+
+ Extensions that create new math functions that take more than one
+ argument will need to be recompiled (the size of Tcl_Value
+ changes), and functions that accept arguments of any type
+ (TCL_EITHER) will need to be rewritten to handle wide integer
+ values. (I do not expect this to affect many extensions at all.)
+
+2002-02-14 Andreas Kupries <andreas_kupries@users.sourceforge.net>
+
+ * generic/tclIOCmd.c (Tcl_GetsObjCmd): Trivial fix for bug
+ #517503, a memory leak reported by Miguel Sofer
+ <msofer@users.sourceforge.net>. The leak happens if an error
+ occurs for "set var [gets $chan]" and leak one empty object.
+
+2002-02-12 David Gravereaux <davygrvy@pobox.com>
+
+ * djgpp/ (new directory)
+ * djgpp/Makefile (new):
+ * unix/tclAppInit.c:
+ * unix/tclMtherr.c:
+ * unix/tclUnixFCmd.c:
+ * unix/tclUnixFile.c:
+ * unix/tclUnixInit.c:
+ * unix/tclUnixPort.h: Early stage of DJGPP support for building
+ Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32
+ for the TCP/IP stack. No autoconf, yet. Barely tested, but
+ makes a working exe that runs Tcl in protected-mode, flat memory.
+ [exec] and pipes will need the most work as multi-tasking on DOS
+ has to be carefully.
- * Makefile.in: New file.
- * configure.in: New file.
+2002-02-10 Kevin Kenny <kennykb@acm.org>
- * Updated to the tcl7.5a2 release, plus preserved our patches.
- Entries past this point mostly likely refer to files in various
- subdirectories.
+ * doc/CrtObjCmd.3:
+ * doc/CrtTrace.3:
+ * generic/tcl.decls:
+ * generic/tcl.h:
+ * generic/tclBasic.c:
+ * generic/tclInt.h:
+ * generic/tclTest.c:
+ * tests/basic.test: Added Tcl_CreateObjTrace,
+ Tcl_GetCommandInfoFromToken and Tcl_SetCommandInfoFromToken.
+ (TIPs #32 and #79.)
-Fri Dec 1 10:18:01 1995 Rob Savoye <rob@chinadoll.cygnus.com>
+ * generic/tclDecls.h:
+ * generic/tclStubInit.c: Regenerated Stubs tables.
+
+2002-02-08 Jeff Hobbs <jeffh@ActiveState.com>
- * Makefile.in, changes, configure, patchlevel.h, tcl.h,
- tclBasic.c, tclCkalloc.c, tclCmdAH.c, tclCmdMZ.c, tclInt.h,
- tclMain.c, tclPort.h, tclRegexp.h, tclUnixAZ.c, tclUnixStr.c,
- tclUnixUtil.c, tclVar.c, README, compat/fixstrtod.c,
- tests/lsort.test, testsuite/config/default.exp,
- testsuite/tcl.tests/tcl-test.exp: Upgrade to Tcl7.4p3 to fix a few
- bugs.
+ * unix/configure:
+ * unix/tcl.m4: added -pthread for FreeBSD to EXTRA_CFLAGS and
+ LDFLAGS. Also triggered nodots only for FreeBSD-3.
+ Added AC_DEFINE(_POSIX_PTHREAD_SEMANTICS) for Solaris.
-Thu Nov 16 10:01:20 1995 Rob Savoye <rob@chinadoll.cygnus.com>
+ * unix/tclUnixPort.h:
+ * unix/tclUnixThrd.c: added thread-safe versions of readdir,
+ localtime, gmtime and inet_ntoa for threaded build. (jgdavidson)
- * configure.in: Use AC_PROG_CC again since Cygnus configure now
- does the sames thing.
+ * generic/tclScan.c (Tcl_ScanObjCmd): prevented ckfree being
+ called on a pointer to NULL.
-Sat Oct 7 20:51:29 1995 Michael Meissner <meissner@cygnus.com>
+2002-02-07 Don Porter <dgp@users.sourceforge.net>
- * tcl.h (ckrealloc): Cast pointer argument to char * to silence
- warnings.
+ * doc/DString.3:
+ * doc/Encoding.3:
+ * doc/GetCwd.3:
+ * doc/SplitPath.3:
+ * doc/Translate.3:
+ * doc/Utf.3:
+ * generic/tcl.decls:
+ * generic/tcl.h:
+ * generic/tclEncoding.c:
+ * generic/tclEnv.c:
+ * generic/tclFileName.c:
+ * generic/tclIOUtil.c:
+ * generic/tclUtf.c:
+ * generic/tclUtil.c:
+ * mac/tclMacInit.c:
+ * unix/tclUnixFile.c:
+ * unix/tclUnixInit.c:
+ * unix/tclUnixPipe.c:
+ * win/tclWin32Dll.c:
+ * win/tclWinFCmd.c:
+ * win/tclWinFile.c:
+ * win/tclWinInit.c: Partial TIP 27 rollback. Following routines
+ restored to return (char *): Tcl_DStringAppend,
+ Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName,
+ Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString,
+ Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also
+ restored Tcl_WinUtfToTChar to return (TCHAR *) and
+ Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified
+ some callers. This change recognizes that Tcl_DStrings are
+ de-facto white-box objects.
-Sun Aug 20 00:43:51 1995 Jason Molenda (crash@phydeaux.cygnus.com)
+ * generic/tclDecls.h:
+ * generic/tclPlatDecls.h: make genstubs
- * configure.in: If the system has a functional strtod(), *don't*
- provide one.
+ * generic/tclCmdMZ.c: corrected use of C++-style comment.
-Thu Aug 17 16:04:39 1995 Rob Savoye <rob@darkstar.cygnus.com>
+2002-02-06 Jeff Hobbs <jeffh@ActiveState.com>
- * tcl: Updated to the official tcl7.4 release, plus preserved
- our patches.
+ * tests/scan.test:
+ * generic/tclScan.c (Tcl_ScanObjCmd): corrected scan 0x... %x
+ handling that didn't accept the 0x as a prelude to a base 16
+ number. [Bug #495213]
-Sun Aug 6 11:45:19 1995 Fred Fish <fnf@cygnus.com>
+ * generic/tclCompCmds.c (TclCompileRegexpCmd): made early check
+ for bad RE to stop checking further.
- * Makefile.in (distclean): Remove config.cache & config.log
+ * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): added special case to
+ search for simple 'string map' style regsub calls.
+ Delayed creation of resultPtr object until an initial match is
+ made, as the input string object can then be reused for no matches.
+ (Tcl_StringObjCmd): optimization improvements to the STR_MAP
+ algorithm for zero-length and nocase cases.
-Mon Jun 12 15:46:48 1995 J.T. Conklin <jtc@rtl.cygnus.com>
+ * tests/regexp.test:
+ * tests/regexpComp.test: extra code coverage tests.
- * tclAlloc.c: New file.
- * tcl.h (Tcl_Malloc, Tcl_Realloc, Tcl_Free): New functions.
- (ckalloc, ckrealloc, ckfree): Defined to Tcl_Malloc, Tcl_Free
- respectively when compiling without TCL_MEM_DEBUG.
- * Makefile.in (GENERIC_OBJS): Added tclAlloc.o
- (SRCS): Added tclAlloc.c.
+ * tests/string.test: added 10.18 and 10.19 extra tests.
-Thu Apr 6 19:32:43 1995 Doug Evans <dje@chestnut.cygnus.com>
+ * generic/regc_locale.c (casecmp): slight performance improvement.
- * tclPort.h (gettimeofday): Comment out prototype.
+2002-02-05 Don Porter <dgp@users.sourceforge.net>
-Thu Mar 23 17:58:38 1995 Rob Savoye <rob@thepub.cygnus.com>
+ * library/http/http.tcl:
+ * library/http/pkgIndex.tcl: Corrected use of http::error when
+ ::error was intended. Bump to http 2.4.2.
- * tcl: Upgrade to 7.4.b2. Update configure.in to autoconf 2.2,
- merge in our LynxOS patches.
+2002-02-04 Andreas Kupries <andreas_kupries@users.sourceforge.net>
-Wed Dec 21 15:12:14 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
+ * unix/tclUnixChan.c (FileOutputProc): Fixed [bug 465765] reported
+ by Dale Talcott <daletalcott@users.sourceforge.net>. Avoid
+ writing nothing into a file as STREAM based implementations will
+ consider this a EOF (if the file is a pipe). Not done in the
+ generic layer as this type of writing is actually useful to
+ check the state of a socket.
- * tclUnixUtil.c: Use __Lynx__ in the conditional which selects
- LynxOS-specific waitpid() prototype.
+ * doc/open.n: Fixed [Bug 511540], added cross-reference to 'pid'
+ as the command to use to retrieve the pid of a command pipeline
+ created via 'open'.
-Mon Dec 19 04:38:49 1994 Angela Marie Thomas <angela@cygnus.com>
+2002-02-01 Jeff Hobbs <jeffh@ActiveState.com>
- * Makefile.in (all): use ${AR_FLAGS}, not ${ARFLAGS} because the
- "make" default for ${ARFLAGS} includes an option, f, which I can't
- find in any man page and breaks builds.
+ * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): handle quirky about case
+ earlier to avoid shimmering problem.
-Tue Jun 7 07:44:31 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
+2002-02-01 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * compat/tmpnam.c: handle losing LynxOS mktemp.
+ * tests/io.test: io-39.22 split into two tests, one platform
+ dependent, the other not. -eofchar is not empty on the windows
+ platform.
-Thu May 26 20:15:55 1994 David J. Mackenzie (djm@poseidon.cygnus.com)
+2002-02-01 Vince Darley <vincentdarley@users.sourceforge.net>
- * aclocal.m4 (TCL_LYNX_POSIX): Renamed from AC_LYNX_POSIX.
- Check __GNUC__ value to get POSIX flag right.
- * configure.in: Use new name.
- * configure: Regenerate.
+ * generic/tclTest.c: fix to picky windows compiler problem
+ with the 'MainLoop' function declaration.
-Wed May 4 20:17:46 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
+2002-01-31 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * compat/tmpnam.c: if you're going to redefine P_tmpdir,
- undefine it first.
+ * win/tclWinFCmd.c: TIP 27: Applied patch fixing CONST warnings on
+ behalf of Don Porter <dgp@users.sourceforge.net>.
- * compat/strerror.c: undefine various error codes which are
- defined in terms of others, where that causes duplicated case
- labels on r/s6000 lynxos 2.2.2.
+2002-01-30 Don Porter <dgp@users.sourceforge.net>
-Sat Apr 23 17:10:13 1994 Bill Cox (bill@rtl.cygnus.com)
+ * generic/tcl.decls:
+ * generic/tcl.h:
+ * generic/tclInt.h: For each interface identified in the TIP 27
+ changes below as a POTENTIAL INCOMPATIBILITY, the source of the
+ incompatibility has been parameterized so that it can be
+ removed. When compiling extension code against the Tcl header
+ files, use the compiler flag -DUSE_NON_CONST to remove the
+ irresolvable source incompatibilities introduced by the TIP 27
+ changes. Resolvable changes are left for extension authors to
+ resolve.
+ * generic/tclDecls.h: make genstubs
+
+2002-01-30 Vince Darley <vincentdarley@users.sourceforge.net>
+
+ * doc/FileSystem.3: added documentation for 3 public
+ functions which had been overlooked. Fixes [Bug 507701].
+ * unix/mkLinks: make mklinks
+
+2002-01-29 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * tests/regexpComp.test:
+ * generic/tclCompCmds.c (TclCompileRegexpCmd): enhanced to support
+ -nocase and -- options.
+
+2002-01-28 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * unix/tcl.m4 (SC_LOAD_TCLCONFIG):
+ * win/tcl.m4 (SC_LOAD_TCLCONFIG): Set TCL_LIB_SPEC,
+ TCL_STUB_LIB_SPEC, and TCL_STUB_LIB_PATH to the
+ values of TCL_BUILD_LIB_SPEC, TCL_BUILD_STUB_LIB_SPEC,
+ and TCL_BUILD_STUB_LIB_PATH when tclConfig.sh is loaded
+ from the build directory. A Tcl extension should
+ make use of the non-build versions of these variables
+ since they will work in both cases. This modification
+ was described in TIP 34.
+
+2002-01-28 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * win/tclWinReg.c (regConnectRegistryProc,RecursiveDeleteKey)
+ (DeleteKey,GetKeyNames,GetType,GetValue,OpenSubKey,SetValue):
+ redid the CONSTification as previous changes caused failing tests.
+
+ * tests/regexpComp.test (new):
+ * generic/tclInt.h:
+ * generic/tclBasic.c: added TclCompileRegexpCmd entry
+ * generic/tclCompCmds.c (TclCompileStringCmd): corrected to return
+ TCL_OUT_LINE_COMPILE instead of TCL_ERROR for parsing errors, so
+ it only throws the error for runtime compile, in case the user
+ modifies 'string'.
+ (TclCompileRegexpCmd): first try at a byte-compiled regexp
+ command. It handles static strings and ^$ bounded static strings.
+ (TclCompileAppendCmd): made TclPushVarName call always use
+ TCL_CREATE_VAR as numWords is always > 2 at that point.
- * compat/getcwd.c: The contents of this file was the UCB
- float.h file. Restored the correct contents from devo.
+ * generic/tclExecute.c (TclExecuteByteCode:INST_LIST): correct
+ possibly dangerous decr in macro call.
-Fri Apr 22 11:28:35 1994 Bill Cox (bill@cygnus.com)
+ * win/tclWinInit.c (TclpFindVariable): CONSTification touch-up
- * tclUnixUtil.c: Make a new prototype for waitpid if
- we're compiling under the Lynx version of gcc.
+ * win/tclWinReg.c (OpenSubKey): corrected bug introduced in
+ CONSTification that dropped pointer reference.
-Thu Mar 31 19:36:44 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
+ * ChangeLog.2000 (new file):
+ * ChangeLog: broke changes from 2000 into ChangeLog.2000 to reduce
+ size of the main ChangeLog.
- * install.sh: Since "set -e" is in effect, don't use a test that
- can fail in a while condition; it confuses some shells. Use break
- instead. Use "case" rather than "if [" for efficiency with some
- shells.
+2002-01-28 David Gravereaux <davygrvy@pobox.com>
-Tue Jan 4 17:03:31 1994 Rob Savoye (rob@rtl.cygnus.com)
+ * generic/tclPlatDecls.h: Added preprocessor logic to force a
+ typedef of TCHAR when __STDC__ is defined when using the uncommon
+ -Za compiler switch with the microsoft compiler.
- * All files: Upgraded to Tcl7.3. This version has incompatablities
- with the old versions before 7.0.
+2002-01-27 Don Porter <dgp@users.sourceforge.net>
-Tue Nov 23 13:01:22 1993 Rob Savoye (rob@darkstar.cygnus.com)
+ * doc/package.n: Documented global namespace context for script
+ evaluation by [package require].
- * configure.in: Use AC_HEADER_CHECK for unistd.h.
+2002-01-27 Daniel Steffen <das@users.sourceforge.net>
-Tue Nov 9 19:07:39 1993 Rob Savoye (rob@cygnus.com)
+ * generic/tclInt.decls:
+ * generic/tclIntPlatDecls.h:
+ * mac/tclMacChan.c:
+ * mac/tclMacFCmd.c:
+ * mac/tclMacFile.c:
+ * mac/tclMacInit.c:
+ * mac/tclMacLoad.c:
+ * mac/tclMacResource.c:
+ * mac/tclMacSock.c: TIP 27 CONSTification induced changes
- * tclUnixStr.c (Tcl_ErrnoId): Added cpp tests for duplicate
- defines that choked LynxOS.
+ * tests/event.test:
+ * tests/main.test: added catches/constraints to test that
+ use features that don't exist on the mac.
-Fri Oct 1 17:30:06 1993 Doug Evans (dje@canuck.cygnus.com)
+2002-01-25 Mo DeJong <mdejong@users.sourceforge.net>
- * Makefile.in (tclTest.o): Sun VPATH lossage.
+ Make -eofchar and -translation options read only for
+ server sockets. [Bug 496733]
+
+ * generic/tclIO.c (Tcl_GetChannelOption, Tcl_SetChannelOption):
+ Instead of returning nothing for the -translation option
+ on a server socket, always return "auto". Return the empty
+ string enclosed in quotes for the -eofchar option on
+ a server socket. Fixup -eofchar usage message so that
+ it matches the implementation.
+ * tests/io.test: Add -eofchar tests and -translation tests
+ to ensure options are read only on server sockets.
+ * tests/socket.test: Update tests to account for -eofchar
+ and -translation option changes.
+
+2002-01-25 Don Porter <dgp@users.sourceforge.net>
+
+ * compat/strstr.c (strstr):
+ * generic/tclCmdAH.c (Tcl_FormatObjCmd):
+ * generic/tclCmdIL.c (InfoNameOfExecutableCmd):
+ * generic/tclEnv.c (ReplaceString):
+ * generic/tclFileName.c (ExtractWinRoot):
+ * generic/tclIO.c (FlushChannel,Tcl_BadChannelOption):
+ * generic/tclStringObj.c (AppendUnicodeToUtfRep):
+ * generic/tclThreadTest.c (TclCreateThread):
+ * generic/tclUtf.c (Tcl_UtfPrev):
+ * mac/tclMacFCmd.c (TclpObjListVolumes):
+ * mac/tclMacResource.c (TclMacRegisterResourceFork,
+ BuildResourceForkList):
+ * win/tclWinInit.c (AppendEnvironment): Sought out and eliminated
+ instances of CONST-casting that are no longer needed after the
+ TIP 27 effort.
+
+ * Following is [Patch 501006]
+ * generic/tclInt.decls (Tcl_AddInterpResolvers, Tcl_Export,
+ Tcl_FindNamespace, Tcl_GetInterpResolvers, Tcl_ForgetImport,
+ Tcl_Import, Tcl_RemoveInterpResolvers):
+ * generic/tclNamesp.c (Tcl_Export, Tcl_Import, Tcl_ForgetImport,
+ Tcl_FindNamespace):
+ * generic/tclResolve.c (Tcl_AddInterpResolvers,Tcl_GetInterpResolvers,
+ Tcl_RemoveInterpResolvers): Updated APIs in generic/tclResolve.c
+ and generic/tclNamesp.c according to the guidelines of TIP 27.
+ * generic/tclIntDecls.h: make genstubs
+
+ * Following is [Patch 505630]
+ * doc/AddErrorInfo.3:
+ * generic/tcl.decls (Tcl_LogCommandInfo):
+ * generic/tclBasic.c (Tcl_LogCommandInfo): Updated interfaces
+ of generic/tclBasic.cc according to TIP 27.
+ * generic/tclDecls.h: make genstubs
+
+ * Following is [Patch 506818]
+ * doc/Hash.3:
+ * generic/tcl.decls (Tcl_HashStats):
+ * generic/tclHash.c (Tcl_HashStats): Updated APIs of generic/tclHash.c
+ according to guidelines of TIP 27.
+ * generic/tclDecls.h: make genstubs
+ * generic/tclVar.c (Tcl_ArrayObjCmd): Updated callers.
+
+ * Following is [Patch 506807]
+ * doc/ObjectType.3:
+ * generic/tcl.decls (Tcl_GetObjType):
+ * generic/tclObj.c (Tcl_GetObjType): Updated APIs of generic/tclObj.c
+ according to guidelines of TIP 27.
+ * generic/tclDecls.h: make genstubs
+
+ * Following is [Patch 507304]
+ * doc/Encoding.3:
+ * generic/tcl.decls (Tcl_WinUtfToTChar,Tcl_WinTCharToUtf):
+ * win/tclWin32Dll.c (Tcl_WinUtfToTChar,Tcl_WinTCharToUtf):
+ Updated interfaces in win/tclWin32Dll.c according to TIP 27.
+ * generic/tclPlatDecls.h: make genstubs
+ * generic/tclIOUtil.c (TclpNativeToNormalized):
+ * win/tclWinFCmd.c (TclpObjNormalizePath):
+ * win/tclWinFile.c (TclpFindExecutable,TclpMatchInDirectory,
+ NativeIsExec,NativeStat):
+ * win/tclWinLoad.c (TclpLoadFile):
+ * win/tclWinPipe.c (TclpOpenFile,ApplicationType):
+ * win/tclWinReg.c (regConnectRegistryProc,RecursiveDeleteKey,DeleteKey,
+ GetKeyNames,GetType,GetValue,OpenSubKey,SetValue):
+ * win/tclWinSerial.c (SerialSetOptionProc): Update callers.
+
+ * Following is [Patch 505072]
+ * doc/Concat.3:
+ * doc/Encoding.3:
+ * doc/Filesystem.3:
+ * doc/Macintosh.3:
+ * doc/OpenFileChnl.3
+ * doc/SetResult.3:
+ * doc/SetVar.3:
+ * doc/SplitList.3:
+ * doc/SplitPath.3:
+ * doc/Translate.3:
+ * generic/tcl.h (Tcl_FSMatchInDirectoryProc):
+ * generic/tclInt.h (TclpMatchInDirectory):
+ * generic/tcl.decls (Tcl_Concat,Tcl_GetStringResult,Tcl_GetVar,
+ Tcl_GetVar2,Tcl_JoinPath,Tcl_Merge,Tcl_OpenCommandChannel,Tcl_SetVar,
+ Tcl_SetVar2,Tcl_SplitList,Tcl_SplitPath,Tcl_TranslateFileName,
+ Tcl_ExternalToUtfDString,Tcl_GetEncodingName,Tcl_UtfToExternalDString,
+ Tcl_GetDefaultEncodingDir,Tcl_SetDefaultEncodingDir,
+ Tcl_FSMatchInDirectory,Tcl_MacEvalResource,Tcl_MacFindResource):
+ * generic/tclInt.decls (TclCreatePipeline,TclGetEnv,TclpGetCwd,
+ TclpCreateProcess):
+ * mac/tclMacFile.c (TclpGetCwd):
+ * generic/tclEncoding.c (Tcl_GetDefaultEncodingDir,
+ Tcl_SetDefaultEncodingDir,Tcl_GetEncodingName,
+ Tcl_ExternalToUtfDString,Tcl_UtfToExternalDString, OpenEncodingFile,
+ LoadEscapeEncoding):
+ * generic/tclFileName.c (DoTildeSubst,Tcl_JoinPath,Tcl_SplitPath,
+ Tcl_TranslateFileName):
+ * generic/tclIOUtil.c (Tcl_FSMatchInDirectory):
+ * generic/tclPipe.c (FileForRedirect,TclCreatePipeline,
+ Tcl_OpenCommandChannel):
+ * generic/tclResult.c (Tcl_GetStringResult):
+ * generic/tclUtil.c (Tcl_Concat,Tcl_SplitList,Tcl_Merge):
+ * generic/tclVar.c (Tcl_GetVar,Tcl_GetVar2,Tcl_SetVar,Tcl_SetVar2):
+ * mac/tclMacResource.c (Tcl_MacEvalResource,Tcl_MacFindResource):
+ Updated interfaces of generic/tclEncoding, generic/tclFilename.c,
+ generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c,
+ generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according
+ to TIP 27. Tcl_TranslateFileName rewritten as wrapper around
+ VFS-aware version.
+ ***POTENTIAL INCOMPATIBILITY***
+ Includes source incompatibilities: argv arguments of Tcl_Concat,
+ Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of
+ Tcl_SplitList and Tcl_SplitPath.
+ * generic/tclDecls.h:
+ * generic/tclIntDecls.h: make genstubs
+
+ * generic/tclCkalloc.c (MemoryCmd):
+ * generic/tclClock.c (FormatClock):
+ * generic/tclCmdAH.c (Tcl_CaseObjCmd,Tcl_EncodingObjCmd,Tcl_FileObjCmd):
+ * generic/tclCmdIL.c (InfoLibraryCmd,InfoPatchLevelCmd,
+ InfoTclVersionCmd):
+ * generic/tclCompCmds.c (TclCompileForeachCmd):
+ * generic/tclCompCmds.h (TclCompileForeachCmd):
+ * generic/tclCompile.c (TclFindCompiledLocal):
+ * generic/tclEnv.c (TclSetupEnv,TclSetEnv,Tcl_PutEnv,TclGetEnv,
+ EnvTraceProc):
+ * generic/tclEvent.c (Tcl_BackgroundError):
+ * generic/tclIO.c (Tcl_BadChannelOption,Tcl_SetChannelOption):
+ * generic/tclIOCmd.c (Tcl_ExecObjCmd,Tcl_OpenObjCmd):
+ * generic/tclIOSock.c (TclSockGetPort):
+ * generic/tclIOUtil.c (SetFsPathFromAny):
+ * generic/tclLink.c (LinkTraceProc):
+ * generic/tclMain.c (Tcl_Main):
+ * generic/tclNamesp.c (TclTeardownNamespace):
+ * generic/tclProc.c (TclCreateProc):
+ * generic/tclTest.c (TestregexpObjCmd,TesttranslatefilenameCmd,
+ TestchmodCmd,GetTimesCmd,TestsetCmd,TestOpenFileChannelProc1,
+ TestOpenFileChannelProc2,TestOpenFileChannelProc3,AsyncHandlerProc,
+ TestpanicCmd):
+ * generic/tclThreadTest.c (ThreadErrorProc,ThreadEventProc):
+ * generic/tclUtil.c (TclPrecTraceProc):
+ * mac/tclMacFCmd.c (GetFileSpecs):
+ * mac/tclMacFile.c (TclpMatchInDirectory):
+ * mac/tclMacInit.c (TclpInitLibraryPath,Tcl_SourceRCFile):
+ * mac/tclMacOSA.c (tclOSAStore,tclOSALoad):
+ * mac/tclMacResource.c (Tcl_MacEvalResource):
+ * unix/tclUnixFCmd.c (TclpObjNormalizePath):
+ * unix/tclUnixFile.c (TclpMatchInDirectory,TclpGetUserHome,TclpGetCwd,
+ TclpReadLink):
+ * unix/tclUnixInit.c (TclpInitLibraryPath,TclpSetVariables,
+ Tcl_SourceRCFile):
+ * unix/tclUnixPipe.c (TclpOpenFile,TclpCreateTempFile,
+ TclpCreateProcess):
+ * win/tclWinFile.c (TclpGetCwd,TclpMatchInDirectory):
+ * win/tclWinInit.c (TclpInitLibraryPath,Tcl_SourceRCFile,
+ TclpSetVariables):
+ * win/tclWinPipe.c (TclpCreateProcess): Updated callers.
+
+2002-01-24 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclIOUtil.c (SetFsPathFromAny): Corrected tilde-substitution
+ of pathnames where > 1 separator follows the ~. [Bug 504950]
+
+2002-01-24 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * library/http/pkgIndex.tcl:
+ * library/http/http.tcl: don't add port in default case to handle
+ broken servers. http bumped to 2.4.1 [Bug #504508]
+
+2002-01-23 Andreas Kupries <andreas_kupries@users.sourceforge.net>
+
+ * unix/mkLinks: Regenerated.
+ * doc/CrtChannel.3:
+ * doc/ChnlStack.3: Moved documentation for 'Tcl_GetTopChannel'
+ from 'CrtChannel' to 'ChnlStack'. Added documentation of
+ 'Tcl_GetStackedChannel'. Bug #506147 reported by Mark Patton
+ <msp@users.sourceforge.net>.
+
+2002-01-23 Don Porter <dgp@users.sourceforge.net>
+
+ * win/tclWinFile.c (NativeAccess,NativeStat,NativeIsExec,
+ TclpGetUserHome):
+ * win/tclWinPort.h (TclWinSerialReopen):
+ * win/tclWinSerial.c (TclWinSerialReopen):
+ * win/tclWinSock.c (Tcl_OpenTcpServer): Corrections to earlier
+ TIP 27 changes. Thanks to Andreas Kupries for the feedback.
+ * generic/tclPlatDecls.h: make genstubs
+
+ * doc/GetHostName.3:
+ * doc/GetOpnFl.3:
+ * doc/OpenTcp.3:
+ * tcl.decls (Tcl_GetHostName,Tcl_GetOpenFile,Tcl_OpenTcpClient,
+ Tcl_OpenTclServer):
+ * mac/tclMacSock.c (CreateSocket,Tcl_OpenTcpClient,Tcl_OpenTcpServer,
+ Tcl_GetHostName,GetHostFromString):
+ * unix/tclUnixChan.c (CreateSocket,CreateSocketAddress,
+ Tcl_OpenTcpClient,Tcl_OpenTcpServer,Tcl_GetOpenFile):
+ * unix/tclUnixSock.c (Tcl_GetHostName):
+ * win/tclWinSock.c (CreateSocket,CreateSocketAddress,
+ Tcl_OpenTcpClient,Tcl_OpenTcpServer,Tcl_GetHostName):
+ Updated socket interfaces according to TIP 27.
+ * generic/tclCmdIL.c (InfoHostnameCmd): Updated callers.
+ * generic/tclDecls.h: make genstubs
+
+2002-01-21 David Gravereaux <davygrvy@pobox.com>
+
+ * generic/tclLoadNone.c: TclpLoadFile() didn't match proto of
+ typedef Tcl_FSLoadFileProc. OK'd by vincentdarley.
+ [Patch #502488]
+
+2002-01-21 Andreas Kupries <andreas_kupries@users.sourceforge.net>
+
+ * generic/tclIO.c (WriteChars): Fix for SF #506297, reported by
+ Martin Forssen <ruric@users.sourceforge.net>. The encoding
+ chosen in the script exposing the bug writes out three intro
+ characters when TCL_ENCODING_START is set, but does not consume
+ any input as TCL_ENCODING_END is cleared. As some output was
+ generated the enclosing loop calls UtfToExternal again, again
+ with START set. Three more characters in the out and still no
+ use of input ... To break this infinite loop we remove
+ TCL_ENCODING_START from the set of flags after the first call
+ (no condition is required, the later calls remove an unset flag,
+ which is a no-op). This causes the subsequent calls to
+ UtfToExternal to consume and convert the actual input.
+
+2002-01-21 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclTest.c: Converted declarations of TestReport file system
+ to more portable form. [Bug 501417].
+
+ * generic/tcl.decls (Tcl_TraceCommand,Tcl_UntraceCommand,
+ Tcl_CommandTraceInfo):
+ * generic/tclCmdMZ.c (Tcl_TraceCommand,Tcl_UntraceCommand,
+ Tcl_CommandTraceInfo): Updated APIs in generic/tclCmdMZ.c
+ according to the guidelines of TIP 27.
+ * generic/tclDecls.h: make genstubs
+
+2002-01-18 Don Porter <dgp@users.sourceforge.net>
-Tue Aug 17 11:23:27 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
+ * win/tclWinChan.c:
+ * win/tclWinFCmd.c:
+ * win/tclWinFile.c: Overlooked callers of Tcl_FSGetNativePath
- * Makefile.in (install): don't install *.tcl all at once
+ * win/tclWinDde.c:
+ * win/tclWinReg.c: Overlooked callers of Tcl_GetIndexFromObj
-Thu Jul 8 09:24:47 1993 Doug Evans (dje@canuck.cygnus.com)
+2002-01-18 Daniel Steffen <das@users.sourceforge.net>
- * Makefile.in: Add stuff needed to make Sun VPATH work.
+ * generic/tclThreadTest.c:
+ * mac/tclMacChan.c:
+ * mac/tclMacFCmd.c:
+ * mac/tclMacFile.c:
+ * mac/tclMacLoad.c:
+ * mac/tclMacResource.c: TIP 27 CONSTification broke the mac
+ build in a number of places.
+
+2002-01-17 Andreas Kupries <andreas_kupries@users.sourceforge.net>
+
+ * generic/tclIOCmd.c (Tcl_GetsObjCmd): Fixed bug #504642 as
+ reported by Brian Griffin <bgriffin@users.sourceforge.net>,
+ using his patch. Before the patch the generic I/O layer held an
+ unannounced reference to the interp result to store the read
+ line into. This unfortunately has disastrous results if the
+ channel driver executes a tcl script to perform its operation,
+ this freeing the interp result. In that case we are
+ dereferencing essentially a dangling reference. It is not truly
+ dangling because the object is in the free list, but this only
+ causes us to smash the free list and have the error occur later
+ somewhere else. The patch simply creates a new object for the
+ line and later sets it into the interp result when we are done
+ with reading.
+
+2002-01-16 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * unix/tcl.m4 (SC_LOAD_TCLCONFIG):
+ * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst TCL_DBGX
+ into TCL_STUB_LIB_FILE and TCL_STUB_LIB_FLAG
+ variables so that an extension does not need
+ to subst TCL_DBGX into its makefile. [Tk Bug 504356]
+
+2002-01-16 Don Porter <dgp@users.sourceforge.net>
+
+ * doc/FileSystem.3:
+ * doc/GetCwd.3:
+ * doc/GetIndex.3:
+ * generic/tcl.decls (Tcl_GetIndexFromObj, Tcl_GetIndexFromObjStruct,
+ Tcl_GetCwd, Tcl_FSFileAttrStrings, Tcl_FSGetNativePath,
+ Tcl_FSGetTranslatedStringPath):
+ * generic/tcl.h (Tcl_FSFileAttrStringsProc):
+ * generic/tclFCmd.c (TclFileAttrsCmd):
+ * generic/tclIOUtil.c (Tcl_GetCwd,NativeFileAttrStrings,
+ Tcl_FSFileAttrStrings,Tcl_FSGetTranslatedStringPath,
+ Tcl_FSGetNativePath):
+ * generic/tclIndexObj.c (Tcl_GetIndexFromObj,Tcl_GetIndexFromObjStruct):
+ More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that were
+ overlooked before. [Patch 504671]
+ ***POTENTIAL INCOMPATIBILITY***
+ Includes a source incompatibility in the tablePtr arguments of
+ the Tcl_GetIndexFromObj* routines.
+ * generic/tclDecls.h: make genstubs
+
+ * generic/tclBinary.c (Tcl_BinaryObjCmd):
+ * generic/tclClock.c (Tcl_ClockObjCmd):
+ * generic/tclCmdAH.c (Tcl_EncodingObjCmd, Tcl_FileObjCmd):
+ * generic/tclCmdIL.c (Tcl_InfoObjCmd,Tcl_LsearchObjCmd,Tcl_LsortObjCmd):
+ * generic/tclCmdMZ.c (Tcl_TraceObjCmd,Tcl_RegexpObjCmd,Tcl_RegsubObjCmd,
+ Tcl_StringObjCmd,Tcl_SubstObjCmd,Tcl_SwitchObjCmd,
+ TclTraceCommandObjCmd,TclTraceVariableObjCmd):
+ * generic/tclCompCmds.c (TclCompileStringCmd):
+ * generic/tclEvent.c (Tcl_UpdateObjCmd):
+ * generic/tclFileName.c (Tcl_GlobObjCmd):
+ * generic/tclIO.c (Tcl_FileEventObjCmd):
+ * generic/tclIOCmd.c (Tcl_SeekObjCmd,Tcl_ExecObjCmd,Tcl_SocketObjCmd,
+ Tcl_FcopyObjCmd):
+ * generic/tclInterp.c (Tcl_InterpObjCmd,SlaveObjCmd):
+ * generic/tclNamesp.c (Tcl_NamespaceObjCmd):
+ * generic/tclPkg.c (Tcl_PackageObjCmd):
+ * generic/tclTest.c (Tcltest_Init,TestencodingObjCmd,TestgetplatformCmd,
+ TestlocaleCmd,TestregexpObjCmd,TestsaveresultCmd,
+ TestGetIndexFromObjStructObjCmd,TestReportFileAttrStrings):
+ * generic/tclTestObj.c (TestindexObjCmd,TeststringObjCmd):
+ * generic/tclTimer.c (Tcl_AfterObjCmd):
+ * generic/tclVar.c (Tcl_ArrayObjCmd):
+ * mac/tclMacFCmd.c (SetFileFinderAttributes):
+ * unix/tclUnixChan.c (TclpOpenFileChannel):
+ * unix/tclUnixFCmd.c (tclpFileAttrStrings):
+ * unix/tclUnixFile.c (TclpObjAccess,TclpObjChdir,TclpObjStat,
+ TclpObjLstat):
+ * win/tclWinFCmd.c (tclpFileAttrStrings): Updated callers.
-Thu May 6 12:04:52 1993 Rob Savoye (rob at darkstar.cygnus.com)
+ * doc/RegExp.3:
+ * doc/Utf.3:
+ * generic/tcl.decls:
+ * generic/tclInt.decls:
+ * generic/tclRegexp.c:
+ * generic/tclUtf.c: Updated APIs in generic/tclUtf.c and
+ generic/tclRegexp.c according to the guidelines of TIP 27.
+ [Patch 471509]
- * Makefile.in: Install the manpages too.
+ * generic/regc_locale.c (element,cclass):
+ * generic/tclCmdMZ.c (Tcl_StringObjCmd):
+ * generic/tclFileName.c (TclpGetNativePathType,SplitMacPath):
+ * generic/tclIO.c (ReadChars):
+ * mac/tclMacLoad.c (TclpLoadFile):
+ * win/tclWinFile.c (TclpGetUserHome): Updated callers.
-Tue May 4 22:01:24 1993 Rob Savoye (rob at darkstar.cygnus.com)
+ * generic/tclDecls.h:
+ * generic/tclIntDecls.h: make genstubs
+
+ * doc/ParseCmd.3 (Tcl_ParseVar):
+ * generic/tcl.decls (Tcl_ParseVar):
+ * generic/tclParse.c (Tcl_ParseVar):
+ * generic/tclTest.c (TestparsevarObjCmd): Updated APIs in
+ generic/tclParse.c according to the guidelines of TIP 27. Updated
+ callers. [Patch 501046]
+ * generic/tclDecls.h: make genstubs
+
+ * generic/tcl.decls (Tcl_RecordAndEval):
+ * generic/tclDecls.h: make genstubs
+ * generic/tclHistory.c (Tcl_RecordAndEval): Updated APIs in
+ generic/tclHistory.c according to the guidelines of TIP 27.
+ [Patch 504091]
+
+ * doc/CrtSlave.3:
+ * generic/tcl.decls (Tcl_CreateAlias, Tcl_CreateAliasObj,
+ Tcl_CreateSlave, Tcl_GetAlias, Tcl_GetAliasObj, Tcl_GetSlave):
+ * generic/tclInterp.c (Tcl_CreateAlias, Tcl_CreateAliasObj,
+ Tcl_CreateSlave, Tcl_GetAlias, Tcl_GetAliasObj, Tcl_GetSlave):
+ Updated APIs in the file generic/tclInterp.c according to the
+ guidelines of TIP 27. [Patch 501371]
+ ***POTENTIAL INCOMPATIBILITY***
+ Includes a source incompatibility in the targetCmdPtr arguments of
+ the Tcl_GetAlias* routines.
+
+ * generic/tclDecls.h: make genstubs
+
+2002-01-15 Don Porter <dgp@users.sourceforge.net>
+
+ * doc/SetErrno.3 (Tcl_ErrnoMsg): Corrected documentation for
+ Tcl_ErrnoMsg; it takes an integer argument. Thanks to Georgios
+ Petasis. [Bug 468183]
+
+ * doc/AddErrInfo.3 (Tcl_PosixError):
+ * doc/Eval.3 (Tcl_EvalFile):
+ * doc/FileSystem.c (Tcl_FSOpenFileChannel,Tcl_FSOpenFileChannelProc):
+ * doc/OpenFileChnl.3 (Tcl_OpenFileChannel):
+ * doc/SetErrno.3 (Tcl_ErrnoId,Tcl_ErrnoMsg):
+ * doc/Signal.3 (Tcl_SignalId,Tcl_SignalMsg):
+ * generic/tcl.decls (Tcl_ErrnoId,TclErrnoMsg,Tcl_EvalFile,
+ Tcl_OpenFileChannel,Tcl_PosixError,Tcl_SignalId,Tcl_SignalMsg,
+ Tcl_FSOpenFileChannel):
+ * generic/tcl.h (Tcl_FSOpenFileChannelProc):
+ * generic/tclIO.c (FlushChannel):
+ * generic/tclIOUtil.c (Tcl_OpenFileChannel,Tcl_EvalFile,TclGetOpenMode,
+ Tcl_PosixError,Tcl_FSOpenFileChannel):
+ * generic/tclInt.decls (TclGetOpenMode):
+ * generic/tclInt.h (TclOpenFileChannelProc_,TclGetOpenMode,
+ TclpOpenFileChannel):
+ * generic/tclPipe.c (TclCleanupChildren):
+ * generic/tclPosixStr.c (Tcl_ErrnoId,Tcl_ErrnoMsg,Tcl_SignalId,
+ Tcl_SignalMsg):
+ * generic.tclTest.c (PretendTclpOpenFileChannel,
+ TestOpenFileChannelProc1,TestOpenFileChannelProc2,
+ TestOpenFileChannelProc3,TestReportOpenFileChannel):
+ * mac/tclMacChan.c (TclpOpenFileChannel):
+ * unix/tclUnixChan.c (TclpOpenFileChannel):
+ * win/tclWinChan.c (TclpOpenFileChannel): Updated APIs in
+ generic/tclIOUtil.c and generic/tclPosixStr.c according to the
+ guidelines of TIP 27. Updated callers. [Patch 499196]
- * tclUnix.h: Don't set TCL_PID_T anymore. FInd the right dirent.h.
- * configure.in: Handle no pid_t in sys/types.h. Also also check
- for dirent.h.
- * Makefile.in: Let INSTALL_PROGRAM and INSTALL_DATA come from
- configure.
+ * generic/tclDecls.h:
+ * generic/tclIntDecls.h: make genstubs
-Fri Apr 16 07:25:07 1993 Fred Fish (fnf@lisa.cygnus.com)
+ * doc/CrtChannel.3:
+ * doc/OpenFileChnl.3:
+ * generic/tcl.decls:
+ * generic/tclIO.h:
+ * generic/tclIO.c (DoWrite, Tcl_RegisterChannel, Tcl_GetChannel,
+ Tcl_CreateChannel, Tcl_GetChannelName, CloseChannel, Tcl_Write,
+ Tcl_WriteRaw, Tcl_Ungets, Tcl_BadChannelOption, Tcl_GetChannelOption,
+ Tcl_SetChannelOption, Tcl_GetChannelNamesEx, Tcl_ChannelName):
+ Updated APIs in the file generic/tclIO.c according to the guidelines
+ of TIP 27. Several minor documentation corrections as well.
+ [Patch 503565]
+ * generic/tclDecls.h: make genstubs
+
+ * generic/tcl.h (Tcl_DriverOutputProc, Tcl_DriverGetOptionProc,
+ Tcl_DriverSetOptionProc):
+ * generic/tclIOGT.c (TransformOutputProc, TransformGetOptionProc,
+ TransformSetOptionProc):
+ * mac/tclMacChan.c (FileOutput, StdIOOutput):
+ * man/tclMacSock.c (TcpGetOptionProc, TcpOutput):
+ * unix/tclUnixChan.c (FileOutputProc, TcpGetOptionProc, TcpOutputProc,
+ TtyGetOptionProc, TtySetOptionProc):
+ * unix/tclUnixPipe.c (PipeOuputProc):
+ * win/tclWinChan.c (FileOutputProc):
+ * win/tclWinConsole.c (ConsleOutputProc):
+ * win/tclWinPipe.c (PipeOuputProc):
+ * win/tclWinSerial.c (SerialOutputProc, SerialGetOptionProc,
+ SerialSetOptionProc):
+ * win/tclWinSock.c (TcpGetOptionProc, TcpOutput): Updated channel
+ driver interface according to the guidelines of TIP 27. See also
+ [Bug 500348].
- * configure (DEFS): When defining "-Dconst=" define "-DCONST="
- as well, for the sake of things in compat/* that use it.
+ * doc/CrtChannel.3:
+ * generic/tcl.h:
+ * generic/tclIO.c:
+ * generic/tclIO.h:
+ * generic/tclInt.h:
+ * tools/checkLibraryDoc.tcl:
+ Moved Tcl_EolTranslation enum declaration from generic/tcl.h to
+ generic/tclInt.h (renamed to TclEolTranslation). It is not used
+ anywhere in Tcl's public interface.
- * Makefile.in (opendir.c): Add missing ../compat/..
+2002-01-14 Don Porter <dgp@users.sourceforge.net>
-Mon Apr 5 10:56:28 1993 Rob Savoye (rob@cygnus.com)
+ * doc/GetIndex.3:
+ * doc/WrongNumArgs.3:
+ * generic/tcl.decls (Tcl_GetIndexFromObj, Tcl_GetIndexFromObjStruct,
+ Tcl_WrongNumArgs):
+ * generic/tclIndexObj.c (Tcl_GetIndexFromObj, Tcl_GetIndexFromObjStruct,
+ Tcl_WrongNumArgs): Updated APIs in the file generic/tclIndexObj.c
+ according to the guidelines of TIP 27. [Patch 501491]
+ * generic/tclDecls.h: make genstubs
- * testsuite/config/unix-tcl.exp: Use tcl/tclTest for test code
- driver.
- * Makefile.in, testsuite/*.in, testsuite/tcl.tests/*.in: Don't use
- Cygnus configure anymore.
+2002-01-11 Mo DeJong <mdejong@users.sourceforge.net>
-Wed Mar 24 02:09:33 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
+ * unix/configure: Regen.
+ * unix/configure.in:
+ * win/configure: Regen.
+ * win/configure.in: Use ${libdir} instead of ${exec_prefix}/lib
+ to properly support the --libdir option to configure. [Bug 489370]
- * Makefile.in: add installcheck & dvi targets
+2002-01-11 Andreas Kupries <andreas_kupries@users.sourceforge.net>
-Fri Mar 19 21:07:25 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
+ * win/tclWinSerial.c (SerialSetOptionProc): Applied patch for SF
+ bug #500348 supplied by Rolf Schroedter
+ <schroedter@users.sourceforge.net>. The function modified the
+ contents of the the 'value' string and now does not do this
+ anymore. This is a followup to the change made on 2001-12-17.
- * tclEnv.c: disable putenv. no one uses it.
+2002-01-11 David Gravereaux <davygrvy@pobox.com>
-Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
+ * win/makefile.vc: Removed -GD compiler option. It was intended
+ for future use, but MS is again changing the future at their whim.
+ The D4002 warning was harmless though, but someone using VC .NET
+ logged it as a concern. [Bug #501565]
- * tcl/testsuite: made modifications to testcases, etc., to allow
- them to work properly given the reorganization of deja-gnu and the
- relocation of the testcases from deja-gnu to a "tool" subdirectory.
+2002-01-11 Mo DeJong <mdejong@users.sourceforge.net>
-Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
+ * unix/Makefile.in: Burn Tcl build directory
+ into tcltest executable to avoid crashes caused
+ by ld loading a previously installed version
+ of the tcl shared library. [Bug 218110]
- * tcl/testsuite: Initial creation of tcl/testsuite.
- Migrated dejagnu testcases and support files for testing nm to
- tcl/testsuite from deja-gnu. These files were moved "as is"
- with no modifications. This migration is part of a major overhaul
- of dejagnu. The modifications to these testcases, etc., which
- will allow them to work with the new version of dejagnu will be
- made in a future update.
+2002-01-10 Don Porter <dgp@users.sourceforge.net>,
+ Kevin Kenny <kennykb@users.sourceforge.net>
+
+ * unix/tclLoadDld.c (TclpLoadFile): syntax error: unbalanced
+ parens. Kevin notes that it's far from clear that this file is
+ ever included in an actual build; Linux without dlopen appears to
+ be a nonexistent configuration.
+
+2002-01-08 Don Porter <dgp@users.sourceforge.net>,
+ Kevin Kenny <kennykb@users.sourceforge.net>
+
+ * doc/StaticPkg.3 (Tcl_StaticPackage):
+ * generic/tcl.decls (Tcl_StaticPackage):
+ * generic/tclDecls.h (Tcl_StaticPackage):
+ * generic/tclInt.decls (TclGuessPackageName):
+ * generic/tclInt.h (TclGuessPackageName):
+ * generic/tclLoad.c (Tcl_StaticPackage):
+ * generic/tclLoadNone.c (TclGuessPackageName):
+ * mac/tclMacLoad.c (TclGuessPackageName):
+ * unix/tclLoadAout.c (TclGuessPackageName):
+ * unix/tclLoadDl.c (TclGuessPackageName):
+ * unix/tclLoadDld.c (TclGuessPackageName):
+ * unix/tclLoadDyld.c (TclGuessPackageName):
+ * unix/tclLoadNext.c (TclGuessPackageName):
+ * unix/tclLoadOSF.c (TclGuessPackageName):
+ * unix/tclLoadShl.c (TclGuessPackageName):
+ * win/tclWinLoad.c (TclGuessPackageName): Updated APIs in
+ the files */tcl*Load*.c according to the guidelines of TIP 27.
+ [Patch 501096]
+
+2002-01-09 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclTest.c (MainLoop):
+ * tests/main.test (Tcl_Main-1.{3,4,5,6}): Corrected some non-portable
+ tests from the new Tcl_Main changes. Thanks to Kevin Kenny.
+
+2002-01-07 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclEvent.c (TclInExit):
+ * generic/tclIOUtil.c (SetFsPathFromAbsoluteNormalized,
+ SetFsPathFromAny,Tcl_FSNewNativePath,DupFsPathInternalRep):
+ * generic/tclListObj.c (TclLsetList,TclLsetFlat): Added some type
+ casts to satisfy picky compilers.
+
+ * generic/tclMain.c: Bug fix: neglected the NULL case in
+ TclGetStartupScriptFileName(). Broke Tk/wish.
+
+2002-01-05 Don Porter <dgp@users.sourceforge.net>
+
+ * doc/Tcl_Main.3:
+ * generic/tclMain.c: Substantial rewrite and expanded documentation
+ of Tcl_Main to correct a number of bugs and flaws:
+
+ * Interactive Tcl_Main can now enter a main loop, exit
+ that loop and continue interactive operations. The loop
+ may even exit in the midst of interactive command typing
+ without loss of the partial command. [Bugs 486453, 474131]
+ * Tcl_Main now gracefully handles deletion of its master
+ interpreter.
+ * Interactive Tcl_Main can now operate with non-blocking stdin
+ * Interactive Tcl_Main can now detect EOF on stdin even in
+ mid-command. [Bug 491341]
+ * Added VFS-aware internal routines for managing the
+ startup script selection.
+ * Tcl variable 'tcl_interactive' is now linked to C variable
+ 'tty' so that one can disable/enable interactive prompts
+ at the script level when there is no startup script. This
+ is meant for use by the test suite.
+ * Consistent use of the Tcl libraries standard channels as
+ returned by Tcl_GetStdChannel(); as opposed to the channels
+ named 'stdin', 'stdout', and 'stderr' in the master interp,
+ which can be different or unavailable.
+ * Tcl_Main now calls Tcl_Exit() if evaluation of [exit] in the
+ master interpreter returns, assuring Tcl_Main does not return.
+ * Documented Tcl_Main's absence from public stub table
+ * Documented that Tcl_Main does not return.
+ * Documented Tcl variables set by Tcl_Main.
+ * All prompts are done from a single procedure, Prompt.
+ * Use of Tcl_Obj-enabled interfaces everywhere.
+
+ * generic/tclInt.decls (TclGetStartupScriptPath,
+ TclSetStartupScriptPath): New internal VFS-aware routines for
+ managing the startup script of Tcl_Main.
+ * generic/tclIntDecls.h:
+ * generic/tclStubInit.c: make genstubs
-Thu Feb 18 11:31:05 1993 Fred Fish (fnf@cygnus.com)
+ * generic/tclTest.c (TestsetmainloopCmd,TestexitmainloopCmd,
+ Tcltest_Init,TestinterpdeleteCmd):
+ * tests/main.test (new): Added new file to test suite that
+ thoroughly tests generic/tclMain.c; added some new test commands
+ for testing Tcl_SetMainLoop().
- * tclEnv.c (putenv): On at least the Sun and SVR4, and possibly
- most other systems, the argument is just "char *", not
- "const char *".
+2002-01-04 Don Porter <dgp@users.sourceforge.net>
-Sat Dec 26 11:13:40 1992 Fred Fish (fnf@cygnus.com)
+ * doc/Alloc.3:
+ * doc/Concat.3:
+ * doc/CrtMathFnc.3:
+ * doc/Hash.3:
+ * doc/Interp.3:
+ * doc/LinkVar.3:
+ * doc/ObjectType.3:
+ * doc/PkgRequire.3:
+ * doc/Preserve.3:
+ * doc/SetResult.3:
+ * doc/SplitList.3:
+ * doc/SplitPath.3:
+ * doc/TCL_MEM_DEBUG.3: Updated documentation to describe the ckalloc,
+ ckfree, ckrealloc, attemptckalloc, and attemptckrealloc macros, and
+ to accurately describe when and how they are used. [Bug 497459]
- * tclUnix.h (fseek): Returns int, not long. True for both
- ANSI-C and traditional C unix environments.
+ * generic/tclThreadJoin.c (TclRememberJoinableThread,TclJoinThread):
+ Replaced Tcl_Alloc and Tcl_Free calls with ckalloc and ckfree so that
+ memory debugging is supported.
-Wed Dec 16 11:02:29 1992 Ian Lance Taylor (ian@cygnus.com)
+2002-01-04 Daniel Steffen <das@users.sourceforge.net>
- * configure.in: check for gettimeofday, and define TCL_GETTOD
- accordingly.
- * configure: regenerated.
+ * mac/tclMacTime.c (TclpGetTZName): fix for daylight savings TZName bug
-Fri Nov 27 19:09:03 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
+2002-01-03 Don Porter <dgp@users.sourceforge.net>
- * Makefile.in: don't make TCL_INCLUDE a subdir of $(includedir)
+ * doc/FileSystem.3:
+ * generic/tclIOUtil.c: Updated some old uses of "fileName" to
+ new VFS terminology, "pathPtr".
-Fri Nov 20 10:15:55 1992 Ian Lance Taylor (ian@cygnus.com)
+2002-01-03 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * Makefile.in (INSTALL): Default to @INSTALL@, not install -c.
- (test): get tests from $(srcdir).
+ * tests/basic.test (basic-39.4): Greatly simplified test while
+ still leaving it so that it crashes when run without the fix to
+ the [foreach] implementation.
+ * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Stopped Bug #494348 from
+ happening by not trying to be so clever with cacheing; if nothing
+ untoward is happening anyway, the less efficient technique will
+ only add a few instruction cycles (one function call and a few
+ derefs/assigns per list per iteration, with no change in the
+ number of tests) and if something odd *is* going on, the code is
+ now far more robust.
-Sun Nov 8 21:56:26 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
+ * tests/basic.test (basic-39.4): Reproducable script from Bug #494348
- * Makefile.in: install .tcl files from $(srcdir)/library
+2002-01-02 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * New file for GNU/Cygnus distribution of TCL.
+ * tests/util.test (Wrapper_Tcl_StringMatch,util-5.*): Rewrote so
+ the test is performed with the right internal function since
+ [string match] no longer uses Tcl_StringCaseMatch internally.
+ * tests/string.test (string-11.51):
+ * generic/tclUtf.c (Tcl_UniCharCaseMatch):
+ * generic/tclUtil.c (Tcl_StringCaseMatch): Fault with matching
+ case-insensitive non-ASCII patterns containing upper case
+ characters. [Bug #233257]
+ ******************************************************************
+ *** CHANGELOG ENTRIES FOR 2001 IN "ChangeLog.2001" ***
+ *** CHANGELOG ENTRIES FOR 2000 IN "ChangeLog.2000" ***
+ *** CHANGELOG ENTRIES FOR 1999 AND EARLIER IN "ChangeLog.1999" ***
+ ******************************************************************