ChangeLog.2001
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:136k
- 2001-12-28 Jeff Hobbs <jeffh@ActiveState.com>
- * library/init.tcl: make sure env(COMSPEC) on Windows is executed
- with the right case, as it may otherwise fail inexplicably.
- 2001-12-28 Don Porter <dgp@users.sourceforge.net>
- * generic/tclCkalloc.c (MemoryCmd, TclFinalizeMemorySubsystem):
- Added the [memory onexit] command, intended to replace [checkmem].
- * doc/DumpActiveMemory.3:
- * doc/memory.n: Updated documentation for [memory] and related
- matters. [Bug 487677]
- * mac/tclMacBOAMain.c (Tcl_Main, CheckmemCmd): Removed all the
- machinery for the [checkmem] command that is completely duplicated
- by code in generic/tclCkalloc.c.
- * generic/tclBinary.c:
- * generic/tclListObj.c:
- * generic/tclObj.c:
- * generic/tclStringObj.c: Removed references to [checkmem] in
- comments, referencing [memory active] instead, since it is
- documented.
- 2001-12-28 Daniel Steffen <das@users.sourceforge.net>
- * mac/tclMacInit.c:
- * mac/tclMacTclCode.r: synced up tclInit features to unix/win:
- implemented TclSetPreInitScript support, use of existing tclInit
- proc if defined, check of default encoding dir if set. Changed
- script library resource names to lowercase (i.e. same as
- corresponding files). Used Tcl_JoinPath instead of string append.
- Check that system encoding could be loaded before utf translating
- the LibraryPath.
- * mac/tclMacApplication.r:
- * mac/tclMacLibrary.r:
- * mac/tclMacOSA.r:
- * mac/tclMacResource.r: minor version resources cleanup
- 2001-12-21 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):
- Search for config file using exec_prefix instead of
- prefix when no --with-tcl or --with-tk argument is used. [Bug 492418]
- 2001-12-21 Daniel Steffen <das@users.sourceforge.net>
- * unix/tcl.m4: fixed incorrect SHLIB_LD_LIBS
- setting for MacOSX / Darwin.
- * unix/configure: Regen.
- * unix/mkLinks.tcl: improved case-insensitive
- filesystem support.
- * unix/mkLinks: Regen.
- 2001-12-19 Don Porter <dgp@users.sourceforge.net>
- * unix/Makefile.in (dist): corrected use of eolFix.tcl on
- working files. It should operate on distributed files. [Bug 495120]
- 2001-12-19 David Gravereaux <davygrvy@pobox.com>
- * tools/tcl.wse.in: Fix for #495120. tcl.wse.in was
- stored in cvs with improper <eol>. This resulted in
- corrupted <eol> when checked-out on translating CVS
- clients such as windows (CRCRLF) and mac (CRCR).
- 2001-12-19 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/configure:
- * unix/tcl.m4 (SC_CONFIG_CFLAGS): Update
- SunOS 5.[0-6] target so that correct linker
- options are passed to gcc or ld. [Tk Bug 220863]
- 2001-12-19 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/README: Update to account for changes
- in the unix/dltest directory, the way autoconf
- is run, and the new "make shell" target.
- 2001-12-19 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/Makefile.in: Rename dltest to dlpkgs to
- fix problem where lib files were not getting
- built because dltest/ directory already existed.
- 2001-12-19 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tclWinSerial.c (SerialCheckProc): corrected time
- calculations to be unsigned. (schroedter)
- 2001-12-18 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/Makefile.in: Define new dltest target that
- simply does a cd to dltest/ before running make.
- There is no need for the separate configure
- script that was previously being used.
- * unix/configure: Regen.
- * unix/configure.in: Subst into dltest/Makefile.
- * unix/dltest/Makefile.in: Define LIBS using
- DL_LIBS, LIBS, and MATH_LIBS variables instead
- of TCL_LIBS variable from tclConfig.sh.
- * unix/dltest/README: Update readme to account for new
- configure free implementation.
- * unix/dltest/configure: Removed.
- * unix/dltest/configure.in: Removed.
- 2001-12-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tcl.h (TCL_STUB_MAGIC): Added cast to force type to be
- an int and get rid of a persistent and pointless warning with
- SunPro compiler.
- * generic/tclCkalloc.c (Tcl_AttemptDbCkalloc,Tcl_AttemptDbCkrealloc):
- * generic/tcl.decls (Tcl_AttemptDbCkalloc,Tcl_AttemptDbCkrealloc):
- Made the file parameters to these functions into CONST char *,
- like they always should have been to match the other Tcl*Db* API
- functions.
- 2001-12-17 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * Applied #219311 on behalf of Rolf Schroedter
- <schroedter@users.sourceforge.net> to prevent fcopy on serial
- ports from flooding the event queue.
- 2001-12-11 Miguel Sofer <msofer@users.sourceforge.net>
- * doc/CrtInterp.3:
- * generic/tclBasic.c: docs and comments corrections [Bug 493412]
- Bug & patch by Don Porter.
- 2001-12-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * win/tclWinNotify.c (Tcl_FinalizeNotifier): Stop Tcl on Windows
- from crashing when shutdown from a non-Tcl thread. Fixes Bug
- #217982 [orig. 5804] reported by Hugh Vu and Gene Leache. I'm
- not convinced that the shutdown process is right even with this,
- but it was definitely wrong without...
- 2001-12-13 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * win/tclWinSock.c (TcpGetOptionProc): Fix for tcl bug item
- #478565 reported by an unknown person. Bypasses all calls to
- "gethostbyaddr" for address "0.0.0.0" to prevent delays on
- Win/NT.
- 2001-12-12 Jeff Hobbs <jeffh@ActiveState.com>
- * doc/Preserve.3: doc'd TCL_DYNAMIC use. [Patch #483989] (porter)
- 2001-12-12 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * generic/tclIO.c (Tcl_GetsObj): Applied patch for bug #491341 as
- provided by Don Porter <dgp@users.sourceforge.net>. Fixes the
- assumption of having an empty Tcl_Obj to work with.
- 2001-12-11 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclCompCmds.c:
- * generic/tclCompile.c:
- * generic/tclExecute.c: consistency patch, to make all
- instructions that pop a variable number of Tcl_Obj's off the
- execution stack take the number of popped objects as first
- operand. Modified *only* the new instructions
- INST_LIST_INDEX_MULTI and INST_LSET_FLAT, so this has no effect
- on bytecodes generated up to tcl8.4a3 inclusive.
- * generic/tclExecute.c: fix debug messages in INST_LSET_LIST.
- * generic/tclCompCmds.c (TclCompileLindexCmd):
- * generic/tclCompExpr.c (CompileMathFuncCall): removed the last
- two overestimates of the necessary stack depth for bytecodes in
- the fix of [Bug 483611].
- 2001-12-10 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * unix/tclUnixPipe.c (TclpCreateProcess): Applied Don Porter's
- patch fixing bug #437489.
- 2001-12-10 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclEvent.c:
- * tests/event.test: fix background error reporting in the absence
- of a bgerror proc [Bug 219142].
- 2001-12-10 Don Porter <dgp@users.sourceforge.net>
- * doc/Access.3:
- * doc/CrtChannel.3:
- * doc/DString.3:
- * doc/ExprLong.3:
- * doc/FileSystem.3:
- * doc/GetStdChan.3:
- * doc/OpenFileChnl.3:
- * doc/StdChannels.3:
- * doc/TCL_MEM_DEBUG.3:
- * doc/Tcl_Main.3:
- * doc/Utf.3:
- * doc/file.n:
- * doc/tclsh.1: Several typo and formatting corrections discovered
- during conversion to TMML. Thanks to Joe English. [Patch 490514]
- * unix/mkLinks: 'make mklinks'
- 2001-12-10 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclCompCmds.c:
- * generic/tclCompExpr.c:
- * generic/tclCompile.c:
- * generic/tclCompile.h:
- * generic/tclExecute.c:
- * generic/tclProc.c: fixed the calculation of the maximal stack
- depth required by bytecodes [Bug 483611].
- 2001-12-07 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclVar.c:
- * tests/trace.test: restored consistency in refCount accounting by
- array traces [Bug #4484339], submitted by Don Porter.
- 2001-12-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/parseExpr.test, tests/for.test, tests/expr.test:
- * tests/expr-old.test, tests/compile.test, tests/compExpr.test
- * tests/compExpr-old.test: Kept up to date with syntax errors.
- * generic/tclParseExpr.c (ParsePrimaryExpr): Rewrote to give even
- better syntax errors in the fairly common case of an identifier
- without decorations by guessing based on the currently available
- functions. Also made messages consistent between memdebug and
- ordinary builds.
- 2001-12-05 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclVar.c:
- * tests/trace.test: new algorithm for [array get], safe when there
- are traces that modify the array [Bug #449893].
- 2001-12-04 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/compExpr-old.test, tests/compExpr.test, tests/compile.test:
- * tests/expr-old.test, tests/expr.test, tests/for.test:
- * tests/while.test, tests/if.test: Rewrite to handle more specific
- syntax errors.
- * tests/parseExpr.test: Rewrite to get rid of dup test numbers and
- handle more specific syntax errors.
- * generic/tclParseExpr.c (LogSyntaxError): Added a detail message
- argument to help explain what the syntax error is.
- (Tcl_ParseExpr, ParseCondExpr, ParsePrimaryExpr): Added detail
- messages.
- (UNKNOWN_CHAR): New lexeme for characters that are always illegal
- in expressions outside strings.
- 2001-12-03 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * doc/expr.n: Various documentation improvements in relation to
- the function calls. Includes fix for Bug #487704 submitted by
- Devin Eyre.
- 2001-12-03 David Gravereaux <davygrvy@pobox.com>
- * win/makefile.vc: Some install target bugs repaired along with
- $(TCLSTUBLIB) added to the dependencies rather than implicit through
- the dde and reg extensions which don't happen to always require it
- for some build types.
- 2001-11-30 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclVar.c: Tcl_Preserve'ing VarTrace structures to avoid
- memory corruption. Patch for [Bug: 484334] provided by Don Porter
- 2001-11-29 Miguel Sofer <msofer@users.sourceforge.net>
- * tests/namespace.test: modified namespace-41.2, added 41.3
- {knownbug} after discussion with Don Porter and Kevin Kenny.
- 2001-11-29 Miguel Sofer <msofer@users.sourceforge.net>
- * tests/namespace.test: added namespace-41.2, a simpler test for
- [Bug: 231259]
- 2001-11-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tclBinary.c (BINARY_SCAN_MAX_CACHE, Tcl_BinaryObjCmd,
- ScanNumber): Added caching scheme to reduce number of object
- allocations when doing scans of large repetitive binary strings.
- See comments in file for reasoning behind implementation.
- Suggested by Miguel Sofer in Patch #429916, but independently
- implemented.
- 2001-11-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * doc/regsub.n, doc/regexp.n: Converted dangling references to
- METASYNTAX section into references to the re_syntax manual page.
- 2001-11-27 D. Richard Hipp <drh@hwaci.com>
- * win/tclWinFCmd.c: Fix a coredump in the filename normalizer
- code for Win95/98.
- 2001-11-27 David Gravereaux <davygrvy@pobox.com>
- * win/makefile.vc: Removed the Tk reference for the 'winhelp' target.
- Converge at install will need to be the solution for Tk and all other
- extensions.
- 2001-11-27 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/cmdAH.test (cmdAH-24.2): Made test less sensitive to OS
- preemption, but perfection isn't practical [Bug 463189, reported
- by Don Porter.]
- * tests/switch.test (switch-9.*): Added tests to exercise more of
- the argument checking. (switch-7.2,switch-7.3): Test changed
- behaviour slightly.
- * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Reworked argument parsing
- to be stricter about what it accepts. This should make uses of
- the [switch] command be more maintainable. [Bug 475397, reported
- by Don Porter.]
- 2001-11-26 Don Porter <dgp@users.sourceforge.net>
- * generic/tclIntPlatDecls.h: 'make genstubs' after changes
- in 2001-11-23 commit from Daniel Steffen.
- 2001-11-24 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/Makefile.in: Add comments to better describe
- TCL_EXE and when it should be available.
- * win/Makefile.in: Add TCL_EXE variable to be used
- by rules like `make genstubs`. Don't set TCL_LIBRARY
- before running `make genstubs` since we will be running
- with a tclsh from the PATH not the one we build.
- 2001-11-24 Mo DeJong <mdejong@users.sourceforge.net>
- * win/configure: Regen.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Add comctl32.lib
- to wish link libs. This change was originally added
- to Tk on 2001-11-09 but was not committed to Tcl.
- 2001-11-23 Daniel Steffen <das@users.sourceforge.net>
- * unix/Makefile.in:
- * unix/configure.in:
- * unix/install-sh:
- * unix/mkLinks:
- * unix/mkLinks.tcl:
- * unix/tclLoadDyld.c:
- * unix/tclMtherr.c: Mac OSX support: build system, dynamic code loading
- and support for case-insensitive filesystems in mkLinks (patch #435258)
- 2001-11-23 Daniel Steffen <das@users.sourceforge.net>
- Up-port to 8.4 of mac code changes for 8.3.3 & various new
- changes for 8.4, some already backported to 8.3.4 (patch #435658)
- * generic/tclObj.c: added #include to fix missing prototype errors
- * generic/tcl.h: MAC_TCL: addition of ConditionalMacros.h and use of
- DLLIMPORT and DLLEXPORT like on other platforms. ( => no longer need
- the .exp files and can remove use of #pragma export that never worked
- well)
- removed line continuation in #if clause as this breaks the mac
- resource compiler (note that *.r files include tcl.h)
- * mac/tclMacFile.c: fixed bug in permission checking code
- * mac/tclMacLoad.c: corrected utf8 handling, comparison of
- package names to code fragment names changed to only match on the
- length of package name, this allows for fragment names with version
- numbers appended
- * mac/tclMacInt.h:
- * generic/tclInt.h:
- * mac/tclMacTime.c:
- * generic/tclIOUtil.c: moved declaration of TclpGetGMTOffset()
- * mac/tclMacShLib.exp:
- * mac/tclMacOSA.exp:
- * mac/tclMacMSLPrefix.h: removed files
- * unix/Makefile.in: removed reference to .exp files
- * mac/MW_TclBuildLibHeader.h:
- * mac/MW_TclBuildLibHeader.pch:
- * mac/MW_TclHeaderCommon.h:
- * mac/MW_TclStaticHeader.h:
- * mac/MW_TclStaticHeader.pch: new precompiled header files
- * mac/MW_TclAppleScriptHeader.pch:
- * mac/MW_TclHeader.pch:
- * mac/MW_TclTestHeader.pch:
- * mac/tclMacCommonPch.h: revised precompiled header handling: now
- include a common header file 'MW_TclHeaderCommon.h' from all .pch
- files, the .pch files themselves now only setup #defines (e.g.
- BUILD_tcl, STATIC_BUILD, TCL_DEBUG, TCL_THREADS) like in makefiles on
- other platforms.
- * mac/tclMac.h:
- * mac/tclMacPort.h:
- * mac/tclMacInt.h: use of BUILD_tcl and TCL_STORAGE_CLASS like on other
- platforms, standardize #include'd files to what's done on other
- platforms, removed use of #pragma export.
- * mac/tcltkMacBuildSupport.sea.hqx: new archive of mac build support
- files & suggested build environment directory hierarchy:
- 'Building MacTclTk' & 'CW Pro6 changes' readme's.
- projects for MoreFiles 1.5.2 static & shared libraries.
- project & sources for 'pseudoCarbonSupport', see below.
- included XML versions of the projects for CW Pro5 or Pro7 users.
- * mac/tclMacProjects.sea.hqx: updated mac build project files:
- build support for CodeWarrior Pro6, UnivIntf 3.4 & shared runtime
- libraries: the MSL libraries and MoreFiles are no longer compiled into
- Tcl.shlb, all non-static binaries now use the Pro6 shared runtime
- libraries and MoreFiles.shlb. These shlbs are merged into the standard
- Wish and TclShell, but 3rd party applications linking with Tcl.shlb or
- Tk.shlb need to setup access to them. (see the "(sh-ppc)" targets
- for how to do this.)
- included XML versions of the projects for CW Pro5 or Pro7 users.
- use compat/strtod.c instead of MSL's strtod()
- use WASTE versions of MSL for tcl test target to avoid text buffer
- cutoff at 32k.
- Merging the full MSL.shlb and the other shlbs into Wish & TclShell
- makes them a bit larger than before, use unmerged binaries to avoid
- copying the shared code with every application, e.g. when deploying
- numerous Wish based droplets.
- Note that using CW Pro5 to compile extensions is in principle still
- possible, but need to link with Pro6 runtime libraries.
- Tclapplescript now loads and runs on CFM68k.
- Highly experimental "pseudoCarbon" support for Tcl only on OS 8/9:
- binaries in "Build:(Carbon):" link against CarbonLib instead of
- InterfaceLib, however the actual code has not been carbonized! i.e. it
- will not run on OSX and may not even run properly with CarbonLib.
- This should in principle allow you to build & test OS9 CFM Carbon
- binaries that need to link with Tcl.shlb. On OSX you can use the
- native Tcl.framework, but you have to build a MachO binary as there
- is no CFM glue lib for Tcl.framework.
- the library pseudoCarbonSupport.shlb manually loads the symbols
- from InterfaceLib that are not in CarbonLib but are needed by the
- uncarbonized code in Tcl.shlb and TclShell.
- * generic/tclMain.c: MAC_TCL: workaround for broken/non-standard isatty
- on MW Pro6, #include <unistd.h> instead of defining isatty
- * mac/tclMacPort.h: MW Pro6 changes for MSL fcntl.h, stat.h & isatty
- * mac/tclMacAppInit.c: add EXTERN to InstallConsole to enable DLL
- export via the TCL_STORAGE_CLASS mechanism.
- * mac/tclMacFCmd.c: fix for FSpDirectoryCopy API change
- * mac/tclMacLibrary.c: emit compile time error when
- TCL_REGISTER_LIBRARY and USE_TCL_STUBS are both defined at the same
- time in an extension, this use is not currently supported and will
- result in a crash when dynamically loading the extension.
- * mac/tclMacApplication.r:
- * mac/tclMacLibrary.r:
- * mac/tclMacOSA.r:
- * mac/tclMacResource.r: fixed obsolete copyrights/dates in version
- strings; updated version strings to standard usage; added support for
- '(Support Libraries)' subfolder for shared runtime libraries in
- unmerged binaries; commented out demo setting of "Tcl Environment
- Variables"; reorganized resources among these files to avoid
- multiple copies in applications and shared libraries, the script
- libraries are now no longer duplicated in Tclsh but are only included
- in the resources of Tcl.shlb.
- * mac/tclMacChan.c:
- * mac/tclMacSock.c: cast for *BlockMode
- * mac/tclMacUtil.c:
- * mac/tclMacMath.h: removed obsolete hypot() definition
- * generic/tclIntPlatDecls.h:
- * generic/tclInt.decls:
- * generic/tclStubInit.c:
- * mac/tclMacNotify.c:
- * mac/tclMacOSA.c:
- * mac/tclMacUtil.c:
- * generic/tclThreadTest.c: renamed routines conflicting with standard
- Apple or MoreFiles headers (at compile or link time):
- GetGlobalMouse -> GetGlobalMouseTcl
- FSpGetDirectoryID -> FSpGetDirectoryIDTcl
- FSpOpenResFileCompat -> FSpOpenResFileCompatTcl
- FSpCreateResFileCompat -> FSpCreateResFileCompatTcl
- NewThread -> NewTestThread
- the renamed MoreFiles *Tcl routines are just wrappers calling into the
- MoreFiles DLL.
- * mac/tclMacCommonPch.h:
- * mac/tclMacThrd.c:
- * mac/tclMacPanic.c: removed OLDROUTINENAMES define, renamed obsolete
- apple API names to modern equivalents; UH3.4 support: added #include
- <ControlDefinitions.h>, updated New*Proc() calls to New*UPP().
- * mac/tclMacUnix.c: added missing (Tcl_Obj ***) cast to
- Tcl_ListObjGetElements call
- * mac/tclMacAlloc.c: modernized TclpSysAlloc() to use temporary
- memory instead of system heap memory when available (MacOS
- >= 7.5 and possibly earlier, use of system heap has been
- discouraged for a long time and has many disadvantages, e.g. memory
- isn't paged out, and errors can very easily bring the system down);
- fixed crashing bug in TclpSysRealloc() and CleanUpExitProc() where
- memory was being accessed after having been deallocated; fixed
- memory leak in (de)allocation code (for every block ever allocated
- with TclpSysAlloc, a Ptr was leaked), if temporary memory is
- available, don't track allocated memory, instead use
- RecoverHandle() to get Handle from Ptr, otherwise use doubly linked
- list to correctly track memory and free all allocated memory; added
- new option for ConfigureMemory: MEMORY_DONT_USE_TEMPMEM, disables
- use of temporary memory even when it would be available, only
- necessary when writing e.g. a driver (using tcl??); increased
- fraction of application heap reserved for OS routines to 512K
- * compat/strftime.c:
- * mac/tclMacTime.c:
- * mac/tclMacPort.h:
- * generic/tclInt.decls:
- * generic/tclIntPlatDecls.h:
- * generic/tclStubInit.c: timezone support for mac via
- TclpGetTZName() like on windows, using an inverse timezone table
- adapted from tclDate.c to map gmtoffset in seconds gotten from
- the MacOS APIs to a timezone string, as there is no good way to get
- this info from MacOS. I had to make up some unusual timezones and
- arbitrarily decide on the most standard of the multiple choices
- available for every timezone.
- * generic/tclExecute.c: workaround for a MSL bug/misfeature: for
- very small floats, MSL can return errno ERANGE but a
- non-zero value ( < LDBL_MIN however)
-
- * mac/tclMacAppInit.c: support for WASTE text library using
- temporary memory, setting has no effect if WASTE is not used.
-
- * mac/tclMacPanic.c: removed duplicate code from generic/tclPanic.c
- and added that file to projects instead.
- * tests/all.tcl: set tcltest::singleProcess 1 as multiple processes
- are not available on the mac.
-
- * tests/cmdAH.test: access time not available on the mac, skip the
- atime touch test
-
- * tests/appendComp.test:
- * tests/cmdMZ.test:
- * tests/compile.test:
- * tests/exec.test:
- * tests/fileName.test:
- * tests/lset.test:
- * tests/namespace.test:
- * tests/tcltest.test: added missing cleanups/tests/catches that
- caused tests to fail on the mac.
- * doc/tclvars.n: doc bug, env(PWD) should be env(HOME) [Bug 463834]
-
- 2001-11-21 Don Porter <dgp@users.sourceforge.net>
- * tests/trace.test (trace-8.8): Corrected test for Bug 219393.
- * generic/tclBasic.c (Tcl_DeleteCommandFromToken,CallCommandTraces):
- * generic/tclCmdMZ>c (Tcl_UntraceCommand): Added Tcl_Preserve and
- Tcl_Release calls to prevent deletion of CommandTrace structures
- until all callers are done using them, preventing memory corruption.
- [Bug 453805]
- 2001-11-20 Kevin B. Kenny <kennykb@users.sourceforge.net>
- * doc/GetTime.3 (Tcl_GetTime):
- * generic/tcl.decls (Tcl_GetTime):
- * generic/tclClock.c (Tcl_ClockObjCmd):
- * generic/tclCompile.c (TclCleanupByteCode, TclInitByteCodeObj):
- * generic/tclCmdMZ.c (Tcl_TimeObjCmd):
- * generic/tclUtil.c (TclpGetTime):
- * generic/tclTest.c (GetTimesCmd):
- * generic/tclTimer.c (Tcl_CreateTimerHandler, TimerSetupProc,
- TimerCheckProc, TimerHandlerEventProc):
- * mac/tclMacNotify.c (Tcl_SetTimer):
- * mac/tclMacShLib.exp (Tcl_GetTime):
- * mac/tclMacTime.c (Tcl_GetTime):
- * unix/tclUnixChan.c (TclUnixWaitForFile):
- * unix/tclUnixEvent.c (Tcl_Sleep):
- * unix/tclUnixThrd.c (Tcl_ConditionWait):
- * unix/tclUnixTime.c (Tcl_GetTime):
- * win/tclWinNotify.c (Tcl_Sleep):
- * win/tclWinTest.c (TestwinclockCmd):
- * win/tclWinTime.c (TclpGetSeconds, TclpGetClicks, Tcl_GetTime):
- Changed all uses of TclpGetTime to Tcl_GetTime. Added Tcl_GetTime
- to the Stubs table and the library documentation. Added a
- TclpGetTime in tclUtil.c for backward compatibility of
- extensions. [Patch #483500, TIP#73]
- * generic/tclCmdMZ.c (Tcl_TimeObjCmd): Corrected an error in the
- [time] command that caused incorrect results to be returned if the
- total duration of all iterations exceeded 2**31 microseconds.
- [Bug #478847]
- * generic/tclInt.decls:
- * generic/tclInt.h:
- * generic/tclStubInit.h: Reran 'make genstubs'
-
- 2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclBasic.c
- * generic/tclCompile.h:
- * generic/tclExecute.c: moving all code relative to bytecodes from
- tclBasic.c to tclExecute.c - the functions RecordTracebackInfo and
- Tcl_ExprObj went to tclExecute.c, and new interface function was
- defined (TclCompEvalObj).
- The final objective of this sequence of moves is to provide a
- clean, clear-cut interface between Tcl's core and the
- compiler/engine subsystem.
- 2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclBasic.c
- * generic/tclCompile.h:
- * generic/tclExecute.c: factoring out of common code in tclBasic.c
- (new function TclInterpReady defined: it resets the interp's
- result, then checks that it hasn't been deleted and that the
- nesting level is acceptable). Passed the responsibility of calling
- it to the *callers* of TclEvalObjvInternal.
- 2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclBasic.c
- * generic/tclExecute.c: a better variant of the previous-to-last
- commit (restoring numLevels computations). The managing of the
- levels now has to be done by the *callers* of TclEvalObjvInternal
- 2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclExecute.c: missing variable declaration under
- TCL_COMPILE_DEBUG.
- 2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclExecute.c:
- * generic/tclProc.c: restoring the computations of iPtr->numLevels
- to the original logic (previous to buggy modifs on 2001-11-16).
- 2001-11-20 Jeff Hobbs <jeffh@ActiveState.com>
- * tools/eolFix.tcl (new-file):
- * unix/Makefile.in: added EOL correction for Windows bat files to
- dist target. [Bug #219409] (davygrvy)
- * unix/tclUnixInit.c (TclpSetInitialEncodings): update of patch
- from 2001-11-16 that uses the old Tcl encoding check mechanism as
- a fallback to the original. Also added a TCL_DEFAULT_ENCODING
- #define (defaults to iso8859-1). Tcl will first try setlocale and
- nl_langinfo, and if that fails, guess based on certain LANG|LC_*
- env vars. [Patch #418645]
- 2001-11-19 David Gravereaux <davygrvy@pobox.com>
- * win/buildall.vc.bat: Added useful comments.
- 2001-11-19 Miguel Sofer <msofer@users.sourceforge.net>
- * tests/compile.test: added a test for bug [Bug 483309]
- 2001-11-19 Vince Darley <vincentdarley@users.sourceforge.net>
- * win/tclWinFile.c:
- * win/tclWinFCmd.c:
- * win/tclWin32Dll.c:
- * doc/file.n:
- * tests/winFCmd.test: improved speed of file normalization
- for Win95/98, and clarified docs on differences in file
- normalization between NT/2000 and the older operating systems.
- Added test to ensure normalization is correct.
-
- 2001-11-19 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclBasic.c:
- * generic/tclParse.c: Code reorganisation. Moved all evaluation
- functions from tclParse.c to tclBasic.c, so that now tclParse.c
- deals exclusively with parsing and all evaluations are done by
- code in tclBasic.c. The functions moved are: TclEvalObjvInternal,
- Tcl_EvalObjv, Tcl_LogCommandInfo, Tcl_EvalTokensStandard,
- Tcl_EvalTokens, Tcl_EvalEx, Tcl_Eval, Tcl_EvalObj and
- Tcl_GlobalEvalObj.
- 2001-11-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/trace.test (trace-8.8): Added adapted version of Bug
- #219393 as new test; the test won't reliably show up the old
- problem unless it is being run under something like Purify, but
- something is better than nothing...
- * generic/tclVar.c (Tcl_TraceVar2, Tcl_UntraceVar2): Added missing
- mask bits for trace result type and a check for a nonsense flag
- combination.
- * generic/tclCmdMZ.c (TraceVarProc): Added missing test for NULL
- when deleting a trace that doesn't cause an error.
- * doc/TraceVar.3: Added documentation for change due to TIP#68.
- * generic/tclCmdMZ.c (TraceVarInfo): Removed problematic errMsg
- field from structure.
- (TraceVarProc): Removed references to errMsg field and changed
- handling of errors so that they returned a Tcl_Obj* containing the
- error string. This minimizes the number of calls to the memory
- management subsystem.
- (TclTraceCommandObjCmd, TraceCommandProc): Removed references to
- errMsg field which was never used in command traces in any case.
- (Tcl_TraceObjCmd, TclTraceVariableObjCmd): Removed references to
- errMsg field and made variable traces register with
- TCL_TRACE_RESULT_OBJECT bit set.
- * generic/tcl.h (TCL_TRACE_RESULT_DYNAMIC,TCL_TRACE_RESULT_OBJECT):
- New constants to define how to handle the strings returned from
- trace callbacks [TIP#68]
- * generic/tclVar.c (CallTraces, Tcl_GetVar2Ex, TclGetIndexedScalar,
- TclGetElementOfIndexedArray, Tcl_SetVar2Ex, TclSetIndexedScalar,
- TclSetElementOfIndexedArray, Tcl_UnsetVar2, Tcl_ArrayObjCmd,
- TclDeleteVars, TclDeleteCompiledLocalVars, DeleteArray,
- TclVarTraceExists): Support for those new trace flags.
- 2001-11-19 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclCompCmds.c: patch for [Bug 483309] (petasis).
- 2001-11-16 Kevin B. Kenny <kennykb@users.sourceforge.net>
- * generic/tclListObj.c: removed a C++-style comment that
- was inadvertently left in the source code.
- 2001-11-16 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/interp.test:
- * generic/tclInterp.c (SlaveObjCmd): Corrected argument checking
- for '$interp alias|aliases|issafe'. [Patch #479560] (thoyts, hobbs)
- * unix/tclUnixInit.c: added HAVE_LANGINFO code block.
- * unix/configure: regened
- * unix/configure.in: added SC_ENABLE_LANGINFO call
- * unix/tcl.m4: made SHLIB_LD_LIBS='${LIBS}' for FreeBSD* (meyer)
- Added modified version of Wagner patch to make use of nl_langinfo
- where possible to determine Unix platform encoding, instead of the
- inflexible built-in system. This is used by default when
- possible, and can be disabled with --enable-langinfo=no.
- [Patch #418645] (hobbs, wagner)
- 2001-11-16 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclCompile.h:
- * generic/tclExecute.c:
- * generic/tclObj.c: moved Tcl_GetCommandFromObj and all defining
- code for tclCmdNameType objects to tclObj.c (from tclExecute.c).
- This code has nothing to do with bytecodes.
- 2001-11-16 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclBasic.c:
- * generic/tclCompile.h:
- * generic/tclExecute.c:
- * generic/tclParse.c:
- * generic/tclProc.c:
- * tests/stack.test: consolidation of duplicated code (in
- TclExecuteByteCode and EvalObjv); renaming of EvalObjv to
- TclEvalObjv as it is not static anymore; restored consistency of
- level counts between compiled and directly evaled code.
- [Bug 480896]
- 2001-11-12 David Gravereaux <davygrvy@pobox.com>
- * win/makefile.vc:
- * win/rules.vc: Small bug fixes.
- * win/README: added some docs pointing to the docs in makefile.vc
- for it's use.
- 2001-10-17 Kevin B. Kenny <kennykb@users.sourceforge.net>
- * doc/lappend.n:
- * doc/lindex.n:
- * doc/linsert.n:
- * doc/list.n:
- * doc/llength.n:
- * doc/lrange.n:
- * doc/lsearch.n:
- * doc/lset.n (new-file):
- * doc/lsort.n:
- * generic/tclBasic.c (builtInCmds, Tcl_EvalObjEx):
- * generic/tclCmdIL.c (Tcl_LindexObjCmd, Tcl_LindexList):
- (Tcl_LindexFlat, Tcl_LsetObjCmd):
- * generic/tclCompCmds.c (Tcl_CompileLindexCmd, Tcl_CompileLsetCmd):
- * generic/tclCompile.c:
- * generic/tclCompile.h:
- * generic/tclExecute.c (TclExecuteByteCode):
- * generic/tclInt.decls:
- * generic/tclInt.h:
- * generic/tclIntDecls.h:
- * generic/tclListObj.c (TclLsetList, TclLsetFlat, TclSetListElement):
- * generic/tclObj.c (TclInitObjSubsystem):
- * generic/tclStubInit.c:
- * generic/tclTestObj.c (TestobjCmd):
- * generic/tclUtil.c (TclGetIntForIndex, SetEndOffsetFromAny):
- * generic/tclVar.c (Tcl_LappendObjCmd):
- * tests/lindex.test:
- * tests/lset.test (new-file):
- * tests/lsetComp.test (new-file):
- * tests/obj.test:
- * tests/string.test:
- * tests/stringComp.test:
- Reference implementation of TIP's #22, #33 and #45. Adds the
- ability of the [lindex] command to have multiple index arguments,
- and adds the [lset] command. Both commands are byte-code compiled.
- [Patch #471874] (work by Kenny, commited by Hobbs)
- 2001-11-12 David Gravereaux <davygrvy@pobox.com>
- * win/buildall.vc.bat(new):
- * win/makefile.vc: Small fix with deriving the "OriginalFilename"
- string in the .rc scripts. Added a quick batchfile for building
- the entire thing.
- 2001-11-12 Jeff Hobbs <jeffh@ActiveState.com>
- * doc/FileSystem.3:
- * doc/file.n:
- * doc/tcltest.n: converted use of ' to more reasonable format.
- 2001-11-10 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/Makefile.in:
- * win/Makefile.in: Add "make gdb" target. This target
- can run tclsh inside either gdb or insight.
- 2001-11-10 David Gravereaux <davygrvy@pobox.com>
- * win/makefile.vc: Added a check to make sure one runs the makefile
- from the /win directory only.
- * win/mkd.bat:
- * win/rmd.bat: Changes from Llyod Lim for better stability.
- [Patch #456759]
- 2001-11-09 David Gravereaux <davygrvy@pobox.com>
- * win/makefile.vc:
- * win/tcl.dsp: winhelp target fixes for non-NT systems. It
- seems NMAKE under these remembers changed directories during
- commands. A new tcltest feature from Peter Spjuth
- <peter.spjuth@space.se> to specify a pattern file from the
- commandline and redirecting output to a file when not under
- NT with it's scrollback console. Then it replays it, piped
- through more. Added 2 new static "configurations" to tcl.dsp.
- I could keep adding more, but I think we should leave it up to
- the user for customizing it.
- Sticky-points left: 'profile' option.
- 2001-11-09 Jeff Hobbs <jeffh@ActiveState.com>
- * doc/FileSystem.3:
- * doc/StdChannels.3:
- * doc/file.n:
- * doc/tcltest.n:
- * tools/man2help.tcl:
- * tools/man2help2.tcl: fixed winhelp generation problems
- [Patch #480268]
- * unix/configure:
- * unix/tcl.m4: added -lc to AIX libs, fixed path to ldAix
- 2001-11-09 Don Porter <dgp@users.sourceforge.net>
- * tests/var.test:
- * generic/tclVar.c: Corrected bug in [global] when dealing
- with variable names matching :*. [Bug 480176]
- 2001-11-08 Mo DeJong <mdejong@users.sourceforge.net>
- Fixup stack size under OSF1. [Tcl patch 474790]
- * unix/configure: Regen.
- * unix/tcl.m4: Add HAVE_PTHREAD_ATTR_SETSTACKSIZE define
- to EXTRA_CFLAGS to adjust initial stack size.
- 2001-11-08 Mo DeJong <mdejong@users.sourceforge.net>
- Enable thread support under FreeBSD. [Tcl bug 473708]
- * unix/configure: Regen.
- * unix/tcl.m4 (SC_ENABLE_THREADS): Check for pthread functions
- in libc_r and enable thread support if found.
- * unix/dltest/Makefile.in: Set SHLIB_LD_LIBS and use it in
- the Makefile to properly link a shared library.
- 2001-11-08 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/Makefile.in:
- * unix/dltest/Makefile.in:
- Avoid adding libc to the LIBS variable since it
- is not needed when linking with CC. If required
- when linking with LD it should be done on a case
- by case basis in tcl.m4.
- 2001-11-08 David Gravereaux <davygrvy@pobox.com>
- * win/rules.vc:
- * win/makefile.vc: Fixed install target to adjust for the
- different build types. Added a 'linkexten' option to link the
- win extensions inside the shell when built static. Placed
- win/tclAppInit.c patch in SF patch DB for approval. 'profile'
- option not hooked in yet. Everything else know is done.
- * win/tcl.dsp(new):
- * win/tcl.dsw(new): Simple MsDev stub project files that calls
- makefile.vc. Will help run Tcl in the debugger easier without
- confusing MsDev for where the .pdb files are.
- 2001-11-07 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/Makefile.in:
- * win/Makefile.in:
- Print a message indicating that the user should
- run "make genstubs" when the generated tclStubInit.c
- file is out of date. We can't regenerate automatically
- since there may be no tclsh on the system and that
- would cause bootstrap problems. [Tcl bug 465874]
- 2001-11-07 Mo DeJong <mdejong@users.sourceforge.net>
- Define TCL_INCLUDE_SPEC in tclConfig.sh. It should be
- included by extensions that need to find Tcl include
- headers in the install location. The user can override
- the include install dir with --includedir so we need
- to record this information for extensions. [Tcl bug 421835]
-
- * unix/configure: Regen.
- * unix/configure.in: Define TCL_INCLUDE_SPEC.
- * unix/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
- * win/configure: Regen.
- * win/configure.in: Define TCL_INCLUDE_SPEC.
- * win/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
- 2001-11-07 David Gravereaux <davygrvy@pobox.com>
- * win/rules.vc:
- * win/makefile.vc: Dropped the NOMSVCRT macro and put it on the
- option list instead. It makes more sense to me this way as
- NOMSVCRT=0 would only be the valid setting. Fixed the dde and reg
- extension for building static. Improved, but not perfected, the
- winhelp target.
- 2001-11-07 Mo DeJong <mdejong@users.sourceforge.net>
- * win/README: Change minimum VC++ version to 5.X since
- 4.X is known not to work.
- Indicate that Mingw is required and building with Cygwin
- gcc is not supported. Include instructions that indicate
- how to install Mingw and what URLs folks should use to
- download the supported version of Mingw.
- * win/configure: Regen.
- * win/configure.in: Error out if user tries to compile the
- Windows version of Tcl with Cygwin gcc. Users should compile
- with Mingw gcc instead.
- 2001-11-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * generic/tclIO.c (ReadChars): Fixed bug #478856 reported by
- Stuart Cassoff <stwo@users.sourceforge.net>. The bug caused loss
- of fileevents when [read]ing less data from the channel than
- buffered. Due to an empty input buffer the flag
- CHANNEL_NEED_MORE_DATA was set but never reset, causing the I/O
- system to wait for more data instead of using a timer to
- synthesize fileevents and to flush the pending data out of the
- buffers.
- 2001-11-06 David Gravereaux <davygrvy@pobox.com>
- * win/rules.vc (new):
- * win/makefile.vc: Complete over/under rewrite to support numerous
- build options all from the commandline itself without needing to
- edit the makefile. Now requires vcvars32.bat to be run prior to
- running nmake for bootstraping the environment. Fully doc'd usage
- for it is in makefile.vc. Commentary welcome. Sticky points left
- are:
- 1) winhelp target shows errors in the converting script.
- 2) .rc scripts aren't getting the right #defines to build the correct
- "OriginalFilename" strings. (have patch, won't commit yet)
- 3) Naming convention with suffixes describing the buildtype are 'tsdx'
- which will need public acceptance. ie. tclsh84tsx.exe is a (t)
- threaded shell (s) statically linked to the core and (x) uses
- msvcrt instead of libcmt.
- 2001-11-04 Vince Darley <vincentdarley@users.sourceforge.net>
- * library/init.tcl: made filesystem fallback proc
- ::tcl::CopyDirectory more robust to vagaries of non-native
- filesystems.
-
- 2001-11-02 Vince Darley <vincentdarley@users.sourceforge.net>
- * doc/file.n:
- * generic/tclIOUtil.c: updated documentation and comments
- to clarify behaviour of 'file copy' wrt soft links.
-
- 2001-10-29 Vince Darley <vincentdarley@users.sourceforge.net>
- * win/tclWinFile.c: fix to '-types {f r}' bug in
- TclpMatchInDirectory (which could cause a UMR, as well as
- returning wrong results). Also improved API for 'stat'
- to resolve [Bug#219258].
- * win/tclWin32Dll.c
- * win/tclWinInt.h: addition of improved stat API to internal
- lookup table.
- * tests/fileName.test: two new tests for the above bug.
- * generic/tclIOUtil.c: some cleanup of comments and #ifdefs
-
- 2001-10-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * unix/tclUnixFile.c (TclpMatchInDirectory): Argument to access()
- was entryPtr->d_name instead of nativeEntry which failed when
- trying to check access for files in other than the current
- directory. [Bug 475941, reported by Georgios Petasis]
- 2001-10-25 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * unix/tclUnixChan.c: Added stateUpdated member to struct TtyState.
- (TtyCloseProc,TtySetOptionProc,TtyInit): Use stateUpdated member
- of TtyState to decide whether it is necessary to reset a serial
- port when Tcl closes it. Blindly resetting can cause Tcl to be
- sent an unexpected SIGTSTP when it is executing in the background
- [Bug 471374, reported by Chris Nelson]
- 2001-10-22 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * doc/ObjectType.3: Minor documentation fix, reported by David
- N. Welton <davidw@users.sourceforge.net> directly to me.
- 2001-10-22 Vince Darley <vincentdarley@users.sourceforge.net>
- * win/tclWinFCmd.c: fix to stop test suite from hanging process
- under some versions of WinNT. [Bug #466102] (Kevin Kenny)
-
- 2001-10-18 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/clock.test (clock-8.1):
- * generic/tclDate.c (RelativeMonth):
- * generic/tclGetDate.y (RelativeMonth): corrected off-by-one-day
- error in clock scan with relative months and years during swing
- hours. [Bug #413397, Patch #414024] (lavana)
- 2001-10-18 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclIOUtil.c: fix to bug in Tcl_FSChdir shown up
- by recent tclkit builds.
- 2001-10-17 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/tclUnixPipe.c (PipeInputProc, PipeOutputProc): do immediate
- retry when error is returned with errno == EINTR.
- [Bug #415131] (leger)
- 2001-10-16 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/tclLoadAout.c (TclGuessPackageName): removed unused vars
- and fixed warnings. [Bug #446622] (lim)
- 2001-10-15 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclProc.c: changing a memcmp to strncmp to avoid a memory
- error detected by purify (thanks Jeff); modify style to agrre with
- the style guide.
-
- 2001-10-15 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * generic/tclInt.decls (TclExpandCodeArray,TclGetInstructionTable):
- Added to internal stubs table. Tclcompiler (Tclpro project)
- needs them if used as loadable package under Windows. Changed
- signatures. We don't want to describe compiler internal
- structures in "tclInt.h".
- * generic/tclCompile.h: S.a. Removed function declarations.
- * generic/tclCompile.c: S.a. Adapted to changed signatures.
- 2001-10-15 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/configure:
- * unix/configure.in:
- * win/configure:
- * win/configure.in:
- * win/tcl.m4: reworked to be a little cleaner in comparison to
- each other, and to AC_SUBST even empty vars for win/tclConfig.sh
- * generic/tclFileName.c: minor code cleanup
- * generic/tcl.h: moved #define of WIN32 to tcl.h where __WIN32__
- is defined and added #ifndef check.
- * doc/open.n: moved all fconfigure option docs to fconfigure.n
- * doc/fconfigure.n: added serial config options
- * win/tclWinChan.c:
- * win/tclWinPort.h:
- * win/tclWinSerial.c: added TIP #35 Windows enhancements for
- serial configuration. [Patch #438509] (schroedter)
- 2001-10-15 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclFCmd.c: fix to memory leak in TclFileDeleteCmd on
- certain error conditions.
- * doc/FileSystem.3: fix to typo.
-
- 2001-10-12 Jeff Hobbs <jeffh@ActiveState.com>
- * library/encoding/ebcdic.enc:
- * tools/encoding/ebcdic.txt: EBCDIC charset mapping.
- [Patch #219323] (nijtmans)
- * library/encoding/tis-620.enc:
- * tools/encoding/tis-620.txt: TIS-620 charset mapping.
- [Patch #467423] (poonlap)
- * tests/http.test: added removeFile for outdata
- * tests/ioCmd.test: added catch around file removal, as Windows
- file locking throws errors.
- * tests/socket.test (socket-7.2): corrected to work on Win2K.
- 2001-10-12 Miguel Sofer <msofer@users.sourceforge.net>
-
- * tests/compile.test: new tests for [Bug 467523]; they are only
- effective if TCL_MEM_DEBUG was set during compilation.
- 2001-10-11 Miguel Sofer <msofer@users.sourceforge.net>
-
- * generic/tclLiteral.c (TclReleaseLiteral): insured that
- self-referential bytecodes are properly cleaned up on interpreter
- deletion [Bug 467523] (Ronnie Brunner)
- 2001-10-10 David Gravereaux <davygrvy@pobox.com>
- * win/tclWinPort.h: #include <winsock2.h> needed to get moved
- to after #include <windows.h> or wierd misunderstandings took
- place when -D_WIN32_WINNT=0x0400 is set for outside code that
- requires knowledge of Tcl innards. General header macro magic
- applied liberally...
- 2001-10-10 Don Porter <dgp@users.sourceforge.net>
- * tests/unixInit.test: Corrected restore of ::env(LANG).
- 2001-10-09 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tclFileName.c (Tcl_SplitPath): corrected mem leak
- intro'd with VFS code where the result obj from Tcl_FSSplitPath
- was not getting freed.
- 2001-10-09 Miguel Sofer <msofer@users.sourceforge.net>
-
- * generic/tclLiteral.c: (TclReleaseLiteral) reverted previous
- patch for [Bug 467523] - cure is worse than the illness.
- 2001-10-05 Miguel Sofer <msofer@users.sourceforge.net>
-
- * generic/tclLiteral.c: (TclReleaseLiteral) insured that
- self-referential bytecodes are properly cleaned up on interpreter
- deletion [Bug 467523] (Ronnie Brunner)
- 2001-10-04 Jeff Hobbs <jeffh@ActiveState.com>
- * tools/configure:
- * tools/configure.in: noted 8.4 as default Tcl version
- * library/encoding/cp936.enc:
- * library/encoding/cp949.enc:
- * library/encoding/cp950.enc:
- * library/encoding/iso8859-16.enc:
- * library/encoding/macCroatian.enc:
- * library/encoding/macCyrillic.enc:
- * library/encoding/macGreek.enc:
- * library/encoding/macIceland.enc:
- * library/encoding/macRoman.enc:
- * library/encoding/macTurkish.enc:
- * tools/encoding/cp1250.txt:
- * tools/encoding/cp1251.txt:
- * tools/encoding/cp1252.txt:
- * tools/encoding/cp1253.txt:
- * tools/encoding/cp1254.txt:
- * tools/encoding/cp1255.txt:
- * tools/encoding/cp1256.txt:
- * tools/encoding/cp1257.txt:
- * tools/encoding/cp1258.txt:
- * tools/encoding/cp874.txt:
- * tools/encoding/cp932.txt:
- * tools/encoding/cp936.txt:
- * tools/encoding/cp949.txt:
- * tools/encoding/cp950.txt:
- * tools/encoding/iso8859-1.txt:
- * tools/encoding/iso8859-10.txt:
- * tools/encoding/iso8859-13.txt:
- * tools/encoding/iso8859-14.txt:
- * tools/encoding/iso8859-15.txt:
- * tools/encoding/iso8859-16.txt:
- * tools/encoding/iso8859-2.txt:
- * tools/encoding/iso8859-3.txt:
- * tools/encoding/iso8859-4.txt:
- * tools/encoding/iso8859-5.txt:
- * tools/encoding/iso8859-6.txt:
- * tools/encoding/iso8859-7.txt:
- * tools/encoding/iso8859-8.txt:
- * tools/encoding/iso8859-9.txt:
- * tools/encoding/koi8-r.txt:
- * tools/encoding/macCentEuro.txt:
- * tools/encoding/macCroatian.txt:
- * tools/encoding/macCyrillic.txt:
- * tools/encoding/macGreek.txt:
- * tools/encoding/macIceland.txt:
- * tools/encoding/macRoman.txt:
- * tools/encoding/macTurkish.txt:
- Updated encodings with latest mappings from www.unicode.org. This
- did not include some Mac encodings that have special multi-unichar
- translations now (like symbols, dingbats and japanese). Also does
- not include big5, gb or euc* as those have different formats in
- the latest Unicode version that need new conversion tools. Not
- all related .enc files changed as some had been updates separately.
- 2001-10-03 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tclEvent.c (Tcl_FinalizeThread): moved freeing of
- tclLibraryPath to before the thread exit handlers are called.
- Slight modification to change on 2001-09-24.
- 2001-10-01 Jeff Hobbs <jeffh@ActiveState.com>
- * win/configure: regen'ed
- * win/tcl.m4:
- * win/makefile.vc: added Win64 SDK RC1 compilation support
- * win/Makefile.in: added $(LDFLAGS_CONSOLE) to TCLSH, TCLTEST and
- PIPE_DLL_FILE targets to get the link flags
- * win/tclWinInit.c: minor 64bit casts
- 2001-10-01 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclCmdIL.c:
- * generic/tclCmdMZ.c:
- * generic/tclParseExpr.c: removed unnecessary inclusion of
- tclCompile.h and made a small modification in (InfoBodyCmd) to
- improve the isolation of the compiler/engine subsystem.
- 2001-09-29 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclIOUtil.c:
- * doc/FileSystem.3: corrected and clarified documentation
- for 'Tcl_FSListVolumes(Proc)'. No code changes.
-
- 2001-09-28 Miguel Sofer <msofer@users.sourceforge.net>
- * doc/FindExec.3: added a comment not to change the working
- directory before calling Tcl_GetNameOfExecutable [Bug 219215]
- 2001-09-28 Kevin Kenny <kennykb@users.sourceforge.net>
- * generic/tclIO.c: added two more '(ClientData)' casts
- on calls to Tcl_Preserve and Tcl_Release -- ones that
- Vince apparently missed.
-
- 2001-09-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * doc/lsort.n: Improved doc...
- * generic/tclCmdIL.c (Tcl_LsortObjCmd, SortCompare): Made
- offset-from-end indexing work, and factored out some "magic
- numbers" for easier understanding. [Bug #465674]
- * tests/cmdIL.test (cmdIL-1.26): Added test for offset-from-end
- indexing for lsort.
- 2001-09-28 Vince Darley <vincentdarley@users.sourceforge.net>
- * win/tclWinFCmd.c:
- * unix/tclUnixFCmd.c: fix to performance issue reported
- by jcw in which 'access("")' is called unnecessarily when
- normalizing any absolute path.
- * generic/tclIO.c: added '(ClientData)' cast to calls to
- Tcl_(Preserve|Release) newly introduced, fixing compile
- error on Windows.
-
- 2001-09-27 Don Porter <dgp@users.sourceforge.net>
- * doc/FileSystem.3 (Tcl_FSLoadFile):
- * generic/tcl.decls (Tcl_FSLoadFile):
- * generic/tcl.h (Tcl_FSLoadFileProc):
- * generic/tclInt.h (TclpLoadFile):
- * generic/tclIOUtil.c (Tcl_FSLoadFile):
- * generic/tclLoadNone.c (TclpLoadFile):
- * generic/tclTest.c (TestReportLoadFile):
- * library/ldAout.tcl:
- * mac/tclMacLoad.c (TclpLoadFile):
- * unix/tclLoadAix.c (TclpLoadFile):
- * unix/tclLoadAout.c (TclpLoadFile):
- * unix/tclLoadDl.c (TclpLoadFile):
- * unix/tclLoadDld.c (TclpLoadFile):
- * unix/tclLoadDyld.c (TclpLoadFile):
- * unix/tclLoadNext.c (TclpLoadFile):
- * unix/tclLoadOSF.c (TclpLoadFile):
- * unix/tclLoadShl.c (TclpLoadFile):
- * win/tclWinLoad.c (TclpLoadFile):
- * win/tclWinFCmd.c (DoRemoveJustDirectory): More CONST poisoning
- fixes from the 2001-09-24 TIP 27 changes. CONST-ified
- Tcl_FSLoadFile and TclpLoadFile. Report and patch from Kevin
- Kenny. [Bug 465833]
- * generic/tclIO.c (ChannelTimerProc): Added Tcl_Preserve()
- and Tcl_Release() to fix segfault introduced by the 2001-09-26
- changes. [Bug 465494]
- * doc/TCL_MEM_DEBUG.3: Updated out-of-date reference to
- #define GUARD_SIZE.
- * doc/UpVar.3 (Tcl_UpVar,Tcl_UpVar2):
- * generic/tcl.decls (Tcl_UpVar,Tcl_UpVar2):
- * generic/tclInt.decls (TclFindProc,TclGetFrame):
- * generic/tclInt.h (TclFindProc,TclGetFrame,TclLookupVar,
- TclPrecTraceProc,TclProcInterpProc}):
- * generic/tclProc.c (TclGetFrame,TclFindProc):
- * generic/tclVar.c (Tcl_UpVar,Tcl_UpVar2,MakeUpvar): Updated APIs in
- generic/tclProc.c and generic/tclVar.c according to the guidelines
- of TIP 27. [Patch 465442]
- * generic/tclDecls.h:
- * generic/tclIntDecls.h: make genstubs
- 2001-09-26 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * doc/fileevent.n: Accepted [Patch #465279] adding an example to
- the fileevent manpage. Minor modifications to get a better
- formatting. Report and patch by David N. Welton
- <davidw@users.sourceforge.net>.
- * The changes below fix [Bug #462317] where Expect tried to read
- more than was in the buffers and then blocked in the OS call as
- its pty channel driver provides no blockmodeproc through which
- the OS could be notified of blocking-behaviour. Because of this
- the general I/O core has to take more care than usual to
- preserve the semantics of non-blocking channels.
- The problem was reported by "Kevin O'Gorman"
- <kevin@kosmanor.com>.
- * generic/tclIO.c (Tcl_ReadRaw): Do not read from the driver if
- the channel is non-blocking and the fileevent causing the read
- was generated by a timer. We do not know if there is data
- available from the OS. Instead of going to the OS for more and
- potentially blocking we simply signal EWOULDBLOCK to the higher
- levels to cause the system to wait for true fileevents.
- (GetInput): Same as before.
- (ChannelTimerProc): Added set and clear of CHANNEL_TIMER_FEV.
- * generic/tclIO.h (CHANNEL_TIMER_FEV): New flag for channels. Is
- set if a fileevent was generated by a timer, the channel is not
- blocking and the driver did not provide a blockmodeproc. In that
- case the I/O core has to be especially careful about going to
- the driver for more data.
- 2001-09-26 Don Porter <dgp@users.sourceforge.net>
- * doc/SplitPath.3 (Tcl_GetPathType):
- * generic/tcl.decls (Tcl_GetPathType):
- * generic/tclFileName.c (Tcl_GetPathType):
- * win/tclWinFile.c (TclpMatchInDirectory, NativeStat): Vince
- Darley reports the 2001-09-24 TIP 27 changes left the win
- directory CONST poisoned. These changes should fix that.
- * generic/tclDecls.h: make genstubs
- 2001-09-25 Don Porter <dgp@users.sourceforge.net>
- * doc/GetInt.3:
- * generic/tclInt.h (TclGetLong deleted):
- * generic/tcl.decls:
- * generic/tclInt.decls:
- * generic/tclGet.c: Updated APIs in generic/tclGet.c
- according to the guidelines of TIP 27. [Patch 464674]
- * generic/tclDecls.h:
- * generic/tclIntDecls.h: make genstubs
- 2001-09-25 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclVar.c: removed comments referring to unused flag
- TCL_PARSE_PART1.
-
- 2001-09-24 Don Porter <dgp@users.sourceforge.net>
- * doc/Concat.3:
- * doc/DString.3:
- * doc/SplitList.3:
- * generic/tclInt.h (TclCheckBadOctal):
- * generic/tcl.decls:
- * generic/tclInt.decls:
- * generic/tclEncoding.c (OpenEncodingFile):
- * generic/tclMain.c (Tcl_Main):
- * generic/tclUtil.c:
- * unix/tclLoadDl.c (TclpLoadFile): Updated APIs in
- generic/tclUtil.c according to the guidelines of TIP 27.
- [Patch 464553]
- * generic/tclDecls.h:
- * generic/tclIntDecls.h: make genstubs
- 2001-09-24 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * The change below fixes [Bug #464380]. The bug was reported by
- Ronnie Brunner <rbrunner@users.sourceforge.net>. He also
- provided the patch.
-
- * generic/tclEvent.c (Tcl_Finalize): Moved release of
- 'tclLibraryPath' to Tcl_FinalizeThread.
- (Tcl_FinalizeThread): See above, new place for release of
- 'tclLibraryPath'.
- 2001-09-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tools/encoding/cp1252.txt: File was missing part of the encoding
- [euro, ZCaron and zcaron].
- * doc/OpenFileChnl.3: Add docs for Tcl_OutputBuffered; remove some
- old changebars.
- 2001-09-21 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tclExecute.c (TclExecuteByteCode): corrected
- INST_STR_CMP else case for strings to pass true utf char length
- to Tcl_UtfNCmp.
- 2001-09-20 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tclWinInit.c: added extra processor definitions. (mstacy)
- * win/tclWinSock.c (SocketThread): corrected pointer cast for _WIN64.
- * win/tclWinNotify.c: removed unnecessary winsock include (it is
- already in from tclWinPort.h).
- * win/tclWinPort.h: changed winsock.h include to winsock2.h.
- Reverses change from 2000-11-16, but is necessary for WIN64.
- Extensions should comply with defined OS words, or use #ifndef.
- 2001-09-20 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/socket.test: removed dependence on being run from same dir
- as remote.tcl, which only now needs to be in the same dir as
- this file. [Bug #219326]
- 2001-09-19 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tclTest.c (TestcmdtokenCmd): corrected pointer
- storage/retrieval for 64bit machines.
- * generic/tclCmdAH.c (Tcl_FormatObjCmd):
- * generic/tclScan.c (Tcl_ScanObjCmd): corrected handling of format
- and scan on 64-bit machines. [Bug #412696] (rmax)
- * unix/configure: regen'ed
- * unix/tcl.m4: added --enable-64bit support for HP-11 with the
- 64-bit kernel.
- * tests/basic.test:
- * tests/cmdInfo.test: improved skip reporting of missing commands
- * tests/winFCmd.test: simplified error check for winFCmd-7.9
- * tests/winPipe.test: removed obsolete cat16 tests
- * generic/tclExecute.c (TclExecuteByteCode): fixed invalid usage
- of valuePtr in TRACE_WITH_OBJ in INST_EVAL_STK case. [Bug #462594]
- Changed INST_STR_CMP instruction to promote to Unicode strings
- only when one of the strings is already of Unicode type.
- * generic/tclExecute.c (TclExecuteByteCode):
- * generic/tclCompile.c (instructionTable):
- * generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH -
- Updated to Int1 instruction type and added special case to use
- INST_STR_EQ instead when no glob chars are specified in a static
- string.
- * tests/{for.test,foreach.test,if.test,while.test}:
- * generic/tclCompCmds.c (TclCompileForCmd, TclCompileForeachCmd,
- TclCompileIfCmd, TclCompileWhileCmd): Corrected the overaggressive
- compiling of loop bodies enclosed in ""s. [Bug #219166] (msofer)
- 2001-09-19 Miguel Sofer <msofer@users.sourceforge.net>
-
- * generic/tclExecute.c: insured that execution stack errors are
- also detected at abnormal returns.
- 2001-09-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * doc/socket.n: Added documentation to mention what happens when a
- server socket is created with port=0. Removed an old change bar,
- and no new change bar because Tcl has always behaved this way as
- it is really a poorly-documented standards-defined OS feature.
- * tests/util.test (util-8.1): Test derived from code to detect the
- problem, but the test always works in the C locale, so beware if
- you are maintaining the code.
- * generic/tclUtil.c (TclNeedSpace): Rewrote to be UTF-8 aware.
- [Bug 411825, but not that patch which would have added extra
- spaces if there was a real non-ASCII space involved. ]
- 2001-09-18 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * generic/tclIOCmd.c (Tcl_PutsObjCmd): Rewritten to have saner and
- faster argument handling. Fixes bug #123552. Patch provided by
- Donal K. Fellows <fellowsd@cs.man.ac.uk>: #402564.
- 2001-09-18 Don Porter <dgp@users.sourceforge.net>
- * unix/configure: Regen.
- * unix/tcl.m4 (SC_CONFIG_CFLAGS): On Linux, disable inlining when
- one of the compat/*.c routines is to be linked in. [Patch 440891]
- 2001-09-17 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tcl.h: removed forced #define USE_TCLALLOC 1 for
- Windows. This means the native system allocator will be used by
- default. This should be binary and source compatible with
- extensions, as Tcl_Alloc is a properly stubbed function.
- 2001-09-17 Miguel Sofer <msofer@users.sourceforge.net>
-
- * generic/tclExecute.c: corrected small bug in [Patch 456668] -
- the varFramePtr was not restored in one possible exit.
- 2001-09-17 Miguel Sofer <msofer@users.sourceforge.net>
-
- * doc/tclvars.n:
- * generic/tclCompile.c:
- * generic/tclCompile.h:
- * generic/tclExecute.c:
- * generic/tclProc.c: disabled all compile and execution tracing
- functionality in standard builds; TCL_COMPILE_DEBUG is now
- necessary to enable it. [Bug 451858]
- 2001-09-14 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * doc/gets.n:
- * doc/read.n:
- * doc/puts.n:
- * doc/flush.n:
- * doc/fconfigure.n:
- * doc/flush.n:
- * doc/eof.n:
- * doc/seek.n:
- * doc/tell.n:
- * doc/close.n:
- * doc/fileevent.n: Added references to the Tcl standard
- channels. Item [219250], reported by David LeBlanc
- <whisper@oz.net>. Thanks to Christopher Nelson
- <chris@pinebush.com> for doing editorial work.
- 2001-09-13 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * win/Makefile.in:
- * win/configure.in:
- * win/makefile.bc:
- * win/makefile.vc:
- * library/dde/pkgIndex.tcl: Fixed version numbers from bogus tcl
- versions to independent versions for dde and registry packages.
- 2001-09-13 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/regexp.test (regexp-20.1):
- * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): had to adjust fix from
- 2001-08-06 to actually duplicate the objects in certain cases.
- This is really a place where feather would have been essential.
- [Bug #461322]
- * generic/tclUtf.c (Tcl_UtfPrev): corrected to return the proper
- location when the middle of a UTF-8 byte was passed in.
- [Tk Bug #450504]
- * ChangeLog.1999:
- * ChangeLog: broke changes from 199x into ChangeLog.1999 to reduce
- size of the main ChangeLog.
- 2001-09-13 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * tests/ioCmd.test: Changed the computation of the result for
- iocmd-8.1[123] so that the tests work for single- and
- multi-process execution of the testsuite. Depending on the
- choice of the user stdout is a tty or not and thus reports
- different channel options. Fixes [460993] reported by Don
- Porter.
- 2001-09-13 Miguel Sofer <msofer@users.sourceforge.net>
- * doc/ParseCmd.3:
- * generic/tcl.decls:
- * generic/tclCmdMZ.c (Tcl_SubstObjCmd):
- * generic/tclDecls.h:
- * generic/tclParse.c:
- * generic/tclStubInit.c:
- * tests/parse.test: Deprecate the use of Tcl_EvalTokens, replaced
- by the new Tcl_EvalTokensStandard. The new function performs the
- same duties but adheres to the standard return convention for Tcl
- evaluations; the deprecated function could only return TCL_OK or
- TCL_ERROR, which caused [Bug 219384] and [Bug 455151].
- This patch implements [TIP 56].
-
- 2001-09-12 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/configure: Regen.
- * unix/tcl.m4: Invert the logic that checks for $GCC.
- Instead of checking for "$GCC" = "no" we check for
- "$GCC" != "yes" or simply swap the true and false
- blocks of code in an if statement. That way if
- GCC is set to "" everything will still work. [Bug 460991]
- 2001-09-12 Don Porter <msofer@users.sourceforge.net>
- * tests/appendComp.test:
- * tests/lsearch.test:
- * tests/namespace.test:
- * tests/rename.test:
- * tests/split.test: Corrected tests to better isolate tests in
- one file from influencing tests in other files. [Bug 460591]
- 2001-09-12 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tcl.decls: reserved stub #481 for the implementation of
- [TIP 56]
- 2001-09-11 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * doc/OpenFileChnl.3: Added documentation for Tcl_WriteRaw and
- Tcl_ReadRaw [#414929].
-
- * doc/CrtChannel.3: Added documentation for Tcl_ChannelBuffered
- and Tcl_GetTopChannel [#414929].
- * The changes below are a fix for [219253].
- * tests/socket.test: Removed _most_ instances of hardwired port
- numbers for listening sockets. Remaining are the ports in all
- tests with constraint 'doTestsWithRemoteServer'. These seem to
- be designed for a more controlled environment and are usually
- skipped when running the testsuite.
- * tests/io.test: Removed all instances of hardwired port numbers
- for listening sockets.
- 2001-09-10 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tclEvent.c (TclInExit): Corrected handling of tsd in
- late stages of finalization. [Bug #419449] (darley)
- * tests/stack.test:
- * generic/tclInterp.c (AliasObjCmd): Check the numLevels to ensure
- that we aren't hitting some alias loop condition. [Bug #443184]
- 2001-09-10 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/configure: Regen.
- * unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't include . characters
- in the Tcl library name when building on FreeBSD 3.X and later
- systems. [Patch 450725]
- 2001-09-10 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * doc/tclsh.1:
- * doc/Tcl_Main.3:
- * doc/CrtChannel.3:
- * doc/OpenFileChnl.3:
- * doc/GetStdChan.3: Enhanced the manpages with cross-references to
- the new manpage and more explanations how these functions deal
- with the standard channels in various situations.
- * doc/StdChannels.3: New manpage describing handling of the
- standard channels by the Tcl library [402725].
- 2001-09-10 Don Porter <dgp@users.sourceforge.net>
- * unix/mkLinks (Tcl_FSLink): Updated to reflect 2001-08-23
- file system changes.
- * unix/tclLoadShl.c: Added #include of tclInt.h; access to Tcl
- internals, notably TclpUnloadFile(), is required. Thanks to
- Bob Techentin for report and patch. [Bug 459305]
- * generic/tclInitScript.h (initScript):
- * win/tclWinInit.c (TCL_REGISTRY_KEY, TclpSetVariables): Removed
- vestiges of Tcl's old initialization from registry variables.
- [Bug 455645]
- 2001-09-10 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * generic/tclInt.decls: Also added 'TclWinFlushDirtyChannels' to
- the internal platform specific stub table.
- * win/tclWinFile.c (TclpObjStat): Now added the call to
- 'TclWinFlushDirtyChannels' to this function. I don't know where
- my head was last thursday (2001-09-06), but the call was
- actually added to 'TclpObjChdir', i.e. the implementation of
- [cd]. Corrected this now. Thanks to Vince Darley for spotting
- this.
- 2001-09-10 Miguel Sofer <msofer@users.sourceforge.net>
- * generic/tclProc.c:
- * tests/proc.test: made [proc] bytecompile a no-op for procs
- defined with _args_ as single argument and an empty body.
- [FQ 451441]
-
- 2001-09-09 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/Makefile.in:
- * win/Makefile.in: Use () around variable name
- instead of {}. Use TCLTEST variable directly
- instead of depending on the tcltest alias.
- 2001-09-09 David Gravereaux <davygrvy@pobox.com>
- * generic/tcl.h:
- * generic/tclPlatDecls.h: Reminder from David Cuthbert <dacut@kanga.org>
- that I hadn't finished the Borland compatibility stuff.
- [Patch: 436116]
- 2001-09-09 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/cmdAH.test: Modify cmdAH-20.5 and cmdAH-24.8
- to display the file atime or mtime results if
- the test fails.
- 2001-09-08 David Gravereaux <davygrvy@pobox.com>
- * win/mkd.bat:
- * win/rmd.bat: made these text files, text files again.
- [Patch: 451333]
- 2001-09-08 Mo DeJong <mdejong@users.sourceforge.net>
- * win/mkd.bat:
- * win/rmd.bat:
- Apply binary property (cvs admin -kb) to files and convert
- to CRLF linefeed format to fix the VC++ build. [Bug #219409]
- 2001-09-08 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclInt.h:
- * generic/tclFCmd.c:
- * doc/FileSystem.3:
- * generic/tclIOUtil.c: removed Tcl_FSCopyFile fallback
- to channel copying, since the channels will not have
- access to interpreters and the channel copying currently
- requires an interp. Code which required cross-platform
- copies always has interpreters, so that solves the problem.
- Fixes bug in TclKit.
-
- 2001-09-07 David Gravereaux <davygrvy@pobox.com>
- * win/tcl.m4: Added -link50compat option so a VC6 linker makes
- a VC5 (pre sp3) compatible import library.
- [Bug: 219257]
- 2001-09-07 Mo DeJong <mdejong@users.sourceforge.net>
- * win/tclWinThrd.c (TclpThreadExit): Cast status argument to
- _endthreadex to unsigned instead of DWORD to match the Win32
- function prototype.
- 2001-09-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * All the changes below serve to fix bug [219148] which reports a
- 80x performance hit for file I/O on Win* systems. On my system
- it was closer to a 120x hit. Problem report by Uwe Traum <no
- email address available>.
- The fix goes like this: The obstacle is 'FlushFileBuffers',
- executed whenever Tcl writes data to the OS, as Tcl has to wait
- for the disk to complete I/O, and disks are slow. We remove that
- obstacle. This opens another problem, [file size] reports back
- wrong numbers. So for [file size] we add the call back in. As
- optimization we keep track of the channels which were written to
- and flush only these.
- * win/tclWinFile.c (TclpObjStat): Added a call to
- 'TclWinFlushDirtyChannels'. This ensures that [file size] and
- related commands report the correct size of a file even if Tcl
- has recently written to it. Unixoid OS's always report the
- correct size even for files with pending data, but Win*
- syssystem don't. They only report what is actually on disk.
- * win/tclWinInt.h: Added declaration of
- 'TclWinFlushDirtyChannels', making it available to other parts
- of the tcl core.
- * win/tclWinChan.c (TclWinFlushDirtyChannels): New, internal,
- procedure. Goes through the list of open file channels and
- forces the OS to flush its file buffers for all which were
- written to since the last call of this function. This is an
- expensive operation as Tcl has to wait for the OS to complete
- actual writes to the disk.
- (FileInfo): Added dirty flag required by the procedure above.
- (FileOutputProc): Removed flushing of file buffers, setting the
- dirty flag instead. This means that the previously incurred
- delays do not happen anymore.
- (TclWinOpenFileChannel): Added initialization of 'dirty' flag.
- 2001-09-06 Jeff Hobbs <jeffh@ActiveState.com>
- * doc/http.n: noted -binary, charset and coding state keys.
- * tests/http.test:
- * library/http/pkgIndex.tcl:
- * library/http/http.tcl (geturl): correctly get charset parameter
- and convert text according to specified encoding (if known). RFC
- iso8859-1 is used by default. Also recognize Content-encoding to
- see if we should do binary translation. Added a CYA -binary
- switch for the cases that were missed. [Bug #219211 #219399]
- * tests/ioUtil.test: changed to make better use of constraints and
- remove knownBug constraints that weren't valid.
- 2001-09-06 Don Porter <dgp@users.sourceforge.net>
- * tests/unixInit.test (unixInit-3.2): Updated test to support
- newer HP-UX releases that properly report euc-jp as the system
- encoding for Japanese. Bug report and patch verification by Bob
- Techentin. [Bug 453883]
- * doc/http.n:
- * library/http/*.tcl:
- * tools/tcl.wse.in:
- * tools/tclmin.wse:
- * unix/Makefile.in:
- * win/{Mm}akefile.*: Updated http package to version 2.4,
- reflecting the new features just added.
- 2001-09-06 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tclTest.c: tests of old-fs hooks no longer cause problems
- in threaded builds. Also removed unused unload proc.
- * generic/tcl.decls:
- * generic/tclIOUtilc: added Tcl_FSMountsChanged so that a vfs
- can inform the filesystem that the filesystem epoch must be
- changed (since cached filesystems may now be incorrect). Fixes
- problem running tclvfs extension.
- * library/tcltest/tcltest.tcl: if tests aren't in a native
- filesystem, then don't use pipes to run them. [Bug 458741]
-
- 2001-09-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tcl.decls (479 generic):
- * generic/tclIO.c (Tcl_Seek,Tcl_Tell,Tcl_OutputBuffered): Added
- public function to return the size of the output buffer and
- reworked other channel functions to use this shared functionality
- and that of Tcl_InputBuffered() too. [TIP#49, Rolf Schroedter]
- 2001-09-05 David Gravereaux <davygrvy@pobox.com>
- * generic/tclPlatDecls.h: Another small trim finalizing Borland
- support.
- * win/tclWinPipe.c:
- * win/tclWinPort.h: More Borland compatibility fixes. Changed
- EDQUOT #define from 49 to 69. Borland had a clash as it was already
- using this number. Upon advice from Helmut Giese, EDQUOT has been
- found in other header files #defined as 69.