os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/ChangeLog.2001
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/ChangeLog.2001 Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,3738 @@
1.4 +2001-12-28 Jeff Hobbs <jeffh@ActiveState.com>
1.5 +
1.6 + * library/init.tcl: make sure env(COMSPEC) on Windows is executed
1.7 + with the right case, as it may otherwise fail inexplicably.
1.8 +
1.9 +2001-12-28 Don Porter <dgp@users.sourceforge.net>
1.10 +
1.11 + * generic/tclCkalloc.c (MemoryCmd, TclFinalizeMemorySubsystem):
1.12 + Added the [memory onexit] command, intended to replace [checkmem].
1.13 +
1.14 + * doc/DumpActiveMemory.3:
1.15 + * doc/memory.n: Updated documentation for [memory] and related
1.16 + matters. [Bug 487677]
1.17 +
1.18 + * mac/tclMacBOAMain.c (Tcl_Main, CheckmemCmd): Removed all the
1.19 + machinery for the [checkmem] command that is completely duplicated
1.20 + by code in generic/tclCkalloc.c.
1.21 +
1.22 + * generic/tclBinary.c:
1.23 + * generic/tclListObj.c:
1.24 + * generic/tclObj.c:
1.25 + * generic/tclStringObj.c: Removed references to [checkmem] in
1.26 + comments, referencing [memory active] instead, since it is
1.27 + documented.
1.28 +
1.29 +2001-12-28 Daniel Steffen <das@users.sourceforge.net>
1.30 +
1.31 + * mac/tclMacInit.c:
1.32 + * mac/tclMacTclCode.r: synced up tclInit features to unix/win:
1.33 + implemented TclSetPreInitScript support, use of existing tclInit
1.34 + proc if defined, check of default encoding dir if set. Changed
1.35 + script library resource names to lowercase (i.e. same as
1.36 + corresponding files). Used Tcl_JoinPath instead of string append.
1.37 + Check that system encoding could be loaded before utf translating
1.38 + the LibraryPath.
1.39 + * mac/tclMacApplication.r:
1.40 + * mac/tclMacLibrary.r:
1.41 + * mac/tclMacOSA.r:
1.42 + * mac/tclMacResource.r: minor version resources cleanup
1.43 +
1.44 +2001-12-21 Mo DeJong <mdejong@users.sourceforge.net>
1.45 +
1.46 + * unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):
1.47 + Search for config file using exec_prefix instead of
1.48 + prefix when no --with-tcl or --with-tk argument is used. [Bug 492418]
1.49 +
1.50 +2001-12-21 Daniel Steffen <das@users.sourceforge.net>
1.51 +
1.52 + * unix/tcl.m4: fixed incorrect SHLIB_LD_LIBS
1.53 + setting for MacOSX / Darwin.
1.54 + * unix/configure: Regen.
1.55 + * unix/mkLinks.tcl: improved case-insensitive
1.56 + filesystem support.
1.57 + * unix/mkLinks: Regen.
1.58 +
1.59 +2001-12-19 Don Porter <dgp@users.sourceforge.net>
1.60 +
1.61 + * unix/Makefile.in (dist): corrected use of eolFix.tcl on
1.62 + working files. It should operate on distributed files. [Bug 495120]
1.63 +
1.64 +2001-12-19 David Gravereaux <davygrvy@pobox.com>
1.65 +
1.66 + * tools/tcl.wse.in: Fix for #495120. tcl.wse.in was
1.67 + stored in cvs with improper <eol>. This resulted in
1.68 + corrupted <eol> when checked-out on translating CVS
1.69 + clients such as windows (CRCRLF) and mac (CRCR).
1.70 +
1.71 +2001-12-19 Mo DeJong <mdejong@users.sourceforge.net>
1.72 +
1.73 + * unix/configure:
1.74 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Update
1.75 + SunOS 5.[0-6] target so that correct linker
1.76 + options are passed to gcc or ld. [Tk Bug 220863]
1.77 +
1.78 +2001-12-19 Mo DeJong <mdejong@users.sourceforge.net>
1.79 +
1.80 + * unix/README: Update to account for changes
1.81 + in the unix/dltest directory, the way autoconf
1.82 + is run, and the new "make shell" target.
1.83 +
1.84 +2001-12-19 Mo DeJong <mdejong@users.sourceforge.net>
1.85 +
1.86 + * unix/Makefile.in: Rename dltest to dlpkgs to
1.87 + fix problem where lib files were not getting
1.88 + built because dltest/ directory already existed.
1.89 +
1.90 +2001-12-19 Jeff Hobbs <jeffh@ActiveState.com>
1.91 +
1.92 + * win/tclWinSerial.c (SerialCheckProc): corrected time
1.93 + calculations to be unsigned. (schroedter)
1.94 +
1.95 +2001-12-18 Mo DeJong <mdejong@users.sourceforge.net>
1.96 +
1.97 + * unix/Makefile.in: Define new dltest target that
1.98 + simply does a cd to dltest/ before running make.
1.99 + There is no need for the separate configure
1.100 + script that was previously being used.
1.101 + * unix/configure: Regen.
1.102 + * unix/configure.in: Subst into dltest/Makefile.
1.103 + * unix/dltest/Makefile.in: Define LIBS using
1.104 + DL_LIBS, LIBS, and MATH_LIBS variables instead
1.105 + of TCL_LIBS variable from tclConfig.sh.
1.106 + * unix/dltest/README: Update readme to account for new
1.107 + configure free implementation.
1.108 + * unix/dltest/configure: Removed.
1.109 + * unix/dltest/configure.in: Removed.
1.110 +
1.111 +2001-12-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.112 +
1.113 + * generic/tcl.h (TCL_STUB_MAGIC): Added cast to force type to be
1.114 + an int and get rid of a persistent and pointless warning with
1.115 + SunPro compiler.
1.116 +
1.117 + * generic/tclCkalloc.c (Tcl_AttemptDbCkalloc,Tcl_AttemptDbCkrealloc):
1.118 + * generic/tcl.decls (Tcl_AttemptDbCkalloc,Tcl_AttemptDbCkrealloc):
1.119 + Made the file parameters to these functions into CONST char *,
1.120 + like they always should have been to match the other Tcl*Db* API
1.121 + functions.
1.122 +
1.123 +2001-12-17 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.124 +
1.125 + * Applied #219311 on behalf of Rolf Schroedter
1.126 + <schroedter@users.sourceforge.net> to prevent fcopy on serial
1.127 + ports from flooding the event queue.
1.128 +
1.129 +2001-12-11 Miguel Sofer <msofer@users.sourceforge.net>
1.130 +
1.131 + * doc/CrtInterp.3:
1.132 + * generic/tclBasic.c: docs and comments corrections [Bug 493412]
1.133 + Bug & patch by Don Porter.
1.134 +
1.135 +2001-12-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.136 +
1.137 + * win/tclWinNotify.c (Tcl_FinalizeNotifier): Stop Tcl on Windows
1.138 + from crashing when shutdown from a non-Tcl thread. Fixes Bug
1.139 + #217982 [orig. 5804] reported by Hugh Vu and Gene Leache. I'm
1.140 + not convinced that the shutdown process is right even with this,
1.141 + but it was definitely wrong without...
1.142 +
1.143 +2001-12-13 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.144 +
1.145 + * win/tclWinSock.c (TcpGetOptionProc): Fix for tcl bug item
1.146 + #478565 reported by an unknown person. Bypasses all calls to
1.147 + "gethostbyaddr" for address "0.0.0.0" to prevent delays on
1.148 + Win/NT.
1.149 +
1.150 +2001-12-12 Jeff Hobbs <jeffh@ActiveState.com>
1.151 +
1.152 + * doc/Preserve.3: doc'd TCL_DYNAMIC use. [Patch #483989] (porter)
1.153 +
1.154 +2001-12-12 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.155 +
1.156 + * generic/tclIO.c (Tcl_GetsObj): Applied patch for bug #491341 as
1.157 + provided by Don Porter <dgp@users.sourceforge.net>. Fixes the
1.158 + assumption of having an empty Tcl_Obj to work with.
1.159 +
1.160 +2001-12-11 Miguel Sofer <msofer@users.sourceforge.net>
1.161 +
1.162 + * generic/tclCompCmds.c:
1.163 + * generic/tclCompile.c:
1.164 + * generic/tclExecute.c: consistency patch, to make all
1.165 + instructions that pop a variable number of Tcl_Obj's off the
1.166 + execution stack take the number of popped objects as first
1.167 + operand. Modified *only* the new instructions
1.168 + INST_LIST_INDEX_MULTI and INST_LSET_FLAT, so this has no effect
1.169 + on bytecodes generated up to tcl8.4a3 inclusive.
1.170 +
1.171 + * generic/tclExecute.c: fix debug messages in INST_LSET_LIST.
1.172 +
1.173 + * generic/tclCompCmds.c (TclCompileLindexCmd):
1.174 + * generic/tclCompExpr.c (CompileMathFuncCall): removed the last
1.175 + two overestimates of the necessary stack depth for bytecodes in
1.176 + the fix of [Bug 483611].
1.177 +
1.178 +2001-12-10 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.179 +
1.180 + * unix/tclUnixPipe.c (TclpCreateProcess): Applied Don Porter's
1.181 + patch fixing bug #437489.
1.182 +
1.183 +2001-12-10 Miguel Sofer <msofer@users.sourceforge.net>
1.184 +
1.185 + * generic/tclEvent.c:
1.186 + * tests/event.test: fix background error reporting in the absence
1.187 + of a bgerror proc [Bug 219142].
1.188 +
1.189 +2001-12-10 Don Porter <dgp@users.sourceforge.net>
1.190 +
1.191 + * doc/Access.3:
1.192 + * doc/CrtChannel.3:
1.193 + * doc/DString.3:
1.194 + * doc/ExprLong.3:
1.195 + * doc/FileSystem.3:
1.196 + * doc/GetStdChan.3:
1.197 + * doc/OpenFileChnl.3:
1.198 + * doc/StdChannels.3:
1.199 + * doc/TCL_MEM_DEBUG.3:
1.200 + * doc/Tcl_Main.3:
1.201 + * doc/Utf.3:
1.202 + * doc/file.n:
1.203 + * doc/tclsh.1: Several typo and formatting corrections discovered
1.204 + during conversion to TMML. Thanks to Joe English. [Patch 490514]
1.205 + * unix/mkLinks: 'make mklinks'
1.206 +
1.207 +2001-12-10 Miguel Sofer <msofer@users.sourceforge.net>
1.208 +
1.209 + * generic/tclCompCmds.c:
1.210 + * generic/tclCompExpr.c:
1.211 + * generic/tclCompile.c:
1.212 + * generic/tclCompile.h:
1.213 + * generic/tclExecute.c:
1.214 + * generic/tclProc.c: fixed the calculation of the maximal stack
1.215 + depth required by bytecodes [Bug 483611].
1.216 +
1.217 +2001-12-07 Miguel Sofer <msofer@users.sourceforge.net>
1.218 +
1.219 + * generic/tclVar.c:
1.220 + * tests/trace.test: restored consistency in refCount accounting by
1.221 + array traces [Bug #4484339], submitted by Don Porter.
1.222 +
1.223 +2001-12-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.224 +
1.225 + * tests/parseExpr.test, tests/for.test, tests/expr.test:
1.226 + * tests/expr-old.test, tests/compile.test, tests/compExpr.test
1.227 + * tests/compExpr-old.test: Kept up to date with syntax errors.
1.228 + * generic/tclParseExpr.c (ParsePrimaryExpr): Rewrote to give even
1.229 + better syntax errors in the fairly common case of an identifier
1.230 + without decorations by guessing based on the currently available
1.231 + functions. Also made messages consistent between memdebug and
1.232 + ordinary builds.
1.233 +
1.234 +2001-12-05 Miguel Sofer <msofer@users.sourceforge.net>
1.235 +
1.236 + * generic/tclVar.c:
1.237 + * tests/trace.test: new algorithm for [array get], safe when there
1.238 + are traces that modify the array [Bug #449893].
1.239 +
1.240 +2001-12-04 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.241 +
1.242 + * tests/compExpr-old.test, tests/compExpr.test, tests/compile.test:
1.243 + * tests/expr-old.test, tests/expr.test, tests/for.test:
1.244 + * tests/while.test, tests/if.test: Rewrite to handle more specific
1.245 + syntax errors.
1.246 + * tests/parseExpr.test: Rewrite to get rid of dup test numbers and
1.247 + handle more specific syntax errors.
1.248 + * generic/tclParseExpr.c (LogSyntaxError): Added a detail message
1.249 + argument to help explain what the syntax error is.
1.250 + (Tcl_ParseExpr, ParseCondExpr, ParsePrimaryExpr): Added detail
1.251 + messages.
1.252 + (UNKNOWN_CHAR): New lexeme for characters that are always illegal
1.253 + in expressions outside strings.
1.254 +
1.255 +2001-12-03 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.256 +
1.257 + * doc/expr.n: Various documentation improvements in relation to
1.258 + the function calls. Includes fix for Bug #487704 submitted by
1.259 + Devin Eyre.
1.260 +
1.261 +2001-12-03 David Gravereaux <davygrvy@pobox.com>
1.262 +
1.263 + * win/makefile.vc: Some install target bugs repaired along with
1.264 + $(TCLSTUBLIB) added to the dependencies rather than implicit through
1.265 + the dde and reg extensions which don't happen to always require it
1.266 + for some build types.
1.267 +
1.268 +2001-11-30 Miguel Sofer <msofer@users.sourceforge.net>
1.269 +
1.270 + * generic/tclVar.c: Tcl_Preserve'ing VarTrace structures to avoid
1.271 + memory corruption. Patch for [Bug: 484334] provided by Don Porter
1.272 +
1.273 +2001-11-29 Miguel Sofer <msofer@users.sourceforge.net>
1.274 +
1.275 + * tests/namespace.test: modified namespace-41.2, added 41.3
1.276 + {knownbug} after discussion with Don Porter and Kevin Kenny.
1.277 +
1.278 +2001-11-29 Miguel Sofer <msofer@users.sourceforge.net>
1.279 +
1.280 + * tests/namespace.test: added namespace-41.2, a simpler test for
1.281 + [Bug: 231259]
1.282 +
1.283 +2001-11-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.284 +
1.285 + * generic/tclBinary.c (BINARY_SCAN_MAX_CACHE, Tcl_BinaryObjCmd,
1.286 + ScanNumber): Added caching scheme to reduce number of object
1.287 + allocations when doing scans of large repetitive binary strings.
1.288 + See comments in file for reasoning behind implementation.
1.289 + Suggested by Miguel Sofer in Patch #429916, but independently
1.290 + implemented.
1.291 +
1.292 +2001-11-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.293 +
1.294 + * doc/regsub.n, doc/regexp.n: Converted dangling references to
1.295 + METASYNTAX section into references to the re_syntax manual page.
1.296 +
1.297 +2001-11-27 D. Richard Hipp <drh@hwaci.com>
1.298 +
1.299 + * win/tclWinFCmd.c: Fix a coredump in the filename normalizer
1.300 + code for Win95/98.
1.301 +
1.302 +2001-11-27 David Gravereaux <davygrvy@pobox.com>
1.303 +
1.304 + * win/makefile.vc: Removed the Tk reference for the 'winhelp' target.
1.305 + Converge at install will need to be the solution for Tk and all other
1.306 + extensions.
1.307 +
1.308 +2001-11-27 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.309 +
1.310 + * tests/cmdAH.test (cmdAH-24.2): Made test less sensitive to OS
1.311 + preemption, but perfection isn't practical [Bug 463189, reported
1.312 + by Don Porter.]
1.313 +
1.314 + * tests/switch.test (switch-9.*): Added tests to exercise more of
1.315 + the argument checking. (switch-7.2,switch-7.3): Test changed
1.316 + behaviour slightly.
1.317 + * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Reworked argument parsing
1.318 + to be stricter about what it accepts. This should make uses of
1.319 + the [switch] command be more maintainable. [Bug 475397, reported
1.320 + by Don Porter.]
1.321 +
1.322 +2001-11-26 Don Porter <dgp@users.sourceforge.net>
1.323 +
1.324 + * generic/tclIntPlatDecls.h: 'make genstubs' after changes
1.325 + in 2001-11-23 commit from Daniel Steffen.
1.326 +
1.327 +2001-11-24 Mo DeJong <mdejong@users.sourceforge.net>
1.328 +
1.329 + * unix/Makefile.in: Add comments to better describe
1.330 + TCL_EXE and when it should be available.
1.331 + * win/Makefile.in: Add TCL_EXE variable to be used
1.332 + by rules like `make genstubs`. Don't set TCL_LIBRARY
1.333 + before running `make genstubs` since we will be running
1.334 + with a tclsh from the PATH not the one we build.
1.335 +
1.336 +2001-11-24 Mo DeJong <mdejong@users.sourceforge.net>
1.337 +
1.338 + * win/configure: Regen.
1.339 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Add comctl32.lib
1.340 + to wish link libs. This change was originally added
1.341 + to Tk on 2001-11-09 but was not committed to Tcl.
1.342 +
1.343 +2001-11-23 Daniel Steffen <das@users.sourceforge.net>
1.344 +
1.345 + * unix/Makefile.in:
1.346 + * unix/configure.in:
1.347 + * unix/install-sh:
1.348 + * unix/mkLinks:
1.349 + * unix/mkLinks.tcl:
1.350 + * unix/tclLoadDyld.c:
1.351 + * unix/tclMtherr.c: Mac OSX support: build system, dynamic code loading
1.352 + and support for case-insensitive filesystems in mkLinks (patch #435258)
1.353 +
1.354 +2001-11-23 Daniel Steffen <das@users.sourceforge.net>
1.355 +
1.356 + Up-port to 8.4 of mac code changes for 8.3.3 & various new
1.357 + changes for 8.4, some already backported to 8.3.4 (patch #435658)
1.358 +
1.359 + * generic/tclObj.c: added #include to fix missing prototype errors
1.360 +
1.361 + * generic/tcl.h: MAC_TCL: addition of ConditionalMacros.h and use of
1.362 + DLLIMPORT and DLLEXPORT like on other platforms. ( => no longer need
1.363 + the .exp files and can remove use of #pragma export that never worked
1.364 + well)
1.365 + removed line continuation in #if clause as this breaks the mac
1.366 + resource compiler (note that *.r files include tcl.h)
1.367 +
1.368 + * mac/tclMacFile.c: fixed bug in permission checking code
1.369 +
1.370 + * mac/tclMacLoad.c: corrected utf8 handling, comparison of
1.371 + package names to code fragment names changed to only match on the
1.372 + length of package name, this allows for fragment names with version
1.373 + numbers appended
1.374 +
1.375 + * mac/tclMacInt.h:
1.376 + * generic/tclInt.h:
1.377 + * mac/tclMacTime.c:
1.378 + * generic/tclIOUtil.c: moved declaration of TclpGetGMTOffset()
1.379 +
1.380 + * mac/tclMacShLib.exp:
1.381 + * mac/tclMacOSA.exp:
1.382 + * mac/tclMacMSLPrefix.h: removed files
1.383 +
1.384 + * unix/Makefile.in: removed reference to .exp files
1.385 +
1.386 + * mac/MW_TclBuildLibHeader.h:
1.387 + * mac/MW_TclBuildLibHeader.pch:
1.388 + * mac/MW_TclHeaderCommon.h:
1.389 + * mac/MW_TclStaticHeader.h:
1.390 + * mac/MW_TclStaticHeader.pch: new precompiled header files
1.391 +
1.392 + * mac/MW_TclAppleScriptHeader.pch:
1.393 + * mac/MW_TclHeader.pch:
1.394 + * mac/MW_TclTestHeader.pch:
1.395 + * mac/tclMacCommonPch.h: revised precompiled header handling: now
1.396 + include a common header file 'MW_TclHeaderCommon.h' from all .pch
1.397 + files, the .pch files themselves now only setup #defines (e.g.
1.398 + BUILD_tcl, STATIC_BUILD, TCL_DEBUG, TCL_THREADS) like in makefiles on
1.399 + other platforms.
1.400 +
1.401 + * mac/tclMac.h:
1.402 + * mac/tclMacPort.h:
1.403 + * mac/tclMacInt.h: use of BUILD_tcl and TCL_STORAGE_CLASS like on other
1.404 + platforms, standardize #include'd files to what's done on other
1.405 + platforms, removed use of #pragma export.
1.406 +
1.407 + * mac/tcltkMacBuildSupport.sea.hqx: new archive of mac build support
1.408 + files & suggested build environment directory hierarchy:
1.409 + 'Building MacTclTk' & 'CW Pro6 changes' readme's.
1.410 + projects for MoreFiles 1.5.2 static & shared libraries.
1.411 + project & sources for 'pseudoCarbonSupport', see below.
1.412 + included XML versions of the projects for CW Pro5 or Pro7 users.
1.413 +
1.414 + * mac/tclMacProjects.sea.hqx: updated mac build project files:
1.415 + build support for CodeWarrior Pro6, UnivIntf 3.4 & shared runtime
1.416 + libraries: the MSL libraries and MoreFiles are no longer compiled into
1.417 + Tcl.shlb, all non-static binaries now use the Pro6 shared runtime
1.418 + libraries and MoreFiles.shlb. These shlbs are merged into the standard
1.419 + Wish and TclShell, but 3rd party applications linking with Tcl.shlb or
1.420 + Tk.shlb need to setup access to them. (see the "(sh-ppc)" targets
1.421 + for how to do this.)
1.422 + included XML versions of the projects for CW Pro5 or Pro7 users.
1.423 + use compat/strtod.c instead of MSL's strtod()
1.424 + use WASTE versions of MSL for tcl test target to avoid text buffer
1.425 + cutoff at 32k.
1.426 + Merging the full MSL.shlb and the other shlbs into Wish & TclShell
1.427 + makes them a bit larger than before, use unmerged binaries to avoid
1.428 + copying the shared code with every application, e.g. when deploying
1.429 + numerous Wish based droplets.
1.430 + Note that using CW Pro5 to compile extensions is in principle still
1.431 + possible, but need to link with Pro6 runtime libraries.
1.432 + Tclapplescript now loads and runs on CFM68k.
1.433 + Highly experimental "pseudoCarbon" support for Tcl only on OS 8/9:
1.434 + binaries in "Build:(Carbon):" link against CarbonLib instead of
1.435 + InterfaceLib, however the actual code has not been carbonized! i.e. it
1.436 + will not run on OSX and may not even run properly with CarbonLib.
1.437 + This should in principle allow you to build & test OS9 CFM Carbon
1.438 + binaries that need to link with Tcl.shlb. On OSX you can use the
1.439 + native Tcl.framework, but you have to build a MachO binary as there
1.440 + is no CFM glue lib for Tcl.framework.
1.441 + the library pseudoCarbonSupport.shlb manually loads the symbols
1.442 + from InterfaceLib that are not in CarbonLib but are needed by the
1.443 + uncarbonized code in Tcl.shlb and TclShell.
1.444 +
1.445 + * generic/tclMain.c: MAC_TCL: workaround for broken/non-standard isatty
1.446 + on MW Pro6, #include <unistd.h> instead of defining isatty
1.447 +
1.448 + * mac/tclMacPort.h: MW Pro6 changes for MSL fcntl.h, stat.h & isatty
1.449 +
1.450 + * mac/tclMacAppInit.c: add EXTERN to InstallConsole to enable DLL
1.451 + export via the TCL_STORAGE_CLASS mechanism.
1.452 +
1.453 + * mac/tclMacFCmd.c: fix for FSpDirectoryCopy API change
1.454 +
1.455 + * mac/tclMacLibrary.c: emit compile time error when
1.456 + TCL_REGISTER_LIBRARY and USE_TCL_STUBS are both defined at the same
1.457 + time in an extension, this use is not currently supported and will
1.458 + result in a crash when dynamically loading the extension.
1.459 +
1.460 + * mac/tclMacApplication.r:
1.461 + * mac/tclMacLibrary.r:
1.462 + * mac/tclMacOSA.r:
1.463 + * mac/tclMacResource.r: fixed obsolete copyrights/dates in version
1.464 + strings; updated version strings to standard usage; added support for
1.465 + '(Support Libraries)' subfolder for shared runtime libraries in
1.466 + unmerged binaries; commented out demo setting of "Tcl Environment
1.467 + Variables"; reorganized resources among these files to avoid
1.468 + multiple copies in applications and shared libraries, the script
1.469 + libraries are now no longer duplicated in Tclsh but are only included
1.470 + in the resources of Tcl.shlb.
1.471 +
1.472 + * mac/tclMacChan.c:
1.473 + * mac/tclMacSock.c: cast for *BlockMode
1.474 +
1.475 + * mac/tclMacUtil.c:
1.476 + * mac/tclMacMath.h: removed obsolete hypot() definition
1.477 +
1.478 + * generic/tclIntPlatDecls.h:
1.479 + * generic/tclInt.decls:
1.480 + * generic/tclStubInit.c:
1.481 + * mac/tclMacNotify.c:
1.482 + * mac/tclMacOSA.c:
1.483 + * mac/tclMacUtil.c:
1.484 + * generic/tclThreadTest.c: renamed routines conflicting with standard
1.485 + Apple or MoreFiles headers (at compile or link time):
1.486 + GetGlobalMouse -> GetGlobalMouseTcl
1.487 + FSpGetDirectoryID -> FSpGetDirectoryIDTcl
1.488 + FSpOpenResFileCompat -> FSpOpenResFileCompatTcl
1.489 + FSpCreateResFileCompat -> FSpCreateResFileCompatTcl
1.490 + NewThread -> NewTestThread
1.491 + the renamed MoreFiles *Tcl routines are just wrappers calling into the
1.492 + MoreFiles DLL.
1.493 +
1.494 + * mac/tclMacCommonPch.h:
1.495 + * mac/tclMacThrd.c:
1.496 + * mac/tclMacPanic.c: removed OLDROUTINENAMES define, renamed obsolete
1.497 + apple API names to modern equivalents; UH3.4 support: added #include
1.498 + <ControlDefinitions.h>, updated New*Proc() calls to New*UPP().
1.499 +
1.500 + * mac/tclMacUnix.c: added missing (Tcl_Obj ***) cast to
1.501 + Tcl_ListObjGetElements call
1.502 +
1.503 + * mac/tclMacAlloc.c: modernized TclpSysAlloc() to use temporary
1.504 + memory instead of system heap memory when available (MacOS
1.505 + >= 7.5 and possibly earlier, use of system heap has been
1.506 + discouraged for a long time and has many disadvantages, e.g. memory
1.507 + isn't paged out, and errors can very easily bring the system down);
1.508 + fixed crashing bug in TclpSysRealloc() and CleanUpExitProc() where
1.509 + memory was being accessed after having been deallocated; fixed
1.510 + memory leak in (de)allocation code (for every block ever allocated
1.511 + with TclpSysAlloc, a Ptr was leaked), if temporary memory is
1.512 + available, don't track allocated memory, instead use
1.513 + RecoverHandle() to get Handle from Ptr, otherwise use doubly linked
1.514 + list to correctly track memory and free all allocated memory; added
1.515 + new option for ConfigureMemory: MEMORY_DONT_USE_TEMPMEM, disables
1.516 + use of temporary memory even when it would be available, only
1.517 + necessary when writing e.g. a driver (using tcl??); increased
1.518 + fraction of application heap reserved for OS routines to 512K
1.519 +
1.520 + * compat/strftime.c:
1.521 + * mac/tclMacTime.c:
1.522 + * mac/tclMacPort.h:
1.523 + * generic/tclInt.decls:
1.524 + * generic/tclIntPlatDecls.h:
1.525 + * generic/tclStubInit.c: timezone support for mac via
1.526 + TclpGetTZName() like on windows, using an inverse timezone table
1.527 + adapted from tclDate.c to map gmtoffset in seconds gotten from
1.528 + the MacOS APIs to a timezone string, as there is no good way to get
1.529 + this info from MacOS. I had to make up some unusual timezones and
1.530 + arbitrarily decide on the most standard of the multiple choices
1.531 + available for every timezone.
1.532 +
1.533 + * generic/tclExecute.c: workaround for a MSL bug/misfeature: for
1.534 + very small floats, MSL can return errno ERANGE but a
1.535 + non-zero value ( < LDBL_MIN however)
1.536 +
1.537 + * mac/tclMacAppInit.c: support for WASTE text library using
1.538 + temporary memory, setting has no effect if WASTE is not used.
1.539 +
1.540 + * mac/tclMacPanic.c: removed duplicate code from generic/tclPanic.c
1.541 + and added that file to projects instead.
1.542 +
1.543 + * tests/all.tcl: set tcltest::singleProcess 1 as multiple processes
1.544 + are not available on the mac.
1.545 +
1.546 + * tests/cmdAH.test: access time not available on the mac, skip the
1.547 + atime touch test
1.548 +
1.549 + * tests/appendComp.test:
1.550 + * tests/cmdMZ.test:
1.551 + * tests/compile.test:
1.552 + * tests/exec.test:
1.553 + * tests/fileName.test:
1.554 + * tests/lset.test:
1.555 + * tests/namespace.test:
1.556 + * tests/tcltest.test: added missing cleanups/tests/catches that
1.557 + caused tests to fail on the mac.
1.558 +
1.559 + * doc/tclvars.n: doc bug, env(PWD) should be env(HOME) [Bug 463834]
1.560 +
1.561 +2001-11-21 Don Porter <dgp@users.sourceforge.net>
1.562 +
1.563 + * tests/trace.test (trace-8.8): Corrected test for Bug 219393.
1.564 +
1.565 + * generic/tclBasic.c (Tcl_DeleteCommandFromToken,CallCommandTraces):
1.566 + * generic/tclCmdMZ>c (Tcl_UntraceCommand): Added Tcl_Preserve and
1.567 + Tcl_Release calls to prevent deletion of CommandTrace structures
1.568 + until all callers are done using them, preventing memory corruption.
1.569 + [Bug 453805]
1.570 +
1.571 +2001-11-20 Kevin B. Kenny <kennykb@users.sourceforge.net>
1.572 +
1.573 + * doc/GetTime.3 (Tcl_GetTime):
1.574 + * generic/tcl.decls (Tcl_GetTime):
1.575 + * generic/tclClock.c (Tcl_ClockObjCmd):
1.576 + * generic/tclCompile.c (TclCleanupByteCode, TclInitByteCodeObj):
1.577 + * generic/tclCmdMZ.c (Tcl_TimeObjCmd):
1.578 + * generic/tclUtil.c (TclpGetTime):
1.579 + * generic/tclTest.c (GetTimesCmd):
1.580 + * generic/tclTimer.c (Tcl_CreateTimerHandler, TimerSetupProc,
1.581 + TimerCheckProc, TimerHandlerEventProc):
1.582 + * mac/tclMacNotify.c (Tcl_SetTimer):
1.583 + * mac/tclMacShLib.exp (Tcl_GetTime):
1.584 + * mac/tclMacTime.c (Tcl_GetTime):
1.585 + * unix/tclUnixChan.c (TclUnixWaitForFile):
1.586 + * unix/tclUnixEvent.c (Tcl_Sleep):
1.587 + * unix/tclUnixThrd.c (Tcl_ConditionWait):
1.588 + * unix/tclUnixTime.c (Tcl_GetTime):
1.589 + * win/tclWinNotify.c (Tcl_Sleep):
1.590 + * win/tclWinTest.c (TestwinclockCmd):
1.591 + * win/tclWinTime.c (TclpGetSeconds, TclpGetClicks, Tcl_GetTime):
1.592 + Changed all uses of TclpGetTime to Tcl_GetTime. Added Tcl_GetTime
1.593 + to the Stubs table and the library documentation. Added a
1.594 + TclpGetTime in tclUtil.c for backward compatibility of
1.595 + extensions. [Patch #483500, TIP#73]
1.596 +
1.597 + * generic/tclCmdMZ.c (Tcl_TimeObjCmd): Corrected an error in the
1.598 + [time] command that caused incorrect results to be returned if the
1.599 + total duration of all iterations exceeded 2**31 microseconds.
1.600 + [Bug #478847]
1.601 +
1.602 + * generic/tclInt.decls:
1.603 + * generic/tclInt.h:
1.604 + * generic/tclStubInit.h: Reran 'make genstubs'
1.605 +
1.606 +2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
1.607 +
1.608 + * generic/tclBasic.c
1.609 + * generic/tclCompile.h:
1.610 + * generic/tclExecute.c: moving all code relative to bytecodes from
1.611 + tclBasic.c to tclExecute.c - the functions RecordTracebackInfo and
1.612 + Tcl_ExprObj went to tclExecute.c, and new interface function was
1.613 + defined (TclCompEvalObj).
1.614 + The final objective of this sequence of moves is to provide a
1.615 + clean, clear-cut interface between Tcl's core and the
1.616 + compiler/engine subsystem.
1.617 +
1.618 +2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
1.619 +
1.620 + * generic/tclBasic.c
1.621 + * generic/tclCompile.h:
1.622 + * generic/tclExecute.c: factoring out of common code in tclBasic.c
1.623 + (new function TclInterpReady defined: it resets the interp's
1.624 + result, then checks that it hasn't been deleted and that the
1.625 + nesting level is acceptable). Passed the responsibility of calling
1.626 + it to the *callers* of TclEvalObjvInternal.
1.627 +
1.628 +2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
1.629 +
1.630 + * generic/tclBasic.c
1.631 + * generic/tclExecute.c: a better variant of the previous-to-last
1.632 + commit (restoring numLevels computations). The managing of the
1.633 + levels now has to be done by the *callers* of TclEvalObjvInternal
1.634 +
1.635 +2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
1.636 +
1.637 + * generic/tclExecute.c: missing variable declaration under
1.638 + TCL_COMPILE_DEBUG.
1.639 +
1.640 +2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
1.641 +
1.642 + * generic/tclExecute.c:
1.643 + * generic/tclProc.c: restoring the computations of iPtr->numLevels
1.644 + to the original logic (previous to buggy modifs on 2001-11-16).
1.645 +
1.646 +2001-11-20 Jeff Hobbs <jeffh@ActiveState.com>
1.647 +
1.648 + * tools/eolFix.tcl (new-file):
1.649 + * unix/Makefile.in: added EOL correction for Windows bat files to
1.650 + dist target. [Bug #219409] (davygrvy)
1.651 +
1.652 + * unix/tclUnixInit.c (TclpSetInitialEncodings): update of patch
1.653 + from 2001-11-16 that uses the old Tcl encoding check mechanism as
1.654 + a fallback to the original. Also added a TCL_DEFAULT_ENCODING
1.655 + #define (defaults to iso8859-1). Tcl will first try setlocale and
1.656 + nl_langinfo, and if that fails, guess based on certain LANG|LC_*
1.657 + env vars. [Patch #418645]
1.658 +
1.659 +2001-11-19 David Gravereaux <davygrvy@pobox.com>
1.660 +
1.661 + * win/buildall.vc.bat: Added useful comments.
1.662 +
1.663 +2001-11-19 Miguel Sofer <msofer@users.sourceforge.net>
1.664 +
1.665 + * tests/compile.test: added a test for bug [Bug 483309]
1.666 +
1.667 +2001-11-19 Vince Darley <vincentdarley@users.sourceforge.net>
1.668 +
1.669 + * win/tclWinFile.c:
1.670 + * win/tclWinFCmd.c:
1.671 + * win/tclWin32Dll.c:
1.672 + * doc/file.n:
1.673 + * tests/winFCmd.test: improved speed of file normalization
1.674 + for Win95/98, and clarified docs on differences in file
1.675 + normalization between NT/2000 and the older operating systems.
1.676 + Added test to ensure normalization is correct.
1.677 +
1.678 +2001-11-19 Miguel Sofer <msofer@users.sourceforge.net>
1.679 +
1.680 + * generic/tclBasic.c:
1.681 + * generic/tclParse.c: Code reorganisation. Moved all evaluation
1.682 + functions from tclParse.c to tclBasic.c, so that now tclParse.c
1.683 + deals exclusively with parsing and all evaluations are done by
1.684 + code in tclBasic.c. The functions moved are: TclEvalObjvInternal,
1.685 + Tcl_EvalObjv, Tcl_LogCommandInfo, Tcl_EvalTokensStandard,
1.686 + Tcl_EvalTokens, Tcl_EvalEx, Tcl_Eval, Tcl_EvalObj and
1.687 + Tcl_GlobalEvalObj.
1.688 +
1.689 +2001-11-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.690 +
1.691 + * tests/trace.test (trace-8.8): Added adapted version of Bug
1.692 + #219393 as new test; the test won't reliably show up the old
1.693 + problem unless it is being run under something like Purify, but
1.694 + something is better than nothing...
1.695 +
1.696 + * generic/tclVar.c (Tcl_TraceVar2, Tcl_UntraceVar2): Added missing
1.697 + mask bits for trace result type and a check for a nonsense flag
1.698 + combination.
1.699 + * generic/tclCmdMZ.c (TraceVarProc): Added missing test for NULL
1.700 + when deleting a trace that doesn't cause an error.
1.701 +
1.702 + * doc/TraceVar.3: Added documentation for change due to TIP#68.
1.703 +
1.704 + * generic/tclCmdMZ.c (TraceVarInfo): Removed problematic errMsg
1.705 + field from structure.
1.706 + (TraceVarProc): Removed references to errMsg field and changed
1.707 + handling of errors so that they returned a Tcl_Obj* containing the
1.708 + error string. This minimizes the number of calls to the memory
1.709 + management subsystem.
1.710 + (TclTraceCommandObjCmd, TraceCommandProc): Removed references to
1.711 + errMsg field which was never used in command traces in any case.
1.712 + (Tcl_TraceObjCmd, TclTraceVariableObjCmd): Removed references to
1.713 + errMsg field and made variable traces register with
1.714 + TCL_TRACE_RESULT_OBJECT bit set.
1.715 +
1.716 + * generic/tcl.h (TCL_TRACE_RESULT_DYNAMIC,TCL_TRACE_RESULT_OBJECT):
1.717 + New constants to define how to handle the strings returned from
1.718 + trace callbacks [TIP#68]
1.719 + * generic/tclVar.c (CallTraces, Tcl_GetVar2Ex, TclGetIndexedScalar,
1.720 + TclGetElementOfIndexedArray, Tcl_SetVar2Ex, TclSetIndexedScalar,
1.721 + TclSetElementOfIndexedArray, Tcl_UnsetVar2, Tcl_ArrayObjCmd,
1.722 + TclDeleteVars, TclDeleteCompiledLocalVars, DeleteArray,
1.723 + TclVarTraceExists): Support for those new trace flags.
1.724 +
1.725 +2001-11-19 Miguel Sofer <msofer@users.sourceforge.net>
1.726 +
1.727 + * generic/tclCompCmds.c: patch for [Bug 483309] (petasis).
1.728 +
1.729 +2001-11-16 Kevin B. Kenny <kennykb@users.sourceforge.net>
1.730 +
1.731 + * generic/tclListObj.c: removed a C++-style comment that
1.732 + was inadvertently left in the source code.
1.733 +
1.734 +2001-11-16 Jeff Hobbs <jeffh@ActiveState.com>
1.735 +
1.736 + * tests/interp.test:
1.737 + * generic/tclInterp.c (SlaveObjCmd): Corrected argument checking
1.738 + for '$interp alias|aliases|issafe'. [Patch #479560] (thoyts, hobbs)
1.739 +
1.740 + * unix/tclUnixInit.c: added HAVE_LANGINFO code block.
1.741 + * unix/configure: regened
1.742 + * unix/configure.in: added SC_ENABLE_LANGINFO call
1.743 + * unix/tcl.m4: made SHLIB_LD_LIBS='${LIBS}' for FreeBSD* (meyer)
1.744 + Added modified version of Wagner patch to make use of nl_langinfo
1.745 + where possible to determine Unix platform encoding, instead of the
1.746 + inflexible built-in system. This is used by default when
1.747 + possible, and can be disabled with --enable-langinfo=no.
1.748 + [Patch #418645] (hobbs, wagner)
1.749 +
1.750 +2001-11-16 Miguel Sofer <msofer@users.sourceforge.net>
1.751 +
1.752 + * generic/tclCompile.h:
1.753 + * generic/tclExecute.c:
1.754 + * generic/tclObj.c: moved Tcl_GetCommandFromObj and all defining
1.755 + code for tclCmdNameType objects to tclObj.c (from tclExecute.c).
1.756 + This code has nothing to do with bytecodes.
1.757 +
1.758 +2001-11-16 Miguel Sofer <msofer@users.sourceforge.net>
1.759 +
1.760 + * generic/tclBasic.c:
1.761 + * generic/tclCompile.h:
1.762 + * generic/tclExecute.c:
1.763 + * generic/tclParse.c:
1.764 + * generic/tclProc.c:
1.765 + * tests/stack.test: consolidation of duplicated code (in
1.766 + TclExecuteByteCode and EvalObjv); renaming of EvalObjv to
1.767 + TclEvalObjv as it is not static anymore; restored consistency of
1.768 + level counts between compiled and directly evaled code.
1.769 + [Bug 480896]
1.770 +
1.771 +2001-11-12 David Gravereaux <davygrvy@pobox.com>
1.772 +
1.773 + * win/makefile.vc:
1.774 + * win/rules.vc: Small bug fixes.
1.775 +
1.776 + * win/README: added some docs pointing to the docs in makefile.vc
1.777 + for it's use.
1.778 +
1.779 +2001-10-17 Kevin B. Kenny <kennykb@users.sourceforge.net>
1.780 +
1.781 + * doc/lappend.n:
1.782 + * doc/lindex.n:
1.783 + * doc/linsert.n:
1.784 + * doc/list.n:
1.785 + * doc/llength.n:
1.786 + * doc/lrange.n:
1.787 + * doc/lsearch.n:
1.788 + * doc/lset.n (new-file):
1.789 + * doc/lsort.n:
1.790 + * generic/tclBasic.c (builtInCmds, Tcl_EvalObjEx):
1.791 + * generic/tclCmdIL.c (Tcl_LindexObjCmd, Tcl_LindexList):
1.792 + (Tcl_LindexFlat, Tcl_LsetObjCmd):
1.793 + * generic/tclCompCmds.c (Tcl_CompileLindexCmd, Tcl_CompileLsetCmd):
1.794 + * generic/tclCompile.c:
1.795 + * generic/tclCompile.h:
1.796 + * generic/tclExecute.c (TclExecuteByteCode):
1.797 + * generic/tclInt.decls:
1.798 + * generic/tclInt.h:
1.799 + * generic/tclIntDecls.h:
1.800 + * generic/tclListObj.c (TclLsetList, TclLsetFlat, TclSetListElement):
1.801 + * generic/tclObj.c (TclInitObjSubsystem):
1.802 + * generic/tclStubInit.c:
1.803 + * generic/tclTestObj.c (TestobjCmd):
1.804 + * generic/tclUtil.c (TclGetIntForIndex, SetEndOffsetFromAny):
1.805 + * generic/tclVar.c (Tcl_LappendObjCmd):
1.806 + * tests/lindex.test:
1.807 + * tests/lset.test (new-file):
1.808 + * tests/lsetComp.test (new-file):
1.809 + * tests/obj.test:
1.810 + * tests/string.test:
1.811 + * tests/stringComp.test:
1.812 + Reference implementation of TIP's #22, #33 and #45. Adds the
1.813 + ability of the [lindex] command to have multiple index arguments,
1.814 + and adds the [lset] command. Both commands are byte-code compiled.
1.815 + [Patch #471874] (work by Kenny, commited by Hobbs)
1.816 +
1.817 +2001-11-12 David Gravereaux <davygrvy@pobox.com>
1.818 +
1.819 + * win/buildall.vc.bat(new):
1.820 + * win/makefile.vc: Small fix with deriving the "OriginalFilename"
1.821 + string in the .rc scripts. Added a quick batchfile for building
1.822 + the entire thing.
1.823 +
1.824 +2001-11-12 Jeff Hobbs <jeffh@ActiveState.com>
1.825 +
1.826 + * doc/FileSystem.3:
1.827 + * doc/file.n:
1.828 + * doc/tcltest.n: converted use of \' to more reasonable format.
1.829 +
1.830 +2001-11-10 Mo DeJong <mdejong@users.sourceforge.net>
1.831 +
1.832 + * unix/Makefile.in:
1.833 + * win/Makefile.in: Add "make gdb" target. This target
1.834 + can run tclsh inside either gdb or insight.
1.835 +
1.836 +2001-11-10 David Gravereaux <davygrvy@pobox.com>
1.837 +
1.838 + * win/makefile.vc: Added a check to make sure one runs the makefile
1.839 + from the /win directory only.
1.840 +
1.841 + * win/mkd.bat:
1.842 + * win/rmd.bat: Changes from Llyod Lim for better stability.
1.843 + [Patch #456759]
1.844 +
1.845 +2001-11-09 David Gravereaux <davygrvy@pobox.com>
1.846 +
1.847 + * win/makefile.vc:
1.848 + * win/tcl.dsp: winhelp target fixes for non-NT systems. It
1.849 + seems NMAKE under these remembers changed directories during
1.850 + commands. A new tcltest feature from Peter Spjuth
1.851 + <peter.spjuth@space.se> to specify a pattern file from the
1.852 + commandline and redirecting output to a file when not under
1.853 + NT with it's scrollback console. Then it replays it, piped
1.854 + through more. Added 2 new static "configurations" to tcl.dsp.
1.855 + I could keep adding more, but I think we should leave it up to
1.856 + the user for customizing it.
1.857 +
1.858 + Sticky-points left: 'profile' option.
1.859 +
1.860 +2001-11-09 Jeff Hobbs <jeffh@ActiveState.com>
1.861 +
1.862 + * doc/FileSystem.3:
1.863 + * doc/StdChannels.3:
1.864 + * doc/file.n:
1.865 + * doc/tcltest.n:
1.866 + * tools/man2help.tcl:
1.867 + * tools/man2help2.tcl: fixed winhelp generation problems
1.868 + [Patch #480268]
1.869 +
1.870 + * unix/configure:
1.871 + * unix/tcl.m4: added -lc to AIX libs, fixed path to ldAix
1.872 +
1.873 +2001-11-09 Don Porter <dgp@users.sourceforge.net>
1.874 +
1.875 + * tests/var.test:
1.876 + * generic/tclVar.c: Corrected bug in [global] when dealing
1.877 + with variable names matching :*. [Bug 480176]
1.878 +
1.879 +2001-11-08 Mo DeJong <mdejong@users.sourceforge.net>
1.880 +
1.881 + Fixup stack size under OSF1. [Tcl patch 474790]
1.882 +
1.883 + * unix/configure: Regen.
1.884 + * unix/tcl.m4: Add HAVE_PTHREAD_ATTR_SETSTACKSIZE define
1.885 + to EXTRA_CFLAGS to adjust initial stack size.
1.886 +
1.887 +2001-11-08 Mo DeJong <mdejong@users.sourceforge.net>
1.888 +
1.889 + Enable thread support under FreeBSD. [Tcl bug 473708]
1.890 +
1.891 + * unix/configure: Regen.
1.892 + * unix/tcl.m4 (SC_ENABLE_THREADS): Check for pthread functions
1.893 + in libc_r and enable thread support if found.
1.894 + * unix/dltest/Makefile.in: Set SHLIB_LD_LIBS and use it in
1.895 + the Makefile to properly link a shared library.
1.896 +
1.897 +2001-11-08 Mo DeJong <mdejong@users.sourceforge.net>
1.898 +
1.899 + * unix/Makefile.in:
1.900 + * unix/dltest/Makefile.in:
1.901 + Avoid adding libc to the LIBS variable since it
1.902 + is not needed when linking with CC. If required
1.903 + when linking with LD it should be done on a case
1.904 + by case basis in tcl.m4.
1.905 +
1.906 +2001-11-08 David Gravereaux <davygrvy@pobox.com>
1.907 +
1.908 + * win/rules.vc:
1.909 + * win/makefile.vc: Fixed install target to adjust for the
1.910 + different build types. Added a 'linkexten' option to link the
1.911 + win extensions inside the shell when built static. Placed
1.912 + win/tclAppInit.c patch in SF patch DB for approval. 'profile'
1.913 + option not hooked in yet. Everything else know is done.
1.914 +
1.915 + * win/tcl.dsp(new):
1.916 + * win/tcl.dsw(new): Simple MsDev stub project files that calls
1.917 + makefile.vc. Will help run Tcl in the debugger easier without
1.918 + confusing MsDev for where the .pdb files are.
1.919 +
1.920 +2001-11-07 Mo DeJong <mdejong@users.sourceforge.net>
1.921 +
1.922 + * unix/Makefile.in:
1.923 + * win/Makefile.in:
1.924 + Print a message indicating that the user should
1.925 + run "make genstubs" when the generated tclStubInit.c
1.926 + file is out of date. We can't regenerate automatically
1.927 + since there may be no tclsh on the system and that
1.928 + would cause bootstrap problems. [Tcl bug 465874]
1.929 +
1.930 +2001-11-07 Mo DeJong <mdejong@users.sourceforge.net>
1.931 +
1.932 + Define TCL_INCLUDE_SPEC in tclConfig.sh. It should be
1.933 + included by extensions that need to find Tcl include
1.934 + headers in the install location. The user can override
1.935 + the include install dir with --includedir so we need
1.936 + to record this information for extensions. [Tcl bug 421835]
1.937 +
1.938 + * unix/configure: Regen.
1.939 + * unix/configure.in: Define TCL_INCLUDE_SPEC.
1.940 + * unix/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
1.941 + * win/configure: Regen.
1.942 + * win/configure.in: Define TCL_INCLUDE_SPEC.
1.943 + * win/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
1.944 +
1.945 +2001-11-07 David Gravereaux <davygrvy@pobox.com>
1.946 +
1.947 + * win/rules.vc:
1.948 + * win/makefile.vc: Dropped the NOMSVCRT macro and put it on the
1.949 + option list instead. It makes more sense to me this way as
1.950 + NOMSVCRT=0 would only be the valid setting. Fixed the dde and reg
1.951 + extension for building static. Improved, but not perfected, the
1.952 + winhelp target.
1.953 +
1.954 +2001-11-07 Mo DeJong <mdejong@users.sourceforge.net>
1.955 +
1.956 + * win/README: Change minimum VC++ version to 5.X since
1.957 + 4.X is known not to work.
1.958 + Indicate that Mingw is required and building with Cygwin
1.959 + gcc is not supported. Include instructions that indicate
1.960 + how to install Mingw and what URLs folks should use to
1.961 + download the supported version of Mingw.
1.962 + * win/configure: Regen.
1.963 + * win/configure.in: Error out if user tries to compile the
1.964 + Windows version of Tcl with Cygwin gcc. Users should compile
1.965 + with Mingw gcc instead.
1.966 +
1.967 +2001-11-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.968 +
1.969 + * generic/tclIO.c (ReadChars): Fixed bug #478856 reported by
1.970 + Stuart Cassoff <stwo@users.sourceforge.net>. The bug caused loss
1.971 + of fileevents when [read]ing less data from the channel than
1.972 + buffered. Due to an empty input buffer the flag
1.973 + CHANNEL_NEED_MORE_DATA was set but never reset, causing the I/O
1.974 + system to wait for more data instead of using a timer to
1.975 + synthesize fileevents and to flush the pending data out of the
1.976 + buffers.
1.977 +
1.978 +2001-11-06 David Gravereaux <davygrvy@pobox.com>
1.979 +
1.980 + * win/rules.vc (new):
1.981 + * win/makefile.vc: Complete over/under rewrite to support numerous
1.982 + build options all from the commandline itself without needing to
1.983 + edit the makefile. Now requires vcvars32.bat to be run prior to
1.984 + running nmake for bootstraping the environment. Fully doc'd usage
1.985 + for it is in makefile.vc. Commentary welcome. Sticky points left
1.986 + are:
1.987 +
1.988 + 1) winhelp target shows errors in the converting script.
1.989 + 2) .rc scripts aren't getting the right #defines to build the correct
1.990 + "OriginalFilename" strings. (have patch, won't commit yet)
1.991 + 3) Naming convention with suffixes describing the buildtype are 'tsdx'
1.992 + which will need public acceptance. ie. tclsh84tsx.exe is a (t)
1.993 + threaded shell (s) statically linked to the core and (x) uses
1.994 + msvcrt instead of libcmt.
1.995 +
1.996 +2001-11-04 Vince Darley <vincentdarley@users.sourceforge.net>
1.997 +
1.998 + * library/init.tcl: made filesystem fallback proc
1.999 + ::tcl::CopyDirectory more robust to vagaries of non-native
1.1000 + filesystems.
1.1001 +
1.1002 +2001-11-02 Vince Darley <vincentdarley@users.sourceforge.net>
1.1003 +
1.1004 + * doc/file.n:
1.1005 + * generic/tclIOUtil.c: updated documentation and comments
1.1006 + to clarify behaviour of 'file copy' wrt soft links.
1.1007 +
1.1008 +2001-10-29 Vince Darley <vincentdarley@users.sourceforge.net>
1.1009 +
1.1010 + * win/tclWinFile.c: fix to '-types {f r}' bug in
1.1011 + TclpMatchInDirectory (which could cause a UMR, as well as
1.1012 + returning wrong results). Also improved API for 'stat'
1.1013 + to resolve [Bug#219258].
1.1014 + * win/tclWin32Dll.c
1.1015 + * win/tclWinInt.h: addition of improved stat API to internal
1.1016 + lookup table.
1.1017 + * tests/fileName.test: two new tests for the above bug.
1.1018 + * generic/tclIOUtil.c: some cleanup of comments and #ifdefs
1.1019 +
1.1020 +2001-10-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.1021 +
1.1022 + * unix/tclUnixFile.c (TclpMatchInDirectory): Argument to access()
1.1023 + was entryPtr->d_name instead of nativeEntry which failed when
1.1024 + trying to check access for files in other than the current
1.1025 + directory. [Bug 475941, reported by Georgios Petasis]
1.1026 +
1.1027 +2001-10-25 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.1028 +
1.1029 + * unix/tclUnixChan.c: Added stateUpdated member to struct TtyState.
1.1030 + (TtyCloseProc,TtySetOptionProc,TtyInit): Use stateUpdated member
1.1031 + of TtyState to decide whether it is necessary to reset a serial
1.1032 + port when Tcl closes it. Blindly resetting can cause Tcl to be
1.1033 + sent an unexpected SIGTSTP when it is executing in the background
1.1034 + [Bug 471374, reported by Chris Nelson]
1.1035 +
1.1036 +2001-10-22 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1037 +
1.1038 + * doc/ObjectType.3: Minor documentation fix, reported by David
1.1039 + N. Welton <davidw@users.sourceforge.net> directly to me.
1.1040 +
1.1041 +2001-10-22 Vince Darley <vincentdarley@users.sourceforge.net>
1.1042 +
1.1043 + * win/tclWinFCmd.c: fix to stop test suite from hanging process
1.1044 + under some versions of WinNT. [Bug #466102] (Kevin Kenny)
1.1045 +
1.1046 +2001-10-18 Jeff Hobbs <jeffh@ActiveState.com>
1.1047 +
1.1048 + * tests/clock.test (clock-8.1):
1.1049 + * generic/tclDate.c (RelativeMonth):
1.1050 + * generic/tclGetDate.y (RelativeMonth): corrected off-by-one-day
1.1051 + error in clock scan with relative months and years during swing
1.1052 + hours. [Bug #413397, Patch #414024] (lavana)
1.1053 +
1.1054 +2001-10-18 Vince Darley <vincentdarley@users.sourceforge.net>
1.1055 +
1.1056 + * generic/tclIOUtil.c: fix to bug in Tcl_FSChdir shown up
1.1057 + by recent tclkit builds.
1.1058 +
1.1059 +2001-10-17 Jeff Hobbs <jeffh@ActiveState.com>
1.1060 +
1.1061 + * unix/tclUnixPipe.c (PipeInputProc, PipeOutputProc): do immediate
1.1062 + retry when error is returned with errno == EINTR.
1.1063 + [Bug #415131] (leger)
1.1064 +
1.1065 +2001-10-16 Jeff Hobbs <jeffh@ActiveState.com>
1.1066 +
1.1067 + * unix/tclLoadAout.c (TclGuessPackageName): removed unused vars
1.1068 + and fixed warnings. [Bug #446622] (lim)
1.1069 +
1.1070 +2001-10-15 Miguel Sofer <msofer@users.sourceforge.net>
1.1071 +
1.1072 + * generic/tclProc.c: changing a memcmp to strncmp to avoid a memory
1.1073 + error detected by purify (thanks Jeff); modify style to agrre with
1.1074 + the style guide.
1.1075 +
1.1076 +2001-10-15 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1077 +
1.1078 + * generic/tclInt.decls (TclExpandCodeArray,TclGetInstructionTable):
1.1079 + Added to internal stubs table. Tclcompiler (Tclpro project)
1.1080 + needs them if used as loadable package under Windows. Changed
1.1081 + signatures. We don't want to describe compiler internal
1.1082 + structures in "tclInt.h".
1.1083 +
1.1084 + * generic/tclCompile.h: S.a. Removed function declarations.
1.1085 + * generic/tclCompile.c: S.a. Adapted to changed signatures.
1.1086 +
1.1087 +2001-10-15 Jeff Hobbs <jeffh@ActiveState.com>
1.1088 +
1.1089 + * unix/configure:
1.1090 + * unix/configure.in:
1.1091 + * win/configure:
1.1092 + * win/configure.in:
1.1093 + * win/tcl.m4: reworked to be a little cleaner in comparison to
1.1094 + each other, and to AC_SUBST even empty vars for win/tclConfig.sh
1.1095 +
1.1096 + * generic/tclFileName.c: minor code cleanup
1.1097 +
1.1098 + * generic/tcl.h: moved #define of WIN32 to tcl.h where __WIN32__
1.1099 + is defined and added #ifndef check.
1.1100 +
1.1101 + * doc/open.n: moved all fconfigure option docs to fconfigure.n
1.1102 + * doc/fconfigure.n: added serial config options
1.1103 +
1.1104 + * win/tclWinChan.c:
1.1105 + * win/tclWinPort.h:
1.1106 + * win/tclWinSerial.c: added TIP #35 Windows enhancements for
1.1107 + serial configuration. [Patch #438509] (schroedter)
1.1108 +
1.1109 +2001-10-15 Vince Darley <vincentdarley@users.sourceforge.net>
1.1110 +
1.1111 + * generic/tclFCmd.c: fix to memory leak in TclFileDeleteCmd on
1.1112 + certain error conditions.
1.1113 + * doc/FileSystem.3: fix to typo.
1.1114 +
1.1115 +2001-10-12 Jeff Hobbs <jeffh@ActiveState.com>
1.1116 +
1.1117 + * library/encoding/ebcdic.enc:
1.1118 + * tools/encoding/ebcdic.txt: EBCDIC charset mapping.
1.1119 + [Patch #219323] (nijtmans)
1.1120 +
1.1121 + * library/encoding/tis-620.enc:
1.1122 + * tools/encoding/tis-620.txt: TIS-620 charset mapping.
1.1123 + [Patch #467423] (poonlap)
1.1124 +
1.1125 + * tests/http.test: added removeFile for outdata
1.1126 +
1.1127 + * tests/ioCmd.test: added catch around file removal, as Windows
1.1128 + file locking throws errors.
1.1129 +
1.1130 + * tests/socket.test (socket-7.2): corrected to work on Win2K.
1.1131 +
1.1132 +2001-10-12 Miguel Sofer <msofer@users.sourceforge.net>
1.1133 +
1.1134 + * tests/compile.test: new tests for [Bug 467523]; they are only
1.1135 + effective if TCL_MEM_DEBUG was set during compilation.
1.1136 +
1.1137 +2001-10-11 Miguel Sofer <msofer@users.sourceforge.net>
1.1138 +
1.1139 + * generic/tclLiteral.c (TclReleaseLiteral): insured that
1.1140 + self-referential bytecodes are properly cleaned up on interpreter
1.1141 + deletion [Bug 467523] (Ronnie Brunner)
1.1142 +
1.1143 +2001-10-10 David Gravereaux <davygrvy@pobox.com>
1.1144 +
1.1145 + * win/tclWinPort.h: #include <winsock2.h> needed to get moved
1.1146 + to after #include <windows.h> or wierd misunderstandings took
1.1147 + place when -D_WIN32_WINNT=0x0400 is set for outside code that
1.1148 + requires knowledge of Tcl innards. General header macro magic
1.1149 + applied liberally...
1.1150 +
1.1151 +2001-10-10 Don Porter <dgp@users.sourceforge.net>
1.1152 +
1.1153 + * tests/unixInit.test: Corrected restore of ::env(LANG).
1.1154 +
1.1155 +2001-10-09 Jeff Hobbs <jeffh@ActiveState.com>
1.1156 +
1.1157 + * generic/tclFileName.c (Tcl_SplitPath): corrected mem leak
1.1158 + intro'd with VFS code where the result obj from Tcl_FSSplitPath
1.1159 + was not getting freed.
1.1160 +
1.1161 +2001-10-09 Miguel Sofer <msofer@users.sourceforge.net>
1.1162 +
1.1163 + * generic/tclLiteral.c: (TclReleaseLiteral) reverted previous
1.1164 + patch for [Bug 467523] - cure is worse than the illness.
1.1165 +
1.1166 +2001-10-05 Miguel Sofer <msofer@users.sourceforge.net>
1.1167 +
1.1168 + * generic/tclLiteral.c: (TclReleaseLiteral) insured that
1.1169 + self-referential bytecodes are properly cleaned up on interpreter
1.1170 + deletion [Bug 467523] (Ronnie Brunner)
1.1171 +
1.1172 +2001-10-04 Jeff Hobbs <jeffh@ActiveState.com>
1.1173 +
1.1174 + * tools/configure:
1.1175 + * tools/configure.in: noted 8.4 as default Tcl version
1.1176 +
1.1177 + * library/encoding/cp936.enc:
1.1178 + * library/encoding/cp949.enc:
1.1179 + * library/encoding/cp950.enc:
1.1180 + * library/encoding/iso8859-16.enc:
1.1181 + * library/encoding/macCroatian.enc:
1.1182 + * library/encoding/macCyrillic.enc:
1.1183 + * library/encoding/macGreek.enc:
1.1184 + * library/encoding/macIceland.enc:
1.1185 + * library/encoding/macRoman.enc:
1.1186 + * library/encoding/macTurkish.enc:
1.1187 + * tools/encoding/cp1250.txt:
1.1188 + * tools/encoding/cp1251.txt:
1.1189 + * tools/encoding/cp1252.txt:
1.1190 + * tools/encoding/cp1253.txt:
1.1191 + * tools/encoding/cp1254.txt:
1.1192 + * tools/encoding/cp1255.txt:
1.1193 + * tools/encoding/cp1256.txt:
1.1194 + * tools/encoding/cp1257.txt:
1.1195 + * tools/encoding/cp1258.txt:
1.1196 + * tools/encoding/cp874.txt:
1.1197 + * tools/encoding/cp932.txt:
1.1198 + * tools/encoding/cp936.txt:
1.1199 + * tools/encoding/cp949.txt:
1.1200 + * tools/encoding/cp950.txt:
1.1201 + * tools/encoding/iso8859-1.txt:
1.1202 + * tools/encoding/iso8859-10.txt:
1.1203 + * tools/encoding/iso8859-13.txt:
1.1204 + * tools/encoding/iso8859-14.txt:
1.1205 + * tools/encoding/iso8859-15.txt:
1.1206 + * tools/encoding/iso8859-16.txt:
1.1207 + * tools/encoding/iso8859-2.txt:
1.1208 + * tools/encoding/iso8859-3.txt:
1.1209 + * tools/encoding/iso8859-4.txt:
1.1210 + * tools/encoding/iso8859-5.txt:
1.1211 + * tools/encoding/iso8859-6.txt:
1.1212 + * tools/encoding/iso8859-7.txt:
1.1213 + * tools/encoding/iso8859-8.txt:
1.1214 + * tools/encoding/iso8859-9.txt:
1.1215 + * tools/encoding/koi8-r.txt:
1.1216 + * tools/encoding/macCentEuro.txt:
1.1217 + * tools/encoding/macCroatian.txt:
1.1218 + * tools/encoding/macCyrillic.txt:
1.1219 + * tools/encoding/macGreek.txt:
1.1220 + * tools/encoding/macIceland.txt:
1.1221 + * tools/encoding/macRoman.txt:
1.1222 + * tools/encoding/macTurkish.txt:
1.1223 + Updated encodings with latest mappings from www.unicode.org. This
1.1224 + did not include some Mac encodings that have special multi-unichar
1.1225 + translations now (like symbols, dingbats and japanese). Also does
1.1226 + not include big5, gb or euc* as those have different formats in
1.1227 + the latest Unicode version that need new conversion tools. Not
1.1228 + all related .enc files changed as some had been updates separately.
1.1229 +
1.1230 +2001-10-03 Jeff Hobbs <jeffh@ActiveState.com>
1.1231 +
1.1232 + * generic/tclEvent.c (Tcl_FinalizeThread): moved freeing of
1.1233 + tclLibraryPath to before the thread exit handlers are called.
1.1234 + Slight modification to change on 2001-09-24.
1.1235 +
1.1236 +2001-10-01 Jeff Hobbs <jeffh@ActiveState.com>
1.1237 +
1.1238 + * win/configure: regen'ed
1.1239 + * win/tcl.m4:
1.1240 + * win/makefile.vc: added Win64 SDK RC1 compilation support
1.1241 + * win/Makefile.in: added $(LDFLAGS_CONSOLE) to TCLSH, TCLTEST and
1.1242 + PIPE_DLL_FILE targets to get the link flags
1.1243 +
1.1244 + * win/tclWinInit.c: minor 64bit casts
1.1245 +
1.1246 +2001-10-01 Miguel Sofer <msofer@users.sourceforge.net>
1.1247 +
1.1248 + * generic/tclCmdIL.c:
1.1249 + * generic/tclCmdMZ.c:
1.1250 + * generic/tclParseExpr.c: removed unnecessary inclusion of
1.1251 + tclCompile.h and made a small modification in (InfoBodyCmd) to
1.1252 + improve the isolation of the compiler/engine subsystem.
1.1253 +
1.1254 +2001-09-29 Vince Darley <vincentdarley@users.sourceforge.net>
1.1255 +
1.1256 + * generic/tclIOUtil.c:
1.1257 + * doc/FileSystem.3: corrected and clarified documentation
1.1258 + for 'Tcl_FSListVolumes(Proc)'. No code changes.
1.1259 +
1.1260 +2001-09-28 Miguel Sofer <msofer@users.sourceforge.net>
1.1261 +
1.1262 + * doc/FindExec.3: added a comment not to change the working
1.1263 + directory before calling Tcl_GetNameOfExecutable [Bug 219215]
1.1264 +
1.1265 +2001-09-28 Kevin Kenny <kennykb@users.sourceforge.net>
1.1266 +
1.1267 + * generic/tclIO.c: added two more '(ClientData)' casts
1.1268 + on calls to Tcl_Preserve and Tcl_Release -- ones that
1.1269 + Vince apparently missed.
1.1270 +
1.1271 +2001-09-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.1272 +
1.1273 + * doc/lsort.n: Improved doc...
1.1274 + * generic/tclCmdIL.c (Tcl_LsortObjCmd, SortCompare): Made
1.1275 + offset-from-end indexing work, and factored out some "magic
1.1276 + numbers" for easier understanding. [Bug #465674]
1.1277 + * tests/cmdIL.test (cmdIL-1.26): Added test for offset-from-end
1.1278 + indexing for lsort.
1.1279 +
1.1280 +2001-09-28 Vince Darley <vincentdarley@users.sourceforge.net>
1.1281 +
1.1282 + * win/tclWinFCmd.c:
1.1283 + * unix/tclUnixFCmd.c: fix to performance issue reported
1.1284 + by jcw in which 'access("")' is called unnecessarily when
1.1285 + normalizing any absolute path.
1.1286 + * generic/tclIO.c: added '(ClientData)' cast to calls to
1.1287 + Tcl_(Preserve|Release) newly introduced, fixing compile
1.1288 + error on Windows.
1.1289 +
1.1290 +2001-09-27 Don Porter <dgp@users.sourceforge.net>
1.1291 +
1.1292 + * doc/FileSystem.3 (Tcl_FSLoadFile):
1.1293 + * generic/tcl.decls (Tcl_FSLoadFile):
1.1294 + * generic/tcl.h (Tcl_FSLoadFileProc):
1.1295 + * generic/tclInt.h (TclpLoadFile):
1.1296 + * generic/tclIOUtil.c (Tcl_FSLoadFile):
1.1297 + * generic/tclLoadNone.c (TclpLoadFile):
1.1298 + * generic/tclTest.c (TestReportLoadFile):
1.1299 + * library/ldAout.tcl:
1.1300 + * mac/tclMacLoad.c (TclpLoadFile):
1.1301 + * unix/tclLoadAix.c (TclpLoadFile):
1.1302 + * unix/tclLoadAout.c (TclpLoadFile):
1.1303 + * unix/tclLoadDl.c (TclpLoadFile):
1.1304 + * unix/tclLoadDld.c (TclpLoadFile):
1.1305 + * unix/tclLoadDyld.c (TclpLoadFile):
1.1306 + * unix/tclLoadNext.c (TclpLoadFile):
1.1307 + * unix/tclLoadOSF.c (TclpLoadFile):
1.1308 + * unix/tclLoadShl.c (TclpLoadFile):
1.1309 + * win/tclWinLoad.c (TclpLoadFile):
1.1310 + * win/tclWinFCmd.c (DoRemoveJustDirectory): More CONST poisoning
1.1311 + fixes from the 2001-09-24 TIP 27 changes. CONST-ified
1.1312 + Tcl_FSLoadFile and TclpLoadFile. Report and patch from Kevin
1.1313 + Kenny. [Bug 465833]
1.1314 +
1.1315 + * generic/tclIO.c (ChannelTimerProc): Added Tcl_Preserve()
1.1316 + and Tcl_Release() to fix segfault introduced by the 2001-09-26
1.1317 + changes. [Bug 465494]
1.1318 +
1.1319 + * doc/TCL_MEM_DEBUG.3: Updated out-of-date reference to
1.1320 + #define GUARD_SIZE.
1.1321 +
1.1322 + * doc/UpVar.3 (Tcl_UpVar,Tcl_UpVar2):
1.1323 + * generic/tcl.decls (Tcl_UpVar,Tcl_UpVar2):
1.1324 + * generic/tclInt.decls (TclFindProc,TclGetFrame):
1.1325 + * generic/tclInt.h (TclFindProc,TclGetFrame,TclLookupVar,
1.1326 + TclPrecTraceProc,TclProcInterpProc}):
1.1327 + * generic/tclProc.c (TclGetFrame,TclFindProc):
1.1328 + * generic/tclVar.c (Tcl_UpVar,Tcl_UpVar2,MakeUpvar): Updated APIs in
1.1329 + generic/tclProc.c and generic/tclVar.c according to the guidelines
1.1330 + of TIP 27. [Patch 465442]
1.1331 +
1.1332 + * generic/tclDecls.h:
1.1333 + * generic/tclIntDecls.h: make genstubs
1.1334 +
1.1335 +2001-09-26 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1336 +
1.1337 + * doc/fileevent.n: Accepted [Patch #465279] adding an example to
1.1338 + the fileevent manpage. Minor modifications to get a better
1.1339 + formatting. Report and patch by David N. Welton
1.1340 + <davidw@users.sourceforge.net>.
1.1341 +
1.1342 + * The changes below fix [Bug #462317] where Expect tried to read
1.1343 + more than was in the buffers and then blocked in the OS call as
1.1344 + its pty channel driver provides no blockmodeproc through which
1.1345 + the OS could be notified of blocking-behaviour. Because of this
1.1346 + the general I/O core has to take more care than usual to
1.1347 + preserve the semantics of non-blocking channels.
1.1348 +
1.1349 + The problem was reported by "Kevin O'Gorman"
1.1350 + <kevin@kosmanor.com>.
1.1351 +
1.1352 + * generic/tclIO.c (Tcl_ReadRaw): Do not read from the driver if
1.1353 + the channel is non-blocking and the fileevent causing the read
1.1354 + was generated by a timer. We do not know if there is data
1.1355 + available from the OS. Instead of going to the OS for more and
1.1356 + potentially blocking we simply signal EWOULDBLOCK to the higher
1.1357 + levels to cause the system to wait for true fileevents.
1.1358 + (GetInput): Same as before.
1.1359 + (ChannelTimerProc): Added set and clear of CHANNEL_TIMER_FEV.
1.1360 +
1.1361 + * generic/tclIO.h (CHANNEL_TIMER_FEV): New flag for channels. Is
1.1362 + set if a fileevent was generated by a timer, the channel is not
1.1363 + blocking and the driver did not provide a blockmodeproc. In that
1.1364 + case the I/O core has to be especially careful about going to
1.1365 + the driver for more data.
1.1366 +
1.1367 +2001-09-26 Don Porter <dgp@users.sourceforge.net>
1.1368 +
1.1369 + * doc/SplitPath.3 (Tcl_GetPathType):
1.1370 + * generic/tcl.decls (Tcl_GetPathType):
1.1371 + * generic/tclFileName.c (Tcl_GetPathType):
1.1372 + * win/tclWinFile.c (TclpMatchInDirectory, NativeStat): Vince
1.1373 + Darley reports the 2001-09-24 TIP 27 changes left the win
1.1374 + directory CONST poisoned. These changes should fix that.
1.1375 +
1.1376 + * generic/tclDecls.h: make genstubs
1.1377 +
1.1378 +2001-09-25 Don Porter <dgp@users.sourceforge.net>
1.1379 +
1.1380 + * doc/GetInt.3:
1.1381 + * generic/tclInt.h (TclGetLong deleted):
1.1382 + * generic/tcl.decls:
1.1383 + * generic/tclInt.decls:
1.1384 + * generic/tclGet.c: Updated APIs in generic/tclGet.c
1.1385 + according to the guidelines of TIP 27. [Patch 464674]
1.1386 +
1.1387 + * generic/tclDecls.h:
1.1388 + * generic/tclIntDecls.h: make genstubs
1.1389 +
1.1390 +2001-09-25 Miguel Sofer <msofer@users.sourceforge.net>
1.1391 +
1.1392 + * generic/tclVar.c: removed comments referring to unused flag
1.1393 + TCL_PARSE_PART1.
1.1394 +
1.1395 +2001-09-24 Don Porter <dgp@users.sourceforge.net>
1.1396 +
1.1397 + * doc/Concat.3:
1.1398 + * doc/DString.3:
1.1399 + * doc/SplitList.3:
1.1400 + * generic/tclInt.h (TclCheckBadOctal):
1.1401 + * generic/tcl.decls:
1.1402 + * generic/tclInt.decls:
1.1403 + * generic/tclEncoding.c (OpenEncodingFile):
1.1404 + * generic/tclMain.c (Tcl_Main):
1.1405 + * generic/tclUtil.c:
1.1406 + * unix/tclLoadDl.c (TclpLoadFile): Updated APIs in
1.1407 + generic/tclUtil.c according to the guidelines of TIP 27.
1.1408 + [Patch 464553]
1.1409 +
1.1410 + * generic/tclDecls.h:
1.1411 + * generic/tclIntDecls.h: make genstubs
1.1412 +
1.1413 +2001-09-24 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1414 +
1.1415 + * The change below fixes [Bug #464380]. The bug was reported by
1.1416 + Ronnie Brunner <rbrunner@users.sourceforge.net>. He also
1.1417 + provided the patch.
1.1418 +
1.1419 + * generic/tclEvent.c (Tcl_Finalize): Moved release of
1.1420 + 'tclLibraryPath' to Tcl_FinalizeThread.
1.1421 + (Tcl_FinalizeThread): See above, new place for release of
1.1422 + 'tclLibraryPath'.
1.1423 +
1.1424 +2001-09-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.1425 +
1.1426 + * tools/encoding/cp1252.txt: File was missing part of the encoding
1.1427 + [euro, ZCaron and zcaron].
1.1428 +
1.1429 + * doc/OpenFileChnl.3: Add docs for Tcl_OutputBuffered; remove some
1.1430 + old changebars.
1.1431 +
1.1432 +2001-09-21 Jeff Hobbs <jeffh@ActiveState.com>
1.1433 +
1.1434 + * generic/tclExecute.c (TclExecuteByteCode): corrected
1.1435 + INST_STR_CMP else case for strings to pass true utf char length
1.1436 + to Tcl_UtfNCmp.
1.1437 +
1.1438 +2001-09-20 Jeff Hobbs <jeffh@ActiveState.com>
1.1439 +
1.1440 + * win/tclWinInit.c: added extra processor definitions. (mstacy)
1.1441 +
1.1442 + * win/tclWinSock.c (SocketThread): corrected pointer cast for _WIN64.
1.1443 +
1.1444 + * win/tclWinNotify.c: removed unnecessary winsock include (it is
1.1445 + already in from tclWinPort.h).
1.1446 +
1.1447 + * win/tclWinPort.h: changed winsock.h include to winsock2.h.
1.1448 + Reverses change from 2000-11-16, but is necessary for WIN64.
1.1449 + Extensions should comply with defined OS words, or use #ifndef.
1.1450 +
1.1451 +2001-09-20 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.1452 +
1.1453 + * tests/socket.test: removed dependence on being run from same dir
1.1454 + as remote.tcl, which only now needs to be in the same dir as
1.1455 + this file. [Bug #219326]
1.1456 +
1.1457 +2001-09-19 Jeff Hobbs <jeffh@ActiveState.com>
1.1458 +
1.1459 + * generic/tclTest.c (TestcmdtokenCmd): corrected pointer
1.1460 + storage/retrieval for 64bit machines.
1.1461 +
1.1462 + * generic/tclCmdAH.c (Tcl_FormatObjCmd):
1.1463 + * generic/tclScan.c (Tcl_ScanObjCmd): corrected handling of format
1.1464 + and scan on 64-bit machines. [Bug #412696] (rmax)
1.1465 +
1.1466 + * unix/configure: regen'ed
1.1467 + * unix/tcl.m4: added --enable-64bit support for HP-11 with the
1.1468 + 64-bit kernel.
1.1469 +
1.1470 + * tests/basic.test:
1.1471 + * tests/cmdInfo.test: improved skip reporting of missing commands
1.1472 +
1.1473 + * tests/winFCmd.test: simplified error check for winFCmd-7.9
1.1474 +
1.1475 + * tests/winPipe.test: removed obsolete cat16 tests
1.1476 +
1.1477 + * generic/tclExecute.c (TclExecuteByteCode): fixed invalid usage
1.1478 + of valuePtr in TRACE_WITH_OBJ in INST_EVAL_STK case. [Bug #462594]
1.1479 + Changed INST_STR_CMP instruction to promote to Unicode strings
1.1480 + only when one of the strings is already of Unicode type.
1.1481 +
1.1482 + * generic/tclExecute.c (TclExecuteByteCode):
1.1483 + * generic/tclCompile.c (instructionTable):
1.1484 + * generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH -
1.1485 + Updated to Int1 instruction type and added special case to use
1.1486 + INST_STR_EQ instead when no glob chars are specified in a static
1.1487 + string.
1.1488 +
1.1489 + * tests/{for.test,foreach.test,if.test,while.test}:
1.1490 + * generic/tclCompCmds.c (TclCompileForCmd, TclCompileForeachCmd,
1.1491 + TclCompileIfCmd, TclCompileWhileCmd): Corrected the overaggressive
1.1492 + compiling of loop bodies enclosed in ""s. [Bug #219166] (msofer)
1.1493 +
1.1494 +2001-09-19 Miguel Sofer <msofer@users.sourceforge.net>
1.1495 +
1.1496 + * generic/tclExecute.c: insured that execution stack errors are
1.1497 + also detected at abnormal returns.
1.1498 +
1.1499 +2001-09-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.1500 +
1.1501 + * doc/socket.n: Added documentation to mention what happens when a
1.1502 + server socket is created with port=0. Removed an old change bar,
1.1503 + and no new change bar because Tcl has always behaved this way as
1.1504 + it is really a poorly-documented standards-defined OS feature.
1.1505 +
1.1506 + * tests/util.test (util-8.1): Test derived from code to detect the
1.1507 + problem, but the test always works in the C locale, so beware if
1.1508 + you are maintaining the code.
1.1509 + * generic/tclUtil.c (TclNeedSpace): Rewrote to be UTF-8 aware.
1.1510 + [Bug 411825, but not that patch which would have added extra
1.1511 + spaces if there was a real non-ASCII space involved. ]
1.1512 +
1.1513 +2001-09-18 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1514 +
1.1515 + * generic/tclIOCmd.c (Tcl_PutsObjCmd): Rewritten to have saner and
1.1516 + faster argument handling. Fixes bug #123552. Patch provided by
1.1517 + Donal K. Fellows <fellowsd@cs.man.ac.uk>: #402564.
1.1518 +
1.1519 +2001-09-18 Don Porter <dgp@users.sourceforge.net>
1.1520 +
1.1521 + * unix/configure: Regen.
1.1522 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): On Linux, disable inlining when
1.1523 + one of the compat/*.c routines is to be linked in. [Patch 440891]
1.1524 +
1.1525 +2001-09-17 Jeff Hobbs <jeffh@ActiveState.com>
1.1526 +
1.1527 + * generic/tcl.h: removed forced #define USE_TCLALLOC 1 for
1.1528 + Windows. This means the native system allocator will be used by
1.1529 + default. This should be binary and source compatible with
1.1530 + extensions, as Tcl_Alloc is a properly stubbed function.
1.1531 +
1.1532 +2001-09-17 Miguel Sofer <msofer@users.sourceforge.net>
1.1533 +
1.1534 + * generic/tclExecute.c: corrected small bug in [Patch 456668] -
1.1535 + the varFramePtr was not restored in one possible exit.
1.1536 +
1.1537 +2001-09-17 Miguel Sofer <msofer@users.sourceforge.net>
1.1538 +
1.1539 + * doc/tclvars.n:
1.1540 + * generic/tclCompile.c:
1.1541 + * generic/tclCompile.h:
1.1542 + * generic/tclExecute.c:
1.1543 + * generic/tclProc.c: disabled all compile and execution tracing
1.1544 + functionality in standard builds; TCL_COMPILE_DEBUG is now
1.1545 + necessary to enable it. [Bug 451858]
1.1546 +
1.1547 +2001-09-14 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1548 +
1.1549 + * doc/gets.n:
1.1550 + * doc/read.n:
1.1551 + * doc/puts.n:
1.1552 + * doc/flush.n:
1.1553 + * doc/fconfigure.n:
1.1554 + * doc/flush.n:
1.1555 + * doc/eof.n:
1.1556 + * doc/seek.n:
1.1557 + * doc/tell.n:
1.1558 + * doc/close.n:
1.1559 + * doc/fileevent.n: Added references to the Tcl standard
1.1560 + channels. Item [219250], reported by David LeBlanc
1.1561 + <whisper@oz.net>. Thanks to Christopher Nelson
1.1562 + <chris@pinebush.com> for doing editorial work.
1.1563 +
1.1564 +2001-09-13 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1565 +
1.1566 + * win/Makefile.in:
1.1567 + * win/configure.in:
1.1568 + * win/makefile.bc:
1.1569 + * win/makefile.vc:
1.1570 + * library/dde/pkgIndex.tcl: Fixed version numbers from bogus tcl
1.1571 + versions to independent versions for dde and registry packages.
1.1572 +
1.1573 +2001-09-13 Jeff Hobbs <jeffh@ActiveState.com>
1.1574 +
1.1575 + * tests/regexp.test (regexp-20.1):
1.1576 + * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): had to adjust fix from
1.1577 + 2001-08-06 to actually duplicate the objects in certain cases.
1.1578 + This is really a place where feather would have been essential.
1.1579 + [Bug #461322]
1.1580 +
1.1581 + * generic/tclUtf.c (Tcl_UtfPrev): corrected to return the proper
1.1582 + location when the middle of a UTF-8 byte was passed in.
1.1583 + [Tk Bug #450504]
1.1584 +
1.1585 + * ChangeLog.1999:
1.1586 + * ChangeLog: broke changes from 199x into ChangeLog.1999 to reduce
1.1587 + size of the main ChangeLog.
1.1588 +
1.1589 +2001-09-13 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1590 +
1.1591 + * tests/ioCmd.test: Changed the computation of the result for
1.1592 + iocmd-8.1[123] so that the tests work for single- and
1.1593 + multi-process execution of the testsuite. Depending on the
1.1594 + choice of the user stdout is a tty or not and thus reports
1.1595 + different channel options. Fixes [460993] reported by Don
1.1596 + Porter.
1.1597 +
1.1598 +2001-09-13 Miguel Sofer <msofer@users.sourceforge.net>
1.1599 +
1.1600 + * doc/ParseCmd.3:
1.1601 + * generic/tcl.decls:
1.1602 + * generic/tclCmdMZ.c (Tcl_SubstObjCmd):
1.1603 + * generic/tclDecls.h:
1.1604 + * generic/tclParse.c:
1.1605 + * generic/tclStubInit.c:
1.1606 + * tests/parse.test: Deprecate the use of Tcl_EvalTokens, replaced
1.1607 + by the new Tcl_EvalTokensStandard. The new function performs the
1.1608 + same duties but adheres to the standard return convention for Tcl
1.1609 + evaluations; the deprecated function could only return TCL_OK or
1.1610 + TCL_ERROR, which caused [Bug 219384] and [Bug 455151].
1.1611 + This patch implements [TIP 56].
1.1612 +
1.1613 +2001-09-12 Mo DeJong <mdejong@users.sourceforge.net>
1.1614 +
1.1615 + * unix/configure: Regen.
1.1616 + * unix/tcl.m4: Invert the logic that checks for $GCC.
1.1617 + Instead of checking for "$GCC" = "no" we check for
1.1618 + "$GCC" != "yes" or simply swap the true and false
1.1619 + blocks of code in an if statement. That way if
1.1620 + GCC is set to "" everything will still work. [Bug 460991]
1.1621 +
1.1622 +2001-09-12 Don Porter <msofer@users.sourceforge.net>
1.1623 +
1.1624 + * tests/appendComp.test:
1.1625 + * tests/lsearch.test:
1.1626 + * tests/namespace.test:
1.1627 + * tests/rename.test:
1.1628 + * tests/split.test: Corrected tests to better isolate tests in
1.1629 + one file from influencing tests in other files. [Bug 460591]
1.1630 +
1.1631 +2001-09-12 Miguel Sofer <msofer@users.sourceforge.net>
1.1632 +
1.1633 + * generic/tcl.decls: reserved stub #481 for the implementation of
1.1634 + [TIP 56]
1.1635 +
1.1636 +2001-09-11 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1637 +
1.1638 + * doc/OpenFileChnl.3: Added documentation for Tcl_WriteRaw and
1.1639 + Tcl_ReadRaw [#414929].
1.1640 +
1.1641 + * doc/CrtChannel.3: Added documentation for Tcl_ChannelBuffered
1.1642 + and Tcl_GetTopChannel [#414929].
1.1643 +
1.1644 + * The changes below are a fix for [219253].
1.1645 +
1.1646 + * tests/socket.test: Removed _most_ instances of hardwired port
1.1647 + numbers for listening sockets. Remaining are the ports in all
1.1648 + tests with constraint 'doTestsWithRemoteServer'. These seem to
1.1649 + be designed for a more controlled environment and are usually
1.1650 + skipped when running the testsuite.
1.1651 +
1.1652 + * tests/io.test: Removed all instances of hardwired port numbers
1.1653 + for listening sockets.
1.1654 +
1.1655 +2001-09-10 Jeff Hobbs <jeffh@ActiveState.com>
1.1656 +
1.1657 + * generic/tclEvent.c (TclInExit): Corrected handling of tsd in
1.1658 + late stages of finalization. [Bug #419449] (darley)
1.1659 +
1.1660 + * tests/stack.test:
1.1661 + * generic/tclInterp.c (AliasObjCmd): Check the numLevels to ensure
1.1662 + that we aren't hitting some alias loop condition. [Bug #443184]
1.1663 +
1.1664 +2001-09-10 Mo DeJong <mdejong@users.sourceforge.net>
1.1665 +
1.1666 + * unix/configure: Regen.
1.1667 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't include . characters
1.1668 + in the Tcl library name when building on FreeBSD 3.X and later
1.1669 + systems. [Patch 450725]
1.1670 +
1.1671 +2001-09-10 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1672 +
1.1673 + * doc/tclsh.1:
1.1674 + * doc/Tcl_Main.3:
1.1675 + * doc/CrtChannel.3:
1.1676 + * doc/OpenFileChnl.3:
1.1677 + * doc/GetStdChan.3: Enhanced the manpages with cross-references to
1.1678 + the new manpage and more explanations how these functions deal
1.1679 + with the standard channels in various situations.
1.1680 +
1.1681 + * doc/StdChannels.3: New manpage describing handling of the
1.1682 + standard channels by the Tcl library [402725].
1.1683 +
1.1684 +2001-09-10 Don Porter <dgp@users.sourceforge.net>
1.1685 +
1.1686 + * unix/mkLinks (Tcl_FSLink): Updated to reflect 2001-08-23
1.1687 + file system changes.
1.1688 +
1.1689 + * unix/tclLoadShl.c: Added #include of tclInt.h; access to Tcl
1.1690 + internals, notably TclpUnloadFile(), is required. Thanks to
1.1691 + Bob Techentin for report and patch. [Bug 459305]
1.1692 +
1.1693 + * generic/tclInitScript.h (initScript):
1.1694 + * win/tclWinInit.c (TCL_REGISTRY_KEY, TclpSetVariables): Removed
1.1695 + vestiges of Tcl's old initialization from registry variables.
1.1696 + [Bug 455645]
1.1697 +
1.1698 +2001-09-10 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1699 +
1.1700 + * generic/tclInt.decls: Also added 'TclWinFlushDirtyChannels' to
1.1701 + the internal platform specific stub table.
1.1702 +
1.1703 + * win/tclWinFile.c (TclpObjStat): Now added the call to
1.1704 + 'TclWinFlushDirtyChannels' to this function. I don't know where
1.1705 + my head was last thursday (2001-09-06), but the call was
1.1706 + actually added to 'TclpObjChdir', i.e. the implementation of
1.1707 + [cd]. Corrected this now. Thanks to Vince Darley for spotting
1.1708 + this.
1.1709 +
1.1710 +2001-09-10 Miguel Sofer <msofer@users.sourceforge.net>
1.1711 +
1.1712 + * generic/tclProc.c:
1.1713 + * tests/proc.test: made [proc] bytecompile a no-op for procs
1.1714 + defined with _args_ as single argument and an empty body.
1.1715 + [FQ 451441]
1.1716 +
1.1717 +2001-09-09 Mo DeJong <mdejong@users.sourceforge.net>
1.1718 +
1.1719 + * unix/Makefile.in:
1.1720 + * win/Makefile.in: Use () around variable name
1.1721 + instead of {}. Use TCLTEST variable directly
1.1722 + instead of depending on the tcltest alias.
1.1723 +
1.1724 +2001-09-09 David Gravereaux <davygrvy@pobox.com>
1.1725 +
1.1726 + * generic/tcl.h:
1.1727 + * generic/tclPlatDecls.h: Reminder from David Cuthbert <dacut@kanga.org>
1.1728 + that I hadn't finished the Borland compatibility stuff.
1.1729 + [Patch: 436116]
1.1730 +
1.1731 +2001-09-09 Mo DeJong <mdejong@users.sourceforge.net>
1.1732 +
1.1733 + * tests/cmdAH.test: Modify cmdAH-20.5 and cmdAH-24.8
1.1734 + to display the file atime or mtime results if
1.1735 + the test fails.
1.1736 +
1.1737 +2001-09-08 David Gravereaux <davygrvy@pobox.com>
1.1738 +
1.1739 + * win/mkd.bat:
1.1740 + * win/rmd.bat: made these text files, text files again.
1.1741 + [Patch: 451333]
1.1742 +
1.1743 +2001-09-08 Mo DeJong <mdejong@users.sourceforge.net>
1.1744 +
1.1745 + * win/mkd.bat:
1.1746 + * win/rmd.bat:
1.1747 + Apply binary property (cvs admin -kb) to files and convert
1.1748 + to CRLF linefeed format to fix the VC++ build. [Bug #219409]
1.1749 +
1.1750 +2001-09-08 Vince Darley <vincentdarley@users.sourceforge.net>
1.1751 +
1.1752 + * generic/tclInt.h:
1.1753 + * generic/tclFCmd.c:
1.1754 + * doc/FileSystem.3:
1.1755 + * generic/tclIOUtil.c: removed Tcl_FSCopyFile fallback
1.1756 + to channel copying, since the channels will not have
1.1757 + access to interpreters and the channel copying currently
1.1758 + requires an interp. Code which required cross-platform
1.1759 + copies always has interpreters, so that solves the problem.
1.1760 + Fixes bug in TclKit.
1.1761 +
1.1762 +2001-09-07 David Gravereaux <davygrvy@pobox.com>
1.1763 +
1.1764 + * win/tcl.m4: Added -link50compat option so a VC6 linker makes
1.1765 + a VC5 (pre sp3) compatible import library.
1.1766 + [Bug: 219257]
1.1767 +
1.1768 +2001-09-07 Mo DeJong <mdejong@users.sourceforge.net>
1.1769 +
1.1770 + * win/tclWinThrd.c (TclpThreadExit): Cast status argument to
1.1771 + _endthreadex to unsigned instead of DWORD to match the Win32
1.1772 + function prototype.
1.1773 +
1.1774 +2001-09-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.1775 +
1.1776 + * All the changes below serve to fix bug [219148] which reports a
1.1777 + 80x performance hit for file I/O on Win* systems. On my system
1.1778 + it was closer to a 120x hit. Problem report by Uwe Traum <no
1.1779 + email address available>.
1.1780 +
1.1781 + The fix goes like this: The obstacle is 'FlushFileBuffers',
1.1782 + executed whenever Tcl writes data to the OS, as Tcl has to wait
1.1783 + for the disk to complete I/O, and disks are slow. We remove that
1.1784 + obstacle. This opens another problem, [file size] reports back
1.1785 + wrong numbers. So for [file size] we add the call back in. As
1.1786 + optimization we keep track of the channels which were written to
1.1787 + and flush only these.
1.1788 +
1.1789 + * win/tclWinFile.c (TclpObjStat): Added a call to
1.1790 + 'TclWinFlushDirtyChannels'. This ensures that [file size] and
1.1791 + related commands report the correct size of a file even if Tcl
1.1792 + has recently written to it. Unixoid OS's always report the
1.1793 + correct size even for files with pending data, but Win*
1.1794 + syssystem don't. They only report what is actually on disk.
1.1795 +
1.1796 + * win/tclWinInt.h: Added declaration of
1.1797 + 'TclWinFlushDirtyChannels', making it available to other parts
1.1798 + of the tcl core.
1.1799 +
1.1800 + * win/tclWinChan.c (TclWinFlushDirtyChannels): New, internal,
1.1801 + procedure. Goes through the list of open file channels and
1.1802 + forces the OS to flush its file buffers for all which were
1.1803 + written to since the last call of this function. This is an
1.1804 + expensive operation as Tcl has to wait for the OS to complete
1.1805 + actual writes to the disk.
1.1806 +
1.1807 + (FileInfo): Added dirty flag required by the procedure above.
1.1808 +
1.1809 + (FileOutputProc): Removed flushing of file buffers, setting the
1.1810 + dirty flag instead. This means that the previously incurred
1.1811 + delays do not happen anymore.
1.1812 +
1.1813 + (TclWinOpenFileChannel): Added initialization of 'dirty' flag.
1.1814 +
1.1815 +2001-09-06 Jeff Hobbs <jeffh@ActiveState.com>
1.1816 +
1.1817 + * doc/http.n: noted -binary, charset and coding state keys.
1.1818 + * tests/http.test:
1.1819 + * library/http/pkgIndex.tcl:
1.1820 + * library/http/http.tcl (geturl): correctly get charset parameter
1.1821 + and convert text according to specified encoding (if known). RFC
1.1822 + iso8859-1 is used by default. Also recognize Content-encoding to
1.1823 + see if we should do binary translation. Added a CYA -binary
1.1824 + switch for the cases that were missed. [Bug #219211 #219399]
1.1825 +
1.1826 + * tests/ioUtil.test: changed to make better use of constraints and
1.1827 + remove knownBug constraints that weren't valid.
1.1828 +
1.1829 +2001-09-06 Don Porter <dgp@users.sourceforge.net>
1.1830 +
1.1831 + * tests/unixInit.test (unixInit-3.2): Updated test to support
1.1832 + newer HP-UX releases that properly report euc-jp as the system
1.1833 + encoding for Japanese. Bug report and patch verification by Bob
1.1834 + Techentin. [Bug 453883]
1.1835 +
1.1836 + * doc/http.n:
1.1837 + * library/http/*.tcl:
1.1838 + * tools/tcl.wse.in:
1.1839 + * tools/tclmin.wse:
1.1840 + * unix/Makefile.in:
1.1841 + * win/{Mm}akefile.*: Updated http package to version 2.4,
1.1842 + reflecting the new features just added.
1.1843 +
1.1844 +2001-09-06 Vince Darley <vincentdarley@users.sourceforge.net>
1.1845 +
1.1846 + * generic/tclTest.c: tests of old-fs hooks no longer cause problems
1.1847 + in threaded builds. Also removed unused unload proc.
1.1848 + * generic/tcl.decls:
1.1849 + * generic/tclIOUtilc: added Tcl_FSMountsChanged so that a vfs
1.1850 + can inform the filesystem that the filesystem epoch must be
1.1851 + changed (since cached filesystems may now be incorrect). Fixes
1.1852 + problem running tclvfs extension.
1.1853 + * library/tcltest/tcltest.tcl: if tests aren't in a native
1.1854 + filesystem, then don't use pipes to run them. [Bug 458741]
1.1855 +
1.1856 +2001-09-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.1857 +
1.1858 + * generic/tcl.decls (479 generic):
1.1859 + * generic/tclIO.c (Tcl_Seek,Tcl_Tell,Tcl_OutputBuffered): Added
1.1860 + public function to return the size of the output buffer and
1.1861 + reworked other channel functions to use this shared functionality
1.1862 + and that of Tcl_InputBuffered() too. [TIP#49, Rolf Schroedter]
1.1863 +
1.1864 +2001-09-05 David Gravereaux <davygrvy@pobox.com>
1.1865 +
1.1866 + * generic/tclPlatDecls.h: Another small trim finalizing Borland
1.1867 + support.
1.1868 +
1.1869 + * win/tclWinPipe.c:
1.1870 + * win/tclWinPort.h: More Borland compatibility fixes. Changed
1.1871 + EDQUOT #define from 49 to 69. Borland had a clash as it was already
1.1872 + using this number. Upon advice from Helmut Giese, EDQUOT has been
1.1873 + found in other header files #defined as 69.
1.1874 + [Patch: 436116]
1.1875 +
1.1876 + * win/.cvsignore: A few more glob patterns added.
1.1877 +
1.1878 + * win/makefile.bc (new): Borland lives once more! rejoice..
1.1879 + * generic/tclAlloc.c: Small Borland compatibility fix.
1.1880 + * win/tclWinTime.c: More Borland compatibility fixes.
1.1881 + [Patch: 436116]
1.1882 +
1.1883 +2001-09-05 Vince Darley <vincentdarley@users.sourceforge.net>
1.1884 +
1.1885 + * tests/winFCmd.test: made notWin2000 constraint false if not
1.1886 + running on Windows at all.
1.1887 +
1.1888 +2001-09-04 David Gravereaux <davygrvy@pobox.com>
1.1889 +
1.1890 + * win/tclWinThrd.c: Revisited _beginthreadex() stuff. Instead
1.1891 + of assuming a c-runtime implimentation of _beginthreadex normal,
1.1892 + I reversed the logic to not assume, and use when is by explicitly
1.1893 + needing to add runtimes that support it such as Borland.
1.1894 +
1.1895 + * generic/tcl.h:
1.1896 + * generic/tclPlatDecls.h: Borland compatibility change so
1.1897 + ClientData was properly typed as a void* and TCHAR would not be
1.1898 + defined twice.
1.1899 +
1.1900 + * generic/tcl.h: Removed a small mistake from before. Changes to
1.1901 + the EXTERN macro for proper Borland compatibility will have to see
1.1902 + a TIP. What's this with the MS compiler:
1.1903 +
1.1904 + __declspec(dllexport) int func (int a, int b);
1.1905 +
1.1906 + will have to be this with Borland:
1.1907 +
1.1908 + int __cdecl __export func (int a, int b);
1.1909 +
1.1910 + The order of the attribute needs to be after the return type.
1.1911 +
1.1912 +2001-09-04 Don Porter <dgp@users.sourceforge.net>
1.1913 +
1.1914 + * compat/strtod.c (strtod): Fixed failure to handle expressions
1.1915 + like 3eq2 and failure to set errno on overflow. [Bug 440894]
1.1916 +
1.1917 +2001-09-04 Miguel Sofer <msofer@users.sourceforge.net>
1.1918 +
1.1919 + * generic/tclProc.c:
1.1920 + * tests/proc.test: made [proc] check that formal args have
1.1921 + simple names [Bug 458548]
1.1922 +
1.1923 +2001-09-04 Vince Darley <vincentdarley@users.sourceforge.net>
1.1924 +
1.1925 + Minor bug fixes in filesystem, plus small vfs changes as a
1.1926 + result of enabling the test filesystem to work properly.
1.1927 + * tests/fileName.test: ensure new test cleans up after itself
1.1928 + * doc/filename.n:
1.1929 + * generic/tclFileName.c: improved Mac path handling and document
1.1930 + why [Bug: 421842] on Windows handling of UNC paths is not valid.
1.1931 + Documentation and code now much clearer on what is and is not a
1.1932 + UNC path.
1.1933 + * doc/FileSystem.3:
1.1934 + * unix/tclUnixPipe.c:
1.1935 + * generic/tclFCmd.c:
1.1936 + * generic/tclIOUtil.c: fixed error message, fixed [Bug: 453512]
1.1937 + about dangerous use of tmpnam, replaced with mkstemp.
1.1938 + Documented all the changes.
1.1939 + * generic/tclTest.c: made test vfs fully functional as a
1.1940 + 'reporting filesystem'.
1.1941 + * generic/tcl.stubs:
1.1942 + * generic/tcl.h:
1.1943 + * generic/tclInt.h:
1.1944 + * generic/tclIOUtil.c:
1.1945 + * doc/file.n:
1.1946 + * various platform-specific 'TclpLoadFile': fixed comments about
1.1947 + unload behaviour, and completed objectification of loading.
1.1948 + Required change to Tcl_Filesystem lookup table, so incompatible
1.1949 + with 8.4a3, but not older versions of Tcl. The change also
1.1950 + allows 'link' and 'reporting' filesystems to function correctly
1.1951 + when loading files. Implementation of 'file delete -force'
1.1952 + copes with case where cwd is inside the directory. Moved
1.1953 + overlooked Tcl_FSGetPathType from internal to external API.
1.1954 + Made sure filesystems which are registered and then unregistered
1.1955 + are only freed when all references to them are gone.
1.1956 + Documented changes.
1.1957 + * unix/tclUnixFCmd.c: when deleting directories recursively,
1.1958 + make sure permissions are ok. Together with the above, this
1.1959 + fixes [Bug: 219139]
1.1960 + * tests/winFCmd.test: differentiated test results for win2k
1.1961 + versus not. This fixes [Bug: 219239]
1.1962 + * tests/fCmd.test: added tests for 'file delete -force' where
1.1963 + the cwd is inside, and when permissions are inadequate.
1.1964 +
1.1965 +2001-09-04 Miguel Sofer <msofer@users.sourceforge.net>
1.1966 +
1.1967 + * generic/tclCompile.c: fixed incorrect operands for INST_LIST
1.1968 + [Bug: 458241] (David Cuthbert, dacut@users.sourceforge.net)
1.1969 +
1.1970 +2001-09-03 Jeff Hobbs <jeffh@ActiveState.com>
1.1971 +
1.1972 + * generic/tclExecute.c (TclExecuteByteCode): fixed missing comma
1.1973 + in debug macro.
1.1974 +
1.1975 +2001-09-03 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.1976 +
1.1977 + * doc/ExprLongObj.3: Fixed error in documentation of argument type
1.1978 + to Tcl_ExprObj [Bug: 457435]
1.1979 +
1.1980 +2001-09-02 David Gravereaux <davygrvy@pobox.com>
1.1981 +
1.1982 + * win/tclWinThrd.c: Portability fix for Cygwin who's c-runtime,
1.1983 + not surprisingly, doesn't have the MSVCRT specific _beginthreadex /
1.1984 + _endthreadex pair. This might have to be revisited for proper
1.1985 + Borland, lcc32, Watcom and other support as well.
1.1986 + [Patch: 444255]
1.1987 +
1.1988 + * win/tclWinThrd.c: Moved FinalizeConditionEvent() proto to within
1.1989 + the main #ifdef TCL_THREADS block to avoid mingw warning about it
1.1990 + being there but unused.
1.1991 +
1.1992 + * win/makefile.vc: Added -Zl (zee el) to tclStubLib.c compile line
1.1993 + to make sure the tclstub84.lib static library is built without
1.1994 + requiring a specific C-runtime library at link-time for the end-use
1.1995 + developer. It has been noted on c.l.t that this trips many first
1.1996 + time users trying to make extensions.
1.1997 + [Patch: 403533]
1.1998 +
1.1999 +2001-08-31 Jeff Hobbs <jeffh@ActiveState.com>
1.2000 +
1.2001 + * generic/tclInt.h: added TclCompileListCmd header
1.2002 + * generic/tclBasic.c: added TclCompileListCmd compile proc
1.2003 + * generic/tclCompCmds.c (TclCompileListCmd): function to compile
1.2004 + the 'list' command at parse time.
1.2005 + * generic/tclExecute.c (TclExecuteByteCode): definition of
1.2006 + INST_LIST bytecode.
1.2007 +
1.2008 + * doc/StringObj.3: added words of warning to use Tcl_ResetResult
1.2009 + with the Tcl_Append* functions.
1.2010 +
1.2011 + * tests/compile.test: added compile-11.* interp result checks
1.2012 + * generic/tclUtil.c (TclGetIntForIndex): added Tcl_ResetResult
1.2013 + before Tcl_AppendStringsToObj to prevent shared object crash when
1.2014 + called from bcc instruction. The Tcl_Append* calls that append to
1.2015 + the result object that are invoked by bcc insts must remember to
1.2016 + call Tcl_ResetResult because the bcc doesn't do this for us.
1.2017 + [Bug #456892]
1.2018 +
1.2019 +2001-08-30 Jeff Hobbs <jeffh@ActiveState.com>
1.2020 +
1.2021 + * generic/tclIndexObj.c: fixed some casting problems that upset
1.2022 + Crays. [Bug #419528] (andreasen)
1.2023 +
1.2024 +2001-08-30 Don Porter <dgp@users.sourceforge.net>
1.2025 +
1.2026 + * generic/tcl.h: Silence warning from Sun compiler. [Bug 454374]
1.2027 +
1.2028 +2001-08-30 Miguel Sofer <msofer@users.sourceforge.net>
1.2029 +
1.2030 + * generic/tclExecute.c: allow cached fully-qualified command names
1.2031 + to be usable from different namespaces within the same interpreter
1.2032 + without forcing a new lookup. This speeds up scripts that pass
1.2033 + command names in variables ("this" in some OO packages).
1.2034 + [Patch 456668].
1.2035 +
1.2036 +2001-08-30 Vince Darley <vincentdarley@users.sourceforge.net>
1.2037 +
1.2038 + Further fs updates. After examining the most common Tcl
1.2039 + extensions (TclX, BLT, Tk, TclPro, Mktclapp), it has been
1.2040 + determined that only TclpGetCwd and the Access/Stat/Open
1.2041 + insert/delete hooks of the internal fs functions are ever used.
1.2042 + The remaining functions from Tcl's internal interfaces have
1.2043 + therefore been removed, since Tcl now exports a more suitable
1.2044 + public API (Tcl_FS...)
1.2045 +
1.2046 + * generic/tclInt.stubs:
1.2047 + * generic/tclInt.h: updated for removed internal functions.
1.2048 + Some new internal functions have been put in tclInt.h (and
1.2049 + not exported in the stub table because good public equivalents
1.2050 + exist).
1.2051 + * generic/tclTest.c: some test functions used the internal private
1.2052 + APIs. These tests have been retained, but modified to use
1.2053 + public APIs. Also objectified the internal filesystem tests.
1.2054 + * win/tclWinFile.c: removed TclpStat, TclpAccess and refactored
1.2055 + code to use NativeAccess, NativeStat. This should speed up
1.2056 + stat, access and glob commands.
1.2057 + * win/tclWinFCmd.c: removed all TclpCopy/Rename/Delete
1.2058 + File/Directory string-based procedures which aren't used any more.
1.2059 + Improved efficiency of some other procedures. Ensure that filename
1.2060 + conversions with a NULL interp do not crash Tcl.
1.2061 + * mac/tclMacFCmd.c: wrapped long lines and cleaned up
1.2062 + TclpObjNormalizePath, removed all TclpCopy/Rename/Delete
1.2063 + File/Directory string-based procedures which aren't used any more.
1.2064 + * mac/tclMacFile.c: removed obsolete TclpStat, TclpAccess, TclpChdir,
1.2065 + etc.
1.2066 + * unix/tclUnixFCmd.c: removed use of TclpAccess, removed all
1.2067 + TclpCopy/Rename/Delete File/Directory string-based procedures which
1.2068 + aren't used any more.
1.2069 + * unix/tclUnixFile.c: removed obsolete TclpStat, TclpAccess, TclpChdir,
1.2070 + etc.
1.2071 + * tcl(Unix|Mac|Win)Chan.c: objectified TclpOpenFileChannel.
1.2072 + * various 'load' implementations all objectified.
1.2073 + * generic/tclFileName.c: removed redundant code.
1.2074 + * generic/tclIOUtil.c: removed TclStat, TclAccess, TclpListVolumes.
1.2075 + Fix to MatchInDirectory at the root of a volume. Also improved
1.2076 + some documentation, and improved default path joining behaviour
1.2077 + for virtual filesystems, especially regarding '~'.
1.2078 + * tests/fileName.test: added tests to check for bugs fixed above.
1.2079 + * doc/FileName.3: improved documentation
1.2080 +
1.2081 +2001-08-30 David Gravereaux <davygrvy@pobox.com>
1.2082 +
1.2083 + * generic/tclAsync.c:
1.2084 + * generic/tclEvent.c:
1.2085 + * generic/tclInt.h: Improper cleanup of asyncMutex in tclAsync.c
1.2086 + repaired. TclFinalizeSynchronization() was trying to remove a
1.2087 + registered mutex that was dumped earlier when the TSD it was stored
1.2088 + in was cleared. This was only surfacing on *nix. Windows was being
1.2089 + masked by mutexes not actually being returned to the system! That
1.2090 + was repaired in a previous patch. Needed to add a private
1.2091 + TclFinalizeAsync() to tclAsync.c and called from Tcl_FinalizeThread().
1.2092 + Pheww.. Is this done yet?
1.2093 + [Bug: 414419] requested by Rob Ratcliff <rrr6399@futuretek.com>
1.2094 +
1.2095 +2001-08-28 Jeff Hobbs <jeffh@ActiveState.com>
1.2096 +
1.2097 + * generic/tclCompCmds.c (TclPushVarName): noted 'static' defn.
1.2098 + [Bug #453872]
1.2099 +
1.2100 +2001-08-26 Don Porter <dgp@users.sourceforge.net>
1.2101 +
1.2102 + * library/auto.tcl (tcl_findLibrary):
1.2103 + * tests/unixInit.test (unixInit-2.{1,9}):
1.2104 + * unix/tclUnixInit.c (TclpInitLibraryPath):
1.2105 + * win/tclWinInit.c (TclpInitLibraryPath): Corrected
1.2106 + inconsistency between the search path for script libraries and
1.2107 + the directory name $DISTNAME into which distributions built
1.2108 + by 'make test' unpack. [Bug 455642]
1.2109 +
1.2110 +2001-08-24 Jeff Hobbs <jeffh@ActiveState.com>
1.2111 +
1.2112 + * tests/stringComp.test: added string-1.3
1.2113 + * generic/tclCompCmds.c (TclCompileStringCmd): changed to return
1.2114 + TCL_OUT_LINE_COMPILE instead of TCL_ERROR when compiling and an
1.2115 + unknown string method is called. This is necessary as the string
1.2116 + command may be never called, or not until 'string' is redefined.
1.2117 +
1.2118 +2001-08-24 Vince Darley <vincentdarley@users.sourceforge.net>
1.2119 +
1.2120 + * doc/glob.n: documented windows-style path issue with glob.
1.2121 + [Bug: 219392]
1.2122 + * doc/filename.n: documented windows path/file length limitation.
1.2123 + [Bug: 454597]
1.2124 +
1.2125 +2001-08-24 Don Porter <dgp@users.sourceforge.net>
1.2126 +
1.2127 + * tests/unixInit.test (unixInit-2.9): Corrected expected result
1.2128 + to match Tcl's quirky construction of its init library path.
1.2129 +
1.2130 +2001-08-23 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.2131 +
1.2132 + * win/tclWinPipe.c (BuildCommandLine): Fixed tcl Bug
1.2133 + [432499]. Part of the code used the non-absolute path to the
1.2134 + executable to determine quoting. This failed if the absolute
1.2135 + path contained spaces, but the application name itself not. This
1.2136 + bug caused no trouble on Win NT 5, but does for other variants
1.2137 + in the Win* family. Report and fix due to Ken Poole
1.2138 + <kenpoole@users.sourceforge.net>.
1.2139 +
1.2140 +2001-08-23 Jeff Hobbs <jeffh@ActiveState.com>
1.2141 +
1.2142 + * unix/configure:
1.2143 + * unix/tcl.m4: added QNX-6 build support. [Bug #219410] (loverso)
1.2144 +
1.2145 + * unix/tclUnixFCmd.c:
1.2146 + * generic/tclIOUtil.c:
1.2147 + * generic/tclFileName.c: corrected minor compiler warnings.
1.2148 +
1.2149 +2001-08-23 Vince Darley <vincentdarley@users.sourceforge.net>
1.2150 +
1.2151 + Variety of small filesystem and vfs issues fixed or improved.
1.2152 + The new fs code allows many new opportunities for efficiency
1.2153 + improvements through the objectified API. The main changes
1.2154 + integrated here are such efficiency improvements. Some
1.2155 + limitations of the original implementation have also now been
1.2156 + lifted. Meanwhile a variety of fs bugs (some old, some new)
1.2157 + have also been fixed.
1.2158 +
1.2159 + * generic/tclFileName.c: Made Tcl_FSSplitPath more efficient,
1.2160 + and removed some static string-based procedures which are no
1.2161 + longer used. Much more objectification. Tcl_FSJoinPath
1.2162 + is now very efficient and more aware of virtual filesystems.
1.2163 + Clarified where the Mac-specific code attempts to interpret
1.2164 + Unix-style paths. Modified TclDoGlob to use lstat not
1.2165 + access to fix [Bug: 434876, L. Virden]
1.2166 + * tcl(Win|Unix|Mac)FCmd.c:
1.2167 + * tcl(Win|Unix|Mac)File.c: replaced TclpListVolumes with
1.2168 + TclpObjListVolumes with different signature, updated code due
1.2169 + to more efficient signature of Tcl_FSGetTranslatedPath. Used
1.2170 + cached native paths where possible to improve efficiency --
1.2171 + this was completed on MacOS, but on Unix and Win the traversal
1.2172 + functions make the task much more complex, so there are still
1.2173 + some improvements possible there. Removed unused
1.2174 + TclpNormalizePath which had been left in tclWinFCmd.c.
1.2175 + Objectified all 'file attributes' functions. Fixed the new
1.2176 + [Bug:451571, Bruce Stephens] which is most obvious on Unix,
1.2177 + but could occur on MacOS or Windows. This bug actually existed
1.2178 + in Tcl 8.3.x but was only made obvious by the recent filesystem
1.2179 + overhaul when the code was exercised more heavily.
1.2180 + * tests/fileName.test: Three new tests to exercise the above bug,
1.2181 + and make sure it is fixed correctly.
1.2182 + * unix/tclUnixFile.c: avoid panic in glob when a link
1.2183 + doesn't point anywhere. It would probably be good to define
1.2184 + exactly what Tcl should do in circumstances like these, and
1.2185 + make sure mac/win/unix all behave accordingly. [Bug: 417111,
1.2186 + Hemang Lavana]. Also fixed misleading/obsolete comment in the code.
1.2187 + * generic/tcl.stubs: changed signature of Tcl_FSGetTranslatedPath
1.2188 + and added Tcl_FSGetTranslatedStringPath.
1.2189 + These changes allow further optimisations in the FS code.
1.2190 + * generic/tcl.h: changed signature of Tcl_FSListVolumes so that
1.2191 + it doesn't require a Tcl interpreter plus result. Renamed
1.2192 + Tcl_FSReadLink to Tcl_FSLink with additional argument so
1.2193 + we can support making links in the future. [Patch: 450340]
1.2194 + * generic/tclInt.h:
1.2195 + added declaration for TclpObjListVolumes. Objectified
1.2196 + internal call signatures for 'file attributes' functions, and
1.2197 + added an internal objectified get path type function.
1.2198 + * generic/tclIOUtil.c: added the moved function TclpListVolumes
1.2199 + which calls platform specific code (needed for backwards
1.2200 + compatibility), and improved efficiency of parts of the FS
1.2201 + (particularly file normalization). Much less copying and
1.2202 + memory allocation is required now. added new GetPathType
1.2203 + so that changes in 'file volumes' can actually affect files'
1.2204 + types, and objectified more code. Made current code work
1.2205 + with test suite artificially changing current platform.
1.2206 + Added 'static' keywords where required.
1.2207 + * generic/tclIO.c:
1.2208 + * generic/tclTest.c: Added 'static' keywords, fixing
1.2209 + [Bug: 453872, Bob Techentin]
1.2210 + * generic/tclCmdAH.c: file command implementation updated for
1.2211 + API changes, removed unnecessary special-case SplitPath static
1.2212 + function, since it no longer helps prevent code duplication.
1.2213 + Moved setting of interpreter result to each individual location
1.2214 + that actually required it, to avoid very large code separation
1.2215 + between reading and setting the result.
1.2216 + * doc/FileSystem.3: updated documentation for the new or
1.2217 + changed APIs, and clarified some issues.
1.2218 + * doc/SplitPath.3: added pointer to newer APIs in FileSystem.3
1.2219 + * doc/filename.n: clarified current implementation of tilde
1.2220 + support on Mac/Win. [Bug:453514, Sergey Kuzmin]
1.2221 + * doc/glob.n: improved documentation for '-directory' and '-path'
1.2222 + options.
1.2223 +
1.2224 + There are now many private, obsolete, platform-specific 'Tclp'
1.2225 + string-based filesystem APIs which could be removed. We should
1.2226 + check whether any of these are used by extensions and, at least
1.2227 + in Tcl 9, remove them.
1.2228 +
1.2229 + The above changes signify a ***POTENTIAL INCOMPATIBILITY***
1.2230 + with 8.4a3, since signatures of two functions in the new API
1.2231 + have changed, but not with older versions of Tcl.
1.2232 +
1.2233 +2001-08-23 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.2234 +
1.2235 + * generic/tclBinary.c (FormatNumber): Extract a long from the
1.2236 + object and not an int, to stop [binary format] from being unable
1.2237 + to format some input numbers on architectures where sizeof(int) is
1.2238 + less than sizeof(long) (particularly Alpha.) [tiprender Bug #441861]
1.2239 +
1.2240 + * tests/format.test: Converted conditional execution of tests into
1.2241 + a test constraint.
1.2242 +
1.2243 +2001-08-22 Jeff Hobbs <jeffh@ActiveState.com>
1.2244 +
1.2245 + * win/Makefile.in:
1.2246 + * win/makefile.vc: updated install target for dde1.2
1.2247 + * doc/dde.n: fixed dde man page (which was totally incorrect).
1.2248 + * tests/winDde.test:
1.2249 + * win/tclWinDde.c (Tcl_DdeObjCmd): added -binary option to dde
1.2250 + request command to allow for returning binary data. [Bug #227482]
1.2251 + Updated dde to 1.2
1.2252 +
1.2253 + * tests/tcltest.test: added unixExecs constraint to files that
1.2254 + used 'grep' in the test. [Bug #453143]
1.2255 +
1.2256 + * library/tcltest/tcltest.tcl: fixed stdio constraint test.
1.2257 + [Patch #454050] (stanton)
1.2258 + Simplified unixExecs constraint test.
1.2259 +
1.2260 +2001-08-22 Don Porter <dgp@users.sourceforge.net>
1.2261 +
1.2262 + * tests/ioUtil.test (ioUtil-3.*): Corrected errors in tests
1.2263 + revealed by fix of overagressive compiler. [Bug 451200]
1.2264 +
1.2265 +2001-08-21 Miguel Sofer <msofer@users.sourceforge.net>
1.2266 +
1.2267 + * generic/tclCompCmds.c:
1.2268 + * tests/compile.test: Fixed overagressive compilation of [catch]:
1.2269 + it was catching errors at substitution time. [Bug #219184]
1.2270 +
1.2271 +2001-08-21 Jeff Hobbs <jeffh@ActiveState.com>
1.2272 +
1.2273 + * tests/tcltest.test (tcltest-12.2): fixed test that would break
1.2274 + when env vars weren't Tcl list friendly [Patch #454046] (stanton)
1.2275 +
1.2276 +2001-08-20 Jeff Hobbs <jeffh@ActiveState.com>
1.2277 +
1.2278 + * library/http/http.tcl (geturl): added port number to Host:
1.2279 + header to comply with HTTP/1.1 spec (RFC 2068). [Bug #452217]
1.2280 +
1.2281 +2001-08-16 David Gravereaux <davygrvy@pobox.com>
1.2282 +
1.2283 + * tools/tcl.wse.in:
1.2284 + * tools/tcl.hpj.in:
1.2285 + * win/tcl.hpj.in: Removed -kb storage in CVS to ensure these text
1.2286 + files are checked-out in the translation mode CVS is in. Setting
1.2287 + these as binary as part of an effort to make sure they are always
1.2288 + in CRLF, no matter what the CVS translation, is bypassing how CVS
1.2289 + works and is confusing.
1.2290 +
1.2291 + * tools/genStubs.tcl: Removed LF-only output. Having to reconvert
1.2292 + back to CRLF before committing to CVS was giving me a headache.
1.2293 + [Bug: 451333]
1.2294 +
1.2295 + * win/makefile.vc: replaced $(WINDIR) with $(include32) for the
1.2296 + .rc.res inference rule. winver.h wasn't getting included.
1.2297 + [Bug: 445630]
1.2298 +
1.2299 +2001-08-14 Miguel Sofer <msofer@users.sourceforge.net>
1.2300 +
1.2301 + * generic/tclBasic.c: make the intial maxNestingDepth of an
1.2302 + interpreter be MAX_NESTING_DEPTH instead of a hardwired value
1.2303 + [Bug: 232564]
1.2304 +
1.2305 +2001-08-13 Miguel Sofer <msofer@users.sourceforge.net>
1.2306 +
1.2307 + * tests/trace.test: Corrected test numbers [Bug: 449794]
1.2308 +
1.2309 +2001-08-12 Mo DeJong <mdejong@redhat.com>
1.2310 +
1.2311 + * unix/configure: Regen.
1.2312 + * unix/configure.in:
1.2313 + * unix/tcl.m4: Use GCC variable set by AC_PROG_CC instead
1.2314 + of defining our own using_gcc variable.
1.2315 +
1.2316 +2001-08-11 Vince Darley <vincentdarley@users.sourceforge.net>
1.2317 +
1.2318 + Variety of small issues introduced by the vfs code fixed:
1.2319 + * generic/tclIOUtil.c: uninitialised read.
1.2320 + * generic/tclFCmd.c: possible memory leak in file delete
1.2321 + with error condition.
1.2322 +
1.2323 +2001-08-10 Miguel Sofer <msofer@users.sourceforge.net>
1.2324 +
1.2325 + * generic/tclVar.c:
1.2326 + * tests/trace.test: Insure that [array] traces work correctly for
1.2327 + undefined variables [Bug: 449094]
1.2328 +
1.2329 +2001-08-09 Mo DeJong <mdejong@redhat.com>
1.2330 +
1.2331 + * unix/Makefile.in: Delete the unused getcwd.o
1.2332 + target. This fixes bug #440942.
1.2333 +
1.2334 +2001-08-08 Don Porter <dgp@users.sourceforge.net>
1.2335 +
1.2336 + * library/dde/pkgIndex.tcl:
1.2337 + * library/http/http.tcl:
1.2338 + * library/http/pkgIndex.tcl:
1.2339 + * library/msgcat/msgcat.tcl:
1.2340 + * library/msgcat/pkgIndex.tcl:
1.2341 + * library/opt/optparse.tcl:
1.2342 + * library/opt/pkgIndex.tcl:
1.2343 + * library/reg/pkgIndex.tcl:
1.2344 + * library/tcltest/tcltest.tcl:
1.2345 + * library/tcltest/pkgIndex.tcl: Added checks for package dependencies.
1.2346 + Bumped patchlevels of changed packages: http 2.3.2, msgcat 1.2.2,
1.2347 + opt 0.4.3, tcltest 2.0.1. [Patch 448931]
1.2348 +
1.2349 + * README:
1.2350 + * generic/tcl.h:
1.2351 + * tools/tcl.wse.in:
1.2352 + * unix/configure:
1.2353 + * unix/configure.in:
1.2354 + * unix/tcl.spec:
1.2355 + * win/README.binary:
1.2356 + * win/configure:
1.2357 + * win/configure.in: Bumped up patchlevel to 8.4a4 to distinguish
1.2358 + CVS snapshots from the 8.4a3 release. This does not necessarily
1.2359 + mean there will be an 8.4a4 release. [Bug 448938].
1.2360 +
1.2361 +2001-08-06 Jeff Hobbs <jeffh@ActiveState.com>
1.2362 +
1.2363 + 8.4a3 RELEASE
1.2364 +
1.2365 + * changes:
1.2366 + * README:
1.2367 + * mac/README:
1.2368 + * unix/README:
1.2369 + * win/README.binary: updated for 8.4a3 release
1.2370 +
1.2371 + * generic/tclFileName.c (Tcl_FSSplitPath): update to Tcl style
1.2372 + guide.
1.2373 +
1.2374 + * generic/tclFCmd.c (FileCopyRename): fixed mem leak in
1.2375 + introduction of vfs code where a new Tcl_Obj wasn't freed.
1.2376 +
1.2377 + * generic/tclCmdMZ.c (Tcl_RegexpObjCmd, Tcl_RegsubObjCmd):
1.2378 + reordered the retrieval of arguments to avoid shimmering bug when
1.2379 + the pattern and string referenced the same object.
1.2380 +
1.2381 + * unix/configure: regenerated
1.2382 + * unix/tcl.m4: added GNU (HURD) configuration target. (brinkmann)
1.2383 + [Patch: #442974]
1.2384 +
1.2385 + * win/README: made note of URL for Windows compilation notes
1.2386 +
1.2387 + * win/tclWinThrd.c (TclpFinalizeMutex, TclpFinalizeCondition):
1.2388 + added DeleteCriticalSection calls for cleanup [Patch: #419683]
1.2389 +
1.2390 + * unix/tclUnixPipe.c (TclpCreateTempFile): fixed use of tmpnam,
1.2391 + which is dangerous. [Patch: #442636] (lim)
1.2392 + The use of tmpnam in TclpTempFileName must still be changed.
1.2393 +
1.2394 + * tests/http.test (http-4.14): fixed variable error return.
1.2395 + [Bug: 424252]
1.2396 +
1.2397 +2001-08-03 Jeff Hobbs <jeffh@ActiveState.com>
1.2398 +
1.2399 + * win/configure: regenerated
1.2400 + * win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll.
1.2401 + This is necessary for TEA compliant builds that build shared
1.2402 + against a static-built Tcl.
1.2403 + * win/Makefile.in ($(TCLSH)): added $(TCL_STUB_LIB_FILE) to build
1.2404 + target, otherwise it wouldn't get generated in a static build.
1.2405 +
1.2406 +2001-08-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.2407 +
1.2408 + * generic/tclIOCmd.c (Tcl_GetsObjCmd): Applied patch from SF item
1.2409 + [442665] to fix the bug reported by it. The function can corrupt
1.2410 + a freed object if it is called with objc == 3. This is because
1.2411 + it retrieves resultPtr and does not increment its reference
1.2412 + count, but then calls Tcl_ObjSetVar2, which causes the retrieved
1.2413 + resultPtr object to be released.
1.2414 +
1.2415 +2001-08-06 Don Porter <dgp@users.sourceforge.net>
1.2416 +
1.2417 + * doc/tclsh.1: Added note that the tclsh program is frequently
1.2418 + installed with the Tcl version numer as part of the name.
1.2419 + [Patch 402725]
1.2420 +
1.2421 + * generic/tclPkg.c:
1.2422 + * tests/pkg.test: [package forget] now forgets all of the
1.2423 + package arguments it receives, not stopping when a package is
1.2424 + not found. [Bug 415273]
1.2425 +
1.2426 +2001-08-02 Jeff Hobbs <jeffh@ActiveState.com>
1.2427 +
1.2428 + * generic/tclIOUtil.c (Tcl_FSMatchInDirectory): corrected
1.2429 + uninitialized value.
1.2430 +
1.2431 +2001-08-02 Mo DeJong <mdejong@redhat.com>
1.2432 +
1.2433 + * generic/tclPlatDecls.h:
1.2434 + * win/tclWinPort.h:
1.2435 + Revert <tchar.h> related changes made to improve
1.2436 + Cygwin support on 2001-07-18. This change ended
1.2437 + up breaking the VC++ build because of conflicts
1.2438 + between Windows APIs and internal Tk APIs.
1.2439 +
1.2440 +2001-08-01 Jeff Hobbs <jeffh@ActiveState.com>
1.2441 +
1.2442 + * unix/tclUnixFCmd.c: minor casts to eliminate warnings. (lim)
1.2443 + [Patch: #440218]
1.2444 +
1.2445 + * tests/parseOld.test: changed some tests that required
1.2446 + testwordend to exist to skip in a proper tcltest manner.
1.2447 + [Bug: #442663]
1.2448 +
1.2449 + * library/http/http.tcl (http::mapReply): the regsub'ing of \n and
1.2450 + \t to escape them was unnecessary.
1.2451 +
1.2452 +2001-07-31 Vince Darley <vincentdarley@users.sourceforge.net>
1.2453 +
1.2454 + Changes from TIP#17 "Redo Tcl's filesystem"
1.2455 + The following files were impacted:
1.2456 + * doc/Access.3:
1.2457 + * doc/FileSystem.3:
1.2458 + * doc/OpenFileChnl.3:
1.2459 + * doc/file.n:
1.2460 + * doc/glob.n:
1.2461 + * generic/tcl.decls:
1.2462 + * generic/tcl.h:
1.2463 + * generic/tclCmdAH.c:
1.2464 + * generic/tclCmdIL.c:
1.2465 + * generic/tclCmdMZ.c:
1.2466 + * generic/tclDate.c:
1.2467 + * generic/tclDecls.h:
1.2468 + * generic/tclEncoding.c:
1.2469 + * generic/tclFCmd.c:
1.2470 + * generic/tclFileName.c:
1.2471 + * generic/tclGetDate.y:
1.2472 + * generic/tclIO.c:
1.2473 + * generic/tclIOCmd.c:
1.2474 + * generic/tclIOUtil.c:
1.2475 + * generic/tclInt.decls:
1.2476 + * generic/tclInt.h:
1.2477 + * generic/tclIntDecls.h:
1.2478 + * generic/tclLoad.c:
1.2479 + * generic/tclStubInit.c:
1.2480 + * generic/tclTest.c:
1.2481 + * generic/tclUtil.c:
1.2482 + * library/init.tcl:
1.2483 + * mac/tclMacFCmd.c:
1.2484 + * mac/tclMacFile.c:
1.2485 + * mac/tclMacInit.c:
1.2486 + * mac/tclMacPort.h:
1.2487 + * mac/tclMacResource.c:
1.2488 + * mac/tclMacTime.c:
1.2489 + * tests/cmdAH.test:
1.2490 + * tests/event.test:
1.2491 + * tests/fCmd.test:
1.2492 + * tests/fileName.test:
1.2493 + * tests/io.test:
1.2494 + * tests/ioCmd.test:
1.2495 + * tests/proc-old.test:
1.2496 + * tests/registry.test:
1.2497 + * tests/unixFCmd.test:
1.2498 + * tests/winDde.test:
1.2499 + * tests/winFCmd.test:
1.2500 + * unix/mkLinks:
1.2501 + * unix/tclUnixFCmd.c:
1.2502 + * unix/tclUnixFile.c:
1.2503 + * unix/tclUnixInit.c:
1.2504 + * unix/tclUnixPipe.c:
1.2505 + * win/tclWinFCmd.c:
1.2506 + * win/tclWinFile.c:
1.2507 + * win/tclWinInit.c:
1.2508 + * win/tclWinPipe.c
1.2509 +
1.2510 +2001-07-24 Mo DeJong <mdejong@redhat.com>
1.2511 +
1.2512 + * win/tclWinThrd.c (Tcl_CreateThread): Close Windows
1.2513 + HANDLE returned by _beginthreadex. The MS documentation
1.2514 + states that this handle is not closed by a later call to
1.2515 + _endthreadex.
1.2516 +
1.2517 +2001-07-21 Don Porter <dgp@users.sourceforge.net>
1.2518 +
1.2519 + * doc/pkgMkindex.n:
1.2520 + * library/package.tcl: Corrected documentation and usage
1.2521 + message of [pkg_mkIndex].
1.2522 +
1.2523 +2001-07-18 Mo DeJong <mdejong@redhat.com>
1.2524 +
1.2525 + * generic/tclPlatDecls.h: Define TCHAR by including
1.2526 + windows.h instead of tchar.h since Cygwin does not
1.2527 + support the tchar.h header. Include CHECK_UNICODE_CALLS
1.2528 + logic from tclWinPort.h.
1.2529 + * win/tclWinPort.h: Remove CHECK_UNICODE_CALLS logic.
1.2530 + Remove include of windows.h since this now done it
1.2531 + tclPlatDecls.h.
1.2532 + * win/tclWinReg.c: Remove duplicate include of windows.h.
1.2533 +
1.2534 +2001-07-18 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.2535 +
1.2536 + * generic/tclIO.c: Aftermath to [SF #427196]. Squash empty buffers
1.2537 + if they are smaller than the requested buffersize, to prevent
1.2538 + reusage of old buffers and to honor changes in the requested
1.2539 + buffersize made by the user.
1.2540 +
1.2541 +2001-07-17 Mo DeJong <mdejong@redhat.com>
1.2542 +
1.2543 + * win/tclWinFile.c (TclpReadlink): Add Cygwin specific definition
1.2544 + for the TclpReadlink function. This method implements reading of
1.2545 + symbolic links when build with Cygwin.
1.2546 +
1.2547 +2001-07-17 Mo DeJong <mdejong@redhat.com>
1.2548 +
1.2549 + * win/tclWinPort.h: Add Cygwin specific defines for environ
1.2550 + and timezone variables.
1.2551 +
1.2552 +2001-07-17 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.2553 +
1.2554 + * generic/tclIO.c (GetInput): Fixed [SF #427196]. Memory was
1.2555 + overwritten because a buffer was used after a change of the
1.2556 + requested buffersize together with that requested buffersize and
1.2557 + not its actual size, which was smaller. Note that the continous
1.2558 + reuse of the smaller buffer negatively impacts performance. The
1.2559 + system never allocates a buffer with the newly requested bigger
1.2560 + buffersize.
1.2561 +
1.2562 +2001-07-16 Mo DeJong <mdejong@redhat.com>
1.2563 +
1.2564 + * generic/tcl.h: Define __WIN32__ when
1.2565 + __CYGWIN__ or __MINGW32__ is defined.
1.2566 + * generic/tclAlloc.c: Define caddr_t when
1.2567 + compiling with VC++ or mingw. This type is
1.2568 + already defined when compiling with Cygwin.
1.2569 +
1.2570 +2001-07-16 Mo DeJong <mdejong@redhat.com>
1.2571 +
1.2572 + * win/tclWinConsole.c:
1.2573 + * win/tclWinPipe.c:
1.2574 + * win/tclWinPort.h:
1.2575 + * win/tclWinSerial.c:
1.2576 + * win/tclWinThrd.c:
1.2577 + Remove unnecessary #includes of dos.h, direct.h,
1.2578 + and tchar.h. This will help the Cygwin porting
1.2579 + effort since these headers do not exist under Cygwin.
1.2580 +
1.2581 +2001-07-16 Jeff Hobbs <jeffh@ActiveState.com>
1.2582 +
1.2583 + * win/tclWinPipe.c (PipeClose2Proc): constrained the mutex lock to
1.2584 + just the TerminateThread call and waiting for termination. (jsmith)
1.2585 +
1.2586 + * generic/tclCmdMZ.c: Removed extra copy of the SCAN_* macros
1.2587 + #defined in generic/tclScan.c. (porter) [Bug 441230]
1.2588 +
1.2589 +2001-07-12 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.2590 +
1.2591 + * tests/unixInit.test (unixInit-2.8): Added extra constraint,
1.2592 + notInstalledInTmp, to stop this test from damaging installations
1.2593 + in /tmp; not much fun to have to reinstall the Tcl library every
1.2594 + time you run the test suite!
1.2595 +
1.2596 + * tests/subst.test (subst-10.*): Updated tests to check new
1.2597 + behaviour for 'break' in command substitutions.
1.2598 + (subst-1.2,subst-7.1): Error messages changed.
1.2599 + * doc/SubstObj.3: New file, to document Tcl_SubstObj.
1.2600 + * doc/subst.n: Improved and updated documentation for 'subst' to
1.2601 + help support the changed behaviour.
1.2602 + * generic/tcl.decls (generic-437): Declaration for Tcl_SubstObj
1.2603 + * generic/tcl.h (TCL_SUBST_*): Added flags for Tcl_SubstObj.
1.2604 + * generic/tclCmdMZ.c (Tcl_SubstObj,Tcl_SubstObjCmd): Divided into
1.2605 + two parts to allow people to access the innards of 'subst' and
1.2606 + changed the behaviour when command substitutions do a 'break' to
1.2607 + be different from 'continue'. Also now works with objects, which
1.2608 + allows for some nifty optimisations with variable substitutions
1.2609 + and a slight improvement with command substitutions. [TIP#36]
1.2610 +
1.2611 +2001-07-10 Mo DeJong <mdejong@redhat.com>
1.2612 +
1.2613 + * unix/Makefile.in: Add AR variable for use in STLIB_LD.
1.2614 + * unix/configure: Regen.
1.2615 + * unix/configure.in: Use STLIB_LD when defining MAKE_LIB
1.2616 + and MAKE_STUB_LIB. Subst RANLIB and AR.
1.2617 + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add doc comment about
1.2618 + STLIB_LD command. Check ${AR} env var when setting
1.2619 + STLIB_LD and delay evaluation until make time.
1.2620 + * win/configure: Regen.
1.2621 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Delay evaluation of
1.2622 + ${AR} in STLIB_LD and add flags to better match the
1.2623 + Unix implementation. Don't bother defining AR when
1.2624 + using VC++ since it is not used.
1.2625 +
1.2626 +2001-07-06 Mo DeJong <mdejong@redhat.com>
1.2627 +
1.2628 + * win/configure: Regen.
1.2629 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Pass -e _WinMain@16 in
1.2630 + addition to the -mwindows flag to work around a problem
1.2631 + with ld when it incorrectly use main() as the executable
1.2632 + entry point when both WinMain() and main() are available.
1.2633 +
1.2634 +2001-07-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.2635 +
1.2636 + * tests/cmdAH.test: Added leading zero to file modes to work
1.2637 + around fault in HPUX strtol() which ignores the base parameter
1.2638 + [Bug #438808]
1.2639 +
1.2640 +2001-07-05 Mo DeJong <mdejong@redhat.com>
1.2641 +
1.2642 + * win/Makefile.in: Subst DEPARG directly instead
1.2643 + of relying on a variable. This will make Cygwin
1.2644 + builds faster since an extra exec will be avoided.
1.2645 + * win/configure: Regen.
1.2646 + * win/configure.in: Subst DEPARG.
1.2647 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Move AC_MSG_CHECKING
1.2648 + after the AC_CHECK_PROG so that status messages do
1.2649 + not get mixed together. Set DEPARG based on the
1.2650 + results of the cygpath check so that we avoid using
1.2651 + an extra exec when it is not needed. Use ac_cv_cygwin
1.2652 + status flag instead of looking at the output of
1.2653 + gcc -v, which works in the case where -mno-cygwin is
1.2654 + set in the CFLAGS.
1.2655 +
1.2656 +2001-07-04 Jeff Hobbs <jeffh@ActiveState.com>
1.2657 +
1.2658 + * README:
1.2659 + * mac/README:
1.2660 + * unix/README:
1.2661 + * win/README:
1.2662 + * win/README.binary: updated READMEs with purls
1.2663 +
1.2664 +2001-07-03 Mo DeJong <mdejong@redhat.com>
1.2665 +
1.2666 + * win/Makefile.in: Remove PATHTYPE variable.
1.2667 + * win/configure: Regen.
1.2668 + * win/configure.in: Don't subst PATHTYPE.
1.2669 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE
1.2670 + variable. Set CYGPATH to "cygpath -w" if the
1.2671 + cygpath executable is found on the path. This
1.2672 + approach works for native Cygwin builds and
1.2673 + cross compiles.
1.2674 +
1.2675 +2001-07-03 Jeff Hobbs <jeffh@ActiveState.com>
1.2676 +
1.2677 + * tests/var.test:
1.2678 + * generic/tclVar.c (Tcl_VariableObjCmd): added patch to check for
1.2679 + number of args. [Patch #426038]
1.2680 +
1.2681 + * generic/tclVar.c (Tcl_GetVar2Ex): added ability to recognize
1.2682 + TCL_TRACE_READS flags to cause creation of part1 in TclLookupVar
1.2683 + to make sure newly created array will get read traces triggered
1.2684 + appropriately. This is called by Tcl_ObjGetVar2, Tcl_GetVar, and
1.2685 + Tcl_GetVar2.
1.2686 + (TclSetIndexedScalar, TclSetElementOfIndexedArray): added read
1.2687 + trace triggering for lappend case.
1.2688 + (Tcl_LappendObjCmd): pass TCL_TRACE_READS to Tcl_ObjGetVar2 to
1.2689 + trigger possible read traces for new arrays.
1.2690 +
1.2691 + * generic/tclExecute.c (TclExecuteByteCode): added TCL_TRACE_READS
1.2692 + flag to INST_LAPPEND(_ARRAY)_STK case to trigger read traces for
1.2693 + newly created arrays. Removed unnecessary #ifdef for
1.2694 + TCL_COMPILE_DEBUG in INST_LOAD_SCALAR1 case.
1.2695 +
1.2696 + * tests/append.test:
1.2697 + * tests/appendComp.test: added tests for read trace triggering for
1.2698 + append and lappend.
1.2699 +
1.2700 +2001-07-03 Mo DeJong <mdejong@redhat.com>
1.2701 +
1.2702 + * tests/clock.test (clock-2.5): Adjust test so that it passes
1.2703 + when the time slice is 60 msecs, now passes under Windows 98.
1.2704 +
1.2705 +2001-07-03 Mo DeJong <mdejong@redhat.com>
1.2706 +
1.2707 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't pass the v flag
1.2708 + to ${AR} when using gcc, verbose output is not needed.
1.2709 +
1.2710 +2001-07-03 Don Porter <dgp@users.sourceforge.net>
1.2711 +
1.2712 + * tests/unixInit.test (unixInit-2.8): Changed test back to using
1.2713 + installation layout, adding comments explaining why the test writes
1.2714 + to the directories it does, and checks to avoid destroying other
1.2715 + files in /tmp.
1.2716 +
1.2717 +2001-07-03 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.2718 +
1.2719 + * tests/unixInit.test (unixInit-1.2): Fixed faults reported in
1.2720 + Bug#438070 - well, at least enough to work on Solaris - and added
1.2721 + comments that should make what is going on in the test clearer.
1.2722 +
1.2723 +2001-07-02 Jeff Hobbs <jeffh@ActiveState.com>
1.2724 +
1.2725 + * tests/util.test: added util-4.6
1.2726 + * generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards
1.2727 + over utf-8 chars. [Bug #227512]
1.2728 +
1.2729 +2001-07-02 Don Porter <dgp@users.sourceforge.net>
1.2730 +
1.2731 + * tests/unixInit.test (unixInit-2.8): Corrected test for all
1.2732 + absolute pathnames in library path when executable is installed
1.2733 + near root directory to use correct development directory layout.
1.2734 + [Bug 438014]
1.2735 +
1.2736 + * tests/unixInit.test (unixInit-2.9):
1.2737 + * unix/tclUnixInit.c (TclpInitLibraryPath):
1.2738 + * win/tclWinInit.c (TclpInitLibraryPath): Corrected buggy
1.2739 + construction of search path entries relative to executable.
1.2740 + Added test for bad construction. [Bug 438014]
1.2741 +
1.2742 +2001-06-28 Miguel Sofer <msofer@users.sourceforge.net>
1.2743 +
1.2744 + * generic/tclNamesp.c: Correction to faulty patch from [Bug: 231259]
1.2745 +
1.2746 +2001-06-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.2747 +
1.2748 + * tests/unixInit.test (unixInit-1.2): Modified so as not to
1.2749 + require a local echo service, which fails on many systems which
1.2750 + have that turned off for security reasons...
1.2751 +
1.2752 +2001-06-27 Jeff Hobbs <jeffh@ActiveState.com>
1.2753 +
1.2754 + * generic/tclInt.h:
1.2755 + * generic/tclObj.c:
1.2756 + * unix/Makefile.in: added a -DPURIFY mode that makes Tcl_Obj's
1.2757 + allocated and free singularly (instead of in alloc in blocks and
1.2758 + never free) to allow checkers like Purify to operate better.
1.2759 +
1.2760 + * library/encoding/koi8-u.enc: added koi8-u (Ukranian variant)
1.2761 + encoding.
1.2762 +
1.2763 + * tests/subst.test:
1.2764 + * generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash
1.2765 + handling of multibyte utf-8 chars. [Bug #217987]
1.2766 +
1.2767 + * generic/tclCmdIL.c (InfoProcsCmd): fixed potential mem leak in
1.2768 + info procs that created objects without using them.
1.2769 +
1.2770 + * generic/tclCompCmds.c (TclCompileStringCmd): fixed mem leak when
1.2771 + string command failed to parse the subcommand.
1.2772 +
1.2773 + * doc/interp.n:
1.2774 + * doc/unknown.n: updated notes about what is in a safe interp.
1.2775 + [Bug #218605]
1.2776 +
1.2777 +2001-06-27 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.2778 +
1.2779 + * tests/event.test (event-11.5): Removed hard-coded port number
1.2780 + which could fail on some systems. [Bug #436727]
1.2781 +
1.2782 +2001-06-26 Mo DeJong <mdejong@redhat.com>
1.2783 +
1.2784 + * unix/Makefile.in:
1.2785 + * win/Makefile.in: Add `make shell` target. This target
1.2786 + will set the proper env vars before invoking tclsh
1.2787 + from the build directory.
1.2788 +
1.2789 +2001-06-26 Mo DeJong <mdejong@redhat.com>
1.2790 +
1.2791 + * win/Makefile.in: Use : to separate VPATH entries. This
1.2792 + works for both Cygwin builds and cross builds, the VPSEP
1.2793 + variable is simply unneeded complexity.
1.2794 + * win/configure: Regen.
1.2795 + * win/configure.in: Don't subst VPSEP.
1.2796 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove VPSEP variable.
1.2797 +
1.2798 +2001-06-26 Mo DeJong <mdejong@redhat.com>
1.2799 +
1.2800 + * unix/configure: Regen.
1.2801 + * unix/configure.in: Fix last checkin by removing
1.2802 + export since that only works in bash.
1.2803 + * win/configure: Regen.
1.2804 + * win/configure.in: Ditto.
1.2805 +
1.2806 +2001-06-26 Mo DeJong <mdejong@redhat.com>
1.2807 +
1.2808 + * unix/configure: Regen.
1.2809 + * unix/configure.in: Set CFLAGS to "" if the user
1.2810 + did not set CFLAGS in the env. This keeps AC_PROG_CC
1.2811 + from adding "-g -O2" to the CFLAGS by default.
1.2812 + * win/configure: Regen.
1.2813 + * win/configure.in: Ditto.
1.2814 +
1.2815 +2001-06-25 Mo DeJong <mdejong@redhat.com>
1.2816 +
1.2817 + * win/configure: Regen.
1.2818 + * win/configure.in: Use RC_DEFINE flag from tcl.m4.
1.2819 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Set RC_DEFINE
1.2820 + flag based on the compiler in use.
1.2821 +
1.2822 +2001-06-25 Mo DeJong <mdejong@redhat.com>
1.2823 +
1.2824 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Link to the
1.2825 + imm32 library when building with mingw gcc.
1.2826 +
1.2827 +2001-06-25 Mo DeJong <mdejong@redhat.com>
1.2828 +
1.2829 + * win/configure: Regen.
1.2830 + * win/tcl.m4 (SC_CONFIG_CFLAGS): When building with
1.2831 + gcc, don't attempt to link with LD or support dllwrap.
1.2832 + Simply require a recent version of Cygwin gcc or Mingw
1.2833 + gcc that supports -shared. When linking, use gcc instead
1.2834 + of ld since gcc automatically includes libs like -lmsvcrt.
1.2835 +
1.2836 +2001-06-22 Mo DeJong <mdejong@redhat.com>
1.2837 +
1.2838 + * win/configure: Regen.
1.2839 + * win/configure.in: Add resource compiler fix from
1.2840 + 8.3.3 to fix compiling with mingw.
1.2841 +
1.2842 +2001-06-22 Mo DeJong <mdejong@redhat.com>
1.2843 +
1.2844 + * win/configure: Regen.
1.2845 + * win/tcl.m4: Fix silly typo in last checkin.
1.2846 +
1.2847 +2001-06-22 Mo DeJong <mdejong@redhat.com>
1.2848 +
1.2849 + * unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
1.2850 + Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG
1.2851 + and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works.
1.2852 + This will support user set CFLAGS or LDFLAGS at configure time.
1.2853 + * unix/configure: Regen.
1.2854 + * unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
1.2855 + subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEFAULT,
1.2856 + LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
1.2857 + * unix/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that
1.2858 + it uses a Makefile variable just like CFLAGS_DEFAULT.
1.2859 + * win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
1.2860 + Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@.
1.2861 + This will support user set CFLAGS or LDFLAGS at configure time.
1.2862 + * win/configure: Regen.
1.2863 + * win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
1.2864 + CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
1.2865 + * win/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that
1.2866 + it uses a Makefile variable just like CFLAGS_DEFAULT.
1.2867 +
1.2868 +2001-06-22 Mo DeJong <mdejong@redhat.com>
1.2869 +
1.2870 + * win/configure:
1.2871 + * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't set LDFLAGS_DEBUG
1.2872 + to -g or LDFLAGS_OPTIMIZE to -O when compiling with gcc.
1.2873 + These flags are not needed and can cause problems with
1.2874 + the Cygwin version of ld.
1.2875 +
1.2876 +2001-06-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.2877 +
1.2878 + * tests/unixInit.test (unixInit-1.2,unixInit-2.8): Added test for
1.2879 + code described below, and fixed a couple of errors that caused
1.2880 + problems during testing; the code to determine the installedTcl
1.2881 + constraint was wrong, and test unixInit-2.8 assumed that /tmp/lib
1.2882 + was free for use and could be deleted, which clashed nastily with
1.2883 + my installation and made other tests fail unnecessarily!
1.2884 +
1.2885 + * unix/tclUnixChan.c (TtyInit,TclpOpenFileChannel,
1.2886 + Tcl_MakeFileChannel,TclpGetDefaultStdChannel): Alterations so that
1.2887 + the standard channels - stdin, stdout and stderr - have the
1.2888 + correct type and fconfigure options. This required making the
1.2889 + initialisation of serial lines a little more sophisticated to
1.2890 + make the console behave correctly in interactive mode... [Bug
1.2891 + #219137 and duplicates]
1.2892 +
1.2893 +2001-06-16 Don Porter <dgp@users.sourceforge.net>
1.2894 +
1.2895 + * generic/tclInt.decls:
1.2896 + * generic/tclInt.h:
1.2897 + * generic/tclPanic.c (Tcl_PanicVA):
1.2898 + * mac/tclMacAppInit.c (main):
1.2899 + * mac/tclMacPanic.c (TclpPanic):
1.2900 + * unix/tclUnixPort.h:
1.2901 + * win/tclWinPort.h: Replaced TclMacSetPanic with TclpPanic
1.2902 + for setting a platform-specific panic handler. TclpPanic
1.2903 + is NULL on Unix and Windows. Fixes broken wish on Mac due
1.2904 + to earlier patches. [Patch 415648]
1.2905 +
1.2906 + * generic/tclIntPlatDecls.h:
1.2907 + * generic/tclStubInit.c: `make gentubs` after above changes.
1.2908 +
1.2909 +2001-06-13 Don Porter <dgp@users.sourceforge.net>
1.2910 +
1.2911 + * mac/tclMacAppInit.c (main, Macintosh_Init):
1.2912 + * mac/tclMacBOAAppInit.c (main):
1.2913 + * mac/tclMacPanic.c: Applied patches from Dan Steffen correcting
1.2914 + problems on the Macintosh in the 2001-06-08 changes.
1.2915 +
1.2916 +2001-06-12 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.2917 +
1.2918 + * tests/regexp.test (regexp-18.12):
1.2919 + * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): Fixed so that submatches
1.2920 + that do not match always have index pair {-1 -1} [Bug #219232]
1.2921 +
1.2922 +2001-06-08 Don Porter <dgp@users.sourceforge.net>
1.2923 +
1.2924 + * generic/tcl.h:
1.2925 + * generic/tcl.decls:
1.2926 + * generic/tclPanic.c: Added CONST to Tcl_*Panic* public interfaces.
1.2927 + [Patch 415648, TIP 27]
1.2928 +
1.2929 + * generic/tclInt.decls:
1.2930 + * mac/tclMacAppInit.c (main):
1.2931 + * mac/tclMacBOAAppInit.c (main):
1.2932 + * mac/tclMacPanic.c: Modified special Mac implementations of
1.2933 + Tcl_*Panic* to be exact copies of the generic implementations.
1.2934 + Added TclMacSetPanic. The generic implementations should be
1.2935 + used directly, rather than copies, but that requires further
1.2936 + changes by someone familiar with the Mac build systems.
1.2937 + [Patch 415648]
1.2938 +
1.2939 + * generic/tclDecls.h:
1.2940 + * generic/tclIntPlatDecls.h:
1.2941 + * generic/tclStubInit.c: `make gentubs` after above changes.
1.2942 +
1.2943 + * doc/Panic.3:
1.2944 + * unix/mkLinks: New file documenting Tcl_*Panic* public interfaces,
1.2945 + followed by `make mklinks`. [Patch 415648, Bug 219170, Bug 414936]
1.2946 +
1.2947 +2001-06-03 Jeff Hobbs <jeffh@ActiveState.com>
1.2948 +
1.2949 + * generic/tclUtil.c (Tcl_DStringAppendElement): patch to save an
1.2950 + extra strlen call. [Bug #428572]
1.2951 +
1.2952 +2001-05-30 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.2953 +
1.2954 + * generic/tclExecute.c (TclExecuteByteCode): Added two casts to
1.2955 + INST_STR_CMP implementation to get rid of a couple warnings from
1.2956 + the SUNWspro C compiler.
1.2957 +
1.2958 + * generic/tclBasic.c (Tcl_GetMathFuncInfo,Tcl_ListMathFuncs):
1.2959 + * generic/tclCmdIL.c (Tcl_InfoObjCmd,InfoFunctionsCmd):
1.2960 + * generic/tcl.decls (generic table, positions 435+436):
1.2961 + * tests/info.test:
1.2962 + * doc/CrtMathFnc.3:
1.2963 + * doc/info.n: Changes due to TIP #15 "Functions to List and Detail
1.2964 + Math Functions"
1.2965 +
1.2966 +2001-05-28 Jeff Hobbs <jeffh@ActiveState.com>
1.2967 +
1.2968 + * library/init.tcl (unknown): removed errant " in error message
1.2969 +
1.2970 +2001-05-27 Jeff Hobbs <jeffh@ActiveState.com>
1.2971 +
1.2972 + * generic/regc_locale.c: updated character class range data for
1.2973 + Unicode v3.1.0 compliance.
1.2974 + * generic/tclUniData.c: regenerated from Unicode v3.1.0 data file
1.2975 + (new as of 2001-05-16). This brings Tcl to current unicode
1.2976 + compliance.
1.2977 +
1.2978 + * tests/utf.test: added tests to check unicode 3 compliance
1.2979 +
1.2980 + * unix/Makefile.in (tclUtf.o): added tclUniData.c dependency.
1.2981 +
1.2982 + * tools/uniClass.tcl: added comments to output format and the
1.2983 + script for clarification.
1.2984 +
1.2985 + * tools/uniParse.tcl: corrected filename output and GetDelta macro
1.2986 + to use 'info' as param (was 'infO')
1.2987 +
1.2988 +2001-05-26 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.2989 +
1.2990 + * generic/tclVar.c (tclArraySearchType,SetArraySearchObj,
1.2991 + ParseSearchId): Added code to speed up array searching by reducing
1.2992 + the amount of parsing needed for searchIds.
1.2993 +
1.2994 + * generic/tclObj.c (TclInitObjSubsystem):
1.2995 + * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct):
1.2996 + * generic/tclNamesp.c (TclInitNamespaceSubsystem):
1.2997 + * generic/tclInt.h: Moved some Tcl_ObjType initialisation to
1.2998 + TclInitObjSubsystem to be with the bulk of the rest.
1.2999 + [Patch 424851] Committed by Miguel Sofer <mig@utdt.edu>
1.3000 +
1.3001 +2001-05-23 Jeff Hobbs <jeffh@ActiveState.com>
1.3002 +
1.3003 + * tests/io.test: changed io-52.[9-11] to not be platform sensitive
1.3004 + with EOL translation.
1.3005 +
1.3006 + * library/encoding/cp1250.enc:
1.3007 + * library/encoding/cp1251.enc:
1.3008 + * library/encoding/cp1252.enc:
1.3009 + * library/encoding/cp1253.enc:
1.3010 + * library/encoding/cp1254.enc:
1.3011 + * library/encoding/cp1255.enc:
1.3012 + * library/encoding/cp1256.enc:
1.3013 + * library/encoding/cp1257.enc:
1.3014 + * library/encoding/cp1258.enc:
1.3015 + * library/encoding/cp874.enc:
1.3016 + * library/encoding/iso8859-6.enc:
1.3017 + * library/encoding/iso8859-7.enc:
1.3018 + * library/encoding/iso8859-8.enc:
1.3019 + * library/encoding/iso8859-10.enc (new):
1.3020 + * library/encoding/iso8859-13.enc (new):
1.3021 + * library/encoding/iso8859-14.enc (new): updated encoding tables
1.3022 + based on http://www.unicode.org/Public/MAPPINGS/. (kuhn)
1.3023 +
1.3024 +2001-05-23 Mo DeJong <mdejong@redhat.com>
1.3025 +
1.3026 + * unix/tcl.m4 (SC_PATH_TCLCONFIG): Fix comments,
1.3027 + and typo in cached variable name.
1.3028 +
1.3029 +2001-05-23 Mo DeJong <mdejong@redhat.com>
1.3030 +
1.3031 + * unix/tcl.m4 (SC_LOAD_TKCONFIG):
1.3032 + Remove use of undefined TCLCONFIG variable and
1.3033 + call AC_MSG_RESULT to print the checking result.
1.3034 + * win/tcl.m4: Ditto.
1.3035 +
1.3036 +2001-05-22 Jeff Hobbs <jeffh@ActiveState.com>
1.3037 +
1.3038 + * generic/tclObj.c (TclAllocateFreeObjects): simplified
1.3039 + objSizePlusPadding to use sizeof(Tcl_Obj) (max)
1.3040 + Corrected use of tclObjsAlloced/Freed/Shared in TCL_MEM_DEBUG
1.3041 + compile.
1.3042 +
1.3043 +2001-05-22 Miguel Sofer <msofer@users.sourceforge.net>
1.3044 +
1.3045 + * generic/tclExecute.c: removed Tcl_DuplicateObj in INST_DUP
1.3046 +
1.3047 +2001-05-21 Jeff Hobbs <jeffh@ActiveState.com>
1.3048 +
1.3049 + * tests/tcltest.test (tcltest-19.1): fixed failing test that was
1.3050 + getting affected by Windows env handling of empty valued elements.
1.3051 +
1.3052 + * unix/tcl.m4: added more common install directories in which to
1.3053 + search for *Config.sh [Bug #419812]
1.3054 +
1.3055 + * tests/cmdMZ.test (cmdMZ-1.4): added notLinux constraint to test
1.3056 + to prevent failure message on Linux due to OS caching bug.
1.3057 +
1.3058 + * tests/httpd (httpdRespond): added response to timeout value in
1.3059 + query string.
1.3060 +
1.3061 + * tests/http.test: removed unused notLinux constraint setting
1.3062 +
1.3063 + * generic/tclRegexp.c (Tcl_RegExpExecObj): added use of
1.3064 + Tcl_GetUnicodeFromObj.
1.3065 +
1.3066 +2001-05-19 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.3067 +
1.3068 + * Note that "tclbench" (see project "tcllib") was extended with
1.3069 + performance benchmarks for [fcopy] too.
1.3070 +
1.3071 + * doc/fcopy.n: Updated to reflect the extended behaviour of 'fcopy'.
1.3072 +
1.3073 + * tests/io.test: Added tests 'io-52.9', 'io-52.10' and 'io-52.11'
1.3074 + to test the handling of encodings by 'fcopy' / 'TclCopychannel'
1.3075 + [Bug #209210].
1.3076 +
1.3077 + * generic/tclIO.c: Split of both 'Tcl_ReadChars' and
1.3078 + 'Tcl_WriteChars' into a public error checking and an internal
1.3079 + working part. The public functions now use the new internal
1.3080 + ones. The new functions are 'DoReadChars' and 'DoWriteChars'.
1.3081 + Extended 'CopyData' to use the new functions 'DoXChars' when
1.3082 + required by the encodings on the input and output channels
1.3083 + [Bug #209210].
1.3084 +
1.3085 +2001-05-16 Jeff Hobbs <jeffh@ActiveState.com>
1.3086 +
1.3087 + * library/history.tcl (tcl::HistAdd): prevent empty calls from
1.3088 + being added to the history (arndt)
1.3089 +
1.3090 + * tests/error.test: updated error-1.3 message to account for
1.3091 + string index being compiled at toplevel.
1.3092 + * tests/appendComp.test:
1.3093 + * tests/stringComp.test: new files for extended bytecode testing
1.3094 +
1.3095 + * generic/tclBasic.c: added new CompileProc invocations to basic
1.3096 + command initialization.
1.3097 + * generic/tclCompCmds.c: added new compile commands for append,
1.3098 + lappend, lindex and llength. Refactored set and incr compile
1.3099 + commands to use new TclPushVarName function for handling the
1.3100 + varname component during compilation (also used by append and
1.3101 + lappend). Changed string compile command to compile toplevel code
1.3102 + as well (when possible).
1.3103 + * generic/tclCompile.c: added new instruction enums
1.3104 + * generic/tclCompile.h: added debug info for new instructions
1.3105 + * generic/tclExecute.c (TclExecuteByteCode): moved elemPtr to
1.3106 + toplevel var (oft-used). Added definitions for new bytecode
1.3107 + instructions INST_LIST_INDEX, INST_LIST_LENGTH, INST_APPEND_SCALAR1,
1.3108 + INST_APPEND_SCALAR4, INST_APPEND_ARRAY1, INST_APPEND_ARRAY4,
1.3109 + INST_APPEND_ARRAY_STK, INST_APPEND_STK, INST_LAPPEND_SCALAR1,
1.3110 + INST_LAPPEND_SCALAR4, INST_LAPPEND_ARRAY1, INST_LAPPEND_ARRAY4,
1.3111 + INST_LAPPEND_ARRAY_STK, INST_LAPPEND_STK.
1.3112 + Refactored repititious code for reuse with INST_LOAD_STK (same as
1.3113 + INST_LOAD_SCALAR_STK), INST_STORE_STK (same as
1.3114 + INST_STORE_SCALAR_STK).
1.3115 + Updated INST_STR_CMP with style of fix of 2001-04-06 Fellows
1.3116 + [Bug #219201] as that fix only affected the runtime eval'ed
1.3117 + "string" (string compare is normally byte-compiled now). We
1.3118 + may want to back these out for speed in the future, noting the
1.3119 + problems with \x00 comparisons in the docs.
1.3120 + * generic/tclInt.h: declarations for new compile commands.
1.3121 + * generic/tclVar.c: change TclGetIndexedScalar,
1.3122 + TclGetElementOfIndexedArray, TclSetElementOfIndexedArray and
1.3123 + TclSetIndexedScalar to use flags. The Set functions now support
1.3124 + TCL_APPEND_ELEMENT and TCL_LIST_ELEMENT as well.
1.3125 + * generic/tclInt.decls:
1.3126 + * generic/tclIntDecls.h: minor signature changes for above.
1.3127 +
1.3128 + * generic/tclCmdMZ.c: made use of new Tcl_GetUnicodeFromObj.
1.3129 +
1.3130 +2001-05-16 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3131 +
1.3132 + * doc/console.n: Deleted. Put it in the wrong source tree! D'oh!
1.3133 +
1.3134 +2001-05-15 Jeff Hobbs <jeffh@ActiveState.com>
1.3135 +
1.3136 + * generic/tcl.decls:
1.3137 + * generic/tclDecls.h:
1.3138 + * generic/tclStubInit.c:
1.3139 + * generic/tclStringObj.c (Tcl_GetUnicodeFromObj): new function to
1.3140 + parallel Tcl_GetStringFromObj (fix of an API oversight).
1.3141 +
1.3142 + * unix/tclUnixPipe.c: updated pipeChannelType to
1.3143 + TCL_CHANNEL_VERSION_2 type specification.
1.3144 +
1.3145 + * tests/fileName.test: corrected tests not to fail on win when a
1.3146 + C:/test dir exists.
1.3147 +
1.3148 + * generic/tclFileName.c (ExtractWinRoot): corrected ABR error
1.3149 +
1.3150 +2001-05-15 Miguel Sofer <msofer@users.sourceforge.net>
1.3151 +
1.3152 + * tests/lindex.test: added test for nested braces [Patch: 423617]
1.3153 +
1.3154 +2001-05-15 Miguel Sofer <msofer@users.sourceforge.net>
1.3155 +
1.3156 + * generic/tclInt.h
1.3157 + * generic/tclNamesp.c: invalidate all bytecodes in a namespace if
1.3158 + a new command shadows a bytecoded command.
1.3159 + * tests/namespace.test
1.3160 + Patched from [Bug: 231259]
1.3161 +
1.3162 +2001-05-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3163 +
1.3164 + * doc/console.n: Created. It seems very odd to me that the
1.3165 + console implementation is part of the Tcl distribution and not
1.3166 + part of Tk, but given the location of the source, the
1.3167 + documentation must obviously match up...
1.3168 +
1.3169 +2001-05-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3170 +
1.3171 + * generic/tclCmdMZ.c (Tcl_StringObjCmd):
1.3172 + * tests/string.test (string-4.14): Negative string indices should
1.3173 + not be added as offsets to the result of [string first] but
1.3174 + instead be treated as referring to the start of the string.
1.3175 + [Bug: 423581]
1.3176 +
1.3177 +2001-05-11 Mo DeJong <mdejong@redhat.com>
1.3178 +
1.3179 + * unix/Makefile.in: Add a LDFLAGS variable to the
1.3180 + Makefile instead of directly substing @LDFLAGS@.
1.3181 + * unix/configure: Regen.
1.3182 + * unix/tcl.m4: Fix CFLAGS_DEFAULT so that the name
1.3183 + of a Makefile variable is passed as @CFLAGS@.
1.3184 + * win/Makefile.in: Move the setting of CFLAGS
1.3185 + higher up in the Makefile.
1.3186 + * win/configure: Regen.
1.3187 + * win/configure.in: Use dnl to comment out macros
1.3188 + so that they are not accidently expanded.
1.3189 + * win/tcl.m4: Fix CFLAGS_DEFAULT so that the name
1.3190 + of a Makefile variable is passed as @CFLAGS@.
1.3191 +
1.3192 +2001-05-07 Miguel Sofer <msofer@users.sourceforge.net>
1.3193 +
1.3194 + * generic/tclExecute.c: insure different rand() seeds in different
1.3195 + threads [Bug 416643]
1.3196 +
1.3197 +2001-05-03 Jeff Hobbs <jeffh@ActiveState.com>
1.3198 +
1.3199 + * tests/tcltest.test: removed extraneous 'c' (doh!) [Bug: 414031]
1.3200 +
1.3201 + * tools/tcltk-man2html.tcl: removed use of 'exec' for portability
1.3202 + and fixed up code.
1.3203 +
1.3204 +2001-05-03 Don Porter <dgp@users.sourceforge.net>
1.3205 +
1.3206 + * doc/library.n:
1.3207 + * library/init.tcl:
1.3208 + * tests/autoMkindex.t*: Modified [auto_import] to apply
1.3209 + pattern matching in the [namespace import] style. [Bug 420186]
1.3210 + ***POTENTIAL INCOMPATIBILITY*** for any callers of [auto_import]
1.3211 + from outside Tcl that expect the pattern matching to be like that
1.3212 + of [string match].
1.3213 +
1.3214 +2001-05-03 Miguel Sofer <msofer@users.sourceforge.net>
1.3215 +
1.3216 + * generic/tclParse.c:
1.3217 + * tests/namespace.test: Insure consistent behaviour of the
1.3218 + [unknown] command: when a command is unknown, it is always
1.3219 + processed by [::unknown], ignoring any namespace proc which
1.3220 + happens to be called "unknown" [Patch #421166, Bug #420507]
1.3221 +
1.3222 +2001-05-02 Don Porter <dgp@users.sourceforge.net>
1.3223 +
1.3224 + * tools/genStubs.tcl: Add a package require of Tcl 8
1.3225 + at the beginning of the script so that the script
1.3226 + will print a descriptive error message when run
1.3227 + in an old Tcl 7 shell.
1.3228 +
1.3229 +2001-04-27 Kevin Kenny <kennykb@crd.ge.com>
1.3230 +
1.3231 + * generic/tclInt.decls:
1.3232 + * generic/tclInt.h:
1.3233 + * generic/tclCmdIL.c:
1.3234 + * generic/tclProc.c:
1.3235 + * generic/tclVar.c: Added another collection of missing CONSTs
1.3236 + related to TclGetNamespaceForQualName.
1.3237 + * generic/tclIntDecls.h: Regenerated.
1.3238 +
1.3239 +2001-04-25 Mo DeJong <mdejong@redhat.com>
1.3240 +
1.3241 + * unix/configure: Regen.
1.3242 + * unix/tcl.m4: Subst TCL_THREADS into tclConfig.sh.
1.3243 + * unix/tclConfig.sh.in: Add TCL_THREADS variable.
1.3244 + * win/configure: Regen.
1.3245 + * win/tcl.m4: Subst TCL_THREADS into tclConfig.sh.
1.3246 + * win/tclConfig.sh.in: Add TCL_THREADS variable.
1.3247 +
1.3248 +2001-04-25 Mo DeJong <mdejong@redhat.com>
1.3249 +
1.3250 + * unix/configure: Regen.
1.3251 + * unix/configure.in: Use $@ in MAKE_LIB and MAKE_STUB_LIB
1.3252 + commands instead of using a delayed subst variable. Replace
1.3253 + instances of STUB_LIB_FILE with TCL_STUB_LIB_FILE.
1.3254 +
1.3255 +2001-04-25 Mo DeJong <mdejong@redhat.com>
1.3256 +
1.3257 + * unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE.
1.3258 + * unix/configure: Regen.
1.3259 + * unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE
1.3260 + instead.
1.3261 +
1.3262 +2001-04-25 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3263 +
1.3264 + * tools/encoding/iso8859-15.txt:
1.3265 + * library/encoding/iso8859-15.enc: Oops! Got the full encoding
1.3266 + wrong. Should be fixed now...
1.3267 +
1.3268 + * tools/encoding/iso8859-15.txt:
1.3269 + * library/encoding/iso8859-15.enc:
1.3270 + * tools/tcl.wse.in: Added ISO 8859-15 (a.k.a. Latin-1 + Euro
1.3271 + currency symbol) support.
1.3272 +
1.3273 + * generic/tclNamesp.c:
1.3274 + * generic/tclBasic.c (TclRenameCommand): Missing CONST from
1.3275 + several declarations relating to use of TclGetNamespaceForQualName
1.3276 +
1.3277 +2001-04-24 Kevin B. Kenny <kennykb@acm.org>
1.3278 + * doc/AssocData.3:
1.3279 + * doc/CrtCommand.3:
1.3280 + * doc/CrtMathFnc.3:
1.3281 + * doc/CrtObjCmd.3:
1.3282 + * doc/ExprLong.3:
1.3283 + * generic/tclBasic.c:
1.3284 + * generic/tclCmdMZ.c:
1.3285 + * doc/CrtSlave.3:
1.3286 + * generic/tclNamesp.c:
1.3287 + * generic/tcl.decls:
1.3288 + * generic/tcl.h:
1.3289 + * generic/tclInt.decls:
1.3290 + * generic/tclInt.h: (TIP #27) Another round of CONST changes, this
1.3291 + time adding CONST to the API's exported from tclBasic.c.
1.3292 + [Patch #415179]
1.3293 + ***POTENTIAL INCOMPATIBILITY*** from 8.4a2, in which Vince
1.3294 + Darley's changes to command tracing were added. A const has been
1.3295 + added to the type signature of one of the parameters to
1.3296 + Tcl_CommandTraceProc.
1.3297 +
1.3298 +2001-04-10 Kevin B. Kenny <kennykb@acm.org>
1.3299 + * unix/tclUnixTime.c: Altered code to use memcpy instead of
1.3300 + structure assigments in an effort to achieve better K&R
1.3301 + compatibility.
1.3302 +
1.3303 +2001-04-10 Kevin B. Kenny <kennykb@acm.org>
1.3304 +
1.3305 + * unix/tclUnixTime.c: Fixed silly typo in calls to 'gmtime' and
1.3306 + 'localtime' that broke the Linux build.
1.3307 +
1.3308 +2001-04-09 Kevin B. Kenny <kennykb@acm.org>
1.3309 +
1.3310 + * unix/tclLoadShl.c: Added DYNAMIC_PATH to the load flags so that
1.3311 + the SHLIB_PATH will be searched for other libraries. [Bug #219140]
1.3312 +
1.3313 +2001-04-09 Kevin B. Kenny <kennykb@acm.org>
1.3314 +
1.3315 + * unix/tcl.m4: Added _REENTRANT to Solaris build so that thread
1.3316 + safe library routines are included.
1.3317 + * unix/configure: Re-ran 'autoconf' with changed tcl.m4
1.3318 + * tclUnixTime.c: Modified for thread safety of 'gmtime' and
1.3319 + 'localtime' system calls [Bugs #219136 and #232558]
1.3320 +
1.3321 +2001-04-09 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3322 +
1.3323 + * tests/expr.test (expr-21.*): Tests to check below fix.
1.3324 + * generic/tclParseExpr.c (GetLexeme): Now recognises the
1.3325 + non-numeric boolean literals for what they are. It no longer makes
1.3326 + sense for anyone to create functions with the same name as one of
1.3327 + them, but this was true in 7.* as well [Bug #217777; finally!]
1.3328 +
1.3329 +2001-04-07 Miguel Sofer <msofer@users.sourceforge.net>
1.3330 +
1.3331 + * generic/tclExecute.c: Avoid panic when there are extra items in
1.3332 + the tcl stack [Bug #406709, Patch #414470]
1.3333 + * tests/foreach.test: test to exercise the patch
1.3334 +
1.3335 +2001-04-07 Miguel Sofer <msofer@users.sourceforge.net>
1.3336 +
1.3337 + * doc/namespace.n: document correct functionality
1.3338 + * generic/tclNamesp.c: corrected behaviour of [namespace code]
1.3339 + (Bug #219385, Patch #403530)
1.3340 + * library/init.tcl:
1.3341 + * tests/namespace-old.test: test correct functionality
1.3342 + * tests/namespace.test: test correct functionality
1.3343 +
1.3344 +2001-04-07 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.3345 +
1.3346 + * unix/Makefile.in (checkdoc): New target, checking the
1.3347 + definitions as found in the compiled library against the
1.3348 + manpages to find undocumented public functionality.
1.3349 +
1.3350 + * unix/mkLinks: Updated to include the new manpage.
1.3351 +
1.3352 + * doc/UniCharIsAlpha.3: New manpage documenting the Unicode
1.3353 + character classification APIs [Bug #218720].
1.3354 +
1.3355 +2001-04-07 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.3356 +
1.3357 + * unix/mkLinks: Updated to incorporate the changes below.
1.3358 +
1.3359 + * doc/StringObj.3: Added 'Tcl_AttemptSetObjLength' to the NAME
1.3360 + section. [Bug #414435].
1.3361 +
1.3362 + * doc/Alloc.3: Added both 'Tcl_AttemptAlloc' and
1.3363 + 'Tcl_AttemptRealloc' to the NAME section. [Bug #414435].
1.3364 +
1.3365 + * doc/Utf.3: Added both 'Tcl_UniCharCaseMatch' and
1.3366 + 'Tcl_UniCharNcasecmp' to the NAME section. [Bug #414435].
1.3367 +
1.3368 +2001-04-06 Don Porter <dgp@users.sourceforge.net>
1.3369 +
1.3370 + * library/init.tcl:
1.3371 + * tests/init.test: Modified processing of $::errorInfo by
1.3372 + [unknown] when the auto-loaded command throws an error to better
1.3373 + cover the tracks of auto-loading. [Bug 219280, Patch 403551]
1.3374 +
1.3375 +2001-04-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3376 +
1.3377 + * doc/read.n: Added section on "USE WITH SERIAL PORTS" to resolve
1.3378 + [Bug #219402]
1.3379 +
1.3380 + * tests/string.test (string-2.30): Test for this case
1.3381 + * generic/tclCmdMZ.c (Tcl_StringObjCmd, STR_COMPARE branch): Fixed
1.3382 + problem caused by Utf-rep of \x00 being more than Utf-rep of \x01
1.3383 + fooling memcmp by forcing everything through Utf-based
1.3384 + comparisons. Added optimizations for case where objects have a
1.3385 + string/unicode-rep or a bytearray-rep (i.e. where we can perform
1.3386 + comparisons on fixed-size units.) [Bug #219201]
1.3387 + * generic/tclUtf.c (Tcl_UtfNcmp): Corrected seriously erroneous
1.3388 + comment.
1.3389 +
1.3390 +2001-04-05 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.3391 +
1.3392 + * doc/Macintosh.3: Removed duplicates from .SH line
1.3393 + [Bug #413983].
1.3394 +
1.3395 +2001-04-05 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3396 +
1.3397 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): Fixed so will compile
1.3398 + with K&R compilers [Patch #413844, Bug #413847]
1.3399 +
1.3400 +2001-04-04 Don Porter <dgp@users.sourceforge.net>
1.3401 +
1.3402 + * generic/tclMain.c: Patch from Kevin Kenny to restore support of
1.3403 + pre-ANSI compilers. [Bug 413846, Patch 413842]
1.3404 +
1.3405 +2001-04-04 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.3406 +
1.3407 + * unix/mkLinks: Updated to contain the new manpage.
1.3408 +
1.3409 + * doc/Environment.3: New manpage, describes Tcl_PutEnv
1.3410 + [Bug #219171].
1.3411 +
1.3412 + * doc/Macintosh.3: New manpage describing the macintosh specific
1.3413 + parts of the public API [Bug #219169].
1.3414 +
1.3415 +2001-04-04 Jeff Hobbs <jeffh@ActiveState.com>
1.3416 +
1.3417 + * unix/configure:
1.3418 + * unix/tcl.m4: extended test of termios vs. termio vs. sgtty to
1.3419 + better detect result on Linux and when certain configure
1.3420 + redirections are being used. (max) [Patch #402923; Bug #227412,
1.3421 + #219194]
1.3422 +
1.3423 +2001-04-04 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.3424 +
1.3425 + * generic/tclTest.c:
1.3426 + * tests/io.tests: TIP #10 followup correcting a problem with the
1.3427 + original patch because of the lack of 'testthread id' for a
1.3428 + non-threaded compilation.
1.3429 +
1.3430 +2001-04-04 Kevin Kenny <kennykb@acm.org>
1.3431 +
1.3432 + * doc/ByteArrObj.3:
1.3433 + * doc/DumpActiveMemory.3:
1.3434 + * doc/InitStubs.3:
1.3435 + * doc/PkgRequire.3:
1.3436 + * doc/StringObj.3:
1.3437 + * generic/tcl.decls:
1.3438 + * generic/tcl.h:
1.3439 + * generic/tclBinary.c:
1.3440 + * generic/tclCkalloc.c:
1.3441 + * generic/tclDecls.h:
1.3442 + * generic/tclListObj.c:
1.3443 + * generic/tclObj.c:
1.3444 + * generic/tclPkg.c:
1.3445 + * generic/tclStringObj.c:
1.3446 + * generic/tclStubLib.c:
1.3447 + (TIP#27) Changed a number of Tcl API's to accept "CONST char*"
1.3448 + in place of simple "char*". (kennykb) [Patch #404026]
1.3449 +
1.3450 +2001-04-04 Jeff Hobbs <jeffh@ActiveState.com>
1.3451 +
1.3452 + * generic/tclListObj.c (Tcl_SetListObj): set objPtr->length = 0 in
1.3453 + empty object case to maintain sanctity of Tcl_Obj bytes/length
1.3454 + pairing. (porter) [Patch #405998]
1.3455 +
1.3456 +2001-04-03 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.3457 +
1.3458 + * unix/mkLinks: Added 'Signal.3', 'Tcl_WaitPid'.
1.3459 +
1.3460 + * doc/DetachPids.3: Added description of 'Tcl_WaitPid' [Bug #219173].
1.3461 +
1.3462 + * doc/Signal.3: New man page describing the public API procedures
1.3463 + 'Tcl_SignalId' and 'Tcl_SignalMsg' [Bug #219172].
1.3464 +
1.3465 +2001-04-02 Jeff Hobbs <jeffh@ActiveState.com>
1.3466 +
1.3467 + * README:
1.3468 + * win/README:
1.3469 + * win/README.binary: further notes corrections.
1.3470 +
1.3471 + * win/configure:
1.3472 + * win/tcl.m4 (SHLIB_LD): added -incremental:no. [Bug #219381]
1.3473 +
1.3474 +2001-04-01 Jeff Hobbs <jeffh@ActiveState.com>
1.3475 +
1.3476 + * README:
1.3477 + * mac/README:
1.3478 + * win/README:
1.3479 + * win/README.binary:
1.3480 + * unix/README: updated patchlevel information to 8.4a3 and
1.3481 + updated links and notes.
1.3482 +
1.3483 + * generic/tcl.h:
1.3484 + * tools/tcl.wse.in:
1.3485 + * win/configure.in (VER):
1.3486 + * win/configure:
1.3487 + * unix/configure:
1.3488 + * unix/configure.in (VER):
1.3489 + * unix/tcl.spec: updated patchlevel information to 8.4a3
1.3490 +
1.3491 +2001-03-30 Jeff Hobbs <jeffh@ActiveState.com>
1.3492 +
1.3493 + * generic/tclCkalloc.c (TclFinalizeMemorySubsystem): set curTagPtr
1.3494 + to NULL to allow for reuse.
1.3495 + * generic/tclEvent.c (Tcl_Finalize): moved the tsdPtr
1.3496 + initialization inside the subsystemsInitialized check to prevent
1.3497 + it potentially getting called twice during finalization. (wu)
1.3498 + [Patch #403532, Bug #219391]
1.3499 +
1.3500 + * generic/tclThreadTest.c (Tcl_ThreadObjCmd): cast fixes
1.3501 + * generic/tclTest.c (TestChannelCmd): added cast to mollify
1.3502 + Windows debug build.
1.3503 +
1.3504 + * win/tclWinSock.c (SocketEventProc): Fixed race condition in
1.3505 + readability of socket on Windows.
1.3506 + [Patch #410674, Bug #219205 #219333]
1.3507 +
1.3508 + * win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support.
1.3509 +
1.3510 + * win/Makefile.in (install-libraries): removed extra \s that broke
1.3511 + the target.
1.3512 + (install-doc): improved install-* targets to use their base build
1.3513 + dependency.
1.3514 +
1.3515 +2001-03-30 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1.3516 +
1.3517 + * All of the changes below belong to TIP #10 [Tcl I/O Enhancement:
1.3518 + Thread-Aware Channels]. See also [Patch #403358] at SF.
1.3519 +
1.3520 + * generic/tclIO.h (struct ChannelState, line 236f): Extended the
1.3521 + structure with a new field of type 'Tcl_ThreadId' to hold the id
1.3522 + of the thread currently managing all channels with this state.
1.3523 +
1.3524 + Note: This structure is shared by all channels in a stack of
1.3525 + transformations.
1.3526 +
1.3527 + * generic/tclIO.c (Tcl_CreateChannel, lines 1058-1065): Modified
1.3528 + to store the Id of the current thread in the 'ChannelState' of
1.3529 + the new channel.
1.3530 +
1.3531 + * generic/tclIO.c (Tcl_SpliceChannel, lines 2265-2270): Modified
1.3532 + in the same manner as 'Tcl_CreateChannel' as the channel will be
1.3533 + managed by the current thread afterward.
1.3534 +
1.3535 + * generic/tclIO.c (Tcl_GetChannelThread, lines 1478-1503):
1.3536 + * generic/tcl.decls (Tcl_GetChannelThread, lines 1504-1506): New
1.3537 + API function to retrieve the Id of the managing thread from a
1.3538 + channel. Implementation and declaration.
1.3539 +
1.3540 + * generic/tclTest.c (TestChannelCmd, lines 4520-4532): Added
1.3541 + subcommand 'mthread' to query a channel about its managing
1.3542 + thread.
1.3543 +
1.3544 +2001-03-29 Mo DeJong <mdejong@redhat.com>
1.3545 +
1.3546 + * tests/interp.test: Print out warning when
1.3547 + testinterpdelete command is not defined.
1.3548 + Add tests that checks to make sure a
1.3549 + child interp inherits the parent's cwd.
1.3550 +
1.3551 +2001-03-29 Jeff Hobbs <jeffh@gimlet.activestate.com>
1.3552 +
1.3553 + * doc/tcltest.n: corrected incorrect macro usage.
1.3554 +
1.3555 + * doc/lsort.n: corrected unbalanced nroff macros.
1.3556 +
1.3557 + * unix/tclUnixPipe.c (TclpCreateTempFile): prevent potential race
1.3558 + condition and security leak in tmp filename creation.
1.3559 + (max) [Patch #402924]
1.3560 +
1.3561 + * unix/configure:
1.3562 + * unix/tcl.m4: corrected IRIX-5.x config to not use -n32.
1.3563 + (english) [Patch #403626]
1.3564 +
1.3565 + * unix/tclUnixThrd.c (Tcl_ConditionWait): fixed handling of
1.3566 + timeout for threads (corrects excessive CPU usage issue for Tk on
1.3567 + Unix in threaded Tcl environment). (ruppert) [Bug #411603]
1.3568 +
1.3569 +2001-03-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3570 +
1.3571 + * doc/lsort.n: Added some notes that clarify the behaviour of
1.3572 + [lsort] as well as a whole bunch of examples. [Bug #219202]
1.3573 +
1.3574 +2001-03-27 Jeff Hobbs <jeffh@gimlet.activestate.com>
1.3575 +
1.3576 + * doc/Alloc.3: corrected docs to note that Tcl_Attempt* return
1.3577 + char *'s, not ints. [Bug #411388]
1.3578 +
1.3579 + * tests/regexp.test (regexp-19.1):
1.3580 + * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): fixed handling of nulls
1.3581 + in subspec value.
1.3582 +
1.3583 +2001-03-26 Don Porter <dgp@users.sourceforge.net>
1.3584 +
1.3585 + * generic/tclDecls.h (Tcl_InitCustomHashTable): Correction to
1.3586 + patch from 2001-01-18; tclDecls.h was not generated using
1.3587 + 'make genstubs'.
1.3588 +
1.3589 +2001-03-26 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3590 +
1.3591 + * win/tclWinInt.h (tclWinTCharEncoding): Removed as now a static
1.3592 + variable in win/tclWin32Dll.c instead.
1.3593 +
1.3594 +2001-03-23 Jeff Hobbs <jeffh@activestate.com>
1.3595 +
1.3596 + * generic/tclVar.c (Tcl_ArrayObjCmd): Corrected retrieval of
1.3597 + resultPtr to prevent possible corruption.
1.3598 +
1.3599 + * generic/tclNamesp.c (Tcl_Import): Correctly freed a DString.
1.3600 + (lavana) [Patch #403755]
1.3601 +
1.3602 +2001-03-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3603 +
1.3604 + * tests/set-old.test (set-old-7.2): Changed error behaviour of
1.3605 + [unset] to agree with documentation, so must change test as well.
1.3606 +
1.3607 +2001-03-14 Don Porter <dgp@users.sourceforge.net>
1.3608 +
1.3609 + * library/package.tcl (pkg_mkIndex): Added patch from Vince
1.3610 + Darley to make [pkg_mkIndex -verbose] even more verbose.
1.3611 + [Bug 219349, Patch 403529]
1.3612 +
1.3613 +2001-03-13 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3614 +
1.3615 + * doc/info.n: Improved documentation for [info hostname].
1.3616 + [Bug #403840]
1.3617 +
1.3618 + * generic/tclVar.c (Tcl_UnsetObjCmd): Made command behave as
1.3619 + documented [issue remaining from bug #405769]
1.3620 +
1.3621 + * generic/tclCmdMZ.c (Tcl_StringObjCmd): A missing
1.3622 + {return TCL_OK;} was causing memory corruption. [Bug #408002]
1.3623 +
1.3624 + * generic/tclExecute.c (TclDeleteExecEnv, GrowEvaluationStack,
1.3625 + TclExecuteByteCode): Added some casts to ClientData that are
1.3626 + apparently needed on some architectures.
1.3627 +
1.3628 +2001-03-12 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3629 +
1.3630 + * tests/string.test: Fixed some test numberings and added a test.
1.3631 + [Patch #403229]
1.3632 +
1.3633 +2001-03-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3634 +
1.3635 + * generic/tclVar.c (Tcl_UnsetObjCmd): Rewrote argument parser to
1.3636 + avoid a read off the end of the argument array that could occur
1.3637 + when executing something like [unset -nocomplain] was executed.
1.3638 + Improved the error message given when too few arguments are given
1.3639 + (-nocomplain should obviously be *before* --, not after it) and
1.3640 + also modified the test suite to take account of that and the
1.3641 + documentation to use the same improvement. [Bug 405769]
1.3642 +
1.3643 +2001-03-02 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3644 +
1.3645 + * generic/tclExecute.c (TclExecuteByteCode): Fixed bug that could
1.3646 + pass pointers to freed memory to command implementations, which
1.3647 + most obviously caused some weird behaviour with [info level], but
1.3648 + could have caused problems with user code and command traces too.
1.3649 + [Bug 404865, Patch 405436]
1.3650 +
1.3651 +2001-02-23 msofer <msofer@users.sourceforge.net>
1.3652 + * no changes; fixing up the missing comment in the previous one.
1.3653 + Sorry.
1.3654 +
1.3655 +2001-02-23 msofer <msofer@ant.utdt>
1.3656 +
1.3657 + * /cvsroot/tcl/tcl/tests/execute.test:
1.3658 + added test for evaluation of an expression in a variable; evals once
1.3659 + by compiling, second time using the previous compilation
1.3660 +
1.3661 +2001-02-18 Kevin B. Kenny <kennykb@acm.org>
1.3662 +
1.3663 + * doc/clock.n: Updated documentation to reflect the addition of
1.3664 + compat/strftime.c, including the correct formatting of
1.3665 + ISO-8601:1988 fiscal week number (%V).
1.3666 +
1.3667 +2001-02-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3668 +
1.3669 + * generic/tclCmdMZ.c (Tcl_SplitObjCmd): Improved efficiency of
1.3670 + splitting strings into individual characters by adding hash so
1.3671 + that only one Tcl_Obj per character is created. Improves
1.3672 + performance of splitting of short strings and makes a huge
1.3673 + difference to splitting of long strings, such as is done in the
1.3674 + mime package in tcllib. [Bug #131523]
1.3675 +
1.3676 +2001-01-31 Don Porter <dgp@users.sourceforge.net>
1.3677 +
1.3678 + * win/makefile.vc (install-libraries): Corrected misdirected
1.3679 + install directory for the msgcat 1.2 package.
1.3680 +
1.3681 +2001-01-30 Don Porter <dgp@users.sourceforge.net>
1.3682 +
1.3683 + * generic/tclIO.c (CopyData): Moved code that updates the count
1.3684 + of how many bytes are left to copy. Corrects bug that when
1.3685 + writing occurs in the background, the copy loop could be
1.3686 + escaped without updating the count, causing CopyData() to try
1.3687 + to copy more bytes than the toRead value originally passed to
1.3688 + TclCopyChannel(), leading to hangs and misreporting of number
1.3689 + of bytes copied. [Bug 118203, Patch 103432]
1.3690 +
1.3691 +2001-01-18 Andreas Kupries <a.kupries@westend.com>
1.3692 +
1.3693 + * Everything below belongs together, it fixes bug #123153.
1.3694 +
1.3695 + * generic/tcl.h (line 342): A bit more explanation about the
1.3696 + default value for TCL_PRESERVE_BINARY_COMPATABILITY.
1.3697 +
1.3698 + * generic/tcl.h (line 1208): Define the macro 'Tcl_InitHashTable'
1.3699 + only when TCL_PRESERVE_BINARY_COMPATIBILITY is not set
1.3700 + as it kills binary compatibility to 8.3 and earlier
1.3701 + versions. This is the main part of the patch/change.
1.3702 +
1.3703 + * generic/tcl.decls (line 1469):
1.3704 + * generic/tclHash.c (Tcl_InitHashTable):
1.3705 + * generic/tclHash.c (Tcl_InitHashTableEx):
1.3706 + * generic/tclObj.c (Tcl_InitObjHashTable): Changed
1.3707 + 'Tcl_InitHashTableEx' to 'Tcl_InitCustomHashTable'. This change
1.3708 + is more of an estethical nature, replacing the ubiquitous 'Ex'
1.3709 + suffix with a more meaningful name. The introduced binary
1.3710 + incompatibility is deemed acceptable as it is between alpha
1.3711 + versions. Updated callers.
1.3712 +
1.3713 + * doc/Hash.3:
1.3714 + * unix/mkLinks: Changed 'Tcl_InitHashTableEx' to
1.3715 + 'Tcl_InitCustomHashTable'.
1.3716 +
1.3717 +2001-01-10 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1.3718 +
1.3719 + * tests/winPipe.test (winpipe-1.20):
1.3720 + * tests/winDde.test (createChildProcess):
1.3721 + * tests/pkgMkIndex.test (pkgtest::createIndex): Removed
1.3722 + assumption that paths contain no spaces which causes problems with
1.3723 + both [eval] and [open |...] due to the well-known differences
1.3724 + between lists and strings. Fixes bug #119406
1.3725 +
1.3726 +2001-01-04 Don Porter <dgp@users.sourceforge.net>
1.3727 +
1.3728 + * tests/unixInit.test:
1.3729 + * unix/tclUnixInit.c (TclpInitLibraryPath):
1.3730 + * win/tclWinInit.c (TclpInitLibraryPath): Several entries in
1.3731 + the library path ($tcl_libPath) are determined relative to the
1.3732 + absolute path of the executable. When the executable is
1.3733 + installed in or near the root directory of the file system,
1.3734 + relative pathnames were being incorrectly generated, and in
1.3735 + the worst case, memory access violations were crashing the program.
1.3736 + [Bug 119416, Patch 102972]
1.3737 +
1.3738 + ******************************************************************
1.3739 + *** CHANGELOG ENTRIES FOR 2000 IN "ChangeLog.2000" ***
1.3740 + *** CHANGELOG ENTRIES FOR 1999 AND EARLIER IN "ChangeLog.1999" ***
1.3741 + ******************************************************************