📄 changelog.2001
字号:
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 cleanup2001-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)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -